/* Shared refinements. Player theme variables remain owned by saved settings. */
body{font-family:"Segoe UI Variable Text","Segoe UI",system-ui,sans-serif;--muted:color-mix(in srgb,var(--text) 68%,var(--surface));--line:color-mix(in srgb,var(--text) 14%,var(--surface))}
[hidden]{display:none!important}button,a{touch-action:manipulation}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid var(--accent);outline-offset:3px}
body:not(.is-embed){background:radial-gradient(ellipse at 95% 5%,color-mix(in srgb,var(--accent) 7%,transparent),transparent 42%),var(--bg)}
body:not(.is-embed) .app-shell{max-width:1390px;padding:0 40px}body:not(.is-embed) .topbar{height:98px;gap:24px}body:not(.is-embed) .rg-header-logo{background:#112c50;border-radius:12px;padding:10px 16px;max-width:235px!important}body:not(.is-embed) .topbar .rg-header-logo img{max-height:38px}body:not(.is-embed) .topbar .rg-header-logo small{color:#d4e6f4;margin-top:4px;font-size:7px;letter-spacing:1.6px}.topbar-right{gap:12px}.admin-link{padding:10px 15px;border:1px solid var(--line);border-radius:9px;color:var(--text);font-size:12px}.admin-link:hover{background:var(--surface);border-color:var(--accent)}.live-indicator{margin-right:14px;color:var(--muted);font-size:10px}
body:not(.is-embed) .intro{padding:42px 0 30px;align-items:center}body:not(.is-embed) .intro h1{font-size:clamp(34px,4vw,52px);letter-spacing:-2px;line-height:1.15;margin:12px 0}body:not(.is-embed) .intro p{font-size:15px;line-height:1.6;max-width:640px}.intro-label{padding:18px 22px;border:1px solid var(--line);border-radius:14px;background:var(--surface);text-align:left}.intro-label>span{font-size:32px}.intro-label small{font-size:11px}.section-kicker{letter-spacing:1.8px;font-size:10px}
body:not(.is-embed) .layout:has(>.sidebar){gap:28px!important;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr)!important}
body:not(.is-embed) .layout:has(>.sidebar) .rg-feature-panel{gap:14px;min-height:0!important}body:not(.is-embed) .layout:has(>.sidebar) .rg-feature-panel>.now-playing{background:var(--surface);padding:23px!important;border-radius:18px;min-height:230px!important;box-shadow:0 10px 32px #172c4808;grid-template-columns:112px minmax(0,1fr) 62px!important;gap:18px!important}body:not(.is-embed) .layout:has(>.sidebar) .rg-feature-panel>.now-playing .now-cover{width:112px!important;height:112px!important;border-radius:13px}body:not(.is-embed) .layout:has(>.sidebar) .rg-feature-panel>.now-playing .now-copy h2{font-size:24px;line-height:1.2;margin:8px 0}body:not(.is-embed) .layout:has(>.sidebar) .rg-feature-panel>.now-playing .now-copy p{font-size:13px;line-height:1.5}body:not(.is-embed) .layout:has(>.sidebar) .rg-feature-panel>.now-playing .round-play{width:56px;height:56px;color:#fff;background:var(--accent)}.on-air{color:#fff;background:#c42b48}.rg-player-details{padding-top:14px;margin-top:3px;gap:7px}.rg-platform-credit{font-size:12px;line-height:1.5}.audio-status{line-height:1.5}.now-eyebrow{letter-spacing:1px}.share-button{min-height:32px}.round-play{transition:transform .18s,box-shadow .18s}.round-play:hover{transform:scale(1.05)}.now-playing:before{width:240px;height:240px;top:-170px;opacity:.09}
body:not(.is-embed) .layout:has(>.sidebar) .globe-box{padding:22px!important;background:var(--surface);border-radius:18px;box-shadow:0 10px 32px #172c4808;gap:12px!important;min-height:0!important}body:not(.is-embed) .sidebar-heading h3{font-size:19px}body:not(.is-embed) .metrics{padding:13px 0;gap:12px}body:not(.is-embed) .metrics strong{font-size:27px;color:var(--text);letter-spacing:-.8px}body:not(.is-embed) .metrics span{font-size:11px}.rg-country-name{color:var(--text)}body:not(.is-embed) .rg-country-row{border-color:var(--line)!important;background:color-mix(in srgb,var(--accent) 3%,var(--surface))!important;border-radius:9px!important;min-height:38px!important;padding:6px 8px!important}.rg-country-bar{background:color-mix(in srgb,var(--accent) 15%,var(--surface))}.rg-country-filter input{color:var(--text);background:var(--surface)}body:not(.is-embed) .footnote{font-size:10px;line-height:1.7}
body:not(.is-embed) .directory-heading{margin-top:36px!important;margin-bottom:20px!important;align-items:center}body:not(.is-embed) .directory-heading h2{font-size:28px;letter-spacing:-.9px;margin-top:8px}.directory-tools{gap:12px;margin-bottom:20px}.search-wrap input,.directory-tools select{height:50px;border-radius:11px;padding-top:13px;padding-bottom:13px;font-size:13px;box-shadow:0 2px 8px #172c4803}.search-wrap input{padding-left:42px}.search-wrap span{top:5px}.stations-grid{gap:16px}.station-card{background:var(--surface);border-radius:14px;padding:18px;min-height:122px;gap:16px;box-shadow:0 3px 14px #172c4803;transition:transform .18s,box-shadow .18s,border-color .18s}.station-card:hover{transform:translateY(-3px);box-shadow:0 8px 24px #172c4810}.station-card.active{background:color-mix(in srgb,var(--accent) 5%,var(--surface));box-shadow:inset 3px 0 var(--accent)}.station-card img{width:76px;height:76px;border-radius:12px}.station-detail strong{font-size:16px;font-weight:650;margin:6px 0}.station-detail small{font-size:12px;line-height:1.5}.station-category{font-size:9px;letter-spacing:1px}.footer{font-size:12px;padding:26px 0 32px;margin-top:38px}
.rg-share-dialog{background:var(--surface);color:var(--text);border-color:var(--line);box-shadow:0 24px 90px #071b3650}.rg-share-dialog input,.rg-share-dialog textarea{background:var(--bg);color:var(--text);border-color:var(--line)}.rg-share-dialog button,.rg-share-social a{color:var(--text);border-color:var(--line)}
/* Existing embeds keep their sizing, palette and automatic height contract. */
.is-embed .now-playing,.is-embed.embed-with-globe .layout{border-radius:16px}.is-embed .rg-part-label{letter-spacing:1.4px;font-size:9px}.is-embed .now-copy h2{line-height:1.3}.is-embed .metrics strong{letter-spacing:-.5px}.preview-no-globe .sidebar{display:none!important}.preview-no-globe .layout{display:block!important}.preview-no-globe .now-playing{min-height:180px!important}
@media(max-width:1100px){body:not(.is-embed) .layout:has(>.sidebar){grid-template-columns:1fr!important}body:not(.is-embed) .app-shell{padding:0 26px}body:not(.is-embed) .intro h1{font-size:40px}body:not(.is-embed) .layout:has(>.sidebar){gap:22px!important}body:not(.is-embed) .layout:has(>.sidebar) .rg-feature-panel>.now-playing{min-height:200px!important}}
@media(max-width:600px){body:not(.is-embed) .app-shell{padding:0 16px}body:not(.is-embed) .topbar{height:82px;gap:10px}body:not(.is-embed) .rg-header-logo{padding:8px 10px;max-width:145px!important}.topbar-right{gap:6px}.admin-link{font-size:10px;padding:9px 8px}.live-indicator{display:none}body:not(.is-embed) .intro{padding:30px 0 23px;align-items:flex-start;gap:12px}body:not(.is-embed) .intro h1{font-size:34px;letter-spacing:-1.3px}body:not(.is-embed) .intro p{font-size:13px}.intro-label{padding:12px;min-width:83px}.intro-label>span{font-size:26px}.intro-label small{font-size:9px;display:block;max-width:70px}.section-kicker{font-size:8px;letter-spacing:1.3px}body:not(.is-embed) .layout:has(>.sidebar) .rg-feature-panel>.now-playing{grid-template-columns:76px minmax(0,1fr) 44px!important;padding:16px!important;gap:11px!important;min-height:174px!important}body:not(.is-embed) .layout:has(>.sidebar) .rg-feature-panel>.now-playing .now-cover{width:76px!important;height:76px!important}body:not(.is-embed) .layout:has(>.sidebar) .rg-feature-panel>.now-playing .now-copy h2{font-size:18px}body:not(.is-embed) .layout:has(>.sidebar) .rg-feature-panel>.now-playing .round-play{width:43px;height:43px}body:not(.is-embed) .layout:has(>.sidebar) .globe-box{padding:18px!important}body:not(.is-embed) .directory-heading h2{font-size:24px}.station-card{padding:15px;min-height:108px;gap:13px}.station-card img{width:66px;height:66px}.station-detail strong{font-size:15px}.station-detail small{font-size:11px}.directory-tools select{font-size:12px}.footer{font-size:11px;gap:12px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}

/* Show the original transparent PNG directly on the brand header. */
body:not(.is-embed) .topbar{background:#172c48;color:#fff;margin:0 -40px;padding:0 40px;border-bottom:1px solid #ffffff20}body:not(.is-embed) .topbar .rg-header-logo{background:transparent;border:0;border-radius:0;padding:0;max-width:235px!important}body:not(.is-embed) .topbar .rg-header-logo img{max-height:55px}body:not(.is-embed) .topbar .rg-header-logo small{color:#c3d5e6}body:not(.is-embed) .topbar .admin-link{color:#e1edf6;border-color:#ffffff30}body:not(.is-embed) .topbar .admin-link:hover{background:#ffffff12}body:not(.is-embed) .topbar .live-indicator{color:#d0dfea}
@media(max-width:1100px){body:not(.is-embed) .topbar{margin:0 -26px;padding:0 26px}}
@media(max-width:600px){body:not(.is-embed) .topbar{margin:0 -16px;padding:0 16px}body:not(.is-embed) .topbar .rg-header-logo{max-width:145px!important;padding:0;background:transparent}body:not(.is-embed) .topbar .rg-header-logo img{max-height:43px}}
