/* 99.9 Gakondo FM — News · Radio · TV */
:root {
  --ink: #141210; --ink-2: #1c1916; --ink-3: #0e0c0b; --ink-4: #26211d;
  --line: #2e2924; --line-2: #3a342e; --ctl: #776e64;
  --muted: #a89f94; --soft: #d9d0c4;
  --cream: #f4ede4; --cream-2: #e3d8ca; --cream-line: #d9cec0; --cream-ctl: #8c8173;
  --text-2: #3d3832; --text-3: #5c554c;
  --red: #e4572e; --red-text: #b23a1a;
  --display: "Sora", "Manrope", system-ui, sans-serif;
  --body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: clamp(16px, 4vw, 32px);
  --dock-h: 66px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(120px + env(safe-area-inset-top)); }
body { margin: 0; background: var(--ink) !important; color: var(--cream); font: 16px/1.5 var(--body); }
h1, h2, h3, h4, p { margin: 0; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--red); }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--red); color: var(--ink); padding: 10px 16px; border-radius: 8px; font-weight: 800; }
.skip:focus { top: 12px; }
.wrap { max-width: 1280px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.ic { flex: none; }

/* type helpers */
.kicker { font-weight: 800; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--red); }
.cream .kicker, .on-cream .kicker { color: var(--red-text); }
.kicker.muted { color: var(--muted); }
.sec-title { font-family: var(--display); font-weight: 800; font-size: clamp(30px, 4vw, 42px); letter-spacing: -.02em; line-height: 1.08; margin-top: 4px; }
.muted { color: var(--muted); }
.cream .muted { color: var(--text-3); }
.disp { font-family: var(--display); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--ctl); background: transparent; font-weight: 700; font-size: 14px; white-space: nowrap; }
.btn:hover { border-color: var(--cream); color: var(--cream); }
.btn-red { background: var(--red); border-color: var(--red); color: var(--ink); font-weight: 800; }
.btn-red:hover { background: #ef6a42; border-color: #ef6a42; color: var(--ink); }
.btn-ink { background: var(--ink); border-color: var(--ink); color: var(--cream); font-weight: 800; }
.btn-ink:hover { background: #2a2420; color: #fff; }
.cream .btn { border-color: var(--cream-ctl); color: var(--ink); }
.cream .btn:hover { border-color: var(--ink); color: var(--ink); }
.cream .btn-ink { border-color: var(--ink); color: var(--cream); }
.icon-btn { width: 44px; height: 44px; flex: none; border-radius: 999px; border: 1px solid var(--ctl); background: transparent; display: inline-flex; align-items: center; justify-content: center; color: var(--cream); }
.icon-btn:hover { border-color: var(--cream); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; flex: none; }
.arrow-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 14px; min-height: 44px; }

/* play buttons and the equalizer */
.play { flex: none; width: 64px; height: 64px; border-radius: 50%; border: 0; background: var(--red); display: inline-flex; align-items: center; justify-content: center; color: var(--ink); transition: transform .15s ease; }
.play:hover { transform: scale(1.04); background: #ef6a42; }
.play svg { width: 42%; height: 42%; }
.play .i-pause, .is-playing .play .i-play, .play.is-playing .i-play { display: none; }
.is-playing .play .i-pause, .play.is-playing .i-pause { display: block; }
.play.is-loading { animation: gkpulse 1.2s ease-in-out infinite; }
@keyframes gkpulse { 50% { box-shadow: 0 0 0 10px rgba(228, 87, 46, .18); } }
.play-sm { width: 44px; height: 44px; }
.play-lg { width: 92px; height: 92px; }
.eq { display: flex; align-items: flex-end; gap: 6px; height: 56px; }
.eq i { display: block; width: 7px; border-radius: 4px; background: var(--red); }
.eq.sm { height: 22px; gap: 3px; }
.eq.sm i { width: 4px; border-radius: 2px; }
.eq i:nth-child(1) { height: 45%; } .eq i:nth-child(2) { height: 80%; } .eq i:nth-child(3) { height: 100%; } .eq i:nth-child(4) { height: 62%; } .eq i:nth-child(5) { height: 35%; }
.is-live .eq i { animation: gkeq .9s ease-in-out infinite alternate; }
.is-live .eq i:nth-child(2) { animation-delay: -.3s; } .is-live .eq i:nth-child(3) { animation-delay: -.6s; } .is-live .eq i:nth-child(4) { animation-delay: -.15s; } .is-live .eq i:nth-child(5) { animation-delay: -.45s; }
@keyframes gkeq { from { height: 18%; } to { height: 100%; } }
@media (prefers-reduced-motion: reduce) { .is-live .eq i, .ring.spin, .play.is-loading, .tv-shot.on { animation: none !important; } .mini, .dock.mini-off .mini, .tv-shot { transition: none; } }

/* placeholders when a story or show has no image yet */
.ph { background-color: var(--ink-4); background-image: repeating-linear-gradient(135deg, rgba(244,237,228,.04) 0 12px, transparent 12px 24px); }
.phc { background-color: var(--cream-2); background-image: repeating-linear-gradient(135deg, rgba(20,18,16,.05) 0 12px, transparent 12px 24px); }
.media { position: relative; overflow: hidden; }
.media img { width: 100%; height: 100%; object-fit: cover; }
.r16 { aspect-ratio: 16 / 9; } .r43 { aspect-ratio: 4 / 3; } .r34 { aspect-ratio: 3 / 4; } .r1 { aspect-ratio: 1; }

/* top utility bar */
.util { background: var(--ink-3); border-bottom: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.util .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 16px; min-height: 36px; }
.util .tag { font-style: italic; }
.util .soc { display: flex; gap: 4px; }
.util-right { display: flex; align-items: center; gap: 14px; }
.lang-switch { display: flex; gap: 4px; }
.lang-switch a { display: inline-flex; align-items: center; gap: 7px; min-height: 34px; padding: 0 11px; border-radius: 999px; border: 1px solid transparent; font-weight: 800; font-size: 12px; letter-spacing: .06em; color: var(--muted); }
.lang-switch a:hover { color: var(--cream); }
.lang-switch a.on { color: var(--cream); border-color: var(--ctl); background: var(--ink-2); }
.lang-switch .flag { display: block; border-radius: 2px; box-shadow: 0 0 0 1px rgba(244,237,228,.2); }
.ftr-bottom .lang-switch a { min-height: 36px; }
.util .soc a { width: 32px; height: 32px; display: inline-flex; align-items: center; justify-content: center; color: var(--muted); }
.util .soc a:hover { color: var(--cream); }

/* header */
/* languages, socials and the header stay pinned together, just below the phone's status bar
   (the installed app draws under the status bar, so the safe-area padding keeps everything out from under the clock) */
.top { position: sticky; top: 0; z-index: 40; background: var(--ink-3); padding-top: env(safe-area-inset-top); padding-left: env(safe-area-inset-left); padding-right: env(safe-area-inset-right); }
.hdr { background: var(--ink); border-bottom: 1px solid var(--line); }
/* An app added to the home screen before the status bar became solid still draws under the clock,
   and iOS 26 blurs about 40px below it: keep the language row and the header clear of that blur.
   (Where the status bar is solid the inset is 0, so this adds nothing.) */
@media (display-mode: standalone) {
  .top { padding-top: calc(env(safe-area-inset-top) + min(40px, env(safe-area-inset-top) * 9)); }
}
.hdr .wrap { display: flex; align-items: center; gap: 20px; min-height: 68px; }
.logo { display: flex; align-items: center; gap: 12px; min-height: 44px; color: var(--cream); }
.logo:hover { color: var(--cream); }
.logo-txt { display: flex; flex-direction: column; line-height: 1; }
.logo-txt b { font-family: var(--display); font-weight: 800; font-size: 21px; letter-spacing: .04em; }
.logo-txt span { font-family: var(--display); font-weight: 600; font-size: 11px; letter-spacing: .32em; color: var(--red); margin-top: 5px; }
.nav { display: flex; flex-wrap: wrap; gap: 2px; flex: 1 1 auto; font-weight: 700; font-size: 15px; }
.nav a { padding: 12px 14px; border-radius: 10px; }
.nav a.on { color: var(--red); }
.hdr-actions { display: flex; gap: 10px; align-items: center; }

/* ticker */
.ticker { background: var(--ink-2); border-bottom: 1px solid var(--line); }
.ticker .wrap { display: flex; align-items: center; gap: 16px; min-height: 44px; overflow: hidden; }
.ticker-tag { flex: none; background: var(--red); color: var(--ink); font-weight: 800; font-size: 12px; letter-spacing: .14em; padding: 4px 10px; border-radius: 4px; }
.ticker-items { display: flex; gap: 28px; white-space: nowrap; overflow: hidden; font-size: 14px; font-weight: 600; min-width: 0; mask-image: linear-gradient(90deg, #000 85%, transparent); }
.ticker-items .sep { color: var(--red); }

/* sections */
.sec { padding-top: 64px; padding-bottom: 72px; }
.sec-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px 20px; margin-bottom: 28px; }
.band-2 { background: var(--ink-2); border-top: 1px solid var(--line); }
.cream { background: var(--cream); color: var(--ink); }
.cream a:hover { color: var(--red-text); }
.zigzag { display: block; width: 100%; height: 16px; }
.empty-note { color: var(--muted); padding: 24px; border: 1px dashed var(--line-2); border-radius: 16px; text-align: center; }
.cream .empty-note { color: var(--text-3); border-color: var(--cream-ctl); }

/* "Live now" band */
.live { padding-top: 40px; padding-bottom: 56px; }
.live-grid { display: flex; flex-wrap: wrap; gap: 24px; }
.panel { background: var(--ink-2); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; min-width: 0; }
.tv-card { flex: 7 1 560px; }
.radio-card { flex: 5 1 360px; padding: 24px; display: flex; flex-direction: column; gap: 22px; }
.badge { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 12px; letter-spacing: .12em; padding: 6px 12px; border-radius: 999px; text-transform: uppercase; }
.badge-red { background: var(--red); color: var(--ink); }
.badge-line { border: 1px solid var(--red); color: var(--red); padding: 5px 12px; }
.badge-muted { border: 1px solid var(--ctl); color: var(--soft); }
.screen { position: relative; aspect-ratio: 16 / 9; display: flex; align-items: center; justify-content: center; background: #000; overflow: hidden; }
.screen.ph { background-color: var(--ink-4); }
.screen > .badge { position: absolute; top: 16px; left: 16px; z-index: 2; background: rgba(14, 12, 11, .62); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.screen iframe, .screen video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.screen .soon { text-align: center; padding: 20px 24px; max-width: 420px; position: relative; z-index: 1; background: rgba(20, 18, 16, .78); border-radius: 14px; }
.screen > .play { position: relative; z-index: 1; box-shadow: 0 8px 30px rgba(0, 0, 0, .35); }
/* the TV screen before play: poster, or the channel's thumbnails taking turns */
.tv-poster { position: absolute; inset: 0; z-index: 0; overflow: hidden; background: var(--ink-2); }
.tv-poster:has(.tv-shot)::after { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; background: linear-gradient(180deg, rgba(14, 12, 11, .55) 0%, rgba(14, 12, 11, 0) 28%, rgba(14, 12, 11, 0) 58%, rgba(14, 12, 11, .78) 100%); }
.tv-shot { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .9s ease; }
.tv-shot.on { opacity: 1; animation: tvdrift 14s ease-out both; }
@keyframes tvdrift { from { transform: scale(1.07); } to { transform: scale(1); } }
.tv-cap { position: absolute; left: 16px; right: 16px; bottom: 12px; z-index: 3; margin: 0; font-size: 13px; font-weight: 700; color: var(--cream); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-shadow: 0 1px 10px rgba(0, 0, 0, .7); }
.tv-cap:empty { display: none; }
.tv-brand { position: absolute; inset: 0; background:
  radial-gradient(ellipse 70% 90% at 0% 100%, rgba(28, 25, 22, .97) 0%, rgba(28, 25, 22, .86) 45%, rgba(28, 25, 22, .35) 100%),
  url("../img/imigongo.svg") center / 64px 64px repeat, var(--ink-2); }
.tv-brand-mark { position: absolute; left: 22px; bottom: 20px; display: flex; align-items: center; gap: 12px; }
.tv-brand-mark b { display: block; font-family: var(--display); font-size: 20px; font-weight: 800; letter-spacing: .14em; line-height: 1.1; }
.tv-brand-mark b em { font-style: normal; color: var(--red); }
.tv-brand-mark span { display: block; margin-top: 3px; font-size: 12px; font-style: italic; color: var(--soft); }
.rw-stripe { display: block; width: 54px; height: 4px; margin-top: 8px; border-radius: 2px; background: linear-gradient(90deg, #00A1DE 0 50%, #FAD201 50% 75%, #20603D 75%); }
@media (max-width: 640px) {
  .tv-brand-mark { left: 16px; bottom: 12px; gap: 9px; }
  .tv-brand-mark svg { width: 20px; height: 28px; }
  .tv-brand-mark b { font-size: 14px; }
  .tv-brand-mark span { font-size: 11px; margin-top: 1px; }
  .rw-stripe { width: 40px; height: 3px; margin-top: 5px; }
}
.screen .soon p { color: var(--soft); margin-top: 8px; }
.tv-meta { padding: 20px 24px 24px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; }
.tv-meta h2, .tv-meta h3 { font-family: var(--display); font-size: 24px; font-weight: 700; margin-top: 6px; }
.np { display: flex; gap: 20px; align-items: center; }
.np-art { flex: none; width: 116px; height: 116px; border-radius: 18px; background: var(--ink); border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; }
.np-title { font-family: var(--display); font-size: 24px; font-weight: 700; line-height: 1.2; margin-top: 6px; word-break: break-word; }
.np-artist { color: var(--soft); font-size: 15px; margin-top: 4px; }
.ctl-row { display: flex; align-items: center; gap: 12px; }
.ctl-row .grow { flex: 1 1 auto; min-width: 0; }
.status { font-weight: 700; font-size: 15px; }
.up-next { border-top: 1px solid var(--line); padding-top: 18px; display: flex; flex-direction: column; gap: 12px; }
.up-row { display: flex; gap: 16px; align-items: baseline; }
.up-row time { flex: none; width: 56px; font-family: var(--display); font-weight: 600; color: var(--red); }

/* news blocks (cream) */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 44px; display: inline-flex; align-items: center; padding: 0 18px; border-radius: 999px; border: 1px solid var(--cream-ctl); font-weight: 700; font-size: 14px; color: var(--ink); }
.chip.on { background: var(--ink); border-color: var(--ink); color: var(--cream); }
.chip.on:hover { color: var(--cream); }
.news-top { display: flex; flex-wrap: wrap; gap: 40px; }
.lead { flex: 7 1 560px; min-width: 0; }
.lead .media { border-radius: 16px; }
.lead h3, .lead h1 { font-family: var(--display); font-size: clamp(28px, 3.4vw, 38px); font-weight: 700; line-height: 1.14; letter-spacing: -.015em; margin-top: 8px; }
.lead .dek { font-size: 18px; color: var(--text-2); margin-top: 12px; max-width: 64ch; }
.byline { font-size: 14px; color: var(--text-3); margin-top: 14px; }
.side-list { flex: 4 1 320px; min-width: 0; display: flex; flex-direction: column; }
.side-list article { padding: 18px 0; border-top: 1px solid var(--cream-line); }
.side-list article:first-child { border-top: 2px solid var(--ink); }
.side-list h3 { font-family: var(--display); font-size: 19px; font-weight: 600; line-height: 1.3; margin-top: 6px; }
.side-list .arrow-link { margin-top: auto; border-top: 1px solid var(--cream-line); padding-top: 14px; }
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 28px; }
.card-grid.top-rule { margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--cream-line); }
.story-card .media { border-radius: 12px; }
.story-card .kicker { display: block; margin-top: 14px; }
.story-card h3 { font-family: var(--display); font-size: 18px; font-weight: 600; line-height: 1.3; margin-top: 6px; }

/* schedule cards */
.tz-note { font-size: 14px; margin-top: 8px; }
.sched-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.sched-card { background: var(--ink-2); border: 1px solid var(--line); border-radius: 16px; padding: 20px; display: flex; flex-direction: column; gap: 6px; }
.sched-card.on-air { border-color: var(--red); }
.sched-card .badge { align-self: flex-start; font-size: 11px; padding: 3px 10px; }
.sched-card .t { font-family: var(--display); font-weight: 600; font-size: 20px; margin-top: 8px; }
.sched-card.on-air .t { color: var(--red); }
.local { font-size: 12px; color: var(--muted); }
.local:empty { display: none; }
.sched-card h3 { font-family: var(--display); font-size: 19px; font-weight: 700; margin-top: 10px; }

/* podcasts */
.pod-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.pod { display: flex; align-items: center; gap: 16px; background: var(--ink-2); border: 1px solid var(--line); border-radius: 16px; padding: 16px; min-width: 0; }
.pod .art { flex: none; width: 72px; height: 72px; border-radius: 12px; overflow: hidden; display: flex; align-items: center; justify-content: center; color: var(--red); }
.pod .art img { width: 100%; height: 100%; object-fit: cover; }
.pod b { display: block; }
.pod small { display: block; color: var(--muted); font-size: 13px; }
.pod-card { background: var(--ink); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; display: flex; flex-direction: column; }
.pod-card .media { display: flex; align-items: flex-end; padding: 20px; }
.pod-card .media img { position: absolute; inset: 0; }
.pod-card .media p { position: relative; font-family: var(--display); font-size: 26px; font-weight: 800; line-height: 1.05; text-shadow: 0 2px 12px rgba(0,0,0,.5); }
.pod-card .body { padding: 18px 20px; display: flex; flex-direction: column; gap: 10px; }
.pod-card audio { width: 100%; height: 40px; }
.pod-card iframe { width: 100%; height: 152px; border: 0; border-radius: 12px; }

/* video cards, show posters */
.video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }
.video-card .media { border-radius: 14px; }
.video-card .pbtn { position: absolute; z-index: 2; left: 12px; bottom: 12px; width: 52px; height: 52px; border-radius: 50%; background: var(--red); display: flex; align-items: center; justify-content: center; color: var(--ink); box-shadow: 0 4px 16px rgba(0,0,0,.35); transition: transform .15s ease; }
.video-card a:hover .pbtn, .video-card.is-playable:hover .pbtn { transform: scale(1.08); }
.video-card.is-playable { cursor: pointer; }
.video-card.is-playable .media { cursor: pointer; }
.video-card[data-yt-live] { cursor: default; }
.video-card[data-yt-live] .media { background: #000; }
.video-card iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.clip-title { display: block; color: inherit; }
.clip-title:hover { color: var(--red); }
.clip-play { position: absolute; inset: 0; z-index: 2; display: block; width: 100%; height: 100%; padding: 0; border: 0; background: transparent; cursor: pointer; }
.clip-play.big { display: flex; align-items: center; justify-content: center; background: linear-gradient(rgba(0,0,0,0) 40%, rgba(0,0,0,.35)); }
.clip-play.big:hover .play { transform: scale(1.05); }
.video-card.is-playable:hover .clip-title { color: var(--red); }
.video-card h3 { font-family: var(--display); font-size: 18px; font-weight: 700; margin-top: 12px; }
.video-card p { color: var(--muted); font-size: 14px; margin-top: 2px; }
.poster .media { border-radius: 16px; border: 1px solid var(--line); display: flex; flex-direction: column; justify-content: flex-end; padding: 22px; }
.poster .media img { position: absolute; inset: 0; }
.poster .media::after { content: ""; position: absolute; inset: 40% 0 0; background: linear-gradient(transparent, rgba(14,12,11,.85)); }
/* cover art drawn for shows without a photo (imigongo patterns) */
.media.has-art { background: var(--ink-4); }
.media > svg.show-art { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; display: block; }
.poster .media.has-art::after { inset: 30% 0 0; background: linear-gradient(transparent, rgba(14,12,11,.6) 35%, rgba(14,12,11,.94)); }
.video-card .media.has-art .pbtn { box-shadow: 0 0 0 3px var(--ink), 0 4px 16px rgba(0,0,0,.35); }
.poster .media > * { position: relative; z-index: 1; }
.poster .kicker { color: var(--red); }
.poster .name { font-family: var(--display); font-size: 28px; font-weight: 800; line-height: 1.05; margin-top: 6px; }
.poster p.d { color: var(--muted); font-size: 14px; margin-top: 12px; }

/* newsletter band */
.app-band { background: var(--red); color: var(--ink); }
.app-band .wrap { display: flex; flex-wrap: wrap; gap: 40px; align-items: center; padding-top: 56px; padding-bottom: 56px; }
.app-band h2 { font-family: var(--display); font-size: clamp(28px, 3.4vw, 36px); font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }
.app-band p { font-size: 17px; font-weight: 500; margin-top: 12px; max-width: 48ch; }
.app-band form { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.app-band label { font-weight: 800; font-size: 13px; }
.inline-form { display: flex; flex-wrap: wrap; gap: 10px; }
.inline-form input { flex: 1 1 240px; min-width: 0; height: 52px; padding: 0 16px; border-radius: 12px; border: 2px solid var(--ink); background: var(--cream); color: var(--ink); font-size: 16px; }
.inline-form button { height: 52px; padding: 0 24px; border-radius: 12px; border: 0; background: var(--ink); color: var(--cream); font-weight: 800; }
.form-msg { font-weight: 700; min-height: 1.5em; }
.app-band .btn { border: 2px solid var(--ink); color: var(--ink); align-self: flex-start; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* footer */
.ftr { background: var(--ink-3); border-top: 1px solid var(--line); }
.ftr .wrap { padding-top: 56px; padding-bottom: 40px; }
.ftr-top { display: flex; flex-wrap: wrap; gap: 40px 48px; }
.ftr-brand { flex: 1 1 280px; min-width: 0; }
.ftr-brand .tag { font-style: italic; color: var(--soft); margin-top: 18px; }
.ftr-brand p.d { color: var(--muted); font-size: 14px; margin-top: 8px; max-width: 34ch; }
.ftr-col { flex: 0 1 160px; display: flex; flex-direction: column; font-size: 14px; }
.ftr-col h2 { font-weight: 800; font-size: 12px; letter-spacing: .14em; margin-bottom: 6px; font-family: var(--body); }
.ftr-col a { color: var(--muted); padding: 5px 0; }
.ftr-col a:hover { color: var(--cream); }
.ftr-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.ftr-bottom a { color: var(--muted); }

/* persistent dock: mini player (+ tab bar on phones) */
.dock { position: sticky; bottom: 0; z-index: 45; background: var(--ink-2); border-top: 1px solid var(--line-2); transition: border-color .2s ease; }
.mini { display: flex; align-items: center; gap: 14px; min-height: var(--dock-h); padding-top: 10px; padding-bottom: 10px; max-height: 140px; overflow: hidden; transition: max-height .3s ease, min-height .3s ease, padding .3s ease, opacity .2s ease; }
/* the mini player steps aside while a big player is on screen, and on the radio page */
.dock.mini-off { border-top-color: transparent; }
.dock.mini-off .mini { max-height: 0; min-height: 0; padding-top: 0; padding-bottom: 0; opacity: 0; visibility: hidden; transition: max-height .3s ease, min-height .3s ease, padding .3s ease, opacity .15s ease, visibility 0s linear .3s; }
.mini .info { flex: 1 1 auto; min-width: 0; }
.mini .info b { display: block; font-size: 14px; font-weight: 800; }
.mini .info > span { display: block; color: var(--muted); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini .vol { display: flex; align-items: center; gap: 8px; color: var(--muted); }
.mini .vol input { width: 110px; accent-color: var(--red); }
.no-volume .vol, .no-volume [data-vol-wrap] { display: none !important; }
.sleep-menu { position: fixed; z-index: 70; background: var(--ink); border: 1px solid var(--line-2); border-radius: 14px; padding: 8px; display: none; min-width: 180px; box-shadow: 0 10px 40px rgba(0,0,0,.5); }
.sleep-menu.open { display: block; }
.sleep-menu button { display: block; width: 100%; text-align: left; min-height: 40px; padding: 0 12px; border: 0; background: transparent; border-radius: 8px; font-weight: 600; }
.sleep-menu button:hover { background: var(--ink-2); }
.sleep-menu p { font-size: 12px; color: var(--muted); padding: 4px 12px 8px; }
.tabbar { display: none; }
.toast { position: fixed; left: 50%; bottom: calc(var(--dock-h) + 24px); transform: translateX(-50%) translateY(20px); opacity: 0; background: var(--cream); color: var(--ink); font-weight: 700; padding: 12px 18px; border-radius: 12px; z-index: 60; transition: .2s ease; pointer-events: none; max-width: calc(100vw - 32px); }
.toast.show { opacity: 1; transform: translateX(-50%); }

/* page headers */
.page-head { padding: 40px 0 24px; border-bottom: 2px solid var(--ink); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px; }
.crumbs { font-size: 13px; color: var(--text-3); }
.crumbs a { color: var(--text-3); }
.page-title { font-family: var(--display); font-size: clamp(42px, 6vw, 64px); font-weight: 800; letter-spacing: -.03em; line-height: 1; margin-top: 6px; }
.page-head .intro { font-size: 17px; color: var(--text-2); margin-top: 12px; max-width: 56ch; }

/* news page */
.news-body { display: flex; flex-wrap: wrap; gap: 48px; margin-top: 64px; padding-bottom: 72px; }
.latest { flex: 8 1 560px; min-width: 0; }
.latest > h2, .aside h2.rule { font-family: var(--display); font-size: 24px; font-weight: 800; padding-bottom: 14px; border-bottom: 2px solid var(--ink); }
.row-story { display: flex; gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--cream-line); }
.row-story .media { flex: none; width: 200px; border-radius: 10px; }
.row-story h3 { font-family: var(--display); font-size: 21px; font-weight: 700; line-height: 1.25; margin-top: 6px; }
.row-story p.d { color: var(--text-2); margin-top: 6px; }
.row-story .meta { font-size: 13px; color: var(--text-3); margin-top: 8px; }
.pager { display: flex; justify-content: space-between; gap: 12px; margin-top: 28px; }
.aside { flex: 4 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.most-read { list-style: none; margin: 0; padding: 0; }
.most-read li { display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--cream-line); }
.most-read .n { flex: none; width: 28px; font-family: var(--display); font-size: 28px; font-weight: 800; color: var(--red-text); line-height: 1; }
.most-read a { font-weight: 700; line-height: 1.35; }
.most-read .mr-body { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.views { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.views svg { flex: none; opacity: .8; }
.mr-views { font-size: 13px; color: var(--text-3, #7d7368); }
.author span.meta-views, .author span.meta-nw { display: inline; white-space: nowrap; font-size: inherit; }
.author span.views { display: inline-flex; font-size: inherit; vertical-align: -3px; }
.author span.views > span[aria-hidden] { display: inline; font-size: inherit; }
.author span.views > .sr { display: block; }
.word-card { background: var(--ink); color: var(--cream); border-radius: 18px; padding: 24px; }
.word-card .w { font-family: var(--display); font-size: 34px; font-weight: 800; margin-top: 14px; }
.word-card p { color: var(--soft); margin-top: 4px; }
.box-line { border: 2px solid var(--ink); border-radius: 18px; padding: 24px; }
.box-line h2 { font-family: var(--display); font-size: 22px; font-weight: 800; }
.box-line p { color: var(--text-2); margin-top: 8px; }

/* story page */
.article { padding-top: 40px; padding-bottom: 24px; }
.article-head { max-width: 720px; margin: 0 auto; }
.article-head h1 { font-family: var(--display); font-size: clamp(30px, 4.2vw, 46px); font-weight: 800; letter-spacing: -.025em; line-height: 1.08; margin-top: 10px; text-wrap: balance; }
.article-head h1[data-len=m] { font-size: clamp(27px, 3.4vw, 38px); line-height: 1.12; }
.article-head h1[data-len=l] { font-size: clamp(25px, 3vw, 36px); line-height: 1.15; letter-spacing: -.02em; }
.article-head .dek { font-size: clamp(18px, 2vw, 21px); color: var(--text-2); margin-top: 16px; line-height: 1.45; }
.article-head .dek[data-len=l] { font-size: clamp(16px, 1.7vw, 19px); line-height: 1.5; }
.article-meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; margin-top: 22px; padding: 16px 0; border-top: 1px solid var(--cream-line); border-bottom: 1px solid var(--cream-line); }
.author { display: flex; align-items: center; gap: 12px; }
.author .av { width: 44px; height: 44px; border-radius: 50%; overflow: hidden; background: var(--cream-2); flex: none; }
.author .av img { width: 100%; height: 100%; object-fit: cover; }
.av .ini { display: flex; width: 100%; height: 100%; align-items: center; justify-content: center; font-style: normal; font-family: var(--display); font-weight: 800; font-size: 15px; color: var(--text-3); }
.author-box .av .ini { font-size: 22px; }
.author b { display: block; }
.author a { color: inherit; }
.author b a:hover, .author-box .name a:hover, .row-story .meta a:hover { text-decoration: underline; }
.row-story .meta a { color: inherit; font-weight: 700; }
/* ads: a small, quiet "Advertisement" label just above a centred banner (or a network's code), never over the artwork */
.ad-wrap { padding-top: 18px; padding-bottom: 18px; }
.ad { display: flex; flex-direction: column; align-items: center; gap: 5px; }
.ad-label { display: block; font-size: 8.5px; font-weight: 700; line-height: 1; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); opacity: .75; }
.cream .ad-label, .on-cream .ad-label, .aside .ad-label { color: var(--text-3); }
.ad a, .ad picture { display: block; max-width: 100%; }
/* a banner's label lines up with the picture's left edge */
.ad-frame { display: block; max-width: 100%; line-height: 0; }
.ad-frame .ad-label { margin: 0 0 5px 1px; }
.ad-frame img { display: block; }
/* two ads side by side at the top; phones show one of them */
.ad-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: center; }
.ad-pair.ad-pair-one { grid-template-columns: minmax(0, 600px); justify-content: center; }
.ad-pair .ad { min-width: 0; }
@media (max-width: 640px) { .ad-pair { grid-template-columns: 1fr; } .ad-pair > .ad + .ad { display: none; } }
/* homepage: under the headlines beside the lead story */
.side-list .ad-home_side { padding: 18px 0 4px; border-top: 1px solid var(--cream-line); }
.ad img { max-width: 100%; height: auto; border-radius: 6px; }
.ad-code { width: 100%; display: flex; justify-content: center; overflow: hidden; }
.prose .ad, .article > .ad { margin: 1.8em 0; }
.prose .ad img { border-radius: 6px; }
.aside .ad { margin-bottom: 32px; }
/* "Advertise with us" */
.advertise-page { padding-bottom: 72px; }
.adv-offers { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin-top: 8px; }
.adv-offer { background: #fffaf3; border: 1px solid var(--cream-line); border-radius: 16px; padding: 20px; color: var(--red-text); }
.adv-offer h2 { font-family: var(--display); font-size: 19px; font-weight: 800; color: var(--text); margin-top: 10px; }
.adv-offer p { color: var(--text-2); font-size: 15px; margin-top: 6px; }
.adv-contact { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 24px; align-items: start; margin-top: 36px; }
.adv-contact .comment-form { margin-top: 0; }
.adv-direct { grid-template-columns: 1fr; }
@media (max-width: 760px) { .adv-contact { grid-template-columns: 1fr; } }
/* "Read this story in English" — the same story's other version */
.lang-alt { display: inline-flex; align-items: center; gap: 10px; margin-top: 16px; padding: 10px 16px; border: 1px solid var(--cream-line); border-radius: 999px; background: #fffaf3; font-weight: 800; font-size: 15px; color: var(--text); }
.lang-alt:hover { border-color: var(--ink); }
.lang-alt.is-yours { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.lang-alt .flag { flex: none; }
/* readers' comments under a story (each one approved by an editor first) */
.comments { max-width: 720px; margin: 48px auto 0; padding-top: 36px; border-top: 1px solid var(--cream-line); }
.comments h2 { font-family: var(--display); font-size: 26px; font-weight: 800; display: flex; align-items: center; gap: 10px; }
.comments h2 .count { font-family: var(--body); font-size: 13px; font-weight: 800; background: var(--ink); color: var(--cream); border-radius: 999px; padding: 3px 10px; }
.comments > .muted { margin-top: 10px; }
.comment-list { list-style: none; margin: 14px 0 0; padding: 0; }
.comment { display: flex; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--cream-line); }
.comment .av { flex: none; width: 40px; height: 40px; border-radius: 50%; overflow: hidden; background: var(--cream-2); }
.comment-main { min-width: 0; }
.comment .who { font-size: 13px; color: var(--text-3); }
.comment .who b { color: var(--text); font-size: 15px; margin-right: 6px; }
.comment .body { margin-top: 4px; color: var(--text-2); font-size: 16px; line-height: 1.6; overflow-wrap: anywhere; }
.comment-form { margin-top: 28px; display: flex; flex-direction: column; gap: 12px; padding: 22px; border: 1px solid var(--cream-line); border-radius: 18px; background: rgba(255, 255, 255, .45); }
.comment-form h3 { font-family: var(--display); font-size: 20px; font-weight: 800; }
.comment-form label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 700; }
.comment-form input, .comment-form textarea { min-height: 48px; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--cream-ctl); background: #fff; font-size: 16px; font-weight: 500; color: var(--text); }
.comment-form textarea { resize: vertical; }
.comment-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.comment-rules { font-size: 13px; color: var(--text-3); }
.comment-form .btn { align-self: flex-start; }
.form-note { padding: 10px 14px; border-radius: 10px; background: #fdf0d5; color: #5c3800; font-weight: 700; font-size: 14px; }
.form-note.ok { background: #e3f1e5; color: #1d5a2b; }
@media (max-width: 640px) { .comment-fields { grid-template-columns: 1fr; } .comment-form { padding: 18px; } }
/* author pages, and the "about the author" box at the end of a story */
.author-page { padding-top: 40px; padding-bottom: 72px; }
.author-head { display: flex; gap: 28px; align-items: flex-start; padding-bottom: 32px; border-bottom: 1px solid var(--cream-line); }
.author-photo { flex: none; width: 140px; height: 140px; border-radius: 50%; overflow: hidden; background: var(--cream-2); display: flex; align-items: center; justify-content: center; font-family: var(--display); font-size: 44px; font-weight: 800; color: var(--text-3); }
.author-photo img { width: 100%; height: 100%; object-fit: cover; }
.author-info { min-width: 0; }
.author-info h1 { font-family: var(--display); font-size: clamp(30px, 4vw, 44px); font-weight: 800; letter-spacing: -.02em; line-height: 1.1; margin-top: 6px; }
.author-info .role { color: var(--red-text); font-weight: 700; margin-top: 6px; }
.author-info .bio { color: var(--text-2); font-size: 17px; line-height: 1.65; margin-top: 12px; max-width: 64ch; }
.author-facts { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 14px; font-size: 14px; font-weight: 700; color: var(--text-3); }
.author-facts a { color: var(--text); }
.author-page h2.rule { font-family: var(--display); font-size: 24px; font-weight: 800; padding-bottom: 14px; border-bottom: 2px solid var(--ink); margin-top: 36px; }
.author-box { display: flex; gap: 18px; align-items: flex-start; max-width: 720px; margin: 40px auto 0; padding: 22px; border: 1px solid var(--cream-line); border-radius: 18px; }
.author-box .av { flex: none; width: 72px; height: 72px; border-radius: 50%; overflow: hidden; background: var(--cream-2); }
.author-box .av img { width: 100%; height: 100%; object-fit: cover; }
.author-box .name { font-family: var(--display); font-size: 20px; font-weight: 800; margin-top: 2px; }
.author-box .name a { color: inherit; }
.author-box .name span { display: block; font-family: var(--body); font-size: 14px; font-weight: 700; color: var(--red-text); }
.author-box p.d { color: var(--text-2); font-size: 15px; line-height: 1.6; margin-top: 8px; }
.author-box .arrow-link { margin-top: 8px; min-height: 0; }
@media (max-width: 640px) {
  .author-head { flex-direction: column; gap: 18px; }
  .author-photo { width: 104px; height: 104px; font-size: 34px; }
  .author-box { padding: 18px; gap: 14px; }
  .author-box .av { width: 56px; height: 56px; }
}
.author span { display: block; font-size: 13px; color: var(--text-3); }
.share { display: flex; gap: 8px; flex-wrap: wrap; }
.share a, .share button { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--cream-ctl); background: transparent; display: inline-flex; align-items: center; justify-content: center; color: var(--ink); }
.share a:hover, .share button:hover { border-color: var(--ink); color: var(--ink); }
.hero-fig { margin: 28px auto 0; max-width: 1000px; }
.hero-fig .media { border-radius: 16px; }
.hero-fig figcaption { font-size: 13px; color: var(--text-3); margin-top: 8px; }
.prose { max-width: 720px; margin: 36px auto 0; font-size: 19px; line-height: 1.7; color: #221e1a; }
.prose p { margin: 0 0 1.15em; }
.prose h2 { font-family: var(--display); font-size: 27px; line-height: 1.2; margin: 1.6em 0 .5em; }
.prose h3 { font-family: var(--display); font-size: 21px; margin: 1.4em 0 .4em; }
.prose a { color: var(--red-text); text-decoration: underline; text-underline-offset: 3px; }
.prose blockquote { margin: 1.4em 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--red); font-family: var(--display); font-size: 23px; line-height: 1.4; font-weight: 600; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.15em; }
.prose li { margin-bottom: .4em; }
.prose figure { margin: 1.6em 0; }
.prose img { border-radius: 12px; height: auto; }
.prose figcaption { font-size: 14px; color: var(--text-3); margin-top: 8px; }
.prose .embed { position: relative; aspect-ratio: 16 / 9; }
.prose .embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; border-radius: 12px; }
.prose hr { border: 0; border-top: 1px solid var(--cream-line); margin: 2em 0; }
.listen-note { max-width: 720px; margin: 8px auto 0; display: flex; align-items: center; gap: 14px; background: var(--ink); color: var(--cream); border-radius: 16px; padding: 16px 18px; }
.listen-note p { flex: 1; font-size: 15px; }
.related { padding-top: 56px; padding-bottom: 72px; border-top: 1px solid var(--cream-line); margin-top: 56px; }

/* radio page */
.player-hero .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; padding-top: 56px; padding-bottom: 64px; }
.ring-art { flex: 1 1 340px; min-width: 0; display: flex; justify-content: center; }
.ring-art svg { width: 100%; max-width: 400px; height: auto; }
.ring { transform-box: fill-box; transform-origin: center; }
.is-live .ring { animation: gkspin 24s linear infinite; }
@keyframes gkspin { to { transform: rotate(360deg); } }
.hero-np { flex: 1 1 460px; min-width: 0; }
.hero-np h1 { font-family: var(--display); font-size: clamp(36px, 5vw, 56px); font-weight: 800; letter-spacing: -.025em; line-height: 1.08; margin-top: 20px; overflow-wrap: anywhere; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
.hero-np h1[data-len=l] { font-size: clamp(30px, 3.8vw, 44px); }
.hero-np h1[data-len=xl] { font-size: clamp(24px, 3vw, 36px); line-height: 1.12; }
.hero-np .artist { font-size: 20px; color: var(--soft); margin-top: 8px; }
.hero-ctl { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 32px; }
.hero-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 28px; }
.hero-tools label { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 14px; font-weight: 600; }
.hero-tools input[type=range] { width: 180px; accent-color: var(--red); }
.on-air-strip { margin-top: 32px; padding: 18px 20px; background: var(--ink-2); border: 1px solid var(--line); border-radius: 16px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.on-air-strip .av { flex: none; width: 56px; height: 56px; border-radius: 50%; overflow: hidden; }
.on-air-strip .av img { width: 100%; height: 100%; object-fit: cover; }
.day-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.day-tabs button { min-width: 64px; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--ctl); background: transparent; font-weight: 700; font-size: 14px; }
.day-tabs button[aria-selected="true"] { background: var(--cream); border-color: var(--cream); color: var(--ink); font-weight: 800; }
.sched-list { margin-top: 24px; }
.sched-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; padding: 22px 20px; border-bottom: 1px solid var(--line); }
.sched-row.on-air { background: var(--ink-2); border: 1px solid var(--red); border-radius: 14px; margin: 12px 0; }
.sched-row .when { flex: 0 0 180px; }
.sched-row .when b { font-family: var(--display); font-weight: 700; font-size: 20px; display: block; }
.sched-row.on-air .when b { color: var(--red); }
.sched-row .what { flex: 1 1 260px; min-width: 0; }
.sched-row .what b { font-family: var(--display); font-weight: 700; font-size: 20px; display: block; }
.sched-row .what span { color: var(--muted); }
.sched-row .what p { color: var(--soft); font-size: 15px; margin-top: 4px; }
.sched-row .badge { font-size: 12px; }
.req { display: flex; flex-wrap: wrap; gap: 48px; }
.req-intro { flex: 1 1 340px; min-width: 0; }
.req form { flex: 1 1 460px; min-width: 0; background: var(--ink-2); border: 1px solid var(--line); border-radius: 20px; padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.fld { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.fld-row .fld { flex: 1 1 200px; }
.fld label { font-weight: 700; font-size: 14px; }
.fld input, .fld textarea { min-height: 48px; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--ctl); background: var(--ink); color: var(--cream); font-size: 16px; }
.fld textarea { resize: vertical; }
.fld-row { display: flex; flex-wrap: wrap; gap: 16px; }
.chat-box { margin-top: 32px; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); }
.chat-box iframe { width: 100%; min-height: 420px; border: 0; display: block; }

/* tv page */
.tv-top { display: flex; flex-wrap: wrap; gap: 24px; padding-top: 32px; padding-bottom: 56px; }
.tv-main { flex: 8 1 640px; min-width: 0; }
.tv-main .screen { border-radius: 18px; border: 1px solid var(--line); }
.tv-info { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 20px; margin-top: 22px; }
.tv-info h1 { font-family: var(--display); font-size: clamp(30px, 3.6vw, 40px); font-weight: 800; letter-spacing: -.02em; line-height: 1.1; margin-top: 6px; }
.tv-info p.d { color: var(--soft); font-size: 17px; margin-top: 8px; max-width: 60ch; }
.guide { flex: 4 1 320px; min-width: 0; background: var(--ink); border: 1px solid var(--line); border-radius: 18px; padding: 22px; align-self: flex-start; }
.guide ol { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.guide li { display: flex; gap: 14px; padding: 14px; border-bottom: 1px solid var(--line); }
.guide li:last-child { border-bottom: 0; }
.guide li.on-air { border: 1px solid var(--red); border-radius: 12px; background: var(--ink-2); }
.guide time { flex: none; width: 52px; font-family: var(--display); font-weight: 700; color: var(--soft); }
.guide li.on-air time { color: var(--red); }
.where { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin-top: 20px; }
.where div { background: var(--ink-2); border: 1px solid var(--line); border-radius: 16px; padding: 20px; }
.where div.soon { background: transparent; border-style: dashed; }
.where b { font-size: 17px; }
.where p { color: var(--muted); font-size: 14px; margin-top: 4px; }

/* about */
.about-body { max-width: 720px; font-size: 18px; line-height: 1.7; color: var(--text-2); margin-top: 28px; }
.about-body p { margin-bottom: 1em; }
.about-body.legal h2 { font-family: var(--display); font-size: 22px; font-weight: 700; color: var(--text); margin: 1.6em 0 .5em; }
.about-body.legal a { color: var(--red-text); text-decoration: underline; }
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 28px; }
.person .media { border-radius: 16px; }
.person h3 { font-family: var(--display); font-size: 19px; font-weight: 700; margin-top: 14px; }
.person .role { color: var(--red-text); font-weight: 700; font-size: 14px; }
.person p.d { color: var(--text-2); font-size: 15px; margin-top: 6px; }
.person .links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; font-size: 14px; font-weight: 700; }
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.contact-grid a, .contact-grid div { display: flex; flex-direction: column; gap: 4px; background: #fffaf3; border: 1px solid var(--cream-line); border-radius: 16px; padding: 18px; }
.contact-grid b { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); }
.contact-grid span { font-weight: 700; font-size: 17px; word-break: break-word; }

/* search, 404 */
.search-form { display: flex; gap: 10px; margin-top: 20px; max-width: 640px; }
.search-form input { flex: 1; min-width: 0; height: 52px; padding: 0 16px; border-radius: 12px; border: 2px solid var(--ink); background: #fff; color: var(--ink); font-size: 17px; }
.notfound { padding-top: 96px; padding-bottom: 120px; text-align: center; }
.notfound h1 { font-family: var(--display); font-size: clamp(40px, 6vw, 64px); font-weight: 800; }
.notfound p { color: var(--soft); margin: 12px auto 28px; max-width: 46ch; }

/* page swap */
#page { transition: opacity .15s ease; }
#page.leaving { opacity: .4; }

/* clip pages */
.clip-page { padding-top: 28px; padding-bottom: 56px; }
.crumbs.dark, .crumbs.dark a { color: var(--muted); }
.crumbs.dark a:hover { color: var(--cream); }
.clip-screen { margin-top: 14px; border-radius: 18px; border: 1px solid var(--line); width: 100%; max-width: min(1100px, calc((100vh - 290px) * 1.7778)); min-width: min(100%, 480px); }
.clip-screen .media img { position: absolute; inset: 0; }
.clip-info { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 20px; margin-top: 22px; max-width: 1100px; }
@media (max-width: 640px) { .clip-screen { max-width: 100%; min-width: 0; } }
.clip-info h1 { font-family: var(--display); font-size: clamp(26px, 3.4vw, 38px); font-weight: 800; letter-spacing: -.02em; line-height: 1.15; margin-top: 6px; }
.clip-info p.d { color: var(--soft); font-size: 17px; margin-top: 12px; max-width: 70ch; }
.clip-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.share.dark a, .share.dark button { border-color: var(--ctl); color: var(--cream); }
.share.dark a:hover, .share.dark button:hover { border-color: var(--cream); color: var(--cream); }
.tv-live-badge { position: absolute; top: 16px; left: 16px; z-index: 2; pointer-events: none; }
.lang-note { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; font-size: 14px; color: var(--text-3); background: #fffaf3; border: 1px solid var(--cream-line); padding: 6px 12px; border-radius: 999px; }

/* phones and tablets */
@media (max-width: 980px) {
  .nav, .util .tag, .hdr-actions .btn-tv { display: none; }
  .hdr .wrap { min-height: 60px; gap: 12px; }
  .hdr .logo { flex: 1 1 auto; }
  .tabbar { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); padding: 2px 8px calc(6px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
  .tabbar a { min-height: 52px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; font-size: 11px; font-weight: 700; color: var(--soft); }
  .tabbar a.on { color: var(--red); }
  .mini .vol, .mini .btn-tv-mini { display: none; }
  .toast { bottom: calc(var(--dock-h) + 80px); }
}
@media (max-width: 640px) {
  .sec { padding-top: 44px; padding-bottom: 52px; }
  .live { padding-top: 20px; padding-bottom: 32px; }
  .radio-card { padding: 18px; }
  .np-art { width: 84px; height: 84px; }
  .np-title { font-size: 20px; }
  .row-story .media { width: 104px; }
  .row-story h3 { font-size: 17px; }
  .row-story p.d { display: none; }
  .lead .dek { font-size: 16px; }
  .player-hero .wrap { gap: 24px; padding-top: 24px; }
  .ring-art svg { max-width: 220px; }
  .hero-np h1 { font-size: 32px; margin-top: 16px; }
  .hero-np h1[data-len=l] { font-size: 27px; }
  .hero-np h1[data-len=xl] { font-size: 23px; }
  .hero-np .artist { font-size: 17px; }
  .sched-row .when { flex-basis: 100%; }
  .req form { padding: 20px; }
  .util .wrap { justify-content: flex-end; }
  .prose { font-size: 18px; }
}
@media (max-width: 640px) {
  .chips { flex-wrap: nowrap; overflow-x: auto; margin-left: calc(-1 * var(--gutter)); margin-right: calc(-1 * var(--gutter)); padding: 0 var(--gutter) 4px; scrollbar-width: none; }
  .chips::-webkit-scrollbar { display: none; }
  .chip { flex: none; }
  .sec-head > .chips { width: calc(100% + 2 * var(--gutter)); }
}
