/* Live game UI: additive styles only. Existing genre palettes are untouched. */
.game-panel { margin-top:24px; }
.game-panel h2 { font-size:clamp(23px,4vw,35px);line-height:1.3; }
.game-setup {display:grid;gap:12px;max-width:440px;}
.game-setup label {font-weight:700;color:var(--accent-soft);}
.game-setup select {width:100%;padding:13px;border-radius:12px;border:1px solid var(--border);background:var(--base);color:var(--text);}
.game-topline {display:flex;justify-content:space-between;gap:16px;color:var(--accent-soft);font-weight:800;letter-spacing:.04em;}
.game-answers {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:24px 0;}
.game-answers .answer {font-size:15px;cursor:pointer;}
.game-answers .answer.selected {border:2px solid var(--accent);}
.game-results {display:grid;gap:18px;margin:20px 0;}
.game-result {padding:10px 0;font-weight:600;}
.game-result.correct-result {color:var(--mint);}
.game-bar-track {height:12px;border-radius:99px;background:rgba(255,255,255,.12);margin-top:8px;overflow:hidden;}
.game-bar-fill {height:100%;border-radius:99px;background:var(--accent);transition:width .35s ease;}
.correct-result .game-bar-fill {background:var(--mint);}
.waffle-alert {background:linear-gradient(130deg,var(--surface-strong),var(--base));border:2px solid var(--accent);border-radius:22px;margin:24px 0;padding:22px;text-align:center;}
.waffle-alert h3 {color:var(--accent);font-size:clamp(23px,5vw,37px);margin:0 0 12px;}
.waffle-alert p {font-size:clamp(17px,3vw,22px);font-weight:800;}
.game-leaderboard {padding:0;list-style:none;display:grid;gap:10px;}
.game-leaderboard li {padding:14px;border-radius:12px;border:1px solid var(--border);background:var(--surface-strong);}
.game-leaderboard li.leader {border-color:var(--accent);}
.game-awards {border-radius:20px;background:var(--surface-strong);padding:18px;margin:16px 0;}
.game-awards p {font-weight:700;}
#game-advance,#game-rematch {margin-top:18px;}
@media(max-width:600px) {.game-answers {grid-template-columns:1fr;}.game-panel {padding:18px;}}

/* GAME V2 — animated standalone arena; all genre CSS variables are inherited. */
.game-page-main {min-height:75vh;padding-bottom:70px;}
.game-stage-header {display:flex;justify-content:space-between;align-items:center;gap:20px;flex-wrap:wrap;margin:22px 0 26px;}
.game-stage-header h1 {font-size:clamp(30px,5.5vw,68px);line-height:1.05;margin:10px 0;letter-spacing:-.05em;}
.game-stage-tools {display:flex;align-items:center;gap:12px;flex-wrap:wrap;}
.game-room-label {font-weight:900;letter-spacing:.12em;color:var(--accent-soft);}
.game-stage-footnote {text-align:center;opacity:.64;font-size:12px;}
.in-game .game-panel {margin:0 auto;max-width:980px;min-height:420px;padding:clamp(20px,4.5vw,52px);border:1px solid var(--border);background:linear-gradient(145deg,var(--surface),var(--base));box-shadow:0 20px 80px rgba(0,0,0,.22);animation:arena-arrive .65s cubic-bezier(.2,.8,.3,1) both;}
.in-game .game-panel h2 {font-size:clamp(26px,4.2vw,44px);margin:24px 0;}
.in-game .game-answers .answer {min-height:94px;display:flex;align-items:center;justify-content:center;padding:16px 22px;text-align:center;font-size:clamp(15px,1.7vw,21px);font-weight:750;border-radius:19px;border:1px solid var(--border);background:var(--surface-strong);color:var(--text);box-shadow:0 7px 0 rgba(0,0,0,.1);transition:transform .2s,border-color .2s,box-shadow .2s;animation:pop-in .42s both;}
.in-game .game-answers .answer:nth-child(2) {animation-delay:.06s;}
.in-game .game-answers .answer:nth-child(3) {animation-delay:.12s;}
.in-game .game-answers .answer:nth-child(4) {animation-delay:.18s;}
.in-game .game-answers .answer:hover:not(:disabled) {transform:translateY(-4px);border-color:var(--accent);box-shadow:0 12px 22px rgba(0,0,0,.2);}
.in-game .game-answers .answer:active:not(:disabled) {transform:scale(.97);}
.in-game .game-answers .answer.selected {border:3px solid var(--accent);background:var(--base);}
.in-game .game-topline {font-size:clamp(14px,2.5vw,24px);}
.in-game #game-timer {color:var(--accent);font-variant-numeric:tabular-nums;}
.in-game [id$="-screen"]:not([hidden]) {animation:pop-in .38s both;}
.in-game .game-bar-fill {transition:width 900ms cubic-bezier(.1,.7,.2,1);}
.in-game .waffle-alert:not([hidden]) {animation:waffle-bounce .75s cubic-bezier(.15,.9,.3,1);}
.in-game .game-leaderboard li {animation:pop-in .4s backwards;}
.in-game .game-leaderboard li:nth-child(2) {animation-delay:.1s;}
.in-game .game-leaderboard li:nth-child(3) {animation-delay:.2s;}
.room-qr-wrap {margin-top:18px;text-align:center;}
.room-qr-wrap svg {max-width:100%;border-radius:12px;display:block;margin:0 auto;}
.host-game-controls {margin-top:22px;}
@keyframes arena-arrive {from{opacity:0;transform:translateY(28px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}
@keyframes pop-in {from{opacity:0;transform:translateY(12px) scale(.975)}to{opacity:1;transform:translateY(0) scale(1)}}
@keyframes waffle-bounce {0%{opacity:0;transform:rotate(-3deg) scale(.7)}50%{transform:rotate(2deg) scale(1.05)}100%{opacity:1;transform:rotate(0) scale(1)}}
@media(max-width:650px){.game-stage-header{margin-top:8px}.in-game .game-answers .answer{min-height:75px}.in-game .game-panel {min-height:480px;padding:18px;}}
@media(prefers-reduced-motion:reduce){.in-game *, .in-game *::before,.in-game *::after {animation:none!important;transition:none!important}}
