/*
 * play.dailyjunction.org — minisite styles (light theme only).
 * Adds the YouTube/Netflix-style surfaces (chrome, hero, rails, cards, watch
 * player, live wall, guide overlay) on top of the shared style.css. Existing
 * tv-*, tvg-*, wl-* and btn/daisyUI classes are reused from style.css; this
 * file owns only the play-* components. Accent colour flows from --tv-accent
 * per element; the base palette is fixed light (no dark mode — standing rule).
 */
:root {
  --pp: #0b5cad;
  --ppc: #ffffff;
  --pbg: #ffffff;
  --pbg2: #f7f8fa;
  --pbd: #e4e9f1;
  --ptx: #0f1b2d;
  --pmut: #5b6675;
  --pshadow: 0 1px 3px rgba(15, 27, 45, .08), 0 8px 24px rgba(15, 27, 45, .06);
}

body { background: var(--pbg); }

/* ============================ Header chrome ============================ */
.play-header {
  position: sticky; top: 0; z-index: 40;
  background: color-mix(in srgb, var(--pbg) 96%, transparent);
  backdrop-filter: saturate(1.35) blur(10px);
  border-bottom: 1px solid var(--pbd);
  box-shadow: 0 1px 0 rgba(15, 27, 45, .04);
}
.play-header-bar {
  display: flex; align-items: center; gap: .75rem;
  padding: .45rem 0;
}
.play-brand { display: inline-flex; align-items: center; gap: .55rem; flex: none; }
.play-brand-logo { width: 36px; height: 36px; border-radius: 5px; }
.play-brand-name { font-size: 1.15rem; font-weight: 800; color: var(--ptx); line-height: 1; white-space: nowrap; }
.play-brand-play { color: var(--pp); }
.play-search { position: relative; flex: 1 1 auto; min-width: 0; max-width: 560px; display: flex; }
.play-search-input {
  width: 100%; min-width: 0; height: 40px; border: 1px solid var(--pbd); border-right: 0;
  border-radius: 999px 0 0 999px; padding: 0 1rem; font-size: .95rem;
  background: var(--pbg2); color: var(--ptx); outline: none;
}
.play-search-input:focus { border-color: var(--pp); background: #fff; }
.play-search-btn {
  height: 40px; width: 52px; border: 1px solid var(--pbd); border-left: 0;
  border-radius: 0 999px 999px 0; background: var(--pbg2); color: var(--ptx);
  display: grid; place-items: center; cursor: pointer;
}
.play-search-btn:hover { background: #eaeef4; }
.play-typeahead {
  position: absolute; top: calc(100% + .35rem); left: 0; right: 0; z-index: 60;
  background: #fff; border: 1px solid var(--pbd); border-radius: 16px;
  box-shadow: var(--pshadow); overflow: hidden; max-height: 60vh; overflow-y: auto;
}
.play-typeahead-row { display: flex; gap: .6rem; align-items: center; padding: .5rem .7rem; text-decoration: none; }
.play-typeahead-row:hover { background: var(--pbg2); }
.play-typeahead-row img { width: 68px; height: 38px; object-fit: cover; border-radius: 7px; flex: none; }
.play-typeahead-txt { display: flex; flex-direction: column; min-width: 0; }
.play-typeahead-title { font-size: .85rem; font-weight: 600; color: var(--ptx); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.play-typeahead-chan { font-size: .72rem; color: var(--pmut); }
.play-header-actions { display: flex; align-items: center; gap: .5rem; flex: none; }
.play-bell-wrap { position: relative; }
.play-bell {
  position: relative; width: 40px; height: 40px; border-radius: 999px;
  display: grid; place-items: center; background: transparent; border: 0; cursor: pointer; color: var(--ptx);
}
.play-bell:hover { background: var(--pbg2); }
.play-bell-badge {
  position: absolute; top: 2px; right: 2px; min-width: 17px; height: 17px; padding: 0 4px;
  border-radius: 999px; background: #e11d48; color: #fff; font-size: 10px; font-weight: 700;
  display: grid; place-items: center; line-height: 1;
}
.play-bell-panel {
  position: absolute; top: calc(100% + .4rem); right: 0; width: min(360px, 92vw); z-index: 60;
  background: #fff; border: 1px solid var(--pbd); border-radius: 16px; box-shadow: var(--pshadow); overflow: hidden;
}
.play-bell-head { display: flex; align-items: center; justify-content: space-between; padding: .7rem .9rem; border-bottom: 1px solid var(--pbd); }
.play-bell-clear { background: none; border: 0; color: var(--pp); font-size: .8rem; cursor: pointer; }
.play-bell-body { max-height: 60vh; overflow-y: auto; }
.play-bell-empty { padding: 1.6rem 1rem; text-align: center; color: var(--pmut); font-size: .88rem; }
.play-bell-row { display: flex; gap: .6rem; align-items: center; padding: .6rem .9rem; text-decoration: none; border-bottom: 1px solid var(--pbg2); }
.play-bell-row:hover { background: var(--pbg2); }
.play-bell-thumb { width: 60px; height: 34px; object-fit: cover; border-radius: 6px; flex: none; }
.play-bell-ico { width: 32px; height: 32px; border-radius: 999px; background: var(--pbg2); display: grid; place-items: center; flex: none; }
.play-bell-txt { min-width: 0; }
.play-bell-t { display: block; font-size: .82rem; color: var(--ptx); line-height: 1.3; }
.play-bell-s { display: block; font-size: .72rem; color: var(--pmut); }
.play-avatar-link { text-decoration: none; }
.play-avatar-disc { width: 36px; height: 36px; border-radius: 999px; background: var(--pp); color: #fff; display: grid; place-items: center; font-weight: 700; }
.play-tabs { border-top: 1px solid var(--pbd); overflow: hidden; }
.play-tabs-track { display: flex; align-items: center; gap: .35rem; overflow-x: auto; padding: .35rem 0; scrollbar-width: none; }
.play-tabs-track::-webkit-scrollbar { display: none; }
.play-tab {
  display: inline-flex; align-items: center; gap: .35rem; padding: .4rem .8rem; border-radius: 999px;
  font-size: .85rem; font-weight: 600; color: var(--pmut); text-decoration: none; white-space: nowrap; flex: none;
}
.play-tab:hover { background: var(--pbg2); color: var(--ptx); }
.play-tab.is-active { background: #111827; color: #fff; }
.play-tab-icon { display: inline-flex; align-items: center; }
.play-tab-icon .dj-ico { width: 1.05rem; height: 1.05rem; vertical-align: 0; }
/* WebKit paint-mismatch defence: the label must always paint as a plain
   colour — never a gradient/background-clip text fill (WebKit rendered the
   "Subscriptions" label blank when a clipped fill resolved transparent). */
.play-tab-label {
  color: inherit;
  background: none;
  -webkit-background-clip: initial;
  background-clip: initial;
  -webkit-text-fill-color: currentColor;
}
.play-tab--ghost { color: var(--pmut); font-weight: 500; }
.play-tabs-sep { width: 1px; height: 20px; background: var(--pbd); flex: none; margin: 0 .25rem; }
.play-live-dot { width: 8px; height: 8px; border-radius: 999px; background: #e11d48; display: inline-block; box-shadow: 0 0 0 0 rgba(225, 29, 72, .5); animation: playpulse 1.8s infinite; }
@keyframes playpulse { 0% { box-shadow: 0 0 0 0 rgba(225, 29, 72, .45); } 70% { box-shadow: 0 0 0 6px rgba(225, 29, 72, 0); } 100% { box-shadow: 0 0 0 0 rgba(225, 29, 72, 0); } }

/* ============================ Footer ============================ */
.play-footer { border-top: 1px solid var(--pbd); background: var(--pbg); }
.play-footer-grid { display: grid; gap: 2rem; grid-template-columns: 1fr; }
@media (min-width: 700px) { .play-footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.play-footer-links { display: flex; flex-direction: column; gap: .45rem; font-size: .88rem; }
.play-footer-links a { color: var(--pmut); text-decoration: none; }
.play-footer-links a:hover { color: var(--pp); }
.play-footer-title { font-weight: 700; color: var(--ptx); font-size: .95rem; margin-bottom: .1rem; }

/* ============================ Page rhythm ============================ */
.play-page { display: flex; flex-direction: column; gap: 1.75rem; }
.play-page > section { scroll-margin-top: 120px; }

/* ============================ Hero billboard ============================ */
.play-hero { position: relative; border-radius: .85rem; overflow: hidden; border: 1px solid var(--pbd); background: #0b0f16; box-shadow: none; }
.play-hero-media { display: block; position: relative; aspect-ratio: 16 / 6.5; max-height: 52vh; }
.play-hero-bg { width: 100%; height: 100%; object-fit: cover; display: block; }
.play-hero-scrim { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0, 0, 0, .9), rgba(0, 0, 0, .55) 50%, rgba(0, 0, 0, .12)); }
.play-hero-badge { position: absolute; top: 1rem; left: 1rem; background: rgba(0, 0, 0, .55); color: #fff; font-size: .72rem; font-weight: 700; padding: .25rem .6rem; border-radius: 999px; }
.play-hero-inner { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.5rem; display: flex; flex-direction: column; gap: .55rem; pointer-events: none; }
.play-hero-inner .btn, .play-hero-inner a { pointer-events: auto; }
.play-hero-chan { color: #cfe0f5; font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.play-hero-title { color: #fff; font-weight: 800; font-size: clamp(1.45rem, 3.2vw, 2.35rem); line-height: 1.08; max-width: 40ch; text-shadow: 0 2px 12px rgba(0, 0, 0, .5); }
.play-hero-desc { color: rgba(255, 255, 255, .88); max-width: 60ch; font-size: .95rem; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.play-hero-actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .35rem; }
.play-hero-later { background: rgba(255, 255, 255, .12); color: #fff; border-color: rgba(255, 255, 255, .4); }
.play-hero-actions .btn-ghost { color: #fff; }

/* ============================ Rails + cards ============================ */
.play-rail { display: flex; flex-direction: column; gap: .85rem; }
/* Visibility guard (2026-07-13): these components set `display`, which is
   unlayered here and therefore beats Tailwind's layered `.hidden` at equal
   specificity — leaving "hidden" nodes visible (the empty Continue-watching
   rail; the 0-count bell badge; the collapsed library panel). Reassert hidden
   with a class-pair specificity that wins. No !important, so responsive
   `hidden sm:flex`-style utilities elsewhere are unaffected. */
.play-rail.hidden,
.play-bell-badge.hidden,
.play-lib-panel.hidden { display: none; }
/* Section headers (2026-07-13): mark each rail's boundary with an underlined
   head, and give the title a brand accent bar so sections read as distinct
   blocks even without a card wrapper (YouTube-style flat rails). */
.play-rail-head { display: flex; align-items: baseline; gap: .75rem; flex-wrap: wrap; padding-bottom: .6rem; border-bottom: 1px solid var(--pbd); }
.play-rail-title { font-size: 1.25rem; font-weight: 800; color: var(--ptx); display: inline-flex; align-items: center; gap: .5rem; padding-left: .65rem; border-left: 3px solid var(--pp); line-height: 1.15; }
.play-rail-note { color: var(--pmut); font-size: .82rem; }
.play-rail-all { margin-left: auto; color: var(--pp); font-weight: 700; font-size: .85rem; text-decoration: none; padding: .28rem .7rem; border: 1px solid var(--pbd); border-radius: 999px; transition: border-color .15s, background .15s; }
.play-rail-all:hover { border-color: var(--pp); background: color-mix(in srgb, var(--pp) 8%, transparent); }
.play-rail-track { display: flex; gap: .8rem; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: .5rem; scrollbar-width: thin; }
.play-rail-track::-webkit-scrollbar { height: 8px; }
.play-rail-track::-webkit-scrollbar-thumb { background: var(--pbd); border-radius: 999px; }
.play-rail-ghost { border: 1px dashed var(--pbd); border-radius: 0.9rem; padding: 1.75rem; text-align: center; color: var(--pmut); display: flex; flex-direction: column; gap: .75rem; align-items: center; }
.play-rail-cta { flex: none; width: 220px; scroll-snap-align: start; border: 1px solid var(--pbd); border-radius: 1rem; padding: 1rem; background: var(--pbg2); display: flex; flex-direction: column; gap: .35rem; justify-content: center; }
.play-rail-cta-title { font-weight: 800; color: var(--ptx); }
.play-rail-cta-text { font-size: .82rem; color: var(--pmut); }

.play-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }

.play-card { display: flex; flex-direction: column; background: transparent; border: 0; border-radius: 0; overflow: visible; box-shadow: none; transition: none; }
.play-card:hover { transform: none; box-shadow: none; }
.play-card--rail { flex: none; width: 272px; scroll-snap-align: start; }
.play-card-thumb { position: relative; display: block; aspect-ratio: 16 / 9; background: #0b0f16; overflow: hidden; border-radius: .75rem; }
.play-card-img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.play-card:hover .play-card-img { transform: scale(1.04); }
.play-card-dur { position: absolute; bottom: 6px; right: 6px; background: rgba(0, 0, 0, .82); color: #fff; font-size: 11px; font-weight: 700; padding: 1px 5px; border-radius: 5px; }
.play-card-playbtn { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-size: 1.6rem; background: rgba(0, 0, 0, .12); opacity: 0; transition: opacity .2s; }
.play-card-thumb:hover .play-card-playbtn { opacity: 1; }
.play-card-later { position: absolute; top: 6px; right: 6px; width: 28px; height: 28px; border-radius: 999px; border: 0; background: rgba(0, 0, 0, .6); color: #fff; font-size: 1rem; line-height: 1; cursor: pointer; opacity: 0; transition: opacity .2s; display: grid; place-items: center; }
.play-card-thumb:hover .play-card-later, .play-card-later.is-on { opacity: 1; }
.play-card-later.is-on { background: var(--pp); }
.play-card-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; width: 100%; border-radius: 0; }
.play-card-body { display: flex; flex-direction: column; gap: .2rem; padding: .6rem .15rem .35rem; }
.play-card-channel { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; color: var(--pp); text-decoration: none; }
.play-card-title { font-size: .9rem; font-weight: 700; line-height: 1.3; color: var(--ptx); text-decoration: none; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.play-card-title:hover { color: var(--pp); }
.play-card-meta { margin-top: auto; font-size: .72rem; color: var(--pmut); }

/* ============================ Live-now strip ============================ */
.play-livestrip { display: flex; flex-direction: column; gap: .85rem; }
.play-livestrip-track { display: flex; gap: .85rem; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: .5rem; }
.play-livetile { flex: none; width: 168px; scroll-snap-align: start; text-decoration: none; display: flex; flex-direction: column; gap: .4rem; }
.play-livetile-screen { position: relative; aspect-ratio: 16 / 9; border-radius: .8rem; background: linear-gradient(135deg, var(--tv-accent, #1257a5), #0b0f16); display: grid; place-items: center; overflow: hidden; border: 1px solid var(--pbd); }
.play-livetile-logo { max-width: 68%; max-height: 60%; object-fit: contain; filter: drop-shadow(0 1px 3px rgba(0, 0, 0, .4)); }
.play-livetile-icon { font-size: 2rem; }
.play-livetile-badge { position: absolute; top: 6px; left: 6px; background: #e11d48; color: #fff; font-size: 10px; font-weight: 800; padding: 1px 6px; border-radius: 5px; letter-spacing: .04em; }
.play-livetile-name { font-size: .82rem; font-weight: 700; color: var(--ptx); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.play-livetile-now { font-size: .72rem; color: var(--pmut); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.play-livetile--more { align-items: center; justify-content: center; }
.play-livetile--more .play-livetile-more-n { font-size: 1.5rem; font-weight: 800; color: var(--pp); }
.play-livetile-more-label { font-size: .78rem; color: var(--pp); font-weight: 600; }

/* ============================ Channel directory row ============================ */
.play-channels { display: flex; flex-direction: column; gap: .85rem; }
.play-channels-track { display: flex; gap: 1.1rem; overflow-x: auto; padding-bottom: .5rem; }
.play-chan-cell { flex: none; width: 118px; display: flex; flex-direction: column; align-items: center; gap: .4rem; text-align: center; }
.play-chan-avatar { width: 64px; height: 64px; border-radius: 999px; background: var(--tv-accent, #1257a5); display: grid; place-items: center; text-decoration: none; box-shadow: var(--pshadow); }
.play-chan-initial { color: #fff; font-weight: 800; font-size: 1.5rem; }
.play-chan-name { font-size: .78rem; font-weight: 600; color: var(--ptx); text-decoration: none; line-height: 1.2; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.play-chan-name:hover { color: var(--pp); }

/* ============================ Subscribe button ============================ */
.play-sub-btn { gap: .3rem; }
.play-sub-btn--block { width: 100%; }

/* ============================ Watch page ============================ */
.play-watch { display: grid; gap: 1.5rem; align-items: start; grid-template-columns: 1fr; }
@media (min-width: 1024px) { .play-watch { grid-template-columns: minmax(0, 1fr) 340px; } }
.play-watch.is-theatre { grid-template-columns: 1fr; }
.play-watch.is-theatre .play-watch-aside { display: none; }
.play-watch-main { display: flex; flex-direction: column; gap: 1.25rem; }
.play-watch-aside { display: flex; flex-direction: column; gap: 1.25rem; }

.play-player-wrap { position: relative; }
.play-player-frame { position: relative; aspect-ratio: 16 / 9; background: #000; border-radius: 0.9rem; overflow: hidden; border: 1px solid var(--pbd); }
.play-player-iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.play-player-wrap.is-mini { position: fixed; bottom: 1rem; right: 1rem; width: min(400px, 90vw); z-index: 55; margin: 0; }
.play-player-wrap.is-mini .play-player-frame { box-shadow: 0 12px 40px rgba(0, 0, 0, .45); border-radius: 1rem; }
.play-mini-controls { position: absolute; top: .4rem; right: .4rem; z-index: 3; display: flex; gap: .3rem; }
.play-mini-btn { width: 28px; height: 28px; border-radius: 999px; border: 0; background: rgba(0, 0, 0, .6); color: #fff; cursor: pointer; }

.play-upnext-overlay, .play-endscreen { position: absolute; inset: 0; z-index: 4; display: grid; place-items: center; }
.play-upnext-overlay { background: rgba(0, 0, 0, .72); }
.play-endscreen { background: rgba(0, 0, 0, .86); align-content: center; padding: 1rem; }
.play-upnext-card { text-align: center; color: #fff; display: flex; flex-direction: column; gap: .7rem; align-items: center; max-width: 80%; }
.play-upnext-kicker { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: rgba(255, 255, 255, .7); }
.play-upnext-title { font-weight: 700; font-size: 1.05rem; line-height: 1.3; }
.play-upnext-controls { display: flex; align-items: center; gap: .6rem; }
.play-upnext-ring { position: relative; width: 46px; height: 46px; border-radius: 999px; background: conic-gradient(#fff calc(var(--pct, 0) * 1%), rgba(255, 255, 255, .3) 0); display: grid; place-items: center; }
.play-upnext-ring::after { content: ''; position: absolute; inset: 4px; border-radius: 999px; background: #12161d; }
.play-upnext-ring > span, #play-upnext-count { position: relative; color: #fff; font-weight: 700; font-size: .85rem; z-index: 1; }
.play-endscreen-title { color: #fff; font-weight: 700; margin-bottom: .75rem; text-align: center; }
.play-endscreen-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; max-width: 560px; }
.play-endcard { text-decoration: none; color: #fff; display: flex; flex-direction: column; gap: .3rem; }
.play-endcard img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: .5rem; }
.play-endcard span { font-size: .72rem; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.play-embed-err { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .75rem; text-align: center; color: #fff; padding: 1rem; }
.play-embed-err-thumb { max-width: 55%; border-radius: .5rem; opacity: .5; }

.play-controlbar { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.play-ctl { display: inline-flex; gap: .3rem; align-items: center; }
.play-ctl-menu { background: #fff; border: 1px solid var(--pbd); border-radius: .75rem; box-shadow: var(--pshadow); padding: .3rem; min-width: 150px; max-height: 320px; overflow-y: auto; z-index: 50; }
.play-ctl-menu li > button, .play-ctl-menu li > span { display: block; width: 100%; text-align: left; padding: .35rem .6rem; border-radius: .5rem; font-size: .85rem; background: none; border: 0; cursor: pointer; color: var(--ptx); }
.play-ctl-menu li > button:hover { background: var(--pbg2); }
.play-ctl-menu li > button.is-on { color: var(--pp); font-weight: 700; }
.play-cc-hint { color: var(--pmut); font-size: .78rem; cursor: default; }
.play-quality { font-size: .8rem; color: var(--pmut); border: 1px solid var(--pbd); border-radius: .5rem; padding: .25rem .55rem; cursor: help; }
.play-autoplay-toggle { display: inline-flex; align-items: center; gap: .4rem; font-size: .85rem; color: var(--pmut); margin-left: auto; }

.play-meta-card { border: 1px solid var(--pbd); border-radius: 0.9rem; background: var(--pbg); padding: 1.25rem 1.4rem; box-shadow: var(--pshadow); }
.play-meta-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.play-meta-sub { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; font-size: .85rem; color: var(--pmut); }
.play-meta-chan { font-weight: 700; color: var(--ptx); text-decoration: none; }
.play-meta-chan:hover { color: var(--pp); }
.play-meta-title { margin-top: .5rem; font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 800; line-height: 1.15; color: var(--ptx); }
.play-actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.play-summary { margin-top: 1.25rem; border: 1px solid var(--pbd); border-radius: 1rem; background: var(--pbg2); padding: 1rem 1.15rem; }

.play-related-reading { border: 1px solid var(--pbd); border-radius: 0.9rem; background: var(--pbg); padding: 1.25rem 1.4rem; box-shadow: var(--pshadow); }
.play-read-card { display: flex; flex-direction: column; gap: .3rem; border: 1px solid var(--pbd); border-radius: .9rem; padding: .85rem 1rem; text-decoration: none; background: var(--pbg); transition: border-color .15s; }
.play-read-card:hover { border-color: var(--pp); }
.play-read-kicker { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; color: var(--pp); }
.play-read-title { font-weight: 700; color: var(--ptx); line-height: 1.3; }
.play-comments { border: 1px solid var(--pbd); border-radius: 0.9rem; background: var(--pbg); padding: 1.25rem 1.4rem; box-shadow: var(--pshadow); }

.play-aside-card { border: 1px solid var(--pbd); border-radius: 1.1rem; background: var(--pbg); padding: 1.1rem 1.2rem; box-shadow: var(--pshadow); }
.play-upnext-row { display: flex; gap: .6rem; text-decoration: none; border: 1px solid var(--pbd); border-radius: .8rem; padding: .5rem; transition: border-color .15s; }
.play-upnext-row:hover { border-color: var(--pp); }
.play-upnext-thumb { width: 112px; aspect-ratio: 16/9; object-fit: cover; border-radius: .5rem; flex: none; }
.play-upnext-info { display: flex; flex-direction: column; gap: .15rem; min-width: 0; }
.play-upnext-chan { font-size: .68rem; font-weight: 700; text-transform: uppercase; color: var(--pp); }
.play-upnext-name { font-size: .82rem; font-weight: 600; color: var(--ptx); line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.play-upnext-date { font-size: .7rem; color: var(--pmut); }

/* ============================ Channel page ============================ */
.play-chan-header { position: relative; border: 1px solid var(--pbd); border-radius: 1rem; overflow: hidden; background: var(--pbg); box-shadow: var(--pshadow); }
.play-chan-banner { display: block; height: 96px; background: linear-gradient(120deg, var(--tv-accent, #1257a5), #0b0f16); }
.play-chan-headinner { display: flex; gap: 1.1rem; padding: 0 1.5rem 1.4rem; margin-top: -34px; align-items: flex-end; flex-wrap: wrap; }
.play-chan-bigavatar { width: 88px; height: 88px; border-radius: 999px; background: var(--tv-accent, #1257a5); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 2.2rem; border: 4px solid var(--pbg); flex: none; }
.play-chan-headmeta { display: flex; flex-direction: column; gap: .4rem; padding-bottom: .2rem; }
.play-chan-h1 { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 800; color: var(--ptx); line-height: 1.05; }
.play-chan-badges { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; }
.play-chan-count { font-size: .82rem; color: var(--pmut); }
.play-chan-actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .35rem; }
.play-chan-livecard { display: flex; flex-direction: column; gap: .25rem; border: 1px solid var(--pbd); border-left: 4px solid var(--tv-accent, #1257a5); border-radius: 1rem; padding: 1rem 1.25rem; text-decoration: none; background: var(--pbg); box-shadow: var(--pshadow); }
.play-chan-livebadge { font-size: .72rem; font-weight: 800; color: #e11d48; letter-spacing: .04em; }
.play-chan-livetitle { font-weight: 800; color: var(--ptx); font-size: 1.05rem; }
.play-chan-livesub { font-size: .82rem; color: var(--pmut); }
.play-chan-uploads { display: flex; flex-direction: column; gap: 1rem; }

/* ============================ Live wall ============================ */
.play-wall { border: 1px solid var(--pbd); border-radius: 1.1rem; background: var(--pbg); padding: 1.25rem 1.4rem 1.6rem; box-shadow: var(--pshadow); }
.play-wall-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem; margin-bottom: .9rem; }
.play-wall-group { margin-top: 1.25rem; }
.play-wall-grouptitle { font-size: 1.05rem; font-weight: 800; color: var(--ptx); margin-bottom: .55rem; }
.play-wall-rail { display: flex; gap: .8rem; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: .5rem; }
.play-wall-rail .tv-tile { flex: none; width: 190px; scroll-snap-align: start; }

/* ============================ Guide overlay ============================ */
.play-guide-modal { position: fixed; inset: 0; z-index: 70; display: grid; place-items: center; padding: 1rem; }
.play-guide-backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, .55); }
.play-guide-box { position: relative; z-index: 1; width: min(96vw, 1100px); height: 86vh; background: var(--pbg); border-radius: 0.9rem; box-shadow: 0 20px 60px rgba(0, 0, 0, .4); display: flex; flex-direction: column; overflow: hidden; }
.play-guide-head { display: flex; align-items: center; justify-content: space-between; padding: .8rem 1.1rem; border-bottom: 1px solid var(--pbd); }
.play-guide-body { flex: 1; overflow: auto; padding: 1rem; }

/* ============================ Category / search / hero blocks ========== */
.play-cat-hero, .play-search-hero { display: flex; flex-direction: column; gap: .5rem; }
.play-cat-title { font-size: clamp(1.5rem, 3.2vw, 2.15rem); font-weight: 800; color: var(--ptx); line-height: 1.08; }
.play-cat-sub { color: var(--pmut); max-width: 60ch; }
.play-search-big { display: flex; gap: .5rem; max-width: 640px; }
.play-search-filters { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .35rem; }
.play-chip { padding: .3rem .8rem; border-radius: 999px; border: 1px solid var(--pbd); font-size: .82rem; color: var(--pmut); text-decoration: none; }
.play-chip.is-active, .play-chip:hover { background: var(--pp); color: #fff; border-color: var(--pp); }
.play-search-section { display: flex; flex-direction: column; gap: .5rem; }

/* ============================ Library / subscriptions ============================ */
.play-lib-tabs { align-self: flex-start; }
.play-lib-panel { display: flex; flex-direction: column; gap: 1rem; }
.play-lib-toolbar { display: flex; justify-content: flex-end; }
.play-lib-empty, .play-signin-card { border: 1px dashed var(--pbd); border-radius: 0.9rem; background: var(--pbg); padding: 2.5rem 1.5rem; text-align: center; color: var(--pmut); }
.play-signin-card { border-style: solid; }
.play-signin-title { font-size: 1.15rem; font-weight: 800; color: var(--ptx); }
.play-signin-text { margin-top: .5rem; font-size: .9rem; max-width: 50ch; margin-inline: auto; }
.play-signin-actions { margin-top: 1rem; display: flex; gap: .5rem; justify-content: center; flex-wrap: wrap; }
.play-subs-bucket { display: flex; flex-direction: column; gap: .75rem; }
.play-subs-buckettitle { font-size: 1.1rem; font-weight: 800; color: var(--ptx); }
.play-subs-manage { display: flex; flex-direction: column; gap: .75rem; }

/* ============================ Ads ============================ */
.play-ad-slot { display: flex; justify-content: center; min-height: 1px; }

/* ============================ Toast + account modal ============================ */
.play-toast { position: fixed; left: 50%; bottom: 1.25rem; transform: translate(-50%, 20px); background: #12161d; color: #fff; padding: .6rem 1rem; border-radius: 999px; font-size: .85rem; z-index: 90; opacity: 0; transition: opacity .25s, transform .25s; box-shadow: 0 8px 24px rgba(0, 0, 0, .3); }
.play-toast.is-in { opacity: 1; transform: translate(-50%, 0); }
.play-acct-modal { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 1rem; }
.play-acct-backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, .5); }
.play-acct-box { position: relative; z-index: 1; width: min(92vw, 420px); background: var(--pbg); border-radius: 0.9rem; padding: 1.5rem; text-align: center; box-shadow: 0 20px 60px rgba(0, 0, 0, .35); }
.play-acct-title { font-size: 1.2rem; font-weight: 800; color: var(--ptx); }
.play-acct-text { margin-top: .5rem; color: var(--pmut); font-size: .9rem; }
.play-acct-actions { margin-top: 1.1rem; display: flex; gap: .5rem; justify-content: center; flex-wrap: wrap; }

/* Reminder buttons in the guide/upcoming, layered on the shared TV markup. */
.tvg-remind, .tv-upcoming-remind { border: 0; background: rgba(255, 255, 255, .18); color: inherit; border-radius: 999px; cursor: pointer; font-size: .8rem; line-height: 1; padding: 2px 4px; }
.tvg-remind { position: absolute; top: 50%; right: 4px; transform: translateY(-50%); width: 24px; height: 24px; display: grid; place-items: center; background: color-mix(in srgb, var(--pbg) 82%, transparent); }
.tvg-block { position: relative; }
.tv-upcoming-remind { margin-left: auto; background: var(--pbg2); }
.tvg-remind.is-on, .tv-upcoming-remind.is-on { background: var(--pp); color: #fff; }
@media (max-width: 700px) { .tvg-remind { display: none; } }

@media (max-width: 640px) {
  .play-brand-name { font-size: 1rem; }
  .play-search { max-width: none; }
  .play-hero-media { aspect-ratio: 16 / 10; }
  .play-page { gap: 1.35rem; }
  .play-rail-title { font-size: 1.12rem; }
  .play-card--rail { width: min(78vw, 264px); }
}
/* ≤480px: logo-only brand (YouTube-style) so search + actions always fit —
   WebKit's larger intrinsic input min-width overflowed the 390px viewport. */
@media (max-width: 480px) {
  .play-brand-name { display: none; }
  .play-search-btn { width: 44px; }
}

/* ============================ Shorts (Part F SH-4) ============================
   Centered 9:16 stage + external rail + right-docked comments panel (desktop),
   full-bleed snap feed (mobile). Only dynamic styles = --pct / --shorts-h /
   --play-chrome-h custom-property writes from play-shorts.js (CSSOM idiom). */
:root {
  --play-chrome-h: 108px; /* header-bar + tabs row; measured exactly at boot */
  --shorts-h: min(calc(100dvh - var(--play-chrome-h) - 24px), 856px);
}
.play-shorts-stage {
  position: relative;
  height: calc(100dvh - var(--play-chrome-h));
  min-height: 520px;
  overflow: hidden;
  background: var(--pbg2);
  margin-top: calc(-1.5rem);
}
@media (min-width: 640px) { .play-shorts-stage { margin-top: -2rem; } }
.play-shorts-feed {
  height: 100%;
  overflow-y: auto;
  scroll-snap-type: y mandatory;
  scrollbar-width: none;
  outline: none;
}
.play-shorts-feed::-webkit-scrollbar { display: none; }
.play-shorts-feed:focus-visible { outline: 2px solid var(--pp); outline-offset: -2px; }
.play-shorts-item {
  height: 100%;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  display: grid;
  place-items: center;
}
.play-shorts-cell {
  display: grid;
  grid-template-columns: auto 56px;
  gap: 12px;
  align-items: end;
  margin-inline: auto;
}
.play-shorts-cell.is-panel-open { grid-template-columns: auto 56px 400px; }
.play-shorts-player {
  position: relative;
  height: var(--shorts-h);
  min-height: 480px;
  width: calc(var(--shorts-h) * 9 / 16);
  aspect-ratio: 9 / 16;
  border-radius: 16px;
  background: #000;
  overflow: hidden;
  box-shadow: var(--pshadow);
}
.play-shorts-iframe, .play-shorts-player > div[id^="play-shorts-yt-"] {
  position: absolute; inset: 0; width: 100%; height: 100%; border: 0;
}
.play-shorts-player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.play-shorts-poster { position: absolute; inset: 0; display: grid; place-items: center; }
.play-shorts-poster img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.play-shorts-poster-disc {
  position: relative; z-index: 1; width: 64px; height: 64px; border-radius: 999px;
  background: rgba(0, 0, 0, .55); color: #fff; display: grid; place-items: center;
}
.play-shorts-poster-disc .dj-ico { width: 1.6rem; height: 1.6rem; }
.play-shorts-scrim {
  position: absolute; left: 0; right: 0; bottom: 0; height: 38%;
  background: linear-gradient(transparent, rgba(0, 0, 0, .55) 78%);
  pointer-events: none;
}
.play-shorts-overlay {
  position: absolute; left: 12px; right: 72px; bottom: 18px; z-index: 2;
  display: flex; flex-direction: column; gap: .35rem; pointer-events: none;
}
.play-shorts-overlay a { pointer-events: auto; }
.play-shorts-chan {
  display: inline-flex; align-items: center; gap: .45rem;
  color: #fff; font-size: 13px; font-weight: 700; text-decoration: none;
  align-self: flex-start;
}
.play-shorts-chan:hover { text-decoration: underline; }
.play-shorts-chan-disc {
  width: 28px; height: 28px; border-radius: 999px; background: var(--pp);
  display: grid; place-items: center; font-size: 12px; font-weight: 800; color: #fff;
}
.play-shorts-title {
  color: #fff; font-size: 15px; font-weight: 600; line-height: 1.35;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.play-shorts-unmute {
  position: absolute; top: 12px; left: 12px; z-index: 3;
  display: inline-flex; align-items: center; gap: .4rem; height: 36px; padding: 0 .9rem;
  border: 0; border-radius: 999px; background: rgba(0, 0, 0, .65); color: #fff;
  font-size: .82rem; font-weight: 700; cursor: pointer;
}
.play-shorts-unmute.is-hidden { display: none; }
.play-shorts-unmute .dj-ico { width: 1rem; height: 1rem; }
.play-shorts-progress {
  position: absolute; left: 0; right: 0; bottom: 0; height: 16px; z-index: 3;
  display: flex; align-items: flex-end; cursor: pointer;
}
.play-shorts-progress::before {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 3px;
  background: rgba(255, 255, 255, .25); transition: height .12s ease;
}
.play-shorts-progress:hover::before { height: 6px; }
.play-shorts-progress-fill {
  position: absolute; left: 0; bottom: 0; height: 3px; width: 100%;
  background: #fff; transform: scaleX(calc(var(--pct, 0) / 100)); transform-origin: left;
  transition: height .12s ease;
}
.play-shorts-progress:hover .play-shorts-progress-fill { height: 6px; }
.play-shorts-rail {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  width: 56px; padding-bottom: 4px;
}
.play-shorts-rail .play-shorts-act { margin-top: 12px; }
.play-shorts-act {
  width: 48px; height: 48px; border-radius: 999px; border: 1px solid var(--pbd);
  background: var(--pbg); color: var(--ptx); display: grid; place-items: center; cursor: pointer;
}
.play-shorts-act:hover { background: var(--pbg2); }
.play-shorts-act.is-on { background: var(--pp); border-color: var(--pp); color: #fff; }
.play-shorts-act .dj-ico { width: 1.25rem; height: 1.25rem; }
.play-shorts-act:focus-visible, .play-shorts-nav-btn:focus-visible,
.play-shorts-unmute:focus-visible, .play-shorts-panel-x:focus-visible {
  outline: 2px solid var(--pp); outline-offset: 2px;
}
.play-shorts-act-n {
  font-size: 12px; font-weight: 700; color: var(--pmut); text-align: center; line-height: 1.2;
}
.play-shorts-nav {
  position: fixed; right: 24px; top: 50%; transform: translateY(-50%); z-index: 30;
  display: flex; flex-direction: column; gap: .6rem;
}
.play-shorts-nav-btn {
  width: 48px; height: 48px; border-radius: 999px; border: 1px solid var(--pbd);
  background: var(--pbg); color: var(--ptx); display: grid; place-items: center; cursor: pointer;
  box-shadow: var(--pshadow);
}
.play-shorts-nav-btn:hover { background: var(--pbg2); }
.play-shorts-panel {
  width: 400px; min-width: 360px; max-width: 420px; height: var(--shorts-h);
  border: 1px solid var(--pbd); border-radius: 16px; background: var(--pbg);
  display: flex; flex-direction: column; overflow: hidden;
}
.play-shorts-panel[hidden] { display: none; }
.play-shorts-panel-head {
  display: flex; align-items: center; justify-content: space-between; gap: .5rem;
  height: 48px; padding: 0 .9rem; border-bottom: 1px solid var(--pbd); flex: none;
}
.play-shorts-panel-title { font-size: .95rem; font-weight: 800; color: var(--ptx); }
.play-shorts-panel-x { width: 32px; height: 32px; border: 0; border-radius: 999px; background: transparent; color: var(--ptx); cursor: pointer; display: grid; place-items: center; }
.play-shorts-panel-x:hover { background: var(--pbg2); }
.play-shorts-panel-body { flex: 1; overflow-y: auto; padding: .8rem .9rem; display: flex; flex-direction: column; gap: .7rem; }
.play-shorts-panel-empty { color: var(--pmut); font-size: .85rem; text-align: center; padding: 1.4rem 0; }
.play-shorts-cmt { display: flex; gap: .55rem; }
.play-shorts-cmt-disc {
  width: 30px; height: 30px; border-radius: 999px; background: var(--pp); color: #fff;
  display: grid; place-items: center; font-size: 12px; font-weight: 800; flex: none;
}
.play-shorts-cmt-main { min-width: 0; }
.play-shorts-cmt-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; font-size: .78rem; }
.play-shorts-cmt-name { font-weight: 700; color: var(--ptx); }
.play-shorts-cmt-date { color: var(--pmut); }
.play-shorts-cmt-body { font-size: .85rem; line-height: 1.5; color: var(--ptx); overflow-wrap: anywhere; }
.play-shorts-form {
  flex: none; display: grid; grid-template-columns: 1fr auto; gap: .5rem;
  padding: .7rem .9rem; border-top: 1px solid var(--pbd);
}
.play-shorts-form-name { grid-column: 1 / -1; height: 34px; border: 1px solid var(--pbd); border-radius: .6rem; padding: 0 .6rem; font-size: .85rem; background: var(--pbg2); color: var(--ptx); }
.play-shorts-form-body { border: 1px solid var(--pbd); border-radius: .6rem; padding: .4rem .6rem; font-size: .85rem; background: var(--pbg2); color: var(--ptx); resize: vertical; min-height: 38px; }
.play-shorts-form-name:focus, .play-shorts-form-body:focus { border-color: var(--pp); background: #fff; outline: none; }
.play-shorts-form-err { grid-column: 1 / -1; color: #b91c1c; font-size: .8rem; }
.play-shorts-form-err a { color: var(--pp); font-weight: 700; }
.play-shorts-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.play-shorts-sentinel { height: 90px; display: grid; place-items: center; }
.play-shorts-spinner {
  width: 26px; height: 26px; border-radius: 999px; border: 3px solid var(--pbd);
  border-top-color: var(--pp); animation: playshortsspin .8s linear infinite;
}
@keyframes playshortsspin { to { transform: rotate(360deg); } }
.play-shorts-more { padding: 2rem 0 1rem; }
.play-shorts-more-grid {
  display: grid; gap: 1rem; margin-top: 1rem;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
}
/* JS adds body.play-shorts-mode on the shorts surface (layout.php is shared);
   it kills page scroll behind the stage. body.play-shorts-app (?app=1 from the
   DJPlay WebView) additionally hides the whole play chrome for full-bleed. */
body.play-shorts-mode { overflow: hidden; }
body.play-shorts-mode .play-shorts-more { display: none; }
body.play-shorts-app .play-header, body.play-shorts-app .play-footer { display: none; }
body.play-shorts-app .play-shorts-stage { height: 100dvh; margin-top: 0; }

@media (max-width: 1199px) {
  .play-shorts-cell.is-panel-open { grid-template-columns: auto 56px; }
  .play-shorts-panel {
    position: absolute; right: 0; top: 0; bottom: 0; z-index: 40;
    height: auto; border-radius: 16px 0 0 16px; box-shadow: var(--pshadow);
  }
}
@media (max-width: 1023px) {
  .play-shorts-nav { display: none; }
}
@media (max-width: 767px) {
  .play-shorts-stage { min-height: 0; height: calc(100dvh - 56px); }
  body.play-shorts-mode .play-tabs { display: none; }
  /* Full-bleed: the centered auto-margin cell must become the whole item —
     margin-inline auto + a content-sized track otherwise collapses it to 0. */
  .play-shorts-cell, .play-shorts-cell.is-panel-open {
    grid-template-columns: 1fr; gap: 0;
    width: 100%; height: 100%; margin-inline: 0;
  }
  .play-shorts-item { place-items: stretch; }
  .play-shorts-player {
    width: 100%; height: 100%; min-height: 0; border-radius: 0; aspect-ratio: auto;
  }
  .play-shorts-rail {
    position: absolute; right: 8px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 4;
    width: 44px; padding: 0;
  }
  .play-shorts-cell { position: relative; height: 100%; }
  .play-shorts-act { width: 44px; height: 44px; border: 0; background: rgba(0, 0, 0, .45); color: #fff; }
  .play-shorts-act:hover { background: rgba(0, 0, 0, .6); }
  .play-shorts-act-n { color: #fff; text-shadow: 0 1px 2px rgba(0, 0, 0, .6); }
  .play-shorts-overlay { right: 64px; bottom: calc(18px + env(safe-area-inset-bottom)); }
  .play-shorts-panel {
    position: fixed; left: 0; right: 0; bottom: 0; top: auto; z-index: 60;
    width: auto; min-width: 0; max-width: none; height: 65dvh;
    border-radius: 16px 16px 0 0; padding-bottom: env(safe-area-inset-bottom);
  }
}
@media (prefers-reduced-motion: reduce) {
  .play-shorts-feed { scroll-behavior: auto; }
  .play-shorts-spinner { animation-duration: 2s; }
  .play-shorts-progress::before, .play-shorts-progress-fill { transition: none; }
}

/* ============================ Shorts teaser cards (home + More shorts) ==== */
.play-shortsteaser-track { display: flex; gap: .85rem; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: .5rem; }
.play-shortcard { flex: none; width: 150px; scroll-snap-align: start; display: flex; flex-direction: column; gap: .3rem; text-decoration: none; }
.play-shortcard-thumb { position: relative; aspect-ratio: 9 / 16; border-radius: .9rem; overflow: hidden; background: #0b0f16; border: 1px solid var(--pbd); }
.play-shortcard-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.play-shortcard-zap {
  position: absolute; top: 6px; left: 6px; width: 24px; height: 24px; border-radius: 999px;
  background: rgba(0, 0, 0, .6); color: #fff; display: grid; place-items: center;
}
.play-shortcard-zap .dj-ico { width: .85rem; height: .85rem; }
.play-shortcard-title { font-size: .82rem; font-weight: 600; color: var(--ptx); line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.play-shortcard-chan { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; color: var(--pp); }
.play-shortcard:hover .play-shortcard-title { color: var(--pp); }

/* ============================ Listen (G5 — podcast shelf) ============== */
.play-listen-track { display: grid; gap: .7rem; grid-template-columns: 1fr; }
@media (min-width: 900px) { .play-listen-track { grid-template-columns: 1fr 1fr; } }
.play-listen-list { display: flex; flex-direction: column; gap: .7rem; }
.play-audio-card { border: 1px solid var(--pbd); border-radius: .9rem; background: var(--pbg); box-shadow: var(--pshadow); overflow: hidden; }
.play-audio-head { display: flex; align-items: center; gap: .75rem; padding: .7rem .9rem; cursor: pointer; list-style: none; }
.play-audio-head::-webkit-details-marker { display: none; }
.play-audio-head:hover { background: var(--pbg2); }
.play-audio-art { width: 56px; height: 56px; border-radius: .7rem; overflow: hidden; flex: none; background: var(--pbg2); display: grid; place-items: center; }
.play-audio-art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.play-audio-art-ico { color: var(--pmut); }
.play-audio-meta { display: flex; flex-direction: column; gap: .12rem; min-width: 0; flex: 1; }
.play-audio-show { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; color: var(--pp); }
.play-audio-title { font-size: .9rem; font-weight: 700; color: var(--ptx); line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.play-audio-sub { font-size: .72rem; color: var(--pmut); }
.play-audio-playico { width: 36px; height: 36px; border-radius: 999px; background: var(--pp); color: #fff; display: grid; place-items: center; flex: none; }
.play-audio-playico .dj-ico { width: 1rem; height: 1rem; }
.play-audio-card[open] .play-audio-playico { background: var(--pbg2); color: var(--ptx); }
.play-audio-body { padding: 0 .9rem .9rem; display: flex; flex-direction: column; gap: .6rem; border-top: 1px solid var(--pbg2); padding-top: .7rem; }
.play-audio-desc { font-size: .82rem; line-height: 1.55; color: var(--pmut); }
.play-audio-el { width: 100%; }
.play-audio-attrib { font-size: .75rem; color: var(--pmut); }
.play-audio-attrib a { color: var(--pp); font-weight: 600; text-decoration: none; }
.play-audio-attrib a:hover { text-decoration: underline; }
.play-listen-shelf + .play-listen-shelf { margin-top: .5rem; }

/* ============================ Retro (G5 — Classic Junction) ============ */
.play-retrocard { flex: none; width: 200px; scroll-snap-align: start; display: flex; flex-direction: column; gap: .3rem; text-decoration: none; }
.play-retrocard-thumb { position: relative; aspect-ratio: 4 / 3; border-radius: .9rem; overflow: hidden; background: #0b0f16; border: 1px solid var(--pbd); }
.play-retrocard-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; filter: sepia(.12); }
.play-retrocard-year { position: absolute; bottom: 6px; right: 6px; background: rgba(0, 0, 0, .78); color: #fff; font-size: 11px; font-weight: 700; padding: 1px 6px; border-radius: 5px; }
.play-retrocard-title { font-size: .84rem; font-weight: 700; color: var(--ptx); line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.play-retrocard-chan { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; color: var(--pp); }
.play-retrocard:hover .play-retrocard-title { color: var(--pp); }
.play-retro-hero { display: grid; gap: 1.1rem; border: 1px solid var(--pbd); border-radius: 1.1rem; background: var(--pbg); box-shadow: var(--pshadow); overflow: hidden; }
@media (min-width: 900px) { .play-retro-hero { grid-template-columns: minmax(0, 1.4fr) 1fr; } }
.play-retro-hero-media { position: relative; display: block; aspect-ratio: 16 / 9; background: #0b0f16; }
.play-retro-hero-media img { width: 100%; height: 100%; object-fit: cover; display: block; filter: sepia(.12); }
.play-retro-hero-body { display: flex; flex-direction: column; gap: .55rem; padding: 1.25rem 1.4rem; justify-content: center; align-items: flex-start; }
.play-retro-hero-kicker { color: var(--pp); font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.play-retro-hero-title { font-size: clamp(1.3rem, 2.6vw, 1.9rem); font-weight: 800; color: var(--ptx); line-height: 1.1; }
.play-retro-hero-desc { color: var(--pmut); font-size: .9rem; line-height: 1.55; }
.play-retro-licence { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; font-size: .82rem; color: var(--pmut); }
.play-retro-licence a { color: var(--pp); font-weight: 600; text-decoration: none; }
.play-retro-licence a:hover { text-decoration: underline; }
.play-retro-licence .dj-ico { width: 1rem; height: 1rem; color: #15803d; }
.play-retro-attrib { font-size: .78rem; color: var(--pmut); text-align: center; }
.play-retro-attrib a { color: var(--pp); font-weight: 600; }
.play-retro-watch { display: flex; flex-direction: column; }

/* ============================ NASA APOD rail (G5) ====================== */
.play-apod { display: flex; flex-direction: column; gap: .85rem; }
.play-apod-card { display: grid; gap: 1.1rem; border: 1px solid var(--pbd); border-radius: 1.1rem; background: var(--pbg); box-shadow: var(--pshadow); overflow: hidden; }
@media (min-width: 900px) { .play-apod-card { grid-template-columns: minmax(0, 1.3fr) 1fr; } }
.play-apod-media { display: block; background: #0b0f16; }
.play-apod-media img { width: 100%; height: 100%; max-height: 420px; object-fit: cover; display: block; }
.play-apod-body { display: flex; flex-direction: column; gap: .6rem; padding: 1.25rem 1.4rem; justify-content: center; align-items: flex-start; }
.play-apod-title { font-size: clamp(1.15rem, 2.2vw, 1.6rem); font-weight: 800; color: var(--ptx); line-height: 1.15; }
.play-apod-desc { color: var(--pmut); font-size: .9rem; line-height: 1.6; }
