/* ==========================================================================
   FlixHUB tvOS Frosted Glass Design System (Pixel-Matched to App Home)
   ========================================================================== */

:root {
  --tvos-bg: #000000;
  --tvos-bg-elevated: #0a0a0d;
  --tvos-glass: rgba(20, 20, 24, 0.54);
  --tvos-glass-strong: rgba(24, 24, 30, 0.78);
  --tvos-glass-pill: rgba(255, 255, 255, 0.14);
  --tvos-glass-pill-hover: rgba(255, 255, 255, 0.24);
  --tvos-glass-border: rgba(255, 255, 255, 0.14);
  --tvos-focus-bg: #ffffff;
  --tvos-focus-fg: #0b0b0d;
  --tvos-text: #f5f7fb;
  --tvos-muted: rgba(245, 247, 251, 0.78);
  --tvos-sidebar-w: 268px;
  --tvos-radius-xl: 28px;
  --tvos-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

html,
body {
  background: var(--tvos-bg) !important;
  color: var(--tvos-text);
  font-family: "Outfit", "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
}

body:not(.watch-body) {
  display: block !important;
}

/* Full-bleed edge-to-edge layout over ambient blurred banner */
.phone {
  width: 100% !important;
  max-width: 100% !important;
  border-left: 0 !important;
  border-right: 0 !important;
  background: transparent !important;
  position: relative;
  z-index: 2;
  padding-bottom: 64px;
}

.tvos-ambient-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  opacity: 0.28;
  transition: opacity 0.2s linear;
  will-change: opacity;
}

.tvos-ambient-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: blur(52px) saturate(165%);
  transform: scale(1.14);
  opacity: 0;
  transition: opacity 0.5s ease;
}

.tvos-ambient-bg.has-img img {
  opacity: 1;
}

.tvos-ambient-scrim {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 25%, rgba(0, 0, 0, 0.42), rgba(0, 0, 0, 0.78) 85%);
}

/* Hide legacy desktop & mobile header logo clutter immediately on load (no overlap with < Home pill) */
.pc-header-left,
.topbar-left,
body.has-tvos-sidebar .pc-header-left,
body.has-tvos-sidebar .topbar-left {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

@media (max-width: 767px) {
  .topbar {
    background: transparent !important;
    backdrop-filter: none !important;
    border: 0 !important;
    pointer-events: none;
  }

  .topbar-actions {
    pointer-events: auto;
  }

  .tvos-home-wrap {
    top: 13px !important;
    left: 12px !important;
  }

  .watch-body .tvos-home-wrap {
    display: none !important;
  }
}

@media (min-width: 768px) {
  .pc-header,
  body.has-tvos-sidebar .pc-header {
    background: transparent !important;
    backdrop-filter: none !important;
    border: 0 !important;
    pointer-events: none;
    padding: 22px 36px !important;
  }

  body.has-tvos-sidebar .pc-header-right {
    pointer-events: auto;
    gap: 10px !important;
  }

  body.has-tvos-sidebar .pc-searchbar {
    background: rgba(255, 255, 255, 0.2) !important;
    backdrop-filter: blur(36px) saturate(210%) brightness(1.08) !important;
    -webkit-backdrop-filter: blur(36px) saturate(210%) brightness(1.08) !important;
    border: 0 !important;
    outline: none !important;
    box-shadow:
      inset 0 0 24px rgba(255, 255, 255, 0.18),
      0 10px 28px rgba(0, 0, 0, 0.28) !important;
    border-radius: 999px !important;
    color: #ffffff !important;
  }

  body.has-tvos-sidebar .pc-header-btn {
    background: rgba(255, 255, 255, 0.18) !important;
    backdrop-filter: blur(36px) saturate(210%) brightness(1.08) !important;
    -webkit-backdrop-filter: blur(36px) saturate(210%) brightness(1.08) !important;
    border: 0 !important;
    outline: none !important;
    box-shadow:
      inset 0 0 20px rgba(255, 255, 255, 0.16),
      0 8px 24px rgba(0, 0, 0, 0.26) !important;
    border-radius: 999px !important;
    color: #ffffff !important;
  }
}

.topbar-action-btn,
.topbar-action-link {
  background: rgba(255, 255, 255, 0.18) !important;
  backdrop-filter: blur(36px) saturate(210%) brightness(1.08) !important;
  -webkit-backdrop-filter: blur(36px) saturate(210%) brightness(1.08) !important;
  border: 0 !important;
  outline: none !important;
  box-shadow:
    inset 0 0 18px rgba(255, 255, 255, 0.16),
    0 8px 20px rgba(0, 0, 0, 0.26) !important;
  border-radius: 999px !important;
  color: #ffffff !important;
}

/* ==========================================================================
   Top-Left Floating "<" + "🏠 Home" Frosted Glass Pill
   ========================================================================== */
.tvos-home-wrap {
  position: fixed;
  top: 20px;
  left: 22px;
  z-index: 95;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.tvos-home-back-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 28px;
  padding: 0;
  border: 0;
  outline: none;
  background: transparent;
  color: #ffffff;
  cursor: pointer;
}

.tvos-home-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 6px 18px 6px 8px;
  border-radius: 999px;
  border: 0;
  outline: none;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(36px) saturate(210%) brightness(1.08);
  -webkit-backdrop-filter: blur(36px) saturate(210%) brightness(1.08);
  color: #ffffff;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1;
  cursor: pointer;
  box-shadow:
    inset 0 0 22px rgba(255, 255, 255, 0.18),
    0 10px 28px rgba(0, 0, 0, 0.28);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.tvos-home-pill:active {
  transform: scale(0.96);
}

.tvos-home-pill-icon {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  box-shadow: none;
  border: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
}

/* ==========================================================================
   Floating Frosted Glass Sidebar Overlay (home.png)
   ========================================================================== */
.tvos-sidebar {
  position: fixed;
  top: 18px;
  left: 18px;
  bottom: 18px;
  width: var(--tvos-sidebar-w);
  z-index: 1200;
  display: flex;
  flex-direction: column;
  padding: 16px 14px;
  border-radius: var(--tvos-radius-xl);
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(36px) saturate(210%) brightness(1.08);
  -webkit-backdrop-filter: blur(36px) saturate(210%) brightness(1.08);
  border: 0;
  outline: none;
  box-shadow:
    inset 0 0 24px rgba(255, 255, 255, 0.14),
    0 28px 80px rgba(0, 0, 0, 0.55);
  overflow-y: auto;
  scrollbar-width: none;
  transform: translate3d(calc(-100% - 36px), 0, 0);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.28s var(--tvos-ease), opacity 0.22s ease;
}

.tvos-sidebar::-webkit-scrollbar {
  display: none;
}

.tvos-sidebar.is-open,
.tvos-sidebar.is-mobile-open {
  transform: translate3d(0, 0, 0);
  opacity: 1;
  pointer-events: auto;
}

.tvos-nav-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.tvos-nav-item {
  display: flex;
  align-items: center;
  gap: 13px;
  width: 100%;
  height: 44px;
  padding: 0 14px;
  border-radius: 999px;
  border: 0;
  background: transparent;
  color: rgba(245, 247, 251, 0.88);
  font-family: inherit;
  font-size: 14.5px;
  font-weight: 500;
  text-decoration: none;
  text-align: left;
  cursor: pointer;
  transition: background 0.16s var(--tvos-ease), color 0.16s var(--tvos-ease), transform 0.16s var(--tvos-ease);
}

.tvos-nav-item svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.tvos-nav-item:hover,
.tvos-nav-item:focus-visible,
.tvos-nav-item.is-active {
  background: var(--tvos-focus-bg);
  color: var(--tvos-focus-fg);
  font-weight: 600;
  transform: scale(1.02);
  outline: none;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.tvos-sidebar-divider {
  height: 1px;
  margin: 12px 10px;
  background: rgba(255, 255, 255, 0.12);
}

.tvos-sidebar-label {
  padding: 2px 14px 8px;
  font-size: 12px;
  font-weight: 600;
  color: rgba(245, 247, 251, 0.62);
}

.tvos-channel-dot {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: transparent;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.28);
}

.tvos-channel-dot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.tvos-sidebar-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(6px);
  z-index: 1190;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.24s ease;
}

.tvos-sidebar-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

/* ==========================================================================
   Pixel-Matched Full-Bleed Hero Billboard (Left-Aligned on All Screens)
   ========================================================================== */
.hero {
  height: min(92vh, 840px) !important;
}

.hero-stack {
  justify-content: flex-end !important;
  align-items: flex-start !important;
  padding: 0 48px 36px !important;
  gap: 16px !important;
}

.hero-inner {
  width: 100% !important;
  max-width: 720px !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: flex-end !important;
  gap: 16px !important;
  text-align: left !important;
}

.hero-left {
  max-width: 680px !important;
  width: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  text-align: left !important;
  gap: 6px !important;
  margin: 0 !important;
}

.hero-logo-link,
.hero-logo-wrap {
  margin: 0 !important;
  display: flex !important;
  justify-content: flex-start !important;
  align-items: flex-start !important;
  text-align: left !important;
  align-self: flex-start !important;
}

.hero-title-logo {
  margin: 0 !important;
  max-height: 92px !important;
  max-width: min(460px, 82vw) !important;
  object-fit: contain !important;
  object-position: left center !important;
}

.hero-title-text {
  font-size: clamp(1.8rem, 3.4vw, 3.3rem) !important;
  font-weight: 800 !important;
  letter-spacing: 0.02em !important;
  text-transform: uppercase;
  text-align: left !important;
  margin: 2px 0 !important;
}

.hero-desc {
  max-width: 640px !important;
  color: rgba(245, 247, 251, 0.88) !important;
  font-size: 14.5px !important;
  line-height: 1.5 !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-align: left !important;
  margin: 4px 0 0 !important;
}

.hero-actions {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 10px !important;
  margin: 0 !important;
  width: auto !important;
}

@media (max-width: 767px) {
  .hero {
    height: min(76vh, 620px) !important;
  }

  .hero-stack {
    padding: 0 20px 24px !important;
  }

  .hero-content,
  .hero-inner {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-end !important;
    text-align: center !important;
    width: 100% !important;
  }

  .hero-left {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    width: 100% !important;
  }

  .tvos-now-streaming {
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .hero-logo-link,
  .hero-logo-wrap {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
    margin: 0 auto !important;
  }

  .hero-title,
  .hero-title-text,
  .hero-title-logo,
  .hero-logo-wrap img,
  .hero-logo-img {
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center !important;
    object-position: center center !important;
  }

  .meta-row,
  .tvos-hero-meta {
    justify-content: center !important;
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .hero-desc {
    display: none !important;
  }

  .hero-actions {
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
  }

  .slider-dots {
    justify-content: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
}

.hero,
.hero-trailer-layer {
  background: transparent !important;
}

.hero.hero--trailer-active .hero-bg,
.hero.hero--trailer-active .hero-mask-image {
  opacity: 0 !important;
}

.hero-trailer-layer iframe {
  width: max(100%, 177.78vh) !important;
  height: max(100%, 56.25vw) !important;
  min-width: 100% !important;
  min-height: 100% !important;
  transform: translate(-50%, -50%) scale(1.18) !important;
}

.hero-bg,
.hero-trailer-layer,
.hero-mask-image {
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 48%, rgba(0, 0, 0, 0.72) 66%, rgba(0, 0, 0, 0.3) 82%, rgba(0, 0, 0, 0.06) 93%, transparent 98%) !important;
  mask-image: linear-gradient(180deg, #000 0%, #000 48%, rgba(0, 0, 0, 0.72) 66%, rgba(0, 0, 0, 0.3) 82%, rgba(0, 0, 0, 0.06) 93%, transparent 98%) !important;
}

.hero::after,
.hero-mask-image::after,
.hero-stack::after {
  content: none !important;
  display: none !important;
  background: none !important;
}

.pc-fade-left,
.pc-fade-right {
  display: none !important;
  background: none !important;
}

.hero-mask-image {
  filter: none !important;
}

.hero-overlay,
.hero-linear-overlay {
  background: none !important;
  opacity: 0 !important;
  pointer-events: none;
}

.hero-left,
.hero-title-text,
.hero-desc,
.tvos-hero-meta {
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.65);
}

/* NOW STREAMING Pill */
.tvos-now-streaming {
  display: inline-flex;
  align-items: center;
  padding: 5px 11px;
  margin-bottom: 12px;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.94);
}

/* Pixel-Matched Metadata Line: [FH] Movie • Sci-Fi • Action [A] [4K HDR] */
.tvos-hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 10px 0 4px;
  font-size: 13.5px;
  font-weight: 500;
  color: rgba(245, 247, 251, 0.9);
}

.tvos-fh-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 5px;
  background: #ffffff;
  color: #0b0b0d;
  font-size: 9.5px;
  font-weight: 900;
  letter-spacing: -0.04em;
  flex-shrink: 0;
}

.tvos-meta-chip {
  display: inline-flex;
  align-items: center;
  padding: 2px 7px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 11px;
  font-weight: 700;
  color: #ffffff;
}

.tvos-hdr-accent {
  color: #fb923c;
  margin-left: 3px;
}

/* Hero Action Pills (Edge-less Soft Frosted Glass + Spring Bounce) */
.watch-btn {
  background: rgba(255, 255, 255, 0.2) !important;
  backdrop-filter: blur(36px) saturate(210%) brightness(1.08) !important;
  -webkit-backdrop-filter: blur(36px) saturate(210%) brightness(1.08) !important;
  border: 0 !important;
  outline: none !important;
  box-shadow:
    inset 0 0 24px rgba(255, 255, 255, 0.18),
    0 10px 28px rgba(0, 0, 0, 0.28) !important;
  color: #ffffff !important;
  border-radius: 999px !important;
  font-weight: 600 !important;
  padding: 11px 22px !important;
  transition: background 0.2s ease, color 0.2s ease, transform 0.42s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.22s ease !important;
}

.watch-btn svg {
  fill: currentColor !important;
}

.plus-btn,
.audio-toggle-btn,
.tvos-info-btn {
  background: rgba(255, 255, 255, 0.18) !important;
  backdrop-filter: blur(36px) saturate(210%) brightness(1.08) !important;
  -webkit-backdrop-filter: blur(36px) saturate(210%) brightness(1.08) !important;
  border: 0 !important;
  outline: none !important;
  box-shadow:
    inset 0 0 20px rgba(255, 255, 255, 0.16),
    0 8px 24px rgba(0, 0, 0, 0.26) !important;
  color: #fff !important;
  border-radius: 999px !important;
}

.tvos-info-btn {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* ==========================================================================
   Frosted Glass Search & Discovery (search.png)
   ========================================================================== */
.search-modal-overlay.is-open {
  background: rgba(4, 4, 8, 0.52) !important;
  backdrop-filter: blur(24px) saturate(160%) !important;
  -webkit-backdrop-filter: blur(24px) saturate(160%) !important;
}

.search-modal {
  width: min(1040px, 94vw) !important;
  max-height: 88vh !important;
  background: rgba(255, 255, 255, 0.14) !important;
  backdrop-filter: blur(40px) saturate(210%) brightness(1.08) !important;
  -webkit-backdrop-filter: blur(40px) saturate(210%) brightness(1.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  border-radius: 28px !important;
  padding: 22px !important;
  box-shadow:
    inset 0 0 28px rgba(255, 255, 255, 0.14),
    0 32px 90px rgba(0, 0, 0, 0.65) !important;
}

.search-modal-top {
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  border-radius: 999px !important;
  padding: 8px 10px 8px 18px !important;
  gap: 10px !important;
}

.search-modal-input {
  min-width: 0;
}

.search-modal-filter {
  display: none !important;
}

.tvos-voice-btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  min-width: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  cursor: pointer;
  flex-shrink: 0;
  padding: 0;
  transition: all 0.2s var(--tvos-ease);
}

.tvos-voice-btn svg {
  display: block;
  flex-shrink: 0;
}

.tvos-voice-btn:hover {
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
  transform: scale(1.06);
}

.tvos-voice-btn.is-listening {
  background: #ef4444 !important;
  color: #fff !important;
  border-color: #ef4444 !important;
  box-shadow: 0 0 14px rgba(239, 68, 68, 0.6);
  animation: tvos-voice-pulse 1.2s infinite ease-in-out;
}

@keyframes tvos-voice-pulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 8px rgba(239, 68, 68, 0.5);
  }
  50% {
    transform: scale(1.12);
    box-shadow: 0 0 18px rgba(239, 68, 68, 0.9);
  }
}

.tvos-search-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.tvos-filter-pill {
  padding: 7px 15px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(245, 247, 251, 0.85);
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.16s var(--tvos-ease);
}

.tvos-filter-pill:hover,
.tvos-filter-pill.is-active {
  background: var(--tvos-focus-bg);
  color: var(--tvos-focus-fg);
  font-weight: 600;
  border-color: transparent;
}

.search-modal-results {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)) !important;
  gap: 12px !important;
  margin-top: 16px !important;
}

.search-result-item {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  padding: 10px !important;
  border-radius: 16px !important;
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  transition: background 0.18s var(--tvos-ease), color 0.18s var(--tvos-ease) !important;
}

.search-result-item:hover,
.search-result-item:focus-visible {
  background: var(--tvos-focus-bg) !important;
  color: var(--tvos-focus-fg) !important;
  outline: none;
}

.search-result-item:hover .search-result-title,
.search-result-item:hover .search-result-meta,
.search-result-item:focus-visible .search-result-title,
.search-result-item:focus-visible .search-result-meta {
  color: var(--tvos-focus-fg) !important;
}

.search-result-poster {
  width: 52px !important;
  height: 78px !important;
  border-radius: 10px !important;
  object-fit: cover !important;
  flex-shrink: 0;
}

.search-modal-input::-webkit-search-cancel-button,
.search-modal-input::-webkit-search-decoration {
  -webkit-appearance: none;
  appearance: none;
  display: none;
}

.tvos-search-clear-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 0;
  outline: none;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.85);
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.18s var(--tvos-ease), color 0.18s var(--tvos-ease), transform 0.18s var(--tvos-ease);
}

.tvos-search-clear-btn:hover {
  background: rgba(255, 255, 255, 0.22);
  color: #ffffff;
  transform: scale(1.05);
}

/* ==========================================================================
   Tabs & Modals
   ========================================================================== */
/* ==========================================================================
   Browse by Streaming Service (Upgraded Netflix/Prime/JioHotstar Section)
   ========================================================================== */
.tvos-browse-section {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  margin: 20px 0 44px;
  padding: 30px 44px 24px;
}

@media (max-width: 767px) {
  .tvos-browse-section {
    padding: 18px 16px 22px;
  }
}

.tvos-browse-kicker {
  text-align: center;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.2px;
  color: #ffffff;
  margin: 0 0 22px;
}

@media (max-width: 767px) {
  .tvos-browse-kicker {
    font-size: 20px;
    margin: 0 0 16px;
  }
}

.tvos-explore-all-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.18s ease, transform 0.18s ease;
}

.tvos-explore-all-btn:hover {
  background: rgba(255, 255, 255, 0.22);
  transform: translateY(-1px);
}

@media (max-width: 767px) {
  .tvos-explore-all-btn {
    display: none;
  }
}

.tvos-service-row {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 26px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 6px 2px 14px;
  width: 100%;
}

.tvos-service-row::-webkit-scrollbar {
  display: none;
}

.tvos-service-btn {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  min-width: 82px;
  padding: 6px 8px;
  border: 0;
  outline: none;
  background: transparent;
  color: rgba(245, 247, 251, 0.76);
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  flex-shrink: 0;
  transition: color 0.18s ease, transform 0.2s var(--tvos-ease);
}

.tvos-service-btn,
.tvos-service-btn:hover,
.tvos-service-btn:focus,
.tvos-service-btn:active,
.tvos-service-btn:visited,
.tvos-service-btn span {
  text-decoration: none;
}

.tvos-service-btn:hover {
  color: #ffffff;
  text-decoration: none;
  transform: translateY(-2px);
}

.tvos-service-btn.is-active {
  color: #ffffff;
  font-weight: 700;
}

.tvos-service-icon-box {
  position: relative;
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  border-radius: 16px;
  color: #ffffff;
  transition: transform 0.2s var(--tvos-ease);
}

.tvos-service-icon-box svg {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.tvos-service-btn:hover .tvos-service-icon-box {
  transform: translateY(-3px) scale(1.06);
}

.tvos-service-icon-box img,
.tvos-service-icon-box .tvos-service-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 6px;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.45));
  transition: transform 0.2s ease, filter 0.2s ease;
}

.tvos-all-tile {
  width: 100%;
  height: 100%;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.45);
  transition: box-shadow 0.2s ease, background 0.2s ease;
}

.tvos-service-btn.is-active .tvos-service-icon-box img,
.tvos-service-btn.is-active .tvos-service-icon-box .tvos-service-img {
  filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.55));
  transform: scale(1.06);
}

.tvos-service-btn.is-active .tvos-service-icon-box .tvos-all-tile {
  box-shadow: 0 0 0 2.5px #ffffff, 0 8px 24px rgba(0, 0, 0, 0.6);
}

.tvos-service-btn.is-active .tvos-all-tile {
  background: rgba(255, 255, 255, 0.24);
}

.tvos-service-check {
  position: absolute;
  right: -4px;
  bottom: -4px;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background: #ffffff;
  color: #0b0b0d;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
  z-index: 2;
}

.tvos-service-btn.is-active .tvos-service-check {
  display: inline-flex;
}

.tvos-category-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin: 18px 0 28px;
  width: 100%;
}

.tvos-cat-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 20px;
  border-radius: 999px;
  border: 0 !important;
  outline: none !important;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  color: rgba(245, 247, 251, 0.85);
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.22s var(--tvos-ease);
}

.tvos-cat-pill:hover {
  background: rgba(255, 255, 255, 0.14);
  border: 0 !important;
  color: #ffffff;
  transform: translateY(-1px);
}

.tvos-cat-pill.is-active {
  background: radial-gradient(circle at 28% 22%, rgba(255, 78, 108, 0.42) 0%, rgba(168, 56, 120, 0.24) 50%, rgba(255, 255, 255, 0.1) 100%) !important;
  backdrop-filter: blur(28px) saturate(200%) brightness(1.08) !important;
  -webkit-backdrop-filter: blur(28px) saturate(200%) brightness(1.08) !important;
  border: 0 !important;
  outline: none !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  box-shadow:
    inset 0 0 18px rgba(255, 90, 120, 0.2),
    0 8px 24px rgba(0, 0, 0, 0.42) !important;
}

.tvos-cat-pill[data-cat-id="movie"].is-active {
  background: radial-gradient(circle at 28% 22%, rgba(251, 146, 60, 0.42) 0%, rgba(225, 29, 72, 0.22) 52%, rgba(255, 255, 255, 0.1) 100%) !important;
}

.tvos-cat-pill[data-cat-id="tv"].is-active {
  background: radial-gradient(circle at 28% 22%, rgba(56, 189, 248, 0.42) 0%, rgba(99, 102, 241, 0.24) 52%, rgba(255, 255, 255, 0.1) 100%) !important;
}

.tvos-cat-pill[data-cat-id="anime"].is-active {
  background: radial-gradient(circle at 28% 22%, rgba(192, 132, 252, 0.44) 0%, rgba(236, 72, 153, 0.24) 52%, rgba(255, 255, 255, 0.1) 100%) !important;
}

.tvos-cat-pill[data-cat-id="kdrama"].is-active {
  background: radial-gradient(circle at 28% 22%, rgba(244, 114, 182, 0.44) 0%, rgba(225, 29, 72, 0.22) 52%, rgba(255, 255, 255, 0.1) 100%) !important;
}

.tvos-cat-pill[data-cat-id="action"].is-active {
  background: radial-gradient(circle at 28% 22%, rgba(248, 113, 113, 0.44) 0%, rgba(234, 88, 12, 0.24) 52%, rgba(255, 255, 255, 0.1) 100%) !important;
}

.tvos-cat-pill[data-cat-id="top"].is-active {
  background: radial-gradient(circle at 28% 22%, rgba(250, 204, 21, 0.4) 0%, rgba(249, 115, 22, 0.22) 52%, rgba(255, 255, 255, 0.1) 100%) !important;
}

.tvos-browse-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
  width: 100%;
}

.tvos-browse-title-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.tvos-browse-heading {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
}

.tvos-count-pill {
  padding: 4px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  font-size: 12px;
  font-weight: 600;
  color: rgba(245, 247, 251, 0.8);
}

.tvos-sort-dropdown {
  position: relative;
  z-index: 20;
}

.tvos-sort-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px 6px 14px;
  border-radius: 999px;
  border: 0;
  outline: none;
  background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0.08) 100%);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 6px 20px rgba(0, 0, 0, 0.28);
  color: #ffffff;
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s var(--tvos-ease), transform 0.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.tvos-sort-trigger:hover,
.tvos-sort-dropdown.is-open .tvos-sort-trigger {
  background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.24) 0%, rgba(255, 255, 255, 0.12) 100%);
}

.tvos-sort-trigger:active {
  transform: scale(0.96);
}

.tvos-sort-chevron {
  opacity: 0.85;
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.tvos-sort-dropdown.is-open .tvos-sort-chevron {
  transform: rotate(180deg);
}

.tvos-sort-menu {
  position: absolute;
  top: calc(100% + 7px);
  right: 0;
  min-width: 146px;
  padding: 5px;
  border: 0;
  outline: none;
  border-radius: 14px;
  background: linear-gradient(160deg, rgba(28, 28, 36, 0.9) 0%, rgba(16, 16, 22, 0.94) 100%);
  backdrop-filter: blur(30px) saturate(190%);
  -webkit-backdrop-filter: blur(30px) saturate(190%);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 2px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px) scale(0.92);
  transform-origin: top right;
  transition:
    opacity 0.22s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.26s cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0.22s;
}

.tvos-sort-dropdown.is-open .tvos-sort-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.tvos-sort-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  padding: 7px 10px;
  border: 0;
  outline: none;
  border-radius: 9px;
  background: transparent;
  color: rgba(255, 255, 255, 0.78);
  font-family: inherit;
  font-size: 12px;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  opacity: 0;
  transform: translateY(-4px);
  transition:
    background 0.16s var(--tvos-ease),
    color 0.16s var(--tvos-ease),
    opacity 0.2s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}

.tvos-sort-dropdown.is-open .tvos-sort-option {
  opacity: 1;
  transform: translateY(0);
}

.tvos-sort-dropdown.is-open .tvos-sort-option:nth-child(1) { transition-delay: 0.03s; }
.tvos-sort-dropdown.is-open .tvos-sort-option:nth-child(2) { transition-delay: 0.06s; }
.tvos-sort-dropdown.is-open .tvos-sort-option:nth-child(3) { transition-delay: 0.09s; }

.tvos-sort-option:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.tvos-sort-option.is-active {
  background: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.1) 100%);
  color: #ffffff;
  font-weight: 600;
}

.tvos-sort-check {
  opacity: 0;
  color: #ffffff;
  flex-shrink: 0;
  transform: scale(0.7);
  transition: opacity 0.18s var(--tvos-ease), transform 0.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.tvos-sort-option.is-active .tvos-sort-check {
  opacity: 1;
  transform: scale(1);
}

.tvos-browse-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

@media (max-width: 1024px) {
  .tvos-browse-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .tvos-browse-section {
    padding: 18px 0 10px !important;
  }

  .tvos-browse-kicker {
    font-size: 14px !important;
    padding: 0 14px !important;
  }

  .tvos-service-row {
    justify-content: flex-start !important;
    gap: 12px !important;
    padding: 6px 14px 12px !important;
  }

  .tvos-service-btn {
    min-width: 66px !important;
    padding: 4px !important;
    gap: 6px !important;
    font-size: 11.5px !important;
  }

  .tvos-service-icon-box {
    width: 50px !important;
    height: 50px !important;
  }

  .tvos-category-row {
    flex-wrap: nowrap !important;
    justify-content: flex-start !important;
    overflow-x: auto !important;
    scrollbar-width: none !important;
    padding: 0 14px !important;
    gap: 8px !important;
    margin: 10px 0 18px !important;
  }

  .tvos-category-row::-webkit-scrollbar {
    display: none !important;
  }

  .tvos-cat-pill {
    flex-shrink: 0 !important;
    padding: 7px 13px !important;
    font-size: 12.5px !important;
  }

  .tvos-browse-bar {
    padding: 0 14px !important;
    flex-wrap: nowrap !important;
    justify-content: space-between !important;
    gap: 8px !important;
    margin-bottom: 14px !important;
  }

  .tvos-browse-title-wrap {
    min-width: 0 !important;
    flex: 1 1 auto !important;
    gap: 6px !important;
  }

  .tvos-browse-heading {
    font-size: 15px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  .tvos-count-pill {
    flex-shrink: 0 !important;
    padding: 3px 8px !important;
    font-size: 11px !important;
  }

  .tvos-sort-dropdown {
    flex-shrink: 0 !important;
    margin-left: auto !important;
  }

  .tvos-sort-prefix {
    display: none !important;
  }

  .tvos-sort-trigger {
    padding: 5px 10px 5px 11px !important;
    font-size: 11.5px !important;
    gap: 5px !important;
  }

  .tvos-browse-grid {
    padding: 0 14px !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }

  .tvos-landscape-card {
    border-radius: 12px !important;
  }
}

.tvos-browse-expand-wrap {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  margin-top: -64px;
  padding: 38px 0 8px;
  pointer-events: none;
}

.tvos-browse-expand-wrap::before {
  content: "";
  position: absolute;
  inset: -10px 0 -16px;
  background: linear-gradient(
    to bottom,
    rgba(11, 11, 13, 0) 0%,
    rgba(11, 11, 13, 0.42) 52%,
    rgba(11, 11, 13, 0) 100%
  );
  backdrop-filter: blur(22px) saturate(140%);
  -webkit-backdrop-filter: blur(22px) saturate(140%);
  mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(0, 0, 0, 0.85) 38%,
    rgba(0, 0, 0, 0.9) 68%,
    transparent 100%
  );
  -webkit-mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(0, 0, 0, 0.85) 38%,
    rgba(0, 0, 0, 0.9) 68%,
    transparent 100%
  );
  pointer-events: none;
  z-index: 0;
}

.tvos-browse-expand-wrap.is-expanded {
  margin-top: 8px;
  padding: 14px 0 8px;
}

.tvos-browse-expand-wrap.is-expanded::before {
  display: none;
}

.tvos-browse-expand-btn {
  position: relative;
  z-index: 1;
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 14px;
  border: 0;
  outline: none;
  background: transparent;
  box-shadow: none;
  color: rgba(255, 255, 255, 0.82);
  cursor: pointer;
  transition: transform 0.2s var(--tvos-ease), color 0.2s var(--tvos-ease);
}

.tvos-browse-expand-btn:hover {
  background: transparent;
  color: #ffffff;
  transform: translateY(2px);
}

.tvos-browse-expand-btn .tvos-expand-arrow {
  transition: transform 0.25s var(--tvos-ease);
}

.tvos-browse-expand-btn.is-expanded .tvos-expand-arrow {
  transform: rotate(180deg);
}

.tvos-landscape-card {
  position: relative;
  display: block;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: rgba(255, 255, 255, 0.08);
  text-decoration: none;
  color: #ffffff;
}

.tvos-landscape-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.tvos-landscape-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 42%, rgba(0, 0, 0, 0.82) 100%);
  pointer-events: none;
}

.tvos-landscape-title {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 12px;
  z-index: 2;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.home-tab-btn {
  border-radius: 999px !important;
  background: var(--tvos-glass-pill) !important;
  border: 1px solid var(--tvos-glass-border) !important;
  backdrop-filter: blur(18px);
}

.home-tab-btn.active {
  background: var(--tvos-focus-bg) !important;
  color: var(--tvos-focus-fg) !important;
  font-weight: 600 !important;
}

.tvos-overlay-modal {
  position: fixed;
  inset: 0;
  z-index: 1300;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(32px) saturate(150%);
  -webkit-backdrop-filter: blur(32px) saturate(150%);
  padding: 24px;
}

.tvos-overlay-modal.is-open {
  display: flex;
}

.tvos-detail-shell {
  position: relative;
  width: min(1140px, 96vw);
  max-height: 90vh;
  overflow-y: auto;
  border-radius: 28px;
  background: #09090c;
  border: 1px solid var(--tvos-glass-border);
  box-shadow: 0 32px 100px rgba(0, 0, 0, 0.85);
}

.tvos-detail-backdrop {
  position: relative;
  min-height: 320px;
  padding: 36px 36px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  text-align: center;
  background-size: cover;
  background-position: center top;
}

.tvos-detail-backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(9, 9, 12, 0.35) 0%, rgba(9, 9, 12, 0.78) 65%, #09090c 100%);
}

.tvos-detail-backdrop>* {
  position: relative;
  z-index: 2;
}

.tvos-detail-logo {
  max-height: 110px;
  max-width: min(420px, 80%);
  object-fit: contain;
  margin-bottom: 14px;
}

.tvos-detail-title {
  margin: 0 0 10px;
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  font-weight: 700;
}

.tvos-detail-overview {
  max-width: 680px;
  margin: 0 0 18px;
  color: var(--tvos-muted);
  font-size: 14px;
  line-height: 1.55;
}

.tvos-detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.tvos-detail-body {
  padding: 20px 32px 32px;
}

.tvos-rail-title {
  font-size: 17px;
  font-weight: 600;
  margin: 0 0 12px;
}

.tvos-video-rail {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 14px;
  margin-bottom: 24px;
}

.tvos-video-card {
  display: block;
  text-decoration: none;
  color: var(--tvos-text);
  border-radius: 16px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.tvos-video-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #141418;
}

.tvos-video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tvos-duration-pill {
  position: absolute;
  left: 10px;
  bottom: 10px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.68);
  backdrop-filter: blur(12px);
  font-size: 11px;
  font-weight: 600;
  color: #fff;
}

.tvos-video-name {
  padding: 10px 12px;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tvos-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 10;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(24, 24, 28, 0.72);
  backdrop-filter: blur(16px);
  color: #fff;
  font-size: 18px;
  cursor: pointer;
}

.tvos-modal-close:hover {
  background: #fff;
  color: #000;
}

/* ==========================================================================
   Watch Page & Frosted Glass Player HUD (TVOS Liquid Glass Theme)
   ========================================================================== */
body.watch-body {
  background: #000 !important;
  color: var(--tvos-text);
}

.watch-body .watch-page {
  background:
    radial-gradient(900px 420px at 50% -12%, rgba(255, 255, 255, 0.06), transparent 65%),
    #000000 !important;
}

@media (min-width: 1024px) {
  body.watch-body.has-tvos-sidebar .pc-header {
    height: 72px !important;
    padding: 14px 36px !important;
  }

  .watch-body .watch-layout {
    padding-top: 8px !important;
    padding-bottom: 42px !important;
    gap: 22px !important;
  }
}

.watch-body .player-wrap {
  border-radius: 24px !important;
  border: 0 !important;
  outline: none !important;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.8) !important;
  background: #050507 !important;
}

.watch-body .player-wrap iframe,
.watch-body .player-wrap video {
  border: 0 !important;
  outline: none !important;
}

.watch-body .player-back-btn {
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border: 0 !important;
  box-shadow: none !important;
}

/* Action Buttons & Pills (Server, Share = Home-matched Frosted; Add to List = White CTA; Download hidden) */
.watch-body [data-role="download-popover-trigger"],
.watch-body #download-options-popover {
  display: none !important;
}

.watch-body .pill-btn {
  background: rgba(255, 255, 255, 0.18) !important;
  backdrop-filter: blur(36px) saturate(210%) brightness(1.08) !important;
  -webkit-backdrop-filter: blur(36px) saturate(210%) brightness(1.08) !important;
  border: 0 !important;
  outline: none !important;
  border-radius: 999px !important;
  color: #ffffff !important;
  box-shadow:
    inset 0 0 20px rgba(255, 255, 255, 0.16),
    0 8px 24px rgba(0, 0, 0, 0.26) !important;
  transition: all 0.2s var(--tvos-ease) !important;
}

.watch-body .episode-more-btn {
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  color: rgba(255, 255, 255, 0.8) !important;
}

.watch-body .episode-more-btn:hover {
  background: transparent !important;
  color: #ffffff !important;
}

.watch-body .list-btn {
  background: #ffffff !important;
  color: #0b0b0d !important;
  border: 1px solid rgba(255, 255, 255, 0.9) !important;
  border-radius: 999px !important;
  font-weight: 600 !important;
  box-shadow:
    0 8px 24px rgba(255, 255, 255, 0.14),
    0 4px 12px rgba(0, 0, 0, 0.38) !important;
  transition: all 0.2s var(--tvos-ease) !important;
}

.watch-body .list-btn:hover {
  background: rgba(255, 255, 255, 0.92) !important;
  color: #0b0b0d !important;
  transform: translateY(-1px) scale(1.02);
  box-shadow:
    0 12px 28px rgba(255, 255, 255, 0.22),
    0 6px 16px rgba(0, 0, 0, 0.45) !important;
}

.watch-body .pill-btn:hover,
.watch-body .pill-btn[aria-expanded="true"] {
  background: #ffffff !important;
  color: #0b0b0d !important;
  border-color: rgba(255, 255, 255, 0.85) !important;
  box-shadow:
    0 10px 28px rgba(255, 255, 255, 0.18),
    0 4px 12px rgba(0, 0, 0, 0.45) !important;
  transform: translateY(-1px);
}

.watch-body .pill-btn:hover svg,
.watch-body .pill-btn[aria-expanded="true"] svg {
  color: #0b0b0d !important;
}

/* Popovers (Server, Season — TVOS Frosted Liquid Glass) */
.watch-body .server-popover {
  width: 272px !important;
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border: 0 !important;
  box-shadow: none !important;
}

.watch-body .server-popover-inner {
  padding: 10px !important;
  border-radius: 22px !important;
  background: rgba(255, 255, 255, 0.16) !important;
  backdrop-filter: blur(36px) saturate(210%) brightness(1.08) !important;
  -webkit-backdrop-filter: blur(36px) saturate(210%) brightness(1.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  box-shadow:
    inset 0 0 24px rgba(255, 255, 255, 0.14),
    0 24px 64px rgba(0, 0, 0, 0.65) !important;
}

.watch-body .server-list {
  gap: 4px !important;
}

.watch-body .server-item {
  padding: 10px 12px !important;
  border-radius: 14px !important;
  transition: all 0.18s var(--tvos-ease) !important;
}

.watch-body .server-item:hover {
  background: rgba(255, 255, 255, 0.14) !important;
}

.watch-body .server-item.is-active {
  background: #ffffff !important;
  color: #0b0b0d !important;
  font-weight: 700 !important;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25) !important;
}

.watch-body .server-item.is-active .server-name {
  color: #0b0b0d !important;
}

.watch-body .server-item.is-active .server-desc {
  color: rgba(11, 11, 13, 0.65) !important;
}

.watch-body .server-item.is-active .server-icon {
  width: 20px;
  height: 20px;
  border-radius: 0;
  background: transparent !important;
  color: #0b0b0d !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.watch-body .server-item.is-active .server-icon svg {
  display: none !important;
}

.watch-body .server-item.is-active .server-icon::after {
  content: "";
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  display: block !important;
  width: 5px !important;
  height: 10px !important;
  border-top: 0 !important;
  border-left: 0 !important;
  border-right: 2.2px solid #0b0b0d !important;
  border-bottom: 2.2px solid #0b0b0d !important;
  border-radius: 0 !important;
  background: transparent !important;
  transform: translate(-50%, -58%) rotate(42deg) !important;
  margin: 0 !important;
}

@media (max-width: 760px) {
  .watch-body .player-wrap {
    border-radius: 0 !important;
  }

  .watch-body .server-popover,
  .watch-body .season-popover {
    width: auto !important;
  }

  .watch-body .server-popover .server-popover-inner,
  .watch-body .season-popover .season-popover-inner {
    background: rgba(255, 255, 255, 0.16) !important;
    backdrop-filter: blur(36px) saturate(210%) brightness(1.08) !important;
    -webkit-backdrop-filter: blur(36px) saturate(210%) brightness(1.08) !important;
    border: 0 !important;
    outline: none !important;
    border-radius: 24px 24px 0 0 !important;
    padding: 20px 14px calc(16px + env(safe-area-inset-bottom)) !important;
    box-shadow: none !important;
  }
}

/* Frosted Glass Episode / Media Description Card */
.watch-body .episode-desc {
  margin-top: 14px !important;
  padding: 18px 20px !important;
  border-radius: 22px !important;
  background: rgba(255, 255, 255, 0.055);
  backdrop-filter: blur(26px) saturate(160%) !important;
  -webkit-backdrop-filter: blur(26px) saturate(160%) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12) !important;
  transition: background 0.4s ease !important;
}

.watch-body .detail-divider {
  background: rgba(255, 255, 255, 0.1) !important;
  margin: 14px 0 !important;
}

.watch-body .info-tab,
.watch-body .genre-chip {
  background: rgba(255, 255, 255, 0.11);
  backdrop-filter: blur(16px) saturate(150%) !important;
  -webkit-backdrop-filter: blur(16px) saturate(150%) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  color: #f5f7fb !important;
  border-radius: 999px !important;
  transition: background 0.4s ease !important;
}

.watch-body .detail-poster {
  border-radius: 14px !important;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.55) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
}

.watch-body .show-less-btn {
  padding: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  text-decoration: none !important;
  color: rgba(255, 255, 255, 0.85) !important;
  font-size: 13.5px !important;
  font-weight: 600 !important;
  transition: opacity 0.18s ease, color 0.18s ease !important;
}

.watch-body .show-less-btn:hover {
  background: transparent !important;
  color: #ffffff !important;
  text-decoration: none !important;
}

@media (max-width: 1023px) {
  .watch-body .info-sheet-backdrop.is-visible,
  .watch-body .server-sheet-backdrop.is-visible {
    inset: -12px !important;
    background: rgba(0, 0, 0, 0.65) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
  }

  .watch-body .episode-desc.is-mobile-open {
    margin: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    background: rgba(255, 255, 255, 0.14) !important;
    backdrop-filter: blur(36px) saturate(210%) brightness(1.08) !important;
    -webkit-backdrop-filter: blur(36px) saturate(210%) brightness(1.08) !important;
    border: 0 !important;
    outline: none !important;
    box-shadow: none !important;
    border-radius: 24px 24px 0 0 !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
  }

  .watch-body .episode-desc.is-mobile-open::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
  }
}

/* Frosted Glass Up Next / Episodes Panel */
.watch-body .upnext-panel {
  border-radius: 24px !important;
  background: rgba(255, 255, 255, 0.055) !important;
  backdrop-filter: blur(28px) saturate(165%) !important;
  -webkit-backdrop-filter: blur(28px) saturate(165%) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 20px 54px rgba(0, 0, 0, 0.5) !important;
}

.watch-body .upnext-panel.is-movie-compact {
  height: auto !important;
  padding-bottom: 8px !important;
}

.watch-body .upnext-panel.is-movie-compact .episode-list {
  flex: 0 0 auto !important;
  max-height: none !important;
}

.watch-body .episode-search input {
  height: 36px !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  color: #ffffff !important;
  padding: 0 14px !important;
  transition: border-color 0.18s ease, background 0.18s ease !important;
}

.watch-body .episode-search input:focus {
  background: rgba(255, 255, 255, 0.12) !important;
  border-color: rgba(255, 255, 255, 0.35) !important;
}

.watch-body .season-trigger-btn,
.watch-body .icon-btn.small,
.watch-body .mobile-episode-toolbar .icon-btn.small {
  background: rgba(255, 255, 255, 0.09) !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  color: #ffffff !important;
  border-radius: 999px !important;
  transition: all 0.18s var(--tvos-ease) !important;
}

.watch-body .season-trigger-btn:hover,
.watch-body .icon-btn.small:hover,
.watch-body .icon-btn.small.is-active {
  background: rgba(255, 255, 255, 0.2) !important;
  border-color: rgba(255, 255, 255, 0.3) !important;
}

/* Episode List Cards (Dynamic Thumbnail Accent + Frosted Glass) */
.watch-body .episode-item {
  margin: 4px 10px !important;
  padding: 9px 10px !important;
  border-radius: 14px !important;
  border: 1px solid transparent !important;
  transition: all 0.2s var(--tvos-ease) !important;
}

.watch-body .episode-item:hover {
  background: var(--ep-accent, rgba(255, 255, 255, 0.1)) !important;
  border-color: rgba(255, 255, 255, 0.16) !important;
}

.watch-body .episode-item.active {
  background: var(--ep-accent, rgba(255, 255, 255, 0.16)) !important;
  border-color: rgba(255, 255, 255, 0.34) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 8px 24px rgba(0, 0, 0, 0.35) !important;
}

.watch-body .episode-item.active:hover {
  background: var(--ep-accent, rgba(255, 255, 255, 0.2)) !important;
  filter: brightness(1.12);
}

.watch-body .ep-thumb-wrap {
  border-radius: 10px !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.watch-body .ep-thumb-wrap span {
  background: rgba(12, 12, 16, 0.78) !important;
  backdrop-filter: blur(8px) !important;
  border-radius: 6px !important;
}

@media (max-width: 760px) {
  .watch-body .upnext-panel {
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
  }

  .watch-body .episode-list {
    padding: 0 14px 18px !important;
    gap: 10px !important;
  }

  .watch-body .episode-item {
    margin: 0 !important;
    padding: 8px !important;
    grid-template-columns: 120px minmax(0, 1fr) !important;
    gap: 10px !important;
    border-radius: 14px !important;
    background: rgba(255, 255, 255, 0.06) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
  }

  .watch-body .episode-item.active {
    background: var(--ep-accent, rgba(255, 255, 255, 0.16)) !important;
    border-color: rgba(255, 255, 255, 0.34) !important;
  }

  .watch-body .ep-thumb-wrap {
    width: 120px !important;
    height: 72px !important;
    min-height: 72px !important;
    border-radius: 10px !important;
  }
}

/* More Like This Section */
.watch-body .more-like-this .similar-card,
.watch-body .more-like-this .dive-card {
  border-radius: 16px !important;
  transition: transform 0.22s var(--tvos-ease), box-shadow 0.22s var(--tvos-ease) !important;
}

.watch-body .more-like-this .similar-card:hover {
  transform: translateY(-3px);
}

/* ==========================================================================
   Library Page (watchlist.html) — TVOS Frosted Glass
   ========================================================================== */
body.watchlist-page {
  background: #000000 !important;
}

.watchlist-page .me-page {
  position: relative;
  z-index: 2;
  padding-top: 88px !important;
  min-height: 100vh;
}

@media (max-width: 767px) {
  .watchlist-page .me-page {
    padding-top: 16px !important;
  }
}

.watchlist-page .watchlist-title {
  font-size: clamp(28px, 3vw, 40px) !important;
  font-weight: 700 !important;
  letter-spacing: -0.02em;
  color: #ffffff !important;
}

.watchlist-page .watchlist-tab {
  background: rgba(255, 255, 255, 0.14) !important;
  backdrop-filter: blur(24px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(24px) saturate(180%) !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  border-radius: 999px !important;
  color: rgba(245, 247, 251, 0.88) !important;
  transition: all 0.2s var(--tvos-ease) !important;
}

.watchlist-page .watchlist-tab:hover {
  background: rgba(255, 255, 255, 0.22) !important;
  color: #ffffff !important;
}

.watchlist-page .watchlist-tab.is-active {
  background: #ffffff !important;
  color: #0b0b0d !important;
  border-color: transparent !important;
  font-weight: 700 !important;
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.14) !important;
}

.watchlist-page .watchlist-sort-btn {
  background: rgba(255, 255, 255, 0.18) !important;
  backdrop-filter: blur(36px) saturate(210%) brightness(1.08) !important;
  -webkit-backdrop-filter: blur(36px) saturate(210%) brightness(1.08) !important;
  border: 0 !important;
  color: #ffffff !important;
  box-shadow:
    inset 0 0 20px rgba(255, 255, 255, 0.16),
    0 8px 24px rgba(0, 0, 0, 0.26) !important;
}

.watchlist-page .watchlist-sort-btn:hover {
  background: #ffffff !important;
  color: #0b0b0d !important;
}

.watchlist-page .watchlist-options-btn {
  background: rgba(18, 18, 24, 0.68) !important;
  backdrop-filter: blur(18px) saturate(160%) !important;
  -webkit-backdrop-filter: blur(18px) saturate(160%) !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  border-radius: 999px !important;
  color: #ffffff !important;
}

.watchlist-page .watchlist-dropdown {
  background: rgba(18, 18, 24, 0.86) !important;
  backdrop-filter: blur(32px) saturate(185%) !important;
  -webkit-backdrop-filter: blur(32px) saturate(185%) !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  border-radius: 16px !important;
  padding: 6px !important;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.72) !important;
}

.watchlist-page .watchlist-empty {
  padding: 36px 24px !important;
  border-radius: 22px !important;
  background: rgba(255, 255, 255, 0.06) !important;
  backdrop-filter: blur(24px) saturate(160%) !important;
  -webkit-backdrop-filter: blur(24px) saturate(160%) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  color: rgba(245, 247, 251, 0.78) !important;
  text-align: center;
}

/* ==========================================================================
   Floating Frosted Glass Right Drawer (Notifications + Library Tabs)
   ========================================================================== */
.tvos-right-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1190;
  background: rgba(0, 0, 0, 0.36);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.24s ease;
}

.tvos-right-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

.tvos-right-panel {
  position: fixed;
  top: 18px;
  right: 18px;
  bottom: 18px;
  width: min(390px, calc(100vw - 32px));
  z-index: 1210;
  display: flex;
  flex-direction: column;
  padding: 16px 14px;
  border-radius: var(--tvos-radius-xl);
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(36px) saturate(210%) brightness(1.08);
  -webkit-backdrop-filter: blur(36px) saturate(210%) brightness(1.08);
  border: 0;
  outline: none;
  box-shadow:
    inset 0 0 24px rgba(255, 255, 255, 0.14),
    0 28px 80px rgba(0, 0, 0, 0.55);
  transform: translate3d(calc(100% + 36px), 0, 0);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.28s var(--tvos-ease), opacity 0.22s ease;
}

.tvos-right-panel.is-open {
  transform: translate3d(0, 0, 0);
  opacity: 1;
  pointer-events: auto;
}

.tvos-right-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}

.tvos-right-tabs {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  padding: 4px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.24);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.tvos-right-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  height: 36px;
  padding: 0 12px;
  border-radius: 999px;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.78);
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s var(--tvos-ease);
}

.tvos-right-tab svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

.tvos-right-tab:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}

.tvos-right-tab.is-active {
  background: #ffffff;
  color: #0b0b0d;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

.tvos-right-close {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  border-radius: 999px;
  border: 0;
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.18s var(--tvos-ease);
}

.tvos-right-close:hover {
  background: #ffffff;
  color: #0b0b0d;
}

.tvos-right-body {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  scrollbar-width: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tvos-right-body::-webkit-scrollbar {
  display: none;
}

.tvos-right-pane {
  display: none;
  flex-direction: column;
  gap: 8px;
}

.tvos-right-pane.is-active {
  display: flex;
}

.tvos-notif-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 18px;
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #ffffff;
  text-decoration: none;
  transition: background 0.18s ease, transform 0.18s var(--tvos-ease);
}

.tvos-notif-card:hover {
  background: rgba(255, 255, 255, 0.14);
  transform: translateY(-1px);
}

.tvos-notif-icon {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.14);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #ffffff;
}

.tvos-notif-copy h4 {
  margin: 0 0 3px;
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
}

.tvos-notif-copy p {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.72);
}

.tvos-notif-time {
  display: inline-block;
  margin-top: 5px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.55);
}

.tvos-lib-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 4px;
}

.tvos-lib-pill {
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(0, 0, 0, 0.2);
  color: rgba(255, 255, 255, 0.8);
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.18s var(--tvos-ease);
}

.tvos-lib-pill:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
}

.tvos-lib-pill.is-active {
  background: #ffffff;
  color: #0b0b0d;
  border-color: transparent;
}

.tvos-lib-item {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 8px 10px;
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: background 0.18s ease;
}

.tvos-lib-item:hover {
  background: rgba(255, 255, 255, 0.12);
}

.tvos-lib-link {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  color: #ffffff;
}

.tvos-lib-poster {
  width: 44px;
  height: 62px;
  border-radius: 10px;
  object-fit: cover;
  background: rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
}

.tvos-lib-meta {
  min-width: 0;
}

.tvos-lib-title {
  font-size: 13.5px;
  font-weight: 600;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tvos-lib-sub {
  margin-top: 3px;
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.65);
}

.tvos-lib-remove {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: 0;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.78);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.16s ease;
}

.tvos-lib-remove:hover {
  background: rgba(239, 68, 68, 0.85);
  color: #ffffff;
}

.tvos-lib-empty {
  padding: 28px 16px;
  text-align: center;
  border-radius: 18px;
  background: rgba(0, 0, 0, 0.2);
  color: rgba(255, 255, 255, 0.7);
  font-size: 13.5px;
}

.tvos-right-footer {
  padding-top: 10px;
  margin-top: 6px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.tvos-lib-full-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 40px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.18s var(--tvos-ease);
}

.tvos-lib-full-btn:hover {
  background: #ffffff;
  color: #0b0b0d;
}

/* ==========================================================================
   Modern TVOS Frosted Glass Scrollbar (Thumb Only, No Track/Arrows)
   ========================================================================== */
@supports (-moz-appearance: none) {
  html {
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.28) transparent;
  }
}

::-webkit-scrollbar {
  width: 6px;
  height: 6px;
  background: transparent;
}

::-webkit-scrollbar-track,
::-webkit-scrollbar-track-piece {
  background: transparent !important;
}

::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.26);
  border-radius: 999px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.5);
}

::-webkit-scrollbar-thumb:active {
  background: rgba(255, 255, 255, 0.75);
}

::-webkit-scrollbar-corner,
::-webkit-scrollbar-button {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  background: transparent !important;
}

@media (max-width: 767px) {
  html,
  body {
    overflow-x: clip !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
  }

  ::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
  }
}

/* ==========================================================================
   Auto-Collapsing Header on Scroll Down (Reappears on Scroll Up / Top)
   ========================================================================== */
.tvos-home-wrap,
.pc-header,
.topbar {
  transition: transform 0.32s var(--tvos-ease), opacity 0.24s ease !important;
  will-change: transform, opacity;
}

body.tvos-header-hidden .tvos-home-wrap,
body.tvos-header-hidden .pc-header,
body.tvos-header-hidden .topbar {
  transform: translate3d(0, -125%, 0) !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* ==========================================================================
   Footer - Seamless TVOS Theme Blend
   ========================================================================== */
.phone {
  padding-bottom: 0 !important;
}

.app-footer {
  position: relative;
  width: 100%;
  padding: 28px 20px 30px;
  margin-top: 24px;
  border-top: 0 !important;
  background: transparent !important;
  text-align: center;
}

.app-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(22px) saturate(140%);
  -webkit-backdrop-filter: blur(22px) saturate(140%);
  mask-image: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.85) 42%, #000 100%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.85) 42%, #000 100%);
  pointer-events: none;
  z-index: 0;
}

.app-footer .footer-content {
  position: relative;
  z-index: 1;
  max-width: 680px;
  margin: 0 auto;
  gap: 10px;
}

.app-footer .copyright {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 13px;
  color: rgba(245, 247, 251, 0.78);
}

.app-footer a {
  display: inline-flex;
  align-items: center;
  padding: 4px 11px;
  margin-left: 4px;
  border-radius: 999px;
  border-bottom: 0 !important;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.18s var(--tvos-ease), transform 0.18s var(--tvos-ease);
}

.app-footer a:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}

.app-footer .disclaimer {
  font-size: 11.5px;
  line-height: 1.55;
  color: rgba(245, 247, 251, 0.45);
  max-width: 520px;
}

.app-footer .disclaimer strong {
  color: rgba(245, 247, 251, 0.68);
}

@media (max-width: 767px) {
  .app-footer {
    padding: 22px 16px 26px !important;
    margin-top: 16px;
  }

  .app-footer .copyright {
    font-size: 12px;
  }

  .app-footer .disclaimer {
    font-size: 11px;
  }
}