/* WatchVIM canonical presentation stylesheet.
   Consolidated from the approved 2026 cinematic design stack so CSS
   precedence is explicit in one asset and legacy override files cannot
   independently reappear. */

/* === Index structural styles === */
:root { color-scheme: dark; }
      html, body { min-height: 100%; }
      body {
        margin: 0;
        background: #0a0a0a;
        color: #fff;
        font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
        overflow-x: hidden;
      }
      #app { min-height: 100vh; display: flex; flex-direction: column; overflow-x: hidden; }
      .line-clamp-1 { display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
      .row-scroll { -webkit-overflow-scrolling: touch; scrollbar-width: thin; }
      .seo-links { max-width: 980px; margin: 0 auto; padding: 14px 16px 22px; font-size: 13px; color: #aaa; }
      .seo-links a { color: #d4af37; text-decoration: none; }
      .seo-links a:hover { text-decoration: underline; }
      mux-player {
        display: block;
        width: 100%;
        position: relative;
        z-index: 1;
        background: #000;
        --cast-button: initial;
        --airplay-button: initial;
        --primary-color: #fff;
        --secondary-color: #000;
        --accent-color: #e50914;
        --controls-backdrop-color: #000;
        --media-primary-color: #fff;
        --media-secondary-color: #000;
        --media-accent-color: #e50914;
        --media-control-color: #fff;
        --media-control-background: #000;
        --media-control-hover-background: #111;
      }
      mux-player::part(bottom) {
        background: #000 !important;
        background-color: #000 !important;
      }
      body.wv-cinematic-player-route [id^="wvCinematic"] { scroll-margin-top: 96px; }
      body.wv-cinematic-player-route .wv-cinematic-title-panel h1 {
        font-size: clamp(2.85rem, 4.35vw, 4.75rem) !important;
        line-height: .96 !important;
        letter-spacing: -.045em !important;
      }
      body.wv-cinematic-player-route #wvCinematicDetailsSection {
        padding: 20px;
        border-radius: 16px;
      }
      body.wv-cinematic-player-route #wvCinematicDetailsSection .wv-cinematic-section-heading {
        margin-bottom: 18px;
      }
      @media (max-width: 767px) {
        body.wv-cinematic-player-route .wv-cinematic-title-panel h1 {
          font-size: 2.05rem !important;
          line-height: 1 !important;
          letter-spacing: -.035em !important;
        }
        body.wv-cinematic-player-route #wvCinematicDetailsSection {
          padding: 14px;
        }
      }
      @media (min-width: 768px) and (max-width: 1279px) {
        body.wv-cinematic-player-route .wv-cinematic-title-panel h1 {
          font-size: 3.15rem !important;
        }
      }


/* === Global 2026 presentation === */

/* WatchVIM 2026 frontend redesign
   Visual presentation only. Subscription, authentication, entitlement,
   checkout and playback logic continue to run from the existing app. */
:root {
  --wv-bg: #030303;
  --wv-surface: #0d0d0f;
  --wv-surface-2: #161619;
  --wv-text: #ffffff;
  --wv-muted: rgba(255,255,255,.66);
  --wv-accent: #ec0a58;
  --wv-accent-2: #ff2f78;
  --wv-border: rgba(255,255,255,.11);
  --wv-shadow: 0 28px 80px rgba(0,0,0,.62);
}

html { background: var(--wv-bg); }
body.wv-redesign {
  margin: 0;
  color: var(--wv-text);
  background:
    radial-gradient(circle at 84% 2%, rgba(236,10,88,.12), transparent 30rem),
    linear-gradient(180deg, #070708 0%, var(--wv-bg) 55%, #010101 100%);
}
body.wv-redesign * { box-sizing: border-box; }
body.wv-redesign button,
body.wv-redesign a { -webkit-tap-highlight-color: transparent; }
body.wv-redesign button:focus-visible,
body.wv-redesign a:focus-visible {
  outline: 3px solid rgba(236,10,88,.75);
  outline-offset: 3px;
}
body.wv-redesign .bg-watchRed,
body.wv-redesign [class*="bg-red-600"],
body.wv-redesign [class*="bg-red-700"] {
  background: linear-gradient(135deg, var(--wv-accent-2), var(--wv-accent)) !important;
  box-shadow: 0 12px 32px rgba(236,10,88,.28);
}

/* =========================================================
   SHARED NAVIGATION
   ========================================================= */
body.wv-redesign .wv-premium-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border: 0 !important;
  border-bottom: 1px solid rgba(255,255,255,.055) !important;
  background: linear-gradient(180deg, rgba(2,2,3,.98), rgba(2,2,3,.82)) !important;
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
}
body.wv-redesign .wv-premium-nav {
  width: 100%;
  max-width: none !important;
  min-height: 72px;
  padding: 14px clamp(18px, 4vw, 72px) !important;
}
body.wv-redesign .wv-premium-header #appLogo { height: 40px !important; }
body.wv-redesign .wv-primary-nav {
  gap: clamp(4px, 1vw, 18px) !important;
  align-items: stretch;
}
body.wv-redesign .wv-primary-nav .wv-nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  border-radius: 0 !important;
  padding: 8px 7px !important;
  color: rgba(255,255,255,.72) !important;
  background: transparent !important;
  font-weight: 650;
}
body.wv-redesign .wv-primary-nav .wv-nav-link:hover { color: #fff !important; }
body.wv-redesign .wv-primary-nav .wv-nav-link[class*="bg-white/15"] {
  color: #fff !important;
}
body.wv-redesign .wv-primary-nav .wv-nav-link[class*="bg-white/15"]::after {
  content: "";
  position: absolute;
  left: 6px;
  right: 6px;
  bottom: -14px;
  height: 3px;
  border-radius: 999px;
  background: var(--wv-accent);
}

/* =========================================================
   PUBLIC LANDING PAGE
   ========================================================= */
body.wv-route-landing #app {
  min-height: 100vh;
  display: block;
  background: #020203;
}
body.wv-route-landing .wv-landing-nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 120;
  min-height: 78px;
  padding: 14px clamp(18px, 4.5vw, 80px);
  display: grid;
  grid-template-columns: minmax(170px, 1fr) auto minmax(120px, 1fr);
  align-items: center;
  gap: 22px;
  border-bottom: 1px solid rgba(255,255,255,.06);
  background: linear-gradient(180deg, rgba(0,0,0,.94), rgba(0,0,0,.3));
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
body.wv-route-landing .wv-landing-brand img { height: 42px; width: auto; display: block; }
body.wv-route-landing .wv-landing-nav nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 2.2vw, 34px);
}
body.wv-route-landing .wv-landing-nav nav a {
  color: rgba(255,255,255,.76);
  text-decoration: none;
  font-size: 14px;
  font-weight: 650;
}
body.wv-route-landing .wv-landing-nav nav a:hover { color: #fff; }
body.wv-route-landing .wv-landing-signin {
  justify-self: end;
  padding: 11px 18px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 8px;
  color: #fff;
  text-decoration: none;
  font-weight: 750;
  background: rgba(0,0,0,.34);
}
body.wv-route-landing .wv-landing {
  position: relative;
  min-height: 100vh !important;
  padding: 0 !important;
  display: block !important;
  overflow: hidden;
  background: #020203 !important;
}
body.wv-route-landing .wv-landing-grid {
  position: relative;
  width: 100%;
  max-width: none !important;
  min-height: 100vh;
  margin: 0 !important;
  padding: 132px clamp(22px, 7vw, 118px) 70px !important;
  display: flex !important;
  align-items: center;
  isolation: isolate;
}
body.wv-route-landing .wv-landing-media {
  position: absolute;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
}
body.wv-route-landing .wv-landing-player {
  position: absolute !important;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background: #000;
}
body.wv-route-landing .wv-landing-player mux-player,
body.wv-route-landing .wv-landing-player video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .72;
  --media-object-fit: cover;
}
body.wv-route-landing .wv-landing::before,
body.wv-route-landing .wv-landing::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}
body.wv-route-landing .wv-landing::before {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(0,0,0,.98) 0%, rgba(0,0,0,.88) 34%, rgba(0,0,0,.25) 70%, rgba(0,0,0,.52) 100%),
    linear-gradient(0deg, #020203 0%, transparent 42%);
}
body.wv-route-landing .wv-landing::after {
  z-index: -1;
  background: radial-gradient(circle at 20% 42%, rgba(236,10,88,.17), transparent 28rem);
}
body.wv-route-landing .wv-landing-copy {
  width: min(760px, 64vw);
  text-align: left !important;
  position: relative;
  z-index: 2;
}
body.wv-route-landing .wv-landing-copy > .inline-flex:first-child { display: none !important; }
body.wv-route-landing .wv-landing-copy h1 {
  margin: 0;
  max-width: 850px;
  font-size: clamp(52px, 6.6vw, 108px) !important;
  line-height: .88 !important;
  letter-spacing: -.065em;
  text-transform: uppercase;
  text-wrap: balance;
  text-shadow: 0 12px 38px rgba(0,0,0,.72);
}
body.wv-route-landing .wv-landing-copy h1 span {
  display: inline-block;
  color: var(--wv-accent) !important;
}
body.wv-route-landing .wv-landing-copy p {
  max-width: 650px !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  color: rgba(255,255,255,.78) !important;
  font-size: clamp(16px, 1.25vw, 20px) !important;
  line-height: 1.55;
}
body.wv-route-landing .wv-landing-copy .rounded-2xl,
body.wv-route-landing .wv-landing-copy .rounded-full { border-radius: 8px !important; }
body.wv-route-landing .wv-landing-copy .wv-landing-primary {
  order: -1;
  min-height: 52px;
  padding: 0 28px !important;
  border: 0 !important;
  color: #fff !important;
  background: linear-gradient(135deg, var(--wv-accent-2), var(--wv-accent)) !important;
  font-size: 15px !important;
  font-weight: 800 !important;
}
body.wv-route-landing .wv-landing-copy .wv-landing-secondary {
  min-height: 52px;
  padding: 0 28px !important;
  color: #fff !important;
  border: 1px solid rgba(255,255,255,.2) !important;
  background: rgba(18,18,20,.72) !important;
}

/* =========================================================
   SIGNED-IN / CATALOG HOME
   ========================================================= */
body.wv-route-home #app { background: transparent; }
body.wv-route-home .wv-home-hero {
  width: 100%;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
body.wv-route-home .wv-home-hero-card {
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  overflow: hidden;
}
body.wv-route-home .wv-home-hero-card > div {
  height: clamp(590px, 75vh, 870px) !important;
  min-height: 590px;
  aspect-ratio: auto !important;
}
body.wv-route-home .wv-home-hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 8;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(0,0,0,.98) 0%, rgba(0,0,0,.8) 28%, rgba(0,0,0,.17) 67%, rgba(0,0,0,.4) 100%),
    linear-gradient(0deg, var(--wv-bg) 0%, transparent 37%);
}
body.wv-route-home .wv-home-hero-content {
  left: clamp(18px, 5vw, 84px) !important;
  right: auto !important;
  bottom: clamp(115px, 14vh, 160px) !important;
  width: min(710px, 58vw);
  padding: 0 !important;
  z-index: 22 !important;
}
body.wv-route-home .wv-home-hero-content > div { max-width: none !important; }
body.wv-route-home .wv-home-hero-content h1 {
  font-size: clamp(44px, 5.6vw, 92px) !important;
  line-height: .92 !important;
  letter-spacing: -.055em;
  text-shadow: 0 10px 35px rgba(0,0,0,.75);
}
body.wv-route-home .wv-home-hero-content p {
  max-width: 620px;
  color: rgba(255,255,255,.82) !important;
  font-size: clamp(14px, 1.15vw, 18px) !important;
  line-height: 1.5;
}
body.wv-route-home .wv-home-hero-actions {
  display: flex !important;
  gap: 10px !important;
  padding-top: 10px !important;
}
body.wv-route-home .wv-home-hero-actions button {
  min-height: 48px;
  padding: 0 22px !important;
  border-radius: 8px !important;
  font-weight: 800 !important;
}
body.wv-route-home [data-hero-hover] > div { display: none !important; }
body.wv-route-home .hero-dot {
  width: 22px !important;
  height: 3px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: rgba(255,255,255,.38) !important;
}
body.wv-route-home .hero-dot.bg-white { background: var(--wv-accent) !important; }

body.wv-route-home .wv-poster-section {
  position: relative;
  z-index: 25;
  margin: 0 !important;
  padding: 18px 0 12px;
}
body.wv-route-home .wv-home-hero + div,
body.wv-route-home .wv-home-hero ~ div.py-6 {
  position: relative;
  z-index: 24;
  margin-top: -112px;
  padding-top: 0 !important;
}
body.wv-route-home .wv-row-shell {
  width: 100%;
  max-width: none !important;
  padding: 0 clamp(18px, 4vw, 68px) !important;
}
body.wv-route-home .wv-row-heading { margin-bottom: 10px !important; }
body.wv-route-home [data-wv-section-title] {
  color: #fff;
  font-size: clamp(20px, 1.65vw, 28px) !important;
  line-height: 1.05;
  font-weight: 850 !important;
  letter-spacing: -.025em;
}
body.wv-route-home .wv-row-heading button {
  color: rgba(255,255,255,.55) !important;
  font-size: 12px !important;
}
body.wv-route-home .wv-poster-rail {
  display: grid !important;
  grid-auto-flow: column;
  grid-auto-columns: clamp(158px, 13.2vw, 222px);
  gap: clamp(12px, 1.2vw, 20px) !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  padding: 7px 4px 25px !important;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
}
body.wv-route-home .wv-poster-rail::-webkit-scrollbar { display: none; }
body.wv-route-home .wv-poster-card {
  width: auto !important;
  min-width: 0 !important;
  scroll-snap-align: start;
  transform-origin: center bottom;
  transition: transform .22s ease, filter .22s ease;
}
body.wv-route-home .wv-poster-card:hover {
  position: relative;
  z-index: 4;
  transform: translateY(-7px) scale(1.025);
}
body.wv-route-home .wv-poster-card .tile-poster,
body.wv-route-home .wv-poster-card > div:first-child {
  width: 100%;
  aspect-ratio: 2/3 !important;
  border-radius: 10px !important;
  overflow: hidden;
  border: 1px solid var(--wv-border) !important;
  background: var(--wv-surface);
  box-shadow: 0 17px 42px rgba(0,0,0,.45);
}
body.wv-route-home .wv-poster-card img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}
body.wv-route-home .wv-poster-card:hover .tile-poster,
body.wv-route-home .wv-poster-card:hover > div:first-child {
  border-color: rgba(236,10,88,.62) !important;
  box-shadow: var(--wv-shadow), 0 0 0 2px rgba(236,10,88,.28);
}
body.wv-route-home .wv-poster-card > div:nth-child(2) {
  margin-top: 9px !important;
  font-size: 14px !important;
}
body.wv-route-home .wv-poster-card > div:nth-child(3) {
  color: rgba(255,255,255,.48) !important;
}
body.wv-route-home .wv-featured-section { padding-top: 0; }

/* =========================================================
   TITLE, SERIES AND WATCH PAGES
   ========================================================= */
body.wv-route-watch #app { background: var(--wv-bg); }
body.wv-route-watch .wv-watch-shell {
  width: 100%;
  max-width: none !important;
  margin: 0 auto;
  background: transparent;
}
body.wv-route-watch .wv-detail-page {
  position: relative;
  min-height: clamp(650px, 82vh, 930px);
  overflow: hidden;
}
body.wv-route-watch .wv-detail-hero {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
body.wv-route-watch .wv-detail-hero .wv-hero-card {
  height: 100%;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}
body.wv-route-watch .wv-detail-hero .wv-hero-card > div {
  height: 100% !important;
  min-height: clamp(650px, 82vh, 930px);
  aspect-ratio: auto !important;
}
body.wv-route-watch .wv-detail-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(0,0,0,.98) 0%, rgba(0,0,0,.82) 32%, rgba(0,0,0,.24) 68%, rgba(0,0,0,.45) 100%),
    linear-gradient(0deg, var(--wv-bg) 0%, transparent 42%);
}
body.wv-route-watch .wv-detail-meta {
  position: relative;
  z-index: 4;
  width: min(760px, 62vw);
  margin: 0 !important;
  padding: clamp(120px, 15vh, 175px) 0 90px clamp(20px, 6vw, 102px) !important;
}
body.wv-route-watch .wv-detail-copy {
  width: 100%;
  max-width: none !important;
  margin: 0 !important;
}
body.wv-route-watch .wv-detail-copy h1 {
  font-size: clamp(46px, 6vw, 94px) !important;
  line-height: .92;
  letter-spacing: -.06em;
  text-shadow: 0 10px 34px rgba(0,0,0,.72);
}
body.wv-route-watch .wv-detail-copy p {
  max-width: 680px;
  color: rgba(255,255,255,.78) !important;
  font-size: clamp(15px, 1.25vw, 19px);
  line-height: 1.55;
}
body.wv-route-watch .wv-watch-actions {
  display: flex !important;
  flex-wrap: wrap;
  gap: 10px !important;
}
body.wv-route-watch .wv-watch-actions button,
body.wv-route-watch .wv-watch-actions a {
  min-height: 48px;
  padding: 0 21px !important;
  border-radius: 8px !important;
  border: 1px solid var(--wv-border);
  font-weight: 800;
}
body.wv-route-watch .wv-watch-player {
  width: min(1500px, calc(100% - 36px));
  margin: 28px auto;
  overflow: hidden !important;
  border: 1px solid var(--wv-border);
  border-radius: 14px;
  background: #000;
  box-shadow: var(--wv-shadow);
}
body.wv-route-watch .wv-watch-player mux-player,
body.wv-route-watch .wv-watch-player video {
  width: 100%;
  aspect-ratio: 16/9;
  background: #000;
}
body.wv-route-watch .wv-poster-section {
  width: 100%;
  padding: 24px clamp(18px, 3.5vw, 58px) 16px !important;
}
body.wv-route-watch [data-wv-section-title] {
  display: block;
  margin-bottom: 12px;
  font-size: clamp(20px, 1.6vw, 27px) !important;
  font-weight: 850 !important;
  letter-spacing: -.025em;
}
body.wv-route-watch .wv-related-rail {
  display: grid !important;
  grid-auto-flow: column;
  grid-auto-columns: clamp(155px, 13vw, 218px);
  gap: 16px !important;
  overflow-x: auto !important;
  padding: 6px 2px 24px !important;
  scrollbar-width: none;
}
body.wv-route-watch .wv-related-rail::-webkit-scrollbar { display: none; }
body.wv-route-watch .wv-related-card {
  width: auto !important;
  min-width: 0 !important;
}
body.wv-route-watch .wv-related-card img {
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 2/3 !important;
  object-fit: cover !important;
  border-radius: 10px;
  border: 1px solid var(--wv-border);
}

/* Comments are deliberately removed from the consumer title/watch experience. */
body.wv-route-watch [data-comments],
body.wv-route-watch [data-comment-section],
body.wv-route-watch #comments,
body.wv-route-watch #commentSection,
body.wv-route-watch .comments,
body.wv-route-watch .comments-section,
body.wv-route-watch .comment-section,
body.wv-route-watch .comment-form { display: none !important; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 900px) {
  body.wv-route-landing .wv-landing-nav {
    grid-template-columns: 1fr auto;
    min-height: 68px;
  }
  body.wv-route-landing .wv-landing-nav nav { display: none; }
  body.wv-route-landing .wv-landing-grid {
    align-items: flex-end;
    padding: 120px 20px 64px !important;
  }
  body.wv-route-landing .wv-landing-copy { width: 100%; }
  body.wv-route-landing .wv-landing-copy h1 { font-size: clamp(46px, 14vw, 72px) !important; }
  body.wv-route-landing .wv-landing::before {
    background: linear-gradient(0deg, #020203 3%, rgba(0,0,0,.88) 38%, rgba(0,0,0,.18) 100%);
  }

  body.wv-route-home .wv-home-hero-card > div { height: 660px !important; min-height: 660px; }
  body.wv-route-home .wv-home-hero-slide::after {
    background: linear-gradient(0deg, var(--wv-bg) 0%, rgba(0,0,0,.84) 45%, rgba(0,0,0,.15) 100%);
  }
  body.wv-route-home .wv-home-hero-content {
    left: 20px !important;
    right: 20px !important;
    bottom: 116px !important;
    width: auto;
  }
  body.wv-route-home .wv-home-hero-content h1 { font-size: clamp(38px, 11vw, 62px) !important; }
  body.wv-route-home .wv-home-hero + div,
  body.wv-route-home .wv-home-hero ~ div.py-6 { margin-top: -88px; }
  body.wv-route-home .wv-poster-rail { grid-auto-columns: clamp(132px, 38vw, 178px); }
  body.wv-route-home .wv-row-shell { padding-inline: 18px !important; }

  body.wv-route-watch .wv-detail-page { min-height: 720px; }
  body.wv-route-watch .wv-detail-hero .wv-hero-card > div { min-height: 720px; }
  body.wv-route-watch .wv-detail-hero::after {
    background: linear-gradient(0deg, var(--wv-bg) 1%, rgba(0,0,0,.88) 43%, rgba(0,0,0,.15) 100%);
  }
  body.wv-route-watch .wv-detail-meta {
    width: 100%;
    padding: 360px 20px 70px !important;
  }
  body.wv-route-watch .wv-detail-copy h1 { font-size: clamp(40px, 12vw, 64px) !important; }
  body.wv-route-watch .wv-related-rail { grid-auto-columns: clamp(132px, 38vw, 176px); }
}

@media (prefers-reduced-motion: reduce) {
  body.wv-redesign *,
  body.wv-redesign *::before,
  body.wv-redesign *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}


/* === Canonical layout rules === */

/* WatchVIM layout refinements — Phase 3
   Keeps the existing application, subscription, authentication, entitlement,
   checkout and playback logic unchanged. */

/* =========================================================
   PUBLIC LANDING PAGE — keep the promo video beside the copy
   ========================================================= */
@media (min-width: 901px) {
  body.wv-route-landing .wv-landing {
    overflow: visible;
  }

  body.wv-route-landing .wv-landing-grid {
    min-height: 100vh;
    display: grid !important;
    grid-template-columns: minmax(360px, .92fr) minmax(520px, 1.08fr);
    gap: clamp(42px, 6vw, 104px);
    align-items: center;
    padding: 126px clamp(28px, 6vw, 104px) 70px !important;
  }

  body.wv-route-landing .wv-landing-copy {
    width: 100%;
    max-width: 720px;
  }

  body.wv-route-landing .wv-landing-copy h1 {
    max-width: 720px;
    font-size: clamp(46px, 5.3vw, 82px) !important;
    line-height: .91 !important;
  }

  body.wv-route-landing .wv-landing-media {
    position: relative !important;
    inset: auto !important;
    z-index: 2 !important;
    width: min(100%, 840px);
    height: auto !important;
    justify-self: end;
    align-self: center;
  }

  body.wv-route-landing .wv-landing-player {
    position: relative !important;
    inset: auto !important;
    width: 100%;
    height: auto !important;
    aspect-ratio: 16 / 9 !important;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.14) !important;
    border-radius: 24px !important;
    background: #000;
    box-shadow: 0 30px 90px rgba(0,0,0,.62) !important;
  }

  body.wv-route-landing .wv-landing-player mux-player,
  body.wv-route-landing .wv-landing-player video {
    width: 100%;
    height: 100%;
    opacity: 1;
    object-fit: cover;
    --media-object-fit: cover;
  }

  body.wv-route-landing .wv-landing::before {
    background:
      radial-gradient(circle at 80% 38%, rgba(236,10,88,.14), transparent 30rem),
      linear-gradient(90deg, rgba(0,0,0,.92) 0%, rgba(0,0,0,.74) 42%, rgba(0,0,0,.28) 100%);
  }
}

/* =========================================================
   CATALOG HOME — poster rows begin after the hero
   ========================================================= */
body.wv-route-home .wv-home-hero + div,
body.wv-route-home .wv-home-hero ~ div.py-6 {
  margin-top: 0 !important;
  padding-top: clamp(24px, 3vw, 44px) !important;
  position: relative;
  z-index: 2;
  background: linear-gradient(180deg, var(--wv-bg) 0%, #050505 100%);
}

body.wv-route-home .wv-poster-section {
  z-index: 2;
}

body.wv-route-home .wv-featured-section {
  padding-top: 0 !important;
}

/* Keep trailer/video layers above the static artwork. */
body.wv-route-home .wv-home-hero-slide [data-hero-stage="1"] {
  overflow: hidden;
}

body.wv-route-home .wv-home-hero-slide .wv-hero-img {
  z-index: 1 !important;
  transition: opacity .24s ease, visibility .24s ease;
}

body.wv-route-home .wv-home-hero-slide .wv-hero-img.wv-hide {
  opacity: 0 !important;
  visibility: hidden !important;
}

body.wv-route-home .wv-home-hero-slide .wv-hero-preview {
  z-index: 3 !important;
  background: #000;
}

/* =========================================================
   TABLET / MOBILE — separate preview area from hero copy
   ========================================================= */
@media (max-width: 900px) {
  body.wv-route-landing .wv-landing {
    min-height: auto !important;
    overflow: visible;
  }

  body.wv-route-landing .wv-landing-grid {
    min-height: auto;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
    align-items: start;
    padding: 106px 18px 48px !important;
  }

  body.wv-route-landing .wv-landing-copy {
    order: 1;
    width: 100%;
    max-width: 680px;
    margin: 0 auto;
  }

  body.wv-route-landing .wv-landing-copy h1 {
    font-size: clamp(42px, 13vw, 68px) !important;
  }

  body.wv-route-landing .wv-landing-media {
    order: 2;
    position: relative !important;
    inset: auto !important;
    z-index: 2 !important;
    width: min(100%, 720px);
    height: auto !important;
    margin: 0 auto;
  }

  body.wv-route-landing .wv-landing-player {
    position: relative !important;
    inset: auto !important;
    width: 100%;
    height: auto !important;
    aspect-ratio: 16 / 9 !important;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.13) !important;
    border-radius: 18px !important;
    background: #000;
    box-shadow: 0 22px 60px rgba(0,0,0,.52) !important;
  }

  body.wv-route-landing .wv-landing-player mux-player,
  body.wv-route-landing .wv-landing-player video {
    width: 100%;
    height: 100%;
    opacity: 1;
    object-fit: cover;
    --media-object-fit: cover;
  }

  body.wv-route-landing .wv-landing::before {
    background:
      radial-gradient(circle at 50% 18%, rgba(236,10,88,.14), transparent 24rem),
      linear-gradient(180deg, rgba(0,0,0,.9), #020203 70%);
  }

  body.wv-route-home .wv-home-hero-card > div {
    height: 690px !important;
    min-height: 690px !important;
  }

  body.wv-route-home .wv-home-hero-slide [data-hero-stage="1"] {
    position: absolute !important;
    inset: 0 0 auto 0 !important;
    width: 100%;
    height: 54% !important;
    min-height: 0 !important;
    overflow: hidden;
    background: #000;
  }

  body.wv-route-home .wv-home-hero-slide [data-hero-hover] {
    inset: 0 0 auto 0 !important;
    width: 100%;
    height: 54% !important;
  }

  body.wv-route-home .wv-home-hero-slide .wv-hero-preview {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    --media-object-fit: contain !important;
    --media-object-position: center !important;
    background: #000;
  }

  body.wv-route-home .wv-home-hero-slide::after {
    background:
      linear-gradient(180deg, transparent 0%, transparent 42%, rgba(3,3,3,.5) 53%, var(--wv-bg) 68%, var(--wv-bg) 100%) !important;
  }

  body.wv-route-home .wv-home-hero-content {
    top: 54% !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    padding: 28px 20px 30px !important;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(3,3,3,.96), var(--wv-bg));
  }

  body.wv-route-home .wv-home-hero-content > div {
    width: 100%;
  }

  body.wv-route-home .wv-home-hero-content h1 {
    font-size: clamp(34px, 10.5vw, 56px) !important;
  }

  body.wv-route-home .wv-home-hero-content p {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
  }

  body.wv-route-home .wv-home-hero + div,
  body.wv-route-home .wv-home-hero ~ div.py-6 {
    margin-top: 0 !important;
    padding-top: 24px !important;
  }
}

@media (max-width: 520px) {
  body.wv-route-home .wv-home-hero-card > div {
    height: 650px !important;
    min-height: 650px !important;
  }

  body.wv-route-home .wv-home-hero-slide [data-hero-stage="1"],
  body.wv-route-home .wv-home-hero-slide [data-hero-hover] {
    height: 50% !important;
  }

  body.wv-route-home .wv-home-hero-content {
    top: 50% !important;
    padding: 24px 18px 24px !important;
  }

  body.wv-route-home .wv-home-hero-actions button {
    min-height: 44px;
    padding: 0 16px !important;
  }
}



/* === Responsive and critical layout rules === */

/* WatchVIM responsive media layout contract.
   This stylesheet owns the final sizing rules for title/series hero artwork
   and watch-page media. It intentionally changes layout only; routing,
   catalog data, entitlements, checkout, ads, and playback remain in app.js. */

/* The video itself is the visual frame. Remove the extra card border,
   rounded shell, inset padding, and shadow around watch-page players. */
body.wv-route-watch .wv-watch-player,
body.wv-route-watch #playerMount.wv-watch-player,
body.wv-route-watch .wv-player-wrap.wv-watch-player,
body.wv-route-watch .playerWrap.wv-watch-player,
body.wv-route-watch .watch-player-wrap.wv-watch-player,
body.wv-route-watch .watch-player.wv-watch-player {
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  background: #000 !important;
}

body.wv-route-watch .wv-watch-player mux-player,
body.wv-route-watch .wv-watch-player video,
body.wv-route-watch #playerMount mux-player,
body.wv-route-watch #playerMount video {
  display: block;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  margin: 0 !important;
}

/* Mobile catalog hero artwork uses its own bounded media frame. The former
   absolute hero filled the entire detail section, so every extra metadata row
   made the image taller and more aggressively cropped. The frame below is
   independent from the copy height and therefore remains stable for every
   title, series, badge combination, and synopsis length. */
@media (max-width: 900px) {
  body.wv-route-home .wv-home-hero-card > div {
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: 9 / 16 !important;
    max-height: none !important;
  }

  body.wv-route-home .wv-home-hero .wv-hero-img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center top !important;
  }

  body.wv-route-watch .wv-detail-page {
    display: grid !important;
    grid-template-rows: auto auto;
    min-height: 0 !important;
    overflow: visible !important;
    isolation: isolate;
    background: var(--wv-bg, #030303);
  }

  body.wv-route-watch .wv-detail-hero {
    position: relative !important;
    inset: auto !important;
    width: 100% !important;
    height: clamp(380px, 58svh, 560px) !important;
    min-height: 0 !important;
    max-height: 560px !important;
    overflow: hidden !important;
    z-index: 0;
    background: #000;
  }

  body.wv-route-watch .wv-detail-hero .wv-hero-card,
  body.wv-route-watch .wv-detail-hero .wv-hero-card > div {
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    max-height: none !important;
    aspect-ratio: auto !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
  }

  body.wv-route-watch .wv-detail-hero .wv-hero-img,
  body.wv-route-watch .wv-detail-hero img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: var(--wv-mobile-hero-position, center 20%) !important;
  }

  body.wv-route-watch .wv-detail-hero::after {
    background:
      linear-gradient(180deg, rgba(3,3,3,.02) 0%, rgba(3,3,3,.08) 48%, rgba(3,3,3,.78) 82%, var(--wv-bg, #030303) 100%) !important;
  }

  body.wv-route-watch .wv-detail-meta {
    position: relative !important;
    z-index: 4 !important;
    width: 100% !important;
    margin: -96px 0 0 !important;
    padding: 0 20px calc(46px + env(safe-area-inset-bottom, 0px)) !important;
    background: linear-gradient(180deg, transparent 0, var(--wv-bg, #030303) 96px, var(--wv-bg, #030303) 100%);
  }

  body.wv-route-watch .wv-detail-copy {
    width: min(100%, 720px) !important;
  }

  body.wv-route-watch .wv-watch-player {
    width: 100% !important;
    max-width: none !important;
    margin: 0 auto 24px !important;
  }
}

@media (max-width: 520px) {
  body.wv-route-watch .wv-detail-hero {
    height: clamp(360px, 54svh, 500px) !important;
    max-height: 500px !important;
  }

  body.wv-route-watch .wv-detail-meta {
    margin-top: -84px !important;
    padding-inline: 18px !important;
  }
}

/* Short landscape phones need a compact two-column composition rather than a
   tall portrait stack. This keeps the artwork visible without allowing it to
   consume the entire viewport. */
@media (max-width: 900px) and (orientation: landscape) and (max-height: 560px) {
  body.wv-route-watch .wv-detail-page {
    grid-template-columns: minmax(280px, 46vw) minmax(0, 1fr);
    grid-template-rows: auto;
    align-items: stretch;
  }

  body.wv-route-watch .wv-detail-hero {
    height: min(76svh, 520px) !important;
    max-height: 520px !important;
  }

  body.wv-route-watch .wv-detail-meta {
    margin: 0 !important;
    padding: 28px 24px calc(32px + env(safe-area-inset-bottom, 0px)) !important;
    align-self: center;
    background: linear-gradient(90deg, rgba(3,3,3,.70), var(--wv-bg, #030303) 24%);
  }
}


/* === More Like This styles === */

/* WatchVIM floating More Like This shelf */

body.wv-route-watch .wv-more-like-this-float {
  position: relative;
  z-index: 18;
  width: min(1440px, calc(100% - 64px));
  /* Keep the shelf visually elevated, but never pull it upward over comments. */
  margin: 42px auto 54px !important;
  padding: 26px 28px 28px !important;
  clear: both;
  overflow: visible !important;
  border: 0 !important;
  border-radius: 30px;
  background:
    linear-gradient(135deg, rgba(21,21,24,.84), rgba(5,5,7,.74) 58%, rgba(13,4,8,.76)),
    radial-gradient(circle at 15% 0%, rgba(236,10,88,.10), transparent 34rem);
  box-shadow:
    0 34px 90px rgba(0,0,0,.62),
    0 8px 26px rgba(0,0,0,.38),
    inset 0 1px 0 rgba(255,255,255,.05);
  backdrop-filter: blur(22px) saturate(125%);
  -webkit-backdrop-filter: blur(22px) saturate(125%);
}

body.wv-route-watch .wv-more-like-this-float::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 8%;
  width: 38%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.28), transparent);
  pointer-events: none;
}

body.wv-route-watch .wv-more-like-this-float > div,
body.wv-route-watch .wv-more-like-this-inner {
  width: 100% !important;
  max-width: none !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

body.wv-route-watch .wv-more-like-this-float [data-wv-section-title] {
  display: block;
  margin: 0 0 18px !important;
  text-align: center;
  font-size: clamp(22px, 2vw, 32px) !important;
  font-weight: 850 !important;
  letter-spacing: -.035em;
}

body.wv-route-watch .wv-more-like-this-viewport {
  position: relative;
  width: 100%;
  overflow: visible !important;
  padding-inline: 44px;
}

body.wv-route-watch .wv-more-like-this-rail {
  display: flex !important;
  flex-flow: row nowrap !important;
  align-items: flex-start !important;
  justify-content: flex-start;
  width: 100% !important;
  max-width: none !important;
  gap: clamp(14px, 1.25vw, 22px) !important;
  overflow-x: auto !important;
  overflow-y: visible !important;
  scroll-behavior: smooth;
  scroll-snap-type: x proximity;
  scroll-padding-inline: 6px;
  overscroll-behavior-inline: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
  padding: 10px 6px 20px !important;
  margin: 0 !important;
}

body.wv-route-watch .wv-more-like-this-rail.is-centered {
  justify-content: center !important;
}

body.wv-route-watch .wv-more-like-this-rail::-webkit-scrollbar,
body.wv-route-watch .wv-more-like-this-rail::-webkit-scrollbar-track,
body.wv-route-watch .wv-more-like-this-rail::-webkit-scrollbar-thumb {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  background: transparent !important;
}

/* The poster is the card. Remove the old nested border/background shell. */
body.wv-route-watch .wv-more-like-this-rail > button,
body.wv-route-watch .wv-more-like-this-rail > a,
body.wv-route-watch .wv-more-like-this-rail > * {
  flex: 0 0 clamp(164px, 14.5vw, 224px) !important;
  width: clamp(164px, 14.5vw, 224px) !important;
  min-width: 0 !important;
  max-width: 224px !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  outline-offset: 4px;
  text-align: center !important;
  scroll-snap-align: start;
  transition: transform .24s ease, filter .24s ease;
}

body.wv-route-watch .wv-more-like-this-rail > * > div {
  width: 100% !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  overflow: visible !important;
}

body.wv-route-watch .wv-more-like-this-rail > * > div > div:first-child {
  width: 100% !important;
  aspect-ratio: 2 / 3 !important;
  overflow: hidden !important;
  border: 0 !important;
  border-radius: 12px !important;
  background: #090909 !important;
  box-shadow: 0 18px 38px rgba(0,0,0,.42);
}

body.wv-route-watch .wv-more-like-this-rail img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
}

body.wv-route-watch .wv-more-like-this-rail > * > div > div:last-child {
  width: 100% !important;
  padding: 11px 2px 0 !important;
  border: 0 !important;
  background: transparent !important;
  text-align: center !important;
}

body.wv-route-watch .wv-more-like-this-rail > * > div > div:last-child > div {
  text-align: center !important;
}

body.wv-route-watch .wv-more-like-this-rail > *:hover {
  position: relative;
  z-index: 4;
  transform: translateY(-9px) scale(1.025);
  filter: brightness(1.04);
}

body.wv-route-watch .wv-more-like-this-arrow {
  appearance: none;
  position: absolute;
  top: 0;
  bottom: 18px;
  z-index: 12;
  width: 72px;
  min-width: 0;
  padding: 0;
  border: 0 !important;
  border-radius: 0 !important;
  color: rgba(255,255,255,.94);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: .82;
  box-shadow: none !important;
  transition: opacity .2s ease, color .2s ease, transform .2s ease;
  -webkit-tap-highlight-color: transparent;
}

body.wv-route-watch .wv-more-like-this-arrow--left {
  left: 0;
  background: linear-gradient(90deg, rgba(4,4,6,.94) 0%, rgba(4,4,6,.62) 42%, rgba(4,4,6,0) 100%) !important;
}

body.wv-route-watch .wv-more-like-this-arrow--right {
  right: 0;
  background: linear-gradient(270deg, rgba(4,4,6,.94) 0%, rgba(4,4,6,.62) 42%, rgba(4,4,6,0) 100%) !important;
}

body.wv-route-watch .wv-more-like-this-arrow svg {
  width: 36px;
  height: 36px;
  filter: drop-shadow(0 3px 8px rgba(0,0,0,.76));
  pointer-events: none;
}

body.wv-route-watch .wv-more-like-this-arrow:hover,
body.wv-route-watch .wv-more-like-this-arrow:focus-visible {
  opacity: 1;
  color: #fff;
}

body.wv-route-watch .wv-more-like-this-arrow--left:hover {
  transform: translateX(-2px);
}

body.wv-route-watch .wv-more-like-this-arrow--right:hover {
  transform: translateX(2px);
}

body.wv-route-watch .wv-more-like-this-arrow[disabled],
body.wv-route-watch .wv-more-like-this-arrow.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

@media (max-width: 900px) {
  body.wv-route-watch .wv-more-like-this-float {
    width: calc(100% - 24px);
    margin: 28px auto 34px !important;
    padding: 20px 12px 22px !important;
    border-radius: 22px;
  }

  body.wv-route-watch .wv-more-like-this-float [data-wv-section-title] {
    margin-bottom: 12px !important;
  }

  body.wv-route-watch .wv-more-like-this-viewport {
    padding-inline: 30px;
  }

  body.wv-route-watch .wv-more-like-this-rail > button,
  body.wv-route-watch .wv-more-like-this-rail > a,
  body.wv-route-watch .wv-more-like-this-rail > * {
    flex-basis: clamp(142px, 42vw, 178px) !important;
    width: clamp(142px, 42vw, 178px) !important;
    max-width: 178px !important;
  }

  body.wv-route-watch .wv-more-like-this-arrow {
    width: 48px;
    bottom: 18px;
  }

  body.wv-route-watch .wv-more-like-this-arrow svg {
    width: 28px;
    height: 28px;
  }
}

@media (hover: none) and (pointer: coarse) {
  body.wv-route-watch .wv-more-like-this-arrow {
    opacity: .68;
  }

  body.wv-route-watch .wv-more-like-this-rail > *:hover {
    transform: none;
    filter: none;
  }
}



/* === Home interaction styles === */

/* WatchVIM homepage interaction corrections.
   Presentation only: authenticated header controls and floating poster-row arrows. */

/* Authenticated header controls */
body.wv-redesign .wv-authenticated-header-controls {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  margin-left: auto;
  position: relative;
  z-index: 2147483000;
  pointer-events: auto;
}

body.wv-redesign .wv-authenticated-profile,
body.wv-redesign .wv-authenticated-logout {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 16px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 11px;
  color: #fff;
  background: rgba(255,255,255,.09);
  box-shadow: none;
  font: 750 14px/1 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  touch-action: manipulation;
  pointer-events: auto;
  -webkit-tap-highlight-color: transparent;
}

body.wv-redesign .wv-authenticated-profile:hover,
body.wv-redesign .wv-authenticated-logout:hover {
  background: rgba(255,255,255,.15);
  border-color: rgba(255,255,255,.22);
}

body.wv-redesign .wv-authenticated-profile-avatar,
body.wv-redesign .wv-authenticated-profile-initials {
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  border-radius: 999px;
  object-fit: cover;
  object-position: center;
  border: 1px solid rgba(255,255,255,.18);
  background: linear-gradient(135deg, rgba(236,10,88,.62), rgba(212,175,55,.46));
}

body.wv-redesign .wv-authenticated-profile-initials {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

body.wv-redesign .wv-authenticated-logout[aria-busy="true"] {
  opacity: .55;
  cursor: wait;
}

/* Homepage poster carousels */
body.wv-route-home .wv-home-row-viewport {
  position: relative !important;
  width: 100%;
  overflow: visible !important;
  isolation: isolate;
}

body.wv-route-home .wv-home-row-viewport > .wv-poster-rail,
body.wv-route-home .wv-home-row-viewport > .row-scroll {
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
  scroll-behavior: smooth;
  overscroll-behavior-inline: contain;
}

body.wv-route-home .wv-home-row-viewport > .wv-poster-rail::-webkit-scrollbar,
body.wv-route-home .wv-home-row-viewport > .row-scroll::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  background: transparent !important;
}

body.wv-route-home .wv-home-row-arrow {
  appearance: none;
  position: absolute;
  top: 0;
  bottom: 22px;
  z-index: 18;
  width: clamp(54px, 4.8vw, 82px);
  min-width: 0;
  padding: 0;
  border: 0 !important;
  border-radius: 0 !important;
  color: rgba(255,255,255,.96);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: .78;
  visibility: visible;
  box-shadow: none !important;
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

body.wv-route-home .wv-home-row-arrow--left {
  left: -2px;
  background: linear-gradient(90deg, rgba(2,2,3,.94) 0%, rgba(2,2,3,.62) 44%, rgba(2,2,3,0) 100%) !important;
}

body.wv-route-home .wv-home-row-arrow--right {
  right: -2px;
  background: linear-gradient(270deg, rgba(2,2,3,.94) 0%, rgba(2,2,3,.62) 44%, rgba(2,2,3,0) 100%) !important;
}

body.wv-route-home .wv-home-row-arrow svg {
  width: 38px;
  height: 38px;
  pointer-events: none;
  filter: drop-shadow(0 3px 10px rgba(0,0,0,.82));
}

body.wv-route-home .wv-home-row-arrow:hover,
body.wv-route-home .wv-home-row-arrow:focus-visible {
  opacity: 1;
}

body.wv-route-home .wv-home-row-arrow--left:hover {
  transform: translateX(-2px);
}

body.wv-route-home .wv-home-row-arrow--right:hover {
  transform: translateX(2px);
}

body.wv-route-home .wv-home-row-arrow[disabled],
body.wv-route-home .wv-home-row-arrow.is-hidden {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

@media (max-width: 900px) {
  body.wv-redesign .wv-authenticated-header-controls {
    gap: 7px;
  }

  body.wv-redesign .wv-authenticated-profile,
  body.wv-redesign .wv-authenticated-logout {
    min-height: 44px;
    padding: 0 12px;
    font-size: 13px;
  }

  body.wv-redesign .wv-authenticated-profile-avatar,
  body.wv-redesign .wv-authenticated-profile-initials {
    width: 28px;
    height: 28px;
    flex-basis: 28px;
  }

  body.wv-route-home .wv-home-row-arrow {
    width: 48px;
    bottom: 20px;
    opacity: .72;
  }

  body.wv-route-home .wv-home-row-arrow svg {
    width: 30px;
    height: 30px;
  }
}

@media (max-width: 520px) {
  body.wv-redesign .wv-authenticated-profile,
  body.wv-redesign .wv-authenticated-logout {
    padding: 0 10px;
  }

  body.wv-redesign .wv-authenticated-profile-label {
    display: none;
  }
}



/* === Cinematic Watch Page layout === */

/* ==========================================================
   WatchVIM Cinematic Watch Page
   Live implementation of cinematic-watch-preview.html.
   Scoped only to #/watch/... and #/episode/... routes.
   ========================================================== */

body.wv-cinematic-player-route {
  --wv-watch-red: #e50914;
  --wv-watch-gold: #d4af37;
  --wv-watch-page: #0a0a0a;
  --wv-watch-panel: rgba(16, 16, 16, .84);
  background:
    radial-gradient(circle at 75% 8%, rgba(229, 9, 20, .18), transparent 34%),
    radial-gradient(circle at 12% 85%, rgba(212, 175, 55, .10), transparent 30%),
    var(--wv-watch-page) !important;
}

body.wv-cinematic-player-route #app,
body.wv-cinematic-player-route #app > div,
body.wv-cinematic-player-route #app > div > main {
  background: transparent !important;
}

body.wv-cinematic-player-route #app > div > main {
  padding-bottom: 0 !important;
}

body.wv-cinematic-player-route #app > div > footer {
  display: none !important;
}

body.wv-cinematic-player-route .wv-cinematic-watch-page,
body.wv-cinematic-player-route .wv-cinematic-watch-page * {
  box-sizing: border-box;
}

body.wv-cinematic-player-route .wv-cinematic-watch-page {
  width: 100%;
  min-height: calc(100vh - 70px);
  color: #fff;
}

body.wv-cinematic-player-route .wv-cinematic-main {
  width: min(1500px, 100%);
  margin: 0 auto;
  padding: 28px 40px 64px;
  display: grid;
  gap: 30px;
}

body.wv-cinematic-player-route .wv-cinematic-watch-grid {
  display: grid;
  grid-template-columns: 380px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

body.wv-cinematic-player-route .wv-cinematic-title-panel {
  display: grid;
  gap: 17px;
  padding-top: 30px;
  min-width: 0;
}

body.wv-cinematic-player-route .wv-cinematic-back {
  width: fit-content;
  border: 0;
  padding: 0;
  background: transparent;
  color: rgba(255, 255, 255, .50);
  font: inherit;
  font-size: 14px;
  cursor: pointer;
}

body.wv-cinematic-player-route .wv-cinematic-back:hover {
  color: #fff;
}

body.wv-cinematic-player-route .wv-cinematic-studio,
body.wv-cinematic-player-route .wv-cinematic-now-playing {
  margin: 0;
  color: var(--wv-watch-gold);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .20em;
  text-transform: uppercase;
}

body.wv-cinematic-player-route .wv-cinematic-now-playing {
  margin-top: -9px;
  color: rgba(255, 255, 255, .48);
  font-size: 11px;
}

body.wv-cinematic-player-route .wv-cinematic-title-panel h1 {
  margin: 0;
  font-size: clamp(3.25rem, 5.3vw, 5.7rem);
  line-height: .93;
  letter-spacing: -.055em;
  font-weight: 950;
  overflow-wrap: anywhere;
}

body.wv-cinematic-player-route .wv-cinematic-meta-line {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: rgba(255, 255, 255, .65);
  font-size: 14px;
}

body.wv-cinematic-player-route .wv-cinematic-summary {
  margin: 0;
  color: rgba(255, 255, 255, .70);
  font-size: 18px;
  line-height: 1.65;
}

body.wv-cinematic-player-route .wv-cinematic-desktop-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

body.wv-cinematic-player-route .wv-cinematic-desktop-actions button,
body.wv-cinematic-player-route .wv-cinematic-mobile-actions button {
  min-height: 48px;
  border-radius: 12px;
  padding: 0 20px;
  border: 1px solid transparent;
  color: #fff;
  font: inherit;
  font-weight: 750;
  cursor: pointer;
}

body.wv-cinematic-player-route .wv-cinematic-primary,
body.wv-cinematic-player-route .wv-cinematic-mobile-primary {
  background: var(--wv-watch-red);
}

body.wv-cinematic-player-route .wv-cinematic-primary:hover,
body.wv-cinematic-player-route .wv-cinematic-mobile-primary:hover {
  background: #ff1f2b;
}

body.wv-cinematic-player-route .wv-cinematic-secondary,
body.wv-cinematic-player-route .wv-cinematic-mobile-secondary {
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .10) !important;
  backdrop-filter: blur(16px);
}

body.wv-cinematic-player-route .wv-cinematic-secondary.is-active,
body.wv-cinematic-player-route .wv-cinematic-mobile-secondary.is-active {
  color: var(--wv-watch-gold);
  border-color: rgba(212, 175, 55, .55) !important;
}

body.wv-cinematic-player-route .wv-cinematic-icon-button {
  width: 48px;
  padding: 0 !important;
}

body.wv-cinematic-player-route .wv-cinematic-progress {
  display: grid;
  gap: 8px;
  margin-top: 2px;
}

body.wv-cinematic-player-route .wv-cinematic-progress-track {
  height: 6px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, .10);
}

body.wv-cinematic-player-route .wv-cinematic-progress-track span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: var(--wv-watch-red);
  transition: width .25s linear;
}

body.wv-cinematic-player-route .wv-cinematic-progress-labels {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: rgba(255, 255, 255, .45);
  font-size: 12px;
}

body.wv-cinematic-player-route .wv-cinematic-access-badge {
  width: fit-content;
  padding: 7px 11px;
  border: 1px solid rgba(212, 175, 55, .25);
  border-radius: 999px;
  color: var(--wv-watch-gold);
  background: rgba(212, 175, 55, .10);
  font-size: 11px;
  font-weight: 700;
}

body.wv-cinematic-player-route .wv-cinematic-player-slot {
  min-width: 0;
  position: relative;
}

body.wv-cinematic-player-route .wv-cinematic-player-card {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  overflow: hidden !important;
  border: 1px solid rgba(255, 255, 255, .09) !important;
  border-radius: 18px !important;
  background: #000 !important;
  box-shadow: 0 28px 72px rgba(0, 0, 0, .44) !important;
}

body.wv-cinematic-player-route .wv-cinematic-player-mount,
body.wv-cinematic-player-route .wv-cinematic-player-card mux-player,
body.wv-cinematic-player-route .wv-cinematic-player-card video {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  aspect-ratio: 16 / 9 !important;
  border-radius: 0 !important;
  background: #000 !important;
  --media-accent-color: var(--wv-watch-red);
  --media-primary-color: #fff;
}

body.wv-cinematic-player-route .wv-cinematic-tabs {
  display: flex;
  gap: 32px;
  overflow-x: auto;
  white-space: nowrap;
  border-bottom: 1px solid rgba(255, 255, 255, .10);
  scrollbar-width: none;
}

body.wv-cinematic-player-route .wv-cinematic-tabs::-webkit-scrollbar {
  display: none;
}

body.wv-cinematic-player-route .wv-cinematic-tabs button {
  flex: 0 0 auto;
  padding: 16px 0 14px;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: rgba(255, 255, 255, .45);
  font: inherit;
  font-size: 14px;
  cursor: pointer;
}

body.wv-cinematic-player-route .wv-cinematic-tabs button.is-active {
  color: #fff;
  border-color: var(--wv-watch-red);
}

body.wv-cinematic-player-route .wv-cinematic-content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 28px;
  align-items: start;
}

body.wv-cinematic-player-route .wv-cinematic-content-column {
  display: grid;
  gap: 32px;
  min-width: 0;
}

body.wv-cinematic-player-route .wv-cinematic-glass {
  background: var(--wv-watch-panel);
  border: 1px solid rgba(255, 255, 255, .09);
  backdrop-filter: blur(16px);
}

body.wv-cinematic-player-route .wv-cinematic-details-card {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 20px;
  padding: 20px;
  border-radius: 16px;
}

body.wv-cinematic-player-route .wv-cinematic-poster {
  aspect-ratio: 2 / 3;
  width: 150px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, .10);
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(229, 9, 20, .38), rgba(10, 10, 10, .95) 62%, rgba(212, 175, 55, .18));
  font-size: 22px;
  font-weight: 950;
}

body.wv-cinematic-player-route .wv-cinematic-poster img {
  width: calc(100% + 28px);
  height: calc(100% + 28px);
  margin: -14px;
  object-fit: cover;
}

body.wv-cinematic-player-route .wv-cinematic-details-copy {
  min-width: 0;
}

body.wv-cinematic-player-route .wv-cinematic-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  font-size: 14px;
}

body.wv-cinematic-player-route .wv-cinematic-detail-grid p {
  margin: 0;
}

body.wv-cinematic-player-route .wv-cinematic-detail-grid span {
  color: rgba(255, 255, 255, .40);
}

body.wv-cinematic-player-route .wv-cinematic-extended-summary {
  margin: 20px 0 0;
  color: rgba(255, 255, 255, .65);
  line-height: 1.65;
}

body.wv-cinematic-player-route .wv-cinematic-rail-section {
  min-width: 0;
}

body.wv-cinematic-player-route .wv-cinematic-section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 15px;
}

body.wv-cinematic-player-route .wv-cinematic-section-heading h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 800;
}

body.wv-cinematic-player-route .wv-cinematic-section-heading span {
  color: var(--wv-watch-gold);
  font-size: 13px;
}

body.wv-cinematic-player-route .wv-cinematic-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(220px, 28%);
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 10px;
  overscroll-behavior-inline: contain;
  scroll-snap-type: inline proximity;
  scrollbar-width: thin;
}

body.wv-cinematic-player-route .wv-cinematic-rail::-webkit-scrollbar {
  height: 6px;
}

body.wv-cinematic-player-route .wv-cinematic-rail::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: #2b2b2b;
}

body.wv-cinematic-player-route .wv-cinematic-rail-card {
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
  text-align: left;
  font: inherit;
  cursor: pointer;
  scroll-snap-align: start;
}

body.wv-cinematic-player-route .wv-cinematic-thumb {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 12px;
  background: linear-gradient(135deg, #181818, #070707);
}

body.wv-cinematic-player-route .wv-cinematic-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .25s ease;
}

body.wv-cinematic-player-route .wv-cinematic-rail-card:hover .wv-cinematic-thumb img {
  transform: scale(1.035);
}

body.wv-cinematic-player-route .wv-cinematic-rail-card.is-active .wv-cinematic-thumb {
  border-color: rgba(212, 175, 55, .75);
  box-shadow: 0 0 0 2px rgba(212, 175, 55, .15);
}

body.wv-cinematic-player-route .wv-cinematic-rail-card strong,
body.wv-cinematic-player-route .wv-cinematic-rail-card small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.wv-cinematic-player-route .wv-cinematic-rail-card strong {
  margin-top: 8px;
  font-size: 15px;
}

body.wv-cinematic-player-route .wv-cinematic-rail-card small {
  margin-top: 2px;
  color: rgba(255, 255, 255, .45);
  font-size: 13px;
}

body.wv-cinematic-player-route .wv-cinematic-cast-section {
  padding: 20px;
  border-radius: 16px;
}

body.wv-cinematic-player-route .wv-cinematic-cast-list {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

body.wv-cinematic-player-route .wv-cinematic-cast-list span {
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, .10);
  border-radius: 999px;
  color: rgba(255, 255, 255, .75);
  background: rgba(255, 255, 255, .05);
  font-size: 13px;
}

body.wv-cinematic-player-route .wv-cinematic-studio-aside {
  position: sticky;
  top: 96px;
  height: fit-content;
  padding: 20px;
  border-radius: 16px;
}

body.wv-cinematic-player-route .wv-cinematic-studio-aside > p {
  margin: 0;
  color: var(--wv-watch-gold);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .20em;
}

body.wv-cinematic-player-route .wv-cinematic-studio-aside h2 {
  margin: 12px 0 0;
  font-size: 24px;
  font-weight: 850;
}

body.wv-cinematic-player-route .wv-cinematic-studio-aside > div {
  margin-top: 12px;
  color: rgba(255, 255, 255, .60);
  line-height: 1.65;
}

body.wv-cinematic-player-route .wv-cinematic-studio-aside button {
  width: 100%;
  min-height: 48px;
  margin-top: 20px;
  border: 1px solid var(--wv-watch-gold);
  border-radius: 12px;
  background: transparent;
  color: var(--wv-watch-gold);
  font: inherit;
  font-weight: 750;
  cursor: pointer;
}

body.wv-cinematic-player-route .wv-cinematic-comments-slot:empty,
body.wv-cinematic-player-route .wv-cinematic-ad-slot:empty {
  display: none;
}

body.wv-cinematic-player-route .wv-cinematic-comments-slot #commentsWrap {
  margin: 0 !important;
  border-radius: 16px !important;
  background: var(--wv-watch-panel) !important;
  backdrop-filter: blur(16px);
}

body.wv-cinematic-player-route .wv-cinematic-mobile-actions {
  display: none;
}

@media (min-width: 768px) and (max-width: 1279px) {
  body.wv-cinematic-player-route .wv-cinematic-main {
    padding-left: 28px;
    padding-right: 28px;
  }

  body.wv-cinematic-player-route .wv-cinematic-watch-grid {
    grid-template-columns: 320px minmax(0, 1fr);
  }

  body.wv-cinematic-player-route .wv-cinematic-title-panel h1 {
    font-size: clamp(3rem, 5.4vw, 4.2rem);
  }

  body.wv-cinematic-player-route .wv-cinematic-content-grid {
    grid-template-columns: minmax(0, 1fr) 280px;
  }
}

@media (max-width: 900px) {
  body.wv-cinematic-player-route .wv-cinematic-content-grid {
    grid-template-columns: 1fr;
  }

  body.wv-cinematic-player-route .wv-cinematic-studio-aside {
    position: static;
  }
}

@media (max-width: 767px) {
  body.wv-cinematic-player-route {
    padding-bottom: calc(78px + env(safe-area-inset-bottom));
  }

  body.wv-cinematic-player-route #app > div > header {
    position: sticky;
    top: 0;
    z-index: 40;
    background: rgba(10, 10, 10, .90) !important;
    backdrop-filter: blur(18px);
  }

  body.wv-cinematic-player-route .wv-cinematic-main {
    width: 100%;
    padding: 14px 16px 38px;
    gap: 24px;
  }

  body.wv-cinematic-player-route .wv-cinematic-watch-grid {
    display: flex;
    flex-direction: column;
    gap: 14px;
  }

  body.wv-cinematic-player-route .wv-cinematic-player-slot {
    order: 1;
    width: calc(100% + 32px);
    margin-left: -16px;
    margin-right: -16px;
  }

  body.wv-cinematic-player-route .wv-cinematic-player-card {
    border-left: 0 !important;
    border-right: 0 !important;
    border-radius: 0 !important;
    box-shadow: 0 18px 42px rgba(0, 0, 0, .42) !important;
  }

  body.wv-cinematic-player-route .wv-cinematic-title-panel {
    order: 2;
    gap: 14px;
    padding-top: 18px;
  }

  body.wv-cinematic-player-route .wv-cinematic-title-panel h1 {
    font-size: clamp(2.35rem, 11vw, 3.25rem);
    line-height: .95;
  }

  body.wv-cinematic-player-route .wv-cinematic-summary {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    font-size: 16px;
    line-height: 1.55;
  }

  body.wv-cinematic-player-route .wv-cinematic-desktop-actions {
    display: none;
  }

  body.wv-cinematic-player-route .wv-cinematic-tabs {
    gap: 24px;
    padding-left: 2px;
    padding-right: 2px;
  }

  body.wv-cinematic-player-route .wv-cinematic-content-grid {
    display: block;
  }

  body.wv-cinematic-player-route .wv-cinematic-content-column {
    gap: 28px;
  }

  body.wv-cinematic-player-route .wv-cinematic-details-card {
    grid-template-columns: 86px minmax(0, 1fr);
    gap: 14px;
    padding: 14px;
  }

  body.wv-cinematic-player-route .wv-cinematic-poster {
    width: 86px;
    padding: 8px;
    font-size: 13px;
  }

  body.wv-cinematic-player-route .wv-cinematic-poster img {
    width: calc(100% + 16px);
    height: calc(100% + 16px);
    margin: -8px;
  }

  body.wv-cinematic-player-route .wv-cinematic-detail-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    font-size: 12px;
  }

  body.wv-cinematic-player-route .wv-cinematic-extended-summary {
    margin-top: 14px;
    font-size: 13px;
  }

  body.wv-cinematic-player-route .wv-cinematic-rail {
    grid-auto-columns: 78%;
    gap: 12px;
    margin-right: -16px;
    padding-right: 16px;
  }

  body.wv-cinematic-player-route .wv-cinematic-studio-aside {
    display: none;
  }

  body.wv-cinematic-player-route .wv-cinematic-mobile-actions {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 10px;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 60;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    border-top: 1px solid rgba(255, 255, 255, .10);
    background: rgba(10, 10, 10, .96);
    backdrop-filter: blur(20px);
  }

  body.wv-cinematic-player-route .wv-cinematic-mobile-actions button {
    min-height: 48px;
    border-radius: 14px;
  }

  body.wv-cinematic-player-route .wv-cinematic-mobile-secondary {
    width: 48px;
    padding: 0 !important;
  }
}



/* === Watch Page poster placement === */

/* WatchVIM cinematic poster placement refinement.
   Scoped to playback routes so title and series detail pages remain unchanged. */

body.wv-cinematic-player-route .wv-cinematic-details-card {
  grid-template-columns: 184px minmax(0, 1fr);
  gap: 28px;
  align-items: center;
  padding: 24px;
}

body.wv-cinematic-player-route .wv-cinematic-poster {
  width: 168px;
  aspect-ratio: 2 / 3;
  justify-self: center;
  align-self: center;
  position: relative;
  padding: 0;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid rgba(212, 175, 55, .28);
  background: #050505;
  box-shadow: 0 16px 38px rgba(0, 0, 0, .42);
}

body.wv-cinematic-player-route .wv-cinematic-poster img {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  object-fit: cover;
  object-position: center top;
}

body.wv-cinematic-player-route .wv-cinematic-details-copy {
  align-self: center;
  padding-right: 8px;
}

@media (min-width: 768px) and (max-width: 1100px) {
  body.wv-cinematic-player-route .wv-cinematic-details-card {
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 22px;
    padding: 20px;
  }

  body.wv-cinematic-player-route .wv-cinematic-poster {
    width: 142px;
  }
}

@media (max-width: 767px) {
  body.wv-cinematic-player-route .wv-cinematic-details-card {
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 14px;
    align-items: start;
    padding: 14px;
  }

  body.wv-cinematic-player-route .wv-cinematic-poster {
    width: 96px;
    justify-self: start;
    align-self: start;
    border-radius: 10px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, .34);
  }

  body.wv-cinematic-player-route .wv-cinematic-details-copy {
    align-self: start;
    padding-right: 0;
  }
}

/* Keep the standalone design preview aligned with the integrated Watch Page. */
@media (min-width: 768px) {
  body:not(.wv-cinematic-player-route) .details-card {
    grid-template-columns: 184px minmax(0, 1fr) !important;
    gap: 28px !important;
    align-items: center;
    padding: 24px !important;
  }

  body:not(.wv-cinematic-player-route) .details-poster {
    width: 168px;
    justify-self: center;
    align-self: center;
    border-color: rgba(212, 175, 55, .28) !important;
    box-shadow: 0 16px 38px rgba(0, 0, 0, .42);
  }
}

@media (max-width: 767px) {
  body:not(.wv-cinematic-player-route) .details-card {
    grid-template-columns: 96px minmax(0, 1fr) !important;
    gap: 14px !important;
    align-items: start;
  }

  body:not(.wv-cinematic-player-route) .details-poster {
    width: 96px !important;
    justify-self: start;
  }
}

