:root{
  --bg: #141414;
  --bg2:#0f0f0f;
  --text:#ffffff;
  --muted:#b3b3b3;
  --soft:#2a2a2a;

  --navH: 68px;
  --gutter: clamp(12px, 3.6vw, 56px);
  --rail-gap: clamp(8px, .6vw, 13px);
  --card-w-landscape: clamp(140px, 16.4vw, 262px);
  --hero-min-h: clamp(500px, 56.25vw, 950px);
  --hero-content-lift: clamp(46px, 5.5vw, 118px);
  --hero-content-bottom: clamp(56px, 7.5vh, 126px);
  --hero-content-pad-b: clamp(18px, 2.4vw, 48px);
  --rows-overlap: clamp(-78px, -6vh, -22px);
  --row-title-size: clamp(16px, 1.14vw, 22px);
  --row-subtitle-size: clamp(12px, .84vw, 15px);
  --hero-title-size: clamp(40px, 5vw, 72px);
  --hero-synopsis-size: clamp(14px, .95vw, 17px);
  --hero-actions-gap: clamp(10px, .9vw, 14px);
  --hero-actions-pad-y: clamp(10px, .7vw, 13px);
  --hero-actions-pad-x: clamp(15px, 1.1vw, 20px);
  --hero-grain-opacity: .036;
  --hero-grain-opacity-premium: .052;
  --hero-grain-size: 220px;
  --hero-premium-overlay-opacity: .78;
  --hero-premium-overlay-cool: .22;
  --hero-premium-overlay-warm: .16;
  --hero-premium-overlay-top-dark: .42;
  --hero-premium-overlay-mid-dark: .56;
  --hero-premium-overlay-bottom-dark: .82;
  --tile-lut-warm: rgba(214, 126, 74, .18);
  --tile-lut-cool: rgba(86, 139, 212, .16);
  --tile-grain-opacity: .03;

  --radius: 4px;
  --radiusSm: 4px;

  --shadow: 0 10px 40px rgba(0,0,0,.6);
}


main.communityWrap {
    margin-top: 88px;
}

/* TV show detail page */
.tvDetail{
  padding: 100px 4vw 80px;
  color: #fff;
}
.tvDetail__hero{
  position: relative;
  overflow: hidden;
  isolation: isolate;
  min-height: 320px;
  border-radius: 8px;
  background: #101010;
  background-size: cover;
  background-position: center;
  box-shadow: 0 30px 80px rgba(0,0,0,.55);
  margin-bottom: 28px;
}
.tvDetail__hero::before{
  content:"";
  position:absolute;
  inset:-14%;
  pointer-events:none;
  z-index: 1;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 140 140'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='0.6'/></svg>");
  background-size: var(--hero-grain-size) var(--hero-grain-size);
  background-repeat: repeat;
  opacity: var(--hero-grain-opacity);
  mix-blend-mode: soft-light;
  animation: rfHeroGrainDrift 18s steps(8) infinite, rfHeroGrainJitter 1200ms steps(6) infinite;
}
.tvDetail__heroInner{
  position: relative;
  z-index: 2;
  padding: 32px;
  display: flex;
  align-items: flex-end;
  min-height: 320px;
}
.tvDetail__title{
  font-size: clamp(28px, 4vw, 44px);
  margin: 0 0 8px;
  font-weight: 900;
}
.tvDetail__facts{
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 10px;
  color: rgba(255,255,255,.8);
  font-weight: 600;
}
.tvDetail__facts .badge{
  padding: 4px 8px;
  border-radius: 6px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.16);
  font-size: 12px;
}
.tvDetail__synopsis{
  max-width: 720px;
  color: rgba(255,255,255,.85);
}
.tvDetail__section{
  font-size: 20px;
  font-weight: 800;
  margin: 0 0 16px;
}
.tvDetail__next{
  background: rgba(20,20,20,.9);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px;
  padding: 16px;
  margin-bottom: 18px;
}
.tvDetail__nextLabel{
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: rgba(255,255,255,.6);
  margin-bottom: 6px;
}
.tvDetail__nextTitle{
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 10px;
}
.tvDetail__nextActions{
  display: flex;
  gap: 10px;
}
.tvDetail__season{
  background: rgba(15,15,15,.9);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 5px;
  padding: 16px;
  margin-bottom: 16px;
}
.tvDetail__seasonHeader{
  margin-bottom: 10px;
}
.tvDetail__seasonTitle{
  font-weight: 800;
  font-size: 18px;
}
.tvDetail__seasonName{
  font-weight: 600;
  color: rgba(255,255,255,.7);
  margin-left: 8px;
}
.tvDetail__seasonOverview{
  color: rgba(255,255,255,.7);
  margin-top: 6px;
}
.tvDetail__episodes{
  display: grid;
  gap: 12px;
}
.tvDetail__episode{
  display: grid;
  grid-template-columns: 168px 1fr auto;
  gap: 12px;
  align-items: start;
  padding: 12px;
  border-radius: 12px;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.06);
}
.tvDetail__epThumb{
  width: 168px;
  aspect-ratio: 16/9;
  border-radius: 8px;
  background: rgba(255,255,255,.08);
  background-size: cover;
  background-position: center;
  border: 1px solid rgba(255,255,255,.12);
  position: relative;
  overflow: hidden;
}
.tvDetail__epNumBadge{
  position: absolute;
  left: 8px;
  top: 8px;
  background: rgba(0,0,0,.72);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.2);
}
.tvDetail__epTimeBadge{
  position: absolute;
  right: 6px;
  bottom: 6px;
  background: rgba(0,0,0,.72);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.2);
  white-space: nowrap;
}
.tvDetail__epNum{
  font-weight: 800;
  font-size: 14px;
  color: rgba(255,255,255,.7);
}
.tvDetail__epNumLine{
  font-weight: 800;
  font-size: 12px;
  letter-spacing: .02em;
  color: rgba(255,255,255,.66);
  margin-bottom: 3px;
}
.tvDetail__epTitle{
  font-weight: 700;
  margin-bottom: 4px;
}
.tvDetail__epBadge{
  display: inline-block;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(229,9,20,.2);
  color: #ffb3b6;
  border: 1px solid rgba(229,9,20,.35);
  font-size: 11px;
  font-weight: 700;
  margin-bottom: 6px;
}
.tvDetail__epProgress{
  height: 6px;
  border-radius: 999px;
  background: rgba(255,255,255,.12);
  overflow: hidden;
  margin: 6px 0 8px;
  max-width: 220px;
}
.tvDetail__epProgressFill{
  height: 100%;
  background: linear-gradient(90deg, rgba(229,9,20,1), rgba(255,80,100,.9));
}
.tvDetail__epTimeLeft{
  font-size: 11px;
  color: rgba(255,255,255,.65);
  margin-bottom: 6px;
}
.tvDetail__epMeta{
  color: rgba(255,255,255,.6);
  font-size: 12px;
}
.tvDetail__epSynopsis{
  color: rgba(255,255,255,.7);
  font-size: 13px;
  margin-top: 4px;
}
.tvDetail__epAction{
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.tvDetail__empty{
  color: rgba(255,255,255,.75);
  padding: 20px 0;
}
@media (max-width: 820px){
  .tvDetail__episode{
    grid-template-columns: 1fr;
    align-items: flex-start;
  }
  .tvDetail__epThumb{
    width: 100%;
    max-width: 280px;
  }
  .tvDetail__epAction{
    margin-top: 8px;
  }
}


::-webkit-scrollbar {
    width: 0px !important;
}
::-webkit-scrollbar-thumb
Specificity: (0,0,1)
 {
    border-radius: 5px;
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.5);
}

::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
    border-radius: 5px;
}


*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  background: var(--bg);
  color: var(--text);
  overflow-x:hidden;
}




/* TOP NAV */
.topNav{
  position:fixed;
  top:0; left:0; right:0;
  height: var(--navH);
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 0 var(--gutter);
  z-index: 1000;
  /* Riteflix-like: transparent over hero, solid on scroll */
  background: transparent;
  transition: background-color 220ms ease, backdrop-filter 220ms ease, box-shadow 220ms ease;
}
.topNav::before{
  content: "";
  position: absolute;
  inset: 0;
  /* Riteflix-style fade for readability while header is transparent.
     Stronger at the very top, quickly tapering so the hero remains visible. */
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,.92) 0%,
    rgba(0,0,0,.62) 38%,
    rgba(0,0,0,.25) 62%,
    rgba(0,0,0,0) 100%
  );
  opacity: 0;
  transition: opacity 220ms ease;
  pointer-events: none;
}
.topNav > *{ position: relative; z-index: 1; }

.topNav--transparent{
  background: transparent;
}
.topNav--transparent::before{ opacity: 1; }
.topNav--solid{
  background: rgba(20,20,20,.92);
  backdrop-filter: blur(7px);
  /*box-shadow: 0 6px 24px rgba(0,0,0,.35);*/
}
.topNav--solid::before{ opacity: 0; }
.topNav__left, .topNav__right{
  display:flex;
  align-items:center;
  gap: 2px;
}

.topNav__logoPlaceholder{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width: 78px;
  height: 28px;
  padding: 0 10px;
  border: 1px dashed rgba(255,255,255,.45);
  border-radius: 6px;
  color: rgba(255,255,255,.8);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  background: rgba(0,0,0,.15);
}


section#rowsRoot {
    margin-top: 0px;
}

.primaryNav{
  display:flex;
  align-items:center;
  gap: 16px;
  font-size: 14px;
}
.navLink{
  color: rgba(255,255,255,.85);
  text-decoration:none;
  transition: color 160ms ease;
  white-space:nowrap;
}
.topNav--transparent .navLink,
.topNav--transparent .navDropdown{
  /* keep text readable over bright posters */
  text-shadow: 0 1px 2px rgba(0,0,0,.85);
}
.navLink:hover{ color: #fff; }
.navLink.isActive{
  color:#fff;
  font-weight: 600;
}

.navDropdown{
  position:relative;
  color: rgba(255,255,255,.85);
  cursor:pointer;
  user-select:none;
  display:flex;
  align-items:center;
  gap: 6px;
  padding: 8px 10px;
  border-radius: 8px;
}
.navDropdown:focus{
  outline: 2px solid rgba(255,255,255,.25);
  outline-offset: 2px;
}
.dropdownMenu{
  position:absolute;
  top: calc(100% + 10px);
  left:0;
  min-width: 210px;
  background: rgba(20,20,20,.98);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 10px;
  box-shadow: var(--shadow);
  padding: 8px;
  display:none;
}
.navDropdown:hover .dropdownMenu,
.navDropdown:focus-within .dropdownMenu{
  display:block;
}
.dropdownMenu a{
  display:block;
  padding: 10px 10px;
  border-radius: 8px;
  color: rgba(255,255,255,.88);
  text-decoration:none;
  font-size: 13px;
}
.dropdownMenu a:hover{ background: rgba(255,255,255,.08); color:#fff; }

.iconBtn{
  border:0;
  background: transparent;
  color:#fff;
  cursor:pointer;
  padding: 10px;
  border-radius: 999px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
}
.topNav--transparent .iconBtn{
  text-shadow: 0 1px 2px rgba(0,0,0,.85);
}
.iconBtn:hover{ background: rgba(255,255,255,.10); }

.profileBtn{
  border:0;
  background: transparent;
  color:#fff;
  cursor:pointer;
  padding: 8px 10px;
  border-radius: 12px;
  display:flex;
  align-items:center;
  gap: 8px;
}
.profileBtn:hover{ background: rgba(255,255,255,.10); }
.avatar{
  width: 28px; height: 28px;
  border-radius: 6px;
  background: linear-gradient(135deg, rgba(255,255,255,.25), rgba(255,255,255,.05));
  border: 1px solid rgba(255,255,255,.18);
}


/* SVG icon system (Lucide-style, consistent across the site) */
.rfIcon{
  width:18px;
  height:18px;
  display:inline-block;
  vertical-align:-0.15em;
  flex:0 0 auto;
  color: currentColor;
}
.rfIcon use{ pointer-events:none; }

/* Size helpers */
.rfIcon--sm{ width:16px; height:16px; }
.rfIcon--lg{ width:22px; height:22px; }

/* If an SVG icon sits inside .btn__icon, inherit spacing */
.btn__icon .rfIcon{ width:18px; height:18px; }

/* Simple icon shapes (no external libs) */
.icon{ display:inline-block; width:18px; height:18px; position:relative; }
.icon--search::before{
  content:"";
  position:absolute; inset:0;
  border: 2px solid rgba(255,255,255,.9);
  border-radius: 999px;
  transform: scale(.7);
}
.icon--search::after{
  content:"";
  position:absolute;
  width: 9px; height: 2px;
  background: rgba(255,255,255,.9);
  right: 1px; bottom: 2px;
  transform: rotate(45deg);
  border-radius: 2px;
}
.icon--bell::before{
  content:"";
  position:absolute;
  left:3px; right:3px; top:2px; bottom:4px;
  border:2px solid rgba(255,255,255,.9);
  border-bottom:0;
  border-radius: 999px 999px 6px 6px;
}
.icon--bell::after{
  content:"";
  position:absolute;
  width: 6px; height: 6px;
  background: rgba(255,255,255,.9);
  left:50%; transform: translateX(-50%);
  bottom: 1px;
  border-radius: 999px;
}
.icon--play{
  width:0; height:0;
  border-top:8px solid transparent;
  border-bottom:8px solid transparent;
  border-left: 12px solid rgba(20,20,20,1);
  margin-left:2px;
}
.btn--secondary .icon--play{
  border-left-color: rgba(255,255,255,.9);
}
.icon--info::before{
  content:"i";
  position:absolute;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:800;
  font-size: 14px;
  border:2px solid rgba(255,255,255,.9);
  border-radius: 999px;
}
.icon--plus::before{
  content:"";
  position:absolute;
  left:50%; top:15%;
  width:2px; height:70%;
  background: rgba(255,255,255,.9);
  transform: translateX(-50%);
}
.icon--plus::after{
  content:"";
  position:absolute;
  top:50%; left:15%;
  height:2px; width:70%;
  background: rgba(255,255,255,.9);
  transform: translateY(-50%);
}
.icon--close::before,
.icon--close::after{
  content:"";
  position:absolute;
  left:50%; top:50%;
  width: 18px; height: 2px;
  background: rgba(255,255,255,.9);
  border-radius: 2px;
}
.icon--close::before{ transform: translate(-50%,-50%) rotate(45deg); }
.icon--close::after{ transform: translate(-50%,-50%) rotate(-45deg); }
.icon--audio::before{
  content:"";
  position:absolute;
  left:2px; top:5px;
  width:6px; height:8px;
  background: rgba(255,255,255,.9);
  clip-path: polygon(0 25%, 60% 25%, 100% 0, 100% 100%, 60% 75%, 0 75%);
}
.icon--audio::after{
  content:"";
  position:absolute;
  right:1px; top:3px;
  width:10px; height:12px;
  border:2px solid rgba(255,255,255,.9);
  border-left:0;
  border-radius: 0 999px 999px 0;
  transform: rotate(0deg);
  opacity: .8;
}

/* SEARCH DRAWER */
.searchDrawer{
  position:fixed;
  /* Start at the very top so the drawer background doesn't sit under the header.
     Pad the content down so the input is fully visible below the fixed nav. */
  top: 0;
  left:0; right:0;
  padding: calc(var(--navH) + 14px) var(--gutter) 14px;
  /* Sit above the header so it never appears tucked under it */
  z-index: 1005;
  background: rgba(20,20,20,.92);
  backdrop-filter: blur(10px);
  transform: translateY(-105%);
  opacity: 0;
  pointer-events: none;
  transition: transform 260ms ease, opacity 200ms ease;
}
.searchDrawer.isOpen{
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.searchDrawer__inner{
  max-width: 920px;
  margin: 0 auto;
  display:block;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 14px;
  padding: 8px;
  background: rgba(0,0,0,.55);
  box-shadow: 0 10px 30px rgba(0,0,0,.45);
  /* Slide the search control out (subtle right-to-left + down-to-up) */
  transform: translate3d(18px,-4px,0);
  transition: transform 260ms ease;
}
.searchDrawer.isOpen .searchDrawer__inner{ transform: translate3d(0,0,0); }
.searchDrawer__bar{
  display:flex;
  gap: 10px;
  align-items:center;
}
.searchDrawer input{
  width:100%;
  background: transparent;
  border:0;
  outline:none;
  color:#fff;
  font-size: 16px;
}

.searchDrawer input::placeholder{ color: rgba(255,255,255,.75); }

.searchDrawer__filters{
  display:flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.searchFilterChip{
  border: 1px solid rgba(255,255,255,.2);
  background: rgba(255,255,255,.05);
  color: rgba(255,255,255,.86);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 12px;
  line-height: 1;
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease;
}

.searchFilterChip:hover,
.searchFilterChip:focus-visible{
  border-color: rgba(255,255,255,.4);
  background: rgba(255,255,255,.12);
  color: #fff;
  outline: none;
}

.searchFilterChip.isActive{
  border-color: rgba(255,255,255,.55);
  background: rgba(255,255,255,.22);
  color: #fff;
}

.searchDrawer__results{
  margin-top: 8px;
  max-height: min(56vh, 520px);
  overflow: auto;
  border-radius: 10px;
}

.searchDrawer__empty{
  padding: 14px 12px;
  color: rgba(255,255,255,.75);
  font-size: 14px;
}

.searchRetryBtn{
  margin-top: 10px;
  border: 1px solid rgba(255,255,255,.3);
  background: rgba(255,255,255,.08);
  color: #fff;
  border-radius: 999px;
  height: 34px;
  padding: 0 14px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.searchRetryBtn:hover,
.searchRetryBtn:focus-visible{
  background: rgba(255,255,255,.16);
  border-color: rgba(255,255,255,.52);
  outline: none;
}

.searchRecentSection{
  padding: 10px;
}

.searchRecentSection__head{
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: rgba(255,255,255,.6);
  margin-bottom: 8px;
}

.searchRecentSection__list{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.searchRecentItem{
  border: 1px solid rgba(255,255,255,.22);
  background: rgba(255,255,255,.07);
  color: #fff;
  border-radius: 999px;
  min-height: 32px;
  padding: 6px 12px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  cursor: pointer;
  transition: background 140ms ease, border-color 140ms ease;
}

.searchRecentItem:hover,
.searchRecentItem:focus-visible{
  background: rgba(255,255,255,.14);
  border-color: rgba(255,255,255,.4);
  outline: none;
}

.searchRecentItem__icon{
  font-size: 12px;
  color: rgba(255,255,255,.7);
}

.searchRecentItem__text{
  font-size: 13px;
  line-height: 1;
}

.searchResult{
  width: 100%;
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: 12px;
  align-items: center;
  text-align: left;
  border: 0;
  border-radius: 10px;
  padding: 8px;
  color: #fff;
  background: transparent;
  cursor: pointer;
}

.searchResult:hover,
.searchResult.isActive,
.searchResult:focus-visible{
  background: rgba(255,255,255,.08);
  outline: none;
}

.searchResult + .searchResult{
  margin-top: 2px;
}

.searchResult__thumbWrap{
  position: relative;
  width: 132px;
  aspect-ratio: 16/9;
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255,255,255,.08);
}

.searchResult__thumb{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display:block;
}

.searchResult__thumb--fallback{
  background: linear-gradient(120deg, rgba(255,255,255,.08), rgba(255,255,255,.14));
}

.searchResult__body{
  min-width: 0;
  display:flex;
  flex-direction: column;
  gap: 2px;
}

.searchResult__title{
  font-size: 15px;
  line-height: 1.3;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.searchResult__meta{
  font-size: 12px;
  color: rgba(255,255,255,.72);
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.searchResult__synopsis{
  font-size: 12px;
  color: rgba(255,255,255,.62);
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.searchResult__lock{
  display:inline-block;
  margin-left: 6px;
  padding: 1px 6px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.36);
  color: rgba(255,255,255,.88);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  vertical-align: middle;
}

@media (max-width: 640px){
  .searchDrawer{
    padding: calc(var(--navH) + 10px) 10px 10px;
  }
  .searchDrawer__inner{
    padding: 6px;
  }
  .searchDrawer__filters{
    gap: 6px;
  }
  .searchFilterChip{
    padding: 6px 10px;
    font-size: 11px;
  }
  .searchResult{
    grid-template-columns: 104px 1fr;
    gap: 10px;
    padding: 6px;
  }
  .searchResult__thumbWrap{
    width: 104px;
  }
}

/* PAGE LAYOUT */
/* Default: keep content below fixed header */
.page{ padding-top: var(--navH); }
/* Pages with a top billboard/hero should let the header overlay it */
.page.page--hasBillboard{ padding-top: 0; }

/* BILLBOARD */
.billboard {
    position: relative;
    min-height: var(--hero-min-h);
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    background: #000;
}

@media (min-width: 901px){
  .page.page--hasBillboard .billboard{
    height: var(--hero-min-h);
    min-height: var(--hero-min-h);
    /*aspect-ratio: 16 / 9;*/
  }

  /* Desktop hero content anchor (Netflix-like):
     keep content locked to a stable bottom band while media scales. */
  .page.page--hasBillboard .billboard__content{
    position: relative;
    width: 100%;
    padding: 0 var(--gutter) 6vh;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    bottom: 25vh;
  }
}

/* Billboard nav (dots + segmented progress like Riteflix stories) */
.billboardNav{
  position:absolute;
  left: var(--gutter);
  right: var(--gutter);
  bottom: clamp(14px, 1.6vw, 24px);
  z-index: 6;
  pointer-events: none; /* children opt-in */
}

.billboardProgress{
  display:flex;
  gap: 6px;
  align-items:center;
}

.billboardProgress__seg{
  flex: 1 1 0;
  height: 3px;
  border-radius: 999px;
  background: rgba(255,255,255,.22);
  overflow:hidden;
}

.billboardProgress__fill{
  height: 100%;
  width: 100%;
  background: rgba(255,255,255,.95);
  border-radius: 999px;
  transform: scaleX(0);
  transform-origin: left center;
  will-change: transform;
}

.billboardDots{
  display:flex;
  gap: 8px;
  justify-:center;
  margin-top: 10px;
  pointer-events: auto;
}

.billboardDot{
  width: 7px;
  height: 7px;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  background: rgba(255,255,255,.35);
  box-shadow: 0 6px 18px rgba(0,0,0,.35);
}

.billboardDot.isActive{
  background: rgba(255,255,255,.95);
}

.billboardNav.isPaused .billboardProgress__fill{
  transition: none;
}
.billboard__background{
  position:absolute; inset:0;
  overflow:hidden;
  background: #000;
  isolation: isolate;
}
.billboard__background::before{
  content:"";
  position:absolute;
  inset:-14%;
  pointer-events:none;
  z-index: 1;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 140 140'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='0.6'/></svg>");
  background-size: var(--hero-grain-size) var(--hero-grain-size);
  background-repeat: repeat;
  opacity: var(--hero-grain-opacity);
  mix-blend-mode: soft-light;
  animation: rfHeroGrainDrift 18s steps(8) infinite, rfHeroGrainJitter 1200ms steps(6) infinite;
}
.billboard__background::after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  z-index: 1;
  background:
    radial-gradient(120% 90% at 50% -10%, rgba(120,168,255,.14) 0%, rgba(0,0,0,0) 48%),
    radial-gradient(100% 80% at 88% 84%, rgba(255,152,67,.12) 0%, rgba(0,0,0,0) 52%),
    linear-gradient(180deg, rgba(7,14,28,.35) 0%, rgba(3,9,20,.48) 46%, rgba(1,5,14,.72) 100%);
  opacity: .66;
}
body.noCinematicFx .billboard__background::before,
body.noCinematicFx .billboard__background::after{
  display: none !important;
}
@keyframes rfHeroGrainDrift{
  0%{ transform: translate3d(-2%, -1%, 0); }
  25%{ transform: translate3d(1.5%, 1%, 0); }
  50%{ transform: translate3d(-1%, 2%, 0); }
  75%{ transform: translate3d(2%, -1.5%, 0); }
  100%{ transform: translate3d(-2%, -1%, 0); }
}
@keyframes rfHeroGrainJitter{
  0%{ background-position: 0 0; }
  16%{ background-position: 12% -8%; }
  33%{ background-position: -9% 14%; }
  50%{ background-position: 7% 11%; }
  66%{ background-position: -11% -9%; }
  83%{ background-position: 9% -12%; }
  100%{ background-position: 0 0; }
}


.billboard__bottomRail {
  position: absolute;
  left: 0;
  right: 0;
  bottom: var(--bb-bottom-rail-offset, 0px);
  width: 100%;
  z-index: 7;
  pointer-events: none;
  display: block;
  background-color: transparent;
  background-image: linear-gradient(180deg, hsla(0, 0%, 8%, 0) 0, hsla(0, 0%, 8%, .15) 15%, hsla(0, 0%, 8%, .35) 29%, hsla(0, 0%, 8%, .58) 44%, #141414 68%, #141414);
  background-position: 0 top;
  background-repeat: repeat-x;
  background-size: 100% 100%;
  opacity: 1;
}

.billboard__bottomRail .rfStandaloneRailHost,
.billboard__bottomRail .rfStandaloneRailWrap {
  width: 100%;
  pointer-events: auto;
}

.billboard__bottomRail .rfStandaloneRailHost {
  min-height: var(--bb-bottom-rail-height, clamp(92px, 11.5vw, 150px));
}

.billboard__bottomRail .rfStandaloneRailHost.isLoading {
  min-height: var(--bb-bottom-rail-height, clamp(92px, 11.5vw, 150px));
}

.billboard__bottomRail .row {
  margin: 0;
}

.billboard__bottomRail .row__title {
  margin-top: 0;
}

@media (max-width: 900px){
  .billboard__bottomRail {
    --bb-bottom-rail-offset: 0px;
    --bb-bottom-rail-height: clamp(77px, 17.8vw, 107px);
  }
}




/* Cinematic motion polish: gentle Ken Burns on image slides */
.billboardMediaWrap{
  position:absolute;
  inset:0;
  transform: translate3d(0,0,0);
}

.billboardMediaWrap--video{ pointer-events:none; }

/* Billboard hero slider: two-layer crossfade for smooth transitions */
.billboardLayer{
  position:absolute;
  inset:0;
  opacity:0;
  transform: none;
  transition: opacity 420ms cubic-bezier(.22,.61,.36,1);
  will-change: opacity, transform;
}

.billboardLayer.isActive{
  opacity:1;
  transform: none;
}

@media (prefers-reduced-motion: reduce){
  .billboardLayer{ transition:none; transform:none; }
}
.billboardMedia{
  width:100%;
  height:100%;
  object-fit: cover;
  transform: none;
  filter: saturate(1) contrast(1);
}

@keyframes kenBurnsA{
  0%{ transform: scale(1.03); }
  100%{ transform: scale(1.09); }
}

@keyframes kenBurnsB{
  0%{ transform: scale(1.03); }
  100%{ transform: scale(1.085); }
}

/* Disable Ken Burns for faster, snappier hero updates. */
.billboardLayer.isActive[data-kind="image"][data-layer="a"] .billboardMedia{ animation: none; }
.billboardLayer.isActive[data-kind="image"][data-layer="b"] .billboardMedia{ animation: none; }

/* Ken Burns runtime toggle (Utilities: enable_ken_burns) */
.noKenBurns .billboardLayer.isActive[data-kind="image"] .billboardMedia{
  animation: none !important;
}


@media (prefers-reduced-motion: reduce){
  .billboardMediaWrap{ transform:none; }
  .billboardLayer.isActive[data-kind="image"] .billboardMedia{ animation:none; }
}
.billboard__vignette{
  position:absolute; inset:0;
  background:
    radial-gradient(circle at 70% 20%, rgba(0,0,0,0) 0%, rgba(0,0,0,.62) 70%),
    linear-gradient(to right, rgba(0,0,0,.82) 0%, rgba(0,0,0,0) 58%);
}



.billboard__bottomFade {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    /*height: 20%;
    background: linear-gradient(to top, var(--bg) 0%, rgb(20 20 20 / 0%) 100%);*/
}


.billboard__content{
  position:relative;
  width:100%;
  padding: 0 var(--gutter) var(--hero-content-pad-b);
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap: clamp(14px, 1.8vw, 28px);
  bottom: auto;
  transform: translate3d(0, calc(-1 * var(--hero-content-lift)), 0);
}
.billboard__left{
  max-width: clamp(500px, 34vw, 620px);
}
.titleTreatment__pre{
  font-size: 12px;
  letter-spacing: .22em;
  opacity: .85;
}
.titleTreatment__main{
  font-size: var(--hero-title-size);
  font-weight: 900;
  letter-spacing: .02em;
  line-height: 1;
  text-shadow: 0 8px 26px rgba(0,0,0,.55);
  margin-top: 6px;
}
.billboard__synopsis{
  margin: clamp(12px, 1vw, 16px) 0 clamp(14px, 1.4vw, 20px);
  color: rgba(255,255,255,.86);
  font-size: var(--hero-synopsis-size);
  line-height: 1.48;
  max-width: clamp(460px, 34vw, 560px);
}
.billboard .titleTreatment__pre,
.billboard .titleTreatment__main,
.billboard .billboard__synopsis{
  will-change: transform, opacity, filter;
}
.billboard.isTextReveal .titleTreatment__pre{
  animation: rfHeroTextRise .52s cubic-bezier(.21,.78,.27,1) both;
}
.billboard.isTextReveal .titleTreatment__main{
  animation: rfHeroTextRise .62s cubic-bezier(.21,.78,.27,1) both;
  animation-delay: .07s;
}
.billboard.isTextReveal .billboard__synopsis{
  animation: rfHeroTextRise .72s cubic-bezier(.21,.78,.27,1) both;
  animation-delay: .15s;
}
body.noCinematicFx .billboard.isTextReveal .titleTreatment__pre,
body.noCinematicFx .billboard.isTextReveal .titleTreatment__main,
body.noCinematicFx .billboard.isTextReveal .billboard__synopsis{
  animation: none !important;
}
@keyframes rfHeroTextRise{
  0%{
    opacity: 0;
    transform: translate3d(0, 16px, 0);
    filter: blur(2px);
  }
  100%{
    opacity: 1;
    transform: translate3d(0, 0, 0);
    filter: blur(0);
  }
}
.billboard__actions{
  display:flex;
  gap: var(--hero-actions-gap);
  align-items:center;
}
.btn{
  border:0;
  cursor:pointer;
  border-radius: 6px;
  padding: var(--hero-actions-pad-y) var(--hero-actions-pad-x);
  font-weight: 700;
  font-size: clamp(14px, .95vw, 16px);
  display:inline-flex;
  align-items:center;
  gap: clamp(8px, .8vw, 12px);
}
.btn--primary{
  background: #fff;
  color: #111;
}
.btn--primary:hover{ background: rgba(255,255,255,.88); }
.btn--secondary{
  background: rgba(109,109,110,.7);
  color: #fff;
}
.btn--secondary:hover{ background: rgba(109,109,110,.55); }
.btn__icon{ width:18px; height:18px; display:inline-flex; align-items:center; justify-content:center; }

/* Home hero buttons use Kids color palette */
body.page--home .billboard__actions .btn--primary,
body.page--shows .billboard__actions .btn--primary,
body.page--movies .billboard__actions .btn--primary{
  background: linear-gradient(45deg, #ff6b6b, #ee5a24);
  color: #fff;
  box-shadow: 0 10px 30px rgba(255, 107, 107, 0.3);
}
body.page--home .billboard__actions .btn--secondary,
body.page--shows .billboard__actions .btn--secondary,
body.page--movies .billboard__actions .btn--secondary{
  background: linear-gradient(45deg, #4ecdc4, #44a08d);
  color: #fff;
  box-shadow: 0 10px 30px rgba(78, 205, 196, 0.3);
}
body.page--home .billboard__actions .btn--primary:hover,
body.page--home .billboard__actions .btn--secondary:hover,
body.page--shows .billboard__actions .btn--primary:hover,
body.page--shows .billboard__actions .btn--secondary:hover,
body.page--movies .billboard__actions .btn--primary:hover,
body.page--movies .billboard__actions .btn--secondary:hover{
  filter: brightness(1.05);
}

/* Detail modal hero button color */
.nfModal__btnPlay{
  background: linear-gradient(45deg, #ff6b6b, #ee5a24);
  color: #fff;
  border: 0;
  box-shadow: 0 10px 30px rgba(255, 107, 107, 0.3);
}
.nfModal__btnPlay:hover{ filter: brightness(1.05); }

.billboard__right{
  display:flex;
  align-items:center;
  gap: 14px;
}
.roundIconBtn{
  width: 42px; height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.28);
  background: rgba(0,0,0,.18);
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
}
.roundIconBtn .rf-ico{ width:18px; height:18px; }
.roundIconBtn .rf-ico-mute{ display:none; }
.roundIconBtn.is-muted .rf-ico-vol{ display:none; }
.roundIconBtn.is-muted .rf-ico-mute{ display:block; }
.roundIconBtn:hover{ background: rgba(0,0,0,.30); }
.maturityBadge{
  padding: 10px 12px;
  border-left: 0px solid rgba(255,255,255,.65);
  background: rgba(0,0,0,.28);
  color: rgba(255,255,255,.95);
  font-weight: 700;
  letter-spacing: .04em;
}

/* ROWS */
.rows{
  padding: clamp(8px, .8vw, 12px) 0 clamp(24px, 2.2vw, 34px);
  margin-top: var(--rows-overlap); /* pull rows upward into billboard fade like riteflix */
  position:relative;
  z-index: 2;
}

.rfStandaloneRailHost{
  position: relative;
  width: 100%;
}

.rfStandaloneRailWrap{
  position: relative;
}

/* Featured trailers strip (uses your uploaded posters/backdrops/trailers)
   - Rendered just below the Billboard.
   - Kept intentionally minimal so it inherits your existing UI language.
*/
.featuredStrip{
  margin: 0 0 clamp(18px, 1.8vw, 28px);
}

.featuredStrip__head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap: 14px;
  margin-bottom: 10px;
  padding: 0 var(--gutter);
}

.featuredStrip__title{
  font-weight: 800;
  letter-spacing: .02em;
}

.featuredStrip__hint{
  color: rgba(255,255,255,.66);
  font-size: 12px;
}

.featuredStrip__rail{
  display:flex;
  gap: var(--rail-gap);
  overflow-x: auto;
  padding: 0 var(--gutter);
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.featuredStrip__rail::-webkit-scrollbar{ height: 8px; }
.featuredStrip__rail::-webkit-scrollbar-thumb{ background: rgba(255,255,255,.18); border-radius: 999px; }

.featuredCard{
  flex: 0 0 auto;
  width: var(--card-w-landscape);
  aspect-ratio: 16/9;
  border-radius: 4px !important;
  overflow:hidden;
  position:relative;
  cursor:pointer;
  background: rgba(255,255,255,.06);
  border: 0;
  padding: 0;
  scroll-snap-align: start;
}

p#heroSynopsis {
    text-shadow: 2px 2px 4px rgb(0 0 0 / 75%);
}

.featuredCard img{
  width:100%;
  height:100%;
  object-fit: cover;
  display:block;
  filter: none;
}

.featuredCard::after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background: linear-gradient(to top, rgba(0,0,0,.52) 0%, rgba(0,0,0,.14) 45%, rgba(0,0,0,0) 75%);
}

.featuredCard__meta{
  position:absolute;
  left: 10px;
  right: 10px;
  bottom: 10px;
  z-index: 2;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 10px;
}

.featuredCard__title{
  font-weight: 800;
  font-size: 13px;
  text-shadow: 0 8px 18px rgba(0,0,0,.55);
  overflow:hidden;
  white-space:nowrap;
  text-overflow:ellipsis;
}

.featuredCard__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 999px;
    background: rgb(243 18 28);
    color: #ffffff;
    font-weight: 900;
}

@media (max-width: 720px){
  .featuredCard{ width: 200px; }
  .featuredStrip__hint{ display:none; }
  #featuredStrip{ display:none !important; }
  #publicTrailerStrip{ display:none !important; }
}

.row{
  margin: 0 0 clamp(18px, 1.8vw, 28px);
}
.row--separator{
  margin: clamp(12px, 1.4vw, 20px) 0 clamp(6px, .8vw, 10px);
}
.row__separatorTitle{
  margin: 0;
  padding: 0 var(--gutter);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.7);
}
.row__title {
    margin: 0 0 clamp(8px, .8vw, 12px);
    padding: 0 var(--gutter);
    font-size: var(--row-title-size);
    font-weight: 700;
    color: rgba(255, 255, 255, .92);
    margin-top: clamp(-8px, -.7vw, -4px);
}

.row__titleWrap{
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  padding: 0 var(--gutter);
  margin: 0 0 clamp(8px, .8vw, 12px);
}

.row__titleWrap .row__title{
  margin: 0;
  padding: 0;
  margin-top: 0;
}

.row__exploreBtn{
  appearance: none;
  -webkit-appearance: none;
  border: 0;
  background: none;
  color: rgba(255,255,255,.72);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 2px 0;
  opacity: 0;
  transform: translate3d(-10px, 0, 0);
  pointer-events: none;
  transition: opacity 220ms ease, transform 260ms cubic-bezier(.2,.8,.2,1), color 140ms ease;
}

.row__exploreBtn::after{
  content: "›";
  font-size: 16px;
  line-height: 1;
  transform: translateY(-1px);
}

.row:hover .row__exploreBtn,
.row:focus-within .row__exploreBtn{
  opacity: 1;
  transform: translate3d(0, 0, 0);
  pointer-events: auto;
}

.row__exploreBtn:hover,
.row__exploreBtn:focus-visible{
  color: #fff;
}

@media (hover: none), (pointer: coarse){
  .row__exploreBtn{
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }
}

.row__subtitle{
  margin: clamp(-5px, -.35vw, -2px) 0 clamp(10px, .95vw, 14px);
  padding: 0 var(--gutter);
  font-size: var(--row-subtitle-size);
  font-weight: 500;
  color: rgba(255,255,255,.62);
  letter-spacing: .01em;
}

.row__debugSource{
  margin: -8px 0 10px;
  padding: 0 var(--gutter);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: rgba(255, 196, 120, .95);
}

.row__viewport {
    position: relative;
    overflow: hidden;
    margin-left: -7px;
    margin-top: -5px;
}
.row__rail{
  display:flex;
  gap: var(--rail-gap);
  /* Restore rail gutter (Riteflix-style: rails have padding, cards have no inner padding). */
  padding: 0 var(--gutter);
  will-change: transform;
  transition: transform 650ms cubic-bezier(.2,.8,.2,1);
}

.row__arrow{
  position:absolute;
  top:0; bottom:0;
  width: clamp(44px, 4vw, 70px);
  border:0;
  background: linear-gradient(to right, rgba(20,20,20,.95), rgba(20,20,20,0));
  z-index: 5;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 160ms ease;
}
.row__viewport:hover .row__arrow{ opacity: 1; pointer-events:auto; }
.row__arrow--right{
  right:0;
  transform: rotate(180deg);
}
.row__arrow--left{ left:0; }
.row__arrow:disabled{ opacity: 0 !important; cursor: default; pointer-events:none !important; }
.row__arrow::before{
  content:"";
  width: 12px; height: 12px;
  border-left: 3px solid rgba(255,255,255,.85);
  border-bottom: 3px solid rgba(255,255,255,.85);
  transform: rotate(45deg);
  border-radius: 1px;
}
.row__arrow--right{
  background: linear-gradient(to left, rgba(20,20,20,.95), rgba(20,20,20,0));
}

.rfRailExplore{
  position: fixed;
  inset: 0;
  z-index: 12050;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rfRailExplore[hidden]{
  display: none !important;
}

.rfRailExplore__scrim{
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.76);
  backdrop-filter: blur(3px);
}

.rfRailExplore__panel{
  position: relative;
  width: min(1360px, 96vw);
  max-height: min(90vh, 940px);
  background: #141414;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 16px;
  box-shadow: 0 26px 70px rgba(0,0,0,.65);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.rfRailExplore__head{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 22px 10px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,0));
}

.rfRailExplore__title{
  margin: 0;
  font-size: clamp(22px, 2.1vw, 34px);
  font-weight: 800;
  letter-spacing: .01em;
  color: rgba(255,255,255,.96);
}

.rfRailExplore__close{
  appearance: none;
  -webkit-appearance: none;
  border: 1px solid rgba(255,255,255,.28);
  background: rgba(255,255,255,.08);
  color: #fff;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
}

.rfRailExplore__subtitle{
  padding: 10px 22px 14px;
  color: rgba(255,255,255,.68);
  font-size: 13px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.rfRailExplore__controls{
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 22px;
  border-bottom: 1px solid rgba(255,255,255,.06);
  background: rgba(255,255,255,.015);
}

.rfRailExplore__controlsLeft{
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.rfRailExplore__chipGroup{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.rfRailExplore__chip{
  appearance: none;
  -webkit-appearance: none;
  border: 1px solid rgba(255,255,255,.2);
  background: rgba(255,255,255,.05);
  color: rgba(255,255,255,.84);
  border-radius: 999px;
  padding: 6px 11px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  cursor: pointer;
}

.rfRailExplore__chip:hover,
.rfRailExplore__chip:focus-visible{
  border-color: rgba(255,255,255,.34);
  color: #fff;
}

.rfRailExplore__chip.isActive{
  border-color: rgba(255,255,255,.6);
  background: rgba(255,255,255,.16);
  color: #fff;
}

.rfRailExplore__viewModes{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.rfRailExplore__viewBtn{
  appearance: none;
  -webkit-appearance: none;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.2);
  background: rgba(255,255,255,.05);
  color: rgba(255,255,255,.86);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.rfRailExplore__viewBtn svg{
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.rfRailExplore__viewBtn:hover,
.rfRailExplore__viewBtn:focus-visible{
  border-color: rgba(255,255,255,.34);
  color: #fff;
}

.rfRailExplore__viewBtn.isActive{
  border-color: rgba(255,255,255,.62);
  background: rgba(255,255,255,.16);
  color: #fff;
}

.rfRailExplore__grid{
  padding: 18px 22px 24px;
  overflow: auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(214px, 1fr));
  gap: 14px;
}

.rfRailExplore__grid.isList{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.rfRailExplore__grid.isList .rfRailExploreCard{
  display: grid;
  grid-template-columns: minmax(220px, 46%) 1fr;
  column-gap: 0;
  align-items: stretch;
  min-height: 126px;
}

.rfRailExplore__grid.isList .rfRailExploreCard__media{
  height: 100%;
  aspect-ratio: 16 / 9;
  min-height: 126px;
  background: #080b12;
}

.rfRailExplore__grid.isList .rfRailExploreCard__img{
  object-fit: cover;
}

.rfRailExplore__grid.isMasonry{
  display: block;
  columns: 4 230px;
  column-gap: 14px;
}

.rfRailExplore__grid.isMasonry .rfRailExploreCard{
  display: inline-block;
  width: 100%;
  margin: 0 0 14px;
}

.rfRailExplore__grid.isMasonry .rfRailExploreCard:nth-child(5n+2) .rfRailExploreCard__media{
  aspect-ratio: 4 / 5;
}

.rfRailExplore__grid.isMasonry .rfRailExploreCard:nth-child(7n+3) .rfRailExploreCard__media{
  aspect-ratio: 3 / 4;
}

.rfRailExplore__grid.isMasonry .rfRailExploreCard:nth-child(6n+4) .rfRailExploreCard__media{
  aspect-ratio: 16 / 9;
}

.rfRailExplore__grid.isMasonry .rfRailExploreCard:nth-child(4n+1){
  transform: translateY(1px) rotate(-.2deg);
}

.rfRailExplore__grid.isMasonry .rfRailExploreCard:nth-child(4n+3){
  transform: translateY(-1px) rotate(.18deg);
}

.rfRailExplore__grid.isMasonry .rfRailExploreCard__meta{
  display: none !important;
}

.rfRailExploreCard__synopsis{
  margin-top: 7px;
  color: rgba(255,255,255,.7);
  font-size: 12px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.rfRailExploreCard{
  appearance: none;
  -webkit-appearance: none;
  border: 1px solid rgba(255,255,255,.1);
  background: #0f131c;
  color: #fff;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  text-align: left;
  padding: 0;
  transition: box-shadow 180ms ease, border-color 140ms ease, background-color 140ms ease;
}

.rfRailExploreCard:hover,
.rfRailExploreCard:focus-visible{
  transform: none;
  box-shadow: 0 14px 30px rgba(0,0,0,.42);
  border-color: rgba(255,255,255,.24);
}

.rfRailExploreCard__media{
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #090b10;
}

.rfRailExploreCard__media::after{
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,0) 58%, rgba(0,0,0,.24) 100%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 160ms ease;
}

.rfRailExploreCard:hover .rfRailExploreCard__media::after,
.rfRailExploreCard:focus-visible .rfRailExploreCard__media::after{
  opacity: 1;
}

.rfRailExploreCard__img{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rfRailExploreCard__lock{
  position: absolute;
  right: 8px;
  top: 8px;
  background: rgba(0,0,0,.7);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 999px;
  padding: 3px 8px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.rfRailExploreCard__meta{
  padding: 10px 11px 12px;
}

.rfRailExploreCard__title{
  font-size: 13px;
  font-weight: 700;
  line-height: 1.25;
  color: rgba(255,255,255,.94);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.rfRailExploreCard__sub{
  margin-top: 4px;
  font-size: 11px;
  color: rgba(255,255,255,.62);
}

html.hasRailExplore,
body.hasRailExplore{
  overflow: hidden !important;
}

@media (max-width: 900px){
  .rfRailExplore{
    align-items: flex-end;
  }
  .rfRailExplore__panel{
    width: 100vw;
    max-height: 92vh;
    border-radius: 16px 16px 0 0;
  }
  .rfRailExplore__grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    padding: 14px 14px 16px;
  }
  .rfRailExplore__head{
    padding: 14px 14px 10px;
  }
  .rfRailExplore__subtitle{
    padding: 8px 14px 10px;
  }
  .rfRailExplore__controls{
    padding: 10px 14px;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .rfRailExplore__controlsLeft{
    gap: 7px;
  }
  .rfRailExplore__chip{
    font-size: 10px;
    padding: 6px 10px;
  }
  .rfRailExplore__viewModes{
    justify-content: flex-end;
  }
  .rfRailExplore__grid.isList{
    grid-template-columns: 1fr;
  }
  .rfRailExplore__grid.isList .rfRailExploreCard{
    grid-template-columns: 132px 1fr;
    column-gap: 0;
  }
  .rfRailExplore__grid.isList .rfRailExploreCard__media{
    min-height: 100px;
  }
  .rfRailExplore__grid.isMasonry{
    columns: 2 150px;
    column-gap: 10px;
  }
  .rfRailExplore__grid.isMasonry .rfRailExploreCard{
    margin: 0 0 10px;
  }
}

.card{
  position: relative;
  flex: 0 0 auto;
  width: var(--card-w-landscape);
  scroll-snap-align: start;
  aspect-ratio: 16/9;
  overflow: hidden;
  border-radius: 4px !important;
  cursor: pointer;
  /* Buttons have default padding in many browsers; remove it so posters are edge-to-edge. */
  padding: 0;
  appearance: none;
  -webkit-appearance: none;
  background: rgba(255, 255, 255, .06);
  border: 0;
  transition: transform 220ms cubic-bezier(.22,.61,.36,1), box-shadow 180ms ease, filter 160ms ease;
}

.card__media{
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: inherit;
  isolation: isolate;
  background: #090d16;
}

.card img{
  width:100%;
  height:100%;
  object-fit: cover;
  display:block;
  /* No global filter: keep artwork true; add a vignette overlay via ::after instead. */
  filter: none;
}

.card__media::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  z-index:2;
  background:
    radial-gradient(125% 112% at 84% 12%, var(--tile-lut-cool) 0%, rgba(63,103,156,0) 56%),
    radial-gradient(138% 118% at 16% 92%, var(--tile-lut-warm) 0%, rgba(124,64,31,0) 60%),
    linear-gradient(180deg, rgba(14,22,36,.16) 0%, rgba(21,13,8,.24) 100%);
  mix-blend-mode: soft-light;
  opacity: .96;
}

/* Subtle vignette overlay */
.card__media::after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  z-index:3;
  background:
    radial-gradient(120% 120% at 50% 45%, rgba(0,0,0,0) 55%, rgba(0,0,0,.42) 100%),
    linear-gradient(to top, rgba(0,0,0,.26), rgba(0,0,0,0) 55%),
    repeating-linear-gradient(0deg, rgba(255,255,255,var(--tile-grain-opacity)) 0 1px, rgba(0,0,0,var(--tile-grain-opacity)) 1px 2px),
    repeating-linear-gradient(90deg, rgba(255,255,255,.022) 0 1px, rgba(0,0,0,.022) 1px 2px);
  background-size: 100% 100%, 100% 100%, 3px 3px, 3px 3px;
  background-position: 0 0, 0 0, 0 0, 0 0;
  opacity:.9;
  animation: rfTileGrainDrift 16s steps(12, end) infinite;
}

.card:not(.card--top10)::after{
  content:"";
  position:absolute;
  inset:0;
  border-radius: inherit;
  pointer-events:none;
  z-index:4;
  background: linear-gradient(
    115deg,
    rgba(255,255,255,0) 20%,
    rgba(255,255,255,0) 45%,
    rgba(255,255,255,.26) 50%,
    rgba(255,255,255,0) 55%,
    rgba(255,255,255,0) 80%
  );
  mix-blend-mode: screen;
  opacity: 0;
  transform: translateX(-135%);
}

/* LQIP blur-up (tiny placeholder -> sharp image) */
.card img.isLqip{
  filter: blur(14px);
  transform: scale(1.02);
}

.card img.isSharp {
    filter: none;
    transform: none;
    transition: filter 220ms ease, transform 220ms ease;
    border-radius: 4px;
}
.card:hover{
  transform: none;
  box-shadow: 0 10px 26px rgba(0,0,0,.48);
  z-index: 20;
}

@media (hover: hover) and (pointer: fine){
  .card.isPopoverHot{
    transform: translateY(-5px) scale(1.035);
    box-shadow: 0 24px 44px rgba(0,0,0,.58);
    z-index: 32;
  }
  .card:not(.card--top10):hover::after,
  .card:not(.card--top10).isPopoverHot::after{
    animation: rfTileSpecSweep 980ms cubic-bezier(.2,.8,.2,1) 1;
  }
}

@media (max-width: 640px){
  .row__rail{ gap: clamp(8px, 1.9vw, 12px); }
  .card:hover{ transform: none; }
}

/* Keep desktop tiles landscape on every desktop viewport.
   Portrait tiles are only used on dedicated mobile shells. */
body.rf-mobile-app .card{
  aspect-ratio: 2/3;
  width: clamp(120px, 36vw, 190px);
}

/* HOVER POPOVER (portal) */
.hoverPopover{
  position:fixed;
  width: min(320px, 92vw);
  border-radius: 4px !important;
  background: rgba(20,20,20,.98);
  border: 0;
  box-shadow: var(--shadow);
  overflow:hidden;
  z-index: 2000;
  /* Riteflix-like pop: subtle scale + fade, anchored to edge tiles when needed */
  opacity: 0;
  transform: translate3d(0, 8px, 0) scale(0.965);
  transform-origin: center top;
  transition: opacity .22s ease, transform .24s cubic-bezier(.22,.61,.36,1), filter .2s ease;
  filter: saturate(.96) contrast(.98);
  will-change: transform, opacity;
}

.hoverPopover.isOpen{
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  filter: saturate(1) contrast(1);
}

.hoverPopover[data-edge="left"]{ transform-origin: left top; }
.hoverPopover[data-edge="right"]{ transform-origin: right top; }
.hoverPopover__media{
  height: auto;
  aspect-ratio: 16 / 9;
  position:relative;
  overflow: hidden;
  background: #000;
  border-radius: inherit;
}
.hoverPopover__media img,
.hoverPopover__poster{
  width:100%;
  height:100%;
  object-fit: cover;
  display:block;
  transition: opacity .22s ease;
}

.hoverPopover__preview{
  position:absolute;
  inset:0;
  z-index: 1;
  opacity:0;
  overflow: hidden;
  transition: opacity .22s ease;
  border-radius: inherit;
}

.hoverPopover__video{
  width:100%;
  height:100%;
  object-fit: cover;
  display:block;
  transform: none;
}

.hoverPopover.hasPreview .hoverPopover__preview{
  opacity:1;
}

.hoverPopover.hasPreview .hoverPopover__poster{
  opacity:0;
}

.hoverPopover__media::after{
  content:none;
}
.hoverPopover__body{
  padding: 12px 14px 14px;
  position:relative;
  background-color: #141414;
}
.hoverPopover__controls{
  display:flex;
  align-items:center;
  gap: 10px;
  margin-top: 0;
  padding-top: 0;
  position:relative;
  z-index: 2;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 180ms ease, transform 220ms cubic-bezier(.22,.61,.36,1);
}
.circleBtn{
  width: 38px; height: 38px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.24);
  background: rgba(0,0,0,.25);
  color:#fff;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
}
.circleBtn:hover{ background: rgba(255,255,255,.10); }
.circleBtn--play{
  background:#d90913;
  border-color: transparent;
  color:#fff;
}
.circleBtn--play:hover{ background: rgba(255,255,255,.88); }

.hoverPopover__meta{
  display:flex;
  align-items:center;
  gap: 8px;
  margin: 10px 0 6px;
  color: rgba(255,255,255,.92);
  font-weight: 700;
  font-size: 13px;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 180ms ease, transform 220ms cubic-bezier(.22,.61,.36,1);
}
.pill{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(0,0,0,.15);
  color: rgba(255,255,255,.88);
  font-size: 12px;
  font-weight: 700;
}
.hoverPopover__tags{
  color: rgba(255,255,255,.75);
  font-size: 13px;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 180ms ease, transform 220ms cubic-bezier(.22,.61,.36,1);
}

/* Riteflix-like meta line + synopsis (fade in a beat after mount) */
.hoverPopover__lineMeta{
  color: rgba(255,255,255,.82);
  font-size: 13px;
  margin: 2px 0 6px;
  opacity: 0;
  transform: translateY(2px);
  transition: opacity 180ms ease, transform 180ms ease;
}
.hoverPopover__synopsis{
  color: rgba(255,255,255,.78);
  font-size: 13px;
  line-height: 1.35;
  margin-top: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  opacity: 0;
  transform: translateY(2px);
  transition: opacity 200ms ease, transform 200ms ease;
}
.hoverPopover.isMetaReady .hoverPopover__lineMeta,
.hoverPopover.isMetaReady .hoverPopover__synopsis{
  opacity: 1;
  transform: none;
}
.hoverPopover.isBodyReady .hoverPopover__controls,
.hoverPopover.isBodyReady .hoverPopover__meta,
.hoverPopover.isBodyReady .hoverPopover__tags{
  opacity: 1;
  transform: none;
}

/* MODAL (Riteflix-style title detail) */
.modalBackdrop{
    position: fixed;
    inset: 0;
    background
: rgb(0 0 0 / 40%);
    display: none;
    padding: 24px;
    overflow: hidden;
    z-index: 99999;
    backdrop-filter: blur(6px);
}

.modalBackdrop.isOpen{
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

/* When modal is open, lock the page behind (Riteflix current style) */
body.rf-scrollLocked{ overflow: hidden; }

/* Modal host (legacy): retained for compatibility with older patches,
   but the current Riteflix-style behavior locks body scroll and makes the modal
   itself scroll internally. */
#rf-modal-host{ display:none; }
#rf-modal-host .modal{ pointer-events: auto; }

.modalBackdrop .modal{
  width: min(900px, 96vw);
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  border-radius: 4px;
  background: rgba(20,20,20,.98);
  border: 0;
  box-shadow: var(--shadow);
  /* Ensure we override any legacy .modal rules (some builds had .modal as a
     full-screen overlay). This must be a scrollable card inside the backdrop. */
  position: relative !important;
  inset: auto !important;
}

/* Extra bottom breathing room so the last row doesn't feel clipped when the
   user reaches the end of the modal (Riteflix has generous bottom spacing). */
.modalBackdrop .nfModal__body{ padding-bottom: 48px; }

/* Close button (top-right) */
.modal__close{
  position: absolute;
  right: 14px;
  top: 14px;
  z-index: 5;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(0,0,0,.35);
  display:flex;
  align-items:center;
  justify-content:center;
}
.modal__close:hover{ background: rgba(0,0,0,.55); }

/* Hero (video + cinematic overlay) */
.nfModal__hero{
  position: relative;
  height: 550px;
  background: #000;
  overflow: hidden;
}
.nfModal__hero::before{
  content:"";
  position:absolute;
  inset:-14%;
  pointer-events:none;
  z-index: 1;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 140 140'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='0.6'/></svg>");
  background-size: var(--hero-grain-size) var(--hero-grain-size);
  background-repeat: repeat;
  opacity: var(--hero-grain-opacity);
  mix-blend-mode: soft-light;
  animation: rfHeroGrainDrift 18s steps(8) infinite, rfHeroGrainJitter 1200ms steps(6) infinite;
}
.nfModal__heroPoster,
.nfModal__heroVideo{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit: cover;
  transform: scale(1.4);
}

.nfModal__heroPoster{ filter: brightness(.95); }
.nfModal__heroVideo{ opacity: 0; transition: opacity 220ms ease; }
.nfModal__hero.isVideoReady .nfModal__heroVideo{ opacity: 1; }

.nfModal__heroShade{
  position:absolute;
  inset:0;
  z-index: 2;
  background:
    linear-gradient(to top, rgba(20,20,20,1) 0%, rgba(20,20,20,0) 58%),
    radial-gradient(circle at 25% 35%, rgba(0,0,0,0) 0%, rgba(0,0,0,.55) 70%);
  pointer-events:none;
}

.nfModal__heroContent{
  position:absolute;
  left: 36px;
  right: 36px;
  bottom: 18px;
  z-index: 3;
}
.nfModal__brand{
  font-weight: 900;
  letter-spacing: .10em;
  color: #e50914;
  opacity: .9;
  margin-bottom: 8px;
}
.nfModal__title{
  font-size: 52px;
  font-weight: 900;
  letter-spacing: .01em;
  line-height: 1;
  text-shadow: 0 12px 36px rgba(0,0,0,.75);
  margin-bottom: 14px;
}
.nfModal__actions {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 14px;
    margin-top: 20px;
}
.nfModal__btnPlay{
  height: 36px;
  padding: 0 14px;
  border-radius: 4px;
  border: 0;
  background: #fff;
  color: #000;
  font-weight: 800;
  display:flex;
  align-items:center;
  gap: 8px;
  cursor:pointer;
}
.nfModal__btnSecondary{
  height: 36px;
  padding: 0 14px;
  border-radius: 4px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(55,55,55,.88);
  color: #f1f1f1;
  font-weight: 800;
  display:flex;
  align-items:center;
  justify-content:center;
  gap: 8px;
  cursor:pointer;
}
.nfModal__btnSecondary:hover{ background: rgba(72,72,72,.92); }
.nfModal__btnMyList{
  height: 36px;
  padding: 0 16px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(82,82,82,.86);
  color: #fff;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
}
.nfModal__btnMyListIcon{
  font-size: 25px;
  line-height: 1;
  font-weight: 500;
}
.nfModal__btnMyListLabel{
  font-size: 14px;
  line-height: 1;
  font-weight: 800;
}
.nfModal__btnMyList:hover{
  background: rgba(96,96,96,.94);
}
.nfModal__btnMyList.isOn{
  background: rgba(60,60,60,.92);
  border-color: rgba(255,255,255,.3);
}
.nfModal__btnIcon{
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.28);
  background: rgba(42,42,42,.55);
  color: rgba(255,255,255,.92);
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
}
.nfModal__btnIcon .rf-ico{ width:18px; height:18px; }
.nfModal__btnIcon .rf-ico-mute{ display:none; }
.nfModal__btnIcon.is-muted .rf-ico-vol{ display:none; }
.nfModal__btnIcon.is-muted .rf-ico-mute{ display:block; }
.nfModal__btnIcon:hover{ background: rgba(60,60,60,.65); }

.nfModal__mute{
  position:absolute;
  right: 16px;
  bottom: 18px;
  z-index: 3;
}
.nfModal__heroWatchFull{
  display: none;
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 6;
  height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(255,255,255,.38);
  border-radius: 999px;
  background: rgba(0,0,0,.72);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .01em;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translate3d(0, -4px, 0);
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease, background .18s ease, border-color .18s ease;
}
.nfModal__hero.isVideoReady .nfModal__heroWatchFull{
  opacity: 1;
  transform: translate3d(0, 0, 0);
  pointer-events: auto;
}
.nfModal__heroWatchFull.isUpgrade{
  border-color: rgba(229,9,20,.8);
  background: rgba(229,9,20,.92);
}
.nfModal__heroWatchFull:hover{
  border-color: rgba(255,255,255,.56);
  background: rgba(14,14,14,.92);
}
.nfModal__heroWatchFull.isUpgrade:hover{
  border-color: rgba(229,9,20,.95);
  background: #e50914;
}
.nfModal__topActions{
  position:absolute;
  top: 10px;
  right: 10px;
  z-index: 4;
  display:none;
  gap: 8px;
}
.nfModal__topBtn{
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(8,8,8,.62);
  color: #fff;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}
.nfModal__topBtn .rfIcon{
  width: 18px;
  height: 18px;
}

/* Meta strip (year / maturity / runtime / HD / AD) */
.nfModal__metaStrip{
  display:flex;
  gap: 10px;
  align-items:center;
  color: rgba(255,255,255,.88);
  font-size: 13px;
}
.nfModal__metaText{
  font-weight: 700;
  letter-spacing: .01em;
  color: rgba(255,255,255,.92);
}
.nfModal__pill{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 2px 7px;
  border-radius: 3px;
  border: 1px solid rgba(255,255,255,.22);
  font-weight: 800;
  font-size: 12px;
  color: rgba(255,255,255,.9);
}
.nfModal__pillIcon{
  min-width: 32px;
}
.nfModal__metaSep{ opacity:.6; }

/* Body grid */
.nfModal__body{
  padding: 18px 36px 28px;
}
.nfModal__grid{
  display:grid;
  grid-template-columns: 1.45fr 1fr;
  gap: 22px;
}
.nfModal__tagline{
  font-weight: 800;
  margin-bottom: 8px;
}
.nfModal__desc{
  color: rgba(255,255,255,.86);
  line-height: 1.55;
  margin-bottom: 16px;
  font-size: 12px;
}
.nfModal__rightBlock{
  color: rgba(255,255,255,.72);
  font-size: 13px;
  line-height: 1.55;
}
.nfModal__rightBlock b{
  color: rgba(255,255,255,.88);
  font-weight: 800;
}
.nfModal__rightRow{ margin-bottom: 8px; }
.nfModal__quickActions{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 8px;
  margin: 16px 0 4px;
}
.nfModal__quickBtn{
  flex: 1 1 0;
  border: 0;
  background: transparent;
  color: rgba(255,255,255,.9);
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  padding: 8px 6px;
  border-radius: 10px;
  cursor: pointer;
}
.nfModal__quickBtn .rfIcon{
  width: 22px;
  height: 22px;
  opacity: .95;
}
.nfModal__quickBtn.isOn{
  background: rgba(255,255,255,.1);
}

/* More Like This grid */
.nfModal__sectionTitle{
  margin-top: 18px;
  font-size: 16px;
  font-weight: 900;
  letter-spacing: .02em;
}
.nfModal__sectionTitle--tight{
  margin-top: 0;
}
.nfModal__episodes{
  margin-top: 18px;
}
.nfModal__episodesHead{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.nfModal__seasonPickerWrap{
  display: flex;
  align-items: center;
  min-width: 0;
}
.nfModal__seasonPicker{
  appearance: none;
  height: 34px;
  padding: 0 32px 0 10px;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,.2);
  background: rgba(0,0,0,.35);
  color: rgba(255,255,255,.92);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}
.nfModal__episodeList{
  margin-top: 10px;
  display: grid;
  gap: 10px;
}
.nfModal__episodeRow{
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: stretch;
  padding: 10px;
  border-radius: 8px;
  background: rgba(255,255,255,.04);
}
.nfModal__episodeRow.isDisabled{
  opacity: .72;
}
.nfModal__episodeRow.isResume{
  outline: 1px solid rgba(255,255,255,.22);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.06);
}
.nfModal__episodeThumb{
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  background: rgba(255,255,255,.07);
}
.nfModal__episodeThumb::before{
  content: "";
  display: block;
  padding-top: 56.25%;
}
.nfModal__episodeThumbImg{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.nfModal__episodeBadge{
  position: absolute;
  left: 8px;
  bottom: 8px;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(0,0,0,.66);
  border: 1px solid rgba(255,255,255,.24);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
}
.nfModal__episodeMain{
  min-width: 0;
}
.nfModal__episodeMeta{
  color: rgba(255,255,255,.72);
  font-size: 12px;
}
.nfModal__episodeTitle{
  margin-top: 4px;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.25;
}
.nfModal__episodeSynopsis{
  margin-top: 6px;
  color: rgba(255,255,255,.7);
  font-size: 12px;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.nfModal__episodeResume{
  margin-top: 6px;
  display: inline-flex;
  align-items: center;
  height: 20px;
  padding: 0 8px;
  border-radius: 999px;
  background: rgba(229,9,20,.9);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .02em;
}
.nfModal__episodeActions{
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.nfModal__episodePlay{
  min-width: 94px;
  height: 36px;
  padding: 0 12px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,.2);
  background: rgba(255,255,255,.14);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}
.nfModal__episodePlay:disabled{
  opacity: .6;
  cursor: not-allowed;
}
.nfModal__episodeEmpty{
  padding: 12px;
  border-radius: 8px;
  background: rgba(255,255,255,.04);
  color: rgba(255,255,255,.72);
  font-size: 13px;
}
.nfModal__moreGrid{
  margin-top: 12px;
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.nfModal__mlCard{
  border-radius: 4px;
  overflow:hidden;
  background: rgba(255,255,255,.06);
  border: 0;
}
.nfModal__mlTop{
  position:relative;
  aspect-ratio: 16 / 9;
  background: rgba(0,0,0,.35);
}
.nfModal__mlTop img{
  width:100%;
  height:100%;
  object-fit: cover;
  display:block;
}
.nfModal__mlTop::after{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(to top, rgba(0,0,0,.78) 0%, rgba(0,0,0,0) 70%);
  pointer-events:none;
}
.nfModal__mlMeta{
  display:flex;
  align-items:flex-start;
  justify-content: space-between;
  padding: 10px 12px;
  gap: 10px;
    background-color: #3d3d3d;
}
.nfModal__mlLeft{
  display:flex;
  gap: 8px;
  align-items:center;
  min-width: 0;
}
.nfModal__mlTitle{
  font-weight: 900;
  color: rgba(255,255,255,.92);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 12px;
}
.nfModal__mlSub{
  color: rgba(255,255,255,.70);
  font-size: 12px;
}
.nfModal__mlExcerpt{
  margin-top: 6px;
  color: rgba(255,255,255,.72);
  font-size: 12px;
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.nfModal__mlPlus{
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.22);
  background: rgba(0,0,0,.28);
  color: rgba(255,255,255,.92);
  display:flex;
  align-items:center;
  justify-content:center;
}
.nfModal__mlPlus:hover{ background: rgba(0,0,0,.42); }

.nfModal__community{
  margin-top: 18px;
}
.nfModal__communityFeedback{
  min-height: 18px;
  margin: 6px 0 10px;
  font-size: 12px;
  color: rgba(255,255,255,.72);
}
.nfModal__communityFeedback.is-success{ color: #7fd48a; }
.nfModal__communityFeedback.is-warn{ color: #f6c36f; }
.nfModal__communityFeedback.is-error{ color: #f08a8a; }
.nfModal__communityUnsupported{
  margin: 6px 0 12px;
  font-size: 12px;
  color: rgba(255,255,255,.72);
}
.nfModal__communityActions{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 6px 0 10px;
}
.nfModal__communityToggle{
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 8px;
  min-height: 40px;
  padding: 8px 10px;
  background: rgba(255,255,255,.04);
  color: rgba(255,255,255,.9);
  font-weight: 800;
  font-size: 12px;
  line-height: 1;
  cursor: pointer;
}
.nfModal__communityToggle.isActive{
  border-color: rgba(229,9,20,.8);
  background: rgba(229,9,20,.22);
  color: #fff;
}
.nfModal__communityForm{
  display: none;
  margin: 10px 0;
  padding: 10px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 10px;
  background: rgba(255,255,255,.03);
}
.nfModal__communityForm.isOpen{
  display: block;
}
.nfModal__communityFormHead{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}
.nfModal__communityFormTitle{
  font-size: 12px;
  font-weight: 800;
  color: rgba(255,255,255,.88);
}
.nfModal__communityClose{
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 8px;
  background: transparent;
  color: rgba(255,255,255,.78);
  font-size: 11px;
  font-weight: 700;
  padding: 5px 8px;
  cursor: pointer;
}
.nfModal__communityInput,
.nfModal__communityTextarea{
  width: 100%;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(0,0,0,.25);
  color: rgba(255,255,255,.94);
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 13px;
  margin-bottom: 8px;
}
.nfModal__communityTextarea{
  resize: vertical;
  min-height: 70px;
}
.nfModal__communityBtn{
  border: 0;
  border-radius: 8px;
  padding: 8px 12px;
  font-weight: 800;
  font-size: 12px;
  color: #fff;
  background: #e50914;
  cursor: pointer;
}
.nfModal__communityList{
  display: grid;
  gap: 8px;
  margin: 8px 0 14px;
}
.nfModal__communityItem{
  padding: 8px 10px;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 8px;
  background: rgba(255,255,255,.025);
}
.nfModal__communityMeta{
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 11px;
  color: rgba(255,255,255,.62);
  margin-bottom: 4px;
}
.nfModal__communityWho{
  font-weight: 800;
  color: rgba(255,255,255,.88);
}
.nfModal__communityBadge{
  font-size: 10px;
  border: 1px solid rgba(246,195,111,.6);
  color: #f6c36f;
  border-radius: 999px;
  padding: 1px 6px;
}
.nfModal__communityHeadline{
  font-size: 13px;
  font-weight: 900;
  color: rgba(255,255,255,.92);
  margin-bottom: 2px;
}
.nfModal__communityBody{
  white-space: pre-wrap;
  font-size: 13px;
  color: rgba(255,255,255,.86);
  line-height: 1.35;
}
.nfModal__communityEmpty{
  font-size: 12px;
  color: rgba(255,255,255,.62);
  padding: 8px 2px;
}

@media (max-width: 980px){
  .modalBackdrop{ padding: 12px; }
  .nfModal__heroContent{ left: 18px; right: 18px; }
  .nfModal__body{ padding: 16px 18px 22px; }
  .nfModal__grid{ grid-template-columns: 1fr; }
  .nfModal__moreGrid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nfModal__title{ font-size: 40px; }
  .nfModal__community{ margin-top: 14px; }
}
@media (max-width: 560px){
  body.rf-mobile-app .modalBackdrop{
    align-items: stretch;
    padding: 0;
  }
  body.rf-mobile-app .modalBackdrop .modal{
    border-radius: 0;
    border: 0;
    width: 100vw;
    max-height: 100dvh;
    position: relative;
  }
  body.rf-mobile-app .modalBackdrop .modal::before{
    content: "";
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 48px;
    height: 4px;
    border-radius: 999px;
    background: rgba(255,255,255,.28);
    z-index: 5;
  }
  body.rf-mobile-app .nfModal__hero{
    border-radius: 0;
    height: 372px;
  }
  body.rf-mobile-app .nfModal__title{
    font-size: clamp(38px, 12vw, 52px);
  }
  body.rf-mobile-app .nfModal__actions{
    margin-bottom: 12px;
  }
  body.rf-mobile-app .nfModal__btnPlay,
  body.rf-mobile-app .nfModal__btnSecondary{
    height: 50px;
    font-size: 15px;
  }
  body.rf-mobile-app .nfModal__quickActions{
    border-top: 1px solid rgba(255,255,255,.12);
    border-bottom: 1px solid rgba(255,255,255,.08);
    padding: 8px 0;
  }
  body.rf-mobile-app .nfModal__sectionTitle{
    border-top: 0;
    position: relative;
    padding-top: 0;
    margin-top: 16px;
  }
  body.rf-mobile-app .nfModal__sectionTitle::before{
    content: "";
    display: block;
    width: 82px;
    height: 3px;
    border-radius: 999px;
    background: #e50914;
    margin: 0 0 10px;
  }
  body.rf-mobile-app .nfModal__moreGrid{
    gap: 10px;
  }

  body.rf-mobile-app .modalBackdrop{
    padding: 0;
    align-items: stretch;
    justify-content: flex-end;
    background: rgba(0,0,0,.36);
    backdrop-filter: blur(1.5px);
  }
  body.rf-mobile-app .modalBackdrop .modal{
    width: 100vw;
    max-height: 100dvh;
    border-radius: 0;
    border: 0;
    transform: translateX(100%);
    opacity: 0;
    transition: transform .28s cubic-bezier(.2,.8,.2,1), opacity .2s ease;
  }
  body.rf-mobile-app .modalBackdrop.isOpen .modal{
    transform: translateX(0);
    opacity: 1;
    animation: rfSheetIn .24s cubic-bezier(.2,.8,.2,1);
  }
  body.rf-mobile-app .modal__close{
    left: 12px;
    right: auto;
    top: 10px;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(12,12,12,.72);
  }
  body.rf-mobile-app .modal__close .rfIcon{ display: none; }
  body.rf-mobile-app .modal__close::before{
    content: "←";
    color: #fff;
    font-size: 22px;
    line-height: 1;
    font-weight: 700;
  }
  body.rf-mobile-app .nfModal__hero{
    height: 332px;
    border-radius: 0;
    overflow: hidden;
  }
  body.rf-mobile-app .nfModal__heroPoster,
  body.rf-mobile-app .nfModal__heroVideo{
    transform: scale(1.04);
  }
  body.rf-mobile-app .nfModal__heroContent{
    left: 12px;
    right: 12px;
    bottom: 10px;
  }
  body.rf-mobile-app .nfModal__topActions{
    display:flex;
    top: 10px;
    right: 10px;
  }
  body.rf-mobile-app .nfModal__topBtn{
    width: 38px;
    height: 38px;
    font-size: 18px;
    background: rgba(8,8,8,.68);
  }
  body.rf-mobile-app .nfModal__topBtn .rfIcon{
    width: 19px;
    height: 19px;
  }
  body.rf-mobile-app .nfModal__brand{ display:none; }
  body.rf-mobile-app .nfModal__title{
    font-size: clamp(34px, 11vw, 44px);
    margin-bottom: 4px;
    line-height: .95;
    letter-spacing: -.01em;
  }
  body.rf-mobile-app .nfModal__metaStrip{
    font-size: 10px;
    gap: 5px;
    margin-bottom: 10px;
    flex-wrap: wrap;
    row-gap: 4px;
    align-items: center;
  }
  body.rf-mobile-app .nfModal__pill{
    font-size: 10px;
    padding: 2px 5px;
  }
  body.rf-mobile-app .nfModal__actions{
    display:grid;
    grid-template-columns: 1fr;
    gap: 6px;
    margin-bottom: 8px;
  }
  body.rf-mobile-app .nfModal__btnPlay,
  body.rf-mobile-app .nfModal__btnSecondary{
    height: 46px;
    width: 100%;
    border-radius: 8px;
    justify-content: center;
    font-size: 14px;
    letter-spacing: .01em;
  }
  body.rf-mobile-app .nfModal__btnPlay span:first-child,
  body.rf-mobile-app .nfModal__btnSecondary span:first-child{
    font-size: 16px;
    line-height: 1;
  }
  body.rf-mobile-app .nfModal__btnIcon{
    display:none;
  }
  body.rf-mobile-app .nfModal__mute{
    right: 10px;
    bottom: auto;
    top: 188px;
  }
  body.rf-mobile-app .nfModal__body{
    padding: 10px 10px calc(24px + env(safe-area-inset-bottom));
  }
  body.rf-mobile-app .nfModal__grid{
    gap: 6px;
  }
  body.rf-mobile-app .nfModal__tagline{
    font-size: 12px;
    margin-bottom: 6px;
  }
  body.rf-mobile-app .nfModal__desc{
    font-size: 12px;
    line-height: 1.35;
    margin-bottom: 8px;
  }
  body.rf-mobile-app .nfModal__rightBlock{
    font-size: 11px;
    line-height: 1.35;
  }
  body.rf-mobile-app .nfModal__quickActions{
    margin: 10px 0 2px;
    border-top: 1px solid rgba(255,255,255,.12);
    border-bottom: 1px solid rgba(255,255,255,.08);
    padding: 8px 0 7px;
  }
  body.rf-mobile-app .nfModal__quickBtn{
    gap: 3px;
    color: rgba(255,255,255,.94);
  }
  body.rf-mobile-app .nfModal__sectionTitle{
    margin-top: 10px;
    padding-top: 10px;
    border-top: 0;
    font-size: 12px;
    letter-spacing: .01em;
  }
  body.rf-mobile-app .nfModal__sectionTitle--tight{
    margin-top: 0;
    padding-top: 0;
  }
  body.rf-mobile-app .nfModal__episodes{
    margin-top: 10px;
  }
  body.rf-mobile-app .nfModal__episodesHead{
    gap: 8px;
  }
  body.rf-mobile-app .nfModal__seasonPicker{
    height: 32px;
    font-size: 12px;
    padding: 0 26px 0 8px;
  }
  body.rf-mobile-app .nfModal__episodeList{
    margin-top: 8px;
    gap: 8px;
  }
  body.rf-mobile-app .nfModal__episodeRow{
    grid-template-columns: 104px minmax(0, 1fr) auto;
    gap: 8px;
    padding: 8px;
  }
  body.rf-mobile-app .nfModal__episodeActions{
    grid-column: 3 / 4;
    grid-row: 1 / span 2;
    margin-top: 0;
    align-items: flex-start;
  }
  body.rf-mobile-app .nfModal__episodePlay{
    height: 30px;
    min-width: 74px;
    border-radius: 7px;
    font-size: 11px;
  }
  body.rf-mobile-app .nfModal__episodeTitle{
    font-size: 13px;
  }
  body.rf-mobile-app .nfModal__episodeMeta,
  body.rf-mobile-app .nfModal__episodeSynopsis{
    font-size: 11px;
  }
  body.rf-mobile-app .nfModal__moreGrid{
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }
  body.rf-mobile-app .nfModal__mlCard{
    border-radius: 4px;
    border: 0;
  }
  body.rf-mobile-app .nfModal__mlTop{
    aspect-ratio: 2 / 3;
  }
  body.rf-mobile-app .nfModal__mlMeta{
    padding: 4px 2px 2px;
    background: transparent;
  }
  body.rf-mobile-app .nfModal__mlPlus{
    display: none;
  }
  .nfModal__mlTitle{
    font-size: 11px;
  }
  .nfModal__mlExcerpt{
    display:none;
  }

  /* Mobile detail panel: Netflix-like order and clean 16:9 player */
  body.rf-mobile-app .modalBackdrop{
    display: flex;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition: opacity .22s ease, visibility 0s linear .34s;
  }
  body.rf-mobile-app .modalBackdrop.isOpen{
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transition: opacity .22s ease;
  }
  body.rf-mobile-app .modalBackdrop .modal.nfModal--mobilePanel{
    width: 100vw;
    height: 100dvh;
    max-height: 100dvh;
    border-radius: 0;
    border: 0;
    background: #141414;
    transform: translate3d(100%, 0, 0);
    transition: transform .34s cubic-bezier(.22,.61,.36,1);
    will-change: transform;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-y: contain;
    touch-action: pan-y;
  }
  body.rf-mobile-app .modalBackdrop.isOpen .modal.nfModal--mobilePanel{
    transform: translate3d(0, 0, 0);
    opacity: 1;
    animation: none;
  }
  body.rf-mobile-app .modalBackdrop .modal.nfModal--mobilePanel::before{
    display: none;
  }

  body.rf-mobile-app .modal.nfModal--mobilePanel .nfModal__mobileTopbar{
    position: sticky;
    top: 0;
    z-index: 12;
    display: flex;
    align-items: center;
    height: calc(52px + env(safe-area-inset-top));
    padding: env(safe-area-inset-top) 8px 0;
    background: rgba(8,8,8,.92);
  }
  body.rf-mobile-app .modal.nfModal--mobilePanel .nfModal__mobileTopbar .modal__close{
    position: static;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 999px;
    background: transparent;
  }
  body.rf-mobile-app .modal.nfModal--mobilePanel .nfModal__mobileTopbar .modal__close::before{
    content: none;
  }
  body.rf-mobile-app .modal.nfModal--mobilePanel .nfModal__mobileTopbar .modal__close .rfIcon{
    display: block;
    width: 22px;
    height: 22px;
  }

  body.rf-mobile-app .modal.nfModal--mobilePanel .nfModal__hero{
    height: auto;
    aspect-ratio: 16 / 9;
    border-radius: 0;
    background: #000;
    overflow: hidden;
  }
  body.rf-mobile-app .modal.nfModal--mobilePanel .nfModal__heroPoster,
  body.rf-mobile-app .modal.nfModal--mobilePanel .nfModal__heroVideo{
    transform: none;
    object-fit: cover;
  }
  body.rf-mobile-app .modal.nfModal--mobilePanel .nfModal__heroVideo.isEnhancedPlayer{
    background: #000;
  }
  body.rf-mobile-app .modal.nfModal--mobilePanel .nfModal__heroWatchFull{
    display: inline-flex;
  }
  body.rf-mobile-app .modal.nfModal--mobilePanel .nfModal__hero.isVideoLoading::after,
  body.rf-mobile-app .modal.nfModal--mobilePanel .nfModal__hero.isVideoBuffering::after{
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 26px;
    height: 26px;
    margin: -13px 0 0 -13px;
    border-radius: 999px;
    border: 2px solid rgba(255,255,255,.35);
    border-top-color: #fff;
    animation: rfSpin 0.85s linear infinite;
    z-index: 4;
    pointer-events: none;
  }
  body.rf-mobile-app .modal.nfModal--mobilePanel .modal__heroFade,
  body.rf-mobile-app .modal.nfModal--mobilePanel .nfModal__heroShade,
  body.rf-mobile-app .modal.nfModal--mobilePanel .nfModal__heroContent,
  body.rf-mobile-app .modal.nfModal--mobilePanel .nfModal__brand,
  body.rf-mobile-app .modal.nfModal--mobilePanel .nfModal__topActions,
  body.rf-mobile-app .modal.nfModal--mobilePanel .nfModal__mute{
    display: none !important;
  }

  body.rf-mobile-app .modal.nfModal--mobilePanel .nfModal__body{
    padding: 14px 14px calc(24px + env(safe-area-inset-bottom));
  }
  body.rf-mobile-app .modal.nfModal--mobilePanel .nfModal__mobileHeader{
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 14px;
  }
  body.rf-mobile-app .modal.nfModal--mobilePanel .nfModal__mobileHeader .nfModal__title{
    margin: 0;
    font-size: clamp(24px, 6.2vw, 32px);
    line-height: 1.12;
    letter-spacing: 0;
    text-shadow: none;
  }
  body.rf-mobile-app .modal.nfModal--mobilePanel .nfModal__mobileHeader .nfModal__metaStrip{
    margin: 0;
    gap: 8px;
    row-gap: 6px;
    flex-wrap: wrap;
    font-size: 12px;
  }
  body.rf-mobile-app .modal.nfModal--mobilePanel .nfModal__mobileHeader .nfModal__actions{
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    align-items: stretch;
  }
  body.rf-mobile-app .modal.nfModal--mobilePanel .nfModal__mobileHeader .nfModal__btnPlay,
  body.rf-mobile-app .modal.nfModal--mobilePanel .nfModal__mobileHeader .nfModal__btnSecondary,
  body.rf-mobile-app .modal.nfModal--mobilePanel .nfModal__mobileHeader .nfModal__btnMyList{
    height: 44px;
    border-radius: 8px;
    font-size: 14px;
    justify-content: center;
  }
  body.rf-mobile-app .modal.nfModal--mobilePanel .nfModal__mobileHeader .nfModal__btnIcon{
    display: flex;
    width: 44px;
    height: 44px;
  }
  body.rf-mobile-app .modal.nfModal--mobilePanel .nfModal__mlCard{
    background: transparent;
    border: 0;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
  }
  body.rf-mobile-app .modal.nfModal--mobilePanel .nfModal__mlTop{
    aspect-ratio: 2 / 3;
    border-radius: 4px;
    overflow: hidden;
  }
  body.rf-mobile-app .modal.nfModal--mobilePanel .nfModal__mlTop::after{
    display: none;
  }
  body.rf-mobile-app .modal.nfModal--mobilePanel .nfModal__mlMeta{
    display: none !important;
  }
}

@keyframes rfSheetIn{
  from { transform: translateY(24px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

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

@keyframes rfTileGrainDrift{
  0%   { background-position: 0 0, 0 0, 0 0, 0 0; }
  25%  { background-position: 0 0, 0 0, -1px 1px, 1px -1px; }
  50%  { background-position: 0 0, 0 0, 1px -1px, -1px 1px; }
  75%  { background-position: 0 0, 0 0, -1px -1px, 1px 1px; }
  100% { background-position: 0 0, 0 0, 0 0, 0 0; }
}

@keyframes rfTileSpecSweep{
  0%{
    opacity: 0;
    transform: translateX(-135%);
  }
  22%{
    opacity: .18;
  }
  100%{
    opacity: 0;
    transform: translateX(145%);
  }
}


/* FOOTER */
.siteFooter{
  padding: 34px 0 46px;
  color: rgba(255,255,255,.70);
}
.footer__wrap{
  padding: 0 var(--gutter);
  max-width: 1100px;
  margin: 0 auto;
}
.socialRow{
  display:flex;
  gap: 12px;
  margin-bottom: 18px;
}
.socialIcon{
  width: 34px; height: 34px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius: 10px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
  color: rgba(255,255,255,.85);
  text-decoration:none;
  font-weight: 900;
}
.socialIcon:hover{ background: rgba(255,255,255,.10); }

.footerLinksGrid{
  display:grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px 18px;
  font-size: 13px;
}
.footerLinksGrid a{
  color: rgba(255,255,255,.65);
  text-decoration:none;
}
.footerLinksGrid a:hover{ color: rgba(255,255,255,.9); }
.footerFineprint{
  margin-top: 22px;
  font-size: 12px;
  color: rgba(255,255,255,.45);
}

/* Responsive */
@media (max-width: 980px){
  .primaryNav{ gap: 12px; }
  .footerLinksGrid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px){
  .billboard{ min-height: 70vh; }
  .billboard__right{ display:none; }
  .primaryNav .navLink:nth-child(n+4){ display:none; } /* hide extra nav links */
}


/* HERO VIDEO (autoplay + crossfade) */

/* HERO EMBED (YouTube/Vimeo iframe) */
.billboardEmbed{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  opacity:0;
  transition: opacity 700ms cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events:none;
}

.billboardEmbed iframe{
  width:100%;
  height:100%;
  border:0;
}

.billboardEmbed.isReady{
  opacity:1;
}

.billboardVideo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 360ms ease;
    transform: none;
    filter: saturate(1) contrast(1);
    pointer-events: none;
    scale: 1.3;
}

.billboardVideo.isReady{
  /* Keep video hidden until its layer is fully active; enables a smooth handoff from key art to preview. */
  opacity:0;
}

/* Simple hero mode (no layers) */
body.rf-simple-hero .billboardVideo.isReady{
  opacity:1;
}

/* Ease-in handoff: image (poster/backdrop) -> trailer preview */
.billboardLayer.isActive[data-kind="video"] .billboardVideo.isReady{
  opacity:1;
  transition-delay: 0ms;
}

/* Featured home hero uses a simple, non-layered video; ensure it is visible when ready. */
.billboard--featured .billboardVideo.isReady{
  opacity:1;
}

/* Safety: on Home, show any ready video on the active layer (prevents audio-only blanks). */
body.page--home .billboardLayer.isActive .billboardVideo.isReady{
  opacity:1;
}

#heroPoster{
  transition: opacity 260ms ease;
}

#heroPoster.isSwitching{
  opacity:0;
}

/* Premium home hero polish */
.billboard--premium #heroPoster{
  transition: opacity 600ms ease, transform 7000ms ease;
  transform: scale(1.02);
}
.billboard--premium #heroPoster.isSwitching{
  opacity:0;
  transform: scale(1.01);
}


.billboard--premium .billboard__vignette {
    background: 
radial-gradient(circle at 60% 15%, rgb(0 0 0 / 0%) 0%, rgb(0 0 0 / 0%) 70%), 
linear-gradient(to right, rgb(0 0 0 / 39%) 0%, rgba(0, 0, 0, 0) 58%);
}

.billboard--premium .billboard__bottomFade{
  height: 26%;
}

/* Cinematic overlay (Netflix-like) */
.billboard--premium .billboard__background::before{
  opacity: var(--hero-grain-opacity-premium);
}
.billboard--premium .billboard__background::after{
  background:
    radial-gradient(120% 84% at 15% 8%, rgba(66,108,180,var(--hero-premium-overlay-cool)) 0%, rgba(0,0,0,0) 48%),
    radial-gradient(100% 90% at 86% 82%, rgba(255,138,74,var(--hero-premium-overlay-warm)) 0%, rgba(0,0,0,0) 54%),
    linear-gradient(180deg, rgba(6,12,24,var(--hero-premium-overlay-top-dark)) 0%, rgba(2,8,18,var(--hero-premium-overlay-mid-dark)) 48%, rgba(1,4,10,var(--hero-premium-overlay-bottom-dark)) 100%);
  opacity: var(--hero-premium-overlay-opacity);
  mix-blend-mode: normal;
}

#heroPoster.isFaded{
  opacity:0;
}

/* Reduce motion = no fancy movement */
@media (prefers-reduced-motion: reduce){
  .billboardVideo{ display:none !important; }
  .card{ transition:none !important; }
  .card:hover{ transform:none !important; }
  .card__media::after{ animation: none !important; }
  .card::after{ animation: none !important; }
  .billboard__background::before{ animation: none !important; }
  .nfModal__hero::before{ animation: none !important; }
  .watchDrawer__heroMedia::before{ animation: none !important; }
  .tvDetail__hero::before{ animation: none !important; }
  .billboard.isTextReveal .titleTreatment__pre,
  .billboard.isTextReveal .titleTreatment__main,
  .billboard.isTextReveal .billboard__synopsis{
    animation: none !important;
  }
}
body.noCinematicFx .nfModal__hero::before,
body.noCinematicFx .watchDrawer__heroMedia::before,
body.noCinematicFx .tvDetail__hero::before{
  display: none !important;
}
@media (max-width: 980px){
  .billboard__background::before{ opacity: calc(var(--hero-grain-opacity) * .67); }
  .billboard--premium .billboard__background::before{ opacity: calc(var(--hero-grain-opacity-premium) * .67); }
  .billboard__background::after{ opacity: .56; }
  :root{ --tile-grain-opacity: .02; }
}

/* Continue Watching: Resume badge + time-left label */
.card .badge-resume{
  position:absolute;
  top:10px;
  left:10px;
  padding:6px 8px;
  border-radius:999px;
  font-size:11px;
  line-height:1;
  letter-spacing:.08em;
  text-transform:uppercase;
  background:rgba(0,0,0,.65);
  border:1px solid rgba(255,255,255,.25);
  backdrop-filter: blur(6px);
}

/* “New” badge */
.card .badge-new {
   position: absolute;
    top: 10px;
    right: 10px;
    padding: 6px 8px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: .08em;
    text-transform: uppercase;
    background: rgb(243 17 28);
    border: 1px solid rgba(255, 255, 255, .22);
    backdrop-filter: blur(6px);
    color: #fff;
}

/* Top 10 numbered rail (portrait poster + large number) */
.card--top10{
  overflow: visible;
  border-radius: 4px;
}
.card--top10 .card__media{
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 4px;
  z-index: 3;
  box-shadow: none;
}
.card--top10 .card__media::after{
  display: none;
}
.card--top10 .top10-rank {
    position: absolute;
    left: -55px;
    bottom: -12px;
    z-index: 3;
    display: block;
    width: auto;
    padding: 0;
    font-weight: 900;
    font-size: 150px;
    line-height: .88;
    letter-spacing: -0.05em;
    color: rgb(20 20 20);
    -webkit-text-stroke: clamp(2px, .22vw, 3px) rgba(255, 255, 255, .92);
    text-shadow: -1px -1px 0 rgba(0, 0, 0, .65), 1px -1px 0 rgba(0, 0, 0, .65), -1px 1px 0 rgba(0, 0, 0, .65), 1px 1px 0 rgba(0, 0, 0, .65), 0 8px 16px rgba(0, 0, 0, .6);
    pointer-events: none;
    width: 70px;
}
.row--top10 .card {
  margin-left: 83px;
    aspect-ratio: 2 / 3;
    width: var(--card-w-landscape);
    border-radius: 4px;
    background: transparent;
    border: 0;
    box-shadow: none;
    overflow: visible;
    width: 125px !important;
}
.row--top10 .row__viewport{
  overflow: visible;
}
.row--top10 .row__rail {
    padding-left: calc(var(--gutter) + 8px);
    overflow: visible;
}
.row--top10 .card:hover,
.row--top10 .card.isPopoverHot{
  box-shadow: none;
    z-index: revert;
}
/* Mobile: keep Top 10 number + poster visible together on all mobile pages */
body.rf-mobile-app .row--top10 .card{
  overflow: visible;
  margin-left: 34px;
}
body.rf-mobile-app .row--top10 .top10-rank{
  position: absolute;
  left: -30px;
  bottom: 6px;
  z-index: 6;
  display: block;
  width: auto;
  padding: 0;
  font-size: 64px;
  font-weight: 900;
  line-height: .88;
  letter-spacing: -.04em;
  color: rgba(255,255,255,.33);
  -webkit-text-stroke: 2px rgba(255,255,255,.92);
  text-shadow:
    -1px -1px 0 rgba(0,0,0,.65),
     1px -1px 0 rgba(0,0,0,.65),
    -1px  1px 0 rgba(0,0,0,.65),
     1px  1px 0 rgba(0,0,0,.65),
     0 8px 16px rgba(0,0,0,.6);
  pointer-events: none;
}
body.rf-mobile-app .row--top10 .card .card__media{
  position: relative;
  z-index: 4;
  box-shadow: none;
}
@supports (-webkit-text-stroke: 1px #fff) {
  body.rf-mobile-app .row--top10 .top10-rank{
    color: rgba(0,0,0,.28);
  }
}

@media (min-width: 768px){
  body.rf-mobile-app .row--top10 .top10-rank{
    font-size: 78px;
    left: -36px;
    bottom: 6px;
    -webkit-text-stroke: 2.4px rgba(255,255,255,.92);
  }
}


.card .time-left-label{
  position:absolute;
  right:10px;
  bottom:10px;
  padding:6px 8px;
  border-radius:8px;
  font-size:12px;
  line-height:1;
  background:rgba(0,0,0,.65);
  border:1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(6px);
}

/* On very small screens, keep labels readable */
@media (max-width: 640px){
  .card .badge-resume{ top:8px; left:8px; font-size:10px; padding:5px 7px; }
  .card .time-left-label{ right:8px; bottom:8px; font-size:11px; padding:5px 7px; }
}

/* ---------- Watch Drawer (Riteflix-style watch page panel) ---------- */

body.hasWatchDrawer{
  overflow: hidden;
}

.watchDrawerBackdrop{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.0);
  pointer-events: none;
  z-index: 9999;
  display:flex;
  justify-content:flex-end;
}

.watchDrawerBackdrop.isOpen{
  background: rgba(0,0,0,.55);
  pointer-events: auto;
  transition: background 220ms ease;
}

.watchDrawer{
  width: 100vw;
  max-width: 100vw;
  height: 100vh;
  height: 100dvh;
  background: #111;
  transform: translateX(100%);
  transition: transform 260ms cubic-bezier(.2,.8,.2,1);
  box-shadow: none;
  display:flex;
  flex-direction: column;
  overflow:hidden;
  overscroll-behavior: none;
}

.watchDrawer.isOpen{ transform: translateX(0); }

.watchDrawer__topbar{
  height: 48px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 8px 12px;
  background: rgba(0,0,0,.0);
  position:absolute;
  top:0; left:0; right:0;
  z-index: 3;
}

.wdIcon{
  border:0;
  background: rgba(0,0,0,.55);
  color:#fff;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  display:grid;
  place-items:center;
  cursor:pointer;
}

.wdTopActions{ display:flex; gap:10px; }

.watchDrawer__hero{
  position: relative;
  padding-top: 56px; /* space for topbar */
  background:#000;
}

.watchDrawer__heroMedia{
  position: relative;
  height: 220px;
  overflow:hidden;
}
.watchDrawer__heroMedia::before{
  content:"";
  position:absolute;
  inset:-14%;
  pointer-events:none;
  z-index: 1;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 140 140'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='0.6'/></svg>");
  background-size: var(--hero-grain-size) var(--hero-grain-size);
  background-repeat: repeat;
  opacity: var(--hero-grain-opacity);
  mix-blend-mode: soft-light;
  animation: rfHeroGrainDrift 18s steps(8) infinite, rfHeroGrainJitter 1200ms steps(6) infinite;
}

.watchDrawer__heroPoster{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  filter: saturate(1.05) contrast(1.05);
}

.watchDrawer__heroPreview{
  position:absolute;
  inset:0;
}

.watchDrawer__video{
  width:100%;
  height:100%;
  object-fit:cover;
}

.watchDrawer__heroMedia::after{
  content:"";
  position:absolute;
  inset:0;
  z-index: 2;
  background:
    radial-gradient(120% 90% at 50% 10%, rgba(0,0,0,.05) 0%, rgba(0,0,0,.55) 70%, rgba(0,0,0,.75) 100%),
    linear-gradient(to top, rgba(0,0,0,.65), rgba(0,0,0,0) 55%);
  pointer-events:none;
}

.wdMute{
  position:absolute;
  right: 12px;
  top: 160px;
  z-index: 4;
  border:0;
  background: rgba(0,0,0,.55);
  color:#fff;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
}
.wdMute .rf-ico{ width:18px; height:18px; }
.wdMute .rf-ico-mute{ display:none; }
.wdMute.is-muted .rf-ico-vol{ display:none; }
.wdMute.is-muted .rf-ico-mute{ display:block; }

.watchDrawer__heroTitle{
  position:absolute;
  left: 14px;
  bottom: 10px;
  z-index: 4;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: .2px;
  color:#fff;
  text-shadow: 0 10px 30px rgba(0,0,0,.75);
}

.watchDrawer__body{
  padding: 14px;
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-y: contain;
}

.watchDrawer__metaRow{
  display:flex;
  gap: 10px;
  align-items:center;
  flex-wrap: wrap;
  font-size: 12px;
  color: rgba(255,255,255,.85);
  margin-bottom: 10px;
}

.wdPill{
  border: 1px solid rgba(255,255,255,.25);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 12px;
}

.wdPill--outline{ opacity: .9; }

.watchDrawer__playBtn{
  width: 100%;
  background: #fff;
  color:#000;
  border:0;
  border-radius: 4px;
  padding: 12px 14px;
  font-size: 14px;
  font-weight: 700;
  display:flex;
  align-items:center;
  justify-content:center;
  gap: 10px;
  cursor:pointer;
}

.watchDrawer__status{
  display:none;
  margin: 8px 0 10px;
  padding: 8px 10px;
  border-radius: 6px;
  font-size: 12px;
  line-height: 1.35;
  border: 1px solid rgba(176,0,32,.35);
  background: rgba(176,0,32,.12);
  color: #ffd7de;
}
.watchDrawer__status.isVisible{ display:block; }
.watchDrawer__status.isInfo{
  border-color: rgba(24,74,139,.35);
  background: rgba(24,74,139,.14);
  color: #d7e8ff;
}
.watchDrawer__status.isSuccess{
  border-color: rgba(20,140,70,.35);
  background: rgba(20,140,70,.14);
  color: #d8ffe8;
}

.watchDrawer__sectionTitle{
  margin-top: 14px;
  margin-bottom: 10px;
  font-size: 14px;
  font-weight: 800;
  color:#fff;
}

.watchDrawer__grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.wdTile{
  border:0;
  background: transparent;
  padding:0;
  cursor:pointer;
}

.wdTile__imgWrap{
  position:relative;
  border-radius: 5px;
  overflow:hidden;
  background:#1a1a1a;
}

.wdTile__img{
  display:block;
  width:100%;
  height: 88px;
  object-fit: cover;
}

.wdBadge{
  position:absolute;
  left:0;
  bottom:0;
  background:#e50914;
  color:#fff;
  font-size: 10px;
  font-weight: 800;
  padding: 4px 6px;
}

@media (min-width: 900px){
  .watchDrawer{ width: 480px; }
  .watchDrawer__heroMedia{ height: 260px; }
  .wdTile__img{ height: 96px; }
}



/* === Riteflix-style Watch Drawer polish === */
.watchDrawer__heroMedia{
  height: 250px;
}

.watchDrawer__heroOverlay{
  position:absolute;
  inset:0;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  pointer-events:none;
}

.watchDrawer__heroOverlayTop{
  height: 44px;
}

.watchDrawer__heroOverlayBottom{
  padding: 0 14px 14px;
  background: linear-gradient(to top, rgba(0,0,0,.78), rgba(0,0,0,.0) 70%);
}

.watchDrawer__titleText{
  font-size: 22px;
  font-weight: 800;
  line-height: 1.1;
  color: #fff;
  text-shadow: 0 10px 30px rgba(0,0,0,.75);
}

.watchDrawer__availability{
  margin-top: 6px;
  font-size: 12px;
  color: rgba(255,255,255,.8);
}

.watchDrawer__actions{
  display:flex;
  gap: 12px;
  align-items:center;
  padding: 10px 0 2px;
}

.wdCircleBtn{
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 2px solid rgba(255,255,255,.25);
  background: rgba(0,0,0,.25);
  color:#fff;
  display:grid;
  place-items:center;
  cursor:pointer;
}

.wdCircleBtn:hover{
  border-color: rgba(255,255,255,.55);
  background: rgba(0,0,0,.35);
}

.wdCircleBtn.isActive{
  border-color: rgba(255,255,255,.85);
}

.wdCircleIcon{
  font-size: 18px;
  line-height: 1;
}


/* ---------------------------------------------------------------------
   Smooth handoff into watch.php (Riteflix-style: UI fades, then navigates)
   Safe: only activates when JS adds body.rfIsNavigatingToWatch
------------------------------------------------------------------------ */
body.rfIsNavigatingToWatch::before{
  content: "";
  position: fixed;
  inset: 0;
  background: #000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
  z-index: 2147483647;
}
body.rfIsNavigatingToWatch.rfNavFadeOn::before{
  opacity: 1;
}
@media (prefers-reduced-motion: reduce){
  body.rfIsNavigatingToWatch::before{ transition: none; }
}


/* RF MOBILE APP SHELL */
/* Hard guard: never show the mobile tab bar unless the mobile app shell is active */
.rfmTabBar{
  display: none !important;
}
body.rf-mobile-app .rfmTabBar{
  display: block !important;
}
body:not(.rf-mobile-app) .rfmTabBar__row,
body:not(.rf-mobile-app) .rfmTab{
  display: none !important;
}
/* Legacy mobile tabs (rfmsTabBar) are disabled to avoid desktop spill */
.rfmsTabBar,
.rfmsTabBar__row,
.rfmsTab{
  display: none !important;
}
.rf-mobile-app .topNav {
  position: sticky;
  top: 0;
  z-index: 50;
}

.rf-mobile-app .topNav__left .primaryNav,
.rf-mobile-app .topNav__right .navLink,
.rf-mobile-app .topNav__right .iconBtn[aria-label="Notifications"] {
  display: none;
}

/* Keep logo + search + profile on mobile */
.rf-mobile-app .topNav__left { gap: 10px; }
.rf-mobile-app .topNav__right { gap: 10px; }

/* Give content room for the fixed tab bar */
.rf-mobile-app .page {
  padding-bottom: 92px;
}

/* Make hover-only UI not get in the way on touch */
@media (hover: none) and (pointer: coarse) {
  .rf-mobile-app .titleCard:hover .titleCard__hover,
  .rf-mobile-app .titleCard .titleCard__hover {
    display: none !important;
  }
}

/* Bottom Tab Bar */
.rfTabBar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
  background: rgba(0,0,0,0.92);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255,255,255,0.08);
  z-index: 60;
}

.rfTabBar__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  text-decoration: none;
  color: rgba(255,255,255,0.75);
  min-width: 56px;
  padding: 6px 8px;
  border-radius: 12px;
}

.rfTabBar__item.isActive {
  color: rgba(255,255,255,1);
  background: rgba(255,255,255,0.08);
}

.rfTabBar__icon {
  font-size: 18px;
  line-height: 18px;
}

.rfTabBar__label {
  font-size: 11px;
  line-height: 11px;
}

/* Optional: hide big desktop footer in app mode (still kept in DOM for scripts/modals) */
.rf-mobile-app .siteFooter {
  display: none;
}

/* App-like mobile shell for core browse routes */
@media (max-width: 900px) {
  body.page--public_home,
  body.page--home,
  body.page--shows,
  body.page--movies,
  body.page--tv_show_detail,
  body.page--kids,
  body.page--kids_shows {
    background:
        
        
        background: radial-gradient(90% 55% at 40% 0%, rgba(23, 50, 91, .45) 0%, rgba(7, 11, 19, 0) 70%), linear-gradient(87deg, #0a1220 0%
0%
, #06090f 28%, #05070a 100%);
       
        
        
        
     /* radial-gradient(90% 55% at 40% 0%, rgba(23,50,91,.45) 0%, rgba(7,11,19,0) 70%),
      linear-gradient(180deg, #0a1220 0%, #06090f 28%, #05070a 100%);*/
    color: #f3f7ff;
    font-family: "Sora", "Space Grotesk", "Avenir Next", "Segoe UI", sans-serif;
  }

  body.page--public_home .topNav,
  body.page--home .topNav,
  body.page--shows .topNav,
  body.page--movies .topNav,
  body.page--tv_show_detail .topNav,
  body.page--kids .topNav,
  body.page--kids_shows .topNav {
    display: none !important;
  }

  body.page--public_home .siteFooter,
  body.page--home .siteFooter,
  body.page--shows .siteFooter,
  body.page--movies .siteFooter,
  body.page--tv_show_detail .siteFooter,
  body.page--kids .siteFooter,
  body.page--kids_shows .siteFooter {
    display: none !important;
  }

  body.page--public_home main.page,
  body.page--home main.page,
  body.page--shows main.page,
  body.page--movies main.page,
  body.page--tv_show_detail main.page,
  body.page--kids main.page,
  body.page--kids_shows main.page {
    padding-bottom: calc(96px + env(safe-area-inset-bottom));
  }

  body.page--public_home .billboard,
  body.page--home .billboard,
  body.page--shows .billboard,
  body.page--movies .billboard,
  body.page--tv_show_detail .billboard,
  body.page--kids .billboard,
  body.page--kids_shows .billboard {
    min-height: clamp(460px, 68vh, 560px);
  }

  body.page--public_home .billboard__content,
  body.page--home .billboard__content,
  body.page--shows .billboard__content,
  body.page--movies .billboard__content,
  body.page--tv_show_detail .billboard__content,
  body.page--kids .billboard__content,
  body.page--kids_shows .billboard__content {
    padding: 0 14px 18px;
    transform: none;
    position: absolute;
    width: 100%;
    padding: 0 var(--gutter) 6vh;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    bottom: 15vh;
  }

  body.page--public_home .titleTreatment__main,
  body.page--home .titleTreatment__main,
  body.page--shows .titleTreatment__main,
  body.page--movies .titleTreatment__main,
  body.page--tv_show_detail .titleTreatment__main,
  body.page--kids .titleTreatment__main,
  body.page--kids_shows .titleTreatment__main {
    font-size: clamp(30px, 8vw, 40px);
    line-height: 1.03;
    font-weight: 800;
    letter-spacing: .01em;
  }

  body.page--public_home .billboard__synopsis,
  body.page--home .billboard__synopsis,
  body.page--shows .billboard__synopsis,
  body.page--movies .billboard__synopsis,
  body.page--tv_show_detail .billboard__synopsis,
  body.page--kids .billboard__synopsis,
  body.page--kids_shows .billboard__synopsis {
    max-width: 34ch;
    font-size: 14px;
    line-height: 1.45;
    color: rgba(236,243,255,.78);
  }

  body.page--public_home .billboard__actions .btn,
  body.page--home .billboard__actions .btn,
  body.page--shows .billboard__actions .btn,
  body.page--movies .billboard__actions .btn,
  body.page--tv_show_detail .billboard__actions .btn,
  body.page--kids .billboard__actions .btn,
  body.page--kids_shows .billboard__actions .btn {
    min-height: 48px;
    border-radius: 4px;
    font-weight: 700;
  }

  body.page--public_home .rows,
  body.page--home .rows,
  body.page--shows .rows,
  body.page--movies .rows,
  body.page--tv_show_detail .rows,
  body.page--kids .rows,
  body.page--kids_shows .rows {
    padding-top: 6px;
  }

  body.page--public_home .row__title,
  body.page--home .row__title,
  body.page--shows .row__title,
  body.page--movies .row__title,
  body.page--tv_show_detail .row__title,
  body.page--kids .row__title,
  body.page--kids_shows .row__title {
    font-size: 19px;
    font-weight: 800;
    letter-spacing: .01em;
    padding: 0 14px 8px;
  }

  body.page--public_home .row__titleWrap,
  body.page--home .row__titleWrap,
  body.page--shows .row__titleWrap,
  body.page--movies .row__titleWrap,
  body.page--tv_show_detail .row__titleWrap,
  body.page--kids .row__titleWrap,
  body.page--kids_shows .row__titleWrap {
    padding: 0 14px 8px;
    margin-bottom: 0;
    gap: 8px;
  }

  body.page--public_home .row__titleWrap .row__title,
  body.page--home .row__titleWrap .row__title,
  body.page--shows .row__titleWrap .row__title,
  body.page--movies .row__titleWrap .row__title,
  body.page--tv_show_detail .row__titleWrap .row__title,
  body.page--kids .row__titleWrap .row__title,
  body.page--kids_shows .row__titleWrap .row__title {
    padding: 0;
    margin: 0;
  }

  body.page--public_home .row__viewport,
  body.page--home .row__viewport,
  body.page--shows .row__viewport,
  body.page--movies .row__viewport,
  body.page--tv_show_detail .row__viewport,
  body.page--kids .row__viewport,
  body.page--kids_shows .row__viewport {
    padding: 0 10px;
  }

  body.page--public_home .row__rail,
  body.page--home .row__rail,
  body.page--shows .row__rail,
  body.page--movies .row__rail,
  body.page--tv_show_detail .row__rail,
  body.page--kids .row__rail,
  body.page--kids_shows .row__rail {
    gap: 10px;
  }

  body.page--public_home .row__arrow,
  body.page--home .row__arrow,
  body.page--shows .row__arrow,
  body.page--movies .row__arrow,
  body.page--tv_show_detail .row__arrow,
  body.page--kids .row__arrow,
  body.page--kids_shows .row__arrow {
    display: none !important;
  }

  body.page--public_home .card,
  body.page--home .card,
  body.page--shows .card,
  body.page--movies .card,
  body.page--tv_show_detail .card,
  body.page--kids .card,
  body.page--kids_shows .card {
    border-radius: 7px;
    border: 1px solid rgba(255,255,255,.08);
    box-shadow: 0 10px 28px rgba(0,0,0,.35);
    overflow: hidden;
    background: #0b111b;
  }

  .rfmsTabBar {
    position: fixed;
    left: 10px;
    right: 10px;
    bottom: max(8px, env(safe-area-inset-bottom));
    z-index: 99999;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,.14);
    background: rgba(7,13,22,.82);
    backdrop-filter: blur(14px);
    box-shadow: 0 24px 60px rgba(0,0,0,.45);
    padding: 8px 8px 10px;
  }

  .rfmsTabBar__row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 4px;
  }

  .rfmsTab {
    flex: 1;
    text-decoration: none;
    color: rgba(239,244,255,.64);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .01em;
    padding: 6px 4px 2px;
    border-radius: 12px;
  }

  .rfmsTab svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
  }

  .rfmsTab.isActive {
    color: #fff;
    background: rgba(255,255,255,.09);
  }

  .rfmsTab__pill {
    width: 26px;
    height: 3px;
    border-radius: 999px;
    background: transparent;
  }

  .rfmsTab.isActive .rfmsTab__pill {
    background: linear-gradient(90deg,#8df9eb 0%, #19d3b4 100%);
  }

  body.page--tv_show_detail .tvDetail__body {
    padding: 14px 10px 0;
  }

  body.page--tv_show_detail .tvDetail__season {
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,.08);
    background: rgba(11,17,27,.78);
    margin-bottom: 14px;
    overflow: hidden;
  }

  body.page--tv_show_detail .tvDetail__episode {
    padding: 10px;
    gap: 10px;
  }

  body.page--tv_show_detail .tvDetail__epAction {
    min-width: 120px;
  }

  body.page--tv_show_detail .tvDetail__epAction .btn {
    min-height: 40px;
    border-radius: 12px;
    width: 100%;
  }
}


/* SVG icons inside circular buttons */
.circleBtn .rfIcon, .wdCircleBtn .rfIcon{width:22px;height:22px;display:block;}





/* Riteflix-style account dropdown */
.rfMenuWrap{position:relative;display:inline-flex}
.rfMenuBtn{display:inline-flex;align-items:center;gap:10px;padding:6px 8px;border:0;background:transparent;cursor:pointer;border-radius:999px}
.rfMenuBtn:hover{background:rgba(255,255,255,.08)}
.rfMenuAvatar{width:32px;height:32px;border-radius:8px;object-fit:cover}
.rfCaret{width:16px;height:16px;opacity:.9}

.rfMenu{position:absolute;top:calc(100% + 10px);right:0;width:360px;
background:rgba(0,0,0,.92);border:1px solid rgba(255,255,255,.08);
border-radius:14px;box-shadow:0 20px 60px rgba(0,0,0,.55);
overflow:hidden;display:none;transform-origin:top right;
transform:translateY(-8px) scale(.98);opacity:0;
transition:opacity .14s ease, transform .14s ease;z-index:9999}
.rfMenu.isOpen{display:block;opacity:1;transform:translateY(0) scale(1)}

.rfMenuProfiles{padding:14px;display:flex;flex-direction:column;gap:10px}
.rfMenuProfile{display:flex;align-items:center;gap:12px;color:#fff;text-decoration:none;
padding:8px 10px;border-radius:12px;font-weight:800;position:relative;
transition:transform .14s ease, box-shadow .14s ease, background .14s ease}
.rfMenuProfile:hover{background:rgba(255,255,255,.08);
transform:translateX(2px) scale(1.01);
box-shadow:0 0 0 1px rgba(255,255,255,.08),0 12px 30px rgba(0,0,0,.35)}

.rfPfp{width:34px;height:34px;border-radius:8px;object-fit:cover;background:rgba(255,255,255,.1)}
.rfPfpInitials{display:flex;align-items:center;justify-content:center;background:#e50914;color:#fff;font-weight:900}

.rfActiveDot{position:absolute;right:10px;top:50%;transform:translateY(-50%);
width:9px;height:9px;border-radius:50%;background:#2fe36e;
box-shadow:0 0 0 3px rgba(47,227,110,.15);display:none}
.rfMenuProfile.isActive .rfActiveDot{display:block}

.rfMenuLinks{padding:12px 14px;display:flex;flex-direction:column;gap:6px}
.rfMenuItem{display:flex;align-items:center;gap:12px;color:#fff;text-decoration:none;
padding:10px 10px;border-radius:12px}
.rfMenuItem:hover{background:rgba(255,255,255,.08)}

.rfMenuDivider{height:1px;background:rgba(255,255,255,.1)}

.rfMenuSignout{display:flex;align-items:center;justify-content:center;gap:10px;
padding:16px 14px;color:#fff;text-decoration:none;font-weight:900}
.rfMenuSignout:hover{background:rgba(255,255,255,.06)}

.rfIcon{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;
stroke-linecap:round;stroke-linejoin:round}


/* --- Riteflix-polish dropdown (Riteflix) --- */
.rfMenuWrap{position:relative;display:inline-flex}
.rfMenuBtn{display:inline-flex;align-items:center;gap:10px;padding:6px 8px;border:0;background:transparent;cursor:pointer;border-radius:999px}
.rfMenuBtn:hover{background:rgba(255,255,255,.08)}
.rfMenuAvatar{width:32px;height:32px;border-radius:8px;object-fit:cover;display:block}
.rfCaret{width:16px;height:16px;opacity:.9}

.rfMenu{position:absolute;top:calc(100% + 10px);right:0;width:360px;background:rgba(0,0,0,.92);
  border:1px solid rgba(255,255,255,.08);border-radius:14px;box-shadow:0 20px 60px rgba(0,0,0,.55);
  overflow:hidden;display:none;transform-origin:top right;transform:translateY(-8px) scale(.98);opacity:0;
  transition:opacity .14s ease,transform .14s ease;z-index:9999}
.rfMenu.isOpen{display:block;opacity:1;transform:translateY(0) scale(1)}

.rfMenuProfiles{padding:14px;display:flex;flex-direction:column;gap:10px}
.rfMenuLoading{color:rgba(255,255,255,.75);font-weight:700;padding:10px}
.rfMenuProfile{display:flex;align-items:center;gap:12px;color:#fff;text-decoration:none;padding:8px 10px;border-radius:12px;
  font-weight:800;position:relative;transition:transform .14s ease,box-shadow .14s ease,background .14s ease}
.rfMenuProfile:hover{background:rgba(255,255,255,.08);transform:translateX(2px) scale(1.01);
  box-shadow:0 0 0 1px rgba(255,255,255,.08),0 12px 30px rgba(0,0,0,.35)}
.rfPfp{width:34px;height:34px;border-radius:8px;object-fit:cover;display:block;background:rgba(255,255,255,.10)}
.rfPfpInitials{display:flex;align-items:center;justify-content:center;background:#e50914;color:#fff;font-weight:900}

.rfActiveDot{position:absolute;right:10px;top:50%;transform:translateY(-50%);width:9px;height:9px;border-radius:50%;
  background:#2fe36e;box-shadow:0 0 0 3px rgba(47,227,110,.15);display:none}
.rfMenuProfile.isActive .rfActiveDot{display:block}

.rfMenuLinks{padding:12px 14px;display:flex;flex-direction:column;gap:6px}
.rfMenuItem{display:flex;align-items:center;gap:12px;color:#fff;text-decoration:none;padding:10px 10px;border-radius:12px}
.rfMenuItem:hover{background:rgba(255,255,255,.08)}
.rfMenuItem span{font-weight:800}

.rfMenuDivider{height:1px;background:rgba(255,255,255,.10)}
.rfMenuSignout{display:flex;align-items:center;justify-content:center;gap:10px;padding:16px 14px;color:#fff;text-decoration:none;font-weight:900}
.rfMenuSignout:hover{background:rgba(255,255,255,.06)}

/* =========================
   Membership Lock Overlay
   ========================= */
.card--locked img{
  filter: grayscale(.2) brightness(.75);
}

.badge-lock {
    position: absolute;
    left: 11px;
    top: 3px;
    /* display: flex; */
    align-items: center;
    gap: 8px;
    padding: 5px 5px;
    border-radius: 5px;
    background: rgba(229, 9, 20, 1);
    border: 1px solid rgba(229, 9, 20, .9);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .01em;
    box-shadow: 0 6px 16px rgba(229, 9, 20, .35);
    z-index: 3;
}
.badge-lock__icon{ font-size:14px; line-height:1; }
.badge-lock__txt{ line-height:1; }

/* Modal play -> upgrade state */
.nfModal__btnPlay.isUpgrade{
  background: rgba(229,9,20,1);
}

/* Unavailable Title Modal */
.rfAvailModal{
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: none;
  align-items: center;
  justify-content: center;
}
.rfAvailModal.isOpen{ display: flex; }
.rfAvailBackdrop{
  position:absolute;
  inset:0;
  background: rgba(0,0,0,.68);
  backdrop-filter: blur(6px);
}
.rfAvailCard{
  position: relative;
  width: min(860px, 92vw);
  background: rgba(20,20,20,.98);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 16px;
  box-shadow: 0 40px 120px rgba(0,0,0,.7);
  padding: 18px 20px 16px;
  z-index: 1;
}
.rfAvailClose{
  position:absolute;
  top:10px; right:10px;
  width: 36px; height: 36px;
  border-radius: 10px;
  border: 0;
  background: rgba(255,255,255,.12);
  color:#fff;
  font-size: 22px;
  cursor:pointer;
}
.rfAvailClose:hover{ background: rgba(255,255,255,.18); }
.rfAvailHead{ margin-bottom: 12px; }
.rfAvailTitle{
  font-size: 22px;
  font-weight: 900;
}
.rfAvailBody{
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 16px;
  align-items: center;
}
.rfAvailPoster{
  width: 180px;
  aspect-ratio: 2/3;
  border-radius: 12px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.08);
  background-size: cover;
  background-position: center;
}
.rfAvailPoster.hasImg{
  box-shadow: 0 10px 30px rgba(0,0,0,.45);
}
.rfAvailText{ color: rgba(255,255,255,.9); }
.rfAvailMsg{ font-size: 16px; font-weight: 700; margin: 0 0 8px; }
.rfAvailAsk{ margin: 0; color: rgba(255,255,255,.75); }
.rfAvailActions{
  display:flex;
  gap: 10px;
  margin-top: 16px;
}
.rfAvailNote{
  margin-top: 10px;
  color: rgba(255,255,255,.75);
  font-size: 13px;
}
.rfAvailPin{
  margin-top: 12px;
}
.rfAvailPinInput{
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.06);
  color: #fff;
  font-size: 15px;
}
@media (max-width: 640px){
  .rfAvailBody{ grid-template-columns: 1fr; }
  .rfAvailPoster{ width: 100%; max-width: 220px; }
}

/* Adult PIN modal (kids gating) */
.rfPinModal{
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: none;
  align-items: center;
  justify-content: center;
}
.rfPinModal.isOpen{ display: flex; }
.rfPinBackdrop{
  position:absolute;
  inset:0;
  background: rgba(0,0,0,.65);
  backdrop-filter: blur(6px);
}
.rfPinCard{
  position: relative;
  width: min(520px, 92vw);
  background: rgba(20,20,20,.98);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 16px;
  box-shadow: 0 40px 120px rgba(0,0,0,.7);
  padding: 18px 20px 16px;
  z-index: 1;
}
.rfPinClose{
  position:absolute;
  top:10px; right:10px;
  width: 36px; height: 36px;
  border-radius: 10px;
  border: 0;
  background: rgba(255,255,255,.12);
  color:#fff;
  font-size: 22px;
  cursor:pointer;
}
.rfPinTitle{
  font-size: 20px;
  font-weight: 900;
  margin-bottom: 6px;
}
.rfPinMsg{
  color: rgba(255,255,255,.8);
  margin-bottom: 12px;
}
.rfPinInputWrap{ margin-bottom: 8px; }
.rfPinInput{
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.06);
  color: #fff;
  font-size: 15px;
}
.rfPinError{
  min-height: 18px;
  color: rgba(255,140,140,.95);
  font-size: 13px;
  margin-bottom: 8px;
}
.rfPinActions{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
}
html, body{
  height: 100%;
}
body{
  min-height: 100vh;
}
#app{
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main.page{
  flex: 1;
  display: block;
}

/* Keep a single canonical unavailable modal style block above to avoid page-specific overrides. */

/* === Overlay Visual System (Detail + Popover + Drawer + Gate Modals) === */
:root{
  --rf-overlay-accent: #e50914;
  --rf-overlay-accent-2: #f6121d;
  --rf-overlay-panel: rgba(14, 14, 18, 0.97);
  --rf-overlay-panel-soft: rgba(24, 24, 28, 0.95);
  --rf-overlay-line: rgba(255,255,255,.14);
  --rf-overlay-line-strong: rgba(255,255,255,.22);
  --rf-overlay-shadow: 0 34px 90px rgba(0,0,0,.56);
}

/* Hover popover */
.hoverPopover{
  border-radius: 6px !important;
  background: #141414;
  border: 0px solid var(--rf-overlay-line);
  box-shadow: var(--rf-overlay-shadow);
}
.hoverPopover__body{
  padding: 12px 14px 14px;
  background: #1b1b1b;
}
.hoverPopover__lineMeta{
  color: rgba(255,255,255,.86);
}
.hoverPopover__synopsis{
  color: rgba(255,255,255,.82);
}
.circleBtn{
  border: 0px solid var(--rf-overlay-line-strong);
  background: rgba(255,255,255,.14);
  transition: background .16s ease, border-color .16s ease, transform .16s ease;
}
.circleBtn:hover{
  border-color: rgba(255,255,255,.56);
  background: rgba(255,255,255,.14);
  transform: translateY(-1px);
}
.circleBtn--play{
  background: linear-gradient(180deg, #d90913, #d90913);
}
.circleBtn--play:hover{
  background: #d90913;
border: none;
}

/* Detail modal */
.modalBackdrop{
  background:
    radial-gradient(120% 120% at 50% -10%, rgba(229,9,20,.12), rgba(229,9,20,0) 55%),
    rgba(0,0,0,.62);
}
.modalBackdrop .modal{
  border-radius: 4px;
  border: 0;
  background: linear-gradient(180deg, var(--rf-overlay-panel-soft), var(--rf-overlay-panel));
  box-shadow: var(--rf-overlay-shadow);
}
.modal__close{
  border: 1px solid var(--rf-overlay-line-strong);
  background: rgba(0,0,0,.48);
  transition: background .16s ease, border-color .16s ease;
}
.modal__close:hover{
  border-color: rgba(255,255,255,.58);
  background: rgba(255,255,255,.16);
}
.nfModal__btnPlay{
  background: linear-gradient(180deg, #fff, #ececec);
  border-radius: 6px;
}
.nfModal__btnSecondary{
  border-radius: 6px;
  border: 1px solid var(--rf-overlay-line-strong);
  background: rgba(255,255,255,.1);
}
.nfModal__btnSecondary:hover{
  background: rgba(255,255,255,.18);
}
.nfModal__btnIcon{
  border: 1px solid var(--rf-overlay-line-strong);
  background: rgba(0,0,0,.42);
}
.nfModal__btnIcon:hover{
  border-color: rgba(255,255,255,.56);
  background: rgba(255,255,255,.14);
}
.nfModal__mlCard{
  border-radius: 4px;
  border: 0;
  background: rgba(255,255,255,.05);
}
.nfModal__mlMeta{
  background: rgba(255,255,255,.05);
}
.nfModal__mlPlus{
  border: 1px solid var(--rf-overlay-line-strong);
  width: 34px;
  height: 34px;
}

/* Watch drawer */
.watchDrawerBackdrop{
  backdrop-filter: blur(5px);
}
.watchDrawer{
  background: linear-gradient(180deg, #0f1014 0%, #101117 52%, #0b0c11 100%);
  box-shadow: -26px 0 70px rgba(0,0,0,.5);
}
.watchDrawer__playBtn{
  border-radius: 6px;
  background: linear-gradient(180deg, #d90913, #d90913);
}
.wdIcon,
.wdCircleBtn,
.wdMute{
  border: 0px solid var(--rf-overlay-line-strong);
  background: rgba(0,0,0,.44);
}
.wdIcon:hover,
.wdCircleBtn:hover,
.wdMute:hover{
  border-color: rgba(255,255,255,.56);
  background: rgba(255,255,255,.14);
}

/* Mobile Watch Drawer v2 (Netflix-like) */
body.rf-mobile-app .watchDrawerBackdrop{
  background: rgba(0,0,0,0) !important;
  backdrop-filter: none !important;
  transition: background 220ms ease;
}
body.rf-mobile-app .watchDrawerBackdrop.isOpen{
  background: rgba(0,0,0,.74) !important;
}
body.rf-mobile-app .watchDrawer{
  width: 100vw;
  max-width: 100vw;
  background: #090909;
  box-shadow: none;
  transform: translateX(100%);
  transition: transform 240ms cubic-bezier(.2,.8,.2,1);
}
body.rf-mobile-app .watchDrawer.isOpen{
  transform: translateX(0);
}
body.rf-mobile-app .watchDrawer__topbar{
  height: 44px;
  padding: 6px 10px;
  z-index: 9;
  background: linear-gradient(180deg, rgba(0,0,0,.72), rgba(0,0,0,0));
}
body.rf-mobile-app .wdTopBtn{
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
}
body.rf-mobile-app .wdTopBtn .rfIcon{
  width: 18px;
  height: 18px;
}
body.rf-mobile-app .wdDownload{
  font-size: 19px;
  line-height: 1;
}
body.rf-mobile-app .wdTopActions{
  gap: 6px;
}
body.rf-mobile-app .watchDrawer__hero{
  padding-top: 0;
  background: #000;
}
body.rf-mobile-app .watchDrawer__heroMedia{
  height: auto;
  aspect-ratio: 16 / 9;
  min-height: 210px;
  max-height: 320px;
  background: #000;
}
body.rf-mobile-app .watchDrawer__heroPoster,
body.rf-mobile-app .watchDrawer__heroPreview,
body.rf-mobile-app .watchDrawer__video{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
body.rf-mobile-app .watchDrawer__heroShade{
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(0,0,0,.48) 0%, rgba(0,0,0,.08) 34%, rgba(0,0,0,.82) 100%),
    radial-gradient(110% 70% at 50% 14%, rgba(0,0,0,.06) 0%, rgba(0,0,0,.56) 78%);
}
body.rf-mobile-app .watchDrawer__heroCopy{
  position: absolute;
  left: 10px;
  right: 52px;
  bottom: 12px;
  z-index: 3;
}
body.rf-mobile-app .watchDrawer__titleText{
  font-size: clamp(30px, 9.5vw, 44px);
  line-height: .96;
  letter-spacing: -.01em;
  font-weight: 800;
  color: #fff;
  text-shadow: 0 8px 22px rgba(0,0,0,.78);
}
body.rf-mobile-app .watchDrawer__heroBadges{
  margin-top: 6px;
  min-height: 16px;
}
body.rf-mobile-app .watchDrawer__heroRating{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 16px;
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 2px;
  color: rgba(255,255,255,.94);
  font-size: 10px;
  font-weight: 700;
  padding: 0 4px;
}
body.rf-mobile-app .wdMute{
  right: 10px;
  bottom: 10px;
  top: auto;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.65);
  background: rgba(0,0,0,.56);
  z-index: 5;
}
body.rf-mobile-app .wdMute .rf-ico{
  width: 12px;
  height: 12px;
}
body.rf-mobile-app .watchDrawer__body{
  padding: 8px 10px 16px;
  background: #090909;
}
body.rf-mobile-app .watchDrawer__metaRow{
  gap: 8px;
  margin-bottom: 7px;
  font-size: 11px;
  color: rgba(255,255,255,.92);
}
body.rf-mobile-app .watchDrawer__metaRow .wdYear{
  color: rgba(255,255,255,.86);
}
body.rf-mobile-app .watchDrawer__metaRow .wdRuntime{
  color: rgba(255,255,255,.78);
}
body.rf-mobile-app .watchDrawer__metaRow .wdPill{
  border: 1px solid rgba(255,255,255,.68);
  border-radius: 2px;
  padding: 1px 4px;
  font-size: 10px;
  line-height: 1.2;
}
body.rf-mobile-app .watchDrawer__lastDay{
  margin: 0 0 8px;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
}
body.rf-mobile-app .watchDrawer__playBtn{
  margin: 0 0 10px;
  min-height: 42px;
  border-radius: 2px;
  border: 0;
  background: #fff;
  color: #000;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .01em;
}
body.rf-mobile-app .watchDrawer__playBtn .rfIcon{
  width: 16px;
  height: 16px;
}
body.rf-mobile-app .watchDrawer__status{
  margin: 0 0 8px;
  padding: 8px 10px;
  border-radius: 4px;
  font-size: 11px;
}
body.rf-mobile-app .watchDrawer__actions{
  display: none !important;
}
body.rf-mobile-app .watchDrawer__sectionTitle{
  margin: 6px 0 8px;
  padding-bottom: 6px;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .01em;
  border-bottom: 1px solid rgba(255,255,255,.08);
  position: relative;
}
body.rf-mobile-app .watchDrawer__sectionTitle::after{
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 58px;
  height: 2px;
  background: #e50914;
}
body.rf-mobile-app .watchDrawer__grid{
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4px;
}
body.rf-mobile-app .wdTile{
  border: 0;
  background: transparent;
}
body.rf-mobile-app .wdTile__imgWrap{
  position: relative;
  border-radius: 0;
  overflow: hidden;
  background: #141414;
  aspect-ratio: 2 / 3;
}
body.rf-mobile-app .wdTile__img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}
body.rf-mobile-app .wdTile__imgWrap::after{
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 38%;
  background: linear-gradient(180deg, rgba(0,0,0,0), rgba(0,0,0,.84));
  pointer-events: none;
}
body.rf-mobile-app .wdTile__title{
  position: absolute;
  left: 6px;
  right: 6px;
  bottom: 6px;
  z-index: 2;
  color: #fff;
  font-size: 10px;
  line-height: 1.14;
  font-weight: 700;
  text-transform: uppercase;
  text-shadow: 0 2px 8px rgba(0,0,0,.88);
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
body.rf-mobile-app .wdBadge{
  left: 0;
  right: auto;
  bottom: 0;
  z-index: 3;
  font-size: 9px;
  font-weight: 700;
  line-height: 1;
  text-transform: capitalize;
  background: #e50914;
  color: #fff;
  padding: 3px 5px;
}

/* Unavailable + PIN modals */
.rfAvailCard,
.rfPinCard{
  background: linear-gradient(180deg, var(--rf-overlay-panel-soft), var(--rf-overlay-panel));
  border: 1px solid var(--rf-overlay-line);
  box-shadow: var(--rf-overlay-shadow);
}
.rfAvailClose,
.rfPinClose{
  border: 1px solid var(--rf-overlay-line-strong);
  background: rgba(255,255,255,.1);
}
.rfAvailClose:hover,
.rfPinClose:hover{
  border-color: rgba(255,255,255,.56);
  background: rgba(255,255,255,.18);
}
.rfAvailPinInput,
.rfPinInput{
  border: 1px solid var(--rf-overlay-line-strong);
  background: rgba(255,255,255,.08);
}
.rfAvailPinInput:focus,
.rfPinInput:focus{
  outline: none;
  border-color: rgba(229,9,20,.88);
  box-shadow: 0 0 0 3px rgba(229,9,20,.2);
}
