:root {
  --tv-bg: #05070d;
  --tv-panel: rgba(8, 14, 28, 0.82);
  --tv-panel-strong: rgba(6, 10, 22, 0.92);
  --tv-line: rgba(168, 211, 255, 0.22);
  --tv-text: #ffffff;
  --tv-muted: rgba(230, 240, 255, 0.76);
  --tv-accent: #8fd4ff;
  --tv-accent-2: #2f7dff;
  --tv-silver: #dfe8f3;
  --tv-silver-soft: #8ea2bb;
  --tv-shadow: 0 28px 80px rgba(0, 0, 0, 0.44);
  --tv-play-red: #ff314a;
  --tv-play-red-dark: #9f0618;
  --tv-play-red-soft: rgba(255, 76, 98, 0.42);
  --tv-card-glow:
    0 0 0 1px rgba(186, 227, 255, 0.12),
    0 0 34px rgba(80, 160, 255, 0.12),
    0 22px 58px rgba(0, 0, 0, 0.44);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--tv-text);
  font-family: Arial, Helvetica, sans-serif;
  background:
    radial-gradient(circle at top right, rgba(121, 203, 255, 0.2), transparent 24%),
    radial-gradient(circle at 18% 18%, rgba(216, 229, 245, 0.14), transparent 18%),
    radial-gradient(circle at bottom left, rgba(47, 125, 255, 0.22), transparent 28%),
    linear-gradient(180deg, #07101c 0%, #03070f 56%, #05070d 100%);
}

body.tv-page-loading {
  overflow: hidden;
}

.tv-page-loader {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background:
    radial-gradient(circle at top right, rgba(121, 203, 255, 0.18), transparent 24%),
    radial-gradient(circle at 18% 18%, rgba(216, 229, 245, 0.12), transparent 18%),
    radial-gradient(circle at bottom left, rgba(47, 125, 255, 0.2), transparent 28%),
    rgba(3, 7, 15, 0.96);
  transition: opacity 0.28s ease, visibility 0.28s ease;
}

.tv-page-loader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.tv-page-loader-box {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-height: 58px;
  padding: 0 22px;
  border: 1px solid rgba(181, 224, 255, 0.24);
  border-radius: 999px;
  background:
    linear-gradient(135deg, rgba(237, 244, 255, 0.12), rgba(70, 145, 255, 0.08)),
    rgba(8, 18, 32, 0.92);
  box-shadow:
    0 0 0 1px rgba(186, 227, 255, 0.12),
    0 0 34px rgba(80, 160, 255, 0.12),
    0 22px 58px rgba(0, 0, 0, 0.44);
}

.tv-page-loader-spinner {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.22);
  border-top-color: #8fd4ff;
  border-right-color: #2f7dff;
  animation: tvPageLoaderSpin 0.8s linear infinite;
}

.tv-page-loader-label {
  color: #eef6ff;
  font-size: 0.92rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-shadow: 0 0 18px rgba(143, 212, 255, 0.2);
}

a {
  color: inherit;
}

.tv-page {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 40px;
}

.tv-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 24px;
  padding: 22px;
  position: relative;
  border: 1px solid rgba(176, 222, 255, 0.24);
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(229, 240, 255, 0.12), rgba(102, 169, 255, 0.05) 26%, rgba(255, 255, 255, 0.02) 62%),
    linear-gradient(160deg, rgba(10, 18, 38, 0.96), rgba(4, 10, 24, 0.92));
  box-shadow: var(--tv-card-glow);
}

.tv-hero::before,
.tv-player-card::before,
.tv-info-card::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  border: 1px solid rgba(255, 255, 255, 0.06);
  pointer-events: none;
}

.tv-hero::after,
.tv-player-card::after,
.tv-info-card::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(238, 246, 255, 0.9), rgba(109, 187, 255, 0.72), rgba(224, 232, 240, 0.82), rgba(72, 127, 255, 0.68));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  opacity: 0.54;
  pointer-events: none;
}

.tv-copy h1 {
  margin: 0 0 10px;
  font-size: clamp(2.3rem, 6vw, 4.8rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
}

.tv-hero-logo-wrap {
  position: relative;
  width: min(308px, 100%);
  flex: 0 1 308px;
  padding: 3px;
  border: 1px solid rgba(211, 237, 255, 0.18);
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(231, 241, 255, 0.2), rgba(53, 132, 255, 0.14)) border-box,
    radial-gradient(circle at 18% 22%, rgba(150, 235, 255, 0.3), transparent 30%),
    radial-gradient(circle at 82% 76%, rgba(124, 146, 255, 0.28), transparent 34%),
    linear-gradient(135deg, rgba(10, 20, 42, 0.98), rgba(4, 8, 26, 0.96));
  box-shadow:
    0 18px 42px rgba(0, 0, 0, 0.34),
    0 0 0 1px rgba(72, 180, 255, 0.14),
    0 0 34px rgba(94, 178, 255, 0.22),
    inset 0 1px 0 rgba(167, 240, 255, 0.18);
  overflow: hidden;
}

.tv-hero-logo-wrap::before {
  content: "";
  position: absolute;
  inset: -34% auto auto -10%;
  width: 210px;
  height: 210px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(106, 241, 255, 0.24), transparent 72%);
  pointer-events: none;
}

.tv-hero-logo-wrap::after {
  content: "";
  position: absolute;
  inset: auto -8% -32% auto;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(34, 98, 255, 0.3), transparent 72%);
  pointer-events: none;
}

.tv-hero-logo {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid rgba(129, 221, 255, 0.16);
  border-radius: 11px;
  box-shadow:
    0 14px 30px rgba(0, 0, 0, 0.32),
    0 0 0 1px rgba(61, 167, 255, 0.14),
    inset 0 1px 0 rgba(191, 245, 255, 0.18);
}

.tv-kicker,
.tv-info-kicker,
.tv-poster-kicker {
  margin: 0 0 10px;
  color: #dbe6f2;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-shadow: 0 0 14px rgba(177, 221, 255, 0.22);
}

.tv-lead,
.tv-info-card p {
  margin: 0;
  color: var(--tv-muted);
  line-height: 1.6;
  font-size: 1rem;
}

.tv-hero-side {
  display: flex;
  flex: 0 0 auto;
  flex-direction: row;
  align-items: center;
  gap: 12px;
}

.tv-actions {
  display: flex;
  flex-direction: row;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  width: auto;
}

.tv-link {
  appearance: none;
  border: 1px solid rgba(195, 226, 255, 0.22);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  text-decoration: none;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.05)),
    rgba(8, 18, 32, 0.78);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 10px 24px rgba(0, 0, 0, 0.24);
}

.tv-link-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 8px;
  font-size: 0.95rem;
  line-height: 1;
}

.tv-link-primary {
  border-color: rgba(198, 228, 255, 0.34);
  background:
    linear-gradient(135deg, rgba(237, 244, 255, 0.2), rgba(72, 146, 255, 0.22)),
    linear-gradient(135deg, rgba(12, 34, 66, 0.98), rgba(18, 74, 176, 0.98));
}

.tv-link-danger {
  border-color: rgba(255, 168, 168, 0.34);
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 220, 220, 0.22), transparent 28%),
    linear-gradient(135deg, rgba(255, 214, 214, 0.18), rgba(255, 122, 122, 0.12)),
    linear-gradient(135deg, rgba(126, 12, 22, 0.98), rgba(228, 34, 54, 0.98));
  box-shadow:
    inset 0 1px 0 rgba(255, 239, 239, 0.22),
    0 12px 26px rgba(92, 0, 10, 0.34),
    0 0 28px rgba(255, 76, 94, 0.18);
}

.tv-link-danger:hover,
.tv-link-danger:focus-visible {
  border-color: rgba(255, 198, 198, 0.42);
  box-shadow:
    inset 0 1px 0 rgba(255, 244, 244, 0.24),
    0 14px 30px rgba(92, 0, 10, 0.4),
    0 0 34px rgba(255, 76, 94, 0.24);
  transform: translateY(-1px);
}

.tv-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border: 1px solid rgba(193, 226, 255, 0.24);
  border-radius: 999px;
  background:
    linear-gradient(135deg, rgba(249, 252, 255, 0.16), rgba(86, 144, 255, 0.08)),
    rgba(10, 18, 34, 0.8);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 10px 24px rgba(0, 0, 0, 0.22),
    0 0 24px rgba(95, 179, 255, 0.12);
  white-space: nowrap;
}

.tv-badge-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #1cff87;
  box-shadow: 0 0 14px rgba(28, 255, 135, 0.72);
}

.tv-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(320px, 0.8fr);
  gap: 22px;
}

.tv-footer {
  margin-top: 18px;
  padding: 14px 18px 6px;
  text-align: center;
}

.tv-footer p {
  margin: 0;
  color: rgba(229, 239, 255, 0.72);
  font-size: 0.92rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-shadow: 0 0 12px rgba(108, 180, 255, 0.14);
}

.tv-player-card,
.tv-info-card {
  position: relative;
  border: 1px solid rgba(177, 219, 255, 0.22);
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.09), transparent 24%),
    var(--tv-panel);
  box-shadow: var(--tv-card-glow);
}

.tv-player-card {
  padding: 18px;
}

.tv-player-shell {
  position: relative;
  overflow: hidden;
  border-radius: 0;
  border: 1px solid rgba(196, 228, 255, 0.18);
  background:
    radial-gradient(circle at top left, rgba(219, 232, 247, 0.12), transparent 24%),
    radial-gradient(circle at bottom right, rgba(54, 132, 255, 0.18), transparent 30%),
    #000;
  aspect-ratio: 16 / 9;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.04),
    0 0 0 1px rgba(111, 183, 255, 0.06);
}

.tv-intro-video {
  position: absolute;
  inset: 0;
  z-index: 6;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  object-fit: cover;
  background: #000;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.tv-player-shell.is-intro-active .tv-intro-video {
  opacity: 1;
}

.tv-player-frame,
.tv-player-frame iframe,
.tv-poster-layer,
.tv-poster-layer img {
  width: 100%;
  height: 100%;
}

.tv-player-frame iframe {
  display: block;
  border: 0;
  border-radius: 0;
}

.tv-player-clickshield,
.tv-player-mask,
.tv-mobile-start-cover {
  position: absolute;
  left: 0;
  right: 0;
  z-index: 3;
}

.tv-player-clickshield {
  top: 0;
  bottom: 0;
  pointer-events: none;
}

.tv-player-mask {
  pointer-events: none;
  background: #000;
}

.tv-mobile-start-cover {
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
  opacity: 0;
  pointer-events: none;
  z-index: 4;
  transition: opacity 0.24s ease;
}

.tv-player-shell.is-mobile-cover-visible .tv-mobile-start-cover {
  opacity: 1;
}

.tv-ad-badge {
  position: absolute;
  top: max(12px, env(safe-area-inset-top, 0px));
  left: max(12px, env(safe-area-inset-left, 0px));
  z-index: 9;
  display: none;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  max-width: min(88vw, 360px);
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: linear-gradient(135deg, rgba(170, 0, 0, 0.96), rgba(255, 41, 41, 0.96));
  color: #fff;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: 0.01em;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.08) inset,
    0 12px 28px rgba(0, 0, 0, 0.36),
    0 0 24px rgba(255, 56, 56, 0.45);
  text-decoration: none;
  cursor: pointer;
  animation: tvAdBadgePulse 1.15s ease-in-out infinite;
}

.tv-ad-badge.is-visible {
  display: inline-flex;
}

.tv-ad-badge.is-passive {
  cursor: default;
}

.tv-ad-badge::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #fff3f3;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.75);
  flex: 0 0 auto;
  animation: tvAdBadgeDot 1s ease-in-out infinite;
}

.tv-ad-badge span {
  display: block;
}

.tv-mobile-start-cover-label {
  color: #fff;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-shadow: 0 0 18px rgba(120, 190, 255, 0.34);
}

.tv-player-mask-top {
  top: 0;
  height: 52px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.98), rgba(0, 0, 0, 0.88));
}

.tv-player-mask-bottom {
  bottom: 0;
  height: 64px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 1));
}

.tv-poster-layer {
  position: absolute;
  inset: 0;
  z-index: 5;
}

.tv-poster-layer::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 13, 24, 0.12), rgba(3, 7, 16, 0.78)),
    linear-gradient(90deg, rgba(224, 235, 246, 0.18), transparent 26%, transparent 74%, rgba(47, 125, 255, 0.28));
}

.tv-poster-layer img {
  display: block;
  object-fit: cover;
}

.tv-overlay-toggle {
  position: absolute;
  z-index: 6;
  border: 0;
  cursor: pointer;
  color: #fff;
  font-weight: 800;
}

.tv-favorite-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 7;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 36px;
  padding: 0 12px 0 11px;
  border: 1px solid rgba(255, 138, 138, 0.76);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(110, 7, 15, 0.96) 0%, rgba(60, 4, 10, 0.98) 100%);
  color: #ffe1e1;
  box-shadow:
    0 0 0 1px rgba(255, 205, 205, 0.12) inset,
    0 0 16px rgba(214, 52, 76, 0.38),
    0 8px 18px rgba(0, 0, 0, 0.4);
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.tv-favorite-btn:hover,
.tv-favorite-btn:focus-visible {
  filter: brightness(1.12) saturate(1.1);
  box-shadow:
    0 0 0 1px rgba(255, 214, 214, 0.22) inset,
    0 0 22px rgba(214, 76, 102, 0.46),
    0 10px 22px rgba(0, 0, 0, 0.45);
  outline: none;
}

.tv-favorite-btn:active {
  transform: translateY(0) scale(0.99);
}

.tv-favorite-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.tv-favorite-icon svg {
  width: 17px;
  height: 17px;
  display: block;
  filter: drop-shadow(0 0 4px rgba(255, 214, 214, 0.28));
}

.tv-favorite-count-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 28px;
  padding: 0 9px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.01em;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.08) inset;
  flex-shrink: 0;
}

.tv-next-badge {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 7;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 0 12px 0 14px;
  border: 1px solid rgba(255, 196, 196, 0.44);
  border-radius: 999px;
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 242, 242, 0.24), transparent 30%),
    linear-gradient(135deg, rgba(255, 222, 222, 0.16), rgba(255, 108, 108, 0.12)),
    linear-gradient(135deg, rgba(134, 10, 20, 0.98), rgba(255, 46, 70, 0.98));
  box-shadow:
    inset 0 1px 0 rgba(255, 245, 245, 0.24),
    0 12px 30px rgba(0, 0, 0, 0.34),
    0 0 24px rgba(255, 76, 98, 0.28);
  color: #fff6f7;
  cursor: pointer;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.tv-next-badge:hover,
.tv-next-badge:focus-visible {
  transform: translateY(-1px) scale(1.03);
  box-shadow:
    inset 0 1px 0 rgba(255, 248, 248, 0.28),
    0 14px 32px rgba(0, 0, 0, 0.38),
    0 0 32px rgba(255, 76, 98, 0.44);
  filter: saturate(1.05) brightness(1.03);
  outline: none;
}

.tv-next-badge:active {
  transform: translateY(0) scale(0.99);
}

.tv-next-badge[hidden] {
  display: none;
}

.tv-next-badge-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  font-size: 0.95rem;
  line-height: 1;
}

.tv-overlay-toggle {
  left: 12px;
  bottom: 12px;
  min-width: 74px;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 224, 224, 0.48);
  background:
    radial-gradient(circle at 20% 18%, rgba(255, 246, 246, 0.3), transparent 28%),
    linear-gradient(135deg, rgba(255, 224, 224, 0.2), rgba(255, 108, 108, 0.12)),
    linear-gradient(135deg, var(--tv-play-red-dark), var(--tv-play-red));
  box-shadow:
    inset 0 1px 0 rgba(255, 244, 244, 0.24),
    0 12px 30px rgba(0, 0, 0, 0.34),
    0 0 26px var(--tv-play-red-soft);
  font-size: 0.82rem;
  line-height: 1;
  animation: tvPlayPulse 1.8s ease-in-out infinite;
}

.tv-overlay-toggle:hover,
.tv-overlay-toggle:focus-visible {
  border-color: rgba(255, 239, 239, 0.64);
  box-shadow:
    inset 0 1px 0 rgba(255, 248, 248, 0.3),
    0 14px 32px rgba(0, 0, 0, 0.38),
    0 0 32px rgba(255, 76, 98, 0.5);
}

.tv-overlay-toggle-icon {
  color: #fff3f5;
  font-size: 0.78rem;
  line-height: 1;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
}

.tv-overlay-toggle.is-playing,
.tv-overlay-toggle.is-paused,
.tv-overlay-toggle.is-poster {
  background:
    radial-gradient(circle at 20% 18%, rgba(255, 246, 246, 0.3), transparent 28%),
    linear-gradient(135deg, rgba(255, 224, 224, 0.2), rgba(255, 108, 108, 0.12)),
    linear-gradient(135deg, var(--tv-play-red-dark), var(--tv-play-red));
}

.tv-player-shell.is-started .tv-poster-layer {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
}

.tv-player-shell.is-intro-active .tv-poster-layer {
  opacity: 0;
  pointer-events: none;
}

.tv-midroll-modal {
  position: fixed;
  inset: 0;
  z-index: 1400;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: transparent;
  pointer-events: none;
}

.tv-midroll-modal.is-open {
  display: flex;
}

body.tv-midroll-open {
  overflow-x: hidden;
}

.tv-midroll-shell {
  position: fixed;
  width: 0;
  height: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(196, 228, 255, 0.18);
  box-shadow: var(--tv-card-glow);
  background: #000;
  pointer-events: auto;
}

.tv-midroll-video {
  width: 100%;
  height: 100%;
  display: block;
  background: #000;
  object-fit: cover;
}

.tv-midroll-link {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
}

.tv-midroll-overlay {
  position: absolute;
  inset: 0;
  display: none;
  z-index: 2;
  align-content: center;
  justify-items: center;
  gap: 16px;
  padding: 24px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.58), rgba(0, 0, 0, 0.84));
  text-align: center;
}

.tv-midroll-overlay.is-visible {
  display: grid;
}

.tv-midroll-overlay p {
  max-width: 520px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 16px;
  line-height: 1.6;
}

.tv-midroll-action {
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: linear-gradient(135deg, #165fc5, #0a2f68);
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.35);
}

@keyframes tvBadgePulse {
  0%, 100% {
    box-shadow:
      inset 0 1px 0 rgba(240, 249, 255, 0.24),
      0 12px 30px rgba(0, 0, 0, 0.3),
      0 0 22px rgba(62, 161, 255, 0.22);
  }
  50% {
    box-shadow:
      inset 0 1px 0 rgba(248, 252, 255, 0.32),
      0 12px 30px rgba(0, 0, 0, 0.34),
      0 0 34px rgba(62, 161, 255, 0.42);
  }
}

@keyframes tvAdBadgePulse {
  0%, 100% {
    transform: translateY(0) scale(1);
    box-shadow:
      0 0 0 1px rgba(255, 255, 255, 0.08) inset,
      0 12px 28px rgba(0, 0, 0, 0.36),
      0 0 24px rgba(255, 56, 56, 0.45);
  }
  50% {
    transform: translateY(-1px) scale(1.02);
    box-shadow:
      0 0 0 1px rgba(255, 255, 255, 0.12) inset,
      0 16px 32px rgba(0, 0, 0, 0.42),
      0 0 34px rgba(255, 76, 76, 0.68);
  }
}

@keyframes tvAdBadgeDot {
  0%, 100% {
    transform: scale(0.88);
    opacity: 0.74;
  }
  50% {
    transform: scale(1.12);
    opacity: 1;
  }
}

@keyframes tvPageLoaderSpin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes tvPlayPulse {
  0%, 100% {
    transform: translateY(0);
    box-shadow:
      inset 0 1px 0 rgba(255, 244, 244, 0.24),
      0 12px 30px rgba(0, 0, 0, 0.34),
      0 0 20px rgba(255, 76, 98, 0.3);
  }
  50% {
    transform: translateY(-1px) scale(1.035);
    box-shadow:
      inset 0 1px 0 rgba(255, 248, 248, 0.28),
      0 14px 34px rgba(0, 0, 0, 0.38),
      0 0 34px rgba(255, 76, 98, 0.52);
  }
}

.tv-player-shell.is-started .tv-player-clickshield {
  pointer-events: auto;
}

.tv-sidebar {
  display: grid;
  gap: 10px;
}

.tv-info-card {
  padding: 22px;
  overflow: hidden;
  background:
    radial-gradient(circle at top right, rgba(211, 230, 248, 0.2), transparent 26%),
    radial-gradient(circle at bottom left, rgba(86, 150, 255, 0.16), transparent 28%),
    linear-gradient(180deg, rgba(218, 231, 245, 0.1), transparent 22%),
    linear-gradient(160deg, rgba(10, 24, 48, 0.96), rgba(5, 10, 26, 0.94));
  box-shadow:
    0 0 0 1px rgba(188, 224, 255, 0.16),
    0 0 30px rgba(78, 150, 255, 0.16),
    0 22px 58px rgba(0, 0, 0, 0.44);
  animation: tvAlertCardPulse 2.8s ease-in-out infinite;
}

.tv-info-card-live {
  align-self: start;
  height: fit-content;
  background:
    radial-gradient(circle at top right, rgba(255, 214, 214, 0.22), transparent 24%),
    radial-gradient(circle at bottom left, rgba(255, 82, 82, 0.26), transparent 28%),
    linear-gradient(180deg, rgba(255, 214, 214, 0.12), transparent 18%),
    linear-gradient(160deg, rgba(108, 8, 18, 0.98), rgba(40, 3, 10, 0.96));
  box-shadow:
    0 0 0 1px rgba(255, 176, 176, 0.2),
    0 0 34px rgba(255, 70, 70, 0.24),
    0 22px 58px rgba(35, 0, 0, 0.46);
}

.tv-info-card h2 {
  margin: 0;
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  line-height: 1.08;
}

.tv-info-kicker-live {
  color: #ff445a;
  text-shadow:
    0 0 12px rgba(255, 68, 90, 0.34),
    0 0 22px rgba(255, 68, 90, 0.2);
  animation: tvLivePulse 1.15s ease-in-out infinite;
}

.tv-info-kicker-now {
  color: #ff1f36;
  text-shadow:
    0 0 10px rgba(255, 31, 54, 0.5),
    0 0 24px rgba(255, 31, 54, 0.32),
    0 0 36px rgba(255, 31, 54, 0.18);
  animation: tvLivePulse 1.15s ease-in-out infinite;
}

.tv-live-title {
  color: #eef6ff;
  text-shadow: 0 0 18px rgba(224, 235, 245, 0.24);
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  text-overflow: ellipsis;
}

.tv-live-note {
  margin-top: 14px;
  color: #ffd84d;
  font-size: 0.92rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-shadow:
    0 0 12px rgba(255, 216, 77, 0.28),
    0 0 24px rgba(255, 216, 77, 0.12);
}

.tv-info-card-next {
  margin-top: -20px;
  background:
    radial-gradient(circle at top right, rgba(217, 232, 248, 0.2), transparent 24%),
    radial-gradient(circle at bottom left, rgba(70, 136, 255, 0.18), transparent 26%),
    linear-gradient(180deg, rgba(228, 238, 248, 0.12), transparent 16%),
    linear-gradient(160deg, rgba(12, 28, 56, 0.96), rgba(5, 10, 28, 0.94));
}

@media (min-width: 921px) {
  .tv-page-loader {
    background:
      radial-gradient(circle at top right, rgba(255, 118, 118, 0.22), transparent 24%),
      radial-gradient(circle at 18% 18%, rgba(255, 224, 224, 0.14), transparent 18%),
      radial-gradient(circle at bottom left, rgba(159, 6, 24, 0.24), transparent 28%),
      rgba(10, 2, 6, 0.97);
  }

  .tv-page-loader-box {
    border: 1px solid rgba(255, 180, 180, 0.3);
    background:
      linear-gradient(135deg, rgba(255, 238, 238, 0.16), rgba(255, 76, 98, 0.12)),
      rgba(32, 8, 14, 0.94);
    box-shadow:
      0 0 0 1px rgba(255, 202, 202, 0.12),
      0 0 34px rgba(255, 76, 98, 0.18),
      0 22px 58px rgba(0, 0, 0, 0.44);
  }

  .tv-page-loader-spinner {
    border-top-color: #ff8a96;
    border-right-color: #ff314a;
  }

  .tv-page-loader-label {
    color: #fff1f3;
    text-shadow: 0 0 18px rgba(255, 76, 98, 0.28);
  }

  .tv-sidebar {
    gap: 0;
  }

  .tv-info-card-next {
    margin-top: -112px;
  }
}

.tv-info-card-next h2 {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  text-overflow: ellipsis;
}

.tv-next-synopsis {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  text-overflow: ellipsis;
  color: #eef6ff;
}

@keyframes tvAlertCardPulse {
  0%,
  100% {
    box-shadow:
      0 0 0 1px rgba(188, 224, 255, 0.16),
      0 0 30px rgba(78, 150, 255, 0.16),
      0 22px 58px rgba(0, 0, 0, 0.44);
  }
  50% {
    box-shadow:
      0 0 0 1px rgba(214, 234, 255, 0.24),
      0 0 42px rgba(86, 160, 255, 0.22),
      0 24px 62px rgba(0, 0, 0, 0.46);
  }
}

@keyframes tvLivePulse {
  0%,
  100% {
    opacity: 1;
    transform: translateY(0);
  }
  50% {
    opacity: 0.58;
    transform: translateY(-1px);
  }
}

@keyframes tvMobileTopButtonPulse {
  0%,
  100% {
    transform: translateY(0);
    filter: saturate(1);
  }
  50% {
    transform: translateY(-1px);
    filter: saturate(1.08);
  }
}

@media (max-width: 920px) {
  .tv-layout {
    grid-template-columns: 1fr;
  }

  .tv-hero {
    flex-direction: column;
  }

  .tv-hero-side {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
  }

  .tv-actions {
    margin-top: 0;
    flex-direction: row;
    flex-wrap: wrap;
  }
}

@media (max-width: 640px) {
  .tv-page {
    width: min(100%, calc(100% - 20px));
    padding-top: 14px;
  }

  .tv-footer {
    display: none;
  }

  .tv-hero-side {
    width: 100%;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
    gap: 6px;
  }

  .tv-badge {
    flex: 0 0 auto;
    min-height: 34px;
    padding: 8px 10px;
    gap: 6px;
    font-size: 0.68rem;
    justify-content: center;
  }

  .tv-badge-dot {
    width: 8px;
    height: 8px;
  }

  .tv-actions {
    flex: 1 1 auto;
    justify-content: flex-end;
    flex-wrap: nowrap;
    gap: 6px;
    min-width: 0;
    margin-left: auto;
  }

  .tv-link {
    min-width: 0;
    min-height: 34px;
    padding: 0 10px;
    font-size: 0.7rem;
    white-space: nowrap;
  }

  .tv-actions .tv-link {
    animation: tvMobileTopButtonPulse 2.4s ease-in-out infinite;
  }

  .tv-actions .tv-link-danger {
    animation-delay: 0.18s;
  }

  .tv-link-icon {
    margin-right: 5px;
    font-size: 0.8rem;
  }

  .tv-hero-logo-wrap {
    width: min(224px, 62vw);
    padding: 2px;
    border-radius: 14px;
  }

  .tv-hero-logo {
    border-radius: 10px;
  }

  .tv-hero,
  .tv-player-card,
  .tv-info-card {
    border-radius: 22px;
  }

  .tv-info-card-next {
    margin-top: 6px;
  }

  .tv-player-card {
    padding: 12px;
  }

  .tv-overlay-toggle {
    left: 10px;
    bottom: 10px;
    min-width: 68px;
    min-height: 32px;
    padding: 0 10px;
    gap: 5px;
    font-size: 0.76rem;
  }

  .tv-favorite-btn {
    top: 10px;
    right: 10px;
    min-height: 32px;
    padding: 0 10px;
    gap: 7px;
    font-size: 0.76rem;
  }

  .tv-favorite-icon svg {
    width: 15px;
    height: 15px;
  }

  .tv-favorite-count-pill {
    min-width: 24px;
    height: 24px;
    padding: 0 7px;
    font-size: 11px;
  }

  .tv-overlay-toggle-icon {
    font-size: 0.72rem;
  }

  .tv-next-badge {
    right: 10px;
    bottom: 10px;
    min-height: 32px;
    padding: 0 10px 0 12px;
    gap: 6px;
    font-size: 0.66rem;
    letter-spacing: 0.1em;
  }

  .tv-next-badge-icon {
    width: 16px;
    height: 16px;
    font-size: 0.82rem;
  }

  .tv-player-frame iframe {
    transform: scale(1.08);
    transform-origin: center center;
  }

  .tv-player-mask-top {
    height: 26px;
  }

  .tv-player-mask-bottom {
    height: 36px;
  }
}
