/* /radio - 4NBT RADIO. Liquid glass on black, the same family as the crescent menu and /media:
   ONE frost (menu.css --glass-menu / --glass-menu-blur / --glass-menu-rim) for the player card, the
   up-next sheet and every round button, so nothing here is a second material. Behind the glass is a
   slow ambient light field (the cover, blurred; else a dim thin crescent) - the thing the glass blurs.
   The menu itself (glass, clock, links) is menu.css; the floating crescent + speaker are ported from
   media.css so the three pages cannot drift. */

:root {
  color-scheme: dark;
  --ink: #f3f3f7;
  --ink-body: #d8d8e2;
  --ink-dim: #b4b4c0;
  --hair: rgba(255, 255, 255, 0.16);
  --btn-bottom: max(24px, calc(env(safe-area-inset-bottom) + 16px));
  --btn-zone: calc(max(20px, env(safe-area-inset-bottom)) + 60px);
  --bar-top: max(48px, calc(env(safe-area-inset-top) + 28px));
  --card-r: 30px;
  /* the glass of the player: the menu's own tint and blur, plus a little saturation so the ambient
     colour reads through it (Safari and Chrome both take saturate() inside backdrop-filter) */
  --card-tint: var(--glass-menu, rgba(16, 18, 26, 0.52));
  --card-blur: blur(22px) saturate(1.6);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

html, body {
  margin: 0;
  min-height: 100%;
  background: #000;
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  overscroll-behavior: none;
}
body { height: 100svh; overflow: hidden; }

:focus-visible { outline: 1px solid #fff; outline-offset: 2px; }
#nav a:focus-visible, #nav button:focus-visible { outline: revert; outline-offset: revert; }
button, a, .glass-btn, #nav { touch-action: manipulation; }

body::after {
  content: "";
  position: fixed;
  left: 0; right: 0; bottom: 0;
  height: calc(120px + env(safe-area-inset-bottom));
  background: linear-gradient(to top, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0));
  z-index: 39;
  pointer-events: none;
  transition: opacity 300ms ease;
}
body.menu-open::after { opacity: 0; }

/* the frosted band under Safari's toolbar / home indicator, exactly as /media keeps it */
@supports (height: 100dvh) and ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  html body.panel-open:not(.menu-open)::before {
    background: var(--glass-menu);
    backdrop-filter: var(--glass-menu-blur);
    -webkit-backdrop-filter: var(--glass-menu-blur);
  }
}

.sr {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ===== AMBIENT: full bleed, behind everything =============================== */
#ambient {
  position: fixed;
  inset: 0;
  bottom: calc(-1 * env(safe-area-inset-bottom, 0px));
  z-index: 0;
  overflow: hidden;
  background: #000;
  pointer-events: none;
}
#ambient .cover {
  position: absolute;
  inset: -20%;
  background-size: cover;
  background-position: center;
  filter: blur(70px) saturate(1.7) brightness(0.62);
  opacity: 0;
  transform: scale(1.1);
  /* two stacked layers (A/B): the next cover is set on the hidden one and crossfaded in - opacity only, so it
     runs on the compositor and stays smooth on iOS. 2.8s, timed with the audio fade between songs. */
  transition: opacity 2800ms ease-in-out;
  animation: drift-c 80s ease-in-out infinite alternate;
}
#ambient .cover.on { opacity: 0.85; }
#ambient .cover.top { z-index: 1; }
#ambient .orb, #ambient .glow { z-index: 2; }
#ambient .orb {
  position: absolute;
  width: 78vmax;
  height: 78vmax;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.55;
  transition: opacity 2800ms ease-in-out;
  will-change: transform;
}
#ambient .o1 { left: -28vmax; top: -30vmax; background: radial-gradient(closest-side, rgba(150, 165, 210, 0.30), rgba(150, 165, 210, 0)); animation: drift-a 58s ease-in-out infinite alternate; }
#ambient .o2 { right: -34vmax; bottom: -36vmax; background: radial-gradient(closest-side, rgba(200, 190, 230, 0.22), rgba(200, 190, 230, 0)); animation: drift-b 72s ease-in-out infinite alternate; }
body.has-cover #ambient .orb { opacity: 0.28; }
/* the dim crescent glow (no cover): the exact thin menu path, huge, soft */
#ambient .glow {
  position: absolute;
  left: 50%;
  top: 46%;
  width: 150vmax;
  max-width: none;
  height: auto;
  transform: translate(-50%, -50%);
  opacity: 0.055;
  filter: blur(6px);
  transition: opacity 1400ms ease;
  animation: breathe 14s ease-in-out infinite;
}
body.has-cover #ambient .glow { opacity: 0.02; }
@keyframes drift-a { to { transform: translate3d(16vmax, 12vmax, 0) scale(1.12); } }
@keyframes drift-b { to { transform: translate3d(-14vmax, -10vmax, 0) scale(1.18); } }
@keyframes drift-c { to { transform: scale(1.22) translate3d(2%, -3%, 0); } }
@keyframes breathe { 0%, 100% { opacity: 0.05; } 50% { opacity: 0.075; } }
@media (prefers-reduced-motion: reduce) {
  #ambient .orb, #ambient .cover, #ambient .glow { animation: none; }
}

/* ===== THE LAYOUT ============================================================ */
main {
  position: relative;
  z-index: 1;
  height: 100svh;
  overflow-y: auto;
  overscroll-behavior: none;
  padding: var(--bar-top) max(16px, env(safe-area-inset-right)) calc(var(--btn-zone) + 64px) max(16px, env(safe-area-inset-left));
  scrollbar-width: none;
}
main::-webkit-scrollbar { display: none; }
/* MUSIC | TALK: two quiet words, the Media page's filter type (13px / 600 / .14em), the live one in full ink */
.tabs { grid-column: 1 / -1; display: flex; gap: 8px; }
.tabs button {
  appearance: none;
  min-height: 44px;
  padding: 0 14px 0 0;
  border: 0;
  background: none;
  color: var(--ink-dim);
  font: 600 13px/1 -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  letter-spacing: 0.14em;
  cursor: pointer;
  transition: color 300ms ease;
}
.tabs button[aria-selected="true"] { color: #fff; }
.tabs button:focus-visible { outline: 1px solid #fff; outline-offset: 2px; }
.textbtn {
  appearance: none;
  min-height: 44px;
  margin: -14px 6px -14px auto;
  padding: 0 8px;
  border: 0;
  background: none;
  color: #fff;
  font: 600 11px/1 -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  letter-spacing: 0.18em;
  cursor: pointer;
}
.textbtn:focus-visible { outline: 1px solid #fff; outline-offset: 2px; }
.next .row.soon { cursor: default; }
.next .row.soon .n, .next .row.soon .t { opacity: 0.45; }
/* a Space not uploaded yet but listenable on X: a real link, a little brighter than a COMING SOON row */
.next a.row { text-decoration: none; box-sizing: border-box; }
.next a.row.soon { cursor: pointer; }
.next a.row.soon .n, .next a.row.soon .t { opacity: 0.8; }
.stage {
  max-width: 460px;
  margin: 0 auto;
  display: grid;
  gap: 16px;
  padding-top: 14px;
}

/* ===== GLASS ================================================================= */
.glass {
  position: relative;
  border-radius: var(--card-r);
  background: var(--card-tint);
  -webkit-backdrop-filter: var(--card-blur);
  backdrop-filter: var(--card-blur);
  box-shadow:
    var(--glass-menu-rim, inset 0 1px 0 rgba(255, 255, 255, 0.16)),
    inset 0 -1px 0 rgba(255, 255, 255, 0.05),
    0 1px 2px rgba(0, 0, 0, 0.5),
    0 22px 60px -14px rgba(0, 0, 0, 0.75);
}
/* the edge: a 1px rim that is bright at the top-left and bottom-right and nearly gone between - the
   specular catch of a glass edge, drawn as a masked gradient border */
.glass::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0.06) 28%, rgba(255, 255, 255, 0.02) 68%, rgba(255, 255, 255, 0.3));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  pointer-events: none;
}
/* a soft sheen across the top third: light falling on the pane */
.glass::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 42%;
  border-radius: var(--card-r) var(--card-r) 0 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0));
  pointer-events: none;
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .glass { background: var(--glass-menu-flat, rgba(8, 9, 14, 0.78)); }
}
@media (prefers-reduced-transparency: reduce) {
  .glass { background: var(--glass-menu-flat, rgba(8, 9, 14, 0.78)); -webkit-backdrop-filter: none; backdrop-filter: none; }
}

/* ===== THE PLAYER CARD ======================================================= */
.card { padding: 14px 14px 18px; }
.art {
  position: relative;
  width: 100%;
  max-height: 44svh;
  aspect-ratio: 1 / 1;
  margin: 0 auto;
  border-radius: 22px;
  overflow: hidden;
  display: grid;
  place-items: center;
  background:
    radial-gradient(120% 90% at 30% 15%, rgba(255, 255, 255, 0.10), rgba(255, 255, 255, 0) 55%),
    #0a0a0d;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08), 0 14px 34px -12px rgba(0, 0, 0, 0.8);
}
/* the mark, small and light: the thin crescent reads as thin because it has air around it */
.art svg { width: 30%; height: auto; display: block; opacity: 0.9; filter: drop-shadow(0 0 18px rgba(255, 255, 255, 0.25)); }
/* the whole picture, never cropped: contained, over a blurred dark copy of itself that fills the letterbox */
.art-fill { position: absolute; inset: -12%; background-size: cover; background-position: center; filter: blur(28px) saturate(1.3) brightness(0.5); }
.art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; display: block; }
/* the cover changes by crossfade, never a swap: each of the picture and its blurred fill is an A/B pair, the new
   one fades in on top (1.4s, opacity only) and the old one is released once it is covered */
.art .xf { opacity: 0; transition: opacity 1400ms ease-in-out; }
.art .xf.on { opacity: 1; }
.art .xf.top { z-index: 1; }
.art .art-fill.xf { z-index: 0; }
.art .art-fill.xf.top { z-index: 0; }
@media (prefers-reduced-motion: reduce) {
  #ambient .cover, #ambient .orb, .art .xf { transition-duration: 300ms; }
}

.info { padding: 18px 8px 0; }
.status {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  min-height: 16px;
  color: var(--ink-dim);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
}
.elapsed { margin-left: auto; font-variant-numeric: tabular-nums; letter-spacing: 0.06em; font-weight: 500; color: var(--ink-dim); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: #6a6a74; flex: none; }
body.is-live .dot { background: #fff; box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.5), 0 0 10px rgba(255, 255, 255, 0.7); animation: pulse 2.2s ease-out infinite; }
body.is-live .status { color: #fff; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.5), 0 0 10px rgba(255, 255, 255, 0.7); } 70%, 100% { box-shadow: 0 0 0 9px rgba(255, 255, 255, 0), 0 0 10px rgba(255, 255, 255, 0.7); } }
@media (prefers-reduced-motion: reduce) { body.is-live .dot { animation: none; } }

.title {
  margin: 10px 0 0;
  font-size: clamp(22px, 6.2vw, 28px);
  font-weight: 650;
  line-height: 1.14;
  letter-spacing: -0.015em;
  overflow-wrap: anywhere;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.artist { margin: 5px 0 0; font-size: 15px; color: var(--ink-body); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.meta { margin: 7px 0 0; font-size: 11px; font-weight: 600; letter-spacing: 0.14em; color: var(--ink-dim); }

/* progress: a thin glass channel, the fill a lit bead of it - never a hard line */
.track {
  position: relative;
  height: 5px;
  margin: 18px 8px 0;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.45), 0 1px 0 rgba(255, 255, 255, 0.07);
  overflow: hidden;
}
.track i {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 3px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.55), #fff);
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.55);
}

/* ===== ROUND GLASS BUTTONS: one row, hero in the middle ====================== */
.controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 20px;
}
.gbtn {
  position: relative;
  appearance: none;
  flex: none;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: #fff;
  text-decoration: none;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.10);
  -webkit-backdrop-filter: blur(14px) saturate(1.5);
  backdrop-filter: blur(14px) saturate(1.5);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28), inset 0 -1px 0 rgba(255, 255, 255, 0.05), 0 8px 18px -6px rgba(0, 0, 0, 0.7);
  overflow: hidden;
  transition: transform 160ms cubic-bezier(0.16, 1, 0.3, 1), background-color 200ms ease, box-shadow 200ms ease;
}
.gbtn::before {                       /* the sheen that wakes on press / hover */
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(90% 70% at 50% 0%, rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0) 70%);
  opacity: 0.45;
  transition: opacity 200ms ease;
  pointer-events: none;
}
.gbtn:hover::before, .gbtn:focus-visible::before { opacity: 0.8; }
.gbtn:active { transform: scale(0.92); background: rgba(255, 255, 255, 0.18); }
.gbtn:active::before { opacity: 1; }
.gbtn:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.gbtn svg {
  position: relative;
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.gbtn.hero {
  width: 76px;
  height: 76px;
  background: rgba(255, 255, 255, 0.92);
  color: #0a0a0d;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), inset 0 -2px 6px rgba(0, 0, 0, 0.14), 0 0 0 1px rgba(255, 255, 255, 0.4), 0 14px 34px -8px rgba(255, 255, 255, 0.28), 0 10px 24px -6px rgba(0, 0, 0, 0.7);
}
.gbtn.hero::before { background: radial-gradient(90% 70% at 50% 0%, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0) 70%); opacity: 0.7; }
.gbtn.hero:active { background: #fff; }
.gbtn.hero svg { width: 30px; height: 30px; stroke-width: 1.8; }
.gbtn.hero .i-play { margin-left: 3px; }
.gbtn.hero .i-pause { display: none; }
.gbtn.hero[data-playing="true"] .i-play { display: none; }
.gbtn.hero[data-playing="true"] .i-pause { display: block; }
/* REPLAY (a tapped TALK episode): 15-second skips either side of the hero. Smaller (44px, the touch minimum), the
   gap closes up so [live][share][-15][play][+15] still fits one row on a phone, and the Space link steps aside.
   The live loop and the music never show them. */
.gbtn.skip { width: 44px; height: 44px; }
.gbtn.skip svg { width: 26px; height: 26px; }
.gbtn.skip text { fill: currentColor; stroke: none; font: 600 7.4px/1 -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif; letter-spacing: 0; }
body.is-replay .controls { gap: 12px; }
body.is-replay #onluna { display: none; }
@media (prefers-reduced-motion: reduce) { .gbtn { transition: none; } }

/* ===== UP NEXT: a glass sheet under the card (phone) / beside it (desktop) === */
.sheet { padding: 20px 8px 8px; }
.next-h {
  display: flex;
  justify-content: space-between;
  margin: 0;
  padding: 0 14px 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--ink-dim);
}
.next { list-style: none; margin: 0; padding: 0; }
.next li { position: relative; }
.next li + li::before {
  content: "";
  position: absolute;
  left: 14px; right: 14px; top: 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.09);
}
.next .row {
  appearance: none;
  display: grid;
  grid-template-columns: 50px 1fr;
  gap: 10px;
  align-items: baseline;
  width: 100%;
  min-height: 56px;
  padding: 12px 14px;
  border: 0;
  border-radius: 18px;
  background: none;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: background-color 180ms ease;
}
.next .row:hover { background: rgba(255, 255, 255, 0.06); }
.next .row:active { background: rgba(255, 255, 255, 0.11); }
.next .row:focus-visible { outline: 1px solid #fff; outline-offset: -2px; }
.next .t { font-size: 11px; font-variant-numeric: tabular-nums; letter-spacing: 0.06em; color: var(--ink-dim); }
.next .n { font-size: 15px; line-height: 1.3; overflow-wrap: anywhere; }
.next .n small { display: block; margin-top: 2px; font-size: 13px; color: var(--ink-dim); }
/* the year: under the day on every archive row, and one quiet header per year (2026, 2025) */
.next .t small { display: block; margin-top: 2px; font-size: 10px; letter-spacing: 0.1em; opacity: 0.75; }
.next li.yr { padding: 20px 14px 6px; font-size: 11px; font-weight: 600; letter-spacing: 0.18em; color: var(--ink-dim); }
.next li.yr + li::before { display: none; }
.next li.yr:first-child { padding-top: 6px; }

.empty { max-width: 460px; margin: 28px auto 0; font-size: 12px; font-weight: 600; letter-spacing: 0.16em; color: var(--ink-dim); }

/* ===== DESKTOP: a composition that uses the width ============================ */
@media (min-width: 900px) {
  main { display: grid; align-items: center; padding-bottom: calc(var(--btn-zone) + 24px); }
  .stage {
    max-width: 1020px;
    width: 100%;
    grid-template-columns: minmax(380px, 460px) minmax(300px, 1fr);
    gap: 28px;
    align-items: start;
    padding-top: 0;
  }
  .card { padding: 18px 18px 24px; }
  .art { max-height: none; }
  .sheet { max-height: calc(100svh - var(--bar-top) - var(--btn-zone) - 40px); overflow-y: auto; scrollbar-width: none; padding-top: 24px; }
  .sheet::-webkit-scrollbar { display: none; }
  .title { font-size: 30px; }
}
@media (max-height: 700px) and (max-width: 899px) {
  .art { max-height: 34svh; }
}

/* ===== MINI PLAYER =========================================================== */
/* Black, one hairline, no ornament. It sits ABOVE the floating crescent / speaker (their bottom offset already
   includes the iPhone safe area, so this does too) and under the menu, which hides it. */
.mini {
  position: fixed;
  left: max(16px, env(safe-area-inset-left));
  right: max(16px, env(safe-area-inset-right));
  bottom: calc(var(--btn-bottom) + 60px);
  z-index: 35;
  max-width: 460px;
  margin: 0 auto;
  min-height: 56px;
  padding: 6px 8px 6px 16px;
  display: flex;
  align-items: center;
  gap: 4px;
  background: #000;
  border: 1px solid var(--hair);
  border-radius: 20px;
  cursor: pointer;
  transition: opacity 300ms ease;
}
body.menu-open .mini { opacity: 0; pointer-events: none; }
.mini-text { flex: 1 1 auto; min-width: 0; display: grid; gap: 2px; }
.mini-title { font-size: 14px; font-weight: 600; line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini-sub { display: flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 600; letter-spacing: 0.14em; color: var(--ink-dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini-live { display: inline-flex; align-items: center; gap: 6px; color: #fff; }
.mini-live i { width: 6px; height: 6px; border-radius: 50%; background: #fff; }
.mbtn {
  appearance: none;
  flex: none;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: none;
  color: #fff;
  cursor: pointer;
}
.mbtn:active { background: rgba(255, 255, 255, 0.12); }
.mbtn:focus-visible { outline: 1px solid #fff; outline-offset: -2px; }
.mbtn svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.mbtn text { fill: currentColor; stroke: none; font: 600 7.4px/1 -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif; letter-spacing: 0; }
.mbtn.main svg { width: 28px; height: 28px; }
.mbtn.main .i-play { margin-left: 2px; }
.mbtn.main .i-pause { display: none; }
.mbtn.main[data-playing="true"] .i-play { display: none; }
.mbtn.main[data-playing="true"] .i-pause { display: block; }
/* room for the last rows to scroll clear of it */
body.has-mini main { padding-bottom: calc(var(--btn-zone) + 64px + 72px); }
@media (prefers-reduced-motion: reduce) { .mini { transition: none; } }

/* ---- floating crescent (bottom centre) + speaker (bottom right): ported from media.css ---- */
.glass-btn {
  position: fixed;
  bottom: var(--btn-bottom);
  z-index: 40;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: 0;
  border-radius: 50%;
  background: none;
  box-shadow: none;
  color: #fff;
  transition: color 300ms ease;
}
.glass-btn:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
#menu-btn { left: 50%; transform: translateX(-50%); padding: 10px; }
#menu-btn svg path { fill: currentColor; }
#sound-btn { right: max(20px, env(safe-area-inset-right)); padding: 12px; }
.glass-btn svg {
  width: 100%;
  height: 100%;
  display: block;
  filter: drop-shadow(0 1px 1.5px rgba(0, 0, 0, 0.6));
  transition: transform 140ms cubic-bezier(0.16, 1, 0.3, 1), opacity 300ms ease, filter 300ms ease;
}
.glass-btn:active svg { transform: scale(0.88); }
#sound-btn[aria-pressed="false"] svg { opacity: 0.6; }
body.menu-open .glass-btn { color: #6e6e73; }
body.menu-open .glass-btn svg { filter: none; }
body.menu-open #menu-btn:active svg { transform: none; }
#sound-btn[aria-pressed="true"] #icon-muted { display: none; }
#sound-btn[aria-pressed="false"] #icon-sound { display: none; }
#sound-btn:not([hidden]) { display: grid; grid-template: 100% / 100%; }
#sound-btn svg { grid-area: 1 / 1; transition: transform 140ms cubic-bezier(0.16, 1, 0.3, 1), opacity 180ms ease, filter 300ms ease; }
#sound-btn[aria-pressed="true"] #icon-muted,
#sound-btn[aria-pressed="false"] #icon-sound { display: block; opacity: 0; }
#sound-btn[aria-pressed="true"] #icon-sound { opacity: 1; }
#sound-btn[aria-pressed="false"] #icon-muted { opacity: 0.6; }

.skip:not(:focus) {
  position: fixed; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}
.skip:focus {
  position: fixed;
  top: max(12px, env(safe-area-inset-top));
  left: max(12px, env(safe-area-inset-left));
  z-index: 100;
  padding: 12px 16px;
  background: #000;
  color: #fff;
  border: 1px solid #fff;
  font: 600 12px/1 -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  letter-spacing: 0.14em;
  text-decoration: none;
}
#radio:focus { outline: none; }

@media (prefers-reduced-motion: reduce) {
  .glass-btn svg, #sound-btn svg { transition: none; }
}
