﻿@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@300;400;500;700&family=Inter:wght@300;400;500;600;700;800;900&family=Bebas+Neue&family=Space+Grotesk:wght@400;500;600;700&family=Syne:wght@400;600;700;800&display=swap');
@font-face {
  font-family: 'Arialic';
  src: url('/assets/fonts/arialic.ttf') format('truetype');
  font-display: swap;
}
@font-face {
  font-family: 'Space Mono Custom';
  src: url('/assets/fonts/SpaceMono-Regular.ttf') format('truetype');
  font-display: swap;
}
/* ===============================================================
   CinFlix -- Premium Redesign  |  Netflix x Disney+ Fusion
   =============================================================== */

/* -- Variables ----------------------------------------------- */
:root {
  --bg:          #05060b;
  --bg-soft:     #0a0f1a;
  --bg-card:     #0e111b;
  --text:        #f6f7ff;
  --muted:       #98a2b8;
  --accent:      #e50914;
  --accent-h:    #ff3643;
  --blue:        #2b8cff;
  --blue-h:      #4aa3ff;
  --gold:        #f5c518;
  --radius:      16px;
  --radius-lg:   26px;
  --glass:       rgba(255,255,255,0.06);
  --glass-b:     rgba(255,255,255,0.14);
  --shadow-lg:   0 32px 70px rgba(2,4,14,0.65);
  --glow-r:      0 0 50px rgba(229,9,20,0.35);
  --glow-b:      0 0 60px rgba(43,140,255,0.3);
  --font-sans:   'Space Grotesk', 'Inter', sans-serif;
  --font-display:'Space Grotesk', 'Inter', sans-serif;
  --font-micro:  'Space Mono Custom', 'Space Grotesk', monospace;
}

/* -- Reset & Base -------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background: linear-gradient(180deg, #05060b 0%, #0a0f1a 45%, #05060b 100%);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  letter-spacing: 0.01em;
}

/* Subtle animated background grain */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 120% 80% at 50% -10%, rgba(43,140,255,0.18) 0%, transparent 60%),
    radial-gradient(ellipse 90% 60% at 15% 85%, rgba(229,9,20,0.18) 0%, transparent 55%),
    radial-gradient(ellipse 60% 40% at 80% 20%, rgba(255,255,255,0.08) 0%, transparent 60%),
    radial-gradient(rgba(255,255,255,0.14) 1px, transparent 1px),
    radial-gradient(rgba(255,255,255,0.08) 1px, transparent 1px);
  background-size: auto, auto, auto, 140px 140px, 240px 240px;
  background-position: 0 0, 0 0, 0 0, 0 0, 40px 60px;
  opacity: 0.75;
}

body::after {
  content: '';
  position: fixed;
  inset: -20vh -15vw auto -15vw;
  height: 60vh;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse at 50% 120%, rgba(43,140,255,0.35), transparent 60%),
    radial-gradient(ellipse at 70% 120%, rgba(229,9,20,0.25), transparent 55%);
  filter: blur(40px);
  opacity: 0.6;
}

body.watch-page {
  background: linear-gradient(180deg, #050507 0%, #07070a 42%, #040406 100%);
}

body.watch-page::before {
  background:
    radial-gradient(ellipse 92% 58% at 50% -6%, rgba(161,11,28,0.24) 0%, transparent 54%),
    radial-gradient(ellipse 74% 42% at 50% 18%, rgba(93,8,19,0.16) 0%, transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,0.018) 0%, transparent 34%, transparent 68%, rgba(0,0,0,0.2) 100%);
  background-size: auto, auto, auto;
  opacity: 0.96;
  animation: watch-bg-drift 24s ease-in-out infinite alternate;
}

body.watch-page::after {
  inset: auto -14vw -16vh -14vw;
  height: 62vh;
  background:
    radial-gradient(ellipse at 50% 100%, rgba(118,8,21,0.3), transparent 46%),
    radial-gradient(ellipse at 12% 76%, rgba(255,255,255,0.06), transparent 28%),
    radial-gradient(ellipse at 88% 76%, rgba(255,255,255,0.05), transparent 26%);
  filter: blur(68px);
  opacity: 0.58;
  animation: watch-bg-pulse 16s ease-in-out infinite;
}

@keyframes watch-bg-drift {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  100% { transform: translate3d(0, -1.5%, 0) scale(1.04); }
}

@keyframes watch-bg-pulse {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); opacity: 0.62; }
  50% { transform: translate3d(0, -2%, 0) scale(1.06); opacity: 0.82; }
}

body.intro-locked, body.modal-open { overflow: hidden; }

a { text-decoration: none; color: inherit; }
button { font-family: inherit; border: none; cursor: pointer; }

/* -- Typography ---------------------------------------------- */
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.08; letter-spacing: -0.02em; }
a, input, textarea, select, label, p, li, span { font-family: inherit; }
.card-title,
.drawer-brand,
.site-footer-brand,
.franchise-title,
.poster-copy h3,
.hero-content h1,
.watch-info-block h1 {
  font-family: var(--font-display);
}
.details-meta,
.details-extra,
.tag-pill,
.media-tag,
.card-meta,
.poster-copy p {
  font-family: var(--font-micro);
  letter-spacing: 0.01em;
}

/* -- Utility ------------------------------------------------- */
.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.admin-only { border: 1px solid rgba(255,255,255,0.14); }

/* -- Motion -------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(18px) scale(0.98);
  filter: blur(6px);
  transition:
    opacity 700ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 700ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 700ms cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: transform, opacity, filter;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

.motion-float {
  animation: float-soft 10s ease-in-out infinite;
}

@keyframes float-soft {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .reveal.is-visible {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }
  .motion-float { animation: none; }
}

/* Animations removed for faster UI */
.reveal,
.reveal.is-visible {
  opacity: 1;
  transform: none;
  filter: none;
  transition: none;
}
.motion-float { animation: none; }

/* -- Buttons ------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border-radius: 14px;
  padding: 0.65rem 1.4rem;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0;
  transition: all 160ms ease;
  white-space: nowrap;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(135deg, #e50914 0%, #ff3d4d 55%, #ff6b78 100%);
  color: #fff;
  box-shadow: 0 10px 26px rgba(229,9,20,0.35), 0 0 24px rgba(43,140,255,0.2);
  border: 1px solid rgba(255,90,100,0.3);
}
.btn-primary:hover {
  background: linear-gradient(135deg, #ff2434 0%, #ff5a6b 55%, #ff8a96 100%);
  box-shadow: 0 14px 36px rgba(229,9,20,0.5), 0 0 34px rgba(43,140,255,0.35);
  transform: translateY(-2px);
}
.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  background: rgba(255,255,255,0.06);
  color: var(--text);
  border: 1px solid rgba(255,255,255,0.18);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover {
  background: rgba(43,140,255,0.16);
  border-color: rgba(43,140,255,0.45);
  color: #fff;
}

.btn-blue {
  background: linear-gradient(135deg, var(--blue), var(--blue-h));
  color: #fff;
  box-shadow: 0 10px 28px rgba(43,140,255,0.35);
  border: 1px solid rgba(100,180,255,0.25);
}
.btn-blue:hover {
  box-shadow: 0 16px 40px rgba(43,140,255,0.55);
  transform: translateY(-2px);
}

/* -- Loading Toast ------------------------------------------- */
.loading-toast {
  position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%);
  z-index: 1200; display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.75rem 1.1rem; border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(10,10,16,0.88); backdrop-filter: blur(16px);
  color: rgba(255,255,255,0.92); box-shadow: var(--shadow-lg);
  opacity: 0; pointer-events: none; transition: opacity 220ms ease, transform 220ms ease;
}
.loading-toast.show { opacity: 1; pointer-events: auto; transform: translateX(-50%) translateY(-2px); }
.loading-toast .dot {
  width: 10px; height: 10px; border-radius: 999px; background: var(--accent);
  box-shadow: 0 0 14px rgba(229,9,26,0.6); animation: toast-pulse 0.9s ease-in-out infinite;
}
@keyframes toast-pulse { 0%,100%{transform:scale(1);opacity:.7} 50%{transform:scale(1.4);opacity:1} }

/* -- Site Banner --------------------------------------------- */
.site-banner {
  background: linear-gradient(90deg, var(--accent), #ff5040);
  color: #fff; text-align: center; padding: 0.55rem 1rem; font-size: 0.9rem; font-weight: 600; z-index: 1000;
}
.site-banner a { color: inherit; text-decoration: underline; }

/* ===========================================================
   INTRO OVERLAY
   =========================================================== */
.intro-overlay {
  position: fixed; inset: 0; z-index: 999; display: grid; place-items: center; overflow: hidden;
  background: #050507;
}
.intro-overlay.hidden { opacity: 0; pointer-events: none; transition: opacity 520ms ease; }

.intro-backdrop {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 50% 40%, rgba(229,9,20,0.16) 0%, transparent 65%),
    radial-gradient(ellipse 50% 40% at 20% 80%, rgba(43,140,255,0.14) 0%, transparent 55%),
    linear-gradient(180deg, #05060b, #080b16);
}

.intro-cinema { position: absolute; inset: 0; display: grid; place-items: center; overflow: hidden; }

/* Film strip bars */
.intro-bars {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  gap: clamp(0.5rem, 1.2vw, 1rem); filter: drop-shadow(0 0 30px rgba(229,9,26,0.3));
}
.intro-bar {
  width: clamp(18px, 2vw, 24px); height: 78vh; max-height: 720px; border-radius: 999px;
  background: linear-gradient(180deg, rgba(255,110,110,0.9), rgba(229,9,26,0.95) 40%, rgba(100,0,20,0.98));
  opacity: 0; transform: translateY(28px) scaleY(0.12);
  animation: intro-bar-rise 1.4s cubic-bezier(.18,.8,.2,1) forwards;
}
.intro-bar:nth-child(1){animation-delay:.06s}
.intro-bar:nth-child(2){animation-delay:.14s}
.intro-bar:nth-child(3){animation-delay:.22s}
.intro-bar:nth-child(4){animation-delay:.30s}
.intro-bar:nth-child(5){animation-delay:.38s}
.intro-bar:nth-child(6){animation-delay:.46s}
.intro-bar:nth-child(7){animation-delay:.54s}

.intro-beam {
  position: absolute; top: 50%; width: 38vw; height: 56vh; max-height: 620px;
  transform: translateY(-50%); opacity: 0; filter: blur(20px);
  animation: intro-beam-fade 1.6s ease-out 0.4s forwards;
}
.intro-beam-left { left: -10vw; background: linear-gradient(90deg, transparent, rgba(229,9,26,0.18), rgba(255,120,120,0.38)); }
.intro-beam-right { right: -10vw; background: linear-gradient(270deg, transparent, rgba(229,9,26,0.18), rgba(255,120,120,0.38)); }

.intro-sheen {
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(255,255,255,0) 36%, rgba(255,255,255,0.22) 49%, rgba(255,255,255,0) 61%);
  transform: translateX(-135%); opacity: 0;
  animation: intro-sheen 1.3s ease-in-out 1.2s forwards;
}

.intro-content {
  position: relative; z-index: 2; text-align: center; padding: 1.2rem;
  width: min(92vw, 860px); opacity: 0; transform: translateY(20px) scale(0.92);
  animation: intro-content-in 0.9s cubic-bezier(.2,.9,.22,1) 1s forwards;
}

.intro-tag {
  text-transform: uppercase; letter-spacing: 0.35em; color: rgba(255,255,255,0.6);
  font-size: 0.75rem; font-weight: 700;
}

.intro-logo {
  margin-top: 0.6rem;
  font-family: 'Bebas Neue', sans-serif; font-weight: 800; letter-spacing: 0.12em;
  color: #fff;
  font-size: clamp(3.8rem, 14vw, 9.5rem);
  text-shadow: 0 0 40px rgba(229,9,20,0.5), 0 0 100px rgba(43,140,255,0.2);
  line-height: 0.92;
  background: linear-gradient(135deg, #fff 20%, #ffd1d6 55%, #2b8cff 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

.intro-sub {
  color: rgba(220,220,240,0.85); margin-top: 0.6rem; font-size: clamp(0.95rem, 2vw, 1.15rem);
  font-weight: 400; letter-spacing: 0.02em;
}

.intro-actions {
  margin-top: 1.5rem; display: flex; gap: 0.7rem; justify-content: center;
  opacity: 0; transform: translateY(12px);
  animation: intro-actions-in 0.5s ease 1.7s forwards;
}
#enterSiteBtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  min-width: 150px;
}
#skipIntroBtn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 48px;
  min-width: 120px;
  padding-inline: 1rem;
  border-color: rgba(255,255,255,0.28);
  background:
    linear-gradient(135deg, rgba(255,255,255,0.18), rgba(255,255,255,0.06)),
    linear-gradient(115deg, rgba(43,140,255,0.18), rgba(229,9,20,0.16));
  color: #fff;
  box-shadow: 0 14px 28px rgba(0,0,0,0.34), 0 0 0 1px rgba(255,255,255,0.08) inset;
  backdrop-filter: blur(10px);
}

#skipIntroBtn::after {
  content: "›";
  font-size: 1.05rem;
  line-height: 1;
  transform: translateX(0);
  transition: transform 180ms ease;
}

#skipIntroBtn:hover {
  border-color: rgba(255,255,255,0.46);
  background:
    linear-gradient(135deg, rgba(255,255,255,0.26), rgba(255,255,255,0.1)),
    linear-gradient(115deg, rgba(43,140,255,0.24), rgba(229,9,20,0.22));
  transform: translateY(-2px);
}

#skipIntroBtn:hover::after {
  transform: translateX(2px);
}

@keyframes intro-bar-rise { 0%{opacity:0;transform:translateY(28px) scaleY(0.12)} 40%{opacity:1} 100%{opacity:0.9;transform:translateY(0) scaleY(1)} }
@keyframes intro-beam-fade { 0%{opacity:0} 32%{opacity:1} 100%{opacity:0.18} }
@keyframes intro-sheen { 0%{transform:translateX(-135%);opacity:0} 30%{opacity:.5} 100%{transform:translateX(135%);opacity:0} }
@keyframes intro-content-in { 0%{opacity:0;transform:translateY(20px) scale(0.92)} 100%{opacity:1;transform:translateY(0) scale(1)} }
@keyframes intro-actions-in { 0%{opacity:0;transform:translateY(12px)} 100%{opacity:1;transform:translateY(0)} }

@keyframes details-pop {
  0% { opacity: 0; transform: translateY(26px) scale(0.96); }
  60% { opacity: 1; transform: translateY(-2px) scale(1.01); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes details-backdrop {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes details-slide {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes details-zoom {
  from { transform: scale(1.05); }
  to { transform: scale(1); }
}

@keyframes hero-kenburns {
  0% { transform: scale(1.06); }
  50% { transform: scale(1.02) translateY(-1%); }
  100% { transform: scale(1); }
}

/* ===========================================================
   TOPBAR
   =========================================================== */
.topbar {
  position: sticky; top: 0; z-index: 20; display: flex; align-items: center;
  justify-content: space-between; gap: 1rem; padding: 0.85rem 4vw;
  background: linear-gradient(180deg, rgba(6,8,14,0.96) 0%, rgba(6,8,14,0.72) 100%);
  backdrop-filter: blur(22px) saturate(160%);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 1px 0 rgba(255,255,255,0.04), 0 12px 34px rgba(4,8,24,0.45);
  flex-wrap: nowrap;
}

.logo {
  font-family: 'Bebas Neue', sans-serif; font-weight: 800;
  letter-spacing: 0.18em; font-size: clamp(1.7rem, 3vw, 2.6rem);
  text-decoration: none; flex: 0 0 auto; position: relative;
  display: inline-flex; align-items: baseline; gap: 0.08em;
  text-transform: uppercase;
}
.logo::after {
  content: '';
  position: absolute; bottom: -3px; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, rgba(229,9,20,0.85), rgba(43,140,255,0.25), transparent);
  border-radius: 999px; opacity: 0.9;
}
.logo-cin {
  color: #f5f7ff;
  text-shadow: 0 2px 12px rgba(6,8,14,0.45);
  display: inline-block;
}
.logo-flix {
  color: #e50914;
  text-shadow: 0 0 16px rgba(229,9,20,0.55), 0 8px 24px rgba(0,0,0,0.45);
  display: inline-block;
  position: relative;
}
.topbar .intro-logo {
  margin-top: 0;
  font-size: inherit;
  letter-spacing: inherit;
  line-height: 1;
}

.mobile-header-tools {
  display: none; align-items: center; gap: 0.5rem; margin-left: auto;
}
.mobile-icon-btn {
  width: 40px; height: 40px; border: 1px solid rgba(255,255,255,0.12); border-radius: 12px;
  background: rgba(255,255,255,0.05); color: #fff; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; font-size: 1.1rem;
  backdrop-filter: blur(10px); transition: all 160ms ease;
}
.mobile-icon-btn span { display: block; width: 16px; height: 2px; border-radius: 999px; background: currentColor; }
.mobile-menu-toggle { flex-direction: column; gap: 4px; }
.mobile-icon-btn:hover, .mobile-icon-btn[aria-expanded="true"] {
  border-color: rgba(43,140,255,0.7); background: rgba(43,140,255,0.18);
}

.topbar-right {
  display: grid; grid-template-columns: minmax(0, max-content) minmax(220px, 340px);
  align-items: center; column-gap: 0.5rem; flex: 0 1 auto; min-width: 0;
  justify-content: flex-end; overflow: visible; margin-left: auto;
}

.drawer-head { display: none; gap: 0.75rem; align-items: center; justify-content: space-between; }
.drawer-brand { font-family: 'Bebas Neue', sans-serif; font-weight: 800; font-size: 1.8rem; color: #fff; background: linear-gradient(135deg,#fff,#ff8fa2,#2b8cff); -webkit-background-clip:text; -webkit-text-fill-color:transparent; background-clip:text; text-decoration: none; }
.drawer-brand .intro-logo {
  color: #fff;
  background: linear-gradient(135deg, #fff, #ff8fa2, #2b8cff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.drawer-join-btn {
  border-color: rgba(229,9,20,0.6);
  background: rgba(229,9,20,0.18);
  color: rgba(255,255,255,0.95);
  padding: 0.4rem 0.75rem;
  border-radius: 12px;
  font-size: 0.78rem;
  font-weight: 600;
}
.drawer-join-btn:hover { border-color: rgba(229,9,20,0.8); background: rgba(229,9,20,0.26); }

.main-nav { display: flex; gap: 0.3rem; flex: 0 0 auto; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; justify-self: end; }
.main-nav::-webkit-scrollbar { display: none; }

.nav-link {
  color: rgba(240,240,248,0.78); border-radius: 14px; padding: 0.38rem 0.85rem;
  cursor: pointer; text-decoration: none; font-weight: 600; font-size: 0.84rem;
  white-space: nowrap; flex: 0 0 auto; transition: all 160ms ease;
  border: 1px solid transparent;
}
.nav-link:hover { color: #fff; background: rgba(43,140,255,0.12); border-color: rgba(43,140,255,0.35); }
.nav-link.active {
  color: #fff;
  background: linear-gradient(135deg, rgba(229,9,20,0.25), rgba(43,140,255,0.2));
  border-color: rgba(255,255,255,0.2);
  box-shadow: 0 8px 20px rgba(5,10,26,0.35);
}

.search-wrap { width: min(340px, 100%); min-width: 200px; margin-left: 0; }
.search-wrap input {
  width: 100%; border: 1px solid rgba(255,255,255,0.1); background: rgba(20,20,28,0.8);
  color: var(--text); border-radius: 999px; padding: 0.65rem 1.1rem; outline: none;
  font-family: 'Space Grotesk', sans-serif; font-size: 0.88rem;
  backdrop-filter: blur(8px); transition: all 160ms ease;
}
.search-wrap input:focus {
  border-color: rgba(43,140,255,0.6); background: rgba(18,22,34,0.95);
  box-shadow: 0 0 0 3px rgba(43,140,255,0.16);
}

.topbar-watch {
  justify-content: flex-start;
}
.topbar-watch .logo {
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  line-height: 1;
  letter-spacing: 0.18em;
  transform: none;
}
.topbar-watch .topbar-right {
  margin-left: 0.75rem;
  justify-content: flex-start;
  grid-template-columns: minmax(0, max-content);
}
.topbar-watch .main-nav {
  justify-self: start;
  justify-content: flex-start;
}
.topbar-navonly .topbar-right {
  margin-left: auto;
  justify-content: flex-end;
  grid-template-columns: minmax(0, max-content);
}
.topbar-navonly .main-nav {
  justify-self: end;
  justify-content: flex-end;
}
.search-wrap input::placeholder { color: var(--muted); }

/* ===========================================================
   HERO
   =========================================================== */
.hero {
  margin: 0.75rem 4vw 0;
  height: clamp(280px, 44vw, 520px); min-height: 260px; max-height: 60vh;
  border-radius: var(--radius-lg); overflow: hidden; position: relative;
  isolation: isolate;
  background: linear-gradient(140deg, rgba(12,14,24,0.96), rgba(6,8,16,0.98));
  box-shadow: 0 28px 70px rgba(3,6,20,0.65), inset 0 1px 0 rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.1);
}

.hero::before,
.hero::after { display: none; }

.hero-slide {
  position: absolute; inset: 0; opacity: 0;
  transition: opacity 500ms ease; pointer-events: none; overflow: hidden;
}
.hero-slide.active { opacity: 1; pointer-events: auto; }

.hero-bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  transform: scale(1.08);
  transition: transform 6s ease;
  filter: saturate(1.05) contrast(1.02);
  will-change: transform;
}
.hero-slide.active .hero-bg {
  transform: scale(1);
  animation: hero-kenburns 10s ease-in-out both;
}

/* Netflix-style left gradient, Disney+ inspired blue hint at bottom right */
.hero-slide::before,
.hero-slide::after { display: none; }

.hero-content {
  position: absolute; z-index: 3; max-width: 660px; left: 3.5vw; bottom: 3.5vh;
  transform: translateY(0);
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: linear-gradient(135deg, rgba(229,9,20,0.95), rgba(43,140,255,0.75));
  color: #fff; border-radius: 6px;
  padding: 0.22rem 0.7rem; font-size: 0.72rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 0.7rem;
  box-shadow: 0 6px 16px rgba(5,10,26,0.55);
}

.hero-content h1 {
  font-size: clamp(2.2rem, 5.6vw, 4.6rem); margin-bottom: 0.55rem; line-height: 1.02;
  text-shadow: 0 2px 20px rgba(0,0,0,0.6), 0 0 30px rgba(43,140,255,0.18);
}
.hero-meta { color: rgba(220,230,245,0.9); margin-bottom: 0.9rem; font-size: 0.94rem; font-weight: 500; }
.hero-actions { display: flex; gap: 0.6rem; flex-wrap: wrap; }

/* ===========================================================
   SPOTLIGHT
   =========================================================== */
.spotlight-section { padding-top: 1.1rem; }
.spotlight-card {
  display: grid; grid-template-columns: minmax(240px, 280px) minmax(0, 1fr);
  gap: 0; align-items: stretch;
  background: linear-gradient(120deg, rgba(9,12,22,0.96), rgba(14,18,34,0.94));
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 26px; overflow: hidden;
  box-shadow: 0 28px 70px rgba(5,10,24,0.55);
}
.spotlight-media {
  position: relative; min-height: 360px; overflow: hidden;
}
.spotlight-media img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  filter: saturate(1.08) contrast(1.02);
}
.spotlight-body {
  padding: 1.75rem 1.75rem 1.6rem; display: flex; flex-direction: column; gap: 0.8rem;
}
.spotlight-badge {
  align-self: flex-start;
  padding: 0.32rem 0.7rem; border-radius: 999px;
  background: linear-gradient(135deg, rgba(229,9,20,0.9), rgba(43,140,255,0.65));
  color: #fff; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase;
}
.spotlight-body h3 {
  font-size: clamp(1.5rem, 3vw, 2.2rem); margin: 0;
}
.spotlight-meta {
  color: rgba(220,230,245,0.8); font-size: 0.9rem;
}
.spotlight-reason {
  color: rgba(230,236,255,0.85); font-size: 0.95rem; line-height: 1.5;
}
.spotlight-actions { display: flex; gap: 0.6rem; flex-wrap: wrap; }

.discover-highlight { margin-bottom: 1.4rem; }
.discover-highlight-card .spotlight-media { min-height: 200px; max-height: 260px; }
.discover-highlight-card .spotlight-body { padding: 1.4rem; }

/* ===========================================================
   SECTIONS & RAILS
   =========================================================== */
.section { padding: 1.5rem 4vw 0.3rem; }
.section.hidden-by-search { display: none; }

.section-head {
  margin-bottom: 1rem; display: flex; justify-content: space-between;
  align-items: center; gap: 0.7rem; flex-wrap: wrap;
}
.section-head h2 {
  font-size: clamp(1.1rem, 1.9vw, 1.5rem); letter-spacing: 0.08em; text-transform: uppercase;
  position: relative; padding-left: 1rem;
}
.section-head h2::before {
  content: ''; position: absolute; left: 0; top: 0.1em; bottom: 0.1em;
  width: 4px; border-radius: 999px;
  background: linear-gradient(180deg, var(--accent), var(--blue));
}
.section-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.08);
  background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
  color: rgba(255,255,255,0.86);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}
.section-link:hover {
  transform: translateY(-1px);
  border-color: rgba(229,9,20,0.32);
  background: linear-gradient(135deg, rgba(229,9,20,0.16), rgba(43,140,255,0.1));
}
.counter { color: var(--muted); font-size: 0.85rem; font-weight: 500; }
.section-tight { padding-top: 1rem; }
.section-head-stack { align-items: flex-end; }
.section-kicker,
.promo-kicker {
  margin-bottom: 0.3rem;
  color: rgba(189, 202, 228, 0.78);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.featured-strip {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(240px, 240px);
  gap: 0.9rem;
  overflow-x: auto;
  padding: 0.2rem 0.1rem 0.3rem;
  scrollbar-width: none;
}
.featured-strip::-webkit-scrollbar { display: none; }
.featured-chip {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  align-items: center;
  gap: 0.8rem;
  min-height: 96px;
  padding: 0.8rem;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.08);
  background: linear-gradient(145deg, rgba(15,18,31,0.96), rgba(8,10,18,0.98));
  color: #fff;
  text-align: left;
  box-shadow: 0 18px 46px rgba(2,6,20,0.34);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}
.featured-chip:hover {
  transform: translateY(-3px);
  border-color: rgba(43,140,255,0.4);
  box-shadow: 0 24px 50px rgba(2,6,20,0.45);
}
.featured-chip img {
  width: 72px;
  height: 72px;
  border-radius: 14px;
  object-fit: cover;
}
.featured-chip-copy { display: grid; gap: 0.16rem; min-width: 0; }
.featured-chip-copy strong {
  font-size: 1rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.featured-chip-copy small {
  color: rgba(205,214,232,0.72);
  font-size: 0.78rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.promo-banner,
.premium-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem 1.3rem;
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 26px 60px rgba(3,6,20,0.38);
}
.promo-banner {
  background:
    radial-gradient(circle at right top, rgba(43,140,255,0.2), transparent 30%),
    linear-gradient(135deg, rgba(20,24,38,0.96), rgba(8,10,18,0.98));
}
.premium-banner {
  background:
    radial-gradient(circle at left center, rgba(229,9,20,0.18), transparent 28%),
    linear-gradient(135deg, rgba(13,16,28,0.98), rgba(7,9,18,0.98));
}
.promo-copy,
.premium-copy { max-width: 700px; }
.promo-copy h2,
.premium-copy h2 {
  font-size: clamp(1.4rem, 2.6vw, 2.2rem);
  letter-spacing: 0.04em;
}
.promo-copy p:last-child {
  margin-top: 0.35rem;
  color: rgba(212,220,236,0.78);
  font-size: 0.95rem;
}
.promo-actions {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  flex-wrap: wrap;
}
.premium-features {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.premium-features span {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.05);
  color: rgba(245,247,255,0.9);
  font-size: 0.82rem;
  font-weight: 700;
}

.poster-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1rem;
}
.poster-card {
  display: grid;
  gap: 0.7rem;
  cursor: pointer;
}
.poster-shell {
  position: relative;
  display: block;
}
.poster-art {
  position: relative;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.08);
  background: linear-gradient(180deg, rgba(14,16,28,1), rgba(8,10,18,1));
  box-shadow: 0 22px 46px rgba(2,6,20,0.32);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}
.poster-card:hover .poster-art {
  transform: translateY(-4px);
  border-color: rgba(43,140,255,0.42);
  box-shadow: 0 28px 60px rgba(2,6,20,0.45);
}
.poster-art::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(7,10,18,0.3), rgba(7,10,18,0));
  pointer-events: none;
}
.poster-art img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  -webkit-user-drag: none;
  user-select: none;
  pointer-events: none;
}
.poster-badges {
  position: absolute;
  top: 0.45rem;
  right: 0.45rem;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.poster-badge {
  padding: 0.2rem 0.45rem;
  border-radius: 999px;
  background: rgba(7,10,18,0.84);
  border: 1px solid rgba(255,255,255,0.12);
  color: #fff;
  font-size: 0.66rem;
  font-weight: 700;
  line-height: 1;
  display: inline-flex;
  align-items: center;
}
.poster-badge-soft {
  background: rgba(229,9,20,0.88);
}
.poster-rank {
  position: absolute;
  left: -0.2rem;
  bottom: -0.35rem;
  z-index: 3;
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(4rem, 8vw, 5.4rem);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 2.4px rgba(255,255,255,0.96);
  text-stroke: 2.4px rgba(255,255,255,0.96);
  text-shadow: 0 8px 18px rgba(0,0,0,0.38);
  transform: rotate(-7deg);
  transform-origin: left bottom;
  pointer-events: none;
  display: inline-flex;
  align-items: flex-end;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
  padding-bottom: 0.08em;
}
#topWeekRail .poster-rank {
  left: -0.05rem;
  bottom: -0.18rem;
  font-size: clamp(2.5rem, 4.2vw, 3.4rem);
  -webkit-text-stroke: 2px rgba(255,255,255,0.98);
  text-stroke: 2px rgba(255,255,255,0.98);
  text-shadow: 0 6px 14px rgba(0,0,0,0.32);
  transform: rotate(-4deg);
  min-width: 1.25em;
  justify-content: flex-start;
  line-height: 0.88;
}
.poster-copy {
  display: grid;
  gap: 0.18rem;
}
.poster-copy h3 {
  font-size: 1rem;
  letter-spacing: 0.03em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.poster-copy p {
  color: rgba(201,210,228,0.72);
  font-size: 0.82rem;
  line-height: 1.4;
}

.card.card-plain {
  min-height: 0;
  display: grid;
  gap: 0.7rem;
  background: transparent;
  border: 0;
  overflow: visible;
  box-shadow: none;
  transform: none;
  contain-intrinsic-size: auto;
}

.card.card-plain::before,
.card.card-plain::after {
  display: none;
}

.card.card-plain:hover {
  transform: none;
  box-shadow: none;
  border-color: transparent;
}

.card-shell {
  position: relative;
  display: block;
}

.card-art {
  position: relative;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.08);
  background: linear-gradient(180deg, rgba(14,16,28,1), rgba(8,10,18,1));
  box-shadow: 0 22px 46px rgba(2,6,20,0.32);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.card.card-plain:hover .card-art {
  transform: translateY(-4px);
  border-color: rgba(43,140,255,0.42);
  box-shadow: 0 28px 60px rgba(2,6,20,0.45);
}

.card-art img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  -webkit-user-drag: none;
  user-select: none;
  pointer-events: none;
}

.card-badges {
  position: absolute;
  top: 0.45rem;
  right: 0.45rem;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.card-badge {
  padding: 0.2rem 0.45rem;
  border-radius: 999px;
  background: rgba(7,10,18,0.84);
  border: 1px solid rgba(255,255,255,0.12);
  color: #fff;
  font-size: 0.66rem;
  font-weight: 700;
  line-height: 1;
  display: inline-flex;
  align-items: center;
}

.card-badge-soft {
  background: rgba(229,9,20,0.88);
}

.card-copy {
  display: grid;
  gap: 0.18rem;
}

.card.card-plain .card-title {
  position: static;
  inset: auto;
  padding: 0;
  font-size: 1rem;
  line-height: 1.2;
  color: #fff;
}

.card.card-plain .card-meta {
  margin-top: 0;
  color: rgba(201,210,228,0.72);
  font-size: 0.82rem;
  line-height: 1.4;
}

.card.card-plain .history-remove {
  opacity: 1;
  transform: none;
}

@media (max-width: 1024px) {
  #detailsModal .details-card,
  .details-modal .details-card {
    width: min(100%, calc(100vw - 1rem));
    grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
  }

  body.streamix-skin.cf-public-app .topbar.cinflix-topbar-modern {
    padding-inline: 0.9rem;
  }

  body.streamix-skin.cf-public-app .topbar.cinflix-topbar-modern .topbar-right {
    gap: 0.6rem;
    max-width: 100%;
  }
}

.catalog-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 2.5rem;
  align-items: center;
  padding: 1.4rem 1.45rem;
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,0.08);
  background:
    radial-gradient(circle at right top, rgba(43,140,255,0.16), transparent 32%),
    linear-gradient(135deg, rgba(14,18,30,0.96), rgba(7,9,18,0.98));
  box-shadow: 0 26px 56px rgba(3,6,20,0.38);
}
.catalog-band-copy h2 {
  font-size: clamp(1.45rem, 2.8vw, 2.3rem);
  letter-spacing: 0.04em;
}
.catalog-band-copy p:last-child {
  margin-top: 0.4rem;
  color: rgba(209,218,235,0.78);
  font-size: 0.95rem;
}
.catalog-band-actions {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}
.catalog-band-aside {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}
.catalog-band-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 0.9rem;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.05);
  color: rgba(246,247,255,0.92);
  font-size: 0.86rem;
  font-weight: 700;
  text-align: center;
}

.filter-row { display: flex; align-items: center; gap: 0.75rem; flex-wrap: wrap; }
.filter-bar { display: flex; gap: 0.45rem; flex-wrap: wrap; margin-bottom: 0.5rem; flex: 1 1 auto; min-width: 0; }
.filter-actions { display: flex; align-items: center; margin-left: auto; }
.filter-btn {
  border: 1px solid rgba(255,255,255,0.14); background: rgba(255,255,255,0.04);
  color: rgba(240,240,248,0.82); border-radius: 14px; padding: 0.38rem 0.85rem;
  cursor: pointer; font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 0.84rem;
  transition: all 160ms ease;
}
.filter-btn:hover { background: rgba(43,140,255,0.12); border-color: rgba(43,140,255,0.35); color: #fff; }
.filter-btn.active {
  border-color: rgba(229,9,20,0.75);
  background: linear-gradient(135deg, rgba(229,9,20,0.22), rgba(43,140,255,0.18));
  color: #fff;
}

.filter-toggle {
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.08);
  color: rgba(240,240,248,0.92);
  border-radius: 14px;
  padding: 0.38rem 0.9rem;
  cursor: pointer;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: all 160ms ease;
}
.filter-toggle:hover,
.filter-toggle[aria-expanded="true"] {
  background: rgba(43,140,255,0.16);
  border-color: rgba(43,140,255,0.45);
  color: #fff;
}
.filter-toggle.is-active {
  border-color: rgba(229,9,20,0.7);
  box-shadow: 0 0 0 2px rgba(229,9,20,0.18);
}

.filter-panel {
  width: 100%;
  margin-top: 0;
  padding: 0;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: rgba(10,10,16,0.75);
  box-shadow: var(--shadow-lg);
  display: grid;
  gap: 0.75rem;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
  transform: translateY(-6px);
  transition: max-height 220ms ease, opacity 200ms ease, transform 220ms ease, padding 200ms ease, border-color 200ms ease;
}
.filter-panel.is-open {
  margin-top: 0.6rem;
  padding: 0.85rem 0.95rem;
  max-height: 520px;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  border-color: rgba(255,255,255,0.08);
}
.filter-panel-group { display: grid; gap: 0.5rem; justify-items: start; }
.filter-panel-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(220,230,245,0.7);
  font-weight: 700;
}
.filter-chip-row { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.filter-chip {
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.06);
  color: rgba(240,240,248,0.86);
  border-radius: 14px;
  padding: 0.32rem 0.82rem;
  cursor: pointer;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 0.82rem;
  transition: all 160ms ease;
  justify-self: start;
}
.filter-chip:hover {
  border-color: rgba(43,140,255,0.45);
  background: rgba(43,140,255,0.16);
  color: #fff;
}
.filter-chip.active {
  border-color: rgba(229,9,20,0.75);
  background: linear-gradient(135deg, rgba(229,9,20,0.22), rgba(43,140,255,0.18));
  color: #fff;
}

.catalog-tools {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin: 0.2rem 0 0.6rem;
}
.catalog-tools .filter-bar { margin-bottom: 0; }
.catalog-tools .counter {
  margin-left: auto;
  text-align: right;
}

.browse-pagination {
  margin-top: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.pagination-btn,
.pagination-dots {
  min-width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 0.95rem;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.04);
  color: rgba(240,243,250,0.82);
  font-weight: 700;
  font-size: 0.92rem;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, color 160ms ease;
}

.pagination-btn:hover:not(:disabled) {
  transform: translateY(-1px);
  border-color: rgba(43,140,255,0.42);
  background: rgba(43,140,255,0.12);
  color: #fff;
}

.pagination-btn.is-active {
  border-color: rgba(229,9,20,0.6);
  background: linear-gradient(135deg, rgba(229,9,20,0.2), rgba(43,140,255,0.14));
  color: #fff;
  box-shadow: 0 12px 28px rgba(2,6,20,0.28);
}

.pagination-btn:disabled {
  opacity: 0.4;
  cursor: default;
}

.pagination-btn.pagination-nav {
  font-size: 1.15rem;
  padding: 0 0.8rem;
}

.pagination-dots {
  border-style: dashed;
  cursor: default;
}

/* Rails */
.rail-wrap { position: relative; overflow: visible; }
.rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(168px, 168px);
  gap: 0.75rem; overflow-x: auto; scroll-behavior: smooth;
  padding: 0.6rem 0.2rem 1.1rem; margin: -0.4rem -0.2rem 0;
  scroll-snap-type: x mandatory; scrollbar-width: none;
  scroll-padding-inline: 0.2rem;
  overscroll-behavior-x: contain;
  overscroll-behavior-y: auto;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x pan-y pinch-zoom;
  cursor: grab;
  /* Touch optimizations */
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}
.rail.is-dragging { cursor: grabbing; }
.rail.is-dragging,
.rail.is-dragging * { user-select: none; }
.rail .card,
.rail .poster-card,
.rail .franchise-card,
.rail .card img,
.rail .poster-card img,
.rail .franchise-card img {
  cursor: grab;
  -webkit-user-drag: none;
  user-select: none;
}
.rail.is-dragging .card,
.rail.is-dragging .poster-card,
.rail.is-dragging .franchise-card,
.rail.is-dragging .card img,
.rail.is-dragging .poster-card img,
.rail.is-dragging .franchise-card img {
  cursor: grabbing;
}
body.rail-dragging,
body.rail-dragging * { cursor: grabbing !important; }
.poster-rail {
  grid-auto-columns: minmax(210px, 210px);
  gap: 1rem;
}
.poster-rail .poster-card { min-width: 0; }
.rail::-webkit-scrollbar { display: none; }

/* Empty rail state */
.rail.rail-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
  padding: 2rem 1rem;
}

.rail-empty .empty {
  text-align: center;
  color: rgba(200,210,230,0.6);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.rail-nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 4;
  width: 48px; height: 48px; border: 2px solid rgba(255,255,255,0.25); cursor: pointer;
  background: rgba(10,10,16,0.85); backdrop-filter: blur(12px);
  color: #fff; font-size: 1.4rem; transition: all 200ms cubic-bezier(0.2, 0.8, 0.2, 1);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}
.rail-nav.prev { left: -24px; }
.rail-nav.next { right: -24px; }
.rail-nav:hover {
  background: rgba(43,140,255,0.2);
  border-color: rgba(43,140,255,0.7);
  box-shadow: 0 12px 32px rgba(43,140,255,0.35);
  transform: translateY(-50%) scale(1.08);
}
.rail-nav:active {
  transform: translateY(-50%) scale(0.95);
}
.rail-nav.hidden-control { display: none; }

@media (min-width: 1024px) {
  #topWeekSection .rail-wrap,
  body.streamix-skin.cf-public-app[data-page-view="home"] #topWeekSection .rail-wrap {
    overflow: visible !important;
  }

  #topWeekRail,
  body.streamix-skin.cf-public-app[data-page-view="home"] #topWeekRail {
    display: grid !important;
    grid-auto-flow: column !important;
    grid-template-columns: repeat(10, minmax(0, 1fr)) !important;
    grid-auto-columns: unset !important;
    gap: 0.8rem !important;
    justify-content: stretch !important;
    overflow: visible !important;
    scroll-snap-type: none !important;
    touch-action: auto !important;
    cursor: default !important;
    padding: 0.35rem 0 1rem !important;
    margin: 0 !important;
  }

  #topWeekSection .rail-nav,
  body.streamix-skin.cf-public-app[data-page-view="home"] #topWeekSection .rail-nav {
    display: none !important;
  }
}

.rail-wrap-franchises .rail-nav {
  top: 50%;
}

.franchise-section {
  padding-top: 1.7rem;
}

.rail-wrap-franchises {
  overflow: visible;
}

.rail-wrap-franchises .rail-nav {
  display: none !important;
}

.franchise-rail {
  grid-auto-flow: row;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  grid-auto-columns: unset;
  gap: 1rem;
  overflow: visible;
  scroll-snap-type: none;
  touch-action: auto;
  padding: 0;
  margin: 0;
}

.franchise-card {
  position: relative;
  min-height: 176px;
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(160deg, rgba(11,13,22,0.98), rgba(7,9,16,0.98));
  color: #fff;
  text-align: left;
  cursor: pointer;
  box-shadow: 0 22px 42px rgba(1, 4, 14, 0.34);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
  isolation: isolate;
}

.franchise-card:hover,
.franchise-card:focus-visible,
.franchise-card.is-previewing {
  transform: translateY(-5px);
  border-color: rgba(255,255,255,0.2);
  box-shadow:
    0 28px 50px rgba(1, 4, 14, 0.44),
    0 0 0 1px var(--franchise-accent, rgba(229,9,20,0.9));
}

.franchise-media,
.franchise-media-fallback {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: #0a0d18;
}

.franchise-media::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(180deg, rgba(4,6,12,0.04) 0%, rgba(4,6,12,0.1) 48%, rgba(4,6,12,0.68) 100%);
  border-radius: inherit;
}

.franchise-media-fallback {
  background:
    radial-gradient(circle at top right, var(--franchise-accent, rgba(229,9,20,0.44)), transparent 30%),
    linear-gradient(145deg, rgba(20,25,38,0.92), rgba(7,9,16,0.98));
}

.franchise-poster,
.franchise-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}

.franchise-poster {
  opacity: 0.76;
  transform: scale(1);
}

.franchise-video {
  opacity: 0;
  z-index: 1;
  transition: opacity 220ms ease, transform 260ms ease;
  transform: scale(1.025);
}

.franchise-card:hover .franchise-video,
.franchise-card:focus-visible .franchise-video,
.franchise-card.is-previewing .franchise-video {
  opacity: 0.98;
  transform: scale(1);
}

.franchise-card:hover .franchise-poster,
.franchise-card:focus-visible .franchise-poster,
.franchise-card.is-previewing .franchise-poster {
  opacity: 0.35;
}

.franchise-glow {
  display: none;
}

.franchise-overlay {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.45rem;
  min-height: 176px;
  padding: 1rem;
}

.franchise-title {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 0.95;
  text-shadow: 0 10px 24px rgba(0,0,0,0.38);
}

.franchise-summary {
  margin: 0;
  max-width: 88%;
  color: rgba(255,255,255,0.8);
  font-size: 0.84rem;
  line-height: 1.45;
  text-shadow: 0 8px 18px rgba(0,0,0,0.28);
}

/* Grid */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(172px, 1fr)); gap: 1rem; padding: 0.4rem; margin: -0.4rem; }
.browse-grid {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.25rem;
  padding: 0.6rem;
  margin-left: -0.6rem;
  margin-right: -0.6rem;
  contain: layout style;
}
.browse-grid .card {
  min-height: unset;
  aspect-ratio: 2 / 3;
}
.browse-sentinel { width: 100%; height: 1px; }

/* ===========================================================
   CARDS
   =========================================================== */
.card {
  position: relative; border: 1px solid rgba(255,255,255,0.08); border-radius: var(--radius);
  overflow: hidden; background: linear-gradient(165deg, rgba(16,18,30,0.98), rgba(8,10,18,0.98)); min-height: 255px; cursor: pointer;
  transition: transform 220ms cubic-bezier(.2,.8,.2,1), box-shadow 220ms ease, border-color 220ms ease;
  transform-origin: center;
  scroll-snap-align: start; content-visibility: auto; contain-intrinsic-size: 255px;
}
.card::before {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to top, rgba(6,8,14,0.95) 0%, rgba(6,8,14,0.35) 45%, transparent 70%);
  opacity: 1; transition: opacity 220ms ease;
}
.card::after {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(120deg, rgba(255,255,255,0.12) 0%, transparent 45%);
  opacity: 0; transition: opacity 220ms ease;
}
.card:hover {
  transform: translateY(-6px) scale(1.015);
  box-shadow: 0 24px 60px rgba(2,6,20,0.65), 0 0 0 1.5px rgba(43,140,255,0.6), var(--glow-b);
  border-color: rgba(43,140,255,0.6);
}
.card:hover::before { opacity: 0.72; }
.card:hover::after { opacity: 0.35; }

.card img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 220ms ease; }
.card:hover img { transform: scale(1.04); }

.card-info { position: absolute; inset: auto 0 0 0; padding: 0.75rem 0.7rem 0.7rem; z-index: 2; }
.card-title { font-family: 'Bebas Neue', sans-serif; font-size: 0.98rem; font-weight: 700; line-height: 1.2; letter-spacing: 0.04em; }
.card-meta { font-size: 0.72rem; color: rgba(200,200,220,0.8); margin-top: 0.2rem; }

/* Number badge on Top 10 cards */
.card-rank {
  position: absolute; top: 8px; left: 8px; z-index: 3;
  font-family: 'Bebas Neue', sans-serif; font-size: 1.9rem; font-weight: 800; line-height: 1;
  color: transparent; -webkit-text-stroke: 2px rgba(255,255,255,0.7);
  text-shadow: 0 2px 8px rgba(0,0,0,0.8); letter-spacing: -0.02em;
  display: inline-flex;
  align-items: flex-end;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
  padding-bottom: 0.05em;
}

.more-card {
  display: grid; place-items: center; min-height: 255px;
  background: linear-gradient(160deg, rgba(229,9,26,0.15), rgba(10,10,18,0.95));
  border: 1px dashed rgba(229,9,26,0.3) !important;
}
.more-card-content { text-align: center; padding: 1rem; }
.more-card-content h3 { font-size: 1.05rem; margin-bottom: 0.4rem; color: #fff; }
.more-card-content p { color: var(--muted); font-size: 0.8rem; }

.history-remove {
  position: absolute; top: 8px; right: 8px; width: 26px; height: 26px;
  border: 1px solid rgba(255,255,255,0.8); border-radius: 10px;
  background: rgba(229,9,26,0.92); color: #fff; font-size: 1rem; font-weight: 700;
  display: grid; place-items: center; cursor: pointer; z-index: 4;
  opacity: 0; transform: scale(0.85); transition: opacity 160ms ease, transform 160ms ease;
}
.card:hover .history-remove { opacity: 1; transform: scale(1); }

/* Saga badge */
.saga-parts { display: flex; flex-wrap: wrap; gap: 0.4rem; }

/* ===========================================================
   DETAILS MODAL
   =========================================================== */
.details-modal, .player-overlay {
  position: fixed; inset: 0; z-index: 999; display: flex; align-items: center; justify-content: center; min-height: 100dvh; padding: 1rem; overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.details-modal { overflow-y: auto; -webkit-overflow-scrolling: touch; }
.details-modal.hidden, .player-overlay.hidden { display: none; }

.details-backdrop {
  position: absolute; inset: 0; background: rgba(0,0,0,0.75); backdrop-filter: blur(6px);
}

.details-modal:not(.hidden) .details-backdrop {
  animation: details-backdrop 260ms ease-out;
}

.details-card {
  position: relative; z-index: 2; width: min(940px, 100%);
  border: 1px solid rgba(255,255,255,0.1); border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(16,18,28,0.99), rgba(8,10,18,0.99));
  display: grid; grid-template-columns: 290px 1fr; overflow: hidden;
  box-shadow: 0 30px 70px rgba(2,6,20,0.65), 0 0 0 1px rgba(43,140,255,0.12);
  max-height: min(92vh, 900px); min-height: 0;
  transform: translateY(22px) scale(0.97); opacity: 0;
  transition: transform 280ms cubic-bezier(.2,.9,.2,1), opacity 280ms ease;
}
.details-modal:not(.hidden) .details-card { transform: translateY(0) scale(1); opacity: 1; }
.details-modal:not(.hidden) .details-card {
  animation: details-pop 380ms cubic-bezier(.2,.9,.2,1);
}
.details-modal:not(.hidden) .details-content {
  animation: details-slide 360ms ease;
}
.details-modal:not(.hidden) .details-media img {
  animation: details-zoom 900ms ease;
}

.details-close {
  position: absolute; top: 0.65rem; right: 0.7rem; width: 36px; height: 36px;
  border: 1px solid rgba(255,255,255,0.14); border-radius: 12px;
  background: rgba(15,15,22,0.85); backdrop-filter: blur(8px);
  color: rgba(255,255,255,0.9); font-size: 1.35rem; cursor: pointer; z-index: 3;
  display: grid; place-items: center; transition: all 160ms ease;
}
.details-close:hover { background: rgba(43,140,255,0.35); border-color: rgba(43,140,255,0.55); }

.details-media { min-height: 430px; background: #080810; position: relative; overflow: hidden; }
.details-media::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to right, transparent 70%, rgba(10,10,16,0.6) 100%);
}
.details-media img { width: 100%; height: 100%; object-fit: cover; display: block; }

.details-content { padding: 1.3rem 1.2rem 1.1rem; overflow: auto; min-height: 0; -webkit-overflow-scrolling: touch; }
.details-content h3 { font-size: clamp(1.4rem, 2.2vw, 2rem); margin-bottom: 0.5rem; overflow-wrap: anywhere; }
.details-meta { color: rgba(220,220,240,0.9); font-size: 0.9rem; margin-bottom: 0.45rem; font-weight: 500; }
.details-extra { color: var(--muted); font-size: 0.84rem; margin-bottom: 0.75rem; }

.details-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 0.75rem; }
.tag-pill, .media-tag {
  display: inline-flex; align-items: center;
  border: 1px solid rgba(43,140,255,0.25); color: rgba(240,240,255,0.9);
  border-radius: 999px; padding: 0.22rem 0.65rem; font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.2px; background: rgba(43,140,255,0.08); backdrop-filter: blur(4px);
}

.rating-badge {
  display: inline-flex; align-items: center; gap: 0.35rem;
  padding: 0.15rem 0.55rem; background: rgba(245,197,24,0.18);
  border: 1px solid rgba(245,197,24,0.3); border-radius: 8px;
  color: var(--gold); font-weight: 800; font-size: 0.76rem;
}

.details-overview { color: rgba(210,210,230,0.9); line-height: 1.6; max-height: 240px; overflow: auto; font-size: 0.92rem; }

.details-reactions { margin-top: 1rem; display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; }
.reaction-btn {
  border: 1px solid rgba(255,255,255,0.18); background: rgba(255,255,255,0.05);
  color: rgba(240,240,248,0.9); border-radius: 14px; padding: 0.65rem 1.4rem;
  cursor: pointer; font-weight: 700; font-size: 0.9rem; transition: all 160ms ease;
}
.reaction-btn:hover { background: rgba(43,140,255,0.12); border-color: rgba(43,140,255,0.35); }
.reaction-btn.active { border-color: rgba(229,9,20,0.7); background: linear-gradient(135deg, rgba(229,9,20,0.22), rgba(43,140,255,0.18)); }

/* Smaller reactions inside modal cards */
.details-modal .reaction-btn {
  padding: 0.4rem 0.85rem;
  font-size: 0.82rem;
}
.reaction-status { color: var(--muted); font-size: 0.82rem; }

.details-actions {
  margin-top: 1rem; display: flex; gap: 0.5rem; flex-wrap: wrap;
}
.details-actions button { transform: translateY(18px); opacity: 0; transition: transform 260ms 0.18s ease, opacity 260ms 0.18s ease; }
.details-modal:not(.hidden) .details-actions button { transform: translateY(0); opacity: 1; }
.watchlist-btn {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.05);
  white-space: normal;
  overflow-wrap: anywhere;
  text-wrap: balance;
  line-height: 1.2;
  text-align: center;
  justify-content: center;
}
.watchlist-btn.is-active {
  border-color: rgba(245, 197, 24, 0.6);
  background: linear-gradient(135deg, rgba(245, 197, 24, 0.2), rgba(229, 9, 20, 0.18));
  color: #fff;
}

/* Support / Admin message modals */
.support-card { width: min(720px, 100%); grid-template-columns: 1fr; }
.support-content { padding: 1.4rem 1.4rem 1.2rem; }
.support-content .details-overview { max-height: unset; }
.support-alert {
  margin-top: 0.85rem; padding: 0.65rem 0.8rem; border-radius: 12px;
  background: rgba(245,197,24,0.1); border: 1px solid rgba(245,197,24,0.26);
  color: #f5d166; font-weight: 700; font-size: 0.9rem;
}
.discord-modal-head {
  display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.6rem;
}
.discord-modal-icon {
  width: 38px; height: 38px; border-radius: 12px;
  background: rgba(88,101,242,0.18); border: 1px solid rgba(88,101,242,0.4);
  display: grid; place-items: center; color: #fff;
  box-shadow: 0 10px 24px rgba(88,101,242,0.35);
}
.discord-modal-icon svg { width: 22px; height: 22px; display: block; }
#discordModal .details-overview { display: none; }
.discord-overview {
  color: rgba(210,220,240,0.92); line-height: 1.6; font-size: 0.92rem;
}
.admin-message-card { width: min(720px, 100%); grid-template-columns: 1fr; }
.admin-message-content { padding: 1.4rem; }
.admin-message-title { font-size: 1.1rem; letter-spacing: 0.06em; text-transform: uppercase; color: #fb923c; margin-bottom: 0.65rem; }
.admin-message-body { white-space: pre-wrap; line-height: 1.6; color: rgba(255,255,255,0.9); }

/* ===========================================================
   WATCH PAGE -- Premium Cinema Layout
   =========================================================== */
.watch-main {
  width: min(1680px, 100%);
  margin: 0 auto;
  padding: 1.4rem 4vw 2.6rem;
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(320px, 0.75fr);
  gap: 1.6rem;
  align-items: start;
  position: relative;
}

.watch-main::before {
  content: '';
  position: absolute; inset: -10% 0 auto 0; height: 55%;
  background:
    radial-gradient(ellipse at 50% 4%, rgba(157,10,27,0.18), transparent 52%),
    linear-gradient(180deg, rgba(255,255,255,0.02), transparent 42%);
  pointer-events: none; z-index: 0;
}
.watch-main > * { position: relative; z-index: 1; }

.watch-player-block {
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at top left, rgba(229,9,20,0.12), transparent 34%),
    radial-gradient(circle at top right, rgba(43,140,255,0.12), transparent 28%),
    linear-gradient(160deg, rgba(14,16,26,0.98), rgba(7,9,16,0.98));
  overflow: hidden;
  min-width: 0;
  box-shadow: 0 34px 90px rgba(2,6,20,0.76), 0 0 0 1px rgba(43,140,255,0.14);
  position: relative;
}
.watch-player-block::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255,255,255,0.05), transparent 12%, transparent 88%, rgba(255,255,255,0.04));
  z-index: 0;
}

.watch-video-shell {
  position: relative;
  background: linear-gradient(180deg, rgba(10,12,20,0.92), rgba(4,6,10,0.98));
  padding: 0;
}
.watch-ambient-glow {
  position: absolute; inset: -25% -10% auto -10%; height: 55%;
  background: radial-gradient(ellipse at 50% 60%, rgba(43,140,255,0.35), transparent 70%);
  opacity: 0.7; pointer-events: none; z-index: 0;
}
.watch-badge {
  position: absolute; top: 16px; left: 16px; z-index: 3;
  display: inline-flex; align-items: center; gap: 0.45rem;
  padding: 0.25rem 0.7rem; border-radius: 999px;
  background: rgba(10,12,20,0.75); border: 1px solid rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.92); font-size: 0.7rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.12em; backdrop-filter: blur(8px);
}
.watch-badge.watch-badge-hidden { display: none; }
.watch-badge-dot {
  width: 7px; height: 7px; border-radius: 999px;
  background: var(--accent); box-shadow: 0 0 12px rgba(229,9,20,0.8);
}
.watch-video-wrap {
  background: #000;
  position: relative;
  z-index: 1;
  aspect-ratio: 16 / 9;
  width: 100%;
  margin: 0 auto;
  min-height: clamp(200px, 28vw, 320px);
  overflow: hidden;
  border-radius: 0;
  border: 0;
  box-shadow: none;
  transition: min-height 160ms ease, aspect-ratio 160ms ease;
}
.watch-video-wrap #plyrCastPlayer,
.watch-video-wrap #mainVideo,
.watch-video-wrap #mainPlayerFrame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.watch-video-wrap #plyrCastPlayer {
  display: none;
}
.watch-video-wrap #mainPlayerFrame { display: none; background: #000; }
.watch-video-wrap #mainPlayerFrame {
  pointer-events: none;
}
.watch-video-wrap #plyrCastPlayer .plyr,
.watch-video-wrap #plyrCastPlayer .plyr__video-wrapper,
.watch-video-wrap #plyrCastPlayer video {
  width: 100%;
  height: 100%;
}
.watch-video-wrap #mainVideo {
  background: #000;
}

.watch-video-wrap .plyr {
  --plyr-color-main: #e50914;
  --plyr-video-control-color: #f7f8fc;
  --plyr-video-control-color-hover: #fff;
  --plyr-video-control-background-hover: rgba(229,9,20,0.92);
  --plyr-video-controls-background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(7,9,14,0.38) 18%, rgba(7,9,14,0.94) 100%);
  --plyr-video-progress-buffered-background: rgba(255,255,255,0.18);
  --plyr-video-range-track-background: rgba(255,255,255,0.22);
  --plyr-range-thumb-background: #ffffff;
  --plyr-range-fill-background: #e50914;
  --plyr-range-track-height: 6px;
  --plyr-range-thumb-height: 14px;
  --plyr-control-radius: 12px;
  --plyr-control-spacing: 14px;
  --plyr-menu-background: rgba(9,12,20,0.98);
  --plyr-menu-color: #f2f5ff;
  --plyr-menu-radius: 14px;
  --plyr-tooltip-background: rgba(229,9,20,0.96);
  --plyr-tooltip-color: #fff;
  --plyr-font-family: 'Space Grotesk', sans-serif;
}
.watch-video-wrap .plyr--video .plyr__controls {
  padding: 1rem 1rem 0.95rem;
  backdrop-filter: blur(10px);
}
.watch-video-wrap .plyr__control {
  min-width: 42px;
  min-height: 42px;
  border: 0;
  border-radius: 0;
  background: transparent;
  backdrop-filter: none;
  box-shadow: none;
}
.watch-video-wrap .plyr__control:hover,
.watch-video-wrap .plyr__control[aria-expanded="true"],
.watch-video-wrap .plyr__control.plyr__control--pressed {
  border-color: transparent;
  background: transparent;
  box-shadow: none;
}
.watch-video-wrap .plyr__control--overlaid {
  width: auto;
  height: auto;
  padding: 0;
  display: grid;
  place-items: center;
  overflow: visible;
  isolation: auto;
  border: 0;
  background: transparent;
  box-shadow: none;
}
.watch-video-wrap .plyr__control--overlaid svg {
  width: 36px;
  height: 36px;
  position: static;
  left: auto;
  margin: 0;
  transform: translateX(2px);
  color: #ffffff;
  filter: drop-shadow(0 0 10px rgba(255,82,111,0.32));
  animation: play-icon-glow 5.2s linear infinite;
}
.watch-video-wrap .plyr__control--overlaid:hover svg,
.watch-video-wrap .plyr__control--overlaid:focus-visible svg {
  animation-play-state: paused;
}
.watch-video-wrap .plyr__time {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.02em;
  color: rgba(242,244,250,0.88);
}
.watch-video-wrap .plyr__progress input[type=range] {
  color: #e50914;
}
.watch-video-wrap .plyr__menu__container {
  background: rgba(10,12,18,0.96);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 18px 40px rgba(0,0,0,0.44);
}
.watch-video-wrap .plyr__menu__container:after {
  border-top-color: rgba(10,12,18,0.96);
}
.watch-video-wrap .plyr__menu__container .plyr__control {
  background: transparent;
  border: 0;
  min-height: 0;
  box-shadow: none;
}
.watch-video-wrap .plyr__menu__container .plyr__control:hover,
.watch-video-wrap .plyr__menu__container .plyr__control:focus-visible {
  background: rgba(229,9,20,0.14);
}

/* Cinema loading overlay */
.player-loading {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(0.9rem, 2.6vw, 1.5rem);
  background: linear-gradient(180deg, rgba(6,7,10,0.34), rgba(6,7,10,0.82));
  backdrop-filter: blur(4px);
  z-index: 2;
  pointer-events: none;
}
.player-loading-card {
  width: min(100%, 360px);
  min-height: 112px;
  padding: clamp(0.95rem, 2.4vw, 1.35rem);
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(11, 13, 18, 0.88);
  box-shadow: 0 18px 50px rgba(0,0,0,0.34);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.72rem;
}
.player-spinner {
  width: clamp(42px, 8vw, 54px);
  height: clamp(42px, 8vw, 54px);
  border-radius: 999px;
  border: 3px solid rgba(255,255,255,0.12);
  border-top-color: var(--accent);
  box-shadow: 0 0 24px rgba(229,9,26,0.28);
  animation: playerSpin 0.8s linear infinite;
}
.player-loading-label {
  max-width: 24ch;
  color: rgba(255,255,255,0.92);
  font-weight: 700;
  font-size: clamp(0.84rem, 2.3vw, 0.95rem);
  line-height: 1.4;
  text-align: center;
  letter-spacing: 0.02em;
}
@keyframes playerSpin { to { transform: rotate(360deg); } }

@media (max-width: 640px) {
  .player-loading-card {
    width: min(100%, 290px);
    min-height: 98px;
    border-radius: 16px;
    padding: 0.9rem 0.85rem;
    gap: 0.62rem;
  }
}
@keyframes play-button-orbit {
  0% { transform: rotate(0deg) scale(1); }
  50% { transform: rotate(180deg) scale(1.08); }
  100% { transform: rotate(360deg) scale(1); }
}
@keyframes play-icon-glow {
  0% {
    color: #ffffff;
    filter: drop-shadow(0 0 8px rgba(255,74,108,0.16));
  }
  33% {
    color: #fff4f6;
    filter: drop-shadow(0 0 12px rgba(255,74,108,0.42));
  }
  66% {
    color: #fff7ef;
    filter: drop-shadow(0 0 12px rgba(255,141,78,0.38));
  }
  100% {
    color: #ffffff;
    filter: drop-shadow(0 0 8px rgba(255,74,108,0.16));
  }
}

/* Tap to play */
.tap-to-play {
  position: absolute; inset: 0; z-index: 4; display: grid; place-items: center;
  align-content: center; justify-items: center; gap: 0.8rem; padding: 1rem;
  background: radial-gradient(circle at 50% 40%, rgba(43,140,255,0.22), rgba(0,0,0,0.9) 60%);
  backdrop-filter: blur(5px);
}
.tap-to-play.hidden { display: none; }
.tap-to-play-hint {
  max-width: 30rem; color: rgba(255,255,255,0.9); font-weight: 700; font-size: 0.88rem;
  line-height: 1.4; text-align: center; text-shadow: 0 2px 12px rgba(0,0,0,0.7);
}

/* Support gate inside player */
.support-modal-embed {
  position: absolute; inset: 0; z-index: 5;
  display: flex; align-items: center; justify-content: center;
  padding: clamp(0.8rem, 1.7vw, 1.15rem);
  background:
    radial-gradient(circle at 18% 18%, rgba(43,140,255,0.28), transparent 56%),
    radial-gradient(circle at 82% 72%, rgba(229,9,20,0.22), transparent 60%),
    linear-gradient(145deg, rgba(9,12,20,0.96), rgba(6,8,14,0.98));
  border: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(8px);
  border-radius: inherit;
  overflow: hidden;
}
.support-modal-embed.hidden { display: none; }
.support-modal-embed .details-backdrop {
  position: absolute; inset: 0; background: rgba(0,0,0,0.25);
  border-radius: inherit;
}
.support-modal-embed .details-close { display: none !important; }
.support-modal-embed .details-card {
  width: min(500px, calc(100% - 1.6rem));
  max-width: 500px;
  max-height: calc(100% - 1.2rem);
  grid-template-columns: 1fr;
  background: rgba(8,10,18,0.88);
  border: 1px solid rgba(255,255,255,0.15);
  box-shadow: 0 24px 60px rgba(2,6,20,0.7), 0 0 0 1px rgba(43,140,255,0.16);
  z-index: 2;
  margin: auto;
  position: relative;
  display: flex;
  flex-direction: column;
  align-self: center;
  overflow: hidden;
  transform: none;
  opacity: 1;
  transition: opacity 180ms ease;
}
.support-modal-embed:not(.hidden) .details-card { transform: none; opacity: 1; }
.support-modal-embed .details-actions {
  justify-content: center;
  width: 100%;
  position: static;
  margin: 0.8rem 0 0;
  padding: 0;
  background: none;
}
.support-modal-embed .details-actions button { transform: translateY(0); opacity: 1; }
.support-modal-embed .support-content {
  overflow-y: auto;
  max-height: 100%;
  display: grid;
  gap: 0.85rem;
  justify-items: center;
  align-content: center;
  text-align: center;
  padding: 1.05rem 1.1rem;
}
.support-modal-embed .support-explain {
  word-break: break-word;
  margin: 0;
  max-width: 42ch;
  text-align: center;
}
.support-modal-embed .details-overview {
  margin: 0;
  max-width: 40ch;
  text-align: center;
}
.support-modal-embed .support-steps,
.support-modal-embed .support-fallback {
  justify-items: center;
  text-align: center;
}
.support-fallback {
  display: grid;
  gap: 0.6rem;
  margin: 0.7rem 0 0.2rem;
  text-align: center;
  color: rgba(214,220,235,0.9);
  font-size: 0.85rem;
}
.support-fallback.hidden { display: none; }

/* iOS Safari: avoid duplicate cast/AirPlay buttons */
body.ios-apple .plyr__cast-button,
body.ios-apple .plyr__airplay-button,
body.ios-apple .plyr [data-plyr="cast"],
body.ios-apple .plyr [data-plyr="airplay"],
body.ios-apple #castBtn {
  display: none !important;
}

/* Discover page */
.discover-main { padding: 0 0 3rem; }
.discover-hero {
  padding: 3.7rem 1.6rem 1.8rem;
  background:
    radial-gradient(circle at 18% 18%, rgba(43,140,255,0.24), transparent 56%),
    radial-gradient(circle at 82% 28%, rgba(229,9,20,0.18), transparent 54%),
    linear-gradient(180deg, rgba(9,13,24,0.96), rgba(6,8,14,0.98));
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.discover-hero-inner { max-width: 840px; margin: 0 auto; text-align: left; }
.discover-tag {
  font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.2em;
  color: rgba(220,230,245,0.7); font-weight: 700;
}
.discover-hero h1 {
  margin: 0.4rem 0 0.6rem;
  font-size: clamp(2.1rem, 3.2vw, 2.9rem);
}
.discover-panel { padding: 1.5rem 1.6rem; }
.discover-form {
  max-width: 1060px; margin: 0 auto;
  display: grid; gap: 1.1rem;
  background: linear-gradient(180deg, rgba(12,14,22,0.82), rgba(8,10,18,0.94));
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 24px;
  padding: 1.5rem 1.6rem;
  box-shadow: 0 24px 60px rgba(2,6,20,0.34);
}
.discover-block { display: grid; gap: 0.3rem; }
.discover-block-head h2 {
  font-size: clamp(1.3rem, 2.1vw, 1.8rem);
  letter-spacing: 0.04em;
}
.discover-block-head p {
  color: rgba(212,220,236,0.74);
  font-size: 0.94rem;
}
.discover-group { display: grid; gap: 0.5rem; }
.discover-actions { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.discover-status { color: rgba(200,210,230,0.7); font-size: 0.82rem; }
.discover-results {
  padding: 0 1.6rem 2.5rem;
  scroll-margin-top: 104px;
}
.discover-summary {
  margin-top: 0.35rem;
  color: rgba(205,214,232,0.76);
  font-size: 0.9rem;
}
.discover-results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 1rem;
  margin-top: 0.6rem;
}
.discover-result-card {
  gap: 0.75rem;
}
.discover-result-card .poster-badges {
  top: 0.35rem;
  right: 0.35rem;
  gap: 0.2rem;
}
.discover-result-card .poster-badge {
  padding: 0.16rem 0.38rem;
  font-size: 0.62rem;
}
.discover-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}
.discover-card-tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0.28rem 0.58rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.05);
  color: rgba(238,241,249,0.84);
  font-size: 0.74rem;
  font-weight: 700;
}

/* Support modal steps */
.support-steps {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0.4rem 0 0.8rem;
}
.support-step-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(229,9,20,0.14);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.support-explain {
  margin-top: 0.6rem;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.45;
}

/* Fullscreen overlay controls */
.player-overlay-controls {
  position: absolute; inset: 0; display: none; pointer-events: none;
  justify-content: flex-start; align-items: flex-start; padding: 1rem;
  opacity: 0; transition: opacity 220ms ease; z-index: 3;
}
.watch-video-wrap:fullscreen .player-overlay-controls { display: flex; }
.player-overlay-controls.show { opacity: 1; pointer-events: auto; }
.player-overlay-btn {
  border: 1px solid rgba(255,255,255,0.22); background: rgba(10,10,16,0.7);
  backdrop-filter: blur(8px); color: #f0f0f0; border-radius: 12px;
  padding: 0.5rem 0.8rem; font-size: 0.82rem; font-weight: 700; cursor: pointer;
  transition: all 160ms ease;
}
.player-overlay-btn:hover { background: rgba(43,140,255,0.3); border-color: rgba(43,140,255,0.45); }

/* Watch controls panel */
.watch-controls {
  position: relative;
  z-index: 1;
  padding: 1rem 1.1rem 1.15rem;
  border-top: 1px solid rgba(255,255,255,0.06);
  background:
    linear-gradient(180deg, rgba(12,16,26,0.74), rgba(6,8,14,0.94)),
    linear-gradient(90deg, rgba(229,9,20,0.08), transparent 18%, transparent 82%, rgba(43,140,255,0.08));
  display: grid;
  gap: 0.75rem;
}

.episode-controls {
  display: none; gap: 0.45rem; align-items: center; flex-wrap: wrap; margin-top: 0;
}
.episode-controls select,
.episode-controls .btn {
  min-height: 34px; border-radius: 10px; border: 1px solid rgba(255,255,255,0.14);
  background: rgba(15,15,22,0.9); color: rgba(255,255,255,0.92); font-weight: 700;
  font-size: 0.8rem; transition: all 160ms ease;
}
.episode-controls select {
  appearance: none; -webkit-appearance: none; color-scheme: dark;
  padding: 0.3rem 1.8rem 0.3rem 0.7rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24'%3E%3Cpath fill='rgba(255,255,255,0.7)' d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 0.5rem center; background-size: 14px;
  cursor: pointer;
}
.episode-controls select option, .episode-controls select optgroup { background: #0b0b12; color: rgba(255,255,255,0.92); }
.episode-controls select option:checked { background: rgba(229,9,26,0.22); }
.episode-controls .btn { padding: 0.3rem 0.65rem; border-color: rgba(229,9,26,0.5); background: rgba(229,9,26,0.14); color: #fff; }
.episode-controls select:hover, .episode-controls .btn:hover { border-color: rgba(43,140,255,0.65); background: rgba(43,140,255,0.18); }
.episode-controls select:focus, .episode-controls .btn:focus-visible { outline: none; border-color: rgba(43,140,255,0.8); box-shadow: 0 0 0 3px rgba(43,140,255,0.16); }

.server-list { margin-top: 0.55rem; display: flex; flex-wrap: wrap; gap: 0.4rem; }
.server-btn {
  border: 1px solid rgba(255,255,255,0.14); background: rgba(255,255,255,0.04);
  color: rgba(240,240,248,0.85); font-size: 0.78rem; font-weight: 600;
  padding: 0.44rem 0.72rem; border-radius: 10px; cursor: pointer; transition: all 160ms ease;
  display: inline-flex; align-items: center; gap: 0.62rem; text-align: left;
}
.server-btn:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.24); }
.server-btn.active {
  border-color: rgba(43,140,255,0.7);
  background: linear-gradient(135deg, rgba(229,9,20,0.22), rgba(43,140,255,0.22));
  color: #fff;
}
.server-btn-logo {
  width: 22px;
  height: 22px;
  border-radius: 7px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 22px;
  font-size: 0.62rem;
  font-weight: 700;
  line-height: 1;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.06);
  color: #fff;
}
.server-btn-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: 0.05rem;
}
.server-btn-title {
  font-size: 0.78rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.15;
}
.server-btn-subtitle {
  font-size: 0.66rem;
  color: rgba(228,232,245,0.64);
  line-height: 1.15;
  max-width: 150px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.server-btn-gold {
  border-color: rgba(245,197,24,0.42);
  background: linear-gradient(135deg, rgba(245,197,24,0.2), rgba(229,9,20,0.12));
  color: #fff3c7;
}
.server-btn-gold .server-btn-logo {
  background: linear-gradient(135deg, rgba(245,197,24,0.34), rgba(229,9,20,0.22));
  border-color: rgba(245,197,24,0.45);
  color: #fff7dc;
}
.server-btn-platine {
  border-color: rgba(167,190,226,0.34);
  background: linear-gradient(135deg, rgba(198,209,229,0.14), rgba(89,126,189,0.12));
  color: #eef4ff;
}
.server-btn-platine .server-btn-logo {
  background: linear-gradient(135deg, rgba(214,223,240,0.26), rgba(89,126,189,0.16));
  border-color: rgba(167,190,226,0.38);
  color: #f2f6ff;
}
.server-btn-fer {
  border-color: rgba(176,136,120,0.28);
  background: linear-gradient(135deg, rgba(102,83,75,0.2), rgba(49,56,69,0.12));
  color: rgba(240,232,228,0.9);
}
.server-btn-fer .server-btn-logo {
  background: linear-gradient(135deg, rgba(126,96,84,0.28), rgba(76,81,94,0.14));
  border-color: rgba(176,136,120,0.32);
  color: rgba(245,235,231,0.94);
}
.server-loading-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 34px;
  padding: 0.4rem 0.78rem;
  border-radius: 10px;
  border: 1px dashed rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.04);
  color: rgba(226,232,245,0.86);
  font-size: 0.78rem;
  font-weight: 600;
}
.server-loading-label { white-space: nowrap; }
.server-loading-dots {
  display: inline-flex;
  min-width: 1.8rem;
  justify-content: flex-start;
}
.server-loading-dots span {
  opacity: 0.18;
  animation: server-loading-dot 1.05s infinite;
}
.server-loading-dots span:nth-child(2) { animation-delay: 0.16s; }
.server-loading-dots span:nth-child(3) { animation-delay: 0.32s; }

@keyframes server-loading-dot {
  0%, 80%, 100% { opacity: 0.18; transform: translateY(0); }
  40% { opacity: 1; transform: translateY(-1px); }
}

.source-notice {
  opacity: 0; transform: translateY(8px); pointer-events: none; margin-top: 0.7rem;
  border: 1px solid rgba(43,140,255,0.35); background: rgba(43,140,255,0.12); color: #eaf2ff;
  border-radius: 12px; padding: 0.6rem 0.8rem; font-size: 0.86rem; font-weight: 500;
  transition: opacity 220ms ease, transform 220ms ease;
}
.source-notice.show { opacity: 1; transform: translateY(0); pointer-events: auto; }

.watch-debug {
  margin-top: 0.6rem;
  border: 1px dashed rgba(255,255,255,0.18);
  background: rgba(9,12,20,0.9);
  color: rgba(226,236,255,0.92);
  border-radius: 12px;
  padding: 0.6rem 0.8rem;
  font-size: 0.78rem;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  white-space: pre-wrap;
  max-height: 180px;
  overflow: auto;
}
.watch-debug.hidden { display: none; }

/* Watch info block (right side) */
.watch-info-block {
  border: 1px solid rgba(255,255,255,0.1); border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at top right, rgba(43,140,255,0.14), transparent 34%),
    radial-gradient(circle at bottom left, rgba(229,9,20,0.12), transparent 36%),
    linear-gradient(165deg, rgba(14,18,28,0.98), rgba(8,10,18,0.98));
  overflow: hidden; min-width: 0;
  box-shadow: 0 22px 56px rgba(2,6,20,0.5);
  padding: 1.4rem;
  display: grid;
  gap: 0.85rem;
  position: sticky;
  top: 5.6rem;
}
.watch-info-head {
  display: grid;
  grid-template-columns: 126px minmax(0, 1fr);
  gap: 1.4rem;
  align-items: start;
}
.watch-poster {
  position: relative; width: 126px; aspect-ratio: 2/3;
  border-radius: 18px; overflow: hidden;
  border: 1px solid rgba(255,255,255,0.12);
  background: linear-gradient(160deg, rgba(20,24,36,0.9), rgba(6,8,16,0.9));
  box-shadow: 0 16px 40px rgba(2,6,20,0.55);
}
.watch-poster img { width: 100%; height: 100%; object-fit: cover; display: block; }
.watch-poster.is-empty img { display: none; }
.watch-poster::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(6,8,14,0.9));
}
.watch-info-text {
  min-width: 0;
  display: grid;
  align-content: start;
  gap: 0.18rem;
  padding-top: 0.12rem;
}
.watch-tagline {
  font-family: 'Space Grotesk', sans-serif;
  text-transform: uppercase; letter-spacing: 0.3em; font-size: 0.65rem;
  color: rgba(255,255,255,0.6); margin-bottom: 0.18rem;
}
.watch-info-block h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.72rem, 1.4vw + 1.18rem, 2.65rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.035em;
  margin-bottom: 0.34rem;
  text-wrap: balance;
  color: #f7f9ff;
  text-shadow: 0 8px 24px rgba(0,0,0,0.24);
}
.watch-meta-grid { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0.3rem 0 0.9rem; }
.watch-meta-grid .details-meta {
  margin: 0;
  padding: 0.26rem 0.65rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.06);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.76rem;
  font-weight: 600;
}
.watch-info-block .details-overview { max-height: none; }
.watch-info-block .details-tags {
  gap: 0.48rem;
}
.watch-info-block .media-tag {
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.1);
}
.watch-info-block .details-reactions {
  margin-top: 0.35rem;
  padding-top: 0.95rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.watch-info-block .reaction-btn,
.watch-info-block .details-reactions .btn {
  min-height: 44px;
}
.watch-link-wrap { display: flex; justify-content: flex-end; width: auto; flex: 0 1 auto; gap: 0.5rem; flex-wrap: wrap; margin-left: auto; }
.watch-link-wrap .btn { white-space: nowrap; }

/* Back to sheet button style */
#backToSheetBtn { font-size: 0.82rem; }

/* ===========================================================
   SUGGESTIONS PAGE
   =========================================================== */
.browse-main { padding-bottom: 2.5rem; }
.suggestions-shell { padding-top: 1.25rem; }
.suggestions-main { display: grid; gap: 0.3rem; }
.suggestion-intro { color: var(--muted); max-width: 720px; line-height: 1.6; font-size: 0.94rem; }

.suggestion-form {
  margin-top: 1.1rem; display: grid; gap: 0.75rem;
  grid-template-columns: minmax(0, 1.35fr) minmax(200px, 0.8fr) auto; align-items: end;
}
.suggestion-form label {
  display: grid; gap: 0.35rem; color: rgba(240,240,248,0.9); font-size: 0.8rem;
  font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em;
}
.suggestion-form input {
  width: 100%; border: 1px solid rgba(255,255,255,0.12); border-radius: 14px;
  padding: 0.82rem 0.9rem; background: rgba(14,14,22,0.95); color: #fff;
  outline: none; font-family: 'Space Grotesk', sans-serif; transition: all 160ms ease;
}
.suggestion-form input:focus { border-color: rgba(229,9,26,0.65); box-shadow: 0 0 0 3px rgba(229,9,26,0.11); }
.suggestion-msg { min-height: 1.2rem; margin-top: 0.85rem; color: #f8d0d0; font-size: 0.9rem; }

.suggestion-list { display: grid; gap: 0.7rem; }
.suggestion-card {
  border: 1px solid rgba(255,255,255,0.08); border-radius: var(--radius-lg);
  background: linear-gradient(165deg, rgba(18,18,26,0.97), rgba(10,10,16,0.99));
  padding: 1rem; box-shadow: 0 12px 32px rgba(0,0,0,0.25); transition: border-color 160ms ease;
}
.suggestion-card:hover { border-color: rgba(255,255,255,0.14); }
.suggestion-title-row { display: flex; justify-content: space-between; gap: 0.8rem; align-items: flex-start; }
.suggestion-title-row strong { font-size: 1rem; color: #fff; font-weight: 700; }
.suggestion-badges { display: flex; flex-wrap: wrap; gap: 0.4rem; justify-content: flex-end; }
.suggestion-meta { margin-top: 0.55rem; display: flex; flex-wrap: wrap; gap: 0.8rem; color: rgba(200,200,220,0.85); font-size: 0.82rem; }
.suggestion-badge {
  display: inline-flex; align-items: center; border-radius: 999px;
  padding: 0.3rem 0.65rem; font-size: 0.74rem; font-weight: 700;
  border: 1px solid rgba(255,255,255,0.12); letter-spacing: 0.02em;
}
.status-approved { color: #9ef0b4; background: rgba(30,120,60,0.2); border-color: rgba(80,200,110,0.4); }
.status-pending { color: #a8d4ff; background: rgba(30,80,130,0.2); border-color: rgba(90,160,255,0.38); }
.status-mine { color: #fff0c0; background: rgba(160,110,20,0.22); border-color: rgba(255,207,88,0.42); }
.tag-coming-soon { color: #ffe8a0; background: rgba(175,130,20,0.22); border-color: rgba(255,215,100,0.45); }
.tag-too-early { color: #ffd490; background: rgba(170,95,18,0.24); border-color: rgba(255,170,75,0.45); }
.tag-unavailable { color: #ffb8b8; background: rgba(130,32,32,0.22); border-color: rgba(255,110,110,0.42); }
.tag-default { color: rgba(240,240,248,0.85); background: rgba(255,255,255,0.05); }

/* ===========================================================
   FOOTER
   =========================================================== */
.footer {
  margin-top: 2.5rem; padding: 1.5rem 4vw 2rem;
  border-top: 1px solid rgba(255,255,255,0.06); color: var(--muted);
  position: relative;
}
.footer::before {
  content: ''; position: absolute; top: 0; left: 4vw; right: 4vw; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(229,9,20,0.3), rgba(43,140,255,0.25), transparent);
}
.footer-inner { width: 100%; max-width: 1140px; margin: 0 auto; }

.site-footer-grid { display: grid; grid-template-columns: 1fr; gap: 1.4rem; padding-bottom: 2.5rem; border-bottom: 1px solid rgba(255,255,255,0.05); margin-bottom: 1.8rem; }
@media (min-width: 768px) { .site-footer-grid { grid-template-columns: 1.2fr 1.5fr 0.9fr; gap: 1.5rem; } }

.site-footer-brand { font-family: 'Bebas Neue', sans-serif; font-size: 1.7rem; font-weight: 800; background: linear-gradient(135deg, #fff, #ff8fa2, #2b8cff); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; margin-bottom: 0.6rem; letter-spacing: 0.05em; }
.site-footer-tagline { color: rgba(255,255,255,0.5); font-size: 0.9rem; line-height: 1.45; }
.site-footer-title { color: rgba(255,255,255,0.8); font-size: 0.88rem; font-weight: 800; margin-bottom: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em; }

.site-footer-nav { display: flex; flex-direction: column; gap: 0.4rem; }
@media (min-width: 768px) { .site-footer-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 0.4rem; row-gap: 0.35rem; } }
.site-footer-nav a { color: rgba(255,255,255,0.55); font-weight: 600; font-size: 0.88rem; transition: color 160ms ease; }
.site-footer-nav a:hover { color: rgba(255,255,255,0.9); }

.footer-icon-link { display: inline-flex; align-items: center; gap: 0; width: fit-content; padding: 0.35rem 0; color: rgba(255,255,255,0.55); font-weight: 700; }
.footer-icon-link:hover { color: rgba(255,255,255,0.9); }

.legal-disclaimer { border: 1px solid rgba(255,255,255,0.07); border-radius: 14px; padding: 1rem; background: rgba(255,255,255,0.02); color: rgba(200,200,220,0.75); font-size: 0.86rem; line-height: 1.55; }
.legal-disclaimer h3 { margin-bottom: 0.5rem; color: #fff; }
.legal-disclaimer .copyright { margin-top: 0.6rem; color: rgba(240,240,248,0.85); font-weight: 600; }
.disclaimer-title { display: inline-flex; align-items: center; gap: 0.55rem; color: #fb923c; }
.warn-badge { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 9px; background: rgba(251,146,60,0.16); border: 1px solid rgba(251,146,60,0.3); color: #fb923c; }

/* -- Stats ---------------------------------------------------- */
.site-stats {
  margin: 1.5rem 4vw 2rem; border: 1px solid rgba(255,255,255,0.08); border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(14,14,22,0.98), rgba(8,8,14,0.98));
  padding: 1rem; display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 0.7rem; box-shadow: 0 18px 40px rgba(0,0,0,0.3);
}
.stat-item {
  border: 1px solid rgba(255,255,255,0.08); border-radius: 12px; padding: 0.8rem;
  background: rgba(255,255,255,0.02);
}
.stat-item span { display: block; color: var(--muted); font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.07em; }
.stat-item strong { display: block; margin-top: 0.35rem; font-size: 1.1rem; color: #fff; font-family: 'Bebas Neue', sans-serif; letter-spacing: 0.05em; }
.footer .site-stats { margin: 0 0 1rem; }
.footer .legal-disclaimer { margin: 0 0 1rem; }

/* -- Empty & misc -------------------------------------------- */
.empty { padding: 1.1rem; border: 1px dashed rgba(255,255,255,0.16); border-radius: var(--radius); color: var(--muted); font-size: 0.9rem; }
.watchlist-empty {
  display: grid;
  gap: 0.6rem;
  align-items: start;
}
.watchlist-empty .btn {
  width: fit-content;
}

/* Discord */
.footer-discord-btn { display: inline-flex; align-items: center; gap: 0.5rem; width: fit-content; padding: 0.55rem 0.9rem; border-radius: 12px; border: 1px solid rgba(255,255,255,0.12); background: rgba(88,101,242,0.15); color: rgba(255,255,255,0.9); font-weight: 700; cursor: pointer; }
.footer-discord-btn:hover { background: rgba(88,101,242,0.25); }

/* Discord logo art (kept for compatibility) */
.discord-mark { --discord-size: 28px; --discord-scale: 0.034; position: relative; display: inline-block; width: var(--discord-size); height: var(--discord-size); overflow: hidden; border-radius: 10px; color: rgba(255,255,255,0.78); }
.discord-mark-sm { --discord-size: 24px; --discord-scale: 0.029; border-radius: 9px; }
.discord-logo-art { position: absolute; left: 0; top: 0; width: 820px; height: 310px; transform-origin: top left; transform: translate(-15px, 47px) scale(var(--discord-scale)); }
.discord-logo-art .head { position: absolute; z-index: 5; width: 322px; height: 216px; top: 22px; left: 85px; background: currentColor; border-radius: 50%; box-shadow: inset 0 -12px 0 #00000026; }
.discord-logo-art .wing-top, .discord-logo-art .wing-mid, .discord-logo-art .wing-bottom, .discord-logo-art .eye { position: absolute; background: currentColor; border-radius: 50%; z-index: 10; }
.discord-logo-art .wing-top { height: 283px; width: 99px; top: -47px; left: 65px; transform: rotate(56deg) skewY(7deg); clip-path: inset(7% 0 61% 0 round 24px); }
.discord-logo-art .wing-mid { left: 81px; top: 12px; height: 263px; width: 101px; transform: rotate(12deg); clip-path: inset(7% 13% 15% 0 round 25px); }
.discord-logo-art .wing-bottom { width: 309px; height: 116px; top: 144px; left: 15px; box-shadow: inset -14px -7px 0px 3px #00000026; transform: skewY(342deg) rotate(38deg); clip-path: inset(83px 118px 0 76px); }
.discord-logo-art .eye { background: var(--bg); width: 61px; height: 70px; top: 116px; left: 159px; }
.discord-logo-art .group-right { z-index: 10; position: absolute; left: 493px; top: 0; transform: scaleX(-1); }

/* -- Player card (overlay mode) ----------------------------- */
.player-card { position: relative; z-index: 2; width: min(1040px, 100%); border: 1px solid rgba(255,255,255,0.12); border-radius: var(--radius-lg); background: #0a0a12; overflow: hidden; }
.player-video-wrap { background: #000; }
#mainVideo, #mainPlayerFrame { width: 100%; aspect-ratio: 16/9; border: 0; display: block; }
#mainPlayerFrame { display: none; }
.player-panel { padding: 1rem; }

/* ===========================================================
   RESPONSIVE -- Tablet (980px)
   =========================================================== */
@media (min-width: 1200px) {
  .browse-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
}

@media (max-width: 980px) {
  .topbar { gap: 0.8rem; padding: 0.85rem 3vw; }
  .topbar-right { grid-template-columns: minmax(0, max-content) minmax(185px, 280px); column-gap: 0.4rem; flex: 0 1 auto; }
  .nav-link { padding: 0.3rem 0.72rem; font-size: 0.8rem; }
  .search-wrap { width: min(280px, 36vw); min-width: 185px; margin-left: 0; }
  .hero-content { max-width: min(72vw, 560px); }
  .spotlight-card { grid-template-columns: 1fr; }
  .spotlight-media { min-height: 200px; }
  .franchise-rail { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
  .watch-main { grid-template-columns: 1fr; }
  .watch-info-block { position: static; top: auto; }
}

/* ===========================================================
   RESPONSIVE -- Modal
   =========================================================== */
@media (max-width: 900px) {
  .details-modal, .player-overlay { padding: 0.65rem; align-items: center; justify-content: center; }
  .details-card { grid-template-columns: 1fr; max-height: calc(100vh - 1.3rem); }
  .details-media { min-height: 260px; max-height: 330px; }
  .details-content { padding: 1rem; }
  .details-overview { max-height: none; }
  .hero-content { max-width: min(82vw, 600px); bottom: 2.2vh; }
  .watch-controls, .watch-info-block { padding: 1rem; }
  .watch-video-shell { padding: 0; }
  .watch-video-wrap { border-radius: 0; }
  .watch-video-wrap .plyr--video .plyr__controls { padding: 0.8rem 0.8rem 0.78rem; }
  .watch-video-wrap .plyr__control--overlaid { width: auto; height: auto; }
  .watch-video-wrap .plyr__control--overlaid svg { width: 32px; height: 32px; }
  .episode-controls { flex-wrap: wrap; }
  .episode-controls select { flex: 0 1 150px; min-width: 0; max-width: 220px; }
  .watch-video-wrap.support-gate-active {
    aspect-ratio: auto;
    min-height: clamp(300px, 72vw, 380px);
  }
}

/* ===========================================================
   RESPONSIVE -- Tablet Nav (1200px)
   =========================================================== */
@media (max-width: 1200px) {
  body.mobile-nav-open, body.mobile-search-open { overflow: hidden; }
  body.mobile-nav-open .topbar, body.mobile-search-open .topbar { z-index: 60; }
  .topbar { align-items: stretch; gap: 0.6rem; position: sticky; overflow: visible; backdrop-filter: none; flex-wrap: wrap; }
  .logo { width: auto; text-align: left; align-self: center; }
  .mobile-header-tools { display: flex; }
  .topbar-right {
    display: flex; width: min(86vw, 340px); max-width: 340px;
    flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 0.65rem;
    position: fixed; inset: 0 auto 0 0; z-index: 40; height: 100dvh; min-height: 100dvh;
    margin: 0; padding: max(1rem, env(safe-area-inset-top)) 0.95rem max(1rem, env(safe-area-inset-bottom));
    background: linear-gradient(180deg, rgba(8,8,14,0.99), rgba(6,6,10,0.99));
    border-right: 1px solid rgba(255,255,255,0.07);
    box-shadow: 20px 0 50px rgba(0,0,0,0.5);
    border-radius: 0 22px 22px 0; transform: translateX(-110%); transition: transform 220ms ease;
    overflow-y: auto; overscroll-behavior: contain;
  }
  .drawer-head { display: flex; position: sticky; top: 0; padding-bottom: 0.85rem; margin-bottom: 0.5rem; border-bottom: 1px solid rgba(255,255,255,0.07); background: rgba(8,8,14,0.7); backdrop-filter: blur(10px); z-index: 1; }
  body.mobile-nav-open .topbar-right { transform: translateX(0); }
  body.mobile-nav-open::before, body.mobile-search-open::before { content: ''; position: fixed; inset: 0; z-index: 30; background: rgba(0,0,0,0.52); }
  .main-nav { order: 0; flex: 0 0 auto; min-width: 0; overflow: visible; display: grid; gap: 0.5rem; margin-top: 2.2rem; }
  .nav-link { width: 100%; padding: 0.72rem 0.9rem; border-radius: 14px; font-size: 0.88rem; }
  .search-wrap { order: 1; width: 100%; min-width: 0; flex: 0 0 auto; margin-left: 0; }
  .search-wrap:not(.watch-link-wrap) {
    position: fixed; top: calc(max(1rem, env(safe-area-inset-top)) + 3.5rem); left: 3vw; right: 3vw; z-index: 41;
    width: auto; transform: translateY(-14px); opacity: 0; pointer-events: none; transition: opacity 180ms ease, transform 180ms ease;
  }
  body.mobile-search-open .search-wrap:not(.watch-link-wrap) { transform: translateY(0); opacity: 1; pointer-events: auto; }
  body.mobile-search-open .topbar-right { transform: none; inset: 0; width: 100%; max-width: none; height: auto; min-height: 0; padding: 0; background: transparent; border-right: 0; box-shadow: none; border-radius: 0; overflow: visible; pointer-events: none; }
  body.mobile-search-open .main-nav { display: none; }
  .topbar-watch { flex-wrap: nowrap; align-items: center; }
  .topbar-watch .logo { display: inline-flex; }
  .topbar-watch .mobile-header-tools { width: auto; justify-content: flex-end; margin-left: auto; }
  .topbar-watch .topbar-right { z-index: 70; }
  .topbar-watch .main-nav { margin-top: 0; }
  .topbar-watch .watch-link-wrap { justify-content: stretch; margin-left: 0; margin-top: 0.15rem; }
  .topbar-watch .watch-link-wrap .btn { width: 100%; justify-content: center; }
  .topbar-watch .topbar-right {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-left: auto;
    flex: 1 1 auto;
  }
  .topbar-watch .main-nav {
    justify-content: flex-end;
  }
  .topbar-watch .search-wrap {
    display: none;
  }
}

/* ===========================================================
   RESPONSIVE -- Mobile (640px)
   =========================================================== */
@media (max-width: 640px) {
  .details-modal { padding: 0.5rem; }
  .details-card { max-height: calc(100vh - 1rem); max-width: 100%; }
  .details-media { min-height: 200px; max-height: 240px; }
  .details-content { padding: 0.9rem; }
  .details-content h3 { font-size: clamp(1.1rem, 5vw, 1.4rem); margin-bottom: 0.4rem; }
  .details-meta, .details-extra { font-size: 0.8rem; margin-bottom: 0.3rem; }
  .details-tags { gap: 0.3rem; margin-bottom: 0.5rem; }
  .tag-pill { padding: 0.18rem 0.5rem; font-size: 0.65rem; }
  .details-overview { font-size: 0.85rem; line-height: 1.5; max-height: 160px; }
  .details-reactions { margin-top: 0.75rem; gap: 0.3rem; }
  .details-modal .reaction-btn { padding: 0.35rem 0.7rem; font-size: 0.75rem; }
  .details-actions { margin-top: 0.75rem; gap: 0.35rem; flex-wrap: wrap; }
  .details-actions .btn { flex: 1 1 auto; min-width: 0; padding: 0.55rem 0.5rem; font-size: 0.8rem; min-height: 40px; }
  .details-close { width: 32px; height: 32px; font-size: 1.2rem; top: 0.5rem; right: 0.5rem; }
  .support-content { gap: 0.7rem; }
  .support-content h3 { font-size: 1rem; margin-bottom: 0.3rem; }
  
  body.mobile-nav-open, body.mobile-search-open { overflow: hidden; }
  body.mobile-nav-open .topbar, body.mobile-search-open .topbar { z-index: 60; }
  .topbar { align-items: stretch; gap: 0.6rem; position: sticky; overflow: visible; backdrop-filter: none; flex-wrap: wrap; }
  .logo { width: auto; text-align: left; align-self: center; }
  .mobile-header-tools { display: flex; }
  .topbar-right {
    display: flex; width: min(86vw, 340px); max-width: 340px;
    flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 0.65rem;
    position: fixed; inset: 0 auto 0 0; z-index: 40; height: 100dvh; min-height: 100dvh;
    margin: 0; padding: max(1rem, env(safe-area-inset-top)) 0.95rem max(1rem, env(safe-area-inset-bottom));
    background: linear-gradient(180deg, rgba(8,8,14,0.99), rgba(6,6,10,0.99));
    border-right: 1px solid rgba(255,255,255,0.07);
    box-shadow: 20px 0 50px rgba(0,0,0,0.5);
    border-radius: 0 22px 22px 0; transform: translateX(-110%); transition: transform 220ms ease;
    overflow-y: auto; overscroll-behavior: contain;
  }
  .drawer-head { display: flex; position: sticky; top: 0; padding-bottom: 0.85rem; margin-bottom: 0.5rem; border-bottom: 1px solid rgba(255,255,255,0.07); background: rgba(8,8,14,0.7); backdrop-filter: blur(10px); z-index: 1; }
  body.mobile-nav-open .topbar-right { transform: translateX(0); }
  body.mobile-nav-open::before, body.mobile-search-open::before { content: ''; position: fixed; inset: 0; z-index: 30; background: rgba(0,0,0,0.52); }
  .main-nav { order: 0; flex: 0 0 auto; min-width: 0; overflow: visible; display: grid; gap: 0.5rem; margin-top: 2.2rem; }
  .nav-link { width: 100%; padding: 0.72rem 0.9rem; border-radius: 14px; font-size: 0.88rem; }
  .search-wrap { order: 1; width: 100%; min-width: 0; flex: 0 0 auto; margin-left: 0; }
  .search-wrap:not(.watch-link-wrap) {
    position: fixed; top: calc(max(1rem, env(safe-area-inset-top)) + 3.5rem); left: 3vw; right: 3vw; z-index: 41;
    width: auto; transform: translateY(-14px); opacity: 0; pointer-events: none; transition: opacity 180ms ease, transform 180ms ease;
  }
  body.mobile-search-open .search-wrap:not(.watch-link-wrap) { transform: translateY(0); opacity: 1; pointer-events: auto; }
  body.mobile-search-open .topbar-right { transform: none; inset: 0; width: 100%; max-width: none; height: auto; min-height: 0; padding: 0; background: transparent; border-right: 0; box-shadow: none; border-radius: 0; overflow: visible; pointer-events: none; }
  body.mobile-search-open .main-nav { display: none; }
  .topbar-watch { flex-wrap: nowrap; align-items: center; }
  .topbar-watch .logo { display: inline-flex; }
  .topbar-watch .mobile-header-tools { width: auto; justify-content: flex-end; margin-left: auto; }
  .topbar-watch .topbar-right { z-index: 70; }
  .topbar-watch .main-nav { margin-top: 0; }
  .topbar-watch .watch-link-wrap { justify-content: stretch; margin-left: 0; margin-top: 0.15rem; }
  .topbar-watch .watch-link-wrap .btn { width: 100%; justify-content: center; }
  .topbar-watch .topbar-right {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-left: auto;
    flex: 1 1 auto;
  }
  .topbar-watch .main-nav {
    justify-content: flex-end;
  }
  .topbar-watch .search-wrap {
    display: none;
  }
  .search-wrap input, .suggestion-form input { font-size: 16px; }
  .suggestion-form { grid-template-columns: 1fr; }
  .suggestion-title-row { flex-direction: column; }
  .suggestion-badges { justify-content: flex-start; }
  .hero { margin: 0 3vw; margin-top: 0.75rem; border-radius: 16px; height: clamp(290px, 64vw, 440px); max-height: none; }
  .hero-bg { object-position: center center; }
  .hero-content { left: 1.2rem; right: 1.2rem; bottom: 1.2rem; max-width: none; }
  .hero-actions .btn, .details-actions .btn, .details-reactions .btn, .details-reactions .reaction-btn { width: 100%; justify-content: center; text-align: center; }
  .details-reactions { align-items: stretch; }
  .reaction-status { width: 100%; }
  .section { padding: 1rem 3vw 0.2rem; }
  .section-head { align-items: flex-start; }
  .section-head-stack { align-items: flex-start; }
  .featured-strip { grid-auto-columns: minmax(210px, 210px); }
  .catalog-band {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 1rem;
    border-radius: 18px;
  }
  .catalog-band-aside { grid-template-columns: 1fr 1fr; }
  .discover-form { padding: 1rem; border-radius: 18px; }
  .discover-results-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.85rem; }
  .promo-banner,
  .premium-banner { flex-direction: column; align-items: flex-start; padding: 1rem; border-radius: 18px; }
  .promo-actions,
  .premium-features { width: 100%; justify-content: flex-start; }
  .poster-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.8rem; }
  .poster-rail { grid-auto-columns: minmax(172px, 172px); }
  .poster-rank { font-size: 3.8rem; left: -0.1rem; bottom: -0.3rem; }
  .filter-row { gap: 0.6rem; }
  .filter-bar { overflow-x: auto; flex-wrap: nowrap; padding-bottom: 0.25rem; scrollbar-width: none; }
  .filter-bar::-webkit-scrollbar { display: none; }
  .filter-btn { flex: 0 0 auto; }
  .filter-actions { width: 100%; justify-content: flex-end; }
  .filter-panel { border-radius: 14px; }
  .catalog-tools { margin-top: 0.4rem; }
  .browse-pagination { gap: 0.42rem; justify-content: flex-start; }
  .pagination-btn, .pagination-dots { min-width: 40px; height: 40px; padding: 0 0.78rem; font-size: 0.86rem; }
  .grid { grid-template-columns: repeat(2, minmax(130px, 1fr)); gap: 0.75rem; }
  .browse-grid {
    grid-template-columns: repeat(2, minmax(150px, 1fr));
    gap: 0.85rem;
    padding: 0.4rem;
    margin-left: -0.4rem;
    margin-right: -0.4rem;
  }
  .rail { grid-auto-columns: minmax(145px, 145px); }
  .rail-nav {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
  .rail-nav.prev { left: -20px; }
  .rail-nav.next { right: -20px; }
  .rail-wrap {
    overflow: visible;
    position: relative;
    margin-left: 8px;
    margin-right: 8px;
  }
  .rail {
    grid-auto-columns: minmax(145px, 145px);
    gap: 0.6rem;
    padding: 0.5rem 0.15rem 0.9rem;
  }
  .watch-main { padding: 0.8rem 3vw 1.5rem; gap: 0.9rem; }
  .watch-controls { padding: 0.85rem; }
  .watch-info-head { grid-template-columns: 1fr; gap: 1rem; }
  .watch-poster { width: 100%; max-width: 180px; aspect-ratio: 2/3; margin: 0 auto; }
  .section-link { padding: 0.48rem 0.78rem; font-size: 0.76rem; }
  .franchise-rail { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 0.8rem; }
  .franchise-card,
  .franchise-overlay { min-height: 160px; }
  .franchise-overlay { padding: 0.9rem; }
  .franchise-title { font-size: 1.62rem; }
  .franchise-summary { font-size: 0.78rem; max-width: 100%; }
  .watch-info-block { padding: 1.1rem; gap: 1rem; }
  .watch-info-block h1 { font-size: clamp(1.35rem, 6vw, 1.8rem); line-height: 1.15; margin-bottom: 0.55rem; overflow-wrap: break-word; word-break: break-word; }
  .watch-tagline { font-size: 0.6rem; margin-bottom: 0.25rem; }
  .watch-meta-grid { gap: 0.35rem; margin-bottom: 0.7rem; }
  .watch-meta-grid .details-meta { font-size: 0.7rem; padding: 0.2rem 0.55rem; }
  .watch-info-block .details-tags { gap: 0.35rem; margin-bottom: 1rem; }
  .watch-info-block .media-tag { font-size: 0.65rem; padding: 0.18rem 0.5rem; }
  .watch-info-block .details-overview { font-size: 0.9rem; line-height: 1.5; margin-bottom: 1rem; }
  .watch-info-block .details-reactions { margin-top: 1rem; padding-top: 1rem; padding-bottom: 0.5rem; gap: 0.5rem; }
  .watch-info-block .reaction-btn, .watch-info-block .details-reactions .btn { min-height: 42px; font-size: 0.85rem; padding: 0.6rem 0.8rem; }
  .reaction-status { display: block; width: 100%; margin-top: 0.75rem; padding-top: 0.75rem; border-top: 1px solid rgba(255,255,255,0.06); font-size: 0.78rem; }
  .watch-video-shell { padding: 0; }
  .watch-video-wrap { border-radius: 0; min-height: clamp(220px, 58vw, 320px); }
  .watch-video-wrap .plyr--video .plyr__controls { padding: 0.72rem 0.72rem 0.7rem; }
  .watch-video-wrap .plyr__control--overlaid { width: auto; height: auto; }
  .watch-video-wrap .plyr__control--overlaid svg { width: 30px; height: 30px; }
  .watch-badge { top: 12px; left: 12px; padding: 0.22rem 0.58rem; font-size: 0.62rem; }
  .episode-controls { flex-direction: row; align-items: center; gap: 0.42rem; }
  .episode-controls select, .episode-controls .btn { width: auto; }
  .episode-controls select { flex: 1 1 0; min-width: 0; }
  .server-list { gap: 0.4rem; }
  .server-btn { width: 100%; text-align: left; }
  .server-loading-chip { width: 100%; justify-content: center; }
  .suggestion-card, .site-stats, .legal-disclaimer, .watch-player-block, .watch-info-block, .details-card { border-radius: 14px; }
  .site-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .legal-disclaimer { margin-left: 3vw; margin-right: 3vw; }
  .details-card { max-height: none; overflow: visible; }
  .details-content { overflow: visible; }
  .details-media { max-height: 48vh; }
  .details-actions { position: sticky; bottom: 0; margin: 0 -1rem -1rem; padding: 0.85rem 1rem 1rem; border-top: 1px solid rgba(255,255,255,0.08); background: linear-gradient(180deg, rgba(10,10,16,0), rgba(10,10,16,0.88) 22%, rgba(10,10,16,0.97)); backdrop-filter: blur(10px); }
  .details-actions .btn { flex: 1 1 160px; justify-content: center; }
  .support-modal-embed { padding: 0.55rem; }
  .support-modal-embed .details-card {
    width: min(440px, calc(100% - 0.45rem));
    max-width: 440px;
    max-height: calc(100% - 0.45rem);
    border-radius: 14px;
  }
  .support-modal-embed .support-content {
    gap: 0.72rem;
    padding: 0.95rem 0.9rem;
  }
  .support-modal-embed .support-content h3 { font-size: 1.05rem; }
  .support-modal-embed .support-content .details-overview,
  .support-modal-embed .support-explain {
    max-width: 30ch;
    font-size: 0.8rem;
  }
  .support-modal-embed .details-actions {
    position: static;
    margin: 0.6rem 0 0;
    padding: 0;
    background: none;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 0.55rem;
  }
  .support-modal-embed .details-actions .btn {
    flex: 1 1 0;
    min-width: 0;
    padding-inline: 0.7rem;
    font-size: 0.84rem;
  }
}

/* ===========================================================
   RESPONSIVE -- Small (480px)
   =========================================================== */
@media (max-width: 480px) {
  /* Modal optimizations for very small screens */
  .details-modal { padding: 0.4rem; align-items: center; justify-content: center; }
  .details-card { 
    max-height: calc(100vh - 0.8rem); 
    max-width: 100%; 
    width: 100%;
    grid-template-columns: 1fr;
    gap: 0;
    margin: auto;
  }
  .details-media { 
    min-height: 160px; 
    max-height: 180px; 
  }
  .details-content { 
    padding: 0.75rem; 
    overflow-y: auto;
    max-height: calc(100vh - 160px - 80px);
  }
  .details-content h3 { 
    font-size: clamp(0.95rem, 5vw, 1.2rem); 
    margin-bottom: 0.3rem; 
    line-height: 1.2;
  }
  .details-meta, .details-extra { 
    font-size: 0.75rem; 
    margin-bottom: 0.25rem; 
  }
  .tag-pill, .media-tag { 
    padding: 0.15rem 0.45rem; 
    font-size: 0.6rem; 
  }
  .rating-badge { 
    padding: 0.12rem 0.4rem; 
    font-size: 0.65rem; 
  }
  .details-overview { 
    font-size: 0.8rem; 
    line-height: 1.4; 
    max-height: 120px; 
    margin-bottom: 0.5rem;
  }
  .details-reactions { 
    margin-top: 0.6rem; 
    gap: 0.25rem; 
    flex-direction: column;
  }
  .details-modal .reaction-btn { 
    padding: 0.35rem 0.65rem; 
    font-size: 0.7rem; 
    flex: 1;
    text-align: center;
  }
  .reaction-status { 
    font-size: 0.7rem; 
  }
  .details-actions { 
    margin-top: 0.6rem; 
    gap: 0.3rem; 
    flex-wrap: wrap;
  }
  .details-actions .btn { 
    flex: 1 1 calc(50% - 0.15rem); 
    padding: 0.5rem 0.4rem; 
    font-size: 0.75rem; 
    min-height: 38px;
    border-radius: 12px;
  }
  .details-actions .watchlist-btn {
    flex: 1 1 100%;
    white-space: normal;
  }
  .details-close { 
    width: 28px; 
    height: 28px; 
    font-size: 1.1rem; 
    top: 0.4rem; 
    right: 0.4rem;
  }
  /* Support modal - very compact */
  .support-card, .support-content {
    padding: 0.75rem;
  }
  .support-content h3 { 
    font-size: 0.9rem; 
    margin-bottom: 0.4rem; 
  }
  .support-content .details-overview {
    font-size: 0.75rem;
    max-height: 100px;
    margin-bottom: 0.6rem;
  }
  .support-content .details-actions {
    margin-top: 0.6rem;
    gap: 0.3rem;
  }
  .support-content .btn {
    padding: 0.45rem 0.5rem;
    font-size: 0.72rem;
    min-height: 36px;
  }
  
  .intro-actions { flex-direction: column; align-items: stretch; }
  #enterSiteBtn,
  #skipIntroBtn { width: 100%; }
  .topbar { padding: 0.85rem 3vw; }
  .mobile-icon-btn { width: 40px; height: 40px; border-radius: 11px; }
  .topbar-right { gap: 0.3rem; }
  .search-wrap input,
  .suggestion-form input { font-size: 16px; }
  .filter-btn { padding: 0.36rem 0.68rem; font-size: 0.78rem; }
  .filter-toggle { padding: 0.34rem 0.7rem; font-size: 0.74rem; }
  .filter-chip { padding: 0.3rem 0.7rem; font-size: 0.76rem; }
  .hero-content h1 { font-size: clamp(1.5rem, 8vw, 2.1rem); }
  .hero-meta, .details-meta, .details-extra, .suggestion-meta { font-size: 0.78rem; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.7rem; }
  .featured-strip { grid-auto-columns: minmax(190px, 190px); }
  .featured-chip { grid-template-columns: 58px minmax(0, 1fr); min-height: 82px; padding: 0.7rem; border-radius: 16px; }
  .featured-chip img { width: 58px; height: 58px; border-radius: 12px; }
  .catalog-band-aside { grid-template-columns: 1fr; }
  .poster-grid { gap: 0.7rem; }
  .poster-rail { grid-auto-columns: minmax(156px, 156px); gap: 0.75rem; }
  .poster-art { border-radius: 16px; }
  .poster-copy h3 { font-size: 0.88rem; }
  .poster-copy p { font-size: 0.76rem; }
  .discover-actions .btn { width: 100%; justify-content: center; }
  .discover-results-grid { gap: 0.75rem; }
  .discover-card-tag { font-size: 0.7rem; }
  .card { min-height: 225px; }
  .card-title { font-size: 0.84rem; }
  .details-card, .watch-player-block, .watch-info-block { border-radius: 12px; }
  .details-content, .watch-info-block, .watch-controls { padding: 0.85rem; }
  .watch-info-head { gap: 0.9rem; }
  .watch-poster { max-width: 170px; }
  .watch-info-block h1 { font-size: clamp(1.25rem, 5.5vw, 1.6rem); line-height: 1.1; margin-bottom: 0.45rem; }
  .watch-info-block .details-overview { font-size: 0.85rem; margin-bottom: 0.9rem; }
  .watch-info-block .details-reactions { padding-bottom: 0.4rem; margin-top: 0.9rem; gap: 0.4rem; }
  .watch-info-block .reaction-btn, .watch-info-block .details-reactions .btn { min-height: 40px; font-size: 0.8rem; padding: 0.55rem 0.7rem; }
  .site-stats { grid-template-columns: 1fr; }
  .watch-link-wrap { gap: 0.3rem; }
  .watch-link-wrap .btn { font-size: 0.8rem; padding: 0.6rem 0.7rem; }
  .watch-video-wrap.support-gate-active {
    min-height: clamp(290px, 82vw, 340px);
  }
  .support-modal-embed {
    padding: 0.45rem;
  }
  .support-modal-embed .details-card {
    width: min(405px, calc(100% - 0.2rem));
    max-width: 405px;
    max-height: calc(100% - 0.2rem);
    border-radius: 12px;
  }
  .support-modal-embed .support-content {
    gap: 0.62rem;
    padding: 0.82rem 0.78rem;
    overflow: hidden;
  }
  .support-modal-embed .support-content h3 {
    font-size: 0.96rem;
    line-height: 1.05;
  }
  .support-modal-embed .support-step-tag {
    min-height: 22px;
    padding: 0.15rem 0.45rem;
    font-size: 0.6rem;
  }
  .support-modal-embed .support-content .details-overview,
  .support-modal-embed .support-explain,
  .support-modal-embed .support-fallback {
    max-width: 28ch;
    font-size: 0.75rem;
    line-height: 1.45;
  }
  .support-modal-embed .support-explain {
    display: none;
  }
  .support-modal-embed .details-actions {
    gap: 0.45rem;
    margin-top: 0.48rem;
  }
  .support-modal-embed .details-actions .btn {
    min-height: 40px;
    padding: 0.68rem 0.55rem;
    font-size: 0.78rem;
  }
}

@media (min-width: 1600px) {
  body { font-size: 17px; }
  .section { padding-left: 6vw; padding-right: 6vw; }
  .watch-main { padding-left: 6vw; padding-right: 6vw; grid-template-columns: minmax(0, 1.7fr) minmax(360px, 0.8fr); }
  .hero { height: clamp(360px, 36vw, 620px); }
  .watch-video-wrap .plyr__control--overlaid { width: auto; height: auto; }
  .watch-video-wrap .plyr__control--overlaid svg { width: 38px; height: 38px; }
}

@media (hover: none) {
  .episode-controls select, .episode-controls .btn, .server-btn, .player-overlay-btn { min-height: 38px; }
  .server-btn { font-size: 0.9rem; padding: 0.55rem 0.8rem; }
  .episode-controls select { padding: 0.35rem 1.75rem 0.35rem 0.68rem; }
  .episode-controls .btn { padding: 0.35rem 0.72rem; }
}

@media (prefers-reduced-motion: reduce) {
  .details-modal:not(.hidden) .details-card,
  .details-modal:not(.hidden) .details-content,
  .details-modal:not(.hidden) .details-media img,
  .details-modal:not(.hidden) .details-backdrop,
  .hero-slide.active .hero-bg,
  .watch-video-wrap .plyr__control--overlaid::before,
  .watch-video-wrap .plyr__control--overlaid svg {
    animation: none !important;
  }
}

/* ===========================================================
   NETFLIX PASS -- Public Pages
   =========================================================== */
:root {
  --bg: #080808;
  --bg-soft: #111111;
  --bg-card: #161616;
  --text: #ffffff;
  --muted: #b3b3b3;
  --accent: #e50914;
  --accent-h: #ff3040;
  --blue: #b20710;
  --blue-h: #e50914;
  --glass: rgba(255,255,255,0.05);
  --glass-b: rgba(255,255,255,0.1);
  --shadow-lg: 0 28px 60px rgba(0,0,0,0.56);
  --glow-r: 0 0 34px rgba(229,9,20,0.2);
  --glow-b: 0 0 0 rgba(0,0,0,0);
}

body {
  background: linear-gradient(180deg, #070707 0%, #101010 38%, #070707 100%);
}

body::before {
  background:
    radial-gradient(ellipse 115% 74% at 50% -8%, rgba(229,9,20,0.16) 0%, transparent 58%),
    radial-gradient(ellipse 88% 54% at 12% 88%, rgba(98,6,13,0.14) 0%, transparent 56%),
    linear-gradient(180deg, rgba(255,255,255,0.02) 0%, transparent 26%, rgba(0,0,0,0.18) 100%);
  background-size: auto, auto, auto;
  opacity: 0.78;
}

body::after {
  background:
    radial-gradient(ellipse at 50% 100%, rgba(120,8,18,0.28), transparent 52%),
    radial-gradient(ellipse at 22% 76%, rgba(255,255,255,0.04), transparent 24%);
  filter: blur(48px);
  opacity: 0.5;
}

body.watch-page {
  background: linear-gradient(180deg, #060606 0%, #0d0d0d 42%, #050505 100%);
}

body.watch-page::before {
  background:
    radial-gradient(ellipse 92% 58% at 50% -6%, rgba(149,10,24,0.22) 0%, transparent 54%),
    radial-gradient(ellipse 74% 42% at 50% 18%, rgba(78,8,16,0.16) 0%, transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,0.016) 0%, transparent 34%, transparent 68%, rgba(0,0,0,0.26) 100%);
}

body.watch-page::after {
  background:
    radial-gradient(ellipse at 50% 100%, rgba(118,8,21,0.24), transparent 48%),
    radial-gradient(ellipse at 10% 76%, rgba(255,255,255,0.04), transparent 24%);
  opacity: 0.48;
}

.btn-primary {
  background: linear-gradient(180deg, #f40612 0%, #d80a13 100%);
  border-color: rgba(255,70,70,0.2);
  box-shadow: 0 14px 28px rgba(229,9,20,0.22);
}

.btn-primary:hover {
  background: linear-gradient(180deg, #ff1f2c 0%, #e50914 100%);
  box-shadow: 0 18px 34px rgba(229,9,20,0.32);
}

.btn-ghost {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.12);
}

.btn-ghost:hover {
  background: rgba(229,9,20,0.14);
  border-color: rgba(229,9,20,0.42);
}

.topbar {
  background: linear-gradient(180deg, rgba(8,8,8,0.96) 0%, rgba(8,8,8,0.78) 100%);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 14px 36px rgba(0,0,0,0.42);
}

.logo::after {
  background: linear-gradient(90deg, rgba(229,9,20,0.92), transparent 72%);
}

.mobile-icon-btn {
  border-color: rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.04);
}

.mobile-icon-btn:hover,
.mobile-icon-btn[aria-expanded="true"] {
  border-color: rgba(229,9,20,0.58);
  background: rgba(229,9,20,0.14);
}

.drawer-brand,
.site-footer-brand {
  background: linear-gradient(180deg, #ffffff 0%, #ffd5d9 45%, #e50914 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-link:hover {
  color: #fff;
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.12);
}

.nav-link.active {
  background: rgba(229,9,20,0.18);
  border-color: rgba(229,9,20,0.46);
  box-shadow: 0 10px 24px rgba(0,0,0,0.28);
}

.search-wrap input {
  border-color: rgba(255,255,255,0.08);
  background: rgba(18,18,18,0.88);
}

.search-wrap input:focus {
  border-color: rgba(229,9,20,0.62);
  background: rgba(16,16,16,0.96);
  box-shadow: 0 0 0 3px rgba(229,9,20,0.16);
}

.hero {
  background: linear-gradient(180deg, rgba(16,16,16,0.98), rgba(8,8,8,0.98));
  border-color: rgba(255,255,255,0.08);
  box-shadow: 0 28px 68px rgba(0,0,0,0.5);
}

.hero-slide::before {
  display: block;
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(0,0,0,0.88) 0%, rgba(0,0,0,0.68) 36%, rgba(0,0,0,0.2) 74%, rgba(0,0,0,0) 100%),
    linear-gradient(180deg, rgba(0,0,0,0.18) 0%, rgba(0,0,0,0.54) 100%);
}

.hero-content {
  z-index: 2;
}

.hero-badge {
  background: #e50914;
  box-shadow: 0 10px 24px rgba(229,9,20,0.28);
}

.hero-content h1 {
  text-shadow: 0 4px 18px rgba(0,0,0,0.72);
}

.hero-meta,
.section-kicker,
.promo-kicker,
.counter,
.discover-summary,
.site-footer-tagline {
  color: rgba(255,255,255,0.64);
}

.section-head h2::before {
  background: #e50914;
}

.featured-chip,
.spotlight-card,
.promo-banner,
.premium-banner,
.catalog-band,
.discover-form,
.watch-player-block,
.watch-info-block,
.watch-controls,
.site-stats,
.legal-disclaimer,
.details-card {
  border-color: rgba(255,255,255,0.08);
  background: linear-gradient(180deg, rgba(20,20,20,0.98), rgba(11,11,11,0.98));
  box-shadow: 0 24px 54px rgba(0,0,0,0.4);
}

.promo-banner {
  background:
    radial-gradient(circle at right top, rgba(229,9,20,0.16), transparent 34%),
    linear-gradient(180deg, rgba(20,20,20,0.98), rgba(11,11,11,0.98));
}

.premium-banner,
.catalog-band {
  background:
    radial-gradient(circle at left top, rgba(229,9,20,0.18), transparent 30%),
    linear-gradient(180deg, rgba(20,20,20,0.98), rgba(11,11,11,0.98));
}

.catalog-band-chip,
.premium-features span,
.stat-item {
  border-color: rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.04);
}

.featured-chip:hover,
.poster-card:hover .poster-art,
.card:hover {
  border-color: rgba(229,9,20,0.64);
  box-shadow: 0 28px 60px rgba(0,0,0,0.48), 0 0 0 1px rgba(229,9,20,0.4);
}

.poster-art,
.card {
  border-color: rgba(255,255,255,0.08);
  background: linear-gradient(180deg, #1a1a1a, #111111);
}

.card::after {
  background: linear-gradient(120deg, rgba(229,9,20,0.18) 0%, transparent 46%);
}

.rail-nav {
  border-color: rgba(255,255,255,0.1);
  background: rgba(16,16,16,0.88);
}

.rail-nav:hover {
  background: rgba(229,9,20,0.76);
  border-color: rgba(255,255,255,0.16);
}

.filter-btn,
.filter-toggle,
.filter-chip,
.reaction-btn {
  border-color: rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.05);
}

.filter-btn:hover,
.filter-toggle:hover,
.filter-toggle[aria-expanded="true"],
.filter-chip:hover,
.reaction-btn:hover {
  border-color: rgba(229,9,20,0.42);
  background: rgba(229,9,20,0.14);
  color: #fff;
}

.filter-btn.active,
.filter-chip.active,
.filter-toggle.is-active,
.reaction-btn.active {
  border-color: rgba(229,9,20,0.7);
  background: rgba(229,9,20,0.18);
  box-shadow: 0 0 0 1px rgba(229,9,20,0.12);
}

.filter-panel {
  background: rgba(14,14,14,0.94);
  box-shadow: 0 24px 52px rgba(0,0,0,0.4);
}

.filter-panel.is-open {
  border-color: rgba(255,255,255,0.08);
}

.tag-pill,
.media-tag {
  border-color: rgba(229,9,20,0.32);
  background: rgba(229,9,20,0.1);
  color: rgba(255,255,255,0.92);
}

.details-close:hover {
  background: rgba(229,9,20,0.78);
  border-color: rgba(229,9,20,0.86);
}

.discover-hero {
  background:
    radial-gradient(circle at 18% 18%, rgba(229,9,20,0.22), transparent 56%),
    linear-gradient(180deg, rgba(12,12,12,0.98), rgba(8,8,8,0.99));
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.discover-tag,
.filter-panel-label {
  color: rgba(255,255,255,0.62);
}

.footer {
  border-top: 1px solid rgba(255,255,255,0.05);
}

.footer::before {
  background: linear-gradient(90deg, transparent, rgba(229,9,20,0.4), transparent);
}

.footer-discord-btn {
  border-color: rgba(229,9,20,0.24);
  background: rgba(229,9,20,0.12);
}

.footer-discord-btn:hover {
  background: rgba(229,9,20,0.2);
}

/* ===========================================================
   SALON
   =========================================================== */
.salon-main {
  display: grid;
  gap: clamp(1.35rem, 3vw, 2.25rem);
  padding-bottom: 4.5rem;
}

.salon-entry-shell {
  display: grid;
  gap: clamp(1.15rem, 2.6vw, 1.9rem);
}

.watch-party-active .salon-main {
  gap: 1.25rem;
}

.salon-hero-card,
.salon-entry-card,
.salon-panel-card {
  border: 1px solid rgba(255,255,255,0.08);
  background: linear-gradient(180deg, rgba(20,20,20,0.98), rgba(11,11,11,0.98));
  box-shadow: 0 24px 54px rgba(0,0,0,0.36);
}

.salon-hero-card {
  padding: 1.6rem;
  border-radius: 26px;
  background:
    radial-gradient(circle at 88% 18%, rgba(229,9,20,0.18), transparent 28%),
    linear-gradient(180deg, rgba(20,20,20,0.98), rgba(11,11,11,0.98));
}

.salon-hero-card h1 {
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  margin: 0.3rem 0 0.6rem;
}

.salon-hero-card p:last-of-type {
  max-width: 70ch;
  color: rgba(255,255,255,0.74);
}

.salon-hero-points {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.salon-hero-points span,
.salon-member-item,
.salon-current-card,
.salon-playlist-item,
.salon-search-card {
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.04);
}

.salon-hero-points span {
  padding: 0.5rem 0.8rem;
  border-radius: 999px;
  color: rgba(255,255,255,0.82);
  font-size: 0.84rem;
  font-weight: 700;
}

.salon-entry-grid,
.salon-room-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 2.2vw, 1.45rem);
}

.salon-entry-card,
.salon-panel-card {
  border-radius: 22px;
  padding: clamp(1.1rem, 2.4vw, 1.45rem);
}

.salon-entry-card h2,
.salon-panel-head h3 {
  font-size: clamp(1.2rem, 2vw, 1.7rem);
  margin-top: 0.2rem;
}

.salon-form,
.salon-field,
.salon-panel-card,
.salon-current-copy {
  display: grid;
  gap: 0.7rem;
}

.salon-field span {
  color: rgba(255,255,255,0.66);
  font-size: 0.84rem;
  font-weight: 700;
}

.salon-field input,
.salon-search-row input {
  width: 100%;
  min-height: 46px;
  padding: 0.78rem 0.95rem;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(18,18,18,0.92);
  color: #fff;
  outline: none;
}

.salon-field input:focus,
.salon-search-row input:focus {
  border-color: rgba(229,9,20,0.62);
  box-shadow: 0 0 0 3px rgba(229,9,20,0.14);
}

.salon-room-head,
.salon-panel-head,
.salon-search-row,
.salon-launch-row,
.salon-room-head-actions,
.salon-playlist-actions {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  flex-wrap: wrap;
}

.salon-room-head {
  justify-content: space-between;
  margin-bottom: 1.2rem;
  padding-bottom: 0.35rem;
}

.salon-room-head h2 span {
  color: #fff;
}

.salon-panel-head {
  justify-content: space-between;
  margin-bottom: 0.8rem;
}

.salon-members-list,
.salon-search-results,
.salon-playlist {
  display: grid;
  gap: 0.95rem;
}

.salon-member-item {
  border-radius: 16px;
  padding: 0.85rem 0.95rem;
}

.salon-member-item strong,
.salon-current-copy strong,
.salon-playlist-copy strong,
.salon-search-copy strong {
  display: block;
  color: #fff;
}

.salon-member-item span,
.salon-current-copy span,
.salon-playlist-copy span,
.salon-playlist-copy small,
.salon-search-copy span {
  color: rgba(255,255,255,0.62);
  font-size: 0.84rem;
}

.salon-current-card {
  border-radius: 18px;
  padding: 1rem;
}

.salon-room {
  display: grid;
  gap: clamp(1rem, 2.2vw, 1.35rem);
}

.salon-current-media,
.salon-search-card {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 0.85rem;
  align-items: center;
}

.salon-current-media img,
.salon-search-art img,
.salon-playlist-media img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: 14px;
  display: block;
}

.salon-current-media-placeholder,
.salon-search-placeholder,
.salon-playlist-placeholder {
  width: 100%;
  aspect-ratio: 2 / 3;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(229,9,20,0.22), rgba(255,255,255,0.04));
}

.salon-search-card {
  border-radius: 18px;
  padding: 0.8rem;
  grid-template-columns: 76px minmax(0, 1fr) auto;
}

.salon-playlist-item {
  border-radius: 18px;
  padding: 0.75rem;
  display: grid;
  grid-template-columns: auto 72px minmax(0, 1fr) auto;
  gap: 0.8rem;
  align-items: center;
}

.salon-playlist-rank {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(229,9,20,0.18);
  color: #fff;
  font-weight: 800;
}

.salon-playlist-media {
  width: 72px;
}

.salon-vote-btn.is-active {
  border-color: rgba(229,9,20,0.7);
  background: rgba(229,9,20,0.18);
}

.room-session-bar {
  margin-bottom: 0.8rem;
  padding: 0.7rem 0.85rem;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.04);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.room-session-copy {
  display: grid;
  gap: 0.15rem;
}

.room-session-copy strong {
  color: #fff;
}

.room-session-copy span {
  color: rgba(255,255,255,0.66);
  font-size: 0.84rem;
}

.room-session-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.room-chat-panel {
  margin-bottom: 0.9rem;
  padding: 1rem;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,0.08);
  background:
    radial-gradient(circle at top right, rgba(229,9,20,0.14), transparent 28%),
    radial-gradient(circle at bottom left, rgba(255,255,255,0.05), transparent 32%),
    linear-gradient(180deg, rgba(18,18,18,0.96), rgba(8,8,8,0.98));
  box-shadow: 0 24px 56px rgba(0,0,0,0.32);
  display: grid;
  gap: 0.85rem;
  overflow: hidden;
}

.room-chat-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.9rem;
  flex-wrap: wrap;
}

.room-chat-title-wrap {
  display: grid;
  gap: 0.15rem;
}

.room-chat-kicker {
  margin: 0;
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.56);
  font-weight: 800;
}

.room-chat-title-wrap h2 {
  margin: 0;
  font-size: clamp(1rem, 2vw, 1.3rem);
  color: #fff;
}

.room-chat-status {
  margin: 0;
  color: rgba(255,255,255,0.68);
  font-size: 0.84rem;
}

.room-chat-head-actions {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.room-chat-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 32px;
  padding: 0.35rem 0.72rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.05);
  color: rgba(255,255,255,0.8);
  font-size: 0.72rem;
  font-weight: 700;
}

.room-chat-pill-live {
  border-color: rgba(229,9,20,0.3);
  background: rgba(229,9,20,0.14);
  color: #fff;
}

.room-chat-messages {
  min-height: 220px;
  max-height: 360px;
  overflow-y: auto;
  padding-right: 0.25rem;
  display: grid;
  gap: 0.65rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(229,9,20,0.45) rgba(255,255,255,0.05);
}

.room-chat-messages::-webkit-scrollbar {
  width: 8px;
}

.room-chat-messages::-webkit-scrollbar-thumb {
  background: rgba(229,9,20,0.45);
  border-radius: 999px;
}

.room-chat-messages::-webkit-scrollbar-track {
  background: rgba(255,255,255,0.05);
  border-radius: 999px;
}

.room-chat-empty {
  display: grid;
  gap: 0.35rem;
  place-items: center;
  min-height: 180px;
  padding: 1.15rem;
  text-align: center;
  border-radius: 18px;
  border: 1px dashed rgba(255,255,255,0.09);
  background: rgba(255,255,255,0.03);
  color: rgba(255,255,255,0.68);
}

.room-chat-empty strong {
  color: #fff;
}

.room-chat-message {
  --message-accent: #e50914;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.72rem;
  align-items: start;
  padding: 0.72rem 0.8rem;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.06);
  background: rgba(255,255,255,0.03);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.03);
}

.room-chat-message.is-self {
  border-color: rgba(229,9,20,0.22);
  background:
    radial-gradient(circle at top right, rgba(229,9,20,0.16), transparent 40%),
    rgba(255,255,255,0.04);
}

.room-chat-message.is-system {
  grid-template-columns: 1fr;
  gap: 0.45rem;
  padding: 0.7rem 0.85rem;
  background: linear-gradient(90deg, rgba(229,9,20,0.1), rgba(255,255,255,0.03));
  border-color: rgba(229,9,20,0.16);
}

.room-chat-avatar {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  color: #fff;
  background: linear-gradient(135deg, var(--message-accent), rgba(12,12,12,0.98));
  box-shadow: 0 12px 20px rgba(0,0,0,0.26);
}

.room-chat-message.is-system .room-chat-avatar {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(229,9,20,0.9), rgba(255,160,160,0.85));
  font-size: 1rem;
}

.room-chat-bubble {
  min-width: 0;
  display: grid;
  gap: 0.34rem;
}

.room-chat-meta {
  display: flex;
  align-items: center;
  gap: 0.42rem;
  flex-wrap: wrap;
}

.room-chat-name {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--message-accent);
}

.room-chat-role {
  padding: 0.14rem 0.45rem;
  border-radius: 999px;
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.05);
  color: rgba(255,255,255,0.76);
}

.room-chat-role.is-host {
  border-color: rgba(229,9,20,0.24);
  background: rgba(229,9,20,0.14);
  color: #fff;
}

.room-chat-time {
  margin-left: auto;
  font-size: 0.68rem;
  color: rgba(255,255,255,0.45);
}

.room-chat-message.is-system .room-chat-time {
  margin-left: 0;
}

.room-chat-text {
  margin: 0;
  color: rgba(255,255,255,0.92);
  line-height: 1.55;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-size: 0.92rem;
}

.room-chat-text.is-emoji-only {
  font-size: 1.7rem;
  line-height: 1.2;
}

.room-chat-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
  flex-wrap: wrap;
}

.room-chat-quick-emojis {
  display: flex;
  align-items: center;
  gap: 0.42rem;
  flex-wrap: wrap;
}

.room-emoji-chip,
.room-emoji-option {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.05);
  color: #fff;
  font-size: 1.12rem;
  cursor: pointer;
  transition: transform 140ms ease, border-color 140ms ease, background 140ms ease;
}

.room-emoji-chip:hover,
.room-emoji-option:hover,
.room-chat-emoji-toggle:hover {
  transform: translateY(-1px);
  border-color: rgba(229,9,20,0.34);
  background: rgba(229,9,20,0.16);
}

.room-chat-emoji-toggle {
  min-height: 40px;
}

.room-emoji-picker {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(40px, 1fr));
  gap: 0.5rem;
  padding: 0.8rem;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.07);
  background: rgba(255,255,255,0.035);
}

.room-chat-form {
  display: grid;
  gap: 0.7rem;
}

.room-chat-input {
  width: 100%;
  min-height: 88px;
  max-height: 180px;
  resize: vertical;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.045);
  color: #fff;
  padding: 0.9rem 1rem;
  font: inherit;
  line-height: 1.5;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.03);
}

.room-chat-input:focus {
  outline: none;
  border-color: rgba(229,9,20,0.44);
  box-shadow: 0 0 0 3px rgba(229,9,20,0.12);
}

.room-chat-input::placeholder {
  color: rgba(255,255,255,0.45);
}

.room-chat-compose-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.room-chat-counter {
  color: rgba(255,255,255,0.58);
  font-size: 0.76rem;
  font-weight: 700;
}

.room-chat-counter.is-limit {
  color: #fff;
}

.room-chat-counter.is-warn {
  color: #ffb4b9;
}

@media (max-width: 768px) {
  .room-chat-panel {
    padding: 0.85rem;
    border-radius: 18px;
  }

  .room-chat-head,
  .room-chat-toolbar,
  .room-chat-compose-footer {
    align-items: stretch;
  }

  .room-chat-head-actions,
  .room-chat-quick-emojis {
    width: 100%;
  }

  .room-chat-pill {
    min-height: 30px;
  }

  .room-chat-messages {
    min-height: 180px;
    max-height: 300px;
  }

  .room-chat-input {
    min-height: 78px;
  }

  .room-chat-emoji-toggle,
  .room-chat-compose-footer .btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .room-chat-panel {
    padding: 0.75rem;
    gap: 0.7rem;
  }

  .room-chat-title-wrap h2 {
    font-size: 1rem;
  }

  .room-chat-status,
  .room-chat-text {
    font-size: 0.84rem;
  }

  .room-chat-message {
    padding: 0.65rem 0.72rem;
    gap: 0.6rem;
    border-radius: 16px;
  }

  .room-chat-avatar {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    font-size: 0.88rem;
  }

  .room-chat-meta {
    gap: 0.32rem;
  }

  .room-chat-name {
    font-size: 0.8rem;
  }

  .room-chat-role {
    font-size: 0.58rem;
  }

  .room-chat-time {
    width: 100%;
    margin-left: 0;
  }

  .room-chat-messages {
    min-height: 170px;
    max-height: 250px;
  }

  .room-chat-input {
    min-height: 72px;
    padding: 0.8rem 0.85rem;
    border-radius: 16px;
  }

  .room-emoji-chip,
  .room-emoji-option {
    width: 38px;
    height: 38px;
    border-radius: 12px;
  }
}

.room-launch-overlay {
  position: fixed;
  inset: 0;
  z-index: 130;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.room-launch-overlay.hidden {
  display: none;
}

body.room-launch-active {
  overflow: hidden;
}

.room-launch-backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 22% 20%, rgba(229, 9, 20, 0.24), transparent 45%),
    radial-gradient(circle at 78% 78%, rgba(43, 140, 255, 0.2), transparent 50%),
    rgba(5, 7, 14, 0.82);
  backdrop-filter: blur(10px);
}

.room-launch-card {
  position: relative;
  z-index: 1;
  width: min(520px, 100%);
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background:
    radial-gradient(circle at 80% 0%, rgba(229, 9, 20, 0.24), transparent 46%),
    radial-gradient(circle at 10% 100%, rgba(43, 140, 255, 0.22), transparent 48%),
    linear-gradient(180deg, rgba(15, 18, 28, 0.98), rgba(8, 10, 16, 0.98));
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.56);
  padding: clamp(1rem, 3vw, 1.6rem);
  text-align: center;
}

.room-launch-kicker {
  margin: 0;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.74rem;
  font-weight: 800;
}

.room-launch-card h3 {
  margin: 0.35rem 0 0.85rem;
  font-size: clamp(1.2rem, 3.5vw, 2rem);
  color: #fff;
}

.room-launch-count {
  width: clamp(110px, 26vw, 170px);
  height: clamp(110px, 26vw, 170px);
  margin: 0 auto 0.8rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(3rem, 13vw, 5.4rem);
  line-height: 1;
  color: #fff;
  border: 3px solid rgba(255, 255, 255, 0.36);
  background:
    radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.24), transparent 45%),
    linear-gradient(140deg, rgba(229, 9, 20, 0.62), rgba(43, 140, 255, 0.52));
  text-shadow: 0 8px 20px rgba(0, 0, 0, 0.34);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.42), 0 0 0 10px rgba(255, 255, 255, 0.06);
  animation: roomLaunchPulse 700ms var(--ease) infinite;
}

.room-launch-text {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(0.88rem, 2.5vw, 1rem);
}

.room-launch-overlay.is-go .room-launch-count {
  background: linear-gradient(140deg, rgba(25, 176, 99, 0.7), rgba(229, 9, 20, 0.5));
}

@keyframes roomLaunchPulse {
  0% {
    transform: scale(0.94);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.36), 0 0 0 0 rgba(229, 9, 20, 0.36);
  }
  65% {
    transform: scale(1);
    box-shadow: 0 20px 44px rgba(0, 0, 0, 0.44), 0 0 0 16px rgba(229, 9, 20, 0);
  }
  100% {
    transform: scale(0.94);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.36), 0 0 0 0 rgba(229, 9, 20, 0);
  }
}

@media (max-width: 980px) {
  .salon-main,
  .salon-entry-shell,
  .salon-room {
    gap: 1rem;
  }

  .salon-entry-grid,
  .salon-room-grid {
    grid-template-columns: 1fr;
  }

  .salon-search-card,
  .salon-playlist-item {
    grid-template-columns: 1fr;
  }

  .salon-playlist-media {
    width: 88px;
  }

  .room-launch-card {
    border-radius: 18px;
  }
}

/* ===========================================================
   STREAMIX SKIN
   =========================================================== */
body.streamix-skin,
body.streamix-skin.watch-page {
  font-family: 'Inter', sans-serif;
  background: #0a0a0f;
  color: #ffffff;
}

body.streamix-skin::before,
body.streamix-skin::after,
body.streamix-skin.watch-page::before,
body.streamix-skin.watch-page::after {
  content: none;
  display: none;
}

body.streamix-skin h1,
body.streamix-skin h2,
body.streamix-skin h3,
body.streamix-skin h4,
body.streamix-skin .logo,
body.streamix-skin .section-title,
body.streamix-skin .card-title,
body.streamix-skin .watch-tagline,
body.streamix-skin .site-footer-brand {
  font-family: 'Space Grotesk', sans-serif;
  letter-spacing: -0.02em;
}

body.streamix-skin .bg-atmosphere {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

body.streamix-skin .bg-atmosphere::before {
  content: '';
  position: absolute;
  inset: -50%;
  background:
    radial-gradient(ellipse at 20% 20%, rgba(229, 9, 20, 0.08) 0%, transparent 46%),
    radial-gradient(ellipse at 80% 80%, rgba(82, 130, 255, 0.06) 0%, transparent 44%),
    radial-gradient(ellipse at 50% 50%, rgba(255, 215, 0, 0.03) 0%, transparent 56%);
  animation: streamix-atmosphere-float 30s ease-in-out infinite;
}

body.streamix-skin .noise-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.015;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

@keyframes streamix-atmosphere-float {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  33% { transform: translate(2%, 2%) rotate(1deg); }
  66% { transform: translate(-1%, 1%) rotate(-0.5deg); }
}

body.streamix-skin main,
body.streamix-skin .footer,
body.streamix-skin .topbar {
  position: relative;
  z-index: 2;
}

body.streamix-skin .topbar {
  background: linear-gradient(to bottom, rgba(10, 10, 15, 0.95), rgba(10, 10, 15, 0.68));
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: none;
  backdrop-filter: none;
}

body.streamix-skin .topbar.scrolled {
  background: rgba(10, 10, 15, 0.98);
  border-bottom-color: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.34);
}

body.streamix-skin .logo {
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-transform: none;
  gap: 0;
}

body.streamix-skin .logo::after {
  display: none;
}

body.streamix-skin .logo-cin,
body.streamix-skin .logo-flix {
  background: linear-gradient(135deg, #e50914, #ff6b6b);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: none;
}

body.streamix-skin .main-nav {
  gap: 1.35rem;
  overflow: visible;
}

body.streamix-skin .nav-link {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #8b8b9a;
  font-size: 0.9rem;
  font-weight: 500;
  position: relative;
}

body.streamix-skin .nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: #e50914;
  transition: width 0.28s ease;
}

body.streamix-skin .nav-link:hover,
body.streamix-skin .nav-link.active {
  color: #ffffff;
  background: transparent;
  box-shadow: none;
}

body.streamix-skin .nav-link:hover::after,
body.streamix-skin .nav-link.active::after {
  width: 100%;
}

body.streamix-skin .search-wrap {
  width: min(220px, 100%);
  min-width: 220px;
}

body.streamix-skin .search-wrap input {
  border-radius: 999px;
  padding: 0.72rem 1rem 0.72rem 2.65rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background-color: #1a1a24;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.66)' stroke-width='2'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cpath d='m21 21-4.3-4.3'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: 0.95rem center;
  color: #ffffff;
  box-shadow: none;
}

body.streamix-skin .search-wrap input:focus {
  border-color: rgba(229, 9, 20, 0.55);
  box-shadow: 0 0 20px rgba(229, 9, 20, 0.2);
}

body.streamix-skin .mobile-icon-btn {
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

body.streamix-skin .hero {
  margin: 0 2rem;
  min-height: 540px;
  height: calc(85vh - 36px);
  max-height: 900px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: #12121a;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.32);
}

body.streamix-skin .hero-slide::before {
  display: block;
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to top, rgba(10, 10, 15, 0.95) 0%, rgba(10, 10, 15, 0.45) 42%, rgba(10, 10, 15, 0.18) 70%, transparent 100%),
    linear-gradient(to right, rgba(10, 10, 15, 0.92) 0%, rgba(10, 10, 15, 0.55) 38%, transparent 72%);
}

body.streamix-skin .hero-slide::after {
  display: none;
}

body.streamix-skin .hero-bg {
  opacity: 0.72;
  filter: saturate(0.95);
}

body.streamix-skin .hero-content {
  z-index: 2;
  max-width: 600px;
  left: 3rem;
  right: auto;
  bottom: 3rem;
}

body.streamix-skin .hero-badge {
  background: #e50914;
  color: #fff;
  border-radius: 4px;
  padding: 0.28rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  box-shadow: none;
}

body.streamix-skin .hero-content h1 {
  font-size: clamp(2.7rem, 6vw, 4.7rem);
  line-height: 1.04;
  margin-bottom: 0.9rem;
  text-shadow: 0 10px 36px rgba(0, 0, 0, 0.4);
}

body.streamix-skin .hero-meta,
body.streamix-skin .details-meta,
body.streamix-skin .details-extra,
body.streamix-skin .counter,
body.streamix-skin .discover-summary,
body.streamix-skin .site-footer-tagline {
  color: #8b8b9a;
}

body.streamix-skin .section {
  padding-top: 2rem;
}

body.streamix-skin .section-head {
  margin-bottom: 1rem;
}

body.streamix-skin .section-head h2 {
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-transform: none;
  padding-left: 0;
}

body.streamix-skin .section-head h2::before {
  display: none;
}

body.streamix-skin .section-kicker,
body.streamix-skin .promo-kicker,
body.streamix-skin .discover-tag,
body.streamix-skin .filter-panel-label {
  color: #8b8b9a;
  letter-spacing: 0.08em;
}

body.streamix-skin .rail-wrap,
body.streamix-skin .content-slider {
  position: relative;
}

body.streamix-skin .rail-nav {
  top: 40%;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #1a1a24;
  color: #ffffff;
  font-size: 1.35rem;
}

body.streamix-skin .rail-nav.prev {
  left: -1.4rem;
}

body.streamix-skin .rail-nav.next {
  right: -1.4rem;
}

body.streamix-skin .rail-nav:hover {
  background: #e50914;
  border-color: #e50914;
}

body.streamix-skin .card,
body.streamix-skin .poster-art,
body.streamix-skin .featured-chip,
body.streamix-skin .spotlight-card,
body.streamix-skin .catalog-band,
body.streamix-skin .discover-form,
body.streamix-skin .watch-player-block,
body.streamix-skin .watch-info-block,
body.streamix-skin .watch-controls,
body.streamix-skin .details-card,
body.streamix-skin .site-stats,
body.streamix-skin .legal-disclaimer {
  background: linear-gradient(180deg, #12121a 0%, #0e0e15 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.28);
}

body.streamix-skin .card,
body.streamix-skin .poster-art {
  border-radius: 12px;
}

body.streamix-skin .card:hover,
body.streamix-skin .poster-card:hover .poster-art,
body.streamix-skin .featured-chip:hover {
  transform: translateY(-4px) scale(1.02);
  border-color: rgba(229, 9, 20, 0.5);
  box-shadow: 0 24px 52px rgba(0, 0, 0, 0.4);
}

body.streamix-skin .card::before {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, transparent 62%);
}

body.streamix-skin .card::after {
  background: linear-gradient(120deg, rgba(229, 9, 20, 0.16) 0%, transparent 48%);
}

body.streamix-skin .card-title {
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

body.streamix-skin .card-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: #8b8b9a;
}

body.streamix-skin .spotlight-card,
body.streamix-skin .catalog-band {
  border-radius: 16px;
}

body.streamix-skin .details-backdrop {
  background: rgba(0, 0, 0, 0.85);
}

body.streamix-skin .details-card {
  border-radius: 16px;
}

body.streamix-skin .details-close {
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.5);
  border-color: rgba(255, 255, 255, 0.1);
}

body.streamix-skin .details-close:hover {
  background: #e50914;
  border-color: #e50914;
}

body.streamix-skin .discover-hero {
  background:
    radial-gradient(circle at 18% 18%, rgba(229, 9, 20, 0.16), transparent 36%),
    linear-gradient(180deg, rgba(18, 18, 26, 0.98), rgba(10, 10, 15, 1));
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

body.streamix-skin .watch-video-shell,
body.streamix-skin .watch-player-block,
body.streamix-skin .watch-info-block,
body.streamix-skin .watch-controls {
  border-radius: 16px;
}

body.streamix-skin .watch-video-wrap .plyr--video .plyr__controls,
body.streamix-skin .player-overlay-btn,
body.streamix-skin .watch-player-block,
body.streamix-skin .watch-video-shell {
  backdrop-filter: none;
}

body.streamix-skin .watch-video-wrap .plyr--video .plyr__controls {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.82) 100%);
}

body.streamix-skin .player-overlay-btn,
body.streamix-skin .filter-btn,
body.streamix-skin .filter-toggle,
body.streamix-skin .filter-chip,
body.streamix-skin .reaction-btn,
body.streamix-skin .tag-pill {
  border-radius: 10px;
}

body.streamix-skin .footer {
  background: transparent;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

body.streamix-skin .footer::before {
  background: linear-gradient(90deg, transparent, rgba(229, 9, 20, 0.32), transparent);
}

body.streamix-skin .footer-discord-btn {
  background: rgba(229, 9, 20, 0.12);
  border-color: rgba(229, 9, 20, 0.24);
}

body.streamix-skin .footer-discord-btn:hover {
  background: rgba(229, 9, 20, 0.22);
}

@media (max-width: 1024px) {
  body.streamix-skin .hero {
    margin: 0 1.5rem;
    min-height: 460px;
    height: clamp(420px, 74vh, 640px);
  }

  body.streamix-skin .hero-content {
    left: 1.6rem;
    right: 1.6rem;
    bottom: 1.8rem;
    max-width: 560px;
  }
}

@media (max-width: 640px) {
  body.streamix-skin .topbar {
    padding-top: 1rem;
    padding-bottom: 1rem;
  }

  body.streamix-skin .main-nav {
    gap: 0.8rem;
  }

  body.streamix-skin .search-wrap {
    width: 100%;
    min-width: 0;
  }

  body.streamix-skin .hero {
    margin: 0 1rem;
    min-height: 380px;
    height: clamp(360px, 68vh, 520px);
    border-radius: 18px;
  }

  body.streamix-skin .hero-content {
    left: 1rem;
    right: 1rem;
    bottom: 1.1rem;
    max-width: none;
  }

  body.streamix-skin .hero-content h1 {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  body.streamix-skin .section,
  body.streamix-skin .browse-main,
  body.streamix-skin .discover-main,
  body.streamix-skin .watch-main {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  body.streamix-skin .rail-nav {
    width: 40px;
    height: 40px;
  }

  body.streamix-skin .rail-nav.prev {
    left: -0.6rem;
  }

  body.streamix-skin .rail-nav.next {
    right: -0.6rem;
  }
}

/* ===========================================================
   CINFLIX-APP REFERENCE LAYER
   =========================================================== */
body.streamix-skin {
  --cf-app-bg: #090910;
  --cf-app-bg-2: #0e0e18;
  --cf-app-surface: #12121f;
  --cf-app-surface-2: #1a1a2e;
  --cf-app-border: rgba(255,255,255,0.07);
  --cf-app-accent: #e8c547;
  --cf-app-accent-2: #ff6b35;
  --cf-app-accent-3: #7c6bff;
  --cf-app-text: #f0f0f5;
  --cf-app-muted: #8080a0;
  --cf-app-dim: #505068;
  --cf-app-ease: cubic-bezier(.22,.68,0,1.2);
  --cf-app-ease-soft: cubic-bezier(.4,0,.2,1);
  background: var(--cf-app-bg);
  color: var(--cf-app-text);
  font-family: 'DM Sans', sans-serif;
}

body.streamix-skin h1,
body.streamix-skin h2,
body.streamix-skin h3,
body.streamix-skin h4,
body.streamix-skin .logo,
body.streamix-skin .section-title,
body.streamix-skin .card-title {
  font-family: 'Syne', sans-serif;
  letter-spacing: -0.03em;
}

body.streamix-skin .topbar {
  position: sticky;
  top: 0;
  min-height: 64px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: linear-gradient(to bottom, rgba(9,9,16,0.95), rgba(9,9,16,0));
  border-bottom: 0;
  box-shadow: none;
  backdrop-filter: blur(0);
  z-index: 100;
}

body.streamix-skin .topbar.scrolled {
  background: rgba(9,9,16,0.97);
  border-bottom: 1px solid var(--cf-app-border);
  backdrop-filter: blur(20px);
}

body.streamix-skin .logo {
  font-size: 26px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  letter-spacing: -0.03em;
  text-decoration: none;
}

body.streamix-skin .logo::after {
  display: none;
}

body.streamix-skin .logo-cin {
  color: var(--cf-app-text);
  -webkit-text-fill-color: currentColor;
}

body.streamix-skin .logo-flix {
  color: var(--cf-app-accent);
  -webkit-text-fill-color: currentColor;
}

body.streamix-skin .topbar-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-left: auto;
  min-width: 0;
}

body.streamix-skin .drawer-head {
  display: none;
}

body.streamix-skin .main-nav {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  overflow-x: auto;
  scrollbar-width: none;
}

body.streamix-skin .main-nav::-webkit-scrollbar {
  display: none;
}

body.streamix-skin .nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0.35rem 0.8rem;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--cf-app-muted);
  background: transparent;
  transition: color 0.2s ease, background 0.2s ease, transform 0.18s ease;
}

body.streamix-skin .nav-link::after {
  display: none;
}

body.streamix-skin .nav-link:hover,
body.streamix-skin .nav-link.active {
  color: var(--cf-app-text);
  background: rgba(255,255,255,0.06);
}

body.streamix-skin .search-wrap {
  position: relative;
  display: flex;
  align-items: center;
  width: 180px;
  min-width: 180px;
}

body.streamix-skin .search-icon {
  position: absolute;
  left: 10px;
  color: var(--cf-app-muted);
  pointer-events: none;
  font-size: 15px;
  line-height: 1;
}

body.streamix-skin .search-wrap input,
body.streamix-skin .search-input {
  width: 100%;
  padding: 0.55rem 0.8rem 0.55rem 2.15rem;
  border-radius: 8px;
  border: 1px solid var(--cf-app-border);
  background: var(--cf-app-surface);
  color: var(--cf-app-text);
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  transition: width 0.3s var(--cf-app-ease-soft), border-color 0.2s ease, box-shadow 0.2s ease;
}

body.streamix-skin .search-wrap input::placeholder,
body.streamix-skin .search-input::placeholder {
  color: var(--cf-app-muted);
}

body.streamix-skin .search-wrap:focus-within,
body.streamix-skin .search-wrap input:focus,
body.streamix-skin .search-input:focus {
  width: 240px;
  min-width: 240px;
  border-color: var(--cf-app-accent);
  box-shadow: none;
}

body.streamix-skin .btn {
  font-family: 'Syne', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  border-radius: 8px;
  padding: 0.55rem 1rem;
  transition: transform 0.15s var(--cf-app-ease), box-shadow 0.2s ease, opacity 0.2s ease, background 0.2s ease;
}

body.streamix-skin .btn:active {
  transform: scale(0.96);
}

body.streamix-skin .btn-primary {
  background: var(--cf-app-accent);
  color: #0a0a0f;
  border: 0;
  box-shadow: 0 4px 20px rgba(232,197,71,0.25);
}

body.streamix-skin .btn-primary:hover {
  background: #f3d468;
  box-shadow: 0 6px 28px rgba(232,197,71,0.4);
  transform: translateY(-1px);
}

body.streamix-skin .btn-ghost {
  background: rgba(255,255,255,0.08);
  color: var(--cf-app-text);
  border: 1px solid var(--cf-app-border);
  backdrop-filter: none;
}

body.streamix-skin .btn-ghost:hover,
body.streamix-skin .btn-ghost.is-active {
  background: rgba(255,255,255,0.14);
  border-color: rgba(255,255,255,0.12);
}

body.streamix-skin .topbar-cta {
  flex: 0 0 auto;
}

body.streamix-skin .hero {
  position: relative;
  height: clamp(460px, 80svh, 820px);
  min-height: 460px;
  max-height: 820px;
  margin: 0;
  border-radius: 0;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 0;
}

body.streamix-skin .hero::before,
body.streamix-skin .hero::after {
  display: none;
}

body.streamix-skin .hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 22%;
  background-repeat: no-repeat;
  opacity: 1;
  filter: none;
  transform: none;
  transition: background-image 0.8s ease, opacity 0.5s ease;
}

body.streamix-skin .hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(9,9,16,0.98) 0%, rgba(9,9,16,0.7) 50%, rgba(9,9,16,0.15) 100%),
    linear-gradient(to top, rgba(9,9,16,1) 0%, rgba(9,9,16,0.4) 40%, transparent 80%);
}

body.streamix-skin .hero-content {
  position: relative;
  z-index: 2;
  max-width: 620px;
  left: auto;
  right: auto;
  bottom: auto;
  padding: 0 40px 56px;
}

body.streamix-skin .hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid rgba(232,197,71,0.25);
  background: rgba(232,197,71,0.12);
  color: var(--cf-app-accent);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

body.streamix-skin .hero-kicker-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--cf-app-accent);
  box-shadow: 0 0 0 0 rgba(232,197,71,0.35);
  animation: cinflix-hero-pulse 2s infinite;
}

@keyframes cinflix-hero-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.4); }
}

body.streamix-skin .hero-title,
body.streamix-skin .hero-content h1 {
  margin-bottom: 16px;
  font-size: clamp(32px, 5vw, 58px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.04em;
  text-shadow: none;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  text-wrap: balance;
  word-break: break-word;
}

body.streamix-skin .hero-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
  color: var(--cf-app-muted);
  font-size: 13px;
  font-weight: 500;
  max-width: 100%;
  overflow: hidden;
}

body.streamix-skin .hero-meta .rating {
  color: var(--cf-app-accent);
  font-weight: 700;
}

body.streamix-skin .hero-meta .dot {
  width: 3px;
  height: 3px;
  border-radius: 999px;
  background: var(--cf-app-dim);
}

body.streamix-skin .hero-overview {
  max-width: 52ch;
  margin-bottom: 28px;
  color: rgba(240,240,245,0.75);
  font-size: 14px;
  line-height: 1.7;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

body.streamix-skin .hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

body.streamix-skin .hero-indicators {
  position: absolute;
  right: 48px;
  bottom: 14px;
  z-index: 2;
  display: flex;
  gap: 8px;
}

body.streamix-skin .hero-dot {
  width: 6px;
  height: 6px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,0.3);
  cursor: pointer;
  transition: all 0.2s ease;
}

body.streamix-skin .hero-dot.active {
  width: 22px;
  border-radius: 3px;
  background: var(--cf-app-accent);
}

@media (max-width: 980px) {
  body.streamix-skin .topbar {
    padding-left: 18px;
    padding-right: 18px;
  }

  body.streamix-skin .hero {
    height: clamp(430px, 76svh, 700px);
    min-height: 430px;
  }

  body.streamix-skin .hero-content {
    padding: 0 24px 46px;
    max-width: 100%;
  }

  body.streamix-skin .hero-indicators {
    right: 20px;
    bottom: 12px;
  }
}

@media (max-width: 820px) {
  body.streamix-skin .mobile-header-tools {
    display: flex;
    margin-left: auto;
  }

  body.streamix-skin .topbar-right {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 120;
    width: min(84vw, 340px);
    max-width: 340px;
    padding: calc(max(1rem, env(safe-area-inset-top)) + 4.2rem) 18px 18px;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0.75rem;
    background: rgba(9,9,16,0.98);
    border-right: 1px solid var(--cf-app-border);
    box-shadow: 24px 0 60px rgba(0,0,0,0.45);
    transform: translateX(-100%);
    transition: transform 0.28s var(--cf-app-ease-soft);
  }

  body.mobile-nav-open .topbar-right {
    transform: translateX(0);
  }

  body.streamix-skin .main-nav {
    display: grid;
    gap: 0.45rem;
    margin-top: 0.4rem;
  }

  body.streamix-skin .nav-link {
    width: 100%;
    justify-content: flex-start;
    padding: 0.72rem 0.9rem;
    font-size: 0.92rem;
  }

  body.streamix-skin .search-wrap {
    width: 100%;
    min-width: 0;
  }

  body.streamix-skin .topbar-cta {
    width: 100%;
    justify-content: center;
    margin-top: auto;
  }

  body.mobile-search-open .topbar-right {
    transform: none;
    width: 100%;
    max-width: none;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    pointer-events: none;
  }

  body.mobile-search-open .main-nav,
  body.mobile-search-open .topbar-cta {
    display: none;
  }

  body.streamix-skin .search-wrap:not(.watch-link-wrap) {
    position: fixed;
    top: calc(max(1rem, env(safe-area-inset-top)) + 3.4rem);
    left: 18px;
    right: 18px;
    z-index: 130;
    width: auto;
    transform: translateY(-14px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.18s ease, transform 0.18s ease;
  }

  body.mobile-search-open .search-wrap:not(.watch-link-wrap) {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
}

@media (max-width: 640px) {
  body.streamix-skin .topbar {
    min-height: 64px;
    padding-left: 16px;
    padding-right: 16px;
  }

  body.streamix-skin .hero {
    height: clamp(430px, 72svh, 620px);
    min-height: 430px;
  }

  body.streamix-skin .hero-content {
    padding: 0 18px 88px;
  }

  body.streamix-skin .hero-title,
  body.streamix-skin .hero-content h1 {
    font-size: clamp(1.65rem, 8.6vw, 2.1rem);
    -webkit-line-clamp: 2;
  }

  body.streamix-skin .hero-overview {
    -webkit-line-clamp: 2;
  }

  body.streamix-skin .hero-meta {
    font-size: 12px;
    gap: 8px;
    margin-bottom: 12px;
    max-height: 2.7em;
  }

  body.streamix-skin .hero-actions {
    gap: 8px;
    margin-bottom: 0;
  }

  body.streamix-skin .hero-indicators {
    left: 18px;
    right: 18px;
    bottom: 10px;
    justify-content: center;
    z-index: 3;
  }

  body.streamix-skin .hero-dot {
    width: 8px;
    height: 8px;
  }

  body.streamix-skin .hero-dot.active {
    width: 26px;
  }

  body.streamix-skin .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }
}

/* ===========================================================
   CINFLIX PHOTO REFERENCE REFRESH
   =========================================================== */
body.streamix-skin.cf-public-app:not(.watch-page) {
  --cf-hero-accent: #e50914;
  --cf-hero-accent-soft: #ff7a45;
  --cf-hero-accent-tint: rgba(229, 9, 20, 0.12);
  --cf-hero-accent-shadow: rgba(229, 9, 20, 0.24);
  --cf-hero-accent-active: rgba(229, 9, 20, 0.14);
  --cf-hero-accent-border: rgba(229, 9, 20, 0.38);
  background:
    radial-gradient(circle at 16% 0%, rgba(229, 9, 20, 0.08), transparent 22%),
    radial-gradient(circle at 84% 6%, rgba(232, 197, 71, 0.05), transparent 18%),
    linear-gradient(180deg, #040406 0%, #07070a 42%, #050508 100%);
}

body.streamix-skin.cf-public-app:not(.watch-page) main {
  position: relative;
  z-index: 1;
  padding-top: 92px;
}

body.streamix-skin.cf-public-app:not(.watch-page) .bg-atmosphere,
body.streamix-skin.cf-public-app:not(.watch-page) .noise-overlay {
  top: 74px;
}

body.streamix-skin.cf-public-app:not(.watch-page) .hero[data-hero-type="film"] {
  --cf-hero-accent: #e50914;
  --cf-hero-accent-soft: #ff7a45;
  --cf-hero-accent-tint: rgba(229, 9, 20, 0.12);
  --cf-hero-accent-shadow: rgba(229, 9, 20, 0.24);
  --cf-hero-accent-active: rgba(229, 9, 20, 0.14);
  --cf-hero-accent-border: rgba(229, 9, 20, 0.38);
}

body.streamix-skin.cf-public-app:not(.watch-page) .hero[data-hero-type="series"] {
  --cf-hero-accent: #2b8cff;
  --cf-hero-accent-soft: #6fc3ff;
  --cf-hero-accent-tint: rgba(43, 140, 255, 0.12);
  --cf-hero-accent-shadow: rgba(43, 140, 255, 0.22);
  --cf-hero-accent-active: rgba(43, 140, 255, 0.14);
  --cf-hero-accent-border: rgba(43, 140, 255, 0.34);
}

body.streamix-skin.cf-public-app:not(.watch-page) .hero[data-hero-type="anime"] {
  --cf-hero-accent: #e8c547;
  --cf-hero-accent-soft: #ffdc77;
  --cf-hero-accent-tint: rgba(232, 197, 71, 0.12);
  --cf-hero-accent-shadow: rgba(232, 197, 71, 0.22);
  --cf-hero-accent-active: rgba(232, 197, 71, 0.14);
  --cf-hero-accent-border: rgba(232, 197, 71, 0.34);
}

body.streamix-skin.cf-public-app:not(.watch-page) .topbar {
  position: absolute;
  inset: 0 0 auto;
  min-height: 76px;
  padding: 0.8rem 1rem 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 0.8rem;
  background: linear-gradient(180deg, rgba(5, 5, 8, 0.78), rgba(5, 5, 8, 0.06));
  border-bottom: 0;
  box-shadow: none;
  backdrop-filter: none;
}

body.streamix-skin.cf-public-app:not(.watch-page) .topbar.scrolled {
  padding-top: 0.55rem;
  padding-bottom: 0.55rem;
  background: linear-gradient(180deg, rgba(7, 7, 11, 0.94), rgba(7, 7, 11, 0.88));
  border-bottom: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(16px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
}

body.streamix-skin.cf-public-app:not(.watch-page) .logo {
  align-self: center;
  font-size: 1.42rem;
  letter-spacing: 0.04em;
  padding: 0.6rem 0.15rem 0.45rem;
}

body.streamix-skin.cf-public-app:not(.watch-page) .topbar-right {
  display: grid;
  grid-template-columns: minmax(0, max-content) minmax(240px, 420px) auto;
  align-items: center;
  justify-content: end;
  gap: 0.65rem;
  margin-left: auto;
}

body.streamix-skin.cf-public-app:not(.watch-page) .main-nav {
  padding: 0.22rem;
  gap: 0.18rem;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(8, 8, 12, 0.72);
  backdrop-filter: blur(14px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
}

body.streamix-skin.cf-public-app:not(.watch-page) .nav-link {
  min-height: 38px;
  padding: 0.58rem 0.82rem;
  border-radius: 12px;
  color: rgba(255,255,255,0.74);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

body.streamix-skin.cf-public-app:not(.watch-page) .nav-link:hover,
body.streamix-skin.cf-public-app:not(.watch-page) .nav-link.active {
  color: #fff;
  background: linear-gradient(135deg, rgba(229, 9, 20, 0.18), rgba(255, 107, 53, 0.09));
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06), 0 8px 18px rgba(0,0,0,0.18);
}

body.streamix-skin.cf-public-app:not(.watch-page) .search-wrap {
  width: min(420px, 100%);
  min-width: min(240px, 100%);
}

body.streamix-skin.cf-public-app:not(.watch-page) .search-icon {
  left: 0.9rem;
  font-size: 15px;
  color: rgba(255,255,255,0.58);
}

body.streamix-skin.cf-public-app:not(.watch-page) .search-wrap input,
body.streamix-skin.cf-public-app:not(.watch-page) .search-input {
  min-height: 44px;
  padding: 0.72rem 1rem 0.72rem 2.65rem;
  border-radius: 15px;
  border-color: rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.065);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
}

body.streamix-skin.cf-public-app:not(.watch-page) .search-wrap:focus-within,
body.streamix-skin.cf-public-app:not(.watch-page) .search-wrap input:focus,
body.streamix-skin.cf-public-app:not(.watch-page) .search-input:focus {
  width: min(460px, 100%);
  min-width: min(260px, 100%);
  border-color: rgba(229, 9, 20, 0.42);
  box-shadow: 0 0 0 3px rgba(229, 9, 20, 0.1);
}

body.streamix-skin.cf-public-app:not(.watch-page) .topbar-profile {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 44px;
  padding: 0.25rem 0.28rem 0.25rem 0.75rem;
  border-radius: 15px;
  background: rgba(8, 8, 12, 0.72);
  border: 1px solid rgba(255,255,255,0.08);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
}

body.streamix-skin.cf-public-app:not(.watch-page) .topbar-profile:hover {
  transform: translateY(-1px);
  background: rgba(15, 15, 22, 0.9);
}

body.streamix-skin.cf-public-app:not(.watch-page) .topbar-profile-copy {
  display: grid;
  gap: 0.1rem;
  text-align: right;
}

body.streamix-skin.cf-public-app:not(.watch-page) .topbar-profile-copy strong {
  font-size: 0.84rem;
  color: #fff;
}

body.streamix-skin.cf-public-app:not(.watch-page) .topbar-profile-copy small {
  color: rgba(255,255,255,0.52);
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

body.streamix-skin.cf-public-app:not(.watch-page) .topbar-profile-icon {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #e50914, #ff7a45 70%, #ffd36d);
  color: #fff;
  font-weight: 800;
  font-size: 0.85rem;
  box-shadow: 0 8px 18px rgba(229, 9, 20, 0.2);
}

body.streamix-skin.cf-public-app:not(.watch-page) .hero {
  margin: 4.9rem 0 0;
  min-height: clamp(430px, 68vh, 700px);
  height: clamp(430px, 68vh, 700px);
  max-height: none;
  border-radius: 24px;
  border: 0;
  box-shadow: none;
  overflow: hidden;
}

body.streamix-skin.cf-public-app:not(.watch-page) .hero-bg {
  background-position: center 20%;
  transform: scale(1.015);
}

body.streamix-skin.cf-public-app:not(.watch-page) .hero-bg::after {
  background:
    linear-gradient(to right, rgba(4, 4, 6, 0.98) 0%, rgba(4, 4, 6, 0.8) 34%, rgba(4, 4, 6, 0.24) 70%, rgba(4, 4, 6, 0.08) 100%),
    linear-gradient(to top, rgba(4, 4, 6, 1) 0%, rgba(4, 4, 6, 0.56) 30%, rgba(4, 4, 6, 0.08) 65%, rgba(4, 4, 6, 0) 100%);
}

body.streamix-skin.cf-public-app:not(.watch-page) .hero-content {
  max-width: 540px;
  padding: 5.8rem 2.4rem 4.6rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

body.streamix-skin.cf-public-app:not(.watch-page) .hero-kicker {
  margin-bottom: 0.8rem;
  padding: 0.34rem 0.72rem;
  border-radius: 999px;
  background: var(--cf-hero-accent-tint);
  border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.84);
  font-size: 0.68rem;
}

body.streamix-skin.cf-public-app:not(.watch-page) .hero-kicker-dot {
  background: var(--cf-hero-accent);
  box-shadow: 0 0 0 0 var(--cf-hero-accent-shadow);
}

body.streamix-skin.cf-public-app:not(.watch-page) .hero-title,
body.streamix-skin.cf-public-app:not(.watch-page) .hero-content h1 {
  margin-bottom: 0.75rem;
  max-width: 12ch;
  font-size: clamp(2.35rem, 5vw, 4.25rem);
  line-height: 0.97;
  font-weight: 800;
  text-shadow: 0 14px 34px rgba(0,0,0,0.3);
  display: block;
  overflow: visible;
  -webkit-box-orient: initial;
  -webkit-line-clamp: unset;
  text-wrap: balance;
  word-break: break-word;
  white-space: normal;
}

body.streamix-skin.cf-public-app:not(.watch-page) .hero-title.is-long-title,
body.streamix-skin.cf-public-app:not(.watch-page) .hero-content h1.is-long-title {
  max-width: 14ch;
  font-size: clamp(2rem, 4.4vw, 3.55rem);
  line-height: 1.01;
}

body.streamix-skin.cf-public-app:not(.watch-page) .hero-title.is-xlong-title,
body.streamix-skin.cf-public-app:not(.watch-page) .hero-content h1.is-xlong-title {
  max-width: 15ch;
  font-size: clamp(1.8rem, 3.9vw, 3rem);
  line-height: 1.04;
}

body.streamix-skin.cf-public-app:not(.watch-page) .hero-meta {
  margin-bottom: 0.7rem;
  color: rgba(255,255,255,0.72);
  font-size: 0.82rem;
}

body.streamix-skin.cf-public-app:not(.watch-page) .hero-overview {
  max-width: 42ch;
  margin-bottom: 1.15rem;
  color: rgba(255,255,255,0.7);
  font-size: 0.92rem;
  line-height: 1.58;
}

body.streamix-skin.cf-public-app:not(.watch-page) .hero-actions {
  gap: 0.7rem;
  align-items: center;
}

body.streamix-skin.cf-public-app:not(.watch-page) .hero-action-main,
body.streamix-skin.cf-public-app:not(.watch-page) .hero-action-plus {
  min-height: 49px;
  padding: 0.8rem 1.05rem;
  border-radius: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.78rem;
}

body.streamix-skin.cf-public-app:not(.watch-page) .hero-action-main {
  background: linear-gradient(135deg, var(--cf-hero-accent), var(--cf-hero-accent-soft));
  color: #fff;
  box-shadow: 0 16px 30px var(--cf-hero-accent-shadow);
}

body.streamix-skin.cf-public-app:not(.watch-page) .hero-action-main:hover {
  filter: brightness(1.05);
}

body.streamix-skin.cf-public-app:not(.watch-page) .hero-action-plus {
  background: rgba(8, 8, 14, 0.22);
  border: 1px solid rgba(255,255,255,0.16);
  color: #fff;
}

body.streamix-skin.cf-public-app:not(.watch-page) .hero-action-plus {
  width: 49px;
  min-width: 49px;
  padding: 0;
  font-size: 1.1rem;
  font-weight: 800;
}

body.streamix-skin.cf-public-app:not(.watch-page) .hero-action-plus.is-active {
  background: var(--cf-hero-accent-active);
  border-color: var(--cf-hero-accent-border);
}

body.streamix-skin.cf-public-app:not(.watch-page) .hero-action-glyph {
  font-size: 0.95rem;
  line-height: 1;
}

body.streamix-skin.cf-public-app:not(.watch-page) .hero-indicators {
  left: 50%;
  right: auto;
  bottom: 1rem;
  transform: translateX(-50%);
  gap: 0.55rem;
}

body.streamix-skin.cf-public-app:not(.watch-page) .hero-dot {
  width: 26px;
  height: 3px;
  border-radius: 999px;
  background: rgba(255,255,255,0.14);
}

body.streamix-skin.cf-public-app:not(.watch-page) .hero-dot.active {
  width: 32px;
  background: linear-gradient(90deg, var(--cf-hero-accent), var(--cf-hero-accent-soft));
}

body.streamix-skin.cf-public-app:not(.watch-page) .section {
  padding: 1.3rem max(16px, 2.2vw) 0;
}

body.streamix-skin.cf-public-app:not(.watch-page) .hero + .section {
  padding-top: 0.75rem;
}

body.streamix-skin.cf-public-app[data-page-view="latest"] main.browse-main {
  padding-top: 0;
}

body.streamix-skin.cf-public-app[data-page-view="latest"] .browse-main {
  padding-bottom: 4rem;
}

body.streamix-skin.cf-public-app[data-page-view="latest"] .topbar.cinflix-topbar-modern {
  background: transparent;
  border-bottom-color: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

body.streamix-skin.cf-public-app[data-page-view="latest"] .topbar.cinflix-topbar-modern.scrolled {
  background: linear-gradient(180deg, rgba(4, 4, 8, 0.8) 0%, rgba(4, 4, 8, 0.28) 100%);
  border-bottom-color: transparent;
  box-shadow: none;
  backdrop-filter: blur(8px);
}

body.streamix-skin.cf-public-app[data-page-view="latest"] .latest-hero {
  margin: 0;
  border-radius: 0;
  min-height: 100svh;
  height: 100svh;
  max-height: none;
  padding-top: clamp(4.9rem, 8vw, 6.6rem);
}

body.streamix-skin.cf-public-app[data-page-view="latest"] .latest-hero .hero-bg {
  background-position: center 18%;
}

body.streamix-skin.cf-public-app[data-page-view="latest"] .latest-hero .hero-bg::after {
  background:
    linear-gradient(to right, rgba(4, 4, 6, 0.98) 0%, rgba(4, 4, 6, 0.8) 36%, rgba(4, 4, 6, 0.2) 74%, rgba(4, 4, 6, 0.04) 100%),
    linear-gradient(to top, rgba(4, 4, 6, 1) 0%, rgba(4, 4, 6, 0.7) 28%, rgba(4, 4, 6, 0.16) 68%, rgba(4, 4, 6, 0) 100%);
}

body.streamix-skin.cf-public-app[data-page-view="latest"] .latest-browse-section {
  position: relative;
  z-index: 2;
  margin-top: clamp(-7rem, -8vw, -4.5rem);
  padding-top: 1.5rem;
  border-radius: 32px 32px 0 0;
  background:
    linear-gradient(180deg, rgba(8, 8, 14, 0.82) 0%, rgba(8, 8, 14, 0.97) 84px, rgba(8, 8, 14, 1) 180px);
  box-shadow: 0 -28px 70px rgba(0, 0, 0, 0.38);
}

body.streamix-skin.cf-public-app[data-page-view="latest"] .latest-browse-section .section-head,
body.streamix-skin.cf-public-app[data-page-view="latest"] .latest-browse-section .filter-bar,
body.streamix-skin.cf-public-app[data-page-view="latest"] .latest-browse-section .browse-grid {
  position: relative;
  z-index: 1;
}

body.streamix-skin.cf-public-app[data-page-view="latest"] .footer {
  margin-top: 0;
}

body.streamix-skin.cf-public-app[data-page-view] main {
  padding-top: 5.8rem;
}

body.streamix-skin.cf-public-app[data-page-view] main > .section:first-child {
  padding-top: 0.35rem;
}

body.streamix-skin.cf-public-app:not(.watch-page) .section-head {
  margin-bottom: 0.85rem;
}

body.streamix-skin.cf-public-app:not(.watch-page) .section-head h2 {
  font-size: clamp(1.2rem, 1.7vw, 1.55rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff7ef;
}

body.streamix-skin.cf-public-app:not(.watch-page) .section-kicker {
  color: rgba(255,255,255,0.5);
}

body.streamix-skin.cf-public-app:not(.watch-page) .rail {
  gap: 0.8rem;
}

body.streamix-skin.cf-public-app:not(.watch-page) .poster-rail {
  grid-auto-columns: minmax(176px, 176px);
}

body.streamix-skin.cf-public-app:not(.watch-page) .rail-nav {
  top: 42%;
  width: 46px;
  height: 46px;
  background: rgba(10, 10, 16, 0.85);
  border-color: rgba(255,255,255,0.12);
}

body.streamix-skin.cf-public-app:not(.watch-page) .rail-nav.prev {
  left: -0.7rem;
}

body.streamix-skin.cf-public-app:not(.watch-page) .rail-nav.next {
  right: -0.7rem;
}

body.streamix-skin.cf-public-app:not(.watch-page) .rail-nav:hover {
  background: linear-gradient(135deg, #e50914, #ff6b35);
  border-color: transparent;
}

body.streamix-skin.cf-public-app:not(.watch-page) .poster-art,
body.streamix-skin.cf-public-app:not(.watch-page) .featured-chip,
body.streamix-skin.cf-public-app:not(.watch-page) .spotlight-card,
body.streamix-skin.cf-public-app:not(.watch-page) .catalog-band {
  border-radius: 18px;
  border-color: rgba(255,255,255,0.1);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.03), transparent 20%),
    linear-gradient(165deg, rgba(16, 16, 22, 0.96), rgba(8, 8, 12, 0.98));
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.26);
}

body.streamix-skin.cf-public-app:not(.watch-page) .poster-card:hover .poster-art,
body.streamix-skin.cf-public-app:not(.watch-page) .featured-chip:hover {
  transform: translateY(-4px);
  border-color: rgba(229, 9, 20, 0.4);
  box-shadow: 0 22px 42px rgba(0, 0, 0, 0.34);
}

body.streamix-skin.cf-public-app:not(.watch-page) .poster-badge {
  background: rgba(6, 6, 10, 0.82);
}

body.streamix-skin.cf-public-app:not(.watch-page) .poster-badge-soft {
  background: rgba(229, 9, 20, 0.9);
}

body.streamix-skin.cf-public-app:not(.watch-page) .poster-copy h3 {
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

body.streamix-skin.cf-public-app:not(.watch-page) .poster-copy p {
  color: rgba(255,255,255,0.5);
  font-size: 0.75rem;
}

@media (max-width: 1180px) {
  body.streamix-skin.cf-public-app:not(.watch-page) .topbar-right {
    grid-template-columns: minmax(0, max-content) minmax(210px, 1fr) auto;
  }

  body.streamix-skin.cf-public-app:not(.watch-page) .main-nav {
    max-width: 100%;
  }

  body.streamix-skin.cf-public-app:not(.watch-page) .hero-content {
    padding-left: 1.8rem;
    padding-right: 1.8rem;
  }
}

@media (max-width: 920px) {
  body.streamix-skin.cf-public-app:not(.watch-page) .topbar {
    grid-template-columns: auto auto;
    padding-left: 1rem;
    padding-right: 1rem;
  }

  body.streamix-skin.cf-public-app:not(.watch-page) .hero {
    margin-top: 4.35rem;
    min-height: 420px;
    height: clamp(420px, 64vh, 620px);
  }

  body.streamix-skin.cf-public-app:not(.watch-page) .hero-content {
    max-width: 100%;
    padding-top: 6rem;
    padding-bottom: 5rem;
  }

  body.streamix-skin.cf-public-app:not(.watch-page) .hero-title,
  body.streamix-skin.cf-public-app:not(.watch-page) .hero-content h1 {
    max-width: 12ch;
    font-size: clamp(2.15rem, 7vw, 3.5rem);
  }

  body.streamix-skin.cf-public-app:not(.watch-page) .hero-title.is-long-title,
  body.streamix-skin.cf-public-app:not(.watch-page) .hero-content h1.is-long-title {
    max-width: 14ch;
    font-size: clamp(1.9rem, 6.1vw, 3rem);
  }

  body.streamix-skin.cf-public-app:not(.watch-page) .hero-title.is-xlong-title,
  body.streamix-skin.cf-public-app:not(.watch-page) .hero-content h1.is-xlong-title {
    max-width: 15ch;
    font-size: clamp(1.7rem, 5.6vw, 2.55rem);
  }

  body.streamix-skin.cf-public-app[data-page-view] main {
    padding-top: 5.3rem;
  }
}

@media (max-width: 820px) {
  body.streamix-skin.cf-public-app:not(.watch-page) .mobile-header-tools {
    display: flex;
  }

  body.streamix-skin.cf-public-app:not(.watch-page) .topbar-right {
    width: min(86vw, 360px);
    max-width: 360px;
    padding-top: calc(max(1rem, env(safe-area-inset-top)) + 4rem);
    background: rgba(7, 7, 12, 0.98);
    border-right: 1px solid rgba(255,255,255,0.08);
    box-shadow: 24px 0 60px rgba(0,0,0,0.4);
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }

  body.streamix-skin.cf-public-app:not(.watch-page) .main-nav {
    display: grid;
    padding: 0.18rem;
    background: transparent;
    border: 0;
    box-shadow: none;
  }

  body.streamix-skin.cf-public-app:not(.watch-page) .nav-link {
    justify-content: flex-start;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
  }

  body.streamix-skin.cf-public-app:not(.watch-page) .search-wrap:not(.watch-link-wrap) {
    top: calc(max(1rem, env(safe-area-inset-top)) + 4.2rem);
  }

  body.streamix-skin.cf-public-app:not(.watch-page) .topbar-profile {
    width: 100%;
    justify-content: space-between;
  }
}

@media (max-width: 640px) {
  body.streamix-skin.cf-public-app:not(.watch-page) .topbar {
    min-height: 66px;
    padding-top: 0.7rem;
  }

  body.streamix-skin.cf-public-app:not(.watch-page) .hero {
    margin-top: 4.05rem;
    min-height: 400px;
    height: clamp(400px, 64vh, 520px);
    border-radius: 20px;
  }

  body.streamix-skin.cf-public-app:not(.watch-page) .hero-bg {
    background-position: 60% center;
  }

  body.streamix-skin.cf-public-app:not(.watch-page) .hero-bg::after {
    background:
      linear-gradient(to top, rgba(6, 6, 10, 1) 0%, rgba(6, 6, 10, 0.58) 34%, rgba(6, 6, 10, 0.08) 70%, rgba(6, 6, 10, 0) 100%),
      linear-gradient(to right, rgba(6, 6, 10, 0.82) 0%, rgba(6, 6, 10, 0.34) 45%, rgba(6, 6, 10, 0.08) 100%);
  }

  body.streamix-skin.cf-public-app:not(.watch-page) .hero-content {
    padding: 5.4rem 0.95rem 4.5rem;
  }

  body.streamix-skin.cf-public-app:not(.watch-page) .hero-title,
  body.streamix-skin.cf-public-app:not(.watch-page) .hero-content h1 {
    max-width: none;
    font-size: clamp(1.8rem, 9.2vw, 2.55rem);
    line-height: 1;
  }

  body.streamix-skin.cf-public-app:not(.watch-page) .hero-title.is-long-title,
  body.streamix-skin.cf-public-app:not(.watch-page) .hero-content h1.is-long-title {
    font-size: clamp(1.6rem, 8.1vw, 2.2rem);
  }

  body.streamix-skin.cf-public-app:not(.watch-page) .hero-title.is-xlong-title,
  body.streamix-skin.cf-public-app:not(.watch-page) .hero-content h1.is-xlong-title {
    font-size: clamp(1.45rem, 7.2vw, 1.95rem);
    line-height: 1.04;
  }

  body.streamix-skin.cf-public-app:not(.watch-page) .hero-overview {
    font-size: 0.84rem;
    line-height: 1.48;
  }

  body.streamix-skin.cf-public-app:not(.watch-page) .hero-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 48px;
    align-items: stretch;
  }

  body.streamix-skin.cf-public-app:not(.watch-page) .hero-action-main,
  body.streamix-skin.cf-public-app:not(.watch-page) .hero-action-plus {
    width: 100%;
    min-height: 48px;
    padding-inline: 0.65rem;
    font-size: 0.72rem;
  }

  body.streamix-skin.cf-public-app:not(.watch-page) .hero-action-plus {
    width: 48px;
    min-width: 48px;
    min-height: 48px;
    font-size: 1rem;
  }

  body.streamix-skin.cf-public-app:not(.watch-page) .hero-indicators {
    bottom: 0.7rem;
    gap: 0.45rem;
  }

  body.streamix-skin.cf-public-app:not(.watch-page) .hero-dot {
    width: 18px;
  }

  body.streamix-skin.cf-public-app:not(.watch-page) .hero-dot.active {
    width: 24px;
  }

  body.streamix-skin.cf-public-app[data-page-view] main {
    padding-top: 4.9rem;
  }

  body.streamix-skin.cf-public-app[data-page-view="latest"] main.browse-main {
    padding-top: 0;
  }

  body.streamix-skin.cf-public-app[data-page-view="latest"] .topbar.cinflix-topbar-modern {
    background: transparent;
    border-bottom-color: transparent;
    box-shadow: none;
  }

  body.streamix-skin.cf-public-app[data-page-view="latest"] .latest-hero {
    min-height: clamp(620px, 100svh, 860px);
    height: clamp(620px, 100svh, 860px);
    padding-top: 4.7rem;
  }

  body.streamix-skin.cf-public-app[data-page-view="latest"] .latest-browse-section {
    margin-top: -3.4rem;
    border-radius: 24px 24px 0 0;
    padding-top: 1.2rem;
  }

  body.streamix-skin.cf-public-app:not(.watch-page) .section {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  body.streamix-skin.cf-public-app:not(.watch-page) .poster-rail {
    grid-auto-columns: minmax(148px, 148px);
  }

  body.streamix-skin.cf-public-app:not(.watch-page) .rail-nav {
    width: 42px;
    height: 42px;
  }
}

/* ===========================================================
   DETAILS MODAL V2
   =========================================================== */
#detailsModal .details-backdrop {
  background:
    radial-gradient(circle at top, rgba(229, 9, 20, 0.18), transparent 32%),
    rgba(3, 4, 9, 0.84);
  backdrop-filter: blur(14px);
}

#detailsModal .details-card {
  width: min(980px, calc(100vw - 1.5rem));
  max-width: calc(100vw - 1.5rem);
  grid-template-columns: minmax(260px, 318px) minmax(0, 1fr);
  border-radius: 28px;
  border: 1px solid rgba(255,255,255,0.08);
  background:
    radial-gradient(circle at top right, rgba(229, 9, 20, 0.14), transparent 32%),
    linear-gradient(180deg, rgba(18, 19, 28, 0.98), rgba(9, 10, 16, 0.98));
  box-shadow:
    0 34px 90px rgba(0, 0, 0, 0.52),
    inset 0 1px 0 rgba(255,255,255,0.04);
  overflow: hidden;
  margin: auto;
  align-self: center;
}

#detailsModal .details-card::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.06) 0%, transparent 20%, transparent 78%, rgba(255,255,255,0.02) 100%);
  z-index: 0;
}

#detailsModal .details-close {
  top: 1rem;
  right: 1rem;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: rgba(6, 7, 11, 0.74);
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 12px 28px rgba(0,0,0,0.32);
  backdrop-filter: blur(16px);
}

#detailsModal .details-close:hover {
  background: linear-gradient(135deg, rgba(229, 9, 20, 0.92), rgba(255, 106, 61, 0.9));
  border-color: transparent;
  transform: translateY(-1px) scale(1.02);
}

#detailsModal .details-media {
  min-height: 100%;
  border-right: 1px solid rgba(255,255,255,0.06);
  background:
    radial-gradient(circle at top, rgba(229, 9, 20, 0.18), transparent 40%),
    #090b12;
}

#detailsModal .details-media::after {
  background:
    linear-gradient(to top, rgba(7, 8, 14, 0.2) 0%, rgba(7, 8, 14, 0.04) 40%, rgba(7, 8, 14, 0) 100%),
    linear-gradient(to right, rgba(7, 8, 14, 0) 0%, rgba(7, 8, 14, 0.84) 100%);
}

#detailsModal .details-media img {
  transform: scale(1.025);
  object-position: center top;
  filter: saturate(1.05) contrast(1.03);
}

#detailsModal .details-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 0.82rem;
  padding: 1.55rem 1.55rem 1.45rem;
  min-width: 0;
  overflow-x: hidden;
}

#detailsModal .details-content h3 {
  margin: 0;
  font-size: clamp(1.7rem, 2.5vw, 2.45rem);
  line-height: 1.04;
  letter-spacing: -0.03em;
  color: #fff;
  text-wrap: balance;
  max-width: 12ch;
  font-family: var(--font-sans);
  font-weight: 500;
}

#detailsModal .details-meta {
  margin: 0;
  color: rgba(255,255,255,0.74);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-transform: none;
}

#detailsModal .details-extra {
  width: fit-content;
  max-width: 100%;
  margin: 0;
  padding: 0.5rem 0.88rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.8);
  font-size: 0.75rem;
  font-weight: 600;
}

#detailsModal .details-tags {
  gap: 0.5rem;
  margin-bottom: 0;
}

#detailsModal .tag-pill,
#detailsModal .media-tag {
  padding: 0.38rem 0.74rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.045);
  color: rgba(255,255,255,0.88);
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

#detailsModal .rating-badge {
  background: linear-gradient(135deg, rgba(245,197,24,0.26), rgba(245,197,24,0.1));
  border: 1px solid rgba(245,197,24,0.34);
  color: #ffd95b;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
}

#detailsModal .details-overview {
  margin: 0;
  padding: 1rem 0 0.1rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  color: rgba(231,234,244,0.88);
  font-size: 0.95rem;
  line-height: 1.76;
  max-height: 16rem;
  overflow: auto;
  overflow-x: hidden;
}

#detailsModal .details-reactions {
  margin-top: 0;
  padding-top: 0.2rem;
  gap: 0.55rem;
}

#detailsModal .reaction-btn {
  padding: 0.56rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.04);
  color: rgba(255,255,255,0.82);
  font-size: 0.78rem;
  font-weight: 600;
}

#detailsModal .reaction-btn:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(229, 9, 20, 0.3);
}

#detailsModal .reaction-btn.active {
  border-color: rgba(229, 9, 20, 0.52);
  background: linear-gradient(135deg, rgba(229, 9, 20, 0.24), rgba(255, 106, 61, 0.16));
}

#detailsModal .reaction-status {
  color: rgba(255,255,255,0.54);
  font-size: 0.78rem;
  font-weight: 500;
}

#detailsModal .details-actions {
  margin-top: auto;
  padding-top: 0.95rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 0.62rem;
}

#detailsModal .details-actions .btn {
  width: 100%;
  min-height: 46px;
  padding: 0.78rem 1rem;
  border-radius: 16px;
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.1;
  justify-content: center;
  text-align: center;
  white-space: normal;
  overflow-wrap: anywhere;
  box-shadow: none;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

#detailsModal .details-actions .btn:hover {
  transform: translateY(-1px);
}

#detailsModal #detailsWatchBtn {
  order: 1;
  grid-column: span 6;
  background: linear-gradient(135deg, #e50914 0%, #ff6a3d 100%);
  border: 0;
  color: #fff;
  box-shadow: 0 18px 32px rgba(229, 9, 20, 0.22);
}

#detailsModal #detailsWatchBtn:hover {
  box-shadow: 0 20px 34px rgba(229, 9, 20, 0.28);
}

#detailsModal #detailsShareBtn {
  order: 2;
}

#detailsModal #detailsTrailerBtn {
  order: 3;
}

#detailsModal #detailsTrailerBtn,
#detailsModal #detailsShareBtn,
#detailsModal #detailsWatchlistBtn,
#detailsModal #adminEditBtn,
#detailsModal #adminDeleteBtn,
#detailsModal #detailsCancelBtn {
  background: rgba(255,255,255,0.045);
  border: 1px solid rgba(255,255,255,0.09);
  color: rgba(255,255,255,0.9);
}

#detailsModal #detailsTrailerBtn,
#detailsModal #detailsShareBtn {
  grid-column: span 3;
}

#detailsModal #detailsWatchlistBtn,
#detailsModal #adminEditBtn,
#detailsModal #adminDeleteBtn {
  grid-column: span 6;
}

#detailsModal #detailsWatchlistBtn {
  order: 4;
  grid-column: 1 / -1;
}

#detailsModal #detailsWatchlistBtn.is-active {
  background: linear-gradient(135deg, rgba(229, 9, 20, 0.16), rgba(255, 106, 61, 0.12));
  border-color: rgba(229, 9, 20, 0.22);
}

#detailsModal #detailsCancelBtn {
  color: rgba(255,255,255,0.76);
}

@media (max-width: 760px) {
  #detailsModal {
    padding: 0.55rem;
    place-items: center !important;
    align-content: center !important;
    justify-content: center !important;
  }

  #detailsModal .details-card {
    width: min(100vw - 1.1rem, 420px);
    max-width: calc(100vw - 1.1rem);
    grid-template-columns: 1fr;
    border-radius: 24px;
    max-height: min(calc(100dvh - 1.1rem), 920px);
    margin: 0 auto;
    align-self: center;
  }

  #detailsModal .details-media {
    min-height: 220px;
    max-height: 34vh;
    border-right: 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }

  #detailsModal .details-media::after {
    background:
      linear-gradient(to top, rgba(7, 8, 14, 0.72) 0%, rgba(7, 8, 14, 0.18) 56%, rgba(7, 8, 14, 0) 100%);
  }

  #detailsModal .details-content {
    padding: 1.15rem 1rem 1rem;
    gap: 0.65rem;
    min-width: 0;
    overflow-x: hidden;
  }

  #detailsModal .details-content h3 {
    font-size: clamp(1.35rem, 7.1vw, 1.95rem);
  }

  #detailsModal .details-meta {
    font-size: 0.84rem;
  }

  #detailsModal .details-overview {
    font-size: 0.9rem;
    max-height: none;
  }

  #detailsModal .details-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.52rem;
  }

  #detailsModal .details-actions .btn {
    min-height: 42px;
    padding: 0.68rem 0.92rem;
    font-size: 0.82rem;
    min-width: 0;
  }

  #detailsModal #detailsWatchBtn,
  #detailsModal #detailsTrailerBtn,
  #detailsModal #detailsShareBtn,
  #detailsModal #detailsWatchlistBtn,
  #detailsModal #adminEditBtn,
  #detailsModal #adminDeleteBtn,
  #detailsModal #detailsCancelBtn {
    grid-column: span 1;
  }

  #detailsModal #detailsWatchlistBtn {
    grid-column: 1 / -1;
  }
}

@media (max-width: 520px) {
  #detailsModal {
    padding: 0.5rem;
  }

  #detailsModal .details-card {
    width: calc(100vw - 1rem);
    max-width: calc(100vw - 1rem);
  }

  #detailsModal .details-actions {
    grid-template-columns: 1fr;
  }

  #detailsModal #detailsWatchBtn,
  #detailsModal #detailsTrailerBtn,
  #detailsModal #detailsShareBtn,
  #detailsModal #detailsWatchlistBtn,
  #detailsModal #adminEditBtn,
  #detailsModal #adminDeleteBtn,
  #detailsModal #detailsCancelBtn {
    grid-column: 1 / -1;
  }
}

@media (max-width: 460px) {
  #detailsModal {
    padding: 0.45rem;
    place-items: center !important;
    align-content: center !important;
  }

  #detailsModal .details-card {
    width: calc(100vw - 0.9rem);
    max-width: calc(100vw - 0.9rem);
    border-radius: 22px;
    max-height: calc(100dvh - 0.9rem);
  }

  #detailsModal .details-close {
    top: 0.8rem;
    right: 0.8rem;
    width: 38px;
    height: 38px;
  }

  #detailsModal .details-media {
    min-height: 180px;
    max-height: 28vh;
  }

  #detailsModal .details-actions .btn {
    min-height: 40px;
    font-size: 0.8rem;
    border-radius: 13px;
  }

  #detailsModal .details-content {
    padding: 1rem 0.85rem 0.9rem;
  }

  #detailsModal .details-meta {
    line-height: 1.45;
  }

  #detailsModal .details-extra {
    font-size: 0.74rem;
  }

  #detailsModal .tag-pill,
  #detailsModal .media-tag,
  #detailsModal .rating-badge {
    font-size: 0.69rem;
  }
}

/* Suggestions title clipping fix */
body.streamix-skin.cf-public-app[data-page-view="suggestions"] .suggestions-main .section-head h2,
body.streamix-skin.cf-public-app[data-page-view="suggestions"] .suggestions-main .section-head h3 {
  display: inline-block;
  line-height: 1.18;
  padding-bottom: 0.14em;
  overflow: visible;
}

/* Mobile drawer/search polish */
@media (max-width: 820px) {
  body.streamix-skin.cf-public-app:not(.watch-page) .topbar-right {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 120;
    width: min(86vw, 340px);
    max-width: 340px;
    padding: calc(max(0.9rem, env(safe-area-inset-top)) + 3.2rem) 0.95rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.85rem;
    overflow-y: auto;
    background:
      linear-gradient(180deg, rgba(10, 10, 16, 0.985), rgba(7, 7, 12, 0.99)),
      radial-gradient(circle at top, rgba(229, 9, 20, 0.12), transparent 34%);
    border-right: 1px solid rgba(255,255,255,0.08);
    box-shadow: 26px 0 64px rgba(0,0,0,0.46);
    transform: translateX(-100%);
    transition: transform 220ms ease;
  }

  body.streamix-skin.cf-public-app.mobile-nav-open:not(.watch-page) .topbar-right,
  body.streamix-skin.cf-public-app.mobile-search-open:not(.watch-page) .topbar-right {
    transform: translateX(0);
  }

  body.streamix-skin.cf-public-app:not(.watch-page) .drawer-head {
    display: grid;
    gap: 0.75rem;
    padding-bottom: 0.1rem;
    margin-bottom: 0.1rem;
    border-bottom: 0;
    background: transparent;
    position: static;
  }

  body.streamix-skin.cf-public-app:not(.watch-page) .drawer-brand {
    font-size: 1.5rem;
    line-height: 1.04;
    padding: 0.08rem 0 0.2rem;
    overflow: visible;
    white-space: nowrap;
  }

  body.streamix-skin.cf-public-app:not(.watch-page) .drawer-join-btn {
    width: 100%;
    justify-content: center;
    min-height: 44px;
    border-radius: 14px;
  }

  body.streamix-skin.cf-public-app:not(.watch-page) .search-wrap:not(.watch-link-wrap) {
    position: relative;
    order: 1;
    top: auto;
    left: auto;
    right: auto;
    z-index: auto;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    margin: 0;
    transform: none;
    opacity: 1;
    pointer-events: auto;
  }

  body.streamix-skin.cf-public-app:not(.watch-page) .search-wrap {
    overflow: hidden;
    border-radius: 18px;
    background: rgba(255,255,255,0.035);
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
  }

  body.streamix-skin.cf-public-app:not(.watch-page) .search-wrap input,
  body.streamix-skin.cf-public-app:not(.watch-page) .search-input {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    min-height: 48px;
    padding: 0.82rem 1rem 0.82rem 2.75rem;
    border: 0;
    border-radius: 18px;
    background: transparent;
    box-shadow: none;
    font-size: 0.92rem;
  }

  body.streamix-skin.cf-public-app:not(.watch-page) .search-wrap:focus-within,
  body.streamix-skin.cf-public-app:not(.watch-page) .search-wrap input:focus,
  body.streamix-skin.cf-public-app:not(.watch-page) .search-input:focus {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    border-color: rgba(229, 9, 20, 0.26);
    box-shadow: 0 0 0 3px rgba(229, 9, 20, 0.08);
  }

  body.streamix-skin.cf-public-app:not(.watch-page) .search-icon {
    left: 0.95rem;
    font-size: 0.95rem;
  }

  body.streamix-skin.cf-public-app:not(.watch-page) .main-nav {
    order: 2;
    flex: 0 0 auto;
    width: 100%;
    display: grid;
    justify-items: stretch;
    align-content: start;
    gap: 0.55rem;
    padding: 0;
    margin-top: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    overflow: visible;
  }

  body.streamix-skin.cf-public-app:not(.watch-page) .nav-link {
    width: 100%;
    min-height: 50px;
    justify-content: flex-start;
    padding: 0.85rem 1rem;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.04);
    color: rgba(255,255,255,0.88);
    font-size: 0.95rem;
    font-weight: 700;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.03);
  }

  body.streamix-skin.cf-public-app:not(.watch-page) .nav-link::after {
    display: none;
  }

  body.streamix-skin.cf-public-app:not(.watch-page) .nav-link:hover,
  body.streamix-skin.cf-public-app:not(.watch-page) .nav-link.active {
    background: linear-gradient(135deg, rgba(229, 9, 20, 0.14), rgba(255, 107, 53, 0.08));
    border-color: rgba(229, 9, 20, 0.2);
    color: #fff;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
  }

  body.streamix-skin.cf-public-app.mobile-search-open:not(.watch-page) .main-nav {
    display: grid;
  }

  body.streamix-skin.cf-public-app.mobile-search-open:not(.watch-page) .topbar-right {
    pointer-events: auto;
  }
}

@media (max-width: 520px) {
  body.streamix-skin.cf-public-app:not(.watch-page) .topbar-right {
    width: min(88vw, 320px);
    padding-left: 0.8rem;
    padding-right: 0.8rem;
  }

  body.streamix-skin.cf-public-app:not(.watch-page) .nav-link {
    min-height: 48px;
    padding: 0.8rem 0.95rem;
    font-size: 0.92rem;
  }
}

@media (max-width: 820px) {
  body.mobile-nav-open .rail-nav,
  body.mobile-nav-open .slider-btn,
  body.mobile-nav-open .hero-indicators,
  body.mobile-search-open .rail-nav,
  body.mobile-search-open .slider-btn,
  body.mobile-search-open .hero-indicators {
    opacity: 0;
    pointer-events: none;
  }

  body.streamix-skin.cf-public-app:not(.watch-page) .mobile-header-tools {
    gap: 0.45rem;
    margin-left: auto;
  }

  body.streamix-skin.cf-public-app:not(.watch-page) .mobile-icon-btn {
    width: 40px;
    height: 40px;
    border-radius: 14px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
  }

  body.streamix-skin.cf-public-app:not(.watch-page) .topbar-right {
    width: min(82vw, 322px);
    max-width: 322px;
    padding: calc(max(0.85rem, env(safe-area-inset-top)) + 3rem) 0.82rem 0.9rem;
    gap: 0.68rem;
    border-radius: 0 22px 22px 0;
  }

  body.streamix-skin.cf-public-app:not(.watch-page) .drawer-head {
    gap: 0.55rem;
    padding-top: 0.15rem;
  }

  body.streamix-skin.cf-public-app:not(.watch-page) .drawer-brand {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 0.14rem 0 0.24rem;
    font-size: 1.72rem;
    font-weight: 900;
    line-height: 1.02;
    letter-spacing: -0.05em;
    background: linear-gradient(135deg, #fff4f4 0%, #ff94ad 45%, #ff5d77 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 10px 26px rgba(229, 9, 20, 0.18);
    overflow: visible;
  }

  body.streamix-skin.cf-public-app:not(.watch-page) .search-wrap {
    border-radius: 16px;
  }

  body.streamix-skin.cf-public-app:not(.watch-page) .search-icon {
    left: 0.88rem;
    color: rgba(255,255,255,0.62);
  }

  body.streamix-skin.cf-public-app:not(.watch-page) .search-icon svg {
    display: block;
    width: 16px;
    height: 16px;
  }

  body.streamix-skin.cf-public-app:not(.watch-page) .search-wrap input,
  body.streamix-skin.cf-public-app:not(.watch-page) .search-input {
    min-height: 46px;
    padding: 0.78rem 0.9rem 0.78rem 2.55rem;
    font-size: 0.88rem;
  }

  body.streamix-skin.cf-public-app:not(.watch-page) .main-nav {
    gap: 0.45rem;
  }

  body.streamix-skin.cf-public-app:not(.watch-page) .nav-link {
    min-height: 46px;
    padding: 0.76rem 0.92rem;
    border-radius: 15px;
    font-size: 0.9rem;
  }

  body.streamix-skin.cf-public-app:not(.watch-page) .drawer-footer {
    order: 3;
    display: grid;
    margin-top: auto;
    padding-top: 0.55rem;
  }

  body.streamix-skin.cf-public-app:not(.watch-page) .drawer-footer .drawer-join-btn {
    width: 100%;
    min-height: 48px;
    justify-content: center;
    border-radius: 16px;
    border: 1px solid rgba(88, 101, 242, 0.34);
    background: linear-gradient(135deg, rgba(88, 101, 242, 0.24), rgba(229, 9, 20, 0.16));
    color: #f7f8ff;
    box-shadow: 0 18px 30px rgba(22, 24, 44, 0.3);
  }

  body.streamix-skin.cf-public-app:not(.watch-page) .drawer-footer .drawer-join-btn:hover {
    background: linear-gradient(135deg, rgba(88, 101, 242, 0.34), rgba(229, 9, 20, 0.22));
    border-color: rgba(88, 101, 242, 0.46);
    transform: translateY(-1px);
  }
}

@media (max-width: 520px) {
  body.streamix-skin.cf-public-app:not(.watch-page) .topbar-right {
    width: min(84vw, 304px);
    max-width: 304px;
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }

  body.streamix-skin.cf-public-app:not(.watch-page) .search-wrap input,
  body.streamix-skin.cf-public-app:not(.watch-page) .search-input {
    min-height: 44px;
    font-size: 0.85rem;
  }

  body.streamix-skin.cf-public-app:not(.watch-page) .nav-link {
    min-height: 44px;
    padding: 0.72rem 0.86rem;
    font-size: 0.88rem;
  }

  body.streamix-skin.cf-public-app:not(.watch-page) .drawer-footer .drawer-join-btn {
    min-height: 46px;
    border-radius: 15px;
  }
}

/* Main menu stability pass */
@media (max-width: 820px) {
  body.streamix-skin.cf-public-app:not(.watch-page) .topbar-right,
  body.streamix-skin.cf-public-app.mobile-search-open:not(.watch-page) .topbar-right,
  body.streamix-skin.cf-public-app.mobile-nav-open:not(.watch-page) .topbar-right {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    min-height: 100dvh;
    max-height: 100dvh;
    overflow-y: auto;
  }

  body.streamix-skin.cf-public-app:not(.watch-page) .drawer-head {
    order: 1;
    flex: 0 0 auto;
    margin-bottom: 0;
  }

  body.streamix-skin.cf-public-app:not(.watch-page) .search-wrap:not(.watch-link-wrap),
  body.streamix-skin.cf-public-app.mobile-search-open:not(.watch-page) .search-wrap:not(.watch-link-wrap) {
    order: 2;
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    z-index: auto;
    width: 100%;
    margin: 0;
    transform: none;
    opacity: 1;
    pointer-events: auto;
  }

  body.streamix-skin.cf-public-app:not(.watch-page) .main-nav,
  body.streamix-skin.cf-public-app.mobile-search-open:not(.watch-page) .main-nav {
    order: 3;
    display: grid;
    flex: 0 0 auto;
    width: 100%;
    justify-self: stretch;
    justify-content: stretch;
    justify-items: stretch;
    align-content: start;
    margin-top: 0;
  }

  body.streamix-skin.cf-public-app:not(.watch-page) .drawer-footer {
    order: 4;
    flex: 0 0 auto;
    margin-top: auto;
  }

  body.streamix-skin.topbar-navonly.cf-public-app:not(.watch-page) .topbar-right,
  body.streamix-skin.topbar-navonly.cf-public-app.mobile-nav-open:not(.watch-page) .topbar-right {
    margin-left: 0;
  }

  body.streamix-skin.topbar-navonly.cf-public-app:not(.watch-page) .main-nav,
  body.streamix-skin.topbar-navonly.cf-public-app.mobile-nav-open:not(.watch-page) .main-nav {
    width: 100%;
    justify-self: stretch;
    justify-content: stretch;
    justify-items: stretch;
    margin-top: 0;
  }

  body.streamix-skin.topbar-navonly.cf-public-app:not(.watch-page) .nav-link,
  body.streamix-skin.topbar-navonly.cf-public-app.mobile-nav-open:not(.watch-page) .nav-link {
    width: 100%;
  }
}


body.streamix-skin.cf-public-app:not(.watch-page) .topbar.cinflix-topbar-modern {
  --header-shell: rgba(9, 11, 20, 0.7);
  --header-shell-strong: rgba(12, 14, 24, 0.92);
  --header-border: rgba(255, 255, 255, 0.08);
  --header-muted: rgba(232, 235, 244, 0.72);
  --header-chip: rgba(255, 255, 255, 0.06);
  --header-chip-hover: rgba(255, 255, 255, 0.12);
  position: absolute;
  top: 0;
  z-index: 70;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  min-height: 78px;
  padding: 1rem 2.6rem;
  background:
    radial-gradient(circle at 70% top, rgba(72, 108, 255, 0.12), transparent 35%),
    linear-gradient(180deg, rgba(4, 6, 14, 0.78) 0%, rgba(6, 8, 16, 0.42) 68%, rgba(6, 8, 16, 0.12) 100%);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(10px);
}

body.streamix-skin.cf-public-app:not(.watch-page) .topbar.cinflix-topbar-modern.scrolled {
  background:
    radial-gradient(circle at 70% top, rgba(72, 108, 255, 0.11), transparent 28%),
    linear-gradient(180deg, rgba(7, 9, 16, 0.96) 0%, rgba(9, 11, 20, 0.9) 100%);
  border-bottom-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.24);
}

body.streamix-skin.cf-public-app:not(.watch-page) .topbar.cinflix-topbar-modern .logo {
  position: relative;
  z-index: 2;
  flex: 0 0 auto;
  margin-right: 0.35rem;
  padding: 0;
  border: 0;
  background: none;
  box-shadow: none;
}

body.streamix-skin.cf-public-app:not(.watch-page) .topbar.cinflix-topbar-modern .brand-wordmark {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: clamp(1.7rem, 1.95vw, 2.1rem);
  font-weight: 900;
  letter-spacing: -0.06em;
  text-transform: uppercase;
  background: linear-gradient(90deg, #ff2961 0%, #ff4e75 28%, #aa58ff 64%, #4d79ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

body.streamix-skin.cf-public-app:not(.watch-page) .topbar.cinflix-topbar-modern .topbar-right {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex: 1 1 auto;
  min-width: 0;
  width: 100%;
}

body.streamix-skin.cf-public-app:not(.watch-page) .topbar.cinflix-topbar-modern .drawer-head {
  display: none;
}

body.streamix-skin.cf-public-app:not(.watch-page) .topbar.cinflix-topbar-modern .main-nav {
  display: flex;
  align-items: center;
  gap: 0.08rem;
  margin-right: auto;
  min-width: 0;
  overflow: visible;
}

body.streamix-skin.cf-public-app:not(.watch-page) .topbar.cinflix-topbar-modern .nav-link {
  position: relative;
  padding: 0.68rem 0.85rem;
  border-radius: 12px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  background: transparent;
  border: 1px solid transparent;
}

body.streamix-skin.cf-public-app:not(.watch-page) .topbar.cinflix-topbar-modern .nav-link:hover,
body.streamix-skin.cf-public-app:not(.watch-page) .topbar.cinflix-topbar-modern .nav-link.active {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.035);
  border-color: rgba(255, 255, 255, 0.05);
}

body.streamix-skin.cf-public-app:not(.watch-page) .topbar.cinflix-topbar-modern .nav-link::after {
  content: '';
  position: absolute;
  left: 0.9rem;
  right: 0.9rem;
  bottom: 0.4rem;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255, 41, 97, 0.95), rgba(87, 97, 255, 0.92));
  transform: scaleX(0);
  transform-origin: center;
  opacity: 0;
  transition: transform 180ms ease, opacity 180ms ease;
}

body.streamix-skin.cf-public-app:not(.watch-page) .topbar.cinflix-topbar-modern .nav-link:hover::after,
body.streamix-skin.cf-public-app:not(.watch-page) .topbar.cinflix-topbar-modern .nav-link.active::after {
  transform: scaleX(1);
  opacity: 1;
}

body.streamix-skin.cf-public-app:not(.watch-page) .topbar.cinflix-topbar-modern .search-wrap {
  position: absolute;
  top: calc(100% + 12px);
  right: 2.5rem;
  width: min(420px, calc(100vw - 3rem));
  min-width: 280px;
  margin: 0;
  padding: 0.25rem;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(15, 17, 28, 0.96), rgba(10, 12, 20, 0.98));
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.42);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-10px) scale(0.985);
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
}

body.streamix-skin.cf-public-app:not(.watch-page) .topbar.cinflix-topbar-modern.desktop-search-open .search-wrap {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

body.streamix-skin.cf-public-app:not(.watch-page) .topbar.cinflix-topbar-modern .search-wrap .search-icon {
  left: 1rem;
  color: rgba(255, 255, 255, 0.56);
}

body.streamix-skin.cf-public-app:not(.watch-page) .topbar.cinflix-topbar-modern .search-wrap input,
body.streamix-skin.cf-public-app:not(.watch-page) .topbar.cinflix-topbar-modern .search-wrap .search-input {
  min-height: 54px;
  padding-left: 2.9rem;
  padding-right: 1rem;
  border-radius: 16px;
  border: 1px solid transparent;
  background: rgba(255, 255, 255, 0.04);
  color: #ffffff;
  box-shadow: none;
}

body.streamix-skin.cf-public-app:not(.watch-page) .topbar.cinflix-topbar-modern .search-wrap input::placeholder {
  color: rgba(255, 255, 255, 0.46);
}

body.streamix-skin.cf-public-app:not(.watch-page) .topbar.cinflix-topbar-modern .topbar-quick-actions {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  flex: 0 0 auto;
  margin-left: auto;
}

body.streamix-skin.cf-public-app:not(.watch-page) .topbar.cinflix-topbar-modern .topbar-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.045);
  color: #ffffff;
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

body.streamix-skin.cf-public-app:not(.watch-page) .topbar.cinflix-topbar-modern .topbar-action-btn:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.11);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: 0 16px 28px rgba(0, 0, 0, 0.2);
}

body.streamix-skin.cf-public-app:not(.watch-page) .topbar.cinflix-topbar-modern .topbar-profile-btn {
  background: linear-gradient(135deg, #ff2b62 0%, #d84cff 100%);
  border-color: transparent;
  box-shadow: 0 14px 32px rgba(220, 62, 171, 0.35);
}

body.streamix-skin.cf-public-app:not(.watch-page) .topbar.cinflix-topbar-modern .drawer-join-btn {
  display: none;
}

body.streamix-skin.cf-public-app:not(.watch-page) .topbar.cinflix-topbar-modern .drawer-head-bar,
body.streamix-skin.cf-public-app:not(.watch-page) .topbar.cinflix-topbar-modern .drawer-head-actions,
body.streamix-skin.cf-public-app:not(.watch-page) .topbar.cinflix-topbar-modern .drawer-head-icon,
body.streamix-skin.cf-public-app:not(.watch-page) .topbar.cinflix-topbar-modern .drawer-close-btn {
  display: none;
}

@media (max-width: 1120px) {
  body.streamix-skin.cf-public-app:not(.watch-page) .topbar.cinflix-topbar-modern {
    padding-inline: 1.3rem;
  }

  body.streamix-skin.cf-public-app:not(.watch-page) .topbar.cinflix-topbar-modern .main-nav {
    gap: 0.05rem;
  }

  body.streamix-skin.cf-public-app:not(.watch-page) .topbar.cinflix-topbar-modern .nav-link {
    padding: 0.64rem 0.72rem;
    font-size: 0.88rem;
  }
}

@media (max-width: 820px) {
  body.streamix-skin.cf-public-app:not(.watch-page) .topbar.cinflix-topbar-modern {
    min-height: 72px;
    padding: 0.95rem 1rem;
    gap: 0.75rem;
    background:
      linear-gradient(180deg, rgba(7, 9, 16, 0.92) 0%, rgba(9, 11, 18, 0.84) 100%);
    border-bottom-color: rgba(255, 255, 255, 0.06);
  }

  body.streamix-skin.cf-public-app:not(.watch-page) .topbar.cinflix-topbar-modern .brand-wordmark {
    font-size: 1.58rem;
  }

  body.streamix-skin.cf-public-app:not(.watch-page) .topbar.cinflix-topbar-modern .topbar-quick-actions {
    display: none;
  }

  body.streamix-skin.cf-public-app:not(.watch-page) .topbar.cinflix-topbar-modern .drawer-head {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.8rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.07);
  }

  body.streamix-skin.cf-public-app:not(.watch-page) .topbar.cinflix-topbar-modern .drawer-head-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
  }

  body.streamix-skin.cf-public-app:not(.watch-page) .topbar.cinflix-topbar-modern .drawer-brand {
    font-family: 'Inter', sans-serif;
    font-size: 1.65rem;
    font-weight: 900;
    letter-spacing: -0.05em;
    text-transform: uppercase;
    background: linear-gradient(90deg, #ff2c63 0%, #ff5d80 32%, #965dff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }

  body.streamix-skin.cf-public-app:not(.watch-page) .topbar.cinflix-topbar-modern .drawer-head-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }

  body.streamix-skin.cf-public-app:not(.watch-page) .topbar.cinflix-topbar-modern .drawer-head-icon,
  body.streamix-skin.cf-public-app:not(.watch-page) .topbar.cinflix-topbar-modern .drawer-close-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.09);
    background: rgba(255,255,255,0.03);
    color: rgba(255,255,255,0.94);
    text-decoration: none;
  }

  body.streamix-skin.cf-public-app:not(.watch-page) .topbar.cinflix-topbar-modern .drawer-close-btn {
    padding: 0;
    cursor: pointer;
  }

  body.streamix-skin.cf-public-app:not(.watch-page) .topbar.cinflix-topbar-modern .topbar-right {
    inset: 0.45rem auto 0.45rem 0.45rem;
    width: min(88vw, 360px);
    max-width: 360px;
    padding: calc(max(0.85rem, env(safe-area-inset-top)) + 0.2rem) 1rem 1rem;
    border-radius: 28px;
    border: 1px solid rgba(255,255,255,0.08);
    background:
      linear-gradient(180deg, rgba(3, 4, 10, 0.985), rgba(5, 6, 12, 0.995)),
      radial-gradient(circle at top right, rgba(73, 93, 255, 0.12), transparent 34%);
    box-shadow: 28px 0 58px rgba(0,0,0,0.48);
  }

  body.streamix-skin.cf-public-app:not(.watch-page) .topbar.cinflix-topbar-modern .main-nav {
    order: 2;
    display: grid;
    gap: 0.25rem;
    margin: 0;
    padding-top: 0.6rem;
  }

  body.streamix-skin.cf-public-app:not(.watch-page) .topbar.cinflix-topbar-modern .nav-link {
    min-height: 42px;
    padding: 0.45rem 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    font-size: 0.98rem;
    font-weight: 600;
    color: rgba(255,255,255,0.94);
    justify-content: flex-start;
  }

  body.streamix-skin.cf-public-app:not(.watch-page) .topbar.cinflix-topbar-modern .nav-link:hover,
  body.streamix-skin.cf-public-app:not(.watch-page) .topbar.cinflix-topbar-modern .nav-link.active {
    background: transparent;
    border: 0;
    color: #ffffff;
  }

  body.streamix-skin.cf-public-app:not(.watch-page) .topbar.cinflix-topbar-modern .nav-link::after {
    left: 0;
    right: auto;
    width: 34px;
    bottom: 0.25rem;
  }

  body.streamix-skin.cf-public-app:not(.watch-page) .topbar.cinflix-topbar-modern .search-wrap:not(.watch-link-wrap) {
    order: 3;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid rgba(255,255,255,0.07);
  }

  body.streamix-skin.cf-public-app:not(.watch-page) .topbar.cinflix-topbar-modern .search-wrap {
    position: relative;
    top: auto;
    right: auto;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
    padding: 0;
    border-radius: 22px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.06);
    box-shadow: none;
  }

  body.streamix-skin.cf-public-app:not(.watch-page) .topbar.cinflix-topbar-modern .search-wrap input,
  body.streamix-skin.cf-public-app:not(.watch-page) .topbar.cinflix-topbar-modern .search-wrap .search-input {
    min-height: 42px;
    padding-left: 2.8rem;
    border-radius: 22px;
    background: transparent;
  }

  body.streamix-skin.cf-public-app:not(.watch-page) .topbar.cinflix-topbar-modern .drawer-join-btn,
  body.streamix-skin.cf-public-app:not(.watch-page) .topbar.cinflix-topbar-modern .drawer-footer {
    display: none !important;
  }

  body.streamix-skin.cf-public-app:not(.watch-page) .topbar.cinflix-topbar-modern .mobile-header-tools {
    gap: 0.55rem;
    margin-left: auto;
  }

  body.streamix-skin.cf-public-app:not(.watch-page) .topbar.cinflix-topbar-modern .mobile-icon-btn {
    width: 38px;
    height: 38px;
    border-radius: 999px;
    background: rgba(255,255,255,0.04);
    border-color: rgba(255,255,255,0.1);
  }

  body.streamix-skin.cf-public-app:not(.watch-page) .topbar.cinflix-topbar-modern .mobile-menu-toggle span {
    transition: transform 180ms ease, opacity 180ms ease;
  }

  body.mobile-nav-open .topbar.cinflix-topbar-modern .mobile-menu-toggle span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  body.mobile-nav-open .topbar.cinflix-topbar-modern .mobile-menu-toggle span:nth-child(2) {
    opacity: 0;
  }

  body.mobile-nav-open .topbar.cinflix-topbar-modern .mobile-menu-toggle span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }
}

/* Final CinePulse-like topbar pass */
body.streamix-skin,
body.streamix-skin button,
body.streamix-skin input,
body.streamix-skin textarea,
body.streamix-skin select {
  font-family: 'Inter', sans-serif;
}

body.streamix-skin h1,
body.streamix-skin h2,
body.streamix-skin h3,
body.streamix-skin h4,
body.streamix-skin h5,
body.streamix-skin h6,
body.streamix-skin .hero-title,
body.streamix-skin .card-title,
body.streamix-skin .section-head h2,
body.streamix-skin .details-title,
body.streamix-skin .modal-title {
  font-family: 'Inter', sans-serif;
  letter-spacing: -0.05em;
  line-height: 1.06;
}

body.streamix-skin.cf-public-app:not(.watch-page) .topbar.cinflix-topbar-modern {
  min-height: 68px;
  padding: 0.9rem 1.5rem;
  gap: 1rem;
  background: transparent;
  background-size: auto;
  border-bottom: 0;
  backdrop-filter: none;
  box-shadow: none;
}

body.streamix-skin.cf-public-app:not(.watch-page) .topbar.cinflix-topbar-modern.scrolled {
  background: transparent;
  border-bottom-color: transparent;
  box-shadow: none;
}

body.streamix-skin.cf-public-app:not(.watch-page) .topbar.cinflix-topbar-modern .logo {
  display: inline-flex;
  align-items: center;
  min-width: max-content;
  margin-right: 1.6rem;
  padding-right: 0.35rem;
}

body.streamix-skin.cf-public-app:not(.watch-page) .topbar.cinflix-topbar-modern .brand-wordmark,
body.streamix-skin.cf-public-app:not(.watch-page) .topbar.cinflix-topbar-modern .drawer-brand {
  font-family: 'Inter', sans-serif;
  font-size: clamp(1.58rem, 1.85vw, 1.92rem);
  font-weight: 800;
  letter-spacing: -0.075em;
  text-transform: uppercase;
  background: linear-gradient(90deg, #ff2d5d 0%, #ff4b8c 34%, #8f58ff 68%, #4a6dff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
  white-space: nowrap;
}

body.streamix-skin.cf-public-app:not(.watch-page) .topbar.cinflix-topbar-modern .main-nav {
  gap: 0.45rem;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  backdrop-filter: none;
  box-shadow: none;
}

body.streamix-skin.cf-public-app:not(.watch-page) .topbar.cinflix-topbar-modern .nav-link {
  padding: 0.22rem 0.35rem;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.98rem;
  font-weight: 500;
  letter-spacing: -0.02em;
}

body.streamix-skin.cf-public-app:not(.watch-page) .topbar.cinflix-topbar-modern .nav-link::after {
  display: none;
}

body.streamix-skin.cf-public-app:not(.watch-page) .topbar.cinflix-topbar-modern .nav-link:hover,
body.streamix-skin.cf-public-app:not(.watch-page) .topbar.cinflix-topbar-modern .nav-link.active {
  color: #ffffff;
  background: transparent;
  border: 0;
  box-shadow: none;
}

body.streamix-skin.cf-public-app:not(.watch-page) .topbar.cinflix-topbar-modern .topbar-quick-actions {
  gap: 0.8rem;
}

body.streamix-skin.cf-public-app:not(.watch-page) .topbar.cinflix-topbar-modern .topbar-action-btn {
  position: relative;
  width: 42px;
  height: 42px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

body.streamix-skin.cf-public-app:not(.watch-page) .topbar.cinflix-topbar-modern .topbar-action-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: 0 14px 24px rgba(0, 0, 0, 0.18);
}

body.streamix-skin.cf-public-app:not(.watch-page) .topbar.cinflix-topbar-modern .topbar-profile-btn {
  background: linear-gradient(135deg, #ff2c63 0%, #cb4dff 100%);
  box-shadow: 0 14px 28px rgba(213, 67, 184, 0.28);
}

body.streamix-skin.cf-public-app:not(.watch-page) .topbar.cinflix-topbar-modern .search-wrap {
  top: calc(100% + 10px);
  right: 1.5rem;
  width: min(360px, calc(100vw - 3rem));
  padding: 0.25rem;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(10, 12, 20, 0.98), rgba(8, 10, 18, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.08);
}

body.streamix-skin.cf-public-app:not(.watch-page) .topbar.cinflix-topbar-modern .search-wrap .search-icon {
  left: 1rem;
  color: rgba(255, 255, 255, 0.5);
}

body.streamix-skin.cf-public-app:not(.watch-page) .topbar.cinflix-topbar-modern .search-wrap input,
body.streamix-skin.cf-public-app:not(.watch-page) .topbar.cinflix-topbar-modern .search-wrap .search-input {
  min-height: 48px;
  padding-left: 2.9rem;
  border-radius: 18px;
  border: 1px solid transparent;
  background: rgba(255, 255, 255, 0.03);
  color: #ffffff;
}

body.streamix-skin.cf-public-app:not(.watch-page) .topbar.cinflix-topbar-modern .search-wrap input::placeholder {
  color: rgba(255, 255, 255, 0.44);
}

body.streamix-skin.cf-public-app:not(.watch-page) .hero-title,
body.streamix-skin.cf-public-app:not(.watch-page) .section-head h2,
body.streamix-skin.cf-public-app:not(.watch-page) .card-title {
  font-weight: 800;
}

body.streamix-skin.cf-public-app:not(.watch-page) .hero-desc,
body.streamix-skin.cf-public-app:not(.watch-page) .details-overview,
body.streamix-skin.cf-public-app:not(.watch-page) .discover-hero p,
body.streamix-skin.cf-public-app:not(.watch-page) .salon-hero-card p {
  letter-spacing: -0.015em;
}

@media (max-width: 820px) {
  body.streamix-skin.cf-public-app:not(.watch-page) .topbar.cinflix-topbar-modern {
    min-height: 70px;
    padding: 0.95rem 1rem;
    gap: 0.65rem;
    background: transparent;
    border-bottom: 0;
    overflow: visible;
  }

  body.streamix-skin.cf-public-app:not(.watch-page) .topbar.cinflix-topbar-modern .brand-wordmark {
    font-size: 1.52rem;
  }

  body.streamix-skin.cf-public-app:not(.watch-page) .topbar.cinflix-topbar-modern .mobile-header-tools {
    display: flex;
    align-items: center;
    gap: 0.95rem;
    margin-left: auto;
  }

  body.streamix-skin.cf-public-app:not(.watch-page) .topbar.cinflix-topbar-modern .mobile-icon-btn,
  body.streamix-skin.cf-public-app:not(.watch-page) .topbar.cinflix-topbar-modern .drawer-head-icon,
  body.streamix-skin.cf-public-app:not(.watch-page) .topbar.cinflix-topbar-modern .drawer-close-btn {
    width: 26px;
    height: 26px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    color: rgba(255, 255, 255, 0.96);
  }

  body.streamix-skin.cf-public-app:not(.watch-page) .topbar.cinflix-topbar-modern .mobile-menu-toggle {
    gap: 4px;
  }

  body.streamix-skin.cf-public-app:not(.watch-page) .topbar.cinflix-topbar-modern .mobile-menu-toggle span {
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.96);
  }

  body.streamix-skin.cf-public-app:not(.watch-page) .topbar.cinflix-topbar-modern .topbar-right {
    position: absolute;
    top: calc(100% + 0.45rem);
    right: 0.85rem;
    left: 0.85rem;
    bottom: auto;
    width: auto;
    max-width: none;
    max-height: min(74vh, 540px);
    padding: 1rem 1rem 1.1rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    background:
      radial-gradient(circle at 15% 18%, rgba(255, 255, 255, 0.06) 0 1px, transparent 1.5px),
      linear-gradient(180deg, rgba(2, 3, 8, 0.995) 0%, rgba(3, 4, 8, 0.99) 100%);
    box-shadow: 0 26px 42px rgba(0, 0, 0, 0.34);
    overflow-y: auto;
    transform: translateY(-10px) scale(0.985);
    transform-origin: top center;
    opacity: 0;
    pointer-events: none;
  }

  body.mobile-nav-open .topbar.cinflix-topbar-modern .topbar-right {
    transform: translateY(0) scale(1);
    opacity: 1;
    pointer-events: auto;
  }

  body.streamix-skin.cf-public-app:not(.watch-page) .topbar.cinflix-topbar-modern .drawer-head {
    display: flex;
    gap: 0.9rem;
    padding-bottom: 0.95rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  body.streamix-skin.cf-public-app:not(.watch-page) .topbar.cinflix-topbar-modern .drawer-head-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
  }

  body.streamix-skin.cf-public-app:not(.watch-page) .topbar.cinflix-topbar-modern .drawer-head-actions {
    display: flex;
    align-items: center;
    gap: 0.9rem;
  }

  body.streamix-skin.cf-public-app:not(.watch-page) .topbar.cinflix-topbar-modern .drawer-brand {
    font-size: 1.55rem;
    line-height: 1;
  }

  body.streamix-skin.cf-public-app:not(.watch-page) .topbar.cinflix-topbar-modern .main-nav {
    order: 2;
    display: grid;
    gap: 0.72rem;
    margin: 0;
    padding-top: 0.9rem;
  }

  body.streamix-skin.cf-public-app:not(.watch-page) .topbar.cinflix-topbar-modern .nav-link {
    min-height: 0;
    padding: 0;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.96);
  }

  body.streamix-skin.cf-public-app:not(.watch-page) .topbar.cinflix-topbar-modern .nav-link:hover,
  body.streamix-skin.cf-public-app:not(.watch-page) .topbar.cinflix-topbar-modern .nav-link.active {
    color: #ffffff;
  }

  body.streamix-skin.cf-public-app:not(.watch-page) .topbar.cinflix-topbar-modern .search-wrap:not(.watch-link-wrap) {
    order: 3;
    margin-top: 0.85rem;
    padding-top: 0.9rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  body.streamix-skin.cf-public-app:not(.watch-page) .topbar.cinflix-topbar-modern .search-wrap {
    position: relative;
    inset: auto;
    width: 100%;
    min-width: 0;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  body.streamix-skin.cf-public-app:not(.watch-page) .topbar.cinflix-topbar-modern .search-wrap input,
  body.streamix-skin.cf-public-app:not(.watch-page) .topbar.cinflix-topbar-modern .search-wrap .search-input {
    min-height: 46px;
    padding-left: 2.85rem;
    padding-right: 1rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.09);
    color: #ffffff;
  }

  body.streamix-skin.cf-public-app:not(.watch-page) .topbar.cinflix-topbar-modern .search-wrap .search-icon {
    left: 1rem;
  }

  body.streamix-skin.cf-public-app:not(.watch-page) .topbar.cinflix-topbar-modern .drawer-join-btn,
  body.streamix-skin.cf-public-app:not(.watch-page) .topbar.cinflix-topbar-modern .drawer-footer {
    display: none !important;
  }
}

@media (max-width: 480px) {
  body.streamix-skin.cf-public-app:not(.watch-page) .topbar.cinflix-topbar-modern .topbar-right {
    right: 0.6rem;
    left: 0.6rem;
    padding: 0.95rem 0.9rem 1rem;
    border-radius: 22px;
  }
}

/* CinePulse screenshot pass */
body.streamix-skin.cf-public-app:not(.watch-page) .topbar.cinflix-topbar-modern {
  position: absolute;
  inset: 0 0 auto;
  z-index: 90;
  min-height: 74px;
  padding: 0.9rem 1.8rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  background:
    linear-gradient(180deg, rgba(20, 6, 10, 0.96) 0%, rgba(32, 10, 12, 0.94) 52%, rgba(18, 14, 10, 0.96) 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(12px);
}

body.streamix-skin.cf-public-app:not(.watch-page) .topbar.cinflix-topbar-modern.scrolled {
  background:
    linear-gradient(180deg, rgba(20, 6, 10, 0.98) 0%, rgba(32, 10, 12, 0.96) 52%, rgba(18, 14, 10, 0.98) 100%);
  backdrop-filter: blur(12px);
}

body.streamix-skin.cf-public-app:not(.watch-page) .topbar.cinflix-topbar-modern .logo {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  width: 128px;
  min-width: 128px;
  max-width: 128px;
  margin-right: 1.85rem;
  padding-right: 0.4rem;
  overflow: visible;
}

body.streamix-skin.cf-public-app:not(.watch-page) .topbar.cinflix-topbar-modern .topbar-right {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex: 1 1 auto;
  min-width: 0;
  width: auto;
  margin-left: 0;
}

body.streamix-skin.cf-public-app:not(.watch-page) .topbar.cinflix-topbar-modern .drawer-head {
  display: none;
}

body.streamix-skin.cf-public-app:not(.watch-page) .topbar.cinflix-topbar-modern .main-nav {
  display: flex;
  align-items: center;
  gap: 1.65rem;
  margin-right: auto;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

body.streamix-skin.cf-public-app:not(.watch-page) .topbar.cinflix-topbar-modern .nav-link {
  padding: 0;
  font-size: 0.96rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.2;
}

body.streamix-skin.cf-public-app:not(.watch-page) .topbar.cinflix-topbar-modern .nav-link:hover,
body.streamix-skin.cf-public-app:not(.watch-page) .topbar.cinflix-topbar-modern .nav-link.active {
  color: #ffffff;
}

body.streamix-skin.cf-public-app:not(.watch-page) .topbar.cinflix-topbar-modern .search-wrap {
  position: relative;
  inset: auto;
  flex: 0 0 min(255px, 28vw);
  width: min(255px, 28vw);
  min-width: 220px;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

body.streamix-skin.cf-public-app:not(.watch-page) .topbar.cinflix-topbar-modern .search-wrap .search-icon {
  left: 0.95rem;
  color: rgba(255, 255, 255, 0.7);
}

body.streamix-skin.cf-public-app:not(.watch-page) .topbar.cinflix-topbar-modern .search-wrap input,
body.streamix-skin.cf-public-app:not(.watch-page) .topbar.cinflix-topbar-modern .search-wrap .search-input {
  min-height: 40px;
  width: 100%;
  padding: 0.7rem 1rem 0.7rem 2.85rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(39, 44, 58, 0.88);
  color: #ffffff;
}

body.streamix-skin.cf-public-app:not(.watch-page) .topbar.cinflix-topbar-modern .search-wrap input::placeholder,
body.streamix-skin.cf-public-app:not(.watch-page) .topbar.cinflix-topbar-modern .search-wrap .search-input::placeholder {
  color: rgba(255, 255, 255, 0.64);
}

body.streamix-skin.cf-public-app:not(.watch-page) .topbar.cinflix-topbar-modern .topbar-quick-actions {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  flex: 0 0 auto;
  margin-left: 0;
}

body.streamix-skin.cf-public-app:not(.watch-page) .topbar.cinflix-topbar-modern .topbar-action-btn {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
  color: #ffffff;
  box-shadow: none;
}

body.streamix-skin.cf-public-app:not(.watch-page) .topbar.cinflix-topbar-modern .topbar-action-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
}

body.streamix-skin.cf-public-app:not(.watch-page) .topbar.cinflix-topbar-modern .topbar-action-badge {
  position: absolute;
  top: -0.1rem;
  right: -0.1rem;
  min-width: 1.1rem;
  height: 1.1rem;
  padding: 0 0.22rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff2d63 0%, #cb4cff 100%);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 10px 20px rgba(203, 76, 255, 0.32);
}

body.streamix-skin.cf-public-app:not(.watch-page) .topbar.cinflix-topbar-modern .topbar-profile-btn {
  background: linear-gradient(135deg, #ff2d63 0%, #cb4cff 100%);
  border-color: transparent;
}

body.streamix-skin.cf-public-app:not(.watch-page) .topbar-notifications {
  position: absolute;
  top: calc(100% + 0.8rem);
  right: 1.45rem;
  width: min(340px, calc(100vw - 2rem));
  padding: 1.2rem 1.15rem 1rem;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(5, 6, 10, 0.98);
  box-shadow: 0 26px 48px rgba(0, 0, 0, 0.42);
  opacity: 0;
  transform: translateY(-10px) scale(0.985);
  transform-origin: top right;
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
  z-index: 95;
}

body.streamix-skin.cf-public-app:not(.watch-page) .topbar.cinflix-topbar-modern.notifications-open .topbar-notifications {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

body.streamix-skin.cf-public-app:not(.watch-page) .topbar-notifications-head h3 {
  margin: 0;
  font-size: 1.9rem;
  font-weight: 800;
  letter-spacing: -0.05em;
  color: #ffffff;
}

body.streamix-skin.cf-public-app:not(.watch-page) .topbar-notifications-list {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
  max-height: min(60vh, 420px);
  overflow: auto;
}

body.streamix-skin.cf-public-app:not(.watch-page) .topbar-notification-item {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 0.8rem;
  align-items: start;
}

body.streamix-skin.cf-public-app:not(.watch-page) .topbar-notification-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(135deg, #ff3c87 0%, #bf47ff 100%);
}

body.streamix-skin.cf-public-app:not(.watch-page) .topbar-notification-copy {
  display: grid;
  gap: 0.16rem;
}

body.streamix-skin.cf-public-app:not(.watch-page) .topbar-notification-copy strong {
  color: #ffffff;
  font-size: 0.98rem;
  font-weight: 700;
}

body.streamix-skin.cf-public-app:not(.watch-page) .topbar-notification-copy span {
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.94rem;
  line-height: 1.35;
}

body.streamix-skin.cf-public-app:not(.watch-page) .topbar-notification-copy small {
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.85rem;
}

body.streamix-skin.cf-public-app:not(.watch-page) .topbar-notification-link {
  text-decoration: none;
  color: inherit;
}

body.streamix-skin.cf-public-app:not(.watch-page) .topbar-notification-cta {
  color: #f4d9ff;
  font-weight: 700;
}

body.streamix-skin.cf-public-app:not(.watch-page) .topbar-notifications-empty {
  padding: 1rem 0.1rem 0.3rem;
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.95rem;
}

@media (min-width: 821px) and (max-width: 1100px) {
  body.streamix-skin.cf-public-app:not(.watch-page) .topbar.cinflix-topbar-modern {
    gap: 0.9rem;
    padding: 0.95rem 1.1rem;
  }

  body.streamix-skin.cf-public-app:not(.watch-page) .topbar.cinflix-topbar-modern .mobile-header-tools {
    display: none !important;
  }

  body.streamix-skin.cf-public-app:not(.watch-page) .topbar.cinflix-topbar-modern .logo {
    width: auto;
    min-width: 112px;
    max-width: 112px;
    margin-right: 1rem;
  }

  body.streamix-skin.cf-public-app:not(.watch-page) .topbar.cinflix-topbar-modern .topbar-right {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(180px, 220px) auto;
    align-items: center;
    gap: 0.7rem;
    width: 100%;
    margin-left: auto;
    position: static;
    inset: auto;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    transform: none;
    opacity: 1;
    pointer-events: auto;
    overflow: visible;
    max-height: none;
  }

  body.streamix-skin.cf-public-app:not(.watch-page) .topbar.cinflix-topbar-modern .drawer-head {
    display: none !important;
  }

  body.streamix-skin.cf-public-app:not(.watch-page) .topbar.cinflix-topbar-modern .main-nav {
    display: flex;
    align-items: center;
    gap: 1rem;
    min-width: 0;
    margin-right: 0;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    scrollbar-width: none;
  }

  body.streamix-skin.cf-public-app:not(.watch-page) .topbar.cinflix-topbar-modern .main-nav::-webkit-scrollbar {
    display: none;
  }

  body.streamix-skin.cf-public-app:not(.watch-page) .topbar.cinflix-topbar-modern .nav-link {
    flex: 0 0 auto;
    font-size: 0.92rem;
  }

  body.streamix-skin.cf-public-app:not(.watch-page) .topbar.cinflix-topbar-modern .search-wrap {
    position: relative;
    inset: auto;
    width: min(220px, 100%);
    min-width: 180px;
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
  }

  body.streamix-skin.cf-public-app:not(.watch-page) .topbar.cinflix-topbar-modern .search-wrap input,
  body.streamix-skin.cf-public-app:not(.watch-page) .topbar.cinflix-topbar-modern .search-wrap .search-input {
    min-height: 38px;
    padding-left: 2.65rem;
    padding-right: 0.9rem;
    font-size: 0.88rem;
  }

  body.streamix-skin.cf-public-app:not(.watch-page) .topbar.cinflix-topbar-modern .topbar-quick-actions {
    gap: 0.6rem;
  }

  body.streamix-skin.cf-public-app:not(.watch-page) .topbar.cinflix-topbar-modern .topbar-action-btn {
    width: 38px;
    height: 38px;
  }

  body.mobile-nav-open .topbar.cinflix-topbar-modern .topbar-right,
  body.streamix-skin.cf-public-app:not(.watch-page) .topbar.cinflix-topbar-modern.drawer-open .topbar-right {
    transform: none;
    opacity: 1;
  }
}

body.streamix-skin.cf-public-app:not(.watch-page) .hero {
  margin: 0;
  border-radius: 0;
  min-height: clamp(760px, 94vh, 980px);
  padding-top: clamp(4.8rem, 8vw, 6.4rem);
}

body.streamix-skin.cf-public-app:not(.watch-page) .hero .hero-content,
body.streamix-skin.cf-public-app:not(.watch-page) .hero-content {
  max-width: min(720px, 48vw);
  padding-bottom: clamp(3rem, 6vw, 4.8rem);
}

@media (max-width: 820px) {
  body.streamix-skin.cf-public-app:not(.watch-page) .topbar.cinflix-topbar-modern {
    min-height: 72px;
    padding: 0.9rem 1rem;
  }

  body.streamix-skin.cf-public-app:not(.watch-page) .topbar.cinflix-topbar-modern .topbar-right {
    position: absolute;
    top: calc(100% + 0.7rem);
    right: 0.85rem;
    left: 0.85rem;
    display: block;
    padding: 1rem 1rem 1.05rem;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(4, 5, 10, 0.98);
    box-shadow: 0 24px 42px rgba(0, 0, 0, 0.4);
    opacity: 0;
    transform: translateY(-10px) scale(0.985);
    pointer-events: none;
  }

  body.mobile-nav-open .topbar.cinflix-topbar-modern .topbar-right {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
  }

  body.streamix-skin.cf-public-app:not(.watch-page) .topbar.cinflix-topbar-modern .drawer-head {
    display: flex;
    padding-bottom: 0.9rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  body.streamix-skin.cf-public-app:not(.watch-page) .topbar.cinflix-topbar-modern .main-nav {
    display: grid;
    gap: 0.85rem;
    padding-top: 0.95rem;
    margin: 0;
  }

  body.streamix-skin.cf-public-app:not(.watch-page) .topbar.cinflix-topbar-modern .nav-link {
    font-size: 1rem;
  }

  body.streamix-skin.cf-public-app:not(.watch-page) .topbar.cinflix-topbar-modern .search-wrap {
    width: 100%;
    min-width: 0;
    margin-top: 1rem;
    padding-top: 0.9rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  body.streamix-skin.cf-public-app:not(.watch-page) .topbar.cinflix-topbar-modern .topbar-quick-actions {
    display: none;
  }

  body.streamix-skin.cf-public-app:not(.watch-page) .topbar-notifications {
    top: calc(100% + 0.7rem);
    right: 0.85rem;
    left: 0.85rem;
    width: auto;
  }

  body.streamix-skin.cf-public-app:not(.watch-page) .hero {
    border-radius: 0;
    min-height: clamp(620px, 86vh, 780px);
    padding-top: 4.8rem;
  }
}

/* Align watch page topbar with the public site topbar */
body.streamix-skin.cf-public-app.watch-page .topbar.cinflix-topbar-modern {
  position: fixed;
  inset: 0 0 auto;
  z-index: 90;
  min-height: 74px;
  padding: 0.9rem 1.8rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  background: transparent;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
}

body.streamix-skin.cf-public-app.watch-page .topbar.cinflix-topbar-modern.scrolled {
  background: linear-gradient(180deg, rgba(4, 6, 14, 0.72) 0%, rgba(4, 6, 14, 0.3) 100%);
  backdrop-filter: blur(10px);
}

body.streamix-skin.cf-public-app.watch-page .topbar.cinflix-topbar-modern .logo {
  flex: 0 0 auto;
  margin-right: 0.7rem;
}

body.streamix-skin.cf-public-app.watch-page .topbar.cinflix-topbar-modern .topbar-right {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex: 1 1 auto;
  min-width: 0;
  width: auto;
  margin-left: 0;
}

body.streamix-skin.cf-public-app.watch-page .topbar.cinflix-topbar-modern .drawer-head {
  display: none;
}

body.streamix-skin.cf-public-app.watch-page .topbar.cinflix-topbar-modern .main-nav {
  display: flex;
  align-items: center;
  gap: 1.65rem;
  margin-right: auto;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

body.streamix-skin.cf-public-app.watch-page .topbar.cinflix-topbar-modern .nav-link {
  padding: 0;
  font-size: 0.96rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.2;
}

body.streamix-skin.cf-public-app.watch-page .topbar.cinflix-topbar-modern .nav-link:hover,
body.streamix-skin.cf-public-app.watch-page .topbar.cinflix-topbar-modern .nav-link.active {
  color: #ffffff;
}

body.streamix-skin.cf-public-app.watch-page .topbar.cinflix-topbar-modern .search-wrap {
  position: relative;
  inset: auto;
  flex: 0 0 min(255px, 28vw);
  width: min(255px, 28vw);
  min-width: 220px;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

body.streamix-skin.cf-public-app.watch-page .topbar.cinflix-topbar-modern .search-wrap .search-icon {
  left: 0.95rem;
  color: rgba(255, 255, 255, 0.7);
}

body.streamix-skin.cf-public-app.watch-page .topbar.cinflix-topbar-modern .search-wrap input,
body.streamix-skin.cf-public-app.watch-page .topbar.cinflix-topbar-modern .search-wrap .search-input {
  min-height: 40px;
  width: 100%;
  padding: 0.7rem 1rem 0.7rem 2.85rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(39, 44, 58, 0.88);
  color: #ffffff;
}

body.streamix-skin.cf-public-app.watch-page .topbar.cinflix-topbar-modern .search-wrap input::placeholder,
body.streamix-skin.cf-public-app.watch-page .topbar.cinflix-topbar-modern .search-wrap .search-input::placeholder {
  color: rgba(255, 255, 255, 0.64);
}

body.streamix-skin.cf-public-app.watch-page .topbar.cinflix-topbar-modern .topbar-quick-actions {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  flex: 0 0 auto;
  margin-left: 0;
}

body.streamix-skin.cf-public-app.watch-page .topbar.cinflix-topbar-modern .topbar-action-btn {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
  color: #ffffff;
  box-shadow: none;
}

body.streamix-skin.cf-public-app.watch-page .topbar.cinflix-topbar-modern .topbar-action-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
}

body.streamix-skin.cf-public-app.watch-page .topbar.cinflix-topbar-modern .topbar-profile-btn {
  background: linear-gradient(135deg, #ff2d63 0%, #cb4cff 100%);
  border-color: transparent;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.08),
    0 0 0 6px rgba(255, 255, 255, 0.035);
}

body.streamix-skin.cf-public-app.watch-page .topbar.cinflix-topbar-modern .topbar-action-btn svg {
  display: block;
  flex: 0 0 auto;
  margin: 0;
}

body.streamix-skin.cf-public-app.watch-page .topbar-notifications {
  position: absolute;
  top: calc(100% + 0.8rem);
  right: 1.45rem;
  width: min(340px, calc(100vw - 2rem));
}

@media (max-width: 820px) {
  body.streamix-skin.cf-public-app.watch-page .topbar.cinflix-topbar-modern {
    min-height: 72px;
    padding: 0.9rem 1rem;
  }

  body.streamix-skin.cf-public-app.watch-page .topbar.cinflix-topbar-modern .topbar-right {
    position: absolute;
    top: calc(100% + 0.7rem);
    right: 0.85rem;
    left: 0.85rem;
    display: block;
    padding: 1rem 1rem 1.05rem;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(4, 5, 10, 0.98);
    box-shadow: 0 24px 42px rgba(0, 0, 0, 0.4);
    opacity: 0;
    transform: translateY(-10px) scale(0.985);
    pointer-events: none;
  }

  body.mobile-nav-open .topbar.cinflix-topbar-modern .topbar-right {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
  }

  body.streamix-skin.cf-public-app.watch-page .topbar.cinflix-topbar-modern .drawer-head {
    display: flex;
    padding-bottom: 0.9rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  body.streamix-skin.cf-public-app.watch-page .topbar.cinflix-topbar-modern .main-nav {
    display: grid;
    gap: 0.85rem;
    padding-top: 0.95rem;
    margin: 0;
  }

  body.streamix-skin.cf-public-app.watch-page .topbar.cinflix-topbar-modern .nav-link {
    font-size: 1rem;
  }

  body.streamix-skin.cf-public-app.watch-page .topbar.cinflix-topbar-modern .search-wrap {
    width: 100%;
    min-width: 0;
    margin-top: 1rem;
    padding-top: 0.9rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  body.streamix-skin.cf-public-app.watch-page .topbar.cinflix-topbar-modern .topbar-quick-actions {
    display: none;
  }

  body.streamix-skin.cf-public-app.watch-page .topbar-notifications {
    top: calc(100% + 0.7rem);
    right: 0.85rem;
    left: 0.85rem;
    width: auto;
  }
}

body.streamix-skin.cf-public-app.watch-page .topbar.cinflix-topbar-modern .brand-wordmark,
body.streamix-skin.cf-public-app.watch-page .topbar.cinflix-topbar-modern .drawer-brand {
  font-family: 'Inter', sans-serif;
  font-size: clamp(1.55rem, 2vw, 1.9rem);
  font-weight: 900;
  letter-spacing: -0.06em;
  color: #ffffff;
  background: linear-gradient(135deg, #ff4f86 0%, #cb4cff 58%, #7f7cff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

body.streamix-skin.cf-public-app.watch-page .topbar.cinflix-topbar-modern .nav-link::after {
  content: '';
  display: block;
  width: 100%;
  height: 2px;
  margin-top: 0.45rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff4f86 0%, #cb4cff 100%);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 180ms ease;
}

body.streamix-skin.cf-public-app.watch-page .topbar.cinflix-topbar-modern .nav-link:hover::after,
body.streamix-skin.cf-public-app.watch-page .topbar.cinflix-topbar-modern .nav-link.active::after {
  transform: scaleX(1);
}

body.streamix-skin.cf-public-app.watch-page .topbar-notifications {
  padding: 1.2rem 1.15rem 1rem;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(5, 6, 10, 0.98);
  box-shadow: 0 26px 48px rgba(0, 0, 0, 0.42);
  opacity: 0;
  transform: translateY(-10px) scale(0.985);
  transform-origin: top right;
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
  z-index: 95;
}

body.streamix-skin.cf-public-app.watch-page .topbar.cinflix-topbar-modern.notifications-open .topbar-notifications {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

body.streamix-skin.cf-public-app.watch-page .topbar-notifications-head h3 {
  margin: 0;
  font-size: 1.9rem;
  font-weight: 800;
  letter-spacing: -0.05em;
  color: #ffffff;
}

body.streamix-skin.cf-public-app.watch-page .topbar-notifications-list {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
  max-height: min(60vh, 420px);
  overflow: auto;
}

body.streamix-skin.cf-public-app.watch-page .topbar-notification-item {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 0.8rem;
  align-items: start;
}

body.streamix-skin.cf-public-app.watch-page .topbar-notification-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(135deg, #ff3c87 0%, #bf47ff 100%);
}

body.streamix-skin.cf-public-app.watch-page .topbar-notification-copy {
  display: grid;
  gap: 0.16rem;
}

body.streamix-skin.cf-public-app.watch-page .topbar-notification-copy strong {
  color: #ffffff;
  font-size: 0.98rem;
  font-weight: 700;
}

body.streamix-skin.cf-public-app.watch-page .topbar-notification-copy span {
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.94rem;
  line-height: 1.35;
}

body.streamix-skin.cf-public-app.watch-page .topbar-notification-copy small {
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.85rem;
}

body.streamix-skin.cf-public-app.watch-page .topbar-notification-link {
  text-decoration: none;
  color: inherit;
}

body.streamix-skin.cf-public-app.watch-page .topbar-notification-cta {
  color: #f4d9ff;
  font-weight: 700;
}

body.streamix-skin.cf-public-app.watch-page .topbar-notifications-empty {
  padding: 1rem 0.1rem 0.3rem;
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.95rem;
}

body.streamix-skin.cf-public-app.watch-page .watch-main {
  padding-top: calc(74px + 18px);
}

@media (max-width: 820px) {
  body.streamix-skin.cf-public-app.watch-page .watch-main {
    padding-top: calc(72px + 16px);
  }
}

/* Mobile topbar hotfix */
@media (max-width: 820px) {
  body.streamix-skin.cf-public-app .topbar.cinflix-topbar-modern {
    z-index: 120;
    padding: 0.9rem 1rem;
    align-items: center;
  }

  body.streamix-skin.cf-public-app .topbar.cinflix-topbar-modern .mobile-header-tools {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    margin-left: auto;
  }

  body.streamix-skin.cf-public-app .topbar.cinflix-topbar-modern .mobile-icon-btn,
  body.streamix-skin.cf-public-app .topbar.cinflix-topbar-modern .drawer-head-icon,
  body.streamix-skin.cf-public-app .topbar.cinflix-topbar-modern .drawer-close-btn {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(122, 130, 148, 0.24);
    color: #fff;
    backdrop-filter: blur(12px);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
  }

  body.streamix-skin.cf-public-app .topbar.cinflix-topbar-modern .mobile-icon-btn:hover,
  body.streamix-skin.cf-public-app .topbar.cinflix-topbar-modern .mobile-icon-btn:active {
    background: rgba(150, 158, 176, 0.34);
    border-color: rgba(255, 255, 255, 0.12);
  }

  body.streamix-skin.cf-public-app .topbar.cinflix-topbar-modern .mobile-menu-toggle {
    gap: 4px;
  }

  body.streamix-skin.cf-public-app .topbar.cinflix-topbar-modern .mobile-menu-toggle span {
    width: 16px;
    height: 2px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.96);
    transition: transform 180ms ease, opacity 180ms ease;
  }

  body.mobile-nav-open .topbar.cinflix-topbar-modern .mobile-menu-toggle span:nth-child(1),
  .topbar.cinflix-topbar-modern.drawer-open .mobile-menu-toggle span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  body.mobile-nav-open .topbar.cinflix-topbar-modern .mobile-menu-toggle span:nth-child(2),
  .topbar.cinflix-topbar-modern.drawer-open .mobile-menu-toggle span:nth-child(2) {
    opacity: 0;
  }

  body.mobile-nav-open .topbar.cinflix-topbar-modern .mobile-menu-toggle span:nth-child(3),
  .topbar.cinflix-topbar-modern.drawer-open .mobile-menu-toggle span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  body.streamix-skin.cf-public-app .topbar.cinflix-topbar-modern .topbar-right {
    position: fixed;
    top: calc(env(safe-area-inset-top, 0px) + 76px);
    right: 12px;
    left: 12px;
    bottom: auto;
    width: auto;
    max-width: none;
    max-height: calc(100dvh - 96px);
    display: block;
    padding: 1rem 1rem 1.1rem;
    border-radius: 26px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(180deg, rgba(13, 16, 24, 0.98) 0%, rgba(6, 8, 14, 0.98) 100%);
    box-shadow: 0 28px 48px rgba(0, 0, 0, 0.42);
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-12px) scale(0.985);
    transform-origin: top center;
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
    z-index: 130;
  }

  body.mobile-nav-open .topbar.cinflix-topbar-modern .topbar-right,
  .topbar.cinflix-topbar-modern.drawer-open .topbar-right {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
  }

  body.streamix-skin.cf-public-app .topbar.cinflix-topbar-modern .drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
    padding-bottom: 0.9rem;
    margin-bottom: 0.95rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  body.streamix-skin.cf-public-app .topbar.cinflix-topbar-modern .main-nav {
    display: grid;
    gap: 0.8rem;
    margin: 0;
    padding: 0;
  }

  body.streamix-skin.cf-public-app .topbar.cinflix-topbar-modern .nav-link {
    padding: 0.2rem 0;
    font-size: 1rem;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.96);
  }

  body.streamix-skin.cf-public-app .topbar.cinflix-topbar-modern .search-wrap {
    width: 100%;
    min-width: 0;
    margin-top: 1rem;
    padding-top: 0.95rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  body.streamix-skin.cf-public-app .topbar-notifications {
    z-index: 131;
  }
}

@media (max-width: 640px) {
  body.streamix-skin.cf-public-app .topbar.cinflix-topbar-modern {
    min-height: 62px !important;
    padding: calc(max(0.5rem, env(safe-area-inset-top))) 0.85rem 0.65rem !important;
    gap: 0.5rem !important;
  }

  body.streamix-skin.cf-public-app .topbar.cinflix-topbar-modern .logo {
    min-width: 0 !important;
    max-width: calc(100% - 108px) !important;
    overflow: hidden !important;
  }

  body.streamix-skin.cf-public-app .topbar.cinflix-topbar-modern .brand-wordmark {
    display: block !important;
    font-size: clamp(1.55rem, 7vw, 1.9rem) !important;
    line-height: 1 !important;
    letter-spacing: -0.04em !important;
  }

  body.streamix-skin.cf-public-app .topbar.cinflix-topbar-modern .mobile-header-tools {
    gap: 0.5rem !important;
    margin-left: auto !important;
    flex: 0 0 auto !important;
  }

  body.streamix-skin.cf-public-app .topbar.cinflix-topbar-modern .mobile-icon-btn,
  body.streamix-skin.cf-public-app .topbar.cinflix-topbar-modern .drawer-head-icon,
  body.streamix-skin.cf-public-app .topbar.cinflix-topbar-modern .drawer-close-btn {
    width: 40px !important;
    height: 40px !important;
  }

  body.streamix-skin.cf-public-app:not(.watch-page) .rail-nav {
    top: 36%;
    width: 38px;
    height: 58px;
    font-size: 1.45rem;
    background: rgba(8, 10, 16, 0.92);
    border-color: rgba(255,255,255,0.14);
  }

  body.streamix-skin.cf-public-app:not(.watch-page) .rail-nav.prev {
    left: 0.1rem;
    border-radius: 12px;
  }

  body.streamix-skin.cf-public-app:not(.watch-page) .rail-nav.next {
    right: 0.1rem;
    border-radius: 12px;
  }
}

/* Main page mobile fallback */
@media (max-width: 820px) {
  body.streamix-skin.cf-public-app .mobile-header-tools {
    display: flex !important;
    align-items: center;
    gap: 0.7rem;
    margin-left: auto;
  }

  body.streamix-skin.cf-public-app .mobile-icon-btn {
    width: 42px !important;
    height: 42px !important;
    border-radius: 999px !important;
    padding: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    background: rgba(122, 130, 148, 0.24) !important;
    color: #fff !important;
    backdrop-filter: blur(12px);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
  }

  body.streamix-skin.cf-public-app .mobile-menu-toggle {
    gap: 4px;
  }

  body.streamix-skin.cf-public-app .mobile-menu-toggle span {
    width: 16px !important;
    height: 2px !important;
    border-radius: 999px !important;
    background: rgba(255,255,255,0.96) !important;
  }

  body.streamix-skin.cf-public-app .topbar-right {
    position: absolute !important;
    top: calc(100% + 0.45rem) !important;
    right: 0.75rem !important;
    left: 0.75rem !important;
    bottom: auto !important;
    width: auto !important;
    max-width: none !important;
    max-height: min(74vh, 540px) !important;
    display: block !important;
    padding: 1rem 1rem 1.1rem !important;
    border-radius: 24px !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    background:
      radial-gradient(circle at 15% 18%, rgba(255, 255, 255, 0.06) 0 1px, transparent 1.5px),
      linear-gradient(180deg, rgba(8, 10, 18, 0.99) 0%, rgba(5, 6, 12, 0.99) 100%) !important;
    box-shadow: 0 24px 40px rgba(0, 0, 0, 0.34) !important;
    overflow-y: auto !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translateY(-10px) scale(0.985) !important;
    transform-origin: top center !important;
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease !important;
    z-index: 130 !important;
  }

  body.mobile-nav-open .topbar.cinflix-topbar-modern .topbar-right,
  body.streamix-skin.cf-public-app .topbar.cinflix-topbar-modern.drawer-open .topbar-right {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translateY(0) scale(1) !important;
  }

  body.streamix-skin.cf-public-app .drawer-head {
    padding-bottom: 0.95rem !important;
    margin-bottom: 0 !important;
    justify-content: space-between !important;
  }

  body.streamix-skin.cf-public-app .main-nav {
    display: grid !important;
    gap: 0.72rem !important;
    margin: 0 !important;
    padding: 0.9rem 0 0 !important;
    order: 2 !important;
    justify-items: stretch !important;
  }

  body.streamix-skin.cf-public-app .nav-link {
    min-height: 0 !important;
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    padding: 0 !important;
    font-size: 1rem !important;
    font-weight: 500 !important;
    line-height: 1.45 !important;
    text-align: left !important;
    white-space: normal !important;
  }

  body.streamix-skin.cf-public-app .search-wrap {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    margin-top: 0.85rem !important;
    margin-bottom: 0 !important;
    padding-top: 0.9rem !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
    order: 3 !important;
    align-self: stretch !important;
  }

  body.streamix-skin.cf-public-app .search-wrap input,
  body.streamix-skin.cf-public-app .search-wrap .search-input {
    min-height: 46px !important;
    display: block !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    text-align: left !important;
    line-height: normal !important;
  }

  body.streamix-skin.cf-public-app .search-wrap .search-icon {
    display: block !important;
  }
}

/* Main hero mobile fix */
@media (max-width: 820px) {
  body.streamix-skin.cf-public-app:not(.watch-page) .hero {
    min-height: clamp(560px, 88svh, 760px) !important;
    height: clamp(560px, 88svh, 760px) !important;
  }

  body.streamix-skin.cf-public-app[data-page-view="latest"] .latest-hero {
    min-height: 100svh !important;
    height: 100svh !important;
    padding-top: 4.5rem !important;
  }

  body.streamix-skin.cf-public-app[data-page-view="latest"] .topbar.cinflix-topbar-modern {
    background: transparent !important;
    border-bottom-color: transparent !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
  }

  body.streamix-skin.cf-public-app[data-page-view="latest"] .latest-browse-section {
    margin-top: -2.5rem;
    border-radius: 22px 22px 0 0;
    padding-top: 1rem;
  }

  body.streamix-skin.cf-public-app:not(.watch-page) .hero .hero-content,
  body.streamix-skin.cf-public-app:not(.watch-page) .hero-content {
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    max-width: none !important;
    width: 100% !important;
    padding: 0 14px 56px !important;
  }

  body.streamix-skin.cf-public-app:not(.watch-page) .hero-kicker {
    max-width: calc(100vw - 28px) !important;
    padding: 0.22rem 0.62rem !important;
    font-size: 0.68rem !important;
    line-height: 1.15 !important;
    white-space: normal !important;
    gap: 0.34rem !important;
    letter-spacing: 0.08em !important;
  }

  body.streamix-skin.cf-public-app:not(.watch-page) .hero-title,
  body.streamix-skin.cf-public-app:not(.watch-page) .hero-content h1 {
    margin-bottom: 0.75rem !important;
    font-size: clamp(1.85rem, 8.9vw, 3rem) !important;
    line-height: 0.98 !important;
    -webkit-line-clamp: 3 !important;
  }

  body.streamix-skin.cf-public-app:not(.watch-page) .hero-meta {
    display: flex !important;
    align-items: center !important;
    gap: 0.45rem !important;
    flex-wrap: wrap !important;
    margin-bottom: 0.7rem !important;
    font-size: 0.72rem !important;
    line-height: 1.35 !important;
    overflow: visible !important;
  }

  body.streamix-skin.cf-public-app:not(.watch-page) .hero-meta .dot {
    flex: 0 0 3px;
  }

  body.streamix-skin.cf-public-app:not(.watch-page) .hero-overview {
    max-width: 100% !important;
    margin-bottom: 1rem !important;
    font-size: 0.92rem !important;
    line-height: 1.45 !important;
    -webkit-line-clamp: 4 !important;
  }

  body.streamix-skin.cf-public-app:not(.watch-page) .hero-actions {
    display: flex !important;
    align-items: center !important;
    gap: 0.65rem !important;
    flex-wrap: nowrap !important;
    width: 100% !important;
    margin-bottom: 1rem !important;
  }

  body.streamix-skin.cf-public-app:not(.watch-page) .hero-actions .btn {
    min-height: 48px !important;
    min-width: 0 !important;
    flex: 0 1 auto !important;
  }

  body.streamix-skin.cf-public-app:not(.watch-page) .hero-action-main {
    flex: 1 1 auto !important;
    justify-content: center !important;
    padding-inline: 1rem !important;
    white-space: nowrap !important;
  }

  body.streamix-skin.cf-public-app:not(.watch-page) .hero-action-main span[data-hero-open-label] {
    overflow: hidden;
    text-overflow: ellipsis;
  }

  body.streamix-skin.cf-public-app:not(.watch-page) .hero-action-plus {
    flex: 0 0 48px !important;
    width: 48px !important;
    padding: 0 !important;
    justify-content: center !important;
  }

  body.streamix-skin.cf-public-app:not(.watch-page) .hero-indicators {
    right: 14px !important;
    bottom: 14px !important;
  }
}
/* -- TV Mode ------------------------------------------------ */
body.tv-ui {
  font-size: 18px;
}

body.tv-ui .topbar,
body.tv-ui .section,
body.tv-ui .watch-main,
body.tv-ui .browse-main,
body.tv-ui .discover-main {
  max-width: 1720px;
  margin-left: auto;
  margin-right: auto;
}

body.tv-ui .btn,
body.tv-ui .nav-link,
body.tv-ui .reaction-btn,
body.tv-ui .player-overlay-btn,
body.tv-ui .rail-nav,
body.tv-ui .filter-btn,
body.tv-ui .filter-chip,
body.tv-ui .tag-chip,
body.tv-ui .mobile-icon-btn,
body.tv-ui input,
body.tv-ui select {
  min-height: 52px;
  font-size: 1rem;
}

body.tv-ui .hero,
body.tv-ui .discover-hero,
body.tv-ui .watch-player-block,
body.tv-ui .watch-info-block {
  border-radius: 24px;
}

body.tv-ui .poster-card,
body.tv-ui .franchise-card,
body.tv-ui .spotlight-card,
body.tv-ui .server-btn,
body.tv-ui .source-btn,
body.tv-ui .player-overlay-btn,
body.tv-ui .rail-nav,
body.tv-ui .nav-link,
body.tv-ui .btn,
body.tv-ui button,
body.tv-ui a,
body.tv-ui input,
body.tv-ui select,
body.tv-ui textarea {
  scroll-margin: 120px;
}

body.tv-ui .poster-card:focus-visible,
body.tv-ui .franchise-card:focus-visible,
body.tv-ui .spotlight-card:focus-visible,
body.tv-ui .server-btn:focus-visible,
body.tv-ui .source-btn:focus-visible,
body.tv-ui .player-overlay-btn:focus-visible,
body.tv-ui .rail-nav:focus-visible,
body.tv-ui .nav-link:focus-visible,
body.tv-ui .btn:focus-visible,
body.tv-ui button:focus-visible,
body.tv-ui a:focus-visible,
body.tv-ui input:focus-visible,
body.tv-ui select:focus-visible,
body.tv-ui textarea:focus-visible {
  outline: 4px solid rgba(245,197,24,0.95);
  outline-offset: 4px;
  box-shadow: 0 0 0 8px rgba(245,197,24,0.18);
}

body.tv-ui .rail-nav {
  width: 56px;
  height: 56px;
}

body.tv-ui .search-wrap,
body.tv-ui .episode-controls,
body.tv-ui .details-actions,
body.tv-ui .watch-controls {
  gap: 1rem;
}

body.tv-ui .watch-video-wrap video,
body.tv-ui .watch-video-wrap iframe,
body.tv-ui .plyr__video-wrapper {
  min-height: min(72vh, 980px);
}

body.tv-ui .watch-info-head,
body.tv-ui .site-footer-grid {
  gap: 2rem;
}

/* Home page: let the hero sit flush at the very top under a transparent topbar */
body.streamix-skin.cf-public-app[data-page-view="home"] main {
  padding-top: 0 !important;
}

body.streamix-skin.cf-public-app[data-page-view="home"] .topbar.cinflix-topbar-modern {
  background: transparent !important;
  border-bottom-color: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}

body.streamix-skin.cf-public-app[data-page-view="home"] .topbar.cinflix-topbar-modern.scrolled {
  background:
    linear-gradient(180deg, rgba(20, 6, 10, 0.98) 0%, rgba(32, 10, 12, 0.96) 52%, rgba(18, 14, 10, 0.98) 100%) !important;
  border-bottom-color: rgba(255, 255, 255, 0.05) !important;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.24) !important;
  backdrop-filter: blur(12px) !important;
}

body.streamix-skin.cf-public-app[data-page-view="home"] .hero {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

body.streamix-skin.cf-public-app[data-page-view="home"] .section {
  padding-top: 1.7rem !important;
  padding-bottom: 0.15rem !important;
}

body.streamix-skin.cf-public-app[data-page-view="home"] .hero + .section {
  padding-top: 1.1rem !important;
}

body.streamix-skin.cf-public-app[data-page-view="home"] .section-head {
  margin-bottom: 1rem !important;
}

body.streamix-skin.cf-public-app[data-page-view="home"] .rail-wrap {
  margin-top: 0.12rem;
  overflow: visible !important;
}

body.streamix-skin.cf-public-app[data-page-view="home"] .rail {
  gap: 0.95rem !important;
  padding-bottom: 1.35rem !important;
}

body.streamix-skin.cf-public-app[data-page-view="home"] .poster-rail {
  grid-auto-columns: minmax(182px, 182px) !important;
}

body.streamix-skin.cf-public-app[data-page-view="home"] #curatedRowsMount {
  display: grid;
  gap: 0.15rem;
}

body.streamix-skin.cf-public-app[data-page-view="home"] #curatedRowsMount > .section:first-child {
  padding-top: 1.45rem !important;
}

@media (max-width: 820px) {
  body.streamix-skin.cf-public-app[data-page-view="home"] .hero {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }

  body.streamix-skin.cf-public-app[data-page-view="home"] .section {
    padding-top: 1.25rem !important;
  }

  body.streamix-skin.cf-public-app[data-page-view="home"] .hero + .section,
  body.streamix-skin.cf-public-app[data-page-view="home"] #curatedRowsMount > .section:first-child {
    padding-top: 0.95rem !important;
  }

  body.streamix-skin.cf-public-app[data-page-view="home"] .rail {
    gap: 0.8rem !important;
    padding-bottom: 1.15rem !important;
  }

  body.streamix-skin.cf-public-app[data-page-view="home"] .poster-rail {
    grid-auto-columns: minmax(164px, 164px) !important;
  }
}

/* Mobile menu layer fix */
@media (max-width: 820px) {
  body.streamix-skin.cf-public-app .topbar.cinflix-topbar-modern .topbar-right {
    position: absolute !important;
    top: calc(100% + 0.45rem) !important;
    right: 0.85rem !important;
    left: 0.85rem !important;
    bottom: auto !important;
    width: auto !important;
    max-width: none !important;
    max-height: min(74vh, 540px) !important;
    display: block !important;
    padding: 1rem 1rem 1.1rem !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 24px !important;
    background:
      radial-gradient(circle at 15% 18%, rgba(255, 255, 255, 0.06) 0 1px, transparent 1.5px),
      linear-gradient(180deg, rgba(2, 3, 8, 0.995) 0%, rgba(3, 4, 8, 0.99) 100%) !important;
    box-shadow: 0 26px 42px rgba(0, 0, 0, 0.34) !important;
    overflow-y: auto !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translateY(-10px) scale(0.985) !important;
    transform-origin: top center !important;
    z-index: 130 !important;
  }

  body.mobile-nav-open .topbar.cinflix-topbar-modern .topbar-right,
  body.streamix-skin.cf-public-app .topbar.cinflix-topbar-modern.drawer-open .topbar-right {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translateY(0) scale(1) !important;
  }

  body.streamix-skin.cf-public-app .topbar.cinflix-topbar-modern .drawer-head {
    justify-content: space-between !important;
    padding-bottom: 0.95rem !important;
    margin-bottom: 0 !important;
  }

  body.streamix-skin.cf-public-app .topbar.cinflix-topbar-modern .main-nav {
    display: grid !important;
    gap: 0.72rem !important;
    margin: 0 !important;
    padding-top: 0.9rem !important;
    justify-items: stretch !important;
  }

  body.streamix-skin.cf-public-app .topbar.cinflix-topbar-modern .nav-link {
    min-height: 0 !important;
    width: 100% !important;
    max-width: none !important;
    justify-content: flex-start !important;
    padding: 0 !important;
    font-size: 1rem !important;
    font-weight: 500 !important;
    line-height: 1.45 !important;
    text-align: left !important;
    white-space: normal !important;
  }

  body.streamix-skin.cf-public-app .topbar.cinflix-topbar-modern .search-wrap {
    width: 100% !important;
    max-width: none !important;
    margin-top: 0.85rem !important;
    margin-bottom: 0 !important;
    padding-top: 0.9rem !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
    align-self: stretch !important;
  }
}

@media (max-width: 480px) {
  body.streamix-skin.cf-public-app .topbar.cinflix-topbar-modern .topbar-right {
    right: 0.6rem !important;
    left: 0.6rem !important;
    padding: 0.95rem 0.9rem 1rem !important;
    border-radius: 22px !important;
  }
}

@media (max-width: 820px) {
  body.streamix-skin.cf-public-app .topbar.cinflix-topbar-modern .topbar-right {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0 !important;
  }

  body.streamix-skin.cf-public-app .topbar.cinflix-topbar-modern .drawer-head {
    order: 1 !important;
    flex: 0 0 auto !important;
    display: flex !important;
  }

  body.streamix-skin.cf-public-app .topbar.cinflix-topbar-modern .main-nav {
    order: 2 !important;
    flex: 0 0 auto !important;
    width: 100% !important;
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 0.72rem !important;
    margin: 0 !important;
    padding: 0.9rem 0 0 !important;
    overflow: visible !important;
  }

  body.streamix-skin.cf-public-app .topbar.cinflix-topbar-modern .nav-link {
    display: block !important;
    width: 100% !important;
    min-height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    white-space: normal !important;
  }

  body.streamix-skin.cf-public-app .topbar.cinflix-topbar-modern .topbar-quick-actions {
    display: none !important;
  }

  body.streamix-skin.cf-public-app .topbar.cinflix-topbar-modern .search-wrap:not(.watch-link-wrap) {
    order: 3 !important;
    flex: 0 0 auto !important;
    width: 100% !important;
    margin-top: 0.85rem !important;
    margin-bottom: 0 !important;
    padding-top: 0.9rem !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
    position: relative !important;
    inset: auto !important;
    transform: none !important;
    opacity: 1 !important;
    pointer-events: auto !important;
  }
}

/* Final mobile layout guard:
   force public pages to use the full viewport width and keep rails readable
   on narrow screens despite earlier duplicated overrides. */
@media (max-width: 640px) {
  body.streamix-skin.cf-public-app[data-page-view] main,
  body.streamix-skin.cf-public-app .browse-main,
  body.streamix-skin.cf-public-app .discover-main {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    overflow-x: clip;
  }

  body.streamix-skin.cf-public-app:not(.watch-page) .section,
  body.streamix-skin.cf-public-app[data-page-view="home"] .section {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 0.85rem !important;
    padding-right: 0.85rem !important;
    box-sizing: border-box;
  }

  body.streamix-skin.cf-public-app:not(.watch-page) .rail-wrap,
  body.streamix-skin.cf-public-app[data-page-view="home"] .rail-wrap {
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    overflow: hidden !important;
  }

  body.streamix-skin.cf-public-app:not(.watch-page) .rail,
  body.streamix-skin.cf-public-app[data-page-view="home"] .rail {
    width: 100% !important;
    gap: 0.7rem !important;
    grid-auto-columns: minmax(39vw, 39vw) !important;
    padding: 0.45rem 0 1rem !important;
    margin: 0 !important;
    scroll-padding-inline: 0 !important;
  }

  body.streamix-skin.cf-public-app:not(.watch-page) .poster-rail,
  body.streamix-skin.cf-public-app[data-page-view="home"] .poster-rail {
    grid-auto-columns: minmax(41vw, 41vw) !important;
  }

  body.streamix-skin.cf-public-app:not(.watch-page) .rail-nav {
    display: none !important;
  }

  body.streamix-skin.cf-public-app .browse-grid {
    width: 100% !important;
    max-width: 100% !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0.8rem !important;
    padding: 0 !important;
    margin: 0.85rem 0 0 !important;
    contain: none;
  }

  body.streamix-skin.cf-public-app .browse-grid .card,
  body.streamix-skin.cf-public-app .browse-grid .poster-card {
    min-width: 0 !important;
    width: 100% !important;
  }
}

/* Remove card boxes around posters on public sections and browse grids */
body.streamix-skin.cf-public-app:not(.watch-page) .poster-card,
body.streamix-skin.cf-public-app:not(.watch-page) .browse-grid .card {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

body.streamix-skin.cf-public-app:not(.watch-page) .poster-art,
body.streamix-skin.cf-public-app:not(.watch-page) .browse-grid .card {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  border-radius: 18px !important;
}

body.streamix-skin.cf-public-app:not(.watch-page) .poster-art::after,
body.streamix-skin.cf-public-app:not(.watch-page) .browse-grid .card::after {
  background: none !important;
}

body.streamix-skin.cf-public-app:not(.watch-page) .browse-grid .card::before {
  background: linear-gradient(to top, rgba(6, 8, 14, 0.82) 0%, rgba(6, 8, 14, 0.22) 42%, transparent 68%) !important;
}

body.streamix-skin.cf-public-app:not(.watch-page) .poster-card:hover .poster-art,
body.streamix-skin.cf-public-app:not(.watch-page) .browse-grid .card:hover {
  border: 0 !important;
  border-color: transparent !important;
  box-shadow: none !important;
}

body.streamix-skin.cf-public-app:not(.watch-page) #detailsModal .details-reactions,
body.streamix-skin.cf-public-app:not(.watch-page) #detailsModal .reaction-btn,
body.streamix-skin.cf-public-app:not(.watch-page) #detailsModal .reaction-status {
  display: none !important;
}

/* Final viewport guard for medium desktop / reduced window sizes:
   prevent the topbar from wrapping into the hero area. */
@media (min-width: 821px) and (max-width: 1180px), (min-width: 821px) and (max-height: 920px) {
  body.streamix-skin.cf-public-app:not(.watch-page) .topbar.cinflix-topbar-modern {
    min-height: 74px !important;
    padding: 0.8rem 1rem !important;
    gap: 0.85rem !important;
    align-items: center !important;
  }

  body.streamix-skin.cf-public-app:not(.watch-page) .topbar.cinflix-topbar-modern .logo {
    min-width: 0 !important;
    margin-right: 0.4rem !important;
  }

  body.streamix-skin.cf-public-app:not(.watch-page) .topbar.cinflix-topbar-modern .brand-wordmark {
    font-size: clamp(1.8rem, 2.3vw, 2.25rem) !important;
  }

  body.streamix-skin.cf-public-app:not(.watch-page) .topbar.cinflix-topbar-modern .topbar-right {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    align-items: center !important;
    gap: 0.7rem !important;
    width: 100% !important;
    position: static !important;
    inset: auto !important;
    padding: 0 !important;
    margin-left: auto !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    transform: none !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    overflow: visible !important;
  }

  body.streamix-skin.cf-public-app:not(.watch-page) .topbar.cinflix-topbar-modern .drawer-head {
    display: none !important;
  }

  body.streamix-skin.cf-public-app:not(.watch-page) .topbar.cinflix-topbar-modern .main-nav {
    display: none !important;
  }

  body.streamix-skin.cf-public-app:not(.watch-page) .topbar.cinflix-topbar-modern .search-wrap:not(.watch-link-wrap),
  body.streamix-skin.cf-public-app:not(.watch-page) .topbar.cinflix-topbar-modern .search-wrap {
    position: relative !important;
    inset: auto !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    width: min(300px, 32vw) !important;
    min-width: 200px !important;
    max-width: 100% !important;
    margin: 0 0 0 auto !important;
    padding: 0 !important;
    border-top: 0 !important;
    transform: none !important;
    opacity: 1 !important;
    pointer-events: auto !important;
  }

  body.streamix-skin.cf-public-app:not(.watch-page) .topbar.cinflix-topbar-modern .search-wrap input,
  body.streamix-skin.cf-public-app:not(.watch-page) .topbar.cinflix-topbar-modern .search-wrap .search-input {
    min-height: 44px !important;
    font-size: 0.95rem !important;
  }

  body.streamix-skin.cf-public-app:not(.watch-page) .topbar.cinflix-topbar-modern .topbar-quick-actions {
    display: flex !important;
    gap: 0.55rem !important;
  }

  body.streamix-skin.cf-public-app:not(.watch-page) .topbar.cinflix-topbar-modern .topbar-action-btn {
    width: 42px !important;
    height: 42px !important;
  }

  body.streamix-skin.cf-public-app:not(.watch-page) .hero {
    padding-top: 5.4rem !important;
    min-height: clamp(560px, 82vh, 760px) !important;
  }

  body.streamix-skin.cf-public-app:not(.watch-page) .hero .hero-content,
  body.streamix-skin.cf-public-app:not(.watch-page) .hero-content {
    max-width: min(620px, 62vw) !important;
    padding-top: 7rem !important;
    padding-right: 1.1rem !important;
  }

  body.streamix-skin.cf-public-app:not(.watch-page) .hero-content h1 {
    font-size: clamp(2.6rem, 6vw, 4.25rem) !important;
  }
}

@media (min-width: 821px) and (max-height: 700px) {
  body.streamix-skin.cf-public-app:not(.watch-page) .topbar.cinflix-topbar-modern {
    min-height: 62px !important;
    padding: 0.55rem 0.9rem !important;
    align-items: flex-start !important;
  }

  body.streamix-skin.cf-public-app:not(.watch-page) .topbar.cinflix-topbar-modern .logo {
    align-self: flex-start !important;
  }

  body.streamix-skin.cf-public-app:not(.watch-page) .topbar.cinflix-topbar-modern .topbar-right {
    position: absolute !important;
    top: 0.55rem !important;
    right: 0.9rem !important;
    left: auto !important;
    width: auto !important;
    max-width: calc(100% - 180px) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 0.55rem !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  body.streamix-skin.cf-public-app:not(.watch-page) .topbar.cinflix-topbar-modern .main-nav,
  body.streamix-skin.cf-public-app:not(.watch-page) .topbar.cinflix-topbar-modern .drawer-head {
    display: none !important;
  }

  body.streamix-skin.cf-public-app:not(.watch-page) .topbar.cinflix-topbar-modern .topbar-quick-actions {
    display: flex !important;
    order: 1 !important;
  }

  body.streamix-skin.cf-public-app:not(.watch-page) .topbar.cinflix-topbar-modern .search-wrap:not(.watch-link-wrap),
  body.streamix-skin.cf-public-app:not(.watch-page) .topbar.cinflix-topbar-modern .search-wrap {
    order: 2 !important;
    position: relative !important;
    top: auto !important;
    right: auto !important;
    left: auto !important;
    inset: auto !important;
    width: min(270px, 30vw) !important;
    min-width: 170px !important;
    max-width: 270px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    transform: none !important;
  }

  body.streamix-skin.cf-public-app:not(.watch-page) .topbar.cinflix-topbar-modern .search-wrap input,
  body.streamix-skin.cf-public-app:not(.watch-page) .topbar.cinflix-topbar-modern .search-wrap .search-input {
    min-height: 40px !important;
    padding-left: 2.45rem !important;
    font-size: 0.9rem !important;
  }

  body.streamix-skin.cf-public-app[data-page-view] main {
    padding-top: 4.4rem !important;
  }

  body.streamix-skin.cf-public-app:not(.watch-page) .hero {
    padding-top: 4.4rem !important;
    min-height: clamp(480px, 100vh, 620px) !important;
  }

  body.streamix-skin.cf-public-app:not(.watch-page) .hero .hero-content,
  body.streamix-skin.cf-public-app:not(.watch-page) .hero-content {
    max-width: min(460px, 52vw) !important;
    padding-top: 3.6rem !important;
    padding-bottom: 2.3rem !important;
  }

  body.streamix-skin.cf-public-app:not(.watch-page) .hero-content h1 {
    font-size: clamp(2.2rem, 5.4vw, 3.4rem) !important;
  }

  body.streamix-skin.cf-public-app:not(.watch-page) .hero-overview {
    font-size: 0.92rem !important;
    max-width: 38ch !important;
  }
}

@media (max-width: 820px) {
  body.streamix-skin.cf-public-app .topbar.cinflix-topbar-modern .topbar-right {
    position: absolute !important;
    top: 100% !important;
    right: 0 !important;
    left: 0 !important;
    bottom: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    min-height: 0 !important;
    max-height: min(62dvh, 420px) !important;
    padding: 0.55rem 0.85rem 0.8rem !important;
    border-left: 0 !important;
    border-right: 0 !important;
    border-bottom: 0 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.06) !important;
    border-radius: 0 0 18px 18px !important;
    background: linear-gradient(180deg, rgba(4, 6, 12, 0.995) 0%, rgba(6, 8, 14, 0.985) 100%) !important;
    box-shadow: 0 18px 32px rgba(0, 0, 0, 0.32) !important;
    overflow-y: auto !important;
  }

  body.streamix-skin.cf-public-app .topbar.cinflix-topbar-modern .drawer-head {
    gap: 0.4rem !important;
    padding-bottom: 0.4rem !important;
    margin-bottom: 0.35rem !important;
  }

  body.streamix-skin.cf-public-app .topbar.cinflix-topbar-modern .main-nav {
    gap: 0.38rem !important;
    padding-top: 0.35rem !important;
  }

  body.streamix-skin.cf-public-app .topbar.cinflix-topbar-modern .search-wrap:not(.watch-link-wrap),
  body.streamix-skin.cf-public-app .topbar.cinflix-topbar-modern .search-wrap {
    margin-top: 0.4rem !important;
    padding-top: 0.4rem !important;
  }

  body.streamix-skin.cf-public-app .topbar.cinflix-topbar-modern .drawer-brand {
    font-size: 1.28rem !important;
  }

  body.streamix-skin.cf-public-app .topbar.cinflix-topbar-modern .drawer-join-btn {
    padding: 0.48rem 0.72rem !important;
    min-height: 0 !important;
    font-size: 0.8rem !important;
  }

  body.streamix-skin.cf-public-app .topbar.cinflix-topbar-modern .nav-link {
    padding: 0.08rem 0 !important;
    font-size: 0.95rem !important;
    line-height: 1.2 !important;
  }

  body.streamix-skin.cf-public-app .topbar.cinflix-topbar-modern .search-wrap input,
  body.streamix-skin.cf-public-app .topbar.cinflix-topbar-modern .search-wrap .search-input {
    min-height: 40px !important;
  }

  body.streamix-skin.cf-public-app .topbar.cinflix-topbar-modern .topbar-right::-webkit-scrollbar {
    width: 6px;
  }
}

@media (max-width: 480px) {
  body.streamix-skin.cf-public-app .topbar.cinflix-topbar-modern .topbar-right {
    top: 100% !important;
    right: 0 !important;
    left: 0 !important;
    max-height: min(60dvh, 380px) !important;
    padding: 0.48rem 0.7rem 0.72rem !important;
    border-radius: 0 0 14px 14px !important;
  }
}

/* Final mobile drawer override:
   keep the closed state fully hidden and open the menu as a compact panel
   directly under the topbar, without the large empty block shown in screenshots. */
@media (max-width: 820px) {
  body.streamix-skin.cf-public-app .topbar.cinflix-topbar-modern {
    overflow: visible !important;
  }

  body.streamix-skin.cf-public-app .topbar.cinflix-topbar-modern .topbar-right {
    position: absolute !important;
    top: calc(100% + 0.15rem) !important;
    left: 0.35rem !important;
    right: 0.35rem !important;
    bottom: auto !important;
    width: auto !important;
    max-width: none !important;
    min-height: 0 !important;
    max-height: min(58dvh, 360px) !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0 !important;
    padding: 0.7rem 0.8rem 0.85rem !important;
    margin: 0 !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 18px !important;
    background: linear-gradient(180deg, rgba(5, 7, 12, 0.995) 0%, rgba(7, 9, 15, 0.99) 100%) !important;
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.34) !important;
    overflow-y: auto !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translateY(-8px) scale(0.985) !important;
    transform-origin: top center !important;
    z-index: 140 !important;
  }

  body.mobile-nav-open .topbar.cinflix-topbar-modern .topbar-right,
  body.streamix-skin.cf-public-app .topbar.cinflix-topbar-modern.drawer-open .topbar-right {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translateY(0) scale(1) !important;
  }

  body.streamix-skin.cf-public-app .topbar.cinflix-topbar-modern .drawer-head {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 0.45rem !important;
    padding-bottom: 0.5rem !important;
    margin-bottom: 0.2rem !important;
  }

  body.streamix-skin.cf-public-app .topbar.cinflix-topbar-modern .main-nav {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 0.42rem !important;
    margin: 0 !important;
    padding: 0.38rem 0 0 !important;
  }

  body.streamix-skin.cf-public-app .topbar.cinflix-topbar-modern .nav-link {
    display: block !important;
    width: 100% !important;
    min-height: 0 !important;
    padding: 0.04rem 0 !important;
    margin: 0 !important;
    font-size: 0.94rem !important;
    line-height: 1.2 !important;
    white-space: normal !important;
  }

  body.streamix-skin.cf-public-app .topbar.cinflix-topbar-modern .topbar-quick-actions {
    display: none !important;
  }

  body.streamix-skin.cf-public-app .topbar.cinflix-topbar-modern .search-wrap:not(.watch-link-wrap),
  body.streamix-skin.cf-public-app .topbar.cinflix-topbar-modern .search-wrap {
    order: 3 !important;
    width: 100% !important;
    max-width: none !important;
    margin-top: 0.55rem !important;
    margin-bottom: 0 !important;
    padding-top: 0.55rem !important;
    border-top: 1px solid rgba(255, 255, 255, 0.07) !important;
    position: relative !important;
    inset: auto !important;
    transform: none !important;
    opacity: 1 !important;
    pointer-events: auto !important;
  }

  body.streamix-skin.cf-public-app .topbar.cinflix-topbar-modern .search-wrap input,
  body.streamix-skin.cf-public-app .topbar.cinflix-topbar-modern .search-wrap .search-input {
    min-height: 38px !important;
  }
}

@media (max-width: 480px) {
  body.streamix-skin.cf-public-app .topbar.cinflix-topbar-modern .topbar-right {
    left: 0.2rem !important;
    right: 0.2rem !important;
    max-height: min(56dvh, 330px) !important;
    padding: 0.62rem 0.68rem 0.78rem !important;
    border-radius: 16px !important;
  }
}

/* ========================================
   CINFLIX SLIDER FIX - 2026
   PC only arrows, transparent style, no border
   ======================================== */

/* Desktop only - Navigation arrows visible and inside the slider */
@media screen and (min-width: 1024px) {
  body .rail-wrap,
  body.streamix-skin .rail-wrap,
  body.streamix-skin.cf-public-app .rail-wrap,
  body.streamix-skin.cf-public-app:not(.watch-page) .rail-wrap {
    position: relative !important;
    overflow: visible !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  body .rail-nav,
  body.streamix-skin .rail-nav,
  body.streamix-skin.cf-public-app .rail-nav,
  body.streamix-skin.cf-public-app:not(.watch-page) .rail-nav {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    z-index: 200 !important;
    width: 48px !important;
    height: 80px !important;
    min-width: 48px !important;
    min-height: 80px !important;
    border: none !important;
    cursor: pointer !important;
    background: rgba(0, 0, 0, 0.5) !important;
    backdrop-filter: blur(4px) !important;
    -webkit-backdrop-filter: blur(4px) !important;
    color: #fff !important;
    font-size: 1.6rem !important;
    font-weight: bold !important;
    border-radius: 4px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: none !important;
    opacity: 0 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transition: opacity 0.3s ease, background 0.3s ease !important;
  }

  /* Show arrows on hover of rail-wrap */
  body .rail-wrap:hover .rail-nav,
  body.streamix-skin .rail-wrap:hover .rail-nav {
    opacity: 1 !important;
  }

  body .rail-nav.prev,
  body.streamix-skin .rail-nav.prev {
    left: 8px !important;
  }

  body .rail-nav.next,
  body.streamix-skin .rail-nav.next {
    right: 8px !important;
  }

  body .rail-nav:hover,
  body.streamix-skin .rail-nav:hover {
    background: rgba(0, 0, 0, 0.75) !important;
    transform: translateY(-50%) scale(1.05) !important;
  }

  body .rail-nav.hidden-control,
  body.streamix-skin .rail-nav.hidden-control {
    opacity: 0 !important;
    pointer-events: none !important;
  }
}

/* Mobile & Tablet - Hide arrows completely */
@media screen and (max-width: 1023px) {
  body .rail-nav,
  body.streamix-skin .rail-nav,
  body.streamix-skin.cf-public-app .rail-nav {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }
  
  body .rail-wrap,
  body.streamix-skin .rail-wrap,
  body.streamix-skin.cf-public-app .rail-wrap {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}

/* Mobile slider - show 2-3 films */
@media screen and (max-width: 767px) {
  body .rail,
  body.streamix-skin .rail,
  body.streamix-skin.cf-public-app .rail,
  body.streamix-skin.cf-public-app:not(.watch-page) .rail {
    grid-auto-columns: minmax(calc(50% - 8px), calc(50% - 8px)) !important;
    gap: 12px !important;
    padding: 0.5rem 1rem !important;
    scroll-snap-type: x mandatory !important;
  }
  
  body .poster-rail,
  body.streamix-skin .poster-rail,
  body.streamix-skin.cf-public-app .poster-rail {
    grid-auto-columns: minmax(calc(50% - 8px), calc(50% - 8px)) !important;
  }
  
  body .rail > *,
  body.streamix-skin .rail > * {
    scroll-snap-align: start !important;
  }
}

@media screen and (max-width: 479px) {
  body .rail,
  body.streamix-skin .rail,
  body.streamix-skin.cf-public-app .rail {
    grid-auto-columns: minmax(calc(50% - 6px), calc(50% - 6px)) !important;
    gap: 10px !important;
    padding: 0.5rem 0.75rem !important;
  }
  
  body .poster-rail,
  body.streamix-skin .poster-rail {
    grid-auto-columns: minmax(calc(50% - 6px), calc(50% - 6px)) !important;
  }
}

/* Franchise section - no arrows ever */
.rail-wrap-franchises .rail-nav,
body .rail-wrap-franchises .rail-nav,
body.streamix-skin .rail-wrap-franchises .rail-nav,
#franchiseSection .rail-nav,
body #franchiseSection .rail-nav,
body.streamix-skin #franchiseSection .rail-nav,
body.streamix-skin.cf-public-app #franchiseSection .rail-nav {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

/* Card plain - remove borders and background */
.card.card-plain,
body .card.card-plain,
body.streamix-skin .card.card-plain {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

.card.card-plain::before,
.card.card-plain::after {
  display: none !important;
}

/* Improved drag-to-scroll for all rails */
body .rail,
body.streamix-skin .rail {
  cursor: grab !important;
  -webkit-overflow-scrolling: touch !important;
  touch-action: pan-x !important;
  scroll-behavior: smooth !important;
  overscroll-behavior-x: contain !important;
  -webkit-user-select: none !important;
  user-select: none !important;
}

body .rail.is-dragging,
body.streamix-skin .rail.is-dragging {
  cursor: grabbing !important;
  scroll-behavior: auto !important;
}

body .rail *,
body.streamix-skin .rail * {
  -webkit-user-drag: none !important;
  user-select: none !important;
}


/* ========================================
   MODERN MOBILE TOPBAR - CINFLIX 2026
   ======================================== */

/* Mobile Topbar Base */
@media screen and (max-width: 767px) {
  body.streamix-skin .topbar,
  body.streamix-skin.cf-public-app .topbar {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 1000 !important;
    background: rgba(5, 6, 11, 0.95) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    padding: 0.75rem 1rem !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  }

  body.streamix-skin .topbar .logo,
  body.streamix-skin.cf-public-app .topbar .logo {
    font-size: 1.4rem !important;
    font-weight: 700 !important;
  }

  /* Modern Mobile Tools Container */
  body.streamix-skin .mobile-header-tools,
  body.streamix-skin.cf-public-app .mobile-header-tools {
    display: flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
  }

  /* Modern Icon Buttons */
  body.streamix-skin .mobile-icon-btn,
  body.streamix-skin.cf-public-app .mobile-icon-btn {
    width: 40px !important;
    height: 40px !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.08) !important;
    border: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    color: #fff !important;
  }

  body.streamix-skin .mobile-icon-btn:hover,
  body.streamix-skin.cf-public-app .mobile-icon-btn:hover {
    background: rgba(255, 255, 255, 0.15) !important;
  }

  body.streamix-skin .mobile-icon-btn:active,
  body.streamix-skin.cf-public-app .mobile-icon-btn:active {
    transform: scale(0.95) !important;
  }

  /* Hamburger Menu Modern Style */
  body.streamix-skin .mobile-menu-toggle,
  body.streamix-skin.cf-public-app .mobile-menu-toggle {
    flex-direction: column !important;
    gap: 5px !important;
  }

  body.streamix-skin .mobile-menu-toggle span,
  body.streamix-skin.cf-public-app .mobile-menu-toggle span {
    display: block !important;
    width: 18px !important;
    height: 2px !important;
    background: #fff !important;
    border-radius: 2px !important;
    transition: all 0.3s ease !important;
  }

  /* Menu Open State */
  body.streamix-skin.mobile-nav-open .mobile-menu-toggle span:nth-child(1),
  body.streamix-skin.cf-public-app.mobile-nav-open .mobile-menu-toggle span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px) !important;
  }

  body.streamix-skin.mobile-nav-open .mobile-menu-toggle span:nth-child(2),
  body.streamix-skin.cf-public-app.mobile-nav-open .mobile-menu-toggle span:nth-child(2) {
    opacity: 0 !important;
  }

  body.streamix-skin.mobile-nav-open .mobile-menu-toggle span:nth-child(3),
  body.streamix-skin.cf-public-app.mobile-nav-open .mobile-menu-toggle span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px) !important;
  }

  /* Modern Mobile Drawer */
  body.streamix-skin .topbar-right,
  body.streamix-skin.cf-public-app .topbar-right {
    position: fixed !important;
    top: 60px !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: rgba(5, 6, 11, 0.98) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    z-index: 999 !important;
    transform: translateX(-100%) !important;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    padding: 1.5rem !important;
    display: flex !important;
    flex-direction: column !important;
    overflow-y: auto !important;
  }

  body.streamix-skin.mobile-nav-open .topbar-right,
  body.streamix-skin.cf-public-app.mobile-nav-open .topbar-right {
    transform: translateX(0) !important;
  }

  /* Hide drawer head on mobile */
  body.streamix-skin .topbar-right .drawer-head,
  body.streamix-skin.cf-public-app .topbar-right .drawer-head {
    display: none !important;
  }

  /* Modern Mobile Navigation */
  body.streamix-skin .topbar-right .main-nav,
  body.streamix-skin.cf-public-app .topbar-right .main-nav {
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
    margin-bottom: 1.5rem !important;
  }

  body.streamix-skin .topbar-right .nav-link,
  body.streamix-skin.cf-public-app .topbar-right .nav-link {
    display: flex !important;
    align-items: center !important;
    gap: 1rem !important;
    padding: 1rem 0 !important;
    font-size: 1.1rem !important;
    font-weight: 500 !important;
    color: rgba(255, 255, 255, 0.85) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    transition: all 0.2s ease !important;
    text-decoration: none !important;
  }

  body.streamix-skin .topbar-right .nav-link:hover,
  body.streamix-skin.cf-public-app .topbar-right .nav-link:hover {
    color: #e50914 !important;
    padding-left: 0.5rem !important;
  }

  body.streamix-skin .topbar-right .nav-link:last-child,
  body.streamix-skin.cf-public-app .topbar-right .nav-link:last-child {
    border-bottom: none !important;
  }

  /* Mobile Search */
  body.streamix-skin .topbar-right .search-wrap,
  body.streamix-skin.cf-public-app .topbar-right .search-wrap {
    margin-top: auto !important;
    padding-top: 1.5rem !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
  }

  body.streamix-skin .topbar-right .search-wrap input,
  body.streamix-skin.cf-public-app .topbar-right .search-wrap input {
    width: 100% !important;
    padding: 1rem 1.25rem !important;
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 12px !important;
    color: #fff !important;
    font-size: 1rem !important;
  }

  body.streamix-skin .topbar-right .search-wrap input:focus,
  body.streamix-skin.cf-public-app .topbar-right .search-wrap input:focus {
    outline: none !important;
    border-color: #e50914 !important;
    background: rgba(255, 255, 255, 0.1) !important;
  }

  /* Add padding to body for fixed topbar */
  body.streamix-skin,
  body.streamix-skin.cf-public-app {
    padding-top: 60px !important;
  }

  body.streamix-skin .intro-overlay,
  body.streamix-skin.cf-public-app .intro-overlay {
    padding-top: 0 !important;
  }
}

/* Profile Button in Header */
.profile-btn {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.2s ease;
  background: rgba(255, 255, 255, 0.1);
}

.profile-btn:hover {
  border-color: #e50914;
}

.profile-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-btn-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

@media screen and (max-width: 767px) {
  .profile-btn {
    width: 40px !important;
    height: 40px !important;
    border-radius: 50% !important;
  }
}

/* Mobile Nav Profile Link */
.nav-link-profile {
  display: flex !important;
  align-items: center !important;
  gap: 0.75rem !important;
  padding: 1rem 0 !important;
  color: #e50914 !important;
  font-weight: 600 !important;
}

.nav-link-profile svg {
  width: 24px;
  height: 24px;
}

/* ========================================
   MOBILE PROFILE BUTTON
   ======================================== */

/* Mobile profile button - always visible */
.topbar-mobile-actions {
  display: none;
  position: absolute;
  right: 6.5rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 100;
}

.topbar-mobile-profile-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  text-decoration: none;
  transition: all 0.2s ease;
}

.topbar-mobile-profile-btn:hover {
  background: rgba(229, 9, 20, 0.3);
}

.topbar-mobile-profile-btn svg {
  width: 20px;
  height: 20px;
}

@media screen and (max-width: 820px) {
  .topbar-mobile-actions {
    display: flex !important;
  }
}

@media screen and (min-width: 821px) {
  .topbar-mobile-actions {
    display: none !important;
  }
}

/* ========================================
   SILVER & DOWNLOAD SOURCES
   ======================================== */

.server-btn-silver {
  background: linear-gradient(135deg, #607d8b 0%, #455a64 100%) !important;
  border-color: #607d8b !important;
}

.server-btn-silver:hover {
  background: linear-gradient(135deg, #78909c 0%, #546e7a 100%) !important;
}

.server-btn-silver .server-btn-logo {
  background: rgba(255, 255, 255, 0.2) !important;
  color: #fff !important;
}

.server-btn-download {
  background: linear-gradient(135deg, #4caf50 0%, #388e3c 100%) !important;
  border-color: #4caf50 !important;
}

.server-btn-download:hover {
  background: linear-gradient(135deg, #66bb6a 0%, #43a047 100%) !important;
}

.server-btn-download .server-btn-logo {
  background: rgba(255, 255, 255, 0.2) !important;
  color: #fff !important;
}
