@font-face{ font-family: jaggersf; src: url(../fonts/jaggersf.ttf) format('truetype'); font-display: swap; }
* {
    box-sizing: border-box;
}

p{ margin: 0; }

img{ vertical-align: middle; }
button, input{ border: none; background: transparent; outline: unset;}
button:focus, input:focus{ border: none; }

input{
    background-color: #FFFFFF;
    border-radius: 6px;
    box-shadow: inset 1px 1px 1px 1px #3a5d7d, inset -1px -1px 1px 1px #88b4e8;
    font-weight: bold;
    font-size: 9pt;
    color: #3a5d7d;
    line-height: 22px;
    padding: 0 10px;
    width: 100%;
    height: 18px;
}

html, body {
    margin: 0;
    width: 100%;
    height: 100%;
}

body {
    background-color: #6090be;
    overflow: hidden;
    display: flex;
    justify-content: center;
    font-family: Arial, sans-serif;
}

main {
    width: 900px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
}

#banners {
    width: 100%;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}

#banners > div:first-child img{ width: 368px; }

#chimboland{
    width: 900px;
    height: 550px;
    position: relative;
}

@keyframes alert {
    from{ background-position-y: 0;}
    to{ background-position-y: -520px;}
}

#alert{
    position: absolute;
    z-index: 100000; /* au-dessus de tout : formulaire, avatar, barre de chargement (z-index 999) */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: url(../img/windows.png) 0 0 no-repeat;
    width: 363px;
    height: 104px;
    animation: alert .3s steps(6, jump-none) forwards;
    padding: 10px;
    display: none;
    gap: 4px;
}

#alert .alert_icon{
    background: url(../img/alert_icon.png) 0 0 no-repeat;
    width: 46px;
    height: 35px;
    flex-shrink: 0;
}

#alert .alert_message{
    color: #fff;
    font-size: 10pt;
}

#alert button#close_alert{
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: url(../img/buttons/ok.png) 0 0 no-repeat;
    width: 27px;
    height: 24px;
    cursor: pointer;
}

#alert button#close_alert:hover{background-position-x: -27px;}
#alert button#close_alert:active{background-position-x: -54px;}

#windows{
    width: 100%;
    height: 100%;
    background-color: #6699cc;
}

#register,
#login{ display: none; margin: 0 auto;}

#bubbleloader{
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
}

#register,
#login{
    width: 888px;
    height: 487px;
    border: 2px solid;
    border-radius: 4px;
    border-bottom-color: #ccb3bf;
    border-right-color: #ccb3bf;
    border-top-color: #cc3366;
    border-left-color: #cc3366;
    background: url(../img/bg1.png) 0 0 no-repeat;
}

#bubbleloader .layers{
    position: relative;
    width: 132px;
    height: 110px;
    left: 60px;
}

#bubbleloader .layers .layer_1,
#bubbleloader .layers .layer_2,
#bubbleloader .layers .layer_3{
    position: absolute;
}

#bubbleloader .layers .layer_1{
    background: url(../img/bubbleloader.png) -2px -2px no-repeat;
    width: 132px;
    height: 110px;
    z-index: 3;
}

#bubbleloader .layers .layer_2{
    background: url(../img/bubbleloader.png) -138px -2px no-repeat;
    width: 100px;
    height: 82px;
    z-index: 1;
    left: 14px;
    top: 10px;
}

#bubbleloader .layers .layer_3{
    background: url(../img/bubbleloader.png) -242px -2px no-repeat;
    width: 99px;
    height: 71px;
    z-index: 2;
    left: 16px;
    top: 14px;
}

#bubbleloader .layers .layer_1 p{
    height: 85%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #ff3399;
    font-weight: bold;
}

.loader_bar{
    position: relative;
    left: -64px;
    top: -35px;
    z-index: 999;
}

.loader_bar .bar{
    width: 150px;
    height: 5px;
    border: 1px solid #fff;
}

.loader_bar p{
    font-size: 22pt;
    color: #fff;
    font-weight: bold;
}

.loader_bar .bar .bar_per{
    width: 50%;
    background-color:#FF3399;
    height: 3px;
}

@keyframes chimboland_login {
    from{ background-position-x: 0; }
    to{ background-position-x: -866px; }
}

#login .chimboland_login{
    position: relative;
    background: url(../img/login.png) 0 0 no-repeat;
    width: 433px;
    height: 244px;
    animation: chimboland_login .2s steps(3, jump-none) infinite;
}

/* point d'ancrage de l'avatar d'accueil (ses pieds) : la plateforme rose du portail */
.welcome_chimbo{
    position: absolute;
    left: 216px;
    top: 158px;
    width: 0;
    height: 0;
    pointer-events: none;
}

#login button#try_as_guest{
    width: 239px;
    height: 28px;
    background: url(../img/buttons/veux_juste_essayer.png) 0 0 no-repeat;
    cursor: pointer;
}

#login button#new_member:hover,
#login button#try_as_guest:hover{
    background-position-y: -28px;
}

#login button#new_member{
    width: 160px;
    height: 28px;
    background: url(../img/buttons/nouveau_joueur.png) 0 0 no-repeat;
    cursor: pointer;
}

#login button#already_member{
    width: 193px;
    height: 28px;
    background: url(../img/buttons/deja_membre.png) 0 0 no-repeat;
}

#login button#password_recov{
    width: 322px;
    height: 31px;
    background: url(../img/buttons/mot_de_passe_perdu.png) 0 0 no-repeat;
    cursor: pointer;
}

#login button#password_recov:hover{
    background-position-y: -31px;
}

#login .login_form{
    width: 369px;
    height: 69px;
    background: url(../img/login_box.png) 0 0 no-repeat;
    position: relative;
}

.m_12{margin-top: 12px;}

.fl_col{
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: center;
    width: 100%;
}

.fl_login{
    display: flex;
    gap: 4px;
    padding: 20px;
    position: relative;
    left: -8px;
}

#login button#_login{
    background: url(../img/buttons/login.png) 0 0 no-repeat;
    width: 51px;
    height: 46px;
    cursor: pointer;
    position: absolute;
    right: -35px;
    top: 2px;
}

#login button#_login:hover{
    background-position-x: -51px;
}

#login .login_form input{
    width: 80%;
}

#register .register_box{
    background: url(../img/register_box.png) 0 0 no-repeat;
    width: 644px;
    height: 315px;
}

#register .register_form button#_register{
    width: 103px;
    height: 42px;
    background: url(../img/buttons/sauver.png) 0 0 no-repeat;
    cursor: pointer;
    position: relative;
    top: -22px;
    left: 118px;
}

#register .register_form > input:not(:last-of-type){
    width: 75%;
}

#register .register_form{
    width: 220px;
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin: 122px 16px;
}

.utils button#back_to{
    background: url(../img/buttons/retour.png) 0 0 no-repeat;
    cursor: pointer;
    width: 103px;
    height: 42px;
    display: none;
    float: right;
    margin: 5px;
}

#register .register_form button#_register:hover,
.utils button#back_to:hover{
    background-position-y: -42px;
}

img#await{
    width: 35px;
    margin: 5px 10px;
    float: left;
    display: none;
}
/* ---------- chargement ---------- */
.loader_wrap{ position: relative; }

@font-face{ font-family: chimbozheavy; src: url(../fonts/chimbozheavy.ttf) format('truetype'); font-display: swap; }

/* ---------- salon : interface de chat.swf / toolbar.swf / sidebar.swf (coordonnées de la scène Flash, 900×550 sous une barre de 50) ---------- */
#room{ display: none; position: absolute; left: 0; top: 0; width: 900px; height: 550px; color: #fff; font: 11px/1.3 Arial, sans-serif; }
.room_toolbar{ position: absolute; z-index: 2; left: 0; top: 0; width: 900px; height: 50px; pointer-events: none; }
.room_toolbar > button, .room_toolbar .room_info{ pointer-events: auto; }
.room_toolbar_bg, .room_scene_bg{ position: absolute; left: 0; top: 0; width: 900px; pointer-events: none; user-select: none; }
.room_toolbar_bg{ height: 50px; }
.room_scene_bg{ height: 550px; }
.room_info{ position: absolute; left: 10px; top: 4px; display: flex; gap: 10px; align-items: center; height: 20px; font: 13px/20px chimbozheavy, Arial, sans-serif; color: #fff; text-shadow: 0 1px 0 rgba(31, 64, 100, .8); letter-spacing: .3px; }
#room_title{ text-transform: lowercase; }
.tb_tab, .tb_vol, .room_arrow, #say_send, .mod_btn, .mod_scroll, .room_mood{ position: absolute; padding: 0; margin: 0; border: 0; background: none; cursor: pointer; }
.tb_tab{ top: 5px; width: 100px; height: 19px; border-radius: 6px 6px 0 0; }
.tb_tab:hover:not(.current){ background: rgba(255, 255, 255, .22); }
.tb_tab[data-tab="profil"]{ left: 318px; } .tb_tab[data-tab="archipel"]{ left: 420px; } .tb_tab[data-tab="chat"]{ left: 521px; cursor: default; } .tb_tab[data-tab="chapatiz"]{ left: 623px; }
.tb_vol{ top: 1px; width: 18px; height: 18px; border-radius: 50%; }
.tb_vol:hover{ background: rgba(255, 255, 255, .28); }
.tb_vol[data-act="minus"]{ left: 759px; } .tb_vol[data-act="plus"]{ left: 828px; } .tb_vol[data-act="account"]{ left: 854px; } .tb_vol[data-act="quality"]{ left: 878px; }
.tb_slider{ position: absolute; left: 778px; top: 2px; width: 49px; height: 18px; padding: 0; border: 0; background: none; cursor: pointer; }
.tb_level{ position: absolute; top: 2px; width: 2px; height: 16px; background: #fff; box-shadow: 0 0 2px #000; pointer-events: none; }
.room_scene{ position: absolute; z-index: 0; left: 0; top: 0; width: 900px; height: 550px; overflow: hidden; }
.room_stage{ position: absolute; left: 14px; top: 30px; width: 604px; height: 449px; overflow: hidden; background: #20406a; border-radius: 4px; touch-action: none; user-select: none; }
#say_form{ position: absolute; left: 0; top: 0; margin: 0; }
#say_text{ position: absolute; left: 15px; top: 490px; width: 424px; height: 18px; padding: 0 4px; box-sizing: border-box; border: 0; background: transparent; box-shadow: none; border-radius: 0; font: 12px Arial, sans-serif; color: #234; outline: none; }
#say_send{ left: 449px; top: 488px; width: 23px; height: 23px; background: url(../img/room_ui/send.png) 0 0 / 100% 100% no-repeat; }
#say_send:hover, .room_mood:hover{ filter: brightness(1.12); }
#say_send:active, .room_mood:active{ filter: brightness(.88); }
#room_moods{ position: absolute; left: 0; top: 0; }
.room_mood{ width: 23px; height: 23px; background-size: 100% 100%; background-repeat: no-repeat; }
.room_arrow{ width: 14px; height: 14px; background: url(../img/room_ui/arrow_up_up.png) 0 0 / 100% 100% no-repeat; }
.room_arrow:hover{ background-image: url(../img/room_ui/arrow_up_over.png); }
#room_moods_up{ left: 431px; top: 525px; } #room_moods_down{ left: 9px; top: 525px; transform: rotate(180deg); }
#room_side{ position: absolute; left: 625px; top: 30px; width: 270px; height: 450px; background: url(../img/room_ui/sidebar_frame.png) 0 0 / 100% 100% no-repeat; }
#room_side.collapsed{ display: none; }
.room_module{ position: absolute; left: 4px; width: 262px; }
.room_module > *{ z-index: 1; }
/* joueurs et chat : image en 3 tranches (haut 98 px, bas 44 px) pour que la hauteur reste libre */
#module_players, #module_chat{ --module_image: url(../img/room_ui/module_players.png); }
#module_chat{ --module_image: url(../img/room_ui/module_chat.png); }
#module_players::before, #module_chat::before{ content: ''; position: absolute; inset: 0; box-sizing: border-box; border-style: solid; border-width: 98px 0 44px 0; border-image: var(--module_image) 196 0 88 0 fill stretch; pointer-events: none; }
#module_players{ top: 4px; height: 160px; }
#module_chat{ top: 168px; height: 208px; }
#module_boulets{ top: 380px; height: 58px; background: url(../img/room_ui/module_boulets.png) 0 0 / 262px 76px no-repeat; }
#module_boulets.drop{ filter: brightness(1.15) saturate(1.2); }
#ignore_list, #ignore_add{ position: absolute; padding: 0; margin: 0; border: 0; background: none; cursor: pointer; border-radius: 50%; }
#ignore_list{ left: 8px; top: 26px; width: 32px; height: 22px; border-radius: 8px; }
#ignore_add{ left: 217px; top: 29px; width: 16px; height: 16px; }
#ignore_list:hover, #ignore_add:hover{ background: rgba(255, 255, 255, .35); }
#ignore_input{ position: absolute; left: 50px; top: 29px; width: 160px; height: 18px; padding: 0 4px; box-sizing: border-box; border: 0; background: transparent; box-shadow: none; border-radius: 0; font: 11px Arial, sans-serif; color: #234; outline: none; }
#room_players li.ignored{ text-decoration: line-through; opacity: .55; }
#room_players li[draggable="true"]{ cursor: grab; }
#antiflood{ position: absolute; left: 15px; top: 488px; width: 424px; height: 22px; box-sizing: border-box; padding: 3px 6px; background: #dce9f6; color: #c0392b; font: bold 12px Arial, sans-serif; letter-spacing: .5px; z-index: 5; }
#credits_panel{ position: absolute; left: 175px; top: 128px; width: 282px; height: 253px; z-index: 20; cursor: pointer; filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .45)); }
#credits_panel img{ display: block; width: 282px; height: 253px; }
.credits_window{ position: absolute; left: 12px; top: 62px; width: 258px; height: 158px; overflow: hidden; }
#credits_scroll{ position: absolute; left: 0; right: 0; top: 0; text-align: center; color: #234; font: 12px/18px Arial, sans-serif; will-change: transform; }
#credits_scroll p{ margin: 0; min-height: 18px; }
@keyframes credits_up{ from{ transform: translateY(158px); } to{ transform: translateY(-100%); } }
.room_module h2{ position: absolute; left: 29px; top: 2px; margin: 0; font: 13px/18px chimbozheavy, Arial, sans-serif; letter-spacing: .4px; color: #fff; text-shadow: 0 1px 0 rgba(31, 64, 100, .8); text-transform: lowercase; }
#room_players, #room_log{ position: absolute; left: 6px; top: 25px; bottom: 24px; width: 228px; margin: 0; padding: 2px 3px; box-sizing: border-box; overflow-y: auto; scrollbar-width: none; color: #234; font-size: 11px; list-style: none; word-break: break-word; }
#room_players::-webkit-scrollbar, #room_log::-webkit-scrollbar{ display: none; }
#room_players li{ padding: 1px 0; }
#room_players li.me{ font-weight: bold; color: #ff3399; }
#room_log .line{ padding: 1px 0; }
#room_log .line b, #room_log .line .who{ color: #336699; }
#room_log .line.system{ color: #7a8ba3; font-style: italic; }
#room[data-quality="low"] .actor_bubble{ animation: none; }
#room[data-quality="low"] .room_prop{ image-rendering: pixelated; }
.mod_btn{ left: 239px; width: 16px; height: 16px; border-radius: 50%; }
.mod_btn:hover{ background: rgba(255, 255, 255, .3); }
#module_players .mod_btn[data-act="plus"]{ top: 20px; } #module_players .mod_btn[data-act="minus"]{ top: 36px; }
#module_chat .mod_btn[data-act="clear"]{ top: 20px; } #module_chat .mod_btn[data-act="plus"]{ top: 35px; } #module_chat .mod_btn[data-act="minus"]{ top: 50px; }
.mod_scroll{ left: 238px; width: 15px; }
#module_players .mod_scroll.up{ top: 53px; height: 29px; } #module_players .mod_scroll.down{ bottom: 39px; height: 25px; }
#module_chat .mod_scroll.up{ top: 68px; height: 29px; } #module_chat .mod_scroll.down{ bottom: 39px; height: 25px; }
.mod_scroll:hover{ background: rgba(255, 255, 255, .22); }
.room_world{ position: absolute; left: 0; top: 0; width: 0; height: 0; will-change: transform; }
.room_canvas{ position: absolute; left: 0; top: 0; width: 100%; height: 100%; pointer-events: none; }
.room_decor{ position: absolute; pointer-events: none; max-width: none; user-select: none; }
.room_prop{ position: absolute; max-width: none; pointer-events: none; }
.actor{ position: absolute; left: 0; top: 0; width: 0; height: 0; }
.actor_anchor{ position: absolute; left: 0; top: 0; width: 0; height: 0; }
.actor_name{ position: absolute; left: 0; top: -69px; transform: translateX(-50%); white-space: nowrap; font: 11px/1.2 Arial, sans-serif; color: #000; text-align: center; pointer-events: none; } /* champ `label` de n_character.swf : Arial noir centré, sans ombre (8 px à l'origine, trop petit : 11 px) */
.actor_name.role_modo, .actor_name.role_aideur, .actor_name.role_defailleur{ font-weight: bold; }
.actor_name.role_modo{ color: #990000; }
.actor_name.role_aideur{ color: #326496; }
.actor_name.role_defailleur{ color: #6a6a6a; }
.actor_ignored{ position: absolute; left: 18px; top: -41px; width: 14.5px; height: 12.75px; cursor: pointer; display: none; image-rendering: auto; }
.actor.is_ignored .actor_ignored{ display: block; }
/* bulles de n_character.swf : corps blanc (dessiné par script dans le SWF) + queue extraite du clip ; « !pense » = queue en bulles, côté opposé */
.actor_bubble{ position: absolute; left: 20px; top: -38px; z-index: 100000; width: 0; height: 0; pointer-events: none; transform-origin: 0 0; animation: bubble_pop .2s ease-out; }
.actor_bubble[hidden]{ display: none; }
.bubble_box{ position: absolute; width: max-content; min-width: 18px; max-width: 190px; padding: 5px 9px; background: #fff; color: #222; border-radius: 6px; font: 11px/1.25 Arial, sans-serif; word-break: break-word; }
.bubble_tail{ position: absolute; left: 0; top: 0; width: 1px; height: 1px; overflow: visible; fill: #fff; }
.actor_bubble.say.toward_left{ left: -20px; }
.actor_bubble.think{ left: -20px; }
.actor_bubble.think.toward_right{ left: 20px; }
.actor_bubble.say .bubble_box{ bottom: 13px; }
.actor_bubble.think .bubble_box{ bottom: 17px; }
.actor_bubble.say.toward_right .bubble_box{ left: 8px; }
.actor_bubble.say.toward_left .bubble_box{ right: 8px; }
.actor_bubble.think.toward_right .bubble_box{ left: 8px; }
.actor_bubble.think.toward_left .bubble_box{ right: 8px; }
@keyframes bubble_pop{ from{ transform: scale(.15); opacity: 0; } to{ transform: scale(1); opacity: 1; } }
#room_log .line.system{ color: #666; font-style: italic; }

/* ---------- profil ---------- */
#profil{
    display: none;
    width: 888px;
    height: 487px;
    margin: 0 auto;
    border: 2px solid;
    border-radius: 4px;
    border-bottom-color: #ccb3bf;
    border-right-color: #ccb3bf;
    border-top-color: #cc3366;
    border-left-color: #cc3366;
    background: url(../img/bg1.png) 0 0 no-repeat;
}
/* tout l'écran est posé en coordonnées de la scène Flash (900×550) : la scène commence à (-9, -5) dans le cadre */
#profil{ position: relative; overflow: hidden; }
.profil_stage{ position: absolute; left: -9px; top: -5px; width: 900px; height: 550px; }
.profil_stage > *{ position: absolute; margin: 0; }
.profil_stage > .pan_bg{ z-index: 1; }
.profil_stage > .pan_bg.on_top{ z-index: 2; }
.profil_stage > :not(.pan_bg){ z-index: 3; }
.profil_title{ left: 351px; top: 12px; }
.profil_avatar_bg{
    position: absolute;
    left: 59.4px;
    top: 70.45px;
    width: 178px;
    height: 281px;
    background: url(../img/profil_avatar_bg.png) 0 0 no-repeat;
}
/* point d'ancrage de l'avatar (ses pieds), au bas de la zone sombre */
.profil_avatar_anchor{ position: absolute; width: 0; height: 0; }
.profil_user_data{
    position: absolute;
    left: 53px;
    top: 372px;
    width: 181px;
    height: 85px;
    box-sizing: border-box;
    padding: 0 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: url(../img/profil_user_data.png) 0 0 no-repeat;
    color: #fff;
    font-size: 9pt;
    line-height: 1.25;
}
#profil_note{ left: 262px; top: 356px; width: 560px; font-size: 8pt; color: #fff; min-height: 1em; text-align: center; }


/* ---- panneaux (repère de la scène) ---- */
.profil_labels{ left: 267px; top: 52px; width: 365px; height: 16px; background: url(../img/profil_quick_data.png) 0 0 no-repeat; }
.pan_bg{ background-repeat: no-repeat; background-size: 100% 100%; }
.pan_public{ left: 258.9px; top: 98.5px; width: 564px; height: 251px; background-image: url(../img/profil_public_bg.png); }
.pan_private{ left: 259.5px; top: 98.45px; width: 564px; height: 254px; background-image: url(../img/profil_private_bg.png); }
.pan_tab{ top: 98.5px; height: 28px; padding: 0; border: 0; background: transparent; cursor: pointer; }
.tab_public{ left: 258.9px; width: 161px; }
.tab_private{ left: 419.8px; width: 161.5px; }
.profil_stage[data-tab="public"] .on_private, .profil_stage[data-tab="private"] .on_public{ display: none; }
.profil_stage[data-tab="public"] .pan_public, .profil_stage[data-tab="private"] .pan_private{ z-index: 2; }
.g_text, .p_text{
    box-sizing: border-box; height: 14px; padding: 0; border: 0; outline: 0; background: transparent; box-shadow: none; border-radius: 0;
    color: #336699; font: bold 12px/14px Arial, Helvetica, sans-serif; text-align: center;
}
.g_text{ cursor: default; }
#profil_name{ left: 266px; top: 73.2px; width: 137px; }
#profil_password{ left: 419.5px; top: 73.8px; width: 146px; }
#profil_email{ left: 581.5px; top: 72.8px; width: 195.4px; }
#profil_sentence{ left: 282.1px; top: 148.3px; width: 231.8px; }
#profil_homepage{ left: 282.2px; top: 264.3px; width: 230.7px; }
#profil_interest_1{ left: 279.1px; top: 304.4px; width: 235.85px; }
#profil_interest_2{ left: 566px; top: 304.4px; width: 235.9px; }
#profil_interest_3{ left: 279.1px; top: 326.4px; width: 234.85px; }
#profil_interest_4{ left: 566px; top: 326.4px; width: 235.9px; }
.p_text:focus, .p_text:hover{ background: rgba(255, 255, 255, .35); border-radius: 3px; }
.private_help_title{ left: 283.8px; top: 177px; font: bold 15px/18px Verdana, sans-serif; color: #336699; }
.private_help{ left: 285.6px; top: 197px; width: 511px; font: 11px/1.3 Verdana, sans-serif; color: #000; }
/* généré par tools/export_profil_panels.py depuis le FLA : sprites des panneaux du profil (repère = scène 900×550) */
.mood{ position: absolute; width: 24.5px; height: 24.4px; background: url(../img/profil/moods.png) 0 0 / 300% 2600% no-repeat; padding: 0; border: 0; cursor: pointer; font-size: 0; color: transparent; opacity: .5; }
.mood:hover{ background-position-x: 50%; } .mood:active{ background-position-x: 100%; } .mood[aria-pressed="true"]{ opacity: 1; } .mood:disabled{ cursor: default; opacity: .5; background-position-x: 0; }
.mood[data-mood="star"]{ left: 406.9px; top: 188.8px; background-position-y: 0.0000%; }
.mood[data-mood="fatig"]{ left: 379.7px; top: 188.8px; background-position-y: 4.0000%; }
.mood[data-mood="afraid"]{ left: 352.5px; top: 188.8px; background-position-y: 8.0000%; }
.mood[data-mood="ouf"]{ left: 325.4px; top: 188.8px; background-position-y: 12.0000%; }
.mood[data-mood="killer"]{ left: 298.2px; top: 188.8px; background-position-y: 16.0000%; }
.mood[data-mood="kawai"]{ left: 271.1px; top: 188.8px; background-position-y: 20.0000%; }
.mood[data-mood="away"]{ left: 298.2px; top: 216.8px; background-position-y: 24.0000%; }
.mood[data-mood="ayeur"]{ left: 406.9px; top: 216.8px; background-position-y: 28.0000%; }
.mood[data-mood="goot"]{ left: 515.0px; top: 216.8px; background-position-y: 32.0000%; }
.mood[data-mood="flag"]{ left: 324.9px; top: 216.8px; background-position-y: 36.0000%; }
.mood[data-mood="shame"]{ left: 488.3px; top: 216.8px; background-position-y: 40.0000%; }
.mood[data-mood="shark"]{ left: 461.2px; top: 216.8px; background-position-y: 44.0000%; }
.mood[data-mood="mijot"]{ left: 434.0px; top: 216.8px; background-position-y: 48.0000%; }
.mood[data-mood="menace"]{ left: 379.7px; top: 216.8px; background-position-y: 52.0000%; }
.mood[data-mood="neko"]{ left: 352.6px; top: 216.8px; background-position-y: 56.0000%; }
.mood[data-mood="toned"]{ left: 271.1px; top: 216.8px; background-position-y: 60.0000%; }
.mood[data-mood="crying"]{ left: 379.7px; top: 188.8px; background-position-y: 64.0000%; }
.mood[data-mood="amoureux"]{ left: 515.5px; top: 188.8px; background-position-y: 68.0000%; }
.mood[data-mood="langue"]{ left: 488.3px; top: 188.8px; background-position-y: 72.0000%; }
.mood[data-mood="happy"]{ left: 298.3px; top: 188.8px; background-position-y: 76.0000%; }
.mood[data-mood="degoute"]{ left: 461.2px; top: 188.8px; background-position-y: 80.0000%; }
.mood[data-mood="blink"]{ left: 434.0px; top: 188.8px; background-position-y: 84.0000%; }
.mood[data-mood="vener"]{ left: 406.9px; top: 188.8px; background-position-y: 88.0000%; }
.mood[data-mood="unhappy"]{ left: 352.6px; top: 188.8px; background-position-y: 92.0000%; }
.mood[data-mood="LOL"]{ left: 325.4px; top: 188.8px; background-position-y: 96.0000%; }
.mood[data-mood="normal"]{ left: 271.1px; top: 188.8px; background-position-y: 100.0000%; }
#moods_up{ position: absolute; left: 539.4px; top: 209.1px; width: 12.9px; height: 12.9px; background: url(../img/profil/btn_moods_up.png) 0 0 / 300% 100% no-repeat; padding: 0; border: 0; cursor: pointer; font-size: 0; color: transparent;  }
#moods_up:hover{ background-position-x: 50%; } #moods_up:active{ background-position-x: 100%; }
#moods_down{ position: absolute; left: 258.9px; top: 209.0px; width: 12.9px; height: 12.9px; background: url(../img/profil/btn_moods_down.png) 0 0 / 300% 100% no-repeat; padding: 0; border: 0; cursor: pointer; font-size: 0; color: transparent;  }
#moods_down:hover{ background-position-x: 50%; } #moods_down:active{ background-position-x: 100%; }
.gender[data-gender="inconnu"]{ position: absolute; left: 689.5px; top: 258.6px; width: 24.5px; height: 24.4px; background: url(../img/profil/btn_gender_inconnu.png) 0 0 / 300% 100% no-repeat; padding: 0; border: 0; cursor: pointer; font-size: 0; color: transparent; opacity: .5; }
.gender[data-gender="inconnu"]:hover{ background-position-x: 50%; } .gender[data-gender="inconnu"]:active{ background-position-x: 100%; }
.gender[data-gender="meuf"]{ position: absolute; left: 651.0px; top: 258.6px; width: 24.5px; height: 24.4px; background: url(../img/profil/btn_gender_meuf.png) 0 0 / 300% 100% no-repeat; padding: 0; border: 0; cursor: pointer; font-size: 0; color: transparent; opacity: .5; }
.gender[data-gender="meuf"]:hover{ background-position-x: 50%; } .gender[data-gender="meuf"]:active{ background-position-x: 100%; }
.gender[data-gender="keum"]{ position: absolute; left: 612.5px; top: 258.6px; width: 24.5px; height: 24.4px; background: url(../img/profil/btn_gender_keum.png) 0 0 / 300% 100% no-repeat; padding: 0; border: 0; cursor: pointer; font-size: 0; color: transparent; opacity: .5; }
.gender[data-gender="keum"]:hover{ background-position-x: 50%; } .gender[data-gender="keum"]:active{ background-position-x: 100%; }
.gender[aria-pressed="true"]{ opacity: 1; }
.public_fields{ position: absolute; left: 271.7px; top: 146.8px; width: 540.7px; height: 196.0px; background: url(../img/profil/public_fields.png) 0 0 / 100% 100% no-repeat; pointer-events: none; }
.globals_fields{ position: absolute; left: 256.2px; top: 71.0px; width: 527.4px; height: 19.3px; background: url(../img/profil/globals_fields.png) 0 0 / 100% 100% no-repeat; pointer-events: none; }
.moods_unused{ position: absolute; left: 270.5px; top: 187.9px; width: 270.2px; height: 54.2px; background: url(../img/profil/moods_unused.png) 0 0 / 100% 100% no-repeat; pointer-events: none; }
#memo_pseudo{ position: absolute; left: 273.1px; top: 138.1px; width: 20.9px; height: 21.8px; background: url(../img/profil/btn_memo.png) 0 0 / 300% 200% no-repeat; padding: 0; border: 0; cursor: pointer; font-size: 0; color: transparent; }
#memo_pseudo:hover{ background-position-x: 50%; } #memo_pseudo:active{ background-position-x: 100%; } #memo_pseudo[aria-checked="true"]{ background-position-y: 100%; }

/* généré par tools/export_profil.py depuis le FLA : boutons du widget d'avatar (planches haut | survol | appui) */
#profil .arrow, #profil .move, #profil_random{ position: absolute; padding: 0; border: 0; background-color: transparent; background-repeat: no-repeat; cursor: pointer; font-size: 0; color: transparent; overflow: hidden; }
#profil .arrow:hover, #profil .move:hover, #profil_random:hover{ background-position-x: 50%; }
#profil .arrow:active, #profil .move:active, #profil_random:active{ background-position-x: 100%; }
.top_a_l{ left: 55.7px; top: 7.8px; width: 24.5px; height: 17.3px; background-image: url(../img/profil/btn_top_a_l.png); background-size: 300% 100%; }
.top_a_r{ left: 93.4px; top: 7.8px; width: 24.5px; height: 17.3px; background-image: url(../img/profil/btn_top_a_r.png); background-size: 300% 100%; }
.top_b_l{ left: 38.0px; top: 28.8px; width: 24.5px; height: 17.3px; background-image: url(../img/profil/btn_top_a_l.png); background-size: 300% 100%; }
.top_b_r{ left: 114.4px; top: 28.9px; width: 24.5px; height: 17.3px; background-image: url(../img/profil/btn_top_a_r.png); background-size: 300% 100%; }
.top_c_l{ left: 59.5px; top: 44.1px; width: 24.5px; height: 17.3px; background-image: url(../img/profil/btn_top_a_l.png); background-size: 300% 100%; }
.top_c_r{ left: 93.4px; top: 44.8px; width: 24.5px; height: 17.3px; background-image: url(../img/profil/btn_top_a_r.png); background-size: 300% 100%; }
.side_l_1{ left: 5.3px; top: 69.6px; width: 24.5px; height: 24.5px; background-image: url(../img/profil/btn_side_l_1.png); background-size: 300% 100%; }
.side_r_1{ left: 148.7px; top: 69.7px; width: 24.5px; height: 24.5px; background-image: url(../img/profil/btn_side_r_1.png); background-size: 300% 100%; }
.side_l_2{ left: 5.3px; top: 112.1px; width: 24.5px; height: 24.4px; background-image: url(../img/profil/btn_side_l_1.png); background-size: 300% 100%; }
.side_r_2{ left: 148.7px; top: 112.2px; width: 24.5px; height: 24.4px; background-image: url(../img/profil/btn_side_r_1.png); background-size: 300% 100%; }
.side_l_3{ left: 5.3px; top: 155.1px; width: 24.5px; height: 24.4px; background-image: url(../img/profil/btn_side_l_1.png); background-size: 300% 100%; }
.side_r_3{ left: 148.7px; top: 155.2px; width: 24.5px; height: 24.4px; background-image: url(../img/profil/btn_side_r_1.png); background-size: 300% 100%; }
.pad_up{ left: 76.9px; top: 207.0px; width: 20.2px; height: 14.4px; background-image: url(../img/profil/btn_pad_up.png); background-size: 300% 100%; }
.pad_down{ left: 72.4px; top: 228.2px; width: 29.0px; height: 20.3px; background-image: url(../img/profil/btn_pad_down.png); background-size: 300% 100%; }
.pad_right{ left: 93.4px; top: 215.8px; width: 24.5px; height: 17.3px; background-image: url(../img/profil/btn_top_a_r.png); background-size: 300% 100%; }
.pad_left{ left: 55.7px; top: 215.8px; width: 24.5px; height: 17.3px; background-image: url(../img/profil/btn_pad_left.png); background-size: 300% 100%; }
#profil_random{ left: 74.3px; top: 251.4px; width: 24.5px; height: 24.5px; background-image: url(../img/profil/btn_random.png); background-size: 300% 100%; }
.profil_screen{ position: absolute; left: 38.1px; top: 66.0px; width: 103.0px; height: 133.1px; background: url(../img/profil/avatar_screen.png) 0 0 / 100% 100% no-repeat; }
.profil_avatar_anchor{ left: 89.6px; top: 180.7px; }
#profil .arrow[data-on="1"]{ filter: brightness(.85); }

.utils button#to_chat{
    background: url(../img/buttons/suite.png) 0 0 no-repeat;
    cursor: pointer;
    width: 95px;
    height: 42px;
    display: none;
    float: right;
    margin: 5px;
}
.utils button#to_chat:hover{ background-position-y: -42px; }

#guest_panel{ position: absolute; left: 11px; top: 488px; width: 497px; height: 59px; z-index: 6; }
#guest_panel img{ display: block; width: 497px; height: 59px; }
#guest_register{ position: absolute; left: 10px; top: 4px; width: 470px; height: 48px; padding: 0 0 0 52px; border: 0; background: none; text-align: left; cursor: pointer; font: bold 12px/16px Arial, sans-serif; color: #fff; text-shadow: 0 1px 0 rgba(31, 64, 100, .8); }
#guest_register:hover{ text-decoration: underline; }

.fx_score{ position: absolute; width: 100px; text-align: center; z-index: 100002; pointer-events: none; font: 32px/1 jaggersf, Arial, sans-serif; color: #fff; text-shadow: -1px 1px 0 #000, -1px 0 0 #000, 0 1px 0 #000; }

/* messages privés (!pm) et texte en al bhed */
#room_log .line.pm{ color: #b0338a; }
#room_log .line.albed{ letter-spacing: .3px; }

.race_popup_cancel{ position: absolute; padding: 0; border: 0; background: transparent; cursor: pointer; pointer-events: auto; }
.race_popup_text{ position: absolute; font: bold 13px/1.2 Arial; white-space: nowrap; }
.race_popup{ position: absolute; z-index: 150000; pointer-events: none; max-width: none; }
.race_timer{ position: absolute; left: 179px; top: 420px; width: 96px; text-align: right; z-index: 200000; color: #fff; font: 20px/1.2 chimbozheavy, Arial, sans-serif; letter-spacing: 1px; pointer-events: none; text-shadow: 2px 3px 0 #173e73; }

/* ---------- Bactéria (bac_game_deb.swf) : écran du jeu par-dessus la salle ---------- */
.bac_view{ position: absolute; pointer-events: none; }
.bac_canvas{ position: absolute; left: 0; top: 0; user-select: none; }
.bac_tiles{ position: absolute; left: 0; top: 0; width: 750px; height: 550px; pointer-events: none; }
.bac_tile{ position: absolute; pointer-events: none; }
.bac_tile_svg, .bac_tile_svg svg{ position: absolute; left: 0; top: 0; overflow: visible; }
.bac_hit{ position: absolute; left: 24px; top: 74px; width: 52px; height: 32px; padding: 0; border: 0; background: transparent; cursor: pointer; pointer-events: auto; display: none; }
.bac_wheel, .bac_portrait, .bac_beam{ position: absolute; pointer-events: none; }
.bac_wheel svg, .bac_portrait svg, .bac_beam svg{ position: absolute; left: 0; top: 0; overflow: visible; }
.bac_score{ position: absolute; width: 72px; text-align: center; font: 36px chimbozheavy, Arial, sans-serif; text-shadow: 2px 2px 0 #000; pointer-events: none; }
.bac_result{ position: absolute; z-index: 60; pointer-events: auto; cursor: pointer; }
.bac_result_picture, .bac_result_picture svg{ position: absolute; left: 0; top: 0; }
.bac_result_texts{ position: absolute; left: 14px; top: 14px; width: 350px; color: #fff; text-shadow: 1px 1px 0 #1f4f8f; }
.bac_result_title{ margin-left: 52px; position: relative; font: 17px chimbozheavy, Arial, sans-serif; top: 30px; }
.bac_result_line{ margin-top: 40px; font: 13px/1.5 Arial, sans-serif; }
.bac_avatar{ position: absolute; width: 0; height: 0; pointer-events: none; }

/* ---------- carte de l'archipel (dispatcher.swf) : 900 × 550, sous la barre d'outils ---------- */
#dispatcher{ position: absolute; z-index: 1; left: 0; top: 0; width: 900px; height: 550px; overflow: hidden; background: #6a9bd0; }
#dispatcher[hidden]{ display: none; }
#dispatcher .disp_layer{ position: absolute; left: 0; top: 0; width: 900px; height: 550px; pointer-events: none; user-select: none; }
#dispatcher .disp_thumb{ position: absolute; cursor: grab; touch-action: none; user-select: none; }
#dispatcher .disp_text{ position: absolute; overflow: hidden; pointer-events: none; text-align: center; color: #fff; font: 11px/1.25 Arial, sans-serif; }
#dispatcher .disp_name{ color: #cfebfe; font: bold 14px/18px Arial, sans-serif; white-space: nowrap; }
#dispatcher .disp_desc{ font-size: 11px; }
#dispatcher .disp_count{ color: #ff3399; font: 12px/15px Arial, sans-serif; white-space: nowrap; }
#dispatcher .disp_list{ pointer-events: auto; color: #000; text-align: left; font-size: 10px; line-height: 12px; white-space: pre; overflow: hidden; }
#dispatcher .disp_label{ font: 14px/18px Arial, sans-serif; white-space: nowrap; }
#dispatcher .disp_zone, #dispatcher .disp_total{ font: 14px/17px chimbozheavy, Arial, sans-serif; white-space: nowrap; }
#dispatcher .disp_total{ font: 12px/16px Arial, sans-serif; }
#dispatcher .disp_shadow{ color: #000; }
#dispatcher .disp_arrow{ position: absolute; cursor: pointer; touch-action: none; }
#dispatcher .disp_btn, #dispatcher .disp_connect{ position: absolute; padding: 0; margin: 0; border: 0; background: none; cursor: pointer; }
#dispatcher .disp_fill{ position: absolute; left: 0; top: 0; width: 100%; height: 100%; pointer-events: none; user-select: none; }
#dispatcher .disp_over, #dispatcher .disp_down{ visibility: hidden; }
#dispatcher .disp_btn:hover .disp_over, #dispatcher .disp_btn.selected .disp_over, #dispatcher .disp_connect:hover .disp_over{ visibility: visible; }
#dispatcher .disp_btn:active .disp_down{ visibility: visible; }
#dispatcher .disp_connect:hover .disp_fill:not(.disp_over){ visibility: hidden; }
#dispatcher .disp_anims{ overflow: hidden; }
#dispatcher .disp_anim{ position: absolute; pointer-events: none; user-select: none; }
#room_log .line.me, .line.me{ font-style: italic; color: #8a3fa0; }
