:root,
html[data-theme="dark"] {
  color-scheme: dark;
  --bg: #000000;
  --bg-elevated: #141414;
  --surface: rgba(20, 20, 20, 0.72);
  --text: #ffffff;
  --text-muted: #b3b3b3;
  --accent: #e50914;
  --accent-soft: #ff3b30;
  --brand-blue: #0099ff;
  --oxford: #0a0a2a;
  --bg-gradient: linear-gradient(180deg, #000000 0%, var(--oxford) 42%, #000000 100%);
  --hairline: rgba(255, 255, 255, 0.12);
  --hairline-soft: rgba(255, 255, 255, 0.06);
  --header-bg-scrolled: rgba(0, 0, 0, 0.92);
  --header-bg-nav: rgba(0, 0, 0, 0.96);
  --nav-active-bg: rgba(255, 255, 255, 0.1);
  --control-bg: rgba(20, 20, 28, 0.92);
  --control-border: rgba(255, 255, 255, 0.16);
  --panel-bg: #141414;
  --panel-elevated: #1a1a1a;
  --icon: #ffffff;
  --shadow-soft: 0 12px 40px rgba(0, 0, 0, 0.35);
  --radius: 6px;
  --header-h: 68px;
  /* Shared left edge: logo, hero stage, segments, row thumbs */
  --page-gutter: clamp(0.75rem, 2vw, 1.5rem);
  --font: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --ease: cubic-bezier(0.33, 1, 0.68, 1);
  --news-bg: var(--bg);
  --news-surface: var(--bg-elevated);
  --news-text: var(--text);
  --news-muted: var(--text-muted);
  --news-kicker: var(--brand-blue);
  --news-media-bg: #1a1a1a;
  --news-rule: var(--hairline);
  --categories-wash: #050505;
  --skel-base: #14141c;
  --skel-mid: #222230;
  --skel-line: #2a2a34;
  --skel-line-mid: #3a3a48;
  --skel-thumb: #1a1a22;
  --skel-thumb-mid: #2a2a34;
  --skel-pill: rgba(255, 255, 255, 0.12);
  --media-placeholder: #1a1a1a;
  --comments-bg: linear-gradient(180deg, rgba(22, 22, 28, 0.62), rgba(10, 10, 14, 0.72));
  --comments-border: rgba(255, 255, 255, 0.1);
  --comments-divider: rgba(255, 255, 255, 0.08);
  --comments-item-bg: rgba(255, 255, 255, 0.04);
  --comments-input-bg: rgba(255, 255, 255, 0.06);
  --comments-input-border: rgba(255, 255, 255, 0.14);
  --comments-text: rgba(255, 255, 255, 0.92);
  --comments-muted: rgba(255, 255, 255, 0.45);
}

html[data-theme="light"] {
  color-scheme: light;
  --bg: #f3f5f8;
  --bg-elevated: #ffffff;
  --surface: rgba(255, 255, 255, 0.92);
  --text: #121212;
  --text-muted: #5a6570;
  --accent: #e50914;
  --accent-soft: #ff3b30;
  --brand-blue: #0077cc;
  --oxford: #dfe7f2;
  --bg-gradient: linear-gradient(180deg, #f7f9fc 0%, #e8eef6 45%, #f3f5f8 100%);
  --hairline: rgba(18, 18, 18, 0.12);
  --hairline-soft: rgba(18, 18, 18, 0.08);
  --header-bg-scrolled: rgba(255, 255, 255, 0.94);
  --header-bg-nav: rgba(255, 255, 255, 0.98);
  --nav-active-bg: rgba(0, 0, 0, 0.06);
  --control-bg: #ffffff;
  --control-border: rgba(18, 18, 18, 0.14);
  --panel-bg: #ffffff;
  --panel-elevated: #f0f3f7;
  --icon: #121212;
  --shadow-soft: 0 12px 36px rgba(15, 30, 60, 0.1);
  --news-bg: #ffffff;
  --news-surface: #ffffff;
  --news-text: #0a0a0a;
  --news-muted: rgba(18, 18, 18, 0.58);
  --news-kicker: var(--brand-blue);
  --news-media-bg: #e8e8e8;
  --news-rule: rgba(18, 18, 18, 0.12);
  --categories-wash: #ffffff;
  --skel-base: #e4e9f0;
  --skel-mid: #f3f6fa;
  --skel-line: #d5dde8;
  --skel-line-mid: #eef2f7;
  --skel-thumb: #dde3ec;
  --skel-thumb-mid: #eef2f7;
  --skel-pill: rgba(18, 18, 18, 0.08);
  --media-placeholder: #e4e9f0;
  --comments-bg: linear-gradient(180deg, #ffffff 0%, #f7f9fc 100%);
  --comments-border: rgba(18, 18, 18, 0.12);
  --comments-divider: rgba(18, 18, 18, 0.08);
  --comments-item-bg: rgba(15, 30, 60, 0.04);
  --comments-input-bg: #ffffff;
  --comments-input-border: rgba(18, 18, 18, 0.14);
  --comments-text: var(--text);
  --comments-muted: var(--text-muted);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg-gradient);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

/* —— Header —— */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  width: 100%;
  max-width: 100vw;
  height: var(--header-h);
  transition: background 0.35s var(--ease), backdrop-filter 0.35s var(--ease);
}

.site-header.is-scrolled {
  background: var(--header-bg-scrolled);
  backdrop-filter: blur(12px);
}

.site-header.is-nav-open {
  background: var(--header-bg-nav);
  backdrop-filter: blur(12px);
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  height: 100%;
  max-width: 100%;
  padding: 0 var(--page-gutter);
}

.site-header__left {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  min-width: 0;
  flex: 1 1 auto;
}

.site-header__right {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-shrink: 0;
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
}

.brand {
  position: relative;
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  width: 10.75rem;
  height: 2.5rem;
  transition: width 0.35s var(--ease);
}

.brand.is-face-classic {
  width: 10.75rem;
}

.brand.is-face-full {
  width: 9.75rem;
}

.brand-station {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
  min-width: 0;
}

.brand-station:has(.brand.is-face-classic) {
  gap: 0.55rem;
}

.brand-station__toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 1.5rem;
  height: 1.5rem;
  padding: 0;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease;
}

.brand-station__toggle:hover,
.brand-station.is-open .brand-station__toggle {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
}

.brand-station.is-open .brand-station__toggle svg {
  transform: rotate(180deg);
}

.brand-station__toggle svg {
  transition: transform 0.2s ease;
}

.brand-station__menu {
  position: absolute;
  top: calc(100% + 0.15rem);
  left: 0;
  z-index: 120;
  min-width: 13.5rem;
  max-width: min(18rem, calc(100vw - 2rem));
  padding: 0.35rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 10px;
  background: #1c1c1c;
  box-shadow: var(--shadow-soft);
}

.brand-station__menu.is-fixed-pos {
  position: fixed;
  margin: 0;
}

.brand-station__menu[hidden] {
  display: none;
}

.brand-station__item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  width: 100%;
  padding: 0.5rem 0.65rem;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--text-muted);
  font: inherit;
  font-size: 0.875rem;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  transition: color 0.15s ease, background 0.15s ease;
}

.brand-station__item:hover,
.brand-station__item:focus-visible {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.brand-station__item.is-active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
  font-weight: 700;
}

.brand-station__logo {
  width: 28px;
  height: 28px;
  object-fit: contain;
  flex-shrink: 0;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.25);
}

.brand-station__label {
  min-width: 0;
  line-height: 1.25;
}

.brand__face {
  position: absolute;
  inset: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  opacity: 0;
  transform: scale(0.96);
  pointer-events: none;
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.brand__face.is-active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

.brand__mark {
  width: 34px;
  height: 34px;
  object-fit: contain;
  flex-shrink: 0;
}

.brand__full {
  width: 100%;
  height: 100%;
  max-height: 40px;
  object-fit: contain;
  object-position: left center;
}

.brand__station-logo {
  width: 44px;
  height: 44px;
  object-fit: contain;
  flex-shrink: 0;
}

.brand[data-station-key="rebroadcast"] .brand__station-logo {
  width: 58px;
  height: 58px;
  transform: scale(1.12);
  transform-origin: center center;
}

.brand[data-station-key="rebroadcast"].is-station-logo {
  height: 3.1rem;
}

.brand-station__item[data-station-key="rebroadcast"] .brand-station__logo {
  width: 36px;
  height: 36px;
  transform: scale(1.15);
  transform-origin: center center;
}

.brand.is-station-logo {
  width: auto;
  min-width: 0;
  height: 2.75rem;
}

.brand.is-station-logo.is-face-classic,
.brand.is-station-logo.is-face-full {
  width: auto;
}

.brand.is-station-logo .brand__face--classic,
.brand.is-station-logo .brand__face--full {
  opacity: 0;
  pointer-events: none;
}

.brand.is-station-logo .brand__face--station {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
  position: relative;
  inset: auto;
}

.brand:not(.is-station-logo) .brand__face--station {
  opacity: 0;
  pointer-events: none;
}

.brand__wordmark {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--brand-blue);
  white-space: nowrap;
}

.brand__wordmark em {
  font-style: normal;
  color: var(--text);
  font-weight: 700;
}

html[data-theme="dark"] .brand.is-station-logo .brand__wordmark,
html[data-theme="dark"] .brand.is-station-logo .brand__wordmark em,
:root:not([data-theme="light"]) .brand.is-station-logo .brand__wordmark,
:root:not([data-theme="light"]) .brand.is-station-logo .brand__wordmark em {
  color: #ffffff;
}

html[data-theme="light"] .brand.is-station-logo .brand__wordmark,
html[data-theme="light"] .brand.is-station-logo .brand__wordmark em {
  color: #121212;
}

.locale-flag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 4px;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.locale-flag[hidden] {
  display: none;
}

.locale-flag__img {
  width: 24px;
  height: 18px;
  object-fit: cover;
  display: block;
}

.lang-select-wrap {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.lang-select {
  max-width: 9.5rem;
  min-height: 32px;
  padding: 0.25rem 0.45rem;
  border-radius: 6px;
  border: 1px solid var(--control-border);
  background: var(--control-bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 0.75rem;
  font-weight: 500;
  cursor: pointer;
}

.lang-select:focus {
  outline: 2px solid var(--brand-blue);
  outline-offset: 1px;
}

.lang-select option {
  color: #111;
  background: #fff;
}

@media (max-width: 720px) {
  .site-header__right {
    gap: 0.4rem;
  }

  .lang-select {
    max-width: 5rem;
    font-size: 0.65rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .brand__face {
    transition: none;
  }
}

.primary-nav {
  min-width: 0;
  flex: 1 1 auto;
}

.primary-nav__list {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  margin: 0;
  padding: 0;
  list-style: none;
  flex-wrap: nowrap;
}

.primary-nav__link {
  display: inline-block;
  padding: 0.4rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  border-radius: 999px;
  transition: color 0.2s ease, background 0.2s ease;
}

.primary-nav__link:hover {
  color: var(--text);
}

.primary-nav__link.is-active {
  color: var(--text);
  background: var(--nav-active-bg);
  font-weight: 600;
}

.icon-btn.nav-toggle {
  display: none;
  position: relative;
  flex-shrink: 0;
  color: var(--icon);
}

.nav-toggle__icon {
  display: block;
}

.nav-toggle__icon--close {
  display: none;
}

.site-header.is-nav-open .nav-toggle__icon--open {
  display: none;
}

.site-header.is-nav-open .nav-toggle__icon--close {
  display: block;
}

.mobile-nav,
.mobile-nav-backdrop {
  display: none;
}

.mobile-nav__list {
  margin: 0;
  padding: 0.5rem 0 1rem;
  list-style: none;
}

.mobile-nav__link {
  display: block;
  padding: 0.85rem var(--page-gutter);
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-muted);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: color 0.2s ease, background 0.2s ease;
}

.mobile-nav__link:hover,
.mobile-nav__link:focus-visible {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.mobile-nav__link.is-active {
  color: var(--text);
  font-weight: 700;
  background: rgba(255, 255, 255, 0.08);
}

.mobile-nav__link--btn {
  width: 100%;
  text-align: left;
  font: inherit;
  background: transparent;
  border: 0;
  cursor: pointer;
}

body.is-nav-open {
  overflow: hidden;
}

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: var(--text);
  transition: background 0.2s ease;
}

.icon-btn:hover {
  background: var(--nav-active-bg);
}

.theme-toggle .theme-toggle__icon--moon {
  display: none;
}

html[data-theme="light"] .theme-toggle .theme-toggle__icon--sun {
  display: none;
}

html[data-theme="light"] .theme-toggle .theme-toggle__icon--moon {
  display: block;
}

.notif-wrap {
  position: relative;
  flex-shrink: 0;
}

.notif-bell {
  position: relative;
}

.notif-bell__badge {
  position: absolute;
  top: 4px;
  right: 4px;
  min-width: 1rem;
  height: 1rem;
  padding: 0 0.28rem;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 0.58rem;
  font-weight: 800;
  line-height: 1rem;
  text-align: center;
  pointer-events: none;
}

.notif-panel {
  position: absolute;
  top: calc(100% + 0.45rem);
  right: 0;
  z-index: 120;
  width: min(22rem, calc(100vw - 2rem));
  max-height: min(24rem, 70vh);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border-radius: 12px;
  border: 1px solid var(--hairline);
  background: var(--panel-bg);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-soft);
}

.notif-panel[hidden] {
  display: none;
}

.notif-panel__head {
  padding: 0.85rem 1rem 0.55rem;
  border-bottom: 1px solid var(--hairline-soft);
}

.notif-panel__title {
  margin: 0;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text);
}

.notif-panel__empty {
  padding: 1.25rem 1rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  text-align: center;
}

.notif-panel__empty[hidden] {
  display: none;
}

.notif-panel__list {
  margin: 0;
  padding: 0.35rem 0;
  list-style: none;
  overflow-y: auto;
}

.notif-panel__item {
  display: block;
  width: 100%;
  padding: 0.75rem 1rem;
  border: 0;
  border-bottom: 1px solid var(--hairline-soft);
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
  font-family: var(--font);
}

.notif-panel__item:last-child {
  border-bottom: 0;
}

.notif-panel__item:hover,
.notif-panel__item:focus-visible {
  background: var(--nav-active-bg);
}

.notif-panel__item-title {
  margin: 0 0 0.2rem;
  font-size: 0.88rem;
  font-weight: 650;
  color: var(--text);
  line-height: 1.3;
}

.notif-panel__item-body {
  margin: 0 0 0.35rem;
  font-size: 0.8rem;
  line-height: 1.4;
  color: var(--text-muted);
}

.notif-panel__item-time {
  margin: 0;
  font-size: 0.68rem;
  color: var(--text-muted);
}

.kids-link {
  font-size: 0.875rem;
  font-weight: 600;
  opacity: 0.9;
}

.profile-menu-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.profile-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
}

.profile-btn__avatar {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 4px;
  background: linear-gradient(145deg, var(--brand-blue), #0042cc);
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
}

.profile-btn__label,
.notif-bell__label {
  display: none;
}

.profile-menu {
  position: absolute;
  top: calc(100% + 0.45rem);
  right: 0;
  z-index: 80;
  min-width: 11.5rem;
  padding: 0.35rem;
  border: 1px solid var(--hairline);
  border-radius: 10px;
  background: var(--panel-bg);
  box-shadow: var(--shadow-soft);
}

.profile-menu[hidden] {
  display: none;
}

.profile-menu__item {
  display: block;
  width: 100%;
  padding: 0.55rem 0.75rem;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--text);
  font-family: var(--font);
  font-size: 0.875rem;
  font-weight: 600;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}

.profile-menu__item:hover {
  background: var(--nav-active-bg);
}

.profile-menu__item--danger {
  color: #f87171;
}

.profile-menu__item--danger:hover {
  background: rgba(248, 113, 113, 0.12);
  color: #fecaca;
}

.profile-menu__item[hidden] {
  display: none;
}

/* —— Hero —— */
.page {
  padding-top: 0;
  background: transparent;
}

.hero {
  padding: calc(var(--header-h) + 0.5rem) var(--page-gutter) 0;
}

.home-live {
  padding: calc(var(--header-h) + 0.5rem) var(--page-gutter) 0;
}

.home-live .hero {
  padding: 0;
}

.home-live__player {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.hero__player-row {
  position: relative;
  width: 100%;
}

.hero__player-col {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.hero--with-comments .hero__player-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  grid-template-rows: auto auto;
  column-gap: 1.25rem;
  row-gap: 0.35rem;
  align-items: stretch;
}

/* Flatten so stage|comments share row 1; info sits under stage only. */
.hero--with-comments .hero__player-col {
  display: contents;
}

.hero--with-comments .hero__stage {
  grid-column: 1;
  grid-row: 1;
  min-width: 0;
}

.hero--with-comments .hero__info {
  grid-column: 1;
  grid-row: 2;
  min-width: 0;
}

.hero--with-comments .watch-comments--sheet {
  grid-column: 2;
  grid-row: 1;
  align-self: stretch;
  /* Size from the player row; panel fills that height and scrolls inside */
  height: 0;
  min-height: 100%;
  max-height: none;
  overflow: hidden;
}

/* Desktop: comments live in the side rail — no toggle in chrome.
   Two classes beat later .player-chrome__btn { display: inline-grid }. */
.player-chrome__btn.player-chrome__comments {
  display: none;
}

@media (max-width: 960px) {
  .hero--with-comments .hero__player-row {
    display: block;
  }

  .hero--with-comments .hero__player-col {
    display: flex;
    flex-direction: column;
  }

  /* Mobile/tablet: comments icon in player chrome (before quality) */
  .player-chrome__btn.player-chrome__comments {
    display: inline-grid;
  }

  .hero.has-comments-open .player-chrome__btn.player-chrome__comments {
    display: none;
  }

  .hero--with-comments .watch-comments--sheet {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    bottom: auto;
    left: auto;
    z-index: 6;
    width: min(50%, 320px);
    height: calc(100vw * 9 / 16 - 1rem);
    max-height: min(calc(100vw * 9 / 16 - 1rem), 280px);
    min-height: 0;
    border-radius: 16px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateX(110%);
    transition:
      opacity 0.36s var(--ease),
      transform 0.36s var(--ease),
      visibility 0.36s;
  }

  .hero.has-comments-open .watch-comments--sheet {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(0);
  }
}

.hero__stage {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  max-height: min(72vh, 820px);
  border-radius: 16px;
  overflow: hidden;
  isolation: isolate;
  background: var(--media-placeholder);
}

.hero__surface {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: var(--media-placeholder);
}

.hero > .player-actions {
  margin-top: 0.75rem;
}

.hero__media {
  position: absolute;
  inset: 0;
  background-color: var(--media-placeholder);
  background-size: min(48vmin, 360px);
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
  transform-origin: center center;
  transition: opacity 0.35s ease;
}

.hero__surface.is-loading .hero__media,
.hero__media.is-loading {
  animation: poster-logo-pulse 1.4s ease-in-out infinite;
}

.hero__video {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  background: transparent;
  opacity: 1;
  transition: opacity 0.35s ease;
}

.hero__surface.is-loading .hero__video {
  opacity: 0;
  pointer-events: none;
}

@keyframes poster-logo-pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.14);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__surface.is-loading .hero__media,
  .hero__media.is-loading {
    animation: none;
    transform: none;
  }
}

.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.72) 0%,
      rgba(0, 0, 0, 0.32) 30%,
      rgba(0, 0, 0, 0.06) 58%,
      transparent 78%
    ),
    linear-gradient(
      0deg,
      rgba(0, 0, 0, 0.82) 0%,
      rgba(0, 0, 0, 0.28) 30%,
      transparent 58%
    );
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.hero--chrome-hidden [data-hero-chrome],
.hero--chrome-hidden .hero__scrim {
  opacity: 0;
  pointer-events: none;
  animation: none;
}

.hero [data-hero-chrome] {
  transition: opacity 0.35s ease;
}

@media (prefers-reduced-motion: reduce) {
  .hero [data-hero-chrome],
  .hero__scrim {
    transition: none;
  }
}

.hero__vignette {
  position: absolute;
  inset: 0;
  z-index: 1;
  box-shadow: inset 0 48px 90px rgba(0, 0, 0, 0.22);
  pointer-events: none;
}

.hero__mute {
  position: absolute;
  top: 1.1rem;
  left: 1.25rem;
  right: auto;
  z-index: 2;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.35);
  transition: transform 0.18s var(--ease), background 0.18s ease, border-color 0.18s ease;
}

.hero__mute:hover {
  background: rgba(0, 0, 0, 0.62);
  border-color: rgba(255, 255, 255, 0.5);
}

.hero__mute:active {
  transform: scale(0.94);
}

.hero__mute-svg {
  display: block;
  overflow: visible;
}

.hero__mute-speaker,
.hero__mute-wave,
.hero__mute-slash {
  transition: opacity 0.22s ease, transform 0.22s var(--ease), stroke-dashoffset 0.28s ease;
  transform-origin: center;
}

.hero__mute-wave {
  opacity: 1;
  transform: scale(1);
}

.hero__mute-wave--1 {
  transition-delay: 0.02s;
}

.hero__mute-wave--2 {
  transition-delay: 0.06s;
}

.hero__mute-slash {
  stroke-dasharray: 28;
  stroke-dashoffset: 28;
  opacity: 0;
}

.hero__mute.is-muted .hero__mute-wave {
  opacity: 0;
  transform: scale(0.7);
}

.hero__mute.is-muted .hero__mute-slash {
  stroke-dashoffset: 0;
  opacity: 1;
}

.hero__mute.is-muted {
  background: #f5c518;
  border-color: rgba(255, 255, 255, 0.9);
  color: #111;
  box-shadow: 0 0 0 2px rgba(245, 197, 24, 0.4);
}

.hero__mute.is-muted:hover {
  background: #ffd84d;
  border-color: #fff;
}

@media (prefers-reduced-motion: reduce) {
  .hero__mute,
  .hero__mute-speaker,
  .hero__mute-wave,
  .hero__mute-slash {
    transition: none;
  }
}

.hero__info {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem 1.25rem;
  width: 100%;
  box-sizing: border-box;
  padding: 0.35rem 0 0.25rem;
  animation: fade-up 0.9s var(--ease) both;
}

.hero__content {
  position: static;
  z-index: auto;
  flex: 1 1 16rem;
  width: auto;
  max-width: 36rem;
  box-sizing: border-box;
  padding: 0;
  animation: none;
  color: var(--text);
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero__eyebrow {
  display: none;
}

.hero__live-card {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  width: fit-content;
  max-width: min(100%, 28rem);
  padding: 0.55rem 0.85rem 0.55rem 0.55rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 10px;
  background: rgba(8, 8, 12, 0.72);
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
}

/* No now-playing title: hide empty card (Live chip stays in player chrome). */
.hero__live-card.is-badge-only {
  display: none;
}

.hero__live-card-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.28rem 0.55rem;
  border-radius: 4px;
  background: var(--accent);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  flex: 0 0 auto;
}

.hero__live-card-dot {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
  animation: live-pulse 1.6s ease-out infinite;
}

@keyframes live-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.55);
  }
  70% {
    box-shadow: 0 0 0 6px rgba(255, 255, 255, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__live-card-dot {
    animation: none;
  }
}

.hero__live-card-body {
  min-width: 0;
  flex: 1 1 auto;
}

.hero__live-card-program {
  margin: 0;
  min-width: 0;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hero__title {
  margin: 0;
  font-size: clamp(1.15rem, 2.4vw, 1.55rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.01em;
  text-shadow: none;
}

.hero__title.is-empty {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

body[data-page="live"] .hero__title,
body[data-page="home"] .hero__title {
  font-size: clamp(1.15rem, 2.4vw, 1.55rem);
  line-height: 1.2;
}

.hero__meta {
  margin: 0.65rem 0 0;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
}

html[data-theme="dark"] .hero__meta {
  color: rgba(255, 255, 255, 0.72);
}

.hero__synopsis {
  display: none;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.75rem;
  width: 100%;
  max-width: 100%;
}

.hero__actions .btn {
  flex: 0 0 auto;
  max-width: 100%;
}

/* —— In-player chrome (YouTube-style) —— */
.player-chrome {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 5;
  pointer-events: none;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
}

.hero--chrome-hidden .player-chrome,
.watch-player.is-chrome-hidden .player-chrome {
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
}

.player-chrome__gradient {
  position: absolute;
  inset: auto 0 0;
  height: 5.5rem;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.72) 100%);
  pointer-events: none;
}

.player-chrome--seek .player-chrome__gradient {
  height: 7.25rem;
}

.player-chrome__seek {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.15rem 0.75rem 0;
  pointer-events: auto;
}

.player-chrome__scrub {
  flex: 1 1 auto;
  min-width: 0;
  height: 1.1rem;
  margin: 0;
  appearance: none;
  background: transparent;
  cursor: pointer;
}

.player-chrome__scrub:disabled {
  cursor: default;
  opacity: 0.55;
}

.player-chrome__scrub::-webkit-slider-runnable-track {
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    #fff 0%,
    #fff var(--seek-pct, 0%),
    rgba(255, 255, 255, 0.28) var(--seek-pct, 0%),
    rgba(255, 255, 255, 0.28) 100%
  );
}

.player-chrome__scrub::-webkit-slider-thumb {
  appearance: none;
  width: 12px;
  height: 12px;
  margin-top: -4px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.25);
}

.player-chrome__scrub::-moz-range-track {
  height: 4px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
}

.player-chrome__scrub::-moz-range-progress {
  height: 4px;
  border-radius: 999px;
  background: #fff;
}

.player-chrome__scrub::-moz-range-thumb {
  width: 12px;
  height: 12px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.25);
}

.player-chrome__time {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.72rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.01em;
  white-space: nowrap;
  user-select: none;
}

.player-chrome__time-sep {
  opacity: 0.65;
}

.player-chrome__bar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.55rem 0.65rem 0.7rem;
  pointer-events: auto;
}

.player-chrome__left,
.player-chrome__right {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
}

.player-chrome__btn {
  display: inline-grid;
  place-items: center;
  width: 2.35rem;
  height: 2.35rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #fff;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
}

/* Toggle icons share one cell; show exactly one via button state classes. */
.player-chrome__btn > .player-chrome__icon {
  grid-area: 1 / 1;
  display: none;
}

.player-chrome__btn:not(.is-paused) > .player-chrome__icon--pause,
.player-chrome__btn.is-paused > .player-chrome__icon--play,
.player-chrome__btn:not(.is-fs-active) > .player-chrome__icon--enter-fs,
.player-chrome__btn.is-fs-active > .player-chrome__icon--exit-fs {
  display: block;
}

.player-chrome__btn:hover {
  background: rgba(255, 255, 255, 0.14);
}

.player-chrome__btn:active {
  transform: scale(0.96);
}

.player-chrome__btn.is-muted [data-mute-wave] {
  display: none;
}

.player-chrome__btn:not(.is-muted) [data-mute-slash] {
  display: none;
}

.player-chrome__live {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-left: 0.35rem;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  background: rgba(229, 9, 20, 0.92);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.player-chrome__live-dot {
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
  animation: player-live-pulse 1.4s ease-out infinite;
}

@keyframes player-live-pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.55); }
  70% { box-shadow: 0 0 0 6px rgba(255, 255, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}

.player-settings {
  position: relative;
}

.player-settings__panel {
  position: absolute;
  right: 0;
  bottom: calc(100% + 0.45rem);
  z-index: 6;
  width: min(14.5rem, 72vw);
  padding: 0.35rem 0;
  border-radius: 10px;
  background: rgba(28, 28, 28, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
  color: #fff;
  backdrop-filter: blur(10px);
}

.player-settings__panel[hidden] {
  display: none;
}

.player-settings__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.45rem 0.85rem 0.55rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.78rem;
  font-weight: 700;
}

.player-settings__heading {
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.player-settings__current {
  color: rgba(255, 255, 255, 0.92);
}

.player-settings__options {
  display: grid;
  padding: 0.25rem 0;
}

.player-settings__option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  width: 100%;
  padding: 0.55rem 0.85rem;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.92);
  font-family: var(--font);
  font-size: 0.9rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}

.player-settings__option:hover {
  background: rgba(255, 255, 255, 0.08);
}

.player-settings__option.is-active {
  color: #fff;
}

.player-settings__option svg {
  flex-shrink: 0;
  color: var(--brand-blue);
}

.watch-player:fullscreen,
.watch-player:-webkit-full-screen {
  width: 100%;
  height: 100%;
  border-radius: 0;
  background: #000;
}

.watch-player:fullscreen .watch-player__video,
.watch-player:-webkit-full-screen .watch-player__video {
  min-height: 100%;
  height: 100%;
}

.hero__actions:empty {
  display: none;
}

@media (max-width: 960px) {
  .hero__actions {
    flex-wrap: nowrap;
  }
}

@media (max-width: 720px) {
  .hero__info {
    flex-direction: column;
    align-items: stretch;
    padding-top: 0.35rem;
  }

  .hero__content {
    flex: 0 1 auto;
    max-width: 100%;
  }

  .hero__love {
    margin-left: 0;
    max-width: 100%;
  }

  .hero__live-card {
    gap: 0.45rem;
    padding: 0.35rem 0.55rem 0.35rem 0.35rem;
    border-radius: 8px;
  }

  .hero__live-card-badge {
    padding: 0.2rem 0.4rem;
    font-size: 0.58rem;
  }

  .hero__live-card-program {
    font-size: 0.78rem;
  }

  .hero__meta {
    margin-top: 0.4rem;
    font-size: 0.75rem;
  }

  .hero__actions {
    margin-top: 0.55rem;
    gap: 0.5rem;
  }

  .hero__actions .btn {
    min-height: 40px;
    font-size: 0.85rem;
    padding: 0.4rem 0.95rem;
  }

  .hero__actions .btn svg {
    width: 18px;
    height: 18px;
  }

  .player-chrome__bar {
    padding: 0.4rem 0.45rem 0.55rem;
  }

  .player-chrome__btn {
    width: 2.1rem;
    height: 2.1rem;
  }

  .hero__mute {
    top: 0.65rem;
    left: 0.65rem;
    width: 36px;
    height: 36px;
  }

  .hero__mute-svg {
    width: 18px;
    height: 18px;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 44px;
  padding: 0.65rem 1.45rem;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 700;
  transition: transform 0.2s var(--ease), filter 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: scale(1.03);
}

.btn:active {
  transform: scale(0.98);
}

.btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
}

.btn--play {
  background: #fff;
  color: #111;
  border: 0;
}

.btn--play:hover {
  filter: brightness(0.92);
}

.btn--info {
  background: rgba(109, 109, 110, 0.72);
  color: #fff;
  backdrop-filter: blur(6px);
  border: 0;
}

.btn--info:hover {
  background: rgba(109, 109, 110, 0.9);
}

.hero__stage:fullscreen,
.hero__stage:-webkit-full-screen {
  width: 100%;
  height: 100%;
  max-height: none;
  border-radius: 0;
  background: #000;
}

.hero__stage:fullscreen .hero__surface,
.hero__stage:-webkit-full-screen .hero__surface {
  position: absolute;
  inset: 0;
}

.hero__stage:fullscreen .hero__video,
.hero__stage:-webkit-full-screen .hero__video {
  object-fit: contain;
}

.btn__info-icon {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border: 2px solid currentColor;
  border-radius: 50%;
  font-size: 0.8rem;
  font-weight: 800;
  font-style: italic;
  line-height: 1;
}

.hero__love {
  position: static;
  z-index: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  flex: 0 1 auto;
  max-width: min(22rem, 100%);
  margin-left: auto;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 500;
  line-height: 1.35;
  backdrop-filter: blur(8px);
  animation: none;
}

.hero__love-link {
  color: var(--brand-blue);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.hero__love-link:hover {
  color: var(--brand-blue);
  filter: brightness(1.12);
}

html[data-theme="light"] .hero__live-card {
  background: rgba(8, 8, 12, 0.06);
  border-color: rgba(18, 18, 18, 0.08);
  box-shadow: 0 2px 8px rgba(15, 30, 60, 0.04);
}

html[data-theme="light"] .hero__live-card-program {
  color: #121212;
}

html[data-theme="light"] .hero__love {
  background: rgba(0, 0, 0, 0.05);
  border-color: rgba(18, 18, 18, 0.08);
  color: #121212;
}

html[data-theme="light"] .hero__love-link:hover {
  filter: brightness(0.88);
}

@media (max-width: 720px) {
  .hero__love,
  html[data-theme="light"] .hero__love {
    align-self: flex-start;
    width: auto;
    max-width: 100%;
    margin-left: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    text-align: left;
  }

  .hero > .hero__love {
    margin-top: 0.7rem;
  }
}

/* —— Rows —— */
.browse {
  position: relative;
  z-index: 2;
  margin-top: 1.5rem;
  padding: 0 0 4rem;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(10, 10, 42, 0.55) 12%,
    var(--oxford) 48%,
    #000000 100%
  );
}

.browse-segment {
  margin: 0;
  padding: 0.5rem 0 0.75rem;
}

.browse-segment[data-segment="categories"] {
  position: relative;
  margin-top: 0.5rem;
  padding: 1.5rem 0 2rem;
  overflow: hidden;
  background: transparent;
  border-radius: 0;
}

.browse-segment[data-segment="categories"]::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-color: var(--categories-wash);
  background-image:
    radial-gradient(ellipse 45% 40% at 18% 40%, rgba(0, 153, 255, 0.22) 0%, transparent 70%),
    radial-gradient(ellipse 50% 45% at 72% 55%, rgba(0, 120, 220, 0.2) 0%, transparent 72%),
    radial-gradient(ellipse 40% 35% at 48% 70%, rgba(0, 90, 180, 0.18) 0%, transparent 68%),
    radial-gradient(ellipse 55% 50% at 88% 25%, rgba(0, 153, 255, 0.12) 0%, transparent 65%),
    radial-gradient(ellipse 35% 30% at 35% 20%, rgba(40, 100, 200, 0.1) 0%, transparent 70%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 14%, #000 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, #000 14%, #000 100%);
}

.browse-segment[data-segment="categories"] > * {
  position: relative;
  z-index: 1;
}

.browse-segment + .browse-segment {
  margin-top: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.browse-segment[data-segment="categories"] + .browse-segment,
.browse-segment + .browse-segment[data-segment="categories"] {
  border-top: 0;
}

body[data-page="live"] .browse {
  margin-top: 2rem;
  padding-bottom: 5rem;
}

.browse-segment[data-segment="live"] {
  padding: 1.5rem 0 2.5rem;
}

/* —— Live program schedule —— */
.live-schedule {
  margin: 1.75rem var(--page-gutter) 0;
  max-width: 42rem;
}

body[data-page="schedule"] .live-schedule {
  margin: 0;
  max-width: 52rem;
}

.live-schedule__heading {
  margin: 0 0 0.85rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.live-schedule__list {
  list-style: none;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.35);
}

.live-schedule__row {
  display: grid;
  grid-template-columns: 7.5rem minmax(0, 1fr) auto;
  gap: 0.75rem 1rem;
  align-items: center;
  padding: 0.7rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.live-schedule__row:last-child {
  border-bottom: 0;
}

.live-schedule__row.is-past {
  opacity: 0.45;
}

.live-schedule__row.is-now {
  background: rgba(0, 153, 255, 0.12);
  box-shadow: inset 3px 0 0 var(--brand-blue);
}

.live-schedule__time {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
}

.live-schedule__row.is-now .live-schedule__time {
  color: var(--brand-blue);
}

.live-schedule__program {
  font-size: 0.92rem;
  font-weight: 600;
  color: #fff;
  min-width: 0;
}

.live-schedule__badge {
  justify-self: end;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  background: var(--brand-blue);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

@media (max-width: 560px) {
  .live-schedule__row {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: auto auto;
  }

  .live-schedule__time {
    grid-column: 1 / -1;
  }
}

/* —— Program Schedule page (hybrid: light panels on dark wash) —— */
.schedule-page {
  box-sizing: border-box;
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  padding: calc(var(--header-h) + 1.25rem) 0 3.5rem;
  background:
    radial-gradient(ellipse 80% 45% at 50% -5%, rgba(0, 153, 255, 0.16) 0%, transparent 60%),
    linear-gradient(180deg, #07101c 0%, var(--oxford) 42%, #05070e 100%);
}

.schedule-page__shell {
  margin: 0 var(--page-gutter);
}

.schedule-page__top {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.95fr);
  gap: clamp(1.25rem, 3vw, 2.5rem);
  align-items: center;
  margin: 0 0 1.5rem;
}

.schedule-page__header {
  margin: 0;
  max-width: none;
}

.schedule-page__eyebrow {
  margin: 0 0 0.45rem;
  font-size: 0.7rem;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-blue);
}

.schedule-page__title {
  margin: 0 0 0.55rem;
  font-family: "Space Grotesk", var(--font);
  font-size: clamp(1.85rem, 4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: #fff;
}

.schedule-page__lead {
  margin: 0 0 1.1rem;
  max-width: 38rem;
  font-size: 0.95rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.72);
}

.schedule-page__watch {
  display: inline-flex;
  min-height: 42px;
  padding-inline: 1.35rem;
  border-radius: 6px;
  background: #ff8a00;
  color: #111;
  border: 0;
  font-weight: 700;
}

.schedule-page__watch:hover {
  filter: brightness(1.08);
}

.sched-app-promo {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(7.5rem, 0.72fr);
  gap: 0.85rem 1rem;
  align-items: center;
  padding: 1rem 1.1rem;
  overflow: hidden;
  border-radius: 16px;
  background:
    radial-gradient(ellipse 55% 70% at 88% 40%, rgba(0, 153, 255, 0.22) 0%, transparent 68%),
    radial-gradient(ellipse 40% 50% at 12% 80%, rgba(0, 90, 180, 0.16) 0%, transparent 70%),
    linear-gradient(145deg, #0a1220 0%, #05080f 48%, #000 100%);
  border: 1px solid rgba(0, 153, 255, 0.14);
}

.sched-app-promo__copy {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.sched-app-promo__title {
  margin: 0 0 0.85rem;
  font-family: "Space Grotesk", var(--font);
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.3;
  color: #fff;
}

.sched-app-promo__cta {
  margin: 0;
  background: #22c55e;
  color: #052e16;
}

.sched-app-promo__cta:hover {
  filter: brightness(1.08);
  background: #22c55e;
}

.sched-app-promo__phones {
  position: relative;
  justify-self: end;
  width: 100%;
  max-width: 11.5rem;
  height: 9.5rem;
  perspective: 800px;
}

.sched-app-promo__phone {
  position: absolute;
  width: min(52%, 5.4rem);
  height: auto;
  border-radius: 14px;
  box-shadow:
    0 14px 28px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(255, 255, 255, 0.08);
  object-fit: cover;
  background: #111;
}

.sched-app-promo__phone--back {
  left: 4%;
  top: 14%;
  --phone-rot: -8deg;
  transform: rotate(var(--phone-rot)) translateZ(0);
  z-index: 1;
}

.sched-app-promo__phone--front {
  right: 2%;
  top: 0;
  --phone-rot: 6deg;
  transform: rotate(var(--phone-rot)) translateZ(0);
  z-index: 2;
}

@media (prefers-reduced-motion: no-preference) {
  .sched-app-promo__phone--back {
    animation: app-phone-float 5.5s ease-in-out infinite alternate;
  }

  .sched-app-promo__phone--front {
    animation: app-phone-float 6.2s ease-in-out 0.4s infinite alternate-reverse;
  }
}

@media (max-width: 900px) {
  .schedule-page__top {
    grid-template-columns: 1fr;
    gap: 1.15rem;
  }

  .sched-app-promo {
    grid-template-columns: minmax(0, 1fr) minmax(7rem, 0.65fr);
  }
}

@media (max-width: 560px) {
  .sched-app-promo {
    grid-template-columns: 1fr;
  }

  .sched-app-promo__phones {
    justify-self: center;
    height: 10.5rem;
    max-width: 12.5rem;
  }
}

.schedule-page__body {
  margin: 0;
  max-width: none;
  width: auto;
}

.schedule-page__empty {
  margin: 1rem 0 0;
  padding: 1.25rem 1.35rem;
  border-radius: 12px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(248, 250, 252, 0.92);
  color: #64748b;
  font-size: 0.95rem;
  line-height: 1.5;
}

.sched-panel {
  padding: 1.15rem 1.15rem 1.35rem;
  border-radius: 16px;
  background: rgba(238, 242, 247, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.sched-panel__top {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.35rem 1rem;
  margin-bottom: 0.85rem;
}

.sched-panel__hint {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.55);
}

@media (max-width: 640px) {
  .sched-panel {
    padding: 1rem;
  }
}

.sched-days {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 1.75rem;
  padding: 0.65rem;
  border-radius: 14px;
  background: rgba(238, 242, 247, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: none;
}

.sched-days__nav {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 10px;
  background: #fff;
  color: #334155;
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.sched-days__nav:hover {
  background: #fff;
  color: var(--brand-blue);
  box-shadow: 0 2px 8px rgba(0, 153, 255, 0.2);
}

.sched-days__track {
  display: flex;
  gap: 0.45rem;
  flex: 1 1 auto;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding: 0.45rem 0.15rem 0.35rem;
}

.sched-days__track::-webkit-scrollbar {
  display: none;
}

.sched-days__chip {
  position: relative;
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
  min-width: 4.4rem;
  min-height: 4.4rem;
  padding: 0.55rem 0.65rem;
  border-radius: 12px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: #fff;
  color: #64748b;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s var(--ease);
}

.sched-days__chip:hover {
  border-color: rgba(0, 153, 255, 0.35);
  color: #0f172a;
}

.sched-days__chip.is-active {
  background: linear-gradient(160deg, #0b2744 0%, #061628 100%);
  border-color: rgba(255, 255, 255, 0.15);
  color: #fff;
  box-shadow: 0 10px 24px rgba(0, 100, 180, 0.28);
}

.sched-days__chip.is-today .sched-days__today {
  display: inline-flex;
}

.sched-days__today {
  display: none;
  position: absolute;
  top: -0.45rem;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.12rem 0.45rem;
  border-radius: 999px;
  background: #22c55e;
  color: #052e16;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.sched-days__name {
  font-size: 0.9rem;
  font-weight: 700;
  color: inherit;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

.sched-days__name--short {
  display: none;
}

.sched-days__chip.is-active .sched-days__name {
  color: #fff;
}

@media (max-width: 640px) {
  .sched-days__name--full {
    display: none;
  }

  .sched-days__name--short {
    display: inline;
  }

  .sched-days__chip {
    min-width: 3.4rem;
    min-height: 3.8rem;
    padding: 0.45rem 0.35rem;
  }

  .sched-days__name {
    font-size: 0.82rem;
  }
}

body[data-page="schedule"] {
  background: #05070e;
}

html[data-theme="light"] body[data-page="schedule"] {
  background: var(--bg);
}

body[data-page="schedule"] .site-footer {
  margin-top: 0;
}

.sched-list__heading {
  margin: 0;
  font-family: "Space Grotesk", var(--font);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
}

.sched-list {
  display: grid;
  gap: 0.55rem;
}

.sched-card {
  border-radius: 12px;
  border: 1px solid rgba(15, 23, 42, 0.06);
  background: #ffffff;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.sched-card.is-now {
  background: linear-gradient(160deg, #0b2744 0%, #061628 100%);
  border-color: rgba(255, 255, 255, 0.7);
  color: #fff;
  box-shadow: 0 10px 24px rgba(0, 100, 180, 0.28);
}

.sched-card.is-past {
  opacity: 0.72;
}

.sched-card.is-open {
  border-color: rgba(0, 153, 255, 0.28);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.22);
}

.sched-card.is-now.is-open {
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 12px 28px rgba(0, 100, 180, 0.32);
}

.sched-card__toggle {
  display: grid;
  grid-template-columns: 4.75rem 2.75rem minmax(0, 1fr) auto;
  gap: 0.75rem 0.85rem;
  align-items: center;
  width: 100%;
  padding: 0.9rem 1.05rem;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
  font-family: var(--font);
}

.sched-card__times {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: #94a3b8;
  font-variant-numeric: tabular-nums;
}

.sched-card.is-now .sched-card__times {
  color: rgba(255, 255, 255, 0.85);
}

.sched-card__icon {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 10px;
  background: #eef6ff;
  color: var(--brand-blue);
}

.sched-card.is-now .sched-card__icon {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.sched-card__title-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.65rem;
  min-width: 0;
}

.sched-card__title {
  font-size: 1.05rem;
  font-weight: 650;
  color: #334155;
  line-height: 1.35;
}

.sched-card.is-now .sched-card__title {
  color: #fff;
}

.sched-card__badge {
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  background: var(--brand-blue);
  color: #fff;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.sched-card.is-now .sched-card__badge {
  background: #22c55e;
  color: #052e16;
}

.sched-card__chevron {
  flex: 0 0 auto;
  color: #94a3b8;
  transition: transform 0.25s var(--ease), color 0.2s ease;
}

.sched-card.is-now .sched-card__chevron {
  color: rgba(255, 255, 255, 0.7);
}

.sched-card.is-open .sched-card__chevron {
  transform: rotate(180deg);
  color: var(--brand-blue);
}

.sched-card.is-now.is-open .sched-card__chevron {
  color: #fff;
}

.sched-card__body {
  display: none;
  padding: 0 1.05rem 1rem;
  margin: 0;
  border-top: 1px solid #eef2f7;
}

.sched-card.is-now .sched-card__body {
  border-top-color: rgba(255, 255, 255, 0.12);
}

.sched-card.is-open .sched-card__body {
  display: block;
  padding-top: 0.85rem;
}

.sched-card__desc {
  margin: 0;
  padding-left: calc(4.75rem + 2.75rem + 0.85rem + 0.85rem);
  font-size: 0.95rem;
  line-height: 1.55;
  color: #64748b;
}

.sched-card.is-now .sched-card__desc {
  color: rgba(255, 255, 255, 0.72);
}

@media (max-width: 640px) {
  .sched-card__toggle {
    grid-template-columns: 4.25rem 2.4rem minmax(0, 1fr) auto;
    gap: 0.55rem 0.65rem;
    padding: 0.75rem 0.85rem;
  }

  .sched-card__desc {
    padding-left: 0;
  }

  .sched-card__icon {
    width: 2.4rem;
    height: 2.4rem;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .sched-card {
    opacity: 0;
    transform: translateY(14px);
    transition:
      opacity 0.45s var(--ease),
      transform 0.45s var(--ease),
      border-color 0.2s ease,
      box-shadow 0.2s ease;
    transition-delay: calc(var(--reveal-i, 0) * 35ms);
  }

  .sched-card.is-visible {
    opacity: 1;
    transform: translateY(0);
  }

  .sched-card.is-past.is-visible {
    opacity: 0.72;
  }

  .sched-card.is-now.is-visible {
    animation: schedule-now-pulse 1.1s var(--ease) 0.3s 1;
  }
}

@keyframes schedule-now-pulse {
  0%,
  100% {
    box-shadow:
      inset 3px 0 0 var(--brand-blue),
      0 12px 30px rgba(0, 120, 200, 0.2);
  }
  50% {
    box-shadow:
      inset 3px 0 0 var(--brand-blue),
      0 14px 34px rgba(0, 153, 255, 0.32);
  }
}

.browse-segment__label {
  margin: 0 0 0.35rem;
  padding: 0 var(--page-gutter);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.content-row {
  padding: 0.15rem 0 0.25rem;
}

.content-row__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0 var(--page-gutter) 0.25rem;
}

.content-row__title {
  margin: 0;
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--text);
}

@media (max-width: 720px) {
  .content-row__title {
    font-size: 1.1rem;
    line-height: 1.25;
  }
}

.content-row__pager {
  display: flex;
  gap: 4px;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.content-row:hover .content-row__pager {
  opacity: 1;
}

.pager-dot {
  width: 14px;
  height: 2px;
  background: rgba(255, 255, 255, 0.28);
  border-radius: 1px;
}

.pager-dot.is-active {
  background: rgba(255, 255, 255, 0.85);
}

.content-row__track-wrap {
  position: relative;
}

.content-row__track {
  display: flex;
  gap: 0.55rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--page-gutter);
  /* Avoid padding-left on the scroller: mandatory snap scrolls it away (~gutter px) */
  padding: 0.35rem 0 1.25rem;
  scrollbar-width: none;
}

.content-row__track::before,
.content-row__track::after {
  content: "";
  flex: 0 0 var(--page-gutter);
  /* Non-snap spacers keep first/last thumbs aligned with the row title */
  scroll-snap-align: none;
}

.content-row__track::-webkit-scrollbar {
  display: none;
}

.row-arrow {
  position: absolute;
  top: 0;
  bottom: 1.25rem;
  z-index: 3;
  width: 3.2vw;
  min-width: 36px;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, 0.45);
  opacity: 0;
  transition: opacity 0.2s ease, background 0.2s ease;
}

.content-row__track-wrap:hover .row-arrow:not([hidden]) {
  opacity: 1;
}

.row-arrow:hover {
  background: rgba(0, 0, 0, 0.75);
}

.row-arrow--prev {
  left: 0;
}

.row-arrow--next {
  right: 0;
}

.thumb {
  position: relative;
  flex: 0 0 auto;
  width: 340px;
  scroll-snap-align: start;
}

.thumb__link {
  display: block;
}

.thumb__media {
  position: relative;
  width: 100%;
  height: 240px;
  aspect-ratio: 340 / 240;
  border-radius: 16px;
  overflow: hidden;
  background: var(--media-placeholder);
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease);
}

.thumb__media.is-loading::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    110deg,
    var(--skel-thumb) 20%,
    var(--skel-thumb-mid) 40%,
    var(--skel-thumb) 60%
  );
  background-size: 200% 100%;
  animation: skel-shine 1.2s linear infinite;
}

.thumb__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
  transition: opacity 0.35s ease;
}

.thumb__media.is-loading .thumb__img {
  opacity: 0;
}

.thumb:hover .thumb__media,
.thumb:focus-within .thumb__media {
  transform: scale(1.07);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
  z-index: 4;
}

.thumb__overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 2.25rem 0.85rem 0.85rem;
  background: linear-gradient(
    transparent 8%,
    rgba(0, 0, 0, 0.72) 48%,
    rgba(0, 0, 0, 0.97) 100%
  );
  pointer-events: none;
}

.thumb__hover {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem;
  background: rgba(0, 0, 0, 0.35);
  opacity: 0;
  transition: opacity 0.22s ease;
  pointer-events: none;
}

.thumb:hover .thumb__hover,
.thumb:focus-within .thumb__hover {
  opacity: 1;
  pointer-events: auto;
}

.thumb__actions {
  display: flex;
  align-items: center;
  justify-content: center;
}

.thumb__btn {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 0;
  cursor: pointer;
  font-size: 1rem;
  transition: transform 0.15s ease, filter 0.15s ease;
}

.thumb__btn:hover {
  transform: scale(1.08);
}

.thumb__btn--play {
  background: #fff;
  color: #111;
}

.thumb__play {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #fff;
  color: #111;
  font-size: 0.7rem;
}

.thumb__name {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.3;
  word-break: break-word;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.65);
}

.thumb__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.3rem 0.35rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.74rem;
  font-weight: 500;
  line-height: 1.2;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.55);
}

.thumb__meta-sep {
  opacity: 0.55;
}

.thumb__likes {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  min-height: 1.85rem;
  padding: 0.28rem 0.5rem;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.45);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1;
  pointer-events: none;
}

.badge--top10 ~ .thumb__likes {
  left: 2.85rem;
}

.thumb__likes-icon {
  font-size: 0.85rem;
  line-height: 1;
  filter: saturate(1.2);
}

.thumb__likes-value {
  letter-spacing: 0.01em;
}

.badge {
  position: absolute;
  z-index: 1;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.badge--top10 {
  top: 0;
  left: 0.55rem;
  padding: 0.45rem 0.35rem 0.55rem;
  background: var(--accent);
  font-size: 0.58rem;
  line-height: 1.1;
  text-align: center;
  width: 2.1rem;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 88%, 0 100%);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

.badge--new {
  top: 0.45rem;
  right: 0.45rem;
  left: auto;
  bottom: auto;
  transform: none;
  padding: 0.28rem 0.55rem;
  background: var(--accent);
  font-size: 0.62rem;
  border-radius: 2px;
  white-space: nowrap;
}

.badge--live {
  top: 0.45rem;
  right: 0.45rem;
  left: auto;
  padding: 0.22rem 0.45rem;
  background: var(--accent);
  font-size: 0.62rem;
  border-radius: 2px;
}

.thumb__progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: rgba(255, 255, 255, 0.25);
}

.thumb__progress::after {
  content: "";
  display: block;
  width: var(--progress, 0%);
  height: 100%;
  background: var(--accent);
}

/* —— Promo featured carousel —— */
.promo-feature {
  margin: 1.25rem 0 2rem;
  padding: 0;
}

.promo-feature__stage {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  width: 100%;
  min-height: 560px;
  border-radius: 0;
  background: #0a0a12;
}

.promo-feature__stage-bg {
  position: absolute;
  inset: -24px;
  z-index: 0;
  background-image: var(--promo-bg);
  background-size: cover;
  background-position: center;
  filter: blur(28px) saturate(1.05);
  transform: scale(1.08);
  opacity: 0.55;
}

.promo-feature__stage-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.72) 0%,
    rgba(0, 0, 0, 0.45) 45%,
    rgba(0, 0, 0, 0.7) 100%
  );
}

.promo-feature__label {
  position: relative;
  z-index: 1;
  margin: 0;
  padding: 1rem var(--page-gutter) 0.35rem;
  color: #f5c518;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.promo-feature__stage-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(320px, 48%) 1fr;
  grid-template-rows: 1fr auto;
  column-gap: 2rem;
  row-gap: 0.75rem;
  align-items: end;
  flex: 1 1 auto;
  padding: 0.75rem var(--page-gutter) 1rem;
}

.promo-feature__stage-inner.is-fading .promo-feature__poster,
.promo-feature__stage-inner.is-fading .promo-feature__copy {
  opacity: 0.35;
}

.promo-feature__poster {
  grid-column: 1;
  grid-row: 1 / -1;
  align-self: end;
  width: 100%;
  max-width: 520px;
  aspect-ratio: 1;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
  background: #111;
  transition: opacity 0.28s ease;
}

.promo-feature__poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.promo-feature__copy {
  grid-column: 2;
  grid-row: 1;
  align-self: center;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.85rem;
  max-width: 36rem;
  transition: opacity 0.28s ease;
}

.promo-feature__title {
  margin: 0;
  color: #fff;
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.promo-feature__desc {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.95rem;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  overflow: hidden;
}

.promo-feature__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.25rem;
  padding: 0.7rem 1.35rem;
  border-radius: 6px;
  background: #ff8a00;
  color: #111;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  transition: filter 0.15s ease, transform 0.15s ease;
}

.promo-feature__cta:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.promo-feature__strip {
  grid-column: 2;
  grid-row: 2;
  justify-self: end;
  align-self: end;
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: flex-end;
  gap: 0.2rem;
  margin: 0;
  max-width: 100%;
  overflow-x: auto;
  padding: 0;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
}

.promo-feature__strip::-webkit-scrollbar {
  display: none;
}

.promo-feature__thumb {
  flex: 0 0 auto;
  width: 35px;
  min-width: 35px;
  height: 35px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 6px;
  overflow: hidden;
  background: #111;
  cursor: pointer;
  opacity: 0.65;
  scroll-snap-align: start;
  transition: width 0.25s var(--ease), min-width 0.25s var(--ease), opacity 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.promo-feature__thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.promo-feature__thumb:hover {
  opacity: 0.9;
}

.promo-feature__thumb.is-active {
  width: 56px;
  min-width: 56px;
  height: 35px;
  opacity: 1;
  border-color: var(--brand-blue);
  transform: none;
  box-shadow: 0 0 0 1px rgba(0, 153, 255, 0.35);
}

/* —— Category grid (saga-style cards) —— */
.cat-grid {
  --cat-stack-w: 140px;
  --cat-stack-h: 187px; /* 3:4 of 140 — same on all breakpoints */
  padding: 0.75rem var(--page-gutter) 2rem;
}

.cat-grid__inner {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  justify-content: stretch;
  column-gap: 3.5rem;
  row-gap: 2rem;
}

.cat-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
  margin: 0;
  padding: 0 0.65rem 0 0.9rem;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  width: 100%;
  max-width: none;
  min-height: calc(var(--cat-stack-h) + 1.5rem + 4.25rem);
}

.cat-card:focus-visible {
  outline: 2px solid var(--brand-blue);
  outline-offset: 4px;
  border-radius: 8px;
}

.cat-card__stack {
  position: relative;
  width: var(--cat-stack-w);
  height: var(--cat-stack-h);
  max-width: 100%;
  margin: 0.2rem 0 1.5rem;
  overflow: visible;
  flex: 0 0 auto;
}

.cat-card__layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.45);
  background: #1a1a1a;
  transform-origin: center center;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.cat-card__layer--2 {
  transform: rotate(-8deg) translate(-5%, 1%);
  opacity: 0.88;
  z-index: 1;
}

.cat-card__layer--1 {
  transform: rotate(-3deg) translate(-2%, 0.5%);
  opacity: 0.94;
  z-index: 2;
}

.cat-card__layer--0 {
  transform: rotate(3deg) translate(2%, 0);
  z-index: 3;
}

.cat-card:hover .cat-card__layer--2,
.cat-card:focus-visible .cat-card__layer--2 {
  transform: rotate(-12deg) translate(-7%, 2%);
  opacity: 0.9;
}

.cat-card:hover .cat-card__layer--1,
.cat-card:focus-visible .cat-card__layer--1 {
  transform: rotate(-5deg) translate(-3%, 1%);
  opacity: 0.95;
}

.cat-card:hover .cat-card__layer--0,
.cat-card:focus-visible .cat-card__layer--0 {
  transform: rotate(5deg) translate(3%, -1%);
}

@media (prefers-reduced-motion: reduce) {
  .cat-card__layer {
    transition: none;
  }
}

.cat-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 0.35rem;
  margin: 0;
  padding-right: 0.15rem;
  min-height: 1.1rem;
  color: var(--text-muted);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.cat-card__badge {
  color: var(--brand-blue);
}

.cat-card__sep {
  opacity: 0.55;
}

.cat-card__views {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
}

.cat-card__eye {
  display: inline-flex;
  color: var(--brand-blue);
  width: 0.85rem;
  height: 0.85rem;
  flex: 0 0 auto;
}

.cat-card__eye svg {
  width: 100%;
  height: 100%;
  display: block;
}

.cat-card__title {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  margin: 0;
  padding-right: 0.15rem;
  min-height: 2.6em;
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.3;
  transition: color 0.15s ease;
}

.cat-card:hover .cat-card__title,
.cat-card:focus-visible .cat-card__title {
  color: var(--brand-blue);
}

.cat-grid__footer {
  display: flex;
  justify-content: flex-end;
  margin-top: 1.25rem;
}

.cat-grid__more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.7rem 1.35rem;
  border: 0;
  border-radius: 6px;
  background: #ff8a00;
  color: #111;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: filter 0.15s ease, transform 0.15s ease;
}

.cat-grid__more-arrow {
  font-size: 1em;
  line-height: 1;
}

.cat-grid__more:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

@media (max-width: 960px) {
  .cat-grid__inner {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 2.75rem;
    row-gap: 1.75rem;
  }
}

@media (max-width: 560px) {
  .cat-grid__inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 2rem;
    row-gap: 1.5rem;
  }

  .cat-card {
    padding-left: 0.7rem;
  }

  .cat-grid__footer {
    margin-top: 1.1rem;
  }
}

/* —— Footer —— */
.site-footer {
  padding: 3rem var(--page-gutter) 1.75rem;
  margin-top: 2rem;
  background: transparent;
  border-top: 1px solid var(--hairline-soft);
  color: var(--text-muted);
}

.site-footer__mega {
  display: grid;
  grid-template-columns: 1.35fr repeat(3, minmax(0, 1fr));
  gap: clamp(1.75rem, 3vw, 3rem);
  align-items: start;
  max-width: 72rem;
  margin: 0 auto 2.25rem;
}

.site-footer__brand-col {
  min-width: 0;
}

.site-footer__brand-title {
  margin: 0 0 0.45rem;
  font-family: "Space Grotesk", var(--font);
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
}

.site-footer__tagline {
  margin: 0 0 1.15rem;
  font-size: 0.9rem;
  line-height: 1.45;
  color: var(--text-muted);
}

.site-footer__social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.site-footer__social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 50%;
  border: 1px solid var(--control-border);
  background: var(--control-bg);
  color: var(--icon);
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.site-footer__social-link svg,
.site-footer__social-link img {
  display: block;
  flex-shrink: 0;
}

.site-footer__social-link--kingschat img {
  width: 1.1rem;
  height: 1.1rem;
  object-fit: contain;
}

.site-footer__social-link:hover {
  background: var(--nav-active-bg);
  border-color: var(--hairline);
  color: var(--text);
}

.site-footer__col {
  min-width: 0;
}

.site-footer__heading {
  margin: 0 0 0.9rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.site-footer__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.site-footer__list a {
  color: var(--text);
  font-size: 0.92rem;
  line-height: 1.4;
  text-decoration: none;
}

.site-footer__list a:hover {
  color: var(--brand-blue);
}

.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem 2rem;
  max-width: 72rem;
  margin: 0 auto;
  padding-top: 1.35rem;
  border-top: 1px solid var(--hairline-soft);
  text-align: center;
}

.site-footer__brand {
  margin: 0;
  color: var(--text);
  font-weight: 700;
}

.site-footer__copy {
  margin: 0;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.site-footer__links {
  display: flex;
  gap: 1.25rem;
  margin-left: auto;
  font-size: 0.85rem;
}

.site-footer__links a {
  color: var(--text-muted);
}

.site-footer__links a:hover {
  color: var(--text);
}

@media (max-width: 900px) {
  .site-footer__mega {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .site-footer {
    padding: 2.25rem var(--page-gutter) 1.5rem;
  }

  .site-footer__mega {
    grid-template-columns: 1fr;
    gap: 1.75rem;
    margin-bottom: 1.75rem;
  }
}

/* —— Header: collapse nav before labels collide with actions —— */
@media (max-width: 1200px) {
  .primary-nav {
    display: none;
  }

  .icon-btn.nav-toggle {
    display: inline-flex;
    flex-shrink: 0;
    margin-left: 0.35rem;
  }

  .site-header__right .locale-flag,
  .site-header__right > .icon-btn,
  .site-header__right .kids-link {
    display: none;
  }

  .site-header__left {
    min-width: 0;
    flex: 1 1 auto;
  }

  .site-header__right {
    gap: 0.55rem;
  }

  .lang-select {
    max-width: 5.75rem;
    font-size: 0.7rem;
    padding-inline: 0.3rem;
  }

  .mobile-nav-backdrop {
    display: block;
    position: fixed;
    inset: var(--header-h) 0 0;
    z-index: 98;
    background: rgba(0, 0, 0, 0.55);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s var(--ease);
  }

  .mobile-nav-backdrop:not([hidden]) {
    opacity: 1;
    pointer-events: auto;
  }

  .mobile-nav {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 99;
    max-height: min(70vh, calc(100dvh - var(--header-h)));
    overflow-y: auto;
    background: var(--header-bg-nav);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--hairline-soft);
    box-shadow: var(--shadow-soft);
    transform-origin: top center;
    transform: translateY(-0.5rem);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
  }

  .mobile-nav:not([hidden]) {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
}

/* —— Responsive —— */
@media (max-width: 960px) {
  .hero__content {
    max-width: 100%;
  }

  .browse {
    margin-top: 1rem;
  }

  .thumb {
    width: min(340px, 78vw);
  }

  .thumb__media,
  .skel__thumb {
    height: auto;
  }

  .skel__thumb {
    width: min(340px, 78vw);
  }

  .promo-feature__stage {
    min-height: 0;
  }

  .promo-feature__stage-inner {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    gap: 1.15rem;
    padding: 1.15rem var(--page-gutter);
  }

  .promo-feature__poster {
    grid-column: 1;
    grid-row: 1;
    max-width: min(520px, 100%);
    margin: 0 auto;
  }

  .promo-feature__copy {
    grid-column: 1;
    grid-row: 2;
    max-width: none;
    align-items: stretch;
    text-align: left;
  }

  .promo-feature__strip {
    grid-column: 1;
    grid-row: 3;
    justify-self: end;
    width: 100%;
  }

  .promo-feature__cta {
    align-self: flex-start;
  }
}

@media (max-width: 560px) {
  :root {
    --page-gutter: 0.75rem;
  }

  .site-header__inner {
    padding: 0 var(--page-gutter);
  }

  .hero {
    padding: calc(var(--header-h) + 0.35rem) var(--page-gutter) 0;
  }

  .home-live {
    padding: calc(var(--header-h) + 0.35rem) var(--page-gutter) 0;
  }

  .home-live .hero {
    padding: 0;
  }

  .hero__stage {
    border-radius: 12px;
  }

  .brand {
    width: 9.25rem;
    height: 2.15rem;
  }

  .brand.is-face-classic {
    width: 9.25rem;
  }

  .brand.is-face-full {
    width: 8.5rem;
  }

  .brand-station__menu {
    min-width: 12rem;
  }

  .brand__wordmark {
    font-size: 0.95rem;
  }

  .brand__mark {
    width: 28px;
    height: 28px;
  }

  .brand__station-logo {
    width: 36px;
    height: 36px;
  }

  .brand[data-station-key="rebroadcast"] .brand__station-logo {
    width: 48px;
    height: 48px;
  }

  .brand[data-station-key="rebroadcast"].is-station-logo {
    height: 2.75rem;
  }

  .browse-segment__label,
  .content-row__header {
    padding-left: var(--page-gutter);
    padding-right: var(--page-gutter);
  }

  .content-row__track {
    padding-left: 0;
    padding-right: 0;
  }

  .thumb {
    width: min(340px, 85vw);
  }

  .skel__thumb {
    width: min(340px, 85vw);
  }

  .site-footer__links {
    margin-left: 0;
    width: 100%;
  }
}

/* Header row no longer fits once the logo, language menu, and actions share a narrow screen. */
@media (max-width: 540px) {
  .site-header__inner {
    gap: 0.35rem;
  }

  .site-header__left {
    flex: 0 1 auto;
  }

  .brand-station,
  .brand-station:has(.brand.is-face-classic) {
    gap: 0.25rem;
  }

  .brand:not(.is-station-logo),
  .brand.is-face-classic:not(.is-station-logo),
  .brand.is-face-full:not(.is-station-logo) {
    width: max-content;
    max-width: 9.5rem;
    height: 2.15rem;
    flex-shrink: 0;
  }

  .brand:not(.is-station-logo) .brand__face--classic {
    position: relative;
    inset: auto;
  }

  .brand.is-face-full:not(.is-station-logo) .brand__face--full {
    opacity: 0;
  }

  .brand.is-face-full:not(.is-station-logo) .brand__face--classic {
    opacity: 1;
  }

  .brand:not(.is-station-logo) .brand__wordmark {
    font-size: 0.82rem;
    letter-spacing: 0.02em;
  }

  .brand.is-station-logo,
  .brand.is-station-logo.is-face-classic,
  .brand.is-station-logo.is-face-full {
    width: auto;
    max-width: 6.75rem;
    overflow: hidden;
  }

  .site-header__actions {
    gap: 0.15rem;
  }

  .site-header__actions .icon-btn {
    width: 34px;
    height: 34px;
  }

  .profile-btn {
    gap: 0.2rem;
  }

  .site-header__actions .profile-btn__avatar {
    width: 28px;
    height: 28px;
  }

  .icon-btn.nav-toggle {
    margin-left: 0.1rem;
  }
}

@media (max-width: 1200px) {
  .site-header__inner {
    gap: 0.35rem;
  }

  .site-header__right {
    flex: 0 0 auto;
    min-width: 0;
    margin-left: auto;
  }

  .site-header__actions {
    margin-left: 0;
  }

  .site-header__right .lang-select-wrap {
    flex: 0 1 auto;
    min-width: 0;
    max-width: 7rem;
  }

  .site-header__right .lang-select {
    width: 7rem;
    max-width: 100%;
  }

  .mobile-nav__tools {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.35rem 0 0;
  }

  .mobile-nav__tools .theme-toggle {
    align-self: flex-start;
    margin: 0.35rem var(--page-gutter) 0.15rem;
  }

  .mobile-nav__tools .profile-menu-wrap,
  .mobile-nav__tools .notif-wrap {
    display: block;
    width: 100%;
  }

  .mobile-nav__tools .profile-btn,
  .mobile-nav__tools .notif-bell {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.5rem;
    width: 100%;
    height: auto;
    padding: 0.85rem var(--page-gutter);
    border-radius: 0;
    color: var(--text-muted);
    font-size: 1rem;
    font-weight: 500;
  }

  .mobile-nav__tools .profile-btn__avatar,
  .mobile-nav__tools .profile-btn > svg,
  .mobile-nav__tools .notif-bell > svg {
    display: none;
  }

  .mobile-nav__tools .profile-btn__label,
  .mobile-nav__tools .notif-bell__label {
    display: inline;
  }

  .mobile-nav__tools .notif-bell__badge {
    position: static;
  }

  .mobile-nav__tools .profile-menu,
  .mobile-nav__tools .notif-panel {
    position: static;
    flex: 1 0 100%;
    width: 100%;
    max-height: none;
    margin-top: 0.35rem;
  }
}

/* —— Player overlay —— */
body.has-overlay,
body.has-collection-overlay {
  overflow: hidden;
}

body.has-collection-overlay .site-header {
  z-index: 190;
  background: var(--header-bg-scrolled);
  backdrop-filter: blur(12px);
}

.collection-overlay {
  position: fixed;
  top: var(--header-h, 68px);
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 180;
  display: grid;
}

.collection-overlay[hidden] {
  display: none;
}

.collection-overlay__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
}

.collection-overlay__panel {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  overflow: auto;
  background: #05070e;
  color: #fff;
}

.collection-overlay__back {
  position: absolute;
  top: 0.65rem;
  left: var(--page-gutter);
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 2.25rem;
  padding: 0.35rem 0.75rem 0.35rem 0.45rem;
  border: 0;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-family: var(--font);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  backdrop-filter: blur(8px);
}

.collection-overlay__back:hover {
  background: rgba(0, 0, 0, 0.72);
}

.collection-hero {
  position: relative;
  padding: 3.25rem var(--page-gutter) 1.75rem;
  overflow: hidden;
}

.collection-hero__bg {
  position: absolute;
  inset: 0;
  background-position: center top;
  background-size: cover;
  filter: blur(6px) saturate(1.1);
  transform: scale(1.06);
  opacity: 0.72;
  pointer-events: none;
}

.collection-hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 7, 14, 0.62) 0%, rgba(5, 7, 14, 0.28) 42%, rgba(5, 7, 14, 0.5) 100%),
    linear-gradient(180deg, rgba(5, 7, 14, 0.15) 0%, rgba(5, 7, 14, 0.35) 55%, rgba(5, 7, 14, 0.88) 100%);
}

.collection-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(10rem, 17rem) minmax(0, 1fr);
  gap: clamp(1.25rem, 3vw, 2.5rem);
  align-items: center;
  max-width: 72rem;
}

.collection-hero__poster-col {
  display: flex;
  flex-direction: column;
  gap: 50px;
  min-width: 0;
  margin-left: 70px;
}

.collection-hero__poster {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
  background: #111;
  aspect-ratio: 2 / 3;
}

.collection-hero__poster img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.collection-hero__copy {
  min-width: 0;
  padding-bottom: 0.15rem;
}

.collection-hero__title {
  margin: 0 0 0.85rem;
  font-family: "Space Grotesk", var(--font);
  font-size: clamp(1.85rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  white-space: nowrap;
}

.collection-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0 0 0.85rem;
}

.collection-hero__chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 1.7rem;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
}

.collection-hero__chip-icon {
  flex-shrink: 0;
  opacity: 0.9;
}

.collection-hero__chip-likes {
  font-size: 0.8rem;
  line-height: 1;
}

.collection-hero__chip-star {
  color: #f5c518;
  font-size: 0.85rem;
  line-height: 1;
}

.collection-hero__genres {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0 0 1rem;
}

.collection-hero__genre {
  display: inline-flex;
  align-items: center;
  min-height: 1.65rem;
  padding: 0.15rem 0.7rem;
  border-radius: 999px;
  background: #fff;
  color: #111;
  font-size: 0.75rem;
  font-weight: 700;
}

.collection-hero__synopsis-wrap {
  margin: 0;
  max-width: 38rem;
}

.collection-hero__synopsis-label {
  margin: 0 0 0.35rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

.collection-hero__synopsis {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.82);
}

.collection-hero__badge-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.collection-hero__type {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 1.7rem;
  padding: 0.2rem 0.75rem;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.collection-overlay__body {
  position: relative;
  z-index: 1;
  padding: 0 0 2.5rem;
}

.collection-list {
  margin-top: 0;
  max-width: none;
}

.collection-list__rule {
  position: relative;
  height: 1px;
  margin: 0 var(--page-gutter) 1.25rem;
  background: rgba(255, 255, 255, 0.12);
}

.collection-list__rule::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: min(7.5rem, 28%);
  height: 2px;
  margin-top: -0.5px;
  border-radius: 999px;
  background: var(--accent);
}

.collection-list__track {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 16rem), 1fr));
  gap: 1rem 0.85rem;
  padding: 0.15rem var(--page-gutter) 0.85rem;
}

.collection-list__track .thumb {
  width: 100%;
  scroll-snap-align: unset;
}

.collection-list__track .thumb__media {
  width: 100%;
  height: auto;
}

.thumb--caption-below .thumb__link {
  display: flex;
  flex-direction: column;
}

.thumb--caption-below .thumb__overlay {
  position: static;
  left: auto;
  right: auto;
  bottom: auto;
  z-index: auto;
  padding: 0.4rem 0.1rem 0;
  background: none;
  gap: 0.15rem;
  pointer-events: none;
}

.thumb--caption-below .thumb__name {
  font-size: 0.9rem;
  line-height: 1.3;
  -webkit-line-clamp: 2;
  text-shadow: none;
  color: var(--text);
}

.thumb--caption-below .thumb__meta {
  font-size: 0.8rem;
  text-shadow: none;
  color: var(--text-muted);
}

.thumb__rank,
.thumb__rating {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  min-height: 1.45rem;
  padding: 0.15rem 0.45rem;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.62);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  backdrop-filter: blur(6px);
}

.thumb__rank {
  top: 0.55rem;
  left: 0.55rem;
}

.thumb__rating {
  top: 0.55rem;
  right: 0.55rem;
}

.thumb__rating-star {
  color: #f5c518;
  font-size: 0.75rem;
  line-height: 1;
}

.thumb.is-selected .thumb__media {
  box-shadow: 0 0 0 2px var(--accent);
}

.thumb.is-selected::before {
  content: "";
  position: absolute;
  bottom: -0.45rem;
  left: 50%;
  transform: translateX(-50%);
  width: 2.25rem;
  height: 3px;
  border-radius: 999px;
  background: var(--accent);
  z-index: 2;
}

@media (max-width: 720px) {
  .collection-hero__inner {
    grid-template-columns: 1fr;
    justify-items: start;
    align-items: start;
  }

  .collection-hero__poster-col {
    width: min(14rem, 48vw);
    margin-left: 0;
  }

  .collection-hero__poster {
    width: 100%;
  }

  .collection-hero__title {
    white-space: normal;
  }

  .collection-overlay__back {
    top: 0.4rem;
  }
}

.player-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 1.5rem;
}

.player-overlay[hidden] {
  display: none;
}

.player-overlay__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.82);
}

.player-overlay__panel {
  position: relative;
  z-index: 1;
  width: min(960px, 100%);
  max-height: min(90vh, 900px);
  overflow: auto;
  background: #141414;
  border-radius: 12px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.55);
}

.player-overlay__close {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  z-index: 2;
  font-size: 1.5rem;
  line-height: 1;
  background: rgba(0, 0, 0, 0.55);
}

.player-overlay__video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}

.player-overlay__engage {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.75rem 0 0;
  padding: 0 0.85rem;
}

.player-overlay__engage[hidden] {
  display: none;
}

.player-overlay__engage-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.player-overlay__engage-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.28);
}

.player-overlay__engage-btn.is-active {
  background: rgba(229, 9, 20, 0.22);
  border-color: rgba(229, 9, 20, 0.55);
  color: #fff;
}

.player-overlay__engage-btn:disabled {
  opacity: 0.55;
  cursor: wait;
}

.player-overlay__engage-btn svg {
  flex: 0 0 auto;
}

.player-overlay .player-actions {
  margin: 0.65rem 0 0;
  padding: 0 0.85rem;
}

.player-overlay__meta {
  padding: 1rem 1.25rem 1.35rem;
}

.player-overlay__title {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 700;
}

.player-overlay__related {
  margin-top: 1rem;
}

.player-overlay__related h3 {
  margin: 0 0 0.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
}

.player-overlay__related-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.45rem;
}

.player-overlay__related-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  text-align: left;
  padding: 0.4rem 0.5rem;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  font-size: 0.9rem;
}

.player-overlay__related-item:hover {
  background: rgba(255, 255, 255, 0.12);
}

.player-overlay__related-thumb {
  flex: 0 0 auto;
  width: 64px;
  height: 64px;
  border-radius: 4px;
  object-fit: cover;
  background: rgba(255, 255, 255, 0.08);
}

.player-overlay__related-thumb--empty {
  display: block;
}

.player-overlay__related-label {
  flex: 1 1 auto;
  min-width: 0;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* —— Skeletons —— */
@keyframes skel-shine {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}

.page-skeleton {
  padding: 1rem 0 2rem;
}

body:not(.is-loading) .page-skeleton {
  display: none;
}

.skel {
  padding: 0.75rem 0 1.25rem;
}

.skel--hero {
  position: relative;
  margin: 0 var(--page-gutter);
}

.skel__block--hero {
  height: min(72vh, 720px);
  min-height: 440px;
  border-radius: 16px;
  background: linear-gradient(110deg, var(--skel-base) 20%, var(--skel-mid) 40%, var(--skel-base) 60%);
  background-size: 200% 100%;
  animation: skel-shine 1.2s linear infinite;
}

.skel__stack {
  position: absolute;
  left: 0;
  bottom: 2rem;
  width: min(420px, 70%);
  display: grid;
  gap: 0.65rem;
}

.skel__line {
  height: 14px;
  border-radius: 4px;
  background: linear-gradient(110deg, var(--skel-line) 20%, var(--skel-line-mid) 40%, var(--skel-line) 60%);
  background-size: 200% 100%;
  animation: skel-shine 1.2s linear infinite;
}

.skel__line--lg { width: 70%; height: 28px; }
.skel__line--md { width: 88%; }
.skel__line--sm { width: 55%; }
.skel__line--title {
  width: 220px;
  height: 16px;
  margin: 0 0 0.75rem;
  margin-left: var(--page-gutter);
}

.skel__btns {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.35rem;
}

.skel__pill {
  width: 96px;
  height: 40px;
  border-radius: 999px;
  background: var(--skel-pill);
}

.skel__thumbs {
  display: flex;
  gap: 0.55rem;
  padding-left: var(--page-gutter);
  overflow: hidden;
}

.skel__thumb {
  flex: 0 0 auto;
  width: 340px;
  height: 240px;
  aspect-ratio: 340 / 240;
  border-radius: 16px;
  background: linear-gradient(110deg, var(--skel-thumb) 20%, var(--skel-thumb-mid) 40%, var(--skel-thumb) 60%);
  background-size: 200% 100%;
  animation: skel-shine 1.2s linear infinite;
}

.skel__error {
  margin: 2rem var(--page-gutter);
  color: var(--text-muted);
}

.skel__error button {
  margin-left: 0.5rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: var(--skel-pill);
  color: var(--text);
  cursor: pointer;
}

.content-row__track-wrap {
  overflow: visible;
}

body.is-loading .hero__info,
body.is-loading .hero__content,
body.is-loading .hero__love {
  opacity: 0.35;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* —— Watch page —— */
.watch-page {
  padding-top: calc(var(--header-h) + 1rem);
}

.watch-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  gap: 1.25rem;
  padding: 0 var(--page-gutter) 1.5rem;
  align-items: stretch;
  min-height: min(70vh, 640px);
}

.watch-player-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  min-width: 0;
}

.watch-page__title {
  margin: 0.15rem 0 0;
  font-size: clamp(1.1rem, 2.2vw, 1.45rem);
  font-weight: 700;
  line-height: 1.3;
  color: var(--text);
}

/* VOD watch has no comments rail */
body[data-watch-mode="vod"] .watch-main {
  grid-template-columns: minmax(0, 1fr);
}

.watch-player {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: #0a0a0a;
  min-height: 360px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.watch-player__poster {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-color: #0a0a0a;
  background-size: min(48vmin, 360px);
  background-position: center;
  background-repeat: no-repeat;
  pointer-events: none;
  transform-origin: center center;
}

.watch-player.is-loading .watch-player__poster {
  animation: poster-logo-pulse 1.4s ease-in-out infinite;
  z-index: 2;
}

.watch-player__video {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: contain;
  background: transparent;
  opacity: 1;
  transition: opacity 0.35s ease;
}

.watch-player.is-loading .watch-player__video {
  opacity: 0;
}

.watch-player.is-unavailable .watch-player__poster {
  z-index: 2;
  opacity: 0.55;
  animation: none;
}

.watch-player.is-unavailable::after {
  content: "Video unavailable";
  position: absolute;
  inset: 0;
  z-index: 3;
  display: grid;
  place-items: center;
  padding: 1rem;
  text-align: center;
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
  background: rgba(0, 0, 0, 0.45);
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .watch-player.is-loading .watch-player__poster {
    animation: none;
    transform: none;
  }
}

.watch-comments {
  display: flex;
  flex-direction: column;
  min-height: 0;
  height: auto;
  max-height: none;
  border: 1px solid var(--comments-border);
  border-radius: 14px;
  background: var(--comments-bg);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: var(--comments-text);
}

/* Match home: size rail from the player column; scroll inside */
.watch-main > .watch-comments {
  align-self: stretch;
  height: 0;
  min-height: 100%;
  max-height: none;
  overflow: hidden;
}

.watch-comments__head {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--comments-divider);
  flex-shrink: 0;
}

.watch-comments__head-text {
  min-width: 0;
  flex: 1 1 auto;
}

.watch-comments__heading {
  margin: 0;
  font-family: "Space Grotesk", var(--font);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--comments-text);
}

.watch-comments__sub {
  margin: 0.1rem 0 0;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--comments-muted);
}

.watch-comments__live-dot {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(229, 9, 20, 0.55);
  animation: live-pulse 1.6s ease-out infinite;
  flex-shrink: 0;
}

.watch-comments__close {
  display: none;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  background: var(--comments-item-bg);
  border: 1px solid var(--comments-border);
  color: var(--comments-text);
}

.watch-comments__list {
  flex: 1 1 0%;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 0.75rem 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  -webkit-overflow-scrolling: touch;
}

.watch-comments__empty,
.watch-featured__loading {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.watch-comment {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.55rem 0.65rem;
  border-radius: 12px;
  background: var(--comments-item-bg);
}

.watch-comment__avatar {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 50%;
  background: var(--brand-blue);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.watch-comment__body {
  min-width: 0;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.watch-comment__name {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--brand-blue);
}

.watch-comment__text {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.4;
  color: var(--comments-text);
  word-break: break-word;
}

.watch-comments__form {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
  padding: 0.75rem;
  border-top: 1px solid var(--comments-divider);
  padding-bottom: max(0.75rem, env(safe-area-inset-bottom, 0px));
}

.watch-comments__input {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 44px;
  padding: 0.65rem 1rem;
  border: 1px solid var(--comments-input-border);
  border-radius: 999px;
  background: var(--comments-input-bg);
  color: var(--comments-text);
  font: inherit;
  font-size: 0.9rem;
}

.watch-comments__input::placeholder {
  color: var(--comments-muted);
}

.watch-comments__input:focus {
  outline: 2px solid var(--brand-blue);
  outline-offset: 1px;
}

.watch-comments__send {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: var(--brand-blue);
  color: #fff;
  cursor: pointer;
  transition: filter 0.2s ease, transform 0.2s var(--ease);
}

.watch-comments__send:hover {
  filter: brightness(1.08);
}

.watch-comments__send:active {
  transform: scale(0.96);
}

.watch-comments__send:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.watch-featured {
  margin-top: 0.5rem;
  padding-bottom: 3rem;
}

@media (max-width: 960px) {
  /* Video surface only — chrome sits below */
  .hero__stage {
    aspect-ratio: auto;
    height: auto;
    max-height: none;
    overflow: visible;
    background: transparent;
    display: flex;
    flex-direction: column;
    border-radius: 12px;
  }

  .hero__surface {
    position: relative;
    inset: auto;
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    border-radius: 12px;
    overflow: hidden;
    background: #0a0a0a;
  }

  .hero__media {
    background-size: min(48vmin, 360px);
  }

  .hero__video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
    object-fit: contain;
  }

  .hero__scrim,
  .hero__vignette {
    display: none;
  }

  .hero__mute {
    display: none;
  }

  .hero__info {
    padding-top: 0.35rem;
  }

  .hero__content {
    width: 100%;
    max-width: none;
  }

  .home-live .hero > .player-actions {
    padding-left: 0;
    padding-right: 0;
  }

  .watch-main {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .watch-player {
    min-height: 0;
    aspect-ratio: 16 / 9;
    height: auto;
    background: #0a0a0a;
  }

  .watch-player__video {
    position: absolute;
    inset: 0;
    min-height: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  .watch-comments,
  .watch-main > .watch-comments {
    height: min(60vh, 420px);
    min-height: 0;
    max-height: min(60vh, 420px);
  }

  .hero--with-comments .watch-comments--sheet {
    /* Height set in hero mobile sheet rules; keep translucent look */
    border-radius: 16px;
    background:
      linear-gradient(180deg, rgba(22, 22, 28, 0.62), rgba(10, 10, 14, 0.72));
    box-shadow: 0 10px 32px rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
  }

  .hero--with-comments .watch-comments__close {
    display: inline-flex;
  }
}

@media (max-width: 720px) {
  .hero--with-comments .watch-comments--sheet,
  .hero.has-comments-open .watch-comments--sheet {
    position: absolute;
    top: 0;
    right: 0;
    bottom: auto;
    left: 0;
    z-index: 6;
    width: 100%;
    height: min(70dvh, 32rem);
    aspect-ratio: auto;
    max-height: calc(100dvh - var(--header-h) - 4.5rem);
    min-height: 0;
    margin: 0;
    border-radius: 12px;
    transform: none;
  }

  body:has(.hero.has-comments-open) .assistant-nudge {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }
}

/* —— Engagement action pills (freestanding) —— */
.player-actions {
  position: relative;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.player-actions__track {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.15rem 0;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  mask-image: linear-gradient(90deg, #000 0%, #000 calc(100% - 1.5rem), transparent 100%);
}

.player-actions__track::-webkit-scrollbar {
  display: none;
}

.player-actions__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-height: 36px;
  padding: 0.45rem 1.05rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--font);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: #fff;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.2s var(--ease), filter 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}

button.player-actions__btn {
  appearance: none;
  -webkit-appearance: none;
}

.player-actions__btn:hover {
  transform: scale(1.03);
  filter: brightness(1.08);
}

.player-actions__btn:active {
  transform: scale(0.98);
}

.player-actions__btn--give {
  background: linear-gradient(145deg, var(--brand-blue), #0066cc);
  border-color: rgba(0, 153, 255, 0.35);
}

.player-actions__btn--live {
  background: linear-gradient(145deg, #e50914, #b20710);
  border-color: rgba(229, 9, 20, 0.45);
}

.player-actions__btn--subscribe {
  background: linear-gradient(145deg, #5b8def, #3b6fd4);
  border-color: rgba(91, 141, 239, 0.35);
}

.player-actions__btn--subscribe.is-subscribed {
  gap: 0.4rem;
  background: linear-gradient(145deg, #f5d000, #e6b800);
  border-color: rgba(230, 184, 0, 0.55);
  color: #1a1400;
  cursor: default;
}

.player-actions__btn--subscribe.is-subscribed:hover {
  transform: none;
  filter: none;
}

.player-actions__bell {
  flex: 0 0 auto;
  display: block;
}

.player-actions__btn--download {
  background: linear-gradient(145deg, #3d8fd1, #2563a8);
  border-color: rgba(61, 143, 209, 0.35);
}

.player-actions__btn--salvation {
  background: linear-gradient(145deg, #d97757, #b85a3c);
  border-color: rgba(217, 119, 87, 0.35);
}

.player-actions__btn--pledge {
  background: linear-gradient(145deg, #2a9d8f, #1f7a70);
  border-color: rgba(42, 157, 143, 0.35);
}

.player-actions__btn--feedback {
  background: linear-gradient(145deg, #1f9b8a, #177a6d);
  border-color: rgba(31, 155, 138, 0.35);
}

@media (min-width: 900px) {
  .player-actions__track {
    flex-wrap: wrap;
    overflow: visible;
    mask-image: none;
    justify-content: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .player-actions__btn,
  .player-actions__btn:hover,
  .player-actions__btn:active {
    transition: none;
    transform: none;
  }
}

/* —— Subscribe modal (light) —— */
.subscribe-modal {
  position: fixed;
  inset: 0;
  z-index: 220;
  display: grid;
  place-items: center;
  padding: 1.25rem;
}

.subscribe-modal[hidden] {
  display: none;
}

.subscribe-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

.subscribe-modal__panel {
  position: relative;
  z-index: 1;
  width: min(400px, 100%);
  padding: 1.5rem 1.35rem 1.35rem;
  border-radius: 14px;
  background: #ffffff;
  color: #111827;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.35);
}

.subscribe-modal__close {
  position: absolute;
  top: 0.55rem;
  right: 0.55rem;
  font-size: 1.35rem;
  line-height: 1;
  color: #111827;
  background: rgba(15, 23, 42, 0.06);
}

.subscribe-modal__close:hover {
  background: rgba(15, 23, 42, 0.1);
}

.subscribe-modal__title {
  margin: 0 1.5rem 0.35rem 0;
  font-size: 1.25rem;
  font-weight: 700;
  color: #0f172a;
}

.subscribe-modal__lead {
  margin: 0 0 1.1rem;
  font-size: 0.9rem;
  color: #64748b;
}

.subscribe-modal__form {
  display: grid;
  gap: 0.45rem;
}

.subscribe-modal__label {
  font-size: 0.75rem;
  font-weight: 600;
  color: #475569;
  letter-spacing: 0.02em;
}

.subscribe-modal__input {
  width: 100%;
  min-height: 42px;
  margin-bottom: 0.45rem;
  padding: 0.55rem 0.75rem;
  border-radius: 8px;
  border: 1px solid #d1d5db;
  background: #f8fafc;
  color: #0f172a;
  font-family: var(--font);
  font-size: 0.95rem;
}

.subscribe-modal__input::placeholder {
  color: #94a3b8;
}

.subscribe-modal__input:focus {
  outline: 2px solid var(--brand-blue);
  outline-offset: 1px;
  border-color: transparent;
  background: #fff;
}

.subscribe-modal__status {
  margin: 0.15rem 0 0.35rem;
  font-size: 0.85rem;
  color: #64748b;
}

.subscribe-modal__status.is-success {
  color: #047857;
}

.subscribe-modal__status.is-error {
  color: #b91c1c;
}

.subscribe-modal__submit {
  margin-top: 0.35rem;
  width: 100%;
  background: var(--brand-blue);
  color: #fff;
}

.subscribe-modal__submit:hover {
  filter: brightness(1.06);
}

body.has-subscribe-modal,
body.has-download-rhapsody {
  overflow: hidden;
}

.download-rhapsody__panel {
  width: min(420px, 100%);
}

.download-rhapsody__list {
  display: grid;
  gap: 0.45rem;
  max-height: min(52vh, 24rem);
  overflow: auto;
}

.download-rhapsody__option {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.12rem;
  width: 100%;
  padding: 0.7rem 0.85rem;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  color: #0f172a;
  text-align: left;
  font: inherit;
  cursor: pointer;
}

.download-rhapsody__option:hover,
.download-rhapsody__option:focus-visible {
  border-color: var(--brand-blue);
  outline: none;
}

.download-rhapsody__option-title {
  font-weight: 700;
  font-size: 0.95rem;
}

.download-rhapsody__option-meta {
  font-size: 0.8rem;
  color: #64748b;
}

body.has-auth-modal {
  overflow: hidden;
}

.auth-modal__tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.35rem;
  margin: 0 0 1rem;
  padding: 0.25rem;
  border-radius: 10px;
  background: #f1f5f9;
}

.auth-modal__tab {
  min-height: 2.15rem;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #64748b;
  font-family: var(--font);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
}

.auth-modal__tab.is-active {
  background: #fff;
  color: #0f172a;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08);
}

.auth-modal__panel {
  width: min(420px, 100%);
}

.auth-modal [data-auth-panel-signin][hidden],
.auth-modal [data-auth-panel-signup][hidden],
.auth-modal [data-auth-signin-form][hidden],
.auth-modal [data-auth-signup-form][hidden],
.auth-modal [data-auth-kingschat-wrap][hidden] {
  display: none !important;
}

.auth-modal__social {
  margin: 0 0 1rem;
}

.auth-modal__kingschat {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  width: 100%;
  min-height: 2.75rem;
  padding: 0.65rem 1rem;
  border: 1px solid #cfe4f7;
  border-radius: 10px;
  background: #fff;
  color: #0f172a;
  font-family: var(--font);
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.auth-modal__kingschat:hover:not(:disabled) {
  background: #f5faff;
  border-color: #2b90e3;
}

.auth-modal__kingschat:disabled {
  opacity: 0.65;
  cursor: wait;
}

.auth-modal__kingschat-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.auth-modal__kingschat-status {
  margin: 0.55rem 0 0;
  font-size: 0.82rem;
  line-height: 1.35;
  color: #64748b;
}

.auth-modal__kingschat-status.is-error {
  color: #b91c1c;
}

.auth-modal__divider {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 0.65rem;
  margin: 0.9rem 0 0;
  color: #94a3b8;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.auth-modal__divider::before,
.auth-modal__divider::after {
  content: "";
  height: 1px;
  background: #e2e8f0;
}

.auth-modal__divider span {
  line-height: 1;
}

/* —— Salvation modals —— */
.salvation-modal__panel {
  width: min(520px, 100%);
  max-height: min(94vh, 780px);
  overflow-y: auto;
  padding: 1.75rem 1.55rem 1.55rem;
}

.salvation-modal__prayer {
  margin: 0 0 1.25rem;
  padding: 1rem 1.05rem;
  border-radius: 10px;
  background: #f1f5f9;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: #334155;
}

.testimony-modal__panel {
  width: min(480px, 100%);
}

.subscribe-modal__textarea {
  min-height: 120px;
  resize: vertical;
  margin-bottom: 0.45rem;
  line-height: 1.45;
}

.salvation-success-modal__panel {
  position: relative;
  width: min(420px, 100%);
  overflow: hidden;
  text-align: center;
  padding: 2.15rem 1.75rem 1.65rem;
  background:
    radial-gradient(ellipse 90% 55% at 50% -10%, rgba(34, 197, 94, 0.16) 0%, transparent 70%),
    linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid rgba(21, 128, 61, 0.12);
  box-shadow:
    0 24px 64px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(255, 255, 255, 0.6) inset;
}

.salvation-success-modal__panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #22c55e, #15803d 55%, var(--brand-blue));
}

.salvation-success-modal__mark {
  display: grid;
  place-items: center;
  margin: 0.15rem auto 1rem;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(34, 197, 94, 0.1);
  box-shadow: 0 10px 28px rgba(21, 128, 61, 0.18);
}

.salvation-success-modal__mark svg {
  display: block;
}

.salvation-success-modal__eyebrow {
  margin: 0 0 0.35rem;
  font-size: 0.7rem;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #64748b;
}

.salvation-success-modal__title {
  margin: 0 0 0.85rem;
  font-family: "Space Grotesk", var(--font);
  font-size: clamp(1.55rem, 3.5vw, 1.85rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: #0f172a;
}

.salvation-success-modal__message {
  margin: 0 auto 1.35rem;
  max-width: 28rem;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #475569;
}

.salvation-success-modal__done {
  width: 100%;
  min-height: 44px;
  background: linear-gradient(145deg, #22c55e, #15803d);
  color: #fff;
  border: 0;
}

.salvation-success-modal__done:hover {
  filter: brightness(1.06);
}

@media (prefers-reduced-motion: no-preference) {
  .salvation-success-modal:not([hidden]) .salvation-success-modal__panel {
    animation: salvation-success-in 0.38s var(--ease) both;
  }

  .salvation-success-modal:not([hidden]) .salvation-success-modal__mark {
    animation: salvation-success-mark 0.5s var(--ease) 0.08s both;
  }
}

@keyframes salvation-success-in {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes salvation-success-mark {
  from {
    opacity: 0;
    transform: scale(0.7);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.salvation-error-modal__panel {
  position: relative;
  width: min(420px, 100%);
  overflow: hidden;
  text-align: center;
  padding: 2.15rem 1.75rem 1.65rem;
  background:
    radial-gradient(ellipse 90% 55% at 50% -10%, rgba(239, 68, 68, 0.14) 0%, transparent 70%),
    linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid rgba(185, 28, 28, 0.12);
  box-shadow:
    0 24px 64px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(255, 255, 255, 0.6) inset;
}

.salvation-error-modal__panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #ef4444, #b91c1c 55%, var(--brand-blue));
}

.salvation-error-modal__mark {
  display: grid;
  place-items: center;
  margin: 0.15rem auto 1rem;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(239, 68, 68, 0.1);
  box-shadow: 0 10px 28px rgba(185, 28, 28, 0.18);
}

.salvation-error-modal__mark svg {
  display: block;
}

.salvation-error-modal__title {
  margin: 0 0 0.85rem;
  font-family: "Space Grotesk", var(--font);
  font-size: clamp(1.55rem, 3.5vw, 1.85rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: #0f172a;
}

.salvation-error-modal__message {
  margin: 0 auto 1.35rem;
  max-width: 28rem;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #475569;
}

.salvation-error-modal__done {
  width: 100%;
  min-height: 44px;
  background: linear-gradient(145deg, #ef4444, #b91c1c);
  color: #fff;
  border: 0;
}

.salvation-error-modal__done:hover {
  filter: brightness(1.06);
}

@media (prefers-reduced-motion: no-preference) {
  .salvation-error-modal:not([hidden]) .salvation-error-modal__panel {
    animation: salvation-success-in 0.38s var(--ease) both;
  }

  .salvation-error-modal:not([hidden]) .salvation-error-modal__mark {
    animation: salvation-success-mark 0.5s var(--ease) 0.08s both;
  }
}

body.has-salvation-modal,
body.has-testimony-modal,
body.has-success-modal,
body.has-error-modal,
body.has-share-modal {
  overflow: hidden;
}

.share-modal__panel {
  max-width: 28rem;
}

.share-modal__eyebrow {
  margin: 0 0 0.35rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.share-modal__row {
  display: flex;
  gap: 0.5rem;
  align-items: stretch;
}

.share-modal__input {
  flex: 1 1 auto;
  min-width: 0;
}

.share-modal__copy {
  flex: 0 0 auto;
  white-space: nowrap;
  padding-inline: 1rem;
}

.share-modal__status {
  margin: 0.65rem 0 0;
  font-size: 0.875rem;
  color: #4ade80;
}

.share-modal__status[hidden] {
  display: none;
}

/* —— Download Rhapsody TV app —— */
.app-download {
  position: relative;
  margin: 1.25rem var(--page-gutter) 0;
  padding: clamp(2rem, 4vw, 3.25rem) clamp(1.25rem, 3vw, 2.5rem);
  overflow: hidden;
  border-radius: 16px;
  background:
    radial-gradient(ellipse 55% 70% at 88% 40%, rgba(0, 153, 255, 0.22) 0%, transparent 68%),
    radial-gradient(ellipse 40% 50% at 12% 80%, rgba(0, 90, 180, 0.16) 0%, transparent 70%),
    linear-gradient(145deg, #0a1220 0%, #05080f 48%, #000 100%);
  border: 1px solid rgba(0, 153, 255, 0.14);
  scroll-margin-top: calc(var(--header-h) + 1rem);
}

.app-download__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

.app-download__copy {
  position: relative;
  z-index: 1;
  max-width: 34rem;
}

.app-download__brand {
  display: block;
  width: auto;
  height: clamp(2.25rem, 4vw, 2.85rem);
  margin: 0 0 1rem;
  object-fit: contain;
  object-position: left center;
}

.app-download__title {
  margin: 0 0 0.65rem;
  font-family: "Space Grotesk", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: clamp(1.65rem, 3.2vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: #fff;
}

.app-download__lead {
  margin: 0 0 1.35rem;
  font-size: clamp(0.95rem, 1.5vw, 1.05rem);
  line-height: 1.5;
  color: var(--text-muted);
}

.app-download__stores {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.app-download__store {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 44px;
  padding: 0.45rem 0.95rem 0.45rem 0.7rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  text-decoration: none;
  transition: transform 0.2s var(--ease), border-color 0.2s ease, background 0.2s ease;
}

.app-download__store:hover {
  transform: translateY(-1px);
  border-color: rgba(0, 153, 255, 0.45);
  background: rgba(0, 153, 255, 0.12);
}

.app-download__store-icon {
  flex: 0 0 auto;
  display: block;
  width: 20px;
  height: 20px;
}

.app-download__store-icon--img {
  object-fit: contain;
  border-radius: 4px;
}

.app-download__store-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.app-download__store-label {
  font-size: 0.8125rem;
  font-weight: 650;
  letter-spacing: 0.01em;
}

.app-download__qr {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-top: 1.35rem;
}

.app-download__qr-link {
  display: block;
  flex: 0 0 auto;
  padding: 0.4rem;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  transition: transform 0.2s var(--ease);
}

.app-download__qr-link:hover {
  transform: scale(1.03);
}

.app-download__qr-img {
  display: block;
  width: 96px;
  height: 96px;
  image-rendering: pixelated;
}

.app-download__qr-caption {
  margin: 0;
  max-width: 8.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--text-muted);
}

.app-download__phones {
  position: relative;
  justify-self: center;
  width: min(100%, 340px);
  height: clamp(260px, 38vw, 380px);
  perspective: 800px;
}

.app-download__phone {
  position: absolute;
  width: min(48%, 168px);
  height: auto;
  border-radius: 22px;
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(255, 255, 255, 0.08);
  object-fit: cover;
  background: #111;
}

.app-download__phone--back {
  left: 6%;
  top: 8%;
  --phone-rot: -8deg;
  transform: rotate(var(--phone-rot)) translateZ(0);
  z-index: 1;
}

.app-download__phone--front {
  right: 4%;
  top: 0;
  --phone-rot: 6deg;
  transform: rotate(var(--phone-rot)) translateZ(0);
  z-index: 2;
}

@media (prefers-reduced-motion: no-preference) {
  .app-download__phone--back {
    animation: app-phone-float 5.5s ease-in-out infinite alternate;
  }

  .app-download__phone--front {
    animation: app-phone-float 6.2s ease-in-out 0.4s infinite alternate-reverse;
  }
}

@keyframes app-phone-float {
  from {
    transform: rotate(var(--phone-rot, 6deg)) translateY(0);
  }
  to {
    transform: rotate(var(--phone-rot, 6deg)) translateY(-10px);
  }
}

@media (max-width: 840px) {
  .app-download {
    margin-top: 1rem;
    padding: 1.75rem 1.15rem 2rem;
  }

  .app-download__inner {
    grid-template-columns: 1fr;
    gap: 1.75rem;
    text-align: center;
  }

  .app-download__copy {
    max-width: none;
  }

  .app-download__brand {
    margin-left: auto;
    margin-right: auto;
    object-position: center;
  }

  .app-download__stores {
    justify-content: center;
  }

  .app-download__qr {
    justify-content: center;
    text-align: left;
  }

  .app-download__phones {
    height: 300px;
    width: min(100%, 300px);
  }

  .app-download__phone {
    width: min(46%, 148px);
  }
}

@media (max-width: 480px) {
  .app-download__stores {
    flex-direction: column;
    align-items: stretch;
  }

  .app-download__store {
    width: 100%;
  }

  .app-download__phones {
    height: 260px;
  }
}

/* —— Contact / Profile pages —— */
.contact-page,
.profile-page {
  padding: calc(var(--header-h, 68px) + 1.5rem) 0 0;
  min-height: 70vh;
}

.contact-page__shell {
  max-width: none;
  margin: 0;
  padding: 0 var(--page-gutter) 2.5rem;
}

.profile-page__shell {
  max-width: none;
  margin: 0;
  padding: 0 0 2.5rem;
}

body[data-page="vod"] .page {
  padding-top: calc(var(--header-h) + 0.5rem);
}

body[data-page="vod"] .browse {
  margin-top: 1.5rem;
  padding-bottom: 4rem;
}

.vod-page__header {
  margin: 0;
  padding: 0.35rem var(--page-gutter) 0;
}

.vod-page__title {
  margin: 0 0 0.35rem;
  font-family: "Space Grotesk", var(--font);
  font-size: clamp(1.85rem, 3.2vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.vod-page__lead {
  margin: 0;
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.5;
}

.vod-page__empty {
  margin: 1rem var(--page-gutter);
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* —— News page (editorial; follows site theme) —— */
body[data-page="news"] {
  background: var(--news-bg);
  color: var(--news-text);
}

body[data-page="news"] .site-header.is-scrolled,
body[data-page="news"] .site-header {
  background: var(--header-bg-scrolled);
  backdrop-filter: blur(12px);
}

body[data-page="news"] .page {
  padding-top: calc(var(--header-h) + 0.5rem);
  padding-bottom: 3.5rem;
  background: var(--news-bg);
}

.news-page {
  padding-left: var(--page-gutter);
  padding-right: var(--page-gutter);
}

.news-page__header {
  margin: 0 0 1.75rem;
  padding-bottom: 1.15rem;
  border-bottom: 1px solid var(--news-rule);
}

.news-page__title {
  margin: 0 0 0.35rem;
  font-family: "Space Grotesk", var(--font);
  font-size: clamp(1.9rem, 3.2vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--news-text);
}

.news-page__lead {
  margin: 0;
  color: var(--news-muted);
  font-size: 1.05rem;
  line-height: 1.5;
}

.news-page__empty {
  margin: 1.5rem 0;
  color: var(--news-muted);
  font-size: 1.05rem;
}

.news-kicker {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--news-kicker);
}

.news-meta-sep {
  opacity: 0.45;
}

.news-featured {
  margin: 0 0 2.5rem;
}

.news-featured__link {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 1.5rem 2rem;
  align-items: center;
  color: inherit;
  text-decoration: none;
}

.news-featured__media {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--news-media-bg);
  aspect-ratio: 16 / 9;
}

.news-featured__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s var(--ease);
}

.news-featured__link:hover .news-featured__img,
.news-featured__link:focus-visible .news-featured__img {
  transform: scale(1.03);
}

.news-featured__body {
  min-width: 0;
}

.news-featured__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.45rem;
  margin: 0 0 0.65rem;
  font-size: 0.82rem;
  color: var(--news-muted);
}

.news-featured__headline {
  margin: 0 0 0.75rem;
  font-family: "Space Grotesk", var(--font);
  font-size: clamp(1.45rem, 2.6vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--news-text);
}

.news-featured__link:hover .news-featured__headline,
.news-featured__link:focus-visible .news-featured__headline {
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.news-featured__excerpt {
  margin: 0 0 1rem;
  font-size: 1rem;
  line-height: 1.55;
  color: var(--news-muted);
}

.news-featured__cta {
  display: inline-block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--news-kicker);
}

.news-grid-section__title {
  margin: 0 0 1.15rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid var(--news-rule);
  font-family: "Space Grotesk", var(--font);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--news-text);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.75rem 1.35rem;
}

.news-card__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.news-card__media {
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--news-media-bg);
  aspect-ratio: 16 / 9;
}

.news-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s var(--ease);
}

.news-card__link:hover .news-card__img,
.news-card__link:focus-visible .news-card__img {
  transform: scale(1.04);
}

.news-card__body {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding-top: 0.75rem;
  min-width: 0;
}

.news-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.3rem 0.4rem;
  margin: 0;
  font-size: 0.75rem;
  color: var(--news-muted);
}

.news-card__headline {
  margin: 0;
  font-family: "Space Grotesk", var(--font);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.3;
  color: var(--news-text);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

.news-card__link:hover .news-card__headline,
.news-card__link:focus-visible .news-card__headline {
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.news-card__excerpt {
  margin: 0.15rem 0 0;
  font-size: 0.88rem;
  line-height: 1.45;
  color: var(--news-muted);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

@media (max-width: 960px) {
  .news-featured__link {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .news-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .news-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

.profile-page {
  padding-left: var(--page-gutter);
  padding-right: var(--page-gutter);
  padding-bottom: 2.5rem;
}

.profile-page__main {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  gap: 1.75rem 60px;
  align-items: start;
  width: 100%;
}

.profile-page__col {
  min-width: 0;
}

.profile-page__actions {
  margin: 0.85rem 0 1.15rem;
  width: 100%;
}

.profile-page__actions .player-actions {
  margin: 0;
  padding: 0;
}

.profile-page__actions .player-actions__track {
  justify-content: flex-start;
}

.profile-page__testimony {
  min-width: 0;
}

.profile-page__testimony-title {
  margin: 0 0 0.4rem;
  font-family: "Space Grotesk", var(--font);
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.profile-page__testimony-lead {
  margin: 0 0 1rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  line-height: 1.5;
}

.profile-page__testimony-form {
  display: grid;
  gap: 0.35rem;
}

.profile-page__testimony-label {
  margin-top: 0.45rem;
  font-size: 0.8rem;
  font-weight: 650;
  color: rgba(255, 255, 255, 0.72);
}

.profile-page__testimony-input {
  width: 100%;
  min-height: 2.6rem;
  padding: 0.55rem 0.75rem;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 8px;
  background: #fff;
  color: #0f172a;
  font-family: var(--font);
  font-size: 0.95rem;
}

.profile-page__testimony-input::placeholder {
  color: rgba(15, 23, 42, 0.45);
}

.profile-page__testimony-input:focus {
  outline: 2px solid rgba(245, 197, 24, 0.65);
  outline-offset: 1px;
}

.profile-page__testimony-textarea {
  min-height: 8rem;
  resize: vertical;
}

.profile-page__testimony-status {
  margin: 0.35rem 0 0;
  font-size: 0.85rem;
}

.profile-page__testimony-status.is-success {
  color: #86efac;
}

.profile-page__testimony-status.is-error {
  color: #fca5a5;
}

.profile-page__testimony-submit {
  margin-top: 0.65rem;
  width: 100%;
  background: #f5c518;
  color: #111;
  border: 0;
}

.profile-page__testimony-submit:hover {
  background: #ffd84a;
  filter: none;
}

@media (max-width: 800px) {
  .profile-page__main {
    grid-template-columns: 1fr;
  }
}

.contact-page__header,
.profile-page__header {
  margin-bottom: 1.25rem;
}

.contact-page__title,
.profile-page__title {
  margin: 0 0 0.4rem;
  font-family: "Space Grotesk", var(--font);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.contact-page__lead,
.profile-page__lead {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  line-height: 1.5;
}

.contact-form-section {
  margin-bottom: 0;
  max-width: none;
  min-width: 0;
}

.contact-form-section__title {
  margin: 1.15rem 0 1rem;
  font-size: 1.1rem;
  font-weight: 700;
}

.contact-page__main {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 0.85fr);
  gap: 1.75rem 60px;
  align-items: start;
  margin-bottom: 2rem;
  width: 100%;
}

.contact-page__col {
  min-width: 0;
  max-width: none;
}

.contact-featured {
  min-width: 0;
  max-width: 26rem;
  justify-self: end;
  width: 100%;
}

.contact-featured__title {
  margin: 0 0 0.65rem;
  font-family: "Space Grotesk", var(--font);
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.skel--stack {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
}

.skel--stack .skel__thumb {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
}

.watch-featured__empty {
  margin: 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.9rem;
}

.contact-form {
  display: grid;
  gap: 0.35rem;
}

.contact-form__label {
  margin-top: 0.45rem;
  font-size: 0.8rem;
  font-weight: 650;
  color: rgba(255, 255, 255, 0.72);
}

.contact-form__input {
  width: 100%;
  min-height: 2.6rem;
  padding: 0.55rem 0.75rem;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 8px;
  background: #fff;
  color: #0f172a;
  font-family: var(--font);
  font-size: 0.95rem;
}

.contact-form__input::placeholder {
  color: rgba(15, 23, 42, 0.45);
}

.contact-form__input:focus {
  outline: 2px solid rgba(245, 197, 24, 0.65);
  outline-offset: 1px;
}

.contact-form__textarea {
  min-height: 8rem;
  resize: vertical;
}

.contact-form__status {
  margin: 0.35rem 0 0;
  font-size: 0.85rem;
}

.contact-form__status.is-success {
  color: #86efac;
}

.contact-form__status.is-error {
  color: #fca5a5;
}

.contact-form__submit {
  margin-top: 0.65rem;
  width: 100%;
  background: #f5c518;
  color: #111;
  border: 0;
}

.contact-form__submit:hover {
  background: #ffd84a;
  filter: none;
}

.contact-featured__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
  max-height: min(70vh, 32rem);
  overflow: auto;
  padding-right: 0.35rem;
  scrollbar-width: thin;
  scrollbar-color: #f5c518 transparent;
}

.contact-featured__list::-webkit-scrollbar {
  width: 8px;
}

.contact-featured__list::-webkit-scrollbar-track {
  background: transparent;
}

.contact-featured__list::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: #f5c518;
}

.contact-featured__list::-webkit-scrollbar-thumb:hover {
  background: #ffd84a;
}

.contact-featured__list .thumb {
  width: 100%;
  flex: 0 0 auto;
  scroll-snap-align: unset;
}

.contact-featured__list .thumb__link {
  display: flex;
  flex-direction: column;
}

.contact-featured__list .thumb__media {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  border-radius: 6px;
}

.contact-featured__list .thumb:hover .thumb__media,
.contact-featured__list .thumb:focus-within .thumb__media {
  transform: scale(1.03);
}

.contact-featured__list .thumb__overlay {
  position: static;
  left: auto;
  right: auto;
  bottom: auto;
  z-index: auto;
  padding: 0.4rem 0.1rem 0;
  background: none;
  gap: 0.15rem;
  pointer-events: none;
}

.contact-featured__list .thumb__name {
  font-size: 0.72rem;
  line-height: 1.25;
  -webkit-line-clamp: 2;
  text-shadow: none;
  color: rgba(255, 255, 255, 0.95);
}

.contact-featured__list .thumb__meta {
  font-size: 0.65rem;
  text-shadow: none;
  color: rgba(255, 255, 255, 0.65);
}

@media (max-width: 800px) {
  .contact-page__main {
    grid-template-columns: 1fr;
  }

  .contact-featured {
    max-width: none;
    justify-self: stretch;
  }

  .contact-featured__list,
  .skel--stack {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.contact-info {
  margin-top: 1rem;
  padding: 2.5rem var(--page-gutter) 3rem;
  background: #061433;
  color: rgba(255, 255, 255, 0.88);
}

.contact-info__inner {
  max-width: 64rem;
  margin: 0 auto;
}

.contact-info__title {
  margin: 0 0 1rem;
  font-family: "Space Grotesk", var(--font);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: #e8c547;
}

.contact-info__meta {
  margin: 0 0 1.75rem;
  font-size: 0.95rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.88);
}

.contact-info__meta a {
  color: rgba(255, 255, 255, 0.92);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.contact-info__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.75rem 3rem;
}

.contact-info__block {
  margin-bottom: 1.5rem;
}

.contact-info__country {
  margin: 0 0 0.55rem;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #e8c547;
}

.contact-info__address {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.86);
}

.contact-info__address a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

@media (max-width: 720px) {
  .contact-info__grid {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
}

.profile-page__avatar {
  display: grid;
  place-items: center;
  width: 4rem;
  height: 4rem;
  margin-bottom: 0.85rem;
  border-radius: 10px;
  background: linear-gradient(145deg, var(--brand-blue), #0042cc);
  font-size: 1.6rem;
  font-weight: 700;
  color: #fff;
}

.profile-page__guest {
  margin-top: 1rem;
}

.profile-page__card {
  margin-top: 1rem;
  padding: 1.25rem 0;
  border-radius: 0;
  border: 0;
  background: transparent;
  max-width: none;
  width: 100%;
}

.profile-page__fields {
  margin: 0;
}

.profile-page__field {
  display: grid;
  gap: 0.2rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.profile-page__field:last-of-type {
  border-bottom: 0;
}

.profile-page__field dt {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

.profile-page__field dd {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
}

.profile-page__signout {
  margin-top: 1.15rem;
  width: 100%;
  border: 1px solid rgba(248, 113, 113, 0.45);
  background: rgba(248, 113, 113, 0.12);
  color: #fecaca;
}

.profile-page__signout:hover {
  background: rgba(248, 113, 113, 0.22);
  color: #fff;
}

/* —— Light theme: surfaces still using dark hardcodes —— */
html[data-theme="light"] .browse-segment[data-segment="categories"]::before {
  background-color: var(--categories-wash);
  background-image:
    radial-gradient(ellipse 45% 40% at 18% 40%, rgba(0, 119, 204, 0.14) 0%, transparent 70%),
    radial-gradient(ellipse 50% 45% at 72% 55%, rgba(0, 119, 204, 0.1) 0%, transparent 72%),
    radial-gradient(ellipse 40% 35% at 48% 70%, rgba(0, 90, 180, 0.08) 0%, transparent 68%);
}

html[data-theme="light"] .browse {
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(223, 231, 242, 0.7) 12%,
    var(--oxford) 48%,
    var(--bg) 100%
  );
}

html[data-theme="light"] .mobile-nav__link {
  border-bottom-color: var(--hairline-soft);
}

html[data-theme="light"] .mobile-nav__link:hover,
html[data-theme="light"] .mobile-nav__link:focus-visible {
  background: var(--nav-active-bg);
}

html[data-theme="light"] .mobile-nav-backdrop {
  background: rgba(15, 30, 60, 0.35);
}

html[data-theme="light"] .locale-flag {
  box-shadow: inset 0 0 0 1px var(--hairline);
}

html[data-theme="light"] .kids-link {
  color: var(--text-muted);
}

html[data-theme="light"] .brand-station__menu {
  background: #ffffff;
  border-color: rgba(15, 30, 60, 0.16);
}

html[data-theme="light"] .brand-station__toggle:hover,
html[data-theme="light"] .brand-station.is-open .brand-station__toggle {
  background: var(--nav-active-bg);
}

html[data-theme="light"] .brand-station__item:hover,
html[data-theme="light"] .brand-station__item:focus-visible,
html[data-theme="light"] .brand-station__item.is-active {
  background: var(--nav-active-bg);
}

html[data-theme="light"] .brand-station__logo {
  background: rgba(15, 30, 60, 0.06);
}

html[data-theme="light"] .content-row__title,
html[data-theme="light"] .browse-segment__label,
html[data-theme="light"] .vod-page__title {
  color: var(--text);
}

html[data-theme="light"] .vod-page__lead,
html[data-theme="light"] .vod-page__empty {
  color: var(--text-muted);
}

html[data-theme="light"] .thumb--caption-below .thumb__name {
  color: var(--text);
  text-shadow: none;
}

html[data-theme="light"] .thumb--caption-below .thumb__meta {
  color: var(--text-muted);
  text-shadow: none;
}

html[data-theme="light"] .contact-featured__list .thumb__name {
  color: var(--text);
  text-shadow: none;
}

html[data-theme="light"] .contact-featured__list .thumb__meta {
  color: var(--text-muted);
  text-shadow: none;
}

html[data-theme="light"] .watch-comments {
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

html[data-theme="light"] .thumb__media:hover,
html[data-theme="light"] .thumb:focus-within .thumb__media {
  box-shadow: 0 16px 40px rgba(15, 30, 60, 0.18);
}

html[data-theme="light"] .contact-featured__title,
html[data-theme="light"] .contact-page__title,
html[data-theme="light"] .profile-page__title {
  color: var(--text);
}

html[data-theme="light"] .contact-page__lead,
html[data-theme="light"] .profile-page__lead,
html[data-theme="light"] .profile-page__testimony-lead,
html[data-theme="light"] .profile-page__testimony-label {
  color: var(--text-muted);
}

html[data-theme="light"] .schedule-page {
  background: var(--bg-gradient);
}

html[data-theme="light"] .schedule-page__lead,
html[data-theme="light"] .schedule-page__empty {
  color: var(--text-muted);
}

html[data-theme="light"] .schedule-page__title {
  color: var(--text);
}

html[data-theme="light"] .sched-panel {
  background: var(--panel-elevated);
  border-color: var(--hairline);
}

html[data-theme="light"] .sched-panel__hint {
  color: var(--text-muted);
}

html[data-theme="light"] .sched-days {
  background: var(--panel-bg);
  border-color: var(--hairline);
}

html[data-theme="light"] .live-schedule__list {
  background: var(--panel-bg);
  border-color: var(--hairline);
}

html[data-theme="light"] .live-schedule__row {
  border-bottom-color: var(--hairline-soft);
}

html[data-theme="light"] .live-schedule__program {
  color: var(--text);
}

html[data-theme="light"] .profile-page__field {
  border-bottom-color: var(--hairline-soft);
}

html[data-theme="light"] .profile-page__field dt {
  color: var(--text-muted);
}

html[data-theme="light"] .profile-page__field dd {
  color: var(--text);
}

html[data-theme="light"] .profile-menu__item--danger {
  color: #dc2626;
}

html[data-theme="light"] .profile-menu__item--danger:hover {
  background: rgba(220, 38, 38, 0.08);
  color: #b91c1c;
}

html[data-theme="light"] .profile-page__signout {
  border-color: rgba(220, 38, 38, 0.35);
  background: rgba(220, 38, 38, 0.08);
  color: #b91c1c;
}

html[data-theme="light"] .profile-page__signout:hover {
  background: rgba(220, 38, 38, 0.14);
  color: #991b1b;
}

html[data-theme="light"] .profile-btn {
  color: var(--icon);
}

html[data-theme="light"] .profile-btn__avatar {
  color: #fff;
}

html[data-theme="light"] .notif-panel__title,
html[data-theme="light"] .notif-panel__item-title {
  color: var(--text);
}

html[data-theme="light"] .notif-panel__item-body,
html[data-theme="light"] .notif-panel__item-time,
html[data-theme="light"] .notif-panel__empty {
  color: var(--text-muted);
}

html[data-theme="light"] .thumb:not(.thumb--caption-below) .thumb__name {
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
}

html[data-theme="light"] .notif-panel,
html[data-theme="light"] .brand-station__menu {
  color: var(--text);
}

html[data-theme="light"] .row-arrow {
  color: var(--text);
  background: var(--panel-bg);
  border-color: var(--hairline);
}

html[data-theme="light"] body[data-page="news"] .site-header,
html[data-theme="light"] body[data-page="news"] .site-header.is-scrolled {
  background: var(--header-bg-scrolled);
}

/* —— AI assistant nudge + chat —— */
.assistant-nudge {
  position: fixed;
  right: max(1rem, env(safe-area-inset-right));
  bottom: max(1rem, env(safe-area-inset-bottom));
  z-index: 80;
  width: min(22rem, calc(100vw - 2rem));
  padding: 1rem 1rem 0.9rem;
  border-radius: 1.15rem;
  background:
    radial-gradient(120% 80% at 0% 0%, rgba(0, 153, 255, 0.22) 0%, transparent 55%),
    linear-gradient(165deg, rgba(0, 153, 255, 0.12) 0%, transparent 48%),
    linear-gradient(180deg, #1a1f2e 0%, var(--panel-bg) 55%, #10131c 100%);
  border: 1px solid rgba(0, 153, 255, 0.28);
  box-shadow:
    var(--shadow-soft),
    0 0 0 1px rgba(0, 153, 255, 0.06),
    0 18px 44px rgba(0, 60, 120, 0.28);
  color: var(--text);
  transform-origin: 85% 100%;
  animation: assistant-nudge-in 0.65s cubic-bezier(0.22, 1.2, 0.36, 1) both;
  will-change: transform, opacity;
  overflow: hidden;
  isolation: isolate;
}

.assistant-nudge::before {
  content: "";
  position: absolute;
  left: 12%;
  right: 12%;
  top: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(0, 153, 255, 0.85),
    rgba(255, 255, 255, 0.55),
    rgba(0, 153, 255, 0.85),
    transparent
  );
  pointer-events: none;
  z-index: 1;
}

.assistant-nudge.is-settled {
  animation: assistant-nudge-float 4.2s ease-in-out infinite;
}

.assistant-nudge {
  cursor: grab;
  touch-action: none;
}

.assistant-nudge.is-dragging {
  cursor: grabbing;
  animation: none;
  user-select: none;
}

.assistant-nudge.is-placed,
.assistant-nudge.is-placed.is-settled,
.assistant-nudge.is-dragging {
  right: auto;
  bottom: auto;
  animation: none;
  transform: none;
}

.assistant-nudge button,
.assistant-nudge a {
  cursor: pointer;
  touch-action: manipulation;
}

.assistant-nudge[hidden] {
  display: none !important;
  animation: none;
}

@keyframes assistant-nudge-in {
  0% {
    opacity: 0;
    transform: translateY(28px) scale(0.88);
  }
  60% {
    opacity: 1;
    transform: translateY(-6px) scale(1.03);
  }
  80% {
    transform: translateY(3px) scale(0.99);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes assistant-nudge-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-7px);
  }
}

.assistant-nudge__close {
  position: absolute;
  top: 0.45rem;
  right: 0.45rem;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 999px;
  font-size: 1.1rem;
  line-height: 1;
  color: var(--text-muted);
  background: var(--panel-elevated);
}

.assistant-nudge__row {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding-right: 1.5rem;
  margin-bottom: 0.85rem;
}

.assistant-nudge__avatar,
.assistant-chat__avatar {
  flex: 0 0 auto;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  overflow: hidden;
  background: var(--panel-elevated);
  border: 2px solid rgba(0, 153, 255, 0.35);
  display: grid;
  place-items: center;
}

.assistant-nudge__avatar img,
.assistant-chat__avatar img {
  width: 70%;
  height: 70%;
  object-fit: contain;
}

.assistant-nudge__teaser {
  margin: 0.15rem 0 0;
  font-size: 0.98rem;
  line-height: 1.35;
  font-weight: 600;
  color: var(--text);
  min-height: 2.6em;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.28s var(--ease), transform 0.28s var(--ease);
}

.assistant-nudge__teaser.is-fading {
  opacity: 0;
  transform: translateY(6px);
}

.assistant-nudge__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  width: 100%;
  min-height: 2.65rem;
  border: 0;
  border-radius: 999px;
  background: var(--brand-blue);
  color: #fff;
  font: inherit;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: filter 0.15s var(--ease), transform 0.15s var(--ease);
  animation: assistant-cta-pulse 2.4s ease-in-out 0.8s infinite;
}

.assistant-nudge__cta:hover {
  filter: brightness(1.08);
  animation-play-state: paused;
}

.assistant-nudge__cta:active {
  transform: scale(0.98);
}

@keyframes assistant-cta-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(0, 153, 255, 0.35);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(0, 153, 255, 0);
    transform: scale(1.015);
  }
}

@media (prefers-reduced-motion: reduce) {
  .assistant-nudge,
  .assistant-nudge.is-settled,
  .assistant-nudge__cta,
  .assistant-chat__panel {
    animation: none !important;
  }

  .assistant-nudge__teaser {
    transition: none;
  }
}

html[data-theme="light"] .assistant-nudge {
  background:
    radial-gradient(120% 80% at 0% 0%, rgba(0, 119, 204, 0.16) 0%, transparent 55%),
    linear-gradient(165deg, rgba(0, 153, 255, 0.1) 0%, transparent 48%),
    linear-gradient(180deg, #f7fbff 0%, var(--panel-bg) 52%, #eef3f9 100%);
  border-color: rgba(0, 119, 204, 0.22);
  box-shadow:
    var(--shadow-soft),
    0 0 0 1px rgba(0, 119, 204, 0.05),
    0 18px 40px rgba(15, 60, 120, 0.12);
}

html[data-theme="light"] .assistant-nudge::before,
html[data-theme="light"] .assistant-chat__panel::before {
  background: linear-gradient(
    90deg,
    transparent,
    rgba(0, 119, 204, 0.75),
    rgba(0, 153, 255, 0.45),
    rgba(0, 119, 204, 0.75),
    transparent
  );
}

html[data-theme="light"] .assistant-chat__panel {
  background:
    radial-gradient(90% 50% at 10% 0%, rgba(0, 119, 204, 0.12) 0%, transparent 50%),
    linear-gradient(180deg, #f7fbff 0%, var(--panel-bg) 42%, #eef3f9 100%);
  border-color: rgba(0, 119, 204, 0.2);
  box-shadow:
    var(--shadow-soft),
    0 0 0 1px rgba(0, 119, 204, 0.04),
    0 22px 48px rgba(15, 50, 100, 0.14);
}

html[data-theme="light"] .assistant-chat__header {
  background: linear-gradient(180deg, rgba(0, 119, 204, 0.06), transparent);
}

/* —— Category / collection overlay (light) —— */
html[data-theme="light"] .collection-overlay__backdrop {
  background: rgba(15, 30, 60, 0.28);
}

html[data-theme="light"] .collection-overlay__panel {
  background: var(--bg);
  color: var(--text);
}

html[data-theme="light"] .collection-overlay__back {
  background: rgba(255, 255, 255, 0.92);
  color: var(--text);
  border: 1px solid var(--hairline);
  box-shadow: var(--shadow-soft);
}

html[data-theme="light"] .collection-overlay__back:hover {
  background: #fff;
}

html[data-theme="light"] .collection-hero__bg {
  opacity: 0.85;
}

html[data-theme="light"] .collection-hero__bg::after {
  background:
    linear-gradient(
      90deg,
      rgba(15, 23, 42, 0.58) 0%,
      rgba(15, 23, 42, 0.25) 42%,
      rgba(15, 23, 42, 0.42) 100%
    ),
    linear-gradient(
      180deg,
      rgba(15, 23, 42, 0.22) 0%,
      rgba(243, 245, 248, 0.45) 58%,
      var(--bg) 100%
    );
}

html[data-theme="light"] .collection-hero__title {
  color: #fff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

html[data-theme="light"] .collection-hero__chip {
  background: rgba(0, 0, 0, 0.75);
  border-color: rgba(0, 0, 0, 0.85);
  color: #fff;
}

html[data-theme="light"] .collection-hero__synopsis-label {
  color: rgba(255, 255, 255, 0.72);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

html[data-theme="light"] .collection-hero__synopsis {
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}

html[data-theme="light"] .collection-overlay__body {
  background: var(--bg);
}

html[data-theme="light"] .collection-list__rule {
  background: var(--hairline);
}

html[data-theme="light"] .collection-hero__poster {
  box-shadow: 0 16px 36px rgba(15, 30, 60, 0.18);
  background: var(--media-placeholder);
}

.assistant-chat {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: end;
  padding: max(1rem, env(safe-area-inset-top)) max(1rem, env(safe-area-inset-right))
    max(1rem, env(safe-area-inset-bottom)) max(1rem, env(safe-area-inset-left));
  pointer-events: none;
}

.assistant-chat[hidden] {
  display: none !important;
}

.assistant-chat__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  pointer-events: auto;
}

.assistant-chat__panel {
  position: relative;
  z-index: 1;
  pointer-events: auto;
  width: min(24rem, 100%);
  max-height: min(34rem, calc(100vh - 2rem));
  display: flex;
  flex-direction: column;
  border-radius: 1.15rem;
  background:
    radial-gradient(90% 50% at 10% 0%, rgba(0, 153, 255, 0.18) 0%, transparent 50%),
    linear-gradient(180deg, #1a1f2e 0%, var(--panel-bg) 40%, #10131c 100%);
  border: 1px solid rgba(0, 153, 255, 0.26);
  box-shadow:
    var(--shadow-soft),
    0 0 0 1px rgba(0, 153, 255, 0.05),
    0 22px 50px rgba(0, 50, 100, 0.32);
  overflow: hidden;
  animation: assistant-nudge-in 0.35s var(--ease) both;
  isolation: isolate;
}

.assistant-chat__panel::before {
  content: "";
  position: absolute;
  left: 10%;
  right: 10%;
  top: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(0, 153, 255, 0.85),
    rgba(255, 255, 255, 0.5),
    rgba(0, 153, 255, 0.85),
    transparent
  );
  pointer-events: none;
  z-index: 2;
}

.assistant-chat__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.9rem 0.9rem 0.75rem;
  border-bottom: 1px solid var(--hairline-soft);
  background: linear-gradient(180deg, rgba(0, 153, 255, 0.08), transparent);
}

.assistant-chat__brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 0;
}

.assistant-chat__title {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
}

.assistant-chat__subtitle {
  margin: 0.15rem 0 0;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.assistant-chat__close {
  flex: 0 0 auto;
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 999px;
  color: var(--text-muted);
  background: var(--panel-elevated);
}

.assistant-chat__messages {
  flex: 1 1 auto;
  overflow-y: auto;
  padding: 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  min-height: 12rem;
}

.assistant-chat__bubble {
  max-width: 92%;
  padding: 0.65rem 0.8rem;
  border-radius: 0.9rem;
  font-size: 0.9rem;
  line-height: 1.4;
  white-space: pre-wrap;
  word-break: break-word;
}

.assistant-chat__bubble--assistant {
  align-self: flex-start;
  background: var(--panel-elevated);
  color: var(--text);
  border: 1px solid var(--hairline-soft);
}

.assistant-chat__bubble--user {
  align-self: flex-end;
  background: var(--brand-blue);
  color: #fff;
}

.assistant-chat__bubble--pending {
  opacity: 0.7;
  font-style: italic;
}

.assistant-chat__form {
  display: flex;
  gap: 0.5rem;
  padding: 0.75rem 0.9rem 0.9rem;
  border-top: 1px solid var(--hairline-soft);
  background: var(--panel-bg);
}

.assistant-chat__input {
  flex: 1 1 auto;
  min-width: 0;
  border-radius: 999px;
  border: 1px solid var(--control-border);
  background: var(--control-bg);
  color: var(--text);
  padding: 0.65rem 0.9rem;
  font: inherit;
  font-size: 0.92rem;
}

.assistant-chat__input:focus {
  outline: 2px solid rgba(0, 153, 255, 0.35);
  outline-offset: 1px;
}

.assistant-chat__send {
  flex: 0 0 auto;
  border-radius: 999px;
  min-width: 4.5rem;
}

.assistant-chat__send:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.assistant-chat__rich {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  max-width: 100%;
}

.assistant-chat__text {
  margin: 0;
  white-space: pre-wrap;
}

.assistant-chat__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.assistant-chat__action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--hairline);
  background: var(--panel-elevated);
  color: var(--text);
  font: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}

.assistant-chat__action:hover {
  border-color: var(--brand-blue);
  color: var(--brand-blue);
}

.assistant-chat__videos {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.assistant-chat__video {
  display: flex;
  gap: 0.65rem;
  align-items: stretch;
  width: 100%;
  padding: 0.4rem;
  border-radius: 0.75rem;
  border: 1px solid var(--hairline-soft);
  background: var(--panel-elevated);
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.assistant-chat__video:hover {
  border-color: rgba(0, 153, 255, 0.45);
}

.assistant-chat__video-thumb {
  flex: 0 0 4.5rem;
  width: 4.5rem;
  border-radius: 0.5rem;
  background: var(--media-placeholder) center / cover no-repeat;
  min-height: 2.6rem;
}

.assistant-chat__video-body {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}

.assistant-chat__video-title {
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.25;
}

.assistant-chat__video-meta,
.assistant-chat__video-explain {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.3;
}

body.has-assistant-chat {
  overflow: hidden;
}

@media (max-width: 520px) {
  .assistant-nudge {
    right: 0.75rem;
    left: 0.75rem;
    width: auto;
  }

  .assistant-chat {
    place-items: stretch end;
  }

  .assistant-chat__panel {
    width: 100%;
    max-height: min(70vh, 34rem);
  }
}

/* JS-filled pages: keep the hidden attribute authoritative */
.sched-card__badge[hidden],
.schedule-page__empty[hidden],
.news-page [hidden] {
  display: none !important;
}
