/* ==================== 24/24 ====================
   Même écran que les parties (coups disponibles | échiquier + chrono + bande | podium + historique),
   avec le déroulé du cycle en une ligne au-dessus, et les votes du mode / des options
   à la place du podium entre deux parties. */

#page-h24 .sandbox { padding-top: calc(var(--nav-height) + 2px); padding-bottom: 12px; }

/* ---- Déroulé du cycle : petits numéros à droite du titre, dans le bloc orange ---- */
.h24-steps {
    list-style: none;
    margin: 0 0 0 auto;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 3px;
    flex: none;
}
.h24-step {
    width: 16px; height: 16px; border-radius: 50%;
    display: grid; place-items: center;
    font-size: 0.6rem; font-weight: 700; line-height: 1;
    color: var(--text-secondary);
    border: 1px solid rgba(255, 138, 61, 0.3);
}
.h24-step.is-done { opacity: 0.5; }
.h24-step.is-current { background: var(--twitch-purple); border-color: var(--twitch-purple); color: var(--on-accent); }

/* ---- En-tête de gauche ---- */
.h24-options { color: var(--text-secondary); font-size: 0.82rem; }
.h24-options:empty, .h24-turn:empty { display: none; }
.h24-score { display: flex; gap: 14px; font-weight: 700; }
.h24-score[hidden] { display: none; }
.h24-score__ok { color: var(--accent); }
.h24-score__ko { color: #ef4444; }

/* ---- Coups disponibles : cliquables quand c'est à toi ---- */
/* Entre deux parties : pas de coups, le panneau s'efface */
#page-h24:not([data-phase="play"]) #h24-moves { display: none; }
#h24-moves .moves-panel__title.is-active { color: var(--text-primary); }
#h24-moves .moves-group button { opacity: 1; cursor: default; }
#h24-moves .moves-group button:not(:disabled) { cursor: pointer; }
#h24-moves .moves-group button.is-mine { outline: 2px solid var(--twitch-purple); outline-offset: 1px; }
.h24-move-form { display: flex; gap: 6px; margin-top: 8px; }
.h24-move-form[hidden] { display: none; }
.h24-move-form input {
    flex: 1; min-width: 0; height: 32px; padding: 0 10px;
    border-radius: 3px; border: 1px solid var(--border-subtle);
    background: var(--bg-card); color: inherit; font: inherit;
}

/* ---- Échiquier ---- */
#h24-board-wrap { border-radius: 2px; transition: box-shadow 0.2s; }
#h24-board .h24-last { box-shadow: inset 0 0 0 100px rgba(255, 214, 10, 0.35); }

/* ---- Barre d'outils : style du tirage ---- */
.h24-style { display: inline-flex; gap: 4px; margin-left: auto; }
.h24-style .btn.is-active { border-color: var(--twitch-purple); background: rgba(255, 138, 61, 0.18); color: var(--text-primary); }

/* ---- Équipes et compte ---- */
.h24-account { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 8px; }
.h24-account p { margin: 0; font-size: 0.85rem; flex: 1; min-width: 0; }
.h24-account__hint { color: var(--text-secondary); }
.h24-account__me--w strong { color: #f5f5f5; }
.h24-account__me--b strong { color: #ffd2b0; }
.btn--twitch { background: var(--twitch-brand); color: #fff; border: none; }
.btn--twitch:hover { filter: brightness(1.1); }

.h24-teams { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.h24-teams:has(> :only-child) { grid-template-columns: 1fr; }
.h24-team { min-width: 0; padding: 6px 8px; border-radius: 3px; border: 1px solid var(--border-subtle); }
.h24-team.is-turn { border-color: var(--twitch-purple); box-shadow: 0 0 0 1px var(--twitch-purple) inset; }
.h24-team__head { display: flex; align-items: center; gap: 6px; font-weight: 700; font-size: 0.8rem; }
.h24-team__swatch { width: 11px; height: 11px; border-radius: 50%; border: 2px solid #888; flex: none; }
.h24-team--w .h24-team__swatch, .h24-recap__top--w .h24-team__swatch { background: #f5f5f5; }
.h24-team--b .h24-team__swatch, .h24-recap__top--b .h24-team__swatch { background: #1a1a1a; }
.h24-team__count { margin-left: auto; color: var(--text-secondary); font-weight: 600; }
.h24-team__list {
    list-style: none; margin: 6px 0 0; padding: 0;
    display: flex; flex-wrap: wrap; gap: 3px;
    max-height: 76px; overflow-y: auto;
    font-size: 0.72rem;
}
.h24-team__list li { padding: 1px 7px; border-radius: 2px; background: rgba(255, 255, 255, 0.06); }
.h24-team__list li.is-me { background: var(--twitch-purple); color: var(--on-accent); font-weight: 700; }
.h24-team__list .h24-team__empty { background: none; color: var(--text-secondary); padding: 0; }

/* ---- Entre deux parties : récap, votes, inscription à la place du podium ---- */
.h24-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 4px;
    padding: 16px;
    display: flex; flex-direction: column; gap: 12px;
}
.h24-card[hidden], #h24-votes-panel[hidden] { display: none; }
.h24-card__title { margin: 0; font-size: 1.15rem; }
.h24-card__sub, .h24-card__total, .h24-card__next { margin: 0; color: var(--text-secondary); font-size: 0.85rem; }
.h24-card__cta { justify-content: center; padding: 12px; font-size: 1rem; }
.h24-card__ok { margin: 0; color: var(--accent); font-weight: 700; }

.h24-choices { display: flex; flex-direction: column; gap: 8px; }
.h24-choice {
    position: relative; overflow: hidden;
    display: flex; align-items: center; justify-content: space-between; gap: 10px;
    padding: 9px 14px;
    border: 1px solid var(--border-subtle); border-radius: 3px;
    background: rgba(255, 255, 255, 0.03); color: inherit; font: inherit; font-weight: 700;
    cursor: pointer; text-align: left;
}
.h24-choice::before {
    content: ''; position: absolute; inset: 0 auto 0 0; width: var(--pct, 0%);
    background: rgba(255, 138, 61, 0.22);
    transition: width 0.4s ease;
}
.h24-choice > * { position: relative; }
.h24-choice:hover:not(:disabled) { border-color: var(--twitch-purple); }
.h24-choice:disabled { cursor: default; }
.h24-choice.is-mine { border-color: var(--twitch-purple); box-shadow: 0 0 0 1px var(--twitch-purple) inset; }
.h24-choice__label { display: inline-flex; align-items: center; gap: 10px; }
.h24-choice__num {
    display: inline-grid; place-items: center; width: 1.6em; height: 1.6em; border-radius: 2px; flex: none;
    font-family: 'JetBrains Mono', monospace; font-weight: 800; font-size: 0.9rem;
    background: var(--twitch-purple); color: var(--on-accent);
}
.h24-chat-hint { margin: 10px 0 0; font-size: 0.95rem; font-weight: 600; color: #ffd2b0; text-align: center; }
.h24-chat-hint i { margin-right: 4px; }
.h24-choice__pct { font-variant-numeric: tabular-nums; font-size: 1.15rem; }
.h24-choice__pct small { margin-left: 6px; color: var(--text-secondary); font-weight: 500; font-size: 0.8rem; }

.h24-recap__headline { margin: 0; font-size: 1.3rem; font-weight: 800; }
.h24-recap__stats { display: flex; gap: 16px; color: var(--text-secondary); font-size: 0.85rem; }
.h24-recap__stats strong { color: var(--text-primary); font-size: 1.1rem; }
.h24-recap__label { margin: 0; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-secondary); }
.h24-recap__tops { display: flex; gap: 16px; }
.h24-recap__top { display: flex; gap: 8px; align-items: flex-start; }
.h24-recap__top ol { margin: 0; padding-left: 18px; font-size: 0.85rem; }
.h24-recap__top small { color: var(--text-secondary); }
.h24-recap__hls { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 8px; }
.h24-recap__hl { display: flex; flex-direction: column; gap: 3px; padding: 8px 10px; border: 1px solid rgba(255, 138, 61, 0.35); border-radius: 4px; background: rgba(255, 138, 61, 0.08); min-width: 0; }
.h24-recap__hl-k { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: #ffb27a; }
.h24-recap__hl-v { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; font-size: 1.05rem; color: #fff; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.h24-recap__san { font-family: 'JetBrains Mono', monospace; }
.h24-recap__hl small { font-size: 0.75rem; color: var(--text-secondary); }
.h24-recap__sw--w { background: #f5f5f5; }
.h24-recap__sw--b { background: #1a1a1a; }


/* ---- Colonne de droite compacte : tient dans l'écran, l'historique défile ---- */
#page-h24 .sandbox__sidebar { gap: 12px; }
#page-h24 .sandbox__sidebar > :is(.sandbox__actions, .votes-slot, .h24-teams-panel) { flex: none; }
#page-h24 .sandbox__sidebar .panel__header { padding: 10px 14px; font-size: 0.85rem; }
#page-h24 .sandbox__sidebar .panel__content { padding: 10px 14px; }
@media (min-width: 901px) {
    /* La colonne a la hauteur de la fenêtre et ne défile jamais : l'historique prend la place qui reste
       (et défile seul), le podium / la roue reste toujours entier en bas, sans que rien ne monte ni ne descende */
    #page-h24 .sandbox__sidebar { height: calc(100vh - var(--nav-height) - 36px); max-height: none; overflow: hidden; }
    /* …sans rogner le chrono quand il pulse (il grossit de quelques pixels au-dessus de la colonne) */
    @supports (overflow-clip-margin: 8px) { #page-h24 .sandbox__sidebar { overflow: clip; overflow-clip-margin: 8px; } }
    #page-h24 .sandbox__sidebar > * { flex-shrink: 0; }
    #page-h24 .h24-history { flex: 1 1 0; min-height: 130px; display: flex; flex-direction: column; overflow: hidden; }
    #page-h24 .h24-history.is-folded { min-height: 0; }
    /* Régie ouverte ou longues équipes sur un petit écran : ces blocs rétrécissent et défilent eux-mêmes plutôt que de pousser le podium */
    #page-h24 .sandbox__sidebar > .h24-regie { flex: 0 1 auto; min-height: 44px; overflow-y: auto; scrollbar-width: thin; }
    #page-h24 .sandbox__sidebar > .h24-teams-panel { flex: 0 1 auto; min-height: 0; overflow-y: auto; scrollbar-width: thin; }
    /* La roue tient avec les panneaux au-dessus */
    #page-h24 #h24-votes-panel.votes-slot { --dock-size: min(380px, 82vw, calc(var(--sidebar-width) - 50px), 32vh); }
    /* Pas de marge en haut : l'en-tête collant (# Blancs Noirs) reste collé au bord, sans coups qui passent au-dessus */
    #page-h24 .h24-history .panel__content { flex: 1; min-height: 0; overflow-y: auto; padding-top: 0; }
    /* Un seul défilement : celui du panneau, pas en plus celui de la liste */
    #page-h24 #h24-history { max-height: none; overflow: visible; }
    #page-h24 .h24-card { flex: none; }
}

/* ------------------------------------------- Régie (PC du streamer) */
.h24-regie {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 8px 10px;
    border: 1px dashed rgba(255, 138, 61, 0.6);
    border-radius: 3px;
    background: rgba(255, 138, 61, 0.08);
    flex: none;
}
.h24-regie[hidden] { display: none; }
.h24-regie__head {
    display: flex; align-items: center; gap: 6px; width: 100%; padding: 0; border: 0; background: none; cursor: pointer; text-align: left;
    font: inherit; font-size: 0.75rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(255, 255, 255, 0.7);
}
.h24-regie__head:hover { color: #fff; }

/* Équipes / Historique : en-tête cliquable qui replie le panneau, comme la régie */
.h24-fold {
    display: flex; align-items: center; gap: 6px; width: 100%; margin: 0; border-width: 0 0 1px; cursor: pointer; text-align: left;
    font: inherit; color: inherit; background: inherit;
}
.h24-fold:hover { color: #fff; }
.h24-fold__chev { margin-left: auto; opacity: 0.7; }
#page-h24 [data-h24-panel].is-folded > .panel__content { display: none; }
#page-h24 [data-h24-panel].is-folded > .h24-fold { border-bottom-width: 0; }
#page-h24 .h24-history.is-folded { flex: none; }
@media (min-width: 901px) { #page-h24 .sandbox__sidebar > .votes-slot { margin-top: auto; } }

/* Plus de podium : la roue (style roue) ou le nombre de votes (style bande) tiennent sa place, sans bouger */
/* Tirage au sort : roue ou bande en direct, sans podium ; majorité : podium, roue ou bande seulement en cas d'égalité */
#h24-votes-panel.is-live #h24-votes { display: none; }
#h24-votes-panel.votes-slot--wheel.is-live { min-height: calc(var(--dock-size) + 56px); }
/* Style roue : la place de la roue reste réservée (podium centré dedans), sans transition de hauteur :
   rien ne saute dans la colonne quand on passe du podium à la roue et inversement */
#page-h24 #h24-votes-panel.votes-slot--wheel {
    min-height: calc(var(--dock-size) + 56px); transition: none;
    display: flex; flex-direction: column; justify-content: center;
}
#h24-votes-panel.votes-slot--wheel.is-live .votes-slot__podium { visibility: hidden; }
/* Pas de halo ni de flou autour de la roue : rien ne déborde sur la barre des votes ou les panneaux voisins */
#page-h24 #h24-votes-panel { contain: paint; }
#page-h24 #h24-wheel-area .wheel-canvas { box-shadow: 0 0 0 4px var(--border-subtle); }
/* Halo de la roue : resserré pour tenir dans la marge du panneau (28 px en haut et en bas), jamais rogné */
#page-h24 #h24-wheel-area .wheel-container.is-spinning .wheel-canvas { box-shadow: 0 0 0 4px var(--accent); }
#page-h24 #h24-wheel-area .wheel-pointer { filter: none; }
#page-h24 #h24-wheel-area .wheel-container { box-shadow: 0 0 0 3px var(--accent), 0 0 20px rgba(255, 138, 61, 0.3); }
#page-h24 #h24-wheel-area.is-spinning .wheel-container,
#page-h24 #h24-wheel-area .wheel-container.is-spinning { box-shadow: 0 0 0 3px var(--accent), 0 0 24px rgba(255, 138, 61, 0.5); }
#page-h24 #h24-wheel-area.is-spinning .wheel-band { box-shadow: none; }
#page-h24 #h24-wheel-area .wheel-pointer::after, #page-h24 #h24-wheel-area .wheel-center { box-shadow: none; }
.h24-bg-dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.35); vertical-align: -1px; }
#page-h24 #h24-votes-panel.has-winner > #h24-wheel-area { filter: saturate(0.6); }
#h24-votes-panel.is-live:not(.votes-slot--wheel) { min-height: 84px; display: grid; place-items: center; }
/* Nombre de votes : en haut du bloc, gros et lisible, sans trait de séparation */
#h24-votes-panel .vote-total {
    margin: 0 0 8px; padding: 0; border: 0; text-align: center;
    font-size: 1.35rem; font-weight: 800; letter-spacing: 0.02em; color: #fff;
}
#h24-votes-panel .vote-total:empty { display: none; }
#h24-votes-panel.is-live:not(.votes-slot--wheel) .vote-total { margin: 0; font-size: 1.6rem; }
body #page-h24 #h24-votes-panel.is-live #h24-wheel-area.wheel-area--docked { opacity: 1; pointer-events: auto; }
#page-h24 #h24-wheel-area.wheel-area--band.is-live { opacity: 1; transform: none; pointer-events: auto; }

/* Bandeau des votes sous l'échiquier */
#page-h24 .h24-ticker { margin-top: 8px; }
/* Mode bande : le total des votes du tour dans l'étiquette « Votes » (plus en bas de la colonne de droite) */
.h24-ticker__count { margin-left: 6px; padding-left: 6px; border-left: 1px solid rgba(255, 255, 255, 0.35); font-variant-numeric: tabular-nums; }
.h24-ticker__count:empty { display: none; }
#page-h24 #h24-votes-panel.is-band #h24-votes-total { display: none; }
/* Un vote : photo Twitch, pseudo avec la provenance dessous (#chaîne, site, bot), puis le coup — compact */
.vote-ticker__item--who { display: inline-flex; align-items: center; gap: 6px; padding: 2px 8px 2px 2px; border-radius: 2px; background: rgba(255, 255, 255, 0.05); }
.vote-ticker__pic {
    flex: none; width: 24px; height: 24px; border-radius: 50%; object-fit: cover;
    display: inline-grid; place-items: center; font-size: 0.7rem; font-weight: 800; color: #0b0b10;
}
.vote-ticker__who { display: inline-flex; flex-direction: column; line-height: 1.05; }
.vote-ticker__who .vote-ticker__user { font-size: 0.8rem; }
.vote-ticker__via { font-size: 0.62rem; font-weight: 600; color: rgba(255, 255, 255, 0.45); }
.vote-ticker__move.is-hidden { font-family: inherit; font-style: italic; opacity: 0.7; }
.vote-ticker__move.is-choice { font-family: inherit; color: #ffd2b0; }

/* Chrono du tour : anneau au centre de la roue, ou au bout de la bande */
.h24-clock {
    --p: 1;
    --ring: #ff8a3d;
    position: relative; flex: none; display: grid; place-items: center;
    width: 64px; height: 64px; border-radius: 50%;
    background: conic-gradient(var(--ring) calc(var(--p) * 360deg), rgba(255, 255, 255, 0.1) 0);
}
.h24-clock[hidden] { display: none; }
.h24-clock::before { content: ''; position: absolute; inset: 5px; border-radius: 50%; background: #1a1512; }
.h24-clock__num { position: relative; font-family: 'JetBrains Mono', monospace; font-weight: 800; font-size: 1.35rem; color: #fff; }
.h24-clock.is-critical { --ring: #f59e0b; animation: h24-clockPulse 0.5s ease-in-out infinite alternate; }
.h24-clock.is-critical .h24-clock__num { color: #fbbf24; }
.h24-clock.is-paused { --ring: #6b7280; }
@keyframes h24-clockPulse { to { transform: scale(1.08); } }
/* Le chrono du tour : en tête de la barre d'outils, contre le coin haut droit de l'échiquier (sans le recouvrir) */
#h24-board-wrap { position: relative; }
#page-h24 .sandbox__actions { min-height: 52px; align-items: center; }
/* Chrono du tour : petit anneau en tête de la bande de l'équipe au trait (à gauche de « Blancs » / « Noirs ») */
.h24-side > .h24-clock { width: 30px; height: 30px; margin: 2px 0 2px -6px; }
.h24-side > .h24-clock::before { inset: 3px; }
.h24-side > .h24-clock .h24-clock__num { font-size: 0.78rem; }
.h24-side > .h24-clock.is-idle { opacity: 0.35; }
.h24-side > .h24-clock.is-critical { animation-name: h24-clockPulseSm; }
@keyframes h24-clockPulseSm { to { transform: scale(1.12); } }

/* Pendules façon partie en ligne : au bout du bandeau de chaque camp, au-dessus et en dessous de l'échiquier */
.h24-pclock {
    flex: none; display: inline-flex; align-items: center; justify-content: flex-end; min-width: 104px; margin: 3px 4px 3px -6px;
    padding: 4px 12px; border-radius: 4px; background: #3a3733; color: #9b9893;
    font-family: 'Roboto Mono', 'JetBrains Mono', monospace; font-weight: 700; font-size: 1.45rem; line-height: 1.2; font-variant-numeric: tabular-nums;
}
.h24-pclock.is-active { background: #fff; color: #262421; }
.h24-pclock.is-active.is-paused { background: #8b8883; color: #262421; }
.h24-pclock.is-critical { background: #e02828; color: #fff; }
.h24-pclock i { font-size: 0.8em; }

/* Entre deux parties : fenêtre discrète au milieu, sur l'échiquier (le reste reste cliquable) */
#page-h24 .sandbox__main { position: relative; }
.h24-modal {
    position: absolute; inset: 0; z-index: 60; pointer-events: none;
    display: flex; align-items: center; justify-content: center; padding: 16px;
}
.h24-modal[hidden] { display: none; }
.h24-modal__box {
    pointer-events: auto; width: min(440px, 100%); max-height: 100%; overflow-y: auto;
    display: flex; flex-direction: column; gap: 10px; padding: 14px;
    background: color-mix(in srgb, var(--bg-secondary, #18181b) 94%, transparent);
    border: 1px solid rgba(255, 138, 61, 0.45); border-radius: 4px;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(6px);
    animation: h24-modal-in 0.25s ease-out;
}
.h24-modal__box .h24-card { background: none; border: 0; padding: 0; }
@keyframes h24-modal-in { from { opacity: 0; transform: translateY(10px) scale(0.97); } }
/* Le bandeau de fin sur l'échiquier s'efface derrière la fenêtre (le récap reprend l'issue) */
#page-h24.has-h24-modal .h24-end { display: none; }

/* Son : bouton et jauge de volume */
.h24-volume { display: inline-flex; align-items: center; gap: 6px; }
.h24-volume__btn {
    display: grid; place-items: center; width: 30px; height: 30px; padding: 0; border: 1px solid var(--border-subtle); border-radius: 3px;
    background: rgba(255, 255, 255, 0.04); color: var(--text-secondary, #cbd5e1); cursor: pointer;
}
.h24-volume__btn:hover { color: #fff; border-color: var(--twitch-purple); }
#page-h24 .h24-volume__range {
    --v: 60%;
    flex: none; width: 56px; height: 6px; margin: 0; appearance: none; -webkit-appearance: none; border-radius: 2px; cursor: pointer;
    background: linear-gradient(90deg, var(--twitch-purple) var(--v), rgba(255, 255, 255, 0.15) var(--v));
}
.h24-volume__range::-webkit-slider-thumb { -webkit-appearance: none; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 0; }
.h24-volume__range::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 0; }

/* Bots de test : retirables par tout le monde */
/* Régie : bots de test */
.h24-regie__bots .h24-regie__status { margin-right: auto; }
.h24-regie__bots select { width: auto; }
.h24-regie__botlist { display: flex; flex-wrap: wrap; gap: 4px; }
.h24-regie__bot { display: inline-flex; align-items: center; gap: 4px; padding: 1px 2px 1px 8px; border: 1px solid var(--border-color, rgba(255,255,255,.15)); border-radius: 999px; font-size: 0.75rem; font-family: var(--font-mono, monospace); }
.h24-regie__bot button { border: 0; background: none; color: inherit; opacity: .6; cursor: pointer; padding: 0 4px; font-size: 0.9rem; line-height: 1; }
.h24-regie__bot button:hover { opacity: 1; color: var(--danger, #e5534b); }

/* Pendant la partie, le bloc Équipes laisse la place aux bandeaux autour de l'échiquier */
#page-h24[data-phase="play"] .h24-teams-panel { display: none; }
.h24-side {
    display: flex; align-items: center; gap: 8px; box-sizing: border-box; width: 100%; max-width: 560px; margin: 0 auto; min-height: 44px;
    padding: 2px 10px; border-radius: 3px; font-size: 0.85rem; color: rgba(255, 255, 255, 0.75);
    background: rgba(255, 255, 255, 0.04); border: 1px solid transparent;
}
.h24-side[hidden] { display: none; }
/* Fil du tour, au-dessus de l'échiquier : étapes sobres et consigne */
.h24-flow {
    display: flex; align-items: center; justify-content: space-between; gap: 12px; box-sizing: border-box; width: 100%; max-width: 560px;
    margin: 0 auto 3px; min-height: 20px; font-size: 0.74rem; line-height: 1.3; color: var(--text-secondary, #b3aca5);
}
.h24-flow[hidden] { display: none; }
.h24-flow__steps { list-style: none; display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; }
.h24-flow__steps li { padding: 1px 9px; border-radius: 999px; color: rgba(255, 255, 255, 0.4); background: rgba(255, 255, 255, 0.04); transition: color 0.5s, background-color 0.5s; }
.h24-flow__steps li.is-on { color: #fff; font-weight: 700; background: rgba(255, 255, 255, 0.14); }
.h24-flow__msg { font-weight: 600; color: var(--text-primary, #ebe6e0); text-align: right; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.h24-side--top { margin-bottom: 3px; }
.h24-side--bottom { margin-top: 3px; }
.h24-side__team { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; color: #fff; }
.h24-side__count { font-weight: 700; font-variant-numeric: tabular-nums; }
.h24-side__count i { font-size: 0.75em; opacity: 0.7; }
.h24-side__mine { padding: 1px 8px; border-radius: 2px; font-size: 0.72rem; font-weight: 800; color: var(--on-accent); background: var(--twitch-purple, #ff8a3d); }
.h24-side__turn { padding: 1px 8px; border-radius: 2px; font-size: 0.72rem; font-weight: 800; color: #fff; background: rgba(255, 255, 255, 0.14); }
.h24-side__spacer { flex: 1; }
.h24-side.is-turn { border-color: rgba(255, 255, 255, 0.22); background: rgba(255, 255, 255, 0.07); }
/* Ton équipe : repère orange seulement quand c'est à elle de jouer ; sinon la bande reste neutre */
.h24-side.is-mine.is-turn { box-shadow: inset 3px 0 0 var(--twitch-purple, #ff8a3d); }
.h24-side.is-mine:not(.is-turn) .h24-side__mine { color: var(--text-secondary); background: none; box-shadow: inset 0 0 0 1px var(--border-subtle); }
.h24-side .btn { padding: 2px 10px; }
.h24-side__quit { border: 0; background: none; padding: 0; font: inherit; font-size: 0.78rem; color: rgba(255, 255, 255, 0.5); cursor: pointer; text-decoration: underline; }
.h24-side__quit:hover { color: #fff; }
.h24-regie__chev { margin-left: auto; }
.h24-regie__body { display: flex; flex-direction: column; gap: 6px; }
.h24-regie__body[hidden] { display: none; }
.h24-regie__hint .h24-regie__dot { display: inline-block; width: 8px; height: 8px; vertical-align: middle; }
.h24-regie__row { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.h24-regie__status { font-size: 0.8rem; font-weight: 600; }
.h24-regie__dot { width: 10px; height: 10px; border-radius: 50%; background: #6b7280; flex: none; }
.h24-regie__dot--ok { background: var(--accent); }
.h24-regie__dot--busy { background: #f59e0b; animation: h24-blink 0.8s infinite alternate; }
.h24-regie__dot--error { background: #ef4444; animation: h24-blink 0.5s infinite alternate; }
@keyframes h24-blink { to { opacity: 0.35; } }
.h24-regie__channel input {
    flex: 1 1 120px;
    min-width: 0;
    padding: 5px 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    background: rgba(0, 0, 0, 0.25);
    color: #fff;
    font-size: 0.8rem;
}
.h24-regie__hint { font-size: 0.72rem; color: rgba(255, 255, 255, 0.55); }
.h24-regie__hint--warn { color: #fca5a5; font-weight: 700; }

/* ------------------------------------------- Vue réelle (petit bloc à part) */
.h24-live {
    flex: none;
    margin-top: 8px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 3px;
    background: rgba(0, 0, 0, 0.25);
    overflow: hidden;
}
.h24-live[hidden] { display: none; }
.h24-live__head { display: flex; align-items: center; gap: 8px; padding: 5px 8px; font-size: 0.75rem; }
.h24-live__title { font-weight: 700; white-space: nowrap; }
.h24-live__title i { color: #ef4444; }
.h24-live__link { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: rgba(255, 255, 255, 0.55); text-decoration: none; }
.h24-live__link:hover { color: #fff; }
.h24-live__toggle { border: 0; background: none; color: rgba(255, 255, 255, 0.7); cursor: pointer; padding: 2px 4px; }
.h24-live__frame { aspect-ratio: 16 / 9; background: #000; }
.h24-live.is-folded .h24-live__frame { display: none; }
.h24-live__frame iframe { display: block; width: 100%; height: 100%; border: 0; }

.h24-choices.is-decided .h24-choice.is-winner { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent) inset; }
.h24-choices.is-decided .h24-choice.is-winner::before { background: rgba(255, 138, 61, 0.22); }
.h24-choices.is-decided .h24-choice.is-loser { opacity: 0.45; }
@keyframes h24-pop { from { transform: scale(0.92); opacity: 0; } to { transform: none; opacity: 1; } }

/* ------------------------------------------- Puzzle rush : vies */
.h24-score__lives { display: inline-flex; gap: 3px; color: #ef4444; }
.h24-score__lives .is-lost { color: rgba(255, 255, 255, 0.18); }

/* ------------------------------------------- Régie : étapes forcées au clic */
.h24-step[data-h24-force] { cursor: pointer; }
.h24-step[data-h24-force]:hover { border-color: var(--twitch-purple); color: var(--text-primary); opacity: 1; }

/* ------------------------------------------- Vote secret : podium vivant, coups masqués */
.podium.is-masked .podium__move { font-size: 1.3rem; opacity: 0.75; }

/* ------------------------------------------- Puzzle rush : pas d'historique (chaque puzzle repart de zéro) */
#page-h24[data-mode="rush"] .h24-history { display: none; }
/* …le podium remonte donc sous la régie au lieu de rester collé en bas de la colonne */
@media (min-width: 901px) { #page-h24[data-mode="rush"] .sandbox__sidebar > .votes-slot { margin-top: 0; } }

/* ------------------------------------------- Colonne de gauche plus serrée : la liste des coups défile si besoin */
#page-h24 .sandbox__left { gap: 8px; }
#page-h24 .watch-head { gap: 4px; padding: 8px 10px; }
#page-h24 .watch-head .watch-bar__mode { font-size: 0.98rem; }
#page-h24 .h24-options { font-size: 0.76rem; }
/* Récap des options : une petite grille intitulé / valeur */
#page-h24 .h24-options { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 3px 10px; margin-top: 2px; }
.h24-opt { display: flex; align-items: baseline; gap: 5px; min-width: 0; white-space: nowrap; }
.h24-opt i { width: 12px; text-align: center; color: var(--twitch-purple); font-size: 0.72rem; }
.h24-opt__label { color: var(--text-secondary); }
.h24-opt__value { color: var(--text-primary); font-weight: 700; overflow: hidden; text-overflow: ellipsis; }
/* Pendant les votes : chaque valeur repart à « … », l'option en cours de vote pulse, puis le résultat se dévoile */
.h24-opt { position: relative; border-radius: 2px; padding: 0 3px; margin: 0 -3px; }
.h24-opt__value { display: inline-block; }
.h24-opt.is-pending .h24-opt__value { color: var(--text-secondary); font-weight: 600; letter-spacing: 1px; }
.h24-opt.is-pending i { color: var(--text-secondary); opacity: 0.6; }
.h24-opt.is-live { background: rgba(255, 138, 61, 0.14); animation: h24-opt-live 1.4s ease-in-out infinite; }
.h24-opt.is-live i { color: var(--twitch-purple); opacity: 1; animation: h24-opt-wobble 1.4s ease-in-out infinite; }
.h24-opt.is-live .h24-opt__value { color: var(--text-primary); animation: h24-opt-dots 1.4s steps(1) infinite; }
@keyframes h24-opt-live { 0%, 100% { box-shadow: inset 0 0 0 1px rgba(255, 138, 61, 0.25); } 50% { box-shadow: inset 0 0 0 1px rgba(255, 138, 61, 0.7), 0 0 10px rgba(255, 138, 61, 0.35); } }
@keyframes h24-opt-wobble { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(-14deg); } 75% { transform: rotate(14deg); } }
@keyframes h24-opt-dots { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
/* Remise à zéro : la valeur glisse vers le bas et s'efface */
.h24-opt.is-reset .h24-opt__value, #page-h24 .watch-bar__mode.is-reset { animation: h24-opt-reset 0.5s ease-out both; }
@keyframes h24-opt-reset { 0% { opacity: 0; transform: translateY(-6px); filter: blur(2px); } 100% { opacity: 1; transform: none; filter: none; } }
/* Résultat : la valeur tombe comme un rouleau de machine à sous, la ligne s'illumine, l'icône rebondit */
.h24-opt.is-new { animation: h24-opt-flash 1.4s ease-out both; }
.h24-opt.is-new .h24-opt__value { animation: h24-opt-roll 0.75s cubic-bezier(0.2, 1.4, 0.4, 1) both; }
.h24-opt.is-new i { animation: h24-opt-pop 0.7s cubic-bezier(0.2, 1.6, 0.4, 1) 0.1s both; }
.h24-opt.is-new::after {
    content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
    background: linear-gradient(100deg, transparent 20%, rgba(255, 255, 255, 0.35) 50%, transparent 80%) no-repeat;
    background-size: 60% 100%; animation: h24-opt-shine 0.9s ease-out 0.25s both;
}
#page-h24 .watch-bar__mode.is-new { animation: h24-opt-roll 0.8s cubic-bezier(0.2, 1.4, 0.4, 1) both, h24-opt-glow 1.4s ease-out both; }
@keyframes h24-opt-roll {
    0%   { opacity: 0; transform: translateY(-120%) scaleY(1.4); filter: blur(4px); }
    60%  { opacity: 1; transform: translateY(12%) scaleY(0.9); filter: none; }
    100% { transform: none; }
}
@keyframes h24-opt-pop { 0% { transform: scale(0) rotate(-90deg); } 100% { transform: none; } }
@keyframes h24-opt-flash {
    0%   { background: rgba(255, 138, 61, 0.55); box-shadow: 0 0 0 0 rgba(255, 138, 61, 0.7); }
    35%  { background: rgba(255, 138, 61, 0.3); box-shadow: 0 0 16px 3px rgba(255, 138, 61, 0.45); }
    100% { background: transparent; box-shadow: 0 0 0 0 rgba(255, 138, 61, 0); }
}
@keyframes h24-opt-shine { 0% { background-position: -80% 0; opacity: 1; } 100% { background-position: 180% 0; opacity: 0; } }
@keyframes h24-opt-glow { 0% { text-shadow: 0 0 18px rgba(255, 138, 61, 1); } 100% { text-shadow: none; } }
#page-h24 .watch-bar__mode.is-pending { color: var(--text-secondary); font-style: italic; font-weight: 600; }
@media (prefers-reduced-motion: reduce) {
    .h24-opt, .h24-opt *, .h24-opt::after, #page-h24 .watch-bar__mode { animation-duration: 0.01s !important; animation-iteration-count: 1 !important; }
}
#page-h24 .h24-turn { font-size: 0.82rem; }
#page-h24 #h24-moves { padding: 8px; }
#page-h24 #h24-moves .moves-panel__content { gap: 4px; }
@media (min-width: 901px) {
    #page-h24 .sandbox__left { max-height: calc(100vh - var(--nav-height) - 36px); }
    #page-h24 .sandbox__left { top: calc(var(--nav-height) + 8px); }
    #page-h24 #h24-moves { flex: 0 1 auto; min-height: 0; display: flex; flex-direction: column; }
    #page-h24 #h24-moves .moves-panel__content { flex: 1 1 auto; min-height: 0; overflow-y: auto; }
}
.podium.is-masked .podium__piece img { visibility: hidden; }

/* ------------------------------------------- Vue réelle par la caméra de la régie */
.h24-live__frame { position: relative; }
.h24-live__cam { display: block; width: 100%; height: 100%; object-fit: contain; background: #000; transition: transform 0.4s ease; }
.h24-live__cam.is-flipped { transform: rotate(180deg); }
.h24-live__msg { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 12px; text-align: center; font-size: 0.8rem; color: rgba(255, 255, 255, 0.75); background: rgba(0, 0, 0, 0.55); }
.h24-live__msg[hidden] { display: none; }
.h24-regie__cam select {
    flex: 1 1 120px; min-width: 0; max-width: 100%; padding: 5px 6px; border-radius: 2px; font-size: 0.78rem;
    background: rgba(0, 0, 0, 0.35); color: var(--text-primary); border: 1px solid rgba(255, 255, 255, 0.15);
}
.h24-regie__err { color: #f87171; }
/* Zoom de la caméra : curseur compact, valeur à droite (1.5×, « optique » si la caméra zoome elle-même) */
.h24-regie__zoom { flex: 1 1 140px; display: inline-flex; align-items: center; gap: 6px; min-width: 0; font-size: 0.75rem; color: var(--text-secondary, rgba(255, 255, 255, 0.7)); }
.h24-regie__zoom input { flex: 1; min-width: 60px; accent-color: var(--accent, #ff8a3d); }
.h24-regie__zoom span { min-width: 2.6em; white-space: nowrap; font-variant-numeric: tabular-nums; }

/* ------------------------------------------------------------------ fin de partie : bandeau sur l'échiquier */
.h24-end {
    position: absolute; inset: 0; z-index: 30; pointer-events: none;
    display: flex; align-items: center; justify-content: center;
    background: rgba(10, 10, 16, 0.38); border-radius: 2px;
    animation: h24-end-fade 0.4s ease-out;
}
.h24-end__card {
    --tone: var(--twitch-purple);
    display: flex; flex-direction: column; align-items: center; gap: 4px;
    min-width: 58%; padding: 18px 28px; border-radius: 4px;
    background: var(--bg-secondary, #18181b); color: var(--text-primary, #fff);
    border: 3px solid var(--tone); box-shadow: 0 12px 40px rgba(0, 0, 0, 0.55), 0 0 0 6px color-mix(in srgb, var(--tone) 25%, transparent);
    text-align: center; animation: h24-end-pop 0.45s cubic-bezier(0.2, 1.4, 0.4, 1);
}
.h24-end--w .h24-end__card { --tone: #f2f2f2; }
.h24-end--b .h24-end__card { --tone: #2b2b2b; }
.h24-end--draw .h24-end__card { --tone: #8a8f98; }
.h24-end--rush .h24-end__card { --tone: #f5b301; }
.h24-end__icon { font-size: 2rem; color: #f5b301; }
.h24-end--draw .h24-end__icon { color: var(--text-secondary, #aaa); }
.h24-end__title { font-size: clamp(1.4rem, 3.4vw, 2.2rem); font-weight: 900; letter-spacing: 0.01em; line-height: 1.1; }
.h24-end__sub { font-size: clamp(0.95rem, 1.8vw, 1.2rem); font-weight: 700; color: var(--text-secondary, #ccc); }
@keyframes h24-end-fade { from { opacity: 0; } }
@keyframes h24-end-pop { from { transform: scale(0.6); opacity: 0; } }
#h24-board .h24-mated { box-shadow: inset 0 0 0 4px #e53935; background-image: radial-gradient(circle, rgba(229, 57, 53, 0.85) 0%, rgba(229, 57, 53, 0.35) 60%, transparent 75%) !important; }
#h24-board .h24-winner { background-image: radial-gradient(circle, rgba(245, 179, 1, 0.8) 0%, rgba(245, 179, 1, 0.3) 60%, transparent 75%) !important; }
.h24-turn--end { font-weight: 800; color: var(--text-primary); border-left: 4px solid var(--twitch-purple); padding-left: 8px; }
.h24-turn--end-draw { border-left-color: #8a8f98; }
.h24-turn--end-rush { border-left-color: #f5b301; }
.h24-recap__headline i { color: #f5b301; margin-right: 4px; }
.h24-recap__headline--draw i { color: var(--text-secondary); }

/* Coup retenu, en attente d'être joué : carte collée en bas de l'historique */
.h24-next {
    position: sticky; bottom: 0; z-index: 2; margin: 6px 0 0;
    display: flex; align-items: center; gap: 10px; padding: 6px 10px;
    border-radius: 3px; background: linear-gradient(135deg, rgba(250, 204, 21, 0.2), rgba(255, 138, 61, 0.22)), var(--bg-panel, #1a1512);
    box-shadow: inset 0 0 0 1px rgba(250, 204, 21, 0.6), 0 -6px 14px rgba(0, 0, 0, 0.35);
}
.h24-next__piece { width: 36px; height: 36px; flex: none; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.6)); }
.h24-next__body { display: flex; flex-direction: column; min-width: 0; line-height: 1.15; }
.h24-next__label { font-size: 0.62rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: rgba(255, 255, 255, 0.6); }
.h24-next__line { display: flex; align-items: baseline; gap: 8px; min-width: 0; white-space: nowrap; }
.h24-next__san { font-family: 'JetBrains Mono', monospace; font-size: 1.25rem; font-weight: 800; color: #fde68a; }
.h24-next__pct { font-size: 0.8rem; font-weight: 700; color: #ffd2b0; }
.h24-next__voter { font-size: 0.75rem; color: rgba(255, 255, 255, 0.65); overflow: hidden; text-overflow: ellipsis; }
.h24-next__via { color: rgba(255, 255, 255, 0.4); }
.h24-next.is-in { animation: h24-next-in 0.55s cubic-bezier(0.2, 1.3, 0.4, 1) both; }
.h24-next.is-in .h24-next__piece { animation: h24-next-piece 0.7s cubic-bezier(0.2, 1.6, 0.4, 1) 0.1s both; }
@keyframes h24-next-in { 0% { opacity: 0; transform: translateY(14px) scale(0.9); } 100% { opacity: 1; transform: none; } }
@keyframes h24-next-piece { 0% { transform: scale(0) rotate(-30deg); } 100% { transform: none; } }
@media (prefers-reduced-motion: reduce) { .h24-next.is-in, .h24-next.is-in .h24-next__piece { animation-duration: 0.01s; } }

/* ---- Paramètres du viewer : son, tirage, couleurs derrière la roue crantée ---- */
.h24-settings { position: relative; }
#page-h24 .h24-volume--bar { margin-left: auto; }
#page-h24 .h24-volume--bar .h24-volume__range { width: 90px; }
.h24-settings__btn {
    display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 10px; border: 1px solid var(--border-subtle); border-radius: 3px;
    background: rgba(255, 255, 255, 0.04); color: var(--text-secondary, #cbd5e1); font: inherit; font-size: 0.8rem; font-weight: 600; cursor: pointer;
}
.h24-settings__btn:hover, .h24-settings__btn[aria-expanded="true"] { color: #fff; border-color: var(--twitch-purple); background: rgba(255, 138, 61, 0.18); }
.h24-settings__btn i { transition: transform 0.4s; }
.h24-settings__btn[aria-expanded="true"] i { transform: rotate(90deg); }
.h24-settings__pop {
    position: absolute; top: calc(100% + 6px); right: 0; z-index: 60; width: 280px; max-width: calc(100vw - 32px);
    display: grid; gap: 12px; padding: 12px; border: 1px solid var(--border-subtle); border-radius: 3px;
    background: var(--bg-secondary, #18181b); box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
    animation: h24-settings-in 0.18s ease-out;
}
.h24-settings__pop[hidden] { display: none; }
@keyframes h24-settings-in { from { opacity: 0; transform: translateY(-4px); } }
.h24-settings__row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.h24-settings__row--col { flex-direction: column; align-items: stretch; }
.h24-settings__label { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--text-secondary, #cbd5e1); }
.h24-settings .h24-style { margin-left: 0; }
/* Fond : quatre choix en grille de deux, sous le titre (ils débordaient du menu) */
.h24-settings__row:has(.h24-bgs) { flex-direction: column; align-items: stretch; }
.h24-settings .h24-bgs { display: grid; grid-template-columns: 1fr 1fr; }
.h24-bgs .btn { justify-content: flex-start; }
.h24-palettes { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.h24-palette {
    display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 6px 8px; border: 1px solid var(--border-subtle); border-radius: 3px;
    background: rgba(255, 255, 255, 0.03); color: var(--text-secondary, #cbd5e1); font: inherit; font-size: 0.75rem; cursor: pointer; text-align: left;
}
.h24-palette:hover { border-color: rgba(255, 138, 61, 0.6); color: #fff; }
.h24-palette.is-active { border-color: var(--twitch-purple); background: rgba(255, 138, 61, 0.18); color: #fff; }
.h24-palette__dots { display: flex; gap: 3px; }
.h24-palette__dots i { width: 14px; height: 14px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.15); }

/* ---- Coups disponibles : au premier plan quand c'est ton tour, en retrait sinon ---- */
/* relative pour l'éclat (::after) ; top: auto sinon le top du panneau sticky générique le décale vers le bas */
#page-h24 #h24-moves { position: relative; top: auto; transition: box-shadow 0.35s, border-color 0.35s, transform 0.35s; }
#page-h24 #h24-moves.is-turn {
    border-color: var(--twitch-purple);
    box-shadow: 0 0 0 1px var(--twitch-purple), 0 0 22px rgba(255, 138, 61, 0.35);
}
#page-h24 #h24-moves.is-turn #h24-hint { color: #fff; }
/* Début du tour : éclat qui balaie le bloc et halo qui pulse, pour faire réagir le joueur */
#page-h24 #h24-moves.is-wake { animation: h24-wake-glow 1.7s ease-out; }
#page-h24 #h24-moves.is-wake::after {
    content: ''; position: absolute; inset: 0; z-index: 2; border-radius: inherit; pointer-events: none;
    background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, 0.28) 48%, rgba(191, 148, 255, 0.35) 52%, transparent 65%) no-repeat;
    background-size: 250% 100%; animation: h24-wake-sweep 1.1s ease-out both;
}
#page-h24 #h24-moves.is-wake .moves-group button:not(:disabled) { animation: h24-wake-btn 0.6s ease-out both; }
#page-h24 #h24-moves.is-wake .moves-group:nth-child(2) button { animation-delay: 0.08s; }
#page-h24 #h24-moves.is-wake .moves-group:nth-child(3) button { animation-delay: 0.16s; }
#page-h24 #h24-moves.is-wake .moves-group:nth-child(n+4) button { animation-delay: 0.24s; }
@keyframes h24-wake-sweep { from { background-position: 120% 0; } to { background-position: -120% 0; } }
@keyframes h24-wake-glow {
    0%   { transform: scale(1); box-shadow: 0 0 0 1px var(--twitch-purple), 0 0 0 0 rgba(255, 138, 61, 0.7); }
    25%  { transform: scale(1.02); box-shadow: 0 0 0 2px #ffb27a, 0 0 36px 6px rgba(255, 138, 61, 0.65); }
    60%  { transform: scale(1); box-shadow: 0 0 0 1px var(--twitch-purple), 0 0 26px 2px rgba(255, 138, 61, 0.45); }
    100% { box-shadow: 0 0 0 1px var(--twitch-purple), 0 0 22px rgba(255, 138, 61, 0.35); }
}
@keyframes h24-wake-btn { 0% { transform: translateY(4px) scale(0.92); filter: brightness(1.6); } 60% { transform: translateY(-1px) scale(1.04); } 100% { transform: none; filter: none; } }
@media (prefers-reduced-motion: reduce) {
    #page-h24 #h24-moves.is-wake, #page-h24 #h24-moves.is-wake::after, #page-h24 #h24-moves.is-wake .moves-group button { animation: none; }
}
