/* La partie du navigateur : **la table de l'application**, à sa place — couchée, les adversaires en haut, la
   pioche à gauche, le médaillon au centre, sa main en bas, Tirer et Stopper en bas à droite. Tout est posé sur
   un plateau de 840 × 390 (le format de référence de l'application), que `jeu.js` met à l'échelle de l'écran :
   la disposition ne dépend d'aucun téléphone. L'habit est celui de Pop acidulé « plein jour », voulu — chaque
   couleur est posée, rien ne dépend du thème du téléphone. Aucune ressource tierce. */
:root {
  --feutre-1: #FFFAF0; --feutre-2: #F6E3C8;
  --encre: #2A1F3D; --encre-douce: #6B5F80;
  --corail: #FF5C39; --corail-fonce: #D4411F;
  --menthe: #2EE5B4; --vert: #1F9E6A; --or: #F2B705; --or-fonce: #B98400;
  --violet: #6C4BD8; --glace: #3FB4E8; --nuit: #2A2045; --alerte: #E23D3D;
  --c: 62px;        /* la largeur d'une carte de sa main */
  --mini: 32px;     /* celle d'une carte d'adversaire */
  --grande: 104px;  /* celle de la carte présentée au centre */
  color-scheme: light;
}
/* **La police de l'application** (`Type.kt`) : Archivo, en chasse variable (graisse 100–900, largeur 62–125 %), réduite
   aux lettres des six langues (`polices/archivo.woff2`, 118 Ko, licence OFL à côté). Chiffres à chasse fixe partout,
   comme l'application. Les largeurs de l'application : 100 % le texte, 112 % (`ArchivoBrand`) les titres, les boutons
   et les gros chiffres, 118 % (`ArchivoDisplay`) les bannières et les titres de fin. */
@font-face { font-family: "Archivo"; src: url(/web/polices/archivo.woff2) format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { height: 100%; }
body {
  margin: 0; color: var(--encre); overflow: hidden; overscroll-behavior: none; position: fixed; inset: 0;
  font: 14px/1.3 "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-variant-numeric: tabular-nums;
  background: radial-gradient(120% 90% at 50% 40%, var(--feutre-1), var(--feutre-2));
  -webkit-user-select: none; user-select: none; touch-action: manipulation;
}
button { font: inherit; color: inherit; border: 0; background: none; padding: 0; cursor: pointer; }
[hidden] { display: none !important; }
/* À table, téléphone tenu droit : la table est tournée d'un quart. Une carte montre un téléphone qui pivote vers la
   gauche (le sens qui redresse la table, même rotation verrouillée) et attend un appui. */
.tourne { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; background: rgba(27, 18, 44, .55); animation: fondu .2s; cursor: pointer; }
.carte-tourne { display: grid; justify-items: center; gap: 4px; max-width: 82vw; padding: 24px 30px 20px; border-radius: 24px; background: #FFFDF7; border: 3px solid var(--or); box-shadow: 0 20px 50px rgba(0, 0, 0, .35); text-align: center; color: var(--encre); }
.carte-tourne b { font-size: 19px; font-weight: 900; line-height: 1.2; text-wrap: balance; }
.carte-tourne span:not(.telephone) { font-size: 14px; font-weight: 600; color: var(--encre-douce); }
.telephone { position: relative; width: 42px; height: 70px; margin: 8px 0 16px; border: 4px solid var(--encre); border-radius: 10px; background: linear-gradient(160deg, #96E8BC, #7ADFA8); animation: pivote 2.4s ease-in-out infinite; }
.telephone::before { content: ""; position: absolute; left: 50%; top: 3px; width: 12px; height: 3px; margin-left: -6px; border-radius: 2px; background: var(--encre); }
.telephone::after { content: ""; position: absolute; left: 9px; top: 18px; width: 16px; height: 22px; border-radius: 3px; background: #FFFAF0; border: 2px solid var(--corail); transform: rotate(-8deg); }
@keyframes pivote { 0%, 18% { transform: rotate(0deg); } 48%, 78% { transform: rotate(-90deg); } 100% { transform: rotate(0deg); } }
@media (prefers-reduced-motion: reduce) { .telephone { animation: none; transform: rotate(-90deg); } }
.plateau { position: absolute; left: 0; top: 0; width: 840px; height: 390px; transform-origin: 0 0; }
/* Un trèfle en filigrane dans l'angle du feutre de Pop : le centre reste nu. */
.plateau::before {
  content: "🍀"; position: absolute; left: -30px; bottom: -70px; font-size: 230px; opacity: .05; filter: grayscale(1); pointer-events: none; transform: rotate(-18deg);
}
.titre-jeu { font-weight: 900; letter-spacing: .04em; line-height: .95; }
/* Les largeurs de l'application (`ArchivoBrand` 112 %, `ArchivoDisplay` 118 %). */
.titre-jeu, .grand-bouton b, .gros-bouton, .fenetre h2, .carte-tourne b, .ligne-complet b, .disque b, .en-jeu, .code-salon,
.ligne .tot, .ligne-bilan .tot, .rang-bilan, .entete-tableau b, .ecran-echange h2, .titre-guichet b, .serie, .badge-clover,
.choix button .pts, .ticket, .ecart { font-stretch: 112%; }
.banniere b, .fin-titre { font-stretch: 118%; }
.capitales { font-size: 10px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--encre-douce); }

/* ---- L'accueil, comme le salon de l'application (`HomeScreen`), aux mesures de son image de référence ---- */
#accueil { position: absolute; inset: 0; }
#accueil .deco.jaune { width: 150px; left: -40px; top: -60px; }
#accueil .deco.rose { width: 140px; right: -14px; top: -40px; }
#accueil .deco.vert { width: 130px; right: 70px; bottom: -90px; }
.barre { position: absolute; left: 22px; right: 22px; top: 10px; height: 32px; display: flex; align-items: center; gap: 8px; z-index: 3; }
.barre .vide { flex: 1; }
.pastille-joueur { display: flex; align-items: center; gap: 7px; height: 30px; padding: 0 14px 0 3px; border-radius: 999px; background: rgba(255, 92, 57, .12); border: 2px solid rgba(255, 92, 57, .28); font-weight: 900; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; }
.pastille-joueur img { width: 24px; height: 24px; border-radius: 50%; background: #FFF; }
.pastille-son { width: 32px; height: 32px; border-radius: 50%; font-size: 15px; display: grid; place-items: center; background: rgba(255, 255, 255, .7); border: 2px solid rgba(255, 92, 57, .18); }
.pastille-son.coupee { opacity: .45; filter: grayscale(1); }
.signature { position: absolute; left: 22px; top: 46px; width: 300px; z-index: 2; }
.signature .logo { position: absolute; left: 6px; top: 10px; width: 42px; height: 42px; filter: drop-shadow(0 2px 0 rgba(42, 31, 61, .2)); }
.signature h1 { margin: 0 0 0 48px; font-size: 25px; letter-spacing: .05em; }
.signature h1 span { display: block; color: var(--corail); }
.accroche { margin: 8px 0 0; width: 250px; transform: rotate(-3deg); transform-origin: 0 50%; font-weight: 900; font-style: italic; font-size: 11.5px; letter-spacing: .03em; line-height: 1.25; text-transform: uppercase; }
.accroche b { color: var(--corail); }
.signature .vague { display: block; width: 105px; margin: 1px 0 0 1px; }
.scene { position: absolute; left: 0; top: 140px; width: 340px; bottom: 0; z-index: 1; }
.projecteur { position: absolute; left: 6px; width: 252px; top: 10px; bottom: 0; background: linear-gradient(rgba(255, 166, 140, .05), rgba(255, 140, 110, .35)); clip-path: polygon(45% 0, 55% 0, 100% 100%, 0 100%); }
.projecteur::after { content: ""; position: absolute; left: 15%; right: 15%; bottom: -12px; height: 34px; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 140, 110, .35), transparent); }
.heros { position: absolute; left: 34px; bottom: -6px; width: 205px; height: 205px; object-fit: contain; -webkit-mask-image: linear-gradient(#000 78%, transparent); mask-image: linear-gradient(#000 78%, transparent); transform-origin: 50% 100%; cursor: pointer; }
.heros.rebond { animation: rebond-heros .5s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes rebond-heros { 30% { transform: translateY(-10px) scale(1.03, .97); } }
@media (prefers-reduced-motion: no-preference) { .heros { animation: souffle-heros 4.2s ease-in-out infinite; } }
@keyframes souffle-heros { 50% { transform: scale(1.012, .992); } }
.bulle-heros { position: absolute; left: 158px; top: 18px; width: 174px; padding: 8px 12px; border-radius: 14px; background: #FFF; border: 2px solid rgba(255, 92, 57, .35); text-align: left; font-weight: 600; font-size: 12.5px; line-height: 1.3; box-shadow: 0 4px 10px rgba(42, 31, 61, .08); z-index: 2; }
.bulle-heros::after { content: ""; position: absolute; left: 14px; bottom: -9px; width: 14px; height: 14px; background: #FFF; border: 2px solid rgba(255, 92, 57, .35); border-top: 0; border-left: 0; transform: rotate(45deg); }
.menu { position: absolute; left: 352px; right: 22px; top: 116px; display: grid; grid-template-columns: 1fr 1fr; gap: 9px 10px; z-index: 2; }
.grand-bouton { position: relative; height: 59px; border-radius: 22px; padding: 0 18px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; text-align: left; color: #FFF; background: linear-gradient(#FF7A55, var(--corail)); box-shadow: 0 4px 0 var(--corail-fonce), 0 10px 18px rgba(212, 65, 31, .22); transition: transform .08s, box-shadow .08s, filter .15s; }
.grand-bouton:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--corail-fonce); }
.grand-bouton:disabled { filter: grayscale(.4); opacity: .7; }
.grand-bouton b { font-size: 19px; font-weight: 900; letter-spacing: .07em; line-height: 1.05; }
.grand-bouton > span:not(.eventail-bouton):not(.trio) { font-size: 11.5px; font-weight: 600; opacity: .95; margin-top: 2px; max-width: 192px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.eventail-bouton { position: absolute; right: 12px; top: -27px; width: 92px; height: 60px; pointer-events: none; }
.eventail-bouton .carte { position: absolute; width: 34px; top: 4px; }
.trio { position: absolute; right: 4px; top: -30px; width: 96px; height: 52px; pointer-events: none; }
.trio img { position: absolute; width: 42px; height: 42px; -webkit-mask-image: linear-gradient(#000 80%, transparent); mask-image: linear-gradient(#000 80%, transparent); }
.trio i { position: absolute; width: 7px; height: 7px; border-radius: 50%; background: #2EB872; border: 1.5px solid #FFF; }
.ligne-complet { grid-column: 1 / -1; position: relative; display: grid; grid-template-columns: 40px auto auto 1fr; align-items: center; column-gap: 10px; height: 65px; padding: 0 16px; border-radius: 20px; background: rgba(255, 255, 255, .72); border: 2px solid rgba(255, 92, 57, .16); color: var(--encre); text-decoration: none; }
.ligne-complet .etoile { grid-row: 1 / 3; font-size: 24px; color: #2EB872; text-align: center; }
.ligne-complet b { font-size: 16px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; align-self: end; }
.ligne-complet .pastille-android { align-self: end; justify-self: start; padding: 2px 9px; border-radius: 999px; background: rgba(46, 184, 114, .15); color: #1F8A55; font-size: 11px; font-weight: 800; }
.ligne-complet .pastille-android:empty { display: none; }
.ligne-complet .sous { grid-column: 2 / -1; font-size: 11.5px; color: var(--encre-douce); font-weight: 600; align-self: start; margin-top: 2px; }
.tuiles { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.tuile { height: 66px; border-radius: 16px; display: grid; justify-items: center; align-content: center; gap: 6px; background: rgba(255, 255, 255, .72); border: 2px solid rgba(255, 92, 57, .14); font-weight: 900; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--encre); }
.tuile svg { width: 22px; height: 22px; fill: none; stroke: var(--corail); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
/* ---- L'accueil debout (téléphone tenu droit) : le plateau fait 390 de large, l'accueil se range en colonne — la
   barre, la signature, le personnage et sa bulle, puis SOLO, EN LIGNE, le jeu complet et les quatre tuiles. ---- */
.plateau.debout #accueil { display: flex; flex-direction: column; padding: 0 14px 14px; }
.debout .barre { position: relative; left: auto; right: auto; top: auto; flex: none; margin-top: 10px; }
.debout .signature { position: relative; left: auto; top: auto; flex: none; width: 262px; margin: 10px auto 0; }
.debout .scene { position: relative; left: auto; top: auto; bottom: auto; flex: 1 1 auto; min-height: 140px; width: auto; margin: 4px -14px 0; }
.debout .projecteur { left: 6px; width: 250px; top: 0; }
.debout .heros { left: 20px; bottom: -4px; width: auto; height: 100%; max-height: 250px; aspect-ratio: 1; }
.debout .bulle-heros { left: auto; right: 14px; top: 6px; width: 150px; }
.debout .menu { position: relative; left: auto; right: auto; top: auto; flex: none; grid-template-columns: 1fr; gap: 8px; padding-top: 26px; }
.debout .grand-bouton + .grand-bouton { margin-top: 20px; }
.debout .grand-bouton > span:not(.eventail-bouton):not(.trio) { max-width: 230px; }
.debout .ligne-complet { height: 60px; padding: 0 12px; column-gap: 8px; grid-template-columns: 30px auto auto 1fr; }
.debout .ligne-complet b { font-size: 15px; letter-spacing: .07em; }
.debout .tuiles { gap: 7px; }
.debout .tuile { height: 60px; font-size: 9.5px; letter-spacing: .05em; }
/* Un petit téléphone : SOLO et EN LIGNE côte à côte, comme couché, pour laisser de la place au personnage. */
.debout.court .menu { grid-template-columns: 1fr 1fr; padding-top: 24px; }
.debout.court .grand-bouton + .grand-bouton { margin-top: 0; }
.debout.court .grand-bouton { padding: 0 12px; }
.debout.court .grand-bouton > span:not(.eventail-bouton):not(.trio) { max-width: 156px; font-size: 10.5px; }
.debout.court .eventail-bouton, .debout.court .trio { transform: scale(.82); transform-origin: 100% 0; }
/* Les fenêtres de l'accueil tiennent dans la largeur : une colonne au lieu de deux. */
.debout .fenetre.feuille, .debout .fenetre.feuille.large { min-width: 0; width: 100%; max-width: 100%; }
.debout .deux-voies { grid-template-columns: 1fr; }
.debout .choix-perso img { width: 72px; height: 72px; }
.debout .fenetre.feuille.regles-app { width: 100%; max-width: 100%; max-height: 100%; }
.debout .regles-completes { display: block; overflow-y: auto; }
.debout .regles-completes .col-regles { max-height: none; overflow: visible; margin-bottom: 14px; }

/* Les fenêtres de l'accueil : le personnage (nom et visage), rejoindre un ami (code et nom), les règles. */
.fenetre.feuille { min-width: 400px; max-width: 470px; display: grid; justify-items: center; gap: 10px; text-align: center; }
.feuille h2 { margin: 0; font-size: 18px; }
.fenetre.feuille.large { min-width: 600px; max-width: 640px; position: relative; }
.fermer-feuille { position: absolute; right: 12px; top: 10px; width: 30px; height: 30px; border-radius: 50%; font-size: 15px; background: rgba(42, 31, 61, .06); }
.deux-voies { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; width: 100%; }
.voie { display: grid; justify-items: center; align-content: start; gap: 8px; padding: 12px 10px; border-radius: 16px; background: rgba(255, 92, 57, .06); border: 2px solid rgba(255, 92, 57, .14); }
.voie .gros-bouton { min-width: 0; width: 100%; padding: 11px 10px; font-size: 15px; }
.voie .petit { margin: 0; font-size: 11.5px; }
.voie .champ-nom input { width: 100%; }
.feuille .regles { text-align: left; width: 100%; }
.feuille .rangee-boutons { display: flex; gap: 10px; justify-content: center; }
.champ-code input { letter-spacing: .3em; text-transform: uppercase; }
.regles { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.regles li { display: grid; grid-template-columns: 46px 1fr; gap: 10px; align-items: center; background: rgba(255, 255, 255, .72); border: 1px solid #EBD9BE; border-radius: 13px; padding: 6px 12px; font-weight: 600; font-size: 13.5px; min-height: 50px; }
.regles .ex { display: flex; justify-content: center; align-items: center; }
.regles .ex .carte { width: 30px; }
.regles .ex .carte + .carte { margin-left: -13px; transform: rotate(8deg); }
.choix-perso { display: flex; gap: 14px; align-items: center; justify-content: center; }
.choix-perso button { border-radius: 50%; padding: 3px; border: 3px solid transparent; opacity: .5; transition: opacity .15s, transform .15s; }
.choix-perso button[aria-pressed="true"] { border-color: var(--or); opacity: 1; transform: scale(1.1); }
.choix-perso img { width: 84px; height: 84px; display: block; border-radius: 50%; background: #FFF; }
.gros-bouton {
  min-width: 230px; padding: 15px 28px; border-radius: 999px; font-weight: 900; font-size: 20px; letter-spacing: .08em; color: #FFF;
  background: linear-gradient(#FF7A55, var(--corail)); box-shadow: 0 5px 0 var(--corail-fonce), 0 10px 18px rgba(212, 65, 31, .28);
  transition: transform .08s, box-shadow .08s, filter .15s, opacity .15s;
}
.gros-bouton:active { transform: translateY(4px); box-shadow: 0 1px 0 var(--corail-fonce); }
.gros-bouton:disabled { filter: grayscale(.55); opacity: .5; box-shadow: 0 5px 0 #9C8F86; }
.petit { font-size: 12.5px; color: var(--encre-douce); }
.champ-nom { display: grid; justify-items: center; gap: 3px; margin-top: 4px; }
.champ-nom input { width: 210px; font: 800 16px/1.2 inherit; font-family: inherit; text-align: center; color: var(--encre); background: #FFF; border: 2px solid rgba(42, 31, 61, .18); border-radius: 12px; padding: 7px 10px; -webkit-user-select: text; user-select: text; }
.champ-nom input:focus { outline: none; border-color: var(--or); }
.petit.alerte { color: var(--alerte); font-weight: 700; }
/* La salle d'attente : les joueurs du salon, et l'hôte qui lance. */
.fenetre.salle { min-width: 420px; text-align: center; display: grid; justify-items: center; }
.salle .joueurs { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 10px 0 6px; }
.salle .joueur { display: grid; justify-items: center; gap: 3px; width: 76px; font-weight: 800; font-size: 13px; }
.salle .joueur img { width: 58px; height: 58px; }
.salle .joueur.moi span { color: var(--corail); }
.salle .joueur small { font-size: 10px; color: var(--or-fonce); letter-spacing: .08em; }
.salle .note { font-size: 11.5px; color: var(--encre-douce); margin: 6px 0 0; }
/* La salle de l'hôte : le code, le lien à envoyer, le format et le nombre de joueurs. */
.tete-salon { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; }
.code-salon { font-weight: 900; font-size: 24px; letter-spacing: .14em; color: var(--corail); line-height: 1; }
.salle .joueurs { margin: 4px 0 2px; }
.salle .joueur img { width: 46px; height: 46px; }
.salle .rangee-boutons { display: flex; gap: 10px; justify-content: center; align-items: center; }
.salle .lien-bouton { margin-top: 2px; }
.reglages-salon { display: grid; justify-items: center; gap: 5px; }
.puces { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.puce { padding: 5px 11px; border-radius: 999px; font-weight: 800; font-size: 12px; background: #FFF; border: 2px solid #E5D6C0; color: var(--encre); }
.puce.rond { width: 30px; height: 30px; padding: 0; display: grid; place-items: center; }
.puce.choisie { background: var(--corail); border-color: var(--corail); color: #FFF; }
.puce:disabled { opacity: .35; }
.fenetre.salle { max-height: 370px; overflow-y: auto; }
.fenetre.salle .gros-bouton { min-width: 0; padding: 10px 20px; font-size: 14px; }
.fenetre.salle h2 { margin: 0; }
.fenetre.salle p { margin: 2px 0; }
.pied { font-size: 11.5px; color: var(--encre-douce); }
.pied a { color: inherit; }

/* ---- La table : les places de `TableGeometry` (840 × 390, origine au centre ramenée en haut à gauche) ----
   pioche (76, 160) · adversaires sur l'arc de 215° à −35° (rx 269, ry 117, autour de y 160) · médaillon (420, 199)
   · carte montrée (420, 160) · main du joueur (420, 346), son visage (292, 319) · Tirer et Stopper en bas à droite. */
#table { position: absolute; inset: 0; }
.deco { position: absolute; color: currentColor; pointer-events: none; opacity: .5; }
.deco.jaune { color: #FFD66B; width: 150px; left: -22px; top: -36px; transform: rotate(-12deg); }
.deco.rose { color: #FFB3C1; width: 120px; right: -30px; top: -14px; transform: rotate(16deg); }
.deco.vert { color: #A8E6C1; width: 120px; right: 4px; bottom: -70px; transform: rotate(-20deg); }
.entete { position: absolute; left: 8px; top: 8px; display: flex; align-items: center; gap: 10px; z-index: 8; }
.croix { width: 32px; height: 32px; border-radius: 50%; font-size: 20px; font-weight: 700; color: var(--encre-douce); display: grid; place-items: center; }
.entete .capitales { font-size: 11px; letter-spacing: .16em; }
.coupe { padding: 3px 10px; border-radius: 999px; border: 2px solid var(--corail); background: rgba(255, 255, 255, .8); font-weight: 900; font-size: 12px; color: var(--encre); }

/* Une place d'adversaire : le visage, la plaque « Iris · 15 » (ses points de la manche), l'éventail dessous —
   penché vers le centre. Celle qui joue grossit de 14 %, autour du visage, et sa plaque se cercle d'or. */
.siege { position: absolute; width: 200px; margin-left: -100px; display: grid; justify-items: center; transition: transform .25s cubic-bezier(.3, 1.4, .5, 1); transform-origin: 50% 28px; }
.siege.actif { transform: scale(1.14); z-index: 5; }
.siege .visage { width: 58px; height: 58px; display: block; }
.siege.actif .visage { filter: drop-shadow(0 0 10px rgba(242, 183, 5, .75)); }
.plaque { margin-top: -4px; padding: 3px 13px; border-radius: 999px; font-weight: 800; font-size: 13px; color: var(--encre); white-space: nowrap; position: relative; border: 2.5px solid transparent; }
.siege.s1 .plaque { background: #8FC4F2; }
.siege.s2 .plaque { background: #F2958A; }
.siege.s3 .plaque { background: #8FD9B0; }
.siege.actif .plaque { border-color: #F2B705; box-shadow: 0 0 0 1.5px #B98400; }
.siege .eventail { position: relative; display: flex; justify-content: center; min-height: 48px; margin-top: 7px; transform-origin: 50% 0; }
.siege.gauche .eventail { transform: rotate(-24deg) translateX(10px); }
.siege.droite .eventail { transform: rotate(24deg) translateX(-10px); }
.siege .eventail .carte { transform: rotate(var(--r, 0deg)); }
.siege .eventail .carte + .carte { margin-left: -14px; }
.siege.perdu .eventail .carte, .main.perdu .carte { opacity: .55; filter: saturate(.5); }
.tampon {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%) rotate(-9deg); z-index: 3; white-space: nowrap;
  font-size: 13px; font-weight: 900; letter-spacing: .08em; padding: 3px 10px; border-radius: 7px; color: #FFF; border: 2px solid rgba(255, 255, 255, .9);
  box-shadow: 0 2px 6px rgba(42, 31, 61, .3);
}
.tampon.banque { background: #6FA8DC; }
.tampon.perdu { background: var(--alerte); }
.tampon.gele { background: var(--glace); }
.siege.secoue, .portrait.secoue { animation: secousse .45s; }
@keyframes secousse { 20% { translate: -7px 0; } 40% { translate: 7px 0; } 60% { translate: -5px 0; } 80% { translate: 4px 0; } }

/* La pioche, à gauche : une pile en relief, son compte dessous. */
.pioche { position: absolute; left: 41px; top: 118px; width: 70px; display: grid; justify-items: center; gap: 6px; z-index: 2; }
.pioche .pile { position: relative; width: 56px; aspect-ratio: 5 / 7; }
.pioche .pile .carte { position: absolute; inset: 0; width: 100%; }
.pioche .pile .carte:nth-child(1) { transform: translate(9px, -9px); }
.pioche .pile .carte:nth-child(2) { transform: translate(6px, -6px); }
.pioche .pile .carte:nth-child(3) { transform: translate(3px, -3px); }
.pioche .capitales { font-size: 11px; white-space: nowrap; }

/* Le médaillon de Pop (`MedaillonPopJour`), à ses mesures : un disque menthe de 108 dp sous l'arc des sept cases
   du Clover Seven (17 × 23 dp, à 72 dp du centre, de 200° à 340°). La boîte épouse ce qu'on voit — l'arc en haut,
   le disque en bas — et, comme sur la table de l'application, elle est réduite à 88,5 % pour tenir entre les
   places du haut et la main (mesuré sur `RenduCloverPopTrois` : disque de 95,6 dp centré en 420 × 212). */
.medaillon { position: absolute; left: 336.5px; top: 122.3px; width: 167px; height: 137.5px; transform: scale(.885); transform-origin: 50% 100%; }
.disque {
  position: absolute; left: 29.5px; top: 29.5px; width: 108px; height: 108px; border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  background: linear-gradient(135deg, #96E8BC, #7ADFA8);
  box-shadow: inset 0 0 0 6px rgba(255, 92, 57, .08), inset 0 0 0 2px rgba(255, 255, 255, .5);
  color: #0E4A2C;
}
.disque .nom { font-size: 9px; font-weight: 900; letter-spacing: .14em; line-height: 1.25; max-width: 92px; overflow: hidden; white-space: nowrap; }
.disque b { font-size: 34px; font-weight: 900; line-height: 1.12; color: #083A20; font-variant-numeric: tabular-nums; }
.disque span[data-t] { font-size: 8px; font-weight: 700; letter-spacing: .06em; line-height: 1.25; text-transform: uppercase; }
/* Le cœur : au tour du joueur, au-delà de 15 % de risque, le disque bat en deux temps — plus vite quand le risque monte. */
.disque.bat { animation: coeur var(--periode, 1.5s) linear infinite; }
@keyframes coeur { 0%, 60%, 100% { transform: scale(1); } 12% { transform: scale(1.07); } 28% { transform: scale(1); } 42% { transform: scale(1.04); } }
/* Une case : le creux d'une carte à venir (le trèfle en filigrane), ou une mini-carte à la chaleur de son chiffre. */
.cases i {
  position: absolute; width: 17px; height: 23px; margin: -11.5px 0 0 -8.5px; border-radius: 4.6px; display: grid; place-items: center;
  font-style: normal; font-weight: 900; line-height: 1; color: #FFF; text-shadow: 0 1.5px 2px rgba(0, 0, 0, .4);
  background: rgba(33, 22, 51, .07); box-shadow: inset 0 0 0 1px rgba(33, 22, 51, .2);
}
.cases i .creux { width: 10.5px; height: 10.5px; color: rgba(33, 22, 51, .25); fill: currentColor; }
.cases i.pleine { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .6); }
.cases i .anneau { position: absolute; left: -3px; top: -3px; width: 23px; height: 29px; overflow: visible; pointer-events: none; }
.cases i .anneau rect { fill: none; stroke: url(#or-clover); stroke-width: 1.7; stroke-dasharray: 2.72 1.87; animation: anneau 1.4s linear infinite; }
@keyframes anneau { to { stroke-dashoffset: -9.18; } }
/* À 6 sur 7 : les chiffres se cerclent d'or, la case qui reste se creuse et respire sous son anneau qui tourne. */
.cases.six i.pleine { box-shadow: inset 0 0 0 2px #FFD23F; }
.cases.six i:not(.pleine) { background: rgba(33, 22, 51, .12); box-shadow: inset 0 0 0 1px rgba(33, 22, 51, .35); animation: souffle-case .9s ease-in-out infinite alternate; }
.cases.six i:not(.pleine) .creux { color: #E0A100; }
@keyframes souffle-case { to { scale: 1.09; } }
/* À 7 sur 7 : toutes d'or, et elles sautent en vague. */
.cases.sept i { background: linear-gradient(#FFF1A8, #FFD23F 50%, #E0A100) !important; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .8); color: #3A2600; text-shadow: none; }
.cases.sept i.vague { animation: vague .52s linear both; }
@keyframes vague { 50% { translate: 0 -10px; } }
/* Un chiffre qui arrive se pose d'un rebond, et lâche une gerbe d'or. */
.cases i.arrive { animation: pose-case .6s cubic-bezier(.3, 1.7, .5, 1) both; }
@keyframes pose-case { from { scale: .2; rotate: 14deg; } to { scale: 1; rotate: 0deg; } }
.cases i.arrive::after {
  content: ""; position: absolute; inset: -5px; border-radius: 50%; pointer-events: none;
  background: repeating-conic-gradient(from 22.5deg, #FFD23F 0 6deg, transparent 6deg 45deg);
  -webkit-mask: radial-gradient(closest-side, transparent 45%, #000 50% 100%); mask: radial-gradient(closest-side, transparent 45%, #000 50% 100%);
  animation: gerbe .65s ease-out both;
}
@keyframes gerbe { from { transform: scale(.5); opacity: 1; } to { transform: scale(1.9); opacity: 0; } }

/* Le joueur : ses points de la manche en grand, sa main en éventail au bas de l'écran, son visage à gauche. */
.en-jeu { position: absolute; left: 370px; width: 100px; top: 260px; text-align: center; font-weight: 900; font-size: 32px; line-height: 1; color: var(--corail); text-shadow: 0 2px 0 rgba(255, 255, 255, .7); z-index: 3; }
.main { position: absolute; left: 330px; width: 180px; top: 300px; height: 92px; display: flex; justify-content: center; align-items: flex-start; z-index: 4; }
.main .carte { transform-origin: 50% 120%; }
.main .carte + .carte { margin-left: var(--pas, -16px); }
#mon-etiquette { position: absolute; left: 420px; top: 330px; z-index: 6; }
.portrait { position: absolute; left: 261px; top: 288px; width: 62px; display: grid; justify-items: center; z-index: 4; }
.portrait .visage { width: 62px; height: 62px; display: block; }
.portrait .plaque { margin-top: 2px; background: #EFD48A; padding: 2px 12px; }
.etiquette { font-size: 12px; font-weight: 900; letter-spacing: .08em; padding: 3px 10px; border-radius: 7px; color: #FFF; white-space: nowrap; transform: translate(-50%, 0) rotate(-7deg); border: 2px solid rgba(255, 255, 255, .9); box-shadow: 0 2px 6px rgba(42, 31, 61, .3); }
.etiquette.banque { background: #6FA8DC; }
.etiquette.perdu { background: var(--alerte); }
.etiquette.gele { background: var(--glace); }
.ecart { position: absolute; left: 8px; top: 293px; padding: 7px 14px; border-radius: 999px; font-size: 12px; font-weight: 900; letter-spacing: .02em; border: 2px solid; white-space: nowrap; background: rgba(255, 255, 255, .55); }
.ecart.devant { color: #136B45; border-color: #5CC28F; }
.ecart.derriere { color: #C0392B; border-color: #F08A78; }
.ecart.egal { color: var(--encre-douce); border-color: #DCCDB6; }

/* Tirer et Stopper, en bas à droite, l'un sur l'autre. */
.boutons { position: absolute; right: 8px; top: 266px; width: 162px; display: grid; gap: 9px; z-index: 7; }
.boutons .gros-bouton { min-width: 0; padding: 0; height: 52px; font-size: 21px; letter-spacing: .1em; }
.boutons .stopper { height: 46px; font-size: 18px; color: var(--encre); background: transparent; border: 2.5px solid rgba(42, 31, 61, .18); box-shadow: none; }
.boutons .stopper:not(:disabled) { background: #FFF; box-shadow: 0 4px 0 #CDBBA3; }
.boutons .gros-bouton:disabled { opacity: .45; }
.boutons #tirer:not(:disabled) { animation: souffle 1.6s ease-in-out infinite; }
@keyframes souffle { 50% { scale: 1.035; } }
.fil { position: absolute; right: 8px; top: 240px; width: 162px; text-align: center; font-size: 10px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; color: var(--encre-douce); }
.plateau.chaud::after { content: ""; position: absolute; inset: -40px; pointer-events: none; box-shadow: inset 0 0 90px 40px rgba(226, 61, 61, .2); }

/* ---- Les cartes : les images du paquet Pop, rendues par l'application (ombre et coins compris) ---- */
.carte { width: var(--c); aspect-ratio: 240 / 342; position: relative; flex: none; background: center / contain no-repeat; border-radius: 10%; }
.carte.petite { width: var(--mini); }
.carte.grande { width: var(--grande); }
.carte.fatale { outline: 3px solid var(--alerte); outline-offset: -4px; border-radius: 12%; }
.carte.arrive { animation: pose .32s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes pose { from { scale: .4; opacity: 0; } }
.vol { position: absolute; left: 0; top: 0; z-index: 30; pointer-events: none; will-change: transform; }

/* L'explication d'une carte, ou ce qui vient de se passer : sur une pastille de nuit, sous la carte montrée. */
.annonce {
  position: absolute; left: 420px; top: 238px; transform: translateX(-50%); z-index: 31; max-width: 330px; width: max-content; text-align: center;
  padding: 6px 14px; border-radius: 14px; background: rgba(42, 32, 69, .93); color: #FFF4E4; font-weight: 700; font-size: 13px; text-wrap: balance;
  box-shadow: 0 6px 14px rgba(42, 31, 61, .3);
}
.annonce .nouvelle { display: block; font-size: 9px; letter-spacing: .16em; font-weight: 900; color: #FFD23F; }

/* ---- Les bannières et les fenêtres ---- */
.banniere {
  position: absolute; left: 50%; top: var(--haut, 179px); z-index: 40; transform: translate(-50%, -50%); pointer-events: none; text-align: center;
  width: max-content; max-width: 92%; animation: claque-app .5s cubic-bezier(.2, .9, .3, 1.2) both; transition: opacity .18s;
}
.banniere b { display: block; font-size: var(--taille, 52px); font-weight: 900; letter-spacing: .03em; line-height: 1.05; white-space: nowrap; color: var(--couleur, #D92B5B);
  text-shadow: 0 3.5px 0 rgba(0, 0, 0, .35), 0 0 30px rgba(255, 92, 57, .55); }
.banniere span { display: inline-block; margin-top: 2px; font-size: 13px; font-weight: 800; letter-spacing: .2em; color: var(--encre-douce); }
.banniere.fond span { color: #FFF4E4; background: var(--fond); padding: 3px 12px; border-radius: 999px; letter-spacing: .12em; }
.banniere.part { opacity: 0; }
@keyframes claque-app {
  0% { transform: translate(-50%, -50%) scale(.3) rotate(-6deg); opacity: 0; }
  60% { transform: translate(-50%, -50%) scale(1.15) rotate(2deg); opacity: .85; }
  100% { transform: translate(-50%, -50%) scale(1) rotate(0deg); opacity: 1; }
}
@keyframes claque { from { transform: translate(-50%, -50%) rotate(-14deg) scale(1.7); opacity: 0; } }
.voile { position: absolute; inset: -400px; z-index: 50; background: rgba(27, 18, 44, .62); display: grid; place-items: center; padding: 410px; animation: fondu .18s; }
@keyframes fondu { from { opacity: 0; } }
.fenetre {
  max-width: 100%; max-height: 100%; overflow-y: auto; background: #FFFDF7; border-radius: 22px; padding: 14px 18px; text-align: center;
  box-shadow: 0 20px 50px rgba(0, 0, 0, .35); border: 3px solid var(--or); animation: pose .28s cubic-bezier(.3, 1.4, .5, 1);
}
.fenetre h2 { margin: 0 0 3px; font-size: 19px; font-weight: 900; text-wrap: balance; }
.fenetre p { margin: 0 0 10px; color: var(--encre-douce); font-weight: 600; }
/* Choisir un joueur : une carte par candidat, côte à côte. */
.choix { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.choix button { display: grid; justify-items: center; gap: 2px; padding: 9px 14px 8px; border-radius: 16px; background: #FFF; border: 2px solid #EBD9BE; font-weight: 800; min-width: 118px; }
.choix button:active { border-color: var(--or); background: #FFF6DA; }
.choix button img { width: 60px; height: 60px; }
.choix button .pts { font-weight: 900; color: var(--corail); font-size: 13px; }
.choix button.retrait { background: transparent; border-style: dashed; color: var(--encre-douce); align-content: center; min-width: 100px; }
.lignes { display: grid; gap: 5px; }
.ligne { display: grid; grid-template-columns: 36px minmax(90px, 1fr) auto auto; gap: 10px; align-items: center; background: #FFF; border: 2px solid #EBD9BE; border-radius: 13px; padding: 4px 12px; text-align: left; font-weight: 800; min-width: 300px; }
.ligne.moi-meme { border-color: var(--or); background: #FFF6DA; }
.ligne img { width: 36px; height: 36px; }
.ligne .gain { font-weight: 900; color: var(--vert); min-width: 3.2ch; text-align: right; }
.ligne .gain.zero { color: var(--alerte); }
.ligne .tot { font-weight: 900; font-size: 20px; min-width: 3ch; text-align: right; }
.ligne small { display: block; font-weight: 700; color: var(--alerte); font-size: 10.5px; }
.bilan .gros-bouton { margin-top: 12px; }
/* La fin : le vainqueur à gauche, le classement et la suite à droite. */
.fin { display: grid; grid-template-columns: 200px 1fr; gap: 6px 18px; align-items: center; text-align: center; }
.fin .gagnant { display: grid; justify-items: center; gap: 2px; }
.fin-titre { font-size: 30px; font-weight: 900; line-height: 1.05; color: var(--corail); letter-spacing: .02em; text-wrap: balance; }
.fin-titre.gagne { background: linear-gradient(120deg, var(--or-fonce), var(--or), var(--vert)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.fin-visage { width: 112px; height: 112px; display: block; }
.fin .gagnant p { margin: 0 0 8px; font-size: 12.5px; }
.fin .gagnant .gros-bouton { min-width: 0; width: 100%; font-size: 17px; padding: 12px 8px; }
.encart { grid-column: 1 / -1; margin-top: 6px; padding: 8px 12px; border-radius: 14px; background: #F3ECFF; border: 1px solid #DCCDFB; display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; align-items: center; text-align: left; }
.encart h3 { margin: 0; font-size: 14px; font-weight: 900; }
.encart p { margin: 0; font-size: 11.5px; grid-column: 1; }
.encart .actions { grid-column: 2; grid-row: 1 / 3; display: grid; gap: 6px; }
.lien-bouton { display: block; padding: 9px 14px; border-radius: 999px; font-weight: 900; letter-spacing: .05em; font-size: 12px; text-decoration: none; color: #FFF; background: var(--nuit); text-align: center; white-space: nowrap; }
.lien-bouton.clair { background: #FFF; color: var(--encre); border: 2px solid #DCCDFB; }
.confettis { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 60; }
.confettis i { position: absolute; top: -12px; width: 9px; height: 14px; border-radius: 2px; animation: tombe linear forwards; }
@keyframes tombe { to { transform: translateY(420px) rotate(720deg); } }

/* ---- Les gestes : le bouton 🙂, les menus, les bulles, le chahut ---- */
.son { width: 30px; height: 30px; border-radius: 50%; font-size: 15px; display: grid; place-items: center; background: rgba(255, 255, 255, .6); }
.son.coupee { opacity: .45; filter: grayscale(1); }
.musique-accueil { position: absolute; right: 14px; top: 12px; z-index: 2; }
.bouton-emote { position: absolute; left: 532px; top: 322px; width: 50px; height: 40px; border-radius: 14px; background: rgba(42, 32, 69, .72); font-size: 24px; display: grid; place-items: center; z-index: 6; }
.siege { cursor: pointer; }
.menu-gestes { position: absolute; z-index: 45; background: #FFFDF7; border: 2.5px solid var(--or); border-radius: 18px; padding: 6px; box-shadow: 0 10px 24px rgba(42, 31, 61, .3); animation: pose .22s cubic-bezier(.3, 1.5, .5, 1); }
.menu-gestes.emotes { left: 236px; top: 176px; display: grid; gap: 5px; }
.menu-gestes .rangee { display: flex; gap: 4px; }
.menu-gestes .rangee button { width: 44px; height: 42px; border-radius: 12px; font-size: 25px; background: #FFF6E3; }
.menu-gestes .rangee.mots { flex-wrap: wrap; max-width: 290px; }
.menu-gestes .rangee button.mot { width: auto; height: 32px; padding: 0 10px; font-size: 12.5px; font-weight: 900; color: #3A2A00; background: linear-gradient(#FFE27A, #F2B705); }
.menu-gestes.chahut { transform: translateX(-50%); display: flex; gap: 3px; }
.menu-gestes.chahut button { width: 42px; height: 42px; border-radius: 12px; background: #FFF6E3; display: grid; place-items: center; }
.menu-gestes.chahut img { width: 34px; height: 34px; object-fit: contain; }
.bulle { position: absolute; z-index: 44; transform: translate(-50%, -100%); display: flex; align-items: center; gap: 4px; padding: 4px 10px 4px 6px; border-radius: 16px; background: #FFF8EC; border: 2px solid #EBD9BE; box-shadow: 0 4px 10px rgba(42, 31, 61, .22); white-space: nowrap; animation: eclot .3s cubic-bezier(.3, 1.8, .5, 1); transition: opacity .35s, translate .35s; }
.bulle .emoji { font-size: 22px; line-height: 1; }
.bulle .legende { font-weight: 800; font-size: 12.5px; }
.bulle.mot { background: linear-gradient(#FFE27A, #F2B705); border-color: #FFF; }
.bulle.mot .legende { color: #3A2A00; font-weight: 900; }
.bulle.part { opacity: 0; translate: 0 -10px; }
@keyframes eclot { from { scale: .3; opacity: 0; } }
.projectile { position: absolute; left: 0; top: 0; width: 52px; height: 52px; object-fit: contain; z-index: 46; pointer-events: none; }
.impact { position: absolute; width: 76px; height: 76px; object-fit: contain; z-index: 43; pointer-events: none; }
.indice-chahut { position: absolute; left: 420px; top: 100px; transform: translateX(-50%); z-index: 42; padding: 6px 14px; border-radius: 999px; background: rgba(42, 32, 69, .9); color: #FFF4E4; font-weight: 800; font-size: 12.5px; white-space: nowrap; pointer-events: none; }
.plateau.indice .siege .visage { animation: appel 1.4s ease-in-out infinite; }
@keyframes appel { 50% { filter: drop-shadow(0 0 0 rgba(242, 183, 5, 0)) drop-shadow(0 0 12px rgba(242, 183, 5, .95)); } }

/* ---- Tout le paquet (2026-11-16) : les cartes qui restent devant soi, et les gestes des cartes spéciales ---- */
/* Un Mystère révélé (×2), une carte au coffre (🔒), le Malus (−7) : une pastille au coin bas gauche, où la valeur ne se lit pas. */
.carte[data-badge]::after {
  content: attr(data-badge); position: absolute; left: -3px; bottom: 6%; padding: 0 4px; border-radius: 6px; font-size: 11px; font-weight: 900; line-height: 16px;
  color: #FFF; background: var(--nuit); border: 1.5px solid #FFF; box-shadow: 0 1px 3px rgba(42, 31, 61, .4); white-space: nowrap;
}
.carte.petite[data-badge]::after { font-size: 8px; line-height: 11px; padding: 0 2px; border-width: 1px; border-radius: 4px; }
/* Le ticket du pari, à droite de ses points. */
.ticket { position: absolute; left: 470px; top: 266px; z-index: 3; padding: 3px 9px; border-radius: 8px; font-size: 12px; font-weight: 900; white-space: nowrap; color: #3A2A00; background: linear-gradient(#FFE27A, #F2B705); border: 2px solid #FFF; box-shadow: 0 2px 6px rgba(42, 31, 61, .25); transform: rotate(-4deg); }
.ticket.tenu { color: #FFF; background: var(--vert); }
.siege .ticket-place { left: auto; right: calc(50% + 24px); top: 2px; font-size: 9.5px; padding: 1px 5px; border-width: 1.5px; border-radius: 6px; z-index: 2; }
.siege.gauche .ticket-place { right: auto; left: calc(50% + 24px); transform: rotate(4deg); }
/* Les bannières des cartes d'action. */
/* La Dynamite : la table tremble et s'embrase un instant. */
.plateau.boum { animation: boum .9s ease-out; }
@keyframes boum {
  0% { filter: brightness(2.4) saturate(1.6); translate: 0 0; } 10% { translate: -9px 4px; } 20% { translate: 8px -5px; }
  35% { translate: -5px 3px; filter: brightness(1.3) sepia(.4); } 55% { translate: 3px -2px; } 100% { filter: none; translate: 0 0; }
}
/* La roue du Malus : treize cases de 0 à −12, une aiguille en haut. */
.roue-malus { position: absolute; left: 420px; top: 170px; width: 160px; height: 160px; transform: translate(-50%, -50%); z-index: 45; pointer-events: none; }
.disque-roue {
  position: absolute; inset: 0; border-radius: 50%; border: 6px solid #C9963A; box-shadow: 0 8px 20px rgba(42, 31, 61, .4), inset 0 0 0 3px #FFF;
  background: conic-gradient(from -13.85deg, #3BB273 0 27.7deg, #F2C14E 27.7deg 83deg, #F08A3C 83deg 166deg, #E23D3D 166deg 249deg, #8E2B4F 249deg 360deg);
}
.disque-roue span { position: absolute; left: 50%; top: 50%; width: 30px; margin: -9px 0 0 -15px; text-align: center; font-size: 13px; font-weight: 900; color: #FFF; text-shadow: 0 1px 2px rgba(0, 0, 0, .6); transform-origin: 50% 50%; }
.roue-malus .aiguille { position: absolute; left: 50%; top: -12px; width: 0; height: 0; margin-left: -10px; border: 10px solid transparent; border-top: 20px solid var(--nuit); filter: drop-shadow(0 2px 2px rgba(0, 0, 0, .3)); }
/* Choisir parmi des cartes : un Vol, un Échange, l'Espion, la Pioche, le Mystère, le Coffre, la Tournée, le pari. */
.choix-cartes button { min-width: 96px; padding: 8px 10px 7px; }
.choix-cartes button img { width: 46px; height: 46px; }
.mini-cartes { display: flex; justify-content: center; gap: 0; }
.mini-cartes .carte { --mini: 40px; }
.mini-cartes .carte + .carte { margin-left: -8px; transform: rotate(7deg); }

/* Ce qui vole entre les places : le flocon du Gel, la tornade, le raton et son butin, les cartes de l'Échange. */
.volant { position: absolute; left: 0; top: 0; z-index: 46; pointer-events: none; will-change: transform; }
.emoji-volant { display: block; line-height: 1; filter: drop-shadow(0 3px 4px rgba(42, 31, 61, .35)); }
.butin { display: flex; align-items: center; gap: 2px; }
.butin .carte { box-shadow: 0 4px 10px rgba(42, 31, 61, .35); }
.onde { position: absolute; z-index: 45; width: 20px; height: 20px; margin: -10px 0 0 -10px; border-radius: 50%; border: 4px solid; pointer-events: none; animation: onde .65s ease-out forwards; }
@keyframes onde { from { transform: scale(.3); opacity: 1; } to { transform: scale(4.2); opacity: 0; } }
/* L'avance rapide : elle se pose d'un rebond, ses chevrons défilent ; en turbo, elle passe à l'or. */
/* Au-dessus de Tirer et Stopper, éteints quand on est sorti de la manche : la place est libre, et l'œil y est. */
#table.dehors .fil { top: 251px; }
.rapide { position: absolute; right: 8px; top: 222px; width: 162px; justify-content: center; z-index: 7; display: flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: var(--nuit); color: #FFF4E4; font-weight: 900; font-size: 11px; letter-spacing: .08em; white-space: nowrap; animation: pose .35s cubic-bezier(.3, 1.6, .5, 1); box-shadow: 0 2px 6px rgba(42, 31, 61, .3); }
.rapide .chevrons { display: inline-block; font-size: 10px; letter-spacing: -1px; color: var(--menthe); animation: defile .9s linear infinite; }
.rapide.turbo { background: linear-gradient(#FFE27A, #F2B705); color: #3A2A00; }
.rapide.turbo .chevrons { color: var(--corail-fonce); animation-duration: .45s; }
.rapide.normal { background: #5A5470; }
.rapide.normal .chevrons { color: #FFF4E4; animation-duration: 1.1s; }
@keyframes defile { from { transform: translateX(-3px); opacity: .5; } 50% { opacity: 1; } to { transform: translateX(3px); opacity: .5; } }

/* 📬 Le guichet de la Tournée : au-dessus de sa scène (toile du devant, z-index 39), sous les fenêtres. */
.guichet { position: absolute; inset: 0; z-index: 41; pointer-events: none; }
.guichet button { pointer-events: auto; }
.etiquette-livraison { position: absolute; transform: translate(-50%, -50%); padding: 3px 8px; border-radius: 10px; border: 1px solid; background: rgba(8, 20, 40, .88); font-weight: 900; font-size: 12px; white-space: nowrap; animation: fondu .3s .37s both; transition: transform .2s, opacity .2s; }
.etiquette-livraison.elue { transform: translate(-50%, -50%) scale(1.15); border-width: 2px; border-color: #FFD45C !important; }
.etiquette-livraison.eteinte { opacity: .35; }
.zone-livraison { position: absolute; border-radius: 18px; background: transparent; }
.titre-guichet { position: absolute; transform: translate(-50%, -50%); display: grid; justify-items: center; max-width: 230px; padding: 4px 12px; border-radius: 12px; background: rgba(8, 20, 40, .86); border: 1px solid rgba(91, 155, 255, .7); text-align: center; animation: fondu .26s both; }
.titre-guichet b { color: #FFD45C; font-weight: 900; font-size: 14px; letter-spacing: .02em; }
.titre-guichet span { color: #FFF4E4; font-weight: 700; font-size: 11px; line-height: 13px; }
.titre-guichet span:empty { display: none; }
.main-qui-hesite { position: absolute; transform: translate(-50%, -50%); font-size: 15px; transition: left .25s, top .25s; }
/* 🐈‍⬛ La roue du joueur : un appui n'importe où l'arrête. */
.attrape-roue { position: absolute; inset: 0; z-index: 41; background: transparent; cursor: pointer; }
/* 🎁 La boîte à surprise : la règle et le choix, sous la boîte. */
.panneau-mystere { position: absolute; left: 420px; top: 182px; transform: translateX(-50%); z-index: 41; display: grid; justify-items: center; gap: 8px; max-width: 360px; text-align: center; animation: fondu .3s .3s both; }
.panneau-mystere p { margin: 0; padding: 5px 12px; border-radius: 12px; background: rgba(21, 10, 44, .85); color: #FFF4E4; font-weight: 700; font-size: 12.5px; }
.rangee-mystere { display: flex; gap: 10px; align-items: center; }
.panneau-mystere .gros-bouton { min-width: 0; padding: 8px 16px; font-size: 15px; }

@media (prefers-reduced-motion: reduce) {
  .rapide, .rapide .chevrons, .onde,
  .cases i, .cases i::after, .disque, .cases i .anneau rect, .plateau.boum,
  .carte.arrive, .banniere, .fenetre, .voile, .siege.secoue, .portrait.secoue, .boutons .gros-bouton { animation: none !important; }
  .confettis { display: none; }
}

/* Le ticket d'un pari perdu : barré (`TicketDePari`). Le sous-titre du dernier bilan. */
.ticket.barre { text-decoration: line-through; opacity: .6; }
.sous-bilan { margin: -4px 0 6px; font-weight: 900; color: var(--corail, #FF5C39); text-align: center; }
/* La fenêtre de cible : soi-même en retrait sur toute la ligne, la taxe à −25, grisé qui n'a rien à perdre. */
.choix .moi-meme { flex-basis: 100%; font-size: 13px; padding: 8px 14px; }
.choix .moins { color: var(--corail); font-weight: 900; }
.choix .rien { opacity: .45; }
/* La raison d'un Stopper éteint, et la bulle du Stopper verrouillé par un pari. */
.fil.raison { color: var(--corail); letter-spacing: .02em; text-transform: none; font-size: 10.5px; line-height: 1.15; top: 232px; }
.boutons .stopper.verrouille { color: #8A5A00; border-color: rgba(242, 183, 5, .7); background: rgba(255, 226, 122, .25); }
.bulle-stop { position: absolute; right: 12px; bottom: 70px; width: 170px; z-index: 40; padding: 8px 10px; border-radius: 12px; background: var(--nuit); color: #FFF4E4; font-size: 12px; font-weight: 800; line-height: 1.25; box-shadow: 0 6px 16px rgba(0, 0, 0, .3); animation: pose .25s cubic-bezier(.3, 1.5, .5, 1); }
.medaillon.cache { visibility: hidden; }
/* La pastille d'état du joueur perdu ou gelé (`EcranGivre`) : en bas à gauche, droite, sous l'écart en direct. */
#mon-etiquette.perdu, #mon-etiquette.gele { left: 8px; top: auto; bottom: 10px; transform: none; font-size: 11px; max-width: 250px; overflow: hidden; text-overflow: ellipsis; }
/* La carte qu'on retourne du doigt (`Revelation.auDoigt`) : le voile d'encre qui fonce avec le risque, la vignette du
   suspense centrée sur la carte, la prise sur toute la table, et la consigne sous la carte. */
.voile-doigt { position: absolute; inset: -400px; z-index: 29; pointer-events: none; background: rgba(31, 22, 51, var(--fonce, .3)); opacity: 0; transition: opacity .3s; }
.voile-doigt.pose { opacity: 1; transition: opacity .25s; }
.vignette-doigt { position: absolute; inset: -400px; z-index: 29; pointer-events: none; opacity: 0;
  background: radial-gradient(circle 630px at 820px 560px, transparent 0, transparent 189px, rgba(0, 0, 0, .55) 454px, rgba(0, 0, 0, .88) 630px); }
.prise-doigt { position: absolute; inset: 0; z-index: 31; touch-action: none; cursor: grab; outline: none; }
.consigne-doigt { position: absolute; left: 420px; top: 264px; transform: translateX(-50%); z-index: 31; pointer-events: none; padding: 5px 12px; border-radius: 999px; background: rgba(31, 22, 51, .8); color: #FFF4E4; font-size: 12px; font-weight: 800; white-space: nowrap; animation: fondu .3s; }
/* 🔄 L'Échange en deux gestes (`ChoixDEchange`) : les étalages de chacun, puis ses propres cartes et le gain. */
.voile.echange { background: rgba(31, 22, 51, .78); }
.ecran-echange { display: grid; justify-items: center; gap: 9px; max-width: 800px; color: #FFF4E4; text-align: center; animation: pose .36s cubic-bezier(.34, 1.56, .64, 1); }
.ecran-echange h2 { margin: 0; font-size: 26px; font-weight: 900; color: #E8A971; letter-spacing: .02em; }
.ecran-echange p { margin: 0; font-size: 13px; font-weight: 700; }
.etals { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 14px; }
.etal { display: grid; justify-items: center; gap: 4px; }
.etal.vide { opacity: .55; }
.etal small { font-size: 10px; max-width: 150px; line-height: 1.2; }
.tete-etal { display: flex; align-items: center; gap: 4px; font-size: 12px; }
.tete-etal img { width: 26px; height: 26px; }
.banque-etal { font-size: 9px; font-weight: 900; padding: 1px 5px; border-radius: 5px; background: #6FA8DC; color: #FFF; }
.cartes-etal { display: flex; gap: 3px; align-items: flex-end; }
.carte.moyenne { width: 35px; }
.cartes-etal.donner .carte.moyenne { width: 41px; }
.carte.prenable { cursor: pointer; transition: transform .12s; }
.carte.prenable:hover, .carte.prenable:focus { transform: translateY(-4px); outline: none; }
.carte.eteinte { opacity: .35; }
.col-donner { display: grid; justify-items: center; gap: 2px; }
.col-donner .gain { color: #6FE3A5; font-size: 12px; }
.col-donner .perte { color: #FF8A7A; font-size: 12px; }
.ecran-echange .autre { font-size: 11px; color: rgba(255, 244, 228, .7); padding: 4px 10px; border-radius: 999px; }
.ecran-echange .renoncer { font-size: 12px; font-weight: 800; color: #FFF4E4; padding: 7px 16px; border-radius: 999px; border: 1px solid rgba(255, 244, 228, .5); }
/* La série, en haut à droite (« SÉRIE ×3 », « 🔥 EN FEU ×3 ») ; l'enjeu de celui qui joue, à côté de sa tête ;
   la pastille 6/7 au bout de la plaque ; la balle de match d'un adversaire ; la ligne de la balle du joueur. */
.serie { position: absolute; right: 12px; top: 12px; z-index: 8; padding: 5px 12px; border-radius: 999px; font-size: 11px; font-weight: 900; letter-spacing: .08em; color: #FFF4E4; background: #D9A400; box-shadow: 0 3px 8px rgba(31, 22, 51, .25); white-space: nowrap; }
.serie.feu { background: linear-gradient(90deg, #FFB020, #FF5C39, #D92B5B); }
.serie.chaude:not(.feu) { background: #FF5C39; }
.serie.pop { animation: pop-serie .35s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes pop-serie { from { scale: .4; opacity: 0; } 70% { scale: 1.12; } }
.siege .enjeu { position: absolute; top: 22px; left: calc(50% + 36px); z-index: 6; font-size: 10px; font-weight: 800; white-space: nowrap; color: var(--encre-douce); background: rgba(255, 250, 240, .85); padding: 1px 6px; border-radius: 6px; }
.siege.droite .enjeu { left: auto; right: calc(50% + 36px); }
.siege .enjeu.menace { color: #C0392B; }
.siege.six-sur-sept .plaque::after { content: "6/7"; position: absolute; right: -24px; top: 50%; transform: translateY(-50%); font-size: 10px; font-weight: 900; color: #3A2600; background: linear-gradient(#FFE27A, #F2B705); border: 1.5px solid #FFF; border-radius: 999px; padding: 1px 5px; box-shadow: 0 2px 5px rgba(0, 0, 0, .2); }
.siege.droite.six-sur-sept .plaque::after { right: auto; left: -24px; }
.siege.balle .plaque { animation: balle-plaque 1.6s ease-in-out infinite; }
@keyframes balle-plaque { 50% { box-shadow: 0 0 0 3px rgba(242, 183, 5, .9), 0 0 14px rgba(226, 61, 61, .55); } }
.fil.balle { color: #B98400; letter-spacing: .02em; text-transform: none; font-size: 10.5px; line-height: 1.15; top: 232px; }
@media (prefers-reduced-motion: reduce) { .siege.balle .plaque, .serie.pop { animation: none; } }
/* Les règles de l'application : deux colonnes qui défilent, le jeu à gauche, les cartes à droite. */
.fenetre.feuille.regles-app { width: 780px; max-width: 96%; max-height: 92%; position: relative; text-align: left; justify-items: stretch; overflow: hidden; display: grid; grid-template-rows: auto 1fr; }
.regles-app h2 { text-align: center; }
.regles-completes { display: grid; grid-template-columns: 300px 1fr; gap: 22px; min-height: 0; }
.col-regles { overflow-y: auto; max-height: 300px; display: grid; gap: 7px; align-content: start; padding-right: 4px; }
.titre-regle { margin: 4px 0 0; font-size: 13px; font-weight: 900; color: var(--corail); letter-spacing: .02em; }
.col-regles p { margin: 0; font-size: 12px; line-height: 1.35; color: var(--encre); font-weight: 600; }
.etape-regle { display: flex; gap: 8px; align-items: baseline; font-size: 12px; line-height: 1.35; font-weight: 600; }
.etape-regle b { flex: none; width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; background: var(--corail); color: #FFF; font-size: 11px; }
.encadre-regle { display: grid; gap: 2px; padding: 7px 10px; border-radius: 10px; border-left: 4px solid; font-size: 12px; line-height: 1.35; font-weight: 600; }
.encadre-regle.danger { border-color: #D92B5B; background: rgba(217, 43, 91, .08); }
.encadre-regle.positif { border-color: #249C5B; background: rgba(36, 156, 91, .08); }
.encadre-regle b { font-weight: 900; }
.nombres-regle, .carte-regle { display: flex; gap: 8px; align-items: center; font-size: 12px; line-height: 1.35; font-weight: 600; }
.carte-regle .carte.petite, .nombres-regle .carte.petite { width: 40px; flex: none; }
#regles-table { font-weight: 900; font-size: 15px; }
/* Le bilan de l'application : un tableau qui se retourne (la manche au recto, le score cumulé au verso). */
.fenetre.bilan-app { width: 560px; max-width: 96%; display: grid; justify-items: center; gap: 6px; }
.bilan-app h2 { margin: 0; font-size: 22px; }
.bilan-app h2.titre-clover { background: linear-gradient(90deg, #B98400, #F2B705, #1F9E6A); -webkit-background-clip: text; background-clip: text; color: transparent; font-size: 26px; animation: claque-titre .5s cubic-bezier(.2, .9, .3, 1.2); }
@keyframes claque-titre { from { scale: .5; opacity: 0; } 60% { scale: 1.1; } }
.bilan-app .sous-bilan { margin: -4px 0 2px; font-size: 12px; color: var(--encre-douce); font-weight: 700; }
.tableau-bilan { position: relative; width: 100%; perspective: 1200px; cursor: pointer; outline: none; display: grid; }
.tableau-bilan .face { grid-area: 1 / 1; display: grid; gap: 4px; align-content: start; backface-visibility: hidden; -webkit-backface-visibility: hidden; transition: transform .6s cubic-bezier(.4, 0, .2, 1); max-height: 220px; overflow-y: auto; }
.tableau-bilan .verso { transform: rotateY(180deg); }
.tableau-bilan.retourne .recto { transform: rotateY(-180deg); }
.tableau-bilan.retourne .verso { transform: rotateY(0deg); }
.entete-tableau { display: flex; justify-content: space-between; align-items: baseline; padding: 0 4px; font-size: 11px; letter-spacing: .1em; }
.entete-tableau b { font-weight: 900; color: var(--encre); }
.entete-tableau .bascule { color: var(--corail); font-weight: 800; }
.ligne-bilan { display: grid; grid-template-columns: 28px 1fr auto 44px; gap: 9px; align-items: center; padding: 4px 12px 4px 8px; border-radius: 12px; background: #FFF; border: 2px solid #EBD9BE; text-align: left; }
.ligne-bilan.cumul { grid-template-columns: 18px 28px 1fr 52px; }
.ligne-bilan.moi-meme { border-color: var(--or); background: #FFF6DA; }
.ligne-bilan.exploit { border-color: #F2B705; background: linear-gradient(90deg, #FFF6DA, #E6F7EE); box-shadow: 0 0 0 2px rgba(242, 183, 5, .35); animation: gonfle .6s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes gonfle { from { scale: .92; } 60% { scale: 1.04; } }
.ligne-bilan img { width: 28px; height: 28px; }
.nom-bilan { display: grid; min-width: 0; }
.nom-bilan b { font-size: 13px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ligne-bilan.moi-meme .nom-bilan b { color: #B98400; }
.nom-bilan small { font-size: 10px; font-weight: 600; color: var(--encre-douce); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.badge-clover { margin-left: 6px; font-size: 9px; font-weight: 900; color: #3A2600; background: linear-gradient(#FFE27A, #F2B705); border-radius: 999px; padding: 1px 6px; vertical-align: 2px; }
.ligne-bilan .gain { font-weight: 900; color: #1F9E6A; font-size: 14px; }
.ligne-bilan .gain.zero { color: var(--encre-douce); }
.ligne-bilan .tot { font-weight: 900; text-align: right; font-size: 14px; }
.ligne-bilan .tot.grand { font-size: 18px; }
.rang-bilan { font-weight: 900; color: var(--encre-douce); text-align: center; }
.barre-cible { display: block; height: 5px; border-radius: 3px; background: #EFE3CF; margin-top: 3px; overflow: hidden; }
.barre-cible i { display: block; height: 100%; background: linear-gradient(90deg, #2EE5B4, #F2B705); border-radius: 3px; }
.lien-revoir { font-size: 12px; font-weight: 800; color: var(--encre-douce); padding: 6px 12px; border-radius: 999px; border: 1.5px solid #E2D2B8; background: transparent; }
.pilule-retour { position: absolute; right: 12px; bottom: 12px; z-index: 48; padding: 8px 16px; border-radius: 999px; background: var(--nuit); color: #FFF4E4; font-weight: 900; font-size: 13px; box-shadow: 0 4px 12px rgba(0, 0, 0, .3); }
@media (prefers-reduced-motion: reduce) { .tableau-bilan .face { transition: none; } .ligne-bilan.exploit, .bilan-app h2.titre-clover { animation: none; } }
/* Les écrans de choix de l'application : Espion, Pioche au choix, Vol, Coup de pouce, Trèfle à donner. */
.rangee-espion { display: flex; gap: 16px; justify-content: center; align-items: flex-start; flex-wrap: wrap; }
.col-espion, .col-pioche { display: grid; justify-items: center; gap: 3px; transition: transform .2s, opacity .2s; }
.carte.grande-choix { width: 64px; }
.etiquette-espion { font-size: 11px; font-weight: 900; letter-spacing: .06em; color: #FFF4E4; white-space: nowrap; }
.col-espion.dessus { transform: translateY(-8px); }
.col-espion.dessus .etiquette-espion { color: #FFD45C; }
.col-espion.fond { transform: translateY(6px) rotate(-6deg); opacity: .7; }
.col-espion small, .col-pioche small { font-size: 10px; color: rgba(255, 244, 228, .75); }
.consequence { font-size: 11.5px; font-weight: 900; text-align: center; max-width: 150px; }
.consequence.gain { color: #6FE3A5; } .consequence.saut { color: #FF6B5E; } .consequence.or { color: #FFD45C; } .consequence.neutre { color: #FFF4E4; }
.col-pioche.soulevee { transform: translateY(-10px) scale(1.06); }
.col-pioche.pale { opacity: .45; }
.ecran-echange .gros-bouton:disabled { opacity: .55; }
.consigne-pouce { font-size: 11px !important; color: #FFD45C !important; }
.cible-pouce { position: relative; display: grid; justify-items: center; gap: 2px; padding: 8px 12px; border-radius: 16px; background: rgba(255, 244, 228, .08); border: 2px solid rgba(255, 244, 228, .25); color: #FFF4E4; min-width: 110px; touch-action: none; user-select: none; -webkit-user-select: none; }
.cible-pouce img { width: 52px; height: 52px; pointer-events: none; }
.cible-pouce b { font-size: 13px; } .cible-pouce small { font-size: 10px; }
.jauge-pouce { display: flex; gap: 3px; } .jauge-pouce i { width: 12px; height: 6px; border-radius: 3px; background: rgba(255, 244, 228, .15); }
.anneau-pouce { position: absolute; inset: -3px; border-radius: 18px; border: 3px solid #F2A04A; clip-path: inset(0 100% 0 0); pointer-events: none; }
.cible-pouce.tient .anneau-pouce { animation: remplit-pouce .65s linear forwards; }
.cible-pouce.tient img { animation: tremble-pouce .12s linear infinite; }
@keyframes remplit-pouce { to { clip-path: inset(0 0 0 0); } }
@keyframes tremble-pouce { 25% { translate: -1px 0; } 75% { translate: 1px 0; } }
.deux-trefles { display: flex; gap: 18px; justify-content: center; }
.deux-trefles b { font-size: 10px; letter-spacing: .1em; color: #FFF4E4; }
.deux-trefles .a-donner .carte { animation: tremble-pouce .2s linear infinite; outline: 2px solid #FF6B5E; outline-offset: 2px; border-radius: 12%; }
.cible-don { display: grid; justify-items: center; gap: 3px; padding: 8px 12px; border-radius: 16px; background: rgba(255, 244, 228, .08); border: 2px solid rgba(255, 244, 228, .25); color: #FFF4E4; min-width: 110px; }
.cible-don img { width: 48px; height: 48px; } .cible-don small { font-size: 10px; }
.cible-don .offrir { margin-top: 3px; padding: 5px 12px; border-radius: 999px; background: linear-gradient(#FF7A55, var(--corail)); color: #FFF; font-weight: 900; font-size: 12px; }
@media (prefers-reduced-motion: reduce) { .cible-pouce.tient img, .deux-trefles .a-donner .carte { animation: none; } }
/* Une largeur fixe : dans le voile (une grille centrée), un écran sans contenu large se ratatinait à la largeur d'une carte. */
.ecran-echange { width: 740px; max-width: 100%; }
.voile.echange { background: rgba(31, 22, 51, .84); }
.ecran-echange .gros-bouton { min-width: 0; padding: 0 26px; }
.col-pioche .carte { touch-action: none; }
/* Les gestes : le panneau STOP au coin du visage, la carte qu'on arrache de la pioche, l'aide après 5 s d'hésitation. */
.panneau-stop { position: absolute; right: -10px; top: 4px; width: 30px; height: 30px; z-index: 6; display: grid; place-items: center; color: #FFF; font-size: 7.5px; font-weight: 900; letter-spacing: .02em;
  background: #D7263D; clip-path: polygon(30% 0, 70% 0, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0 70%, 0 30%); box-shadow: inset 0 0 0 2px #FFF; rotate: 8deg; animation: pose-stop .45s cubic-bezier(.3, 1.8, .5, 1); }
.panneau-stop::before { content: ""; position: absolute; inset: 0; clip-path: inherit; border: 2px solid #FFF; pointer-events: none; }
@keyframes pose-stop { from { scale: 0; rotate: -17deg; opacity: 0; } }
.carte-arrachee { position: absolute; left: calc(76px - var(--c, 52px) / 2); top: calc(157px - var(--c, 52px) * .71); z-index: 31; pointer-events: none; filter: drop-shadow(0 8px 10px rgba(0, 0, 0, .3)); }
.indice-hesitation { position: absolute; inset: 0; z-index: 9; pointer-events: none; }
.ronds-tap { position: absolute; left: 420px; top: 340px; width: 0; height: 0; }
.ronds-tap i { position: absolute; left: -22px; top: -22px; width: 44px; height: 44px; border-radius: 50%; border: 3px solid #F2B705; opacity: 0; animation: rond-tap 1.4s ease-out infinite; }
.ronds-tap i:nth-child(2) { animation-delay: .2s; }
.ronds-tap span { position: absolute; left: -6px; top: -4px; font-size: 22px; animation: doigt-tap 1.4s ease-in-out infinite; }
@keyframes rond-tap { 0% { scale: .4; opacity: .9; } 30% { scale: 1.3; opacity: 0; } 100% { opacity: 0; } }
@keyframes doigt-tap { 0%, 30% { translate: 0 0; } 8%, 22% { translate: 0 4px; } }
.bulle-hesitation { position: absolute; left: 14px; top: 224px; width: 210px; display: grid; gap: 4px; padding: 8px 10px; border-radius: 12px; background: var(--nuit); color: #FFF4E4; font-size: 11px; font-weight: 700; line-height: 1.3; box-shadow: 0 4px 12px rgba(0, 0, 0, .3); animation: fondu .3s; }
@media (prefers-reduced-motion: reduce) { .ronds-tap i, .ronds-tap span, .panneau-stop { animation: none; } .ronds-tap i { opacity: .8; } }
.flash-coup { position: absolute; inset: -400px; z-index: 45; background: #FFF; pointer-events: none; }
/* Le temps du tour en ligne, autour du disque (`ContourDuTemps`) : d'or, rouge qui bat sous 30 %. */
.contour-temps { position: absolute; left: 23.5px; top: 23.5px; width: 120px; height: 120px; pointer-events: none; transform: rotate(-90deg); z-index: 2; }
.contour-temps circle { fill: none; stroke: #E7B53C; stroke-width: 4.5; stroke-linecap: round; filter: drop-shadow(0 0 2px rgba(0, 0, 0, .25)); transition: stroke .3s; }
.contour-temps.alerte circle { stroke: #E5484D; animation: bat-temps .7s ease-in-out infinite; }
@keyframes bat-temps { 50% { opacity: .55; } }
@media (prefers-reduced-motion: reduce) { .contour-temps.alerte circle { animation: none; } }
/* La salle d'attente : le format choisi par l'hôte, « Joueurs · 2/4 », les places libres. */
.format-invite { display: grid; gap: 1px; margin: 0 0 4px; text-align: center; }
.format-invite b { font-size: 13px; color: var(--encre); } .format-invite small { font-size: 11px; color: var(--encre-douce); }
.compte-joueurs { margin: 0 0 4px; font-size: 11px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; color: var(--encre-douce); text-align: center; }
.joueur.libre { opacity: .8; }
.joueur.libre .rond-libre { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; border: 2px dashed #CDB894; color: #B39A70; font-size: 20px; font-weight: 900; }
.joueur.libre small { font-size: 9.5px; color: var(--encre-douce); }
