/* esc-radio.css (2026-10-20, additive) - ESC Radio layer (Radio Garden steal list). */
#escRadioPlayer{position:fixed;z-index:8400;left:-9999px;bottom:12px;display:flex;align-items:center;gap:6px;box-sizing:border-box;height:52px;padding:4px 8px;
 background:var(--panel,#0b0b12);border:1px solid var(--gold,#d4af37);border-radius:14px;color:var(--text,#f3ead2);font:500 13px/1.2 Oswald,system-ui,sans-serif;box-shadow:0 6px 22px rgba(0,0,0,.55)}
#escRadioPlayer.erp-idle{width:auto!important}
#escRadioPlayer button{all:unset;cursor:pointer;min-width:40px;height:40px;display:inline-flex;align-items:center;justify-content:center;border-radius:10px;color:var(--text,#f3ead2);font-size:16px}
#escRadioPlayer button:hover,#escRadioPlayer button:focus-visible{background:#1d1b14;outline:1px solid var(--gold,#d4af37)}
#escRadioPlayer button[disabled]{opacity:.35;cursor:default}
#escRadioPlayer .erp-main{flex:1;min-width:0;cursor:pointer;display:flex;flex-direction:column;justify-content:center}
#escRadioPlayer .erp-name{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-weight:600;letter-spacing:.02em}
#escRadioPlayer .erp-st{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:11px;color:var(--muted,#b9ad8a)}
#escRadioPlayer .erp-st.err{color:#ff6b6b}
#escRadioPlayer .erp-play{background:var(--gold,#d4af37)!important;color:#111!important}
#escRadioPlayer .erp-lock.on,#escRadioPlayer .erp-fav.on{color:var(--esc-radio,#00ff85)}
#escRadioPlayer input[type=range]{width:70px;accent-color:var(--gold,#d4af37)}
#escRadioPlayer.erp-tiny .erp-prev,#escRadioPlayer.erp-tiny .erp-next,#escRadioPlayer.erp-tiny .erp-fav{display:none}
/* CHANGES 354 (owner, 2026-11-10: 'i dont see a volume for the radio'): the narrow tier used to display:none the volume slider itself - and the radio drawer is only ~375px wide, so the slider was hidden in exactly the place listeners look for it (the header dock also dropped the tier entirely and ran off the right edge of the header). Narrow now SHRINKS the slider instead of hiding it. */
#escRadioPlayer.erp-narrow input[type=range]{width:46px}
#escRadioPlayer.erp-tiny input[type=range]{width:38px}
#escRadioPlayer.erp-off{visibility:hidden!important}
#escRadioPlayer.erp-indrawer{position:static!important;width:auto!important;margin:8px 0 0;left:auto!important;box-shadow:none}
.erp-idle .erp-name::before{content:'';display:inline-block;width:9px;height:9px;border-radius:50%;background:var(--esc-radio,#00ff85);margin-right:6px;vertical-align:1px}
#escRadioDrawer{position:fixed;z-index:8500;display:none;flex-direction:column;box-sizing:border-box;background:var(--bg,#08080f);border:1px solid var(--gold,#d4af37);border-radius:14px;color:var(--text,#f3ead2);
 font:14px/1.35 system-ui,sans-serif;box-shadow:0 10px 32px rgba(0,0,0,.6)}
#escRadioDrawer.open{display:flex}
#escRadioDrawer .erd-h{display:flex;align-items:center;gap:6px;padding:8px 8px 6px 12px;border-bottom:1px solid #2a2618}
#escRadioDrawer .erd-h h3{flex:1;margin:0;font:600 17px/1.2 Oswald,system-ui,sans-serif;letter-spacing:.03em;color:var(--gold,#d4af37);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#escRadioDrawer .erd-b{flex:1;overflow:auto;padding:8px 12px 10px;overscroll-behavior:contain}
#escRadioDrawer .erd-f{padding:0 8px 8px}
#escRadioDrawer button,.erd-btn{cursor:pointer;min-height:40px;min-width:40px;padding:0 10px;border-radius:10px;border:1px solid var(--border,#4a4128);background:#14130d;color:var(--text,#f3ead2);font:500 13px Oswald,system-ui,sans-serif}
#escRadioDrawer button.on{background:var(--gold,#d4af37);color:#111;border-color:var(--gold,#d4af37)}
#escRadioDrawer h4{margin:12px 0 6px;font:600 13px Oswald,system-ui,sans-serif;letter-spacing:.06em;text-transform:uppercase;color:var(--muted,#b9ad8a)}
#escRadioDrawer .erd-meta{font-size:12px;color:var(--muted,#b9ad8a)}
#escRadioDrawer .erd-row{display:flex;align-items:center;gap:6px;padding:4px 0;border-bottom:1px solid #1b1a12}
#escRadioDrawer .erd-row .t{flex:1;min-width:0}
#escRadioDrawer .erd-row .t b{display:block;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#escRadioDrawer .erd-row .t small{display:block;color:var(--muted,#9d9378);font-size:11.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#escRadioDrawer .erd-row.playing b{color:var(--esc-radio,#00ff85)}
#escRadioDrawer .erd-row.dead b{color:#ff6b6b}
#escRadioDrawer .erd-seg{display:flex;gap:4px;flex-wrap:wrap}
#escRadioDrawer input[type=search],#escRadioDrawer input[type=text]{width:100%;box-sizing:border-box;min-height:40px;border-radius:10px;border:1px solid var(--border,#4a4128);background:#111;color:#fff;padding:0 10px;font-size:15px}
#escRadioDrawer .erd-legend{display:grid;grid-template-columns:22px 1fr;gap:4px 8px;align-items:center;font-size:12.5px;margin-top:6px}
.erd-ico-art{width:14px;height:14px;border-radius:50%;border:3px solid #d4af37;box-sizing:border-box;display:inline-block}
.erd-ico-rad{width:10px;height:10px;border-radius:50%;background:var(--esc-radio,#00ff85);display:inline-block;box-shadow:0 0 6px var(--esc-radio,#00ff85);margin-left:2px}
.erd-ico-off{width:8px;height:8px;border-radius:50%;background:#ffb300;display:inline-block;margin-left:3px}
#escRadioDrawer .erd-dot{width:8px;height:8px;border-radius:50%;background:var(--esc-radio,#00ff85);flex:0 0 auto}
#escRadioDrawer .erd-dot.off{background:#ffb300}
#escRadioDrawer a{color:var(--gold,#d4af37)}
#escRadioFx{position:fixed;inset:0;pointer-events:none;z-index:8300;display:none}
body.esc-radio-mode #escRadioFx{display:block}
#escRadioFx .erx-ring{position:absolute;left:50%;top:50%;width:64px;height:64px;margin:-32px 0 0 -32px;border:2px solid var(--esc-radio,#00ff85);border-radius:50%;box-shadow:0 0 14px var(--esc-radio,#00ff85),inset 0 0 10px rgba(0,255,133,.35)}
#escRadioFx .erx-ring::after{content:'';position:absolute;left:50%;top:50%;width:6px;height:6px;margin:-3px;border-radius:50%;background:var(--esc-radio,#00ff85)}
#escRadioFx .erx-lbl{position:absolute;left:50%;top:calc(50% + 40px);transform:translateX(-50%);padding:3px 8px;border-radius:8px;background:rgba(8,8,15,.85);color:var(--esc-radio,#00ff85);font:600 12px Oswald,system-ui,sans-serif;white-space:nowrap;max-width:80vw;overflow:hidden;text-overflow:ellipsis}
#escRadioFx.err .erx-ring{border-color:#ff6b6b;box-shadow:0 0 14px #ff6b6b}
#escRadioGate{position:fixed;inset:0;z-index:9700;display:flex;align-items:center;justify-content:center;background:rgba(5,5,12,.72)}
#escRadioGate[hidden]{display:none}
#escRadioGate .erg-box{max-width:min(420px,90vw);text-align:center;color:var(--text,#f3ead2);font:15px/1.4 system-ui,sans-serif;padding:20px}
#escRadioGate .erg-box h2{font:600 22px Oswald,system-ui,sans-serif;color:var(--gold,#d4af37);margin:0 0 6px}
#escRadioGate .erg-play{width:96px;height:96px;border-radius:50%;border:0;background:var(--gold,#d4af37);color:#111;font-size:38px;cursor:pointer;margin:14px auto 8px;display:block}
#escRadioGate .erg-skip{background:none;border:1px solid var(--border,#4a4128);color:var(--gold,#d4af37);border-radius:10px;min-height:40px;padding:0 14px;cursor:pointer}
body.esc-radio-sheet #escTalkBtn,body.esc-radio-sheet #escListenFab,body.esc-radio-sheet #esSpotChip,body.esc-radio-sheet #escInstall,body.esc-radio-sheet #escToolost,body.esc-radio-sheet #escOdbSpot,body.esc-radio-sheet #escWelcome{visibility:hidden!important}
body.esc-modal-open #escRadioPlayer,body.esc-modal-open #escRadioDrawer,body.quiet-mode #escRadioPlayer.erp-idle{visibility:hidden!important}
.esc-radio-scene-btn{margin:6px 0 10px;min-height:40px;padding:0 14px;border-radius:10px;border:1px solid var(--esc-radio,#00ff85);background:#0d1a17;color:var(--esc-radio,#00ff85);font:600 13px Oswald,system-ui,sans-serif;cursor:pointer}
body.esc-radio-open #escOdbSpot,body.esc-radio-open #escToolost,body.esc-radio-open #escSuBanner,body.esc-radio-open #escInstall,body.esc-radio-open #esSpotChip{visibility:hidden!important}
#escRadioDrawer #escRadioPlayer button{padding:0;border:0;background:none;min-height:40px}#escRadioDrawer #escRadioPlayer .erp-play{background:var(--gold,#d4af37)}
@media (max-height:500px){#escRadioDrawer #escRadioPlayer{height:44px;margin-top:4px}#escRadioDrawer .erd-h{padding:4px 6px 4px 10px}#escRadioDrawer .erd-b{padding:4px 10px}}
#escRadioPlayer .erp-play{flex:0 0 40px}
#escRadioPlayer .erp-try{color:#111!important;background:var(--gold,#d4af37)!important;padding:0 8px!important;font:600 12px Oswald,sans-serif!important}
/* HEADER DOCK (Corey, 2026-10-22): compact in-header form of the mini-player.
   esc-radio.js tick() moves #escRadioPlayer into header.top .top-right on
   desktop and adds .erp-inheader; phone/short layouts keep the corner pin.
   The header is a hard 48px (overflow hidden), .top-right is a 32px row, so
   this form is 40px tall: same controls, tighter spacing - 32px buttons,
   52px volume slider, station name/status one size down and flexing with
   ellipsis. Nothing is removed; at narrow player widths the player's own
   container tiers (esc-fix5-radio.css) yield the duplicated controls
   (volume slider / more) exactly as they do in the corner form.
   Selectors are header-scoped so they outrank the base rules above and
   esc-ui4.css's 44px touch-target rule for this form only. */
header.top #escRadioPlayer.erp-inheader{position:relative;left:auto;top:auto;bottom:auto;height:40px;width:auto;flex:1 1 auto;min-width:300px;padding:2px 8px;gap:4px;border-radius:14px!important;box-shadow:0 2px 10px rgba(0,0,0,.35);margin-right:-12px}
header.top #escRadioPlayer.erp-inheader.erp-idle{flex:1 1 auto}
/* Widened (Corey, 2026-10-22): the player runs to the header's right edge.
   .top-right absorbs the header row's slack and the player (kept last in
   the row by esc-radio.js) absorbs the group's; the station name/status
   (.erp-main, flex:1) takes the extra width.
   Flush right (Corey, 2026-10-22, build 1816): the margin-right:-12px on
   the .erp-inheader rule above cancels the header's 12px right padding
   (header.top padding:8px 12px, index.html) for the player only — it is
   the last item in the row, so its right border edge now sits exactly on
   the header's outer right edge; the left edge does not move and the
   extra 12px lands in .erp-main like the rest of the flex growth. */
header.top .top-right{flex:1 1 auto;min-width:0}
header.top #escRadioPlayer.erp-inheader button{min-width:32px;height:32px;min-height:32px;font-size:14px;border-radius:8px}
header.top #escRadioPlayer.erp-inheader .erp-play{flex:0 0 36px}
header.top #escRadioPlayer.erp-inheader .erp-main{flex:1 1 auto!important;min-width:48px!important}
header.top #escRadioPlayer.erp-inheader .erp-name{font-size:12.5px}
header.top #escRadioPlayer.erp-inheader .erp-st{font-size:10px}
header.top #escRadioPlayer.erp-inheader input[type=range]{width:52px}
/* partner on-air strip (.epr-np, esc-partner-radio.css): it normally hangs
   above the player, which the header would clip - in the header form it
   becomes a fixed ticker just under the header's right end instead. */
header.top #escRadioPlayer.erp-inheader .epr-np{position:fixed;left:auto;right:12px;top:76px;bottom:auto;max-width:min(600px,calc(100vw - 24px))}
/* CHANGES 355 (owner, 2026-11-10, over the 354 verification): un-hiding the slider was not enough - in the ~375px drawer the player row still overflowed and clipped the slider to a sliver at the pill's right edge, and the header pill still ran off the right edge of a 1920px viewport carrying its trailing shortcut buttons (Music video / Queue / Request / Listening room / Partner / Copy link, all appended after the stop button by other modules). Narrow now: smaller buttons and gaps, the niche lock + failure-only try-next buttons drop out, everything after the stop button drops out except the station-options overflow (the "..."), and the name block is capped. In the drawer the player wraps and the volume slider takes a flexible wide slot (flex 1, at least 110px) so it is unmissable on its own row space. */
#escRadioPlayer.erp-narrow{gap:4px}
#escRadioPlayer.erp-narrow button{min-width:34px;height:36px}
#escRadioPlayer.erp-narrow .erp-lock,#escRadioPlayer.erp-narrow .erp-try{display:none}
#escRadioPlayer.erp-narrow .erp-main{max-width:150px}
#escRadioPlayer.erp-narrow .erp-stop ~ *:not(.erp-more){display:none}
#escRadioPlayer.erp-indrawer{flex-wrap:wrap}
#escRadioPlayer.erp-indrawer input[type=range]{flex:1 1 110px;width:auto;min-width:110px}
