/* Agora na TV: the approved open composition, inside the existing app shell.
   All component rules stay under .ntv so other catalogues keep their geometry. */
@property --ntv-orbit-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

.ntv {
  --ntv-ease: cubic-bezier(.22, .7, .2, 1);
  --ntv-media-radius: 11px;
  container: now-tv / inline-size;
  width: 100%;
  min-width: 0;
  padding: 9px 0 12px;
  color: var(--text);
}
.ntv *, .ntv *::before, .ntv *::after { box-sizing: border-box; }
.ntv :is(button, a, select) { -webkit-tap-highlight-color: transparent; }
.ntv button { font-family: inherit; }
.ntv .ntv-icon {
  display: inline-block;
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
  vertical-align: middle;
}
.ntv :is(button, a, select):focus-visible {
  outline: 2px solid var(--accent-bright);
  outline-offset: 5px;
}

/* The programme stays on the left and the preview follows the main content's
   right edge. Its ratio and the text slots never change. */
.ntv .ntv-top {
  display: flex;
  align-items: flex-start;
  gap: clamp(32px, 4cqi, 64px);
  width: 100%;
  max-width: none;
  min-height: 280px;
  margin: 0 0 12px;
}
.ntv .ntv-intro {
  flex: 1 1 500px;
  min-width: 0;
  max-width: 560px;
  padding-top: 4px;
}
.ntv .ntv-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 17px;
  color: color-mix(in srgb, var(--text-muted) 70%, var(--accent) 30%);
  font-size: 9px;
  line-height: 1.6;
  font-weight: 550;
  letter-spacing: .23em;
}
.ntv .ntv-eyebrow::before {
  content: '';
  flex: 0 0 5px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px color-mix(in srgb, var(--accent) 35%, transparent);
}
.ntv .ntv-eyebrow > span:empty { display: none; }
.ntv .ntv-title {
  max-width: none;
  margin: 0 0 15px;
  color: var(--text);
  font-size: clamp(34px, 3.7cqi, 51px);
  line-height: 1.08;
  font-weight: 650;
  letter-spacing: -.045em;
}
.ntv .ntv-title > span { color: var(--accent); }
.ntv .ntv-lead {
  max-width: 490px;
  margin: 0;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
}
.ntv :is(.ntv-selected-info, .ntv-feature) { min-width: 0; margin-top: 20px; }
.ntv .ntv-info-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  min-height: 26px;
}
.ntv .ntv-channel-logo {
  display: block;
  flex: 0 1 auto;
  max-width: min(220px, 60%);
  min-width: 0;
  height: 27px;
  color: var(--text);
  font-size: 17px;
  line-height: 27px;
  font-weight: 750;
  letter-spacing: -.025em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ntv .ntv-channel-logo img {
  display: block;
  width: auto;
  max-width: 88px;
  height: 20px;
  object-fit: contain;
  object-position: left center;
}
.ntv .ntv-channel-logo > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ntv .ntv-info-dot { width: 3px; height: 3px; flex: 0 0 3px; border-radius: 50%; background: var(--text-faint); opacity: .6; }
.ntv .ntv-live-copy { color: var(--text-muted); font-size: 9px; font-weight: 500; line-height: 1.4; letter-spacing: .14em; }
.ntv .ntv-program-title {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  min-height: 2.4em;
  max-height: 2.4em;
  margin: 10px 0 9px;
  color: var(--text);
  font-size: clamp(24px, 2.2cqi, 30px);
  line-height: 1.2;
  letter-spacing: -.035em;
  font-weight: 600;
  overflow-wrap: anywhere;
}
.ntv .ntv-description {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  min-height: 3.2em;
  margin: 0;
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}
.ntv .ntv-selected-time {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px 11px;
  min-height: 18px;
  margin-top: 12px;
  color: var(--text-faint);
  font-size: 11px;
  line-height: 1.5;
  font-variant-numeric: tabular-nums;
}
.ntv .ntv-selected-time b { color: var(--text-faint); opacity: .55; font-size: 7px; }

.ntv .ntv-preview-area { flex: 0 0 clamp(320px, 33cqi, 430px); width: clamp(320px, 33cqi, 430px); min-width: 300px; max-width: 100%; margin-left: auto; }
.ntv .ntv-preview-kicker {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  min-height: 14px;
  margin: 0 0 8px;
  color: var(--text-muted);
  font-size: 9px;
  line-height: 1.5;
  letter-spacing: .14em;
}
.ntv .ntv-preview-dot { width: 5px; height: 5px; flex: 0 0 5px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 9px color-mix(in srgb, var(--accent) 35%, transparent); }
.ntv .ntv-preview-channel {
  overflow: hidden;
  min-width: 0;
  margin-left: auto;
  color: var(--text-faint);
  font-size: 9px;
  text-align: right;
  text-overflow: ellipsis;
  white-space: nowrap;
  letter-spacing: .06em;
}
.ntv .ntv-preview {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--ntv-media-radius);
  background: var(--media-surface);
  box-shadow: 0 12px 30px rgb(0 0 0 / .20);
}
.ntv .ntv-preview-slot { width: 100%; aspect-ratio: 16 / 9; min-width: 0; }
.ntv .ntv-preview.is-floating {
  --ntv-safe-top: env(safe-area-inset-top, 0px);
  --ntv-safe-right: env(safe-area-inset-right, 0px);
  --ntv-safe-bottom: env(safe-area-inset-bottom, 0px);
  --ntv-safe-left: env(safe-area-inset-left, 0px);
  position: fixed;
  z-index: 92;
  inset: var(--ntv-float-top, auto) auto auto var(--ntv-float-left, auto);
  width: var(--ntv-float-width, min(360px, 28vw, 65dvh * 16 / 9));
  min-width: 0;
  max-width: calc(100vw - 32px);
  height: auto;
  margin: 0;
  padding: 0;
  border: 1px solid #ffffff24;
  border-radius: 12px;
  color: var(--text);
  box-shadow: 0 8px 36px #0009;
  transform-origin: top left;
}
.ntv .ntv-preview.is-floating.is-floating-moving { will-change: transform; }
.ntv .ntv-preview.is-floating.is-floating-dragging { transition: none; animation: none; }
.ntv .ntv-preview.is-floating.is-floating-hiding { animation: ntv-floating-exit 180ms ease-in both; }
.ntv .ntv-preview.is-floating { cursor: grab; touch-action: none; user-select: none; }
.ntv .ntv-preview.is-floating.is-floating-dragging { cursor: grabbing; }
.ntv .ntv-preview.is-floating :is(button,a,input,select,textarea) { touch-action: manipulation; }
.ntv .ntv-preview-held-frame { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #060709; }
.ntv .ntv-preview-held-frame[hidden] { display: none; }
.ntv .ntv-preview[data-handoff='true'] .ntv-preview-state { align-items: flex-start; justify-content: flex-start; text-align: left; padding: 14px 110px 60px 14px; background: linear-gradient(180deg,#0006,transparent 55%); pointer-events: none; }
.ntv .ntv-preview[data-handoff='true'] .ntv-preview-status { color: #f2efe8; font-size: 10px; }
.ntv .ntv-preview.is-floating::backdrop { background: transparent; pointer-events: none; }
.ntv .ntv-preview.is-floating.is-floating-fallback {
  inset: var(--ntv-float-top) auto auto var(--ntv-float-left);
  width: var(--ntv-float-width);
}
.ntv .ntv-preview-area:has(.is-floating-fallback) { animation: none; }
.ntv .ntv-preview-float-close {
  position: absolute;
  z-index: 6;
  top: 4px;
  right: 4px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  min-height: 44px;
  margin: 0;
  padding: 10px;
  border: 0;
  border-radius: 50%;
  background: #090a0edb;
  color: #fff;
  box-shadow: none;
}
.ntv .ntv-preview-float-close[hidden] { display: none; }
.ntv .ntv-preview-float-close .ntv-icon { width: 20px; height: 20px; }
.ntv .ntv-preview-float-close:focus-visible { outline: 2px solid var(--accent, #e31332); outline-offset: -2px; }
.ntv .ntv-preview.is-floating:focus-visible { outline: 2px solid var(--accent, #e31332); outline-offset: 3px; }
body.mobile-shell-active .ntv .ntv-preview.is-floating {
  width: var(--ntv-float-width, min(280px, 70vw, 65dvh * 16 / 9));
}
@media (prefers-reduced-motion: reduce) { .ntv .ntv-preview.is-floating { transition: none; animation: none; } }
.ntv .ntv-preview-slot[data-floating='true'] { border-radius: var(--ntv-media-radius); background: var(--media-surface); }
@keyframes ntv-floating-exit { from { opacity: 1; transform: none; } to { opacity: 0; transform: translateY(6px) scale(.97); } }
.ntv .ntv-preview-media, .ntv .ntv-preview > .ntv-visual {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  object-fit: cover;
}
.ntv video.ntv-preview-media { object-fit: contain; background: #060709; }
.ntv .ntv-preview-media { opacity: 1; transition: opacity 220ms ease; }
.ntv .ntv-preview[data-state='ready'] video.ntv-preview-media { animation: ntv-preview-reveal 240ms ease both; }
.ntv .ntv-preview-poster > img { position: absolute; inset: 0; }
.ntv .ntv-preview-fallback { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 35px; color: var(--text-muted); font-size: 24px; font-weight: 650; letter-spacing: -.035em; text-align: center; }
.ntv .ntv-preview-fallback .ntv-icon { width: 36px; height: 36px; }
.ntv .ntv-preview-media.is-entering, .ntv .ntv-preview-media.is-loading { opacity: 0; }
.ntv .ntv-preview-gradient { position: absolute; z-index: 1; inset: 0; pointer-events: none; background: linear-gradient(0deg, rgb(0 0 0 / .67), transparent 40%); }
.ntv .ntv-preview-live {
  position: absolute;
  z-index: 3;
  top: 12px;
  left: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 8px;
  border-radius: 999px;
  background: rgb(8 10 14 / .56);
  color: #f3f1ed;
  font-size: 8px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: .05em;
  backdrop-filter: blur(12px);
}
.ntv .ntv-preview-live > span { width: 4px; height: 4px; border-radius: 50%; background: #ff304c; }
.ntv .ntv-preview-bottom {
  position: absolute;
  z-index: 4;
  right: 11px;
  bottom: 10px;
  left: 11px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.ntv .ntv-preview-bottom button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 34px;
  width: 34px;
  min-height: 34px;
  height: 34px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgb(255 255 255 / .10);
  color: #f3f1ed;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .13);
  backdrop-filter: blur(12px);
  transition: background 180ms ease, box-shadow 180ms ease, transform 180ms var(--ntv-ease);
}
.ntv .ntv-preview-bottom button:not(:disabled):hover { transform: translateY(-1px); background: rgb(255 255 255 / .19); box-shadow: 0 0 15px rgb(227 19 50 / .17); }
.ntv .ntv-preview-bottom .ntv-icon { width: 15px; height: 15px; }
.ntv .ntv-preview-bottom :is(.ntv-expand, .expand, [data-action='expand']) { margin-left: auto; }
.ntv .ntv-preview-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin-top: 10px; }
.ntv .ntv-glass, .ntv .ntv-preview-actions > .ntv-watch {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  padding: 11px 17px;
  border: 0;
  border-radius: 999px;
  background: var(--glass-background);
  color: var(--text);
  box-shadow: inset 0 1px 1px color-mix(in srgb, var(--text) 23%, transparent), 0 5px 16px rgb(0 0 0 / .16), 0 6px 14px color-mix(in srgb, var(--accent) 12%, transparent);
  font-size: 13px;
  font-weight: 550;
  line-height: 1.4;
  white-space: nowrap;
  transition: box-shadow 200ms ease, transform 200ms var(--ntv-ease), background-color 200ms ease;
}
.ntv .ntv-glass:not(:disabled):hover, .ntv .ntv-preview-actions > .ntv-watch:not(:disabled):hover {
  transform: translateY(-2px);
  background-color: var(--hover);
  box-shadow: inset 0 1px 1px color-mix(in srgb, var(--text) 30%, transparent), 0 8px 22px rgb(0 0 0 / .20), 0 6px 20px color-mix(in srgb, var(--accent) 22%, transparent);
}
.ntv .ntv-preview-actions .ntv-icon { width: 14px; height: 14px; }
.ntv .ntv-auto-note { display: none; max-width: 100%; margin: 10px 0 0; color: var(--text-faint); font-size: 10px; line-height: 1.6; }
.ntv .ntv-quality { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 12px; color: var(--text-faint); font-size: 10px; }
.ntv .ntv-quality select { width: auto; max-width: 100%; min-height: 34px; padding: 7px 32px 7px 11px; border-color: var(--line-soft); font-size: 11px; }
.ntv .ntv-preview-actions > .ntv-quality { margin-top: 0; margin-left: auto; }
.ntv .ntv-preview-actions .ntv-quality-select { max-width: 103px; }
.ntv .ntv-preview-actions .ntv-quality-caption { display: none; }

/* Honest loading and error states keep the 16:9 surface reserved. */
.ntv .ntv-preview-state {
  position: absolute;
  z-index: 2;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 40px 28px;
  background: linear-gradient(150deg, color-mix(in srgb, var(--surface) 90%, transparent), color-mix(in srgb, var(--canvas) 94%, transparent));
  text-align: center;
  animation: ntv-state-enter 220ms ease both;
}
.ntv .ntv-preview-status { max-width: 310px; margin: 0; color: var(--text-muted); font-size: 12px; line-height: 1.6; }
.ntv .ntv-preview-loader { position: relative; width: 21px; height: 25px; background: var(--accent); clip-path: polygon(0 0, 100% 50%, 0 100%); animation: ntv-play-breathe 1.45s ease-in-out infinite; }
.ntv .ntv-preview-retry { min-height: 36px; padding: 8px 15px; font-size: 11px; }
.ntv .ntv-preview-state[data-state='error'] .ntv-preview-loader { display: none; }

.ntv .ntv-section-heading { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin: 0; }
.ntv .ntv-program-section { position: relative; min-width: 0; }
.ntv .ntv-section-heading h2 { margin: 0 0 5px; color: var(--text); font-size: clamp(21px, 1.8cqi, 25px); font-weight: 550; line-height: 1.3; letter-spacing: -.025em; }
.ntv .ntv-section-lead, .ntv .ntv-section-heading p { margin: 0; color: var(--text-faint); font-size: 12px; line-height: 1.6; }
.ntv .ntv-clock { display: flex; align-items: center; flex: 0 0 auto; gap: 8px; color: var(--text-faint); font-size: 10px; font-variant-numeric: tabular-nums; }
.ntv .ntv-clock .ntv-icon { width: 14px; height: 14px; }
.ntv .ntv-clock b { color: var(--text); font-size: 14px; font-weight: 500; }
.ntv .ntv-clock time { color: var(--text); font-size: 14px; font-weight: 500; }
.ntv .ntv-clock span { margin-left: 3px; }
.ntv .ntv-filters { display: flex; justify-content: space-between; align-items: center; flex-wrap: nowrap; gap: 12px; margin: 12px 0 10px; }
.ntv .ntv-filter-items { display: flex; flex: 1 1 auto; overflow-x: auto; overflow-y: hidden; flex-wrap: nowrap; align-items: center; gap: 3px; min-width: 0; padding: 3px 3px 6px; --scrollbar-thumb: var(--scrollbar-horizontal-thumb); --scrollbar-thumb-hover: var(--scrollbar-horizontal-thumb-hover); --scrollbar-thumb-active: var(--scrollbar-horizontal-thumb-active); }
.ntv .ntv-filter-items > button {
  position: relative;
  isolation: isolate;
  flex: 0 0 auto;
  min-height: 34px;
  padding: 7px 11px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--text-faint);
  box-shadow: none;
  font-size: 10.5px;
  font-weight: 450;
  line-height: 1.4;
  transition: color 180ms ease, background-color 180ms ease, box-shadow 180ms ease, transform 180ms var(--ntv-ease);
}
.ntv .ntv-filter-items > button:hover { transform: translateY(-1px); background: var(--hover); color: var(--text); }
.ntv .ntv-filter-items > :is(.on, .is-active, [aria-pressed='true']) { background: linear-gradient(180deg, color-mix(in srgb, var(--text) 7%, transparent), color-mix(in srgb, var(--text) 3%, transparent)); color: var(--text); box-shadow: inset 0 1px color-mix(in srgb, var(--text) 8%, transparent); }
.ntv .ntv-count { flex: 0 0 auto; max-width: 100%; margin-left: auto; color: var(--text-faint); font-size: 10px; line-height: 1.6; white-space: nowrap; }
.ntv .ntv-category { display: flex; flex: 0 1 180px; min-width: 0; align-items: center; gap: 6px; color: var(--text-faint); font-size: 11px; }
.ntv .ntv-category-caption { display: none; }
.ntv .ntv-category-select { width: 100%; max-width: 180px; min-height: 34px; padding: 7px 30px 7px 11px; border-color: var(--line-soft); font-size: 10.5px; }
.ntv .ntv-guide-tools { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin: 0 0 12px; }
.ntv .ntv-scan { min-height: 30px; padding: 5px 10px; border-color: transparent; background: transparent; box-shadow: none; color: var(--text-faint); font-size: 10px; }
.ntv .ntv-scan:hover { background: var(--hover); color: var(--text); }
.ntv .ntv-scan .ntv-icon { width: 13px; height: 13px; margin-right: 6px; }
.ntv .ntv-scan-progress { min-width: 0; color: var(--text-faint); font-size: 11px; line-height: 1.5; }
.ntv .ntv-scan-progress[data-loading='true']::before { content: ''; display: inline-block; width: 8px; height: 10px; margin-right: 8px; vertical-align: -1px; clip-path: polygon(0 0, 100% 50%, 0 100%); background: var(--accent); animation: ntv-play-breathe 1.4s ease-in-out infinite; }
.ntv .ntv-guide-track { overflow: hidden; width: 90px; height: 2px; border-radius: 999px; background: color-mix(in srgb, var(--progress-rest) 45%, transparent); }
.ntv .ntv-guide-track > span { display: block; height: 100%; border-radius: inherit; background: var(--accent); box-shadow: 0 0 8px color-mix(in srgb, var(--accent) 35%, transparent); transition: width 350ms ease; }
.ntv .ntv-guide-tools[data-loading='true'] .ntv-scan .ntv-icon { color: var(--accent-bright); }

.ntv .ntv-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); column-gap: 22px; row-gap: 27px; min-width: 0; padding-top: 2px; }
.ntv .ntv-program-cell { position: relative; min-width: 0; border-radius: var(--ntv-media-radius); animation: ntv-card-enter 280ms var(--ntv-ease) both; animation-delay: calc(min(var(--ntv-order, 0), 6) * 16ms); }
.ntv .ntv-program {
  position: relative;
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: var(--ntv-media-radius);
  background: transparent;
  color: var(--text);
  box-shadow: none;
  text-align: left;
  cursor: pointer;
  transition: transform 230ms var(--ntv-ease);
}
.ntv .ntv-program:is(:hover, :active) { background: transparent; box-shadow: none; }
.ntv .ntv-program:focus-visible { outline-offset: 6px; }
.ntv .ntv-art {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--ntv-media-radius);
  background: var(--media-surface);
  box-shadow: 0 7px 19px rgb(0 0 0 / .13);
  transition: box-shadow 230ms ease, filter 230ms ease;
}
.ntv .ntv-art > img, .ntv .ntv-art > .ntv-visual, .ntv .ntv-visual > img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.ntv .ntv-visual { position: relative; overflow: hidden; width: 100%; height: 100%; background: var(--media-surface); }
.ntv .ntv-art.ntv-visual { height: auto; }
.ntv .ntv-visual > img { opacity: 1; transition: opacity 260ms ease, transform 500ms var(--ntv-ease); }
.ntv .ntv-visual[data-image='loading'] > img { opacity: 0; }
.ntv .ntv-visual[data-image='error'] > img { display: none; }
.ntv .ntv-visual[data-image='loading']::after { content: ''; position: absolute; z-index: 1; inset: 0; background: linear-gradient(105deg, transparent 25%, color-mix(in srgb, var(--text) 6%, transparent) 48%, transparent 70%); background-size: 250% 100%; animation: ntv-media-shimmer 1.6s ease-in-out infinite; }
.ntv .ntv-art[data-image='loading']::after { padding: 0; -webkit-mask: none; mask: none; opacity: 1; }
.ntv .ntv-art::before { content: ''; position: absolute; z-index: 1; inset: 0; pointer-events: none; background: linear-gradient(0deg, rgb(0 0 0 / .22), transparent 52%); }
.ntv .ntv-art::after {
  content: '';
  position: absolute;
  z-index: 4;
  inset: 0;
  padding: 1px;
  border-radius: inherit;
  background: conic-gradient(from var(--ntv-orbit-angle), transparent 0 64%, color-mix(in srgb, var(--accent) 0%, transparent) 73%, var(--accent) 88%, #f3b4be 93%, var(--accent) 97%, transparent);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  opacity: 0;
  pointer-events: none;
  transition: opacity 200ms ease;
}
.ntv .ntv-program.is-selected .ntv-art { box-shadow: 0 8px 23px color-mix(in srgb, var(--accent) 10%, transparent), 0 7px 20px rgb(0 0 0 / .19); }
.ntv .ntv-program.is-selected .ntv-art::before { background: linear-gradient(0deg, color-mix(in srgb, var(--accent) 10%, transparent), transparent 30%); }
.ntv .ntv-art-logo {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(48%, 80px);
  height: min(32%, 40px);
  transform: translate(-50%, -50%);
  color: #f2efe8;
  font-size: 14px;
  font-weight: 750;
  text-align: center;
  letter-spacing: -.035em;
  text-shadow: none;
}
.ntv .ntv-art-logo img { width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; filter: none; }
.ntv .ntv-channel-art {
  background: linear-gradient(145deg, color-mix(in srgb, var(--media-surface) 93%, #fff 7%), var(--media-surface));
}
.ntv .ntv-channel-art > img, .ntv .ntv-channel-art > .ntv-visual > img {
  position: absolute;
  top: 50%;
  left: 50%;
  display: block;
  width: min(72px, 60%);
  height: 36px;
  transform: translate(-50%, -50%);
  object-fit: contain;
  object-position: center;
  filter: none;
}
.ntv .ntv-channel-art .ntv-art-label { display: none; }
.ntv .ntv-channel-art::before { background: transparent; }
.ntv .ntv-program.is-selected .ntv-channel-art::before { background: linear-gradient(0deg, color-mix(in srgb, var(--accent) 7%, transparent), transparent 26%); }
.ntv .ntv-card-media {
  position: absolute;
  z-index: 2;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: contain;
  background: #060709;
  pointer-events: none;
}
.ntv .ntv-channel-art[data-preview='ready'] .ntv-card-media { animation: ntv-preview-reveal 240ms ease both; }
.ntv .ntv-card-preview-state {
  position: absolute;
  z-index: 3;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 5px;
  padding: 12px;
  background: linear-gradient(0deg, rgb(6 7 9 / .68), transparent 58%);
  pointer-events: none;
}
.ntv .ntv-card-preview-loader {
  display: block;
  width: 10px;
  height: 12px;
  flex: 0 0 12px;
  clip-path: polygon(0 0, 100% 50%, 0 100%);
  background: var(--accent-bright);
  animation: ntv-play-breathe 1.35s ease-in-out infinite;
}
.ntv .ntv-card-preview-message { max-width: 100%; margin: 0; color: #f2efe8; font-size: 10px; line-height: 1.5; text-align: center; text-shadow: 0 1px 5px #000; }
.ntv .ntv-channel-art:is([data-preview='idle'], [data-preview='ready']) .ntv-card-preview-state { display: none; }
.ntv .ntv-art-label { position: absolute; z-index: 2; right: 10px; bottom: 9px; left: 10px; overflow: hidden; color: #dedde2; font-size: 9px; line-height: 1.5; text-overflow: ellipsis; white-space: nowrap; text-shadow: 0 1px 4px #000; }
.ntv .ntv-badge, .ntv .ntv-on-preview {
  position: absolute;
  z-index: 3;
  top: 10px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 8px;
  border-radius: 999px;
  background: rgb(11 13 18 / .56);
  color: #f5f2ef;
  font-size: 8px;
  font-weight: 500;
  line-height: 1.35;
  white-space: nowrap;
  backdrop-filter: blur(10px);
}
.ntv .ntv-badge { left: 10px; }
.ntv .ntv-on-preview { right: 10px; display: none; }
.ntv .ntv-badge > span, .ntv .ntv-on-preview > span { width: 4px; height: 4px; flex: 0 0 4px; border-radius: 50%; background: #f52e4b; }
.ntv .ntv-badge::before, .ntv .ntv-on-preview::before { content: ''; width: 4px; height: 4px; flex: 0 0 4px; border-radius: 50%; background: #f52e4b; }
.ntv .ntv-program.is-selected .ntv-on-preview { display: inline-flex; }
.ntv .ntv-on-preview > span { box-shadow: 0 0 8px #f52e4b80; }
.ntv .ntv-mini-channel { display: flex; align-items: center; gap: 7px; min-width: 0; min-height: 18px; margin: 11px 26px 5px 0; color: var(--text-muted); font-size: 11px; line-height: 1.45; }
.ntv .ntv-mini-channel > span { overflow: hidden; min-width: 0; text-overflow: ellipsis; white-space: nowrap; }
.ntv .ntv-logo { display: inline-flex; flex: 0 1 auto; align-items: center; min-width: 0; max-width: 65%; color: var(--text); font-size: 12px; font-weight: 650; line-height: 1.4; letter-spacing: -.015em; }
.ntv .ntv-logo img { display: block; width: auto; height: 16px; max-width: 78px; object-fit: contain; object-position: left center; }
.ntv .ntv-separator { color: var(--text-faint); opacity: .45; font-size: 7px; }
.ntv .ntv-program-name { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; min-height: 2.7em; margin: 0; color: var(--text); font-size: 16px; font-weight: 500; line-height: 1.35; letter-spacing: -.015em; overflow-wrap: anywhere; }
.ntv .ntv-program-meta { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; min-height: 17px; margin: 7px 0 9px; color: var(--text-faint); font-size: 10px; line-height: 1.5; font-variant-numeric: tabular-nums; }
.ntv .ntv-program-meta > span { min-width: 0; }
.ntv .ntv-program-meta > span:last-child { text-align: right; }
.ntv .ntv-track { position: relative; overflow: visible; width: 100%; height: 2px; border-radius: 999px; background: color-mix(in srgb, var(--progress-rest) 55%, transparent); }
.ntv .ntv-track > span, .ntv .ntv-progress-line { position: relative; display: block; width: var(--progress, 0%); height: 2px; border-radius: inherit; background: color-mix(in srgb, var(--accent) 83%, var(--text-faint)); box-shadow: 0 0 7px color-mix(in srgb, var(--accent) 20%, transparent); transition: width 600ms linear, box-shadow 220ms ease; }
.ntv .ntv-program.is-selected :is(.ntv-track > span, .ntv-progress-line) { background: var(--accent-bright); box-shadow: 0 0 10px color-mix(in srgb, var(--accent) 45%, transparent); }
.ntv .ntv-track > span::after, .ntv .ntv-progress-line::after { content: ''; position: absolute; top: -1px; right: -1px; width: 4px; height: 4px; border-radius: 50%; background: inherit; }
.ntv .ntv-track[data-state='unavailable'] { opacity: .35; }
.ntv .ntv-favorite {
  position: absolute;
  z-index: 5;
  top: 0;
  right: -4px;
  bottom: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  min-height: 30px;
  margin-top: calc(56.25% + 5px);
  padding: 5px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--text-faint);
  box-shadow: none;
  opacity: .75;
  transition: color 180ms ease, opacity 180ms ease, filter 180ms ease, transform 180ms var(--ntv-ease);
}
.ntv .ntv-favorite::before { content: ''; width: 15px; height: 18px; background: currentColor; mask: var(--ui-favorite-outline) center / contain no-repeat; -webkit-mask: var(--ui-favorite-outline) center / contain no-repeat; }
.ntv .ntv-favorite[aria-pressed='true'] { color: var(--accent-bright); opacity: 1; }
.ntv .ntv-favorite[aria-pressed='true']::before { -webkit-mask-image: var(--ui-favorite-filled); mask-image: var(--ui-favorite-filled); }
.ntv .ntv-favorite:hover { background: transparent; color: var(--accent-bright); opacity: 1; filter: drop-shadow(0 0 6px color-mix(in srgb, var(--accent) 45%, transparent)); transform: translateY(-2px); }
.ntv .ntv-favorite .ntv-icon { display: none; }
.ntv .ntv-preview-actions > .ntv-feature-favorite { position: relative; inset: auto; flex: 0 0 36px; width: 36px; height: 40px; min-height: 40px; margin: 0; padding: 8px; border: 0; background: transparent; box-shadow: none; }
.ntv .ntv-feature-favorite::before { width: 17px; height: 20px; }
.ntv .ntv-preview-actions > .ntv-feature-favorite:hover { background: transparent; box-shadow: none; }

.ntv .ntv-continuation { margin: 28px 0 10px; }
.ntv .ntv-empty { grid-column: 1 / -1; min-height: 190px; padding: 45px 0; color: var(--text-muted); font-size: 13px; line-height: 1.7; }
.ntv .ntv-empty h3 { margin: 0 0 8px; color: var(--text); font-size: 19px; font-weight: 550; letter-spacing: -.02em; }
.ntv .ntv-empty p { max-width: 530px; margin: 0 0 16px; }
.ntv .ntv-footnote { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; margin: 32px 0 0; color: var(--text-faint); opacity: .8; font-size: 10px; line-height: 1.7; }
.ntv .ntv-footnote > span:last-child { font-size: 9px; }
.ntv .ntv-skeleton { pointer-events: none; }
.ntv .ntv-skeleton .ntv-art { background: var(--media-surface); }
.ntv .ntv-skeleton :is(.ntv-art, .ntv-program-name, .ntv-mini-channel, .ntv-program-meta) { position: relative; overflow: hidden; }
.ntv .ntv-skeleton :is(.ntv-art, .ntv-program-name, .ntv-mini-channel, .ntv-program-meta)::after { content: ''; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 25%, color-mix(in srgb, var(--text) 6%, transparent) 48%, transparent 70%); background-size: 250% 100%; animation: ntv-media-shimmer 1.6s ease-in-out infinite; }
.ntv .ntv-skeleton .ntv-art::after { padding: 0; -webkit-mask: none; mask: none; opacity: 1; }
.ntv .ntv-skeleton :is(.ntv-program-name, .ntv-mini-channel, .ntv-program-meta) { width: 80%; border-radius: 5px; color: transparent; background: var(--surface); }
.ntv .ntv-skeleton .ntv-mini-channel { width: 45%; }
.ntv .ntv-skeleton .ntv-program-name { min-height: 22px; margin-bottom: 16px; }
.ntv .ntv-skeleton .ntv-program-meta { width: 65%; }
.ntv .ntv-skeleton > span { position: relative; display: block; overflow: hidden; width: 72%; height: 14px; margin-top: 13px; border-radius: 4px; background: var(--surface); }
.ntv .ntv-skeleton > span:last-child { width: 46%; height: 10px; margin-top: 10px; }
.ntv .ntv-skeleton > span::after { content: ''; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 25%, color-mix(in srgb, var(--text) 6%, transparent) 48%, transparent 70%); background-size: 250% 100%; animation: ntv-media-shimmer 1.6s ease-in-out infinite; }

/* Movement is local: the programme text stays stable, the cover lifts, and a
   restrained red glint travels around its edge only during interaction. */
@media (hover: hover) and (pointer: fine) {
  .ntv .ntv-program-cell:hover .ntv-program { transform: translateY(-5px); }
  .ntv .ntv-program-cell:hover .ntv-art { box-shadow: 0 11px 28px rgb(0 0 0 / .28), 0 0 24px color-mix(in srgb, var(--accent) 19%, transparent), 0 8px 22px color-mix(in srgb, var(--accent) 12%, transparent); }
  .ntv .ntv-program-cell:hover .ntv-visual > img { transform: scale(1.035); }
  .ntv .ntv-program-cell:hover .ntv-art::after { opacity: 1; animation: ntv-hover-orbit 2.8s linear infinite; }
}
.ntv .ntv-program:focus-visible .ntv-art { box-shadow: 0 0 22px color-mix(in srgb, var(--accent) 21%, transparent); }
.ntv .ntv-program:focus-visible .ntv-art::after { opacity: 1; animation: ntv-hover-orbit 2.8s linear infinite; }
.ntv .ntv-glass::after, .ntv .ntv-preview-actions > .ntv-watch::after {
  content: '';
  position: absolute;
  inset: 0;
  padding: 1px;
  border-radius: inherit;
  background: conic-gradient(from var(--ntv-orbit-angle), transparent 0 67%, var(--accent) 86%, #f2b6c0 93%, var(--accent) 97%, transparent);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0;
  transition: opacity 180ms ease;
}
.ntv .ntv-glass:not(:disabled):is(:hover, :focus-visible)::after, .ntv .ntv-preview-actions > .ntv-watch:not(:disabled):is(:hover, :focus-visible)::after { opacity: .85; animation: ntv-hover-orbit 3s linear infinite; }
.ntv .ntv-intro, .ntv .ntv-section-heading, .ntv .ntv-filters { animation: ntv-section-enter 280ms var(--ntv-ease) both; }
.ntv .ntv-preview-area { animation: ntv-section-enter 320ms var(--ntv-ease) both; }
@keyframes ntv-hover-orbit { to { --ntv-orbit-angle: 360deg; } }
@keyframes ntv-section-enter { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes ntv-card-enter { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@keyframes ntv-state-enter { from { opacity: 0; } to { opacity: 1; } }
@keyframes ntv-preview-reveal { from { opacity: 0; transform: scale(1.01); } to { opacity: 1; transform: scale(1); } }
@keyframes ntv-play-breathe { 0%, 100% { opacity: .35; transform: scale(.94); } 50% { opacity: .95; transform: scale(1); } }
@keyframes ntv-media-shimmer { from { background-position: 160% 0; } to { background-position: -100% 0; } }

/* Breakpoints follow available catalogue width, including the existing rail. */
@container now-tv (max-width: 1389px) {
  .ntv .ntv-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@container now-tv (min-width: 1000px) {
  .ntv .ntv-section-heading > :first-child { max-width: calc(100% - 460px); }
  .ntv .ntv-guide-tools { position: absolute; top: 1px; right: 175px; flex-wrap: nowrap; gap: 8px; width: 257px; min-height: 30px; margin: 0; }
  .ntv .ntv-guide-tools .ntv-scan { position: relative; flex: 0 0 28px; width: 28px; height: 30px; min-height: 30px; padding: 5px; }
  .ntv .ntv-guide-tools .ntv-scan > span { position: absolute; overflow: hidden; width: 1px; height: 1px; padding: 0; margin: -1px; clip-path: inset(50%); white-space: nowrap; }
  .ntv .ntv-guide-tools .ntv-scan .ntv-icon { display: block; width: 15px; height: 15px; margin: 0 auto; }
  .ntv .ntv-guide-tools .ntv-scan-progress { overflow: hidden; flex: 0 0 165px; width: 165px; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
  .ntv .ntv-guide-tools .ntv-guide-track { flex: 0 0 48px; width: 48px; }
}
@container now-tv (max-width: 979px) {
  .ntv .ntv-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px 18px; }
  .ntv .ntv-top { gap: 32px; min-height: 280px; }
  .ntv .ntv-preview-area { flex-basis: 320px; min-width: 300px; }
  .ntv .ntv-title { font-size: 38px; }
  .ntv .ntv-eyebrow { font-size: 8px; letter-spacing: .17em; }
  .ntv .ntv-lead { font-size: 13px; }
  .ntv .ntv-auto-note { display: none; }
  .ntv .ntv-clock span { display: none; }
}
@container now-tv (max-width: 759px) {
  .ntv .ntv-top { flex-direction: column; gap: 25px; min-height: 0; margin-bottom: 36px; }
  .ntv .ntv-intro { flex-basis: auto; width: 100%; max-width: none; }
  .ntv .ntv-preview-area { flex-basis: auto; width: 100%; max-width: 540px; min-width: 0; margin-left: 0; }
  .ntv .ntv-title { font-size: clamp(34px, 6cqi, 42px); }
  .ntv :is(.ntv-selected-info, .ntv-feature) { margin-top: 24px; }
  .ntv .ntv-description { min-height: 0; }
  .ntv .ntv-program-title { font-size: 26px; }
  .ntv .ntv-preview-actions { gap: 12px; }
  .ntv .ntv-auto-note { display: block; max-width: 100%; }
  .ntv .ntv-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 16px; }
  .ntv .ntv-section-heading { align-items: flex-start; gap: 12px; }
  .ntv .ntv-section-heading h2 { font-size: 22px; }
  .ntv .ntv-clock { gap: 5px; padding-top: 5px; }
  .ntv .ntv-filter-items { gap: 4px; }
  .ntv .ntv-filter-items > button { min-height: 40px; padding-inline: 13px; }
  .ntv .ntv-filters { flex-wrap: wrap; }
  .ntv .ntv-filter-items { flex-basis: 100%; }
  .ntv .ntv-category { flex: 1 1 180px; }
  .ntv .ntv-category-select { max-width: 100%; }
  .ntv .ntv-count { width: 100%; margin-left: 0; }
}
@container now-tv (max-width: 479px) {
  .ntv .ntv-grid { grid-template-columns: minmax(0, 1fr); row-gap: 28px; }
  .ntv .ntv-eyebrow { font-size: 8px; letter-spacing: .15em; }
  .ntv .ntv-title { font-size: 36px; }
  .ntv .ntv-lead { font-size: 13px; }
  .ntv .ntv-description { font-size: 12px; }
  .ntv .ntv-preview-actions > .ntv-watch { min-height: 44px; padding-inline: 17px; font-size: 12px; }
  .ntv .ntv-auto-note { max-width: 100%; font-size: 9px; }
  .ntv .ntv-preview-bottom button { width: 36px; height: 36px; flex-basis: 36px; min-height: 36px; }
  .ntv .ntv-section-heading h2 { font-size: 21px; }
  .ntv .ntv-section-lead, .ntv .ntv-section-heading p { font-size: 11px; }
  .ntv .ntv-clock .ntv-icon { display: none; }
  .ntv .ntv-clock b { font-size: 12px; }
  .ntv .ntv-clock time { font-size: 12px; }
  .ntv .ntv-filters { margin-top: 14px; gap: 12px; }
  .ntv .ntv-filter-items { gap: 4px; }
  .ntv .ntv-filter-items > button { min-height: 40px; padding: 9px 12px; font-size: 11px; }
  .ntv .ntv-mini-channel { margin-top: 12px; font-size: 12px; }
  .ntv .ntv-logo { font-size: 13px; }
  .ntv .ntv-program-name { min-height: 0; font-size: 18px; }
  .ntv .ntv-program-meta { font-size: 11px; }
  .ntv .ntv-favorite { right: -3px; width: 36px; height: 36px; min-height: 36px; }
  .ntv .ntv-footnote { margin-top: 25px; font-size: 9px; }
}

@container now-tv (max-width: 767px) {
  .ntv .ntv-program .ntv-mini-channel { min-height: 44px; margin: 8px 52px 8px 0; }
  .ntv .ntv-program-cell > .ntv-favorite { right: 0; width: 44px; height: 44px; min-height: 44px; margin-top: calc(56.25% + 8px); }
  .ntv .ntv-preview-actions > .ntv-feature-favorite { flex-basis: 44px; width: 44px; height: 44px; min-height: 44px; }
}

/* Preserve actual fullscreen video semantics and touch controls. */
.ntv .ntv-preview:fullscreen { width: 100vw; height: 100dvh; max-width: none; max-height: none; aspect-ratio: auto; border-radius: 0; background: #060709; }
.ntv .ntv-preview:fullscreen .ntv-preview-media { object-fit: contain; }
.ntv .ntv-preview:fullscreen .ntv-preview-bottom { right: 24px; bottom: 24px; left: 24px; }
html[data-theme='light'] .ntv .ntv-art-logo img { filter: none; }
html[data-theme='light'] .ntv .ntv-preview { box-shadow: 0 10px 26px rgb(21 22 26 / .10); }
html[data-theme='light'] .ntv .ntv-art { box-shadow: 0 6px 18px rgb(21 22 26 / .07); }
html[data-theme='light'] .ntv .ntv-channel-art { background: linear-gradient(145deg, #2a2c30, #1c1e21); }
html[data-theme='light'] .ntv .ntv-channel-art .ntv-art-logo { color: #f2efe8; }

/* Ao vivo is one catalogue with two presentation preferences. */
.ntv .ntv-layout-tools { display: flex; gap: 4px; margin-left: auto; }
.ntv .ntv-layout { min-width: 52px; min-height: 44px; padding: 10px 12px; background: transparent; color: var(--text-muted); border: 1px solid var(--line); border-radius: 10px; box-shadow: none; }
.ntv .ntv-layout[aria-pressed='true'] { color: var(--text); border-color: var(--accent); background: var(--accent-soft); }
.ntv[data-layout='list'] .ntv-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; }
.ntv[data-layout='list'] .ntv-program-cell { min-width: 0; border-bottom: 1px solid var(--line-soft); padding: 8px 52px 8px 0; }
.ntv[data-layout='list'] .ntv-program { display: grid; grid-template-columns: 120px minmax(0, 1fr) auto; gap: 4px 16px; align-items: center; }
.ntv[data-layout='list'] .ntv-art { grid-column: 1; grid-row: 1 / 5; width: 120px; aspect-ratio: 16 / 9; }
.ntv[data-layout='list'] .ntv-program .ntv-mini-channel { grid-column: 2; margin: 0; min-height: 0; }
.ntv[data-layout='list'] .ntv-program-name { grid-column: 2; min-height: 0; margin: 0; }
.ntv[data-layout='list'] .ntv-program-meta { grid-column: 3; grid-row: 1 / 4; margin: 0; }
.ntv[data-layout='list'] .ntv-track { grid-column: 2; margin: 0; }
.ntv[data-layout='list'] .ntv-program-cell > .ntv-favorite { position: absolute; right: 0; top: 50%; margin: 0; transform: translateY(-50%); width: 44px; height: 44px; min-height: 44px; }
.ntv[data-layout='list'] .ntv-art :is(.ntv-badge, .ntv-on-preview) { display: none; }
.ntv .ntv-next-program { margin: 8px 0 0; color: var(--text-muted); font-size: 12px; line-height: 1.5; }
body.mobile-shell-active .ntv { padding-top: 20px; }
body.mobile-shell-active .ntv .ntv-top { gap: 24px; margin-bottom: 28px; min-height: 0; }
body.mobile-shell-active .ntv .ntv-eyebrow { display: none; }
body.mobile-shell-active .ntv .ntv-title { font-size: clamp(28px, 4.5vw, 42px); }
body.mobile-shell-active .ntv .ntv-lead { margin-bottom: 12px; }
body.mobile-shell-active .ntv :is(.ntv-selected-info, .ntv-feature) { margin-top: 18px; }
body.mobile-shell-active .ntv .ntv-description { min-height: 0; font-size: 13px; }
body.mobile-shell-active .ntv .ntv-program-title { min-height: 0; max-height: none; font-size: clamp(21px, 3.5vw, 30px); }
body.mobile-shell-active .ntv .ntv-preview-area { max-width: none; }
body.mobile-shell-active .ntv .ntv-auto-note { display: none; }
body.mobile-shell-active .ntv .ntv-filter-items { display: flex; flex-wrap: nowrap; width: 100%; min-width: 0; overflow-x: auto; overscroll-behavior-x: contain; padding-bottom: 4px; }
body.mobile-shell-active .ntv .ntv-filter-items > button { flex: 0 0 auto; min-height: 44px; }
body.mobile-shell-active .ntv .ntv-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 172px), 1fr)); gap: 24px 14px; }
body.mobile-shell-active .ntv .ntv-guide-tools { position: static; width: auto; flex-wrap: wrap; margin-block: 12px 18px; }
body.mobile-shell-active .ntv .ntv-guide-tools .ntv-scan { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 6px; width: auto; min-width: 44px; min-height: 44px; height: auto; padding: 10px 12px; font-size: 12px; }
body.mobile-shell-active .ntv .ntv-guide-tools .ntv-scan .ntv-icon { flex: 0 0 16px; width: 16px; height: 16px; margin: 0; }
body.mobile-shell-active .ntv .ntv-guide-tools .ntv-scan > span { position: static; width: auto; height: auto; margin: 0; clip-path: none; overflow: visible; }
body.mobile-shell-active .ntv .ntv-guide-tools .ntv-scan-progress { flex: 1 1 180px; width: auto; font-size: 11px; }
body.mobile-shell-active .ntv .ntv-program-name { font-size: 15px; min-height: 2.7em; line-height: 1.35; }
body.mobile-shell-active .ntv .ntv-program .ntv-mini-channel { margin-right: 44px; min-height: 44px; font-size: 12px; }
body.mobile-shell-active .ntv .ntv-program-cell > .ntv-favorite { width: 44px; height: 44px; min-height: 44px; margin-top: calc(56.25% + 8px); }
body.mobile-shell-active .ntv[data-layout='list'] .ntv-grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
body.mobile-shell-active .ntv[data-layout='list'] .ntv-program .ntv-mini-channel { min-height: 0; margin: 0; }
body.mobile-shell-active .ntv[data-layout='list'] .ntv-program-cell > .ntv-favorite { margin: 0; }
@container now-tv (max-width: 599px) {
  .ntv .ntv-top { gap: 16px; margin-bottom: 20px; }
  .ntv .ntv-intro .ntv-lead, .ntv .ntv-description, .ntv .ntv-selected-time { display: none; }
  .ntv .ntv-selected-info { margin-top: 12px; }
  .ntv .ntv-program-title { min-height: 0; max-height: none; margin-bottom: 0; }
  .ntv[data-layout='list'] .ntv-program { grid-template-columns: 90px minmax(0, 1fr); gap: 3px 10px; }
  .ntv[data-layout='list'] .ntv-art { width: 90px; }
  .ntv[data-layout='list'] .ntv-program-meta { grid-column: 2; grid-row: auto; flex-wrap: wrap; }
  .ntv[data-layout='list'] .ntv-program-name { font-size: 14px; }
}
@media (min-width: 700px) {
  body.mobile-shell-active .ntv .ntv-top { flex-direction: row; align-items: start; }
  body.mobile-shell-active .ntv .ntv-intro { flex: 1 1 0; width: auto; min-width: 0; }
  body.mobile-shell-active .ntv .ntv-preview-area { flex: 0 0 clamp(270px, 38vw, 460px); width: auto; min-width: 0; }
}
@media (max-width: 600px) {
  body.mobile-shell-active .ntv .ntv-filters { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
  body.mobile-shell-active .ntv .ntv-filter-items { grid-column: 1 / -1; grid-row: 1; }
  body.mobile-shell-active .ntv .ntv-category { grid-column: 1 / -1; }
  body.mobile-shell-active .ntv .ntv-count { width: auto; grid-column: 1; margin: 0; }
  body.mobile-shell-active .ntv .ntv-layout-tools { grid-column: 2; margin: 0; }
  body.mobile-shell-active .ntv .ntv-guide-tools { gap: 8px; margin-top: 8px; margin-bottom: 12px; }
  body.mobile-shell-active .ntv .ntv-guide-tools .ntv-scan { position: relative; flex: 0 0 44px; width: 44px; height: 44px; padding: 12px; }
  body.mobile-shell-active .ntv .ntv-guide-tools .ntv-scan > span { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); }
  body.mobile-shell-active .ntv .ntv-guide-tools .ntv-scan-progress { flex-basis: 140px; font-size: 11px; }
  body.mobile-shell-active .ntv .ntv-guide-tools .ntv-guide-track { flex-basis: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .ntv *, .ntv *::before, .ntv *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .ntv .ntv-program-cell:hover .ntv-program, .ntv .ntv-program-cell:hover .ntv-visual > img, .ntv :is(.ntv-glass, .ntv-favorite, .ntv-preview-actions > .ntv-watch):hover { transform: none; }
  .ntv .ntv-preview-loader { opacity: .8; }
}
@media (forced-colors: active) {
  .ntv .ntv-art, .ntv .ntv-preview, .ntv .ntv-glass, .ntv .ntv-preview-actions > .ntv-watch { border: 1px solid CanvasText; }
  .ntv .ntv-program.is-selected .ntv-art, .ntv .ntv-filter-items > [aria-pressed='true'] { outline: 2px solid Highlight; outline-offset: 2px; }
  .ntv .ntv-art::after, .ntv .ntv-glass::after, .ntv .ntv-preview-actions > .ntv-watch::after { display: none; }
  .ntv .ntv-track > span, .ntv .ntv-progress-line, .ntv .ntv-favorite::before, .ntv .ntv-preview-loader { background: CanvasText; }
}
