:root{--nuit: #0f1626;--surface: #1a2335;--surface-2: #141e33;--bord: #2a3550;--bord-2: #33425f;--texte: #f2f5ff;--texte-doux: #9fb0d0;--jaune: #ffc43d;--rose: #ff4d6d;--cyan: #3dd6f5;--violet: #c792ea;--vert: #51d98a;--encre: #14203a;--rayon: 16px;--titre: "Fredoka", "Nunito", system-ui, sans-serif;--corps: "Nunito", system-ui, sans-serif}*{box-sizing:border-box}html,body,#root{margin:0;min-height:100%}body{background:var(--nuit);color:var(--texte);font-family:var(--corps);-webkit-font-smoothing:antialiased;-webkit-tap-highlight-color:transparent}a{color:#8fb3ff}a:hover{color:#c4d7ff}button{font:inherit}.page{max-width:460px;margin:0 auto;padding:24px 18px 32px;display:flex;flex-direction:column;gap:16px}.page--large{max-width:960px}.page--centre{min-height:100vh;justify-content:center;align-items:center;text-align:center}.pile{display:flex;flex-direction:column;gap:12px;width:100%}.entete{text-align:center}.carte{background:var(--surface);border:1px solid var(--bord);border-radius:var(--rayon);padding:16px}.logo{font-family:var(--titre);font-size:clamp(40px,11vw,64px);font-weight:700;letter-spacing:1px;line-height:1.05}.logo--petit{font-size:30px}.logo__crazy{color:var(--jaune)}.logo__lotto{color:var(--rose)}.sous-titre{margin:4px 0 8px;color:var(--texte-doux);font-weight:700}.titre{font-family:var(--titre);font-weight:600;margin:8px 0 0}.titre-section{font-family:var(--titre);font-size:17px;font-weight:600;margin:0 0 12px}.texte-doux{color:var(--texte-doux);font-size:14px}.erreur{margin:0;color:#ffb3c1;background:#471523;border:1px solid var(--rose);border-radius:12px;padding:10px 12px;font-weight:700;font-size:14px}.alerte{position:relative;width:100%;margin:0;background:var(--surface);border:1px solid var(--bord-2);border-radius:12px;padding:12px 36px 12px 14px;font-weight:700}.alerte__fermer{position:absolute;right:6px;top:6px;width:30px;height:30px;border:none;background:none;color:var(--texte-doux);font-size:20px;cursor:pointer}.lien-bas{text-align:center;font-size:14px;margin:0}.bouton{display:block;width:100%;border:none;border-radius:var(--rayon);padding:15px;font-family:var(--titre);font-size:19px;font-weight:700;letter-spacing:.5px;text-align:center;text-decoration:none;cursor:pointer;transition:transform .1s ease,filter .15s ease}.bouton:active:not(:disabled){transform:scale(.97)}.bouton:disabled{opacity:.45;cursor:not-allowed}.bouton--jaune,.bouton--jaune:hover{background:var(--jaune);color:var(--encre)}.bouton--vert,.bouton--vert:hover{background:var(--vert);color:var(--encre)}.bouton--secondaire,.bouton--secondaire:hover{background:var(--surface-2);border:2px solid var(--bord-2);color:var(--texte);font-size:16px}.bouton-texte{background:none;border:none;color:var(--texte-doux);text-decoration:underline;cursor:pointer;padding:8px;font-size:14px}.pastille{display:inline-block;margin-left:6px;border-radius:6px;padding:1px 7px;font-size:10px;font-weight:800;vertical-align:middle;text-transform:uppercase}.pastille--jaune{background:var(--jaune);color:var(--encre)}.pastille--cyan{background:#16243c;border:1px solid var(--cyan);color:#c7eef9}.champ{display:flex;flex-direction:column;gap:6px;border:none;margin:0;padding:0;min-width:0}.champ__label{font-size:13px;font-weight:800;color:var(--texte-doux);text-transform:uppercase;letter-spacing:.5px;padding:0;margin-bottom:6px}.champ__input{background:var(--nuit);border:2px solid var(--bord-2);border-radius:12px;color:var(--texte);padding:12px 14px;font:inherit;font-size:17px;font-weight:700;outline:none}.champ__input:focus{border-color:var(--jaune)}.champ__input--code{font-family:var(--titre);font-size:30px;letter-spacing:10px;text-align:center;color:var(--jaune);text-transform:uppercase}.champ__input--code::placeholder{color:#33425f}.mode-choisi{background:var(--surface);border:2px solid var(--jaune);border-radius:var(--rayon);padding:12px 14px;display:flex;flex-direction:column;gap:3px;text-align:left}.mode-choisi__titre{display:flex;align-items:center;justify-content:space-between;font-family:var(--titre);font-size:16px}.mode-choisi__titre b{font-weight:600}.avatar{--taille: 56px;width:var(--taille);height:var(--taille);flex:none;display:inline-grid;place-items:center;border-radius:50%;background:radial-gradient(circle at 35% 30%,#ffffff33,transparent 60%),var(--couleur);font-size:calc(var(--taille) * .58);line-height:1;box-shadow:0 3px #0006;transition:filter .3s ease,opacity .3s ease}.avatar--hors-ligne{filter:grayscale(1);opacity:.45}.avatars-grille{display:grid;grid-template-columns:repeat(6,1fr);gap:8px}.avatar-choix{display:grid;place-items:center;aspect-ratio:1;min-height:48px;background:var(--surface-2);border:2px solid transparent;border-radius:14px;cursor:pointer;padding:0;transition:transform .12s ease,border-color .12s ease}.avatar-choix--actif{border-color:var(--jaune);background:#2a2a1f;transform:scale(1.06)}.lobby__code{text-align:center;display:flex;flex-direction:column;align-items:center;gap:8px}.code-geant{display:flex;gap:clamp(4px,1.5vw,12px);justify-content:center}.code-geant__case{font-family:var(--titre);font-weight:700;font-size:clamp(36px,10vw,84px);line-height:1;color:var(--jaune);background:var(--nuit);border:2px solid var(--bord-2);border-radius:14px;width:clamp(44px,12vw,104px);padding:clamp(8px,1.6vw,16px) 0;text-align:center;text-shadow:0 0 18px #ffc43d55}.lobby__lien{word-break:break-all;-webkit-user-select:all;user-select:all}.lobby__mj{display:flex;align-items:center;gap:12px;padding:0 4px}.joueurs-grille{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(104px,1fr));gap:12px}.joueur-tuile{display:flex;flex-direction:column;align-items:center;gap:6px;padding:12px 6px;background:var(--surface-2);border:1px solid var(--bord);border-radius:14px;text-align:center;animation:arrivee .45s cubic-bezier(.34,1.56,.64,1) both}.joueur-tuile__pseudo{font-weight:800;font-size:15px;overflow-wrap:anywhere}.joueur-tuile__statut{font-size:11px;font-weight:800;color:var(--rose);text-transform:uppercase}.joueur-tuile .pastille{margin-left:0}.attente-lancement{margin:0;text-align:center;color:var(--texte-doux)}.attente-lancement b{color:var(--texte)}@keyframes arrivee{0%{opacity:0;transform:translateY(18px) scale(.6)}to{opacity:1;transform:none}}.bandeau-connexion{position:fixed;inset:0 0 auto;z-index:10;background:var(--rose);color:#fff;text-align:center;font-weight:800;font-size:14px;padding:8px}.clignote{animation:clignote 1.6s ease-in-out infinite}@keyframes clignote{50%{opacity:.45}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}}.avatar-choix--pris:not(.avatar-choix--actif){opacity:.35;filter:grayscale(.6)}.erreur-detail{max-width:min(720px,100%);max-height:200px;overflow:auto;text-align:left;font-size:11px;color:#ffb3c1;background:#1a2335;border:1px solid var(--bord-2);border-radius:10px;padding:10px;white-space:pre-wrap}.modes{display:flex;flex-direction:column;gap:10px}.mode{text-align:left;background:#141e33;border:2px solid #2a3550;border-radius:16px;padding:12px 14px;color:var(--texte);font:inherit;cursor:pointer;display:flex;flex-direction:column;gap:3px;transition:border-color .15s ease,background .15s ease}.mode--choisi{background:var(--surface);border-color:var(--jaune)}.mode:focus-visible{outline:3px solid var(--jaune);outline-offset:2px}.mode__titre{display:flex;align-items:center;gap:8px}.mode__titre b{font-family:var(--titre);font-size:16px;font-weight:600}.mode__pastille{margin-left:auto;background:#33425f;color:#dce6fb;border-radius:6px;padding:1px 7px;font-size:10px;font-weight:800}.mode__pastille--choisi{background:var(--jaune);color:var(--encre)}.mode__texte{font-size:12px;color:#9fb0d0}.mode--choisi .mode__texte{color:#c9d6f2}.creation__role{font-size:12px}.creation__reglages{display:flex;flex-direction:column;gap:12px}.creation__reglages .titre-section{margin:0;font-size:15px}.creation-reglage{display:flex;align-items:center;gap:10px}.creation-reglage--colonne{flex-direction:column;align-items:stretch;gap:6px}.creation-reglage__nom{flex:1;font-size:13px;font-weight:700;display:flex;flex-direction:column;gap:2px}.creation-reglage__nom small{font-size:11px;font-weight:400;color:var(--texte-doux)}.creation-reglage>button:not(.bascule){width:30px;height:30px;border-radius:9px;background:#22304a;border:1px solid #33425f;color:#e8eeff;font-weight:800;cursor:pointer}.creation-reglage>button:disabled{opacity:.4;cursor:not-allowed}.creation-reglage>b{font-size:14px;color:var(--jaune);min-width:70px;text-align:center;white-space:nowrap}.creation__tous{align-self:flex-start}.pile--serree{gap:4px}.boule{--taille: 96px;width:var(--taille);height:var(--taille);flex:none;display:inline-grid;place-items:center;border-radius:50%;background:radial-gradient(circle at 35% 30%,#fff6d6 0 12%,var(--jaune) 45%,#d99a12 100%);color:var(--encre);font-family:var(--titre);font-weight:700;font-size:calc(var(--taille) * .46);box-shadow:0 6px 18px #ffc43d40,inset 0 -4px #0002;animation:boule-arrive .5s cubic-bezier(.34,1.56,.64,1)}.boule--discrete{background:#2a3550;color:var(--texte);box-shadow:none;animation:none}.boule--vide{background:#22304a;color:var(--texte-doux);box-shadow:none;animation:none}@keyframes boule-arrive{0%{transform:scale(.2) rotate(-120deg);opacity:0}}.etape{display:inline-block;border-radius:999px;padding:5px 12px;font-size:12px;font-weight:800;background:#153b2c;border:1px solid var(--vert);color:#a8f0c9}.etape--double{background:#4a3a10;border-color:var(--jaune);color:#ffe9b0}.etape--carton{background:#3b2a5e;border-color:var(--violet);color:#e7d9ff}.etape--terminee{background:var(--surface);border-color:var(--bord-2);color:var(--texte-doux)}.annonce{position:fixed;top:0;right:0;bottom:0;left:0;z-index:20;background:#0f1626d9;display:grid;place-items:center;padding:16px;animation:apparait .25s ease}.annonce__boite{width:min(440px,100%);background:var(--surface);border:3px solid var(--jaune);border-radius:22px;padding:20px;display:flex;flex-direction:column;align-items:center;gap:14px;text-align:center;animation:boule-arrive .5s cubic-bezier(.34,1.56,.64,1)}.annonce__boite--carton{border-color:var(--vert)}.annonce__titre{font-family:var(--titre);font-weight:700;font-size:44px;color:var(--jaune);text-shadow:0 0 24px #ffc43d66}.annonce__boite--carton .annonce__titre{color:var(--vert)}.annonce__gagnant{display:flex;align-items:center;gap:12px;font-family:var(--titre);font-size:22px;font-weight:600}@keyframes apparait{0%{opacity:0}}.recap__gagnants{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:16px}.recap__qui{display:flex;align-items:center;gap:10px}.classement{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:6px}.classement li{display:flex;align-items:center;gap:10px;padding:6px 8px;border-radius:10px}.classement--moi{background:#16243c;border:1px solid var(--cyan)}.classement__rang{font-family:var(--titre);font-weight:700;color:var(--jaune);width:20px;text-align:center}.classement__pseudo{flex:1;font-weight:800}.journal-recap .journal__liste{max-height:320px;overflow-y:auto}.recap{max-width:640px}.podium{display:grid;grid-template-columns:repeat(3,1fr);align-items:end;gap:10px;padding-top:8px}.podium__place{display:flex;flex-direction:column;align-items:center;gap:4px;min-width:0;animation:podium-monte .6s cubic-bezier(.34,1.56,.64,1) both}.podium__place--2{animation-delay:.15s}.podium__place--3{animation-delay:.3s}.podium__pseudo{font-family:var(--titre);font-weight:600;font-size:16px;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.podium__titres{display:flex;gap:4px;min-height:18px}.podium__titre{border-radius:6px;padding:1px 6px;font-size:10px;font-weight:800;color:var(--encre)}.podium__titre--carton{background:var(--vert)}.podium__titre--double{background:var(--cyan)}.podium__titre--quine{background:var(--jaune)}.podium__marche{width:100%;border-radius:14px 14px 4px 4px;background:linear-gradient(#22304a,#1a2335);border:1px solid var(--bord-2);display:flex;flex-direction:column;align-items:center;justify-content:flex-start;padding-top:8px;gap:2px}.podium__place--1 .podium__marche{height:110px;background:linear-gradient(#3b2a10,#2a2210);border-color:var(--jaune);box-shadow:0 0 24px #ffc43d33}.podium__place--2 .podium__marche{height:80px}.podium__place--3 .podium__marche{height:58px}.podium__rang{font-family:var(--titre);font-weight:700;font-size:28px;color:var(--jaune);line-height:1}.podium__place--2 .podium__rang,.podium__place--3 .podium__rang{color:#c9d6f2;font-size:22px}.podium__jetons{font-size:12px;font-weight:800;color:var(--texte-doux)}.podium__place--moi .podium__pseudo{color:var(--cyan)}.podium__place--vide{visibility:hidden}@keyframes podium-monte{0%{opacity:0;transform:translateY(40px)}}.recap__gagnant--quine .champ__label{color:var(--jaune)}.recap__gagnant--double .champ__label{color:var(--cyan)}.recap__gagnant--carton .champ__label{color:var(--vert)}.faits{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:10px}.fait{--accent: var(--rose);display:flex;gap:10px;padding:10px 12px;border-radius:14px;background:#141e33;border:1px solid color-mix(in srgb,var(--accent) 55%,transparent)}.fait--violet{--accent: var(--violet)}.fait--cyan{--accent: var(--cyan)}.fait--vert{--accent: var(--vert)}.fait--jaune{--accent: var(--jaune)}.fait__icone{color:var(--accent);display:inline-flex;padding-top:2px}.fait__corps{display:flex;flex-direction:column;gap:3px;min-width:0}.fait__titre{font-size:11px;font-weight:800;letter-spacing:1px;text-transform:uppercase;color:var(--accent)}.fait__qui{display:flex;align-items:center;gap:6px;font-size:14px}.fait__texte{font-size:12px;color:#c9d6f2}.recap__gagnant{display:flex;flex-direction:column;gap:6px}.carton{--bleu-carton: #2563c9;--rouge-jeton: #e0403f;--bord-jeton: #a81e22;container-type:inline-size;width:100%;margin:0 auto;background:var(--bleu-carton);border-radius:clamp(8px,1.6vw,16px);padding:1%;display:grid;grid-template-rows:repeat(3,1fr);gap:2px;box-shadow:0 10px 30px #0007}.carton__ligne{display:grid;grid-template-columns:repeat(9,1fr);gap:2px;border-radius:4px}.carton__ligne--gagnante{outline:3px solid var(--vert);outline-offset:1px}.carton__case{position:relative;aspect-ratio:1 / .93;display:grid;place-items:center;border:none;border-radius:0;background:#fff;box-shadow:inset 0 0 0 1px #d5deee;color:#14203a;font-family:var(--titre);font-weight:600;font-size:3.9cqw;line-height:1;padding:0;user-select:none;-webkit-user-select:none}button.carton__case{cursor:pointer;touch-action:manipulation;transition:background .12s ease}button.carton__case:not(.carton__case--jeton):active{background:#e9f0ff}button.carton__case:focus-visible{outline:3px solid var(--jaune);outline-offset:-3px}.carton__case--vide{background:transparent;box-shadow:none}.carton__jeton{display:grid;place-items:center;width:76%;aspect-ratio:1;border-radius:50%;background:radial-gradient(circle at 38% 32%,#f26a66 0 18%,var(--rouge-jeton) 55%,#cf3433 100%);border:.45cqw solid var(--bord-jeton);color:#fff;font-size:3cqw;font-weight:700;text-shadow:0 1px 0 #0003;box-shadow:0 .35cqw .5cqw #0004}.carton__jeton--nouveau{animation:jeton-tombe .55s cubic-bezier(.3,.7,.4,1) both}.carton__case--impact:after{content:"";position:absolute;left:50%;top:50%;width:76%;aspect-ratio:1;border-radius:50%;border:.4cqw solid var(--rouge-jeton);transform:translate(-50%,-50%);pointer-events:none;animation:jeton-onde .5s ease-out .25s both}@keyframes jeton-tombe{0%{transform:translateY(-160%) scale(1.45);opacity:0;box-shadow:0 3cqw 2cqw #0002}45%{transform:translateY(0) scale(1);opacity:1}60%{transform:scale(1.14,.84)}78%{transform:scale(.95,1.05)}to{transform:none}}@keyframes jeton-onde{0%{transform:translate(-50%,-50%) scale(.9);opacity:.8}to{transform:translate(-50%,-50%) scale(1.4);opacity:0}}.carton__case--attente{background:#e9f0ff}.carton__case--refus{animation:carton-refus .4s ease;background:#ffe1e6}@keyframes carton-refus{20%,60%{transform:translate(-5px)}40%,80%{transform:translate(5px)}}.carton--petit{max-width:380px;box-shadow:none}.carton__case--aide{z-index:2;animation:aide-clignote .7s ease-in-out infinite}@keyframes aide-clignote{0%,to{background:#fff;box-shadow:inset 0 0 0 1px #d5deee}50%{background:#ffe27a;box-shadow:inset 0 0 0 .6cqw #ffc43d,0 0 1.6cqw #ffc43d}}.carton__case--aide-douce{background:#fff6d6;box-shadow:inset 0 0 0 .4cqw #ffc43d99}.joueur{--cote: clamp(190px, 26vw, 340px);--pad-v: clamp(8px, 3vh, 20px);--pad-h: clamp(10px, 2.2vw, 24px);--hors-carton: calc(2 * var(--pad-v) + 46px + 56px);box-sizing:border-box;height:100vh;height:100dvh;max-width:1400px;margin:0 auto;padding:max(var(--pad-v),env(safe-area-inset-top)) max(var(--pad-h),env(safe-area-inset-right)) max(var(--pad-v),env(safe-area-inset-bottom)) max(var(--pad-h),env(safe-area-inset-left));display:grid;grid-template-columns:minmax(0,1fr) var(--cote);grid-template-rows:auto minmax(0,1fr);column-gap:clamp(10px,2vw,22px);row-gap:clamp(8px,2.2vh,16px);overflow:hidden}.joueur__barre{grid-column:1;grid-row:1;display:flex;align-items:center;gap:clamp(6px,1.2vw,12px);min-width:0}.joueur__pseudo{font-family:var(--titre);font-weight:600;font-size:clamp(17px,2.6vw,24px);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}.joueur__espace{flex:1}.pilule{flex:none;display:inline-flex;align-items:center;justify-content:center;background:#1a2335;border:1px solid #2a3550;border-radius:999px;padding:3px 12px;font-family:var(--titre);font-weight:600;font-size:clamp(12px,1.8vw,16px);color:#dce6fb;letter-spacing:.3px;white-space:nowrap}.pilule--rang{color:var(--jaune)}.pilule--compteur{color:var(--jaune);font-size:clamp(15px,2.3vw,21px);padding:3px 14px}.pilule--bouton{padding:5px 9px;cursor:pointer;color:var(--texte-doux)}.joueur .etape{flex:none;font-size:11px;padding:3px 10px}.joueur__zone{grid-column:1;grid-row:2;position:relative;display:flex;flex-direction:column;align-items:center;min-height:0}.joueur__carton{position:relative;width:min(100%,calc((100dvh - var(--hors-carton)) * 3.15))}.joueur__sous-carton{position:relative;display:flex;align-items:center;gap:10px;margin-top:clamp(8px,2vh,14px);min-height:34px}.joueur__toast{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:max-content;max-width:100%;text-align:center;font-size:clamp(12px,1.8vw,15px);animation:toast-monte .25s ease;z-index:7;box-shadow:0 6px 18px #0006}.toast{display:inline-block;border-radius:999px;padding:8px 16px;font-weight:800}.toast--refus{background:#471523;border:1px solid var(--rose);color:#ffd9e0;box-shadow:0 6px 18px #0006}@keyframes toast-monte{0%{opacity:0;transform:translate(-50%,calc(-50% + 10px))}}.joueur__sans-carton{display:grid;place-items:center;width:100%;height:100%;border:2px dashed #2a3550;border-radius:16px}.joueur__cote{grid-column:2;grid-row:1 / span 2;display:flex;flex-direction:column;gap:clamp(8px,2vh,14px);min-height:0}.tire,.cote-carte{background:#1a2335;border:1px solid #2a3550;border-radius:clamp(14px,2vw,20px);padding:clamp(10px,1.6vw,16px)}.tire{display:flex;align-items:center;gap:clamp(8px,1.6vw,16px)}.tire__boule .boule{--taille: clamp(56px, 13vh, 96px) !important;border:clamp(3px,.5vw,5px) solid #ffe08a;box-shadow:0 0 22px #ffc43d55}.tire__texte{display:flex;flex-direction:column;gap:2px;min-width:0}.tire__label{font-size:clamp(9px,1.25vw,12px);font-weight:800;letter-spacing:2px;text-transform:uppercase;color:var(--texte-doux)}.tire__appel{font-weight:800;font-size:clamp(14px,2.1vw,20px)}.cote-carte{display:flex;flex-direction:column;gap:8px}.cote-carte--atouts{background:transparent;border-style:dashed;font-size:13px}.precedents{display:flex;flex-wrap:wrap;gap:6px;min-height:30px}.precedents .boule{--taille: clamp(26px, 6.5vh, 36px) !important}.cote-carte--atouts{flex:1}@media(max-width:700px){.joueur__salle{display:none}}@media(orientation:portrait){.joueur{height:auto;min-height:100dvh;grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto auto;align-content:start;overflow:visible}.tire__boule .boule{--taille: 64px !important}.joueur__cote{grid-column:1;grid-row:2;flex-direction:row;flex-wrap:wrap}.joueur__cote>*{flex:1 1 200px}.joueur__zone{grid-row:3;padding-bottom:48px}.joueur__carton{width:100%}.cote-carte--atouts{display:none}}.tourne{position:fixed;top:0;right:0;bottom:0;left:0;z-index:30;background:var(--nuit);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;padding:24px;text-align:center}.tourne__icone{color:var(--jaune);animation:tourne 2.4s ease-in-out infinite}.tourne__titre{margin:8px 0 0;font-family:var(--titre);font-size:26px;font-weight:600}.tourne__bouton{max-width:320px;margin-top:12px}@keyframes tourne{0%,20%{transform:rotate(0)}50%,80%{transform:rotate(-90deg)}to{transform:rotate(0)}}.commandes-createur{display:inline-flex;gap:6px;flex:none}.pilule--discrete{font-family:var(--corps);font-size:11px;font-weight:800;padding:3px 10px;color:#9fb0d0}.pilule--discrete:hover{color:var(--texte);border-color:#3a4a6c}.tire__prochain{font-size:clamp(10px,1.4vw,12px);font-weight:700;color:var(--texte-doux)}.bandeau-tirage{position:fixed;top:max(8px,env(safe-area-inset-top));left:50%;transform:translate(-50%);z-index:21;display:flex;align-items:center;gap:12px;padding:8px 16px;border-radius:999px;background:#1a2335;border:2px solid #33425f;color:#dce6fb;font-size:clamp(13px,2vw,16px);white-space:nowrap;box-shadow:0 10px 30px #0009;pointer-events:none;animation:bandeau-secousse-arrive .35s cubic-bezier(.34,1.56,.64,1)}.bandeau-tirage--fete{background:#2e2611;border-color:var(--jaune);color:#ffe9b0;box-shadow:0 10px 30px #0009,0 0 24px #ffc43d55}.bandeau-tirage>b{font-family:var(--titre);font-size:1.15em}.bandeau-tirage__chrono{font-family:var(--titre);font-size:1.25em;color:#fff;font-variant-numeric:tabular-nums}.joueur__barre:has(.commandes-createur) .joueur__salle{display:none}.joueur__pseudo{flex-shrink:1;min-width:2.5em}.joueur__barre:has(.commandes-createur){gap:7px}.commandes-createur{gap:4px}.joueur__barre:has(.pilule--effet) .joueur__salle,.joueur__barre:has(.pilule--miroir):has(.pilule--bouclier) .joueur__salle{display:none}.mode-bebe{flex:none;border-radius:999px;border:1px solid #33425f;background:#141e33;color:#9fb0d0;font:inherit;font-size:11px;font-weight:800;padding:4px 10px;cursor:pointer}.mode-bebe--actif{background:#3b2a10;border-color:var(--jaune);color:#ffe9b0}.cockpit{box-sizing:border-box;min-height:100vh;max-width:1720px;margin:0 auto;padding:18px 24px 26px;display:flex;flex-direction:column;gap:18px}.cockpit__entete{display:flex;flex-wrap:wrap;align-items:center;gap:12px}.cockpit__entete .logo--petit{font-size:28px}.cockpit__entete .pilule{font-family:var(--corps);font-size:13px;font-weight:700;color:#c9d6f2;padding:6px 12px}.cockpit__commandes{margin-left:auto;display:flex;flex-wrap:wrap;align-items:center;gap:8px}.commande{background:#22304a;border:1px solid #33425f;color:#e8eeff;border-radius:10px;padding:8px 12px;font-size:13px;font-weight:700;cursor:pointer}.commande:disabled{opacity:.45;cursor:not-allowed}.commande--active{background:#153b2c;border-color:var(--vert);color:#a8f0c9}.stepper{display:flex;align-items:center;gap:8px}.stepper button{width:34px;height:34px;border-radius:10px;background:#22304a;border:1px solid #33425f;color:#e8eeff;font-weight:800;cursor:pointer}.stepper button:disabled{opacity:.4;cursor:not-allowed}.stepper b{color:var(--jaune);min-width:38px;text-align:center}.cockpit__corps{display:flex;flex-wrap:wrap;gap:18px;align-items:flex-start}.cockpit__principal{flex:999 1 560px;min-width:0;display:flex;flex-direction:column;gap:18px}.carte-cockpit{background:var(--surface);border:1px solid var(--bord);border-radius:16px;padding:16px 18px}.carte-cockpit h2{margin:0;font-family:var(--titre);font-size:18px;font-weight:600}.sur-titre{font-size:11px;font-weight:800;letter-spacing:1.5px;text-transform:uppercase;color:var(--texte-doux)}.tirage{padding:18px;display:flex;flex-wrap:wrap;gap:20px;align-items:center}.tirage__boule .boule{border:6px solid #ffe29a}.tirage__infos{flex:1 1 240px;min-width:0;display:flex;flex-direction:column;align-items:flex-start;gap:8px}.tirage__historique{display:flex;flex-wrap:wrap;gap:6px}.historique-boule{width:34px;height:34px;border-radius:50%;background:#22304a;border:1px solid #33425f;display:grid;place-items:center;font-weight:800;font-size:13px;color:#dce6fb}.lien-bouton{background:none;border:none;padding:0;color:#8fb3ff;font-size:12px;text-decoration:underline;cursor:pointer}.tirage__action{display:flex;flex-direction:column;align-items:flex-start;gap:10px;max-width:320px}.bouton-tirer{background:var(--rose);color:#2b0712;font-family:var(--titre);font-size:17px;font-weight:700;padding:14px 22px;border-radius:14px;border:none;cursor:pointer;transition:transform .1s ease,filter .15s ease}.bouton-tirer:hover:not(:disabled){filter:brightness(1.08)}.bouton-tirer:active:not(:disabled){transform:scale(.97)}.bouton-tirer:disabled{opacity:.45;cursor:not-allowed}.tirage__auto{font-size:12px}.tirage__auto b{color:var(--texte)}.tirage__jauge{width:100%;height:6px;border-radius:999px;background:var(--nuit);overflow:hidden}.tirage__jauge span{display:block;height:100%;background:var(--jaune);transition:width .1s linear}.tirage__tableau{flex:1 1 100%}.tableau-90{display:grid;grid-template-columns:repeat(15,1fr);gap:4px}.tableau-90__case{aspect-ratio:1;display:grid;place-items:center;border-radius:50%;font-family:var(--titre);font-weight:600;font-size:13px;color:#55657f;background:var(--surface-2)}.tableau-90__case--sorti{background:var(--jaune);color:var(--encre)}.tableau-90__case--dernier{box-shadow:0 0 0 3px var(--rose)}.pioche{background:#16243c;border:1px dashed var(--cyan);border-radius:16px;padding:14px 18px;display:flex;align-items:center;gap:14px;color:var(--cyan)}.pioche svg{flex:none}.pioche__titre{color:var(--cyan)}.cockpit__titre-section{display:flex;flex-wrap:wrap;align-items:baseline;gap:10px;margin-bottom:12px}.cockpit__titre-section .texte-doux{font-size:12px}.tuiles{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:14px}.tuile{text-align:left;font:inherit;color:var(--texte);background:#141e33;border:2px solid var(--bord);border-radius:14px;padding:12px;display:flex;flex-direction:column;gap:8px;cursor:pointer;transition:border-color .2s ease,transform .12s ease}.tuile:hover{transform:translateY(-2px);border-color:#3a4a6c}.tuile:focus-visible{outline:3px solid var(--jaune);outline-offset:2px}.tuile--proche{border-color:#b8860b}.tuile--chaude,.tuile--chaude:hover{border-color:var(--rose);animation:pulsation-rouge 1.3s ease-in-out infinite}@keyframes pulsation-rouge{0%,to{box-shadow:0 0 #ff4d6da6}50%{box-shadow:0 0 0 12px #ff4d6d00}}.tuile--hors-ligne .mini-carton{opacity:.55}.tuile__haut{display:flex;align-items:center;gap:8px;min-width:0}.tuile__pseudo{font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tuile__badge{margin-left:auto;flex:none;border-radius:6px;padding:2px 6px;font-size:10px;font-weight:800;white-space:nowrap;color:#14203a}.tuile__badge--rose{background:var(--rose)}.tuile__badge--vert{background:var(--vert)}.tuile__badge--gris{background:#33425f;color:#dce6fb}.tuile__bas{display:flex;justify-content:space-between;align-items:baseline;font-size:13px}.tuile__reste{font-size:12px;font-weight:800;color:var(--texte-doux)}.tuile__reste--proche{color:var(--jaune)}.tuile__reste--chaud{color:#ff8fa3}.mini-carton{display:grid;grid-template-columns:repeat(9,minmax(0,1fr));gap:3px}.mini-carton__case{height:14px;border-radius:3px}.mini-carton__case--vide{background:transparent}.mini-carton__case--numero{background:#273553}.mini-carton__case--jeton{background:var(--jaune)}.mini-carton__case--oublie{background:#273553;box-shadow:inset 0 0 0 2px #ffc43d99}.agrandi{position:fixed;top:0;right:0;bottom:0;left:0;z-index:15;background:#0f1626d9;display:grid;place-items:center;padding:24px;animation:apparait .2s ease}.agrandi__boite{width:min(900px,100%);background:var(--surface);border:2px solid var(--bord);border-radius:20px;padding:20px;display:flex;flex-direction:column;gap:16px}.agrandi__haut{display:flex;align-items:center;gap:12px}.agrandi__qui{display:flex;flex-direction:column;flex:1}.agrandi__qui b{font-family:var(--titre);font-size:24px;font-weight:600}.agrandi__fermer{width:40px;height:40px;border-radius:12px;background:#22304a;border:1px solid #33425f;color:var(--texte);font-size:24px;cursor:pointer}.agrandi__note{margin:0;font-size:14px;color:var(--texte-doux)}.carton__case--oublie{box-shadow:inset 0 0 0 1px #d5deee,inset 0 0 0 4px #ffc43d}.journal{flex:1 1 280px;max-width:380px;display:flex;flex-direction:column;gap:10px;position:sticky;top:18px;max-height:calc(100vh - 36px)}.journal__liste{list-style:none;margin:0;padding:0 4px 0 0;display:flex;flex-direction:column;gap:8px;overflow-y:auto}.journal__entree{display:flex;gap:10px;align-items:flex-start;border-bottom:1px solid #243150;padding-bottom:8px;animation:apparait .3s ease}.journal__pastille{width:10px;height:10px;border-radius:50%;margin-top:5px;flex:none}.journal__texte{font-size:13px;color:#e8eeff;font-weight:700}.journal__heure{font-size:11px;color:#8ca0c7}@media(max-width:900px){.journal{max-width:none;position:static;max-height:420px}}.pioche__nom{font-family:var(--titre);font-size:20px;font-weight:600;color:var(--texte)}.pioche__nom .atout__rarete{margin-left:6px;vertical-align:middle}.pioche__description{font-size:13px}.pioche--attaque{border-color:var(--rose);background:#2a1522;color:var(--rose)}.pioche--attaque .pioche__titre{color:var(--rose)}.tuile__badge--jaune{background:var(--jaune)}.mini-carton__case--cratere{background:var(--rose)}.tuile__main{display:flex;flex-wrap:wrap;gap:4px}.main-chip{display:inline-flex;align-items:center;gap:3px;border-radius:999px;padding:1px 7px 1px 5px;font-size:11px;font-weight:800;background:#2a1522;border:1px solid #ff4d6d88;color:#ffb3c1}.main-chip--bouclier{background:#16243c;border-color:#3dd6f588;color:#c7eef9}.main-chip--arme{background:var(--cyan);border-color:var(--cyan);color:#0f1626}.tuile--visee,.tuile--visee:hover{animation:tuile-visee .35s steps(1,end) infinite}@keyframes tuile-visee{0%{border-color:var(--rose);box-shadow:0 0 0 4px #ff4d6d66}50%{border-color:var(--bord);box-shadow:none}}.tuile--touchee{animation:tuile-touchee .6s ease;border-color:var(--rose)}@keyframes tuile-touchee{0%{background:#5a1a2a}20%,60%{transform:translate(-6px) rotate(-1deg)}40%,80%{transform:translate(6px) rotate(1deg)}}.tuile--protegee{border-color:var(--cyan);animation:tuile-protegee 1s ease-out}@keyframes tuile-protegee{0%{box-shadow:0 0 #3dd6f5cc;background:#16334a}to{box-shadow:0 0 0 18px #3dd6f500}}.trajectoire{position:fixed;left:0;top:0;z-index:12;display:grid;place-items:center;width:52px;height:52px;border-radius:50%;background:radial-gradient(circle at 35% 30%,#5b6b8c,#1b2438 70%);color:var(--jaune);pointer-events:none;filter:drop-shadow(0 0 12px #ff4d6d)}.pioche--secousse{border-color:var(--violet);background:#251a3a;color:var(--violet)}.pioche--secousse .pioche__titre{color:var(--violet)}.main-chip--secousse{background:#251a3a;border-color:#c792ea88;color:#e7d9ff}.tuile__badge--violet{background:var(--violet)}.trajectoire--secousse{color:var(--violet);filter:drop-shadow(0 0 12px #c792ea)}.tuile--melangee,.tuile--melangee:hover{border-color:var(--violet);box-shadow:0 0 0 2px var(--violet),0 0 18px #c792ea55}.tuile--secouee,.tuile--secouee:hover{border-color:var(--violet);animation:tuile-secouee .45s linear infinite}@keyframes tuile-secouee{0%,to{transform:none}25%{transform:translate(-3px,1px) rotate(-1.2deg)}50%{transform:translate(3px,-1px) rotate(1deg)}75%{transform:translate(-2px,-1px) rotate(-.6deg)}}.commande--reglages{background:#3b2a10;border-color:var(--jaune);color:#ffe9b0}.pioche__dernier{font-size:15px;color:var(--texte-doux)}.panneau-fond{position:fixed;top:0;right:0;bottom:0;left:0;z-index:18;background:#0f1626b3;display:flex;justify-content:flex-end;animation:apparait .2s ease}.panneau{width:min(460px,100vw);height:100%;overflow-y:auto;background:var(--surface);border-left:1px solid var(--bord);padding:18px 20px 28px;display:flex;flex-direction:column;gap:14px;box-shadow:-20px 0 40px #0008;animation:panneau-arrive .28s cubic-bezier(.2,.8,.3,1)}@keyframes panneau-arrive{0%{transform:translate(100%)}}.panneau__haut{display:flex;align-items:center;justify-content:space-between}.panneau__haut h2{margin:0;font-family:var(--titre);font-size:22px;font-weight:600}.panneau__intro{margin:0;font-size:13px}.panneau__section{background:#141e33;border:1px solid var(--bord);border-radius:16px;padding:14px;display:flex;flex-direction:column;gap:12px}.panneau__section h3{margin:0;font-family:var(--titre);font-size:15px;font-weight:600}.reglage{display:flex;align-items:center;gap:10px}.reglage--colonne{flex-direction:column;align-items:stretch;gap:8px}.reglage__nom{flex:1;font-size:13px;font-weight:700;display:flex;flex-direction:column;gap:2px}.reglage__nom small{font-size:11px;font-weight:400;color:var(--texte-doux)}.reglage__note{display:block;margin-top:3px;font-size:11px;color:var(--texte-doux);font-style:italic}.panneau .stepper b{min-width:70px;font-variant-numeric:tabular-nums}.panneau .stepper small{font-size:11px;font-weight:700;color:#c9a44b}.segments{display:flex;gap:4px;background:var(--nuit);border-radius:12px;padding:4px}.segment{flex:1;border:none;border-radius:9px;padding:8px 6px;background:transparent;color:var(--texte-doux);font-size:12px;font-weight:800;cursor:pointer}.segment--actif{background:var(--jaune);color:var(--encre)}.bascule{flex:none;border-radius:999px;padding:5px 12px;font-size:12px;font-weight:800;cursor:pointer;background:#141e33;border:1px solid #33425f;color:#8ca0c7}.bascule--on{background:#153b2c;border-color:var(--vert);color:#a8f0c9}.puces-cartes{display:flex;flex-wrap:wrap;gap:6px}.puce-carte{--accent: var(--rose);--fond: #471523;--texte-puce: #ffd9e0;display:inline-flex;align-items:center;gap:5px;border-radius:999px;padding:5px 11px;font-size:12px;font-weight:800;cursor:pointer;background:#141e33;border:1px solid #33425f;color:#8ca0c7}.puce-carte--secousse{--accent: var(--violet);--fond: #3b2a5e;--texte-puce: #e7d9ff}.puce-carte--gel,.puce-carte--bouclier,.puce-carte--miroir{--accent: var(--cyan);--fond: #16243c;--texte-puce: #c7eef9}.puce-carte--active{background:var(--fond);border-color:var(--accent);color:var(--texte-puce)}.puce-carte:disabled{opacity:.5;cursor:not-allowed}.cockpit-mobile{box-sizing:border-box;max-width:520px;margin:0 auto;min-height:100dvh;padding:max(14px,env(safe-area-inset-top)) 16px 24px;display:flex;flex-direction:column;gap:10px}.cockpit-mobile__entete{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.cockpit-mobile__entete .logo--petit{font-size:20px}.cockpit-mobile__entete .pilule{font-family:var(--corps);font-size:11px;font-weight:800;padding:3px 9px;color:#c9d6f2}.cockpit-mobile__entete .pilule--mj{margin-left:auto;background:var(--rose);border-color:var(--rose);color:#2b0712}.cockpit-mobile .carte-cockpit{padding:12px}.cockpit-mobile .carte-cockpit h2{font-size:15px}.cm-tirage{display:flex;align-items:center;gap:12px}.cm-tirage .boule{border:5px solid #ffe29a}.cm-tirage__droite{flex:1;min-width:0;display:flex;flex-direction:column;gap:8px}.cm-tirage .bouton-tirer{width:100%;font-size:15px;padding:11px 14px;border-radius:12px}.cm-tirage__infos{font-size:11px;color:var(--texte-doux)}.cm-tirage__infos b{color:var(--texte)}.cm-commandes{display:flex;flex-wrap:wrap;align-items:center;gap:6px}.cm-commandes .commande{padding:6px 10px;font-size:12px}.cm-commandes .stepper button{width:30px;height:30px}.cm-historique{display:flex;flex-wrap:wrap;align-items:center;gap:5px}.cm-historique .historique-boule{width:28px;height:28px;font-size:11px}.cm-historique .lien-bouton{margin-left:auto}.cockpit-mobile .tableau-90{grid-template-columns:repeat(10,1fr)}.cm-pioche{padding:9px 12px;gap:10px;border-radius:14px}.cm-pioche .sur-titre{font-size:9px}.cm-pioche__nom{font-size:13px;font-weight:800;color:var(--texte)}.cm-pioche__nom .atout__rarete{font-size:9px;padding:1px 5px;vertical-align:middle}.cm-pioche .pioche__dernier{font-size:12px}.cm-joueurs{display:flex;flex-direction:column;gap:8px}.cm-joueurs .cockpit__titre-section{margin-bottom:0}.cm-joueurs .cockpit__titre-section .texte-doux{font-size:10px}.ligne-joueur{font:inherit;color:var(--texte);text-align:left;background:#141e33;border:2px solid var(--bord);border-radius:12px;padding:8px 10px;display:flex;align-items:center;gap:8px;cursor:pointer}.ligne-joueur:focus-visible{outline:3px solid var(--jaune);outline-offset:2px}.ligne-joueur__milieu{flex:1;min-width:0;display:flex;flex-direction:column;gap:4px}.ligne-joueur__nom{display:flex;align-items:center;gap:6px;min-width:0;color:var(--cyan)}.ligne-joueur__nom b{font-size:13px;color:var(--texte);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ligne-joueur__nom .tuile__badge{margin-left:0;font-size:9px;padding:1px 5px}.ligne-joueur .mini-carton{gap:2px;max-width:180px}.ligne-joueur .mini-carton__case{height:8px;border-radius:2px}.ligne-joueur__compte{flex:none;text-align:right;display:flex;flex-direction:column;font-size:12px}.ligne-joueur__compte .tuile__reste{font-size:10px}.cm-journal{display:flex;flex-direction:column;gap:8px}.cm-journal .journal__texte{font-size:12px}.cm-journal .lien-bouton{align-self:flex-start}.journal__rejouer{font-size:11px}.rejeu{position:fixed;left:50%;bottom:max(18px,env(safe-area-inset-bottom));transform:translate(-50%);z-index:13;max-width:calc(100vw - 32px);padding:8px 16px;border-radius:999px;background:#2a1522;border:2px solid var(--rose);color:#ffd9e0;font-size:13px;font-weight:700;box-shadow:0 10px 30px #0009;pointer-events:none;animation:apparait .2s ease}.rejeu b{font-family:var(--titre);color:var(--rose);margin-right:6px;text-transform:uppercase;letter-spacing:1px}.cockpit-mobile__entete{flex-wrap:nowrap;gap:6px}.cockpit-mobile__entete .logo--petit{font-size:18px;white-space:nowrap}.cockpit-mobile__entete .pilule{padding:3px 7px;font-size:10px}.tuile__badge--cyan{background:#8fe3ff}.tuile__badge--gris-clair{background:#b7c4dc}.tuile__badge--vert-clair{background:#a8f0c9}.main-chip--gel{background:#122a3a;border-color:#8fe3ff88;color:#c9f1ff}.main-chip--brouillard{background:#1d2536;border-color:#b7c4dc88;color:#dce6fb}.main-chip--escargot{background:#13301f;border-color:#51d98a88;color:#a8f0c9}.main-chip--miroir{background:#221c3d;border-color:#c792ea88;color:#e7d9ff}.main-chip--missile{background:#2d1714;border-color:#ff7a5988;color:#ffc9b8}.main-chip--miroir-arme{background:var(--violet);border-color:var(--violet)}.mini-carton__case--nuage{background:#9fb0d0!important;box-shadow:none!important;opacity:.85}.carton__case--sous-nuage{box-shadow:inset 0 0 0 1px #d5deee,inset 0 0 0 4px #9fb0d0;background:#eef1f7}.tuile--renvoyee{border-color:var(--violet);animation:tuile-renvoyee 1s ease-out}@keyframes tuile-renvoyee{0%{box-shadow:0 0 #c792eacc;background:#2e2350}to{box-shadow:0 0 0 18px #c792ea00}}.trajectoire--gel{color:#8fe3ff;filter:drop-shadow(0 0 12px #8fe3ff)}.trajectoire--brouillard{color:#dce6fb;filter:drop-shadow(0 0 12px #9fb0d0)}.trajectoire--escargot{color:var(--vert);filter:drop-shadow(0 0 12px #51d98a)}.trajectoire--missile{color:#ff7a59;filter:drop-shadow(0 0 12px #ff7a59)}.puce-carte--brouillard{--accent: #b7c4dc;--fond: #1d2536;--texte-puce: #dce6fb}.puce-carte--escargot{--accent: var(--vert);--fond: #13301f;--texte-puce: #a8f0c9}.puce-carte--miroir{--accent: var(--violet);--fond: #221c3d;--texte-puce: #e7d9ff}.puce-carte--missile{--accent: #ff7a59;--fond: #2d1714;--texte-puce: #ffc9b8}.tuile__bebe{flex:none;border-radius:6px;padding:1px 6px;font-size:10px;font-weight:800;background:#3b2a10;border:1px solid var(--jaune);color:#ffe9b0}.agrandi__bebe{align-self:flex-start;font-size:13px;padding:6px 12px}.atouts{display:flex;flex-direction:column;gap:clamp(6px,1.6vh,12px);min-height:0;overflow-y:auto}.atout{--accent: var(--rose);--fond: #2a1522;--encre-bouton: #2b0712;flex:none;background:var(--fond);border:2px solid var(--accent);border-radius:clamp(14px,2vw,20px);padding:clamp(8px,1.5vh,12px) clamp(10px,1.4vw,14px);display:flex;flex-direction:column;gap:clamp(4px,1vh,8px)}.atout--bouclier{--accent: var(--cyan);--fond: #16243c;--encre-bouton: #0f1626}.atout--nouvelle{animation:carte-arrive .6s cubic-bezier(.34,1.56,.64,1)}@keyframes carte-arrive{0%{transform:translate(60%) rotate(8deg) scale(.7);opacity:0}}.atout__haut{display:flex;align-items:center;gap:8px;min-width:0}.atout__icone{color:var(--accent);display:inline-flex}.atout__nom{font-family:var(--titre);font-size:clamp(15px,2vw,19px);font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.atout__rarete{margin-left:auto;flex:none;border-radius:7px;padding:2px 8px;font-size:clamp(10px,1.3vw,12px);font-weight:800;text-transform:uppercase;background:#33425f;color:#dce6fb}.atout__rarete--rare{background:var(--jaune);color:var(--encre)}.atout__rarete--epique{background:var(--violet);color:#241338}.atout__description{margin:0;font-size:clamp(11px,1.5vw,14px);color:#c9d6f2;line-height:1.25}.atout__bouton{border:none;border-radius:12px;padding:clamp(5px,1.3vh,10px);background:var(--accent);color:var(--encre-bouton);font-family:var(--corps);font-size:clamp(13px,1.8vw,17px);font-weight:800;cursor:pointer;touch-action:manipulation;transition:transform .1s ease,filter .15s ease}.atout__bouton:active:not(:disabled){transform:scale(.96)}.atout__bouton:disabled{opacity:.45;cursor:not-allowed}@media(max-height:430px){.joueur__cote{gap:6px}.tire{padding:8px 10px}.tire__boule .boule{--taille: 50px !important}.atout{padding:6px 10px;gap:3px;border-radius:14px}.atout__bouton{padding:4px;border-radius:10px}.atout__description{display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden}}.pilule--bouclier{gap:5px;color:var(--cyan);border-color:var(--cyan);background:#16243c;font-size:12px}.joueur__carton--bouclier .carton{box-shadow:0 0 0 3px var(--cyan),0 0 24px #3dd6f566,0 10px 30px #0007}.bouclier-encaisse{position:absolute;top:0;right:0;bottom:0;left:0;z-index:6;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;color:var(--cyan);pointer-events:none;border-radius:16px;background:radial-gradient(circle,#3dd6f540 0,#3dd6f515 45%,transparent 70%);animation:bouclier-encaisse 1.5s ease-out both}.bouclier-encaisse b{font-family:var(--titre);font-size:26px;text-shadow:0 0 16px #3dd6f5}@keyframes bouclier-encaisse{0%{transform:scale(.4);opacity:0}20%{transform:scale(1.08);opacity:1}35%{transform:scale(.97)}75%{opacity:1}to{transform:scale(1);opacity:0}}.alerte-malefice{position:fixed;top:0;right:0;bottom:0;left:0;z-index:25;pointer-events:none;animation:bordure-rouge .35s steps(1,end) infinite}@keyframes bordure-rouge{0%{box-shadow:inset 0 0 0 8px var(--rose),inset 0 0 60px #ff4d6d88}50%{box-shadow:inset 0 0 0 8px transparent,inset 0 0 30px #ff4d6d33}}.alerte-malefice__bandeau{position:absolute;top:14px;left:50%;transform:translate(-50%);display:flex;align-items:center;gap:10px;padding:8px 16px;border-radius:999px;background:#471523;border:2px solid var(--rose);color:#ffd9e0;font-size:16px;white-space:nowrap;box-shadow:0 8px 24px #0008;animation:bandeau-tombe .3s cubic-bezier(.34,1.56,.64,1)}@keyframes bandeau-tombe{0%{transform:translate(-50%,-150%)}}.carton__case--explosion{z-index:3;overflow:visible}.bombe-chute{position:absolute;left:50%;top:50%;z-index:4;color:#14203a;display:grid;place-items:center;width:70%;aspect-ratio:1;border-radius:50%;background:radial-gradient(circle at 35% 30%,#5b6b8c,#1b2438 70%);color:#ffc43d;transform:translate(-50%,-50%);animation:bombe-chute .45s cubic-bezier(.55,0,1,.45) both}.bombe-chute svg{width:70%;height:70%}@keyframes bombe-chute{0%{transform:translate(-50%,-600%) rotate(-40deg) scale(1.6);opacity:0}20%{opacity:1}to{transform:translate(-50%,-50%) rotate(0) scale(1);opacity:1}}.bombe-chute{animation:bombe-chute .45s cubic-bezier(.55,0,1,.45) both,disparait .1s linear .45s forwards}@keyframes disparait{to{opacity:0}}.explosion{position:absolute;left:50%;top:50%;z-index:5;width:160%;aspect-ratio:1;border-radius:50%;pointer-events:none;background:radial-gradient(circle,#fff6d6 0 12%,#ffc43d 28%,#ff4d6d 52%,transparent 70%);transform:translate(-50%,-50%) scale(0);animation:explosion .6s ease-out .42s both}@keyframes explosion{0%{transform:translate(-50%,-50%) scale(.2);opacity:1}60%{opacity:1}to{transform:translate(-50%,-50%) scale(1.6);opacity:0}}.carton__jeton--saute{position:absolute;left:12%;top:12%;z-index:4;animation:jeton-saute .9s cubic-bezier(.2,.6,.4,1) .42s both}@keyframes jeton-saute{0%{transform:none;opacity:1}to{transform:translate(140%,-260%) rotate(260deg) scale(.5);opacity:0}}.joueur--secousse{animation:tremblement .55s linear}@keyframes tremblement{10%,90%{transform:translate(-2px,1px)}20%,80%{transform:translate(5px,-3px)}30%,50%,70%{transform:translate(-8px,3px) rotate(-.4deg)}40%,60%{transform:translate(8px,-2px) rotate(.4deg)}}.carton__case--cratere{background:#e9e1d6;box-shadow:inset 0 0 0 1px #cdbfae}.cratere{position:relative;width:100%;height:100%;display:grid;place-items:center}.cratere:before{content:"";position:absolute;width:72%;aspect-ratio:1;border-radius:46% 54% 50% 50%/55% 45%;background:radial-gradient(circle at 50% 55%,#3a2a1c 0 30%,#6b4f36 55%,#a88b6d 75%,transparent 77%)}.cratere__numero{position:relative;color:#f3e7d6;font-size:2.8cqw;opacity:.85}.cratere__compteur{position:absolute;top:6%;right:6%;min-width:2.6cqw;height:2.6cqw;padding:0 .5cqw;border-radius:999px;background:var(--rose);color:#fff;font-size:1.8cqw;font-weight:700;display:grid;place-items:center;box-shadow:0 .2cqw .4cqw #0005}.cratere--apparait{animation:cratere-apparait .3s ease-out .5s both}@keyframes cratere-apparait{0%{opacity:0;transform:scale(.6)}}.lancement{position:fixed;right:12%;bottom:30%;z-index:24;color:var(--rose);pointer-events:none;filter:drop-shadow(0 0 10px #ff4d6d);animation:lancement 1s cubic-bezier(.3,.1,.6,1) forwards}@keyframes lancement{0%{transform:scale(.6);opacity:0}15%{transform:scale(1.3) rotate(-10deg);opacity:1}to{transform:translate(-40vw,-70vh) rotate(-300deg) scale(.5);opacity:0}}.toast--info{background:#1a2335;border:1px solid #33425f;color:#dce6fb}.toast--succes{background:#153b2c;border:1px solid var(--vert);color:#a8f0c9}.toast--pioche{background:#2e2611;border:1px solid var(--jaune);color:#ffe9b0}.toast--defense{background:#16243c;border:1px solid var(--cyan);color:#c7eef9}.toast--alerte{background:#471523;border:1px solid var(--rose);color:#ffd9e0}body:has(.joueur){overflow:hidden}.atout--secousse{--accent: var(--violet);--fond: #251a3a;--encre-bouton: #241338}.joueur__carton--secousse .carton{box-shadow:0 0 0 3px var(--violet),0 0 26px #c792ea66,0 10px 30px #0007}@keyframes bandeau-secousse-arrive{0%{transform:translate(-50%,-140%)}}@keyframes cadre-melange-arrive{0%{transform:translateY(-30%) scale(.8);opacity:0}}.toast--secousse{background:#3b2a5e;border:1px solid var(--violet);color:#e7d9ff}.joueur__carton--secousse .carton{overflow:hidden}.joueur__carton--secousse{position:relative}.cadre-melange{display:flex;align-items:center;justify-content:center;gap:8px;margin:0 auto 8px;width:fit-content;padding:6px 16px;border-radius:999px;background:#3b2a5e;border:2px solid var(--violet);color:#f3eaff;font-weight:800;font-size:clamp(13px,2vw,16px);box-shadow:0 0 18px #c792ea55;animation:cadre-melange-arrive .35s cubic-bezier(.34,1.56,.64,1)}.cadre-melange b{font-family:var(--titre);color:var(--violet);letter-spacing:.5px}.atout--gel{--accent: #8fe3ff;--fond: #122a3a;--encre-bouton: #0b2030}.atout--brouillard{--accent: #b7c4dc;--fond: #1d2536;--encre-bouton: #141c2c}.atout--escargot{--accent: var(--vert);--fond: #13301f;--encre-bouton: #0c2416}.atout--miroir{--accent: var(--violet);--fond: #221c3d;--encre-bouton: #241338;background:linear-gradient(135deg,#1d2a45,#2a1f48)}.atout--missile{--accent: #ff7a59;--fond: #2d1714;--encre-bouton: #2b0d07}.pilule--miroir{gap:5px;color:var(--violet);border-color:var(--violet);background:#221c3d;font-size:12px}.pilule--effet{gap:5px;font-size:11px;max-width:260px;overflow:hidden;text-overflow:ellipsis}.pilule--gel{color:#c9f1ff;border-color:#8fe3ff;background:#122a3a}.pilule--brouillard{color:#dce6fb;border-color:#9fb0d0;background:#1d2536}.pilule--escargot{color:#a8f0c9;border-color:var(--vert);background:#13301f}.joueur__carton--miroir .carton{box-shadow:0 0 0 3px var(--violet),0 0 24px #c792ea66,0 10px 30px #0007}.miroir-renvoi{color:var(--violet);background:radial-gradient(circle,#c792ea40 0,#3dd6f515 45%,transparent 70%)}.miroir-renvoi b{text-shadow:0 0 16px #c792ea}.joueur__carton--gel .carton{box-shadow:0 0 0 3px #8fe3ff,0 0 30px #8fe3ff66,0 10px 30px #0007}.joueur__carton--gel .carton{position:relative}.joueur__carton--gel .carton:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;z-index:4;border-radius:clamp(8px,1.6vw,16px);pointer-events:none;background:radial-gradient(circle at 8% 12%,#ffffffcc 0 2%,transparent 9%),radial-gradient(circle at 92% 88%,#ffffffaa 0 2%,transparent 10%),radial-gradient(circle at 85% 10%,#e9f9ffaa 0 1.5%,transparent 7%),radial-gradient(ellipse at center,#bfefff22 0,#bfefff22,#bfefff88 90%),repeating-linear-gradient(60deg,#ffffff18 0 2px,transparent 2px 14px),repeating-linear-gradient(-60deg,#ffffff14 0 2px,transparent 2px 16px);-webkit-backdrop-filter:saturate(.6) brightness(1.05);backdrop-filter:saturate(.6) brightness(1.05);animation:givre-souffle 3s ease-in-out infinite}.joueur__carton--impact-gel .carton:after{animation:givre-repand 1.1s ease-out both,givre-souffle 3s ease-in-out 1.1s infinite}@keyframes givre-repand{0%{clip-path:inset(0 50% 0 50% round 16px);opacity:0}to{clip-path:inset(0 0 0 0 round 16px);opacity:1}}@keyframes givre-souffle{50%{filter:brightness(1.12)}}.joueur__carton--gel button.carton__case{cursor:not-allowed}.carton__case--nuage{background:#6b7a96;overflow:hidden}.nuage{position:absolute;top:-10%;right:-10%;bottom:-10%;left:-10%;background:radial-gradient(circle at 30% 55%,#f4f7ff 0 22%,transparent 23%),radial-gradient(circle at 55% 40%,#ffffff 0 26%,transparent 27%),radial-gradient(circle at 75% 60%,#e6ecf8 0 20%,transparent 21%),radial-gradient(circle at 50% 70%,#d6deee 0 30%,transparent 31%);filter:blur(1.5px);animation:nuage-flotte 4s ease-in-out infinite alternate}.joueur__carton--impact-brouillard .nuage{animation:nuage-arrive .9s cubic-bezier(.2,.8,.3,1) both,nuage-flotte 4s ease-in-out .9s infinite alternate}@keyframes nuage-arrive{0%{transform:translate(-120%) scale(.6);opacity:0}}@keyframes nuage-flotte{to{transform:translate(8%) scale(1.06)}}.escargot-traverse{position:fixed;left:-80px;bottom:18%;z-index:24;color:var(--vert);filter:drop-shadow(0 0 10px #51d98a);pointer-events:none;animation:escargot-rampe 3s linear forwards}@keyframes escargot-rampe{0%{transform:translate(0) translateY(0)}25%{transform:translate(25vw) translateY(-6px)}50%{transform:translate(50vw) translateY(0)}75%{transform:translate(75vw) translateY(-6px)}to{transform:translate(calc(100vw + 100px)) translateY(0)}}.tire__escargot{display:inline-flex;align-items:center;gap:4px;font-size:clamp(10px,1.4vw,12px);font-weight:800;color:var(--vert)}.choix-cible{position:fixed;top:0;right:0;bottom:0;left:0;z-index:26;background:#0f1626d9;display:grid;place-items:center;padding:12px;animation:apparait .2s ease}.choix-cible__boite{width:min(420px,100%);max-height:calc(100dvh - 24px);overflow-y:auto;background:var(--surface);border:2px solid #ff7a59;border-radius:18px;padding:14px;display:flex;flex-direction:column;gap:10px}.choix-cible__haut{display:flex;align-items:center;gap:10px;color:#ff7a59}.choix-cible__haut b{flex:1;color:var(--texte);font-family:var(--titre);font-weight:600;font-size:17px}.choix-cible__liste{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:6px}.choix-cible__joueur{width:100%;display:flex;align-items:center;gap:10px;padding:8px 10px;border-radius:12px;border:1px solid var(--bord-2);background:#141e33;color:var(--texte);font:inherit;cursor:pointer;text-align:left}.choix-cible__joueur b{flex:1}.choix-cible__joueur:not(:disabled):hover{border-color:#ff7a59}.choix-cible__joueur:disabled{opacity:.45;cursor:not-allowed}.choix-cible__raison{font-size:11px;font-weight:800;color:var(--texte-doux)}.choix-cible__raison--cout{color:var(--jaune)}
