/* Give game furniture a quieter palette than the arcade menus. */
#game .game-top,#game.themed .game-top {
 background:#160e19ec;
 border-color:#674853;
}
#game .game-heading { min-width:0;gap:12px; }
#game .game-heading-text .eyebrow { color:#e4eed0;letter-spacing:.13em; }
#game .game-heading-text #gameDifficulty { color:#dbc8d8; }
#game .game-time .progress { background:#312335; }
#game .game-time .progress i { background:#ffbe72;box-shadow:none; }
#game .game-side,#game.themed .game-side {
 min-width:0; border-radius:11px; clip-path:none;
 background:linear-gradient(160deg,#281b29ec,#18121eed);
 border:1px solid #6f4f68;
 padding:20px 16px;gap:7px;
}
#game .game-side .eyebrow { color:#f0bb9b;letter-spacing:.15em; }
#game .game-side small { color:#ddc8d8;margin-top:12px; }
#game .game-side .judges { padding-top:7px;border-top:1px solid #594254;margin-top:14px; }
#game .game-side .judge { line-height:1.55; }
#game .game-side .keylegend { gap:7px; }
#game .game-side .keylegend kbd { background:#342438;border-color:#785774;color:#fff4e8; }
#game .game-side p { color:#e1cddb;margin:6px 0 0;line-height:1.5; }
#game .game-bottom { color:#d5c1ce; }
#game .input-overlay:not([hidden]) { gap:clamp(7px,2.4vw,16px); }
#game .input-overlay kbd:not(.is-held) { color:#f8e9f4;background:#241728;border-color:#775571; }
#game .input-overlay .input-lane { gap:4px; }
.hud-live-panel {
 border-color:#8b657c; background:#221729f5;
 --ink:#fff5e9; --muted:#ead4e4; --line:#624560; --hue:#ecfb4d;
}
.hud-live-panel header { background:#2e1d31; border-radius:14px 14px 0 0; }
.hud-live-panelbody { padding:13px 15px; }
.hud-live-position { gap:8px; padding:9px; }
.hud-live-position :is(input,button) { min-height:32px; }
.hud-live-targets .hud-live-select {
 background:#35223a;border-color:#785575;
}
.hud-live-targets .hud-live-select[aria-pressed=true] {
 background:#493343;color:#fff6dd;border-color:#ecfb4d;
}
.hud-live-panel [data-live-save] { background:#ecfb4d;color:#20101a;border-color:#ecfb4d; }
.hud-live-panel .hud-live-close { background:#483149;color:#ffefe2; }
@media (min-width:851px) {
 #game .game-side strong { line-height:1.16; }
 #game .game-side.rightside,#game.themed .game-side.rightside { padding-block:21px 24px; }
}
@media (min-width:551px) and (max-width:850px) {
 #game .game-side,#game.themed .game-side { padding:13px 7px;gap:5px; }
 #game .game-side .judges { margin-top:10px; }
}
@media (max-width:550px) {
 #game:not(.hud-live-editing) .game-heading { gap:7px; }
 #game .input-overlay .input-lane kbd { min-width:clamp(20px,5.8vw,33px); }
 .hud-live-panelbody { padding:8px 10px; }
 .hud-live-position { gap:6px; padding:6px; }
}

/* Keep replay feedback quiet and retain recorded HUD artwork and placements. */
#game[data-replay] #gameMode { text-transform:none; }
#game[data-replay] :is(.video-export-banner,.custom-hud-layer .hud-widget:has(>small,>#judges),.custom-hud-layer .hud-widget>.game-time) {
 background:var(--chrome-panel);border-color:var(--chrome-line-strong);color:var(--chrome-text);
}
#game[data-replay] .replay-live-combo strong { color:#ffe1b4; }
#game[data-replay] .custom-hud-layer .hud-widget > small { color:#ddc8d8; }
