:root {
  --ink: #172321;
  --muted: #5d6d6b;
  --paper: #f7f5ef;
  --cream: #ece8dc;
  --green: #123f3b;
  --green-dark: #073a36;
  --gold: #c99a3d;
  --white: #fff;
  --radius: 1.5rem;
  --shadow: 0 24px 70px rgba(7, 58, 54, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: system-ui, "Noto Sans Arabic", Tahoma, Arial, sans-serif;
  line-height: 1.75;
}
a { color: inherit; }
button, input { font: inherit; }
.shell { width: min(1160px, calc(100% - 2rem)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 99; top: 0; left: 0; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); clip-path: inset(50%); white-space: nowrap; border: 0; background: #fff; color: #123f3b; }
.skip-link:focus, .skip-link:focus-visible { inset: .75rem auto auto .75rem; width: auto; height: auto; margin: 0; padding: .6rem 1rem; overflow: visible; clip: auto; clip-path: none; border: 2px solid #c99a3d; border-radius: .45rem; box-shadow: 0 5px 20px #0004; }

.site-header { position: relative; z-index: 5; color: #fff; background: #0a2927; border-bottom: 1px solid rgba(255,255,255,.1); }
.home .site-header { position: absolute; inset: 0 0 auto; background: transparent; }
.header-inner { min-height: 92px; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { display: flex; align-items: center; gap: .8rem; text-decoration: none; }
.brand-mark { display: grid; place-items: center; width: 52px; height: 52px; overflow: hidden; border: 1px solid rgba(255,255,255,.35); border-radius: 50%; background: #fff; }
.brand-logo { width: 100%; height: 100%; object-fit: contain; }
.brand strong, .brand small { display: block; }
.brand small { opacity: .75; font-size: .7rem; }
.menu { display: flex; gap: 1.5rem; list-style: none; padding: 0; margin: 0; }
.menu a { text-decoration: none; }
.mobile-navigation { display: none; position: relative; }
.mobile-navigation summary { display: flex; align-items: center; gap: .6rem; min-height: 44px; padding: .4rem .8rem; border: 1px solid rgba(255,255,255,.3); border-radius: .45rem; cursor: pointer; list-style: none; }
.mobile-navigation summary::-webkit-details-marker { display: none; }
.mobile-navigation nav { position: absolute; top: calc(100% + .6rem); inset-inline-end: 0; z-index: 20; min-width: 220px; padding: .5rem; border: 1px solid rgba(255,255,255,.14); border-radius: .55rem; background: #0a2927; box-shadow: 0 18px 40px rgba(0,0,0,.25); }
.mobile-navigation .menu { display: grid; gap: .15rem; }
.mobile-navigation .menu a { display: block; padding: .7rem .8rem; border-radius: .35rem; }
.mobile-navigation .menu a:hover, .mobile-navigation .menu a:focus-visible { background: rgba(255,255,255,.1); }

.hero { min-height: 720px; display: grid; align-items: center; padding: 150px 0 85px; color: #fff; background: linear-gradient(115deg, #061d1c 0 48%, var(--green) 100%); border-bottom: 5px solid var(--gold); }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 7vw, 7rem); align-items: center; }
.eyebrow { margin: 0 0 .75rem; color: var(--gold); font-size: .8rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.hero h1 { max-width: 720px; margin: 0; font-size: clamp(2.6rem, 6vw, 5.7rem); line-height: 1.15; letter-spacing: -.04em; }
.hero-copy > p:not(.eyebrow) { max-width: 650px; color: rgba(255,255,255,.72); font-size: 1.08rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.play-button, .secondary-button { min-height: 54px; display: inline-flex; align-items: center; justify-content: center; gap: .7rem; border-radius: 999px; padding: .8rem 1.4rem; text-decoration: none; cursor: pointer; }
.play-button { border: 0; background: var(--gold); color: #1d241f; font-weight: 800; box-shadow: 0 12px 30px rgba(201,154,61,.25); }
.secondary-button { border: 1px solid rgba(255,255,255,.25); color: #fff; }

.player-card { position: relative; overflow: hidden; padding: 2rem; border: 1px solid rgba(255,255,255,.2); border-radius: .75rem; background: rgba(4,24,23,.68); box-shadow: 0 30px 80px rgba(0,0,0,.28); }
.player-card::after { content: ''; position: absolute; width: 260px; height: 260px; inset: auto auto -130px -90px; border-radius: 50%; background: rgba(201,154,61,.12); }
.live-badge { display: inline-flex; align-items: center; gap: .5rem; color: #dff8ef; font-size: .8rem; }
.live-badge span { width: .55rem; height: .55rem; border-radius: 50%; background: #45d6a1; box-shadow: 0 0 0 .35rem rgba(69,214,161,.14); }
.player-label { margin: 3.5rem 0 .35rem; color: rgba(255,255,255,.55); }
.player-card h2 { min-height: 3.5em; margin: 0; font-size: clamp(1.35rem, 3vw, 2rem); line-height: 1.7; }
.listener-count { color: rgba(255,255,255,.65); }
.listener-count strong { color: #fff; }
.connection-message { position: relative; z-index: 1; margin: 1rem 0 0; color: rgba(255,255,255,.6); font-size: .85rem; }
.audio-spectrum { display: block; width: 100%; height: 110px; margin-top: 1.5rem; border-block: 1px solid rgba(255,255,255,.08); }
.audio-spectrum[data-spectrum-state="unavailable"] { opacity: .45; }

.section-block { padding-block: 7rem; }
.section-heading { margin-bottom: 2rem; }
.section-heading h2, .about-band h2 { margin: 0; font-size: clamp(2rem, 4vw, 3.5rem); line-height: 1.25; }
.quick-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.feature-card { padding: 2rem; border: 1px solid #e1ded2; border-radius: var(--radius); background: rgba(255,255,255,.65); text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
.feature-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.feature-card > span { color: var(--gold); font-weight: 800; }
.feature-card h3 { margin: 2.5rem 0 .5rem; font-size: 1.45rem; }
.feature-card p { margin: 0; color: var(--muted); }

.ad-shell { padding-top: 2rem; }
.station-ad { display: grid; grid-template-columns: minmax(180px, 32%) 1fr; gap: 1.5rem; align-items: center; margin-block: 2rem; padding: 1.25rem; border: 1px solid #d9d2c2; border-radius: .75rem; background: #fff; }
.station-ad img { width: 100%; height: 180px; object-fit: cover; border-radius: .4rem; }
.station-ad-label { display: inline-block; margin-bottom: .35rem; color: var(--muted); font-size: .72rem; letter-spacing: .08em; }
.station-ad h2 { margin: 0; font-size: 1.35rem; }

.section-row { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 2rem; }
.section-row h2 { margin: 0; font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.25; }
.schedule-section { padding-block: 6.5rem; background: #102f2d; color: #fff; }
.program-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.program-card { min-height: 230px; padding: 1.5rem; border: 1px solid rgba(255,255,255,.14); border-radius: .65rem; background: rgba(255,255,255,.055); }
.program-card > div:first-child { display: flex; justify-content: space-between; gap: 1rem; color: #dcc28c; font-size: .83rem; }
.program-card > div:first-child time { max-width: 72%; text-align: left; }
.program-card h3 { margin: 3rem 0 .7rem; font-size: 1.3rem; }
.program-summary { color: rgba(255,255,255,.66); font-size: .9rem; }
.empty-panel { grid-column: 1 / -1; padding: 2rem; border: 1px dashed rgba(255,255,255,.28); border-radius: .65rem; color: rgba(255,255,255,.7); text-align: center; }
.content-card .empty-panel { border-color: #d8d2c5; color: var(--muted); background: var(--paper); }
.history-preview-section { padding-block: 6.5rem; }
.history-preview { grid-template-columns: repeat(2, 1fr); }

.about-band { padding-block: 6rem; background: var(--cream); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.about-grid > div:last-child { color: var(--muted); font-size: 1.05rem; }
.text-link { color: var(--green); font-weight: 800; text-underline-offset: .35rem; }
.content-area { min-height: 0; padding: 4.5rem 0; }
.content-card { max-width: 850px; padding: clamp(1.5rem, 5vw, 4rem); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.wide-card { max-width: 980px; }
.history-list { display: grid; gap: .8rem; margin-top: 2rem; }
.history-item { display: grid; grid-template-columns: 110px 1fr; gap: 1rem; align-items: start; padding: 1.25rem; border: 1px solid #e6e2d7; border-radius: 1rem; background: var(--paper); }
.history-item time { color: var(--green); font-weight: 800; }
.history-item h2 { margin: 0; font-size: 1.05rem; line-height: 1.7; }
.empty-state { margin: 0; padding: 1.25rem; color: var(--muted); text-align: center; }
.program-list { display: grid; gap: .75rem; margin-top: 2rem; }
.program-row { display: grid; grid-template-columns: 160px 1fr; gap: 2rem; padding: 1.5rem 0; border-top: 1px solid #e2ddd0; }
.program-when { display: flex; flex-direction: column; color: var(--green); font-weight: 800; }
.program-when time { color: var(--gold); font-size: 1.15rem; }
.program-row h2 { margin: 0 0 .3rem; font-size: 1.25rem; }
.program-row p { margin-block: .3rem; color: var(--muted); }

.site-footer { padding-block: 3rem; background: #061f1e; color: #fff; }
.footer-grid { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.site-footer p { color: rgba(255,255,255,.6); }
.footer-links { display: flex; flex-wrap: wrap; gap: 1rem; }
.footer-links a { color: rgba(255,255,255,.75); }
.network-links { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem; color: rgba(255,255,255,.55); font-size: .85rem; }
.network-links a { color: rgba(255,255,255,.8); text-decoration: none; }

@media (max-width: 800px) {
  .header-inner > nav { display: none; }
  .mobile-navigation { display: block; }
  .hero { min-height: auto; }
  .hero-grid, .about-grid { grid-template-columns: 1fr; }
  .quick-grid { grid-template-columns: 1fr; }
  .program-grid, .history-preview { grid-template-columns: 1fr; }
  .player-card { margin-top: 1rem; }
  .footer-grid { align-items: flex-start; flex-direction: column; }
  .history-item { grid-template-columns: 1fr; gap: .3rem; }
  .section-row { align-items: flex-start; flex-direction: column; gap: .8rem; }
  .program-row { grid-template-columns: 1fr; gap: .5rem; }
  .station-ad { grid-template-columns: 1fr; }
  .audio-spectrum { height: 86px; }
}

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

/* Focused UX refinements: retain the existing palette and RTL layout. */
:root { --gold: #d1aa61; }
body { font-family: system-ui, "Noto Sans Arabic", Tahoma, Arial, sans-serif; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.home .site-header { position: relative; inset: auto; background: #0a2927; }
.header-inner { min-height: 84px; gap: clamp(.6rem, 2vw, 1.8rem); }
.brand { min-width: 0; gap: .7rem; }
.brand-mark { flex: 0 0 54px; width: 54px; height: 54px; padding: 4px; border: 1px solid rgba(209,170,97,.65); border-radius: 16px; background: #f5f0e4; box-shadow: 0 5px 16px rgba(0,0,0,.16); }
.brand-logo { display: block; border-radius: 11px; background: #f5f0e4; }
.brand-copy { min-width: 0; }
.brand strong { font-size: 1rem; line-height: 1.45; white-space: nowrap; }
.brand small { margin-top: .15rem; color: #dfc17f; opacity: 1; font-size: .82rem; font-weight: 700; animation: quiet-gold-pulse 4.2s ease-in-out infinite; }
@keyframes quiet-gold-pulse { 0%, 100% { opacity: .82; text-shadow: 0 0 0 rgba(209,170,97,0); } 50% { opacity: 1; text-shadow: 0 0 12px rgba(209,170,97,.22); } }
.mobile-navigation summary { width: 48px; height: 48px; justify-content: center; padding: 0; border-radius: 14px; }
.menu-glyph { font-size: 1.2rem; }

.hero { min-height: 0; padding: clamp(1.5rem, 4vw, 3rem) 0 clamp(2rem, 4vw, 3.2rem); background: radial-gradient(ellipse at 16% 8%, rgba(209,170,97,.12), transparent 36%), linear-gradient(120deg, #061d1c, #123f3b 76%); }
.hero-shell { max-width: 900px; }
.hero-frequency { margin: 0 0 .85rem; color: #e0c27e; font-size: .9rem; letter-spacing: .02em; }
.player-card { padding: clamp(1.2rem, 3vw, 2rem); border-color: rgba(232,213,170,.23); border-radius: 1.35rem; background: linear-gradient(145deg, rgba(10,40,38,.98), rgba(5,27,26,.97)); box-shadow: 0 22px 58px rgba(0,0,0,.26), inset 0 1px rgba(255,255,255,.05); }
.player-card::after { pointer-events: none; }
.player-top { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(1rem, 3vw, 2rem); align-items: center; }
.player-information { min-width: 0; }
.live-badge { font-size: .78rem; font-weight: 700; }
.live-badge span { flex: 0 0 auto; }
.player-label { margin: .8rem 0 .2rem; color: #dbc895; font-size: .85rem; font-weight: 700; }
.player-card h2 { min-height: 0; max-width: 100%; margin: 0; color: #fff; font-size: clamp(1.05rem, 2.1vw, 1.55rem); font-weight: 700; line-height: 1.55; overflow-wrap: anywhere; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.listener-count { display: inline-flex; width: fit-content; align-items: center; gap: .45rem; margin: .8rem 0 0; padding: .35rem .7rem; border: 1px solid rgba(221,196,139,.27); border-radius: 999px; background: rgba(255,255,255,.065); color: #f5ead0; font-size: .86rem; line-height: 1.45; }
.listener-count svg { width: 17px; height: 17px; fill: none; stroke: #dfbd70; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.listener-count strong { color: #fff; font-size: .95rem; font-variant-numeric: tabular-nums; }
.play-button { min-width: 190px; min-height: 82px; justify-content: center; gap: .75rem; padding: .8rem 1.15rem; border: 1px solid rgba(255,242,207,.55); background: linear-gradient(135deg, #e1c27e, #bd8f3c); color: #142522; font-size: 1rem; font-weight: 800; box-shadow: 0 10px 28px rgba(201,154,61,.22), inset 0 1px rgba(255,255,255,.58); transition: transform .18s ease, filter .18s ease, box-shadow .18s ease; }
.play-button:hover { transform: translateY(-2px); filter: brightness(1.04); box-shadow: 0 15px 30px rgba(201,154,61,.28); }
.play-button:focus-visible, .feature-card:focus-visible, .program-card:focus-visible, .about-topic-card:focus-visible { outline: 3px solid #f3d58f; outline-offset: 3px; }
.play-button[aria-pressed="true"] { background: linear-gradient(135deg, #eed9a9, #d3a951); }
.play-button-icon { display: grid; place-items: center; flex: 0 0 48px; width: 48px; height: 48px; border: 1px solid rgba(20,37,34,.18); border-radius: 50%; background: rgba(255,255,255,.27); font-size: 1.15rem; }
.spectrum-frame { position: relative; min-height: 102px; margin-top: 1.1rem; padding: .55rem .25rem .85rem; border-block: 1px solid rgba(255,255,255,.09); }
.audio-spectrum { height: 76px; margin: 0; border: 0; }
.audio-spectrum[data-spectrum-state="unavailable"] { opacity: .25; }
.spectrum-caption { position: absolute; inset-inline-end: .25rem; bottom: .1rem; color: rgba(255,255,255,.44); font-size: .68rem; }
.spectrum-fallback { position: absolute; inset: 50% 50% auto auto; z-index: 1; width: max-content; max-width: calc(100% - 1rem); transform: translate(50%, -50%); padding: .3rem .7rem; border: 1px solid rgba(221,196,139,.25); border-radius: 999px; background: rgba(5,27,26,.88); color: #f1dfb4; font-size: .78rem; text-align: center; }
.spectrum-fallback[hidden] { display: none; }
.connection-message { min-height: 1.6em; margin: .7rem 0 0; font-size: .82rem; }
.player-card audio { display: none; }

.section-block { padding-block: clamp(3rem, 6vw, 5.25rem); }
.section-heading { margin-bottom: 1.4rem; }
.section-heading h2, .about-band h2 { font-size: clamp(1.65rem, 3.5vw, 2.7rem); }
.quick-grid { gap: .85rem; }
.feature-card { position: relative; min-height: 194px; padding: 1.3rem; border-radius: 1.15rem; background: linear-gradient(145deg, #fff, #f4f1e8); }
.feature-icon { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid #e7d6b1; border-radius: 13px; background: #f7f1e3; }
.feature-icon svg, .program-icon svg { width: 22px; height: 22px; fill: none; stroke: var(--green); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.feature-index { position: absolute; inset-block-start: 1.3rem; inset-inline-end: 1.2rem; color: #9a7a40; font-size: .8rem; }
.feature-card h3 { margin: 1rem 0 .3rem; font-size: 1.2rem; }
.feature-card p { font-size: .96rem; }

.schedule-section { padding-block: clamp(3rem, 6vw, 5rem); }
.section-row { margin-bottom: 1.35rem; }
.section-row h2 { font-size: clamp(1.5rem, 3.3vw, 2.55rem); }
.program-carousel { display: flex; gap: .9rem; overflow-x: auto; overflow-y: hidden; padding: .35rem .15rem 1.1rem; scroll-snap-type: x mandatory; scroll-padding-inline: .2rem; overscroll-behavior-inline: contain; -webkit-overflow-scrolling: touch; direction: rtl; }
.program-carousel:focus-visible { outline: 2px solid #e3c57f; outline-offset: 3px; border-radius: 1rem; }
.program-card { flex: 0 0 clamp(245px, 30vw, 310px); min-width: 0; min-height: 218px; display: flex; flex-direction: column; align-items: stretch; gap: .75rem; padding: 1.1rem; border: 1px solid rgba(238,225,192,.2); border-radius: 1.1rem; background: linear-gradient(150deg, rgba(255,255,255,.09), rgba(255,255,255,.035)); color: #fff; text-align: right; cursor: pointer; scroll-snap-align: start; transition: border-color .18s ease, background .18s ease, transform .18s ease; }
.program-card:hover { transform: translateY(-2px); border-color: rgba(221,196,139,.65); background: rgba(255,255,255,.09); }
.program-card-top { display: flex; justify-content: space-between; align-items: center; gap: .6rem; color: #e1c786; font-size: .82rem; }
.program-card-top time { max-width: 72%; font-variant-numeric: tabular-nums; }
.program-icon { display: grid; flex: 0 0 38px; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: rgba(209,170,97,.15); }
.program-icon svg { stroke: #e1c786; }
.program-card-title { color: #fff; font-size: 1.13rem; font-weight: 800; line-height: 1.55; overflow-wrap: anywhere; }
.program-summary { display: -webkit-box; overflow: hidden; color: rgba(255,255,255,.74); font-size: .9rem; line-height: 1.7; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.program-details-link { display: inline-flex; gap: .35rem; align-items: center; margin-top: auto; color: #e1c786; font-size: .84rem; font-weight: 700; }
.program-dialog { width: min(720px, calc(100vw - 32px)); max-height: min(82dvh, 760px); overflow: auto; padding: clamp(1.25rem, 4vw, 2rem); border: 1px solid #e7dbc0; border-radius: 1.3rem; background: #fffdf8; color: var(--ink); box-shadow: 0 24px 90px rgba(0,0,0,.3); }
.program-dialog::backdrop { background: rgba(4,20,19,.72); backdrop-filter: blur(3px); }
.program-dialog form { position: sticky; top: 0; display: flex; justify-content: flex-start; }
.dialog-close { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid #e2d9c6; border-radius: 50%; background: #f7f3e9; color: var(--green); font-size: 1.6rem; cursor: pointer; }
.program-dialog h2 { margin: .2rem 0 1rem; color: var(--green); font-size: clamp(1.25rem, 3vw, 1.7rem); line-height: 1.5; overflow-wrap: anywhere; }
.program-dialog-content { color: #36413f; font-size: 1rem; line-height: 1.9; }
.program-dialog-content p { margin-block: .5rem 1rem; }

.history-preview-section { padding-block: clamp(3rem, 6vw, 5rem); }
.history-preview { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem; margin-top: 0; }
.history-preview .history-item { grid-template-columns: minmax(90px, auto) minmax(0, 1fr); gap: .8rem; padding: .9rem 1rem; border-radius: .85rem; }
.history-preview .history-item h2 { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; font-size: .96rem; line-height: 1.6; }
.history-preview .history-item time { font-size: .88rem; }
.history-all-link { display: inline-flex; align-items: center; gap: .4rem; min-height: 44px; }
.history-list:not(.history-preview) { gap: .65rem; }
.history-list:not(.history-preview) .history-item { grid-template-columns: minmax(100px, 145px) minmax(0, 1fr); padding: 1rem 1.15rem; border-radius: .9rem; }
.history-list:not(.history-preview) .history-item h2 { font-size: 1rem; line-height: 1.6; overflow-wrap: anywhere; }

.about-band { padding-block: clamp(3rem, 6vw, 5.2rem); }
.about-home-heading { max-width: 900px; }
.about-home-heading h2 { margin: 0 0 .6rem; }
.about-home-intro { max-width: 780px; margin: 0; color: #43514e; font-size: 1rem; line-height: 1.85; }
.about-topics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; margin-top: 1.5rem; }
.about-topic-card { position: relative; min-width: 0; min-height: 135px; padding: 1rem 1.1rem; border: 1px solid #ddd5c4; border-radius: 1rem; background: rgba(255,255,255,.68); text-decoration: none; transition: border-color .16s ease, transform .16s ease; }
.about-topic-card:hover { transform: translateY(-2px); border-color: #c5a45f; }
.about-topic-card > span:first-child { color: var(--green); font-size: 1rem; font-weight: 800; }
.about-topic-card p { margin: .45rem 0 0; padding-inline-end: 1.2rem; color: #586662; font-size: .9rem; line-height: 1.65; }
.topic-arrow { position: absolute; inset-inline-end: 1rem; bottom: .9rem; color: #9a7a40; }
.about-more { margin-top: 1rem; }
.about-page h1 { margin-top: 0; color: var(--green); font-size: clamp(1.8rem, 4vw, 2.7rem); line-height: 1.4; }
.about-intro { padding: 1rem 1.2rem; border-inline-start: 3px solid #c7a052; border-radius: .8rem; background: #f6f1e6; color: #31423e; font-size: 1.05rem; line-height: 1.9; }
.about-index { display: flex; flex-wrap: wrap; gap: .5rem; margin-block: 1.5rem 2rem; }
.about-index a { min-height: 42px; display: inline-flex; align-items: center; padding: .45rem .8rem; border: 1px solid #e7deca; border-radius: 999px; background: #fbf9f3; color: var(--green); font-size: .88rem; text-decoration: none; }
.about-topic { padding-block: 1.35rem; border-top: 1px solid #ece6d9; scroll-margin-top: 1.5rem; }
.about-topic h2 { margin: 0 0 .6rem; color: var(--green); font-size: 1.35rem; }
.about-topic p, .about-topic li { color: #44514e; font-size: 1rem; line-height: 1.95; }
.about-topic ul { padding-inline-start: 1.4rem; }
.about-topic blockquote { margin: 1rem 0 0; padding: .8rem 1rem; border-inline-start: 3px solid #c7a052; color: #765b27; font-weight: 800; }

.content-area { padding-block: clamp(2rem, 5vw, 4rem); }
.content-card { border: 1px solid #ebe5d8; }
.app-download-actions { display: flex; flex-wrap: wrap; gap: .65rem; margin-block: .9rem 1.4rem; }
.app-download-link { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; padding: .55rem 1.1rem; border: 1px solid rgba(255,242,207,.65); border-radius: 999px; background: linear-gradient(135deg, #e1c27e, #bd8f3c); color: #142522; font-weight: 800; text-decoration: none; box-shadow: 0 8px 22px rgba(201,154,61,.18); }
.app-download-link:hover { filter: brightness(1.04); }
.app-download-link:focus-visible { outline: 3px solid #c99a3d; outline-offset: 3px; }
.site-footer { padding-block: 2.4rem; }

@media (max-width: 800px) {
  .header-inner { min-height: 74px; }
  .brand strong { white-space: normal; }
  .hero-grid { grid-template-columns: 1fr; }
  .quick-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about-grid { grid-template-columns: 1fr; }
  .about-topics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .program-card { flex-basis: min(78vw, 310px); }
}
@media (max-width: 430px) {
  .shell { width: calc(100% - 28px); }
  .header-inner { min-height: 70px; gap: .45rem; }
  .brand { gap: .55rem; }
  .brand-mark { flex-basis: 44px; width: 44px; height: 44px; padding: 3px; border-radius: 13px; }
  .brand-logo { border-radius: 9px; }
  .brand strong { max-width: 205px; font-size: .86rem; line-height: 1.35; }
  .brand small { margin-top: .08rem; font-size: .75rem; }
  .mobile-navigation summary { width: 44px; height: 44px; }
  .mobile-navigation nav { min-width: min(260px, calc(100vw - 28px)); }
  .hero { padding-block: 1.25rem 1.65rem; }
  .hero-frequency { margin-bottom: .6rem; font-size: .82rem; }
  .player-card { padding: 1rem; border-radius: 1.1rem; }
  .player-top { grid-template-columns: minmax(0, 1fr); gap: .9rem; }
  .live-badge { font-size: .76rem; }
  .player-label { margin-top: .6rem; font-size: .83rem; }
  .player-card h2 { font-size: 1.08rem; line-height: 1.45; -webkit-line-clamp: 2; }
  .listener-count { margin-top: .55rem; padding: .32rem .65rem; font-size: .83rem; }
  .play-button { width: 100%; min-width: 0; min-height: 64px; gap: .65rem; padding: .45rem .8rem; font-size: 1rem; }
  .play-button-icon { flex-basis: 42px; width: 42px; height: 42px; }
  .spectrum-frame { min-height: 83px; margin-top: .8rem; padding: .35rem .05rem .8rem; }
  .audio-spectrum { height: 60px; }
  .spectrum-caption { font-size: .65rem; }
  .connection-message { margin-top: .55rem; font-size: .8rem; }
  .section-block, .history-preview-section { padding-block: 2.7rem; }
  .section-heading h2, .about-band h2 { font-size: 1.65rem; line-height: 1.4; }
  .quick-grid { grid-template-columns: 1fr; gap: .65rem; }
  .feature-card { min-height: 0; display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; align-items: center; column-gap: .75rem; row-gap: .1rem; padding: .85rem; }
  .feature-icon { grid-row: span 2; width: 42px; height: 42px; }
  .feature-index { position: static; grid-column: 3; grid-row: 1; }
  .feature-card h3 { grid-column: 2; grid-row: 1; margin: 0; font-size: 1.05rem; }
  .feature-card p { grid-column: 2 / 4; grid-row: 2; font-size: .88rem; }
  .schedule-section { padding-block: 2.8rem; }
  .section-row { gap: .55rem; margin-bottom: 1rem; }
  .section-row h2 { font-size: 1.48rem; line-height: 1.4; }
  .section-row .text-link { font-size: .88rem; }
  .program-card { flex-basis: min(82vw, 290px); min-height: 202px; padding: .95rem; }
  .program-card-title { font-size: 1.04rem; }
  .program-summary { font-size: .88rem; }
  .history-preview { grid-template-columns: minmax(0, 1fr); }
  .history-preview .history-item, .history-list:not(.history-preview) .history-item { grid-template-columns: minmax(76px, 95px) minmax(0, 1fr); gap: .6rem; padding: .78rem; }
  .history-preview .history-item h2, .history-list:not(.history-preview) .history-item h2 { font-size: .92rem; line-height: 1.55; }
  .history-preview .history-item time, .history-list:not(.history-preview) .history-item time { font-size: .82rem; }
  .about-band { padding-block: 2.8rem; }
  .about-home-intro { font-size: .95rem; }
  .about-topics { grid-template-columns: 1fr; gap: .55rem; margin-top: 1rem; }
  .about-topic-card { min-height: 0; padding: .85rem 1rem; }
  .about-topic-card p { font-size: .9rem; }
  .about-page { padding: 1.15rem; }
  .about-page h1 { font-size: 1.7rem; }
  .about-index { gap: .4rem; margin-block: 1rem 1.3rem; }
  .about-index a { min-height: 40px; padding-inline: .65rem; font-size: .82rem; }
  .about-topic h2 { font-size: 1.17rem; }
  .about-topic p, .about-topic li { font-size: .94rem; }
  .footer-grid { gap: 1rem; }
  .site-footer { padding-block: 1.8rem; }
}
@media (max-width: 412px) {
  .brand strong { max-width: 190px; font-size: .83rem; }
  .player-card h2 { font-size: 1.03rem; }
}
@media (max-width: 390px) {
  .brand strong { max-width: 174px; font-size: .79rem; }
  .brand { gap: .45rem; }
  .player-card { padding: .9rem; }
  .listener-count { font-size: .8rem; }
  .section-heading h2, .about-band h2 { font-size: 1.52rem; }
}
@media (max-width: 360px) {
  .shell { width: calc(100% - 24px); }
  .brand strong { max-width: 153px; font-size: .75rem; }
  .brand-mark { flex-basis: 40px; width: 40px; height: 40px; }
  .mobile-navigation summary { width: 42px; height: 42px; }
  .hero-frequency { font-size: .78rem; }
  .program-card { flex-basis: 84vw; }
}

/* Live signal status, taller equalizer, network carousel, and quiet footer. */
.hero-frequency { color: #f0dda9; }
.spectrum-frame { min-height: 158px; padding-block: .55rem 1rem; }
.audio-spectrum { height: 128px; }
.connection-message { display: flex; min-height: 1.2em; align-items: center; gap: .48rem; margin-top: .4rem; color: rgba(255,255,255,.68); font-size: .78rem; line-height: 1.35; }
.connection-dot { display: none; flex: 0 0 7px; width: 7px; height: 7px; border-radius: 50%; }
[data-broadcast-status="live"] { color: #ff9f96; font-weight: 700; }
[data-broadcast-status="live"] .connection-dot { display: inline-block; background: #ed655c; box-shadow: 0 0 0 3px rgba(237,101,92,.13); animation: live-dot-pulse 2.1s ease-in-out infinite; }
[data-broadcast-status="connecting"] .connection-dot, [data-broadcast-status="reconnecting"] .connection-dot { display: inline-block; background: #dfbb69; }
[data-broadcast-status="connecting"], [data-broadcast-status="reconnecting"] { color: #e3cb96; }
[data-broadcast-status="error"] { color: #ffaaa2; }
[data-broadcast-status="error"] .connection-dot { display: inline-block; background: #ed655c; }
[data-broadcast-status="offline"], [data-broadcast-status="stopped"] { color: rgba(255,255,255,.62); }
@keyframes live-dot-pulse { 0%, 100% { opacity: .72; box-shadow: 0 0 0 2px rgba(237,101,92,.12); } 50% { opacity: 1; box-shadow: 0 0 0 5px rgba(237,101,92,.08); } }
.live-badge[data-state="idle"] span:first-child { background: #c1a967; box-shadow: none; }
.live-badge[data-state="live"] span:first-child { background: #ed655c; box-shadow: 0 0 0 .32rem rgba(237,101,92,.12); animation: live-dot-pulse 2.1s ease-in-out infinite; }
.live-badge[data-state="connecting"] span:first-child, .live-badge[data-state="reconnecting"] span:first-child { background: #dfbb69; box-shadow: none; }
.live-badge[data-state="stopped"] span:first-child, .live-badge[data-state="error"] span:first-child, .live-badge[data-state="offline"] span:first-child { background: #97a39f; box-shadow: none; animation: none; }
.live-badge[data-state="live"] span:last-child { color: #ffaaa2; }
.schedule-heading-actions { display: flex; flex-direction: column; align-items: flex-start; gap: .2rem; }
.schedule-section .text-link { color: #e8cd8f; font-size: .95rem; text-underline-offset: .28rem; }
.schedule-section .text-link:hover { color: #fff0c7; }
.carousel-cue { display: inline-flex; align-items: center; gap: .32rem; color: #c9d3ce; font-size: .76rem; }
.carousel-cue > span { color: #e1c786; font-size: 1rem; line-height: 1; }
.program-carousel { scroll-padding-inline: 1rem; }
.program-card { flex-basis: min(82vw, 310px); }
.feature-card { padding: 1.45rem; }
.feature-icon { border-color: #e6d7b6; background: #f5efdf; }
.feature-icon svg, .program-icon svg { width: 21px; height: 21px; }
.frequency-value { width: fit-content; margin-block: .5rem 1rem !important; padding: .35rem 1.1rem; border: 1px solid #d9c18a; border-radius: .7rem; background: #f5efdf; color: #785d27 !important; font-size: clamp(1.5rem, 4vw, 2.15rem) !important; font-weight: 900; letter-spacing: .025em; line-height: 1.35 !important; }
.mission-quote { border-radius: .7rem; background: #f8f1df; font-size: 1.12rem; line-height: 1.8; }

.network-section { padding-block: 2.2rem; border-top: 1px solid #e4dece; background: #efece3; }
.network-heading { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: .85rem; }
.network-heading .eyebrow { margin-bottom: .15rem; }
.network-heading h2 { margin: 0; color: var(--green); font-size: clamp(1.4rem, 3vw, 1.9rem); }
.network-heading .carousel-cue { color: #626e69; }
.network-carousel { display: flex; gap: .7rem; overflow-x: auto; overflow-y: hidden; padding: .25rem .15rem .8rem; direction: rtl; scroll-snap-type: x mandatory; scroll-padding-inline: .3rem; overscroll-behavior-inline: contain; -webkit-overflow-scrolling: touch; }
.network-card { position: relative; flex: 0 0 clamp(180px, 21vw, 220px); min-width: 0; min-height: 76px; display: flex; align-items: center; gap: .65rem; padding: .8rem; border: 1px solid #dcd5c5; border-radius: .95rem; background: #fffdf8; color: var(--green); text-decoration: none; scroll-snap-align: start; transition: border-color .16s ease, transform .16s ease; }
.network-card:hover { transform: translateY(-2px); border-color: #b99a5a; }
.network-icon { display: grid; flex: 0 0 42px; place-items: center; width: 42px; height: 42px; border: 1px solid #e4d8bd; border-radius: 13px; background: #f5f0e5; }
.network-icon svg { width: 23px; height: 23px; fill: none; stroke: #526d63; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.network-name { min-width: 0; flex: 1; font-size: .96rem; font-weight: 800; line-height: 1.5; overflow-wrap: anywhere; }
.external-mark { flex: 0 0 16px; width: 16px; height: 16px; fill: none; stroke: #92743b; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.footer-layout { display: grid; grid-template-columns: minmax(210px, 1.3fr) repeat(3, minmax(145px, 1fr)); gap: 1.6rem; align-items: start; }
.footer-identity > strong { font-size: 1.03rem; }
.footer-identity > p { margin: .25rem 0 .8rem; font-size: .94rem; }
.visitor-counter { width: fit-content; min-height: 42px; display: inline-flex; align-items: center; gap: .45rem; padding: .4rem .7rem; border: 1px solid rgba(255,255,255,.15); border-radius: .75rem; background: rgba(255,255,255,.055); color: #dce3df; font-size: .88rem; }
.visitor-counter svg { width: 18px; height: 18px; fill: none; stroke: #dfbd70; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.visitor-counter strong { color: #f0d99f; font-variant-numeric: tabular-nums; }
.footer-group h2 { margin: 0 0 .4rem; color: #e4ca8c; font-size: .98rem; }
.footer-group ul { display: grid; gap: .1rem; padding: 0; margin: 0; list-style: none; }
.footer-group a { min-height: 42px; display: flex; align-items: center; padding: .35rem .2rem; color: rgba(255,255,255,.78); font-size: .92rem; text-decoration: none; text-underline-offset: .25rem; overflow-wrap: anywhere; }
.footer-group a:hover, .footer-group a:focus-visible { color: #f0d99f; text-decoration: underline; }

@media (max-width: 800px) {
  .footer-layout { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
  .footer-identity { grid-column: 1 / -1; }
  .network-card { flex-basis: 28vw; }
}
@media (max-width: 430px) {
  .brand strong { font-size: .88rem; }
  .hero-frequency { color: #f4e5bd; }
  .spectrum-frame { min-height: 139px; margin-top: .85rem; padding-bottom: .9rem; }
  .audio-spectrum { height: 112px; }
  .connection-message { margin-top: .3rem; font-size: .75rem; }
  .schedule-heading-actions { align-items: flex-start; gap: .35rem; }
  .schedule-section .text-link { min-height: 42px; display: inline-flex; align-items: center; }
  .program-card { flex-basis: 78vw; }
  .network-section { padding-block: 1.8rem; }
  .network-heading { align-items: center; }
  .network-card { flex-basis: 76%; min-height: 70px; }
  .network-name { font-size: .94rem; }
  .footer-layout { grid-template-columns: minmax(0, 1fr); gap: 1.1rem; }
  .footer-identity { grid-column: auto; }
  .footer-group ul { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: .7rem; }
}
@media (max-width: 412px) {
  .brand strong { font-size: .86rem; }
  .brand small { font-size: .76rem; }
}
@media (max-width: 390px) {
  .brand strong { font-size: .83rem; }
  .spectrum-frame { min-height: 134px; }
  .audio-spectrum { height: 107px; }
  .network-card { flex-basis: 79%; }
}
@media (max-width: 360px) {
  .brand strong { max-width: 158px; font-size: .8rem; }
  .spectrum-frame { min-height: 128px; }
  .audio-spectrum { height: 101px; }
  .network-card { flex-basis: 81%; }
}

/* Small final refinements for the player and archived brand mark. */
.brand-mark { padding: 0; background: #17363c; }
.brand-logo { width: 100%; height: 100%; object-fit: cover; border-radius: 12px; background: #17363c; }
.live-badge { display: inline-flex; width: fit-content; max-width: 100%; flex-wrap: nowrap; align-items: center; gap: .42rem; white-space: nowrap; line-height: 1.2; }
.live-badge span:first-child { flex: 0 0 .55rem; width: .55rem; height: .55rem; }
.live-badge span:last-child { flex: 0 1 auto; width: auto; height: auto; border-radius: 0; background: transparent; box-shadow: none; white-space: nowrap; }
.hero-frequency { margin-bottom: .42rem; }
.network-card { justify-content: space-between; gap: .7rem; }
.network-icon, .network-icon svg { display: none; }
@media (max-width: 430px) {
  .live-badge { gap: .35rem; font-size: .72rem; }
  .hero-frequency { margin-bottom: .34rem; }
  .network-card { min-height: 66px; padding: .72rem .85rem; }
}

/* Persistent controls share the existing player state and leave room below content. */
[hidden] { display: none !important; }
[data-persistent-player] > audio { display: none; }
.brand-mark { background: #123f3b; }
.brand-logo { object-fit: contain; background: transparent; transform: scale(1.32); }
.hero-frequency { margin-bottom: .25rem; }
.hero-shell > .player-card { margin-top: 0; }
.live-badge[data-state="live"] span:first-child,
[data-broadcast-status="live"] .connection-dot { background: #ba808b; box-shadow: 0 0 0 3px rgba(186,128,139,.12); }
.live-badge[data-state="live"] span:last-child,
[data-broadcast-status="live"] { color: #ddbdc4; }
@keyframes live-dot-pulse { 0%, 100% { opacity: .74; box-shadow: 0 0 0 2px rgba(186,128,139,.10); } 50% { opacity: 1; box-shadow: 0 0 0 4px rgba(186,128,139,.06); } }
.has-mini-player { padding-bottom: calc(var(--mini-player-height, 0px) + 18px); }
.mini-player { position: fixed; inset: auto 1rem 0; z-index: 40; width: min(900px, calc(100% - 2rem)); margin-inline: auto; display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: .5rem .9rem; align-items: center; padding: .7rem 1rem calc(.7rem + env(safe-area-inset-bottom, 0px)); border: 1px solid #57716a; border-radius: 1rem 1rem 0 0; background: #102f2c; color: #fff; box-shadow: 0 -6px 24px rgba(0,0,0,.18); }
.mini-information { min-width: 0; }
.mini-information p { margin: .3rem 0 0; font-size: .95rem; line-height: 1.4; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mini-toggle, .mini-home, .record-button, .record-download { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: .45rem; padding: .45rem .75rem; border-radius: .6rem; font-size: .87rem; }
.mini-toggle { color: #17302b; background: #e0c28a; border: 1px solid #eddaaf; font-weight: 800; cursor: pointer; }
.mini-home { color: #e0c28a; text-underline-offset: .25rem; }
.recording-controls { position: relative; z-index: 1; display: flex; flex-wrap: wrap; align-items: center; gap: .35rem .65rem; margin-top: .65rem; color: #eadcc4; font-size: .84rem; }
.mini-player .recording-controls { grid-column: 1 / -1; margin-top: 0; padding-top: .4rem; border-top: 1px solid #496259; }
.record-button { background: transparent; border: 1px solid #847357; color: #ebd4ac; cursor: pointer; }
.record-button:disabled { opacity: .65; cursor: wait; }
.record-status { line-height: 1.45; }
.recording-controls {
  display: grid;
  grid-template-areas: "action duration download" "status status status";
  grid-template-columns: minmax(8.5rem, max-content) minmax(3.5rem, max-content) minmax(5.5rem, max-content);
  grid-template-rows: 44px 1.35em;
  align-items: center;
  justify-content: start;
  gap: .25rem .45rem;
  min-height: calc(44px + 1.35em + .25rem);
  box-sizing: border-box;
}
.recording-controls [data-record-start],
.recording-controls [data-record-stop] {
  grid-area: action;
  width: 100%;
  min-width: 8.5rem;
  min-height: 44px;
  padding-inline: .55rem;
  white-space: nowrap;
}
.recording-controls [data-record-duration] { grid-area: duration; min-width: 3.5rem; text-align: center; }
.recording-controls [data-record-download] { grid-area: download; min-height: 44px; white-space: nowrap; }
.recording-controls [data-record-status] {
  grid-area: status;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
[data-recording="true"] .record-status::before { content: ''; display: inline-block; width: .45rem; height: .45rem; margin-inline-end: .4rem; border-radius: 50%; background: #bd7f8d; animation: live-dot-pulse 2.1s ease-in-out infinite; }
[data-record-duration] { direction: ltr; font-variant-numeric: tabular-nums; }
.record-download { color: #f1d59b; text-underline-offset: .25rem; }
.navigation-notice { position: fixed; z-index: 80; top: .8rem; inset-inline: 1rem; width: min(720px, calc(100% - 2rem)); margin-inline: auto; display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; padding: 1rem; background: #fff9ed; color: #213e34; border: 1px solid #aa8a53; border-radius: .8rem; box-shadow: 0 5px 30px #0003; }
.navigation-notice button, .navigation-notice a { min-height: 44px; display: inline-flex; align-items: center; padding: .4rem .7rem; color: #123f3b; }
.site-header a[aria-current="page"], .site-footer a[aria-current="page"] { text-decoration: underline; text-underline-offset: .3rem; }
.footer-layout { grid-template-columns: minmax(180px, 1.1fr) repeat(4, minmax(0, 1fr)); }
.footer-group { min-width: 0; }
.footer-group > summary { display: flex; align-items: center; justify-content: space-between; min-height: 44px; color: #e4ca8c; font-size: .98rem; font-weight: 700; list-style: none; cursor: pointer; }
.footer-group > summary::-webkit-details-marker { display: none; }
.footer-disclosure-icon { display: none; }
.footer-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .6rem; }
.footer-action { min-height: 44px; border: 1px solid rgba(228,202,140,.55); border-radius: 999px; padding: .55rem .9rem; background: transparent; color: #f0d99f; font: inherit; cursor: pointer; }
.footer-action-status { color: #f0d99f; font-size: .9rem; }
.install-hint { position: fixed; z-index: 40; inset-inline: max(1rem, env(safe-area-inset-left)) max(1rem, env(safe-area-inset-right)); bottom: max(1rem, env(safe-area-inset-bottom)); display: flex; align-items: center; flex-wrap: wrap; gap: .65rem; max-width: 560px; margin-inline: auto; padding: .9rem 1rem; border: 1px solid rgba(228,202,140,.42); border-radius: 1rem; background: #103d38; color: white; box-shadow: 0 12px 40px rgba(0,0,0,.28); }
.install-hint[hidden] { display: none; }
.install-hint p { flex: 1 1 100%; margin: 0; }
.install-hint button { min-height: 42px; padding: .45rem .85rem; border: 0; border-radius: .7rem; background: #d8b66c; color: #172f2b; font: inherit; cursor: pointer; }
.catchup-archive { margin-block: 1rem 1.4rem; padding: 1rem; border: 1px solid var(--line, #d9dfd8); border-radius: 1rem; background: rgba(255,255,255,.68); }
.catchup-list { display: grid; gap: .55rem; }
.catchup-card { display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding: .7rem; border-radius: .8rem; background: white; }
.catchup-card h3 { margin: 0; font-size: 1rem; overflow-wrap: anywhere; }
.catchup-card p { margin: .2rem 0 0; color: #596a64; font-size: .88rem; }
.catchup-actions { display: flex; flex: 0 0 auto; flex-wrap: wrap; gap: .4rem; }
.catchup-actions button, .catchup-actions a { min-height: 42px; display: inline-flex; align-items: center; justify-content: center; padding: .45rem .7rem; border: 1px solid #b68a42; border-radius: .65rem; color: #123f3b; background: white; font: inherit; text-decoration: none; }
.catchup-actions button, .catchup-actions a { user-select: none; -webkit-user-select: none; touch-action: manipulation; transition: transform .12s ease, filter .12s ease, background-color .12s ease; }
.catchup-actions button:active, .catchup-actions a:active { transform: translateY(1px) scale(.98); filter: brightness(.94); background-color: #f4ecd9; }
.catchup-actions button:focus-visible, .catchup-actions a:focus-visible { outline: 3px solid #c99a3d; outline-offset: 2px; }
.catchup-confirmation { width: min(460px,calc(100% - 2rem)); padding: 1.25rem; border: 1px solid #d9c18c; border-radius: 1rem; background: #fffdf7; color: #183b36; box-shadow: 0 20px 70px #0004; }
.catchup-confirmation::backdrop { background: rgba(5,24,22,.62); }
.catchup-confirmation h2 { margin: 0; font-size: 1.15rem; }
.catchup-confirmation p { margin: .8rem 0 1rem; line-height: 1.7; }
.catchup-confirm-actions { display: flex; gap: .6rem; }
.catchup-confirm-actions button, .return-live-button { min-height: 44px; padding: .5rem .9rem; border: 1px solid #b68a42; border-radius: .7rem; background: #d8b66c; color: #173b35; font: inherit; font-weight: 700; cursor: pointer; }
.catchup-confirm-actions [data-catchup-cancel] { background: #fff; }
.mini-home[hidden], [data-catchup-controls][hidden], [data-catchup-source][hidden] { display: none; }
.radio-is-catchup.home .hero { display: none; }
.radio-is-catchup [data-record-start] { display: none !important; }
.catchup-source-badge { display: inline-flex; width: fit-content; margin-block: .15rem; padding: .12rem .5rem; border: 1px solid rgba(228,202,140,.45); border-radius: 999px; color: #f0d99f; font-size: .76rem; }
.mini-catchup-controls { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: .45rem .8rem; padding-top: .4rem; border-top: 1px solid rgba(255,255,255,.17); }
.mini-catchup-controls[hidden] { display: none; }
.catchup-timeline { min-width: 0; display: grid; grid-template-columns: auto minmax(80px,1fr) auto; align-items: center; gap: .5rem; color: #f6e8c4; font-size: .8rem; font-variant-numeric: tabular-nums; }
.catchup-timeline input[type="range"] { width: 100%; min-width: 0; accent-color: #d8b66c; cursor: pointer; }
.catchup-timeline input[type="range"]:disabled { cursor: not-allowed; opacity: .55; }
.return-live-button { min-height: 40px; white-space: nowrap; }
.history-catchup-action { grid-column: 1 / -1; justify-self: start; min-height: 36px; margin-top: .35rem; padding: .25rem .65rem; border: 1px solid #b68a42; border-radius: 999px; background: #fffdf7; color: #17443d; font: inherit; font-size: .82rem; font-weight: 700; cursor: pointer; }
.history-catchup-live { grid-column: 1 / -1; justify-self: start; margin-top: .35rem; padding: .22rem .55rem; border-radius: 999px; background: #f4ecd9; color: #795923; font-size: .78rem; }
@media (max-width: 760px) {
  .site-footer .footer-layout { display: grid; grid-template-columns: minmax(0,1fr); gap: .65rem; }
  .site-footer .footer-identity { margin-bottom: .25rem; }
  .site-footer .footer-group { padding: .25rem .75rem; border: 1px solid rgba(255,255,255,.14); border-radius: .85rem; }
  .footer-group > summary { min-height: 50px; font-size: 1rem; }
  .footer-disclosure-icon { display: inline-block; transition: transform .15s ease; }
  .footer-group[open] .footer-disclosure-icon { transform: rotate(45deg); }
  .footer-group ul { grid-template-columns: repeat(2,minmax(0,1fr)); gap: .05rem .4rem; padding-bottom: .55rem; }
  .footer-group a { min-height: 44px; font-size: .95rem; }
  .footer-actions { gap: .5rem; padding-top: .3rem; }
  .catchup-card { align-items: flex-start; flex-direction: column; }
  .catchup-actions { width: 100%; }
  .catchup-actions button, .catchup-actions a { flex: 1; }
}
@media (prefers-reduced-motion: reduce) { .footer-disclosure-icon { transition: none; } }
.contact-links { display: grid; gap: .6rem; padding-inline-start: 1.2rem; }
.contact-links a { display: inline-flex; align-items: center; min-height: 44px; }
.policy-page h2 { font-size: 1.25rem; margin-top: 1.6rem; }
@media (max-width: 1000px) {
  .footer-layout { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-identity { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .recording-controls {
    grid-template-columns: minmax(8rem, 1fr) minmax(3.25rem, max-content) minmax(5rem, max-content);
    gap: .2rem .3rem;
    width: 100%;
  }
  .recording-controls [data-record-start],
  .recording-controls [data-record-stop] { min-width: 8rem; font-size: .78rem; }
  .recording-controls [data-record-download] { font-size: .78rem; }
  .mini-player { inset-inline: .5rem; width: calc(100% - 1rem); padding-inline: .7rem; grid-template-columns: minmax(0, 1fr) auto; column-gap: .5rem; }
  .mini-home { grid-column: 1 / -1; justify-content: flex-start; min-height: 36px; padding: 0; }
  .mini-information p { font-size: .87rem; }
  .mini-player .recording-controls { gap: .25rem .5rem; font-size: .8rem; }
  .mini-player .record-status { flex: 1 1 100%; }
  .footer-layout { grid-template-columns: minmax(0, 1fr); }
  .footer-group ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
  .live-badge span, .connection-dot, .record-status::before { animation: none !important; }
}

/* Final balance: centered station identity, listening elapsed time, and three footer groups. */
.header-inner { gap: clamp(.5rem, 2vw, 1.6rem); }
.brand-mark-link { flex: 0 0 54px; display: grid; place-items: center; text-decoration: none; }
.brand-copy { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; text-decoration: none; }
.brand-copy strong { max-width: 100%; font-size: clamp(1.2rem, 1.7vw, 1.55rem); line-height: 1.35; text-wrap: balance; }
.brand-copy small { margin-top: .12rem; color: #dfbd70; font-size: .86rem; opacity: 1; animation: tagline-breathe 4s ease-in-out infinite; }
.header-inner > nav, .header-inner > .mobile-navigation { flex: 0 0 auto; margin-inline-start: 0; }
.footer-layout { grid-template-columns: minmax(170px, 1.1fr) repeat(4, minmax(0, 1fr)); }
.footer-actions { grid-column: 1 / -1; justify-content: flex-end; }
.listening-elapsed { color: #e6cf9f; font-size: .88rem; font-variant-numeric: tabular-nums; line-height: 1.4; }
.listening-elapsed[dir="ltr"] { direction: ltr; unicode-bidi: isolate; }
.player-listening-elapsed { display: flex; align-items: center; justify-content: center; gap: .45rem; margin: -.2rem 0 .15rem; }
.player-listening-elapsed time { font-weight: 700; letter-spacing: .04em; }
.mini-listening-elapsed { display: inline-block; margin-top: .08rem; color: #f0d99f; font-size: .78rem; }
@keyframes tagline-breathe { 0%, 100% { opacity: .84; } 50% { opacity: 1; } }
@media (max-width: 1000px) {
  .footer-layout { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-identity { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .header-inner { min-height: 78px; gap: .5rem; }
  .brand-mark-link { flex-basis: 44px; }
  .brand-mark { width: 44px; height: 44px; }
  .brand-copy strong { max-width: 100%; font-size: clamp(.97rem, 4.3vw, 1.17rem); line-height: 1.22; }
  .brand-copy small { font-size: .75rem; }
  .header-inner > .mobile-navigation { margin-inline-start: 0; }
  .mobile-navigation summary { width: 44px; min-height: 44px; justify-content: center; padding: .35rem; }
  .footer-layout { grid-template-columns: minmax(0,1fr); }
  .footer-actions { grid-column: auto; justify-content: flex-start; }
  .player-listening-elapsed { margin-top: -.15rem; font-size: .82rem; }
}
@media (max-width: 390px) {
  .header-inner { gap: .38rem; }
  .brand-mark-link { flex-basis: 40px; }
  .brand-mark { width: 40px; height: 40px; }
  .brand-copy strong { font-size: clamp(.92rem, 4.2vw, 1.04rem); }
  .brand-copy small { font-size: .71rem; }
}
@media (prefers-reduced-motion: reduce) { .brand-copy small { animation: none; } }

.contact-links { grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: .8rem; padding: 0; margin: 1.25rem 0 0; list-style: none; }
.contact-links a { width: 100%; min-height: 62px; display: flex; align-items: center; justify-content: space-between; gap: .8rem; padding: .8rem 1rem; border: 1px solid #e6decf; border-radius: .8rem; background: #faf8f2; color: #17443d; font-weight: 750; text-decoration: none; box-shadow: 0 5px 18px rgba(7,58,54,.05); }
.contact-links a::after { content: '↗'; flex: 0 0 auto; color: #9c742e; font-size: 1.1rem; }
.contact-links a:hover, .contact-links a:focus-visible { border-color: #c99a3d; background: #fffdf7; }
.contact-links a:focus-visible { outline: 3px solid rgba(201,154,61,.42); outline-offset: 2px; }
