/* Radio studio: decorative console, responsive directory and live monitor. */
.rt-page, .rt-live-panel, .rt-player {
    --rt-surface: var(--surface);
    --rt-surface-2: var(--surface-2);
    --rt-border: var(--line);
    --rt-text: var(--text);
    --rt-muted: var(--muted);
    --rt-accent: var(--accent);
    --rt-red: var(--accent);
    --rt-green: var(--accent);
}
.rt-studio-nav { display:flex; align-items:center; justify-content:space-between; gap:16px; margin-bottom:24px; }
.rt-studio-nav .rt-back { margin:0; }
.rt-studio-wordmark { display:flex; align-items:center; gap:9px; font-size:10px; letter-spacing:1.5px; }
.rt-studio-wordmark i { color:var(--rt-accent); }
.rt-studio-wordmark b { color:var(--rt-muted); font-weight:400; }
.rt-hero { color:var(--text); gap:42px; padding:40px; margin-bottom:24px; border-radius:20px; background:radial-gradient(ellipse at 85% 0%,color-mix(in srgb, var(--accent) 5%, transparent),transparent 55%),var(--surface); }
.rt-hero h1 { font-size:clamp(38px,4.3vw,60px); line-height:1.07; letter-spacing:-2.8px; }
.rt-hero h1 em { color:var(--rt-accent); }
.rt-live-badge { font-size:9px; letter-spacing:2px; color:var(--accent); margin-bottom:20px; }
.rt-live-badge>span { box-shadow:0 0 12px color-mix(in srgb, var(--accent) 38%, transparent); }
.rt-hero p { margin:20px 0 24px; font-size:13px; color:var(--muted); }
.rt-hero-cta { color:#fff; background:var(--blue); border-radius:9px; padding:15px 18px; }
.rt-hero-cta:hover { color:#fff; background:var(--blue-hover); }
.rt-hero-stats { gap:24px; margin-top:28px; padding-top:22px; border-top:1px solid var(--line); }
.rt-hero-stats strong { font-size:20px; font-variant-numeric:tabular-nums; }
.rt-hero-stats span { font-size:9px; color:var(--muted); }
.rt-studio-console { min-width:0; padding:20px; border:1px solid var(--line); border-radius:16px; background:linear-gradient(145deg,var(--surface-2),var(--surface) 45%,var(--surface-2)); box-shadow:0 24px 50px #0005,0 1px 0 #ffffff12 inset; transform:rotate(-2deg); color:var(--muted); font-family:ui-monospace,SFMono-Regular,Consolas,monospace; }
.rt-console-top,.rt-screen-caption,.rt-screen-scale,.rt-console-bottom { display:flex; justify-content:space-between; align-items:center; gap:8px; }
.rt-console-top { font-size:8px; letter-spacing:1px; margin-bottom:18px; }
.rt-console-top>span:first-child { display:flex; align-items:center; gap:7px; background:color-mix(in srgb, var(--accent) 7%, transparent); color:var(--accent); border:1px solid color-mix(in srgb, var(--accent) 21%, transparent); padding:6px 8px; border-radius:4px; }
.rt-console-top>span>i { width:5px; height:5px; border-radius:50%; background:var(--accent); box-shadow:0 0 10px color-mix(in srgb, var(--accent) 50%, transparent); }
.rt-console-top>.fa-headphones { font-size:15px; }
.rt-console-screen { padding:16px; border:1px solid var(--line); border-radius:8px; background:repeating-linear-gradient(0deg,transparent,transparent 23px,color-mix(in srgb, var(--accent) 3%, transparent) 24px),var(--input); box-shadow:0 3px 14px #0007 inset; }
.rt-screen-caption { color:var(--accent); font-size:7px; letter-spacing:.8px; }
.rt-spectrum { height:112px; display:flex; align-items:end; gap:4px; padding:20px 0 12px; }
.rt-spectrum i { flex:1; height:var(--level); border-radius:2px 2px 0 0; background:repeating-linear-gradient(to top,transparent 0 5px,var(--input) 5px 7px),linear-gradient(to top,var(--blue),var(--accent)); box-shadow:0 0 10px color-mix(in srgb, var(--accent) 4%, transparent); }
.rt-screen-scale { border-top:1px solid color-mix(in srgb, var(--accent) 15%, transparent); padding-top:9px; font-size:7px; color:var(--muted); }
.rt-console-deck { display:grid; grid-template-columns:1.4fr 1fr; gap:20px; margin-top:20px; }
.rt-fader-bank { display:grid; grid-template-columns:repeat(4,1fr); gap:10px; }
.rt-fader { text-align:center; font-size:6px; letter-spacing:.5px; }
.rt-fader-track { position:relative; height:80px; margin:10px auto; width:26px; background:repeating-linear-gradient(to bottom,var(--line) 0 1px,transparent 1px 10px); }
.rt-fader-track::before { content:''; position:absolute; width:5px; inset:0 auto 0 50%; transform:translateX(-50%); background:var(--input); border-radius:4px; box-shadow:1px 0 #ffffff15; }
.rt-fader-track i { position:absolute; top:var(--position); left:-2px; width:30px; height:15px; border:1px solid var(--line); border-radius:3px; background:linear-gradient(var(--muted),var(--surface-2) 45%,var(--accent) 48%,var(--accent) 55%,var(--surface) 58%); box-shadow:0 4px 5px #0008; }
.rt-fader b { font-size:7px; font-weight:400; color:var(--muted); }
.rt-console-dial { display:flex; flex-direction:column; align-items:center; justify-content:center; border-left:1px solid var(--line); gap:12px; font-size:6px; letter-spacing:1px; }
.rt-dial { width:74px; height:74px; padding:7px; border:2px solid color-mix(in srgb, var(--accent) 56%, transparent); border-bottom-color:var(--line); border-radius:50%; transform:rotate(25deg); }
.rt-dial i { display:block; width:100%; height:100%; position:relative; border-radius:50%; background:linear-gradient(140deg,var(--surface-2),var(--surface)); border:1px solid var(--line); box-shadow:3px 5px 7px #0007; }
.rt-dial i::before { content:''; position:absolute; width:3px; height:12px; left:calc(50% - 1px); top:4px; background:var(--accent); border-radius:2px; }
.rt-console-leds { display:flex; gap:5px; }
.rt-console-leds i { width:9px; height:4px; background:var(--accent); border-radius:1px; box-shadow:0 0 7px color-mix(in srgb, var(--accent) 19%, transparent); }
.rt-console-leds i:last-child { background:var(--line); box-shadow:none; }
.rt-console-bottom { padding-top:15px; margin-top:17px; border-top:1px solid var(--line); font-size:6px; letter-spacing:1px; }
.rt-live-panel { --rt-surface:var(--surface); --rt-surface-2:var(--input); --rt-border:var(--line); --rt-text:var(--text); --rt-muted:var(--muted); --rt-green:var(--accent); border-color:var(--line); border-radius:16px; background:linear-gradient(120deg,color-mix(in srgb, var(--accent) 2%, transparent),transparent 50%),var(--rt-surface); box-shadow:0 8px 30px #0001; }
.rt-live-panel-head h2 { font-size:23px; }
.rt-onair-icon { border-radius:12px; }
.rt-program,.rt-live-audiences>div { border-radius:10px; }
.rt-live-audiences>div { background:var(--rt-surface-2); }
.rt-live-audiences strong { font-family:ui-monospace,SFMono-Regular,Consolas,monospace; font-weight:500; }
.rt-live-disclaimer { font-size:10px; }
.rt-stations-area { padding-top:12px; }
.rt-section-title { margin-bottom:22px; }
.rt-section-title .rt-kicker { color:var(--rt-muted); letter-spacing:2px; }
.rt-section-title h2 { font-size:30px; letter-spacing:-1.2px; }
.rt-section-title h2>span { color:var(--rt-accent); }
.rt-result-count { padding:7px 11px; border:1px solid var(--rt-border); border-radius:6px; font-size:10px; }
.rt-search,.rt-select-wrap { border-radius:9px; }
.rt-search input,.rt-select-wrap select { min-height:48px; }
.rt-search:focus-within,.rt-select-wrap:focus-within { border-color:var(--accent); }
.rt-tabs { border-radius:9px; }
.rt-tabs button { border-radius:6px; }
.rt-tabs button[aria-pressed=true] { background:var(--blue); color:#fff; box-shadow:none; }
.rt-card { position:relative; border-radius:12px; background:linear-gradient(140deg,#ffffff03,transparent 55%),var(--rt-surface); }
.rt-card:hover { transform:translateY(-3px); border-color:color-mix(in srgb, var(--accent) 44%, transparent); box-shadow:0 12px 24px #0002; }
.rt-card.is-current { border-color:var(--accent); box-shadow:0 0 0 1px color-mix(in srgb, var(--accent) 19%, transparent); }
.rt-logo-wrap { border-radius:12px; box-shadow:0 4px 16px #0002; }
.rt-favorite { width:36px; height:36px; }
.rt-card-meta { font-size:9px; }
.rt-card h3 { font-size:17px; }
.rt-card-live { color:var(--rt-green); }
.rt-play-btn { border-radius:7px; min-height:42px; }
.rt-play-btn:hover:not(:disabled),.rt-play-btn.is-playing { background:var(--blue); border-color:var(--blue); color:#fff; }
.rt-play-icon { border-radius:5px; }
.rt-station-details { min-height:34px; margin-bottom:10px; }
.rt-audience-strip { border-radius:12px; }
.rt-player { color:var(--text); border-color:var(--line); border-radius:14px; background:linear-gradient(120deg,color-mix(in srgb, var(--surface-2) 97%, transparent),color-mix(in srgb, var(--surface) 97%, transparent)); }
.rt-player::before { background:linear-gradient(90deg,transparent,var(--accent),transparent); }
.rt-player-toggle { background:var(--blue); color:#fff; box-shadow:0 4px 20px color-mix(in srgb, var(--accent) 13%, transparent); }
.rt-player-toggle:hover { background:var(--blue-hover); }
.rt-player-volume input { accent-color:var(--accent); }
.rt-page :focus-visible,.rt-player :focus-visible { outline-color:var(--accent); }
@media(max-width:1199px) {
    .rt-hero { padding:32px; gap:28px; }
    .rt-studio-console { padding:15px; }
    .rt-console-top { font-size:7px; letter-spacing:.5px; }
}
@media(max-width:991px) {
    .rt-hero { grid-template-columns:1fr 1fr; padding:28px; gap:24px; }
    .rt-hero h1 { font-size:40px; letter-spacing:-2px; }
    .rt-hero-stats { gap:15px; }
    .rt-hero-stats span { font-size:8px; }
    .rt-console-top>span:nth-child(2) { display:none; }
    .rt-console-deck { gap:10px; }
    .rt-fader-bank { gap:4px; }
    .rt-dial { width:55px; height:55px; }
    .rt-console-bottom { font-size:5px; letter-spacing:.5px; }
}
@media(max-width:767px) {
    .rt-hero { grid-template-columns:1fr; gap:30px; }
    .rt-hero h1 { font-size:48px; }
    .rt-hero-copy { max-width:100%; }
    .rt-hero p { max-width:100%; }
    .rt-studio-console { transform:none; width:100%; max-width:440px; justify-self:center; }
    .rt-console-top>span:nth-child(2) { display:block; }
    .rt-console-deck { display:none; }
    .rt-console-bottom { font-size:6px; }
    .rt-spectrum { height:82px; }
    .rt-section-title h2 { font-size:25px; }
}
@media(max-width:575px) {
    .rt-studio-nav { margin-bottom:18px; gap:10px; }
    .rt-studio-wordmark { font-size:8px; gap:6px; letter-spacing:1px; }
    .rt-studio-wordmark b { display:none; }
    .rt-back { font-size:10px; }
    .rt-hero { display:grid; padding:24px 20px; border-radius:14px; gap:24px; }
    .rt-hero h1 { font-size:clamp(34px,9vw,48px); letter-spacing:-1.8px; }
    .rt-hero p { font-size:12px; }
    .rt-hero-stats { justify-content:space-between; gap:10px; margin-top:24px; padding-top:18px; }
    .rt-hero-stats strong { font-size:19px; }
    .rt-hero-stats span { font-size:8px; }
    .rt-studio-console { padding:12px; border-radius:10px; }
    .rt-console-top { margin-bottom:12px; }
    .rt-console-screen { padding:12px; }
    .rt-screen-caption { font-size:6px; letter-spacing:0; }
    .rt-spectrum { gap:3px; height:70px; padding-top:14px; }
    .rt-console-bottom { margin-top:12px; padding-top:12px; font-size:5px; }
    .rt-live-panel { border-radius:14px; }
    .rt-live-panel.is-fixed { border-radius:12px; }
    .rt-live-panel-head h2 { font-size:21px; }
    .rt-live-audiences { gap:8px; }
    .rt-live-audiences>div { padding:12px; }
    .rt-section-title { align-items:center; gap:10px; }
    .rt-section-title h2 { font-size:22px; letter-spacing:-.8px; }
    .rt-section-title .rt-kicker { font-size:7px; letter-spacing:1.4px; }
    .rt-result-count { padding:6px 8px; font-size:9px; }
    .rt-card h3 { font-size:14px; }
    .rt-favorite { width:32px; height:32px; }
    .rt-logo-wrap { width:44px; height:44px; border-radius:9px; }
    .rt-logo-wrap img { width:38px; height:38px; }
    .rt-broadcaster-count { flex-wrap:wrap; gap:4px; }
    .rt-card-body { padding:14px 12px 12px; }
    .rt-card-body>p { margin-bottom:16px; }
    .rt-station-details { font-size:8px; gap:6px; }
    .rt-player { color:var(--text); border-color:var(--line); border-radius:14px; }
}

/* Keep live controls in the same palette when detached from the page on scroll. */
.rt-onair-icon { background:var(--blue-soft); border-color:var(--line); }
.rt-onair-dot { box-shadow:0 0 0 4px var(--blue-soft); }
.rt-live-panel :focus-visible { outline-color:var(--accent); }
.rt-favorite:hover,.rt-favorite.is-favorite { background:var(--blue-soft); border-color:var(--accent); }
.rt-page :focus-visible { outline-color:var(--accent); }
.rt-player-station small,#rt-player-status,.rt-player-volume { color:var(--muted); }
.rt-player-live,.rt-player-bars i { color:var(--accent); }
.rt-player-bars i { background:var(--accent); }
.rt-player-close { background:var(--surface-2); color:var(--muted); }
.rt-player-close:hover { background:var(--blue-soft); color:var(--text); }
.rt-player-listeners { color:var(--accent); background:var(--blue-soft); border-color:var(--line); }
.rt-player.is-audience-stale .rt-player-listeners { color:var(--muted); background:var(--surface-2); border-color:var(--line); }
.rt-player.has-error #rt-player-status { color:var(--danger); }
