/* Visualizer skin inspired by the supplied Windows 98 desktop styles. */
:root {
  color-scheme: light;
  --bg: var(--windows-bg, #008080);
  --panel: var(--window-bg, #c0c0c0);
  --line: #808080;
  --muted: #454545;
  --lime: #000080;
  --raised: inset -1px -1px #0a0a0a, inset 1px 1px #fff,
    inset -2px -2px grey, inset 2px 2px #dfdfdf;
}
body { display: block; padding: 20px; color: #000; font: 18px 'VT323', monospace; }
header, main { max-width: 1500px; margin: 0 auto; background: var(--panel); }
header { height: 48px; padding: 0 14px; background: linear-gradient(90deg, #000080, #1084d0); color: white; border: 3px solid silver; border-bottom: 0; }
main { padding: 24px; box-shadow: var(--raised); }
.brand { font: 26px 'VT323', monospace; letter-spacing: 0; }
.brand-icon, .header-right, .tag { color: white; }
.tag { border-color: #8ea9d0; border-radius: 0; font-size: 11px; }
.header-right { font-size: 13px; }
.header-right .live-dot { background: #60ff91; }
h1 { font: 36px 'VT323', monospace; letter-spacing: 0; }
.eyebrow { font-size: 13px; letter-spacing: 2px; margin-bottom: 8px; }
.subtitle { font-size: 17px; }
.keyboard-hint { font-size: 14px; }
kbd { background: #dedede; color: black; border: 0; border-radius: 0; box-shadow: var(--raised); font-size: 12px; }
.screen { border: 3px inset #eee; border-radius: 0; }
.screen .pill { color: #d9e5b7; }
.screen .live-dot { background: #d7fa74; }
.screen-label { font: 18px 'VT323', monospace; }
.screen-sub { margin-top: 5px; }
.side { border: 0; border-radius: 0; box-shadow: var(--raised); padding: 20px; }
.section-label { font-size: 15px; color: #000080; letter-spacing: 1px; }
.number { color: #555; }
.source-tabs { border: 2px inset #eee; border-radius: 0; background: silver; padding: 3px; }
.source-tabs button { border-radius: 0; background: silver; color: black; box-shadow: var(--raised); font-size: 15px; }
.source-tabs button.active { background: #dedede; color: navy; box-shadow: inset 1px 1px #0a0a0a, inset -1px -1px #fff; }
.source-status { font-size: 17px; }
.source-status small { font-size: 14px; line-height: 1.2; }
.source-orb { background: #000080; color: white; border-radius: 0; }
.main-btn, .play, .icon-btn { border: 0; border-radius: 0; background: silver; color: black; box-shadow: var(--raised); font-size: 16px; }
.main-btn:active, .play:active, .icon-btn:active { box-shadow: inset 1px 1px #0a0a0a, inset -1px -1px white; }
.divider { background: #808080; border-bottom: 1px solid white; height: 2px; }
.control label, .toggle-row { color: #111; font-size: 16px; }
.control output { color: navy; font-size: 15px; }
#paletteName { color: #454545 !important; font-size: 14px !important; }
input[type=range] { accent-color: navy; }
.swatch { border-color: silver; }
.swatch.active { outline: 1px dotted black; outline-offset: 2px; }
.switch { border-radius: 0; border: 2px inset white; background: #888; height: 20px; width: 34px; padding: 0; }
.switch[aria-checked=true] { background: navy; }
.switch:after { background: silver; border-radius: 0; box-shadow: var(--raised); height: 14px; width: 14px; }
.transport { border: 0; border-radius: 0; background: silver; box-shadow: var(--raised); }
.track { font-size: 15px; }
.track small { font-size: 12px; }
.meters { background: #111; border: 2px inset white; height: 28px; padding: 2px; }
.meters i { background: #80ff40; }
.time { color: navy; font-size: 13px; }
.presets-heading h2 { font: 22px 'VT323', monospace; }
.presets-heading span { font-size: 15px; }
.preset { border: 0; border-radius: 0; background: silver; color: black; box-shadow: var(--raised); }
.preset.active { outline: 2px solid navy; outline-offset: -4px; background: #d6d6dc; }
.preset:hover { transform: none; background: #ddd; }
.thumb { position: relative; height: auto; aspect-ratio: 1 / 1; border-radius: 0; border: 2px inset white; }
.thumb canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.preset-name { font-size: 17px; }
.era { font-size: 12px; color: #444; }
footer { color: #444; font-size: 14px; border-top: 2px groove white; }
#notice { color: navy; font-size: 14px; }
button:focus-visible, input:focus-visible { outline: 2px dotted navy; outline-offset: 3px; }
.screen:fullscreen { border: 0; }
@media(max-width:850px) { body { padding: 10px; } main { padding: 18px; } .header-right .hide { display: none; } }
@media(max-width:500px) { body { padding: 4px; } main { padding: 14px 10px; } header { height: 42px; padding: 0 9px; } .brand { font-size: 24px; } .header-right { font-size: 11px; } h1 { font-size: 30px; } .preset-name { font-size: 15px; } .era { font-size: 10px; } .track { min-width: 100px; } .side { padding: 17px; } }
/* Presets wrap around the reference's spacious 4:3 composition. */
.presets { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.screen { height: auto; aspect-ratio: 4 / 3; }
.screen:fullscreen { height: 100vh; aspect-ratio: auto; }
@media (max-width: 600px) { .presets { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
