/* Enzonic Radio. REMY's granular, slightly green record room, with essential.gg's pixel headlines, grid rails and
   square buttons. */

@font-face { font-family: 'Geist'; src: url('/fonts/geist-latin-wght-normal.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'Geist Mono'; src: url('/fonts/geist-mono-latin-wght-normal.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'Silkscreen'; src: url('/fonts/silkscreen-latin-400-normal.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Silkscreen'; src: url('/fonts/silkscreen-latin-700-normal.woff2') format('woff2'); font-weight: 700; font-display: swap; }

/* ------------------------------------------------------------------ tokens */
:root {
  color-scheme: light;
  --bg: #f1f5f2;
  --bg-2: #e6ede8;
  --surface: #ffffff;
  --surface-2: #f5f9f6;
  --ink: #06150d;
  --ink-2: #3f5046;
  --ink-3: #6f7f76;
  --line: rgba(6, 21, 13, 0.11);
  --line-2: rgba(6, 21, 13, 0.06);
  --accent: #3fd89a;
  --accent-soft: #a3f0cf;
  --accent-ink: #04130b;
  --accent-text: #0d8a57;
  --yt: #e8332a;
  --vinyl: #18211c;
  --grain-opacity: 0.3;
  --halo-a: #23b06d;
  --halo-b: #b2f2cf;
  --glow-opacity: 0.45;
  --rail: rgba(6, 21, 13, 0.07);
  --shadow: 0 30px 70px -30px rgba(6, 21, 13, 0.35), 0 0 0 1px var(--line);
  --sans: 'Geist', ui-sans-serif, system-ui, -apple-system, sans-serif;
  --mono: 'Geist Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  --pixel: 'Silkscreen', 'Geist Mono', monospace;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  /* grain: pre-rendered PNG tiles (an SVG feTurbulence background was re-rasterised on repaints: slow in Safari) */
  --noise: url('/img/grain.png');
  --noise-mask: url('/img/stipple.png');
  /* notched pixel corners, like a Minecraft button */
  --notch: polygon(0 4px, 4px 4px, 4px 0, calc(100% - 4px) 0, calc(100% - 4px) 4px, 100% 4px, 100% calc(100% - 4px), calc(100% - 4px) calc(100% - 4px), calc(100% - 4px) 100%, 4px 100%, 4px calc(100% - 4px), 0 calc(100% - 4px));
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) {
    color-scheme: dark;
    --bg: #040806;
    --bg-2: #08100b;
    --surface: #0b120e;
    --surface-2: #111a14;
    --ink: #e8f5ee;
    --ink-2: #a5b4ab;
    --ink-3: #6b7b71;
    --line: rgba(220, 255, 235, 0.1);
    --line-2: rgba(220, 255, 235, 0.05);
    --accent: #4fe0a3;
    --accent-soft: #9cf0cc;
    --accent-text: #9cf0cc;
    --vinyl: #141c17;
    --grain-opacity: 0.16;
    --halo-a: #0f7a48;
    --halo-b: #4fdc98;
    --glow-opacity: 0.5;
    --rail: rgba(220, 255, 235, 0.055);
    --shadow: 0 34px 90px -28px rgba(0, 0, 0, 0.9), 0 0 0 1px var(--line);
  }
}
:root[data-theme='dark'] {
  color-scheme: dark;
  --bg: #040806;
  --bg-2: #08100b;
  --surface: #0b120e;
  --surface-2: #111a14;
  --ink: #e8f5ee;
  --ink-2: #a5b4ab;
  --ink-3: #6b7b71;
  --line: rgba(220, 255, 235, 0.1);
  --line-2: rgba(220, 255, 235, 0.05);
  --accent: #4fe0a3;
  --accent-soft: #9cf0cc;
  --accent-text: #9cf0cc;
  --vinyl: #141c17;
  --grain-opacity: 0.16;
  --halo-a: #0f7a48;
  --halo-b: #4fdc98;
  --glow-opacity: 0.5;
  --rail: rgba(220, 255, 235, 0.055);
  --shadow: 0 34px 90px -28px rgba(0, 0, 0, 0.9), 0 0 0 1px var(--line);
}

/* ------------------------------------------------------------------ base */
*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; -webkit-text-size-adjust: 100%; background: var(--bg); scroll-behavior: smooth; scrollbar-color: var(--accent) transparent; scrollbar-width: thin; }
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-thumb { background: var(--accent); border: 2px solid var(--bg); }
::-webkit-scrollbar-track { background: transparent; }
body {
  margin: 0;
  min-height: 100svh;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.5 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; }
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.mono { font-family: var(--mono); font-size: 12px; letter-spacing: 0.01em; }
.muted { color: var(--ink-3); }
.pixel { font-family: var(--pixel); font-weight: 400; letter-spacing: 0.01em; line-height: 0.98; text-transform: uppercase; }

/* grain, glow and the essential-style vertical rails */
.grain { position: fixed; inset: 0; pointer-events: none; z-index: 100; background-image: var(--noise); background-size: 200px; opacity: var(--grain-opacity); contain: strict; transform: translateZ(0); }
.stipple {
  -webkit-mask-image: radial-gradient(50% 50% at 50% 50%, #000 10%, rgba(0, 0, 0, 0.55) 45%, transparent 78%), var(--noise-mask);
  -webkit-mask-composite: source-in;
  mask-image: radial-gradient(50% 50% at 50% 50%, #000 10%, rgba(0, 0, 0, 0.55) 45%, transparent 78%), var(--noise-mask);
  mask-composite: intersect;
  -webkit-mask-size: 100% 100%, 220px 220px;
  mask-size: 100% 100%, 220px 220px;
}
.glow {
  position: fixed; right: -25vw; top: -30vh; width: 95vw; height: 100vh; pointer-events: none; z-index: 0;
  background: radial-gradient(closest-side, var(--halo-b), var(--halo-a) 55%, transparent);
  opacity: var(--glow-opacity);
  transform: translateZ(0);
  transition: opacity 0.6s var(--ease);
}
body.playing .glow { opacity: calc(var(--glow-opacity) + 0.12); }
.rails { position: fixed; inset: 0; pointer-events: none; z-index: 0; display: flex; justify-content: space-between; max-width: 1280px; margin: 0 auto; padding: 0 16px; }
.rails i { width: 1px; background: var(--rail); }
.rails i:nth-child(2), .rails i:nth-child(3) { display: none; }

main, .bar, .foot { position: relative; z-index: 1; }

/* ------------------------------------------------------------------ top bar */
.bar {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; gap: 16px;
  height: 60px; padding: 0 16px; padding-top: env(safe-area-inset-top);
  max-width: 1280px; margin: 0 auto;
  /* solid, no backdrop blur: a blurred sticky bar re-filters everything scrolling under it */
  background: color-mix(in srgb, var(--bg) 94%, transparent);
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--pixel); font-size: 15px; text-transform: uppercase; letter-spacing: 0.02em; }
.brand img { image-rendering: pixelated; }
.brand b { font-weight: 700; color: var(--accent-text); margin-left: 0.4em; }
.nav { display: none; gap: 4px; margin-left: 12px; }
.nav a { text-decoration: none; font-size: 14px; color: var(--ink-2); padding: 8px 12px; transition: color 0.2s; }
.nav a:hover { color: var(--ink); }
.by { margin-left: auto; text-decoration: none; font-size: 12px; font-family: var(--mono); color: var(--ink-3); white-space: nowrap; }
.by b { color: var(--ink); font-weight: 600; }
.by:hover b { color: var(--accent-text); }

/* ------------------------------------------------------------------ buttons, chips */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 18px;
  font-size: 14px; font-weight: 600; text-decoration: none; white-space: nowrap;
  clip-path: var(--notch);
  transition: transform 0.18s var(--spring), background-color 0.2s, color 0.2s;
}
.btn:active { transform: translateY(1px) scale(0.98); }
.btn svg { width: 18px; height: 14px; flex: none; }
.btn--accent { background: var(--accent); color: var(--accent-ink); }
.btn--accent:hover { background: var(--accent-soft); }
.btn--ghost { background: var(--surface-2); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.btn--ghost:hover { background: var(--surface); }
.btn--yt { background: var(--yt); color: #fff; }
.btn--yt:hover { background: #ff4a40; }
.chip { display: inline-flex; align-items: center; gap: 6px; font-family: var(--mono); font-size: 11px; line-height: 1; padding: 5px 7px 4px; text-transform: uppercase; letter-spacing: 0.06em; background: var(--surface-2); color: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line); }
.chip--house { background: var(--accent); color: var(--accent-ink); box-shadow: none; }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 14px; font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--ink-3); }
.eyebrow::before { content: ''; width: 18px; height: 1px; background: currentColor; opacity: 0.6; }
.stage .eyebrow::before { display: none; }
.eq { display: inline-flex; align-items: flex-end; gap: 2px; height: 12px; }
.eq i { width: 3px; height: 12px; background: var(--accent); transform: scaleY(0.3); transform-origin: bottom; }
body.playing .eq i { animation: eq 0.9s ease-in-out infinite; }
body.playing .eq i:nth-child(2) { animation-delay: -0.3s; }
body.playing .eq i:nth-child(3) { animation-delay: -0.6s; }
@keyframes eq { 0%, 100% { transform: scaleY(0.25); } 50% { transform: scaleY(1); } }

/* ------------------------------------------------------------------ stage */
main { max-width: 1280px; margin: 0 auto; padding: 0 16px; overflow-x: clip; }
.stage { display: grid; gap: 24px; padding: 24px 0 40px; grid-template-areas: 'deck' 'now'; }
.now-state { display: inline-flex; align-items: center; gap: 8px; }
.now { grid-area: now; min-width: 0; }
.deck { grid-area: deck; }

.now {
  position: relative; padding: 18px; background: var(--surface); box-shadow: var(--shadow);
  clip-path: var(--notch);
}
.now::after { content: ''; position: absolute; inset: 0; pointer-events: none; background-image: var(--noise); background-size: 200px; opacity: 0.08; }
.now-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.now-title { margin: 14px 0 10px; font-size: clamp(28px, 7.5vw, 48px); overflow-wrap: break-word; text-wrap: balance; min-height: 1em; }
.now-artist { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-size: 16px; color: var(--ink-2); padding: 4px 10px 4px 4px; margin-left: -4px; background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line); clip-path: var(--notch); }
.now-artist img { width: 28px; height: 28px; object-fit: cover; image-rendering: auto; }
.now-artist b { color: var(--ink); }
.now-artist:hover b { color: var(--accent-text); }
.ext { width: 10px; height: 10px; opacity: 0.6; }
.now-art-credit { margin: 10px 0 0; }
.now-license { margin: 10px 0 0; font-size: 11px; color: var(--ink-2); }
.license { display: flex; flex-direction: column; gap: 1px; line-height: 1.45; }
.license a { color: inherit; text-decoration: underline; text-underline-offset: 2px; overflow-wrap: anywhere; }
.artist-banner--plain { background: radial-gradient(120% 140% at 20% 0%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 60%); }
.now-art-credit a { color: var(--ink-2); }
.progress { position: relative; height: 6px; margin: 20px 0 8px; background: var(--line); }
.progress span { position: absolute; inset: 0; background: var(--accent); transform: scaleX(0); transform-origin: left; }
/* the head is a full-width layer moved by translateX(p * 100%); its marker sits at its left edge */
.progress i { position: absolute; inset: -4px 0; transform: translateX(0); pointer-events: none; }
.progress i::before { content: ''; position: absolute; left: -2px; top: 0; width: 4px; height: 14px; background: var(--ink); }
.times { display: flex; justify-content: space-between; color: var(--ink-3); font-variant-numeric: tabular-nums; }

.controls { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 16px; }
.now-links { display: flex; flex-wrap: wrap; gap: 8px; width: 100%; }
.now-links .btn { flex: 1 1 auto; }
.hint { margin: 12px 0 0; }
/* the Enzonic Host is on: no artist to credit, no video to link */
body.on-host .now-links, body.on-host .now-artist .ext { display: none; }
body.on-host .now-artist { cursor: default; }
body.on-host .sleeve-tag { display: none; }
body.on-host .now-artist img { image-rendering: pixelated; object-fit: contain; padding: 2px; background: var(--bg-2); }
.mic { display: inline-block; width: 9px; height: 12px; vertical-align: -1px; image-rendering: pixelated; margin-right: 4px; }
.next-item--host img { image-rendering: pixelated; }

/* play button: a square sleeve with a small record that slides out of it and spins while it plays */
.disc-btn { position: relative; width: 64px; height: 64px; flex: none; margin-right: 18px; isolation: isolate; }
.disc-btn::before { content: ''; position: absolute; inset: 0; z-index: 1; background: var(--accent); clip-path: var(--notch); transition: transform 0.3s var(--spring), background-color 0.2s; }
.disc-btn:hover::before { background: var(--accent-soft); }
/* the vinyl slides out (outer, transition) and spins (inner, a plain compositor rotation: mixing both on one element
   kept Chrome restyling every frame) */
.disc-btn-vinyl { position: absolute; inset: 4px; z-index: 0; transition: transform 0.45s var(--spring); }
.disc-btn-vinyl::before {
  content: ''; position: absolute; inset: 0; border-radius: 50%; will-change: transform;
  background: radial-gradient(circle, var(--accent-soft) 0 22%, rgba(0, 0, 0, 0.4) 23% 25%, transparent 26%), repeating-radial-gradient(circle, #24332b 0 1.5px, #0c120f 1.5px 3px);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08);
}
.disc-btn:hover .disc-btn-vinyl { transform: translateX(10px); }
body.playing .disc-btn-vinyl { transform: translateX(20px); }
body.playing .disc-btn-vinyl::before { animation: spin 1.8s linear infinite; }
.disc-btn-icon { position: absolute; z-index: 2; left: 50%; top: 50%; width: 24px; height: 24px; margin: -12px 0 0 -12px; color: var(--accent-ink); }
.disc-btn .i-stop { display: none; }
body.playing .disc-btn .i-stop { display: inline; }
body.playing .disc-btn .i-play { display: none; }
.disc-btn:active::before { transform: scale(0.94); }

.vol { display: inline-flex; align-items: center; gap: 8px; color: var(--ink-2); flex: 1 1 140px; max-width: 240px; }
.vol svg { width: 20px; height: 20px; flex: none; }
.vol input { -webkit-appearance: none; appearance: none; width: 100%; height: 22px; background: transparent; }
.vol input::-webkit-slider-runnable-track { height: 4px; background: linear-gradient(var(--accent), var(--accent)) 0 / var(--fill, 80%) 100% no-repeat, var(--line); }
.vol input::-webkit-slider-thumb { -webkit-appearance: none; width: 14px; height: 14px; margin-top: -5px; background: var(--ink); border: 0; }
.vol input::-moz-range-track { height: 4px; background: var(--line); }
.vol input::-moz-range-progress { height: 4px; background: var(--accent); }
.vol input::-moz-range-thumb { width: 14px; height: 14px; background: var(--ink); border: 0; border-radius: 0; }

/* the deck: a sleeve with the record sliding out of it */
.deck { position: relative; width: min(100%, 420px); margin: 0 auto; aspect-ratio: 1.42 / 1; }
.sleeve {
  position: absolute; left: 0; top: 7%; width: 60%; aspect-ratio: 1; z-index: 2;
  background: var(--surface-2); box-shadow: var(--shadow); overflow: hidden;
  transition: transform 0.6s var(--spring);
}
.sleeve img { width: 100%; height: 100%; object-fit: cover; image-rendering: auto; opacity: 0; transition: opacity 0.5s; }
.sleeve img.ready { opacity: 1; }
.sleeve::after { content: ''; position: absolute; inset: 0; background-image: var(--noise); background-size: 200px; opacity: 0.1; pointer-events: none; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08); }
.sleeve-tag { position: absolute; left: 10px; bottom: 10px; z-index: 1; padding: 4px 6px; background: rgba(4, 8, 6, 0.72); color: #e8f5ee; text-transform: uppercase; letter-spacing: 0.08em; font-size: 10px; }
.record {
  position: absolute; right: 0; top: 0; width: 72%; aspect-ratio: 1; z-index: 1; border-radius: 50%;
  box-shadow: 0 30px 60px -25px rgba(0, 0, 0, 0.85), 0 0 0 1px rgba(255, 255, 255, 0.07), 0 0 50px -10px color-mix(in srgb, var(--accent) 25%, transparent);
  transition: transform 0.9s var(--spring); cursor: pointer;
}
body.playing .record { transform: translateX(7%); }
.record.swap { transform: translateX(-34%) rotate(-30deg); transition-duration: 0.45s; transition-timing-function: var(--ease); }
.record-turn, .record-svg, .record-sheen { position: absolute; inset: 0; width: 100%; height: 100%; }
.record-turn { will-change: transform; animation: spin 1.8s linear infinite; animation-play-state: paused; }
body.playing .record-turn { animation-play-state: running; }
.record-sheen { pointer-events: none; }
.deck-floor { position: absolute; left: 6%; right: 6%; bottom: -6%; height: 12%; background: radial-gradient(closest-side, rgba(0, 0, 0, 0.35), transparent); z-index: 0; }

/* shake on strong notes: only the deck (a short Web Animation on transform), never the disc's spin */
.deck { will-change: transform; }

@keyframes spin { to { transform: rotate(360deg); } }

/* ------------------------------------------------------------------ sections */
section { scroll-margin-top: 72px; }
.section-head { padding: 56px 0 22px; border-top: 1px solid var(--line); }
.section-head h2 { margin: 0; font-size: clamp(30px, 8vw, 56px); }
.section-lede { margin: 14px 0 0; max-width: 40em; color: var(--ink-2); }

/* up next */
.next-list { list-style: none; margin: 0; padding: 0 0 20px; display: grid; gap: 10px; }
.next-item { display: grid; grid-template-columns: 56px 1fr auto; align-items: center; gap: 14px; padding: 10px; background: var(--surface); box-shadow: 0 0 0 1px var(--line); clip-path: var(--notch); }
.next-item img { width: 56px; height: 56px; object-fit: cover; }
.next-item .t { font-family: var(--pixel); text-transform: uppercase; font-size: 18px; line-height: 1.05; }
.next-item .a { font-size: 13px; color: var(--ink-3); }
.next-item .a a { color: var(--ink-2); text-decoration: none; }
.next-item .a a:hover { color: var(--accent-text); }
.next-item .when { font-family: var(--mono); font-size: 12px; color: var(--ink-2); text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }

/* artists: loud */
.artist { position: relative; background: var(--surface); box-shadow: var(--shadow); clip-path: var(--notch); overflow: hidden; margin-bottom: 20px; }
.artist-banner { position: relative; height: 120px; background: #0a0f0c center / cover no-repeat; }
.artist-banner::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, var(--surface)); }
.artist-banner::before { content: ''; position: absolute; inset: 0; background-image: var(--noise); background-size: 200px; opacity: 0.35; }
.artist-body { position: relative; display: grid; gap: 18px; padding: 0 18px 22px; margin-top: -56px; }
.artist-avatar { width: 112px; height: 112px; object-fit: cover; box-shadow: 0 0 0 4px var(--surface), 0 0 0 5px var(--line); clip-path: var(--notch); }
.artist-name { margin: 6px 0 4px; font-size: clamp(44px, 14vw, 104px); line-height: 0.9; }
.artist-name a { text-decoration: none; }
.artist-name a:hover { color: var(--accent-text); }
.artist-handle { display: flex; flex-wrap: wrap; gap: 8px 14px; font-family: var(--mono); font-size: 13px; color: var(--ink-2); }
.artist-handle a { text-decoration: none; }
.artist-handle a:hover { color: var(--accent-text); }
.artist-quote { margin: 0; font-family: var(--pixel); font-size: 20px; text-transform: uppercase; color: var(--accent-text); }
.artist-quote::before { content: '\201C'; } .artist-quote::after { content: '\201D'; }
.artist-bio { margin: 0; color: var(--ink-2); max-width: 38em; }
.artist-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); box-shadow: 0 0 0 1px var(--line); }
.artist-stats div { background: var(--surface); padding: 14px; }
.artist-stats b { display: block; font-family: var(--pixel); font-size: 26px; font-weight: 400; line-height: 1; }
.artist-stats span { font-family: var(--mono); font-size: 11px; color: var(--ink-3); text-transform: uppercase; letter-spacing: 0.08em; }
.artist-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.artist-actions .btn { flex: 1 1 auto; min-height: 52px; font-size: 15px; }
.artist-permission { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 13px; color: var(--ink-2); }
.artist-permission svg { width: 16px; height: 16px; flex: none; color: var(--accent-text); }
.collabs { border-top: 1px solid var(--line); padding-top: 16px; }
.collabs h3 { margin: 0 0 10px; font-family: var(--mono); font-size: 12px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-3); }
.collab-list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.collab-list a { display: inline-flex; align-items: center; gap: 10px; padding: 6px 12px 6px 6px; text-decoration: none; background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line); clip-path: var(--notch); font-size: 14px; }
.collab-list img { width: 30px; height: 30px; object-fit: cover; }
.collab-list small { display: block; color: var(--ink-3); font-family: var(--mono); font-size: 11px; }
.collab-list a:hover b { color: var(--accent-text); }

/* tracklist */
.disc-grid { list-style: none; margin: 0; padding: 0 0 40px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.disc-card { position: relative; display: flex; flex-direction: column; background: var(--surface); box-shadow: 0 0 0 1px var(--line); clip-path: var(--notch); transition: transform 0.25s var(--spring), box-shadow 0.2s; }
.disc-card:hover { transform: translateY(-3px); box-shadow: 0 0 0 1px var(--accent), 0 18px 40px -24px rgba(0, 0, 0, 0.6); }
.disc-card.on-air { box-shadow: 0 0 0 2px var(--accent); }
.disc-art { position: relative; aspect-ratio: 1; overflow: hidden; background: var(--bg-2); }
.disc-art img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.disc-card:hover .disc-art img { transform: scale(1.05); }
.disc-art .chip { position: absolute; left: 8px; top: 8px; }
.disc-meta { display: flex; flex-direction: column; gap: 4px; padding: 10px 12px 12px; flex: 1; }
.disc-title { margin: 0; font-family: var(--pixel); text-transform: uppercase; font-size: 17px; line-height: 1.05; overflow-wrap: anywhere; }
.disc-by { font-size: 13px; color: var(--ink-2); text-decoration: none; }
.disc-by:hover { color: var(--accent-text); }
.disc-facts { font-family: var(--mono); font-size: 11px; color: var(--ink-3); }
.disc-when { font-family: var(--mono); font-size: 11px; color: var(--accent-text); }
.disc-yt { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 8px; font-size: 13px; font-weight: 600; text-decoration: none; color: var(--ink); }
.disc-yt svg { width: 18px; height: 13px; color: var(--yt); }
.disc-yt:hover { color: var(--accent-text); }

/* api */
.api-card { padding: 18px; margin-bottom: 56px; background: var(--surface); box-shadow: var(--shadow); clip-path: var(--notch); }
.api-card pre { margin: 0 0 16px; overflow-x: auto; font-size: 12px; line-height: 1.6; color: var(--ink-2); }
.api-card .k { color: var(--accent-text); font-weight: 600; }
.api-card .c { color: var(--ink-3); }

/* footer */
.foot { max-width: 1280px; margin: 0 auto; padding: 28px 16px calc(28px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); display: grid; gap: 20px; }
.foot-main p { margin: 10px 0 0; font-size: 13px; max-width: 36em; }
.foot-side { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; }
.powered { text-decoration: none; font-family: var(--mono); font-size: 13px; color: var(--ink-3); }
.powered b { color: var(--ink); font-weight: 600; }
.powered:hover b { color: var(--accent-text); }
.theme { display: inline-flex; box-shadow: inset 0 0 0 1px var(--line); }
.theme button { padding: 8px 12px; font-family: var(--mono); font-size: 12px; color: var(--ink-3); }
.theme button[aria-pressed='true'] { background: var(--ink); color: var(--bg); }

/* ------------------------------------------------------------------ wider screens */
@media (min-width: 560px) {
  .disc-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .artist-stats { grid-template-columns: repeat(var(--cols, 4), 1fr); }
  .now-links { width: auto; }
}
@media (min-width: 760px) {
  .nav { display: flex; }
  .rails i:nth-child(2) { display: block; }
  .next-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .next-item { grid-template-columns: 56px 1fr; }
  .next-item .when { grid-column: 1 / -1; text-align: left; }
  .disc-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .artist-banner { height: 200px; }
  .artist-body { grid-template-columns: 160px 1fr; padding: 0 28px 28px; margin-top: -70px; column-gap: 28px; }
  .artist-avatar { width: 160px; height: 160px; grid-row: span 2; }
  .artist-head { align-self: end; }
  .artist-rest { display: grid; gap: 18px; grid-column: 2; }
  .now { padding: 24px; }
  .foot { grid-template-columns: 1fr auto; align-items: end; }
}
@media (min-width: 1040px) {
  .stage { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); grid-template-areas: 'now deck'; align-items: center; column-gap: 56px; padding: 56px 0 64px; min-height: calc(100svh - 60px); align-content: center; }
  .deck { width: 100%; max-width: 600px; }
  .rails i:nth-child(3) { display: block; }
  .disc-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .now-title { font-size: clamp(40px, 3.6vw, 58px); }
  .now { padding: 32px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}
