/* ============================================================
   THEIR METHLAB: immersive RV lab
   Travel through the RV, freeze on a bird's-eye snapshot, read the page.
   Era: late-90s / early-00s alt (Ray Gun collage, xerox zines, VHS).
   Palette: "Sick Light", sampled from the hazmat-bus photo.
   ============================================================ */

/* Palette, built in OKLCH: one hue per ramp, chroma tapering toward the ends.
   Contrast figures are WCAG ratios against --ink.
   sick  (h 103, primary):   100 #f6ec8c · 200 #e3d86f · 300 #cec14b (10.5:1) · 500 #968800 · 700 #584e00 · 950 #141000
   glass (h 190, secondary): 200 #bfdbd8 · 400 #8caca9 (7.9:1) · 600 #576e6c · 800 #273635
   rust  (h 58, signal):     300 #fba865 · 400 #e58c40 (7.5:1) · 600 #98561a
   olive (h 103, neutrals tinted toward the primary): 100 #e9e8de · 200 #d6d5ca · 400 #a6a59b · 600 #6a6960 · 800 #34332b · 900 #202018 · 950 #101009 */
:root {
  --ink: #101009;           /* olive-950, page: never pure black */
  --ink-2: #1a1a12;         /* raised surface */
  --ink-3: #26261d;         /* top surface / hover */
  --paper: #e9e8de;         /* olive-100, body text (15.7:1) */
  --paper-2: #d6d5ca;       /* olive-200 */
  --muted: #a6a59b;         /* olive-400, secondary text (7.8:1) */
  --line: #34332b;          /* olive-800, hairlines */
  --teal: #cec14b;          /* PRIMARY: sick yellow (token name kept so existing rules follow) */
  --primary-hi: #f6ec8c;    /* sick-100 */
  --primary-lo: #584e00;    /* sick-700 */
  --on-primary: #141000;    /* text on primary fills */
  --cyan: #8caca9;          /* SECONDARY: window-glass grey-green */
  --teal-glow: rgba(206, 193, 75, .45);
  --hazmat: #cec14b;
  --rust: #e58c40;          /* SIGNAL: live, now playing, warnings */
  --red: #d2382a;           /* errors only */
  --hud: #e3d86f;           /* sick-200, HUD readouts */

  --f-display: "Bebas Neue", "Impact", "Haettenschweiler", sans-serif;
  --f-type: "Space Mono", "Courier New", monospace;
  --f-hud: "Space Mono", "Lucida Console", monospace;  /* one text face for everything but display */

  --gutter: clamp(16px, 3vw, 44px);
  --rail-w: 150px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--f-type);
  font-size: 16px;
  line-height: 1.55;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }

.defs { position: absolute; width: 0; height: 0; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: fixed; left: 12px; top: -60px; z-index: 100;
  background: var(--teal); color: var(--ink); padding: 8px 12px;
  font-family: var(--f-hud); font-size: 13px; text-decoration: none;
}
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }


/* Placeholder marker: everything in [BRACKETS] still needs real data */
.ph {
  background: repeating-linear-gradient(45deg, rgba(206,193,75,.16) 0 6px, transparent 6px 12px);
  outline: 1px dashed rgba(206,193,75,.55);
  outline-offset: 1px;
}
.ph-box {
  display: grid; place-items: center;
  background:
    repeating-linear-gradient(45deg, rgba(206,193,75,.06) 0 8px, transparent 8px 16px),
    linear-gradient(160deg, #1d1d14, #0c0c07);
  border: 1px dashed rgba(206,193,75,.55);
  color: var(--hazmat);
  font-family: var(--f-hud); font-size: 11px; letter-spacing: 0.03em; text-align: center;
}

.dot {
  display: inline-block; width: 8px; height: 8px; border-radius: 50%;
  background: var(--teal); box-shadow: 0 0 10px var(--teal);
  animation: pulse 1.6s ease-in-out infinite; vertical-align: middle;
}
@keyframes pulse { 50% { opacity: .25; } }

/* ---------- Canvas + overlays ---------- */
#scene {
  position: fixed; inset: 0; width: 100vw; height: 100vh; height: 100lvh;
  display: block; z-index: 0;
  opacity: 0; transition: filter .5s ease, opacity .9s ease;
}
body.scene-ready #scene { opacity: 1; }
/* before the room exists: a dim night glow so the page isn't a flat void */
body.immersive:not(.scene-ready) { background: radial-gradient(ellipse 80% 60% at 50% 35%, #1e1c12 0%, var(--ink) 70%); }
.vignette {
  position: fixed; inset: 0; pointer-events: none; z-index: 1;
  background: radial-gradient(120% 90% at 50% 45%, transparent 55%, rgba(0,0,0,.6) 100%);
}


/* ---------- Loader (loader.js) ---------- */
/* While the room builds: only the RV's still (Home) or the dark, the logo and the bar.
   Everything that moves here is a transform or opacity, so it keeps moving while the build blocks the page. */
#loader { display: none; position: fixed; inset: 0; z-index: 90; overflow: hidden; touch-action: none; }
body.immersive:is(.loading, .landing) #loader { display: block; }
/* the scrollbar's room is kept from the first paint: the bar is measured once, and nothing shifts at the end */
html:has(body.immersive.loading) { overflow-y: scroll; scrollbar-color: var(--ink) var(--ink); }
body.immersive.loading > :not(#loader):not(.skip):not(.dbg) { visibility: hidden; opacity: 0; transition: none; }

.ld-back { position: absolute; inset: 0; overflow: hidden; background: radial-gradient(ellipse 80% 60% at 50% 35%, #1e1c12 0%, var(--ink) 70%); }
/* scaled by height and centred on 50vw, as the camera frames the room: door and windows land where the 3D puts them */
.ld-still img { position: absolute; top: 0; left: 50vw; translate: -50% 0; height: 100%; width: auto; max-width: none; }
.ld-back::after { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 90% at 50% 45%, transparent 55%, rgba(0,0,0,.6) 100%); } /* = .vignette */

.ld-rise {
  position: absolute; left: var(--gutter); bottom: 36px; line-height: 0;
  width: min(100% - 2 * var(--gutter), 190vh); /* 190vh wide = about a third of the screen tall */
  animation: ld-rise .8s cubic-bezier(.16,1,.3,1) .55s both; will-change: translate;
}
.ld-logo { display: block; width: 100%; height: auto; transform-origin: 0 0; filter: drop-shadow(0 6px 24px rgba(0,0,0,.8)); will-change: transform; }
@keyframes ld-rise { from { translate: 0 calc(100% + 80px); } to { translate: 0 0; } }

.ld-bar { --pitch: 18px; --cell: 13px; position: absolute; left: var(--gutter); right: var(--gutter); top: calc(24px + env(safe-area-inset-top, 0px)); height: 26px; display: flex; align-items: center; }
.ld-lane { flex: 1; min-width: 0; height: 100%; }
/* the cells are elements of their own (loader.js), each lit by its own opacity animation: the graphics card plays
   those alone, like the number, so the bar and the % can't drift apart while the page is busy building the room */
.ld-track { display: flex; gap: calc(var(--pitch) - var(--cell)); height: 100%; }
.ld-track b { position: relative; flex: 0 0 var(--cell); background: rgba(206,193,75,.14); }
.ld-track b i { position: absolute; inset: 0; opacity: 0; background: var(--lit, var(--teal)); will-change: opacity; }
.ld-num { flex: none; width: 60px; height: 20px; overflow: hidden; font: 15px/20px var(--f-hud); color: var(--paper); text-align: right; }
.ld-count { will-change: transform; }
.ld-count span { display: block; height: 20px; }
.ld-status { position: absolute; width: 1px; height: 1px; margin: 0; overflow: hidden; clip: rect(0 0 0 0); }
/* only a slow load meets this (10 s) */
.ld-out { position: absolute; right: var(--gutter); top: calc(64px + env(safe-area-inset-top, 0px)); min-height: 32px; animation: ld-late .3s linear 10s both; }
@keyframes ld-late { from { opacity: 0; visibility: hidden; } to { opacity: 1; visibility: visible; } }

/* the room is there: the still gives way to it, the bar lifts off, the logo settles, then the page (1.15 s in all) */
body.landing .ld-back { animation: ld-gone .6s ease .1s both; }
body.landing .ld-bar { animation: ld-up .4s cubic-bezier(.6,0,.8,.3) .4s both; }
body.landing .ld-out { display: none; }
body.landing #scene { transition: none; }
body.landing.to-hero .hero-logo { visibility: hidden; }
body.landing :is(.hud, .rail, .scroll-hint, .hotspots, .station-cap) { animation: ld-in .4s ease .55s backwards; }
body.landing :is(.hero-tag, .hero-cta) { animation: ld-in .4s ease .7s backwards; }
body.landing .hero-cta .btn-crystal { transition: none; }
@keyframes ld-gone { to { opacity: 0; } }
@keyframes ld-up { to { translate: 0 -90px; opacity: 0; } }
@keyframes ld-in { from { opacity: 0; } }

@media (max-width: 760px) {
  .ld-bar { --pitch: 10px; --cell: 7px; height: 18px; top: calc(18px + env(safe-area-inset-top, 0px)); }
  .ld-num { width: 40px; font-size: 12px; }
  .ld-rise { bottom: calc(48px + env(safe-area-inset-bottom, 0px)); }
  .ld-out { top: calc(50px + env(safe-area-inset-top, 0px)); }
}
@media (prefers-reduced-motion: reduce) { .ld-rise { animation: none; } }

/* ---------- HUD ---------- */
.hud {
  position: fixed; top: 0; left: 0; right: 0; z-index: 40;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 14px var(--gutter); pointer-events: none;
}
.hud > * { pointer-events: auto; }
.hud-logo { display: block; line-height: 0; transition: filter .2s; }
.hud-logo img { height: 24px; width: auto; }
.hud-logo:hover { filter: drop-shadow(0 0 8px var(--teal-glow)); }
.hud-controls { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.hud-btn {
  font-family: var(--f-hud); font-size: 12px; letter-spacing: 0.04em;
  color: var(--hud); background: rgba(16,16,9, .6);
  border: 1px solid rgba(246,236,140, .3);
  padding: 4px 10px 3px; cursor: pointer; backdrop-filter: blur(4px);
  transition: border-color .2s, background .2s, color .2s;
}
.hud-btn b { font-weight: normal; color: var(--paper); }
.hud-btn[aria-pressed="true"] b { color: var(--teal); text-shadow: 0 0 8px var(--teal-glow); }
.hud-btn:hover { border-color: var(--teal); background: rgba(206,193,75,.12); }

.rail {
  position: fixed; right: var(--gutter); top: 50%; transform: translateY(-50%);
  z-index: 40; display: flex; gap: 10px; align-items: stretch;
}
.rail ol { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.rail button {
  display: flex; align-items: center; gap: 8px; justify-content: flex-end; width: 100%;
  background: none; border: 0; padding: 2px 0; cursor: pointer;
  font-family: var(--f-hud); font-size: 12px; color: rgba(233,232,222, .45); letter-spacing: 0.04em;
}
.rail .rail-name { opacity: 0; transform: translateX(6px); transition: opacity .25s, transform .25s; text-transform: uppercase; }
.rail button:hover .rail-name, .rail button:focus-visible .rail-name, .rail li.active .rail-name { opacity: 1; transform: none; }
.rail button:hover { color: var(--paper); }
.rail li.active button { color: var(--teal); text-shadow: 0 0 10px var(--teal-glow); }
.rail-track { width: 2px; background: rgba(233,232,222, .15); position: relative; }
.rail-track i { position: absolute; left: 0; top: 0; width: 100%; height: 0; background: var(--teal); box-shadow: 0 0 8px var(--teal); }

.readout {
  position: fixed; left: var(--gutter); bottom: 14px; z-index: 40;
  display: flex; gap: 18px; font-family: var(--f-hud); font-size: 12px; letter-spacing: 0.06em;
  color: rgba(246,236,140, .7); pointer-events: none;
}
.readout b { font-weight: normal; color: var(--paper); }
#ro-purity { color: var(--teal); text-shadow: 0 0 8px var(--teal-glow); }
/* the basement: purity loses it (main.js bsPurity): each new number jolts once, red and teal pulled apart */
#ro-purity.ro-glitch { display: inline-block; animation: ro-glitch .28s steps(3) 1; }
body.in-basement #ro-purity { color: #e58c40; }
@keyframes ro-glitch { 0% { translate: -3px 0; text-shadow: 2px 0 #b3211a, -2px 0 #6fd6c9; } 50% { translate: 2px -1px; text-shadow: -3px 0 #b3211a, 3px 0 #6fd6c9; } 100% { translate: 0 0; text-shadow: 0 0 8px var(--teal-glow); } }
@media (prefers-reduced-motion: reduce) { #ro-purity.ro-glitch { animation: none; } }
body:not(.inside) .readout { visibility: hidden; } /* at the door the design credit has that corner */

/* Rail as the quick menu: always readable, sits on its own dark panel */
.rail {
  padding: 10px 12px 10px 14px; gap: 12px;
  background: rgba(16,16,9,.78); border: 1px solid rgba(206,193,75,.28);
  box-shadow: 0 10px 30px rgba(0,0,0,.45); backdrop-filter: blur(6px);
}
.rail ol { gap: 2px; }
.rail button { font-size: 13px; letter-spacing: .08em; color: rgba(233,232,222,.8); padding: 5px 2px; justify-content: flex-start; gap: 10px; }
.rail .rail-no { color: rgba(206,193,75,.7); }
.rail .rail-name { opacity: 1; transform: none; }
.rail button:hover { color: #fff; }
.rail button:hover .rail-no { color: var(--teal); }
.rail li.active button { color: var(--on-primary); background: var(--teal); text-shadow: none; padding-left: 6px; padding-right: 6px; }
.rail li.active .rail-no { color: var(--on-primary); }
:root { --rail-w: 190px; }

.scroll-hint {
  position: fixed; right: calc(var(--gutter) + var(--rail-w)); bottom: 22px; z-index: 40;
  display: flex; flex-direction: column; align-items: center; gap: 8px; white-space: nowrap;
  font-family: var(--f-hud); font-size: 12px; letter-spacing: 0.11em; color: var(--hud);
  transition: opacity .4s; pointer-events: none;
}
.scroll-hint i { width: 1px; height: 34px; background: linear-gradient(var(--hud), transparent); animation: drip 1.8s ease-in-out infinite; transform-origin: top; }
@keyframes drip { 0% { transform: scaleY(0); opacity: 1; } 70% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }
body.scrolled .scroll-hint { opacity: 0; }

/* ---------- Tour layout ---------- */
main { position: relative; z-index: 10; }
.stop { position: relative; }

/* Immersive: travel spacers drive the camera; content scrolls over the frozen frame */
body.immersive .travel { height: 70vh; }
body.immersive #music .travel { height: 320vh; } /* door opening + entering: slow, you should see it */
body.immersive .stop-hero { height: 0; }
body.immersive .stop-hero .content { position: fixed; inset: 0; z-index: 12; pointer-events: none; }
body.immersive .stop-hero .hero { pointer-events: auto; }

.content { padding: 6vh var(--gutter) 12vh; display: flex; }
/* Immersive: the page panels are not shown (they are the flat view). Each section is a short
   dwell zone whose snap point parks the camera exactly over its bench. */
html { scroll-snap-type: y proximity; }
body.immersive .stop-hero { scroll-snap-align: start; }
body.immersive .stop:not(.stop-hero) .content { height: 60vh; padding: 0; scroll-snap-align: start; scroll-margin-top: 50vh; }
body.immersive .stop:not(.stop-hero) .panel {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
body.modal { overflow: hidden; }
html.lock { overflow: hidden; }
.content-right { justify-content: flex-end; padding-right: calc(var(--gutter) + var(--rail-w)); }
.content-left { justify-content: flex-start; }

/* ---------- Hero ---------- */
.stop-hero .content { align-items: flex-end; padding: 0 var(--gutter) 9vh; }
.hero { max-width: 760px; text-shadow: 0 4px 30px rgba(0,0,0,.7); }
.hero-kicker { font-family: var(--f-hud); font-size: 13px; letter-spacing: 0.12em; color: var(--hud); margin: 0 0 6px; }
.hero-logo { margin: 0; line-height: 0; }
.hero-logo img { width: min(720px, 100%); height: auto; filter: drop-shadow(0 6px 24px rgba(0,0,0,.8)); }
.hero-tag { font-size: clamp(15px, 1.5vw, 18px); margin: 16px 0 22px; max-width: 30em; }
.hero-cta { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.hero-date { font-family: var(--f-hud); font-size: 14px; letter-spacing: 0.08em; color: var(--hud); display: inline-flex; gap: 8px; align-items: center; }

/* ---------- Panels: modern layout, xerox skin ---------- */
.panel {
  width: min(560px, 100%);
  padding: 30px 30px 26px;
  position: relative;
  color: var(--paper);
  background:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .07 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"),
    linear-gradient(180deg, rgba(20,20,13, .9), rgba(16,16,9, .94));
  border: 1px solid rgba(206,193,75, .22);
  box-shadow: 0 30px 80px rgba(0,0,0,.6), 0 0 0 1px rgba(0,0,0,.4), inset 0 1px 0 rgba(255,255,255,.04);
  backdrop-filter: blur(6px);
}
.panel::before { /* tape */
  content: ""; position: absolute; top: -11px; left: 34px;
  width: 92px; height: 24px; rotate: -3deg;
  background: rgba(214, 206, 170, .5); box-shadow: 0 1px 3px rgba(0,0,0,.35);
}
.panel-head { position: relative; margin-bottom: 18px; }
.kicker { font-family: var(--f-hud); font-size: 12px; letter-spacing: 0.11em; margin: 0 0 2px; color: var(--hud); opacity: .85; }
.panel h2, .panel h1 {
  font-family: var(--f-display); font-weight: normal;
  font-size: clamp(56px, 7vw, 92px); line-height: .86; margin: 0; letter-spacing: .01em;
}
.panel h2::after, .panel h1::after { content: ""; display: block; width: 52px; height: 4px; margin-top: 10px; background: var(--teal); box-shadow: 0 0 12px var(--teal-glow); }
.lede { margin: 0 0 18px; font-size: 15px; color: var(--paper-2); }
.fine { font-size: 13px; opacity: .6; margin: 18px 0 0; }

/* Buttons: RGB-split glitch on hover */
.btn {
  position: relative; display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--f-display); font-size: 24px; letter-spacing: .05em; line-height: 1;
  padding: 11px 18px 9px; text-decoration: none; cursor: pointer; border: 0;
  transition: transform .15s ease, box-shadow .2s ease, background .2s;
}
.btn-crystal {
  color: var(--on-primary); background: var(--teal);
  box-shadow: 0 0 0 1px rgba(255,255,255,.35) inset, 0 0 24px var(--teal-glow);
}
.btn-crystal:hover, .btn-crystal:focus-visible {
  transform: translate(-2px, -2px);
  background: var(--primary-hi);
  box-shadow: 4px 4px 0 var(--ink), 4px 4px 0 1px var(--teal), 0 0 34px var(--teal-glow);
}
/* (the red/teal text flash on hover was removed: the lift + outlined shadow is the effect) */
@keyframes rgbsplit {
  0% { text-shadow: 2px 0 var(--red), -2px 0 var(--teal); }
  50% { text-shadow: -2px 1px var(--red), 2px -1px var(--teal); }
  100% { text-shadow: none; }
}
.btn-crystal:active { transform: translate(1px, 1px); box-shadow: 0 0 14px var(--teal-glow); }
.btn .ph { outline-color: rgba(20,16,0,.5); background: rgba(20,16,0,.12); }

.links { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.chip {
  position: relative; overflow: hidden; display: inline-block;
  font-family: var(--f-hud); font-size: 12px; letter-spacing: 0.04em; text-decoration: none; color: inherit;
  padding: 3px 10px 2px; border: 1px solid rgba(233,232,222,.45); white-space: nowrap;
  transition: color .2s, border-color .2s;
  z-index: 0;
}
.chip::before { content: ""; position: absolute; inset: 0; background: var(--teal); transform: translateX(-101%); transition: transform .25s cubic-bezier(.7,0,.2,1); z-index: -1; }
.chip:hover, .chip:focus-visible { color: var(--on-primary); border-color: var(--teal); }
.chip:hover::before, .chip:focus-visible::before { transform: none; }

/* ---------- Music ---------- */
.releases { list-style: none; margin: 0 0 16px; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.release {
  display: flex; flex-direction: column; gap: 4px; text-decoration: none; color: inherit;
  transition: transform .25s cubic-bezier(.2,.8,.2,1);
}
.cover { aspect-ratio: 1; width: 100%; object-fit: cover; border: 1px solid rgba(233,232,222,.2); transition: box-shadow .25s, border-color .25s, transform .25s; }
.r-year { font-family: var(--f-hud); font-size: 11px; color: var(--hud); letter-spacing: 0.06em; margin-top: 4px; }
.r-title { font-family: var(--f-display); font-size: 21px; line-height: 1; }
.r-cta { font-family: var(--f-hud); font-size: 11px; color: var(--teal); opacity: 0; transform: translateY(-4px); transition: opacity .2s, transform .2s; }
.release:hover, .release:focus-visible { transform: translateY(-6px); }
.release:hover .cover, .release:focus-visible .cover { border-color: var(--teal); box-shadow: 0 0 0 1px var(--teal), 0 12px 30px rgba(206,193,75,.25); transform: rotate(-2deg); }
.release:hover .r-cta, .release:focus-visible .r-cta { opacity: 1; transform: none; }
.next-batch { font-family: var(--f-hud); font-size: 13px; letter-spacing: 0.06em; margin: 0; padding: 10px 12px; border: 1px dashed rgba(206,193,75,.4); color: var(--hud); display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }

/* ---------- Live ---------- */
.stats { list-style: none; margin: 0 0 18px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.stats li { border-top: 2px solid var(--teal); padding-top: 8px; }
.stats b { display: block; font-family: var(--f-display); font-weight: normal; font-size: 42px; line-height: 1; color: var(--teal); text-shadow: 0 0 14px var(--teal-glow); }
.stats span { font-size: 13px; opacity: .8; }
.dates { width: 100%; border-collapse: collapse; font-size: 14px; }
.dates th { font-family: var(--f-hud); font-weight: normal; font-size: 11px; letter-spacing: 0.07em; text-align: left; opacity: .5; padding: 0 6px 6px 0; }
.dates td { padding: 10px 6px 10px 0; border-top: 1px solid rgba(233,232,222,.14); vertical-align: middle; }
.dates td:first-child { font-family: var(--f-hud); font-size: 13px; color: var(--teal); white-space: nowrap; padding-left: 6px; }
.dates td:last-child { text-align: right; }
.dates tbody tr { transition: background .2s; background: linear-gradient(90deg, rgba(206,193,75,.14), transparent) no-repeat; background-size: 0% 100%; transition: background-size .35s ease; }
.dates tbody tr:hover { background-size: 100% 100%; }
.dates tr.sold td:not(:last-child) { text-decoration: line-through; opacity: .45; }
@media (max-width: 760px) { /* phones: date + city on one line, the venue underneath */
  .dates thead { display: none; }
  .dates tbody tr { display: grid; grid-template-columns: auto 1fr; column-gap: 12px; padding: 10px 0; border-top: 1px solid rgba(233,232,222,.14); }
  .dates td { padding: 0; border: 0; }
  .dates td:first-child { padding-left: 0; }
  .dates td:last-child { grid-column: 1 / -1; text-align: left; color: var(--muted); font-size: 13px; margin-top: 3px; }
}
.stamp { display: inline-block; font-family: var(--f-display); font-size: 18px; letter-spacing: .06em; color: var(--red); border: 2px solid var(--red); padding: 2px 6px 0; rotate: -8deg; }
.shared { margin: 18px 0 0; font-size: 14px; }
.shared .kicker { display: block; font-size: 11px; margin-bottom: 4px; }

/* ---------- Merch ---------- */
.goods { list-style: none; margin: 0 0 20px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.good { display: flex; flex-direction: column; gap: 6px; text-decoration: none; color: inherit; }
.good-img { aspect-ratio: 1; width: 100%; object-fit: cover; display: block; border: 1px solid var(--line); background: var(--ink-2); transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s, border-color .3s; }
.good-name { font-size: 13px; line-height: 1.2; }
.tag {
  align-self: flex-start; font-family: var(--f-display); font-size: 22px; line-height: 1;
  background: var(--hazmat); color: #111; padding: 3px 7px 1px; rotate: -3deg; transition: rotate .25s, background .25s;
}
.good:hover .good-img, .good:focus-visible .good-img { transform: perspective(600px) rotateY(-8deg) rotateX(4deg) translateY(-4px); border-color: var(--teal); box-shadow: 0 16px 34px rgba(206,193,75,.22); }
.good:hover .tag, .good:focus-visible .tag { rotate: 3deg; background: var(--teal); }

/* ---------- Crew ---------- */
.polaroids { list-style: none; margin: 6px 0 22px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.polaroids figure { margin: 0; background: #ece6d6; color: #1a1612; padding: 7px 7px 6px; box-shadow: 0 8px 18px rgba(0,0,0,.55); transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s; }
.polaroids li:nth-child(1) figure { rotate: -4deg; }
.polaroids li:nth-child(2) figure { rotate: 2.5deg; translate: 0 8px; }
.polaroids li:nth-child(3) figure { rotate: -1.5deg; }
.polaroids img { aspect-ratio: 1; object-fit: cover; width: 100%; filter: grayscale(.85) contrast(1.1); transition: filter .3s; }
.polaroids figcaption { margin-top: 5px; font-family: var(--f-display); font-size: 20px; line-height: 1; }
.polaroids small { display: block; font-family: var(--f-type); font-size: 11px; opacity: .7; margin-top: 2px; }
.polaroids figure:hover { transform: rotate(var(--r, 0deg)) translateY(-8px) scale(1.06); rotate: 0deg; box-shadow: 0 18px 34px rgba(0,0,0,.6), 0 0 0 2px var(--teal); position: relative; z-index: 2; }
.polaroids figure:hover img { filter: none; }
.bio p { font-size: 14.5px; margin: 0 0 12px; color: var(--paper-2); }
.bio p:first-child::first-letter { font-family: var(--f-display); font-size: 54px; float: left; line-height: .8; margin: 6px 8px 0 0; color: var(--teal); }

/* ---------- Contact ---------- */
.signup label { display: block; font-family: var(--f-display); font-size: 28px; line-height: 1; margin-bottom: 10px; }
.signup-row { display: flex; gap: 8px; }
.signup input {
  flex: 1; min-width: 0; font-family: var(--f-type); font-size: 16px;
  padding: 10px 12px; background: rgba(233,232,222,.06); color: var(--paper);
  border: 1px solid rgba(233,232,222,.35); transition: border-color .2s, box-shadow .2s;
}
.signup input:hover { border-color: rgba(206,193,75,.6); }
.signup input:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(206,193,75,.2); }
.form-msg { min-height: 1.4em; font-size: 13px; margin: 6px 0 4px; color: var(--hud); }
.contacts { margin: 8px 0 4px; }
.contacts div { display: grid; grid-template-columns: 90px 1fr; gap: 8px; padding: 8px 0; border-top: 1px dashed rgba(233,232,222,.2); }
.contacts dt { font-family: var(--f-hud); font-size: 12px; letter-spacing: 0.06em; color: var(--hud); }
.contacts dd { margin: 0; font-size: 14px; }

.flat-enter { position: fixed; bottom: 18px; left: 50%; transform: translateX(-50%); z-index: 30; }

/* ---------- Flat mode ---------- */
/* (the flat view: flat.css) */

/* ---------- Small screens ---------- */
@media (max-width: 760px) {
  :root { --rail-w: 0px; }
  .hud { padding: 10px 16px; }
  .hud-logo img { height: 18px; }
  .hud-btn { font-size: 15px; padding: 3px 7px 2px; }
  .hud-btn#btn-sound { display: none; }
  .rail { top: auto; bottom: 0; right: 0; left: 0; transform: none; height: 3px; }
  .rail ol { display: none; }
  .rail-track { width: 100%; height: 3px; }
  .rail-track i { height: 100% !important; width: var(--rail-w-pct, 0%); }
  .readout, .vf-time { display: none; }
  .vf-label { left: 28px; font-size: 16px; }
  .content { padding: 6vh 12px 12vh; }
  .content-right { padding-right: 12px; }
  .panel { padding: 24px 18px 20px; }
  .releases { grid-template-columns: repeat(2, 1fr); }
  .goods { gap: 6px; }
  .stats b { font-size: 34px; }
  .stop-hero .content { padding-bottom: 12vh; }
}

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

/* ================================================================
   3D INTERFACE LAYER
   ================================================================ */
body.in-focus .rail, body.in-focus .station-cap { display: none !important; }
body.in-album .rail, body.in-album .readout, body.in-album .scroll-hint, body.in-album .stop-hero,
body.in-album .station-cap, body.in-album .hotspots, body.in-album .mini { display: none !important; }
body.flat .station-cap, body.flat .hotspots, body.flat .card, body.flat .mini,
body.flat .iris, body.flat .album-ui, body.flat .gallery { display: none !important; }

/* ---------- Station caption (replaces the page panels in 3D) ---------- */
.station-cap {
  position: fixed; left: var(--gutter); top: 76px; z-index: 20; margin: 0; pointer-events: none;
  opacity: 0; transform: translateY(10px); transition: opacity .45s ease, transform .45s ease;
  text-shadow: 0 2px 18px rgba(0,0,0,.85);
}
.station-cap.show { opacity: 1; transform: none; }
.station-cap h2 { font-family: var(--f-display); font-weight: normal; font-size: clamp(54px, 6vw, 88px); line-height: .86; margin: 2px 0 8px; }
.cap-hint { font-family: var(--f-hud); font-size: 13px; letter-spacing: 0.07em; color: var(--hud); margin: 0; display: flex; gap: 8px; align-items: center; }
.cap-hint::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 10px var(--teal); animation: pulse 1.6s ease-in-out infinite; }

/* ---------- Hotspots over interactive props ---------- */
.hotspots { position: fixed; inset: 0; z-index: 15; pointer-events: none; }
.hs {
  position: absolute; left: 0; top: 0; transform: translate(-50%, -50%);
  border: 0; padding: 0; background: none; border-radius: 50%; cursor: pointer; pointer-events: auto;
  opacity: 0; transition: opacity .35s ease; color: var(--paper);
}
.hotspots.show .hs { opacity: 1; }
.hotspots:not(.show) .hs { pointer-events: none; }
.hs::before { /* hit-area ring, visible on hover */
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 1.5px dashed rgba(206,193,75,0); transition: border-color .25s, transform .3s cubic-bezier(.2,.8,.2,1);
}
.hs::after { /* beacon dot */
  content: ""; position: absolute; left: 50%; top: 50%; width: 9px; height: 9px; margin: -4.5px 0 0 -4.5px; border-radius: 50%;
  background: var(--teal); box-shadow: 0 0 0 0 rgba(206,193,75,.7), 0 0 12px var(--teal);
  animation: beacon 2.2s ease-out infinite;
}
@keyframes beacon { 0% { box-shadow: 0 0 0 0 rgba(206,193,75,.6), 0 0 12px var(--teal); } 70% { box-shadow: 0 0 0 16px rgba(206,193,75,0), 0 0 12px var(--teal); } 100% { box-shadow: 0 0 0 0 rgba(206,193,75,0), 0 0 12px var(--teal); } }
.hs:hover::before, .hs:focus-visible::before { border-color: rgba(206,193,75,.85); transform: scale(1.06); }
.hs:hover::after, .hs:focus-visible::after { animation: none; transform: scale(.7); }
.hs-label {
  position: absolute; left: 50%; bottom: calc(100% + 8px); transform: translate(-50%, 6px);
  white-space: nowrap; pointer-events: none; opacity: 0; transition: opacity .2s, transform .25s;
  font-family: var(--f-hud); font-size: 12px; letter-spacing: 0.06em; padding: 4px 10px 3px;
  background: rgba(16,16,9,.86); border: 1px solid rgba(206,193,75,.5); color: var(--paper);
}
.hs-label b { font-weight: normal; color: var(--teal); margin-left: 8px; }
.hs:hover .hs-label, .hs:focus-visible .hs-label { opacity: 1; transform: translate(-50%, 0); }
.hs:focus-visible { outline: none; }

/* ---------- Focus card (non-music benches) ---------- */
.card {
  position: fixed; z-index: 35; right: calc(var(--gutter) + 40px); top: 50%;
  width: min(420px, calc(100vw - 32px)); max-height: calc(100vh - 140px); overflow: auto;
  transform: translate(30px, -50%); opacity: 0; transition: opacity .4s ease, transform .5s cubic-bezier(.2,.8,.2,1);
  padding: 28px 26px 24px;
  background:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .07 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"),
    rgba(18,18,11, .9);
  border: 1px solid rgba(206,193,75,.3); box-shadow: 0 30px 80px rgba(0,0,0,.6); backdrop-filter: blur(8px);
}
.card.open { opacity: 1; transform: translate(0, -50%); }
.card::before { content: ""; position: absolute; top: -11px; left: 30px; width: 88px; height: 24px; rotate: -3deg; background: rgba(214,206,170,.5); }
.card-close {
  position: absolute; top: 10px; right: 10px; font-family: var(--f-hud); font-size: 11px; letter-spacing: 0.06em;
  background: none; color: var(--hud); border: 1px solid rgba(246,236,140,.3); padding: 2px 8px; cursor: pointer;
}
.card-close:hover { border-color: var(--teal); color: #fff; }
kbd { font-family: var(--f-hud); font-size: .85em; padding: 0 4px; border: 1px solid currentColor; border-radius: 2px; opacity: .7; }
.card h3 { font-family: var(--f-display); font-weight: normal; font-size: 52px; line-height: .9; margin: 0 0 14px; }
.card h3::after { content: ""; display: block; width: 44px; height: 4px; margin-top: 8px; background: var(--teal); box-shadow: 0 0 10px var(--teal-glow); }
.card .card-photo { width: 100%; aspect-ratio: 4/3; object-fit: cover; margin: 0 0 14px; filter: contrast(1.05); border: 6px solid #ece6d6; border-bottom-width: 22px; rotate: -1.5deg; box-shadow: 0 10px 24px rgba(0,0,0,.5); }
.card p { font-size: 14.5px; color: var(--paper-2); margin: 0 0 12px; }
/* Polaroid mode: the polaroid IS the card, picked up off the table */
.card.polaroid-mode {
  background: none; border: 0; box-shadow: none; backdrop-filter: none; padding: 0; overflow: visible;
  width: min(380px, calc(100vw - 48px)); max-height: none;
}
.card.polaroid-mode::before { content: none; }
.card.polaroid-mode .card-close { top: auto; bottom: -46px; right: 6px; background: rgba(16,16,9,.75); }
.pol-card {
  --tilt: -3deg;
  margin: 0; padding: 16px 16px 0; color: #1c1c1c;
  background:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 .08 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"),
    linear-gradient(170deg, #f3eee0, #e3dccb);
  box-shadow: 0 40px 70px rgba(0,0,0,.55), 0 12px 20px rgba(0,0,0,.35), inset 0 0 0 1px rgba(0,0,0,.06);
  transform: rotate(var(--tilt)) translateY(0) scale(1);
  transition: transform .75s cubic-bezier(.18,1.3,.4,1), opacity .35s ease;
}
.card.polaroid-mode:not(.open) .pol-card { transform: rotate(calc(var(--tilt) * -3)) translateY(70px) scale(.55); opacity: 0; }
.pol-card img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; filter: contrast(1.08) saturate(.92) sepia(.08); box-shadow: inset 0 0 30px rgba(0,0,0,.35); }
.pol-card figcaption {
  display: flex; flex-direction: column; gap: 4px; min-height: 118px; padding: 14px 6px 18px;
  font-family: "Permanent Marker", "Special Elite", cursive;
}
.pol-name { font-size: 28px; line-height: 1.05; color: #161616; rotate: -1deg; }
.pol-line { font-size: 18px; color: #1e3a8c; rotate: -.5deg; }
.pol-note { font-size: 14px; line-height: 1.35; color: #3a3a3a; }
.next-show { font-family: var(--f-hud); font-size: 12px; letter-spacing: 0.04em; color: var(--hud); display: flex; gap: 8px; align-items: center; }
.card .quote { font-style: italic; color: var(--paper); border-left: 3px solid var(--teal); padding-left: 12px; }
.card a { color: inherit; }
.card .big-list { font-family: var(--f-display); font-size: 30px; line-height: 1.1; color: var(--paper); }
.card .role { font-family: var(--f-hud); font-size: 13px; letter-spacing: 0.09em; color: var(--teal); }
.card .setlist { margin: 0 0 12px; padding-left: 1.4em; font-family: var(--f-display); font-size: 30px; line-height: 1.15; }
.card .price { margin: 4px 0 16px; }
.card .stats, .card .goods { margin-bottom: 14px; }
.card .dates td:first-child { padding-left: 0; }

/* ---------- Quick menu ---------- */
.hud-menu { display: inline-flex; align-items: center; gap: 8px; }
.burger { width: 14px; height: 10px; border-top: 2px solid currentColor; border-bottom: 2px solid currentColor; position: relative; }
.burger::after { content: ""; position: absolute; left: 0; right: 0; top: 2px; border-top: 2px solid currentColor; }
.menu {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 70; width: min(420px, 100vw); overflow: auto;
  padding: 18px 22px 30px; background: rgba(16,16,9,.96); border-left: 1px solid rgba(206,193,75,.25);
  box-shadow: -30px 0 80px rgba(0,0,0,.6); backdrop-filter: blur(8px);
  transform: translateX(0); transition: transform .35s cubic-bezier(.2,.8,.2,1);
}
.menu[hidden] { display: block; transform: translateX(105%); visibility: hidden; }
.menu-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.menu-list { list-style: none; margin: 0; padding: 0; }
.menu-list > li { border-top: 1px solid rgba(233,232,222,.12); padding: 10px 0 8px; }
.menu-stop {
  display: flex; align-items: baseline; gap: 12px; width: 100%; text-align: left; cursor: pointer; background: none; border: 0; padding: 2px 0;
  font-family: var(--f-display); font-size: 34px; line-height: 1; color: var(--paper); letter-spacing: .02em;
}
.menu-stop span { font-family: var(--f-hud); font-size: 11px; color: var(--teal); letter-spacing: 0.07em; }
.menu-stop:hover, .menu-stop:focus-visible { color: var(--teal); outline: none; }
.menu-items { list-style: none; margin: 6px 0 0 34px; padding: 0; display: flex; flex-wrap: wrap; gap: 4px; }
.menu-items button {
  font-family: var(--f-hud); font-size: 11px; letter-spacing: 0.03em; cursor: pointer; padding: 3px 9px 2px;
  color: rgba(233,232,222,.8); background: none; border: 1px solid rgba(233,232,222,.22); transition: all .2s;
}
.menu-items button:hover, .menu-items button:focus-visible { color: var(--on-primary); background: var(--teal); border-color: var(--teal); outline: none; }
body.flat .menu, body.flat .hud-menu { display: none !important; }

/* ---------- Gallery bar (browse a bench while zoomed in) ---------- */
.gallery {
  position: fixed; left: 50%; bottom: 18px; z-index: 36; transform: translateX(-50%);
  display: flex; align-items: center; gap: 8px; padding: 6px; max-width: calc(100vw - 24px);
  background: rgba(16,16,9,.86); border: 1px solid rgba(206,193,75,.3); backdrop-filter: blur(6px);
  box-shadow: 0 12px 30px rgba(0,0,0,.5);
}
.gallery[hidden] { display: none; }
.g-items { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.g-items button {
  font-family: var(--f-hud); font-size: 11px; letter-spacing: 0.04em; white-space: nowrap; cursor: pointer;
  padding: 4px 10px 3px; color: rgba(233,232,222,.7); background: none; border: 1px solid transparent; transition: color .2s, border-color .2s, background .2s;
}
.g-items button:hover { color: var(--paper); border-color: rgba(233,232,222,.3); }
.g-items button[aria-current="true"] { color: var(--on-primary); background: var(--teal); }
.g-arrow, .g-close {
  font-family: var(--f-hud); font-size: 11px; letter-spacing: 0.04em; cursor: pointer; color: var(--hud);
  background: none; border: 1px solid rgba(246,236,140,.3); padding: 4px 10px 3px;
}
.g-arrow:hover, .g-close:hover { border-color: var(--teal); color: #fff; }
.card.bare { display: none !important; }
.card.instant, .card.instant .pol-card { transition: none !important; }
body.in-focus .mini { display: none !important; }

/* ---------- Mini player (outside the album world) ---------- */
.mini {
  position: fixed; left: 50%; bottom: 18px; z-index: 34; transform: translate(-50%, 0);
  display: flex; align-items: center; gap: 12px; padding: 7px 8px 7px 7px;
  background: rgba(16,16,9,.82); border: 1px solid color-mix(in srgb, var(--accent, var(--teal)) 55%, transparent);
  box-shadow: 0 10px 30px rgba(0,0,0,.5); backdrop-filter: blur(6px);
}
.mini[hidden] { display: none; }
.mini-play { width: 36px; height: 36px; border-radius: 50%; border: 0; cursor: pointer; background: var(--accent, var(--teal)); position: relative; }
.mini-play::after { content: ""; position: absolute; left: 14px; top: 11px; border-left: 11px solid #14140d; border-top: 7px solid transparent; border-bottom: 7px solid transparent; }
.mini.playing .mini-play::after { left: 12px; top: 11px; width: 4px; height: 14px; border: 0; border-left: 4px solid #14140d; border-right: 4px solid #14140d; box-sizing: content-box; width: 4px; }
.mini-meta { display: flex; flex-direction: column; line-height: 1.1; min-width: 0; }
.mini-meta b { font-family: var(--f-display); font-weight: normal; font-size: 20px; letter-spacing: .03em; }
.mini-meta span { font-family: var(--f-hud); font-size: 11px; color: var(--hud); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 220px; }

/* ---------- Iris (cassette-window transition) ---------- */
.iris {
  position: fixed; inset: 0; z-index: 60; pointer-events: none; --r: 200vmax; --c: #000;
  background: var(--c);
  -webkit-mask: radial-gradient(circle at 50% 50%, transparent var(--r), #000 calc(var(--r) + 1.5px));
          mask: radial-gradient(circle at 50% 50%, transparent var(--r), #000 calc(var(--r) + 1.5px));
}
.iris.idle { display: none; }

/* ---------- Album background: the cover, with a slow drift ---------- */
.au-bg { position: fixed; inset: 0; z-index: 25; overflow: hidden; background: #050505; display: none; pointer-events: none; }
body.in-album .au-bg { display: block; }
.au-bg-img {
  position: absolute; inset: -6%;
  background-size: cover; background-position: center; background-repeat: no-repeat;
  transform: translate(var(--px, 0px), var(--py, 0px));
  transition: transform 1.2s cubic-bezier(.2,.8,.2,1);
}
.au-bg-img::before { /* the slow breathing zoom lives on its own layer so parallax stays smooth */
  content: ""; position: absolute; inset: 0; background: inherit; animation: drift 46s ease-in-out infinite alternate;
}
.au-bg-img.no-cover { background-size: min(60vw, 720px) auto; }
@keyframes drift { from { transform: scale(1.0) translate(0, 0); } to { transform: scale(1.07) translate(-1.4%, -1%); } }
.au-bg::after { /* keep the UI readable over any cover */
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.15) 45%, rgba(0,0,0,.4) 100%), linear-gradient(0deg, rgba(0,0,0,.7) 0%, transparent 35%);
}

/* ================================================================
   ALBUM PAGE · "sleeve split": cover on the left, one column on the right.
   The tracklist is the player; the story opens on demand.
   ================================================================ */
body.in-album .hud .hud-controls { display: none; }
.album-ui {
  --accent: var(--teal);
  --sz: min(calc(100vh - 210px), 44vw, 700px);
  position: fixed; inset: 0; z-index: 30; pointer-events: none;
  display: grid; grid-template-columns: var(--sz) minmax(300px, 440px); grid-template-rows: auto auto;
  justify-content: center; align-content: center; column-gap: clamp(28px, 4vw, 64px); row-gap: 18px;
  padding: 64px var(--gutter) 40px;
  opacity: 0; transition: opacity .25s ease;
}
.album-ui.in { opacity: 1; }
.album-ui[hidden] { display: none; }
.album-ui > * { pointer-events: auto; }

.au-eject {
  grid-column: 1 / -1; justify-self: start;
  display: inline-flex; align-items: center; gap: 10px; cursor: pointer;
  font-family: var(--f-display); font-size: 20px; letter-spacing: .06em; color: var(--paper);
  padding: 7px 12px 5px; background: rgba(16,16,9,.7); border: 1px solid rgba(233,232,222,.28);
  transition: border-color .2s, color .2s;
}
.au-eject kbd { font-size: 12px; }
.au-eject-ico { width: 14px; height: 12px; position: relative; }
.au-eject-ico::before { content: ""; position: absolute; left: 0; top: 0; border-left: 7px solid transparent; border-right: 7px solid transparent; border-bottom: 7px solid currentColor; }
.au-eject-ico::after { content: ""; position: absolute; left: 0; bottom: 0; width: 14px; height: 3px; background: currentColor; }
.au-eject:hover, .au-eject:focus-visible { border-color: var(--accent); color: var(--accent); outline: none; }

/* the cover, held like an object */
.au-sleeve { margin: 0; width: var(--sz); aspect-ratio: 1; position: relative; touch-action: pan-y; box-shadow: 0 30px 80px rgba(0,0,0,.6), 0 0 0 1px rgba(233,232,222,.08); background: var(--ink-2); }
.au-sleeve::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(115deg, rgba(255,255,255,.07), transparent 38%, transparent 70%, rgba(0,0,0,.18)); }
.au-cover { width: 100%; height: 100%; object-fit: cover; display: block; user-select: none; -webkit-user-drag: none; }
.au-cover.no-cover { object-fit: contain; padding: 18%; }

/* the column */
.au-side { position: relative; height: var(--sz); display: flex; flex-direction: column; min-width: 0; }
.au-head { display: flex; justify-content: space-between; align-items: center; }
.au-kicker { font-family: var(--f-hud); font-size: 12px; letter-spacing: .12em; color: var(--accent); margin: 0; }
.au-nav { display: flex; gap: 4px; }
.au-navbtn { width: 34px; height: 30px; display: grid; place-items: center; cursor: pointer; font-size: 24px; line-height: 1; padding: 0 0 3px; color: var(--paper); background: rgba(16,16,9,.6); border: 1px solid rgba(233,232,222,.22); }
.au-navbtn:hover, .au-navbtn:focus-visible { border-color: var(--accent); color: var(--accent); outline: none; }
.au-title { font-family: var(--f-display); font-weight: normal; font-size: clamp(52px, 5.4vw, 88px); line-height: .88; margin: 8px 0 6px; color: var(--paper); overflow-wrap: anywhere; }
.au-meta { font-family: var(--f-hud); font-size: 12px; letter-spacing: .04em; color: var(--muted); margin: 0 0 16px; }
/* (owner, 2 Dec: option B) title, then the date in small capitals, then what the record is */
.au-meta .au-date { display: block; margin-bottom: 3px; font-weight: 700; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--accent, var(--hud)); }
.au-meta .au-what { display: block; }

.au-tracks { list-style: none; margin: 0; padding: 0; flex: 1 1 auto; min-height: 0; overflow-y: auto; scrollbar-width: thin; }
.au-tracks li { border-bottom: 1px solid var(--line); border-left: 2px solid transparent; transition: background .2s; }
.au-tracks li:has(.current) { background: color-mix(in srgb, var(--accent) 10%, transparent); border-left-color: var(--accent); }
.au-track {
  display: grid; grid-template-columns: 30px 1fr auto; align-items: center; gap: 8px; width: 100%;
  padding: 11px 10px; border: 0; background: none; color: var(--paper); text-align: left; cursor: pointer;
  font-family: var(--f-type); font-size: 14px; line-height: 1.3;
}
.au-track:hover, .au-track:focus-visible { background: rgba(233,232,222,.05); outline: none; }
.au-track:focus-visible .tt { text-decoration: underline; text-underline-offset: 3px; }
.au-track .n, .au-track .ico { grid-column: 1; grid-row: 1; }
.au-track .tt { grid-column: 2; grid-row: 1; }
.au-track .len { grid-column: 3; grid-row: 1; }
.au-track .n { font-family: var(--f-hud); font-size: 12px; color: var(--muted); }
.au-track .len { font-family: var(--f-hud); font-size: 12px; color: var(--muted); white-space: nowrap; font-variant-numeric: tabular-nums; }
.au-track .ico { width: 0; height: 0; border-left: 9px solid var(--accent); border-top: 6px solid transparent; border-bottom: 6px solid transparent; opacity: 0; }
.au-track:hover .n { opacity: 0; }
.au-track:hover .ico { opacity: 1; }
.au-track.current { color: var(--accent); }
.au-track.current .n { opacity: 0; }
.au-track.current .ico { opacity: 1; }
.album-ui.playing .au-track.current .ico { width: 10px; height: 12px; border: 0; border-left: 3px solid var(--accent); border-right: 3px solid var(--accent); box-sizing: border-box; }
.au-track.current .len { color: var(--paper); }

/* scrubber, inside the playing row */
.au-bar[hidden] { display: none; }
.au-bar { position: relative; height: 16px; margin: -6px 10px 6px 48px; cursor: pointer; touch-action: none; }
.au-bar::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 3px; margin-top: -1.5px; background: rgba(233,232,222,.16); }
.au-bar i { position: absolute; left: 0; top: 50%; height: 3px; margin-top: -1.5px; width: 0; background: var(--accent); }
.au-bar b { position: absolute; top: 50%; width: 12px; height: 12px; margin: -6px 0 0 -6px; left: 0; border-radius: 50%; background: var(--paper); transform: scale(0); transition: transform .15s; }
.au-bar:hover b, .au-bar:focus-visible b, .au-bar.drag b { transform: scale(1); }
.au-bar:focus-visible { outline: none; }
.au-bar:focus-visible::before { background: rgba(233,232,222,.35); }

.au-msg { font-size: 12px; color: var(--muted); margin: 10px 0 0; }
.au-msg:empty { display: none; }
.au-msg.err { color: var(--rust); }

.au-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding-top: 14px; margin-top: auto; flex-wrap: wrap; }
.au-links { display: flex; gap: 6px; flex-wrap: wrap; }
.au-links .chip::before { background: var(--accent); }
.au-links .chip:hover { border-color: var(--accent); }
.au-storybtn, .au-storyclose { cursor: pointer; background: none; border: 0; padding: 6px 0; color: var(--accent); font-family: var(--f-hud); font-size: 12px; letter-spacing: .06em; }
.au-storybtn:hover, .au-storyclose:hover, .au-storybtn:focus-visible, .au-storyclose:focus-visible { text-decoration: underline; text-underline-offset: 3px; outline: none; }

/* the story: covers the column on desktop */
.au-story {
  position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; gap: 12px;
  padding: 18px 20px; overflow-y: auto; background: var(--ink); border-top: 2px solid var(--accent);
  opacity: 0; transform: translateY(10px); transition: opacity .25s ease, transform .3s cubic-bezier(.2,.8,.2,1);
}
.album-ui.story .au-story { opacity: 1; transform: none; }
.au-story[hidden] { display: none; }
.au-handle { display: none; }
.au-story-head { display: flex; justify-content: space-between; align-items: baseline; }
.au-story h3 { font-family: var(--f-display); font-weight: normal; font-size: 30px; letter-spacing: .03em; color: var(--accent); margin: 0; }
.au-notes p { font-size: 14px; line-height: 1.7; color: var(--paper-2); margin: 0 0 12px; max-width: 36em; }
.au-quote { display: block; font-style: italic; color: var(--paper); margin: 0 0 12px; line-height: 1.6; quotes: "\201C" "\201D"; }
.au-story .au-links { margin-top: auto; }

/* the cover in the background: blurred and dimmed, just a mood */
body.in-album .au-bg-img { filter: blur(30px) saturate(1.15) brightness(.42); }
body.in-album .au-bg-img::before { animation: none; }

/* ---------- phones / narrow ---------- */
@media (max-width: 900px) {
  body.in-album .hud { display: none; }
  .album-ui {
    display: block; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch;
    padding: 12px 14px calc(72px + env(safe-area-inset-bottom, 0px));
  }
  .au-eject { font-size: 17px; padding: 6px 10px 4px; }
  .au-eject kbd { display: none; }
  .au-sleeve { width: 100%; max-width: min(100%, 52vh); margin: 12px auto 14px; box-shadow: 0 18px 44px rgba(0,0,0,.55); }
  .au-side { height: auto; position: static; }
  .au-nav { position: absolute; top: 12px; right: 14px; align-items: center; }
  .au-navbtn { width: 40px; height: 36px; }
  .au-title { font-size: 44px; margin-top: 4px; }
  .au-meta { margin-bottom: 10px; }
  .au-tracks { overflow: visible; }
  .au-track { padding: 12px 10px; }
  .au-foot { position: fixed; left: 0; right: 0; bottom: 0; z-index: 3; margin: 0; padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px)); background: var(--ink-2); border-top: 1px solid var(--line); flex-wrap: nowrap; }
  .au-foot .au-links { order: 2; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .au-storybtn { order: 1; white-space: nowrap; }
  .au-storybtn span { display: inline-block; rotate: 180deg; }
  /* the story becomes a bottom sheet */
  .au-story {
    position: fixed; inset: auto 0 0 0; top: 88px; z-index: 4; border-radius: 14px 14px 0 0;
    padding: 10px 16px calc(16px + env(safe-area-inset-bottom, 0px)); background: var(--ink-2);
    box-shadow: 0 -20px 50px rgba(0,0,0,.6); transform: translateY(100%); opacity: 1;
  }
  .au-handle { display: block; width: 44px; height: 5px; border-radius: 3px; background: #6a6960; margin: 0 auto 6px; flex: none; position: relative; touch-action: none; cursor: grab; }
  .au-handle::before { content: ""; position: absolute; inset: -14px -40px; }
}

@media (max-width: 900px) {
  .station-cap { top: 58px; }
  .card { right: 12px; left: 12px; width: auto; top: auto; bottom: 12px; transform: translateY(30px); max-height: 52vh; }
  .card.open { transform: none; }
  .mini { bottom: 12px; max-width: calc(100vw - 24px); }
  .mini-vu { display: none; }
}

/* ================================================================
   PHONES: one bottom nav bar, nothing overlapping, everything tappable
   ================================================================ */
@media (max-width: 760px) {
  :root { --rail-w: 0px; --navh: 52px; }
  /* the rail becomes a horizontal tab bar along the bottom */
  .rail {
    top: auto; left: 0; right: 0; bottom: 0; transform: none; height: auto;
    padding: 6px max(8px, env(safe-area-inset-left, 0px)) calc(6px + env(safe-area-inset-bottom, 0px)) max(8px, env(safe-area-inset-right, 0px));
    border: 0; border-top: 1px solid rgba(206,193,75,.28); box-shadow: 0 -8px 24px rgba(0,0,0,.45);
    display: block;
  }
  .rail ol { display: flex; flex-direction: row; gap: 4px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .rail ol::-webkit-scrollbar { display: none; }
  .rail li { flex: 0 0 auto; }
  .rail button { font-size: 12px; padding: 8px 10px; min-height: 40px; gap: 6px; white-space: nowrap; }
  .rail .rail-no { display: none; }
  .rail-track { display: none; }
  /* lift everything that sat on the bottom edge above the tab bar */
  .mini, .gallery { bottom: calc(var(--navh) + 10px + env(safe-area-inset-bottom, 0px)); }
  .card { bottom: calc(var(--navh) + 64px + env(safe-area-inset-bottom, 0px)); max-height: calc(100vh - 230px); }
  .card.polaroid-mode { left: 50%; right: auto; width: min(300px, calc(100vw - 48px)); transform: translate(-50%, 30px); }
  .card.polaroid-mode.open { transform: translate(-50%, 0); }
  .card.polaroid-mode .card-close { bottom: auto; top: -44px; right: 0; }
  .pol-card figcaption { min-height: 92px; padding: 10px 4px 12px; }
  .pol-name { font-size: 22px; }
  .stop-hero .content { padding-bottom: calc(var(--navh) + 28px); }
  .hero-logo img { width: 100%; }
  .hero-cta .btn { font-size: 20px; }
  .scroll-hint { display: none; }
  .station-cap h2 { font-size: 46px; }
  .cap-hint { font-size: 12px; }
  .hs-label { font-size: 15px; }
  .hud-controls { gap: 4px; }
  .gallery { left: 8px; right: 8px; transform: none; max-width: none; }
  .g-items { flex: 1; min-width: 0; }
}
@media (max-width: 380px) {
  .hud-btn { font-size: 13px; padding: 3px 5px 2px; }
  .hud-logo img { height: 15px; }
}

/* ---------- "Listen" on the first screen ---------- */
.btn-listen {
  display: inline-grid; grid-template-columns: auto auto; grid-template-rows: auto auto; column-gap: 10px; align-items: center;
  padding: 7px 14px 6px 10px; cursor: pointer; text-align: left; color: var(--paper);
  background: rgba(16,16,9,.6); border: 1px solid rgba(233,232,222,.35); transition: border-color .2s, color .2s;
}
.btn-listen:hover, .btn-listen:focus-visible { border-color: var(--teal); color: var(--teal); outline: none; }
.btn-listen .lb-ico { grid-row: 1 / 3; width: 30px; height: 30px; border-radius: 50%; background: var(--teal); position: relative; }
.btn-listen .lb-ico::before { content: ""; position: absolute; left: 11px; top: 8px; border-left: 11px solid var(--on-primary); border-top: 7px solid transparent; border-bottom: 7px solid transparent; }
.btn-listen.playing .lb-ico::before { left: 10px; top: 9px; width: 10px; height: 12px; border: 0; border-left: 3px solid var(--on-primary); border-right: 3px solid var(--on-primary); box-sizing: border-box; }
.btn-listen .lb-txt { font-family: var(--f-display); font-size: 20px; letter-spacing: .06em; line-height: 1; }
.btn-listen small { font-family: var(--f-hud); font-size: 11px; letter-spacing: .05em; color: var(--muted); line-height: 1.2; }

/* ================================================================
   VIEWERS + CARDS AS OBJECTS: everything you open looks like the thing in the room.
   Type stays the site's own: Bebas Neue for titles and buttons, Space Mono for the rest.
   ================================================================ */
body.in-viewer .hotspots, body.in-viewer .station-cap, body.in-viewer .rail, body.in-viewer .readout, body.in-viewer .hud, body.in-viewer .mini, body.in-viewer .scroll-hint { display: none !important; }
@media (max-width: 760px) { .btn-listen .lb-txt { font-size: 18px; } }

.vw { position: fixed; inset: 0; z-index: 80; opacity: 0; transition: opacity .18s ease; }
.vw.in { opacity: 1; }
.vw[hidden] { display: none; }
.vw-room {
  position: absolute; inset: 0; overflow: auto; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px;
  padding: 60px var(--gutter) 24px;
  background: radial-gradient(ellipse 70% 60% at 50% 45%, rgba(206,193,75,.09), transparent 70%), radial-gradient(ellipse at 50% 120%, #2a2217 0%, transparent 60%), #0c0b07;
}
/* standard site buttons */
.vw-close-btn {
  position: absolute; top: 14px; right: var(--gutter); z-index: 5; cursor: pointer;
  font-family: var(--f-display); font-size: 20px; letter-spacing: .06em; color: var(--paper);
  padding: 7px 12px 5px; background: rgba(16,16,9,.75); border: 1px solid rgba(233,232,222,.3);
}
.vw-close-btn kbd { font-size: 11px; margin-left: 4px; }
.vw-close-btn:hover, .vw-close-btn:focus-visible { border-color: var(--teal); color: var(--teal); outline: none; }
.vw-arrow {
  flex: none; width: 52px; height: 72px; cursor: pointer; display: grid; place-items: center;
  font-family: var(--f-display); font-size: 48px; line-height: 1; padding-bottom: 6px;
  color: var(--on-primary); background: var(--teal); border: 0; box-shadow: 0 0 24px var(--teal-glow);
  transition: transform .15s, background .2s;
}
.vw-arrow:hover, .vw-arrow:focus-visible { background: var(--primary-hi); transform: scale(1.06); outline: none; }
.vw-arrow:disabled { opacity: .18; box-shadow: none; cursor: default; transform: none; }

/* ---------- the TV: walnut cabinet, black glass, our yellow on screen ---------- */
.vw-tv .vw-room { padding: 64px var(--gutter) 20px; }
.tvset { width: min(1180px, 100%, calc((100vh - 130px) * 1.6)); flex: none; }
.tv-face {
  display: grid; grid-template-columns: 1fr 15%; gap: 2.4%; padding: 2.6%; border-radius: 22px;
  background:
    repeating-linear-gradient(92deg, rgba(0,0,0,.18) 0 2px, transparent 2px 9px, rgba(255,220,170,.05) 9px 11px, transparent 11px 23px),
    linear-gradient(170deg, #5a3a22, #3a2414 55%, #24160c);
  box-shadow: 0 0 0 3px #120b05, inset 0 2px 0 rgba(255,220,170,.25), inset 0 -6px 14px rgba(0,0,0,.5), 0 50px 100px rgba(0,0,0,.75);
}
.tv-bezel { padding: 2.2%; border-radius: 16px; background: linear-gradient(180deg, #151410, #050504); box-shadow: inset 0 0 0 2px rgba(206,193,75,.55), inset 0 4px 14px rgba(0,0,0,.9); }
.tv-screen {
  position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 7% / 9%;
  background: radial-gradient(ellipse at 45% 40%, #2e2c18, #14130a 70%, #0a0905);
  box-shadow: inset 0 0 50px rgba(0,0,0,.9);
}
.tv-screen iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; z-index: 6; }
.tv-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.15) brightness(.55) sepia(1) hue-rotate(15deg) saturate(1.6); opacity: .85; }
.tv-static {
  position: absolute; inset: 0; opacity: .2; mix-blend-mode: screen;
  background: repeating-radial-gradient(circle at 37% 61%, rgba(233,232,222,.9) 0 1px, transparent 1px 3px), repeating-radial-gradient(circle at 71% 23%, rgba(206,193,75,.8) 0 1px, transparent 1px 4px);
  animation: tv-noise .18s steps(3) infinite;
}
.tv-screen.zap .tv-static { opacity: .95; }
.tv-screen.zap .tv-poster, .tv-screen.zap .tv-osd, .tv-screen.zap .tv-bar, .tv-screen.zap .tv-play { opacity: 0; }
@keyframes tv-noise { 0% { background-position: 0 0, 0 0; } 33% { background-position: 7px -5px, -9px 4px; } 66% { background-position: -6px 8px, 5px -7px; } }
.tv-glass { position: absolute; inset: 0; z-index: 7; pointer-events: none; border-radius: inherit;
  background: repeating-linear-gradient(0deg, rgba(0,0,0,.2) 0 1px, transparent 1px 3px), radial-gradient(ellipse at 28% 18%, rgba(255,250,220,.13), transparent 42%);
  box-shadow: inset 0 0 80px rgba(0,0,0,.8); }
.tv-screen.on .tv-glass { opacity: .35; }
.tv-osd, .tv-play, .tv-bar { position: absolute; z-index: 3; color: var(--hud); text-shadow: 0 0 10px rgba(206,193,75,.55); }
.tv-osd { left: 6%; top: 6%; right: 6%; }
.tv-osd p { margin: 0; }
.tv-ch { font-family: var(--f-hud); font-weight: 700; font-size: clamp(14px, 1.6vw, 20px); letter-spacing: .1em; }
.tv-ch span { opacity: .55; margin-left: 6px; }
.tv-title { font-family: var(--f-display); font-size: clamp(36px, 6vw, 84px); line-height: .9; color: var(--paper); text-shadow: 0 0 16px rgba(206,193,75,.35); }
.tv-sub { font-family: var(--f-hud); font-size: clamp(11px, 1.2vw, 14px); margin-top: 4px !important; }
.tv-play {
  left: 50%; top: 56%; translate: -50% -50%; cursor: pointer; /* centred with `translate`, so the hover lift (transform) adds to it */
  display: inline-flex; align-items: center; gap: 12px; text-shadow: none;
  font-family: var(--f-display); font-size: clamp(24px, 3vw, 38px); letter-spacing: .08em;
  color: var(--on-primary); background: var(--teal); border: 0; padding: 10px 24px 8px 18px; box-shadow: 0 0 30px var(--teal-glow);
}
.tv-play:hover, .tv-play:focus-visible { background: var(--primary-hi); outline: none; }
.tv-play-ico { width: 0; height: 0; border-left: 16px solid currentColor; border-top: 10px solid transparent; border-bottom: 10px solid transparent; }
.tv-bar { left: 5%; right: 5%; bottom: 6%; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.tv-yt { font-family: var(--f-hud); font-size: 12px; color: var(--hud); text-decoration: none; opacity: .8; }
.tv-yt:hover { opacity: 1; text-decoration: underline; }
.tv-next {
  cursor: pointer; font-family: var(--f-display); font-size: clamp(16px, 1.8vw, 22px); letter-spacing: .05em; color: var(--paper);
  background: rgba(10,10,6,.6); border: 1px solid rgba(206,193,75,.6); padding: 6px 12px 4px; text-shadow: none; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.tv-next:hover, .tv-next:focus-visible { border-color: var(--teal); color: var(--teal); outline: none; }
.tv-screen.on .tv-play, .tv-screen.on .tv-static, .tv-screen.on .tv-poster, .tv-screen.on .tv-osd, .tv-screen.on .tv-bar { display: none; }
.tv-side { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 10% 0 6%; border-radius: 10px; background: linear-gradient(180deg, #1a1712, #0c0a07); box-shadow: inset 0 0 0 1px rgba(206,193,75,.3), inset 0 2px 10px rgba(0,0,0,.8); }
.tv-plate { font-family: var(--f-display); font-size: 16px; letter-spacing: .14em; color: var(--on-primary); background: var(--teal); padding: 2px 8px 0; }
.tv-knob {
  --turn: 0deg;
  width: 78%; aspect-ratio: 1; border-radius: 50%; cursor: pointer; position: relative; border: 0; margin-top: 10%;
  background: radial-gradient(circle at 35% 28%, #4a4232, #1c1912 60%, #0b0a07);
  box-shadow: 0 0 0 3px var(--teal), 0 0 22px var(--teal-glow), 0 6px 0 #050403, 0 10px 18px rgba(0,0,0,.6);
  transform: rotate(var(--turn)); transition: transform .3s cubic-bezier(.2,.9,.3,1.3), box-shadow .2s;
  animation: knob-call 2.4s ease-in-out infinite;
}
.tv-knob i { position: absolute; left: 50%; top: 9%; width: 6px; height: 36%; margin-left: -3px; border-radius: 3px; background: var(--teal); box-shadow: 0 0 8px var(--teal-glow); }
.tv-knob:hover, .tv-knob:focus-visible { box-shadow: 0 0 0 4px var(--primary-hi), 0 0 34px var(--teal-glow), 0 6px 0 #050403, 0 10px 18px rgba(0,0,0,.6); outline: none; animation: none; }
.tv-knob:active { translate: 0 2px; }
@keyframes knob-call { 0%, 100% { box-shadow: 0 0 0 3px var(--teal), 0 0 12px var(--teal-glow), 0 6px 0 #050403, 0 10px 18px rgba(0,0,0,.6); } 50% { box-shadow: 0 0 0 3px var(--teal), 0 0 32px var(--teal-glow), 0 6px 0 #050403, 0 10px 18px rgba(0,0,0,.6); } }
.tv-knob-label { font-family: var(--f-display); font-size: clamp(13px, 1.4vw, 18px); letter-spacing: .06em; color: var(--teal); text-align: center; line-height: 1; }
.tv-led { width: 8px; height: 8px; border-radius: 50%; background: #e2442f; box-shadow: 0 0 10px #ff5a3a; margin-top: 6px; }
.tv-grille { width: 70%; flex: 1; min-height: 30px; border-radius: 4px; background: repeating-linear-gradient(0deg, #050403 0 2px, #2a2318 2px 5px); }
.tri { display: inline-block; width: 0; height: 0; border-left: .5em solid currentColor; border-top: .32em solid transparent; border-bottom: .32em solid transparent; margin: 0 .15em .08em; vertical-align: middle; }
.tv-legs { display: flex; justify-content: space-between; padding: 0 14%; }
.tv-legs i { width: 14px; height: 34px; background: linear-gradient(90deg, #4a3020, #24160c); border-radius: 0 0 3px 3px; }
.tv-legs i:first-child { transform: skewX(14deg); } .tv-legs i:last-child { transform: skewX(-14deg); }

/* ---------- books: the photo album and the journal ---------- */
.book-row { display: flex; align-items: center; gap: 18px; width: 100%; justify-content: center; }
.book { position: relative; width: min(1000px, calc(100% - 140px), calc((100vh - 150px) * 1.5)); flex: none; touch-action: pan-y; }
.book-spread { display: grid; grid-template-columns: 1fr 1fr; aspect-ratio: 3 / 2; position: relative; }
.book-spread.turn-n { animation: bk-n .22s ease-out; }
.book-spread.turn-p { animation: bk-p .22s ease-out; }
@keyframes bk-n { from { opacity: .3; transform: translateX(14px); } }
@keyframes bk-p { from { opacity: .3; transform: translateX(-14px); } }
.page { position: relative; overflow: hidden; display: flex; flex-direction: column; min-height: 0; }
.page-no { position: absolute; bottom: 10px; font-family: var(--f-hud); font-size: 11px; opacity: .55; }
.page-l .page-no { left: 18px; } .page-r .page-no, .page-1 .page-no { right: 18px; }
.book-pos { margin: 0; font-family: var(--f-hud); font-size: 12px; letter-spacing: .06em; color: var(--muted); }

/* the photo album: leather cover, black paper, photo corners; photos only */
.vw-album .book { padding: 14px; border-radius: 8px; background: linear-gradient(135deg, #3b2a1d, #22170f); box-shadow: 0 40px 90px rgba(0,0,0,.7), inset 0 0 0 2px rgba(255,255,255,.06); }
.vw-album .page { background: radial-gradient(ellipse at 50% 40%, #232220, #141412); padding: 7%; justify-content: center; align-items: center; }
.vw-album .page-l { box-shadow: inset -24px 0 30px -18px rgba(0,0,0,.9); border-radius: 4px 0 0 4px; }
.vw-album .page-r { box-shadow: inset 24px 0 30px -18px rgba(0,0,0,.9); border-radius: 0 4px 4px 0; }
.vw-album .page-1 { border-radius: 4px; grid-column: 1 / -1; }
.ab-photo { margin: 0; padding: 0; border: 0; background: none; cursor: zoom-in; max-width: 100%; max-height: 100%; rotate: var(--r); transition: transform .2s; }
.ab-photo:hover, .ab-photo:focus-visible { transform: scale(1.03); outline: none; }
.ab-photo:focus-visible .ab-frame { box-shadow: 0 0 0 3px var(--teal), 0 8px 18px rgba(0,0,0,.6); }
.ab-frame { position: relative; display: block; padding: 8px; background: #f1ece0; box-shadow: 0 8px 18px rgba(0,0,0,.6); max-width: 100%; }
.ab-frame img { display: block; max-width: 100%; max-height: min(62vh, 520px); object-fit: contain; filter: sepia(.12) contrast(1.05); }
.ab-frame i { position: absolute; width: 26px; height: 26px; background: #0d0d0c; }
.ab-frame .c1 { left: -6px; top: -6px; clip-path: polygon(0 0, 100% 0, 0 100%); }
.ab-frame .c2 { right: -6px; top: -6px; clip-path: polygon(0 0, 100% 0, 100% 100%); }
.ab-frame .c3 { left: -6px; bottom: -6px; clip-path: polygon(0 0, 100% 100%, 0 100%); }
.ab-frame .c4 { right: -6px; bottom: -6px; clip-path: polygon(100% 0, 100% 100%, 0 100%); }
/* the classic full-screen view */
.lb { position: absolute; inset: 0; z-index: 6; display: flex; align-items: center; justify-content: center; gap: 18px; padding: 60px var(--gutter) 48px; background: rgba(8,8,5,.97); }
.lb[hidden] { display: none; }
.lb-img { max-width: calc(100% - 160px); max-height: 100%; object-fit: contain; box-shadow: 0 30px 80px rgba(0,0,0,.7); }
.lb-close { position: absolute; top: 14px; right: var(--gutter); }
.lb-pos { position: absolute; bottom: 16px; left: 0; right: 0; text-align: center; margin: 0; font-family: var(--f-hud); font-size: 12px; color: var(--muted); }

/* the journal: lined paper, red margin, spiral in the gutter, pencil sketches */
.vw-journal .book { padding: 10px; border-radius: 10px; background: #15130e; box-shadow: 0 40px 90px rgba(0,0,0,.7); }
.vw-journal .page {
  --fit: 1; --tfit: calc((var(--fit) + 1) / 2); --lh: calc(26px * var(--tfit)); /* text shrinks half as fast as the sketch */
  color: #22201a; padding: 6% 7% 8% 13%; font-family: var(--f-type); font-size: calc(clamp(12.5px, 1.15vw, 14.5px) * var(--tfit)); line-height: var(--lh); overflow: hidden;
  background:
    linear-gradient(90deg, transparent 9.5%, rgba(196,60,50,.55) 9.5%, rgba(196,60,50,.55) calc(9.5% + 2px), transparent calc(9.5% + 2px)),
    repeating-linear-gradient(180deg, transparent 0 calc(var(--lh) - 1px), rgba(70,110,160,.25) calc(var(--lh) - 1px) var(--lh)),
    linear-gradient(170deg, #f3ecd8, #e6dcc1);
  background-position: 0 0, 0 12px, 0 0;
}
.vw-journal .page-l { border-radius: 6px 0 0 6px; box-shadow: inset -20px 0 26px -18px rgba(0,0,0,.45); }
.vw-journal .page-r { border-radius: 0 6px 6px 0; box-shadow: inset 20px 0 26px -18px rgba(0,0,0,.45); }
.vw-journal .page-1 { border-radius: 6px; grid-column: 1 / -1; }
.vw-journal .page.fit-scroll { overflow-y: auto; overscroll-behavior: contain; }
/* the painted sets (set-skins.js, put on by viewers.js once the book is laid out): the page's paper underneath,
   the journal's margin and ruling still drawn on top so they line up with the text */
.vw-album.skinned .page { background: var(--pg) center / 100% 100% no-repeat; }
.vw-journal.skinned .page {
  background:
    linear-gradient(90deg, transparent 9.5%, rgba(196,60,50,.55) 9.5%, rgba(196,60,50,.55) calc(9.5% + 2px), transparent calc(9.5% + 2px)),
    repeating-linear-gradient(180deg, transparent 0 calc(var(--lh) - 1px), rgba(70,110,160,.25) calc(var(--lh) - 1px) var(--lh)),
    var(--pg);
  background-position: 0 0, 0 12px, center; background-size: auto, auto, 100% 100%; background-repeat: no-repeat, repeat, no-repeat;
}
.vw-journal .book-spread::after {
  content: ""; position: absolute; left: 50%; top: 2%; bottom: 2%; width: 22px; margin-left: -11px; pointer-events: none;
  background: repeating-linear-gradient(180deg, transparent 0 10px, #8a877c 10px 13px, #d8d5cb 13px 15px, #6a675e 15px 17px, transparent 17px 28px);
}
.vw-journal .book-spread:has(.page-1)::after { display: none; }
.vw-journal .page p { margin: 0 0 13px; }
.jr-h { font-family: var(--f-display); font-weight: normal; font-size: calc(clamp(30px, 3vw, 42px) * var(--tfit, 1)); line-height: 1; margin: 0; color: #1a1a14; letter-spacing: .02em; }
.jr-date { font-family: var(--f-hud); font-size: 12px !important; color: #b3211a; margin: 0 0 8px !important; }
.jr-sketch { margin: 4px 0 10px; }
.jr-sketch img { display: block; width: 100%; height: auto; max-height: max(15vh, calc(28vh * (var(--fit, 1) * 2 - 1))); object-fit: contain; mix-blend-mode: multiply; }
.jr-list { list-style: none; margin: 0; padding: 0; }
.jr-list li { margin: 0 0 8px; }
.jr-list b { font-family: var(--f-display); font-weight: normal; font-size: 22px; margin-right: 6px; letter-spacing: .03em; }
.jr-list span { display: block; font-size: .9em; color: #55534a; line-height: 20px; }

@media (max-width: 760px) {
  .vw-room { padding: 58px 10px 14px; gap: 12px; }
  .vw-close-btn { right: 12px; top: 10px; font-size: 18px; }
  .vw-close-btn kbd { display: none; }
  .tvset { width: 100%; }
  .tv-face { grid-template-columns: 1fr; padding: 3%; border-radius: 14px; }
  .tv-side { flex-direction: row; padding: 8px 12px; justify-content: space-between; }
  .tv-knob { width: 52px; margin: 0; flex: none; }
  .tv-grille { flex: 1; height: 26px; min-height: 0; }
  .tv-legs i { height: 20px; }
  .tv-title { font-size: 34px; }
  .tv-play { font-size: 22px; padding: 8px 16px 6px 12px; }
  .tv-next { font-size: 14px; }
  .book-row { flex-wrap: wrap; gap: 10px; }
  .book { width: 100%; order: 1; }
  .book-row .book-prev { order: 2; } .book-row .book-next { order: 3; }
  .vw-arrow { width: 64px; height: 48px; font-size: 40px; }
  .book-spread { grid-template-columns: 1fr; aspect-ratio: auto; height: calc(100svh - 190px); }
  .vw-album .page { padding: 10% 6%; }
  .ab-frame img { max-height: 58svh; }
  .vw-journal .page { padding: 8% 6% 12% 15%; font-size: 13.5px; }
  .lb { padding: 56px 8px 70px; flex-wrap: wrap; align-content: center; }
  .lb-img { max-width: 100%; max-height: calc(100% - 70px); order: 1; }
  .lb-prev { order: 2; } .lb-next { order: 3; }
}
@media (prefers-reduced-motion: reduce) { .tv-static, .tv-knob { animation: none; } .book-spread.turn-n, .book-spread.turn-p { animation: none; } }

/* ================================================================
   CARDS AS OBJECTS (the card IS the paper / board / radio you picked up)
   ================================================================ */
.obj { position: relative; color: #1f1d17; box-shadow: 0 34px 70px rgba(0,0,0,.6), 0 10px 20px rgba(0,0,0,.35); rotate: -1deg; transition: transform .55s cubic-bezier(.18,1.2,.4,1), opacity .3s; }
.card.polaroid-mode:not(.open) .obj { transform: translateY(60px) scale(.7) rotate(4deg); opacity: 0; }
.obj h3 { margin: 0; }
.card .obj h3::after { content: none; }
.card .obj p { color: inherit; }
.card .obj .clip-sub { color: #55534a; }
.obj a { color: inherit; }
.stamp {
  display: inline-block; cursor: pointer; text-decoration: none; rotate: -3deg; margin-top: 12px;
  font-family: var(--f-display); font-size: 22px; letter-spacing: .1em; color: #b3211a; background: transparent;
  padding: 6px 14px 3px; border: 3px solid #b3211a; border-radius: 4px; opacity: .9;
}
.stamp:hover, .stamp:focus-visible { opacity: 1; background: rgba(179,33,26,.08); outline: none; }


.obj-clip { padding: 34px 14px 16px; border-radius: 10px; background: linear-gradient(150deg, #8a6038, #6d4a2a); }
.clip-metal { position: absolute; top: -12px; left: 50%; width: 120px; height: 40px; margin-left: -60px; border-radius: 6px 6px 10px 10px; background: linear-gradient(180deg, #e6e6e0, #9b9b94); box-shadow: 0 4px 8px rgba(0,0,0,.4), inset 0 -4px 0 rgba(0,0,0,.15); }
.clip-paper { padding: 16px 16px 14px; background: #f4efe2; box-shadow: 0 2px 4px rgba(0,0,0,.25); }
.clip-paper h3 { font-family: var(--f-display); font-weight: normal; font-size: 36px; line-height: 1; }
.clip-sub { font-family: var(--f-hud); font-size: 11px; margin: 2px 0 10px; }
.clip-items { list-style: none; margin: 0; padding: 0; }
.clip-items a { display: grid; grid-template-columns: 54px 1fr auto; align-items: center; gap: 12px; padding: 7px 0; border-bottom: 1px dashed rgba(0,0,0,.2); text-decoration: none; }
.clip-items img { width: 54px; height: 54px; object-fit: cover; padding: 3px; background: #fff; box-shadow: 0 3px 6px rgba(0,0,0,.3); rotate: var(--r); }
.clip-items .nm { font-family: var(--f-type); font-size: 13.5px; line-height: 1.25; }
.clip-items .pr { font-family: var(--f-display); font-size: 26px; color: #b3211a; }
.clip-items a:hover .nm, .clip-items a:focus-visible .nm { text-decoration: underline; }

.obj-index { padding: 18px 20px 16px; background:
  linear-gradient(180deg, transparent 52px, rgba(196,60,50,.6) 52px, rgba(196,60,50,.6) 54px, transparent 54px),
  repeating-linear-gradient(180deg, transparent 0 27px, rgba(70,110,160,.25) 27px 28px) 0 54px / 100% calc(100% - 54px) no-repeat,
  #fbf8ef; rotate: 1.5deg; }
.obj-index h3 { font-family: var(--f-display); font-weight: normal; font-size: 34px; line-height: 1; height: 40px; }
.ix-rows { margin: 10px 0 0; }
.ix-rows div { display: grid; grid-template-columns: 70px 1fr; line-height: 28px; }
.ix-rows dt { font-family: var(--f-hud); font-size: 11px; color: #55534a; text-transform: uppercase; }
.ix-rows dd { margin: 0; font-family: var(--f-type); font-size: 14px; overflow-wrap: anywhere; }
.ix-note { font-family: var(--f-hud); font-style: italic; font-size: 12px; color: #1d3f8c; margin: 8px 0 0; }

.obj-pad { padding: 34px 20px 18px 48px; background:
  linear-gradient(90deg, transparent 34px, rgba(196,60,50,.5) 34px, rgba(196,60,50,.5) 36px, transparent 36px),
  repeating-linear-gradient(180deg, transparent 0 27px, rgba(70,110,160,.3) 27px 28px) 0 30px / 100% calc(100% - 30px) no-repeat,
  #f6e98a; }
/* painted paper under the same margin and ruling (set-skins.js skinObject) */
.obj-pad.skinned { background:
  linear-gradient(90deg, transparent 34px, rgba(196,60,50,.5) 34px, rgba(196,60,50,.5) 36px, transparent 36px),
  repeating-linear-gradient(180deg, transparent 0 27px, rgba(70,110,160,.3) 27px 28px) 0 30px / 100% calc(100% - 30px) no-repeat,
  var(--pg) center / 100% 100% no-repeat; }
.pad-top { position: absolute; left: 0; right: 0; top: 0; height: 26px; background: linear-gradient(180deg, #7a2b22, #5e1f18); }
.obj-pad h3 { font-family: var(--f-display); font-weight: normal; font-size: 34px; line-height: 28px; margin-top: 4px; }
.pad-line { font-family: var(--f-type); font-size: 14px; line-height: 28px; margin: 0; }
.obj-pad .pad-label { display: block; font-family: var(--f-hud); font-size: 12px; line-height: 28px; color: #1d3f8c; }
.obj-pad input { width: 100%; font: 15px var(--f-type); color: #1d3f8c; background: transparent; border: 0; border-bottom: 2px solid #1f1d17; padding: 2px 0; outline: none; }
.obj-pad input::placeholder { color: rgba(29,63,140,.45); }
.obj-pad input:focus { border-bottom-color: #b3211a; }
.obj-pad .form-msg { font-family: var(--f-hud); font-size: 12px; margin: 8px 0 0; }

.obj-radio { padding: 18px 18px 14px; border-radius: 14px; color: #e9e3cf; background: linear-gradient(170deg, #4a3a2a, #2a2016); box-shadow: 0 34px 70px rgba(0,0,0,.6), inset 0 0 0 3px #1b140d, inset 0 2px 0 rgba(255,255,255,.15); }
.rd-dial { position: relative; height: 54px; border-radius: 6px; background: linear-gradient(180deg, #e8d9a8, #cdbb85); box-shadow: inset 0 3px 8px rgba(0,0,0,.5); overflow: hidden; }
.rd-scale { position: absolute; inset: 8px 10px 22px; background: repeating-linear-gradient(90deg, #3a2f1c 0 1px, transparent 1px 8px); opacity: .55; }
.rd-needle { position: absolute; top: 4px; bottom: 4px; left: var(--nx, 30%); width: 3px; background: #c02a1c; box-shadow: 0 0 6px rgba(192,42,28,.7); transition: left .45s cubic-bezier(.3,1.4,.5,1); }
.rd-stations { list-style: none; margin: 12px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px; }
.rd-stations a { display: flex; gap: 10px; align-items: center; padding: 8px 10px; text-decoration: none; font-family: var(--f-display); font-size: 20px; letter-spacing: .05em; background: rgba(0,0,0,.25); border: 1px solid rgba(232,217,168,.2); border-radius: 4px; }
.rd-stations b { font-family: var(--f-hud); font-weight: 700; font-size: 11px; color: #e8d9a8; }
.rd-stations a:hover, .rd-stations a:focus-visible { border-color: #e8d9a8; background: rgba(232,217,168,.1); outline: none; }
.rd-foot { display: flex; align-items: center; gap: 12px; margin-top: 12px; }
.rd-grille { flex: 1; height: 36px; border-radius: 4px; background: radial-gradient(circle, #15100a 1.4px, transparent 1.6px) 0 0 / 7px 7px, #3a2c1d; }
.rd-knob { width: 38px; height: 38px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #f2ead2, #b5a67a 60%, #7a6b44); box-shadow: 0 3px 6px rgba(0,0,0,.5); }
.rd-brand { font-family: var(--f-display); font-size: 16px; letter-spacing: .14em; color: #e8d9a8; }
@media (max-width: 760px) { .obj { rotate: 0deg; } .rd-stations a { font-size: 17px; } }

/* object cards: scroll inside if tall, keep the close button reachable */
.card.object-mode { width: min(400px, calc(100vw - 32px)); max-height: calc(100vh - 150px); overflow-y: auto; overflow-x: hidden; padding: 16px 10px 20px; scrollbar-width: thin; }
.card.object-mode .card-close { position: sticky; top: 0; float: right; bottom: auto; right: 0; z-index: 2; margin: 0 0 -30px; background: rgba(16,16,9,.85); }
@media (max-width: 760px) {
  .card.object-mode { left: 50%; right: auto; width: calc(100vw - 24px); max-height: calc(100svh - 230px); top: auto; bottom: calc(var(--navh, 0px) + 64px + env(safe-area-inset-bottom, 0px)); transform: translate(-50%, 30px); }
  .card.object-mode.open { transform: translate(-50%, 0); }
}

/* ---------- the merch crate: one item at a time, big ---------- */
/* inside the bench's crate: painted to screen size by crate-art.js (this colour shows until it's ready) */
.vw-crate .vw-room { background: #8a6a40 center / cover no-repeat; }
.vw-crate .vw-close-btn { z-index: 5; }
.crate-row { display: flex; align-items: center; gap: 24px; width: 100%; justify-content: center; }
.crate-item { display: flex; align-items: center; gap: clamp(20px, 4vw, 56px); touch-action: pan-y; }
.crate-item.turn { animation: bk-n .22s ease-out; }
.ci-photo { margin: 0; padding: 12px 12px 14px; background: #f4efe2; rotate: -2deg; box-shadow: 0 30px 70px rgba(0,0,0,.55); flex: none; }
.ci-photo img { display: block; width: min(56vh, 44vw, 560px); aspect-ratio: 1; object-fit: cover; }
.ci-info { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; max-width: 360px; color: var(--paper); }
.ci-kicker { margin: 0; font-family: var(--f-hud); font-size: 12px; letter-spacing: .12em; color: var(--teal); text-shadow: 0 2px 6px rgba(0,0,0,.6); }
.ci-name { margin: 0; font-family: var(--f-display); font-weight: normal; font-size: clamp(36px, 4.4vw, 60px); line-height: .92; text-shadow: 0 3px 14px rgba(0,0,0,.6); }
.ci-tag { position: relative; display: inline-flex; align-items: center; gap: 10px; padding: 8px 18px 6px 14px; rotate: -6deg; background: #efe6c8; color: #b3211a; clip-path: polygon(14px 0, 100% 0, 100% 100%, 14px 100%, 0 50%); box-shadow: 0 8px 18px rgba(0,0,0,.4); }
.ci-tag i { width: 8px; height: 8px; border-radius: 50%; background: #5a3d1f; margin-left: 4px; }
.ci-tag b { font-family: var(--f-display); font-weight: normal; font-size: 38px; line-height: 1; }
.ci-buy { font-family: var(--f-display); font-size: 24px; letter-spacing: .05em; text-decoration: none; color: var(--on-primary); background: var(--teal); padding: 11px 18px 9px; box-shadow: 0 0 24px var(--teal-glow); }
.ci-buy:hover, .ci-buy:focus-visible { background: var(--primary-hi); outline: none; }
.ci-all { font-family: var(--f-hud); font-size: 12px; color: var(--paper); opacity: .85; }
@media (max-width: 760px) {
  .crate-row { flex-wrap: wrap; gap: 10px; }
  .crate-item { order: 1; flex-direction: column; gap: 14px; width: 100%; }
  .crate-row .cr-prev { order: 2; } .crate-row .cr-next { order: 3; }
  .ci-photo img { width: min(78vw, 46svh); }
  .ci-info { align-items: center; text-align: center; gap: 10px; }
  .ci-name { font-size: 34px; }
}

/* ?debug panel */
.dbg { position: fixed; left: 6px; top: 52px; z-index: 200; margin: 0; padding: 6px 8px; max-width: calc(100vw - 12px); white-space: pre-wrap; font: 10px/1.35 var(--f-hud); color: #f6ec8c; background: rgba(0,0,0,.82); border: 1px solid #cec14b; pointer-events: none; }

/* ================================================================
   BUTTONS: two styles with the same behaviour. On hover both lift and leave an outlined shadow.
   PRIMARY (the main call to action: Step inside, Play, Buy, page arrows): yellow fill, dark text.
   SECONDARY (everything else: Listen, menus, close, links, eject, next channel...): the inverse,
   dark fill with yellow text and outline.
   ================================================================ */
.btn-crystal, .tv-play, .ci-buy, .vw-arrow,
.btn-listen, .hud-btn, .au-eject, .au-navbtn, .vw-close-btn, .card-close, .g-close, .g-arrow,
.mini-hide, .mini-show, .tv-next, .chip, .au-storybtn, .au-storyclose {
  font-family: var(--f-display); letter-spacing: .05em; text-decoration: none; cursor: pointer;
  border: 0; border-radius: 0; text-shadow: none;
  transition: transform .15s ease, box-shadow .2s ease, background .2s, color .2s;
}
/* primary */
.btn-crystal, .tv-play, .ci-buy, .vw-arrow {
  color: var(--on-primary); background: var(--teal);
  box-shadow: 0 0 0 1px rgba(255,255,255,.35) inset, 0 0 18px var(--teal-glow);
}
/* secondary */
.btn-listen, .hud-btn, .au-eject, .au-navbtn, .vw-close-btn, .card-close, .g-close, .g-arrow,
.mini-hide, .mini-show, .tv-next, .chip, .au-storybtn, .au-storyclose {
  color: var(--teal); background: rgba(16,16,9,.78);
  box-shadow: 0 0 0 1.5px var(--teal) inset;
}
/* hover / keyboard focus: lift + outlined shadow (both styles) */
.btn-crystal:hover, .tv-play:hover, .ci-buy:hover, .vw-arrow:hover,
.btn-crystal:focus-visible, .tv-play:focus-visible, .ci-buy:focus-visible, .vw-arrow:focus-visible {
  color: var(--on-primary); background: var(--primary-hi); outline: none; text-decoration: none;
  transform: translate(-2px, -2px);
  box-shadow: 4px 4px 0 var(--ink), 4px 4px 0 1px var(--teal), 0 0 26px var(--teal-glow);
}
.btn-listen:hover, .hud-btn:hover, .au-eject:hover, .au-navbtn:hover, .vw-close-btn:hover, .card-close:hover, .g-close:hover,
.g-arrow:hover, .mini-hide:hover, .mini-show:hover, .tv-next:hover, .chip:hover, .au-storybtn:hover, .au-storyclose:hover,
.btn-listen:focus-visible, .hud-btn:focus-visible, .au-eject:focus-visible, .au-navbtn:focus-visible, .vw-close-btn:focus-visible,
.card-close:focus-visible, .g-close:focus-visible, .g-arrow:focus-visible, .mini-hide:focus-visible, .mini-show:focus-visible, .tv-next:focus-visible,
.chip:focus-visible, .au-storybtn:focus-visible, .au-storyclose:focus-visible {
  color: var(--primary-hi); background: rgba(16,16,9,.92); outline: none; text-decoration: none;
  transform: translate(-2px, -2px);
  box-shadow: 0 0 0 1.5px var(--primary-hi) inset, 4px 4px 0 var(--ink), 4px 4px 0 1px var(--teal);
}
.btn-crystal:active, .tv-play:active, .ci-buy:active, .vw-arrow:active,
.btn-listen:active, .hud-btn:active, .au-eject:active, .au-navbtn:active, .vw-close-btn:active, .card-close:active, .g-close:active,
.g-arrow:active, .mini-hide:active, .mini-show:active, .tv-next:active, .chip:active, .au-storybtn:active, .au-storyclose:active { transform: none; }
.vw-arrow:disabled { opacity: .25; transform: none; box-shadow: none; cursor: default; }
.chip::before { display: none; }
/* small buttons keep their size, just the new look */
.hud-btn, .card-close, .mini-hide, .mini-show, .g-close { font-size: 15px; padding: 5px 10px 3px; }
.chip { font-size: 16px; padding: 6px 12px 4px; }
.hud-btn b, .hud-btn[aria-pressed="true"] b { color: inherit; text-shadow: none; }
.au-storybtn, .au-storyclose { font-size: 16px; padding: 6px 12px 4px; }
.au-storybtn span, .au-storyclose span { color: inherit; }
kbd { border-color: currentColor; }
/* Listen (secondary): yellow disc with a dark play mark, like before */
.btn-listen .lb-ico { background: var(--teal); }
.btn-listen .lb-ico::before { border-left-color: var(--on-primary); }
.btn-listen.playing .lb-ico::before { border-left-color: var(--on-primary); border-right-color: var(--on-primary); }
.btn-listen small { color: var(--muted); }
.btn-listen.waiting { opacity: .75; }
.tv-play-ico { border-left-color: currentColor; }

/* ================================================================
   CLEANER UI: fewer small texts; the bench menu lives in the top bar
   ================================================================ */
.station-cap .kicker, .station-cap .cap-hint, .hero-kicker, .hero-date { display: none; }
/* the top bar gets the menu's dark see-through panel */
.hud { padding: 10px var(--gutter); background: rgba(16,16,9,.78); border-bottom: 1px solid rgba(206,193,75,.28); backdrop-filter: blur(6px); }
@media (min-width: 761px) {
  :root { --rail-w: 0px; }
  .rail {
    top: 0; right: auto; left: 50%; transform: translateX(-50%); height: 52px; z-index: 41;
    padding: 0; gap: 0; align-items: center; background: none; border: 0; box-shadow: none; backdrop-filter: none;
  }
  .rail ol { flex-direction: row; gap: 2px; }
  .rail button { font-size: 12px; padding: 6px 9px; letter-spacing: .06em; }
  .rail .rail-no, .rail-track { display: none; }
  .station-cap { top: 70px; }
}

/* small player: time + seek bar */
.mini-seek { display: flex; align-items: center; gap: 8px; margin-top: 5px; }
.mini-time { font-family: var(--f-hud); font-size: 11px; color: var(--muted); min-width: 32px; font-variant-numeric: tabular-nums; }
.mini-time:last-child { text-align: right; }
.mini-bar { position: relative; width: 170px; height: 16px; cursor: pointer; touch-action: none; }
.mini-bar::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 3px; margin-top: -1.5px; background: rgba(233,232,222,.18); }
.mini-bar i { position: absolute; left: 0; top: 50%; height: 3px; margin-top: -1.5px; width: 0; background: var(--teal); }
.mini-bar b { position: absolute; top: 50%; width: 11px; height: 11px; margin: -5.5px 0 0 -5.5px; border-radius: 50%; background: var(--paper); transform: scale(.6); transition: transform .15s; }
.mini-bar:hover b, .mini-bar.drag b, .mini-bar:focus-visible b { transform: scale(1); }
.mini-bar:focus-visible { outline: none; }
.mini-bar:focus-visible::before { background: rgba(233,232,222,.35); }
@media (max-width: 760px) { .mini-bar { width: 120px; } .mini-vu { display: none; } }

/* clean outlines around clickable objects */
/* the outline is the cue now: no dashed ring, no pulsing dot */
.hs::before, .hs::after { display: none; }
@media (min-width: 761px) { .rail button { white-space: nowrap; } }
@media (min-width: 761px) and (max-width: 1050px) { .rail button { font-size: 11px; padding: 6px 6px; letter-spacing: .03em; } .hud-btn { font-size: 13px; padding: 4px 7px 2px; } }


/* ---------- The hatch: Super Fan access ---------- */
.hs-label b:empty { display: none; }
.sf { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: 16px; opacity: 0; transition: opacity .25s; }
.sf[hidden] { display: none; }
.sf.open { opacity: 1; }
.sf-back { position: absolute; inset: 0; background: rgba(8,8,4,.72); backdrop-filter: blur(3px); }
.sf-box {
  position: relative; width: min(460px, 100%); max-height: calc(100svh - 32px); overflow-y: auto;
  background: var(--ink-2); color: var(--paper); border: 1px solid var(--line);
  box-shadow: 0 0 0 1px rgba(206,193,75,.25), 0 30px 80px rgba(0,0,0,.6);
  padding: 26px 24px 20px; font-family: var(--f-type); transform: translateY(14px); transition: transform .3s cubic-bezier(.2,1,.3,1);
}
.sf.open .sf-box { transform: none; }
.sf-box::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 8px;
  background: repeating-linear-gradient(-45deg, var(--teal) 0 12px, var(--ink) 12px 24px); }
.sf-close { position: absolute; top: 16px; right: 12px; }
.sf-tag { margin: 6px 0 6px; font-size: 11px; letter-spacing: .14em; color: var(--rust); }
.sf-box h2 { margin: 0 0 10px; font-family: var(--f-display); font-weight: normal; font-size: 44px; line-height: .95; letter-spacing: .01em; }
.sf-body { margin: 0 0 18px; font-size: 13px; line-height: 1.6; color: var(--paper-2); }
.sf-tabs { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); margin-bottom: 16px; }
.sf-tabs button { font: 18px/1 var(--f-display); letter-spacing: .06em; padding: 11px 8px 9px; background: transparent; color: var(--muted); border: 0; cursor: pointer; }
.sf-tabs button[aria-selected="true"] { background: var(--teal); color: var(--on-primary); }
.sf-tabs button:not([aria-selected="true"]):hover { color: var(--paper); background: var(--ink-3); }
.sf-form { display: grid; gap: 6px; }
.sf-form label { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }
.sf-form input { font: 15px var(--f-type); color: var(--paper); background: var(--ink); border: 1px solid var(--line); padding: 11px 12px; border-radius: 0; }
.sf-form input:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 1px var(--teal); }
.sf-msg { min-height: 1.4em; margin: 6px 0 2px; font-size: 12px; letter-spacing: .04em; color: var(--muted); }
.sf-msg.err { color: var(--red); }
.sf-msg.ok { color: var(--teal); }
.sf-submit { justify-self: stretch; justify-content: center; }
.sf-switch { justify-self: center; margin-top: 8px; background: none; border: 0; color: var(--paper-2); font: 12px var(--f-type); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; padding: 6px; }
.sf-switch:hover { color: var(--teal); }
.sf-foot { margin: 16px 0 0; padding-top: 12px; border-top: 1px solid var(--line); font-size: 11px; color: var(--muted); text-align: center; }
body.in-hatch .rims, body.in-hatch #hotspots, body.in-hatch .station-cap { display: none; }
@media (prefers-reduced-motion: reduce) { .sf, .sf-box { transition: none; } }

/* close buttons: a minimal ✕ (Esc still closes) */
.x-btn { width: 34px; height: 34px; padding: 0 !important; display: inline-grid; place-items: center; line-height: 0; }
.x-btn svg { display: block; }
.x-btn kbd { display: none; }

/* platform logos */
.pi { display: inline-block; width: 1.05em; height: 1.05em; flex: 0 0 auto; background: currentColor; -webkit-mask: var(--i) center / contain no-repeat; mask: var(--i) center / contain no-repeat; }
.chip .pi { width: 14px; height: 14px; margin-right: 6px; vertical-align: -2px; }

/* the radio: FM = listen, AM = follow */
.obj-radio { --nx: 22; width: 100%; }
.card.object-mode:has(.obj-radio) { width: min(480px, calc(100vw - 24px)); }
.rd-stations a span { white-space: nowrap; }
.rd-nums { position: absolute; left: 10px; right: 10px; bottom: 4px; display: flex; justify-content: space-between; font: 700 10px var(--f-hud); color: #3a2f1c; }
.obj-radio[data-band="fm"] .rd-nums-am, .obj-radio[data-band="am"] .rd-nums-fm,
.obj-radio[data-band="fm"] .rd-list-am, .obj-radio[data-band="am"] .rd-list-fm { display: none; }
.rd-needle { left: calc(10px + (100% - 20px) * var(--nx) / 100); }
.rd-switch { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 10px; }
.rd-switch button { display: flex; align-items: baseline; justify-content: center; gap: 8px; padding: 8px 6px 6px; cursor: pointer; font: 20px/1 var(--f-display); letter-spacing: .08em; color: #e9e3cf; background: linear-gradient(180deg, #3a2c1d, #24190f); border: 1px solid rgba(232,217,168,.25); border-radius: 4px; box-shadow: 0 3px 0 #120c06; transition: transform .1s, box-shadow .1s; }
.rd-switch button small { font: 700 10px var(--f-hud); color: #b5a67a; }
.rd-switch button[aria-pressed="true"] { transform: translateY(3px); box-shadow: 0 0 0 #120c06, inset 0 2px 6px rgba(0,0,0,.6); color: #f6ec8c; border-color: #e8d9a8; }
.rd-switch button[aria-pressed="true"] small { color: #f6ec8c; }
.rd-stations a span { flex: 1; }
.rd-stations a .pi { width: 20px; height: 20px; color: #e8d9a8; }
.rd-stations a:hover .pi, .rd-stations a:focus-visible .pi { color: #f6ec8c; }

/* the booking card is the brick phone itself: contacts on its green screen */
.card.object-mode:has(.obj-phone) { width: min(330px, calc(100vw - 32px)); }
.obj-phone { position: relative; margin-top: 34px; padding: 18px 16px 16px; border-radius: 22px 22px 30px 30px; background: linear-gradient(160deg, #3a3f42, #1d2123 60%, #15181a); box-shadow: 0 34px 70px rgba(0,0,0,.6), inset 0 0 0 2px #0c0e0f, inset 0 2px 0 rgba(255,255,255,.12); color: #0d3a33; }
.ph-antenna { position: absolute; right: 26px; top: -34px; width: 12px; height: 40px; border-radius: 6px 6px 2px 2px; background: linear-gradient(90deg, #111, #2c2f31, #111); }
.ph-top { display: flex; justify-content: center; margin-bottom: 10px; }
.ph-speaker { width: 64px; height: 6px; border-radius: 3px; background: repeating-linear-gradient(90deg, #0a0b0c 0 4px, #2c3133 4px 6px); }
.ph-screen { padding: 10px 12px 8px; border-radius: 6px; background: linear-gradient(180deg, #a9f0df, #8fdcc9); box-shadow: inset 0 0 0 3px #0e2a25, inset 0 4px 12px rgba(0,0,0,.35); font-family: var(--f-type); }
.ph-status { display: flex; justify-content: space-between; margin: 0 0 6px; font-size: 10px; letter-spacing: .08em; }
.obj-phone h3 { font: 26px/1 var(--f-display); letter-spacing: .06em; border-bottom: 2px solid #0d3a33; padding-bottom: 4px; }
.ph-list { list-style: none; margin: 8px 0 0; padding: 0; }
.ph-list li { display: grid; gap: 1px; padding: 5px 0; border-bottom: 1px dashed rgba(13,58,51,.35); }
.ph-list span { font-size: 10px; letter-spacing: .12em; opacity: .75; }
.ph-list a, .ph-list b { font-size: 13px; font-weight: 700; color: #0d3a33; overflow-wrap: anywhere; }
.ph-list a { text-decoration: underline; text-underline-offset: 2px; }
.ph-msg { margin: 8px 0 4px; font-size: 11px; line-height: 1.45; }
.ph-call { display: block; margin: 12px 0 10px; padding: 9px; text-align: center; border-radius: 16px; font: 18px/1 var(--f-display); letter-spacing: .1em; color: var(--on-primary); background: var(--teal); text-decoration: none; box-shadow: 0 3px 0 #584e00; }
.ph-call:hover, .ph-call:focus-visible { background: var(--primary-hi); outline: none; }
.ph-keys { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.ph-keys span { padding: 6px 0 5px; text-align: center; border-radius: 8px; font: 700 11px var(--f-hud); color: #cfd6d8; background: linear-gradient(180deg, #4a5053, #2e3335); box-shadow: 0 2px 0 #0c0e0f; }

/* album page: listen on Spotify / Bandcamp up front */
.au-listen { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px 8px 12px; text-decoration: none; color: var(--paper); border: 1px solid rgba(233,232,222,.35); background: rgba(0,0,0,.35); transition: border-color .15s, background .15s; }
.au-listen .pi { width: 22px; height: 22px; }
.au-listen span { display: grid; font: 18px/1 var(--f-display); letter-spacing: .06em; }
.au-listen small { font: 9px var(--f-hud); letter-spacing: .12em; text-transform: uppercase; opacity: .7; margin-bottom: 2px; }
.au-listen:hover, .au-listen:focus-visible { border-color: var(--accent, var(--teal)); background: rgba(0,0,0,.55); outline: none; }

/* radio: three stations per band, the first across the top, two below */
.rd-stations li:first-child { grid-column: 1 / -1; }
.rd-stations li:first-child a { justify-content: center; }
.rd-stations li:first-child a span { flex: 0 0 auto; }
.rd-stations li:first-child a b { margin-left: 12px; }

/* album page: platform buttons share the row evenly, same height, same logo size, all white */
.au-foot .au-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(128px, 1fr)); gap: 8px; flex: 1 1 100%; }
.au-listen { justify-content: flex-start; min-height: 50px; color: var(--paper); }
.au-listen .pi { width: 22px; height: 22px; color: var(--paper); }
.au-listen span { font-size: 18px; }
@media (max-width: 760px) { .au-foot .au-links { grid-template-columns: repeat(3, minmax(0, 1fr)); overflow: visible; } .au-listen { padding: 8px 10px; gap: 8px; } .au-listen span { font-size: 15px; } }

/* Listen = the inverse twin of Step Inside: same box, same type size, one line */
.hero-cta .btn-listen {
  display: inline-flex; align-items: center; gap: 10px; border: 0;
  font-family: var(--f-display); font-size: 24px; line-height: 1; letter-spacing: .05em;
  padding: 11px 18px 9px 12px;
}
.hero-cta .btn-listen .lb-ico { width: 22px; height: 22px; margin-top: -2px; }
.hero-cta .btn-listen .lb-ico::before { left: 8px; top: 6px; border-left-width: 9px; border-top-width: 5px; border-bottom-width: 5px; }
.hero-cta .btn-listen.playing .lb-ico::before { left: 7px; top: 6px; width: 8px; height: 10px; }
.hero-cta .btn-listen .lb-txt { font-size: inherit; }
.hero-cta .btn-listen small { display: none; }

@media (max-width: 760px) {
  /* a slimmer tab bar, so the first screen's buttons breathe */
  :root { --navh: 44px; }
  .rail { padding-top: 4px; padding-bottom: calc(4px + env(safe-area-inset-bottom, 0px)); }
  .rail button { font-size: 11px; padding: 6px 9px; min-height: 32px; }
  .hero-cta { gap: 12px; }
  .hero-cta .btn, .hero-cta .btn-listen { font-size: 18px; padding: 9px 14px 7px; }
  .hero-cta .btn-listen { padding-left: 10px; }
  .stop-hero .content { padding-bottom: calc(var(--navh) + 24px + env(safe-area-inset-bottom, 0px)); }
}

/* radio: never wider than its case */
.rd-stations { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.rd-stations a { min-width: 0; }
.rd-stations a span { overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 760px) {
  .obj-radio { padding: 14px 12px 12px; }
  .rd-stations a { gap: 8px; padding: 8px; font-size: 16px; }
  .rd-stations a .pi { width: 18px; height: 18px; }
  .rd-stations b { font-size: 10px; }
  .rd-switch button { font-size: 17px; }
}

/* album page on phones: platform buttons are just their logos; nothing gets cut */
@media (max-width: 760px) {
  .au-foot { gap: 8px; }
  .au-foot .au-links { display: flex; flex: 0 1 auto; gap: 8px; overflow: visible; order: 2; margin-left: auto; }
  .au-listen { width: 46px; min-height: 46px; height: 46px; padding: 0; justify-content: center; }
  .au-listen span { display: none; }
  .au-listen .pi { width: 22px; height: 22px; }
  .au-foot .chip { white-space: nowrap; flex: none; }
  .au-storybtn { flex: none; white-space: nowrap; }
}

/* ---------- the crate, gritty: plain photo with the RV's soft yellow outline, the price stamped in ink ---------- */
.ci-photo { padding: 0; background: none; rotate: 0deg; outline: 2px solid rgba(227,216,111,.85); outline-offset: 4px; box-shadow: 0 0 18px rgba(206,193,75,.28), 0 30px 70px rgba(0,0,0,.55); }
.ci-line { margin: 0; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.ci-stamp {
  display: inline-block; padding: 6px 12px 3px; rotate: -4deg;
  font-family: var(--f-display); font-size: 40px; line-height: 1; letter-spacing: .04em;
  color: #d8cb52; border: 3px solid currentColor; opacity: .92;
  /* rubber stamp: patchy ink */
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='60'><filter id='s'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' seed='7'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 -2.4 1.75'/></filter><rect width='100%' height='100%' filter='url(%23s)'/></svg>") 0 0 / 120px 60px;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='60'><filter id='s'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' seed='7'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 -2.4 1.75'/></filter><rect width='100%' height='100%' filter='url(%23s)'/></svg>") 0 0 / 120px 60px;
}
.ci-manifest { font-family: var(--f-hud); font-size: 11px; letter-spacing: .12em; color: var(--muted); }
@media (max-width: 760px) {
  .ci-line { justify-content: center; }
  .ci-stamp { font-size: 32px; }
  .crate-row .vw-arrow { width: 52px; height: 44px; font-size: 34px; }
}
@media (max-width: 760px) {
  .hero-cta .btn-listen .lb-ico { width: 18px; height: 18px; margin-top: -2px; }
  .hero-cta .btn-listen .lb-ico::before { left: 6px; top: 4px; border-left-width: 8px; border-top-width: 5px; border-bottom-width: 5px; }
  .hero-cta .btn-listen.playing .lb-ico::before { left: 5px; top: 4px; width: 8px; height: 10px; }
}
@media (max-width: 760px) {
  .rd-stations a { gap: 6px; padding: 8px 7px; font-size: 15px; letter-spacing: .03em; }
  .rd-stations b { font-size: 9px; letter-spacing: 0; }
  .rd-stations a .pi { width: 16px; height: 16px; }
}

/* phones: the whole brick phone fits (screen + Write to us), the keypad stays on bigger screens */
@media (max-width: 760px) {
  .card.object-mode:has(.obj-phone) { max-height: none; overflow: visible; }
  .obj-phone { margin-top: 30px; padding: 14px 12px 12px; }
  .ph-keys { display: none; }
  .ph-call { margin: 10px 0 2px; }
  .ph-top { margin-bottom: 8px; }
}

/* viewer arrows: small square buttons, chevron dead centre */
.vw-arrow, .crate-row .vw-arrow { width: 44px; height: 44px; padding: 0; font-size: 0; line-height: 0; display: grid; place-items: center; }
.vw-arrow svg { display: block; width: 18px; height: 18px; }
@media (max-width: 760px) { .vw-arrow, .crate-row .vw-arrow { width: 42px; height: 42px; } }
/* the crate's card: product name, then the button */
.ci-info { gap: 16px; }
.ci-kicker { font-size: 11px; }

/* Step Inside appears together with the RV: clicking it while the room still loads would start the walk
   the moment the scene shows up, before you ever saw the RV (its space is kept, so nothing shifts) */
body.immersive:not(.scene-ready) .hero-cta .btn-crystal { visibility: hidden; opacity: 0; }
.hero-cta .btn-crystal { transition: opacity .8s ease .3s, transform .15s ease, box-shadow .2s ease, background .2s; }

/* the text panels are screen-reader copies in the 3D view: their photos (covers, merch, band) only load in the
   flat view, where they're actually shown — saves ~1.4 MB on the first visit */
body.immersive .stop:not(.stop-hero) .panel img { display: none; }

/* ---------- review fixes, Nov 2026 ---------- */
/* the screen-reader copies pin to the left edge: at the right one they made the page scroll 1px sideways */
body.immersive .stop:not(.stop-hero) .panel { left: 0; }

/* links use the palette */
.contacts a { color: var(--hud); }
.panel [tabindex="-1"]:focus { outline: none; }

/* tap targets: 24px at least, without growing what you see */
.hud-logo { padding-block: 5px; margin-block: -5px; }
.hud-btn, .g-arrow { min-height: 24px; }
.mini-bar { height: 24px; margin-block: -4px; }
.tv-yt { padding-block: 4px; }
.contacts a, .ph-list a { display: inline-block; padding-block: 3px; }

/* small text that fell under 4.5:1 */
.page-no { opacity: .75; }
.dates th { opacity: .58; }
.tv-ch span { opacity: .7; }
.ci-pos { padding: 2px 6px; color: var(--hud); background: rgba(16,16,9,.88); text-shadow: none; }

/* small phones: all seven tabs fit, Members included */
@media (max-width: 430px) {
  .rail ol { justify-content: space-between; gap: 0; }
  .rail button, .rail li.active button { padding: 6px 5px; letter-spacing: 0; }
}
@media (max-width: 350px) {
  .rail button, .rail li.active button { font-size: 10px; padding-inline: 3px; }
}
/* tablets: an open object sits above the bench switcher instead of behind it */
@media (min-width: 761px) and (max-width: 900px) {
  .card.object-mode:not(:has(.obj-road)) { bottom: 72px; margin-inline: auto; }
}
/* short screens: the whole brick phone fits (as on phones, the keypad goes) */
@media (min-width: 761px) and (max-height: 860px) {
  .ph-keys { display: none; }
}

/* ---------- decisions from the review ---------- */
[hidden].btn-listen, [hidden].hud-btn, .hero-cta [hidden] { display: none !important; }
.station-cap h2 { color: #fff; text-shadow: 0 0 2px var(--ink), 0 1px 3px rgba(16,16,9,.95), 0 0 22px rgba(16,16,9,.9); }
.album-ui .au-navbtn { font-size: 28px; }
.obj-pad .stamp { display: inline-block; margin-top: 14px; }
.obj-pad .pad-note { font-family: var(--f-hud); font-size: 12px; line-height: 28px; color: #1f1d17; margin: 8px 0 0; }
.signup-title { font-family: var(--f-display); font-size: 28px; line-height: 1; margin: 0 0 12px; }
.sf-box h2 { padding-right: 44px; }
.sf-soon { margin: 0 0 14px; font-family: var(--f-display); font-size: 30px; letter-spacing: .05em; color: var(--rust); }
.sf-box .sf-submit { display: flex; }

/* ---------- player: the title opens the tape; it can be put away ---------- */
.mini-line { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; max-width: 100%; }
.mini-title { max-width: 100%; padding: 2px 0; border: 0; background: none; color: var(--paper); cursor: pointer; text-align: left; line-height: 1; }
.mini-title b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.mini-title:hover, .mini-title:focus-visible { color: var(--teal); }
.mini-hide, .mini-show { flex: none; font-size: 12px; line-height: 1; padding: 6px 7px 4px; min-height: 24px; white-space: nowrap; }
.mini { transition: translate .38s cubic-bezier(.2,.8,.2,1), opacity .25s ease, visibility .38s; }
body.player-tucked .mini { translate: 0 calc(100% + 24px); opacity: 0; visibility: hidden; }
.mini-show {
  position: fixed; left: 50%; bottom: 0; z-index: 34; translate: -50% 100%; padding: 8px 12px 6px;
  opacity: 0; visibility: hidden;
  transition: translate .3s cubic-bezier(.2,.8,.2,1), opacity .2s ease, visibility .3s;
}
body.player-tucked .mini:not([hidden]) + .mini-show { translate: -50% 0; opacity: 1; visibility: visible; transition-delay: .18s; }
body:is(.in-album, .in-focus, .in-viewer, .in-hatch, .flat) .mini-show { display: none; }
/* narrower screens: bottom right, off Step Inside and Listen */
@media (min-width: 761px) and (max-width: 1100px) {
  .mini { left: auto; right: 12px; transform: none; }
  .mini-show { left: auto; right: 12px; translate: 0 100%; }
  body.player-tucked .mini:not([hidden]) + .mini-show { translate: 0 0; }
  body.has-player:not(.inside) .scroll-hint { display: none; }
}

/* ---------- phones: the tab bar always open (inside too: owner, 29 Nov, fewer taps than a burger), the player above it ---------- */
.hud-menu, .menu-shade { display: none; }
@media (max-width: 760px) {
  /* --safe: the strip phones keep for their home bar. Under the tabs all of it read as dead space:
     a bit under half is enough to keep the letters clear of the bar. */
  body { --navh: 36px; --safe: max(2px, calc(env(safe-area-inset-bottom, 0px) * .45)); }
  .rail {
    padding-top: 2px; padding-bottom: var(--safe);
    transition: translate .35s cubic-bezier(.2,.8,.2,1), opacity .25s ease, visibility .35s;
  }
  .stop-hero .content { padding-bottom: calc(var(--navh) + 24px + var(--safe)); }
  .gallery { bottom: calc(var(--navh) + 10px + var(--safe)); }

  /* inside the RV: the tabs stay; they step aside only while something is open over the room */
  body.inside:is(.in-focus, .in-hatch) .rail { translate: 0 100%; opacity: 0; visibility: hidden; }
  body.menu-open .rail {
    top: 48px; bottom: auto; max-height: calc(100svh - 48px); overflow-y: auto;
    padding: 4px 16px 10px; border-top: 0; border-bottom: 1px solid rgba(206,193,75,.45);
    background: rgba(16,16,9,.96); transition: none; animation: menu-in .22s ease;
  }
  body.menu-open .rail ol { flex-direction: column; align-items: stretch; gap: 0; overflow: visible; }
  body.menu-open .rail li + li { border-top: 1px solid rgba(233,232,222,.12); }
  body.menu-open .rail li button, body.menu-open .rail li.active button {
    justify-content: flex-start; width: 100%; min-height: 44px; padding: 8px 10px 6px;
    font: 24px/1 var(--f-display); letter-spacing: .05em;
  }
  body.menu-open .menu-shade { display: block; position: fixed; inset: 0; z-index: 38; background: rgba(8,8,5,.45); touch-action: none; }

  /* the player lies above the tabs, outside and inside */
  .mini {
    left: 0; right: 0; transform: none; max-width: none; gap: 10px;
    bottom: calc(var(--navh) + var(--safe)); padding: 5px 10px;
    border-width: 1px 0 0; box-shadow: none;
  }
  .mini-play { flex: none; width: 34px; height: 34px; }
  .mini-play::after { left: 13px; top: 10px; }
  .mini.playing .mini-play::after { left: 11px; top: 10px; }
  .mini-meta { flex: 1; }
  .mini-line { flex-direction: row; align-items: baseline; gap: 8px; }
  .mini-title { flex: 0 1 auto; min-width: 0; }
  .mini-title b { font-size: 18px; }
  .mini-line > span { flex: 1 1000 auto; min-width: 0; }
  .mini-seek { margin: 0; gap: 6px; }
  .mini-bar { flex: 1; width: auto; margin-block: -2px; }
  .mini-show { left: auto; right: 8px; bottom: calc(var(--navh) + var(--safe)); translate: 0 100%; }
  body.player-tucked .mini:not([hidden]) + .mini-show { translate: 0 0; }
  body.player-tucked .mini { translate: 0 100%; }
  /* outside, the first screen moves up for it */
  body.has-player:not(.inside) .stop-hero .content { padding-bottom: calc(var(--navh) + 70px + var(--safe)); }
  body.has-player.player-tucked:not(.inside) .stop-hero .content { padding-bottom: calc(var(--navh) + 38px + var(--safe)); }
}
@media (max-width: 360px) {
  body.inside .hud-controls { flex-wrap: nowrap; }
  .mini-hide { font-size: 11px; padding-inline: 5px; }
}
@keyframes menu-in { from { opacity: 0; translate: 0 -8px; } }
@media (prefers-reduced-motion: reduce) { .mini, .mini-show, .rail { transition: none !important; animation: none !important; } }
@media (max-width: 760px) {
  .hud-menu { position: relative; }
  .hud-menu::after { content: ""; position: absolute; inset: -9px -4px; } /* a whole thumb's worth */
}


/* design credit on the 3D home: bottom-left corner, quiet; part of the hero so it fades out with it */
.hero-credit { position: fixed; left: var(--gutter); bottom: 20px; z-index: 30; margin: 0; display: flex; align-items: flex-end; gap: 6px;
  font-family: var(--f-hud); font-size: 11px; letter-spacing: .06em; color: var(--paper); opacity: .62; text-shadow: 0 1px 8px rgba(0,0,0,.8); }
.hero-legal { margin-left: 14px; font: 11px/1.2 var(--f-hud); color: var(--paper); opacity: .7; }
.hero-legal a, .hero-legal button { color: inherit; font: inherit; background: none; border: 0; padding: 0; text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }
.hero-legal :is(a, button):hover { color: var(--hud); opacity: 1; }
.hero-credit img { width: 30px; height: auto; filter: drop-shadow(0 1px 6px rgba(0,0,0,.7)); }
body.flat .hero-credit { display: none; }
@media (max-width: 760px) { .hero-credit { position: static; margin-top: 16px; } } /* phones: the bottom menu bar owns the corner */

/* ---------- album credits ---------- */
.au-notes .au-credits { font-size: 12px; line-height: 1.6; opacity: .75; }
/* the crate: price and the print shop, as in the flat view */
.crate-item .ci-info .ci-price { margin: -6px 0 0; font-family: var(--f-display); font-size: 34px; letter-spacing: .04em; color: var(--paper); text-shadow: 0 2px 8px rgba(0,0,0,.6); }
.crate-item .ci-info .ci-printed { margin: 0; font-family: var(--f-hud); font-size: 12px; color: var(--paper); text-shadow: 0 2px 6px rgba(0,0,0,.7); }
.crate-item .ci-info .ci-printed a { color: inherit; text-underline-offset: 3px; }

/* the BlackBox sticker (the sticker pack on the Contact desk): white logo on dark backing, links as stickers */
.obj-sticker { position: relative; width: min(300px, 82vw); padding: 26px 22px 30px; background: #1c1a15; border-radius: 6px; rotate: -2deg; box-shadow: 0 30px 60px rgba(0,0,0,.6), inset 0 0 0 1px rgba(255,255,255,.06); }
.obj-sticker::after { content: ""; position: absolute; right: 0; bottom: 0; width: 42px; height: 42px; background: linear-gradient(135deg, transparent 50%, #d8d2c0 50%); border-radius: 0 0 6px 0; box-shadow: -3px -3px 6px rgba(0,0,0,.35); pointer-events: none; } /* the corner, lifting */
.obj-sticker .st-logo { display: block; width: 104px; height: auto; margin: 0 auto 20px; filter: drop-shadow(0 2px 2px rgba(0,0,0,.6)); }
.obj-sticker .st-links { list-style: none; margin: 0; padding: 0; display: grid; justify-items: center; gap: 11px; }
.obj-sticker .st-links a { display: block; padding: 7px 12px 5px; background: #f1ede2; color: #15130f; font-family: var(--f-display); font-size: 21px; line-height: 1; letter-spacing: .05em; text-decoration: none; box-shadow: 0 2px 3px rgba(0,0,0,.5); }
.obj-sticker .st-links li:nth-child(odd) a { rotate: -1.8deg; } .obj-sticker .st-links li:nth-child(even) a { rotate: 1.5deg; }
.obj-sticker .st-links a:hover, .obj-sticker .st-links a:focus-visible { background: #cec14b; outline: none; }

/* ---------- ROAM: the free camera (main.js), desktop only ---------- */
.roam-help { position: fixed; left: 50%; bottom: 18px; translate: -50% 0; z-index: 45; padding: 8px 14px 7px; background: rgba(16,16,9,.82); border: 1px solid rgba(206,193,75,.35); color: var(--paper); font: 12px/1.5 var(--f-hud); text-align: center; pointer-events: none; }
.roam-help p { margin: 0; }
.roam-help .rh-paused { display: none; }
body.roam-paused .roam-help .rh-go { display: none; }
body.roam-paused .roam-help .rh-paused { display: block; }
.roam-help b { color: var(--hud); font-weight: 400; }
body.roaming .station-cap, body.roaming .rail, body.roaming .hotspots, body.roaming .scroll-hint { visibility: hidden; }
/* ROAM: not filled (a yellow fill read as "the page you're on", like the menu: owner, 2 Dec, option C). An eye, an outline that
   breathes (2.6 s) and a light that sweeps across every 5 s, until the visitor has roamed once (body.roamed, remembered).
   Slow, far under 3 flashes a second; still for reduced motion. */
#btn-roam { position: relative; overflow: hidden; display: inline-flex; align-items: center; gap: 6px; }
#btn-roam[hidden] { display: none; }
#btn-roam .roam-eye { width: 1.15em; height: 1.15em; fill: none; stroke: currentColor; stroke-width: 2; flex: none; }
#btn-roam::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(100deg, transparent 30%, rgba(246,236,140,.5) 50%, transparent 70%); translate: -120% 0; }
body:not(.roamed):not(.roaming) #btn-roam { animation: roam-breathe 2.6s ease-in-out infinite; }
body:not(.roamed):not(.roaming) #btn-roam::before { animation: roam-sweep 5s ease-in-out infinite; }
body:not(.roamed):not(.roaming) #btn-roam:hover, body:not(.roamed):not(.roaming) #btn-roam:focus-visible { animation: none; }
@keyframes roam-sweep { 0%, 70% { translate: -120% 0; } 90%, 100% { translate: 120% 0; } }
@keyframes roam-breathe { 0%, 100% { box-shadow: 0 0 0 1.5px var(--teal) inset, 0 0 0 0 rgba(227,216,111,0); } 50% { box-shadow: 0 0 0 1.5px var(--primary-hi) inset, 0 0 14px 2px rgba(227,216,111,.45); } }
body.roaming #btn-roam { background: var(--teal); color: #101009; } /* on: lit, like SOUND ON */
/* the one-time hint under ROAM (main.js roamTip): first visit inside only, gone on click, ✕, ROAM, or after a while */
.roam-tip { position: fixed; z-index: 60; width: 230px; padding: 10px 30px 9px 12px; background: var(--teal); color: #101009; font: 12px/1.4 var(--f-hud); box-shadow: 4px 4px 0 rgba(16,16,9,.85); }
.roam-tip::before { content: ""; position: absolute; top: -7px; left: var(--arrow, 30px); border: 7px solid transparent; border-top: 0; border-bottom-color: var(--teal); }
.roam-tip strong { display: block; font: 18px/1 var(--f-display); letter-spacing: .05em; margin-bottom: 3px; font-weight: normal; }
.roam-tip .rt-x { position: absolute; top: 4px; right: 4px; width: 22px; height: 22px; padding: 0; border: 0; background: none; color: #101009; font: 13px/1 var(--f-hud); cursor: pointer; }
.roam-tip .rt-x:hover, .roam-tip .rt-x:focus-visible { background: rgba(16,16,9,.12); outline: none; }
@media (prefers-reduced-motion: reduce) { #btn-roam, #btn-roam::before { animation: none !important; } }
/* ---------- ON THE ROAD: the tour sheet, opened (cards.js tour; owner, 29 Nov: option B) ----------
   The paper fills the card. Upright screens: one column, the past shows scroll in their own window between the next show
   and the shared stages. Wide screens: two columns (next show + keys + stages | the past), the window scrolls only when
   the screen is short. The keys: one box, two fills (same size, same 2px edge): TICKETS yellow on ink, the calendar ink
   with a single yellow edge. */
.card.object-mode:has(.obj-road) {
  --rd-paper: #ece4c8; --rd-ink: #151510; --rd-soft: #4a4a3c; --rd-rule: rgba(21,21,16,.16); --rd-year: #1f3d55; --rd-red: #b3211a;
  width: min(1000px, calc(100vw - 48px)); height: min(660px, calc(100svh - 120px)); max-height: none;
  left: 50%; right: auto; top: calc(50svh + 24px); bottom: auto; margin: 0; padding: 0; overflow: visible;
  background: var(--rd-paper); border: 0; transform: translate(-50%, calc(-50% + 20px));
}
.card.object-mode.open:has(.obj-road) { transform: translate(-50%, -50%); }
.card.object-mode:has(.obj-road) .card-close { position: absolute; float: none; z-index: 2; top: 10px; right: 10px; margin: 0; }
.card.object-mode:has(.obj-road) .card-body { height: 100%; }
.obj-road {
  height: 100%; color: var(--rd-ink); rotate: 0deg;
  background:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3'/><feColorMatrix values='0 0 0 0 .3  0 0 0 0 .24  0 0 0 0 .1  0 0 0 .09 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"),
    linear-gradient(175deg, #f3ecd4, var(--rd-paper) 45%, #e2d8b8);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); grid-template-rows: auto minmax(0, 1fr);
  grid-template-areas: "head head" "side past"; column-gap: 44px; padding: 26px 34px 24px;
}
.rd-head { grid-area: head; display: flex; align-items: baseline; justify-content: space-between; gap: 6px 20px; flex-wrap: wrap;
  border-bottom: 5px solid var(--rd-ink); padding: 0 48px 8px 0; margin-bottom: 18px; }
.obj-road h3 { margin: 0; font: 72px/.86 var(--f-display); font-weight: normal; letter-spacing: .01em; color: var(--rd-ink); }
.rd-sub { margin: 0; font: 13px/1.3 var(--f-hud); color: var(--rd-soft); letter-spacing: .03em; text-transform: uppercase; }
.rd-label { margin: 0 0 8px; font: 700 11px/1 var(--f-hud); letter-spacing: .16em; color: var(--rd-soft); }

/* the next show, circled in red marker as on the paper on the table */
.rd-side { grid-area: side; min-height: 0; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: none; padding: 10px 10px 0; margin: -10px -10px 0; }
.rd-next { padding-top: 6px; }
.rd-circle { position: relative; margin: 0; padding: 22px 18px 20px; text-align: center; }
.rd-circle::before { content: ""; position: absolute; inset: 0 -8px -2px; border: 3px solid rgba(179,33,26,.8); border-radius: 50%; rotate: -2deg; pointer-events: none; }
.rd-mark { position: absolute; left: 2px; top: -10px; font: 30px/1 "Permanent Marker", cursive; color: var(--rd-red); rotate: -8deg; }
.rd-circle > * { display: block; }
.rd-when { font: 64px/.92 var(--f-display); font-weight: normal; }
.rd-venue { margin-top: 6px; font: 26px/1 var(--f-display); text-transform: uppercase; text-wrap: balance; }
.rd-who { margin-top: 8px; font: 700 13px/1.4 var(--f-hud); color: var(--rd-soft); }
.rd-keys { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 24px 0 0; }
.obj-road .rd-key {
  display: flex; align-items: center; justify-content: center; min-height: 48px; padding: 9px 10px 7px;
  font: 21px/1 var(--f-display); letter-spacing: .05em; text-align: center; text-decoration: none; border: 2px solid var(--rd-ink);
  transition: transform .15s ease, box-shadow .2s ease, background .2s, color .2s, border-color .2s;
}
.obj-road .rd-key-p { background: var(--hud); color: var(--rd-ink); }
.obj-road .rd-key-s { background: var(--rd-ink); color: var(--hud); border-color: var(--hud); }
/* the lift: a mouse over it, or the keyboard on it (not a finger: on phones a tapped key would keep it) */
.obj-road .rd-key:focus-visible { transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--rd-ink); outline: none; }
.obj-road .rd-key-p:focus-visible { background: #f6ec8c; }
.obj-road .rd-key-s:focus-visible { color: #f6ec8c; border-color: #f6ec8c; }
@media (hover: hover) {
  .obj-road .rd-key:hover { transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--rd-ink); }
  .obj-road .rd-key-p:hover { background: #f6ec8c; }
  .obj-road .rd-key-s:hover { color: #f6ec8c; border-color: #f6ec8c; }
}
.obj-road .rd-key:active { transform: none; box-shadow: none; }

/* the past: its own window, rules top and bottom, years pinned while their shows pass, a fade while there's more */
.rd-past { grid-area: past; min-height: 0; display: flex; flex-direction: column; }
.rd-win { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; border-top: 2px solid var(--rd-ink); border-bottom: 2px solid var(--rd-ink);
  scrollbar-width: thin; scrollbar-color: var(--rd-ink) transparent; }
.rd-win.more { -webkit-mask: linear-gradient(180deg, #000 calc(100% - 34px), transparent); mask: linear-gradient(180deg, #000 calc(100% - 34px), transparent); }
.rd-win:focus-visible { outline: 2px dashed var(--rd-ink); outline-offset: 3px; }
.rd-yh { position: sticky; top: 0; z-index: 1; margin: 0; padding: 8px 0 5px; font: 700 12px/1 var(--f-hud); letter-spacing: .12em; color: var(--rd-year);
  background: var(--rd-paper); border-bottom: 1px solid var(--rd-ink); }
.rd-log { list-style: none; margin: 0; padding: 0; }
.rd-log li { padding: 9px 0 8px; border-bottom: 1px solid var(--rd-rule); }
.rd-log li:last-child { border-bottom: 0; }
.rd-log b { display: block; font: 22px/1 var(--f-display); font-weight: normal; letter-spacing: .01em; }
.rd-log b span { color: var(--rd-soft); }
.rd-log small { display: block; margin-top: 3px; font: 12px/1.35 var(--f-hud); color: var(--rd-soft); }

.rd-stages-in { display: none; }
.rd-stages p { margin: 0; font: 20px/1.12 var(--f-display); letter-spacing: .02em; text-transform: uppercase; text-wrap: pretty; }

/* upright screens (phones): one column, from the top bar to the bottom edge; the window takes what's left */
.card.object-mode:has(.obj-road.tall) { width: min(calc(100vw - 16px), 560px); height: calc(100svh - 80px); }
.obj-road.tall { display: flex; flex-direction: column; padding: 18px 18px 16px; }
.obj-road.tall .rd-head { flex-direction: column; align-items: flex-start; gap: 4px; padding-right: 44px; margin-bottom: 12px; border-bottom-width: 4px; }
.obj-road.tall h3 { font-size: 50px; }
.obj-road.tall .rd-sub { font-size: 11px; }
.obj-road.tall .rd-side { display: contents; }
.obj-road.tall .rd-next { flex: none; padding-top: 4px; order: 1; }
.obj-road.tall .rd-past { order: 2; }
.obj-road.tall .rd-stages { order: 3; }
.obj-road.tall .rd-circle { padding: 16px 14px 16px; }
.obj-road.tall .rd-mark { font-size: 24px; top: -8px; }
.obj-road.tall .rd-when { font-size: 46px; }
.obj-road.tall .rd-venue { font-size: 20px; margin-top: 4px; }
.obj-road.tall .rd-who { font-size: 11px; margin-top: 5px; }
.obj-road.tall .rd-keys { margin-top: 18px; gap: 8px; }
.obj-road.tall .rd-key { font-size: 19px; min-height: 46px; }
.obj-road.tall .rd-past { flex: 1 1 auto; margin-top: 18px; min-height: 120px; }
.obj-road.tall .rd-log b { font-size: 19px; }
.obj-road.tall .rd-log small { font-size: 11px; }
.obj-road.tall .rd-stages { flex: none; padding-top: 14px; }
.obj-road.tall .rd-stages p { font-size: 14px; }
/* short phones: the shared stages move to the end of the window, the heading tightens, so the past keeps room */
@media (max-height: 760px) {
  .obj-road.tall .rd-side > .rd-stages { display: none; }
  .obj-road.tall .rd-stages-in { display: block; padding: 14px 0 12px; }
  .obj-road.tall .rd-head { flex-direction: row; align-items: baseline; flex-wrap: wrap; gap: 2px 12px; }
  .obj-road.tall h3 { font-size: 42px; }
  .obj-road.tall .rd-past { margin-top: 14px; }
  .obj-road.tall .rd-keys { margin-top: 14px; }
}
@media (max-width: 360px) { .obj-road.tall .rd-key { font-size: 16px; letter-spacing: .03em; } .obj-road.tall .rd-when { font-size: 40px; } }
/* mid-size wide screens and phones held sideways: the same two columns, tighter */
@media (max-height: 700px) and (min-aspect-ratio: 1/1), (max-width: 900px) and (min-aspect-ratio: 1/1) {
  .card.object-mode:has(.obj-road:not(.tall)) { width: min(1000px, calc(100vw - 24px)); height: calc(100svh - 76px); }
  .obj-road:not(.tall) { padding: 16px 22px 14px; column-gap: 28px; }
  .obj-road:not(.tall) h3 { font-size: 48px; }
  .obj-road:not(.tall) .rd-head { margin-bottom: 10px; border-bottom-width: 4px; }
  .obj-road:not(.tall) .rd-circle { padding: 14px 12px 10px; }
  .obj-road:not(.tall) .rd-when { font-size: 44px; }
  .obj-road:not(.tall) .rd-venue { font-size: 19px; }
  .obj-road:not(.tall) .rd-keys { margin-top: 14px; }
  .obj-road:not(.tall) .rd-key { min-height: 44px; font-size: 18px; }
  .obj-road:not(.tall) .rd-stages p { font-size: 14px; }
  .obj-road:not(.tall) .rd-side { gap: 14px; justify-content: flex-start; }
}
/* phones held sideways: the shared stages go to the end of the window too; the purity readout steps out from under the paper */
@media (max-height: 500px) and (min-aspect-ratio: 1/1) {
  .obj-road:not(.tall) .rd-side > .rd-stages { display: none; }
  .obj-road:not(.tall) .rd-stages-in { display: block; padding: 14px 0 12px; }
}
body.in-focus:has(.obj-road) .readout { visibility: hidden; }
@media (prefers-reduced-motion: reduce) { .obj-road .rd-key { transition: none; } .obj-road .rd-key:hover, .obj-road .rd-key:focus-visible { transform: none; } }
/* the cut back out to the home screen (main.js): a quick dip to black */
.dip { position: fixed; inset: 0; z-index: 70; background: #050505; opacity: 0; pointer-events: none; transition: opacity .45s ease-out; }
.dip.on { opacity: 1; transition: opacity .22s ease-in; }

/* THE LIST: the real sign-up form on the 3D notepad (list-form.js, sent by list.js to /api/subscribe) */
.lf-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.obj-pad .lf { margin: 4px 0 0; }
.obj-pad .lf-ok { display: flex; gap: 8px; align-items: flex-start; margin: 10px 0 0; font: 12px/1.45 var(--f-hud); color: #1d3f8c; cursor: pointer; }
.obj-pad .lf-ok input { width: auto; flex: none; margin: 2px 0 0; accent-color: #b3211a; }
.obj-pad .lf .stamp:disabled { opacity: .45; cursor: default; }
.obj-pad .lf-msg { min-height: 18px; margin: 8px 0 0; font: 12px/1.45 var(--f-hud); color: #b3211a; }
.obj-pad .lf-done .lf-msg { color: #1d3f8c; }

/* The hatch's combination lock in the 3D dialog (lock.js): four slots, a keypad, a shake for a wrong code */
.lk { margin: 0 0 16px; }
.lk-slots { display: flex; gap: 8px; margin: 0 0 12px; }
.lk-slots span { width: 46px; height: 56px; display: grid; place-items: center; background: #0d0d09; border: 1px solid var(--line); box-shadow: inset 0 2px 8px rgba(0,0,0,.7); font: 40px/1 var(--f-display); color: var(--paper); }
.lk-keys { display: grid; grid-template-columns: repeat(3, 58px); gap: 8px; }
.lk-keys button { height: 46px; font: 24px/1 var(--f-display); color: var(--paper); background: var(--ink); border: 0; box-shadow: inset 0 0 0 1.5px var(--sick, #cec14b); cursor: pointer; transition: transform .12s, background .12s; }
.lk-keys button:hover, .lk-keys button:focus-visible { transform: translateY(-2px); background: #23221a; outline: none; }
.lk-keys button[data-k="0"] { grid-column: 2; grid-row: 4; }
.lk-keys button[data-k="del"] { grid-column: 3; grid-row: 4; font-family: var(--f-type); font-size: 20px; }
.lk-msg { min-height: 1.3em; margin: 10px 0 0; font: 18px/1 var(--f-display); letter-spacing: .08em; color: var(--rust); }
.lk-ok .lk-slots span { color: #cec14b; border-color: #cec14b; }
.lk-ok .lk-msg { color: #cec14b; }
.lk-bad .lk-slots { animation: lk-shake .4s; }
.lk-bad .lk-slots span { color: var(--rust); }
@keyframes lk-shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
@media (prefers-reduced-motion: reduce) { .lk-bad .lk-slots { animation: none; } }

/* down in the basement (main.js): a way back up, and the rats' label */
body.bs-hand { cursor: pointer; } /* over the skeleton: a link (main.js) */
.bs-ui { position: fixed; inset: 0; z-index: 55; pointer-events: none; }
.bs-ui[hidden] { display: none; }
.bs-ui .x-btn { position: absolute; top: 74px; right: 22px; pointer-events: auto; }
.bs-tip { position: fixed; z-index: 56; pointer-events: none; padding: 5px 9px 3px; font: 18px/1 var(--f-display); letter-spacing: .06em; color: var(--ink); background: #cec14b; transform: translate(14px, -50%); }
.bs-tip[hidden] { display: none; }

/* the lock's state, above the slots: red LOCKED until the code, green OPEN after (lock.js) */
.lk-state { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; font: 20px/1 var(--f-display); letter-spacing: .1em; color: #ff4a32; }
.lk-state i { width: 10px; height: 10px; border-radius: 50%; background: #ff2a1a; box-shadow: 0 0 8px #ff2a1a; }
.lk-ok .lk-state { color: #7dff9a; }
.lk-ok .lk-state i { background: #3dff6a; box-shadow: 0 0 8px #3dff6a; }
.lk-slots span { transition: border-color .2s; }
.lk:not(.lk-ok) .lk-slots span { border-color: rgba(255, 74, 50, .45); }
/* the cut into and out of the basement: a quick fade to black (main.js) */
.bs-fade { position: fixed; inset: 0; z-index: 58; background: #000; opacity: 0; pointer-events: none; transition: opacity .28s; }
.bs-fade.on { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .bs-fade { transition: none; } }
/* the lock fills the dialog's width (owner, 28 Nov) */
.lk-slots { display: grid; grid-template-columns: repeat(4, 1fr); }
.lk-slots span { width: auto; }
.lk-keys { grid-template-columns: repeat(3, 1fr); }
.lk-keys button { height: 50px; }

/* phones held upright, inside: the arrows toward the next (bright) and the previous (dim) stop, on the screen's edge
   where that bench is, with the swipe that gets you there (main.js swHints; pull the map) */
.sw-hint { position: fixed; z-index: 30; display: flex; align-items: center; gap: 6px; pointer-events: none; white-space: nowrap;
  color: var(--hud); text-shadow: 0 1px 3px #000, 0 0 10px rgba(0,0,0,.8); }
.sw-hint svg { width: 18px; height: 18px; flex: none; filter: drop-shadow(0 1px 2px #000); }
.sw-hint span { display: flex; flex-direction: column; line-height: 1; }
.sw-hint b { font: 17px/1 var(--f-display); font-weight: normal; letter-spacing: .08em; }
.sw-hint i { font: 10px/1.2 var(--f-hud); font-style: normal; color: var(--paper); opacity: .75; }
.sw-hint.sw-prev { opacity: .5; }
.sw-hint[hidden] { display: none; }

/* the photo album's FULL SCREEN key: top left, opposite the close key, always in view (owner, 30 Nov) */
.vw-album .book-full { position: absolute; top: 14px; left: var(--gutter); z-index: 3; margin: 0; padding: 8px 14px 6px; font-size: 18px; }

/* desktop: the bench arrows, bare chevrons at the screen's edges: previous left, next right (main.js benchKeysShow) */
.bench-keys[hidden], .bench-keys button[hidden] { display: none; }
.bench-keys button {
  position: fixed; top: 50%; translate: 0 -50%; z-index: 30; width: 56px; height: 96px; padding: 0; border: 0; background: none; cursor: pointer;
  color: var(--hud); opacity: .55; filter: drop-shadow(0 1px 3px rgba(0,0,0,.9)); transition: opacity .2s, transform .2s;
}
.bench-keys .bk-prev { left: calc(var(--gutter) - 12px); }
.bench-keys .bk-next { right: calc(var(--gutter) - 12px); }
.bench-keys svg { width: 24px; height: 48px; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: square; }
.bench-keys button:hover, .bench-keys button:focus-visible { opacity: 1; outline: none; }
.bench-keys .bk-prev:hover { transform: translateX(-3px); } .bench-keys .bk-next:hover { transform: translateX(3px); }
.bench-keys button:focus-visible svg { filter: drop-shadow(0 0 6px rgba(227,216,111,.8)); }
