/* Shared chrome radio deck and video frame. */
@font-face {
  font-family: Orbitron;
  src: url('/fonts/orbitron.woff2') format('woff2');
  font-weight: 600 800;
  font-display: swap;
}

@font-face {
  font-family: 'Share Tech Mono';
  src: url('/fonts/share-tech-mono.woff2') format('woff2');
  font-display: swap;
}

body {
  --deck-width: 660px;
  padding: 41px 6px 30px;
  background:
    repeating-linear-gradient(0deg, transparent 0 3px, #07101555 4px 5px),
    radial-gradient(ellipse at top, #183138, #0b171c 70%, #070c10);
}

.boombox, .schedule-deck, #installBanner { max-width: var(--deck-width); }

#installBanner {
  width: 100%;
  margin-top: 16px;
}

#installBtn {
  width: 100%;
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid #8e9cb1;
  border-radius: 7px;
  background: linear-gradient(#172c3a, #09131f);
  box-shadow: inset 0 1px 2px #7bb0c353;
  color: #a3e8ed;
  font: 700 clamp(.73rem, 2.65vw, .9rem)/1.3 Orbitron, system-ui, sans-serif;
  cursor: pointer;
}

#installBtn:hover { background: #17384a; }
#installBtn:focus-visible { outline: 2px solid #8bedff; outline-offset: 2px; }

body .antenna-wrap, .boombox .desktop-only { display: none; }
.boombox .mobile-only { display: initial; }

.boombox {
  --glass-type: 'Share Tech Mono', 'Courier New', monospace;
  --panel-type: Orbitron, 'Arial Black', system-ui, sans-serif;
  --plate: radial-gradient(ellipse at 45% 40%, #22272f, #0b0e15 85%);
  --rim: #bec9d7;
  --rim-shadow: 0 0 0 1px #778698, inset 0 1px 2px #fff9, inset 0 -2px 4px #161c27, 0 2px 3px #10172173;
  --screw: radial-gradient(circle at 37% 27%, #ecf4fe, #8190a4 57%, #334054 75%, #111922);
  --panel-gap: clamp(6px, 2cqi, 13px);
  --paradox-radio-emblem: url('/art/paradox-radio-logo.jpg');
  container-type: inline-size;
  padding: 7px clamp(7px, 2.1vw, 15px) 4px;
  border: 2px solid #93a6bb;
  border-radius: clamp(15px, 4.4vw, 25px);
  background:
    repeating-linear-gradient(0deg, #1c293224 0 1px, #e4eff522 1px 2px, transparent 2px 3px),
    linear-gradient(175deg, #e0e8f4, #aebdcb 10%, #8799ae 23%, #536679 48%, #374557 76%, #778797);
  box-shadow: inset 0 1px 1px #f5fbff, inset 4px 0 4px #f1f8fd80, inset -4px 0 5px #1a2434, 0 4px 18px #05090d;
}

.boombox .handle-bar {
  position: absolute;
  display: flex;
  width: 84%;
  height: 35px;
  top: -34px;
  left: 8%;
  margin: 0;
  border: 1px solid #93a9bd;
  border-bottom: 0;
  border-radius: 15px 15px 0 0;
  background: linear-gradient(#ecf6ff, #b2c6d9 18%, #5f7188 38%, #d1dee9 61%, #526578 63%, #1b2834 66%, transparent 67%);
  box-shadow: 0 2px 4px #04091180;
}

.boombox .handle-bar::before, .boombox .handle-bar::after,
.boombox .mobile-corner-screws i::after {
  content: '+';
  position: absolute;
  display: grid;
  place-items: center;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--screw);
  color: #18232f;
  font: 900 13px/1 system-ui, sans-serif;
  text-shadow: 0 1px #d2e1eb;
  box-shadow: 0 1px 2px #0b1119;
  transform: rotate(30deg);
}

.boombox .handle-bar::before { left: 9px; top: 4px; }
.boombox .handle-bar::after { right: 9px; top: 4px; }

.boombox .mobile-handle-label {
  position: absolute;
  top: -3px;
  max-width: 86%;
  padding: 8px 9px;
  border: 1px solid #8e9cb1;
  border-radius: 4px;
  background: #07101c;
  color: #9ee5ea;
  font: 800 clamp(8px, 2.45cqi, 15px)/1 var(--panel-type);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: .12em;
  text-shadow: 0 0 5px #20bfd580;
  white-space: nowrap;
}

.boombox .mobile-corner-screws {
  position: absolute;
  z-index: 2;
  inset: 0;
  pointer-events: none;
}

.boombox .mobile-corner-screws i {
  position: absolute;
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  background: linear-gradient(140deg, #627489, #182333 68%);
  box-shadow: 0 1px 2px #111b2b8c, inset 0 0 0 1px #c5d3df75;
}

.boombox .mobile-corner-screws i:nth-child(1) { top: 1px; left: 1px; border-radius: 13px 1px 9px 0; }
.boombox .mobile-corner-screws i:nth-child(2) { top: 1px; right: 1px; border-radius: 1px 13px 0 9px; }
.boombox .mobile-corner-screws i:nth-child(3) { bottom: 1px; left: 1px; border-radius: 0 9px 1px 13px; }
.boombox .mobile-corner-screws i:nth-child(4) { bottom: 1px; right: 1px; border-radius: 9px 0 13px 1px; }

.boombox .top-crown {
  padding: 1px 0 0;
  margin: 0 0 var(--panel-gap);
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
}

.boombox .logo-plate {
  display: grid;
  place-items: center;
  width: 51%;
  min-height: clamp(36px, 11.4cqi, 75px);
  padding: 2px 7px;
  border: 1px solid #8f9daf;
  border-radius: clamp(12px, 3.4cqi, 22px);
  background: #0c1120;
  box-shadow: inset 0 1px 4px #58667d99, 0 3px 7px #162033ab;
}

.boombox .logo-plate > svg, .boombox .subtitle-badge { display: none; }

.boombox .mobile-logo {
  display: block;
  width: 96%;
  height: auto;
  mix-blend-mode: screen;
  filter: drop-shadow(0 2px 1px #000);
}

.boombox .tuner-bay {
  padding: 0;
  margin: 0 0 var(--panel-gap);
  border: 2px solid var(--rim);
  border-radius: clamp(9px, 3.2cqi, 17px);
  background: none;
  box-shadow: var(--rim-shadow);
}

.boombox .tuner-header, .boombox .dial-scale-fm, .boombox .dial-scale-am, .boombox .dial-ticks { display: none; }

.boombox .dial-glass {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto auto 5px auto;
  gap: clamp(3px, 1cqi, 7px);
  height: auto;
  min-height: clamp(53px, 16.2cqi, 108px);
  padding: clamp(4px, 1.5cqi, 10px) clamp(7px, 2.7cqi, 18px);
  align-content: center;
  justify-content: stretch;
  border: 0;
  border-radius: inherit;
  background: linear-gradient(#214748, #10252f 44%, #03131a 90%);
  box-shadow: inset 0 0 6px #4f9ca4;
  font: 700 clamp(7.5px, 2cqi, 13px)/1 var(--glass-type);
  letter-spacing: .08em;
  color: #a9d6e1;
}

.boombox .mobile-tuner-head, .boombox .mobile-tuner-foot {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 2px;
  white-space: nowrap;
}

.boombox .mobile-tuner-head > :first-child, .boombox #mFreqlock { color: #f6cf59; }
.boombox .mobile-tuner-head > :nth-child(2) { color: #8dd1db; letter-spacing: .15em; }
.boombox .mobile-tuner-head > :last-child, .boombox .mobile-tuner-foot > :last-child { justify-self: end; }
.boombox .mobile-tuner-head > :last-child {
  padding: 2px 5px;
  border-radius: 5px;
  background: #ed242e;
  color: #fff1ed;
  box-shadow: 0 0 6px 2px #f73d3caa;
}

.boombox .mobile-tuner-scale {
  display: flex;
  justify-content: space-between;
  padding: 0 2%;
}

.boombox .mobile-tuner-scale span:nth-last-child(2) { color: #edc65d; text-decoration: underline; }

.boombox .mobile-tuner-ticks {
  display: block;
  height: 5px;
  background: repeating-linear-gradient(90deg, #3fc3df 0 2px, transparent 2px 3.28%, #758797 3.28% calc(3.28% + 1px), transparent calc(3.28% + 1px) 6.56%);
}

.boombox .tuning-needle {
  width: 3px;
  top: 35%;
  bottom: 26%;
  border-radius: 3px;
  background: #f9413a;
  box-shadow: 0 0 6px 2px #fc6651ad;
}

.boombox .tuning-needle::before {
  content: '';
  position: absolute;
  left: 50%;
  top: -2px;
  translate: -50%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ffd557;
}

.boombox .main-deck { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--panel-gap); }

.boombox .center-console {
  display: grid;
  grid-area: 1 / 1 / 2 / -1;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--panel-gap) 0;
  background: none;
  border: 0;
  padding: 0;
}

.boombox .center-console::before {
  content: '';
  grid-area: 1 / 1 / 3 / 2;
  border: 2px solid var(--rim);
  border-radius: clamp(9px, 3.2cqi, 17px);
  background: linear-gradient(#1e2428, #14272d);
  box-shadow: var(--rim-shadow);
}

.boombox .meters-and-eq { display: contents; }
.boombox .vu-pair, .boombox .vfd-screen { position: relative; z-index: 1; }

.boombox .vu-pair {
  grid-area: 1 / 1;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: clamp(5px, 1.7cqi, 11px) clamp(5px, 1.7cqi, 11px) 0;
  gap: clamp(3px, 1cqi, 7px);
}

.boombox .vu-meter {
  height: clamp(29px, 9.2cqi, 60px);
  padding: 3px clamp(3px, 1.7cqi, 10px);
  border: 1px solid #a47930;
  border-radius: 6px;
  background: radial-gradient(ellipse at center, #fff2b6 20%, #f9cb63 55%, #c48028);
  box-shadow: inset 0 0 5px #6b3b0b, 0 1px 2px #030507;
}

.boombox .vu-scale, .boombox .vu-label { color: #171b18; font: 800 clamp(7px, 2cqi, 13px)/1 var(--panel-type); }
.boombox .vu-scale { letter-spacing: -.03em; }
.boombox .vu-label { left: 0; right: 0; bottom: 29%; text-align: center; }
.boombox .vu-needle { height: 90%; bottom: -2px; background: #b32726; z-index: 1; }
.boombox .vu-meter::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -3px;
  z-index: 2;
  width: 12px;
  height: 7px;
  border-radius: 50%;
  translate: -50%;
  background: #121922;
}

.boombox .vfd-screen {
  grid-area: 2 / 1;
  min-height: clamp(63px, 19.6cqi, 123px);
  gap: 3px;
  margin: calc(var(--panel-gap) * -.54) clamp(5px, 1.7cqi, 11px) clamp(5px, 1.7cqi, 11px);
  padding: 4px;
  border: 1px solid #407074;
  border-radius: 7px;
  background: radial-gradient(circle, #1a3e43 17%, transparent 36%) 0 0 / 4px 4px, #05181d;
  box-shadow: inset 0 0 5px 1px #03090c;
}

.boombox .vfd-top-row {
  color: #f0c85a;
  font: 700 clamp(7px, 1.95cqi, 12px)/1 var(--glass-type);
  letter-spacing: .08em;
}

.boombox #mAudioStatus {
  min-width: 0;
  padding: 3px 4px;
  border-radius: 4px;
  border: 1px solid #3d7279;
  color: #93e5ee;
  background: #082a34;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.boombox #liveClock { display: none; }
.boombox #mVfdBand { white-space: nowrap; padding-left: 4px; }

.boombox .vfd-marquee {
  font: 700 clamp(8px, 2.5cqi, 15px)/1.1 var(--glass-type);
  letter-spacing: .1em;
  color: #9be5ed;
  padding-top: 2px;
  text-shadow: 0 0 6px #4ddbe580;
}

.boombox .spectrum-bars { gap: 1px; height: auto; min-height: 12px; flex: 1; padding-top: 1px; overflow: hidden; }
.boombox .spec-bar { background: linear-gradient(#e7ca3b, #00e5be 27%, #00d9d7); border-radius: 0; }

.boombox .eq-bank, .boombox .cassette-deck, .boombox .knobs-row {
  border: 2px solid var(--rim);
  border-radius: clamp(9px, 3.2cqi, 17px);
  background: var(--plate);
  box-shadow: var(--rim-shadow);
}

.boombox .eq-bank {
  display: grid;
  grid-area: 3 / 1;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  padding: 2px 6px 6px;
}

.boombox .mobile-eq-head {
  display: flex;
  grid-column: 1 / -1;
  align-items: center;
  justify-content: space-between;
  font: 700 clamp(8px, 2.45cqi, 15px)/1 var(--panel-type);
  text-transform: uppercase;
  letter-spacing: .04em;
  margin: 0 4px;
}

.boombox #mEqFlat {
  border: 0;
  background: transparent;
  color: #e3edf4;
  font: 700 clamp(8px, 2.1cqi, 13px)/1 var(--glass-type);
  text-transform: uppercase;
  text-decoration: underline;
  padding: 7px 4px;
  cursor: pointer;
}

.boombox .eq-band { gap: 2px; }
.boombox .eq-band label { color: #9cdce5; font: 700 clamp(7px, 2cqi, 12px)/1 var(--glass-type); letter-spacing: .07em; }

.boombox .eq-band input[type='range'] {
  appearance: none;
  -webkit-appearance: none;
  width: min(34px, 100%);
  height: clamp(36px, 12cqw, 76px);
  background: transparent;
  margin: 0;
  touch-action: none;
}

.boombox .eq-band input::-webkit-slider-runnable-track {
  width: 4px;
  border: 1px solid #59616e;
  border-radius: 10px;
  background: #070a10;
}

.boombox .eq-band input::-webkit-slider-thumb {
  appearance: none;
  -webkit-appearance: none;
  width: clamp(14px, 4.1cqw, 26px);
  height: clamp(10px, 3cqw, 16px);
  margin-left: calc(clamp(14px, 4.1cqw, 26px) / -2 + 1px);
  border-radius: 3px;
  border: 1px solid #aebcce;
  background: linear-gradient(#f1f6fc, #8494ac 56%, #e7edf5);
  box-shadow: 0 1px 3px #090c13;
}

.boombox .eq-band input::-moz-range-track { width: 4px; border: 1px solid #59616e; border-radius: 10px; background: #070a10; }
.boombox .eq-band input::-moz-range-thumb { width: 16px; height: 11px; border-radius: 3px; border: 1px solid #aebcce; background: linear-gradient(#f1f6fc, #8494ac 56%, #e7edf5); }

.boombox .cassette-deck {
  grid-area: 4 / 1;
  gap: 4px;
  padding: 4px 7px 8px;
  background: linear-gradient(150deg, #141c2e, #070c17);
}

.boombox .mobile-cassette-head {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
  min-height: 20px;
  color: #bac8d7;
  font: 700 clamp(7px, 2cqi, 13px)/1 var(--glass-type);
  letter-spacing: .04em;
}

.boombox #mCounter {
  display: inline-block;
  padding: 2px 4px;
  border: 1px solid #4e5363;
  border-radius: 4px;
  color: #f8c34e;
  background: #030406;
  letter-spacing: .16em;
}

.boombox #mSource {
  border: 1px solid #4e818e;
  border-radius: 5px;
  padding: 4px 5px;
  background: #0c2331;
  color: #8cdddf;
  font: inherit;
  white-space: nowrap;
  cursor: pointer;
}

.boombox #mSource::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 4px;
  border-radius: 50%;
  background: #42d6a3;
  box-shadow: 0 0 4px #42d6a374;
}

.boombox .cassette-window {
  max-width: none;
  height: clamp(55px, 18.4cqi, 110px);
  padding: 4px 4%;
  border: 1px solid #596579;
  border-radius: 7px;
  background: linear-gradient(160deg, #303743, #121927 56%, #090d17 92%);
}

.boombox .cassette-window::before {
  content: '';
  position: absolute;
  left: 5%;
  right: 5%;
  bottom: 4%;
  height: 3px;
  border-radius: 6px;
  background: #753311;
  box-shadow: inset 0 1px 1px #d07c41aa;
}

.boombox .reel {
  width: clamp(26px, 10.2cqi, 63px);
  height: auto;
  aspect-ratio: 1;
  flex: none;
  border: 2px solid #d1dce8;
  background: radial-gradient(circle, #ffd14c 11%, #151d2a 12% 49%, #080b15 52%);
  box-shadow: 0 0 0 1px #8695a9;
}

.boombox #reelRight { background: radial-gradient(circle, #53d6e7 11%, #151d2a 12% 49%, #080b15 52%); }
.boombox .reel::after { content: ''; width: 53%; aspect-ratio: 1; border: 2px dashed #edf5ff; border-radius: 50%; }
.boombox .deck-emblem > svg { display: none; }

.boombox .mobile-cassette-logo {
  display: block;
  width: clamp(35px, 15cqi, 84px);
  aspect-ratio: 1.02;
  background: var(--paradox-radio-emblem) center / contain no-repeat;
  mix-blend-mode: screen;
  filter: drop-shadow(0 0 3px #52e3e7);
}

.boombox .controls-row { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); width: 100%; gap: 4px; }

.boombox .controls-row .hw-btn:not(.desktop-only) {
  display: grid;
  place-content: center;
  justify-items: center;
  min-width: 0;
  min-height: max(42px, 9.1cqi);
  padding: 1px;
  border: 1px solid #c5d0df;
  border-radius: 5px;
  background: linear-gradient(#f8fbff, #becbdc 32%, #718196 85%, #bacbde);
  color: #101b2a;
  box-shadow: 0 3px 0 #344251, inset 0 1px 1px #fff;
  font: 800 clamp(7px, 2.16cqi, 14px)/1 var(--panel-type);
  white-space: nowrap;
  gap: 3px;
}

.boombox .mobile-transport-label { display: grid; gap: 3px; justify-items: center; }
.boombox .controls-row .hw-btn span[aria-hidden] { font: 800 clamp(9px, 2.75cqi, 16px)/1 system-ui; }
.boombox #mPlay span { color: #17866d; }
.boombox #mPause span { color: #be620c; }
.boombox #btnStop span[aria-hidden] { color: #bf292e; }
.boombox .controls-row .hw-btn:disabled { opacity: .67; cursor: default; }
.boombox .controls-row .hw-btn:not(:disabled):active, .boombox .controls-row .hw-btn[aria-pressed='true'] { box-shadow: inset 0 2px 4px #1d283a; transform: translateY(2px); }

.boombox .knobs-row {
  grid-area: 5 / 1;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 3px;
  padding: 5px 4px 6px;
}

.boombox .knobs-row .slider-control {
  position: relative;
  display: grid;
  place-items: center;
  gap: 0;
}

.boombox .slider-control label, .boombox button.mobile-knob {
  display: grid;
  justify-items: center;
  gap: 3px;
  color: #e2e8ee;
  font: 700 clamp(6.8px, 2.2cqi, 14px)/1 var(--panel-type);
  text-transform: uppercase;
  text-align: center;
}

.boombox button.mobile-knob { align-content: center; border: 0; padding: 0; background: transparent; cursor: pointer; }
.boombox .slider-control label::before, .boombox button.mobile-knob > :first-child {
  content: '';
  display: block;
  width: clamp(28px, 9.2cqi, 58px);
  aspect-ratio: 1;
  border: 2px solid #dce8f4;
  border-radius: 50%;
  background: repeating-conic-gradient(#f1f7ff65 0deg 2deg, transparent 3deg 6deg), conic-gradient(from -10deg, #758392, #edf2f8, #8190a3, #334357, #dce4ef, #718195);
  box-shadow: inset 0 1px 3px #e9f2f7aa, 0 2px 4px #000b;
}

.boombox .slider-control label::after, .boombox button.mobile-knob::after {
  content: '';
  position: absolute;
  top: 10%;
  left: 50%;
  translate: -50%;
  width: 4px;
  height: clamp(6px, 2.7cqi, 14px);
  border-radius: 4px;
  background: var(--knob-indicator, #fd5552);
  transform: rotate(var(--knob-turn, 0deg));
  transform-origin: 50% 130%;
  pointer-events: none;
}

.boombox .slider-control:nth-child(3) { --knob-indicator: #44d5ef; }
.boombox #mBass, .boombox #mBand { position: relative; }
.boombox #mBass { --knob-indicator: #ffc249; }
.boombox #mBand { --knob-indicator: #53d5a1; }
.boombox #mBass[aria-pressed='false'] { --knob-indicator: #b4bbc3; }
.boombox #volVal, .boombox #mVibeValue, .boombox #mBassValue, .boombox #mBandValue {
  color: var(--knob-indicator, #8bdbe3);
  font: 700 clamp(7px, 2.05cqi, 12px)/1 var(--glass-type);
  letter-spacing: .06em;
}
.boombox #volVal { color: #8bdbe3; }

.boombox .slider-control input[type='range'] {
  position: absolute;
  inset: 0 0 auto;
  width: 100%;
  height: max(42px, 9.6cqi);
  margin: 0;
  opacity: 0;
}

.boombox .slider-control:focus-within label::before,
.boombox :is(.hw-btn, #mSource, #mEqFlat, .mobile-knob, .eq-band input):focus-visible {
  outline: 2px solid #8bedff;
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  .boombox .reel.spinning { animation: none; }
  .boombox :is(.tuning-needle, .vu-needle, .spec-bar) { transition: none; }
}

.watch-video-frame {
  position: relative;
  isolation: isolate;
  container-type: inline-size;
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 272px;
  margin-top: 14px;
  overflow: hidden;
  border-radius: 10px;
  background: #050a0e;
  outline: 1px solid #343e52;
}

.watch-video-player, .watch-video-overlays {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.watch-video-overlays {
  --video-inset: clamp(6px, 2%, 14px);
  pointer-events: none;
}

.watch-overlay-spin, .watch-overlay-radio, .watch-overlay-chrome {
  position: absolute;
  display: block;
  height: auto;
  mix-blend-mode: screen;
}

.watch-overlay-spin {
  top: var(--video-inset);
  left: var(--video-inset);
  width: clamp(36px, 15%, 96px);
}

.watch-overlay-spin img { display: block; width: 100%; height: auto; }

.watch-overlay-radio {
  top: var(--video-inset);
  right: var(--video-inset);
  width: clamp(34px, 12.5%, 85px);
}

.watch-overlay-chrome {
  bottom: calc(3% + clamp(16px, 3.48cqw, 23px) - 2px);
  left: 50%;
  transform: translateX(-50%);
  width: clamp(54px, 11.6cqw, 72px);
}


.boombox .main-deck > .speaker-box {
  --speaker-accent: #22d5e9;
  --mesh-pitch: clamp(5px, 1.5vw, 10px);
  --speaker-bolt: radial-gradient(circle, #0e1a24 29%, #607489 33%, #c0d0de 49%, #526378 58%, transparent 66%);
  width: 100%;
  min-width: 0;
  aspect-ratio: 0.89;
  flex-direction: column;
  justify-content: space-between;
  gap: clamp(3px, 0.7vw, 7px);
  padding: clamp(6px, 2vw, 14px);
  border: clamp(2px, 0.55vw, 5px) solid transparent;
  border-radius: clamp(12px, 3.55vw, 26px);
  background:
    var(--speaker-bolt) 6% 13% / 7% 7% no-repeat padding-box,
    var(--speaker-bolt) 94% 13% / 7% 7% no-repeat padding-box,
    var(--speaker-bolt) 6% 94% / 7% 7% no-repeat padding-box,
    var(--speaker-bolt) 94% 94% / 7% 7% no-repeat padding-box,
    radial-gradient(circle, #1b2531 21%, transparent 31%) 0 0 / var(--mesh-pitch) var(--mesh-pitch) repeat padding-box,
    radial-gradient(circle, #15212e 20%, transparent 29%) 50% 50% / var(--mesh-pitch) var(--mesh-pitch) repeat padding-box,
    linear-gradient(165deg, #070a10, #10151e 64%, #04070d) padding-box,
    linear-gradient(150deg, #f3fbff, #788799 28%, #dce6ee 55%, #697d92 80%, #bec9d6) border-box;
  box-shadow: inset 0 0 0 1px #050710, inset 0 0 15px #010309, 0 1px 2px #182331;
}

.boombox .main-deck > .speaker-box:is([data-channel="R"], :has(#wooferRight)) {
  --speaker-accent: #ffc64b;
}

.boombox .main-deck > .speaker-box .tweeter-ring {
  width: 85%;
  height: auto;
  aspect-ratio: 4.2;
  flex-shrink: 0;
  padding: 0;
  border: 1px solid #778598;
  border-radius: 999px;
  background: #060d1c;
  box-shadow: inset 0 0 0 1px #1c283a, 0 1px 3px #02050a;
}

.boombox .main-deck > .speaker-box .tweeter-dome {
  justify-content: flex-start;
  gap: 5%;
  padding: 0 5%;
  border: 0;
  border-radius: inherit;
  background: none;
  font-size: 0;
}

.boombox .main-deck > .speaker-box .tweeter-dome::before {
  content: "";
  width: 14%;
  flex: 0 0 14%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, #030711 23%, var(--speaker-accent) 31%, #24374b 40%, #d1e0ef 62%, #8ca0b2 74%);
  box-shadow: 0 0 0 1px #bacad9, 0 0 4px #718297;
}

.boombox .main-deck > .speaker-box .tweeter-dome::after {
  content: "PIEZO\a TWEETER";
  color: #eef5fb;
  font-family: var(--font-ui);
  font-size: clamp(7px, 2.1vw, 15px);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: 0.09em;
  white-space: pre;
}

.boombox .main-deck > .speaker-box:is([data-channel="R"], :has(#wooferRight)) .tweeter-dome {
  flex-direction: row-reverse;
  justify-content: space-between;
}

.boombox .main-deck > .speaker-box .woofer-chrome-bezel {
  --woofer-fastener: radial-gradient(circle, #172536 30%, #526778 38%, #8196a9 56%, #566a7d 64%, transparent 73%);
  width: 76%;
  height: auto;
  aspect-ratio: 1;
  flex-shrink: 0;
  padding: clamp(4px, 1.35vw, 10px);
  border: 1px solid #aebdcc;
  background:
    var(--woofer-fastener) 50% 5% / 7% 7% no-repeat,
    var(--woofer-fastener) 95% 50% / 7% 7% no-repeat,
    var(--woofer-fastener) 50% 95% / 7% 7% no-repeat,
    var(--woofer-fastener) 5% 50% / 7% 7% no-repeat,
    radial-gradient(circle, transparent 59%, #697e92 60%, #f9fcff 63%, #98a9bd 65%, #c8d5e1 68%, transparent 70%),
    conic-gradient(from 10deg, #b9c8d7, #5c7186, #c6d2dd, #dde8f2, #768a9d, #eef6fc, #b9c8d7);
  box-shadow: 0 3px 6px #000a, inset 0 1px 3px #e9f4ff;
}

.boombox .main-deck > .speaker-box .woofer-surround {
  border: 0;
  background: radial-gradient(circle, #0a0e16 59%, #202b38 62%, #080e18 68%, #344452 73%, #121a26 77%);
}

.boombox .main-deck > .speaker-box .woofer-cone {
  width: 84%;
  height: 84%;
  background: radial-gradient(circle, #101b29 54%, #1a2736 60%, #090e18 65%, #344455 69%, #111924 74%);
  box-shadow: inset 0 0 6px 2px #03050a;
}

.boombox .main-deck > .speaker-box .woofer-dustcap {
  width: 68%;
  height: 68%;
  border: 1px solid #7990a8;
  background: radial-gradient(circle at 50% 40%, #154457, #071325 65%, #050916 96%);
  box-shadow: 0 0 0 1px #354a61, inset 0 0 5px #060917, 0 1px 5px #050815;
}

.boombox .main-deck > .speaker-box .woofer-dustcap svg {
  display: none;
}

.boombox .main-deck > .speaker-box .woofer-dustcap::after {
  content: "";
  width: 79%;
  height: 80%;
  background: var(--paradox-radio-emblem) center / contain no-repeat;
  mix-blend-mode: screen;
}

.boombox .main-deck > .speaker-box .bass-port {
  width: 73%;
  height: auto;
  min-height: clamp(11px, 3.6vw, 24px);
  padding: 2px 5%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7%;
  border: 1px solid #899bae;
  background: #030810;
  color: #e2edf8;
  box-shadow: inset 0 1px 2px #294252;
}

.boombox .main-deck > .speaker-box .bass-port::before {
  content: "";
  width: clamp(4px, 1.3vw, 9px);
  aspect-ratio: 1;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--speaker-accent);
  box-shadow: 0 0 3px var(--speaker-accent);
}

.boombox .main-deck > .speaker-box .bass-port::after {
  content: "BASS REFLEX · L";
  font-family: var(--font-tech);
  font-size: clamp(6px, 1.62vw, 11px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.09em;
  white-space: nowrap;
}

.boombox .main-deck > .speaker-box:is([data-channel="R"], :has(#wooferRight)) .bass-port {
  flex-direction: row-reverse;
}

.boombox .main-deck > .speaker-box:is([data-channel="R"], :has(#wooferRight)) .bass-port::after {
  content: "BASS REFLEX · R";
}

.boombox .vfd-marquee-window { min-width: 0; max-width: 100%; overflow: hidden; }
.boombox .vfd-marquee-window .vfd-marquee { width: max-content; max-width: none; overflow: visible; text-overflow: clip; }
.boombox .vfd-marquee[data-crawl="on"] { animation: paradox-vfd-crawl var(--crawl-duration, 8s) linear infinite alternate; }
@keyframes paradox-vfd-crawl { 0%, 20% { transform: translateX(0); } 80%, 100% { transform: translateX(var(--crawl-end)); } }
@media (prefers-reduced-motion: reduce) {
 .boombox .vfd-marquee-window .vfd-marquee { width: auto; white-space: normal; overflow-wrap: anywhere; animation: none; }
}

/* The install shortcut stays visible in normal browser mode, above the player. */
#installBanner {
  flex: 0 0 auto;
  position: relative;
  z-index: 4;
  /* The carry handle protrudes 34px above the radio chassis. */
  margin: 0 0 44px;
  margin-top: env(safe-area-inset-top, 0px);
}
#installBanner[hidden], #installHelp[hidden] { display: none !important; }
#installHelp { margin: 7px 0 0; padding: 9px 12px; border: 1px solid #45606b; border-radius: 6px;
  background: #111e26; color: #e5f1f3; font: .875rem/1.45 system-ui, sans-serif; }

#archiveToggle { margin: 0 0 10px; min-height: 44px; }
#archiveSlot[hidden] { display: none !important; }
