/* Shows — DJ show pages (/shows/:slug), the directory (/shows) and the
   on-demand policy (/archive-policy). Built on main.css tokens: black base,
   pink actions, cyan highlights, Heebo 800 display, Poppins body. The one loud
   element is the 14-tick "days left" strip on each on-demand episode. */

.sh-root { max-width: none; padding: 0; }   /* shared rules cap <main> at 1100px; the hero is full-bleed */
.sh-wrap { max-width: 1180px; margin: 0 auto; padding: 0 1.25rem; }
.sh-loading { padding: 5rem 1.25rem; text-align: center; color: var(--muted); }
.sh-error { padding: 5rem 1.25rem; text-align: center; }
.sh-error h1 { font-size: 2rem; margin: 0 0 .6rem; }

/* ---------- hero ---------- */
.sh-hero { position: relative; overflow: hidden; isolation: isolate; padding: 3.2rem 0 2.4rem; }
.sh-hero-bg { position: absolute; inset: 0; z-index: -2; background: radial-gradient(120% 140% at 85% 0%, rgba(106,63,181,.55), transparent 60%), radial-gradient(90% 120% at 0% 100%, rgba(227,43,135,.35), transparent 60%), #000; }
.sh-hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .42; filter: saturate(1.1); }
.sh-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,0,0,.15) 0%, rgba(0,0,0,.55) 55%, #000 100%); }
.sh-hero-row { display: grid; grid-template-columns: auto 1fr; gap: 1.6rem; align-items: end; }
.sh-logo { width: clamp(108px, 22vw, 200px); aspect-ratio: 1; border-radius: 22px; background: rgba(255,255,255,.06); display: grid; place-items: center; overflow: hidden; box-shadow: 0 18px 50px rgba(0,0,0,.55); }
.sh-logo img { width: 100%; height: 100%; object-fit: contain; }
.sh-logo.is-photo img { object-fit: cover; }
.sh-monogram { font-family: 'Heebo', 'Poppins', sans-serif; font-weight: 800; font-size: clamp(2.4rem, 7vw, 4.4rem); letter-spacing: -.04em; color: #fff; background: linear-gradient(135deg, var(--pink-deep), var(--purple)); width: 100%; height: 100%; display: grid; place-items: center; }
.sh-title { font-family: 'Heebo', 'Poppins', sans-serif; font-weight: 800; letter-spacing: -.035em; line-height: .95; font-size: clamp(2.3rem, 7.4vw, 5.4rem); margin: 0; overflow-wrap: anywhere; }
.sh-host { margin: .55rem 0 0; font-size: 1.05rem; color: rgba(255,255,255,.86); }
.sh-tagline { margin: .35rem 0 0; color: var(--muted); font-size: 1rem; max-width: 46ch; }
.sh-facts { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.sh-fact { font-size: .82rem; padding: .28rem .8rem; border-radius: var(--pill-radius); border: 1px solid rgba(255,255,255,.22); color: rgba(255,255,255,.9); line-height: 1.4; }
.sh-onair { display: inline-flex; align-items: center; gap: .5rem; font-weight: 700; font-size: .82rem; padding: .3rem .85rem; border-radius: var(--pill-radius); background: var(--pink-deep); color: #fff; line-height: 1.4; }
.sh-onair::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #fff; animation: sh-pulse 1.6s ease-in-out infinite; }
@keyframes sh-pulse { 50% { opacity: .25; } }
.sh-cta { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.5rem; }
.sh-btn { display: inline-flex; align-items: center; gap: .55rem; padding: .78rem 1.5rem; border-radius: var(--pill-radius); border: 0; cursor: pointer; font: 600 .95rem/1.1 'Poppins', sans-serif; text-decoration: none; color: #fff; background: var(--pink-deep); }
.sh-btn:hover { filter: brightness(1.12); }
.sh-btn.ghost { background: transparent; border: 1px solid rgba(255,255,255,.35); }
.sh-btn.ghost:hover { border-color: #fff; filter: none; }

/* ---------- layout ---------- */
.sh-body { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.8rem; padding: 1.2rem 0 4rem; }
@media (min-width: 960px) { .sh-body { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 3.5rem; } }
.sh-sec h2 { font-family: 'Heebo', 'Poppins', sans-serif; font-weight: 800; font-size: clamp(1.5rem, 3.4vw, 2rem); letter-spacing: -.02em; line-height: 1.1; margin: 0 0 .35rem; }
.sh-sec .sh-lede { margin: 0 0 1.3rem; color: var(--muted); font-size: .95rem; }
.sh-sec .sh-lede a { color: var(--pink); text-decoration: none; border-bottom: 1px solid rgba(255,82,168,.35); }
.sh-sec + .sh-sec { margin-top: 2.6rem; }

/* ---------- on-demand episode ---------- */
.ep { padding: 1.3rem 0 1.4rem; border-top: 1px solid rgba(255,255,255,.12); }
.ep:last-child { border-bottom: 1px solid rgba(255,255,255,.12); }
.ep-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; }
.ep-title { font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 1.12rem; line-height: 1.35; margin: 0; overflow-wrap: anywhere; text-transform: none; color: #fff; letter-spacing: 0; }
.ep-sub { color: var(--muted); font-size: .86rem; margin-top: .15rem; }
.ep-desc { color: rgba(255,255,255,.8); font-size: .92rem; margin: .6rem 0 0; white-space: pre-wrap; max-width: 64ch; }

.ep-player { display: grid; grid-template-columns: auto 1fr; gap: .2rem 1rem; align-items: center; margin-top: 1rem; }
.ep-play { width: 58px; height: 58px; border-radius: 50%; border: 0; cursor: pointer; background: var(--pink-deep); color: #fff; display: grid; place-items: center; grid-row: span 2; transition: transform .12s; }
.ep-play:hover { filter: brightness(1.12); }
.ep-play:active { transform: scale(.95); }
.ep-play svg { width: 22px; height: 22px; fill: currentColor; }
.ep-play[data-state="loading"] svg { animation: sh-spin 1s linear infinite; }
@keyframes sh-spin { to { transform: rotate(360deg); } }
.ep-scrub { width: 100%; margin: 0; accent-color: var(--pink); height: 28px; cursor: pointer; background: transparent; }
.ep-scrub:disabled { cursor: default; opacity: .5; }
.ep-time { font-family: 'Roboto Condensed', 'Poppins', sans-serif; font-weight: 800; font-size: .86rem; letter-spacing: .02em; color: rgba(255,255,255,.75); display: flex; justify-content: space-between; font-variant-numeric: tabular-nums; }
.ep-msg { margin-top: .7rem; font-size: .88rem; color: #ffb3d6; }
.ep-msg[hidden] { display: none; }
.ep-gone { margin-top: .8rem; color: var(--muted); font-size: .92rem; }

/* the 14-day window */
.ep-window { margin-top: 1rem; display: flex; align-items: center; gap: .9rem; flex-wrap: wrap; }
.ticks { display: grid; grid-template-columns: repeat(14, 1fr); gap: 4px; width: min(100%, 280px); height: 26px; }
.tick { border-radius: 3px; background: rgba(255,255,255,.12); }
.tick.on { background: var(--cyan); box-shadow: 0 0 10px rgba(46,228,234,.45); }
.tick.on.last { background: var(--pink); box-shadow: 0 0 10px rgba(255,82,168,.55); }
.ep-window-label { font-size: .86rem; line-height: 1.35; }
.ep-window-label b { font-family: 'Roboto Condensed', 'Poppins', sans-serif; font-weight: 800; font-size: 1.05rem; letter-spacing: .01em; }
.ep-window-label span { color: var(--muted); display: block; }

/* tracklists */
.tl { margin-top: .9rem; }
.tl summary { cursor: pointer; color: var(--cyan); font-size: .9rem; font-weight: 500; list-style: none; display: inline-flex; align-items: center; gap: .4rem; }
.tl summary::-webkit-details-marker { display: none; }
.tl summary::before { content: "+"; font-weight: 700; width: 1em; }
.tl[open] summary::before { content: "−"; }
.tl ol { margin: .7rem 0 0; padding: 0 0 0 2.2rem; font-size: .92rem; columns: 1; }
.tl li { padding: .18rem 0; color: rgba(255,255,255,.9); }
.tl li::marker { font-family: 'Roboto Condensed', 'Poppins', sans-serif; font-weight: 800; color: rgba(255,255,255,.4); font-size: .82rem; }
.tl li .a { color: var(--muted); }
@media (min-width: 700px) { .tl ol.long { columns: 2; column-gap: 2.4rem; } .tl ol.long li { break-inside: avoid; } }

.sh-empty { padding: 1.6rem 1.4rem; border-radius: 18px; border: 1px dashed rgba(255,255,255,.22); color: rgba(255,255,255,.82); }
.sh-empty p { margin: 0; }
.sh-empty p + p { margin-top: .4rem; color: var(--muted); font-size: .9rem; }

/* past playlists */
.pl { padding: 1rem 0; border-top: 1px solid rgba(255,255,255,.12); }
.pl:last-child { border-bottom: 1px solid rgba(255,255,255,.12); }
.pl-title { font-weight: 600; margin: 0; }
.pl-live { color: var(--pink); font-weight: 700; font-size: .85rem; }

/* about column */
.sh-about { align-self: start; }
@media (min-width: 960px) { .sh-about { position: sticky; top: 104px; } }
.sh-headshot { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; margin-bottom: 1rem; border: 3px solid rgba(255,255,255,.14); }
.sh-bio { white-space: pre-wrap; color: rgba(255,255,255,.88); line-height: 1.75; margin: 0; max-width: 62ch; }
.sh-latest { margin-top: 1.6rem; padding-top: 1.4rem; border-top: 1px solid rgba(255,255,255,.12); }
.sh-latest h3 { color: var(--cyan); text-transform: none; font-size: 1rem; letter-spacing: 0; margin: 0 0 .5rem; }
.sh-links { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.4rem; }
.sh-links a { color: #fff; text-decoration: none; font-size: .86rem; padding: .38rem .95rem; border-radius: var(--pill-radius); border: 1px solid rgba(255,255,255,.25); }
.sh-links a:hover { border-color: var(--pink); color: var(--pink); }

/* ---------- directory ---------- */
.dir-head { padding: 3rem 0 1.6rem; }
.dir-head h1 { font-size: clamp(2.8rem, 9vw, 6rem); margin: 0; letter-spacing: -.045em; }
.dir-head p { margin: .6rem 0 0; color: var(--muted); max-width: 54ch; }
.dir-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.4rem 1rem; padding-bottom: 4rem; }
@media (min-width: 700px) { .dir-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem 1.4rem; } }
@media (min-width: 1100px) { .dir-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.dir-card { display: block; text-decoration: none; color: #fff; border-radius: 20px; }
.dir-card .sh-logo { width: 100%; border-radius: 20px; transition: transform .18s ease; }
.dir-card:hover .sh-logo { transform: translateY(-3px); }
.dir-card.on .sh-logo { outline: 3px solid var(--pink); outline-offset: 3px; }
.dir-name { font-weight: 700; font-size: 1.05rem; line-height: 1.25; margin: .8rem 0 0; overflow-wrap: anywhere; }
.dir-dj { color: var(--muted); font-size: .86rem; margin: .15rem 0 0; line-height: 1.35; }
.dir-tag { color: rgba(255,255,255,.78); font-size: .86rem; line-height: 1.4; margin: .35rem 0 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.dir-when { color: var(--cyan, #00c8d7); font: 600 .78rem/1.4 'Poppins', sans-serif; margin: .4rem 0 0; }
.dir-chips { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: .5rem; }
.dir-chip { line-height: 1.5; font-size: .74rem; padding: .16rem .6rem; border-radius: var(--pill-radius); background: rgba(46,228,234,.14); color: var(--cyan); }
.dir-card.on .dir-chip.live { background: var(--pink-deep); color: #fff; }

/* ---------- policy ---------- */
.pol { max-width: 68ch; padding: 3rem 0 4rem; }
.pol h1 { font-size: clamp(2.2rem, 6vw, 3.6rem); letter-spacing: -.035em; margin: 0 0 1rem; line-height: 1; }
.pol .lede { font-size: 1.15rem; color: rgba(255,255,255,.92); }
.pol h2 { font-family: 'Heebo', 'Poppins', sans-serif; font-weight: 800; font-size: 1.4rem; margin: 2.2rem 0 .4rem; letter-spacing: -.01em; }
.pol p, .pol li { color: rgba(255,255,255,.86); }
.pol a { color: var(--pink); text-decoration: none; border-bottom: 1px solid rgba(255,82,168,.35); }
.pol .fine { font-size: .86rem; color: var(--muted); margin-top: 2.4rem; }

:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) {
  .sh-onair::before, .ep-play[data-state="loading"] svg { animation: none; }
  .dir-card .sh-logo, .ep-play { transition: none; }
}
@media (max-width: 520px) {
  .sh-hero { padding-top: 2rem; }
  .sh-hero-row { grid-template-columns: 1fr; gap: 1.1rem; }
  .sh-logo { width: 120px; }
  .ep-play { width: 52px; height: 52px; }
}
