/* Whisper TV — the interfaces. Each is scoped by its own class (.u1 … .u5)
   and fills the stage under the picker. Scaffolding only. */
@font-face { font-family: "TeX Gyre Heros"; src: url("../fonts/texgyreheros-regular.woff2") format("woff2"); }
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); height: 100vh; height: 100dvh; background: #111; color: #eee; font: 13px/1.4 -apple-system, "Segoe UI", sans-serif; overflow: hidden; }
button { font: inherit; color: inherit; cursor: pointer; }

/* ── picker ── */
.pick { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; padding: 8px 14px; background: #0b0b0b; border-bottom: 1px solid #2a2a2a; z-index: 20; }
.pick__back { color: #9a9a9a; text-decoration: none; }
.pick__title { font-weight: 600; }
.pick__tabs { display: flex; gap: 4px; min-width: 0; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.pick__tabs button { flex: none; padding: 5px 11px; border: 0; border-radius: 999px; background: #222; color: #ccc; }
.pick__tabs button[aria-pressed="true"] { background: #FF4D00; color: #fff; }
.pick__note { flex-basis: 100%; margin: 0; color: #8d8d8d; font-size: 12px; }
.stage { position: relative; min-height: 0; overflow: hidden; }
.stage > * { position: absolute; inset: 0; }
.stage > .frame { width: 100%; height: 100%; border: 0; background: #2659c9; }

/* ── shared screen bits ── */
.scr { position: relative; overflow: hidden; isolation: isolate; }
.scr__vid { position: absolute; inset: 0; background: #000; }
.scr__vid > * { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.scr__static { position: absolute; inset: 0; z-index: 3; width: 100%; height: 100%; opacity: 0; pointer-events: none; image-rendering: pixelated; transition: opacity .1s; }
.scr__static.is-on { opacity: .9; }
.scr__touch { position: absolute; inset: 0; z-index: 5; width: 100%; height: 100%; padding: 0; border: 0; background: transparent; touch-action: pan-x; }
.scr__off { position: absolute; inset: 0; z-index: 6; display: grid; place-content: center; justify-items: center; gap: 10px; text-align: center; }
.is-on .scr__off { display: none; }

/* ═════════ 1 · The living room ═════════ */
.u1 { display: grid; place-items: center; overflow: auto; font-family: Georgia, serif;
  background:
    radial-gradient(60% 50% at 18% 10%, rgba(255,230,170,.45), transparent 70%),
    linear-gradient(transparent 74%, #6b4426 74%, #8a5a33 82%, #5a381e 100%),
    repeating-linear-gradient(90deg, #d8c39b 0 34px, #d2bb90 34px 36px, #d8c39b 36px 70px, #cdb487 70px 72px); }
.u1__set { --w: min(60vw, calc((100dvh - 130px) * .86)); width: var(--w); transform: perspective(1500px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .4s cubic-bezier(.2,.8,.2,1); transform-style: preserve-3d; margin-top: 4vh; }
.u1__ears { position: relative; height: calc(var(--w) * .16); }
.u1__ears i { position: absolute; bottom: 0; left: 50%; width: 3px; height: 100%; background: linear-gradient(90deg, #ddd, #888); transform-origin: bottom; border-radius: 2px; }
.u1__ears i:first-child { transform: rotate(-28deg); } .u1__ears i:nth-child(2) { transform: rotate(24deg); }
.u1__ears b { position: absolute; bottom: -6px; left: calc(50% - 22px); width: 44px; height: 16px; border-radius: 22px 22px 4px 4px; background: linear-gradient(#5a5e66, #2b2e33); }
.u1__tv { display: grid; grid-template-columns: minmax(0, 1fr) 17%; gap: 3%; padding: 3.2%; border-radius: 22px; background: linear-gradient(170deg, #4a4e55, #26282d 60%, #1a1b1f);
  box-shadow: inset 0 2px 0 rgba(255,255,255,.18), inset 0 -4px 10px rgba(0,0,0,.5), 0 30px 40px -18px rgba(0,0,0,.7); }
.u1__bezel { padding: 3.5%; border-radius: 16px; background: linear-gradient(#141518, #08090a); box-shadow: inset 0 0 0 2px #2c2e33, inset 0 6px 14px rgba(0,0,0,.9); }
.u1__glass { aspect-ratio: 4 / 3; border-radius: 9% / 12%; background: #0b0d0c; }
.u1__glass .scr__vid { inset: 12.5% 0; filter: saturate(1.2) contrast(1.1) brightness(1.05); }
/* the curve: scanlines and the window's reflection bent by #tvBarrel,
   the glass shaded darker toward its edges, a highlight across the bulge */
.u1__lines { position: absolute; inset: -6%; z-index: 2; pointer-events: none; filter: url(#tvBarrel); opacity: .9;
  background: repeating-linear-gradient(rgba(0,0,0,.32) 0 1.5px, transparent 1.5px 4px); }
.u1__glare { position: absolute; inset: -6%; z-index: 2; pointer-events: none; filter: url(#tvBarrel); mix-blend-mode: screen;
  background:
    linear-gradient(105deg, transparent 18%, rgba(255,240,210,.10) 19%, rgba(255,240,210,.10) 30%, transparent 31%),
    linear-gradient(105deg, transparent 34%, rgba(255,240,210,.07) 35%, rgba(255,240,210,.07) 40%, transparent 41%),
    repeating-linear-gradient(90deg, transparent 0 19.6%, rgba(255,255,255,.035) 19.6% 20%); }
.u1__bulge { position: absolute; inset: 0; z-index: 2; pointer-events: none; border-radius: inherit;
  background: radial-gradient(70% 34% at 42% 7%, rgba(255,255,255,.16), transparent 70%), radial-gradient(130% 120% at 50% 50%, transparent 52%, rgba(0,0,0,.72) 100%);
  box-shadow: inset 0 0 30px 6px rgba(0,0,0,.8), inset 0 0 3px 2px rgba(0,0,0,.9); }
.u1__osd { position: absolute; z-index: 4; top: 14%; left: 9%; display: grid; font: bold clamp(12px, 2vw, 22px)/1.1 "Courier New", monospace; color: #7dff6a; text-shadow: 0 0 6px #4f4, 2px 2px 0 #000; opacity: 0; transition: opacity .2s; pointer-events: none; }
.u1__osd span { font-size: .65em; text-transform: uppercase; }
.u1__osd.is-on { opacity: 1; }
.u1__off { background: radial-gradient(#141815, #060707); }
.u1__powerhint { padding: 8px 16px; border: 1px solid #3c4; border-radius: 4px; background: rgba(40,80,40,.3); color: #8f8; font: 13px "Courier New", monospace; letter-spacing: .1em; }
.u1.is-on .u1__glass { animation: u1on .7s cubic-bezier(.2,.8,.2,1); }
@keyframes u1on { 0% { clip-path: inset(49.4% 0); filter: brightness(5); } 40% { clip-path: inset(48% 0); filter: brightness(3); } 100% { clip-path: inset(0); filter: none; } }
.u1__side { display: grid; align-content: start; justify-items: center; gap: 8%; padding-top: 6%; }
.u1__dial { position: relative; width: 82%; aspect-ratio: 1; padding: 0; border: 0; border-radius: 50%; background: radial-gradient(circle at 40% 35%, #6c7079, #2c2e33 70%); box-shadow: 0 4px 6px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,255,255,.3); }
.u1__dial::before { content: ""; position: absolute; inset: 6%; border-radius: 50%; transform: rotate(var(--turn, 0deg)); transition: transform .35s cubic-bezier(.3,1.6,.5,1);
  background: repeating-conic-gradient(from 0deg, #c9ccd2 0 2deg, transparent 2deg 30deg); mask: radial-gradient(circle, transparent 62%, #000 63%); -webkit-mask: radial-gradient(circle, transparent 62%, #000 63%); }
.u1__dialface { position: absolute; inset: 24%; display: grid; place-items: center; border-radius: 50%; background: #1b1c20; box-shadow: inset 0 2px 4px #000; color: #ffb347; font: bold clamp(12px, 1.6vw, 20px) "Courier New", monospace; }
.u1__lbl { font: 9px/1 Arial, sans-serif; letter-spacing: .14em; color: #9da1a8; }
.u1__grille { width: 70%; height: calc(var(--w) * .14); background: repeating-linear-gradient(#0d0e10 0 3px, transparent 3px 7px); border-radius: 3px; }
.u1__power { position: relative; width: 44%; aspect-ratio: 1.4; border: 0; border-radius: 4px; background: linear-gradient(#3f4248, #24262a); box-shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 2px 3px rgba(0,0,0,.6); }
.u1__power i { position: absolute; top: 18%; right: 14%; width: 6px; height: 6px; border-radius: 50%; background: #521; }
.u1.is-on .u1__power i { background: #f33; box-shadow: 0 0 6px #f33; }
.u1__brand { font: italic bold clamp(9px, 1.1vw, 13px) Arial, sans-serif; letter-spacing: .2em; color: #b9bdc4; }
.u1__stand { margin: 0 6%; padding: 2.4% 4%; border-radius: 0 0 10px 10px; background: linear-gradient(#7a4f2c, #5b391d); box-shadow: inset 0 3px 6px rgba(0,0,0,.4), 0 20px 30px -10px rgba(0,0,0,.6); }
.u1__vcr { display: flex; align-items: center; gap: 4%; padding: 2% 3%; border-radius: 4px; background: linear-gradient(#2e3035, #17181b); box-shadow: inset 0 1px 0 rgba(255,255,255,.12); }
.u1__vfd { flex: 1; display: flex; flex-wrap: wrap; gap: 0 10px; padding: 4px 8px; border-radius: 3px; background: #071312; color: #3ef4e0; text-shadow: 0 0 6px rgba(62,244,224,.7); font: clamp(10px, 1.4vw, 15px) "Courier New", monospace; }
.u1__vfd i { font-style: normal; text-transform: uppercase; opacity: .8; }
.u1__vfdplay { opacity: .35; } .u1.is-playing .u1__vfdplay { opacity: 1; }
.u1__slot { width: 24%; height: 10px; border-radius: 2px; background: #050505; box-shadow: inset 0 1px 2px #000, 0 1px 0 rgba(255,255,255,.1); }
.u1__vcrbtns { display: flex; gap: 3px; }
.u1__vcrbtns button { padding: 2px 6px; border: 0; border-radius: 2px; background: #45484f; color: #ddd; font-size: 10px; }
.u1__remote { position: absolute; right: 2.5vw; bottom: 6vh; width: min(150px, 16vw); padding: 14px 12px 16px; border-radius: 26px 26px 34px 34px; background: linear-gradient(90deg, #222428, #3a3d43 50%, #222428); box-shadow: 0 18px 24px -8px rgba(0,0,0,.6); transform: rotate(-14deg); display: grid; gap: 10px; }
.u1__rpow { justify-self: end; width: 26px; height: 26px; border: 0; border-radius: 50%; background: #c62828; color: #fff; font-size: 12px; }
.u1__rgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.u1__rgrid button, .u1__rpad button { height: 22px; padding: 0; border: 0; border-radius: 6px; background: linear-gradient(#5e626a, #44474e); color: #eee; font: bold 10px Arial, sans-serif; box-shadow: 0 2px 0 #1a1b1e; }
.u1__rgrid button[aria-pressed="true"] { background: #ffb347; color: #222; }
.u1__rpad { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; }
.u1__rpad button[aria-pressed="true"] { background: #d6315a; }
.u1__key { margin: 0; color: #9a9ea6; font: 8px/1.3 Arial, sans-serif; }
.u1__card { position: absolute; left: 4vw; bottom: 6vh; display: grid; gap: 6px; width: min(270px, 26vw); padding: 14px 16px 16px; background: #fffdf5; color: #222; transform: rotate(3deg); box-shadow: 0 12px 20px -8px rgba(0,0,0,.5); border-top: 22px solid #c4161c; }
.u1__card b { font: bold 15px Georgia, serif; }
.u1__card span { font: italic 16px/1.3 Georgia, serif; }
.u1__card small { color: #777; font: 11px Arial, sans-serif; }
.u1__card a { color: #c4161c; }
@media (max-width: 820px) {
  .u1 { place-items: start center; padding: 12px 0 24px; }
  .u1__set { --w: 94vw; margin-top: 0; }
  .u1__remote, .u1__card { position: static; transform: none; width: 92vw; margin: 12px auto 0; }
  .u1__remote { border-radius: 20px; }
  .u1 { display: block; }
}

/* ═════════ 2 · Whisper Y2K ═════════ */
.u2 { --glow: #FF4D00; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 4vw; padding: 3vh 5vw; overflow: auto; color: #130F0C; font-family: "TeX Gyre Heros", Helvetica, sans-serif; letter-spacing: -0.01em;
  background:
    radial-gradient(40% 50% at 82% 30%, color-mix(in srgb, var(--glow) 28%, transparent), transparent 70%),
    radial-gradient(35% 45% at 10% 90%, rgba(0,100,243,.16), transparent 70%),
    radial-gradient(rgba(19,15,12,.12) 1px, transparent 1.3px) 0 0 / 14px 14px,
    #F4F1EC; transition: background .8s; }
.u2__kick { margin: 0 0 10px; font-size: 13px; letter-spacing: .04em; color: rgba(19,15,12,.6); }
.u2__logo { margin: 0; font-weight: 400; font-size: clamp(56px, 8.5vw, 132px); line-height: .86; letter-spacing: -0.06em; }
.u2__logo span { background: linear-gradient(180deg, #ffffff 0%, #d3d6dc 26%, #4b505a 47%, #f4f5f7 53%, #9aa0aa 74%, #e8eaee 100%); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-stroke: 1.2px rgba(19,15,12,.55); filter: drop-shadow(0 6px 10px rgba(19,15,12,.18)); }
.u2__logo i { display: inline-block; margin-left: .08em; padding: 0 .18em .06em; border-radius: 999px; font-style: normal; font-size: .38em; vertical-align: .9em; color: #fff; letter-spacing: -0.03em;
  background: linear-gradient(#ff9a5c, #ff4d00 55%, #d83f00); box-shadow: inset 0 2px 0 rgba(255,255,255,.55), 0 6px 12px -4px rgba(255,77,0,.6); }
.u2__q { margin: 28px 0 0; max-width: 22ch; font-size: clamp(22px, 2.6vw, 36px); line-height: 1.1; letter-spacing: -0.035em; }
.u2__q cite { display: block; margin-top: 12px; font-style: normal; font-size: 14px; letter-spacing: 0; color: rgba(19,15,12,.6); }
.u2__q cite b { font-weight: 400; color: #130F0C; }
.u2__chans { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 26px; }
.u2__pill { position: relative; padding: 8px 15px; border: 1px solid rgba(19,15,12,.18); border-radius: 999px; overflow: hidden; color: #130F0C; font-size: 14px;
  background: linear-gradient(#ffffff, #ebe6de); box-shadow: 0 2px 4px rgba(19,15,12,.12); }
.u2__pill::before, .u2__btn::before { content: ""; position: absolute; left: 8%; right: 8%; top: 2px; height: 46%; border-radius: 999px; background: linear-gradient(rgba(255,255,255,.9), rgba(255,255,255,.1)); pointer-events: none; }
.u2__pill[aria-pressed="true"] { color: #fff; border-color: #c43a00; background: linear-gradient(#ff9a5c, #ff4d00 55%, #d83f00); }
.u2__imac { display: grid; justify-items: center; }
.u2__shell { position: relative; width: min(40vw, 58vh); padding: 7% 7% 14%; border-radius: 40% 40% 36% 36% / 22% 22% 40% 40%;
  background: linear-gradient(165deg, rgba(255,160,90,.92), rgba(255,77,0,.82) 45%, rgba(190,50,0,.92)); box-shadow: inset 0 3px 0 rgba(255,255,255,.55), inset 0 -10px 30px rgba(120,25,0,.45), 0 30px 60px -20px rgba(150,40,0,.55); }
/* the insides, faintly visible through the plastic */
.u2__shell::before { content: ""; position: absolute; inset: 16% 18% 18%; border-radius: 30%; background: radial-gradient(circle at 30% 40%, rgba(80,20,0,.35), transparent 40%), radial-gradient(circle at 70% 60%, rgba(80,20,0,.3), transparent 35%), repeating-linear-gradient(90deg, rgba(90,25,0,.18) 0 2px, transparent 2px 9px); filter: blur(2px); }
.u2__shell::after { content: ""; position: absolute; left: 10%; right: 30%; top: 3%; height: 16%; border-radius: 999px; background: linear-gradient(rgba(255,255,255,.65), rgba(255,255,255,0)); }
.u2__front { position: relative; z-index: 1; padding: 6% 6% 9%; border-radius: 14% / 16%; background: linear-gradient(#fdfbf7, #e9e4dc); box-shadow: inset 0 2px 0 #fff, 0 4px 14px rgba(120,30,0,.35); }
.u2__glass { aspect-ratio: 4 / 3; border-radius: 7% / 9%; background: #120d0a;
  box-shadow: 0 0 0 3px #d9d2c6, 0 0 40px 6px color-mix(in srgb, var(--glow) 55%, transparent), inset 0 0 0 1px #000; transition: box-shadow .8s; }
.u2__glass .scr__vid { inset: 12.5% 0; filter: saturate(1.15) contrast(1.06) brightness(1.06); }
/* aperture grille: fine vertical RGB stripes and the two damper wires */
.u2__grille { position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background:
    linear-gradient(transparent calc(33.3% - .5px), rgba(0,0,0,.35) calc(33.3% - .5px), rgba(0,0,0,.35) calc(33.3% + .5px), transparent calc(33.3% + .5px)),
    linear-gradient(transparent calc(66.6% - .5px), rgba(0,0,0,.35) calc(66.6% - .5px), rgba(0,0,0,.35) calc(66.6% + .5px), transparent calc(66.6% + .5px)),
    repeating-linear-gradient(90deg, rgba(255,40,40,.16) 0 1px, rgba(40,255,90,.13) 1px 2px, rgba(50,90,255,.16) 2px 3px),
    radial-gradient(120% 110% at 50% 50%, transparent 60%, rgba(0,0,0,.55) 100%); }
.u2__shine { position: absolute; inset: 0; z-index: 2; pointer-events: none; background: radial-gradient(80% 40% at 35% 6%, rgba(255,255,255,.18), transparent 70%); box-shadow: inset 0 0 26px rgba(0,0,0,.65); border-radius: inherit; }
.u2__off { background: radial-gradient(circle, #2a1810, #100906); color: #ffcfae; font-size: 13px; }
.u2__go { padding: 10px 20px; border: 0; border-radius: 999px; color: #fff; font: 16px "TeX Gyre Heros", sans-serif; background: linear-gradient(#ff9a5c, #ff4d00 55%, #d83f00); box-shadow: inset 0 2px 0 rgba(255,255,255,.55), 0 6px 16px rgba(255,77,0,.5); }
.u2.is-on .u2__glass { animation: u2on .9s ease; }
@keyframes u2on { 0% { filter: brightness(3) blur(4px); } 100% { filter: none; } }
.u2__apple { position: absolute; left: 50%; bottom: 2.4%; transform: translateX(-50%); color: #ff4d00; font-size: 15px; letter-spacing: -0.04em; }
.u2__neck { width: 26%; height: 18px; margin-top: -4px; border-radius: 0 0 40% 40%; background: linear-gradient(rgba(255,120,50,.85), rgba(200,60,0,.85)); }
.u2__deck { position: relative; display: flex; align-items: center; gap: 8px; width: min(36vw, 52vh); margin-top: 6px; padding: 8px 12px; border-radius: 999px;
  background: linear-gradient(rgba(255,170,110,.9), rgba(255,90,20,.85) 60%, rgba(210,60,0,.9)); box-shadow: inset 0 2px 0 rgba(255,255,255,.5), 0 12px 24px -10px rgba(150,40,0,.6); }
.u2__btn { position: relative; display: grid; place-items: center; width: 34px; height: 34px; padding: 0; overflow: hidden; border: 1px solid rgba(120,30,0,.4); border-radius: 50%; color: #130F0C; background: linear-gradient(#fff, #e7e1d8); box-shadow: 0 2px 4px rgba(120,30,0,.35); }
.u2__btn--big { width: 44px; height: 44px; color: #fff; background: linear-gradient(#3a3532, #130F0C); border-color: #000; }
.u2__btn--txt { width: auto; padding: 0 12px; border-radius: 999px; font: 13px "TeX Gyre Heros", sans-serif; }
.u2__btn[aria-pressed="true"][data-act="fave"] { color: #fff; background: linear-gradient(#ff8fb0, #d6315a); }
.u2__ps { display: none; } .u2.is-playing .u2__p { display: none; } .u2.is-playing .u2__ps { display: inline; }
.u2__bar { flex: 1; height: 8px; border-radius: 999px; background: rgba(120,30,0,.35); box-shadow: inset 0 1px 2px rgba(0,0,0,.3); overflow: hidden; }
.u2__bar i { display: block; height: 100%; width: calc(var(--p, 0) * 100%); border-radius: inherit; background: linear-gradient(#fff, #f0e9df); }
.u2__spark { position: absolute; left: var(--x); top: var(--y); color: #FF4D00; font-size: 22px; pointer-events: none; animation: twinkle 2.4s var(--d, 0s) ease-in-out infinite; }
@keyframes twinkle { 0%, 100% { opacity: .15; transform: scale(.6) rotate(0); } 50% { opacity: 1; transform: scale(1.1) rotate(20deg); } }
@media (max-width: 820px) {
  .u2 { grid-template-columns: 1fr; align-content: start; padding: 20px 16px 30px; }
  .u2__imac { order: -1; }
  .u2__shell { width: 88vw; } .u2__deck { width: 86vw; }
  .u2__q { margin-top: 16px; }
}

/* ═════════ 3 · Pocket TV ═════════ */
.u3 { display: grid; place-items: center; overflow: auto; padding: 16px; background: radial-gradient(rgba(74,32,114,.14) 1.5px, transparent 1.8px) 0 0 / 12px 12px, #D1D8FF; }
.u3__dev { --w: min(360px, 88vw, calc((100dvh - 190px) * .54)); position: relative; width: var(--w); padding: calc(var(--w) * .07) calc(var(--w) * .07) calc(var(--w) * .1); border-radius: 18px 18px 64px 18px;
  background: linear-gradient(150deg, #fff27a, #FFE600 40%, #e9c900); box-shadow: inset 0 3px 0 rgba(255,255,255,.7), inset -6px -8px 14px rgba(150,110,0,.35), 0 26px 40px -14px rgba(74,32,114,.5); font-family: Verdana, sans-serif; color: #2a2160; }
.u3__ant { position: absolute; right: 12%; top: 0; width: 5px; height: 0; transform: translateY(-100%) rotate(14deg); transform-origin: bottom; transition: height .6s cubic-bezier(.2,.8,.2,1); }
.u3__ant i { position: absolute; inset: 0; border-radius: 3px; background: linear-gradient(90deg, #eee, #8c8c8c, #eee); }
.u3__ant::after { content: ""; position: absolute; top: -6px; left: -3px; width: 11px; height: 11px; border-radius: 50%; background: #c8c8c8; }
.is-ant .u3__ant { height: calc(var(--w) * .55); }
.u3__bezel { padding: 4% 6% 5%; border-radius: 10px 10px 34px 10px; background: #4a4e5c; box-shadow: inset 0 2px 6px rgba(0,0,0,.5); }
.u3__bez { margin: 0 0 4px; color: #c7cbd8; font-size: 8px; letter-spacing: .12em; }
.u3__bez span { color: #FF4D00; font-weight: bold; }
.u3__glass { aspect-ratio: 4 / 3; border-radius: 6px; background: #000; box-shadow: inset 0 0 0 2px #23252c; }
.u3__glass .scr__vid { inset: 12.5% 0; transition: filter .4s; }
[data-tint="green"] .u3__glass .scr__vid { filter: grayscale(1) sepia(1) hue-rotate(62deg) saturate(4) contrast(1.25) brightness(.95); }
[data-tint="amber"] .u3__glass .scr__vid { filter: grayscale(1) sepia(1) saturate(5) hue-rotate(-14deg) contrast(1.2) brightness(.95); }
[data-tint="color"] .u3__glass .scr__vid { filter: saturate(1.3) contrast(1.1); }
/* shadow mask: a triad of R, G and B phosphor dots, and the dark between them */
.u3__mask { position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background:
    radial-gradient(circle at 25% 30%, rgba(255,50,50,.22) .7px, transparent 1.1px) 0 0 / 4px 4px,
    radial-gradient(circle at 75% 30%, rgba(50,255,90,.2) .7px, transparent 1.1px) 0 0 / 4px 4px,
    radial-gradient(circle at 50% 80%, rgba(60,100,255,.22) .7px, transparent 1.1px) 0 0 / 4px 4px,
    repeating-linear-gradient(rgba(0,0,0,.22) 0 1px, transparent 1px 3px),
    radial-gradient(120% 120% at 50% 50%, transparent 55%, rgba(0,0,0,.6) 100%); }
.u3__shine { position: absolute; inset: 0; z-index: 2; pointer-events: none; background: linear-gradient(160deg, rgba(255,255,255,.18), transparent 35%); }
.u3__hud { position: absolute; z-index: 4; top: 4%; left: 4%; right: 4%; display: flex; justify-content: space-between; color: #fff; font: bold 9px "Courier New", monospace; text-shadow: 1px 1px 0 #000; text-transform: uppercase; pointer-events: none; }
.u3__off { background: #0a0f0a; color: #9f9; font: bold 12px "Courier New", monospace; }
.u3__off b { font-size: 18px; letter-spacing: .1em; }
.u3__who { margin: 6px 0 0; color: #e7e9f1; font-size: 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.u3__who span { color: #a7abbb; }
.u3__logo { margin: 10px 0 0; font: italic bold 15px "Trebuchet MS", sans-serif; color: #2a2160; letter-spacing: -0.02em; }
.u3__logo i { margin-left: 4px; padding: 1px 6px; border-radius: 4px; font-size: 11px; color: #fff; background: linear-gradient(90deg, #FF4D00, #d6315a, #4A2072, #0064F3); }
.u3__pad { display: flex; justify-content: space-between; align-items: center; margin-top: 8%; }
.u3__dpad { position: relative; display: grid; grid-template-columns: repeat(3, calc(var(--w) * .1)); grid-template-rows: repeat(3, calc(var(--w) * .1)); }
.u3__dpad button { padding: 0; border: 0; background: #2c2f3a; color: #555a6c; font-size: 9px; box-shadow: 0 3px 0 #15161c; }
.u3__dpad button:active { transform: translateY(2px); box-shadow: 0 1px 0 #15161c; }
.u3__u { grid-area: 1 / 2; border-radius: 4px 4px 0 0 !important; } .u3__l { grid-area: 2 / 1; border-radius: 4px 0 0 4px !important; } .u3__r { grid-area: 2 / 3; border-radius: 0 4px 4px 0 !important; } .u3__d { grid-area: 3 / 2; border-radius: 0 0 4px 4px !important; }
.u3__dpad i { grid-area: 2 / 2; background: #2c2f3a; box-shadow: 0 3px 0 #15161c; }
.u3__ab { display: flex; gap: 12px; transform: rotate(-24deg); }
.u3__ab button { display: grid; place-items: center; width: calc(var(--w) * .16); height: calc(var(--w) * .16); padding: 0; border: 0; border-radius: 50%; color: #fff; font: bold 13px Verdana, sans-serif; line-height: 1;
  background: radial-gradient(circle at 35% 30%, #e0507a, #a51d4a 70%); box-shadow: 0 4px 0 #6b1131, inset 0 2px 0 rgba(255,255,255,.3); }
.u3__ab button small { font-size: 9px; opacity: .8; }
.u3__ab button:active { transform: translateY(3px); box-shadow: 0 1px 0 #6b1131; }
.u3__ab .u3__b { margin-top: 18px; }
.u3__ab button[aria-pressed="true"].u3__b { background: radial-gradient(circle at 35% 30%, #ff9ab6, #e0507a 70%); }
.u3__ss { display: flex; justify-content: center; gap: 16px; margin-top: 8%; }
.u3__ss button { display: grid; justify-items: center; gap: 3px; padding: 0; border: 0; background: none; color: #5a4e00; font: bold 8px Verdana, sans-serif; letter-spacing: .08em; }
.u3__ss button::before { content: ""; width: 34px; height: 9px; border-radius: 999px; background: #8a7c2a; transform: rotate(-24deg); box-shadow: inset 0 1px 2px rgba(0,0,0,.4); }
.u3__ss small { font-weight: normal; letter-spacing: 0; opacity: .7; }
.u3__spk { position: absolute; right: 8%; bottom: 6%; display: flex; gap: 5px; transform: rotate(-28deg); }
.u3__spk i { width: 4px; height: calc(var(--w) * .12); border-radius: 3px; background: #c9ab00; box-shadow: inset 0 1px 2px rgba(0,0,0,.35); }
.u3__tint { position: absolute; left: 50%; bottom: calc(var(--w) * -.14); transform: translateX(-50%); display: flex; gap: 2px; padding: 3px; border-radius: 999px; background: rgba(42,33,96,.12); }
.u3__tint button { padding: 4px 10px; border: 0; border-radius: 999px; background: transparent; color: #2a2160; font: bold 9px Verdana, sans-serif; letter-spacing: .08em; }
.u3__tint button[aria-checked="true"] { background: #2a2160; color: #fff; }

/* ═════════ 4 · Channel 2001 ═════════ */
.u4 { position: absolute; inset: 0; container-type: size; background: #000; font-family: "Arial Black", "Helvetica Neue", Arial, sans-serif; color: #fff; }
.u4__vid { filter: saturate(1.4) contrast(1.06) blur(.45px); animation: u4jitter .12s steps(2) infinite; }
.u4__vid > * { inset: auto; left: 50%; top: 50%; width: max(100cqw, 177.78cqh); height: max(100cqh, 56.25cqw); transform: translate(-50%, -50%); }
@keyframes u4jitter { 50% { transform: translateX(.6px); } }
.u4__track { position: absolute; left: 0; right: 0; z-index: 2; height: 9%; pointer-events: none; opacity: .32; mix-blend-mode: screen; animation: u4track 7s linear infinite;
  background: repeating-linear-gradient(90deg, rgba(255,255,255,.7) 0 2px, transparent 2px 7px, rgba(255,255,255,.4) 7px 8px, transparent 8px 19px); filter: blur(.6px); }
@keyframes u4track { from { top: -12%; } to { top: 112%; } }
.u4__scan { position: absolute; inset: 0; z-index: 2; pointer-events: none; background: repeating-linear-gradient(rgba(0,0,0,.25) 0 1px, transparent 1px 3px), radial-gradient(130% 120% at 50% 50%, transparent 55%, rgba(0,0,0,.7) 100%); }
.u4.is-glitch .u4__vid { animation: u4glitch .5s steps(6); }
@keyframes u4glitch { 0% { transform: translateX(-14px) skewX(8deg); filter: hue-rotate(90deg) saturate(3); } 30% { transform: translateX(10px) skewX(-6deg); } 60% { transform: translateX(-4px); filter: hue-rotate(-40deg); } 100% { transform: none; } }
.u4__bug { position: absolute; z-index: 4; top: 5%; right: 4%; display: grid; place-items: center; width: clamp(56px, 7cqw, 90px); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 35% 30%, rgba(255,255,255,.55), rgba(255,255,255,.12) 60%); box-shadow: inset 0 0 0 2px rgba(255,255,255,.5); opacity: .75; animation: u4spin 8s ease-in-out infinite; }
.u4__bug span { font-size: 1.8em; line-height: .8; text-shadow: 0 2px 4px rgba(0,0,0,.5); }
.u4__bug small { font-size: .7em; letter-spacing: .1em; }
@keyframes u4spin { 0%, 70% { transform: rotateY(0); } 85%, 100% { transform: rotateY(360deg); } }
.u4__vhs { position: absolute; z-index: 4; top: 5%; left: 4%; display: grid; gap: 4px; font: bold clamp(16px, 2.6cqw, 34px) "Courier New", monospace; text-shadow: 3px 3px 0 #000, 0 0 8px rgba(255,255,255,.5); }
.u4__date { font-size: .55em; }
.u4__play { animation: blink 1.4s steps(2) infinite; }
.u4:not(.is-playing) .u4__play { animation: none; }
@keyframes blink { 50% { opacity: .2; } }
.u4__lower { position: absolute; z-index: 4; left: 4%; bottom: 17%; max-width: min(760px, 70cqw); opacity: 0; transform: translateX(-30px); }
.u4.is-lower .u4__lower { animation: u4lower 10s cubic-bezier(.2,.8,.2,1) forwards; }
@keyframes u4lower { 0% { opacity: 0; transform: translateX(-30px); } 8%, 85% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateX(-30px); } }
.u4__name { display: inline-flex; align-items: baseline; gap: 12px; padding: 6px 18px 6px 14px; transform: skewX(-12deg); background: linear-gradient(#5aa8ff, #0064F3 48%, #0047b8 52%, #0a56d8); box-shadow: inset 0 2px 0 rgba(255,255,255,.6), 0 4px 12px rgba(0,0,0,.5); border-left: 6px solid #FFE600; }
.u4__name b { font-size: clamp(14px, 1.8cqw, 24px); text-transform: uppercase; font-style: italic; }
.u4__name span { font: bold clamp(10px, 1.1cqw, 14px) Arial, sans-serif; text-transform: uppercase; opacity: .85; }
.u4__lower p { margin: 8px 0 0; padding: 8px 14px; background: rgba(0,0,0,.6); font: bold clamp(15px, 2.1cqw, 28px)/1.2 Arial, sans-serif; text-shadow: 2px 2px 0 #000; }
.u4__next { position: absolute; z-index: 4; right: 4%; bottom: 17%; display: grid; padding: 10px 16px; background: linear-gradient(#fff36a, #FFE600 50%, #e2c800); color: #130F0C; box-shadow: inset 0 2px 0 rgba(255,255,255,.7), 0 6px 14px rgba(0,0,0,.5); transform: translateX(130%) skewX(-12deg); transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.u4.is-next .u4__next { transform: skewX(-12deg); }
.u4__next small { font: bold 10px Arial, sans-serif; letter-spacing: .12em; }
.u4__next b { font-size: clamp(12px, 1.4cqw, 18px); }
.u4__crawl { position: absolute; z-index: 4; left: 0; right: 0; bottom: 0; display: flex; align-items: center; height: clamp(30px, 5cqh, 44px); overflow: hidden; background: linear-gradient(#1a1a40, #050518); border-top: 3px solid #FF4D00; font: bold clamp(11px, 1.3cqw, 15px) Arial, sans-serif; white-space: nowrap; }
.u4__crawl > b { flex: none; height: 100%; display: grid; place-items: center; padding: 0 14px; background: #FF4D00; font-family: "Arial Black", sans-serif; z-index: 1; }
.u4__crawlin { padding-left: 100%; animation: u4crawl 40s linear infinite; }
@keyframes u4crawl { to { transform: translateX(-100%); } }
.u4__chans { position: absolute; z-index: 7; top: 5%; left: 50%; transform: translateX(-50%); display: flex; gap: 4px; max-width: 54cqw; overflow-x: auto; scrollbar-width: none; }
.u4__chan { flex: none; padding: 4px 10px; border: 1px solid rgba(255,255,255,.4); border-radius: 3px; background: rgba(0,0,0,.45); font: bold 11px Arial, sans-serif; text-transform: uppercase; }
.u4__chan[aria-pressed="true"] { background: #FF4D00; border-color: #FF4D00; }
.u4__keys { position: absolute; z-index: 7; right: 4%; bottom: calc(clamp(30px, 5cqh, 44px) + 12px); display: flex; gap: 4px; opacity: .25; transition: opacity .3s; }
.u4:hover .u4__keys { opacity: 1; }
.u4.is-next .u4__keys { bottom: calc(clamp(30px, 5cqh, 44px) + 80px); }
.u4__keys button { padding: 6px 10px; border: 1px solid rgba(255,255,255,.5); background: rgba(0,0,0,.6); font: bold 11px Arial, sans-serif; }
.u4__keys button[aria-pressed="true"][data-act="fave"] { background: #d6315a; }
.u4__off { background: #000; }
/* SMPTE colour bars while it's off */
.u4__bars { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, #c0c0c0 0 14.28%, #c0c000 0 28.57%, #00c0c0 0 42.85%, #00c000 0 57.14%, #c000c0 0 71.42%, #c00000 0 85.71%, #0000c0 0); }
.u4__bars::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 25%; background: linear-gradient(90deg, #00214c 0 18%, #fff 0 36%, #32006a 0 54%, #131313 0); }
.u4__off button { padding: 14px 26px; border: 3px solid #fff; background: #000; font: 900 clamp(16px, 2.2cqw, 26px) "Arial Black", sans-serif; letter-spacing: .04em; box-shadow: 6px 6px 0 #FF4D00; }

/* ═════════ 5 · Arcade ═════════ */
.u5 { display: grid; place-items: center; overflow: auto; padding: 16px; font-family: "Courier New", monospace;
  background: radial-gradient(40% 30% at 20% 20%, rgba(180,60,255,.35), transparent 70%), radial-gradient(40% 30% at 80% 70%, rgba(0,140,255,.3), transparent 70%), linear-gradient(#0b0620, #05030f); }
.u5__cab { --w: min(380px, 86vw, calc((100dvh - 170px) * .46)); position: relative; width: var(--w); padding: 0 calc(var(--w) * .06); border-radius: 10px 10px 4px 4px;
  background: linear-gradient(90deg, #FF4D00 0 3%, #d6315a 3% 5%, #120c1e 5% 95%, #d6315a 95% 97%, #FF4D00 97%); box-shadow: 0 0 40px rgba(214,49,90,.35), 0 30px 50px -20px #000; }
.u5__marquee { display: grid; justify-items: center; margin: 0 calc(var(--w) * -.04); padding: 8px 0 6px; border-radius: 8px 8px 0 0; background: linear-gradient(#ffd0a8, #ff8a4c 40%, #ff4d00); box-shadow: 0 0 30px rgba(255,120,40,.7), inset 0 2px 0 rgba(255,255,255,.7); animation: u5flick 5s infinite; }
.u5__marquee b { font: 900 calc(var(--w) * .13) / 1 "Arial Black", Impact, sans-serif; letter-spacing: .04em; color: #fff; -webkit-text-stroke: 2px #6b1131; text-shadow: 0 4px 0 #6b1131, 0 0 18px rgba(255,255,255,.8); }
.u5__marquee span { font: bold 10px Arial, sans-serif; letter-spacing: .3em; color: #6b1131; }
@keyframes u5flick { 0%, 92%, 96%, 100% { filter: none; } 94% { filter: brightness(.55); } }
.u5__bezel { margin-top: 10px; padding: 7%; border-radius: 6px; background: linear-gradient(135deg, #2a0f4a, #120625 50%, #08203f); box-shadow: inset 0 0 0 2px #3c1b6b; }
.u5__glass { container-type: size; aspect-ratio: 3 / 4; border-radius: 10% / 7%; background: #000; box-shadow: 0 0 28px 4px rgba(120,170,255,.45), inset 0 0 0 2px #000; }
.u5__vid { filter: saturate(1.35) contrast(1.15) brightness(1.1); }
.u5__vid > * { left: 50%; right: auto; width: 177.78cqh; transform: translateX(-50%); }
/* a vertical monitor: the scanlines run up and down, bent by #tvBarrel */
.u5__lines { position: absolute; inset: -6%; z-index: 2; pointer-events: none; filter: url(#tvBarrel); background: repeating-linear-gradient(90deg, rgba(0,0,0,.4) 0 1.5px, transparent 1.5px 4px); }
.u5__glow { position: absolute; inset: 0; z-index: 2; pointer-events: none; border-radius: inherit; mix-blend-mode: screen;
  background: radial-gradient(60% 30% at 40% 8%, rgba(255,255,255,.2), transparent 70%), radial-gradient(90% 70% at 50% 50%, rgba(80,120,255,.12), transparent 70%);
  box-shadow: inset 0 0 40px rgba(0,0,0,.9); }
.u5__hud { position: absolute; z-index: 4; top: 3%; left: 6%; right: 6%; display: flex; justify-content: space-between; font: bold calc(var(--w) * .038) "Courier New", monospace; color: #ff3b5c; text-shadow: 0 0 6px #ff3b5c, 2px 2px 0 #000; pointer-events: none; }
.u5__hud b { color: #fff; }
.u5__life { position: absolute; z-index: 4; top: 9%; left: 6%; right: 6%; height: 7px; background: #200; box-shadow: 0 0 0 1px #ff3b5c; pointer-events: none; }
.u5__life i { display: block; height: 100%; width: calc((1 - var(--p, 0)) * 100%); background: repeating-linear-gradient(90deg, #ffe600 0 6px, #ff9d00 6px 8px); box-shadow: 0 0 8px #ffe600; }
.u5__cap { position: absolute; z-index: 4; left: 6%; right: 6%; bottom: 5%; display: grid; gap: 4px; pointer-events: none; }
.u5__cap b { color: #ffe600; font-size: calc(var(--w) * .036); text-transform: uppercase; text-shadow: 2px 2px 0 #000; }
.u5__cap span { color: #fff; font: bold calc(var(--w) * .042)/1.2 Arial, sans-serif; text-shadow: 2px 2px 0 #000, 0 0 8px rgba(0,0,0,.8); }
.u5__off { background: radial-gradient(#140a2a, #000); color: #fff; gap: 14px; }
.u5__title { font: 900 calc(var(--w) * .12)/.9 "Arial Black", Impact, sans-serif; color: #ff4d00; text-shadow: 0 0 14px #ff4d00, 4px 4px 0 #6b1131; }
.u5__blink { color: #ffe600; font-weight: bold; font-size: calc(var(--w) * .05); animation: blink 1s steps(2) infinite; text-shadow: 0 0 8px #ffe600; }
.u5__hi { margin: 0; padding: 0; list-style: none; width: 76%; font-size: calc(var(--w) * .032); color: #6cf; text-shadow: 0 0 6px #39f; }
.u5__hi li { display: flex; justify-content: space-between; } .u5__hi li:first-child { color: #ff3b5c; margin-bottom: 4px; }
.u5__panel { display: flex; align-items: center; justify-content: space-between; margin: 12px calc(var(--w) * -.06) 0; padding: 14px 18px; background: linear-gradient(#2a1a48, #160c2a); border-top: 3px solid #FF4D00; transform: perspective(500px) rotateX(18deg); transform-origin: top; }
.u5__stick { position: relative; display: grid; justify-items: center; gap: 2px; }
.u5__stick button { padding: 0 8px; border: 0; background: none; color: #8f7bb8; font-size: 10px; }
.u5__stick i { width: 10px; height: 34px; border-radius: 5px; background: linear-gradient(90deg, #333, #999, #333); position: relative; transition: transform .15s; }
.u5__stick i::before { content: ""; position: absolute; top: -14px; left: -9px; width: 28px; height: 28px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #ff8a8a, #d6001c 70%); box-shadow: 0 3px 6px rgba(0,0,0,.6); }
.u5__stick[data-lean="prev"] i { transform: rotate(-16deg); } .u5__stick[data-lean="next"] i { transform: rotate(16deg); }
.u5__btns { display: flex; gap: 10px; }
.u5__b { display: grid; place-items: center; width: calc(var(--w) * .15); aspect-ratio: 1; padding: 0; border: 0; border-radius: 50%; box-shadow: 0 5px 0 rgba(0,0,0,.6), inset 0 -4px 6px rgba(0,0,0,.35), inset 0 3px 0 rgba(255,255,255,.4); font: bold 10px Arial, sans-serif; color: #fff; text-shadow: 0 1px 0 rgba(0,0,0,.5); }
.u5__b:active { transform: translateY(4px); box-shadow: 0 1px 0 rgba(0,0,0,.6), inset 0 -2px 4px rgba(0,0,0,.35); }
.u5__b--r { background: #e0002a; } .u5__b--y { background: #f2c200; color: #3a2a00; } .u5__b--b { background: #1a6bff; }
.u5__b--y[aria-pressed="true"] { background: #ff6a9a; color: #fff; }
.u5__door { display: grid; justify-items: center; gap: 10px; margin: 14px 0 0; padding: 14px 0 18px; background: #0d0818; border-top: 2px solid #2b1b4a; }
.u5__coin { display: flex; align-items: center; gap: 10px; padding: 8px 14px; border: 2px solid #ff3b5c; border-radius: 4px; background: #1a0007; color: #ff3b5c; font: bold 12px "Courier New", monospace; text-shadow: 0 0 6px #ff3b5c; box-shadow: 0 0 16px rgba(255,59,92,.4); animation: u5coin 1.6s ease-in-out infinite; }
.u5__coin span { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff, #b8b8b8); color: #333; font-size: 9px; text-shadow: none; }
@keyframes u5coin { 50% { box-shadow: 0 0 26px rgba(255,59,92,.8); } }
.u5.is-on .u5__coin { animation: none; opacity: .5; }
.u5__chans { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; padding: 0 8px; }
.u5__chan { padding: 3px 8px; border: 1px solid #4b3a7a; border-radius: 3px; background: none; color: #a998d8; font: bold 10px "Courier New", monospace; text-transform: uppercase; }
.u5__chan[aria-pressed="true"] { border-color: #ffe600; color: #ffe600; text-shadow: 0 0 6px #ffe600; }

@media (prefers-reduced-motion: reduce) { .stage *, .stage *::before, .stage *::after { animation: none !important; transition: none !important; } }
