/* V1 RADIO · header deck (v1-deck.css v8)
   Load on EVERY page except /party/, as the LAST stylesheet in <head> (after v1-site.css / v1-poster.css):
   <link rel="stylesheet" href="/v1-deck.css?v=8">
   Works with /v1-deck.js (adds body.v1-deck). Without the script nothing changes. */

body.v1-deck{--v1-player-space:0px!important;--dk-navy:#101118;--dk-panel:#181a24;--dk-line:#30323e;--dk-ink:#f8f8fb;--dk-muted:#b9bac8;--dk-pink:#ff3eaa;--dk-lime:#d7ff3a;padding-bottom:0!important}
/* the old bottom player bar never shows, not even for the moment before v1-deck.js moves the player into the header */
body.v1-deck aside.v1-deck-src,body.v1-deck>aside.player,body.v1-deck>aside.site-player{position:fixed!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);border:0;padding:0;margin:0;box-shadow:none;background:none}

/* header bar: V1 symbol on the left; play + song and the menu button on the right */
body.v1-deck header.site-header.v1h{background:rgba(16,17,24,.97)!important;box-shadow:0 1px 0 var(--dk-line);backdrop-filter:blur(12px)}
body.v1-deck .v1h .v1h-in{display:flex;align-items:center;gap:12px;height:76px}
/* logo: only the V1 symbol (top 76% of the logo file), cropped in place */
body.v1-deck .v1h .v1h-logo{flex:none;display:block;width:38px;height:40px;overflow:hidden;line-height:0;margin-right:auto}
body.v1-deck .v1h .v1h-logo img{display:block;height:53px!important;width:auto!important;max-width:none!important;margin:0 0 0 -7px!important}

/* the deck: just the play button until it plays, then the pill slides open with the song */
body.v1-deck .v1h .player-inner.v1-deck-bar{flex:0 1 auto;min-width:0;display:flex!important;flex-direction:row-reverse;flex-wrap:nowrap!important;align-items:center;gap:0;min-height:0!important;height:auto;padding:0!important;margin:0!important;width:auto;max-width:none;background:transparent;border:1px solid transparent;border-radius:999px;grid-template-columns:none!important;transition:background .35s,border-color .35s,padding .45s cubic-bezier(.2,.7,.2,1),gap .45s cubic-bezier(.2,.7,.2,1)}
body.v1-deck .v1h .player-inner.v1-deck-bar.dk-on{gap:12px;padding:6px 6px 6px 18px!important;background:var(--dk-panel);border-color:var(--dk-line)}
body.v1-deck .v1-deck-bar .player-toggle{flex:none;width:46px!important;height:46px!important;min-width:46px;border-radius:50%;border:0;background:var(--dk-pink)!important;color:var(--dk-navy)!important;font-size:16px;display:grid;place-items:center;box-shadow:0 0 0 4px rgba(255,62,170,.22);grid-area:auto!important;margin:0}
body.v1-deck .v1-deck-bar .player-toggle[aria-label^="Stop"]{background:var(--dk-lime)!important;box-shadow:0 0 0 4px rgba(215,255,58,.25)}
body.v1-deck .v1-deck-bar .player-info{flex:0 1 auto;min-width:0;width:0;opacity:0;overflow:hidden;pointer-events:none;display:block;cursor:pointer;grid-area:auto!important;border-radius:10px;outline-offset:4px;transition:width .5s cubic-bezier(.2,.7,.2,1),opacity .3s}
/* v7: while collapsed the hidden song takes no height (it used to stack into a tall invisible column that blocked clicks under the header) */
body.v1-deck .v1-deck-bar:not(.dk-on) .player-info{height:0}
body.v1-deck .v1-deck-bar.dk-on .player-info{width:clamp(200px,26vw,380px);opacity:1;pointer-events:auto;transition:width .5s cubic-bezier(.2,.7,.2,1),opacity .4s .15s}
body.v1-deck .v1-deck-bar .player-info>strong,body.v1-deck .v1-deck-bar .player-info .v1-status-clean{display:none!important}
body.v1-deck .dk-now{display:block;min-width:0;padding-left:6px}
body.v1-deck .dk-now small{display:block;font:700 12px/1.2 Inter,Arial,sans-serif;color:var(--dk-pink);margin:0 0 2px}
body.v1-deck .dk-now b{display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font:800 15px/1.2 Archivo,Arial,sans-serif;font-stretch:112%;color:var(--dk-ink)}
body.v1-deck .dk-now b .dk-run{display:inline-flex;white-space:nowrap}
body.v1-deck .dk-now b.dk-scroll{text-overflow:clip;-webkit-mask-image:linear-gradient(90deg,transparent,#000 6%,#000 90%,transparent);mask-image:linear-gradient(90deg,transparent,#000 6%,#000 90%,transparent)}
body.v1-deck .dk-now b.dk-scroll .dk-run{animation:dk-marquee var(--dk-dur,12s) linear infinite}
body.v1-deck .dk-now b.dk-scroll .dk-run>span{padding-right:2.5em}
body.v1-deck .player-info:hover .dk-now b.dk-scroll .dk-run{animation-play-state:paused}
@keyframes dk-marquee{from{transform:translateX(0)}to{transform:translateX(-50%)}}
body.v1-deck .player-info:not(.dk-idle) .dk-now small::after{content:" ▾";color:var(--dk-muted)}
body.v1-deck .player-info:hover .dk-now b{color:var(--dk-lime)}
body.v1-deck header.v1h .v1-deck-bar .listening-toggle,body.v1-deck header.v1h .v1-deck-bar .player-bars{display:none!important}

/* hamburger: lime square, every screen size */
body.v1-deck header.site-header.v1h .menu-toggle{display:block!important;flex:none;margin:0;width:48px;height:48px;border-radius:14px;background:var(--dk-lime);color:var(--dk-navy)}
body.v1-deck .v1h .menu-toggle span{width:22px;height:3px;border-radius:2px}
body.v1-deck .v1h .v1h-in>.v1h-support{display:none!important}

/* the menu: full-width pink poster panel */
body.v1-deck header.site-header.v1h nav{display:none;position:fixed;top:76px;left:0;right:0;max-height:calc(100vh - 76px);overflow:auto;margin:0;padding:clamp(20px,3vw,40px) max(5vw,20px) clamp(28px,4vw,48px);background:var(--dk-pink);border:0;box-shadow:0 30px 60px rgba(0,0,0,.45);flex-direction:column;align-items:flex-start;gap:0;font:inherit;width:auto}
body.v1-deck header.site-header.v1h.menu-open nav{display:flex!important}
body.v1-deck header.site-header.v1h nav>a{display:block;width:100%;padding:6px 0;border:0;border-bottom:2px solid rgba(16,17,24,.15);color:var(--dk-navy)!important;opacity:1;font-family:Archivo,Arial,sans-serif;font-stretch:125%;font-weight:900;font-size:clamp(32px,5.4vw,68px);line-height:1.05;letter-spacing:-.03em;text-decoration:none;transition:color .2s,-webkit-text-stroke .2s,padding .25s}
body.v1-deck header.site-header.v1h nav>a:hover{color:transparent!important;-webkit-text-stroke:2px var(--dk-navy);padding-left:14px}
body.v1-deck header.site-header.v1h nav>a[aria-current]{color:var(--dk-ink)!important}
body.v1-deck header.site-header.v1h nav>a[aria-current]::after,body.v1-deck header.site-header.v1h nav>a.nav-current::after{display:none}
/* the "New" pill sits to the right of Weekend (shown on the Weekend page too) */
body.v1-deck header.site-header.v1h nav>a[href*="weekend"]::after,body.v1-deck header.site-header.v1h nav>a[href*="weekend"][aria-current]::after,body.v1-deck header.site-header.v1h nav>a[href*="weekend"].nav-current::after{content:"New"!important;display:inline-block!important;position:static!important;left:auto;right:auto;bottom:auto;width:auto!important;height:auto!important;vertical-align:middle;margin-left:14px;font:800 13px/1 Inter,sans-serif;letter-spacing:0;padding:5px 10px;border-radius:999px;background:var(--dk-lime);color:var(--dk-navy);-webkit-text-stroke:0}

/* menu footer: Support V1 + labelled player tools */
body.v1-deck .v1-nav-foot{display:flex;flex-wrap:wrap;align-items:center;gap:10px;width:100%;margin-top:22px}
body.v1-deck .v1-nav-foot .v1h-support{display:inline-flex!important;align-items:center;min-height:48px;padding:10px 22px;border-radius:999px;background:var(--dk-navy);color:var(--dk-ink);border:0;font:700 15px Inter,sans-serif;text-decoration:none}
body.v1-deck .v1-deck-tools{display:flex;flex-wrap:wrap;align-items:center;gap:10px}
body.v1-deck .v1-deck-tools>button,body.v1-deck .v1-deck-tools>a{flex:none!important;position:static!important;display:inline-flex!important;align-items:center;gap:8px;width:auto!important;height:auto!important;min-width:0!important;min-height:48px;margin:0!important;padding:10px 18px 10px 14px!important;border-radius:999px;border:2px solid var(--dk-navy)!important;background:transparent!important;color:var(--dk-navy)!important;font:700 15px Inter,Arial,sans-serif!important;line-height:1;text-decoration:none;cursor:pointer;grid-area:auto!important;transition:background .2s,color .2s}
body.v1-deck .v1-deck-tools>button:hover,body.v1-deck .v1-deck-tools>a:hover{background:var(--dk-navy)!important;color:var(--dk-lime)!important}
body.v1-deck .v1-deck-tools>[hidden]{display:none!important}
/* social icons in the menu's bottom row (copied from the footer), round like the other tools */
body.v1-deck .v1-deck-tools>a.dk-social{width:48px!important;height:48px!important;min-height:48px;padding:0!important;justify-content:center;gap:0}
body.v1-deck .v1-deck-tools>a.dk-social svg{width:20px;height:20px}
body.v1-deck .v1-deck-tools .v1f-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
body.v1-deck .v1-deck-tools svg{width:18px;height:18px;flex:none}
body.v1-deck .v1-deck-tools>button>span[aria-hidden]{display:inline-flex;font-size:0}
body.v1-deck .v1-deck-tools .volume{display:inline-flex!important;align-items:center;gap:10px;min-height:48px;padding:0 18px;border-radius:999px;border:2px solid var(--dk-navy);font:700 15px Inter,Arial,sans-serif;color:var(--dk-navy);margin:0}
body.v1-deck .v1-deck-tools .volume input{width:110px;accent-color:var(--dk-navy);padding:0}

/* pop-ups that used to sit above the bottom bar now drop from the header */
body.v1-deck .history-panel{top:88px!important;bottom:auto!important;right:max(16px,calc((100vw - 1240px)/2))!important;left:auto!important;max-height:calc(100vh - 110px)!important}
body.v1-deck .analytics-choice{bottom:16px!important}

/* phones */
@media(max-width:760px){
  body.v1-deck .v1h .v1h-in{gap:10px}
  body.v1-deck .v1h .v1h-logo{width:30px;height:32px}
  body.v1-deck .v1h .v1h-logo img{height:42px!important;margin-left:-5px!important}
  body.v1-deck .v1h .player-inner.v1-deck-bar.dk-on{gap:10px;padding:5px 5px 5px 14px!important}
  body.v1-deck .v1-deck-bar .player-toggle{width:40px!important;height:40px!important;min-width:40px}
  body.v1-deck .v1-deck-bar.dk-on .player-info{width:calc(100vw - 196px)}
  body.v1-deck .dk-now small{font-size:11px}
  body.v1-deck .dk-now b{font-size:14px}
  body.v1-deck header.site-header.v1h .menu-toggle{width:44px;height:44px;border-radius:12px}
  body.v1-deck .v1-deck-tools .volume{display:none!important}
  body.v1-deck .history-panel{left:12px!important;right:12px!important;width:auto!important;top:84px!important}
}
@media (prefers-reduced-motion:reduce){body.v1-deck header.site-header.v1h nav>a,body.v1-deck .v1h .player-inner.v1-deck-bar,body.v1-deck .v1-deck-bar .player-info{transition:none}body.v1-deck .dk-now b.dk-scroll .dk-run{animation:none}body.v1-deck .dk-now b.dk-scroll{text-overflow:ellipsis}}

/* @@V6 START */
/* rating arrows beside the song (the station's own vote buttons, moved here by v1-deck.js) */
body.v1-deck .v1h .player-inner.v1-deck-bar.dk-on{padding-left:8px!important}
body.v1-deck .v1-deck-bar .dk-votes{display:none;flex:none;flex-direction:column;align-items:center;gap:3px;margin:0!important;padding:0!important;background:none!important;border:0!important;position:static!important}
body.v1-deck .v1-deck-bar.dk-on .dk-votes{display:flex}
body.v1-deck .dk-votes>button{display:grid!important;place-items:center;width:32px!important;height:24px!important;min-width:0!important;min-height:0!important;padding:0!important;margin:0!important;border:0!important;border-radius:7px!important;background:rgba(255,255,255,.07)!important;color:var(--dk-ink)!important;box-shadow:none!important;cursor:pointer;transition:background .2s,color .2s,opacity .2s}
body.v1-deck .dk-votes>button svg{width:15px!important;height:15px!important;transform:none!important}
body.v1-deck .dk-votes>button.thumb-up:not(:disabled):hover,body.v1-deck .dk-votes>button.thumb-up[aria-pressed="true"]{background:var(--dk-lime)!important;color:var(--dk-navy)!important}
body.v1-deck .dk-votes>button.thumb-down:not(:disabled):hover,body.v1-deck .dk-votes>button.thumb-down[aria-pressed="true"]{background:var(--dk-pink)!important;color:var(--dk-navy)!important}
body.v1-deck .dk-votes>button:disabled{opacity:.3;cursor:default}
body.v1-deck .dk-votes>button[aria-pressed="true"]{opacity:1}
body.v1-deck .dk-votes .vote-status{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

/* request strip under the header while a requested song is on air */
body.v1-deck header.site-header.v1h .dk-req{position:absolute;left:0;right:0;top:100%;z-index:1;display:flex;align-items:center;gap:12px;height:42px;padding:0 max(5vw,16px);background:var(--dk-lime);color:var(--dk-navy);box-shadow:0 10px 24px rgba(0,0,0,.35)}
body.v1-deck header.site-header.v1h .dk-req[hidden],body.v1-deck header.site-header.v1h.menu-open .dk-req{display:none}
body.v1-deck .dk-req.dk-req-in{animation:dk-req-in .5s cubic-bezier(.2,.7,.2,1)}
@keyframes dk-req-in{from{transform:translateY(-60%);opacity:0}}
body.v1-deck .dk-req-tag{flex:none;display:inline-flex;align-items:center;gap:5px;padding:6px 12px;border-radius:999px;background:var(--dk-navy);color:var(--dk-lime);font:800 13px/1 Inter,Arial,sans-serif;white-space:nowrap}
body.v1-deck .dk-req-tag b{color:var(--dk-pink);max-width:16ch;overflow:hidden;text-overflow:ellipsis}
body.v1-deck .dk-req-view{flex:1 1 auto;min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font:800 15px/1.2 Archivo,Arial,sans-serif;font-stretch:112%}
body.v1-deck .dk-req-view .dk-run{display:inline-flex;white-space:nowrap}
body.v1-deck .dk-req-view.dk-scroll{text-overflow:clip;-webkit-mask-image:linear-gradient(90deg,transparent,#000 4%,#000 94%,transparent);mask-image:linear-gradient(90deg,transparent,#000 4%,#000 94%,transparent)}
body.v1-deck .dk-req-view.dk-scroll .dk-run{animation:dk-marquee var(--dk-dur,14s) linear infinite}
body.v1-deck .dk-req-view.dk-scroll .dk-run>span{padding-right:3em}
body.v1-deck .dk-req:hover .dk-req-view.dk-scroll .dk-run{animation-play-state:paused}
body.v1-deck .dk-req-x{flex:none;width:32px;height:32px;padding:0;border:0;border-radius:50%;background:transparent;color:var(--dk-navy);font:700 22px/1 Inter,Arial,sans-serif;cursor:pointer}
body.v1-deck .dk-req-x:hover{background:rgba(16,17,24,.12)}
@media(max-width:760px){
  body.v1-deck .v1h .player-inner.v1-deck-bar.dk-on{padding-left:6px!important}
  body.v1-deck .v1-deck-bar.dk-on .player-info{width:calc(100vw - 230px)}
  body.v1-deck header.site-header.v1h .dk-req{gap:8px;height:40px;padding:0 6px 0 12px}
  body.v1-deck .dk-req-tag{font-size:12px;padding:5px 9px}
  body.v1-deck .dk-req-view{font-size:14px}
}
@media (prefers-reduced-motion:reduce){body.v1-deck .dk-req.dk-req-in{animation:none}body.v1-deck .dk-req-view.dk-scroll .dk-run{animation:none}body.v1-deck .dk-req-view.dk-scroll{text-overflow:ellipsis}}
/* @@V6 END */

/* @@V8 START */
/* volume slider in the open pill (desktop and tablet; phones use their own volume buttons) */
body.v1-deck .v1-deck-bar .volume.dk-vol{display:none!important;flex:none;align-items:center;gap:6px;margin:0!important;padding:0 4px 0 0!important;border:0!important;background:none!important;font-size:0;color:var(--dk-ink)}
body.v1-deck .v1-deck-bar.dk-on .volume.dk-vol{display:flex!important}
body.v1-deck .dk-mute{display:grid;place-items:center;width:30px;height:30px;padding:0;border:0;border-radius:50%;background:transparent;color:var(--dk-ink);cursor:pointer}
body.v1-deck .dk-mute:hover{background:rgba(255,255,255,.08);color:var(--dk-lime)}
body.v1-deck .dk-mute svg{width:20px;height:20px}
body.v1-deck .dk-vol input[type=range]{-webkit-appearance:none;appearance:none;width:96px;height:4px;margin:0;padding:0;border-radius:4px;background:#3a3d4b;accent-color:var(--dk-lime);cursor:pointer}
body.v1-deck .dk-vol input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;width:14px;height:14px;border-radius:50%;background:var(--dk-lime);border:0;box-shadow:0 0 0 3px rgba(215,255,58,.2)}
body.v1-deck .dk-vol input[type=range]::-moz-range-thumb{width:14px;height:14px;border-radius:50%;background:var(--dk-lime);border:0}
body.v1-deck .dk-vol input[type=range]::-moz-range-track{height:4px;border-radius:4px;background:#3a3d4b}
@media(max-width:760px){body.v1-deck .v1-deck-bar .volume.dk-vol,body.v1-deck .v1-deck-bar.dk-on .volume.dk-vol{display:none!important}}

/* stats: tidy numbers while they count, and a short neon flicker when they land */
body.v1-deck .dk-stat{display:inline-block;font-variant-numeric:tabular-nums}
body.v1-deck .dk-stat-done{animation:dk-flicker .9s steps(1,end) 1}
@keyframes dk-flicker{0%{opacity:1}10%{opacity:.35}20%{opacity:1}32%{opacity:.5}40%,100%{opacity:1;text-shadow:0 0 18px rgba(255,62,170,.55)}}

/* footer: analytics/privacy as one small, quiet line */
body.v1-deck .v1f-privacy.dk-priv{display:flex;align-items:center;gap:0;font-size:12px!important;opacity:.7;transition:opacity .2s}
body.v1-deck .v1f-privacy.dk-priv:hover,body.v1-deck .v1f-privacy.dk-priv:focus-within{opacity:1}
body.v1-deck .v1f-privacy.dk-priv>*{font:600 12px/1.4 Inter,Arial,sans-serif!important;color:inherit!important;background:none!important;border:0!important;padding:0!important;margin:0!important;text-decoration:none!important;cursor:pointer}
body.v1-deck .v1f-privacy.dk-priv>*+*::before{content:"·";display:inline-block;margin:0 8px;opacity:.6}
body.v1-deck .v1f-privacy.dk-priv>*:hover{text-decoration:underline!important}
@media (prefers-reduced-motion:reduce){body.v1-deck .dk-stat-done{animation:none}}
/* @@V8 END */

