/* Радио для СВОих · editorial refinement. Loaded after the legacy stylesheet. */
:root {
  --bg: #090e19;
  --panel: #111a29;
  --panel-2: #172131;
  --ink: #f3f6f9;
  --muted: #aab7c6;
  --line: #344052;
  --cyan: #6bd6de;
  --listener-green: #79e5a0;
  --residance-violet: #9975ef;
  --residance-gold: #e5c46d;
  --episode-breath-cycle: 5.2s;
  --pink: #d890bb;
  --lime: #dcf087;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-6: 24px;
  --space-8: 32px;
  --space-12: 48px;
  --space-16: 64px;
  --radius-control: 4px;
  --radius-card: 8px;
  --radius-panel: 12px;
  font-family: 'Segoe UI Variable', 'Segoe UI', Arial, sans-serif;
}
html { scroll-padding-top: 24px; scrollbar-color: #59677a #0d1421; scrollbar-width: thin; }
body { background: var(--bg); line-height: 1.5; }
body::before { display: none; }
.site-glow { opacity: .35; }
.site-grid { opacity: .3; }
h1, h2, h3, h4 { font-family: 'Segoe UI Variable Display', 'Segoe UI', Arial, sans-serif; font-weight: 720; }
button, input { font-family: inherit; }
button:focus-visible, a:focus-visible, input:focus-visible, summary:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; }
.mobile-nav { display: none; }

.header { height: 80px; }
.language-switch { display: inline-flex; flex: none; align-items: center; padding: 3px; gap: 2px; border: 1px solid var(--line); border-radius: var(--radius-control); background: var(--bg); }
.language-switch button { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 64px; min-height: 34px; padding: 6px 8px; border: 0; border-radius: 2px; background: transparent; color: var(--muted); font-size: 11px; line-height: 1; font-weight: 650; letter-spacing: .04em; cursor: pointer; transition: color .15s, background .15s; }
.language-flag { display: block; flex: none; width: 22px; height: 16px; filter: none; }
.language-switch button:hover { color: var(--ink); background: var(--panel); }
.language-switch button.is-active { color: var(--cyan); background: var(--panel-2); }
.language-switch button:active { background: var(--line); }
.language-switch button:focus-visible { outline: 2px solid var(--lime); outline-offset: 2px; }
.brand-icon { border-radius: var(--radius-card); box-shadow: none; transform: none; }
.brand-icon i { box-shadow: none; }
.brand-name { font-weight: 700; letter-spacing: .03em; }
.brand-name strong { color: var(--ink); }
.brand-name small { letter-spacing: .12em; }
@media (max-width: 360px) {
  html[lang="en"] .header .brand-name strong { font-size: 11px; letter-spacing: 0; white-space: nowrap; }
  html[lang="en"] .header .brand-name small { font-size: 7px; letter-spacing: .08em; }
}
.nav { gap: var(--space-8); font-size: 14px; }
.nav a { padding-block: 12px; }
.header-activity { display: flex; align-items: center; gap: 16px; margin-left: auto; white-space: nowrap; }
.header-live { border-radius: var(--radius-control); border-color: var(--line); background: transparent; letter-spacing: .05em; font-size: 11px; }
.listener-counter { display: inline-flex; align-items: baseline; gap: 7px; padding-left: 16px; border-left: 1px solid var(--line); color: var(--muted); font-size: 11px; line-height: 1; }
.listener-counter strong { color: var(--listener-green); font-size: 16px; font-weight: 800; font-variant-numeric: tabular-nums; }
.header-live .live-dot { background: #718190; box-shadow: none; animation: none; }
.header-live[data-state="connecting"] .live-dot { background: #edbe78; animation: blink 1.4s infinite; }
.header-live[data-state="playing"] { color: var(--cyan); border-color: #4d8991; }
.header-live[data-state="playing"] .live-dot { background: var(--cyan); box-shadow: 0 0 8px #6bd6de99; animation: blink 2.4s infinite; }
.header-live[data-state="error"] { color: #f1a5aa; }

.hero { min-height: 440px; padding-block: var(--space-8) var(--space-12); grid-template-columns: 1.1fr .9fr; }
.eyebrow { color: var(--muted); font-size: 11px; letter-spacing: .08em; }
.eyebrow-line { background: var(--cyan); }
.hero h1 { font-size: clamp(42px, 4.55vw, 60px); line-height: 1.03; letter-spacing: -.055em; margin: var(--space-6) 0; }
.hero h1 em { color: var(--cyan); text-shadow: none; }
.hero-copy > p { font-size: 16px; line-height: 1.55; color: var(--muted); }
.hero-actions { margin-top: var(--space-8); gap: var(--space-3); }
.button { height: 46px; padding-inline: 18px; border-radius: var(--radius-control); font-size: 12px; font-weight: 700; letter-spacing: .035em; transition: background .18s, border-color .18s, transform .18s; }
.button:hover { transform: translateY(-1px); }
.button:active { transform: translateY(1px); }
.button-primary { box-shadow: none; }
.button-primary:hover { background: #e9faac; box-shadow: none; }
.button-ghost { background: transparent; border-color: var(--line); color: var(--ink); }
.button-ghost:hover { background: #1a2737; }
.hero-facts { margin-top: var(--space-8); font-family: inherit; font-size: 12px; letter-spacing: 0; color: var(--muted); }
.hero-facts b { font-size: inherit; }
.hero-art { height: 390px; transform: scale(.72); }
.hero-art::before { opacity: .38; background: radial-gradient(circle, #4bb8d422 0, transparent 68%); filter: blur(20px); animation: none; }
.hero-logo-button { position: absolute; z-index: 1; left: 50%; top: 50%; width: 480px; height: 480px; padding: 0; display: grid; place-items: center; transform: translate(-50%, -50%); border: 0; border-radius: 50%; background: transparent; color: inherit; font-family: inherit; cursor: pointer; touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
.hero-logo-button:focus-visible { outline: none; }
.hero-logo-button:focus-visible .art-core { outline: 2px solid var(--lime); outline-offset: 5px; }
.hero-logo-button:hover .orbit-c, .hero-logo-button:focus-visible .orbit-c { border-color: #a5eef2af; box-shadow: 0 0 26px #6bd6de82, 0 0 48px #6bd6de26, inset 0 0 22px #4caddc32; }
.hero-logo-button:hover .art-core, .hero-logo-button:focus-visible .art-core { box-shadow: 0 0 0 1px #a5eef27a, 0 0 32px #54cddd50, inset 0 0 30px #61c4ec25; }
.hero-logo-button:active .art-core { box-shadow: 0 0 0 2px #a5eef2a3, 0 0 22px #54cddd65, inset 0 0 36px #61c4ec35; }
.art-core .hero-logo-caption { position: absolute; z-index: 3; top: calc(50% + 51px); left: 50%; width: 205px; transform: translateX(-50%); color: #a9c1c9; font-size: 16px; font-weight: 650; line-height: 1.2; letter-spacing: .06em; text-align: center; white-space: normal; transition: color .3s ease; }
.hero-logo-button:hover .hero-logo-caption, .hero-logo-button:focus-visible .hero-logo-caption, .hero-art[data-state="playing"] .hero-logo-caption { color: #c8f5f5; }
.hero-art[data-state="error"] .hero-logo-caption { color: #f1a5aa; }
.art-orbit { border-color: #7ddfe323; }
.orbit-a { border-color: #7ddfe32c; animation: none; }
.orbit-b { border-color: #7ddfe33d; box-shadow: 0 0 18px #6bd6de22, inset 0 0 15px #6bd6de14; animation: none; transition: box-shadow .65s ease; }
.orbit-b::after { display: none; }
.orbit-c { border-color: #78e1ec88; box-shadow: 0 0 19px #6bd6de55, 0 0 40px #6bd6de20, inset 0 0 19px #4caddc24; animation: none; transition: box-shadow .65s ease; }
.art-ticks, .art-arc { position: absolute; aspect-ratio: 1; border-radius: 50%; pointer-events: none; }
.art-ticks { width: 452px; background: repeating-conic-gradient(from -90deg, #8ae5ed78 0deg .42deg, transparent .42deg 5deg); mask: radial-gradient(circle, transparent 0 213px, #000 216px 222px, transparent 225px); opacity: .32; }
.art-arc { width: 344px; background: conic-gradient(from 30deg, transparent 0 26deg, #91e3ec 26deg 66deg, transparent 66deg 360deg); mask: radial-gradient(circle, transparent 0 163px, #000 166px 170px, transparent 173px); opacity: .7; filter: drop-shadow(0 0 5px #6bd6de82); animation: spin 48s linear infinite; transition: filter .65s ease, opacity .65s ease; }
.art-core { z-index: 2; gap: 12px; background: radial-gradient(circle at 47% 35%, #283353, #18243b 55%, #0d1728 80%); box-shadow: 0 0 0 1px #8cebf14d, 0 0 26px #54cddd36, inset 0 0 28px #61c4ec1c; animation: none; }
.art-core::before { inset: 19px; border-color: #8cdded35; box-shadow: none; }
.art-core .core-title { position: absolute; z-index: 1; top: 50%; left: 50%; transform: translate(-50%, -50%); color: #f4fafc; font-size: 29px; font-weight: 800; line-height: .98; letter-spacing: .045em; text-shadow: 0 0 13px #6bd6de70; transition: text-shadow .55s ease; }
.core-mark { position: absolute; z-index: 1; top: calc(50% - 66px); left: 50%; transform: translate(-50%, -50%); filter: none; }
.core-mark i { box-shadow: 0 0 8px #70e8f588; animation-duration: 1.8s; }
.radio-playing .orbit-b { box-shadow: 0 0 24px #6bd6de3b, inset 0 0 19px #6bd6de24; }
.radio-playing .orbit-c { box-shadow: 0 0 27px #6bd6de7a, 0 0 54px #6bd6de30, inset 0 0 22px #4caddc35; }
.radio-playing .art-arc { animation-duration: 30s; opacity: .85; filter: drop-shadow(0 0 9px #9af0f2b3); }
.radio-playing .art-core { animation: waveCore 4s ease-in-out infinite; }
.radio-playing .art-core .core-title { text-shadow: 0 0 16px #baf8fdb3, 0 0 32px #6bd6de99; }
.radio-playing .core-mark i { animation-duration: 1.1s; }
@keyframes waveCore { 50% { box-shadow: 0 0 0 1px #a5eef270, 0 0 34px #6ae5f24d, inset 0 0 34px #61c4ec29; } }
.ticker { width: 100%; height: 40px; justify-content: center; color: #b8d8a5; border-color: #9bad8666; background: #b8d8920a; font-size: 10px; letter-spacing: .08em; }

.player-section, .stations-section, .fm-section, .guide, .faq { padding-top: 72px; }
.editorial { padding-top: 56px; }
.about { padding-block: 80px 88px; }
.section-kicker { color: var(--muted); font-size: 11px; letter-spacing: .055em; }
.section-kicker > span:last-child:not(:first-child) { color: #78899b; }
.section-overline { color: var(--muted); font-size: 11px; letter-spacing: .04em; }
.section-head { margin: 20px 0 24px; }
.section-head h2 { font-size: clamp(34px, 3.4vw, 44px); line-height: 1.1; letter-spacing: -.045em; }
.section-head h2 span { color: var(--cyan); }
.section-head > p { color: var(--muted); line-height: 1.5; }
.guide-heading h2, .faq h2, .about h2 { font-size: clamp(32px, 3vw, 42px); line-height: 1.14; letter-spacing: -.04em; }
.guide-heading > p, .faq-list p, .about-copy p { font-size: 14px; line-height: 1.6; }

/* The Reactor is the one place where the light effects carry the brand. */
.reactor-panel { margin-top: 20px; border-radius: 12px 4px 12px 4px; box-shadow: none; animation: none; }
.reactor-panel[data-state="playing"] { box-shadow: 0 0 26px #1da9f526, inset 0 0 55px #18469815; }
.reactor-panel .player-main { padding: 28px 8px 24px 28px; }
.reactor-panel .player-label { font-size: 11px; letter-spacing: .07em; }
.reactor-panel .player-heading-row { margin-top: 20px; }
.reactor-panel .player-headings h2 { font-size: clamp(23px, 2.3vw, 30px); font-weight: 720; }
.reactor-panel .player-category { font-size: 11px; letter-spacing: .045em; }
.reactor-panel .player-headings > p:last-child { font-size: 13px; line-height: 1.5; }
.reactor-panel .player-instruction, .reactor-panel #direct-status { font-size: 12px; }
.reactor-panel .player-cover { box-shadow: none; border-radius: var(--radius-card); }
.reactor-panel .direct-player { padding-bottom: 40px; }
.reactor-caption { bottom: -28px; }
.reactor-panel .live-toggle { box-shadow: inset 0 0 20px #0caeff55, 0 0 18px #00bfff29; }
.reactor-panel .live-toggle:hover { box-shadow: inset 0 0 25px #20cfff88, 0 0 26px #19bdff66; }
.live-badge { font-size: 11px; letter-spacing: .065em; box-shadow: none; }
.volume-label { font-size: 11px; letter-spacing: .045em; }
.live-volume button { width: 40px; height: 40px; }
.live-volume [hidden] { display: none; }
.reactor-footer { font-size: 10px; letter-spacing: .03em; }

/* Filters stay quiet so the covers and current playback state lead. */
.catalog-toolbar { gap: 24px; margin-bottom: 12px; padding-block: 20px; border-block: 1px solid var(--line); align-items: flex-start; }
.filter-stack { gap: 8px; }
.filter-line { gap: 12px; }
.filter-caption { width: 78px; padding-top: 9px; font-size: 11px; letter-spacing: .04em; }
.filters { gap: 6px; }
.filter { min-height: 36px; padding: 8px 10px; border-radius: var(--radius-control); background: transparent; color: #b2becb; font-size: 11px; font-weight: 600; letter-spacing: .015em; }
.filter:hover { color: var(--ink); border-color: #73909d; }
.filter.active { color: #b5edf0; background: #19333e; border-color: #558b94; }
.catalog-residance { display: inline-flex; align-items: center; gap: 8px; color: var(--residance-gold); border-color: color-mix(in srgb, var(--residance-gold) 55%, transparent); background: color-mix(in srgb, var(--residance-gold) 6%, transparent); text-decoration: none; transition: background .18s, border-color .18s; }
.catalog-residance .ui-icon { width: 14px; height: 14px; }
.catalog-residance:hover { color: var(--residance-gold); border-color: var(--residance-gold); background: color-mix(in srgb, var(--residance-gold) 12%, transparent); }
.catalog-residance:focus-visible { outline-color: var(--residance-gold); }
.catalog-residance:active { background: color-mix(in srgb, var(--residance-gold) 20%, transparent); }
.search { height: 40px; min-width: 220px; padding-inline: 10px; border-radius: var(--radius-control); background: #101a28; }
.search:focus-within { border-color: var(--cyan); }
.search > span { font-size: 20px; }
.search input { font-size: 13px; }
.search-clear { flex: none; width: 30px; height: 30px; padding: 0; border: 0; background: transparent; color: var(--muted); font-size: 22px; line-height: 1; }
.search-clear:hover { color: var(--ink); }
.search-clear[hidden] { display: none; }
.catalog-meta { font-size: 11px; letter-spacing: .02em; margin-bottom: 16px; }
.catalog-meta span:first-child { color: var(--muted); }
.station-group { margin-top: 40px; }
.station-group:first-child { margin-top: 4px; }
.station-group-heading { margin-bottom: 16px; padding-bottom: 12px; }
.station-group-index { color: var(--muted); font-size: 11px; letter-spacing: .04em; }
.station-group-heading h3 { font-size: clamp(24px, 2.5vw, 32px); font-weight: 700; letter-spacing: -.04em; margin: 6px 0 4px; }
.station-group-heading p { font-size: 13px; }
.station-group-count { font-size: 11px; letter-spacing: .02em; }
.station-cards-grid { gap: 12px; }
.station-card { padding: 12px; border-radius: var(--radius-card); background: var(--panel); box-shadow: none; transition: background .2s, border-color .2s, transform .2s; }
.station-card::after { display: none; }
.station-card:hover { transform: translateY(-2px); background: #172336; border-color: #5d8390; box-shadow: none; }
.station-card.selected { border-color: #52747d; box-shadow: none; }
.station-card.is-playing { border-color: var(--cyan); }
.station-art { margin-bottom: 12px; border-radius: 4px; }
.station-card:hover .cover-image { transform: scale(1.025); filter: none; }
.station-card-top { min-height: 28px; }
.station-card .cover-bottom, .station-card .cover-index { display: none; }
.station-kind, .station-kind.live-kind { color: #9aaabb; font: 600 11px 'Segoe UI Variable', 'Segoe UI', sans-serif; letter-spacing: .025em; }
.station-card h4 { font-size: 17px; font-weight: 650; line-height: 1.3; min-height: 44px; margin: 4px 0 8px; }
.station-card > p { font-size: 13px; line-height: 1.5; color: var(--muted); height: 40px; }
.station-card-footer { margin-top: 12px; padding-top: 10px; }
.station-card-footer span { font: 600 11px 'Segoe UI Variable', 'Segoe UI', sans-serif; letter-spacing: .025em; }
.favorite { min-width: 40px; min-height: 40px; color: #a2b1be; }
.favorite .ui-icon { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linejoin: round; }
.favorite.is-favorite .ui-icon { fill: var(--pink); stroke: var(--pink); }
.station-card.is-playing .station-kind { color: var(--cyan); }
.station-card.is-connecting .station-kind { color: #edbe78; }
.station-card.is-connecting .station-play { border-style: dashed; }
.station-play { width: 40px; height: 40px; background: #263847; color: var(--ink); border: 1px solid #50667a; box-shadow: none; transition: background .18s, transform .18s; }
.station-play:hover { background: var(--lime); color: #10202d; transform: scale(1.04); }
.station-play:active { transform: scale(.96); }
.station-card.is-playing .station-play { color: #071c25; background: var(--cyan); box-shadow: none; }
.station-card.is-playing .station-art::after { box-shadow: none; }
.empty-state { border-radius: var(--radius-card); font-size: 14px; background: var(--panel); }

/* Editorial material has its own rhythm, with few boxes and no fake depth. */
.editorial-card { min-height: 230px; border-radius: var(--radius-card); padding: 24px; }
.editorial-card::before, .editorial-symbol { display: none; }
.editorial-night { background: #172139; }
.editorial-drive { background: #292134; }
.editorial-index { font-size: 11px; letter-spacing: .04em; }
.editorial-card h3 { font-size: 24px; font-weight: 720; letter-spacing: -.035em; margin-top: 28px; }
.editorial-card p { font-size: 14px; }
.editorial-card button { font: 650 12px 'Segoe UI Variable', 'Segoe UI', sans-serif; letter-spacing: .025em; }
.fm-panel { grid-template-columns: .9fr 1.1fr; border-radius: var(--radius-panel); border-color: var(--line); background: #111a29; }
.fm-copy { padding: 28px; }
.fm-copy h2 { font-size: clamp(32px, 3.4vw, 43px); font-weight: 720; letter-spacing: -.045em; margin: 8px 0 14px; }
.fm-copy > p:not(.section-overline) { font-size: 14px; line-height: 1.55; }
.fm-tags { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; margin-top: 20px; }
.fm-tags > span { min-height: 0; aspect-ratio: 1; border-radius: 4px; padding: 0; border: 0; background: transparent; }
.fm-tags > span > b { display: none; }
.fm-tags > span:hover { box-shadow: none; }
.fm-side { background: #0e1725; padding: 24px; }
.fm-radar { width: 100px; height: 100px; margin: 0 auto 16px; }
.fm-radar .radar-ring-c { width: 100px; height: 100px; }
.fm-radar .radar-ring-b { width: 76px; height: 76px; }
.fm-radar .radar-ring-a { width: 52px; height: 52px; }
.radar-center { width: 45px; height: 45px; font-size: 16px; box-shadow: none; }
.fm-embed iframe { border-radius: var(--radius-card); }
.fm-side > p { font-size: 11px; }
.guide-heading { margin: 20px 0 24px; }
.guide-grid { gap: 24px; }
.guide-card { min-height: 0; padding: 20px 0 0; border: 0; border-top: 1px solid var(--line); border-radius: 0; background: transparent; overflow: visible; }
.guide-card:hover { transform: none; border-color: var(--cyan); }
.guide-num { font-size: 11px; color: var(--cyan); }
.guide-icon { display: none; }
.guide-card h3 { font-size: 19px; font-weight: 700; margin: 22px 0 8px; }
.guide-card p { font-size: 14px; line-height: 1.5; }
.faq { gap: 48px; }
.faq-list summary { padding: 20px 4px; font-size: 15px; font-weight: 650; }
.about-copy a { font: 650 12px 'Segoe UI Variable', 'Segoe UI', sans-serif; letter-spacing: .03em; }
.footer-note { font-size: 11px; letter-spacing: 0; }

@media (min-width: 1440px) {
  .wrap { width: min(1600px, calc(100% - 96px)); }
  .hero { min-height: 520px; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 64px; padding-block: 40px 48px; }
  .hero h1 { font-size: clamp(56px, 3.8vw, 68px); }
  .hero-copy > p { max-width: 560px; font-size: 17px; }
  .hero-actions { margin-top: 32px; }
  .hero-art { height: 430px; transform: scale(.88); }
}

@media (min-width: 1500px) {
  .station-cards-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

@media (max-width: 1100px) {
  .station-cards-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr .65fr; }
  .hero-art { transform: scale(.58); }
  .station-cards-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .station-card { display: grid; grid-template-columns: 104px minmax(0, 1fr) 40px; grid-template-rows: auto auto auto; column-gap: 12px; min-height: 126px; align-items: start; }
  .station-art { grid-column: 1; grid-row: 1 / 4; width: 104px; height: 104px; aspect-ratio: 1; margin: 0; align-self: center; }
  .station-card-top { grid-column: 2 / 4; grid-row: 1; min-height: 25px; }
  .station-card h4 { grid-column: 2; grid-row: 2; min-height: 0; margin: 2px 0; font-size: 16px; }
  .station-card > p { grid-column: 2; grid-row: 3; height: auto; min-height: 0; max-height: 48px; overflow: hidden; font-size: 12px; }
  .station-card-footer { grid-column: 3; grid-row: 2 / 4; border: 0; padding: 0; margin: 0; align-self: center; justify-content: flex-end; }
  .station-card-footer span { display: none; }
  .fm-panel { grid-template-columns: 1fr; }
  .fm-side { border-left: 0; border-top: 1px solid var(--line); }
  .fm-radar { display: none; }
  .fm-tags { grid-template-columns: repeat(10, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  body { min-width: 0; }
  .wrap { width: calc(100% - 32px); }
  .header { display: grid; grid-template-columns: minmax(0, 1fr) auto; height: auto; min-height: 112px; gap: 12px 8px; padding-block: 12px; }
  .language-switch { grid-column: 2; grid-row: 1; justify-self: end; }
  .language-switch button { min-width: 58px; min-height: 38px; padding-inline: 6px; gap: 5px; }
  .language-flag { width: 20px; height: 14px; }
  .header-activity { grid-column: 1 / -1; grid-row: 2; flex-direction: row; align-items: center; justify-content: flex-end; gap: 16px; margin-left: 0; }
  .header-live { padding: 8px 9px; }
  .listener-counter { padding: 0; border: 0; font-size: 10px; }
  .listener-counter strong { font-size: 13px; }
  .mobile-nav { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-block: 9px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 12px; }
  .mobile-nav a { padding: 5px 2px; }
  .mobile-nav a:hover { color: var(--cyan); }
  .hero { padding-block: 32px 28px; min-height: 0; }
  .hero h1 { font-size: clamp(38px, 9vw, 52px); }
  .hero-copy > p { font-size: 15px; }
  .hero-art { height: 230px; transform: scale(.58); margin-block: 48px 20px; }
  .hero-facts { margin-top: 24px; }
  .player-section, .stations-section, .fm-section, .guide, .faq { padding-top: 52px; }
  .editorial { padding-top: 40px; }
  .section-head h2 { font-size: 34px; }
  .section-head > p { margin-top: 12px; }
  .reactor-panel .player-main { padding: 24px 20px 0; }
  .reactor-panel .player-heading-row { margin-top: 16px; }
  .reactor-panel .player-headings h2 { font-size: 23px; }
  .reactor-panel .player-headings > p:last-child { font-size: 12px; }
  .reactor-panel .player-instruction { font-size: 11px; }
  .filter-line { display: block; }
  .filter-caption { width: auto; padding: 0 0 6px; }
  .filter { min-height: 34px; }
  .search { width: 100%; }
  .station-group { margin-top: 30px; }
  .station-group-heading h3 { font-size: 25px; }
  .station-cards-grid { grid-template-columns: 1fr; gap: 8px; }
  .station-card { display: grid; grid-template-columns: 76px minmax(0, 1fr) 42px; grid-template-rows: auto auto auto; column-gap: 12px; min-height: 106px; padding: 10px; align-items: start; }
  .station-art { grid-column: 1; grid-row: 1 / 4; width: 76px; height: 76px; aspect-ratio: 1; margin: 0; align-self: center; }
  .station-card-top { grid-column: 2 / 4; grid-row: 1; height: 23px; min-height: 23px; }
  .station-kind, .station-kind.live-kind { font-size: 10px; }
  .favorite { min-width: 32px; min-height: 30px; font-size: 20px; padding: 0; }
  .station-card h4 { grid-column: 2; grid-row: 2; min-height: 0; margin: 0; font-size: 16px; line-height: 1.15; }
  .station-card > p { grid-column: 2; grid-row: 3; height: auto; min-height: 0; max-height: 36px; overflow: hidden; font-size: 12px; line-height: 1.45; margin-top: 4px; }
  .station-card-footer { grid-column: 3; grid-row: 2 / 4; border: 0; padding: 0; margin: 0; align-self: center; justify-content: flex-end; }
  .station-card-footer span { display: none; }
  .station-play { width: 40px; height: 40px; }
  .editorial-card { min-height: 205px; }
  .fm-copy, .fm-side { padding: 20px; }
  .fm-tags { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .fm-tags > span { aspect-ratio: 1; min-height: 0; }
  .guide-grid { gap: 20px; }
  .guide-card { padding-top: 16px; min-height: 0; }
  .guide-card h3 { margin-top: 12px; }
  .about { padding-block: 56px 64px; }
}
@media (max-width: 460px) {
  .hero-actions .button { width: 100%; }
  .hero-art { height: 230px; transform: scale(.56); margin-block: 44px 20px; }
  .art-core .hero-logo-caption { font-size: 18px; }
  .reactor-panel .direct-player { gap: 38px; }
  .reactor-panel .player-label { font-size: 10px; }
  .reactor-panel #direct-status { font-size: 11px; }
  .volume-label { font-size: 10px; }
  .station-group-count { font-size: 10px; }
  .catalog-meta span:last-child { display: none; }
  .fm-tags { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-art *, .hero-art *::before, .hero-art *::after, .hero-art::before, .ticker-track, .reactor-backdrop::after { animation: none !important; }
}

/* Action icons use vectors so iOS does not substitute emoji glyphs. */
.icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ui-icon { display: inline-block; width: 1.35em; height: 1.35em; flex: none; fill: currentColor; vertical-align: middle; }
.ui-icon-arrow { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.station-play .ui-icon { width: 18px; height: 18px; }
.reactor-footer a, .editorial-card button, .about-copy a, .footer-inner > a:last-child { display: inline-flex; align-items: center; gap: 6px; }
.editorial-card button { gap: 13px; }
.editorial-symbol .ui-icon { width: 90px; height: 90px; }

/* Recorded shows: a quiet editorial surface within the existing radio system. */
.residance-section { padding-block: 64px 32px; }
.residance-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin: 24px 0 32px; }
.residance-heading h2 { font-size: clamp(32px, 3.2vw, 48px); letter-spacing: -.035em; line-height: 1.1; margin: 0 0 12px; }
.residance-heading p { font-size: 16px; color: var(--muted); margin: 0; }
.residance-heading > a { display: inline-flex; align-items: center; gap: 8px; color: var(--cyan); font-size: 13px; }
.residance-heading > a:hover { text-decoration: underline; }
.residance-layout { display: grid; grid-template-columns: minmax(240px, 340px) minmax(0, 1fr); gap: 48px; align-items: start; }
.residance-artwork img { display: block; width: 100%; height: auto; aspect-ratio: 1; border-radius: var(--radius-card); }
.residance-artwork p { color: var(--muted); font-size: 12px; margin: 12px 0 0; }
.residance-content { min-width: 0; }
.residance-list-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 24px 0 12px; }
.residance-list-heading h3 { font-size: 18px; font-weight: 650; margin: 0; }
.residance-list-heading > span { font-size: 12px; color: var(--muted); }
.residance-list { margin: 0; padding: 0; list-style: none; }
.residance-list li { border-bottom: 1px solid var(--line); }
.residance-list button { display: flex; align-items: center; gap: 16px; text-align: left; width: 100%; padding: 16px 12px; min-height: 60px; border: 0; border-radius: var(--radius-control); background: transparent; color: var(--ink); cursor: pointer; font-size: 14px; line-height: 1.4; }
.residance-list button:hover { background: var(--panel); }
.residance-list button[aria-current="true"] { background: var(--panel-2); box-shadow: inset 3px 0 var(--cyan); }
.residance-list button .ui-icon { width: 18px; height: 18px; color: var(--cyan); }
.residance-episode-name { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.residance-episode-duration { font-size: 12px; font-variant-numeric: tabular-nums; color: var(--muted); white-space: nowrap; }
.residance-list-footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 16px; }
.residance-list-footer p { font-size: 12px; color: var(--muted); margin: 0; }
#residance-more { flex: none; }
#residance-more[hidden] { display: none; }
#residance-more:disabled { opacity: .5; cursor: wait; }
@media (max-width: 1000px) {
  .residance-layout { grid-template-columns: minmax(200px, 260px) minmax(0, 1fr); gap: 24px; }
  .residance-autonext { display: none; }
  .nav { display: none; }
  .mobile-nav { display: flex; align-items: center; gap: 16px; padding-block: 9px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 12px; }
  .mobile-nav a { display: inline-flex; align-items: center; min-height: 36px; padding: 5px 2px; }
}
@media (max-width: 700px) {
  .mobile-nav { flex-wrap: wrap; justify-content: flex-start; column-gap: 16px; }
  .mobile-nav a { min-height: 36px; display: inline-flex; align-items: center; }
  .residance-section { padding-block: 48px 24px; }
  .residance-heading { display: block; margin-block: 24px; }
  .residance-heading > a { margin-top: 16px; }
  .residance-layout { display: block; }
  .residance-artwork { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; }
  .residance-artwork img { width: 120px; height: 120px; flex: none; }
  .residance-artwork p { max-width: 170px; margin: 0; }
  .residance-list button { padding: 16px 8px; gap: 12px; }
  .residance-list-heading { align-items: flex-start; }
  .residance-list-heading > span { text-align: right; max-width: 135px; }
  .residance-list-footer { align-items: stretch; flex-direction: column; }
}

/* ResiDANCE: approved energy-ring backdrop and a compact, opaque control deck. */
.residance-player { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; gap: 32px; min-height: 340px; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius-panel); background: var(--bg); }
.residance-scenery { position: absolute; z-index: -1; inset: 0; overflow: hidden; pointer-events: none; background: radial-gradient(ellipse at 50% 46%, #152b43, #0d1225 54%, var(--bg) 83%); opacity: .8; }
.residance-scenery::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, #090e191f, transparent 35%, #090e1966 58%, #090e19da); }
.residance-energy-field { position: absolute; width: 390px; height: 390px; left: 50%; top: -28px; transform: translateX(-50%); }
.residance-energy-field i { position: absolute; inset: 0; border: 1px solid #65dae458; border-radius: 50%; box-shadow: 0 0 22px #62cfec24, inset 0 0 20px #5a98d014; }
.residance-energy-field i:nth-child(2) { inset: 30px; border-width: 3px; border-color: #79dfe325 transparent #79dfe365; animation: residance-orbit 28s linear infinite; }
.residance-energy-field i:nth-child(3) { inset: 65px; border-style: dashed; border-color: #9785d67a; animation: residance-orbit 45s linear infinite reverse; }
.residance-energy-field i:nth-child(4) { inset: 97px; border-color: #71e6e840; box-shadow: 0 0 36px #4ddbd94a; }
.residance-sweep { position: absolute; top: -5px; left: 50%; width: 310px; height: 310px; margin-left: -155px; border-radius: 50%; background: conic-gradient(transparent 70%, #6cd9e600 75%, #6cd9e622 98%, transparent); animation: residance-orbit 18s linear infinite; }
.residance-stars { position: absolute; inset: 0; background: radial-gradient(circle at 18% 28%, #79e9ff 0 1px, transparent 2px), radial-gradient(circle at 83% 35%, var(--residance-violet) 0 2px, transparent 3px), radial-gradient(circle at 32% 59%, var(--cyan) 0 1px, transparent 2px); animation: residance-stars 6s ease-in-out infinite alternate; }
.residance-orbital-line { position: absolute; top: 113px; left: -10%; right: -10%; height: 90px; border: 1px solid #9c85dc4d; border-radius: 50%; transform: rotate(-18deg); box-shadow: 0 0 12px #9975ef19; }
.residance-scene-label { font-size: 12px; font-weight: 700; line-height: 1.4; letter-spacing: .04em; }
.residance-scene-label small { display: block; margin-top: 3px; font-size: 11px; font-weight: 400; color: var(--muted); letter-spacing: .08em; }
.residance-deck { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 8px 16px; position: relative; padding: 16px 20px; width: 100%; max-width: 640px; align-self: center; background: #101a2af5; border: 1px solid #507887; border-radius: var(--radius-card); }
.residance-play-area { display: flex; align-items: center; justify-content: center; padding: 6px; }
.residance-play { position: relative; display: grid; place-items: center; flex: none; width: 84px; height: 84px; padding: 0; border: 1px solid var(--cyan); border-radius: 50%; background: radial-gradient(circle at 45% 35%, #1c3e50, #111b2d 72%); color: #98f4ff; box-shadow: inset 0 0 16px #5edeec1c, 0 0 18px #54ced321; cursor: pointer; transition: box-shadow .4s, transform .2s; }
.residance-play .ui-icon { width: 28px; height: 28px; filter: drop-shadow(0 0 6px #4fd5de80); }
.residance-button-orbit { position: absolute; inset: -7px; border: 2px solid transparent; border-top-color: #78e8e4; border-right-color: #78e8e433; border-radius: 50%; pointer-events: none; opacity: .6; animation: residance-orbit 12s linear infinite; }
.residance-button-orbit.inner { inset: 5px; border-width: 1px; border-top-color: transparent; border-bottom-color: #a28dea99; border-left-color: #a28dea44; animation-direction: reverse; animation-duration: 16s; }
.residance-play:hover:not(:disabled) { box-shadow: 0 0 24px #63e8ed70, inset 0 0 18px #5edeec45; transform: scale(1.035); }
.residance-play:active:not(:disabled) { transform: scale(.96); }
.residance-play:disabled { opacity: .45; cursor: default; }
.residance-track { display: flex; align-items: center; gap: 12px; min-width: 0; }
.residance-track img { width: 48px; height: 48px; flex: none; object-fit: cover; border-radius: var(--radius-control); }
.residance-track > div { min-width: 0; }
.residance-label { display: block; color: var(--muted); font-size: 11px; line-height: 1.4; letter-spacing: .03em; }
.residance-player h3 { font-size: 18px; line-height: 1.3; font-weight: 650; letter-spacing: -.025em; margin: 4px 0 0; overflow-wrap: anywhere; }
#residance-date { color: var(--muted); font-size: 12px; line-height: 1.4; margin: 4px 0 0; }
.residance-timeline { grid-column: 1 / -1; min-width: 0; }
.residance-player input[type="range"] { appearance: none; -webkit-appearance: none; display: block; width: 100%; height: 32px; margin: 0; background: transparent; accent-color: var(--cyan); cursor: pointer; }
.residance-player input[type="range"]::-webkit-slider-runnable-track { height: 3px; border-radius: 2px; background: linear-gradient(to right, var(--cyan) 0%, var(--cyan) var(--fill, 0%), #354558 var(--fill, 0%), #354558 100%); }
.residance-player input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 12px; height: 12px; border: 0; border-radius: 50%; background: #adeaf0; margin-top: -4.5px; }
.residance-player input[type="range"]::-moz-range-track { height: 3px; background: #354558; }
.residance-player input[type="range"]::-moz-range-progress { height: 3px; background: var(--cyan); }
.residance-player input[type="range"]::-moz-range-thumb { width: 12px; height: 12px; border: 0; border-radius: 50%; background: #adeaf0; }
.residance-player input[type="range"]:disabled { opacity: .5; cursor: default; }
.residance-timing { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; color: var(--muted); font-size: 11px; font-variant-numeric: tabular-nums; }
.residance-timing > span { flex: none; }
#residance-status { font-size: 12px; line-height: 1.4; min-height: 34px; margin: 0; text-align: center; color: var(--muted); }
.residance-player[data-state="playing"] #residance-status { color: var(--listener-green); }
.residance-player[data-state="error"] #residance-status { color: #f1a5aa; }
.residance-deck-footer { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; }
.residance-controls, .residance-volume-controls { display: flex; align-items: center; gap: 4px; }
.residance-icon-button { display: grid; place-items: center; width: 44px; height: 44px; flex: none; padding: 0; border: 0; border-radius: var(--radius-control); background: transparent; color: #c6d3de; cursor: pointer; transition: color .2s, background .2s; }
.residance-icon-button .ui-icon { width: 18px; height: 18px; }
.residance-icon-button:hover:not(:disabled) { color: #80e7ee; background: #233549; }
.residance-icon-button:active:not(:disabled) { transform: translateY(1px); }
.residance-icon-button:disabled { opacity: .35; cursor: default; }
.residance-autonext { color: var(--muted); font-size: 11px; }
#residance-volume-slider { width: 74px; }
#residance-volume-value { color: var(--muted); font-size: 11px; font-variant-numeric: tabular-nums; width: 30px; text-align: right; }
.residance-device-volume { flex-basis: 100%; font-size: 11px; margin: 0; text-align: right; color: var(--muted); }
.residance-player [hidden] { display: none !important; }
.residance-equalizer { position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); height: 20px; display: flex; gap: 4px; align-items: flex-end; opacity: .25; pointer-events: none; }
.residance-equalizer i { width: 3px; height: 3px; background: var(--cyan); border-radius: 2px 2px 0 0; }
.residance-player[data-state="playing"] .residance-equalizer { opacity: .7; }
.residance-player[data-state="playing"] .residance-equalizer i { animation: residance-equalizer .8s ease-in-out infinite alternate; }
.residance-equalizer i:nth-child(3n) { animation-delay: -.4s; --bar: 18px; }
.residance-equalizer i:nth-child(3n + 1) { animation-delay: -.65s; --bar: 12px; }
.residance-equalizer i:nth-child(3n + 2) { animation-delay: -.2s; --bar: 8px; }
.residance-player[data-state="playing"] .residance-play { animation: residance-breathe 2.4s ease-in-out infinite; }
.residance-player[data-state="playing"] .residance-button-orbit { opacity: 1; animation-duration: 5s; }
.residance-player[data-state="playing"] .residance-button-orbit.inner { animation-duration: 8s; }
.residance-player[data-state="connecting"] .residance-button-orbit { animation-duration: 2s; }
@keyframes residance-orbit { to { transform: rotate(360deg); } }
@keyframes residance-stars { to { opacity: .35; transform: translateY(5px); } }
@keyframes residance-equalizer { to { height: var(--bar, 14px); } }
@keyframes residance-breathe { 0%, 100% { box-shadow: 0 0 20px #65e5ec55, inset 0 0 12px #5edeec40; } 50% { box-shadow: 0 0 36px #65e5ec88, inset 0 0 24px #5edeec55; } }
@media (max-width: 1100px) {
  .residance-deck { grid-template-columns: 92px minmax(0, 1fr); padding: 16px; gap: 8px 12px; }
  .residance-track img { display: none; }
  .residance-autonext { display: none; }
}
@media (max-width: 700px) {
  .residance-player { padding: 16px; min-height: 332px; gap: 32px; }
  .residance-deck { grid-template-columns: 84px minmax(0, 1fr); padding: 12px; gap: 8px; }
  .residance-play { width: 68px; height: 68px; }
  .residance-player h3 { font-size: 16px; }
  .residance-player input[type="range"] { height: 44px; }
  #residance-status { font-size: 11px; min-height: 32px; }
  .residance-volume-controls, .residance-controls { gap: 0; }
  #residance-volume-slider { width: 62px; }
  #residance-volume-value { display: none; }
}
@media (max-width: 360px) {
  .residance-player { padding: 12px; }
  .residance-deck { padding: 10px; grid-template-columns: 76px minmax(0, 1fr); gap: 8px 6px; }
}
@media (prefers-reduced-motion: reduce) {
  .residance-scenery *, .residance-button-orbit, .residance-play, .residance-equalizer i { animation: none !important; transition: none !important; }
}

/* Shared remote: stays out of the way while its full player is visible. */
.ui-icon-search { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; }
.search { flex: none; }
.search .ui-icon { width: 18px; height: 18px; color: var(--muted); }
.listening-dock { position: fixed; z-index: 40; bottom: max(20px, env(safe-area-inset-bottom)); left: 50%; transform: translateX(-50%); width: min(660px, calc(100% - 32px)); display: flex; align-items: center; gap: 12px; padding: 12px 16px; border: 1px solid #507887; border-radius: var(--radius-panel); background: #111a29; box-shadow: 0 8px 32px #0007; }
.listening-dock[hidden] { display: none; }
.listening-dock > img { width: 44px; height: 44px; object-fit: cover; border-radius: var(--radius-control); flex: none; }
.dock-track { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.dock-track strong { font-size: 14px; font-weight: 650; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dock-track span { font-size: 11px; color: var(--muted); }
.dock-track:hover strong { color: var(--cyan); }
.dock-toggle, .dock-mute { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border: 0; padding: 0; border-radius: 50%; cursor: pointer; transition: background .2s; }
.dock-toggle { background: var(--cyan); color: #071c25; }
.dock-toggle:hover { background: #9de9ed; }
.dock-toggle:active, .dock-mute:active { transform: scale(.96); }
.dock-mute { color: var(--muted); background: transparent; border-radius: var(--radius-control); }
.dock-mute:hover { color: var(--ink); background: var(--panel-2); }
.dock-toggle .ui-icon, .dock-mute .ui-icon { width: 20px; height: 20px; }
#dock-volume { appearance: none; -webkit-appearance: none; width: 72px; height: 32px; flex: none; background: transparent; margin: 0; cursor: pointer; }
#dock-volume::-webkit-slider-runnable-track { height: 3px; border-radius: 2px; background: linear-gradient(to right, var(--cyan) var(--fill, 75%), var(--line) var(--fill, 75%)); }
#dock-volume::-webkit-slider-thumb { appearance: none; -webkit-appearance: none; width: 12px; height: 12px; margin-top: -4.5px; border-radius: 50%; background: var(--ink); border: 0; }
#dock-volume::-moz-range-track { height: 3px; background: var(--line); }
#dock-volume::-moz-range-progress { height: 3px; background: var(--cyan); }
#dock-volume::-moz-range-thumb { width: 12px; height: 12px; border: 0; border-radius: 50%; background: var(--ink); }
#dock-volume[hidden] { display: none; }
.dock-signal { display: flex; align-items: center; gap: 3px; height: 22px; width: 21px; color: var(--cyan); }
.dock-signal i { width: 3px; height: 5px; border-radius: 1px; background: currentColor; }
.dock-signal i:nth-child(2) { height: 14px; animation-delay: -.4s; }
.dock-signal i:nth-child(3) { height: 20px; animation-delay: -.7s; }
.dock-signal i:nth-child(4) { height: 10px; animation-delay: -.2s; }
.listening-dock[data-state="playing"] .dock-signal i { animation: wave .9s ease-in-out infinite alternate; }
.listening-dock[data-state="connecting"] .dock-signal { animation: blink 1.5s infinite; color: #edbe78; }
.listening-dock[data-state="error"] .dock-track span { color: #f1a5aa; }
.has-listening-dock { padding-bottom: 104px; }
.has-listening-dock :focus-visible { scroll-margin-bottom: 116px; }
@media (max-width: 1000px) {
  .catalog-toolbar { flex-direction: column; gap: 16px; }
  .search { width: 100%; }
}
@media (max-width: 700px) {
  .listening-dock { padding: 10px; gap: 8px; bottom: max(12px, env(safe-area-inset-bottom)); }
  .listening-dock > img { width: 40px; height: 40px; }
  .dock-track strong { font-size: 13px; }
  .dock-track span { font-size: 10px; }
  .dock-signal, #dock-volume { display: none; }
  .catalog-toolbar { padding-block: 16px; }
  .filter { min-height: 40px; padding-inline: 12px; }
  .filter-caption { display: block; }
}
@media (prefers-reduced-motion: reduce) {
  .dock-signal, .dock-signal i { animation: none !important; }
}

/* Approved local preview: Magnetic core and recordings in the shared player. */
.reactor-console::before { inset: 25%; box-shadow: none; background: radial-gradient(circle, color-mix(in srgb, var(--cyan) 12%, transparent), transparent 70%); }
.reactor-console::after { display: none; }
#magnetic-core { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.reactor-panel .live-toggle { width: 36%; height: 36%; border-width: 1px; background: radial-gradient(circle at 45% 35%, #16374c, #0b1828 72%); }
.reactor-panel .live-toggle svg { width: 35%; height: 35%; }
.reactor-panel .player-headings h2 { overflow-wrap: anywhere; }
.reactor-panel .player-cover.podcast-cover { height: auto; aspect-ratio: 1; }
.reactor-panel .player-cover.podcast-cover .cover-image { width: 100%; height: 100%; object-fit: contain; transform: none; }
.reactor-caption { font-size: 10px; letter-spacing: .12em; }
.recording-controls { margin-top: 24px; }
.recording-controls[hidden], .catalog-episodes[hidden], .catalog-toolbar [hidden], #station-grid[hidden], .catalog-meta[hidden] { display: none !important; }
.recording-time { display: flex; justify-content: space-between; color: var(--muted); font-size: 12px; font-variant-numeric: tabular-nums; }
#residance-seek { appearance: none; -webkit-appearance: none; display: block; width: 100%; height: 36px; margin: 0; background: transparent; cursor: pointer; accent-color: var(--cyan); }
#residance-seek::-webkit-slider-runnable-track { height: 4px; border-radius: 2px; background: linear-gradient(to right, var(--cyan) var(--fill, 0%), var(--line) var(--fill, 0%)); }
#residance-seek::-webkit-slider-thumb { appearance: none; -webkit-appearance: none; width: 12px; height: 12px; margin-top: -4px; border: 0; border-radius: 50%; background: var(--cyan); }
#residance-seek::-moz-range-track { height: 4px; background: var(--line); }
#residance-seek::-moz-range-progress { height: 4px; background: var(--cyan); }
#residance-seek::-moz-range-thumb { width: 12px; height: 12px; border: 0; border-radius: 50%; background: var(--cyan); }
#residance-seek:disabled { opacity: .45; cursor: default; }
.recording-actions { display: flex; align-items: center; gap: 12px; }
.recording-actions span { color: var(--muted); font-size: 11px; }
.recording-actions button { width: 44px; height: 44px; flex: none; display: grid; place-items: center; border: 0; border-radius: var(--radius-control); background: transparent; color: var(--cyan); cursor: pointer; }
.recording-actions button:hover:not(:disabled) { background: var(--panel-2); }
.recording-actions button:active:not(:disabled) { transform: scale(.96); }
.recording-actions button:disabled { opacity: .3; cursor: default; }
.catalog-residance { position: relative; isolation: isolate; overflow: hidden; }
.catalog-residance::before { content: ''; position: absolute; inset: -100%; z-index: -2; background: conic-gradient(from 0deg, transparent 15%, var(--residance-gold) 25%, transparent 40%, transparent 65%, var(--residance-gold) 75%, transparent 90%); animation: residance-orbit 8s linear infinite; opacity: .7; pointer-events: none; }
.catalog-residance::after { content: ''; position: absolute; inset: 1px; border-radius: 2px; background: var(--bg); z-index: -1; pointer-events: none; }
.catalog-residance.active { color: var(--residance-gold); border-color: var(--residance-gold); }
.catalog-residance.active::after { background: #292319; }
.catalog-episodes { margin-top: 32px; }
.catalog-episodes .residance-heading { margin: 20px 0 24px; }
.catalog-episodes .residance-heading h3 { margin: 0 0 8px; font-size: 32px; line-height: 1.15; letter-spacing: -.02em; }
.catalog-episodes .residance-heading p { font-size: 14px; }
.catalog-episodes .residance-list-heading h4 { font-size: 16px; font-weight: 600; margin: 0; }
.catalog-episodes .residance-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.catalog-episodes .residance-list li { border: 0; min-width: 0; }
.catalog-episodes .residance-list button { position: relative; isolation: isolate; overflow: hidden; gap: 16px; min-height: 100px; padding: 16px 20px; border: 1px solid var(--line); border-radius: var(--radius-card); background: var(--panel); box-shadow: none; transition: background .3s, border-color .3s; }
.catalog-episodes .residance-list button > img { width: 56px; height: 56px; object-fit: cover; flex: none; border-radius: var(--radius-control); }
.catalog-episodes .residance-episode-name { display: flex; flex-direction: column; gap: 4px; position: relative; }
.catalog-episodes .residance-episode-name strong { font-weight: 650; font-size: 16px; line-height: 1.3; }
.catalog-episodes .residance-episode-name small { color: var(--muted); font-size: 12px; }
.episode-state { font-size: 11px; color: var(--cyan); min-height: 15px; }
.catalog-episodes .residance-list button > .ui-icon { width: 20px; height: 20px; flex: none; }
.catalog-episodes .residance-list button:hover { border-color: color-mix(in srgb, var(--cyan) 60%, var(--line)); background: var(--panel-2); }
.catalog-episodes .residance-list button:active { transform: translateY(1px); }
.catalog-episodes .residance-list button[aria-current="true"] { border-color: var(--cyan); background: var(--panel-2); }
.catalog-episodes .residance-list button.is-playing { animation: episode-row-breath var(--episode-breath-cycle) ease-in-out infinite; }
.catalog-episodes .residance-list button.is-playing::before { content: ''; position: absolute; z-index: -1; inset: 0; pointer-events: none; background: linear-gradient(100deg, transparent 10%, color-mix(in srgb, var(--cyan) 18%, transparent) 46%, transparent 80%); background-size: 220% 100%; animation: episode-light-wash var(--episode-breath-cycle) ease-in-out infinite; }
.catalog-episodes .residance-list button.is-connecting { border-color: var(--residance-gold); }
@keyframes episode-row-breath { 0%, 100% { border-color: color-mix(in srgb, var(--cyan) 45%, var(--line)); box-shadow: inset 0 0 12px color-mix(in srgb, var(--cyan) 3%, transparent), 0 0 5px color-mix(in srgb, var(--cyan) 3%, transparent); } 50% { border-color: var(--cyan); box-shadow: inset 0 0 28px color-mix(in srgb, var(--cyan) 10%, transparent), 0 0 18px color-mix(in srgb, var(--cyan) 15%, transparent); } }
@keyframes episode-light-wash { 0%, 100% { background-position: 100% 50%; opacity: .15; } 50% { background-position: 0% 50%; opacity: 1; } }
@media (max-width: 1000px) { .catalog-episodes .residance-list { grid-template-columns: 1fr; } }
@media (max-width: 700px) {
  .catalog-episodes .residance-list button { padding: 12px; gap: 12px; }
  .catalog-episodes .residance-list button > img { width: 48px; height: 48px; }
  .catalog-episodes .residance-episode-name strong { font-size: 14px; }
  .catalog-episodes .residance-episode-name small { font-size: 11px; }
  .catalog-episodes .residance-list-heading { flex-direction: column; gap: 8px; }
  .catalog-episodes .residance-list-heading > span { max-width: none; text-align: left; }
  .catalog-episodes .residance-heading { margin-bottom: 24px; }
  .recording-actions { gap: 8px; }
  .reactor-caption { font-size: 9px; }
}
@media (max-width: 400px) { .catalog-episodes .residance-episode-duration { display: none; } }
@media (prefers-reduced-motion: reduce) { .catalog-residance::before, .catalog-episodes .residance-list button, .catalog-episodes .residance-list button::before { animation: none !important; } }
