/* ===========================================================================
   Daily Junction Play — editorial portal polish (2026-07-16)

   Presentation-only layer loaded after the canonical Play sheet. It leaves
   consent, notification state, Shorts, watch-later, autoplay/up-next,
   subscriptions, tracking and every interaction contract unchanged.
   ========================================================================== */

body {
  --font-body: "Segoe UI Variable Text", "Segoe UI", Arial, sans-serif;
  --font-display: "Segoe UI Variable Display", "Segoe UI", Arial, sans-serif;
  background: #eef1f5;
  font-family: var(--font-body);
  font-kerning: normal;
  text-rendering: optimizeLegibility;
}

/* Compact publication chrome. */
.play-header {
  border-top: 3px solid var(--pp);
  border-bottom-color: #263449;
  background: #111a28;
  backdrop-filter: none;
  box-shadow: 0 2px 7px rgba(15, 27, 45, 0.18);
}

.play-header-bar {
  gap: 0.65rem;
  padding-block: 0.38rem;
}

.play-header .play-brand-name {
  color: #f8fafc;
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.play-header .play-brand-play {
  color: #70b4ff;
}

.play-search-input {
  height: 38px;
  border-radius: 0.25rem 0 0 0.25rem;
  background: var(--pbg);
  font-size: 0.9rem;
}

.play-search-btn {
  width: 46px;
  height: 38px;
  border-radius: 0 0.25rem 0.25rem 0;
  background: var(--pbg);
}

.play-typeahead {
  border-radius: 0.35rem;
  box-shadow: 0 8px 22px rgba(15, 27, 45, 0.13);
}

.play-typeahead-row img {
  border-radius: 0.25rem;
}

.play-bell {
  color: #f8fafc;
}

.play-bell:hover {
  background: rgba(255, 255, 255, 0.1);
}

.play-tabs {
  border-top-color: #dce2ea;
  background: var(--pbg);
}

.play-tabs-track {
  gap: 0.12rem;
  padding-block: 0.22rem;
}

.play-tab {
  padding: 0.42rem 0.66rem;
  border: 1px solid transparent;
  border-radius: 0.22rem;
  font-size: 0.82rem;
  font-weight: 650;
}

.play-tab:hover {
  border-color: var(--pbd);
  background: var(--pbg2);
}

.play-tab.is-active {
  border-color: color-mix(in srgb, var(--pp) 34%, var(--pbd));
  background: color-mix(in srgb, var(--pp) 8%, var(--pbg));
  color: var(--pp);
  box-shadow: inset 0 -2px 0 var(--pp);
}

.play-tabs-sep {
  height: 18px;
}

/* Editorial rhythm and lead story. */
.play-page {
  gap: 1.15rem;
}

.play-hero {
  border-radius: 0.4rem;
  box-shadow: none;
}

.play-hero-badge {
  border-radius: 0.22rem;
}

.play-hero-title {
  font-weight: 700;
  letter-spacing: -0.025em;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.55);
}

.play-hero-inner {
  gap: 0.45rem;
}

/* Flat editorial rails and thumbnail cards. */
.play-rail {
  gap: 0.72rem;
}

.play-rail-head {
  gap: 0.55rem;
  padding-bottom: 0.48rem;
}

.play-rail-title {
  padding-left: 0.55rem;
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: -0.015em;
}

.play-rail-all {
  padding: 0.26rem 0.55rem;
  border-radius: 0.22rem;
  font-size: 0.8rem;
}

.play-rail-track,
.play-livestrip-track {
  gap: 0.72rem;
}

.play-rail-ghost,
.play-rail-cta {
  border-radius: 0.35rem;
  box-shadow: none;
}

.play-card-thumb {
  border-radius: 0.35rem;
}

.play-card-img {
  transition: none;
}

.play-card:hover .play-card-img {
  transform: none;
}

.play-card-body {
  gap: 0.16rem;
  padding: 0.5rem 0.08rem 0.28rem;
}

.play-card-title {
  font-weight: 650;
}

.play-card-channel {
  letter-spacing: 0.02em;
}

.play-livetile-screen {
  border-radius: 0.35rem;
  box-shadow: none;
}

.play-chan-avatar {
  box-shadow: none;
}

/* Passive watch-page reading surfaces. */
.play-player-frame {
  border-radius: 0.4rem;
}

.play-meta-card,
.play-related-reading,
.play-comments {
  border-radius: 0.35rem;
  box-shadow: none;
}

.play-meta-title {
  font-weight: 700;
  letter-spacing: -0.02em;
}

.play-summary {
  border-radius: 0.3rem;
  background: #f5f6f8;
}

.play-read-card {
  border-radius: 0.3rem;
}

/* Categories, search and directory pages. */
.play-cat-title {
  font-weight: 700;
  letter-spacing: -0.02em;
}

.play-chip {
  border-radius: 0.22rem;
  background: var(--pbg);
  font-weight: 600;
}

.play-wall,
.play-guide-box,
.play-chan-header,
.play-chan-livecard {
  border-radius: 0.4rem;
  box-shadow: none;
}

.play-chan-banner {
  background: var(--tv-accent, #1257a5);
}

.play-chan-h1,
.play-wall-grouptitle {
  font-weight: 700;
}

/* Live TV and guide: retain all player/chat/favourite behaviour. */
.tv-crumb {
  color: color-mix(in srgb, var(--color-base-content) 72%, transparent);
}

.tv-hero {
  border-radius: 0.4rem;
  background: #101722;
  box-shadow: none;
}

.tv-hero-title {
  font-weight: 700;
}

.tv-hero-chip,
.tv-tab {
  border-radius: 0.22rem;
}

.tv-tile {
  border-radius: 0.35rem;
  box-shadow: none;
  transition: border-color 0.15s ease;
}

.tv-tile:hover {
  transform: none;
  box-shadow: none;
}

.tv-tile-logo,
.tv-logo-fallback {
  border-radius: 0.25rem;
  box-shadow: none;
}

.tv-tile-live {
  border-radius: 0.2rem;
}

.tv-tile-now,
.tv-grid-empty {
  color: color-mix(in srgb, var(--color-base-content) 74%, transparent);
}

/* Production carries persistent channel comments that the data-free preview
   does not. Keep their dates secondary without dropping below text contrast. */
#tv-comment-list .text-base-content\/50 {
  color: color-mix(in srgb, var(--color-base-content) 74%, transparent);
}

.tvg-shell {
  border-radius: 0.35rem;
}

.tvg-block {
  border-radius: 0.22rem;
}

/* Listen and long-form feature cards. */
.play-audio-card,
.play-retro-hero,
.play-apod-card {
  border-radius: 0.35rem;
  box-shadow: none;
}

.play-audio-art,
.play-retrocard-thumb {
  border-radius: 0.3rem;
}

.play-audio-title,
.play-retro-hero-title,
.play-apod-title {
  font-weight: 700;
}

.play-footer {
  background: var(--pbg);
}

@media (max-width: 767px) {
  .play-header-bar {
    gap: 0.48rem;
  }

  .play-page {
    gap: 1rem;
  }

  .play-hero-inner {
    padding: 1rem;
  }

  .play-rail-title {
    font-size: 1.06rem;
  }
}
