/* Charity.dial listener pages: a warm retro radio (design D9, D10). */
@font-face { font-family: "Archivo"; font-style: normal; font-display: swap; font-weight: 100 900; font-stretch: 62% 125%;
  src: url(/assets/fonts/archivo-latin-wdth-normal.woff2) format("woff2-variations");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Archivo"; font-style: normal; font-display: swap; font-weight: 100 900; font-stretch: 62% 125%;
  src: url(/assets/fonts/archivo-latin-ext-wdth-normal.woff2) format("woff2-variations");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Space Mono"; font-style: normal; font-display: swap; font-weight: 400;
  src: url(/assets/fonts/space-mono-latin-400-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Space Mono"; font-style: normal; font-display: swap; font-weight: 400;
  src: url(/assets/fonts/space-mono-latin-ext-400-normal.woff2) format("woff2");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Space Mono"; font-style: normal; font-display: swap; font-weight: 700;
  src: url(/assets/fonts/space-mono-latin-700-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Space Mono"; font-style: normal; font-display: swap; font-weight: 700;
  src: url(/assets/fonts/space-mono-latin-ext-700-normal.woff2) format("woff2");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }

/* --- tokens ------------------------------------------------------------- */
:root {
  --sun: #f6c443; --amber: #f0a73b; --orange: #ef7d3a; --coral: #ef4b43; --teal: #3f9b8a; --sand: #e5d3ad;
  --cream: #faf3e6; --brown: #3d332d; --night: #221b17;
  --paper: var(--cream);      /* page */
  --surface: #fdf8ef;         /* cards */
  --panel: #efe2c6;           /* radio body */
  --ink: #2b2420;             /* text */
  --edge: #2b2420;            /* borders and hard shadows */
  --muted: #6e6257;
  --screen: var(--night);     /* the radio display */
  --screen-ink: var(--cream);
  --screen-muted: #b3a593;
  --on-accent: #2b2420;
  --display: "Archivo", system-ui, sans-serif;
  --mono: "Space Mono", ui-monospace, monospace;
  --radius: 14px;
  --border: 3px solid var(--edge);
  --shadow: 6px 6px 0 var(--edge);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #1a1512; --surface: #29211c; --panel: #3a2f28; --ink: #f5ecdc; --edge: #0b0907;
    --muted: #b8aa97; --screen: #120e0b; --screen-muted: #a8998a; color-scheme: dark;
  }
}

/* --- base --------------------------------------------------------------- */
* { box-sizing: border-box; }
[hidden] { display: none !important; } /* author display rules would otherwise override it */
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.5 var(--display); font-stretch: 100%; overflow-x: hidden; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 900; font-stretch: 125%; text-transform: uppercase; line-height: 0.95; letter-spacing: -0.01em; }
p { margin: 0; }
main { max-width: 72rem; margin: 0 auto; padding: 32px 16px 64px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; }
.muted { color: var(--muted); }
.label, .eyebrow { font: 700 0.72rem/1.4 var(--mono); text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -48px; background: var(--ink); color: var(--paper); padding: 8px 12px; border-radius: 8px; z-index: 10; }
.skip:focus { top: 8px; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }

/* --- header and footer ----------------------------------------------- */
header.site { max-width: 72rem; margin: 0 auto; padding: 16px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 900; font-stretch: 125%; text-transform: uppercase; font-size: 1.3rem; text-decoration: none; letter-spacing: -0.01em; }
.brand-sun { width: 30px; height: 30px; border-radius: 50%; border: var(--border); background: linear-gradient(var(--sun) 0 45%, var(--orange) 45% 62%, var(--coral) 62%); flex: none; }
.pill-live { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border: 2px solid var(--edge); border-radius: 8px; background: var(--sun); color: var(--on-accent); font-size: 0.78rem; font-weight: 700; }
.pill-live .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--coral); border: 1.5px solid var(--edge); }
header.site nav { margin-left: auto; display: flex; flex-wrap: wrap; gap: 4px 20px; font-weight: 600; font-size: 0.95rem; }
header.site nav a { text-decoration: none; }
header.site nav a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }


footer.site { background: var(--brown); color: var(--cream); padding: 24px 16px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }
footer.site .brand { font-size: 1rem; }
footer.site .tagline, footer.site .muted { color: #cbbda8; font-size: 0.9rem; }
@media (min-width: 72rem) { footer.site { padding-inline: calc((100vw - 72rem) / 2 + 16px); } }

/* --- shared blocks ---------------------------------------------------------- */
.block { border: var(--border); border-radius: var(--radius); box-shadow: var(--shadow); }
.accent-0 { --accent: var(--sun); }
.accent-1 { --accent: var(--amber); }
.accent-2 { --accent: var(--orange); }
.accent-3 { --accent: var(--coral); }
.accent-4 { --accent: var(--teal); }
.accent-5 { --accent: var(--sand); }
.stripes { display: grid; gap: 4px; width: min(14rem, 40%); }
.stripes i { display: block; height: 5px; border-radius: 3px; }
.stripes i:nth-child(1) { background: var(--sun); }
.stripes i:nth-child(2) { background: var(--amber); }
.stripes i:nth-child(3) { background: var(--orange); }
.stripes i:nth-child(4) { background: var(--coral); }

/* --- charity band ----------------------------------------------------------- */
.charity { background: var(--teal); color: #10231f; border: var(--border); border-radius: 18px; box-shadow: var(--shadow); padding: 20px 24px; }
.charity .eyebrow { color: #10231f; }
.charity h2 { font-size: clamp(1.5rem, 4vw, 2rem); margin: 6px 0 8px; }
.charity p:last-child { font-weight: 600; font-size: 0.95rem; }

/* --- the dial (station cards) ------------------------------------------------- */
.dial-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.dial-head h2 { font-size: clamp(2.2rem, 6vw, 3.6rem); margin: 0; }
.channels { list-style: none; padding: 0; margin: 0; display: grid; gap: 22px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 19rem), 1fr)); }
.station-card { display: flex; flex-direction: column; height: 100%; background: var(--surface); border: var(--border); border-radius: var(--radius); box-shadow: var(--shadow); text-decoration: none; overflow: hidden; transition: transform 0.12s, box-shadow 0.12s; }
.station-card:hover { transform: translate(-2px, -2px); box-shadow: 8px 8px 0 var(--edge); }
.station-card.current { box-shadow: 8px 8px 0 var(--coral); }
.card-band { display: flex; justify-content: flex-end; align-items: center; gap: 8px; padding: 12px 16px; background: var(--accent); color: var(--on-accent); border-bottom: var(--border); }
.tag { font: 700 0.66rem/1 var(--mono); text-transform: uppercase; letter-spacing: 0.12em; padding: 5px 9px; border: 2px solid var(--edge); border-radius: 6px; background: var(--surface); color: var(--ink); }
.current .tag { background: var(--edge); color: var(--sun); }
.card-body { padding: 16px; display: grid; gap: 10px; align-content: start; flex: 1; }
.card-title { display: flex; justify-content: space-between; align-items: start; gap: 12px; }
.card-title h3 { font-size: 1.25rem; margin: 4px 0 0; }
.desc { color: var(--muted); font-size: 0.93rem; }
.card-now { border-top: 2px dashed var(--edge); padding-top: 10px; margin-top: auto; display: grid; gap: 2px; }
.card-now .label { color: var(--ink); font-size: 0.66rem; }
.now-label { font-weight: 600; font-size: 0.95rem; }
.mosaic, .channel-art, .station-card .art-placeholder { width: 52px; height: 52px; border-radius: 8px; flex: none; background: var(--sand); border: 2px solid var(--edge); }
.channel-art { object-fit: cover; }
.mosaic { display: grid; gap: 1px; overflow: hidden; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; background: var(--edge); }
.mosaic img { width: 100%; height: 100%; object-fit: cover; display: block; min-width: 0; min-height: 0; }
.mosaic-1 { grid-template-columns: 1fr; grid-template-rows: 1fr; }
.mosaic-2 { grid-template-rows: 1fr; }
.mosaic-3 img:first-child { grid-row: span 2; }

/* --- the radio: a tabletop set in the station's color ---------------------------- */
.radio { display: grid; grid-template-columns: minmax(0, 1fr); } /* room for the power button and antenna */
.cabinet { position: relative; display: grid; grid-template-columns: minmax(0, 2fr) minmax(9rem, 0.7fr); gap: clamp(14px, 2.5vw, 26px); padding: clamp(14px, 2.5vw, 26px); padding-top: 56px;
  background: linear-gradient(180deg, color-mix(in srgb, var(--accent), white 22%) 0%, var(--accent) 30%, color-mix(in srgb, var(--accent), black 14%) 100%);
  color: var(--on-accent); border: var(--border); border-radius: 30px;
  box-shadow: var(--shadow), inset 0 3px 0 rgb(255 255 255 / 0.4), inset 0 -8px 0 rgb(0 0 0 / 0.14); }
.cabinet .label { color: var(--on-accent); }

/* speaker: a panel of punched holes in the cabinet, and a brass plate */
.speaker { display: grid; grid-template-rows: 1fr auto; gap: 12px; padding: 14px; border: var(--border); border-radius: 20px;
  background: color-mix(in srgb, var(--accent), black 8%); box-shadow: inset 0 3px 8px rgb(0 0 0 / 0.25); }
.grille { min-height: 13rem; background: radial-gradient(circle, rgb(0 0 0 / 0.72) 0 3.4px, transparent 4px) center / 16px 16px; }
#player[data-state="live"] .grille { animation: breathe 0.5s ease-in-out infinite alternate; }
@keyframes breathe { to { transform: scale(1.012); } }
@media (prefers-reduced-motion: reduce) { #player[data-state] .grille { animation: none; } }
.plate { justify-self: center; padding: 4px 12px; border: 2px solid var(--edge); border-radius: 6px; background: linear-gradient(#f6dc8a, #c9962f);
  color: var(--ink); font: 700 0.68rem/1.2 var(--mono); text-transform: uppercase; letter-spacing: 0.14em; }

.face { display: grid; gap: 16px; align-content: start; min-width: 0; }

/* tuning window: a glass scale with ticks and a sliding needle; it lights up when the radio is on */
.tuning { position: relative; border: var(--border); border-radius: 14px; overflow: hidden; background: #cdbd98;
  box-shadow: inset 0 0 0 3px rgb(0 0 0 / 0.12), inset 0 10px 18px rgb(0 0 0 / 0.18), 3px 3px 0 var(--edge); transition: background-color 0.4s, box-shadow 0.4s; }
#player:not([data-state="idle"]) .tuning { background: radial-gradient(ellipse at 50% 60%, #fff4cc, #f8d25e 55%, #e9a93a);
  box-shadow: inset 0 0 26px rgb(255 170 40 / 0.65), inset 0 0 0 3px rgb(0 0 0 / 0.1), 3px 3px 0 var(--edge), 0 0 22px rgb(246 196 67 / 0.45); }
.tuning::after { content: ""; position: absolute; left: 0; right: 0; bottom: 6px; height: 14px; pointer-events: none;
  background: repeating-linear-gradient(90deg, var(--edge) 0 2px, transparent 2px 12px) bottom / 100% 7px no-repeat,
              repeating-linear-gradient(90deg, var(--edge) 0 2px, transparent 2px 60px) bottom / 100% 14px no-repeat; }
.scale ul { list-style: none; margin: 0; padding: 0 6px; display: flex; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity; }
.scale ul::-webkit-scrollbar { display: none; }
.scale li { flex: 1 0 6.5rem; scroll-snap-align: center; }
.preset { display: grid; justify-items: center; gap: 2px; padding: 10px 4px 26px; color: var(--ink); text-decoration: none; text-align: center; }
.preset-name { font: 700 0.75rem/1.2 var(--mono); text-transform: uppercase; letter-spacing: 0.08em; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.preset:hover .preset-name { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.preset[aria-current] .preset-name { color: #b81d14; }
.tuning:not([style*="--needle"]) .preset[aria-current] { box-shadow: inset 0 -4px 0 #b81d14; } /* no JS: no needle */
.needle { position: absolute; top: 4px; bottom: 2px; left: var(--needle, 50%); width: 4px; margin-left: -2px; border-radius: 2px; pointer-events: none; opacity: 0;
  background: #d42a1f; box-shadow: 0 0 8px rgb(212 42 31 / 0.7); transition: left 0.7s cubic-bezier(0.3, 1.35, 0.5, 1); }
.tuning[style*="--needle"] .needle { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .needle { transition: none; } }

/* the display: what the station plays */
.display { background: var(--screen); color: var(--screen-ink); border: var(--border); border-radius: var(--radius); padding: 16px 20px; display: grid; gap: 12px; align-content: start;
  box-shadow: inset 0 0 0 2px #00000040, 3px 3px 0 var(--edge); min-width: 0; }
.display .label, .display-head { font: 700 0.7rem/1.4 var(--mono); text-transform: uppercase; letter-spacing: 0.14em; color: var(--amber); }
.display-head { display: flex; justify-content: space-between; gap: 12px; }
.led { color: var(--coral); margin-left: 8px; text-shadow: 0 0 8px var(--coral); }
.station-name { font-size: clamp(1.8rem, 5vw, 3rem); margin: 0; color: var(--sun); text-shadow: 0 0 18px #f6c44355; overflow-wrap: anywhere; }
.now { position: relative; display: flex; gap: 14px; align-items: center; padding-right: 92px; font-family: var(--mono); font-size: 0.85rem; }
.now-text { min-width: 0; }
#now-art { width: 76px; height: 76px; flex: none; border-radius: 8px; object-fit: cover; border: 2px solid var(--screen-muted); }
.now .title { font-size: 1rem; font-weight: 700; margin-top: 2px; }
.now .show { color: var(--screen-muted); }
.notes-button { position: absolute; top: 0; right: 0; display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 8px; border: 2px solid var(--screen-muted);
  background: transparent; color: var(--screen-ink); font: 700 0.7rem/1 var(--mono); text-transform: uppercase; letter-spacing: 0.1em; cursor: pointer; }
.notes-button:hover { border-color: var(--sun); color: var(--sun); }
.progress { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 12px; }
.progress progress { width: 100%; height: 10px; appearance: none; -webkit-appearance: none; border: 0; border-radius: 5px; overflow: hidden;
  background: repeating-linear-gradient(90deg, #ffffff1f 0 calc(25% - 2px), transparent calc(25% - 2px) 25%); }
.progress progress::-webkit-progress-bar { background: repeating-linear-gradient(90deg, #ffffff1f 0 calc(25% - 2px), transparent calc(25% - 2px) 25%); }
.progress progress::-webkit-progress-value { background: linear-gradient(90deg, var(--sun), var(--amber), var(--orange), var(--coral)); border-right: 3px solid var(--cream); }
.progress progress::-moz-progress-bar { background: linear-gradient(90deg, var(--sun), var(--amber), var(--orange), var(--coral)); border-right: 3px solid var(--cream); }
.progress span { font: 0.8rem var(--mono); color: var(--screen-muted); font-variant-numeric: tabular-nums; }
.next { font: 0.8rem var(--mono); color: var(--screen-muted); border-top: 1px dashed #ffffff30; padding-top: 10px; }
.next .label { margin-right: 6px; }
.break-info { display: grid; gap: 6px; font-size: 0.88rem; color: var(--screen-muted); }
.break-next { font: 700 1rem var(--mono); color: var(--sun); text-transform: uppercase; letter-spacing: 0.06em; }
#break-countdown { font-variant-numeric: tabular-nums; }
/* the home radio is switched off: only the dial reading and a hint (design D11) */
#player[data-home] :is(.now, .progress, .break-info, .next, .notice, .display-head > span:last-child) { display: none !important; }
.standby { display: none; font: 700 0.8rem/1.4 var(--mono); text-transform: uppercase; letter-spacing: 0.12em; color: var(--screen-muted); }
#player[data-home] .standby { display: block; }
.notice { font: 0.82rem var(--mono); color: var(--screen-ink); border-top: 1px dashed var(--screen-muted); padding-top: 8px; }
.notice::before { content: "▲ "; color: var(--coral); }

/* controls: the volume fader */
.controls { display: flex; align-items: center; padding: 0 8px; }

/* the power switch: a ridged knob sliding left (OFF) and right (ON) in a slot on
   the cabinet's top edge; the front marks each position with a line and a word */
.power { position: absolute; top: -34px; left: clamp(22px, 4vw, 44px); z-index: 1; display: grid; grid-template-columns: 116px auto; grid-template-rows: 34px auto;
  column-gap: 16px; row-gap: 6px; align-items: start; background: none; border: 0; padding: 0; cursor: pointer; color: var(--on-accent); text-align: left; }
.slide { grid-column: 1; grid-row: 1; position: relative; align-self: end; height: 34px; }
.slide::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 12px; border: 3px solid var(--edge); border-bottom: 0; border-radius: 6px 6px 0 0;
  background: linear-gradient(#2a221d, #4a3d35); }
.nub { position: absolute; bottom: 6px; left: 8px; width: 40px; height: 26px; border: 3px solid var(--edge); border-radius: 9px 9px 3px 3px; z-index: 1;
  background: repeating-linear-gradient(90deg, transparent 0 6px, rgb(0 0 0 / 0.28) 6px 8px) center 5px / 26px 12px no-repeat, linear-gradient(90deg, #a81c13, #ff6a50 35%, #e0362a 70%, #8e170f);
  transition: left 0.22s cubic-bezier(0.3, 1.3, 0.5, 1); }
.power:not([data-state="idle"]) .nub { left: 68px; }
.power:hover .nub { filter: brightness(1.15); }
.power[data-state="idle"] .nub { animation: beckon 1.6s ease-out infinite; }
@keyframes beckon { 0% { box-shadow: 0 0 0 0 rgb(239 75 67 / 0.75); } 100% { box-shadow: 0 0 0 14px rgb(239 75 67 / 0); } }
.marks { grid-column: 1; grid-row: 2; display: flex; justify-content: space-between; padding-top: 12px; font: 700 0.68rem/1 var(--mono); letter-spacing: 0.12em;
  background: linear-gradient(var(--edge), var(--edge)) 27px 0 / 2px 9px no-repeat, linear-gradient(var(--edge), var(--edge)) 87px 0 / 2px 9px no-repeat; }
.marks::before, .marks::after { width: 56px; text-align: center; }
.marks::before { content: "OFF"; }
.marks::after { content: "ON"; }
.power-label { grid-column: 2; grid-row: 2; align-self: end; font: 900 1.05rem/1 var(--display); font-stretch: 125%; text-transform: uppercase; white-space: nowrap; }
.power[data-state="loading"] .power-label, .power[data-state="buffering"] .power-label { animation: busy 0.9s ease-in-out infinite alternate; }
@keyframes busy { to { opacity: 0.35; } }
.power:focus-visible { outline: none; }
.power:focus-visible .nub { outline: 3px solid var(--ink); outline-offset: 4px; }
@media (prefers-reduced-motion: reduce) {
  .power[data-state="idle"] .nub { animation: none; box-shadow: 0 0 0 4px rgb(239 75 67 / 0.5); }
  .nub { transition: none; }
  .power .power-label { animation-duration: 2.4s !important; }
}

/* the antenna: a chrome telescopic rod from a hinge near the top-right, raised 12°
   and leaning across the top (the radio is a size container, so its
   length, and the room above the cabinet, follow the radio's width) */
.radio { container-type: inline-size; }
.cabinet { margin-top: calc((72cqw - 45px) * tan(12deg) + 26px); }
.antenna { position: absolute; right: 6cqw; top: -11px; width: 30px; height: 14px; border: 3px solid var(--edge); border-radius: 7px 7px 2px 2px; background: linear-gradient(#5d4e44, var(--brown)); }
.rod { --len: calc((72cqw - 45px) / cos(12deg)); position: absolute; right: 50%; bottom: 50%; width: var(--len); height: 8px; margin-bottom: -4px; transform-origin: 100% 50%;
  transform: rotate(12deg); border: 2px solid var(--edge); border-radius: 3px;
  background: repeating-linear-gradient(to left, transparent 0 calc(var(--len) / 4 - 2px), rgb(0 0 0 / 0.55) calc(var(--len) / 4 - 2px) calc(var(--len) / 4)), linear-gradient(#8a8a8a, #f4f4f4 45%, #a3a3a3); }
.rod::after { content: ""; position: absolute; left: -10px; top: 50%; width: 15px; height: 15px; margin-top: -7.5px; border-radius: 50%; border: 2px solid var(--edge);
  background: radial-gradient(circle at 35% 35%, #fff, #bdbdbd 60%, #7a7a7a); }

.volume { flex: 0 1 28rem; display: flex; align-items: center; gap: 12px; min-width: 0; }
.volume .label { color: var(--on-accent); }
.volume input { flex: 1; min-width: 0; height: 34px; margin: 0; background: transparent; appearance: none; -webkit-appearance: none; cursor: pointer; }
.volume input::-webkit-slider-runnable-track { height: 14px; border: var(--border); border-radius: 8px;
  background: linear-gradient(90deg, var(--coral) 0 var(--vol, 100%), var(--brown) var(--vol, 100%)); box-shadow: inset 0 2px 3px rgb(0 0 0 / 0.35); }
.volume input::-moz-range-track { height: 8px; border: var(--border); border-radius: 8px; background: var(--brown); box-shadow: inset 0 2px 3px rgb(0 0 0 / 0.35); }
.volume input::-moz-range-progress { height: 8px; border: var(--border); border-radius: 8px; background: var(--coral); }
.volume input::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 34px; margin-top: -13px; border: var(--border); border-radius: 5px; box-shadow: 2px 2px 0 var(--edge);
  background: repeating-linear-gradient(180deg, transparent 0 7px, rgb(0 0 0 / 0.35) 7px 9px) center / 60% 60% no-repeat, linear-gradient(#f3e8cf, #c9b891); }
.volume input::-moz-range-thumb { width: 16px; height: 28px; border: var(--border); border-radius: 5px; box-shadow: 2px 2px 0 var(--edge);
  background: repeating-linear-gradient(180deg, transparent 0 7px, rgb(0 0 0 / 0.35) 7px 9px) center / 60% 60% no-repeat, linear-gradient(#f3e8cf, #c9b891); }
.volume input:focus-visible { outline: 3px solid var(--ink); outline-offset: 4px; border-radius: 8px; }
.banner-slot:empty { display: none; }

.notes-dialog { width: min(40rem, calc(100vw - 32px)); max-height: 80vh; border: var(--border); border-radius: var(--radius); box-shadow: var(--shadow);
  background: var(--surface); color: var(--ink); padding: 18px 22px; }
.notes-dialog::backdrop { background: rgb(0 0 0 / 0.5); }
.notes-head { display: flex; justify-content: space-between; align-items: center; }
.notes-head h2 { margin: 0; font-size: 1.2rem; }
.notes-close { background: none; border: 0; color: var(--muted); font-size: 1.8rem; line-height: 1; cursor: pointer; }
.notes-dialog h3 { font-size: 1rem; margin: 18px 0 6px; }
.notes-dialog p { margin: 0 0 10px; }
.notes-html { overflow-wrap: anywhere; }
.notes-html a, .notes-meta a { color: var(--orange); }

/* --- below the radio ------------------------------------------------------------ */
.below { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); gap: 22px; align-items: start; }
.coming-up, .about { background: var(--surface); border: var(--border); border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px 20px; }
.coming-up h2, .about h2 { font-size: 1.3rem; margin: 0 0 12px; }
.coming-up ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.coming-up li { display: grid; grid-template-columns: 6.5rem minmax(0, 1fr); gap: 12px; }
.coming-up li.muted { display: block; }
.coming-up time { font: 700 0.9rem var(--mono); background: var(--sun); color: var(--on-accent); border: 2px solid var(--edge); border-radius: 6px; padding: 2px 6px; align-self: start; text-align: center; }
.about p { margin-bottom: 8px; }
.shows { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 10px; }
.shows li { display: flex; gap: 12px; align-items: center; }
.shows img, .shows .art-placeholder { width: 48px; height: 48px; border-radius: 8px; object-fit: cover; flex: none; background: var(--sand); border: 2px solid var(--edge); }

/* --- narrow screens (design D10) ---------------------------------------------------- */
@media (max-width: 720px) {
  header.site nav { margin-left: 0; width: 100%; }
  .cabinet { grid-template-columns: minmax(0, 1fr); border-radius: 24px; }
  .speaker { order: 1; grid-template-rows: auto; grid-template-columns: 1fr auto; align-items: center; padding: 10px; border-radius: 14px; }
  .grille { min-height: 52px; }
  #now-art { width: 60px; height: 60px; }
  .now { flex-wrap: wrap; padding-right: 0; }
  .notes-button { position: static; }
  .scale li { flex: 0 0 6.5rem; }
  .power-label { font-size: 0.9rem; }
  .volume { flex: 1 1 100%; }
}
