/* World Radio 24 — WRv137 "Original" theme redesign.
   Every rule is scoped to html:not(.theme-frosted-glass), so the Frosted glass theme is never touched.
   Front-end only: no markup order, API, cache or player logic is changed.
   Performance rules: no backdrop-filter on scrolling surfaces, hover motion uses transform/opacity,
   long lists keep content-visibility:auto, motion is switched off for reduced-motion users. */

html:not(.theme-frosted-glass){
  --bg:#09090b;--surface:#121216;--surface2:#1a1a20;--surface3:#24242c;
  --text:#eff7f6;--muted:#9b9ba8;--line:#26262e;
  --lime:#43e3b0;--orange:#43e3b0;--red:#62f7f2;
  --om-a:#34d399;--om-a2:#22d3ee;--om-grad:linear-gradient(135deg,#34d399 0%,#2dd4bf 55%,#22d3ee 100%);
  --om-soft:rgba(52,211,153,.13);--om-ring:rgba(52,211,153,.45);
  --om-card:linear-gradient(160deg,#18181e 0%,#111115 100%);
  --om-plum:linear-gradient(135deg,#224443 0%,#183231 46%,#101a1a 100%);
  --radius:22px;--om-ease:cubic-bezier(.2,.8,.2,1);
  color-scheme:dark;
}
html:not(.theme-frosted-glass) body{
  background:radial-gradient(ellipse 60% 38% at 88% -6%,#1d4443 0,transparent 70%),radial-gradient(ellipse 46% 30% at 0% 0%,#0e3231 0,transparent 70%),var(--bg);
  background-repeat:no-repeat;
  -webkit-font-smoothing:antialiased;text-rendering:optimizeSpeed;
}
html:not(.theme-frosted-glass){scrollbar-color:#3a3a45 #09090b;scrollbar-width:thin}
html:not(.theme-frosted-glass) ::selection{background:#34d39966;color:#fff}
html:not(.theme-frosted-glass) button:focus-visible,
html:not(.theme-frosted-glass) input:focus-visible,
html:not(.theme-frosted-glass) select:focus-visible,
html:not(.theme-frosted-glass) a:focus-visible{outline:2px solid var(--om-a);outline-offset:3px}
html:not(.theme-frosted-glass) button{-webkit-tap-highlight-color:transparent;touch-action:manipulation}
html:not(.theme-frosted-glass) .skip-link{background:var(--om-grad);color:#03211a}

/* ---------- shell + topbar ---------- */
html:not(.theme-frosted-glass) .shell{max-width:1480px;padding:22px 28px 150px}
html:not(.theme-frosted-glass) .topbar{border-bottom:1px solid var(--line);padding-bottom:18px}
html:not(.theme-frosted-glass) .brand-mark{background:#1a1a20;box-shadow:0 0 0 1px #34d39955,0 8px 26px #34d39930;border-radius:16px;padding:0;transition:transform .35s var(--om-ease),box-shadow .35s ease}
html:not(.theme-frosted-glass) .brand h1{font-size:19px;letter-spacing:.08em;font-weight:900}
html:not(.theme-frosted-glass) .brand p{letter-spacing:.14em}
html:not(.theme-frosted-glass) .live-pill{background:var(--om-soft);border-color:#34d39955;color:var(--lime)}

/* ---------- layout: sticky rail + main column ---------- */
html:not(.theme-frosted-glass) .layout{grid-template-columns:236px minmax(0,1fr);gap:32px;padding-top:24px}
html:not(.theme-frosted-glass) .sidebar{border-right:1px solid var(--line);padding-right:22px;align-self:start;position:sticky;top:18px}
html:not(.theme-frosted-glass) .side-label,
html:not(.theme-frosted-glass) .eyebrow{color:#7d7d8a;letter-spacing:.2em}
html:not(.theme-frosted-glass) .nav{gap:4px}
html:not(.theme-frosted-glass) .nav button,
html:not(.theme-frosted-glass) .nav .info-link{border-radius:14px;padding:12px 14px;font-weight:600;transition:color .2s ease,transform .25s var(--om-ease)!important}
html:not(.theme-frosted-glass) .nav button.active{color:var(--lime);font-weight:800}
html:not(.theme-frosted-glass) .nav .ico{transition:transform .28s var(--om-ease)}
html:not(.theme-frosted-glass) .nav::before{
  background:linear-gradient(90deg,#34d3992e,#34d39908);
  border-radius:14px;box-shadow:inset 3px 0 0 var(--om-a);
  border-color:transparent!important;
}
html:not(.theme-frosted-glass) .sidebar-note{border-radius:20px;border:1px solid #264140;background:var(--om-plum);position:relative;overflow:hidden}
html:not(.theme-frosted-glass) .sidebar-note:after{content:"";position:absolute;right:-30px;bottom:-40px;width:110px;height:110px;border-radius:50%;background:radial-gradient(circle,#34d39955,transparent 70%);pointer-events:none}
html:not(.theme-frosted-glass) .sidebar-note strong{font-size:14px}

/* ---------- main column: re-ordered with CSS only ---------- */
html:not(.theme-frosted-glass) .main{display:flex;flex-direction:column;min-width:0}
html:not(.theme-frosted-glass) .main>.search-row{order:1;margin:0 0 18px}
html:not(.theme-frosted-glass) .main>.intro{order:2;margin:0 0 18px}
html:not(.theme-frosted-glass) .main>.frosted-console-ad-layout,
html:not(.theme-frosted-glass) .main>.layout-console{order:3}
html:not(.theme-frosted-glass) .main>.globe-section{order:4;margin:0 0 26px}
html:not(.theme-frosted-glass) .main>section:not(.intro):not(.globe-section):not(.country-seo-content):not(.seo-content){order:5}
html:not(.theme-frosted-glass) .main>.country-seo-content{order:6}
html:not(.theme-frosted-glass) .main>.seo-content{order:7}
html:not(.theme-frosted-glass) .main>.footer{order:8}

/* intro becomes a slim hero strip */
html:not(.theme-frosted-glass) .intro{display:block}
html:not(.theme-frosted-glass) .intro .eyebrow{display:inline-flex;align-items:center;gap:8px;color:var(--lime)}
html:not(.theme-frosted-glass) .intro h2{font-size:clamp(26px,3.1vw,40px);letter-spacing:-.04em;margin:8px 0 6px;max-width:none}
html:not(.theme-frosted-glass) .intro h2 br{display:none}
html:not(.theme-frosted-glass) .intro h2 em{margin-left:.26em;background:var(--om-grad);-webkit-background-clip:text;background-clip:text;color:transparent;-webkit-text-fill-color:transparent}
html:not(.theme-frosted-glass) .intro p{font-size:14px;max-width:620px}

/* ---------- search row ---------- */
html:not(.theme-frosted-glass) .search-row{grid-template-columns:minmax(0,1fr) 250px auto;gap:10px}
html:not(.theme-frosted-glass) .field{background:var(--surface);border:1px solid var(--line);border-radius:16px;padding:14px 18px;transition:border-color .2s ease,box-shadow .2s ease,background .2s ease}
html:not(.theme-frosted-glass) .field:hover{border-color:#3a3a46}
html:not(.theme-frosted-glass) .field:focus,
html:not(.theme-frosted-glass) .field:focus-within{border-color:var(--om-a);box-shadow:0 0 0 4px #34d3991f;outline:none}
html:not(.theme-frosted-glass) .field::placeholder{color:#6f6f7c}
html:not(.theme-frosted-glass) .country-trigger{border-radius:16px;min-height:50px}
html:not(.theme-frosted-glass) .country-trigger .chevron{color:var(--lime)}
html:not(.theme-frosted-glass) .country-menu{background:#15151a;border:1px solid #33333d;border-radius:18px;box-shadow:0 22px 60px #000b}
html:not(.theme-frosted-glass) .country-search{background:#0d0d10;border:1px solid #2b2b34;border-radius:12px}
html:not(.theme-frosted-glass) .country-search:focus{border-color:var(--om-a);box-shadow:0 0 0 3px #34d39922}
html:not(.theme-frosted-glass) .country-option{border-radius:11px;transition:background .15s ease,transform .2s var(--om-ease)}
html:not(.theme-frosted-glass) .country-option:hover,
html:not(.theme-frosted-glass) .country-option:focus-visible{background:#14231f;color:var(--lime)}
html:not(.theme-frosted-glass) .country-option[aria-selected=true]{background:var(--om-soft);color:var(--lime)}
html:not(.theme-frosted-glass) .country-option[aria-selected=true] .country-option-count{color:var(--lime)}
html:not(.theme-frosted-glass) .country-options{scrollbar-color:#46464f #15151a}
html:not(.theme-frosted-glass) .country-menu-hint{border-top-color:#2a2a32}
html:not(.theme-frosted-glass) .city-loading-track{background:#2a2a32}
html:not(.theme-frosted-glass) .city-loading-bar{background:var(--om-grad);box-shadow:0 0 12px #34d39966}

/* primary button (shared look): gradient + shine sweep */
html:not(.theme-frosted-glass) .search-button,
html:not(.theme-frosted-glass) .round-play,
html:not(.theme-frosted-glass) .transport .main-play,
html:not(.theme-frosted-glass) .listen{
  position:relative;overflow:hidden;isolation:isolate;
  background:var(--om-grad);border:0;color:#03211a;
  transition:transform .25s var(--om-ease),box-shadow .25s ease,filter .2s ease;
}
html:not(.theme-frosted-glass) .search-button:after,
html:not(.theme-frosted-glass) .round-play:after,
html:not(.theme-frosted-glass) .transport .main-play:after,
html:not(.theme-frosted-glass) .listen:after{
  content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;
  background:linear-gradient(105deg,transparent 30%,#ffffff55 50%,transparent 70%);
  transform:translateX(-120%);
}
html:not(.theme-frosted-glass) .search-button{border-radius:16px;padding:13px 24px;font-weight:850;letter-spacing:.01em;box-shadow:0 8px 22px #2dd4bf40}
html:not(.theme-frosted-glass) .search-button:hover{filter:none}
html:not(.theme-frosted-glass) .load-more-wrap button{min-width:220px;border-radius:999px}

/* ---------- listening console ---------- */
html:not(.theme-frosted-glass) .radio-deck{grid-template-columns:minmax(0,1.55fr) minmax(290px,.85fr);gap:16px;margin-bottom:16px}
html:not(.theme-frosted-glass) .deck-panel{
  border:1px solid #284443;border-radius:26px;min-height:270px;padding:24px 26px;
  background:radial-gradient(ellipse 60% 70% at 0% 100%,#34d39933 0,transparent 62%),var(--om-plum);
}
html:not(.theme-frosted-glass) .deck-panel:after{border-color:#ffffff10;box-shadow:0 0 0 20px #ffffff05,0 0 0 42px #ffffff03,0 0 0 66px #ffffff02}
html:not(.theme-frosted-glass) .deck-tag{color:var(--lime);letter-spacing:.2em}
html:not(.theme-frosted-glass) .onair{color:#ffb4bd;border-color:#6c3144;background:#1d0f17;border-radius:999px;padding:5px 11px}
html:not(.theme-frosted-glass) .deck-copy h3{font-size:clamp(23px,2.9vw,36px);letter-spacing:-.04em}
html:not(.theme-frosted-glass) .deck-copy .small-label{color:#a6c2c1}
html:not(.theme-frosted-glass) .deck-copy p{color:#b4c9c8;font-size:13px}
html:not(.theme-frosted-glass) .dial{
  border-color:#2b4342;
  background:repeating-conic-gradient(from -60deg,#6ee7b7 0deg 1deg,transparent 1deg 9deg),radial-gradient(circle,#132121 0 55%,#294444 56% 59%,#0c1515 60%);
  box-shadow:inset 0 0 0 7px #0c1515,0 12px 34px #000a,0 0 0 1px #34d39922;
}
html:not(.theme-frosted-glass) .dial:before{background:var(--om-a);box-shadow:0 0 10px var(--om-a)}
html:not(.theme-frosted-glass) .dial-inner{background:linear-gradient(145deg,#284443,#0d1616);border-color:#3a5d5c;color:var(--lime)}
html:not(.theme-frosted-glass) .dial-inner.has-logo{background:#132121}
html:not(.theme-frosted-glass) .dial-frequency{background:#0c1515;border-color:#3e6261;color:var(--lime)}
html:not(.theme-frosted-glass) .frequency-line{background:#0f1a1a;border-color:#2f4b4a;color:var(--lime)}
html:not(.theme-frosted-glass) .round-play{height:52px;width:52px;box-shadow:0 8px 24px #2dd4bf55;font-size:19px}
html:not(.theme-frosted-glass) .deck-btn{background:#ffffff0d;border:1px solid #ffffff1f;color:var(--text);transition:transform .25s var(--om-ease),background .2s ease,border-color .2s ease,color .2s ease}
html:not(.theme-frosted-glass) .deck-btn.is-active,
html:not(.theme-frosted-glass) .airplay-btn.is-active{border-color:var(--om-a);color:var(--lime);box-shadow:0 0 0 2px #34d39930}
html:not(.theme-frosted-glass) .deck-controls{gap:10px}

/* playing state: soft ambient glow around the console (class set by original-modern.js) */
html:not(.theme-frosted-glass).wr-playing .deck-panel{border-color:#3d7775;box-shadow:0 0 0 1px #34d39930,0 18px 60px #22d3ee22}
html:not(.theme-frosted-glass).wr-playing .dial{box-shadow:inset 0 0 0 7px #0c1515,0 0 0 1px #34d39955,0 0 38px #34d39945}
html:not(.theme-frosted-glass).wr-playing .onair{color:#fff;background:#4a1626;border-color:#ff3d6e}

/* signal visualizer = stats card */
html:not(.theme-frosted-glass) .eq-panel{border:1px solid #2b2b34;border-radius:26px;background:var(--om-card);padding:22px}
html:not(.theme-frosted-glass) .eq-header{color:#7d7d8a;letter-spacing:.18em}
html:not(.theme-frosted-glass) .eq-header span:last-child{color:var(--lime)}
html:not(.theme-frosted-glass) .equalizer{height:104px;gap:5px}
html:not(.theme-frosted-glass) .equalizer i{width:7px;max-height:96px;background:linear-gradient(0deg,#22d3ee,#34d399);transform-origin:50% 50%}
html:not(.theme-frosted-glass) .equalizer:not(.active) i{height:var(--h)!important;max-height:96px;transform:scaleY(.3);background:#34343f;opacity:.7;transition:none}
html:not(.theme-frosted-glass) .equalizer.active i{height:var(--h);animation-name:om-bounce;will-change:transform}
@keyframes om-bounce{from{transform:scaleY(.16)}to{transform:scaleY(1)}}
html:not(.theme-frosted-glass) .eq-bottom{gap:10px}
html:not(.theme-frosted-glass) .metric{background:#1a1a20;border:1px solid #26262e;border-radius:16px;padding:13px 14px;transition:transform .3s var(--om-ease),border-color .2s ease}
html:not(.theme-frosted-glass) .metric strong{font-size:21px;letter-spacing:-.02em}
html:not(.theme-frosted-glass) .metric span{color:#7d7d8a;letter-spacing:.12em}

/* ad slot: slimmer */
html:not(.theme-frosted-glass) .ad-slot{margin:0 0 22px;min-height:60px;border:1px dashed #30303a;border-radius:18px;color:#b9bfc9;background:#0e1212}

/* ---------- globe bar (hidden by default, unchanged behaviour) ---------- */
html:not(.theme-frosted-glass) .globe-section{border:1px solid var(--line);border-radius:22px;background:var(--om-card)}
html:not(.theme-frosted-glass) .globe-heading{align-items:center;padding:16px 20px 0}
html:not(.theme-frosted-glass) .globe-heading h3{font-size:20px;margin-top:3px}
html:not(.theme-frosted-glass) .globe-section.globe-collapsed .globe-heading{padding-bottom:16px}
html:not(.theme-frosted-glass) .globe-count{color:var(--lime);border-color:#34d39940;background:#34d39910}
html:not(.theme-frosted-glass) .globe-toggle{border:1px solid #34d39966;background:var(--om-soft);color:var(--lime);transition:transform .25s var(--om-ease),background .2s ease,border-color .2s ease}
html:not(.theme-frosted-glass) .globe-toggle:hover{background:#34d3992a;border-color:var(--om-a)}
html:not(.theme-frosted-glass) .globe-zoom-controls button{border-color:#34d39955;background:#15151aef;color:var(--lime)}
html:not(.theme-frosted-glass) .globe-zoom-controls button:hover{background:#14231f;border-color:var(--om-a)}
html:not(.theme-frosted-glass) .globe-loading{background:radial-gradient(ellipse at center,#15151add,#09090bbb)}
html:not(.theme-frosted-glass) .globe-loading-track{background:#2a2a32}
html:not(.theme-frosted-glass) .globe-loading-track span{background:var(--om-grad)}
html:not(.theme-frosted-glass) .globe-fallback{border-color:#33333d}

/* ---------- Explore the dial ---------- */
html:not(.theme-frosted-glass) .section-head{margin-bottom:14px;align-items:flex-end}
html:not(.theme-frosted-glass) .section-head h3{font-size:clamp(22px,2.4vw,28px);letter-spacing:-.04em}
html:not(.theme-frosted-glass) .dial-mode{gap:4px;padding:4px;border:1px solid var(--line);border-radius:999px;background:#0e1212;margin-top:12px}
html:not(.theme-frosted-glass) .dial-mode-btn{border:0;border-radius:999px;padding:8px 16px;color:var(--muted);transition:color .2s ease,background .2s ease,transform .25s var(--om-ease)}
html:not(.theme-frosted-glass) .dial-mode-btn:hover{color:var(--text);background:#ffffff0a}
html:not(.theme-frosted-glass) .dial-mode-btn.active{background:var(--om-grad);color:#03211a;font-weight:850;box-shadow:0 6px 18px #2dd4bf38}
html:not(.theme-frosted-glass) .dial-filters p{color:#7d7d8a}

html:not(.theme-frosted-glass) .chip{border:1px solid #2c2c35;background:#121216;color:var(--muted);padding:8px 15px;border-radius:999px;font-weight:650;transition:transform .25s var(--om-ease),color .2s ease,border-color .2s ease,background .2s ease}
html:not(.theme-frosted-glass) .chip.active{background:var(--om-grad);border-color:transparent;color:#03211a;font-weight:850;box-shadow:0 6px 18px #2dd4bf38}
html:not(.theme-frosted-glass) .chip.recent-country-chip{border-color:#34d39966;color:var(--lime)}
html:not(.theme-frosted-glass) .chip.active.recent-country-chip,
html:not(.theme-frosted-glass) .chip.active.recent-country-chip:hover{background:var(--om-grad);border-color:transparent;color:#03211a}
html:not(.theme-frosted-glass) .country-tabs-loading{background:#09090bec}
html:not(.theme-frosted-glass) .genre-row{gap:8px;margin:0 0 16px}
html:not(.theme-frosted-glass) .country-row{scrollbar-color:#46464f #09090b}

html:not(.theme-frosted-glass) .status{color:var(--muted);min-height:40px}

/* station cards */
html:not(.theme-frosted-glass) .station-grid{grid-template-columns:repeat(auto-fill,minmax(262px,1fr));gap:14px;min-height:260px}
html:not(.theme-frosted-glass) .station{
  display:grid;grid-template-columns:64px minmax(0,1fr);grid-template-areas:"art info" "meta meta" "act act";
  column-gap:14px;row-gap:12px;align-items:center;
  background:var(--om-card);border:1px solid #25252d;border-radius:22px;padding:16px;
  contain-intrinsic-size:auto 176px;position:relative;
  transition:transform .35s var(--om-ease),border-color .25s ease,box-shadow .35s ease;
  
}
html:not(.theme-frosted-glass) .station-grid.om-enter .station{animation:om-rise .5s var(--om-ease) backwards}
html:not(.theme-frosted-glass) .station-grid.om-enter .station:nth-child(n+13){animation:none}
html:not(.theme-frosted-glass) .station-grid.om-enter .station:nth-child(2){animation-delay:.03s}
html:not(.theme-frosted-glass) .station-grid.om-enter .station:nth-child(3){animation-delay:.06s}
html:not(.theme-frosted-glass) .station-grid.om-enter .station:nth-child(4){animation-delay:.09s}
html:not(.theme-frosted-glass) .station-grid.om-enter .station:nth-child(5){animation-delay:.12s}
html:not(.theme-frosted-glass) .station-grid.om-enter .station:nth-child(6){animation-delay:.15s}
@keyframes om-rise{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}
html:not(.theme-frosted-glass) .station-top{display:contents}
html:not(.theme-frosted-glass) .station-art{grid-area:art;height:64px;width:64px;border-radius:18px;border:1px solid #34343e;background:radial-gradient(circle at 35% 30%,#3c6462,#1b3231 60%,#0e1818);color:var(--lime);transition:transform .4s var(--om-ease);flex:none;object-fit:cover}
html:not(.theme-frosted-glass) .station-info{grid-area:info;min-width:0}
html:not(.theme-frosted-glass) .station h4{font-size:15px;font-weight:750;letter-spacing:-.01em;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}
html:not(.theme-frosted-glass) .station small{color:var(--muted);margin-top:4px}
html:not(.theme-frosted-glass) .station-meta{grid-area:meta;justify-content:flex-start;gap:7px;letter-spacing:.06em}
html:not(.theme-frosted-glass) .station-meta span{padding:4px 10px;border-radius:999px;background:#1c1c23;border:1px solid #2a2a33;color:#a4a4b0;font-weight:650;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
html:not(.theme-frosted-glass) .station-meta span:last-child{color:var(--lime);background:var(--om-soft);border-color:#34d39933}
html:not(.theme-frosted-glass) .station-actions{grid-area:act;gap:9px;margin-top:0}
html:not(.theme-frosted-glass) .listen{border-radius:999px;padding:11px 14px;font-size:13px;font-weight:850;letter-spacing:.01em;box-shadow:0 6px 18px #2dd4bf30}
html:not(.theme-frosted-glass) .listen:hover{background:var(--om-grad)}
html:not(.theme-frosted-glass) .listen.is-live{background:#34d3991f;color:var(--lime);box-shadow:inset 0 0 0 1px #34d39977}
html:not(.theme-frosted-glass) .heart{width:46px;height:42px;flex:none;border-radius:999px;border:1px solid #2f2f38;background:#1a1a20;color:var(--muted);transition:transform .25s var(--om-ease),border-color .2s ease,color .2s ease,background .2s ease}
html:not(.theme-frosted-glass) .heart.saved{color:#ff4d6a;border-color:#ff4d6a55;background:#2a1219}
html:not(.theme-frosted-glass) .heart.saved{animation:om-beat .5s var(--om-ease)}
@keyframes om-beat{0%{transform:scale(.8)}50%{transform:scale(1.22)}100%{transform:scale(1)}}
html:not(.theme-frosted-glass) .station.is-live{border-color:#34d39988;box-shadow:0 0 0 1px #34d39933,0 14px 40px #22d3ee1c}
html:not(.theme-frosted-glass) .station.is-live .station-art{box-shadow:0 0 0 2px #34d399,0 0 22px #34d39966}
html:not(.theme-frosted-glass) .station{cursor:pointer}

html:not(.theme-frosted-glass) .station-empty-state,
html:not(.theme-frosted-glass) .station-loading-bar,
html:not(.theme-frosted-glass) .station-grid:empty::before,
html:not(.theme-frosted-glass) .empty{border-color:#30303a;background:#0e1212;border-radius:22px}
html:not(.theme-frosted-glass) .station-skeleton{background:var(--om-card);border-color:#25252d;border-radius:22px}
html:not(.theme-frosted-glass) .station-skeleton-art,
html:not(.theme-frosted-glass) .station-skeleton-line{background:#24242c}
html:not(.theme-frosted-glass) .station-skeleton::after{background:linear-gradient(100deg,transparent,#ffffff12,transparent)}
html:not(.theme-frosted-glass) .station-loading-wave i{background:var(--om-a)}
html:not(.theme-frosted-glass) .station-empty-state .empty-wave{color:var(--om-a)}
html:not(.theme-frosted-glass) .station-loading-bar .globe-loading-track{background:#2a2a32}

/* ---------- SEO + footer ---------- */
html:not(.theme-frosted-glass) .seo-content,
html:not(.theme-frosted-glass) .country-seo-content{border-color:#25252d;border-radius:24px;background:var(--om-card)}
html:not(.theme-frosted-glass) .seo-content h2,
html:not(.theme-frosted-glass) .country-seo-content h2{letter-spacing:-.03em}
html:not(.theme-frosted-glass) a{color:var(--lime)}
html:not(.theme-frosted-glass) .footer a{transition:color .2s ease}
html:not(.theme-frosted-glass) .footer a:hover{color:#fff}

/* ---------- player bar (floating, solid = fast to scroll under) ---------- */
html:not(.theme-frosted-glass) .playerbar{
  left:14px;right:14px;bottom:calc(12px + env(safe-area-inset-bottom));
  padding:11px 20px;border:1px solid #2d2d37;border-radius:26px;
  background:#101014f7;-webkit-backdrop-filter:none;backdrop-filter:none;
  box-shadow:0 18px 50px #000c,0 0 0 1px #00000080;
}
html:not(.theme-frosted-glass) .playerbar:before{
  content:"";position:absolute;left:28px;right:28px;top:-1px;height:2px;border-radius:2px;
  background:linear-gradient(90deg,transparent,var(--om-a),var(--om-a2),transparent);opacity:0;transition:opacity .4s ease;pointer-events:none;
}
html:not(.theme-frosted-glass).wr-playing .playerbar:before{opacity:1;animation:om-line 2.6s ease-in-out infinite alternate}
@keyframes om-line{from{transform:translateX(-6%)}to{transform:translateX(6%)}}
html:not(.theme-frosted-glass) .player-inner{max-width:1440px}
html:not(.theme-frosted-glass) .mini-art{background:#24242c;color:var(--lime);border-radius:14px}
html:not(.theme-frosted-glass) .dial-inner.has-logo{background:#132121}
html:not(.theme-frosted-glass) .transport button{border:1px solid #2f2f38;background:#1a1a20;color:var(--text);transition:transform .25s var(--om-ease),border-color .2s ease,color .2s ease,background .2s ease}
html:not(.theme-frosted-glass) .transport .main-play{border:0;color:#03211a;box-shadow:0 6px 20px #2dd4bf50}
html:not(.theme-frosted-glass) .transport .sleep-timer-btn.active{border-color:var(--om-a);color:var(--lime);box-shadow:0 0 0 2px #34d39930}
html:not(.theme-frosted-glass) .sleep-timer-btn .timer-dot{background:var(--om-a)}
html:not(.theme-frosted-glass) .volume-box .vol-step{background:#1a1a20;border-color:#2f2f38;border-radius:50%;transition:transform .25s var(--om-ease),border-color .2s ease,color .2s ease}
html:not(.theme-frosted-glass) .volume-box input{accent-color:var(--om-a)}
html:not(.theme-frosted-glass) .sleep-timer-menu,
html:not(.theme-frosted-glass) .buffering-hover-notice{background:#15151a;border-color:#3a3a46;border-radius:18px}
html:not(.theme-frosted-glass) .buffering-hover-notice{color:var(--lime)}
html:not(.theme-frosted-glass) .sleep-timer-options button,
html:not(.theme-frosted-glass) .sleep-timer-cancel{background:#1a1a20;border-color:#2f2f38;transition:transform .2s var(--om-ease),border-color .2s ease,color .2s ease}
html:not(.theme-frosted-glass) .sleep-timer-options button:hover,
html:not(.theme-frosted-glass) .sleep-timer-options button:focus-visible{border-color:var(--om-a);color:var(--lime)}
html:not(.theme-frosted-glass) .sleep-timer-options button.selected{background:var(--om-soft);border-color:var(--om-a);color:var(--lime)}
html:not(.theme-frosted-glass) .toast{background:#1d1d24;border-color:#3a3a46;border-radius:14px;bottom:104px;box-shadow:0 12px 34px #000a}

/* ---------- theme picker + info overlay ---------- */
html:not(.theme-frosted-glass) .theme-toggle{background:#15151a;border-color:#2f2f38;transition:transform .25s var(--om-ease),border-color .2s ease}
html:not(.theme-frosted-glass) .theme-toggle:hover{filter:none;border-color:var(--om-a)}
html:not(.theme-frosted-glass) .theme-menu{background:#15151a;border-color:#33333d;border-radius:18px}
html:not(.theme-frosted-glass) .theme-menu .theme-choice:hover,
html:not(.theme-frosted-glass) .theme-menu .theme-choice:focus-visible{background:#1f1f26;border-color:#33333d}
html:not(.theme-frosted-glass) .info-overlay{background:#050707ee}
html:not(.theme-frosted-glass) .info-card{background:#121216;border-color:#26262e;border-radius:26px}
html:not(.theme-frosted-glass) .info-links button.active{border-color:var(--om-a);color:var(--lime)}


/* ---------- information pages (About Us / Privacy Policy / Contact) ---------- */
html:not(.theme-frosted-glass) .page .content{background:var(--om-card);border-color:#25252d;border-radius:26px}
html:not(.theme-frosted-glass) .page .brand{border-bottom-color:var(--line)}
html:not(.theme-frosted-glass) .page .brand img{filter:hue-rotate(-52deg) saturate(1.1)}
html:not(.theme-frosted-glass) .page nav{border-top-color:var(--line)}
html:not(.theme-frosted-glass) .page .updated{color:var(--muted)}
html:not(.theme-frosted-glass) .page p,html:not(.theme-frosted-glass) .page li{color:#dce4e3}
html:not(.theme-frosted-glass) .page .back-home{background:var(--om-grad);color:#03211a;border:0;font-weight:800;box-shadow:0 8px 22px #2dd4bf40;transition:transform .25s var(--om-ease),box-shadow .25s ease}
html:not(.theme-frosted-glass) .page .back-home:hover{background:var(--om-grad);transform:translateY(-2px);box-shadow:0 12px 28px #2dd4bf60}
html:not(.theme-frosted-glass) .page .back-home:active{transform:scale(.96)}


/* ---------- country / city pop-up (phones + tablets, Original theme) ----------
   Phones: bottom sheet with a drag handle. Tablets (701px+): centred dialog.
   Frosted glass keeps its own full-screen panel (rules below are scoped away from it). */
html:not(.theme-frosted-glass) .wrcs{background:rgba(2,9,9,0);transition:background .3s ease}
html:not(.theme-frosted-glass) .wrcs.is-mounted{display:flex;align-items:flex-end;justify-content:center}
html:not(.theme-frosted-glass) .wrcs.is-open{background:rgba(2,9,9,.68)}
html:not(.theme-frosted-glass) .wrcs-panel{
  position:relative;top:auto;right:auto;bottom:auto;left:auto;
  width:100%;max-width:640px;height:min(88vh,780px);height:min(88dvh,calc(var(--wrcs-vh,100dvh) - 16px),780px);
  margin-bottom:var(--wrcs-kb,0px);
  padding:0 max(16px,env(safe-area-inset-right)) max(14px,env(safe-area-inset-bottom)) max(16px,env(safe-area-inset-left));
  border:1px solid #1f3b37;border-bottom:0;border-radius:28px 28px 0 0;color:#e8f5f1;
  background:radial-gradient(120% 55% at 92% 0%,rgba(52,211,153,.14),transparent 62%),linear-gradient(180deg,#10211f 0%,#0b1413 46%,#080e0e 100%);
  box-shadow:0 -24px 70px rgba(0,0,0,.65),inset 0 1px 0 rgba(255,255,255,.06);
  -webkit-backdrop-filter:none;backdrop-filter:none;
  transform:translateY(100%);opacity:1;transition:transform .3s cubic-bezier(.2,.85,.25,1);
}
html:not(.theme-frosted-glass) .wrcs.is-open .wrcs-panel{transform:none;opacity:1}
html:not(.theme-frosted-glass) .wrcs-inner{max-width:none}
html:not(.theme-frosted-glass) .wrcs-grab{display:block;position:relative;flex:0 0 42px;height:42px;min-height:42px;margin:0 auto;width:100%;touch-action:none;cursor:grab}
html:not(.theme-frosted-glass) .wrcs-grab:before{content:"";position:absolute;left:50%;top:14px;width:44px;height:5px;margin-left:-22px;border-radius:99px;background:#2d4c46}
html:not(.theme-frosted-glass) .wrcs-head{flex:0 0 auto;padding:0 0 12px;touch-action:none}
html:not(.theme-frosted-glass) .wrcs-title{font-size:21px;font-weight:850;letter-spacing:-.02em;color:#f2fbf8}
html:not(.theme-frosted-glass) .wrcs-close{width:42px;height:42px;background:#14251f;border:1px solid #27463f;color:#b9eadc;box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none;transition:background .2s ease,border-color .2s ease,color .2s ease,transform .15s ease}
html:not(.theme-frosted-glass) .wrcs-close:hover,
html:not(.theme-frosted-glass) .wrcs-close:focus-visible{background:#1b3a31;border-color:#34d399;color:#6ee7b7}
html:not(.theme-frosted-glass) .wrcs-search svg{color:#34d399;opacity:.9}
html:not(.theme-frosted-glass) .wrcs-input{height:52px;border-radius:16px;color:#f2fbf8;background:#0a1110;border:1px solid #223d38;-webkit-backdrop-filter:none;backdrop-filter:none;box-shadow:none;transition:border-color .2s ease,box-shadow .2s ease}
html:not(.theme-frosted-glass) .wrcs-input::placeholder{color:#68877f}
html:not(.theme-frosted-glass) .wrcs-input:focus{border-color:#34d399;box-shadow:0 0 0 4px rgba(52,211,153,.18)}
html:not(.theme-frosted-glass) .wrcs-meta{padding:14px 4px 8px;font-size:11px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:#6a8a82}
html:not(.theme-frosted-glass) .wrcs-list{scrollbar-color:#2d4c46 transparent;padding:0 0 10px}
html:not(.theme-frosted-glass) .wrcs-item{min-height:56px;padding:12px 14px;margin:0 0 3px;border-radius:16px;font-size:16px;font-weight:600;color:#e3f3ee;transition:background .15s ease,transform .12s ease}
html:not(.theme-frosted-glass) .wrcs-item:active{background:#16302a;transform:scale(.985)}
html:not(.theme-frosted-glass) .wrcs-item:focus-visible{background:#12241f;outline:2px solid #34d399;outline-offset:-2px}
html:not(.theme-frosted-glass) .wrcs-count{padding:5px 11px;border-radius:999px;background:#11201c;border:1px solid #1d3832;font-size:12px;font-weight:650;color:#8fb8ad}
html:not(.theme-frosted-glass) .wrcs-item[aria-selected=true]{background:linear-gradient(90deg,rgba(52,211,153,.17),rgba(34,211,238,.06));box-shadow:inset 3px 0 0 #34d399;font-weight:800;color:#f2fbf8}
html:not(.theme-frosted-glass) .wrcs-item[aria-selected=true] .wrcs-name:before{content:"";display:inline-block;width:8px;height:8px;margin-right:10px;border-radius:50%;background:#34d399;box-shadow:0 0 10px #34d399;vertical-align:1px}
html:not(.theme-frosted-glass) .wrcs-item[aria-selected=true] .wrcs-count{background:linear-gradient(135deg,#34d399,#22d3ee);border-color:transparent;color:#03211a;font-weight:800}
html:not(.theme-frosted-glass) .wrcs-empty{color:#8fb0a8}
html:not(.theme-frosted-glass) .wrcs-loading{color:#a7d4c8}
html:not(.theme-frosted-glass) .wrcs-loading i{background:#17302c}
html:not(.theme-frosted-glass) .wrcs-loading i:after{background:linear-gradient(90deg,#34d399,#22d3ee)}
html:not(.theme-frosted-glass) .wrcs-more{min-height:50px;border-radius:999px;background:rgba(52,211,153,.10);border:1px solid #2a5a50;color:#6ee7b7;font-weight:800;transition:background .2s ease,border-color .2s ease}
html:not(.theme-frosted-glass) .wrcs-more:hover,
html:not(.theme-frosted-glass) .wrcs-more:focus-visible{background:rgba(52,211,153,.2);border-color:#34d399}

@media(hover:hover) and (pointer:fine){
  html:not(.theme-frosted-glass) .wrcs-item:hover{background:#12241f}
  html:not(.theme-frosted-glass) .wrcs-item[aria-selected=true]:hover{background:linear-gradient(90deg,rgba(52,211,153,.22),rgba(34,211,238,.08))}
}
/* tablets: centred dialog instead of a bottom sheet */
@media(min-width:701px){
  html:not(.theme-frosted-glass) .wrcs.is-mounted{align-items:center;padding:28px}
  html:not(.theme-frosted-glass) .wrcs-panel{max-width:620px;height:min(82vh,760px);height:min(82dvh,calc(var(--wrcs-vh,100dvh) - 56px),760px);margin-bottom:0;
    border-bottom:1px solid #1f3b37;border-radius:28px;padding-top:20px;box-shadow:0 30px 90px rgba(0,0,0,.7),inset 0 1px 0 rgba(255,255,255,.06);
    opacity:0;transform:translateY(22px) scale(.97);transition:transform .3s cubic-bezier(.2,.85,.25,1),opacity .22s ease}
  html:not(.theme-frosted-glass) .wrcs.is-open .wrcs-panel{opacity:1;transform:none}
  html:not(.theme-frosted-glass) .wrcs-grab{display:none}
}
@media(prefers-reduced-motion:reduce){
  html:not(.theme-frosted-glass) .wrcs-panel{transition:opacity .12s linear;transform:none;opacity:0}
  html:not(.theme-frosted-glass) .wrcs.is-open .wrcs-panel{opacity:1}
}

/* ---------- back-to-top (added by original-modern.js) ---------- */
.wr-top-btn{display:none}
html:not(.theme-frosted-glass) .wr-top-btn{
  display:grid;place-items:center;position:fixed;z-index:19;right:20px;bottom:calc(96px + env(safe-area-inset-bottom));
  width:46px;height:46px;border-radius:50%;border:1px solid #34d39966;background:#15151a;color:var(--lime);
  box-shadow:0 10px 28px #000a;opacity:0;visibility:hidden;transform:translateY(12px) scale(.9);
  transition:opacity .25s ease,transform .3s var(--om-ease),visibility 0s linear .3s,background .2s ease;
}
html:not(.theme-frosted-glass) .wr-top-btn.show{opacity:1;visibility:visible;transform:none;transition-delay:0s}
html:not(.theme-frosted-glass) .wr-top-btn svg{width:20px;height:20px;transition:transform .3s var(--om-ease)}

/* ---------- hover + press motion (pointer devices only) ---------- */
@media (hover:hover) and (pointer:fine){
  html:not(.theme-frosted-glass) .brand:hover .brand-mark{transform:rotate(-6deg) scale(1.06);box-shadow:0 0 0 1px #34d39999,0 10px 30px #34d39955}
  html:not(.theme-frosted-glass) .nav button:hover,
  html:not(.theme-frosted-glass) .nav .info-link:hover{color:var(--lime)}
  html:not(.theme-frosted-glass) .nav button:hover .ico,
  html:not(.theme-frosted-glass) .nav .info-link:hover .ico{transform:scale(1.22) rotate(-6deg)}
  html:not(.theme-frosted-glass) .nav .info-link:hover{background:#ffffff08}
  html:not(.theme-frosted-glass) .search-button:hover,
  html:not(.theme-frosted-glass) .round-play:hover,
  html:not(.theme-frosted-glass) .transport .main-play:hover,
  html:not(.theme-frosted-glass) .listen:hover{transform:translateY(-2px);box-shadow:0 12px 28px #2dd4bf60}
  html:not(.theme-frosted-glass) .search-button:hover:after,
  html:not(.theme-frosted-glass) .round-play:hover:after,
  html:not(.theme-frosted-glass) .transport .main-play:hover:after,
  html:not(.theme-frosted-glass) .listen:hover:after{transform:translateX(120%);transition:transform .7s var(--om-ease)}
  html:not(.theme-frosted-glass) .round-play:hover,
  html:not(.theme-frosted-glass) .transport .main-play:hover{transform:scale(1.08)}
  html:not(.theme-frosted-glass) .deck-btn:hover,
  html:not(.theme-frosted-glass) .transport button:not(.main-play):hover,
  html:not(.theme-frosted-glass) .volume-box .vol-step:hover{transform:translateY(-2px) scale(1.08);border-color:var(--om-a);color:var(--lime)}
  html:not(.theme-frosted-glass) .deck-btn:hover{background:#34d3991c}
  html:not(.theme-frosted-glass) .chip:hover{transform:translateY(-2px);border-color:#34d39988;color:var(--lime);background:#0f1a17}
  html:not(.theme-frosted-glass) .chip.active:hover{color:#03211a;background:var(--om-grad)}
  html:not(.theme-frosted-glass) .dial-mode-btn:hover{transform:translateY(-1px)}
  html:not(.theme-frosted-glass) .dial-mode-btn.active:hover{color:#03211a;background:var(--om-grad)}
  html:not(.theme-frosted-glass) .globe-toggle:hover,
  html:not(.theme-frosted-glass) .theme-toggle:hover{transform:translateY(-2px)}
  html:not(.theme-frosted-glass) .station:hover{transform:translateY(-4px);border-color:#34d39966;box-shadow:0 18px 44px #000a,0 0 0 1px #34d39922}
  html:not(.theme-frosted-glass) .station:hover .station-art{transform:scale(1.07) rotate(-2.5deg)}
  html:not(.theme-frosted-glass) .heart:hover{transform:scale(1.14);border-color:#ff4d6a;color:#ff4d6a}
  html:not(.theme-frosted-glass) .heart:hover:not(.saved){animation:om-beat .5s var(--om-ease)}
  html:not(.theme-frosted-glass) .metric:hover{transform:translateY(-2px);border-color:#34d39955}
  html:not(.theme-frosted-glass) .country-option:hover{transform:translateX(3px)}
  html:not(.theme-frosted-glass) .sleep-timer-options button:hover{transform:translateY(-1px)}
  html:not(.theme-frosted-glass) .wr-top-btn:hover{background:#14231f;transform:translateY(-3px)}
  html:not(.theme-frosted-glass) .wr-top-btn:hover svg{transform:translateY(-2px)}
}
/* press feedback on every device (touch + mouse) */
html:not(.theme-frosted-glass) .search-button:active,
html:not(.theme-frosted-glass) .listen:active,
html:not(.theme-frosted-glass) .round-play:active,
html:not(.theme-frosted-glass) .transport button:active,
html:not(.theme-frosted-glass) .deck-btn:active,
html:not(.theme-frosted-glass) .chip:active,
html:not(.theme-frosted-glass) .dial-mode-btn:active,
html:not(.theme-frosted-glass) .heart:active,
html:not(.theme-frosted-glass) .globe-toggle:active,
html:not(.theme-frosted-glass) .nav button:active{transform:scale(.94)!important;transition-duration:.08s!important}
html:not(.theme-frosted-glass) .station:active{transform:scale(.985)}

/* ---------- tablets ---------- */
@media(max-width:1100px){
  html:not(.theme-frosted-glass) .layout{grid-template-columns:190px minmax(0,1fr);gap:22px}
  html:not(.theme-frosted-glass) .radio-deck{grid-template-columns:1fr}
  html:not(.theme-frosted-glass) .eq-panel{min-height:0}
  html:not(.theme-frosted-glass) .search-row{grid-template-columns:minmax(0,1fr) 210px auto}
  html:not(.theme-frosted-glass) .station-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}

/* ---------- phones: single-column, compact rows, sticky tab strip ---------- */
@media(max-width:850px){
  html:not(.theme-frosted-glass) .layout{display:block;padding-top:0}
  html:not(.theme-frosted-glass) .sidebar{position:static;border:0;padding:4px 0 0;margin:0 0 14px;background:none}
  html:not(.theme-frosted-glass) .sidebar .side-label,
  html:not(.theme-frosted-glass) .sidebar .info-nav,
  html:not(.theme-frosted-glass) .sidebar .sidebar-note{display:none}
  html:not(.theme-frosted-glass) .nav{display:flex;overflow-x:auto;overflow-y:hidden;margin:0;padding:2px;gap:6px;scrollbar-width:none;-webkit-overflow-scrolling:touch}
  html:not(.theme-frosted-glass) .nav::-webkit-scrollbar{display:none}
  html:not(.theme-frosted-glass) .nav button{flex:0 0 auto;white-space:nowrap;padding:10px 16px;font-size:13px}
  html:not(.theme-frosted-glass) .nav::before{box-shadow:none;background:linear-gradient(135deg,#34d39933,#22d3ee22);border-radius:999px}
  html:not(.theme-frosted-glass) .nav button{border-radius:999px}
  html:not(.theme-frosted-glass) .nav .ico{width:auto}
}
@media(max-width:700px){
  html:not(.theme-frosted-glass) .shell{padding:14px 13px 132px}
  html:not(.theme-frosted-glass) .topbar{padding-bottom:12px;border-bottom:0}
  html:not(.theme-frosted-glass) .brand-mark{width:40px;height:40px;border-radius:13px}
  html:not(.theme-frosted-glass) .brand h1{font-size:16px}
  html:not(.theme-frosted-glass) .main>.search-row{margin-bottom:14px}
  html:not(.theme-frosted-glass) .search-row{grid-template-columns:1fr auto;gap:8px}
  html:not(.theme-frosted-glass) .search-row .field:first-child{grid-column:1/-1}
  html:not(.theme-frosted-glass) .search-row .country-picker{grid-column:1}
  html:not(.theme-frosted-glass) .search-row .search-button{grid-column:2;padding:13px 18px}
  html:not(.theme-frosted-glass) .intro{margin-bottom:14px}
  html:not(.theme-frosted-glass) .intro h2{font-size:25px;margin:6px 0 4px}
  html:not(.theme-frosted-glass) .intro p{font-size:13px;line-height:1.5}
  html:not(.theme-frosted-glass) .deck-panel{padding:18px;border-radius:24px;min-height:0}
  html:not(.theme-frosted-glass) .deck-copy h3{font-size:22px}
  html:not(.theme-frosted-glass) .deck-controls{gap:8px}
  html:not(.theme-frosted-glass) .deck-btn{height:38px;width:38px}
  html:not(.theme-frosted-glass) .eq-panel{padding:16px;border-radius:24px}
  html:not(.theme-frosted-glass) .equalizer{height:64px}
  html:not(.theme-frosted-glass) .eq-bottom{gap:8px}
  html:not(.theme-frosted-glass) .metric{padding:10px 12px}
  html:not(.theme-frosted-glass) .metric strong{font-size:18px}
  html:not(.theme-frosted-glass) .ad-slot{margin-bottom:16px;min-height:52px}
  html:not(.theme-frosted-glass) .globe-heading{flex-direction:column;align-items:flex-start;padding:16px 16px 0}
  html:not(.theme-frosted-glass) .globe-section.globe-collapsed .globe-heading{padding-bottom:14px}
  html:not(.theme-frosted-glass) .globe-heading-actions{width:100%;justify-content:space-between}
  html:not(.theme-frosted-glass) .globe-heading h3{font-size:18px}
  html:not(.theme-frosted-glass) .main>.globe-section{margin-bottom:20px}
  html:not(.theme-frosted-glass) .section-head{flex-direction:column;align-items:stretch;gap:10px}
  html:not(.theme-frosted-glass) .dial-mode{margin-top:10px}
  html:not(.theme-frosted-glass) .dial-filters{justify-content:space-between}
  html:not(.theme-frosted-glass) .genre-row{margin:0 -13px 12px;padding:2px 13px 8px;scroll-snap-type:x proximity;scrollbar-width:none}
  html:not(.theme-frosted-glass) .genre-row::-webkit-scrollbar{display:none}
  html:not(.theme-frosted-glass) .genre-row .chip{scroll-snap-align:start}

  /* compact list rows: more stations per screen = faster scanning */
  html:not(.theme-frosted-glass) .station-grid{grid-template-columns:1fr;gap:10px}
  html:not(.theme-frosted-glass) .station{
    grid-template-columns:54px minmax(0,1fr) auto;grid-template-areas:"art info act" "art meta act";
    column-gap:12px;row-gap:5px;padding:12px;border-radius:20px;contain-intrinsic-size:auto 82px;
  }
  html:not(.theme-frosted-glass) .station-art{width:54px;height:54px;border-radius:16px;grid-row:1/3}
  html:not(.theme-frosted-glass) .station h4{font-size:14px;-webkit-line-clamp:1}
  html:not(.theme-frosted-glass) .station small{margin-top:2px;font-size:11px}
  html:not(.theme-frosted-glass) .station-meta{flex-wrap:nowrap;overflow:hidden;gap:6px}
  html:not(.theme-frosted-glass) .station-meta span{padding:2px 8px;font-size:9px}
  html:not(.theme-frosted-glass) .station-actions{flex-direction:row;align-items:center;gap:6px}
  html:not(.theme-frosted-glass) .station .listen{flex:none;width:44px;height:44px;padding:0;font-size:0;line-height:0;border-radius:50%;display:grid;place-items:center}
  html:not(.theme-frosted-glass) .station .listen:before{content:"\25B6";display:block;font-size:17px;font-weight:900;line-height:1;margin-left:2px;background:none;clip-path:none;border-radius:0}
  html:not(.theme-frosted-glass) .station .listen.is-live:before{content:"\2161";margin-left:0;background:none;clip-path:none;border-radius:0}
  html:not(.theme-frosted-glass) .station .heart{width:40px;height:40px;font-size:17px}
  html:not(.theme-frosted-glass) .station-grid.om-enter .station:nth-child(n+7){animation:none}

  html:not(.theme-frosted-glass) .playerbar{left:8px;right:8px;bottom:calc(8px + env(safe-area-inset-bottom));padding:9px 12px;border-radius:22px}
  html:not(.theme-frosted-glass) .playerbar:before{left:22px;right:22px}
  html:not(.theme-frosted-glass) .toast{bottom:92px}
  html:not(.theme-frosted-glass) .wr-top-btn{right:14px;bottom:calc(84px + env(safe-area-inset-bottom));width:42px;height:42px}
  html:not(.theme-frosted-glass) .seo-content,
  html:not(.theme-frosted-glass) .country-seo-content{border-radius:20px}
}
@media(max-width:380px){
  html:not(.theme-frosted-glass) .station{grid-template-columns:48px minmax(0,1fr) auto}
  html:not(.theme-frosted-glass) .station-art{width:48px;height:48px}
  html:not(.theme-frosted-glass) .station .heart{width:36px;height:36px;font-size:16px}
  html:not(.theme-frosted-glass) .station .listen{width:40px;height:40px}
  html:not(.theme-frosted-glass) .station .listen:before{font-size:15px}
  html:not(.theme-frosted-glass) .station .listen.is-live:before{font-size:15px}
}

@media(prefers-reduced-motion:reduce){
  html:not(.theme-frosted-glass) .station-grid.om-enter .station,
  html:not(.theme-frosted-glass) .heart.saved,
  html:not(.theme-frosted-glass) .playerbar:before{animation:none!important}
  html:not(.theme-frosted-glass) .station:hover,
  html:not(.theme-frosted-glass) .station:hover .station-art,
  html:not(.theme-frosted-glass) .chip:hover,
  html:not(.theme-frosted-glass) .deck-btn:hover{transform:none!important}
}


/* ======================================================================
   WRv138 — Original theme console now matches the Frosted glass console.
   Same structure, sizes and behaviour (circular live waveform in the dial,
   no tuning needle, directory stats inside the console, no signal visualizer
   box, 364x308 ad box beside the console). Colours stay Original (plum / orange-pink).
   ====================================================================== */

/* console + ad: same layout as Frosted glass */
html:not(.theme-frosted-glass) .frosted-console-ad-layout{
  display:grid;grid-template-columns:minmax(0,1fr) 364px;align-items:stretch;gap:16px;margin:0 0 28px;
}
html:not(.theme-frosted-glass) .frosted-console-ad-layout .radio-deck{
  grid-template-columns:minmax(0,1fr);min-width:0;margin:0;
}
html:not(.theme-frosted-glass) .frosted-console-ad-layout .ad-slot{
  box-sizing:border-box;width:364px;min-height:308px;height:308px;aspect-ratio:auto;margin:0;align-self:center;
}

/* signal visualizer box removed (stats live in the console instead) */
html:not(.theme-frosted-glass) .eq-panel{display:none!important}

/* directory stats inside the console (same box as Frosted glass, Original colours) */
html:not(.theme-frosted-glass) .radio-deck .deck-copy .fg-console-stats{
  display:flex!important;align-items:stretch;gap:12px;flex-wrap:wrap;
  margin:16px 0 2px;padding:12px 14px;
  border:1px solid #43e3b033;border-radius:16px;
  background:linear-gradient(145deg,#43e3b01f,#22d3ee0d);
  box-shadow:inset 0 1px 0 #ffffff1f;
}
html:not(.theme-frosted-glass) .radio-deck .deck-copy .fg-console-stat{display:flex!important;flex-direction:column;gap:3px;min-width:110px;flex:1}
html:not(.theme-frosted-glass) .radio-deck .deck-copy #fgStationCount,
html:not(.theme-frosted-glass) .radio-deck .deck-copy #fgListeningRange{display:block!important}
html:not(.theme-frosted-glass) .radio-deck .deck-copy #fgStationCountLabel{display:block!important}
html:not(.theme-frosted-glass) .fg-console-stat strong{
  color:#ecfdf5;font-size:clamp(16px,2vw,22px);font-weight:800;line-height:1.1;
  text-shadow:0 0 12px #34d3993d;font-variant-numeric:tabular-nums;
}
html:not(.theme-frosted-glass) .fg-console-stat span{color:#d1fae5;opacity:.78;font-size:10px;font-weight:700;letter-spacing:.045em}

/* dial: no needle, no artwork, live circular waveform */
html:not(.theme-frosted-glass) .dial:before{display:none!important;content:none!important}
html:not(.theme-frosted-glass) .dial .dial-inner,
html:not(.theme-frosted-glass) .dial .dial-inner.has-logo{
  width:100%!important;height:100%!important;min-width:0!important;min-height:0!important;
  display:grid!important;place-items:center!important;position:relative!important;overflow:visible!important;isolation:isolate;
  background:transparent!important;background-image:none!important;border:0!important;box-shadow:none!important;
  color:transparent!important;font-size:0!important;animation:none!important;transform:none!important;
}
html:not(.theme-frosted-glass) .dial .dial-inner:after{display:none!important;content:none!important}
html:not(.theme-frosted-glass) .dial .dial-inner img,
html:not(.theme-frosted-glass) .dial .dial-inner picture,
html:not(.theme-frosted-glass) .dial .dial-inner .dial-station-logo{display:none!important}
html:not(.theme-frosted-glass) .dial .dial-inner .fg-live-wave{
  position:absolute!important;left:11%!important;top:23%!important;width:78%!important;height:54%!important;
  display:block!important;visibility:visible!important;opacity:1!important;z-index:5!important;
  pointer-events:none!important;overflow:visible!important;animation:none!important;transform:none!important;
}
html:not(.theme-frosted-glass) .dial .fg-wave-glowline{
  fill:none;stroke:#22d3ee;stroke-width:13;stroke-linecap:round;stroke-linejoin:round;opacity:.45;filter:blur(5px);
  transform-box:fill-box;transform-origin:center;animation:none;
}
html:not(.theme-frosted-glass) .dial .fg-wave-line{
  fill:none;stroke:#99f6e4;stroke-width:5;stroke-linecap:round;stroke-linejoin:round;
  filter:drop-shadow(0 0 5px #34d399) drop-shadow(0 0 12px #22d3eed9);
  transform-box:fill-box;transform-origin:center;stroke-dasharray:440;stroke-dashoffset:0;animation:none;
}
html:not(.theme-frosted-glass) .dial .dial-inner.wr-wave-playing .fg-wave-line{animation:om-wave-pulse 620ms ease-in-out infinite alternate}
html:not(.theme-frosted-glass) .dial .dial-inner.wr-wave-playing .fg-wave-glowline{animation:om-wave-glow 620ms ease-in-out infinite alternate}
@keyframes om-wave-pulse{0%{transform:scaleY(.38);opacity:.72}35%{transform:scaleY(.88);opacity:.94}70%{transform:scaleY(.56);opacity:.82}100%{transform:scaleY(1.12);opacity:1}}
@keyframes om-wave-glow{0%{transform:scaleY(.38);opacity:.2}100%{transform:scaleY(1.12);opacity:.58}}

@media(max-width:920px){
  html:not(.theme-frosted-glass) .frosted-console-ad-layout{grid-template-columns:minmax(0,1fr)}
  html:not(.theme-frosted-glass) .frosted-console-ad-layout .ad-slot{width:min(100%,364px);height:308px;justify-self:center}
}
@media(max-width:700px){
  html:not(.theme-frosted-glass) .frosted-console-ad-layout{margin-bottom:22px}
  html:not(.theme-frosted-glass) .radio-deck .deck-copy .fg-console-stats{gap:8px;margin:12px 0 0;padding:10px}
  html:not(.theme-frosted-glass) .fg-console-stat{min-width:90px}
}
@media(prefers-reduced-motion:reduce){
  html:not(.theme-frosted-glass) .dial .dial-inner.wr-wave-playing .fg-wave-line,
  html:not(.theme-frosted-glass) .dial .dial-inner.wr-wave-playing .fg-wave-glowline{animation:none}
}

/* console box size: same padding / minimum height as the Frosted glass console */
html:not(.theme-frosted-glass) .frosted-console-ad-layout .deck-panel{padding:22px;min-height:255px}
@media(max-width:700px){html:not(.theme-frosted-glass) .frosted-console-ad-layout .deck-panel{padding:18px;min-height:0}}

/* dial face: plain dark face with a glowing ring (like Frosted glass), in Original orange-pink */
html:not(.theme-frosted-glass) .dial{
  border:5px solid #6ee7b7e0;
  background:radial-gradient(circle at 50% 45%,#0c1b1b 0%,#102322 68%,#143130 100%);
  box-shadow:inset 0 0 0 5px #43e3b01a,inset 0 0 34px #34d39933,0 0 0 5px #43e3b021,0 0 24px #34d399b3,0 0 58px #22d3ee59;
}
html:not(.theme-frosted-glass).wr-playing .dial{
  box-shadow:inset 0 0 0 5px #43e3b01a,inset 0 0 34px #34d39933,0 0 0 5px #43e3b021,0 0 24px #34d399b3,0 0 58px #22d3ee59;
}

/* WRv158: Original theme hover player = same size/position as the Frosted glass player,
   and draggable on desktop/tablet the same way (drag logic lives in frosted-glass-theme.js).
   Phones (<=700px) keep the full-width bottom dock. */
html:not(.theme-frosted-glass){--wr-player-w:700px}
@media(min-width:701px){
  html:not(.theme-frosted-glass) .playerbar{
    left:0;right:0;margin-left:auto;margin-right:auto;
    width:min(var(--wr-player-w),calc(100vw - 32px));
    bottom:calc(14px + env(safe-area-inset-bottom));
    padding:9px 18px;border-radius:36px;
    transform:translate(var(--wr-dx,0px),var(--wr-dy,0px));
    touch-action:none;cursor:grab;
    transition:transform .28s cubic-bezier(.2,.8,.2,1);
  }
  html:not(.theme-frosted-glass) .playerbar:before{left:40px;right:40px}
  html:not(.theme-frosted-glass) .playerbar .player-inner{
    max-width:none;grid-template-columns:minmax(0,1fr) auto auto;gap:14px;
  }
  html:not(.theme-frosted-glass) .playerbar .nowplaying{gap:10px;min-width:0}
  html:not(.theme-frosted-glass) .playerbar .mini-art{width:38px;height:38px;flex:0 0 38px;border-radius:13px;font-size:18px}
  html:not(.theme-frosted-glass) .playerbar .now-text strong{font-size:13px}
  html:not(.theme-frosted-glass) .playerbar .now-text span{font-size:11px}
  html:not(.theme-frosted-glass) .playerbar .transport{gap:7px}
  html:not(.theme-frosted-glass) .playerbar .transport button:not(.main-play){width:34px;height:34px;font-size:14px}
  html:not(.theme-frosted-glass) .playerbar .transport .main-play{width:42px;height:42px;font-size:15px}
  html:not(.theme-frosted-glass) .playerbar .volume-box{
    grid-column:auto;justify-self:end;width:auto;min-width:0;max-width:none;gap:6px;font-size:11px;
  }
  html:not(.theme-frosted-glass) .playerbar .volume-box input[type=range]{width:74px;flex:0 0 74px}
  html:not(.theme-frosted-glass) .playerbar .vol-step{width:26px;height:26px;font-size:14px;line-height:1}
  html:not(.theme-frosted-glass) #volumeLabel{min-width:3.4ch}

  html:not(.theme-frosted-glass) .playerbar .nowplaying,
  html:not(.theme-frosted-glass) .playerbar .now-text{user-select:none;-webkit-user-select:none}
  html:not(.theme-frosted-glass) .playerbar.wr-dragging{
    transition:none;user-select:none;-webkit-user-select:none;
    box-shadow:0 28px 64px #000d,0 0 0 1px #00000080;
  }
  html:not(.theme-frosted-glass) .playerbar.wr-dragging,
  html:not(.theme-frosted-glass) .playerbar.wr-dragging *{cursor:grabbing!important}
  html:not(.theme-frosted-glass) .playerbar.wr-pl-top .sleep-timer-menu,
  html:not(.theme-frosted-glass) .playerbar.wr-pl-top .buffering-hover-notice{
    bottom:auto!important;top:calc(100% + 8px)!important;
  }
  /* Once moved, float above every page button; step back under the Theme / country dropdowns while they are open. */
  html:not(.theme-frosted-glass) .playerbar.wr-dragged,
  html:not(.theme-frosted-glass) .playerbar.wr-dragging{z-index:90}
  html:not(.theme-frosted-glass):has(.theme-menu:not([hidden])) .playerbar.wr-dragged:not(.wr-dragging),
  html:not(.theme-frosted-glass):has(.country-picker.open) .playerbar.wr-dragged:not(.wr-dragging){z-index:20}
  html:not(.theme-frosted-glass) .playerbar.wr-dragged .sleep-timer-menu{
    max-height:var(--wr-menu-max,none);overflow-y:auto;overscroll-behavior:contain;
  }
}
@media(max-width:860px) and (min-width:701px){
  html:not(.theme-frosted-glass) .playerbar .volume-box>span:first-child{display:none}
}
@media(prefers-reduced-motion:reduce){
  html:not(.theme-frosted-glass) .playerbar{transition:none}
}

/* ===== WRv159: flowing multi-wave in the dial (both themes) + console height =====
   Structure is shared; each theme only sets the --wf* colours. */
.dial .fg-live-wave .wr-ln{fill:none;stroke-linecap:round;stroke-linejoin:round;vector-effect:non-scaling-stroke}
.dial .fg-live-wave .wr-ln1{stroke:var(--wf1,#99f6e4);stroke-width:3px}
.dial .fg-live-wave .wr-ln2{stroke:var(--wf2,#22d3ee);stroke-width:2px;opacity:.82}
.dial .fg-live-wave .wr-ln3{stroke:var(--wf3,#34d399);stroke-width:1.6px;opacity:.62}
.dial .fg-live-wave .wr-amp{transform-box:view-box;transform-origin:210px 75px;transform:scaleY(.12);transition:transform .7s ease}
.dial .dial-inner.wr-wave-playing .wr-amp1,.dial .dial-inner.fg-wave-playing .wr-amp1{animation:wr-breath-a 2.4s ease-in-out infinite alternate}
.dial .dial-inner.wr-wave-playing .wr-amp2,.dial .dial-inner.fg-wave-playing .wr-amp2{animation:wr-breath-b 3.1s ease-in-out infinite alternate}
.dial .dial-inner.wr-wave-playing .wr-amp3,.dial .dial-inner.fg-wave-playing .wr-amp3{animation:wr-breath-c 2.8s ease-in-out infinite alternate}
.dial .dial-inner.wr-wave-playing .wr-ln1,.dial .dial-inner.fg-wave-playing .wr-ln1{animation:wr-flow-l 8s linear infinite}
.dial .dial-inner.wr-wave-playing .wr-ln2,.dial .dial-inner.fg-wave-playing .wr-ln2{animation:wr-flow-r 12s linear infinite}
.dial .dial-inner.wr-wave-playing .wr-ln3,.dial .dial-inner.fg-wave-playing .wr-ln3{animation:wr-flow-l 17s linear infinite}
@keyframes wr-flow-l{from{transform:translateX(0)}to{transform:translateX(-420px)}}
@keyframes wr-flow-r{from{transform:translateX(-420px)}to{transform:translateX(0)}}
@keyframes wr-breath-a{0%{transform:scaleY(.42)}45%{transform:scaleY(1)}100%{transform:scaleY(.64)}}
@keyframes wr-breath-b{0%{transform:scaleY(.9)}50%{transform:scaleY(.4)}100%{transform:scaleY(.78)}}
@keyframes wr-breath-c{0%{transform:scaleY(.5)}55%{transform:scaleY(.95)}100%{transform:scaleY(.36)}}
@media(prefers-reduced-motion:reduce){
  .dial .dial-inner.wr-wave-playing .wr-amp,.dial .dial-inner.fg-wave-playing .wr-amp,
  .dial .dial-inner.wr-wave-playing .wr-ln,.dial .dial-inner.fg-wave-playing .wr-ln{animation:none}
  .dial .dial-inner.wr-wave-playing .wr-amp,.dial .dial-inner.fg-wave-playing .wr-amp{transform:scaleY(.55)}
}
/* Original colours */
html:not(.theme-frosted-glass) .dial .fg-live-wave{
  --wf1:#99f6e4;--wf2:#22d3ee;--wf3:#34d399;
  filter:drop-shadow(0 0 4px #34d399cc) drop-shadow(0 0 11px #22d3ee80);
}

/* Console height: about the same as the advertisement box beside it (308px) on desktop. */
@media(min-width:921px){
  html:not(.theme-frosted-glass) .frosted-console-ad-layout .deck-panel{
    box-sizing:border-box;min-height:308px;padding:18px 22px;display:flex;flex-direction:column;
  }
  html:not(.theme-frosted-glass) .frosted-console-ad-layout .deck-content{margin-top:14px;flex:1 1 auto}
  html:not(.theme-frosted-glass) .frosted-console-ad-layout .deck-copy .fg-console-stats{margin:10px 0 2px;padding:10px 14px}
  html:not(.theme-frosted-glass) .frosted-console-ad-layout .deck-controls{margin-top:14px}
}

/* WRv166: higher text contrast for unselected genre chips and Most clicked / Most popular buttons (Original theme) */
html:not(.theme-frosted-glass) .chip:not(.active):not(.recent-country-chip),
html:not(.theme-frosted-glass) .dial-mode-btn:not(.active){color:#d6dae2}
html:not(.theme-frosted-glass) .chip:not(.active):not(.recent-country-chip){border-color:#454553}

/* WRv167: phone station cards - play / pause icon drawn with CSS shapes (no font glyphs), so it is always centred in the
   round button on every phone and browser; play and favourite buttons share one size and centre line. */
@media(max-width:700px){
  html:not(.theme-frosted-glass) .station-actions{align-items:center;justify-content:center;gap:8px}
  html:not(.theme-frosted-glass) .station .listen{
    box-sizing:border-box;flex:none;width:44px;height:44px;min-width:44px;padding:0;margin:0;
    display:flex;align-items:center;justify-content:center;border-radius:50%;font-size:0;line-height:0;text-indent:0;
  }
  html:not(.theme-frosted-glass) .station .listen:before,
  html:not(.theme-frosted-glass) .station .listen.is-live:before{
    content:"";display:block;flex:none;margin:0;padding:0;font-size:0;line-height:0;border-radius:0;
  }
  /* play: triangle, nudged right so its visual centre sits in the middle of the circle */
  html:not(.theme-frosted-glass) .station .listen:before{
    width:15px;height:18px;background:currentColor;clip-path:polygon(0 0,100% 50%,0 100%);transform:translateX(2px);
  }
  /* pause: two equal bars */
  html:not(.theme-frosted-glass) .station .listen.is-live:before{
    width:14px;height:16px;transform:none;clip-path:none;
    background:linear-gradient(90deg,currentColor 0 5px,transparent 5px 9px,currentColor 9px 14px);
  }
  html:not(.theme-frosted-glass) .station .heart{
    box-sizing:border-box;flex:none;width:44px;height:44px;padding:0;margin:0;
    display:grid;place-items:center;line-height:1;font-size:18px;
  }
}
@media(max-width:380px){
  html:not(.theme-frosted-glass) .station .listen,
  html:not(.theme-frosted-glass) .station .heart{width:40px;height:40px;min-width:40px}
  html:not(.theme-frosted-glass) .station .listen:before{width:13px;height:16px}
  html:not(.theme-frosted-glass) .station .listen.is-live:before{width:12px;height:14px;background:linear-gradient(90deg,currentColor 0 4px,transparent 4px 8px,currentColor 8px 12px)}
}
