/*!
 * template/tv — Broadcast EPG guide
 * Horizontal channel dial · schedule rows · station navy + signal amber
 * Lightweight skin (no left rail, no magazine chrome)
 */
:root {
  --tv-ink: #15202b;
  --tv-text: #243447;
  --tv-muted: #5c6b7a;
  --tv-line: #c9d4de;
  --tv-line-soft: #e2e9ef;
  --tv-bg: #eef2f5;
  --tv-surface: #ffffff;
  --tv-surface-2: #f5f8fa;
  --tv-accent: #c9840d;
  --tv-accent-hover: #a66c08;
  --tv-accent-rgb: 201, 132, 13;
  --tv-signal: #1f6f5b;
  --tv-station: #0c2d48;
  --tv-station-2: #16466a;
  --tv-on: #e8f6f1;
  --tv-score: #b45309;
  --tv-radius: 3px;
  --tv-max: 1180px;
  --tv-font: "Barlow", "Archivo Narrow", "PingFang SC", "Microsoft YaHei", sans-serif;
  --tv-display: "Barlow Condensed", "Archivo Narrow", "DIN Alternate", "PingFang SC", sans-serif;
  --tv-lh: 1.6;
  --tv-font-size: 15px;
  --tv-ch-h: 2.75rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; max-width: 100%; }
body {
  margin: 0;
  font-family: var(--tv-font);
  font-size: var(--tv-font-size);
  line-height: var(--tv-lh);
  color: var(--tv-text);
  background:
    linear-gradient(180deg, #e7edf2 0, transparent 180px),
    repeating-linear-gradient(90deg, transparent, transparent 47px, rgba(12, 45, 72, 0.03) 47px, rgba(12, 45, 72, 0.03) 48px),
    var(--tv-bg);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--tv-station-2); text-decoration: none; }
a:hover { color: var(--tv-accent-hover); text-decoration: underline; }
h1, h2, h3 { margin: 0 0 0.55em; color: var(--tv-ink); font-weight: 700; line-height: 1.3; }
h1 {
  font-family: var(--tv-display);
  font-size: clamp(1.45rem, 2.2vw, 1.9rem);
  letter-spacing: 0.02em;
  font-weight: 600;
}
img { max-width: 100%; height: auto; vertical-align: middle; }
button, input { font: inherit; }

.tv-sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.tv-skip {
  position: absolute; left: -9999px; top: 0; z-index: 1000;
  background: var(--tv-accent); color: #fff; padding: 0.5rem 1rem;
}
.tv-skip:focus { left: 0.5rem; top: 0.5rem; }

.tv-wrap {
  width: min(100% - 1.25rem, var(--tv-max));
  margin-inline: auto;
}
.tv-wrap--stage { padding: 0.85rem 0 2rem; }

/* ---------- SEO marquee (sticky top; second line is scroll clone, not a duplicate) ---------- */
.seo-marquee-container {
  position: sticky !important;
  top: 0 !important;
  z-index: 10050 !important;
  width: 100% !important;
  max-width: 100vw !important;
  min-height: 40px !important;
  height: 40px !important;
  max-height: 56px !important;
  overflow: hidden !important;
  white-space: nowrap !important;
  box-sizing: border-box !important;
  background: linear-gradient(
    90deg,
    var(--tv-accent) 0%,
    color-mix(in srgb, var(--tv-accent) 50%, #0a1622) 50%,
    var(--tv-accent) 100%
  ) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14) !important;
  box-shadow: 0 2px 8px rgba(12, 45, 72, 0.22);
  margin: 0 !important;
  padding: 0 !important;
}
.seo-marquee-track {
  display: inline-flex !important;
  flex-wrap: nowrap !important;
  white-space: nowrap !important;
  will-change: transform;
  transform: translate3d(0, 0, 0);
  line-height: 40px !important;
  min-height: 40px !important;
}
.seo-marquee-container p,
.seo-marquee-container .seo-marquee-line,
.seo-marquee-container .text-muted {
  color: #fff8ef !important;
  margin: 0 !important;
  padding: 0 !important;
  font-size: 0.86rem !important;
  line-height: 40px !important;
  display: inline-block !important;
  white-space: nowrap !important;
  flex: 0 0 auto !important;
}
.seo-marquee-container a {
  color: #ffffff !important;
  font-weight: 600;
  text-decoration: none !important;
  margin: 0 0.65rem;
}
.seo-marquee-container a:hover {
  color: #ffffff !important;
  opacity: 0.88;
  text-decoration: underline !important;
}
.seo-marquee-container .seo-marquee-line span {
  margin: 0 0.65rem;
  color: #fff8ef;
}
body.tv-has-marquee { padding-top: 0 !important; }
body.tv-has-marquee .tv-mast {
  top: var(--tv-marquee-h, 40px);
}

/* ---------- Mast / callsign ---------- */
.tv-mast {
  position: sticky;
  top: 0;
  z-index: 80;
  background: linear-gradient(180deg, var(--tv-station) 0%, var(--tv-station-2) 100%);
  color: #f4f7fa;
  box-shadow: 0 2px 0 rgba(201, 132, 13, 0.55);
}
.tv-mast a { color: inherit; text-decoration: none; }
.tv-mast a:hover { color: #fff; text-decoration: none; }
.tv-mast__inner {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  width: min(100% - 1.25rem, var(--tv-max));
  margin: 0 auto;
  padding: 0.55rem 0;
  flex-wrap: wrap;
}
.tv-callsign {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
  flex: 0 1 auto;
}
.tv-callsign__logo {
  width: 2rem; height: 2rem; object-fit: contain;
  border-radius: 2px; background: rgba(255,255,255,0.08);
}
.tv-callsign__dot {
  width: 0.7rem; height: 0.7rem; border-radius: 50%;
  background: #3dd6a5;
  box-shadow: 0 0 0 3px rgba(61, 214, 165, 0.25);
  animation: tv-pulse 1.8s ease-in-out infinite;
}
@keyframes tv-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.45; }
}
.tv-callsign__name {
  font-family: var(--tv-display);
  font-size: 1.25rem;
  letter-spacing: 0.06em;
  font-weight: 600;
  white-space: nowrap;
}
.tv-callsign__on {
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  padding: 0.15rem 0.4rem;
  border: 1px solid rgba(61, 214, 165, 0.55);
  color: #b8f5df;
  background: rgba(31, 111, 91, 0.35);
}
.tv-tune {
  display: block;
  position: relative;
  flex: 1 1 220px;
  max-width: 420px;
  margin-left: auto;
  overflow: visible;
}
.tv-tune__row {
  display: flex;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.16);
  overflow: hidden;
}
.tv-tune input {
  flex: 1; min-width: 0; border: 0; background: transparent;
  color: #fff; padding: 0.5rem 0.75rem; outline: none;
  cursor: pointer;
}
.tv-tune input::placeholder { color: rgba(244,247,250,0.55); }
.tv-tune button {
  border: 0; background: var(--tv-accent); color: #1a1205;
  font-weight: 700; letter-spacing: 0.04em; padding: 0 0.95rem; cursor: pointer;
}
.tv-tune button:hover { background: #e0a01a; }
.tv-suggest {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 4px);
  z-index: 90;
  margin: 0;
  padding: 0.3rem 0;
  list-style: none;
  background: #102820;
  border: 1px solid rgba(255,255,255,0.18);
  max-height: 320px;
  overflow: auto;
  box-shadow: 0 10px 24px rgba(0,0,0,0.35);
}
.tv-suggest a {
  display: block;
  padding: 0.5rem 0.75rem;
  color: #f4f7fa;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tv-suggest a:hover { background: rgba(255,255,255,0.08); }
.tv-suggest .is-empty { padding: 0.55rem 0.75rem; color: rgba(244,247,250,0.6); font-size: 0.9rem; }

/* Channel strip */
.tv-channels {
  display: flex;
  gap: 0.2rem;
  width: min(100% - 1.25rem, var(--tv-max));
  margin: 0 auto;
  padding: 0 0 0.45rem;
  overflow-x: auto;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}
.tv-ch {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: var(--tv-ch-h);
  padding: 0.35rem 0.7rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid transparent;
  border-bottom: 2px solid transparent;
  font-size: 0.88rem;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.tv-ch em {
  font-family: var(--tv-display);
  font-style: normal;
  font-weight: 700;
  font-size: 0.78rem;
  color: var(--tv-accent);
  min-width: 1.4em;
}
.tv-ch:hover { background: rgba(255,255,255,0.12); text-decoration: none; }
.tv-ch.is-on, .tv-ch[aria-current="page"] {
  background: rgba(201, 132, 13, 0.18);
  border-bottom-color: var(--tv-accent);
  color: #fff;
}

/* ---------- Main / EPG slots ---------- */
.tv-main { min-height: 50vh; }
.tv-layout { display: block; }
.tv-content--ordered { display: flex; flex-direction: column; gap: 1rem; }
.tv-panel, .tv-slot {
  background: var(--tv-surface);
  border: 1px solid var(--tv-line);
  border-left: 3px solid var(--tv-station);
  padding: 0.85rem 1rem 1rem;
}
.tv-panel--lead { border-left-color: var(--tv-accent); }
.tv-panel__hd, .tv-slot__hd {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.65rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px dashed var(--tv-line-soft);
}
.tv-panel__hd h1, .tv-panel__hd h2, .tv-slot__hd h2 {
  margin: 0;
  font-family: var(--tv-display);
  font-size: 1.15rem;
  letter-spacing: 0.04em;
}
.tv-panel__more { font-size: 0.85rem; color: var(--tv-muted); white-space: nowrap; }
.tv-home-intro, .tv-cat-blurb {
  margin: 0 0 0.75rem;
  color: var(--tv-muted);
  font-size: 0.92rem;
}

.tv-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.75rem 0.65rem;
}
.tv-grid--lead { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.tv-grid--play-more { grid-template-columns: repeat(5, minmax(0, 1fr)); }

.tv-layout--magazine {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 15.5rem;
  gap: 1rem;
  align-items: start;
}
@media (max-width: 960px) {
  .tv-layout--magazine { grid-template-columns: 1fr; }
}

/* Cards (shared n1_vod_card + SEO tv-card) */
.tv-card { margin: 0; }
.tv-card__link { display: block; color: inherit; text-decoration: none; }
.tv-card__link:hover { text-decoration: none; color: inherit; }
.tv-card__poster {
  position: relative; aspect-ratio: 2 / 3; overflow: hidden;
  background: var(--tv-surface-2); border: 1px solid var(--tv-line-soft);
}
.tv-card__poster img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tv-card__title {
  margin: 0.4rem 0 0.15rem; font-size: 0.92rem; font-weight: 650; line-height: 1.35;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.tv-card__link:hover .tv-card__title { color: var(--tv-accent-hover); }
.tv-card__meta { margin: 0; font-size: 0.78rem; color: var(--tv-muted); }
.tv-player-shell {
  position: relative; width: 100%; aspect-ratio: 16 / 9; background: #000; overflow: hidden;
}
.tv-faq__list { display: flex; flex-direction: column; gap: 0.45rem; }
.tv-faq__item { border: 1px solid var(--tv-line-soft); background: var(--tv-surface-2); padding: 0.35rem 0.65rem; }
.tv-faq__item summary { cursor: pointer; font-weight: 600; }
.tv-faq__a { margin: 0.35rem 0 0.2rem; color: var(--tv-muted); font-size: 0.9rem; }
.tv-muted { color: var(--tv-muted); }
.tv-root .n1-card { margin: 0; }
.tv-root .n1-card__link { display: block; color: inherit; text-decoration: none; }
.tv-root .n1-card__link:hover { text-decoration: none; color: inherit; }
.tv-root .n1-card__poster {
  position: relative;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  background: var(--tv-surface-2);
  border: 1px solid var(--tv-line-soft);
}
.tv-root .n1-card__poster img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.tv-root .n1-card__badge {
  position: absolute; top: 0.3rem; right: 0.3rem;
  background: var(--tv-station); color: #fff;
  font-size: 0.68rem; padding: 0.12rem 0.35rem; line-height: 1.3;
}
.tv-root .n1-card__score {
  position: absolute; left: 0.3rem; bottom: 0.3rem;
  background: rgba(21, 32, 43, 0.88); color: #ffd27a;
  font-family: var(--tv-display); font-weight: 700;
  font-size: 0.8rem; padding: 0.1rem 0.35rem;
}
.tv-root .n1-card__title {
  margin: 0.4rem 0 0.15rem;
  font-size: 0.92rem; font-weight: 650; line-height: 1.35;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.tv-root .n1-card__link:hover .n1-card__title { color: var(--tv-accent-hover); }
.tv-root .n1-card__meta, .tv-root .n1-card__reason, .tv-root .n1-card__blurb {
  margin: 0; font-size: 0.78rem; color: var(--tv-muted);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.n1-card-s2 .n1-card__badge { left: auto; right: 0.3rem; }
.n1-card-s2 .n1-card__score { left: 0.3rem; right: auto; }
.n1-card-s2 .n1-card__meta { display: none; }
.n1-card-s3 .n1-card__reason { display: none; }

.tv-chipcloud {
  display: flex; flex-wrap: wrap; gap: 0.4rem;
}
.tv-chipcloud a {
  display: inline-block; padding: 0.28rem 0.55rem;
  background: var(--tv-surface-2); border: 1px solid var(--tv-line);
  color: var(--tv-ink); font-size: 0.84rem;
}
.tv-chipcloud a:hover {
  border-color: var(--tv-accent); color: var(--tv-accent-hover); text-decoration: none;
}

.tv-channel__tabs, .tv-filter {
  display: flex; flex-wrap: wrap; gap: 0.35rem; margin-bottom: 0.65rem;
}
.tv-channel__tabs a, .tv-filter a {
  padding: 0.25rem 0.5rem; font-size: 0.82rem;
  background: var(--tv-surface-2); border: 1px solid var(--tv-line-soft); color: var(--tv-text);
}
.tv-channel__tabs a:hover, .tv-filter a.is-on, .tv-filter a:hover {
  border-color: var(--tv-station); color: var(--tv-station); text-decoration: none;
}

/* Hero stats as "now playing board" */
.tv-statbar, .tv-hero-stats {
  margin-bottom: 0.85rem;
  padding: 0.75rem 0.9rem;
  background: linear-gradient(135deg, var(--tv-station) 0%, var(--tv-station-2) 100%);
  color: #f4f7fa;
  border-top: 3px solid var(--tv-accent);
}
.tv-hero-stats__summary {
  margin: 0 0 0.55rem;
  font-family: var(--tv-display);
  letter-spacing: 0.04em;
  font-size: 1.05rem;
}
.tv-hero-stats__summary strong { color: #ffd27a; }
.tv-hero-stats__summary .tv-muted { color: rgba(244, 247, 250, 0.72); }
.tv-hero-stats__list {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: 0.35rem 0.55rem;
}
.tv-hero-stats__list a {
  display: inline-flex; align-items: baseline; gap: 0.25rem;
  padding: 0.2rem 0.45rem;
  background: rgba(255,255,255,0.08);
  color: #e8f0f6; text-decoration: none; font-size: 0.84rem;
}
.tv-hero-stats__list a:hover { background: rgba(201, 132, 13, 0.28); color: #fff; text-decoration: none; }
.tv-hero-stats__list strong { color: #ffd27a; font-family: var(--tv-display); }
.tv-hero-stats__list em { color: #3dd6a5; font-style: normal; font-size: 0.78rem; }
.tv-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(7.5rem, 1fr));
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}
.tv-stats__item {
  background: var(--tv-station);
  color: #f4f7fa;
  padding: 0.65rem 0.75rem;
  border-top: 2px solid var(--tv-accent);
}
.tv-stats__item strong {
  display: block; font-family: var(--tv-display); font-size: 1.25rem;
}

/* Breadcrumb */
.tv-crumb {
  width: min(100% - 1.25rem, var(--tv-max));
  margin: 0.65rem auto 0;
  font-size: 0.85rem; color: var(--tv-muted);
}
.tv-crumb a { color: var(--tv-station-2); }

/* Detail / play essentials */
.tv-layout--side {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 16.5rem;
  gap: 1rem;
}
.tv-side, .tv-sidebar {
  display: flex; flex-direction: column; gap: 0.75rem;
}
.tv-play-stack, .tv-content--play-focus {
  display: flex; flex-direction: column; gap: 0.85rem;
}
.tv-player, .tv-play-player {
  background: #0a1622;
  aspect-ratio: 16 / 9;
  border: 1px solid #1c3348;
}
.tv-player iframe, .tv-play-player iframe,
.tv-player .MacPlayer, .tv-play-player .MacPlayer {
  width: 100%; height: 100%; border: 0;
}
.tv-actions, .tv-play-actions .tv-actions {
  display: flex; flex-wrap: wrap; gap: 0.4rem;
}
.tv-btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 2.4rem; padding: 0.35rem 0.85rem;
  border: 1px solid var(--tv-line); background: var(--tv-surface-2);
  color: var(--tv-ink); font-weight: 600; cursor: pointer;
}
.tv-btn--primary {
  background: var(--tv-accent); border-color: var(--tv-accent); color: #1a1205;
}
.tv-btn--ghost { background: transparent; }
.tv-btn:hover { text-decoration: none; filter: brightness(1.05); }

.tv-playlist__tabs {
  display: flex; flex-wrap: wrap; gap: 0.35rem; margin-bottom: 0.55rem;
}
.tv-playlist__tab {
  border: 1px solid var(--tv-line); background: var(--tv-surface-2);
  padding: 0.3rem 0.65rem; cursor: pointer; font: inherit;
}
.tv-playlist__tab.is-active, .tv-playlist__tab[aria-selected="true"] {
  background: var(--tv-station); border-color: var(--tv-station); color: #fff;
}
.tv-playlist__eps {
  display: flex; flex-wrap: wrap; gap: 0.35rem; max-height: 14rem; overflow: auto;
}
.tv-playlist__eps[hidden], .tv-playlist__eps.is-hidden { display: none !important; }
.tv-playlist__eps a {
  min-width: 3.2rem; text-align: center; padding: 0.35rem 0.5rem;
  background: var(--tv-surface-2); border: 1px solid var(--tv-line);
  color: var(--tv-ink); font-size: 0.85rem;
}
.tv-playlist__eps a.is-active, .tv-playlist__eps a[aria-current="true"],
.tv-playlist__eps a:hover {
  border-color: var(--tv-accent); color: var(--tv-accent-hover); text-decoration: none;
}

.tv-play-info__grid {
  display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); gap: 1rem;
}
.tv-play-info__dl { margin: 0; }
.tv-play-info__row { display: grid; grid-template-columns: 3.5rem 1fr; gap: 0.35rem; margin: 0.25rem 0; }
.tv-play-info__row dt { color: var(--tv-muted); }
.tv-prose { font-size: 0.95rem; color: var(--tv-text); }
.tv-prose p { margin: 0 0 0.75rem; }

.tv-faq details {
  border-bottom: 1px solid var(--tv-line-soft); padding: 0.45rem 0;
}
.tv-faq summary { cursor: pointer; font-weight: 650; }

/* Footer */
.tv-foot {
  margin-top: 1.5rem;
  padding: 1.25rem 0 1.75rem;
  background: var(--tv-station);
  color: rgba(244, 247, 250, 0.82);
}
.tv-foot a { color: #d7e6f2; }
.tv-foot a:hover { color: #fff; }
.tv-foot__station,
.tv-foot__nav,
.tv-foot__cats,
.tv-foot__meta {
  width: min(100% - 1.25rem, var(--tv-max));
  margin: 0 auto 0.85rem;
}
.tv-foot__station {
  display: flex; flex-wrap: wrap; gap: 0.5rem 1rem; align-items: baseline;
  font-family: var(--tv-display); letter-spacing: 0.05em;
}
.tv-foot__station strong { font-size: 1.2rem; color: #fff; }
.tv-foot__nav, .tv-foot__cats {
  display: flex; flex-wrap: wrap; gap: 0.45rem 0.85rem; font-size: 0.88rem;
}
.tv-foot__cats .tv-ch {
  display: inline; padding: 0; border: 0; background: none; color: #d7e6f2; font: inherit;
}
.tv-foot__cats .tv-ch em { display: none; }
.tv-foot__cats .tv-ch:hover { color: #fff; }
.tv-foot__meta { font-size: 0.82rem; }
.tv-foot__meta details summary { cursor: pointer; }

/* Paging */
.tv-page, .mac_pages {
  display: flex; flex-wrap: wrap; gap: 0.35rem; margin: 1rem 0;
}
.tv-page a, .mac_pages a, .mac_pages span {
  min-width: 2.2rem; text-align: center; padding: 0.35rem 0.5rem;
  border: 1px solid var(--tv-line); background: var(--tv-surface);
}

/* Search page */
.tv-search--page {
  display: flex; max-width: 32rem; margin: 0.75rem 0;
  border: 1px solid var(--tv-line); background: #fff;
}
.tv-search--page input {
  flex: 1; border: 0; padding: 0.65rem 0.85rem; outline: none;
}
.tv-search--page button {
  border: 0; background: var(--tv-station); color: #fff;
  padding: 0 1rem; font-weight: 700; cursor: pointer;
}

/* Rank list */
.tv-rank { list-style: none; margin: 0; padding: 0; }
.tv-rank li {
  display: grid; grid-template-columns: 2rem 1fr auto;
  gap: 0.5rem; align-items: center;
  padding: 0.45rem 0; border-bottom: 1px solid var(--tv-line-soft);
}
.tv-rank li:has(> a:first-child) { grid-template-columns: 1fr auto; }
.tv-rank li .score {
  font-family: var(--tv-display); font-weight: 700; color: var(--tv-score);
}
.tv-rank__n {
  font-family: var(--tv-display); font-weight: 700; color: var(--tv-accent);
}

/* Detail flow gaps */
.tv-flow { display: flex; flex-direction: column; gap: 0.85rem; }
.tv-flow--gap-cozy { gap: 1rem; }
.tv-flow--gap-tight { gap: 0.65rem; }

/* Focus */
.tv-ch:focus-visible,
.tv-btn:focus-visible,
.tv-tune input:focus-visible,
.tv-playlist__tab:focus-visible,
.tv-playlist__eps a:focus-visible,
.tv-root .n1-card__link:focus-visible {
  outline: 2px solid var(--tv-accent);
  outline-offset: 2px;
}

/* Responsive */
@media (max-width: 1100px) {
  .tv-grid, .tv-grid--lead, .tv-grid--play-more {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
@media (max-width: 820px) {
  .tv-layout--side { grid-template-columns: 1fr; }
  .tv-grid, .tv-grid--lead, .tv-grid--play-more {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .tv-tune { max-width: none; margin-left: 0; flex: 1 1 100%; }
  .tv-callsign__on { display: none; }
  .tv-play-info__grid { grid-template-columns: 5.5rem 1fr; }
}
@media (max-width: 560px) {
  .tv-grid, .tv-grid--lead, .tv-grid--play-more {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .tv-panel, .tv-slot { padding: 0.7rem 0.75rem 0.85rem; }
}
@media (prefers-reduced-motion: reduce) {
  .tv-callsign__dot { animation: none; }
  html { scroll-behavior: auto; }
}
\n

/* N1_CRAWL_ONLY: homepage SEO intros/blurbs — in HTML for spiders, hidden for humans */
.n1-home-intro,
.n1-cat-blurb,
.nt-home-intro,
.nt-cat-blurb,
.tv-home-intro,
.tv-cat-blurb,
.mv-home-intro,
.mv-cat-blurb,
.n1-crawl-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

