:root {
  --accent: #f2a93b;
  --accent-soft: color-mix(in oklab, var(--accent) 22%, transparent);
  --accent-glow: color-mix(in oklab, var(--accent) 55%, transparent);
  --bg: #0e0c0a;
  --panel: #171310;
  --panel-2: #1e1914;
  --line: #2c251e;
  --line-2: #3a3128;
  --text: #efe6d8;
  --muted: #9d9181;
  --faint: #948877;  /* 5:1 on every panel colour (WCAG AA) */
  --red: #ff4b3a;
  --radius: 14px;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --sans: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }

[hidden] { display: none !important; }

html, body { margin: 0; }

body {
  min-height: 100vh;
  background:
    radial-gradient(1200px 600px at 20% -10%, color-mix(in oklab, var(--accent) 9%, transparent), transparent 60%),
    radial-gradient(900px 500px at 110% 10%, #ffffff06, transparent 60%),
    var(--bg);
  color: var(--text);
  font: 15px/1.5 var(--sans);
  -webkit-font-smoothing: antialiased;
  transition: background 0.8s ease;
}

button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
.power:focus-visible, .share:focus-visible, .ep-play:focus-visible { border-radius: 50%; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 10; padding: 10px 14px; border-radius: 8px; background: var(--accent); color: #160f08; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }
a { color: var(--accent); }
.consent { display: flex; gap: 10px; align-items: flex-start; margin-top: 12px; font-size: 12.5px; line-height: 1.45; color: var(--muted); cursor: pointer; }
.consent input { width: auto; margin: 2px 0 0; accent-color: var(--accent); flex: none; }
.site-footer { max-width: 1320px; margin: 0 auto; padding: 0 24px 40px; color: var(--muted); font-size: 13px; line-height: 1.55; }
.site-footer p { margin: 0 0 8px; max-width: 90ch; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 12px; }
@media (max-width: 720px) { .site-footer { padding: 0 16px 32px; } }
code { font-family: var(--mono); }

/* --- header --------------------------------------------------------------- */

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 1320px;
  margin: 0 auto;
  padding: 18px 24px 6px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font: 600 13px/1 var(--mono);
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.brand svg { width: 26px; height: 26px; fill: none; stroke: var(--accent); stroke-width: 2.2; stroke-linecap: round; }
.brand svg circle { fill: var(--accent); stroke: none; }
.brand b { color: var(--accent); font-weight: 600; margin-left: 0.35em; }
.brand-tag {
  margin-left: 6px;
  padding-left: 14px;
  border-left: 1px solid var(--line-2);
  font: italic 400 16px/1 var(--serif);
  letter-spacing: 0.01em;
  text-transform: none;
  color: var(--muted);
}
.mock-badge {
  font-size: 10px;
  letter-spacing: 0.12em;
  padding: 4px 8px;
  border: 1px dashed var(--line-2);
  border-radius: 999px;
  color: var(--muted);
}

.budget { width: min(340px, 45vw); }
.budget-text {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font: 500 11px/1.4 var(--mono);
  color: var(--muted);
  letter-spacing: 0.04em;
}
.budget-bar { height: 4px; margin-top: 6px; border-radius: 4px; background: var(--line); overflow: hidden; }
#budget-fill { height: 100%; width: 0; background: var(--accent); border-radius: 4px; transition: width 0.6s ease, background 0.3s; }
.budget.low #budget-fill { background: var(--red); }

/* --- layout --------------------------------------------------------------- */

.layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  grid-template-rows: auto auto 1fr;
  grid-template-areas: "radio side" "now side" "list side";
  gap: 20px;
  max-width: 1320px;
  margin: 0 auto;
  padding: 14px 24px 48px;
  align-items: start;
}
.radio { grid-area: radio; }
.now { grid-area: now; }
.directory { grid-area: list; }
.side { grid-area: side; display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }

.card {
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px;
}
.card h3 {
  margin: 0 0 12px;
  font: 600 11px/1 var(--mono);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.hint { margin: 0 0 12px; color: var(--muted); font-size: 13px; }

/* --- the radio ------------------------------------------------------------- */

.radio {
  position: relative;
  padding: 22px 24px 24px;
  border-radius: 22px;
  background:
    linear-gradient(180deg, #ffffff0a, transparent 30%),
    repeating-linear-gradient(90deg, #ffffff03 0 2px, transparent 2px 6px),
    linear-gradient(180deg, #221b15, #15110d);
  border: 1px solid var(--line-2);
  box-shadow: 0 30px 80px -30px #000, inset 0 1px 0 #ffffff12;
}

.radio-top {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 34px;
  margin-bottom: 16px;
}

.onair { display: flex; align-items: center; gap: 12px; }
.onair-lamp {
  font: 600 12px/1 var(--mono);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 8px 12px;
  border-radius: 6px;
  color: #5a3a35;
  background: #2a1512;
  border: 1px solid #3b1d19;
  transition: all 0.4s ease;
}
.onair[data-status="live"] .onair-lamp,
.onair[data-status="reruns"] .onair-lamp {
  color: #fff4ef;
  background: var(--red);
  border-color: #ff8a7d;
  box-shadow: 0 0 22px #ff4b3a99, 0 0 2px #fff inset;
  animation: lamp 3.2s ease-in-out infinite;
}
.onair[data-status="reruns"] .onair-lamp { background: #c9772e; border-color: #e6a060; box-shadow: 0 0 18px #c9772e88; animation: none; }
.onair[data-status="warming_up"] .onair-lamp { color: #ffd9a8; background: #4a2c12; animation: blink 1.1s steps(2) infinite; }
.onair[data-status="trouble"] .onair-lamp { color: #ffd0c9; background: #4b1a14; animation: blink 0.6s steps(2) infinite; }
@keyframes lamp { 50% { box-shadow: 0 0 34px #ff4b3acc, 0 0 2px #fff inset; } }
@keyframes blink { 50% { opacity: 0.45; } }

.onair-status { font: 500 12px/1 var(--mono); color: var(--muted); letter-spacing: 0.08em; text-transform: uppercase; }
.activity {
  flex: 1;
  min-width: 0;
  font-size: 13px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.activity:not(:empty)::before {
  content: "";
  display: inline-block;
  width: 6px; height: 6px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--accent);
  vertical-align: 2px;
  animation: blink 1.2s steps(2) infinite;
}
.listeners { font: 500 12px/1 var(--mono); color: var(--faint); white-space: nowrap; }

/* dial */
.dial {
  padding: 6px;
  border-radius: 14px;
  background: linear-gradient(180deg, #0b0907, #1b1612);
  box-shadow: inset 0 2px 8px #000c, 0 1px 0 #ffffff10;
}
.dial-glass {
  position: relative;
  height: 150px;
  border-radius: 10px;
  overflow: hidden;
  background:
    radial-gradient(120% 140% at 50% 120%, color-mix(in oklab, var(--accent) 16%, transparent), transparent 60%),
    linear-gradient(180deg, #1c150e, #100c08);
  transition: background 0.8s ease;
}
.dial-glass::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(170deg, #ffffff14 0%, #ffffff05 28%, transparent 30%);
  pointer-events: none;
}
.dial-stations { position: absolute; inset: 14px 0 auto; height: 52px; }
.dial-glass.two-rows { height: 188px; }
.dial-station {
  position: absolute;
  background: none;
  border: 0;
  padding: 4px 6px;
  text-align: center;
  color: color-mix(in oklab, var(--text) 68%, transparent);
  transition: color 0.3s, text-shadow 0.3s;
  white-space: nowrap;
}
.dial-station .n { display: block; font: italic 21px/1 var(--serif); }
.dial-station .f { display: block; margin-top: 4px; font: 500 10px/1 var(--mono); letter-spacing: 0.1em; color: var(--faint); }
.dial-station:hover { color: var(--text); }
.dial-station.active { color: var(--station-color, var(--accent)); text-shadow: 0 0 18px var(--station-color, var(--accent)); }
.dial-station.active .f { color: inherit; }
.dial-station.live .f::after { content: " ●"; color: var(--red); }

.dial-scale { position: absolute; left: 0; right: 0; bottom: 30px; height: 40px; }
.tick { position: absolute; bottom: 0; width: 1px; height: 10px; background: #d9c7aa55; }
.tick.major { height: 20px; background: #e9d8bb99; }
.tick-label {
  position: absolute;
  bottom: 24px;
  transform: translateX(-50%);
  font: 500 11px/1 var(--mono);
  color: #e9d8bbaa;
}
.dial-band {
  position: absolute;
  bottom: 9px;
  right: 14px;
  font: 600 9px/1 var(--mono);
  letter-spacing: 0.24em;
  color: var(--faint);
}
.needle {
  position: absolute;
  top: 8px;
  bottom: 8px;
  width: 2px;
  margin-left: -1px;
  left: 50%;
  border-radius: 2px;
  background: #ff5a3c;
  box-shadow: 0 0 10px #ff5a3cbb, 0 0 2px #fff;
  transition: left 0.9s cubic-bezier(0.6, 0, 0.2, 1);
}

/* controls */
.controls {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) 240px auto;
  align-items: center;
  gap: 22px;
  margin-top: 20px;
}
.power {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  border: 1px solid #0006;
  background: radial-gradient(circle at 35% 30%, #3a3129, #16110d 70%);
  box-shadow: 0 8px 18px #0009, inset 0 1px 0 #ffffff1a, 0 0 0 5px #0f0c09, 0 0 0 6px var(--line-2);
  display: grid;
  place-items: center;
  transition: box-shadow 0.4s, transform 0.1s;
}
.power svg { width: 26px; height: 26px; fill: none; stroke: var(--faint); stroke-width: 2.4; stroke-linecap: round; transition: stroke 0.3s, filter 0.3s; }
.power:active { transform: scale(0.97); }
.power[aria-pressed="true"] { box-shadow: 0 8px 18px #0009, inset 0 1px 0 #ffffff1a, 0 0 0 5px #0f0c09, 0 0 0 6px var(--accent), 0 0 30px var(--accent-glow); }
.power[aria-pressed="true"] svg { stroke: var(--accent); filter: drop-shadow(0 0 6px var(--accent)); }
.power.hint { animation: beckon 2.4s ease-in-out infinite; }
.power.hint svg { stroke: var(--accent); }
@keyframes beckon {
  50% { box-shadow: 0 8px 18px #0009, inset 0 1px 0 #ffffff1a, 0 0 0 5px #0f0c09, 0 0 0 6px var(--accent), 0 0 26px var(--accent-glow); }
}

.name-row { display: flex; align-items: center; gap: 10px; min-width: 0; }
.share {
  flex: none;
  width: 30px;
  height: 30px;
  margin-top: 6px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  background: none;
  display: grid;
  place-items: center;
  transition: border-color 0.2s;
}
.share svg { width: 15px; height: 15px; fill: none; stroke: var(--muted); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.share:hover { border-color: var(--accent); }
.share:hover svg { stroke: var(--accent); }

.station-id { min-width: 0; }
.freq { display: flex; align-items: baseline; gap: 10px; font: 600 30px/1 var(--mono); color: var(--accent); text-shadow: 0 0 20px var(--accent-glow); letter-spacing: 0.02em; }
.freq small { font-size: 11px; letter-spacing: 0.2em; color: var(--muted); text-shadow: none; }
.station-name { margin-top: 6px; font: italic 26px/1.1 var(--serif); }
.show { margin-top: 5px; font: 500 11px/1.3 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }
.tagline {
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.vu { width: 240px; height: 60px; border-radius: 8px; background: #0b0907; box-shadow: inset 0 2px 6px #000c; }

.volume { display: grid; justify-items: center; gap: 6px; font: 600 10px/1 var(--mono); letter-spacing: 0.2em; text-transform: uppercase; color: var(--faint); }
.volume input { width: 96px; accent-color: var(--accent); }

/* --- now playing ------------------------------------------------------------ */

.now { padding: 22px 24px; }
.now-head { display: flex; align-items: center; gap: 10px; }
.kind, .rerun, .tag-kind {
  font: 600 10px/1 var(--mono);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 5px 8px;
  border-radius: 5px;
  background: var(--accent-soft);
  color: var(--accent);
}
.rerun { background: #c9772e2a; color: #e6a060; }
.now-time { margin-left: auto; font: 500 12px/1 var(--mono); color: var(--faint); }
#now-title { margin: 14px 0 14px; font: 400 34px/1.1 var(--serif); letter-spacing: 0.005em; text-wrap: balance; }
.progress { height: 3px; border-radius: 3px; background: var(--line); overflow: hidden; }
#now-progress { height: 100%; width: 0; background: var(--accent); box-shadow: 0 0 10px var(--accent); }

.transcript {
  list-style: none;
  margin: 18px 0 0;
  padding: 0 4px 0 0;
  max-height: 440px;
  padding-bottom: 10px;
  overflow-y: auto;
  overflow-x: hidden;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--line-2) transparent;
}
.transcript li {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 16px;
  padding: 10px 12px;
  border-radius: 10px;
  transition: background 0.3s, opacity 0.4s, transform 0.4s;
}
.transcript li.future { display: none; }
.transcript.following li.future { display: none; }
.transcript li.enter { animation: rise 0.45s ease both; }
@keyframes rise { from { opacity: 0; transform: translateY(6px); } }
.transcript li.past { opacity: 0.55; }
.transcript li.active { background: #ffffff08; }
.transcript li.active .who { color: var(--accent); }
.who { font: 600 12px/1.6 var(--mono); letter-spacing: 0.04em; color: var(--muted); overflow-wrap: anywhere; }
.who .badge { display: inline-block; margin-left: 6px; font-size: 9px; letter-spacing: 0.14em; padding: 2px 5px; border-radius: 4px; background: var(--red); color: #fff; vertical-align: 1px; }
.said { margin: 0; font-size: 16px; line-height: 1.55; }
.phone .said { font-family: var(--mono); font-size: 14.5px; }
.phone .who::before { content: "☎ "; }
.music .said { font: italic 20px/1.3 var(--serif); color: var(--accent); }
.notes .said { color: var(--muted); font-size: 14.5px; }
.tag {
  display: inline-block;
  margin: 0 3px;
  padding: 0 6px;
  border-radius: 4px;
  font: italic 13px/1.5 var(--serif);
  color: var(--muted);
  background: #ffffff0a;
  border: 1px solid #ffffff0d;
}
.transcript .standby { display: block; padding: 28px 12px; color: var(--muted); text-align: center; font: italic 18px/1.4 var(--serif); }
.transcript .welcome { display: block; padding: 18px 12px 8px; text-align: left; }
.now:has(.welcome) .progress { display: none; }
.welcome p { margin: 0 0 18px; max-width: 58ch; color: var(--muted); font-size: 16px; line-height: 1.6; }
.tune-in {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 22px 13px 18px;
  border-radius: 999px;
  border: 0;
  background: var(--accent);
  color: #160f08;
  font-weight: 600;
  box-shadow: 0 0 28px var(--accent-glow);
  transition: transform 0.15s, box-shadow 0.2s;
}
.tune-in:hover { transform: translateY(-1px); box-shadow: 0 0 36px var(--accent-glow); }
.tune-in svg { width: 16px; height: 16px; fill: currentColor; }

/* --- station directory ------------------------------------------------------- */

.directory { padding: 20px 20px 14px; }
.station-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 10px; }
.station-list button {
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 4px 12px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #0e0b0966;
  text-align: left;
  transition: border-color 0.2s, background 0.2s;
}
.station-list button:hover { border-color: var(--line-2); background: #ffffff06; }
.station-list .active button { border-color: var(--station-color); background: color-mix(in oklab, var(--station-color) 8%, transparent); }
.station-list .freq-chip {
  grid-row: span 3;
  align-self: start;
  min-width: 52px;
  padding: 6px 0;
  border-radius: 8px;
  text-align: center;
  font: 600 13px/1 var(--mono);
  color: var(--station-color);
  background: color-mix(in oklab, var(--station-color) 12%, transparent);
}
.station-list .n { font: italic 20px/1.1 var(--serif); color: var(--text); }
.station-list .live-dot { display: inline-block; width: 7px; height: 7px; margin-left: 7px; border-radius: 50%; background: var(--red); box-shadow: 0 0 6px var(--red); vertical-align: 3px; }
.station-list .tl { font-size: 12.5px; line-height: 1.4; max-height: 2.8em; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.station-list .on { font: 500 10px/1.4 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--station-color); }

/* --- call panel ------------------------------------------------------------- */

.call input, .call textarea {
  width: 100%;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--line-2);
  background: #0e0b09;
  outline: none;
}
.call input:focus, .call textarea:focus { border-color: var(--accent); }
.call textarea { resize: vertical; margin: 10px 0; }
.call .call-code { margin-top: 10px; }
.record {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  margin-top: 10px;
  padding: 14px;
  border-radius: 12px;
  border: 1px solid var(--line-2);
  background: linear-gradient(180deg, #2a221b, #1a1511);
  font-weight: 600;
  transition: all 0.25s;
}
.record:hover:not(:disabled) { border-color: var(--accent); }
.record:disabled { opacity: 0.5; cursor: not-allowed; }
.record-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--red); box-shadow: 0 0 8px var(--red); }
.record.recording { background: var(--red); border-color: #ff8a7d; color: #fff; box-shadow: 0 0 26px #ff4b3a66; }
.record.recording .record-dot { background: #fff; animation: blink 0.9s steps(2) infinite; }
.mic-hint { margin-top: 10px; }
.message { margin-top: 12px; }
.message summary { cursor: pointer; color: var(--muted); font-size: 13px; }
.send {
  width: 100%;
  padding: 10px;
  border-radius: 10px;
  border: 1px solid var(--line-2);
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 600;
}
.calls { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 8px; }
.calls li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #0e0b09;
  border: 1px solid var(--line);
  font-size: 13px;
}
.calls .step { font: 600 10px/1 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.calls li[data-status="on_air"] { border-color: var(--red); box-shadow: 0 0 20px #ff4b3a33; }
.calls li[data-status="on_air"] .step { color: var(--red); animation: blink 1s steps(2) infinite; }
.calls li[data-status="queued"] .step { color: var(--accent); }
.calls li[data-status="failed"] .step { color: #ff8a7d; }

/* --- lists ------------------------------------------------------------------ */

.queue, .log { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.queue li, .log li { display: flex; align-items: center; gap: 10px; padding: 7px 0; font-size: 13.5px; border-bottom: 1px solid #ffffff08; min-width: 0; }
.queue li:last-child, .log li:last-child { border-bottom: 0; }
.queue .t, .log .t { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.queue .d, .log .d { font: 500 11px/1 var(--mono); color: var(--faint); }
.tag-kind { flex: none; font-size: 9px; padding: 4px 6px; background: #ffffff0a; color: var(--muted); }
.log li.on .tag-kind { background: var(--red); color: #fff; }
.empty { color: var(--faint); font-size: 13px; }

.serial-title { margin: -2px 0 4px; font: italic 21px/1.15 var(--serif); }
.serial .hint { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.episodes { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 2px; }
.episodes li { display: flex; align-items: center; gap: 10px; padding: 5px 0; font-size: 13.5px; border-bottom: 1px solid #ffffff08; min-width: 0; }
.episodes li:last-child { border-bottom: 0; }
.episodes .t { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.episodes .d { font: 500 11px/1 var(--mono); color: var(--faint); }
.episodes li.playing .t { color: var(--accent); }
.ep-play { flex: none; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line-2); background: none; color: var(--muted); font-size: 10px; line-height: 1; padding: 0 0 0 2px; }
.ep-play:hover, .episodes li.playing .ep-play { border-color: var(--accent); color: var(--accent); }
#episode-player { width: 100%; height: 36px; margin: 0 0 12px; }
.serial .url-row + .hint { margin: 10px 0 0; }
.url-row { display: flex; gap: 8px; align-items: center; }
.url-row code { flex: 1; min-width: 0; padding: 8px 10px; border-radius: 8px; background: #0e0b09; border: 1px solid var(--line); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.url-row button { padding: 8px 12px; border-radius: 8px; border: 1px solid var(--line-2); background: none; font-size: 12px; }
.elsewhere .hint { margin: 10px 0 0; }

/* --- toast ------------------------------------------------------------------ */

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  max-width: calc(100vw - 32px);
  padding: 12px 16px;
  border-radius: 12px;
  background: #2a211a;
  border: 1px solid var(--line-2);
  box-shadow: 0 20px 40px #000a;
  font-size: 14px;
  z-index: 10;
}

/* --- responsive --------------------------------------------------------------- */

@media (max-width: 1080px) {
  .layout { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; grid-template-areas: "radio" "now" "list" "side"; }
  .side { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
}

@media (max-width: 720px) {
  .top { padding: 14px 16px 4px; flex-wrap: wrap; }
  .budget { width: 100%; }
  .brand-tag { display: none; }
  .station-list { grid-template-columns: minmax(0, 1fr); }
  .transcript .welcome { padding: 12px 0 4px; }
  .dial-station .n { display: none; }
  .dial-station .f { margin: 0; font-size: 12px; font-weight: 600; }
  .dial-station .cs { display: none; }
  .layout { padding: 10px 16px 40px; gap: 16px; }
  .radio { padding: 16px; border-radius: 18px; }
  .radio-top { flex-wrap: wrap; gap: 10px; }
  .activity { order: 3; flex-basis: 100%; }
  .dial-glass { height: 132px; }
  .dial-glass.two-rows { height: 150px; }
  .tick-label { font-size: 9px; }
  .controls { grid-template-columns: auto minmax(0, 1fr); gap: 14px 16px; }
  .vu { grid-column: 1 / -1; width: 100%; height: 48px; }
  .volume { display: none; }
  .station-name { font-size: 22px; }
  #now-title { font-size: 27px; }
  .transcript li { grid-template-columns: minmax(0, 1fr); gap: 2px; }
}

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