/* DigiRadio PRO — site-wide design system.
 * One authoritative palette powers discovery, directories, station pages,
 * favorites, search, the map chrome, menus and the persistent player.
 * Station covers / map tiles remain unmodified. */
:root,html[data-dr-theme="ocean"]{
 color-scheme:light;
 --dr-hero:#071e31;--dr-nav:#0a2234;--dr-footer:#081a2b;
 --dr-paper:#edf6f8;--dr-surface:#fff;--dr-surface-2:#e3f0f3;
 --dr-text:#102b37;--dr-muted:#55707c;--dr-line:#cddfe5;
 --dr-primary:#076f81;--dr-primary-hover:#075668;--dr-on-primary:#fff;
 --dr-accent:#51d9d1;--dr-hero-text:#f9ffff;--dr-hero-muted:#bed6de;
 --dr-player:#0a2432;--dr-glass:#103749;--dr-on-glass:#f9ffff;
 --dr-hero-glow:#0b7185;--dr-shadow:0 14px 44px #082b3a1c;
 --dr-focus:#f8bc5a;--dr-accent-ink:#0b2432;
}
html[data-dr-theme="neon"]{
 color-scheme:dark;
 --dr-hero:#0d0c25;--dr-nav:#11122e;--dr-footer:#0a0a1a;
 --dr-paper:#0e1227;--dr-surface:#1a203b;--dr-surface-2:#222946;
 --dr-text:#f1f2ff;--dr-muted:#c1c8e2;--dr-line:#39415f;
 --dr-primary:#a65af7;--dr-primary-hover:#c080ff;--dr-on-primary:#111026;
 --dr-accent:#4de2f2;--dr-hero-text:#fff;--dr-hero-muted:#c4c3eb;
 --dr-player:#0b0b25;--dr-glass:#252056;--dr-on-glass:#fff;
 --dr-hero-glow:#7b27db;--dr-shadow:0 18px 50px #0007;
 --dr-focus:#5ef0ec;--dr-accent-ink:#081822;
}
html[data-dr-theme="sunset"]{
 color-scheme:light;
 --dr-hero:#37152c;--dr-nav:#401e33;--dr-footer:#281221;
 --dr-paper:#fff7f0;--dr-surface:#fff;--dr-surface-2:#fae8e5;
 --dr-text:#40202e;--dr-muted:#805a6e;--dr-line:#ecd7db;
 --dr-primary:#ad395d;--dr-primary-hover:#892d4b;--dr-on-primary:#fff;
 --dr-accent:#ffbf70;--dr-hero-text:#fffaf6;--dr-hero-muted:#f7d6dc;
 --dr-player:#381529;--dr-glass:#5a2946;--dr-on-glass:#fff;
 --dr-hero-glow:#c24f71;--dr-shadow:0 14px 44px #5722361d;
 --dr-focus:#ed8840;--dr-accent-ink:#42202b;
}
html[data-dr-theme="gold"]{
 color-scheme:dark;
 --dr-hero:#101317;--dr-nav:#15181c;--dr-footer:#101215;
 --dr-paper:#12161b;--dr-surface:#1d232b;--dr-surface-2:#2a3038;
 --dr-text:#f5f3ed;--dr-muted:#c4c4be;--dr-line:#444b52;
 --dr-primary:#d7b36b;--dr-primary-hover:#ebcb88;--dr-on-primary:#191a1b;
 --dr-accent:#f0c977;--dr-hero-text:#f9f7f0;--dr-hero-muted:#ccc6b8;
 --dr-player:#121517;--dr-glass:#31302b;--dr-on-glass:#fff;
 --dr-hero-glow:#94754e;--dr-shadow:0 18px 48px #0008;
 --dr-focus:#f7d990;--dr-accent-ink:#181716;
}

/* Canonical layout tokens (overrides static legacy per-page palette values). */
html[data-dr-theme] body{
 background:var(--dr-paper)!important;color:var(--dr-text);
}
html[data-dr-theme] #radio-page,
html[data-dr-theme] .drh,
html[data-dr-theme] .drs,
html[data-dr-theme] .drp,
html[data-dr-theme] .drb,
html[data-dr-theme] .drl,
html[data-dr-theme] .drm,
html[data-dr-theme] .radio-world{
 --night:var(--dr-hero);--plum:var(--dr-primary);--plum-2:var(--dr-primary);
 --signal:var(--dr-accent);--paper:var(--dr-paper);--ink:var(--dr-text);
 --muted:var(--dr-muted);--mist:var(--dr-line);
 color:var(--dr-text);background:var(--dr-paper);
}
html[data-dr-theme] .drh-hero,
html[data-dr-theme] .drs-hero{
 color:var(--dr-hero-text);
 background:radial-gradient(ellipse at 86% 28%,var(--dr-hero-glow) 0%,transparent 50%),var(--dr-hero);
}
html[data-dr-theme] .drh-title,
html[data-dr-theme] .drs-hero .drs-title{color:var(--dr-hero-text)}
html[data-dr-theme] .drh-intro,
html[data-dr-theme] .drp-hero .drp-sub{color:var(--dr-hero-muted)}
html[data-dr-theme] .drh-world-kicker{color:var(--dr-accent)}
html[data-dr-theme] .drh-more-filters summary{color:var(--dr-hero-text)}
html[data-dr-theme] .drh-world-counter{
 background:radial-gradient(circle at 88% 0%,color-mix(in srgb,var(--dr-accent) 17%,transparent),transparent 48%),linear-gradient(126deg,var(--dr-glass),var(--dr-player));
 border-color:color-mix(in srgb,var(--dr-accent) 58%,transparent);
}
html[data-dr-theme] .drh-counter-wave,
html[data-dr-theme] .drh-fact-icon,
html[data-dr-theme] .drh-counter-globe{color:var(--dr-accent)}
html[data-dr-theme] .drh-world-total strong{color:var(--dr-accent)}
html[data-dr-theme] .drh-go,
html[data-dr-theme] .drs .drs-play{
 background:var(--dr-accent);color:var(--dr-accent-ink);box-shadow:none;
}
html[data-dr-theme] .drh-go:hover,
html[data-dr-theme] .drs .drs-play:hover{filter:brightness(1.07);background:var(--dr-accent)}
html[data-dr-theme] .drh-select select{color:var(--dr-hero-text);border-color:#ffffff4b;background-color:#ffffff15}
html[data-dr-theme] .drh-select select option{color:#17232b;background:#fff}
html[data-dr-theme] .drh-select span{color:var(--dr-hero-muted)}
html[data-dr-theme] .drh .world-card-actions [data-world-play],
html[data-dr-theme] .world-card-actions [data-world-play],
html[data-dr-theme] .world-filter button{
 background:var(--dr-primary);border-color:var(--dr-primary);color:var(--dr-on-primary)
}
html[data-dr-theme] .drh .drh-ranked .world-station::before{
 background:var(--dr-primary);color:var(--dr-on-primary)
}
html[data-dr-theme] .drh .world-station img{border-color:var(--dr-line)}
html[data-dr-theme] .drh .world-station>a:hover img{border-color:var(--dr-primary)}
html[data-dr-theme] .drh-mood-grid .drh-mood{box-shadow:0 10px 25px -18px #0009}
html[data-dr-theme] header.top-menu.drn{background:var(--dr-nav)}
html[data-dr-theme] footer.drf{background:var(--dr-footer)}
html[data-dr-theme] .drn-drawer{background:var(--dr-player);border-color:var(--dr-line)}
html[data-dr-theme] .drn-drawer-nav a[aria-current="page"]{background:color-mix(in srgb,var(--dr-accent) 22%,transparent)}
html[data-dr-theme] .drn-drawer-nav a[aria-current="page"] svg{color:var(--dr-accent)}
html[data-dr-theme] .drn-drawer-live{background:var(--dr-glass);color:#fff}
html[data-dr-theme] .drn-nav a[aria-current="page"]::after{background:var(--dr-accent)}
html[data-dr-theme] .drn .dr-install,
html[data-dr-theme] .top-menu .dr-install{background:var(--dr-accent);color:var(--dr-accent-ink)}
html[data-dr-theme] .drn .dr-install:hover{filter:brightness(1.06)}
html[data-dr-theme] .drh-all-link{
 display:flex;align-items:center;justify-content:center;gap:8px;
 max-width:280px;margin:26px auto 0;min-height:48px;padding:10px 20px;
 border-radius:999px;background:var(--dr-primary);color:var(--dr-on-primary);
 font:700 15px/1.2 'Instrument Sans',system-ui,sans-serif;text-decoration:none;
}
html[data-dr-theme] .drh-all-link:hover{background:var(--dr-primary-hover);color:var(--dr-on-primary)}

/* All directories, all types of radio tiles and standard cards. */
html[data-dr-theme] .drh-body,
html[data-dr-theme] .drb-body,
html[data-dr-theme] .drl-body,
html[data-dr-theme] .drp-body,
html[data-dr-theme] .drs-body,
html[data-dr-theme] .drm-wrap{color:var(--dr-text)}
html[data-dr-theme] .world-station,
html[data-dr-theme] .drb-grid a,
html[data-dr-theme] .drs-panel,
html[data-dr-theme] .drp-card,
html[data-dr-theme] .drh-empty,
html[data-dr-theme] .drl-notice,
html[data-dr-theme] .drs .drs-aside .genre-list,
html[data-dr-theme] .world-empty,
html[data-dr-theme] .world-hero{
 background:var(--dr-surface);border-color:var(--dr-line);color:var(--dr-text);
 box-shadow:var(--dr-shadow);
}
html[data-dr-theme] .world-station h3,
html[data-dr-theme] .world-station>a,
html[data-dr-theme] .drb-grid a,
html[data-dr-theme] .drs-panel h2,
html[data-dr-theme] .drs-h2,
html[data-dr-theme] .drh-head h2,
html[data-dr-theme] .world-personal h2,
html[data-dr-theme] .drb-group h2{color:var(--dr-text)}
html[data-dr-theme] .drh-head,
html[data-dr-theme] .drb-group h2{border-color:var(--dr-line)}
html[data-dr-theme] .drb-group h2{color:var(--dr-primary)}
html[data-dr-theme] .drb-grid a:hover{border-color:var(--dr-primary)}
html[data-dr-theme] .drb-icon,
html[data-dr-theme] .drb-dot,
html[data-dr-theme] .drb-grid em,
html[data-dr-theme] .drs-count,
html[data-dr-theme] .world-card-actions [data-world-favorite]{
 background:var(--dr-surface-2);color:var(--dr-primary);border-color:var(--dr-line);
}
html[data-dr-theme] .drb-grid em,
html[data-dr-theme] .drh-head span,
html[data-dr-theme] .drs-about .description,
html[data-dr-theme] .drs-about .radio-details,
html[data-dr-theme] .world-section-heading>span,
html[data-dr-theme] .world-listen-count{color:var(--dr-muted)}
html[data-dr-theme] .drh-pages .page-link,
html[data-dr-theme] .world-pagination .page-link{
 background:var(--dr-surface);border-color:var(--dr-line)!important;color:var(--dr-text)
}
html[data-dr-theme] .drh-pages .page-item.active .page-link,
html[data-dr-theme] .world-pagination .page-item.active .page-link{
 background:var(--dr-primary);color:var(--dr-on-primary);border-color:var(--dr-primary)!important
}
html[data-dr-theme] .drh-pages .page-item.disabled .page-link,
html[data-dr-theme] .world-pagination .page-item.disabled .page-link{
 background:var(--dr-surface-2);color:var(--dr-muted)
}
html[data-dr-theme] .drh .drh-empty,
html[data-dr-theme] .drl-notice{background:var(--dr-surface);border-color:var(--dr-line)}
html[data-dr-theme] .drs-tags a,
html[data-dr-theme] .drl-kicker{color:var(--dr-hero-text);border-color:#ffffff3c}
html[data-dr-theme] .drl-count,
html[data-dr-theme] .drs-offline{color:var(--dr-hero-muted)}
html[data-dr-theme] .drl-count b{color:var(--dr-hero-text)}
html[data-dr-theme] .drb-total{color:var(--dr-hero-text)}
html[data-dr-theme] .drb-letters a{color:var(--dr-hero-text)}
html[data-dr-theme] .drb-letters a:hover{background:var(--dr-accent);color:var(--dr-accent-ink)}
html[data-dr-theme] .drb-filter input,
html[data-dr-theme] .world-filter input,
html[data-dr-theme] .world-filter select,
html[data-dr-theme] .drs .form-control,
html[data-dr-theme] .drs .form-select,
html[data-dr-theme] .drp input:not([type="checkbox"]),
html[data-dr-theme] .drp textarea,
html[data-dr-theme] .drp select{
 background:var(--dr-surface);color:var(--dr-text);border-color:var(--dr-line);
}
html[data-dr-theme] .drb-filter svg,
html[data-dr-theme] .drh-q svg{color:var(--dr-primary)}

/* Hero station search stays a LIGHT input in every theme.
 * --dr-text becomes near-white in Neon/Gold, so inheriting it makes
 * typed text invisible on the white search field. Keep this scoped. */
html[data-dr-theme] .drh-search .drh-q input[type="search"]{
  background-color:#fff;
  color:#182736;
  -webkit-text-fill-color:#182736;
  caret-color:#182736;
  color-scheme:light;
}
html[data-dr-theme] .drh-search .drh-q input[type="search"]::placeholder{
  color:#667085;
  -webkit-text-fill-color:#667085;
  opacity:1;
}
html[data-dr-theme] .drh-search .drh-q input[type="search"]:-webkit-autofill,
html[data-dr-theme] .drh-search .drh-q input[type="search"]:-webkit-autofill:hover,
html[data-dr-theme] .drh-search .drh-q input[type="search"]:-webkit-autofill:focus{
  -webkit-text-fill-color:#182736;
  -webkit-box-shadow:0 0 0 1000px #fff inset;
  box-shadow:0 0 0 1000px #fff inset;
  caret-color:#182736;
}
html[data-dr-theme] .world-filter label,
html[data-dr-theme] .drb-filter label{color:var(--dr-text)}
html[data-dr-theme] .world-shortcuts a,
html[data-dr-theme] .radio-language-strip{
 background:var(--dr-surface-2);border-color:var(--dr-line);color:var(--dr-text)
}
html[data-dr-theme] .radio-language-strip a,
html[data-dr-theme] .world-reset{color:var(--dr-primary)}
html[data-dr-theme] .radio-language-strip a[aria-current="true"]{
 color:var(--dr-on-primary);background:var(--dr-primary)
}
html[data-dr-theme] .drm-stage{
 background:var(--dr-surface);border-color:var(--dr-line)
}
html[data-dr-theme] .drm-sheet{
 background:var(--dr-surface);border-color:var(--dr-line);color:var(--dr-text)
}
html[data-dr-theme] .drm-sheet a,
html[data-dr-theme] .drm-sheet h3{color:var(--dr-text)}
html[data-dr-theme] .drm-sheet .drm-play,
html[data-dr-theme] .drm-locate{background:var(--dr-primary);color:var(--dr-on-primary)}
html[data-dr-theme] #radio-persistent.rp{
 --rp-bg:var(--dr-player);--rp-accent:var(--dr-accent);--rp-plum:var(--dr-primary);
 background:var(--dr-player);color:#fff;border-color:#ffffff2a;
}
html[data-dr-theme] #radio-persistent.rp .rp-play{background:var(--dr-accent);color:var(--dr-accent-ink)}
html[data-dr-theme] .drpro-dialog{
 background:linear-gradient(145deg,var(--dr-glass),var(--dr-player) 70%);
 color:var(--dr-on-glass);
}
html[data-dr-theme] .drpro-transport .drpro-primary{background:var(--dr-accent);color:var(--dr-accent-ink)}
html[data-dr-theme] .drpro-overline{color:var(--dr-accent)}
html[data-dr-theme] :is(.drh,.drs,.drb,.drp,.drm,.drn,.drpro-dialog) :focus-visible{
 outline:3px solid var(--dr-focus);outline-offset:3px
}

/* Music-first identity: a single, decorative vector on the global landing hero.
   It cannot block search, menus or station-card interactions. */
.drh-listening-hero{position:relative;isolation:isolate;overflow:hidden}
.drh-listening-hero>.drh-wrap{position:relative;z-index:2}
.drh-headphone-visual{position:absolute;z-index:0;inset-inline-end:max(2%,calc((100vw - 1380px)/2));top:-55px;width:min(28vw,370px);color:var(--dr-accent);opacity:.18;pointer-events:none}
.drh-headphone-visual svg{display:block;width:100%;height:auto;filter:drop-shadow(0 18px 32px #0005)}
html[data-dr-theme="neon"] .drh-headphone-visual{opacity:.35;filter:drop-shadow(0 0 20px var(--dr-primary))}
html[data-dr-theme="gold"] .drh-headphone-visual{opacity:.26}
.drh-listening-hero .drh-world-kicker{letter-spacing:.13em}
.drh-listening-hero .drh-world-counter{box-shadow:0 14px 35px #0001}
.drh-listening-hero .drh-q input:focus-visible{outline:3px solid var(--dr-focus);outline-offset:3px}
.drpro-equalizer{display:flex;align-items:center;justify-content:center;gap:5px;height:38px;margin:0 auto 5px}
.drpro-equalizer i{display:block;width:4px;height:9px;min-height:6px;border-radius:99px;background:var(--dr-accent);opacity:.55;transform-origin:center}
.drpro-panel[data-playing="true"] .drpro-equalizer i{animation:drpro-eq 1.15s ease-in-out infinite}
.drpro-panel[data-playing="true"] .drpro-equalizer i:nth-child(3n){animation-delay:-.38s}
.drpro-panel[data-playing="true"] .drpro-equalizer i:nth-child(2n){animation-delay:-.67s}
.drpro-panel[data-playing="true"] .drpro-equalizer i:nth-child(4n){animation-delay:-.21s}
@keyframes drpro-eq{0%,100%{height:8px;opacity:.55}50%{height:32px;opacity:1}}
@media(max-width:767px){
 .drh-headphone-visual{inset-inline-end:-50px;top:-22px;width:180px;opacity:.10}
 html[data-dr-theme="neon"] .drh-headphone-visual{opacity:.17}
 .drh-listening-hero .drh-title{position:relative}
}
@media(prefers-reduced-motion:reduce){.drpro-panel .drpro-equalizer i{animation:none!important}}

/* Theme chooser in the main navigation */
.dr-theme-picker{position:relative;flex:0 0 auto;z-index:1500}
.dr-theme-picker summary{
 list-style:none;display:inline-flex;align-items:center;justify-content:center;gap:7px;
 min-height:40px;padding:0 11px;border:1px solid #ffffff42;
 border-radius:999px;color:#fff;cursor:pointer;font-weight:650;font-size:13px;white-space:nowrap
}
.dr-theme-picker summary::-webkit-details-marker{display:none}
.dr-theme-picker summary:hover,.dr-theme-picker[open] summary{background:#ffffff1c}
.dr-theme-menu{
 position:absolute;right:0;top:calc(100% + 10px);min-width:188px;display:grid;gap:5px;
 padding:10px;border-radius:15px;background:#fff;color:#241322;box-shadow:0 14px 36px #0005;
 border:1px solid #e3d8e0
}
.dr-theme-menu button{
 display:flex;align-items:center;gap:10px;width:100%;min-height:40px;text-align:start;
 background:transparent;border:1px solid transparent;border-radius:10px;padding:6px 9px;
 color:#241322;font:650 14px/1.2 'Instrument Sans',system-ui,sans-serif;cursor:pointer
}
.dr-theme-menu button:hover,.dr-theme-menu button[aria-pressed="true"]{background:#f5eef3;border-color:#e8d9e4}
.dr-theme-swatch{display:inline-block;width:22px;height:22px;flex:0 0 22px;border-radius:50%;box-shadow:0 0 0 1px #0002}
.dr-theme-swatch-ocean{background:linear-gradient(135deg,#071e31 55%,#51d9d1 55%)}
.dr-theme-swatch-neon{background:linear-gradient(135deg,#0d0c25 55%,#a65af7 55%);box-shadow:inset 0 0 0 1px #4de2f2}
.dr-theme-swatch-sunset{background:linear-gradient(135deg,#37152c 55%,#ffbf70 55%)}
.dr-theme-swatch-gold{background:linear-gradient(135deg,#101317 55%,#f0c977 55%)}
html[dir="rtl"] .dr-theme-menu{right:auto;left:0}
@media(max-width:1200px){.dr-theme-picker .dr-theme-label{display:none}.dr-theme-picker summary{width:40px;padding:0}}
@media(max-width:400px){.dr-theme-picker summary{width:36px;min-height:36px;padding:0}.dr-theme-picker summary svg{width:18px}}
/* Refined persistent mini-player; expanded features live in the full panel. */
html[data-dr-theme] #radio-persistent.rp{
 --rp-bg:var(--dr-player);--rp-accent:var(--dr-accent);--rp-plum:var(--dr-primary);
 background:var(--dr-player);border:1px solid #ffffff2a;box-shadow:0 15px 55px #0008;
 border-radius:20px;z-index:1650
}
#radio-persistent.rp .rp-art{display:block;position:relative;border:0;background:none;cursor:pointer;padding:0;flex:0 0 56px}
#radio-persistent.rp .rp-art:hover img{outline:2px solid var(--rp-accent);outline-offset:2px}
#radio-persistent.rp .rp-art:focus-visible{outline:3px solid var(--rp-accent);outline-offset:3px}
#radio-persistent.rp .rp-art::after{
 content:'↗';position:absolute;right:-5px;top:-7px;display:grid;place-items:center;
 width:20px;height:20px;border-radius:50%;background:var(--rp-accent);color:#241322;font:800 12px/1 system-ui
}
#radio-persistent.rp .rp-play{background:var(--rp-accent);color:#241322}
#radio-persistent.rp .rp-play:hover{background:var(--rp-accent);filter:brightness(1.07)}
/* Full-screen player is presented without creating a second audio/video engine. */
body.drpro-open{overflow:hidden}
.drpro-panel[hidden],.drpro-notice[hidden],.drpro-record img[hidden],.drpro-placeholder[hidden]{display:none!important}
.drpro-panel{position:fixed;inset:0;z-index:1800;display:grid;place-items:center;padding:20px;isolation:isolate}
.drpro-backdrop{position:absolute;inset:0;border:0;background:#08070be0;backdrop-filter:blur(10px);cursor:default}
.drpro-dialog{
 position:relative;width:min(940px,100%);max-height:min(92dvh,820px);overflow:auto;
 padding:24px 32px 34px;border:1px solid #ffffff2b;border-radius:26px;
 background:linear-gradient(145deg,var(--dr-glass),var(--dr-player) 70%);color:#fff;
 box-shadow:0 26px 80px #000a;font-family:'Instrument Sans',system-ui,sans-serif
}
.drpro-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}
.drpro-brand{display:flex;align-items:center;gap:10px;font-size:18px;font-weight:750;letter-spacing:-.03em}
.drpro-brand b{font-size:12px;letter-spacing:.04em}
.drpro-globe{display:grid;place-items:center;color:var(--dr-accent);font-size:32px;line-height:1}
.drpro-close{display:grid;place-items:center;width:42px;height:42px;border:1px solid #ffffff39;border-radius:50%;background:#ffffff11;color:#fff;cursor:pointer}
.drpro-close:hover{background:#ffffff28}
.drpro-content{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:38px;align-items:center}
.drpro-visual{min-width:0;display:grid;place-items:center;padding:24px;border-radius:24px;background:#ffffff0b}
.drpro-record{position:relative;width:min(100%,330px);aspect-ratio:1;display:grid;place-items:center;
 border-radius:26px;overflow:hidden;background:linear-gradient(135deg,#ffffff26,#0002);box-shadow:0 16px 40px #0005
}
.drpro-record img{width:100%;height:100%;object-fit:contain;background:#fff;padding:9%}
.drpro-placeholder{color:var(--dr-accent)}
.drpro-overline{display:inline-flex;align-items:center;gap:9px;color:var(--dr-accent);font-size:12px;font-weight:750;letter-spacing:.1em;text-transform:uppercase}
.drpro-onair-dot{width:9px;height:9px;border-radius:50%;background:currentColor;box-shadow:0 0 0 4px #ffffff13}
.drpro-detail h2{overflow-wrap:anywhere;font:800 clamp(28px,3vw,48px)/1.08 'Bricolage Grotesque',system-ui,sans-serif;margin:18px 0 8px}
.drpro-status{font-size:15px;color:#e5d9e8;min-height:20px;margin:0 0 24px}
.drpro-transport{display:flex;align-items:center;justify-content:center;gap:22px;margin:10px 0 24px}
.drpro-transport button{display:grid;place-items:center;border:0;background:transparent;color:#fff;width:48px;height:48px;border-radius:50%;cursor:pointer}
.drpro-transport button[disabled]{opacity:.3;cursor:not-allowed}
.drpro-transport .drpro-primary{width:76px;height:76px;background:var(--dr-accent);color:#241322;box-shadow:0 12px 28px -14px var(--dr-accent)}
.drpro-transport button:hover:not(:disabled){filter:brightness(1.13);background-color:#ffffff20}
.drpro-transport .drpro-primary:hover:not(:disabled){background-color:var(--dr-accent)}
.drpro-volume-row{display:flex;gap:14px;align-items:center;margin:0 0 20px}
.drpro-volume-row input{flex:1;min-width:60px;accent-color:var(--dr-accent)}
.drpro-mute{font-size:12px;font-weight:700;padding:8px;border:1px solid #ffffff36;border-radius:10px;background:#ffffff12;color:#fff;cursor:pointer}
.drpro-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.drpro-actions>*{display:flex;align-items:center;justify-content:center;gap:7px;min-height:46px;text-align:center;
 padding:8px 10px;border:1px solid #ffffff36;border-radius:11px;background:#ffffff0d;color:#fff;
 font:650 13px/1.2 'Instrument Sans',system-ui,sans-serif;cursor:pointer;text-decoration:none
}
.drpro-actions>*:hover{background:#ffffff1d;color:#fff}
.drpro-actions [aria-pressed="true"]{color:var(--dr-accent);border-color:var(--dr-accent)}
.drpro-actions span{font-size:18px}
.drpro-sleep{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-top:20px;font-size:13px;color:#e8dce8}
.drpro-sleep select{min-height:38px;padding:0 12px;border:1px solid #ffffff36;border-radius:10px;background:var(--dr-player);color:#fff;font:600 13px system-ui}
.drpro-songs-link{display:inline-flex;justify-content:space-between;align-items:center;gap:12px;margin-top:12px;min-height:40px;width:100%;padding:0 10px;border:0;border-radius:10px;background:#ffffff11;color:#fff;font-size:13px;font-weight:600;cursor:pointer}
.drpro-songs-link:hover{background:#ffffff23}
.drpro-songs-link span{color:var(--dr-accent);font-size:18px}
.drpro-notice{margin:15px 0 0;text-align:center;color:var(--dr-accent);overflow-wrap:anywhere}
.drpro-dialog :focus-visible{outline:3px solid var(--dr-accent);outline-offset:3px}
html[dir=rtl] .drpro-dialog{text-align:right}
@media(max-width:767px){
 #radio-persistent.rp{left:0;transform:none;width:100%;bottom:0;border-radius:18px 18px 0 0;border-width:1px 0 0;
  padding:10px 13px calc(10px + env(safe-area-inset-bottom));grid-template-columns:minmax(0,1fr) auto;
  grid-template-areas:"station play";gap:12px}
 #radio-persistent.rp .rp-prev,#radio-persistent.rp .rp-next,#radio-persistent.rp .rp-mute,
 #radio-persistent.rp .rp-sleep,#radio-persistent.rp .rp-change,#radio-persistent.rp .rp-songs-btn,
 #radio-persistent.rp .rp-volume{display:none}
 #radio-persistent.rp .rp-station{grid-area:station;gap:10px;min-width:0}
 #radio-persistent.rp .rp-play{grid-area:play;width:54px;height:54px}
 #radio-persistent.rp .rp-art,#radio-persistent.rp .rp-art img{width:48px;height:48px;flex-basis:48px}
 #radio-persistent.rp .rp-fav{width:38px;flex-basis:38px}
 body.radio-has-player{padding-bottom:calc(90px + env(safe-area-inset-bottom))}
 body.radio-has-player .cookiealert{bottom:calc(90px + env(safe-area-inset-bottom))}
 .drpro-panel{padding:0}
 .drpro-dialog{position:absolute;inset:auto 0 0;max-height:94dvh;border-radius:26px 26px 0 0;padding:18px 18px calc(24px + env(safe-area-inset-bottom));overscroll-behavior:contain}
 .drpro-content{grid-template-columns:1fr;gap:14px}
 .drpro-top{margin-bottom:12px}
 .drpro-visual{padding:12px}
 .drpro-record{width:min(58vw,220px);border-radius:20px}
 .drpro-detail{text-align:center}
 .drpro-detail h2{font-size:clamp(25px,6vw,35px);margin:10px 0 5px}
 .drpro-status{margin-bottom:12px}
 .drpro-transport{margin:8px 0 12px}
 .drpro-actions{gap:6px}
 .drpro-actions>*{font-size:12px;min-height:42px;padding:6px}
 .drpro-sleep{margin-top:12px}
}
@media(max-width:370px){#radio-persistent.rp .rp-fav{display:none}.drpro-dialog{padding-left:12px;padding-right:12px}.drpro-record{width:min(48vw,175px)}}
@media(prefers-reduced-motion:reduce){.drpro-panel *,#radio-persistent.rp *{animation-duration:0s!important;transition:none!important}}

/* PRO player V2: broadcaster-provided song metadata and permitted audio output. */
.drpro-song,.drpro-output{border:1px solid #ffffff2c;background:#ffffff0a;border-radius:15px;padding:15px 17px;margin:14px 0;color:#fff}
.drpro-section-title{display:flex;align-items:center;gap:9px;color:var(--dr-accent);font:750 12px/1.4 'Instrument Sans',system-ui,sans-serif;letter-spacing:.035em}
.drpro-section-title>span:first-child{font-size:20px;line-height:1}
.drpro-song strong{display:block;margin:9px 0 5px;font:750 clamp(17px,2vw,21px)/1.28 'Instrument Sans',system-ui,sans-serif;overflow-wrap:anywhere;color:#fff}
.drpro-song p,.drpro-output p{margin:5px 0 0;color:#d8d7e2;font:400 12px/1.5 'Instrument Sans',system-ui,sans-serif}
.drpro-song-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:12px}
.drpro-song-actions[hidden],.drpro-output-tools[hidden]{display:none!important}
.drpro-song-actions>*,
.drpro-output-tools button{display:inline-flex;align-items:center;justify-content:center;min-height:42px;gap:4px;padding:8px 10px;
border-radius:10px;border:1px solid #ffffff35;background:#ffffff10;color:#fff;
font:700 12px/1.25 'Instrument Sans',system-ui,sans-serif;text-decoration:none;text-align:center;cursor:pointer}
.drpro-song-actions>a:hover,.drpro-song-actions>button:hover,.drpro-output-tools button:hover{background:#ffffff22;color:#fff}
.drpro-song-actions button[aria-pressed=true]{color:var(--dr-accent);border-color:var(--dr-accent)}
.drpro-song-actions button span{font-size:18px}
.drpro-output-tools{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;margin-top:12px}
.drpro-output-tools select{width:100%;min-width:0;min-height:42px;padding:8px;border:1px solid #ffffff45;border-radius:10px;
background:var(--dr-player);color:#fff;font:600 13px 'Instrument Sans',system-ui,sans-serif}
.drpro-output-tools option{color:#fff;background:var(--dr-player)}
.drpro-output-tools [data-pro-output-choose]{grid-column:1/-1}
.drpro-output-tools button{min-width:90px}
.drpro-output-tools button[hidden]{display:none}
@media(max-width:767px){
  .drpro-song,.drpro-output{margin:10px 0;padding:12px 13px}
  .drpro-song-actions{gap:6px}
  .drpro-song-actions>*{min-height:40px}
}
@media(max-width:360px){
  .drpro-output-tools{grid-template-columns:1fr}
  .drpro-output-tools [data-pro-output-choose]{grid-column:auto}
}
