/* hetu tv: a 1950s walnut table set, the radio's cousin. Rabbit ears, a chrome-ringed tube whose
   picture bulges like curved glass (an SVG warp, see #crt in tv.html), a VHF dial numbered 2 to 13,
   woven speaker cloth. Full screen keeps the cream bezel and walnut around the picture. */
:root {
  --room: #120a06;
  --walnut-1: #7a3f1c; --walnut-2: #5a2c12; --walnut-3: #351707;
  --cream: #f1e4c6; --cream-2: #d9c59c; --cream-3: #b9a37a;
  --chrome-1: #fbfbf7; --chrome-2: #a9a59c; --chrome-3: #5d5a54;
  --amber: #ffb547; --amber-hot: #ffd98a;
  --phosphor: #9dffb5;
  --ink: #f6ead2; --ink-soft: #c9b48f; --ink-faint: #8f7a5c;
  --wood:
    repeating-linear-gradient(92deg, transparent 0 7px, rgba(0,0,0,.07) 7px 9px, rgba(255,220,180,.03) 9px 14px),
    repeating-linear-gradient(88deg, transparent 0 23px, rgba(40,15,0,.12) 23px 25px),
    radial-gradient(ellipse 120% 60% at 30% 10%, rgba(255, 190, 130, .2), transparent 60%),
    linear-gradient(180deg, var(--walnut-1), var(--walnut-2) 55%, var(--walnut-3));
}
* { box-sizing: border-box; }
body.tv-page { margin: 0; min-height: 100vh; min-height: 100dvh; background: var(--room); color: var(--ink);
  font-family: Inter, system-ui, sans-serif; -webkit-font-smoothing: antialiased; overflow-x: hidden;
  -webkit-tap-highlight-color: transparent; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--amber-hot); outline-offset: 3px; border-radius: 8px; }
.defs { position: absolute; width: 0; height: 0; overflow: hidden; }

.room { position: fixed; inset: 0; z-index: -1; pointer-events: none; transition: background 1s;
  background:
    radial-gradient(ellipse 70% 45% at 50% 0%, rgba(255, 190, 110, .16), transparent 70%),
    radial-gradient(ellipse 90% 50% at 50% 100%, rgba(120, 60, 20, .32), transparent 70%),
    linear-gradient(180deg, #1b100a, var(--room) 40%, #0b0603); }
body.on .room { background:
    radial-gradient(ellipse 55% 40% at 42% 30%, rgba(150, 200, 255, .13), transparent 70%),
    radial-gradient(ellipse 70% 45% at 50% 0%, rgba(255, 190, 110, .1), transparent 70%),
    linear-gradient(180deg, #1b100a, var(--room) 40%, #0b0603); }

.topbar { position: relative; z-index: 3; display: flex; justify-content: space-between; align-items: center; gap: 8px;
  padding: max(12px, env(safe-area-inset-top)) 16px 4px; max-width: 900px; margin: 0 auto; }
.top-actions { display: flex; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px; border-radius: 999px;
  color: var(--ink-soft); background: rgba(255, 230, 190, .07); border: 1px solid rgba(255, 230, 190, .12);
  text-decoration: none; font-size: 14px; font-weight: 500; transition: background .2s, color .2s; }
.chip:hover { background: rgba(255, 230, 190, .14); color: var(--ink); }
.chip.round { width: 38px; padding: 0; justify-content: center; }
.chip.small { height: 32px; font-size: 13px; padding: 0 12px; }
.chip[aria-pressed="true"] { color: #2a1606; background: var(--amber); border-color: var(--amber); }

main { max-width: 900px; margin: 0 auto; padding: 8px 16px max(28px, env(safe-area-inset-bottom)); }

/* ---- the set ---- */
.set { position: relative; margin-top: 64px; }

/* rabbit ears */
.antenna { position: absolute; left: 50%; top: -58px; width: 0; height: 60px; z-index: 0; }
.antenna .base { position: absolute; left: -26px; bottom: -6px; width: 52px; height: 22px; border-radius: 26px 26px 6px 6px;
  background: radial-gradient(circle at 40% 25%, #4a4844, #1a1918 70%); box-shadow: 0 2px 0 rgba(0,0,0,.5); }
.antenna .rod { position: absolute; bottom: 8px; left: -1.5px; width: 3px; height: 130px; border-radius: 3px; transform-origin: 50% 100%;
  background: linear-gradient(90deg, var(--chrome-3), var(--chrome-1), var(--chrome-2)); transition: transform .5s cubic-bezier(.3,1.6,.5,1); }
.antenna .rod::after { content: ""; position: absolute; top: -5px; left: -3px; width: 9px; height: 9px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff, var(--chrome-2) 60%, var(--chrome-3)); }
.antenna .left { transform: rotate(-32deg); }
.antenna .right { transform: rotate(27deg); height: 116px; }
.antenna.wiggle .left { animation: wig-l .7s ease-out; }
.antenna.wiggle .right { animation: wig-r .7s ease-out; }
@keyframes wig-l { 30% { transform: rotate(-22deg); } 60% { transform: rotate(-38deg); } 100% { transform: rotate(-32deg); } }
@keyframes wig-r { 30% { transform: rotate(37deg); } 60% { transform: rotate(22deg); } 100% { transform: rotate(27deg); } }

.cabinet { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 176px; gap: 16px; padding: 18px;
  border-radius: 34px; background: var(--wood);
  box-shadow: inset 0 2px 0 rgba(255, 215, 170, .35), inset 0 -10px 22px rgba(0,0,0,.5),
    0 50px 70px -35px rgba(0,0,0,.95), 0 0 0 1px rgba(0,0,0,.65); }

.bezel { position: relative; padding: 16px 16px 12px; border-radius: 30px;
  background: radial-gradient(ellipse 120% 80% at 30% 10%, #fffaf0, var(--cream) 40%, var(--cream-2) 85%, var(--cream-3));
  box-shadow: inset 0 2px 0 rgba(255,255,255,.75), inset 0 -4px 8px rgba(90, 50, 20, .35), 0 4px 0 rgba(0,0,0,.4), 0 10px 20px -8px rgba(0,0,0,.6); }
.chrome { padding: 5px; border-radius: 27px / 31px;
  background: linear-gradient(145deg, var(--chrome-1), var(--chrome-3) 30%, var(--chrome-1) 55%, var(--chrome-2) 75%, var(--chrome-3));
  box-shadow: 0 1px 2px rgba(0,0,0,.5), inset 0 1px 1px rgba(255,255,255,.8); }
.badge { margin: 10px auto 0; width: max-content; padding: 2px 14px 4px; border-radius: 999px; font-family: Yellowtail, cursive; font-size: 22px; line-height: 1.1;
  color: #5d3a1a; background: linear-gradient(180deg, var(--chrome-1), var(--chrome-2) 60%, var(--chrome-1));
  box-shadow: 0 1px 2px rgba(0,0,0,.45), inset 0 1px 0 #fff; text-shadow: 0 1px 0 rgba(255,255,255,.7); }

/* the picture tube: 4:3, a fat rounded rectangle of curved glass */
.tube { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 22px / 26px; background: #040605; isolation: isolate;
  box-shadow: inset 0 0 0 2px #0e0c0a; }
.picture-layer { position: absolute; inset: 0; overflow: hidden; background: #000; }
body.fx-full .picture-layer { filter: url(#crt) saturate(1.12) contrast(1.08) brightness(1.04); }
body.fx-lite .picture-layer { filter: saturate(1.12) contrast(1.08) brightness(1.04); }
.picture-layer video, .picture-layer canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.picture-layer video { object-fit: contain; opacity: 0; transition: opacity .5s; }
.tube.picture video { opacity: 1; }
.picture-layer canvas { image-rendering: pixelated; opacity: 0; transition: opacity .25s; }
.tube.snowy canvas { opacity: .92; }
.tube.picture.snowy canvas { opacity: .35; }   /* buffering: a little snow over the picture */

/* scanlines and a slow rolling bar, inside the warp so they curve with the glass */
.scan { position: absolute; inset: 0; pointer-events: none; mix-blend-mode: multiply; opacity: .6;
  background: repeating-linear-gradient(180deg, rgba(255,255,255,0) 0 2px, rgba(0,0,0,.42) 2px 3px); }
.roll { position: absolute; left: 0; right: 0; top: -30%; height: 30%; pointer-events: none; mix-blend-mode: screen; opacity: 0;
  background: linear-gradient(180deg, transparent, rgba(255,255,255,.05) 45%, rgba(255,255,255,.08) 50%, rgba(255,255,255,.05) 55%, transparent); }
body.on .roll { opacity: 1; animation: roll 9s linear infinite; }
@keyframes roll { to { transform: translateY(440%); } }

.grain { position: absolute; inset: 0; pointer-events: none; z-index: 3; opacity: .07; mix-blend-mode: overlay; background-size: 128px 128px; }
body.on .grain { animation: grain .5s steps(4) infinite; }
@keyframes grain { 25% { background-position: 40px 70px; } 50% { background-position: 90px 20px; } 75% { background-position: 10px 100px; } }
.glass { position: absolute; inset: 0; pointer-events: none; z-index: 4; border-radius: inherit;
  background:
    radial-gradient(ellipse 70% 45% at 28% 10%, rgba(255,255,255,.16), transparent 55%),
    radial-gradient(ellipse 30% 18% at 80% 88%, rgba(255,255,255,.05), transparent 70%),
    radial-gradient(ellipse 110% 100% at center, transparent 58%, rgba(0,0,0,.6) 100%);
  box-shadow: inset 0 0 30px 6px rgba(0,0,0,.75), inset 0 0 3px 1px rgba(0,0,0,.9); }
body.on .glass { animation: flicker 4s infinite; }
@keyframes flicker { 0%, 100% { opacity: 1; } 47% { opacity: 1; } 48% { opacity: .93; } 49% { opacity: 1; } 73% { opacity: .97; } 74% { opacity: 1; } }

/* off: the picture squeezes to a line, then a dot that fades, like the real thing */
.dot { position: absolute; left: 50%; top: 50%; width: 6px; height: 6px; margin: -3px; border-radius: 50%; z-index: 5;
  background: #fff; box-shadow: 0 0 18px 6px rgba(200, 230, 255, .8); opacity: 0; pointer-events: none; }
.tube.switching-off .dot { animation: dot 1.1s ease-out forwards; }
@keyframes dot { 0% { opacity: 1; transform: scale(40, .4); } 25% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: scale(.3); } }
.tube.switching-on .picture-layer { animation: warm .9s ease-out; }
@keyframes warm { 0% { transform: scaleY(.01); } 35% { transform: scaleY(1); } }

.card { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; gap: 6px; padding: 20px; transition: opacity .3s; }
.tube.picture .card { opacity: 0; pointer-events: none; }
.card-big { font-family: Yellowtail, cursive; font-size: clamp(34px, 8vw, 66px); color: #dfe9ff; text-shadow: 0 0 18px rgba(140, 180, 255, .7); }
.card-small { font-family: VT323, monospace; font-size: clamp(18px, 4vw, 28px); color: var(--phosphor); letter-spacing: .04em; text-shadow: 0 0 8px rgba(120, 255, 160, .6); }
.tube.off .card-big { color: #2c3034; text-shadow: none; }
.tube.off .card-small { color: #263029; text-shadow: none; }

.osd { position: absolute; top: 8%; right: 8%; display: flex; flex-direction: column; align-items: flex-end;
  font-family: VT323, monospace; color: var(--phosphor); text-shadow: 0 0 6px rgba(120,255,160,.9), 2px 2px 0 #000;
  opacity: 0; transition: opacity .4s; pointer-events: none; }
.osd span:first-child { font-size: clamp(34px, 8vw, 60px); line-height: .9; }
.osd span:last-child { font-size: clamp(16px, 3.4vw, 24px); letter-spacing: .06em; text-transform: uppercase; }
.osd.show { opacity: 1; }

/* ---- the side: speaker cloth and dials ---- */
.side { display: flex; flex-direction: column; gap: 14px; }
.cloth { flex: 1; min-height: 90px; border-radius: 16px; position: relative;
  background:
    repeating-linear-gradient(0deg, rgba(0,0,0,.22) 0 1px, transparent 1px 3px),
    repeating-linear-gradient(90deg, rgba(0,0,0,.18) 0 1px, transparent 1px 3px),
    linear-gradient(180deg, #c8ad7c, #a88b5c);
  box-shadow: inset 0 3px 8px rgba(0,0,0,.55), 0 0 0 3px #2a1408, 0 0 0 4px rgba(255,220,180,.15); }
.cloth::after { content: ""; position: absolute; inset: 18% 14%; border-radius: 50%;
  background: radial-gradient(circle, rgba(0,0,0,.18), transparent 70%); }
.dials { display: flex; flex-direction: column; align-items: center; gap: 14px; }

.vhf { position: relative; width: 132px; height: 132px; }
/* the dial is a drawing (viewBox 0..100), so it looks the same at any size */
.vhf-face { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 50%; overflow: visible;
  transition: transform .45s cubic-bezier(.3,1.4,.5,1); filter: drop-shadow(0 3px 4px rgba(0,0,0,.55)); }
.vhf-face text { font-family: Oswald, sans-serif; font-weight: 600; font-size: 10.5px; fill: #b9a37a; transition: transform .45s cubic-bezier(.3,1.4,.5,1); }
.vhf-face text.live { fill: #5d3a1a; }
.vhf-face text.here { fill: #c0311f; }
.vhf-face line { stroke: #8f7a5c; stroke-width: 1; stroke-linecap: round; }
.vhf-knob { position: absolute; inset: 26%; border-radius: 50%;
  background: repeating-conic-gradient(from 0deg, rgba(0,0,0,.18) 0 6deg, transparent 6deg 12deg),
    radial-gradient(circle at 35% 30%, #5a3218, #3a1d0b 60%, #1d0d04);
  box-shadow: 0 5px 9px rgba(0,0,0,.7), inset 0 2px 2px rgba(255,200,150,.25); transition: transform .45s cubic-bezier(.3,1.4,.5,1); }
.vhf-knob .knob-mark { left: 46%; top: 7%; width: 8%; height: 24%; margin: 0; background: var(--cream); }
.vhf-pointer { position: absolute; left: 45%; top: -7%; width: 10%; height: 8%; background: #c0311f;
  clip-path: polygon(0 0, 100% 0, 50% 100%); filter: drop-shadow(0 1px 0 rgba(0,0,0,.5)); }

.small-dials { display: flex; gap: 18px; }
.knob-wrap { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.dial-wrap { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.knob { position: relative; width: 50px; height: 50px; border-radius: 50%; touch-action: none;
  background:
    repeating-conic-gradient(from 0deg, rgba(0,0,0,.18) 0 6deg, transparent 6deg 12deg),
    radial-gradient(circle at 35% 30%, #fffdf6, #d8d2c4 40%, #8c867a 75%, #4c4840);
  box-shadow: 0 6px 10px rgba(0,0,0,.6), inset 0 -3px 4px rgba(0,0,0,.35), 0 0 0 2px #2a1408;
  transition: transform .25s cubic-bezier(.3, 1.6, .5, 1); }
.knob-mark { position: absolute; left: 50%; top: 5px; width: 4px; height: 13px; margin-left: -2px; border-radius: 2px; background: #8c2f1c; }
.knob-label { display: flex; align-items: center; gap: 6px; font-family: Oswald, sans-serif; font-size: 11px; letter-spacing: .2em;
  text-transform: uppercase; color: var(--cream-2); }
.knob-label button { width: 24px; height: 24px; border-radius: 6px; background: rgba(255,230,190,.1); color: var(--cream); }
.power { width: 50px; height: 50px; border-radius: 50%; font-size: 19px; color: #6b4a2a;
  background: radial-gradient(circle at 35% 30%, #fff6e0, var(--cream) 50%, var(--cream-2));
  box-shadow: 0 6px 10px rgba(0,0,0,.6), inset 0 -3px 4px rgba(0,0,0,.25), 0 0 0 2px #2a1408; transition: color .3s, box-shadow .3s; }
.power[aria-pressed="true"] { color: #d0291c; box-shadow: 0 6px 10px rgba(0,0,0,.6), inset 0 -3px 4px rgba(0,0,0,.25), 0 0 0 2px #2a1408, 0 0 16px rgba(255, 90, 60, .55); }

.legs { display: flex; justify-content: space-between; padding: 0 9%; height: 30px; }
.legs i { width: 16px; height: 100%; border-radius: 0 0 6px 6px; background: linear-gradient(90deg, var(--walnut-3), var(--walnut-1), var(--walnut-3)); transform: skewX(-9deg); }
.legs i:nth-child(2) { visibility: hidden; }
.legs i:last-child { transform: skewX(9deg); }

/* ---- full screen ----
   Two fixed designs, drawn in units of --u that tv.js sets so the design just fits the window:
   wide (150 x 90 units: screen on the left, speaker and dials on the right) and tall (92 x 110:
   speaker and dials under the screen). tv.js picks whichever gives the bigger picture, and the
   whole set scales as one, so every device gets the same proportions. Real full screen and the
   iPhone stand-in (the set covering the window) look the same. */
.exit-full { display: none; }
body.fake-full { overflow: hidden; }
body.fake-full .topbar, body.fake-full .guide, body.fake-full .antenna, body.fake-full .legs { visibility: hidden; }
.cabinet.is-full { --u: 6px; position: fixed; inset: 0; z-index: 50; width: auto; height: auto; margin: 0; padding: 0; border-radius: 0;
  display: grid; place-content: center; align-items: center; gap: calc(var(--u) * 4);
  grid-template-columns: calc(var(--u) * 112) calc(var(--u) * 34); grid-template-rows: calc(var(--u) * 90); }
.cabinet.is-full .bezel { padding: calc(var(--u) * 2.6) calc(var(--u) * 2.6) calc(var(--u) * 1.6); border-radius: calc(var(--u) * 4.5); }
.cabinet.is-full .chrome { padding: calc(var(--u) * 0.7); border-radius: calc(var(--u) * 4) / calc(var(--u) * 4.6); }
.cabinet.is-full .tube { border-radius: calc(var(--u) * 3.4) / calc(var(--u) * 4); }
.cabinet.is-full .badge { font-size: calc(var(--u) * 2.6); margin-top: calc(var(--u) * 1.1); padding: 0 calc(var(--u) * 1.6) calc(var(--u) * 0.3); }
.cabinet.is-full .side { align-self: stretch; flex-direction: column; justify-content: space-between; gap: calc(var(--u) * 3); }
.cabinet.is-full .cloth { flex: 1; min-height: 0; border-radius: calc(var(--u) * 2); }
.cabinet.is-full .dials { flex-direction: column; gap: calc(var(--u) * 2.4); }
.cabinet.is-full .dial-wrap { gap: calc(var(--u) * 1.6); }
.cabinet.is-full .vhf { width: calc(var(--u) * 27); height: calc(var(--u) * 27); }
.cabinet.is-full .small-dials { flex-direction: row; gap: calc(var(--u) * 4); }
.cabinet.is-full .knob-wrap { gap: calc(var(--u) * 1); }
.cabinet.is-full .knob, .cabinet.is-full .power { width: calc(var(--u) * 7.5); height: calc(var(--u) * 7.5); }
.cabinet.is-full .power { font-size: calc(var(--u) * 2.8); }
.cabinet.is-full .knob > .knob-mark { top: calc(var(--u) * 0.7); width: calc(var(--u) * 0.55); height: calc(var(--u) * 2); margin-left: calc(var(--u) * -0.275); }
.cabinet.is-full .knob-label { font-size: calc(var(--u) * 1.55); gap: calc(var(--u) * 0.9); }
.cabinet.is-full .small-dials .knob-label { display: flex; }
.cabinet.is-full .knob-label button { width: calc(var(--u) * 3.2); height: calc(var(--u) * 3.2); border-radius: calc(var(--u) * 0.8); font-size: calc(var(--u) * 1.8); }
.cabinet.is-full[data-layout="tall"] { grid-template-columns: calc(var(--u) * 92); grid-template-rows: auto calc(var(--u) * 32); }
.cabinet.is-full[data-layout="tall"] .side { flex-direction: row; align-items: center; }
.cabinet.is-full[data-layout="tall"] .cloth { align-self: stretch; }
.cabinet.is-full[data-layout="tall"] .dials { flex-direction: row; gap: calc(var(--u) * 4); }
.cabinet.is-full[data-layout="tall"] .vhf { width: calc(var(--u) * 25); height: calc(var(--u) * 25); }
.cabinet.is-full[data-layout="tall"] .small-dials { flex-direction: column; gap: calc(var(--u) * 2); }
.cabinet.is-full .exit-full { display: grid; place-items: center; position: fixed; z-index: 2;
  right: max(14px, env(safe-area-inset-right)); top: max(14px, env(safe-area-inset-top));
  width: 44px; height: 44px; border-radius: 50%; color: var(--cream); background: rgba(30, 15, 5, .65); opacity: 0; transition: opacity .3s; }
.cabinet.is-full:hover .exit-full, .cabinet.is-full .exit-full:focus-visible { opacity: 1; }
@media (hover: none) { .cabinet.is-full .exit-full { opacity: .85; } }

/* ---- the tv guide ---- */
.guide { margin-top: 10px; padding: 16px; border-radius: 20px; background: rgba(255, 230, 190, .05); border: 1px solid rgba(255,230,190,.1); }
.guide-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.guide-title, .lineup-title { font-family: Oswald, sans-serif; font-size: 13px; font-weight: 500; letter-spacing: .3em; text-transform: uppercase; color: var(--amber); margin: 0; }
.lineup-title { margin-top: 22px; }
.now-label { font-size: 12px; color: var(--ink-faint); text-transform: uppercase; letter-spacing: .12em; }
.now-title { font-family: Oswald, sans-serif; font-size: 22px; font-weight: 500; margin-top: 2px; }
.now-about { font-size: 14px; color: var(--ink-soft); margin-top: 2px; }
.bar { height: 5px; border-radius: 3px; background: rgba(255,230,190,.1); margin-top: 12px; overflow: hidden; }
.bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--amber), var(--amber-hot)); border-radius: inherit; }
.now-times { display: flex; justify-content: space-between; font-size: 12px; color: var(--ink-faint); margin-top: 6px; font-variant-numeric: tabular-nums; }
.next { list-style: none; margin: 14px 0 0; padding: 0; display: grid; }
.next li { display: grid; grid-template-columns: 76px 1fr; gap: 10px; padding: 8px 0; border-top: 1px solid rgba(255,230,190,.08); font-size: 14px; }
.next .t { color: var(--amber); font-variant-numeric: tabular-nums; }
.lineup { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 6px; }
.lineup button { width: 100%; display: grid; grid-template-columns: 44px 1fr; gap: 12px; align-items: center; text-align: left; padding: 10px 12px;
  border-radius: 14px; background: rgba(255,230,190,.04); border: 1px solid transparent; transition: background .2s, border-color .2s; }
.lineup button:hover { background: rgba(255,230,190,.09); }
.lineup button[aria-current="true"] { border-color: rgba(255, 181, 71, .55); background: rgba(255, 181, 71, .08); }
.lineup .num { font-family: VT323, monospace; font-size: 30px; line-height: 1; color: var(--phosphor); text-shadow: 0 0 6px rgba(120,255,160,.5); text-align: center; }
.lineup .name { font-family: Oswald, sans-serif; font-size: 16px; font-weight: 500; }
.lineup .on-now { display: block; font-size: 13px; color: var(--ink-soft); margin-top: 1px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.credit { margin: 14px 0 0; font-size: 12px; color: var(--ink-faint); }
.credit a { color: var(--ink-soft); }

@media (max-width: 640px) {
  .set { margin-top: 46px; }
  .antenna { top: -40px; }
  .antenna .left { height: 84px; }
  .antenna .right { height: 74px; }
  .cabinet { grid-template-columns: 1fr; padding: 12px; gap: 12px; border-radius: 26px; }
  .bezel { padding: 10px 10px 8px; border-radius: 22px; }
  .badge { font-size: 18px; margin-top: 7px; }
  .side { flex-direction: row; align-items: center; }
  .cloth { min-height: 0; align-self: stretch; }
  .dials { flex-direction: row; gap: 12px; }
  .vhf { width: 108px; height: 108px; }
  .small-dials { flex-direction: column; gap: 10px; }
  .small-dials .knob-label { display: none; }
  .knob, .power { width: 44px; height: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  .tube.switching-on .picture-layer, .tube.switching-off .dot, body.on .roll, body.on .grain, body.on .glass, .antenna.wiggle .rod { animation: none; }
}
