:root{--bg:#f5f1e8;--surface:#fffdf7;--surface-alt:#f1eadc;--timeline-bg:#fbf6eb;--border:#d7cab7;--text:#534b42;--text-strong:#201d19;--muted:#7b6d5b;--action:#202820;--action-hover:#344535;--action-text:#fffaf0;--accent:#14756d;--accent-strong:#0d5b55;--danger:#c73f2d;--danger-soft:#f4c6bb;--warning:#a36310;--success:#2f8f4e;--focus:#e0ad38;--track:#8c7b65;--track-response:#8c7b65;--tick:#dfd3c0;--tick-strong:#b89d79;--target:#e2ad3a;--target-stroke:#694b10;--offset-line:#796a58;--cue-listen:#fff3d1;--cue-response:#fff8df;--cue-response-ring:#e0ad382e;--progress-track:#694b1024;--progress-fill:#e2ad3a;--result-score-action-text:#fffdee;--result-score-bg:#fff86a;--result-score-bg-strong:#ffe72e;--result-score-border:#f1cf00;--result-score-copy:#554c00;--result-score-highlight:#ffffff8a;--result-score-ink:#1f1b04;--result-score-shadow:#ffdd2252;--sans:system-ui, "Segoe UI", Roboto, sans-serif;--heading:system-ui, "Segoe UI", Roboto, sans-serif;--mono:ui-monospace, Consolas, monospace;font:16px/145% var(--sans);letter-spacing:0;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light dark;color:var(--text);background:var(--bg);font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@media (prefers-color-scheme:dark){:root{--lightningcss-light: ;--lightningcss-dark:initial;--bg:#171713;--surface:#22221d;--surface-alt:#2b2922;--timeline-bg:#1c1c17;--border:#454033;--text:#c9bea9;--text-strong:#fff7e7;--muted:#a99a82;--action:#efe0bd;--action-hover:#ffe7a6;--action-text:#191711;--accent:#39a195;--accent-strong:#6ed4c9;--danger:#ff725d;--danger-soft:#5b2a22;--warning:#f0b95c;--success:#61c77d;--focus:#e0ad38;--track:#756a58;--track-response:#756a58;--tick:#383326;--tick-strong:#675a45;--target:#e0ad38;--target-stroke:#ffe6a6;--offset-line:#8d806d;--cue-listen:#3a2f1a;--cue-response:#312917;--cue-response-ring:#e0ad3829;--progress-track:#ffe6a61f;--progress-fill:#e0ad38;--result-score-action-text:#fffdee;--result-score-bg:#fff45a;--result-score-bg-strong:#ffd91a;--result-score-border:#fff076;--result-score-copy:#4b4100;--result-score-highlight:#ffffff70;--result-score-ink:#171501;--result-score-shadow:#ffe62a33}}#root{min-height:100svh}body{min-width:320px;margin:0}*{box-sizing:border-box}h1{color:var(--text-strong);font-family:var(--heading);letter-spacing:0;font-size:36px;font-weight:900;line-height:1.05}p{margin:0}button{font-family:inherit}@media (width<=820px){h1{font-size:28px}}.shell{width:min(1180px,100% - 28px);min-height:100svh;margin:0 auto;padding:30px 0 34px}.topbar{justify-content:space-between;align-items:end;gap:22px;margin-bottom:22px;display:flex}.eyebrow{color:var(--muted);letter-spacing:0;text-transform:uppercase;margin:0 0 6px;font-size:13px;font-weight:800}.topbar h1{margin:0}.meter{flex-wrap:wrap;justify-content:flex-end;gap:8px;display:flex}.meter span,.phase-pill{border:1px solid var(--border);background:var(--surface);min-height:34px;color:var(--text-strong);white-space:nowrap;border-radius:999px;justify-content:center;align-items:center;padding:0 13px;font-size:14px;font-weight:800;display:inline-flex}.stage{border:1px solid var(--border);background:var(--surface);border-radius:8px;padding:22px;box-shadow:0 20px 60px #18181414}.status-row{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:14px;margin-bottom:18px;display:flex}.play-options{flex-wrap:wrap;gap:10px;display:flex}.toggle-control{border:1px solid var(--border);background:var(--surface-alt);min-height:34px;color:var(--text-strong);white-space:nowrap;border-radius:999px;align-items:center;gap:8px;padding:0 12px;font-size:14px;font-weight:800;display:inline-flex}.toggle-control input{width:16px;height:16px;accent-color:var(--target);margin:0}.toggle-control:has(input:disabled){cursor:wait;opacity:.58}.primary-action{background:var(--action);min-width:164px;min-height:52px;color:var(--action-text);font:inherit;letter-spacing:0;cursor:pointer;border:0;border-radius:8px;font-size:16px;font-weight:900;transition:transform .16s,background .16s}.primary-action:hover:not(:disabled){background:var(--action-hover);transform:translateY(-1px)}.primary-action:disabled{cursor:wait;opacity:.58}.primary-action:focus-visible{outline:3px solid var(--focus);outline-offset:3px}.phase-pill{background:var(--surface-alt);min-width:138px}.phase-pill--response{border-color:var(--target);color:var(--text-strong)}.error-text{color:var(--danger);margin:-4px 0 14px;font-weight:800}.response-surface{touch-action:manipulation;border:1px solid #0000;border-radius:8px;padding:8px;transition:background .16s,border-color .16s,box-shadow .16s}.response-surface--response{cursor:pointer}.turn-cue{border:2px solid var(--border);background:var(--surface-alt);text-align:center;border-radius:8px;place-items:center;gap:8px;min-height:178px;margin:0 0 18px;padding:18px;display:grid}.turn-cue__eyebrow,.turn-cue__detail{letter-spacing:0;display:block}.turn-cue__eyebrow{color:var(--muted);text-transform:uppercase;font-size:14px;font-weight:900}.turn-cue__value{color:var(--text-strong);letter-spacing:0;font-size:68px;font-weight:950;line-height:.95;display:block}.turn-cue__detail{color:var(--text);font-size:16px;font-weight:800}.turn-cue__progress{background:var(--progress-track);border-radius:999px;width:min(280px,70%);height:8px;display:block;overflow:hidden}.turn-cue__progress span{border-radius:inherit;background:var(--progress-fill);will-change:width;height:100%;display:block}.turn-cue--listen{border-color:var(--target);background:var(--cue-listen)}.turn-cue--response{border-color:var(--target);background:var(--cue-response);box-shadow:0 0 0 4px var(--cue-response-ring)}.turn-cue--response .turn-cue__eyebrow,.turn-cue--response .turn-cue__value{color:var(--text-strong)}.turn-cue--response .turn-cue__value{animation:.7s ease-in-out infinite alternate cue-pulse}.turn-cue--results{border-color:var(--result-score-border);background:var(--result-score-bg);min-height:236px;box-shadow:0 14px 32px var(--result-score-shadow)}.turn-cue--rank-perfect{background:#fff348f5;border-color:#e7c617;box-shadow:0 16px 34px #ffd52d3d}.turn-cue--rank-strong{background:#ffe254e0;border-color:#d7a915;box-shadow:0 16px 34px #e0ad3833}.turn-cue--rank-good{background:#ffdf78c2;border-color:#c99a24;box-shadow:0 14px 30px #c28b2124}.turn-cue--rank-rough{background:#ffdd9194;border-color:#b98528;box-shadow:0 12px 26px #9167221a}.turn-cue--rank-empty{border-color:var(--border);background:#ffeb9d57;box-shadow:0 10px 22px #765d2112}.turn-cue--results .turn-cue__eyebrow,.turn-cue--results .turn-cue__value{color:var(--result-score-ink)}.turn-cue--results .turn-cue__eyebrow{font-size:15px}.turn-cue--results .turn-cue__value{font-size:118px;line-height:.82}.turn-cue--results .turn-cue__detail{color:var(--result-score-copy)}.turn-cue--results .primary-action{background:var(--result-score-ink);color:var(--result-score-action-text)}.timeline{width:100%;display:block}.timeline__surface{fill:var(--timeline-bg)}.timeline__rail{stroke:var(--track);stroke-width:4px;stroke-linecap:round}.timeline__rail--response{stroke:var(--track-response)}.timeline__tick{stroke:var(--tick);stroke-width:1px}.timeline__tick--beat{stroke:var(--tick-strong);stroke-width:2px}.timeline__label,.timeline__beat-label{fill:var(--muted);letter-spacing:0;font-size:20px;font-weight:900}.timeline__beat-label{text-anchor:middle;font-size:14px}.timeline__target{fill:var(--target);stroke:var(--target-stroke);stroke-width:4px}.timeline__target--miss{fill:var(--danger-soft);stroke:var(--danger)}.timeline__tap{stroke:var(--text-strong);stroke-width:3px}.timeline__tap--live{fill:var(--accent)}.timeline__tap--matched{fill:var(--success)}.timeline__tap--extra{fill:var(--danger)}.timeline__offset{stroke:var(--offset-line);stroke-width:2px;stroke-dasharray:5 6}.results{grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin-top:14px;display:grid}.metric{border:1px solid var(--border);background:var(--surface);border-radius:8px;min-width:0;padding:14px 12px}.metric span,.metric strong{letter-spacing:0;display:block}.metric span{color:var(--muted);font-size:13px;font-weight:800}.metric strong{color:var(--text-strong);margin-top:2px;font-size:26px;line-height:1}@media (width<=820px){.shell{width:min(100% - 20px,1180px);padding-top:18px}.topbar,.status-row{flex-direction:column;align-items:stretch}.meter{justify-content:flex-start}.stage{padding:14px}.phase-pill{width:100%}.results{grid-template-columns:repeat(2,minmax(0,1fr))}.metric strong{font-size:22px}.turn-cue--results .turn-cue__value{font-size:86px}}.timeline__annotation-line{stroke:var(--offset-line);stroke-width:1.5px;stroke-dasharray:4 5;opacity:.74}.timeline__annotation-bg{fill:var(--surface);stroke:currentColor;stroke-width:1.5px}.timeline__annotation-text{fill:currentColor;letter-spacing:0;text-anchor:middle;font-size:14px;font-weight:950}.timeline__annotation--tight{color:var(--success)}.timeline__annotation--close{color:var(--warning)}.timeline__annotation--wide,.timeline__annotation--miss,.timeline__annotation--extra{color:var(--danger)}@keyframes cue-pulse{0%{transform:scale(1)}to{transform:scale(1.04)}}
