/* A single, quiet stage for the music, the choices and the reveal. */
:root{--paper:#f5f3f8;--ink:#2e2048;--line:#e5dfee;background:var(--paper)}
body{background:radial-gradient(ellipse at 50% 10%,#ece5fb 0,transparent 55%),var(--paper);min-height:100svh}
.header{max-width:1180px;padding:16px 32px;border-bottom:0;gap:20px}.brand img{width:112px}.edition{font-size:.62rem;letter-spacing:.13em}.header-actions{gap:18px}.shop-link,.profile-button{border:1px solid #d9d0e4;background:#ffffff60}.shop-link{border-radius:22px}.text-button{font-size:.8rem}.shell{max-width:1120px;padding:20px 32px 28px}footer{color:#776b87;font-size:.75rem;margin-top:32px}footer>a{font-size:.75rem}
.mode-home{max-width:950px;margin:25px auto}.home-heading{text-align:center;margin-bottom:35px}.home-heading h1{font-family:Arial,Helvetica,sans-serif;letter-spacing:-.065em;font-size:clamp(2.7rem,5vw,4rem)}.home-heading .eyebrow{max-width:none}.home-heading>p:last-child{color:#776b87}.mode-card{border:1px solid #e5dfee;box-shadow:0 12px 45px #2e204807;border-radius:28px;padding:34px}.mode-card:hover{box-shadow:0 18px 45px #2e204812;transform:translateY(-4px)}.mode-card h2{font-family:Arial,Helvetica,sans-serif;font-weight:750;letter-spacing:-.06em}.mode-card>p{max-width:350px}.mode-symbol{opacity:.2;font-weight:400}.mode-formula{font-size:.85rem;font-weight:500}.mode-bottom{border-top-color:#d5cde4}.team-mode{background:#30204f}.team-mode .mode-bottom{border-color:#ffffff25}.team-mode .pill{background:#ffdc09}.pill{border-radius:20px;padding:5px 10px;font-size:.64rem;letter-spacing:.04em}.buy-banner{margin-top:32px}.buy-banner strong{font-size:1rem}.buy-banner p{font-size:.85rem}.buy-banner .button{font-size:.85rem;border-radius:24px}.onboarding,.finish-panel{border:1px solid var(--line);box-shadow:0 20px 70px #2e20480a}
.play-surface{max-width:720px;margin:0 auto}.game-heading{margin:0 2px 16px;gap:16px;align-items:center}.game-heading .eyebrow{font-size:.65rem;letter-spacing:.15em;margin-bottom:6px}.game-heading h1{font-family:Arial,Helvetica,sans-serif;font-size:1.55rem;letter-spacing:-.055em}.heading-sub{font-size:.75rem;color:#81748d;margin:5px 0 0}.score{background:#ebe5f5;border:0;border-radius:15px;gap:9px;padding:10px 15px}.score>span{font-size:1.9rem;font-weight:750}.score>div{font-size:.72rem}.score small{font-size:.62rem;max-width:105px}.round-layout{display:block}.round-scene{background:#fff;border:1px solid #e5dfec;border-radius:28px;padding:26px 34px 22px;box-shadow:0 15px 70px #39285009;overflow:hidden;isolation:isolate;transition:background .7s}.scene-meta{display:flex;justify-content:space-between;align-items:center;font-size:.65rem;font-weight:700;letter-spacing:.1em;color:#8a7b99;min-height:25px}.scene-meta .pill{color:#7d6c91;background:#f1edf6}.scene-meta .pill.ranked{color:var(--ink);background:#fff4b2}.round-dots{gap:5px;margin:12px 0 22px}.round-dots span{height:3px;background:#eee9f3}.round-dots .current{background:#8063bb}.round-dots .won{background:#b19bd4}.round-dots .discovery{background:#d9bf4c}
.scene-heading{text-align:center;margin:0 0 20px;min-height:85px;display:flex;flex-direction:column;justify-content:center}.scene-cue{font-family:Arial,Helvetica,sans-serif;font-size:clamp(2rem,4vw,2.8rem);font-weight:750;letter-spacing:-.065em;line-height:1.08;margin:0;color:#493072;text-wrap:balance}.scene-hint{font-size:.83rem;line-height:1.5;color:#8a7b99;margin:10px 0 0;text-wrap:balance}.ready-art{height:206px;position:relative;display:grid;place-items:center;max-width:330px;margin:3px auto 23px}.record-disc{width:168px;height:168px;border-radius:50%;background:repeating-radial-gradient(circle at center,#35244e 0 2px,#402e5b 3px 4px);box-shadow:0 15px 35px #39244e22;display:grid;place-items:center;transform:rotate(-12deg)}.record-disc:after{content:'';width:7px;height:7px;border-radius:50%;background:#38224f;position:absolute;left:calc(50% - 3.5px);top:calc(50% - 3.5px)}.record-disc span{background:var(--yellow);height:65px;width:65px;display:grid;place-items:center;border-radius:50%;font-size:23px;font-weight:900;color:var(--ink);letter-spacing:-2px;padding-bottom:8px}.ready-art i{position:absolute;width:11px;height:11px;border-radius:50%;background:#cab3ed;left:35px;top:40px}.ready-art i:last-child{width:23px;height:23px;background:#ffdc09;right:27px;left:auto;top:145px}.round-scene[data-phase=loading] .record-disc{animation:record-turn 6s linear infinite}
.card-title{text-align:center;margin:0 0 17px}.card-title p{font-size:.77rem;line-height:1.4;margin:0 0 3px;color:#8a7b99}.card-title h2{font-family:Arial,Helvetica,sans-serif;font-size:1.65rem;font-weight:750;letter-spacing:-.05em;line-height:1.15;margin:0}.choices{gap:8px}.choices li,.interactive-choices li{padding:0;border:1px solid #e8e2ef;border-radius:13px;background:#faf9fc;overflow:hidden;min-height:49px;position:relative;font-weight:500}.choice-action{width:100%;min-height:49px;display:flex;align-items:center;gap:13px;text-align:left;border:0;background:transparent;color:inherit;padding:8px 13px;position:relative;z-index:1}.choice-action:hover:not(:disabled){background:#f0e9fc}.choice-action:focus-visible{outline:3px solid #8b63cf;outline-offset:-3px;border-radius:12px}.choice-action:disabled{opacity:1}.choice-action:disabled .choice-number{opacity:.65}.choice-number,.team-choices li>span:first-child{width:30px;height:30px;background:#ebe5f5;color:#695181;font-size:.8rem;font-weight:750;border-radius:9px;flex-shrink:0;display:grid;place-items:center}.choice-text{font-size:1rem;line-height:1.3}.choice-arrow{color:#b9a9c9;font-size:1.1rem;margin-left:auto}.choices-in li{animation:choice-arrive .5s cubic-bezier(.16,1,.3,1) both;animation-delay:calc(var(--choice-index,0)*75ms)}.results li{animation:none}.interactive-choices li.selected-result{border-color:#7e5da8;background:#f9f4df}.result-bar{background:#e9e1f3;border-radius:0;transition:width .7s cubic-bezier(.2,.8,.2,1)}.interactive-choices li.selected-result .result-bar{background:#ffed8a}.result-percentage{font-size:.85rem;color:#513672;min-width:40px}.choice-votes{font-size:.65rem;color:#887995}.team-choices li{display:flex;align-items:center;gap:13px;padding:8px 13px!important;font-size:1rem!important;min-height:49px!important}.team-choice-text{flex:1}.round-scene[data-phase=remembering]{background:#faf6ff}.round-scene[data-phase=remembering] .scene-cue{font-size:2rem}
.scene-player{margin:21px auto 0;position:relative;max-width:100%}.scene-player canvas{display:block;width:100%;height:23px;margin:0 auto 7px;opacity:.75}.play-button{background:#3c285a;color:white;border:0;border-radius:50px;min-height:50px;max-width:300px;margin:0 auto;font-size:.95rem;box-shadow:none}.play-button:hover:not(:disabled){background:#5c4394}.audio-progress{gap:11px;margin:13px 0 0;position:relative}progress{height:3px;background:#ede7f5}progress::-webkit-progress-bar{background:#ede7f5}progress::-webkit-progress-value{background:#9c80c5}progress::-moz-progress-bar{background:#9c80c5}.audio-progress span{font-size:.63rem;color:#9c8baa}.music-actions{display:flex;align-items:center;justify-content:space-between}.music-actions .subtle-button{min-height:36px;font-size:.7rem;padding:6px 0;color:#8b7c9a}.music-actions>span{font-size:.65rem;color:#a394af}.audio-status{font-size:.75rem;color:#80708e;line-height:1.5;text-align:center;min-height:0;margin:5px 0}.audio-status:empty{display:none}.round-scene:not([data-phase=ready]):not([data-phase=loading]) .scene-player{display:grid;grid-template-columns:42px 1fr;gap:0 12px;margin-top:19px}.round-scene:not([data-phase=ready]):not([data-phase=loading]) .scene-player canvas{position:absolute;left:0;top:0;visibility:hidden}.round-scene:not([data-phase=ready]):not([data-phase=loading]) .play-button{width:40px;height:40px;min-height:40px;padding:0;grid-row:1;grid-column:1}.round-scene:not([data-phase=ready]):not([data-phase=loading]) .play-button span:last-child{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.round-scene:not([data-phase=ready]):not([data-phase=loading]) .audio-progress{grid-column:2;margin:0;grid-row:1}.round-scene:not([data-phase=ready]):not([data-phase=loading]) .music-actions{grid-column:2}.scene-player .audio-status{grid-column:1/-1}.round-scene[data-phase=ready] .audio-progress,.round-scene[data-phase=ready] .music-actions,.round-scene[data-phase=ready] canvas,.round-scene[data-phase=loading] canvas{display:none}.round-scene[data-phase=result] .scene-player,.round-scene[data-phase=countdown] .scene-player,.round-scene[data-phase=scoring] .scene-player{display:none}.round-scene[data-phase=ready] .reveal-area,.round-scene[data-phase=loading] .reveal-area{display:none}.reveal-area{padding:0;margin:0;text-align:center}.reveal-area p{font-size:.68rem;color:#8b7b99;line-height:1.5;margin:6px 0 0}.reveal-area .form-error{color:#a02d46;font-size:.8rem}.reveal-area .button{margin-top:12px}.reveal-area .inline-button{font-size:.75rem;text-decoration:none;color:#8b7b99}.result-area{padding-top:22px}.reward{align-items:center;justify-content:center;text-align:left;gap:17px}.reward>strong{font-size:3.1rem;color:#604094;letter-spacing:-.07em}.reward b{font-size:.9rem}.reward p{font-size:.75rem;color:#8b7b99}.reward.discovery>strong{font-size:2rem}.result-note{font-size:.72rem;color:#8b7b99;text-align:center;line-height:1.5;margin:12px auto;max-width:440px}.track-info{min-height:0;text-align:center;border-top:1px solid #eee9f3;padding:16px 0 20px;margin-top:18px}.track-label{font-size:.58rem;letter-spacing:.14em;color:#9a8ca8}.track-info h3{font-size:1.08rem;letter-spacing:-.025em;margin:5px 0 2px}.track-info p{font-size:.8rem;margin:0;color:#8b7b99}.track-info a{display:inline-block;font-size:.7rem;margin-top:7px;color:#8b7b99}.button{border-radius:14px}.reveal-button{background:#38234f;min-height:50px}.round-foot{display:flex;justify-content:space-between;align-items:center;font-size:.68rem;color:#9b8ca9;margin:12px 7px;gap:15px}.round-foot .inline-button{font-size:.7rem;text-decoration:none}.community-strip{font-size:.65rem;text-align:center;color:#a698b3;padding:5px 0;border:0;display:block;margin:0}.scene-countdown{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:280px}.scene-countdown strong{font-size:9rem;font-weight:650;letter-spacing:-.08em;color:#684597;line-height:1.1}.scene-countdown span{font-size:.8rem;color:#9987a9;margin-top:20px}.result-question{text-align:center;font-size:1rem!important;font-weight:600;margin:0 0 22px}.result-buttons{grid-template-columns:1fr 1fr!important;gap:12px}.result-buttons .button{font-size:.85rem!important}.match-button{background:#ffdc09}.miss-button{background:#f1edf7}.round-scene[data-phase=scoring] .result-area{padding-top:4px}.round-scene[data-phase=scoring] .scene-heading{margin:22px 0}.round-scene[data-phase=scoring] .scene-cue{font-size:2.5rem}.round-scene[data-phase=countdown] .scene-heading{margin-top:20px}.round-scene[data-phase=result] .scene-cue{font-size:2rem}.round-scene[data-phase=result] .scene-heading{min-height:62px;margin-bottom:14px}.round-scene[data-phase=result] .card-title{margin-bottom:12px}.round-scene[data-phase=result] .card-title p{display:none}
@keyframes choice-arrive{from{opacity:0;transform:translateY(14px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}
@keyframes record-turn{to{transform:rotate(348deg)}}
@media(max-width:650px){.header{padding:12px 16px;gap:10px;flex-wrap:nowrap}.brand img{width:85px}.header-actions{gap:9px}.header-actions .shop-link{font-size:.65rem;padding:7px 9px}.header-actions .text-button{font-size:.65rem}.header-actions .profile-button{font-size:.65rem;max-width:90px;padding:6px 8px}.shell{padding:12px 12px 20px}.game-heading{margin:0 4px 12px}.game-heading h1{font-size:1.16rem}.game-heading .eyebrow{font-size:.55rem;margin-bottom:5px;max-width:none}.heading-sub{font-size:.63rem;margin-top:3px}.score{padding:9px 11px;gap:7px}.score>span{font-size:1.5rem}.score>div{font-size:.6rem}.score small{font-size:.55rem;max-width:65px}.round-scene{border-radius:22px;padding:16px 16px 14px}.scene-meta{font-size:.57rem;min-height:22px}.scene-meta .pill{font-size:.52rem;padding:4px 7px}.round-dots{margin:8px 0 14px;gap:4px}.scene-heading{min-height:69px;margin-bottom:14px}.scene-cue{font-size:2.05rem}.scene-hint{font-size:.72rem;margin-top:7px}.ready-art{height:190px;margin-bottom:19px}.record-disc{width:155px;height:155px}.card-title{margin-bottom:12px}.card-title p{font-size:.68rem}.card-title h2{font-size:1.4rem}.choices{gap:7px}.choices li,.interactive-choices li,.team-choices li{min-height:46px!important;border-radius:11px}.choice-action{min-height:46px;padding:7px 10px;gap:10px}.choice-number,.team-choices li>span:first-child{width:28px;height:28px;font-size:.75rem}.choice-text,.team-choices li{font-size:.92rem!important}.choice-votes{font-size:.6rem}.scene-player{margin-top:17px}.round-scene:not([data-phase=ready]):not([data-phase=loading]) .scene-player{margin-top:15px}.round-scene[data-phase=remembering] .scene-cue{font-size:1.7rem}.round-foot{font-size:.6rem;margin:9px 5px}.round-foot .inline-button{font-size:.65rem}.community-strip{font-size:.58rem}.reveal-area p{font-size:.62rem}.reward>strong{font-size:2.8rem}.reward b{font-size:.8rem}.reward p{font-size:.7rem}.reward{gap:12px}.result-note{font-size:.68rem}.result-area{padding-top:17px}.track-info{padding:14px 0 16px;margin-top:14px}.track-label{display:inline}.track-info h3{font-size:.95rem}.result-buttons{gap:8px}.result-buttons .button{font-size:.78rem!important;padding:13px 8px}.scene-countdown{min-height:260px}.mode-home{margin-top:10px}.home-heading{margin:8px 0 25px}.home-heading h1{font-size:2.45rem}.home-heading .eyebrow{font-size:.6rem}.home-heading>p:last-child{font-size:.87rem}.mode-card{padding:25px;border-radius:24px}.mode-card h2{font-size:2.2rem}.mode-card>p{font-size:.95rem}.mode-formula{font-size:.78rem}.mode-symbol{font-size:2rem}.mode-top .pill{font-size:.57rem}.mode-grid{gap:17px}footer{justify-content:center;text-align:center;gap:10px;margin-top:22px}footer>span:first-child{display:none}footer .publisher{margin-left:8px}.finish-panel{padding:30px 20px}.finish-panel h2{font-size:2rem}.game-heading:has(+.round-layout) .heading-sub{max-width:230px}.onboarding{margin:10px 0 25px;padding:24px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
/* Result and countdown scenes have no transport controls. */
.round-scene[data-phase=result] .scene-player,.round-scene[data-phase=countdown] .scene-player,.round-scene[data-phase=scoring] .scene-player{display:none!important}
.round-scene.is-playing .scene-meta>span:first-child::before{content:'';display:inline-block;width:6px;height:6px;background:#9770c4;border-radius:50%;margin-right:7px;box-shadow:0 0 0 4px #9770c412}
.team-choices li>.team-choice-text{display:block;flex:1;width:auto;height:auto;border-radius:0;background:transparent;color:inherit;font:inherit}
.round-scene[data-phase=ready]:has(.audio-status:not(:empty)) .music-actions{display:flex}
