:root {
  --bg:         #0a0d14;
  --bg-2:       #0f1420;
  --bg-3:       #141a28;
  --surface:    #161c2b;
  --surface-2:  #1c2335;
  --line:       #24304a;
  --line-2:     #2e3b58;

  --ink:        #e8ecf5;
  --ink-2:      #a9b2c7;
  --ink-3:      #6b7591;

  --brand:      #e50914;
  --brand-2:    #ff2a3c;
  --brand-dark: #b20710;
  --accent:     #f59e0b;
  --accent-2:   #fbbf24;

  --ok:         #10b981;
  --warn:       #f59e0b;
  --err:        #ef4444;

  --radius:     10px;
  --radius-sm:  7px;
  --radius-lg:  16px;

  --shadow-sm:  0 2px 8px rgba(0,0,0,.35);
  --shadow:     0 10px 30px rgba(0,0,0,.45);
  --shadow-lg:  0 24px 60px rgba(0,0,0,.6);

  --header-h:   64px;
  --container:  1440px;
  --gutter:     clamp(16px, 2.6vw, 44px);
}

* { box-sizing: border-box; }
html, body {
  margin: 0; padding: 0; background: var(--bg); color: var(--ink);
  overflow-x: hidden;
  max-width: 100%;
}
body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
  min-height: 100vh;
}
a { color: var(--ink); text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; }

.topbar {
  position: sticky; top: 0; z-index: 60;
  height: var(--header-h);
  background: linear-gradient(180deg, rgba(10,13,20,.96), rgba(10,13,20,.75));
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid rgba(255,255,255,.04);
  transition: background .2s, border-color .2s;
}
.topbar.scrolled { background: rgba(10,13,20,.98); border-bottom-color: var(--line); }
.topbar .wrap { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter);
  display: flex; align-items: center; gap: 22px; height: 100%; }

.brand { display: inline-flex; align-items: center; }
.brand-wordmark {
  height: 42px; width: auto; display: block;
  user-select: none;
  transition: transform .15s;
}
.brand:hover .brand-wordmark { transform: scale(1.02); }
.footer-brand .brand-wordmark { height: 56px; }

.nav { display: flex; gap: 2px; margin-left: 10px; }
.nav a {
  display: inline-flex; align-items: center; gap: 7px;
  color: var(--ink-2); padding: 7px 12px; border-radius: 8px;
  font-weight: 500; font-size: 14px;
  transition: all .15s;
}
.nav a i { font-size: 12px; opacity: .75; }
.nav a:hover { color: #fff; background: rgba(255,255,255,.05); }
.nav a.active { color: #fff; background: rgba(229,9,20,.12); }
.nav a.active i { color: var(--brand); opacity: 1; }

.topbar-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.search-box {
  position: relative; width: 300px;
  display: flex; align-items: center;
}
.search-box input {
  width: 100%; height: 38px; border-radius: 999px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08);
  padding: 0 16px 0 40px; color: var(--ink); font-size: 14px; outline: none;
  transition: all .15s;
}
.search-box input::placeholder { color: var(--ink-3); }
.search-box input:focus { background: rgba(255,255,255,.1); border-color: var(--brand); box-shadow: 0 0 0 3px rgba(229,9,20,.18); }
.search-box i { position: absolute; left: 14px; color: var(--ink-3); pointer-events: none; font-size: 13px; }

.online-chip {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(16,185,129,.1); color: #6ee7b7;
  border: 1px solid rgba(16,185,129,.25);
  padding: 6px 12px; border-radius: 999px;
  font-size: 12px; font-weight: 600;
  white-space: nowrap;
}
.online-chip .dot { width: 7px; height: 7px; background: #10b981; border-radius: 50%; box-shadow: 0 0 10px #10b981; animation: pulse 1.6s infinite; }
@keyframes pulse { 50% { opacity: .35; } }

.main { padding-bottom: 80px; min-height: calc(100vh - var(--header-h)); }
.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }

.intro-hero {
  position: relative;
  width: 100%;
  height: calc(100vh - var(--header-h));
  min-height: 560px;
  max-height: 820px;
  overflow: hidden;
  background: #000;
  margin: 0 0 20px;
}
.intro-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center center;
  z-index: 0;
}
.intro-video.mobile { display: none; }
.intro-hero::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at center, rgba(10,13,20,0.2) 0%, rgba(10,13,20,0.5) 100%),
    linear-gradient(180deg,
      rgba(10,13,20,0.3) 0%,
      rgba(10,13,20,0) 25%,
      rgba(10,13,20,0) 55%,
      rgba(10,13,20,0.75) 85%,
      var(--bg) 100%);
  z-index: 1;
}
.intro-overlay {
  position: relative; z-index: 2;
  height: 100%;
  display: flex; flex-direction: column;
  justify-content: flex-end; align-items: center;
  text-align: center;
  padding: 40px 24px 80px;
  max-width: 980px; margin: 0 auto;
}
@media (max-width: 760px) {
  .intro-overlay {
    justify-content: center;
    padding: 40px 20px;
  }
}
.intro-slogans {
  position: relative;
  min-height: 2.6em;
  width: 100%;
  margin: 0 0 30px;
  font-size: clamp(28px, 4.2vw, 48px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #fff;
  text-shadow: 0 4px 24px rgba(0,0,0,.65);
}
.intro-slogan {
  position: absolute;
  inset: 0;
  display: flex; align-items: center; justify-content: center;
  flex-wrap: wrap; column-gap: .28em; text-align: center;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .6s ease, transform .6s ease;
}
.intro-slogan.active {
  opacity: 1;
  transform: translateY(0);
}
.intro-slogan em {
  font-style: normal;
  color: var(--brand);
  position: relative;
}
.intro-sub {
  color: var(--ink-2);
  font-size: clamp(14px, 1.6vw, 17px);
  max-width: 640px;
  margin: -10px auto 28px;
  animation: introFade 1s ease-out .3s both;
  text-shadow: 0 2px 10px rgba(0,0,0,.6);
}
.intro-actions {
  display: flex; gap: 12px; flex-wrap: wrap; justify-content: center;
  animation: introFade 1.1s ease-out .5s both;
}
.intro-actions .btn {
  padding: 14px 28px; font-size: 15px; font-weight: 700;
  border-radius: 10px;
}
.intro-stats {
  display: flex; gap: 32px; margin-top: 34px;
  animation: introFade 1.2s ease-out .7s both;
  flex-wrap: wrap; justify-content: center;
}
.intro-stats .s {
  display: flex; flex-direction: column; align-items: center;
}
.intro-stats .n {
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 900; color: #fff;
  font-family: 'Bebas Neue', sans-serif;
  letter-spacing: 1px;
  line-height: 1;
}
.intro-stats .l {
  font-size: 11px; color: var(--ink-2);
  text-transform: uppercase; letter-spacing: .1em;
  margin-top: 4px;
}
.intro-scroll-hint {
  position: absolute; bottom: 24px; left: 50%;
  transform: translateX(-50%);
  color: var(--ink-2); font-size: 20px;
  z-index: 3;
  animation: scrollBounce 2s ease-in-out infinite;
  opacity: .7;
}
@keyframes introFade {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes scrollBounce {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 8px); }
}

@media (max-width: 760px) {
  .intro-hero {
    height: calc(100vh - var(--header-h));
    min-height: 520px;
    max-height: none;
    margin-bottom: 10px;
  }
  .intro-video.desktop { display: none; }
  .intro-video.mobile { display: block; }
  .intro-overlay { padding: 24px 18px; justify-content: center; }
  .intro-slogans { margin-top: 10px; }
  .intro-logo .brand-wordmark { height: 60px; }
  .intro-logo { margin-bottom: 22px; }
  .intro-slogans { min-height: 2.8em; margin-bottom: 20px; }
  .intro-sub { margin-bottom: 20px; }
  .intro-actions .btn { padding: 12px 22px; font-size: 14px; }
  .intro-stats { gap: 22px; margin-top: 24px; }
  .intro-scroll-hint { bottom: 14px; font-size: 18px; }
}

.hero-wrap { position: relative; max-width: var(--container); margin: 0 auto; padding: 24px var(--gutter) 12px; }
.hero {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--bg-2);
  min-height: 460px;
}
.hero-track {
  position: relative;
  display: flex;
  transition: transform .7s cubic-bezier(.4,0,.2,1);
  will-change: transform;
}
.hero-slide {
  flex: 0 0 100%;
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  align-items: stretch;
  min-height: 460px;
  background: linear-gradient(135deg, var(--bg-2), var(--bg-3));
}
.hero-info {
  padding: 56px 48px;
  display: flex; flex-direction: column; justify-content: center;
  position: relative; z-index: 2;
  max-width: 640px;
}
.hero-info .eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--brand); font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .14em;
  margin-bottom: 16px;
}
.hero-info .eyebrow::before {
  content: ""; width: 28px; height: 3px; background: var(--brand); border-radius: 2px;
}
.hero-info h1 {
  font-size: clamp(28px, 3.8vw, 48px);
  line-height: 1.08;
  margin: 0 0 18px;
  letter-spacing: -.02em;
  font-weight: 800;
}
.hero-info .meta {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin: 0 0 20px;
}
.hero-info .meta span {
  font-size: 12px; color: var(--ink-2);
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08);
  padding: 5px 11px; border-radius: 6px;
  display: inline-flex; align-items: center; gap: 6px;
}
.hero-info .meta span i { font-size: 11px; opacity: .8; }
.hero-info p {
  color: var(--ink-2); font-size: 15px;
  max-width: 540px; margin: 0 0 26px;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.hero-info .actions { display: flex; gap: 10px; flex-wrap: wrap; }

.hero-poster {
  position: relative;
  overflow: hidden;
}
.hero-poster-img {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
}
.hero-poster::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--bg-2) 0%, transparent 35%);
  z-index: 1;
}
.hero-poster::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(10,13,20,.2) 0%, transparent 40%);
  z-index: 1;
}

.hero-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 46px; height: 46px; border-radius: 50%;
  background: rgba(0,0,0,.55); border: 1px solid rgba(255,255,255,.1);
  color: #fff; cursor: pointer; z-index: 5;
  display: grid; place-items: center;
  font-size: 15px;
  transition: all .15s;
  backdrop-filter: blur(6px);
}
.hero-nav:hover { background: var(--brand); border-color: var(--brand); transform: translateY(-50%) scale(1.08); }
.hero-nav.prev { left: 16px; }
.hero-nav.next { right: 16px; }

.hero-dots {
  position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 8px; z-index: 5;
}
.hero-dots .dot {
  width: 24px; height: 4px; border-radius: 2px;
  background: rgba(255,255,255,.25); cursor: pointer;
  transition: all .2s;
}
.hero-dots .dot.active { background: var(--brand); width: 40px; }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 22px; border-radius: 8px;
  background: var(--brand); color: white; font-weight: 600; font-size: 14px;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .15s, box-shadow .15s, background .15s;
  white-space: nowrap;
}
.btn:hover { background: var(--brand-2); transform: translateY(-1px); box-shadow: 0 10px 24px rgba(229,9,20,.4); color: white; }
.btn.ghost { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.14); backdrop-filter: blur(4px); }
.btn.ghost:hover { background: rgba(255,255,255,.2); color: #fff; }
.btn.accent { background: var(--accent); color: #0a0d14; }
.btn.accent:hover { background: var(--accent-2); color: #0a0d14; }
.btn.sm { padding: 7px 14px; font-size: 13px; border-radius: 7px; }

.row-section { margin: 0 0 40px; }
.row-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 var(--gutter) 14px;
  max-width: var(--container); margin: 0 auto;
}
.row-head h2 {
  margin: 0; font-size: 20px; letter-spacing: -.01em; font-weight: 700;
  display: inline-flex; align-items: center; gap: 10px;
}
.row-head h2 i { color: var(--brand); font-size: 18px; }
.row-head .row-more {
  color: var(--ink-2); font-size: 13px; font-weight: 600;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 10px; border-radius: 6px;
  transition: all .15s;
}
.row-head .row-more:hover { color: #fff; background: rgba(255,255,255,.05); }

.row-scroll-wrap { position: relative; }
.row-scroll {
  display: flex; gap: 14px;
  overflow-x: auto; overflow-y: visible;
  padding: 2px var(--gutter) 24px;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  scroll-behavior: smooth;
  max-width: var(--container); margin: 0 auto;
}
.row-scroll::-webkit-scrollbar { display: none; }

.row-nav {
  position: absolute; top: 0; bottom: 20px;
  width: 54px;
  background: linear-gradient(90deg, var(--bg) 20%, transparent);
  color: #fff; border: 0; cursor: pointer;
  display: none; align-items: center; justify-content: flex-start;
  padding-left: 12px;
  z-index: 3; font-size: 20px;
  opacity: 0; transition: opacity .2s;
}
.row-nav.right { right: 0; left: auto; background: linear-gradient(-90deg, var(--bg) 20%, transparent); justify-content: flex-end; padding: 0 12px 0 0; }
.row-scroll-wrap:hover .row-nav { opacity: 1; }
@media (min-width: 900px) { .row-nav { display: flex; } }

.poster-card {
  flex: 0 0 180px; width: 180px;
  scroll-snap-align: start;
  position: relative;
  display: flex; flex-direction: column;
  cursor: pointer;
  color: inherit;
  transition: transform .2s ease;
}
.poster-card:hover { transform: translateY(-4px); }
.poster-card .poster {
  aspect-ratio: 2/3;
  background: var(--bg-3) center/cover no-repeat;
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,.4);
  transition: box-shadow .2s;
}
.poster-card:hover .poster { box-shadow: 0 14px 30px rgba(0,0,0,.6), 0 0 0 2px var(--brand); }
.poster-card .poster::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,.6) 0%, transparent 45%);
  opacity: .5; transition: opacity .2s;
}
.poster-card:hover .poster::after { opacity: 1; }
.poster-card .play-overlay {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  opacity: 0; transition: opacity .2s;
  z-index: 3;
}
.poster-card:hover .play-overlay { opacity: 1; }
.play-overlay .pbtn {
  width: 50px; height: 50px; border-radius: 50%;
  background: var(--brand);
  color: #fff; display: grid; place-items: center;
  font-size: 16px;
  box-shadow: 0 10px 30px rgba(229,9,20,.6);
}
.poster-card .adult-tag {
  position: absolute; top: 8px; left: 8px;
  background: var(--brand); color: #fff;
  font-size: 10px; font-weight: 700; padding: 3px 7px; border-radius: 4px;
  letter-spacing: .04em;
  z-index: 2;
}
.poster-card .live-chip {
  position: absolute; top: 8px; right: 8px; z-index: 2;
  background: rgba(16,185,129,.95); color: #fff;
  font-size: 10px; font-weight: 700;
  padding: 4px 8px; border-radius: 999px;
  display: inline-flex; align-items: center; gap: 5px;
  box-shadow: 0 2px 10px rgba(16,185,129,.5);
}
.poster-card .live-chip .dot {
  width: 6px; height: 6px; border-radius: 50%; background: #fff;
  animation: pulse 1.4s infinite;
}
.poster-card .card-info {
  padding: 10px 2px 0;
  min-height: 56px;
}
.poster-card .card-info h3 {
  font-size: 13.5px; font-weight: 600; margin: 0 0 4px; color: #fff;
  line-height: 1.3;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.poster-card:hover .card-info h3 { color: var(--brand-2); }
.poster-card .card-sub {
  display: flex; justify-content: space-between; align-items: center;
  color: var(--ink-3); font-size: 11px; font-weight: 500;
}
.poster-card .card-sub .cat { color: var(--ink-2); font-weight: 500; text-transform: capitalize; }
.poster-card .card-sub .eps { display: inline-flex; align-items: center; gap: 4px; }
.poster-card .card-sub .eps i { font-size: 9px; color: var(--ink-3); }
.poster-card .rank-no {
  position: absolute; left: -4px; bottom: 56px; top: auto;
  font-size: 110px; font-weight: 900; color: transparent;
  -webkit-text-stroke: 2px var(--brand);
  font-family: Inter, sans-serif; line-height: 1;
  z-index: 4; text-shadow: 0 2px 20px rgba(0,0,0,.8);
  pointer-events: none;
}
.poster-card.rank-card { flex-basis: 220px; width: 220px; padding-left: 44px; }

.page-title {
  padding: 24px var(--gutter) 18px;
  max-width: var(--container); margin: 0 auto;
}
.page-title h1 { font-size: 28px; margin: 0 0 6px; letter-spacing: -.01em; font-weight: 800; display: inline-flex; align-items: center; gap: 10px; }
.page-title h1 i { color: var(--brand); }
.page-title p { color: var(--ink-2); margin: 0; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 16px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line);
  color: var(--ink-2); font-size: 13px; font-weight: 500;
  cursor: pointer;
  transition: all .15s;
  white-space: nowrap;
}
.chip:hover { border-color: var(--brand); color: #fff; background: var(--surface-2); }
.chip.active { background: var(--brand); color: white; border-color: var(--brand); box-shadow: 0 4px 12px rgba(229,9,20,.4); }
.chip .num { opacity: .65; font-weight: 600; margin-left: 2px; }
.chip.active .num { opacity: .9; }

.chip-bar {
  position: sticky; top: var(--header-h); z-index: 20;
  background: rgba(10,13,20,.92); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
  margin-bottom: 20px;
}
.chip-scroll {
  max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter);
  display: flex; gap: 8px;
  overflow-x: auto; scrollbar-width: none;
}
.chip-scroll::-webkit-scrollbar { display: none; }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 26px 18px;
  padding: 0 var(--gutter) 30px;
  max-width: var(--container); margin: 0 auto;
}
.grid > .poster-card { width: 100%; flex: 1 1 auto; min-width: 0; }
.grid > .poster-card .poster { overflow: hidden; }

.watch-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 28px;
  max-width: var(--container); margin: 0 auto;
  padding: 20px var(--gutter) 60px;
}

.watch2 {
  max-width: var(--container);
  margin: 0 auto;
  padding: 20px var(--gutter) 60px;
}
.watch2-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 400px;
  gap: 28px;
  align-items: start;
}
@media (max-width: 1100px) {
  .watch2-inner { grid-template-columns: 1fr; }
}

.watch2-player-col { min-width: 0; }
.watch2-info-col {
  position: sticky; top: calc(var(--header-h) + 14px);
  max-height: calc(100vh - var(--header-h) - 28px);
  display: flex; flex-direction: column;
  min-width: 0;
}
@media (max-width: 1100px) {
  .watch2-info-col { position: static; max-height: none; }
}

.player-shell {
  position: relative;
  background: #000;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 16/9;
  user-select: none;
}
.player-shell.vertical-shell {
  aspect-ratio: 9/16;
  max-width: 480px;
  margin: 0 auto;
}
.player-shell.empty-shell {
  aspect-ratio: 16/9;
  display: grid; place-items: center;
}
.player-shell video,
.player-shell iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0; background: #000;
  object-fit: contain;
  cursor: pointer;
}

.ps-top, .ps-side, .ps-bottom, .ps-nav-arrow, .ps-center-play {
  opacity: 0; pointer-events: none;
  transition: opacity .3s ease;
  z-index: 5;
}
.player-shell.ui-visible .ps-top,
.player-shell.ui-visible .ps-side,
.player-shell.ui-visible .ps-bottom,
.player-shell.ui-visible .ps-nav-arrow,
.player-shell.paused .ps-top,
.player-shell.paused .ps-side,
.player-shell.paused .ps-bottom,
.player-shell.paused .ps-nav-arrow,
.player-shell.paused .ps-center-play {
  opacity: 1; pointer-events: auto;
}
.player-shell.ui-visible .ps-center-play.show-always { opacity: 1; pointer-events: auto; }

.ps-top {
  position: absolute; top: 0; left: 0; right: 0;
  display: flex; align-items: center; gap: 12px;
  padding: 14px 14px 32px;
  background: linear-gradient(180deg, rgba(0,0,0,.85), transparent);
}
.ps-back {
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(0,0,0,.45); color: #fff;
  display: grid; place-items: center;
  border: 1px solid rgba(255,255,255,.1);
  transition: all .15s;
  flex-shrink: 0;
  backdrop-filter: blur(6px);
}
.ps-back:hover { background: rgba(0,0,0,.7); }
.ps-crumb {
  flex: 1; color: #fff; font-weight: 700; font-size: 14px;
  letter-spacing: -.01em;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  text-shadow: 0 2px 6px rgba(0,0,0,.7);
}
.ps-top-btn {
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(0,0,0,.45); color: #fff;
  display: grid; place-items: center;
  border: 1px solid rgba(255,255,255,.1);
  cursor: pointer; transition: all .15s;
  backdrop-filter: blur(6px);
}
.ps-top-btn:hover { background: var(--brand); border-color: var(--brand); }

.ps-side {
  position: absolute; right: 10px; top: 50%; transform: translateY(-50%);
  display: flex; flex-direction: column; gap: 14px;
}
.pss-btn {
  background: transparent; border: 0; cursor: pointer;
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  color: #fff; font-size: 11px; font-weight: 600;
  text-shadow: 0 2px 4px rgba(0,0,0,.7);
  padding: 0;
  transition: transform .15s;
}
.pss-btn i {
  width: 48px; height: 48px; border-radius: 50%;
  background: rgba(0,0,0,.45); color: #fff;
  display: grid; place-items: center;
  border: 1px solid rgba(255,255,255,.1);
  font-size: 18px;
  transition: all .15s;
  backdrop-filter: blur(6px);
}
.pss-btn:hover i { background: var(--brand); border-color: var(--brand); transform: scale(1.06); }
.pss-btn.active i { background: var(--brand); border-color: var(--brand); color: #fff; }
.pss-btn.active i.fa-heart { color: #fff; }
.pss-btn span { line-height: 1; max-width: 60px; }

.ps-center-play {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 88px; height: 88px; border-radius: 50%;
  background: rgba(0,0,0,.55); color: #fff;
  display: grid; place-items: center;
  border: 2px solid rgba(255,255,255,.3);
  cursor: pointer;
  font-size: 30px;
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(0,0,0,.5);
  transition: transform .15s, background .15s;
}
.ps-center-play:hover { background: var(--brand); border-color: var(--brand); transform: translate(-50%, -50%) scale(1.08); }

.ps-nav-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 46px; height: 46px; border-radius: 50%;
  background: rgba(0,0,0,.45); color: #fff;
  display: grid; place-items: center;
  border: 1px solid rgba(255,255,255,.1);
  cursor: pointer;
  font-size: 14px;
  backdrop-filter: blur(6px);
  transition: all .15s;
}
.ps-nav-arrow:hover { background: var(--brand); border-color: var(--brand); }
.ps-nav-arrow.disabled { opacity: 0 !important; pointer-events: none !important; }
.ps-nav-prev { left: 14px; }
.ps-nav-next { right: 76px; }

.ps-bottom {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 80px 16px 16px;
  background: linear-gradient(0deg, rgba(0,0,0,.95) 25%, rgba(0,0,0,.75) 55%, rgba(0,0,0,.35) 80%, transparent);
  color: #fff;
}
.ps-info { margin-bottom: 10px; }
.ps-title {
  font-size: 16px; font-weight: 800; margin: 0 0 4px;
  letter-spacing: -.01em;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  text-shadow: 0 2px 6px rgba(0,0,0,.8);
}
.ps-ep-line { font-size: 12px; color: rgba(255,255,255,.7); margin-bottom: 6px; }
.ps-desc {
  font-size: 13px; color: rgba(255,255,255,.85);
  margin: 6px 0 0; line-height: 1.5;
  text-shadow: 0 1px 2px rgba(0,0,0,.6);
}
.ps-more {
  background: transparent; border: 0; color: var(--brand-2);
  font-weight: 700; font-size: 13px; cursor: pointer; padding: 4px 0;
  margin-top: 4px;
}
.ps-more:hover { color: #fff; }

.ps-progress { margin-top: 10px; cursor: pointer; padding: 8px 0 2px; }
.ps-progress-track {
  position: relative; height: 4px;
  background: rgba(255,255,255,.2); border-radius: 2px;
}
.ps-progress:hover .ps-progress-track { height: 6px; }
.ps-progress-fill {
  position: absolute; left: 0; top: 0; bottom: 0;
  background: #fbbf24;
  border-radius: 2px;
  width: 0;
  box-shadow: 0 0 8px rgba(251,191,36,.6);
}
.ps-progress-handle {
  position: absolute; top: 50%; left: 0;
  transform: translate(-50%, -50%);
  width: 14px; height: 14px; border-radius: 50%;
  background: #fbbf24;
  box-shadow: 0 2px 8px rgba(0,0,0,.6);
  opacity: 0;
  transition: opacity .15s;
}
.ps-progress:hover .ps-progress-handle { opacity: 1; }
.ps-time-row {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 6px;
  font-size: 11px; color: rgba(255,255,255,.75);
  font-variant-numeric: tabular-nums;
}
.ps-autoplay-mini {
  display: inline-flex; align-items: center; gap: 6px;
  cursor: pointer; user-select: none;
  font-size: 11px; color: rgba(255,255,255,.7);
}
.ps-autoplay-mini input { accent-color: var(--brand); }
.ps-autoplay-mini strong { color: #fbbf24; }

.ps-loading {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 14px;
  background: rgba(0,0,0,.82);
  backdrop-filter: blur(6px);
  z-index: 8;
  opacity: 0; pointer-events: none;
  transition: opacity .25s;
}
.ps-loading.show { opacity: 1; }
.ps-spinner {
  width: 56px; height: 56px;
  border-radius: 50%;
  border: 3px solid rgba(255,255,255,.14);
  border-top-color: var(--brand);
  border-right-color: var(--brand);
  animation: psSpin .9s linear infinite;
  box-shadow: 0 10px 30px rgba(229,9,20,.25);
}
.ps-loading-text {
  color: #fff; font-size: 13px; font-weight: 600;
  letter-spacing: .02em;
  text-shadow: 0 2px 6px rgba(0,0,0,.7);
}
@keyframes psSpin {
  to { transform: rotate(360deg); }
}

.vidmoly-shell { user-select: auto; }
.vidmoly-shell .ps-top {
  background: linear-gradient(180deg, rgba(0,0,0,.75), transparent);
  padding: 10px 12px 28px;
}
.vidmoly-shell .ps-side.ps-side-slim {
  top: auto; bottom: 90px; transform: none;
  right: 10px;
  flex-direction: row; gap: 10px;
}
.vidmoly-shell .ps-side.ps-side-slim .pss-btn i {
  width: 40px; height: 40px; font-size: 15px;
}
.vidmoly-shell .ps-side.ps-side-slim .pss-btn span {
  font-size: 10px;
}
.vidmoly-shell .ps-nav-prev { left: 10px; top: 50%; transform: translateY(-50%); }
.vidmoly-shell .ps-nav-next { right: 10px; top: 50%; transform: translateY(-50%); }
.vidmoly-shell .ps-nav-arrow.disabled { opacity: 0 !important; pointer-events: none !important; }

.vm-info-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px 18px;
  margin: 14px auto 0;
  max-width: 480px;
  color: var(--ink);
}
.vm-title {
  font-size: 16px; font-weight: 800; margin: 0 0 6px;
  letter-spacing: -.01em;
}
.vm-ep-line {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--ink-2);
  margin-bottom: 8px;
}
.vm-src-chip {
  display: inline-flex; align-items: center; gap: 5px;
  background: rgba(229,9,20,.1);
  border: 1px solid rgba(229,9,20,.3);
  color: #ff6b7a;
  padding: 3px 9px; border-radius: 999px;
  font-size: 11px; font-weight: 700;
}
.vm-info-card .ps-desc {
  color: var(--ink-2); font-size: 13.5px; line-height: 1.6;
  margin: 10px 0 0;
}
.vm-info-card .ps-more { color: var(--brand); }
.vm-ep-nav {
  display: flex; gap: 8px;
  margin-top: 16px; padding-top: 16px;
  border-top: 1px solid var(--line);
}
.vm-autoplay {
  display: flex; align-items: center; gap: 8px;
  margin-top: 14px;
  cursor: pointer; font-size: 13px; color: var(--ink-2);
  user-select: none;
}
.vm-hint {
  margin-top: 10px; padding: 10px 12px;
  background: rgba(29,155,240,.08);
  border: 1px solid rgba(29,155,240,.2);
  border-radius: 8px;
  color: var(--ink-3); font-size: 11.5px; line-height: 1.5;
}
.vm-hint i { color: var(--brand-2); margin-right: 5px; }
.vm-autoplay input { display: none; }
.vm-autoplay .apt-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
  transition: all .15s;
}
.vm-autoplay input:not(:checked) ~ .apt-dot {
  background: var(--ink-3); box-shadow: none;
}
.vm-autoplay strong { color: var(--accent); font-weight: 700; }
.vm-autoplay input:not(:checked) ~ * strong { color: var(--ink-3); }

.ps-subs {
  position: absolute; left: 56px; right: 56px; bottom: 16%;
  z-index: 6; pointer-events: none;
  text-align: center; white-space: pre-line;
  color: #fff; font-weight: 700;
  font-size: clamp(15px, 4.2vw, 19px); line-height: 1.35;
  text-shadow: 0 0 2px #000, 0 0 4px #000, 0 2px 6px rgba(0,0,0,.95);
  opacity: 0;
  transition: opacity .12s ease, bottom .25s ease;
}
.ps-subs.on { opacity: 1; }
.player-shell:fullscreen .ps-subs { left: 12%; right: 12%; font-size: clamp(20px, 2.2vw, 30px); }
@media (min-width: 901px) {
  .player-shell .pss-eps { display: none; }
}

.resume-toast {
  position: absolute; left: 14px; top: 68px;
  display: none; z-index: 9;
  width: 230px; padding: 12px 14px 12px 14px;
  background:
    linear-gradient(145deg, rgba(20,23,32,.92), rgba(10,13,20,.94));
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
  color: #fff; border-radius: 14px;
  border: 1px solid rgba(255,255,255,.08);
  box-shadow:
    0 12px 32px rgba(0,0,0,.55),
    0 2px 8px rgba(0,0,0,.35),
    inset 0 1px 0 rgba(255,255,255,.06);
  overflow: hidden;
}
.resume-toast::before {
  content: '';
  position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: linear-gradient(180deg, var(--brand), #c62828);
  box-shadow: 0 0 10px rgba(229,9,20,.55);
}
.resume-toast.show { display: block; animation: resumeIn .32s cubic-bezier(.2,.9,.3,1.1); }
.resume-toast .r-head {
  display: flex; align-items: center; gap: 6px;
  font-size: 10.5px; font-weight: 600; letter-spacing: .04em;
  color: rgba(255,255,255,.55);
  text-transform: uppercase;
  margin: 0 0 6px;
}
.resume-toast .r-head::before {
  content: '\f04b';
  font-family: "Font Awesome 6 Free"; font-weight: 900;
  font-size: 9px;
  color: var(--brand);
  width: 16px; height: 16px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(229,9,20,.14);
  text-transform: none; letter-spacing: 0;
}
.resume-toast .r-time {
  font-size: 15px; font-weight: 700; line-height: 1.25;
  margin: 0 0 11px; color: #fff;
  letter-spacing: -.01em;
}
.resume-toast .r-time b {
  color: var(--brand);
  font-weight: 700;
}
.resume-toast .r-actions { display: flex; gap: 6px; }
.resume-toast .btn.sm {
  padding: 7px 10px; font-size: 12px; font-weight: 600;
  border-radius: 8px;
  min-height: 0;
}
.resume-toast .btn.sm:first-child { flex: 1; }
.resume-toast .btn.sm.ghost {
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.12);
  color: rgba(255,255,255,.75);
}
.resume-toast .btn.sm.ghost:hover {
  background: rgba(255,255,255,.1);
  color: #fff;
}
@keyframes resumeIn {
  from { transform: translate(-6px, -8px) scale(.96); opacity: 0; }
  to   { transform: translate(0,0) scale(1); opacity: 1; }
}
@media (max-width: 900px) {
  .resume-toast { left: 12px; right: 12px; top: 58px; width: auto; max-width: 280px; }
}

.ep-sheet[hidden] { display: none; }
.ep-sheet {
  position: fixed; inset: 0; z-index: 100;
}
.ep-sheet-backdrop {
  position: absolute; inset: 0;
  background: rgba(0,0,0,.65);
  opacity: 0; transition: opacity .25s;
}
.ep-sheet.show .ep-sheet-backdrop { opacity: 1; }
.ep-sheet-panel {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: var(--bg-2);
  border-top-left-radius: 20px; border-top-right-radius: 20px;
  padding: 10px 16px 24px;
  max-height: 80vh;
  overflow-y: auto;
  transform: translateY(100%);
  transition: transform .3s cubic-bezier(.3,.2,.2,1);
  box-shadow: 0 -10px 40px rgba(0,0,0,.6);
}
.ep-sheet.show .ep-sheet-panel { transform: translateY(0); }
.ep-sheet-grip {
  width: 44px; height: 4px; border-radius: 999px;
  background: var(--line-2);
  margin: 0 auto 12px;
}
.ep-sheet-head {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 16px;
}
.ep-sheet-poster {
  width: 50px; height: 70px; border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}
.ep-sheet-meta { flex: 1; min-width: 0; }
.ep-sheet-title {
  font-size: 15px; font-weight: 800; color: #fff;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.ep-sheet-sub { font-size: 13px; color: var(--ink-2); margin-top: 2px; }
.ep-sheet-close {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--surface); border: 0; color: var(--ink-2);
  cursor: pointer; font-size: 14px;
}
.ep-sheet-close:hover { background: var(--surface-2); color: #fff; }

.ep-sheet-ranges {
  display: flex; gap: 8px; flex-wrap: wrap;
  margin-bottom: 14px;
}
.esr-btn {
  background: var(--surface); border: 1px solid var(--line);
  color: var(--ink-2); font-weight: 700; font-size: 13px;
  padding: 7px 16px; border-radius: 999px; cursor: pointer;
  transition: all .15s;
}
.esr-btn:hover { background: var(--surface-2); color: #fff; }
.esr-btn.active {
  background: var(--accent); color: #0a0d14; border-color: var(--accent);
  box-shadow: 0 4px 12px rgba(245,158,11,.4);
}

.ep-sheet-grid {
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}
.esg-item {
  aspect-ratio: 1;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 10px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 4px;
  color: var(--ink); font-weight: 700; font-size: 15px;
  transition: all .15s;
  position: relative;
}
.esg-item:hover {
  background: var(--surface-2); border-color: var(--brand);
  transform: translateY(-2px);
}
.esg-item.active {
  background: var(--accent); color: #0a0d14; border-color: var(--accent);
  box-shadow: 0 4px 12px rgba(245,158,11,.4);
}
.esg-item.active i { font-size: 11px; position: absolute; top: 6px; right: 6px; }
.esg-item span { line-height: 1; }

@media (max-width: 480px) {
  .ep-sheet-grid { grid-template-columns: repeat(5, 1fr); gap: 7px; }
  .esg-item { font-size: 14px; }
  .ps-top { padding: 12px 10px 24px; }
  .ps-side { right: 8px; gap: 10px; }
  .pss-btn i { width: 42px; height: 42px; font-size: 16px; }
  .pss-btn span { font-size: 10px; }
  .ps-center-play { width: 72px; height: 72px; font-size: 26px; }
  .ps-nav-prev { left: 8px; }
  .ps-nav-next { right: 70px; }
  .ps-bottom { padding: 40px 12px 10px; }
}

.player-topbar {
  position: absolute; top: 0; left: 0; right: 0; z-index: 5;
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 16px;
  background: linear-gradient(180deg, rgba(0,0,0,0.65), transparent);
  pointer-events: none;
  opacity: 0; transition: opacity .2s;
}
.player-shell:hover .player-topbar,
.player-shell.paused .player-topbar { opacity: 1; }
.player-topbar > * { pointer-events: auto; }
.ep-counter {
  background: rgba(0,0,0,0.55); color: #fff;
  padding: 6px 12px; border-radius: 999px;
  font-size: 12px; font-weight: 600;
  display: inline-flex; align-items: center; gap: 6px;
  backdrop-filter: blur(6px);
}
.ep-counter i { color: var(--brand); font-size: 11px; }
.ptop-btn {
  background: rgba(0,0,0,0.55); color: #fff;
  padding: 7px 14px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.1);
  font-size: 12px; font-weight: 600;
  cursor: pointer;
  display: inline-flex; align-items: center; gap: 6px;
  backdrop-filter: blur(6px);
  transition: all .15s;
}
.ptop-btn:hover { background: var(--brand); border-color: var(--brand); }

.player-side {
  position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
  z-index: 5;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  opacity: 0; transition: opacity .2s;
}
.player-shell:hover .player-side,
.player-shell.paused .player-side { opacity: 1; }
.pside-btn {
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(0,0,0,0.55); color: #fff;
  display: grid; place-items: center;
  border: 1px solid rgba(255,255,255,0.1);
  cursor: pointer; transition: all .15s;
  backdrop-filter: blur(6px);
}
.pside-btn:hover { background: var(--brand); border-color: var(--brand); transform: scale(1.08); }
.pside-btn.disabled { opacity: .35; pointer-events: none; }
.pside-label {
  font-size: 10px; letter-spacing: .14em; color: #fff;
  font-weight: 700; text-transform: uppercase;
  text-shadow: 0 2px 4px rgba(0,0,0,.7);
}

.center-play {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 86px; height: 86px; border-radius: 50%;
  background: var(--brand); color: #fff;
  display: grid; place-items: center;
  border: 0; cursor: pointer;
  font-size: 32px;
  box-shadow: 0 20px 50px rgba(229,9,20,.6);
  opacity: 0; pointer-events: none;
  transition: opacity .2s, transform .15s;
  z-index: 6;
}
.player-shell.paused .center-play { opacity: 1; pointer-events: auto; }
.center-play:hover { transform: translate(-50%, -50%) scale(1.08); }

.player-controls {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 5;
  background: linear-gradient(0deg, rgba(0,0,0,0.85), rgba(0,0,0,0.2) 85%, transparent);
  padding: 44px 16px 14px;
  opacity: 0; transition: opacity .2s;
}
.player-shell:hover .player-controls,
.player-shell.paused .player-controls { opacity: 1; }

.progress {
  cursor: pointer; padding: 6px 0; margin-bottom: 4px;
}
.progress-bar {
  height: 4px; background: rgba(255,255,255,0.25); border-radius: 2px;
  position: relative; overflow: hidden;
}
.progress-fill {
  height: 100%; background: var(--brand); width: 0;
  border-radius: 2px;
  transition: width .1s linear;
  box-shadow: 0 0 10px var(--brand);
}
.progress:hover .progress-bar { height: 6px; }

.controls-row {
  display: flex; align-items: center; gap: 12px;
  color: #fff; font-size: 13px;
}
.controls-row.row2 { margin-top: 6px; justify-content: space-between; }
.controls-left, .controls-right, .pc-ext, .vol-wrap {
  display: flex; align-items: center; gap: 6px;
}
.controls-center {
  flex: 1; min-width: 0;
  text-align: center;
}
.pc-title {
  font-size: 15px; font-weight: 700; letter-spacing: -.01em;
  color: #fff; text-shadow: 0 2px 6px rgba(0,0,0,.7);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  padding: 0 10px;
}
.pc-time { font-size: 12px; color: var(--ink-2); font-variant-numeric: tabular-nums; }

.pc-btn {
  background: transparent; border: 0; color: #fff; cursor: pointer;
  width: 36px; height: 36px; border-radius: 8px;
  display: grid; place-items: center;
  position: relative;
  font-size: 14px;
  transition: all .15s;
}
.pc-btn:hover { background: rgba(255,255,255,0.15); }
.pc-btn.pc-pp {
  width: 44px; height: 44px;
  background: var(--brand); font-size: 15px;
}
.pc-btn.pc-pp:hover { background: var(--brand-2); transform: scale(1.06); }
.pc-badge {
  position: absolute;
  bottom: 4px; right: 4px;
  font-size: 8px; font-weight: 700;
  color: #fff;
}

.vol-slider {
  width: 90px; height: 4px;
  -webkit-appearance: none; appearance: none;
  background: rgba(255,255,255,0.25);
  border-radius: 2px; outline: none; cursor: pointer;
}
.vol-slider::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 12px; height: 12px; border-radius: 50%;
  background: #fff; cursor: pointer;
}
.vol-slider::-moz-range-thumb {
  width: 12px; height: 12px; border-radius: 50%;
  background: #fff; cursor: pointer; border: 0;
}

.player-footerbar {
  display: flex; justify-content: space-between; align-items: center;
  gap: 10px; padding: 10px 14px; margin-top: 10px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 12px; color: var(--ink-2);
  max-width: 460px; margin-left: auto; margin-right: auto;
}
.player-footerbar .pfb-chip {
  background: var(--bg-3); color: var(--ink);
  padding: 6px 12px; border-radius: 999px;
  font-weight: 600; font-size: 12px;
  display: inline-flex; align-items: center; gap: 6px;
  transition: all .15s;
}
.player-footerbar .pfb-chip:hover { background: var(--brand); color: #fff; }
.player-footerbar .pfb-chip.disabled { opacity: .3; pointer-events: none; }
.player-footerbar .pfb-info {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--ink-3);
}
.autoplay-toggle {
  display: inline-flex; align-items: center; gap: 8px;
  cursor: pointer;
  user-select: none;
}
.autoplay-toggle input { display: none; }
.autoplay-toggle .apt-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 8px var(--accent);
  transition: all .15s;
}
.autoplay-toggle input:not(:checked) ~ .apt-dot { background: var(--ink-3); box-shadow: none; }
.autoplay-toggle strong { color: var(--accent); font-weight: 700; }
.autoplay-toggle input:not(:checked) ~ * strong { color: var(--ink-3); }

.watch2-head {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px;
  margin-bottom: 14px;
}
.watch2-title { margin-bottom: 10px; }
.watch2-title .w2-crumb {
  display: block; font-size: 20px; font-weight: 700;
  color: #fff; letter-spacing: -.01em; margin-bottom: 4px;
  transition: color .15s;
}
.watch2-title .w2-crumb:hover { color: var(--brand); }
.watch2-title .w2-ep {
  color: var(--brand); font-size: 13px; font-weight: 600;
  text-transform: uppercase; letter-spacing: .06em;
}
.w2-meta {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin: 10px 0;
}
.w2-meta span {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; color: var(--ink-2);
  background: var(--bg-3); border: 1px solid var(--line);
  padding: 5px 10px; border-radius: 6px;
}
.w2-meta span i { font-size: 11px; opacity: .8; }
.watch2-head .badges { margin: 12px 0 10px; }
.watch2-head .badges .b-red { background: rgba(229,9,20,.12); color: #ff6b7a; border-color: rgba(229,9,20,.3); }
.w2-desc {
  color: var(--ink-2); font-size: 13.5px; line-height: 1.6;
  margin: 10px 0 0;
}

.w2-eps {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px;
  flex: 1;
  min-height: 0;
  display: flex; flex-direction: column;
  overflow: hidden;
}
.w2-eps h3 {
  margin: 0 0 12px; font-size: 15px;
  display: flex; align-items: center; justify-content: space-between;
  color: #fff;
}
.w2-eps h3 i { color: var(--brand); margin-right: 6px; }
.w2-eps h3 .n {
  color: var(--ink-3); font-weight: 500; font-size: 12px;
  background: var(--bg-3); padding: 2px 10px; border-radius: 999px;
}
.w2-eps-list {
  flex: 1; min-height: 0;
  overflow-y: auto;
  display: flex; flex-direction: column; gap: 4px;
  padding-right: 4px;
  max-height: 380px;
}
.w2-eps-list::-webkit-scrollbar { width: 6px; }
.w2-eps-list::-webkit-scrollbar-thumb { background: var(--line-2); border-radius: 999px; }

.w2-ep-item {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 12px; border-radius: 10px;
  background: var(--bg-3); border: 1px solid transparent;
  color: var(--ink); transition: all .15s;
  position: relative;
}
.w2-ep-item:hover {
  background: var(--surface-2);
  border-color: var(--brand);
  transform: translateX(3px);
}
.w2-ep-item.active {
  background: rgba(229,9,20,.14);
  border-color: var(--brand);
}
.w2-ep-item.watched .w2ep-no { background: var(--ok); color: #fff; }
.w2-ep-item.watched { opacity: .7; }

.w2ep-no {
  width: 32px; height: 32px; border-radius: 8px;
  background: var(--surface); color: var(--ink-2);
  display: grid; place-items: center;
  font-weight: 700; font-size: 13px;
  flex-shrink: 0;
  transition: all .15s;
}
.w2-ep-item:hover .w2ep-no,
.w2-ep-item.active .w2ep-no {
  background: var(--brand); color: #fff;
}
.w2ep-label {
  flex: 1;
  font-size: 13.5px; font-weight: 500;
}
.w2-ep-item.active .w2ep-label { color: #fff; font-weight: 700; }
.w2ep-icon {
  color: var(--ink-3); font-size: 10px;
}
.w2-ep-item.active .w2ep-icon { color: var(--brand); font-size: 12px; }

@media (max-width: 1100px) {
  .watch2-info-col { margin-top: 20px; }
  .player-shell.vertical-shell { max-width: 400px; }
  .w2-eps-list { max-height: 320px; }
}

@media (max-width: 900px) {
  .watch2 {
    padding: 0 0 20px;
    max-width: none;
  }
  .watch2-inner {
    gap: 0;
    grid-template-columns: 1fr;
  }
  .watch2-player-col .player-shell.vertical-shell,
  .watch2-player-col .player-shell.vidmoly-shell {
    aspect-ratio: auto;
    width: 100%;
    max-width: none;
    height: calc(100svh - var(--header-h));
    min-height: 420px;
    border-radius: 0;
    margin: 0;
  }
  .watch2-info-col {
    padding: 14px 16px 0;
  }
}
@media (max-width: 480px) {
  .controls-center { display: none; }
  .vol-slider { display: none; }
  .center-play { width: 72px; height: 72px; font-size: 28px; }
  .pc-ext { gap: 2px; }
  .pc-btn { width: 32px; height: 32px; }
  .player-footerbar { font-size: 11px; padding: 8px 12px; }
  .watch2-head { padding: 14px; }
  .watch2-head .w2-crumb { font-size: 17px; }
  .w2-eps { padding: 14px; }
}
@media (max-width: 1100px) { .watch-layout { grid-template-columns: 1fr; } }

.player-wrap {
  background: #000; border-radius: var(--radius);
  overflow: hidden; position: relative;
  aspect-ratio: 16/9;
  box-shadow: var(--shadow-lg);
}
.player-wrap.vertical { aspect-ratio: 9/16; max-width: 480px; margin: 0 auto; }
.player-wrap video, .player-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #000; }
@keyframes slideIn { from { transform: translateY(20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

.watch-info { padding: 22px 0 0; }
.watch-info h1 { margin: 0 0 8px; font-size: 26px; letter-spacing: -.01em; }
.watch-info .meta-row {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px;
  color: var(--ink-2); font-size: 14px; margin: 0 0 16px;
}
.watch-info .meta-row i { color: var(--ink-3); font-size: 12px; }
.watch-info .meta-row .sep { color: var(--ink-3); }
.live-badge, .watch-info .live-badge, .w2-meta .live-badge, .title-meta .live-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(135deg, rgba(16,185,129,.22), rgba(16,185,129,.12));
  border: 1px solid rgba(16,185,129,.4);
  color: #a7f3d0;
  padding: 6px 14px 6px 11px; border-radius: 999px;
  font-size: 12px; font-weight: 700;
  letter-spacing: .01em;
  box-shadow: 0 2px 10px rgba(16,185,129,.18), inset 0 1px 0 rgba(255,255,255,.08);
  text-shadow: 0 1px 2px rgba(0,0,0,.4);
  position: relative;
}
.live-badge .dot, .watch-info .live-badge .dot, .w2-meta .live-badge .dot, .title-meta .live-badge .dot {
  width: 8px; height: 8px; min-width: 8px; min-height: 8px;
  padding: 0; margin: 0;
  border: 0; background: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(16,185,129,.9);
  animation: liveDotPulse 1.6s ease-in-out infinite;
  flex-shrink: 0;
  display: inline-block;
  box-sizing: border-box;
}
@keyframes liveDotPulse {
  50% { opacity: .45; }
}

.badges { display: flex; gap: 6px; flex-wrap: wrap; margin: 0 0 16px; }
.badges .b {
  font-size: 12px; background: var(--surface); color: var(--ink-2);
  padding: 4px 10px; border-radius: 6px; border: 1px solid var(--line);
}
.badges .b:hover { color: #fff; border-color: var(--brand); }

.desc { color: var(--ink-2); line-height: 1.7; margin: 0 0 24px; }

.episodes-panel {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 18px;
  position: sticky; top: calc(var(--header-h) + 14px);
  max-height: calc(100vh - var(--header-h) - 40px);
  display: flex; flex-direction: column;
}
.episodes-panel h3 { margin: 0 0 14px; font-size: 16px; display: flex; justify-content: space-between; align-items: center; }
.episodes-panel h3 i { color: var(--brand); margin-right: 6px; }
.episodes-panel h3 .n { color: var(--ink-3); font-weight: 400; font-size: 13px; }
.episodes-list {
  flex: 1; overflow-y: auto;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(54px, 1fr));
  gap: 6px;
  padding-right: 4px;
}
.episodes-list::-webkit-scrollbar { width: 6px; }
.episodes-list::-webkit-scrollbar-thumb { background: var(--line-2); border-radius: 999px; }
.episodes-list a {
  aspect-ratio: 1; border-radius: var(--radius-sm);
  background: var(--bg-3); border: 1px solid var(--line);
  display: grid; place-items: center;
  color: var(--ink-2); font-weight: 600; font-size: 13px;
  transition: all .15s;
  position: relative;
}
.episodes-list a:hover { background: var(--surface-2); color: #fff; border-color: var(--brand); transform: translateY(-1px); }
.episodes-list a.active { background: var(--brand); color: #fff; border-color: var(--brand); box-shadow: 0 4px 14px rgba(229,9,20,.5); }
.episodes-list a.watched::after {
  content: ""; position: absolute; top: 4px; right: 4px;
  width: 5px; height: 5px; border-radius: 50%; background: var(--ok);
}

.nav-eps { display: flex; gap: 8px; margin: 0 0 20px; }
.nav-eps .btn { flex: 1; justify-content: center; }
.nav-eps .btn:disabled, .nav-eps .btn.disabled { opacity: .35; pointer-events: none; }

.filter-bar-wrap {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.filter-bar {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  margin: 0 0 24px;
}
.filter-row {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 12px; align-items: end;
}
.filter-row label {
  display: flex; align-items: center; gap: 6px;
  font-size: 12px; color: var(--ink-3); margin-bottom: 6px;
  text-transform: uppercase; letter-spacing: .05em; font-weight: 600;
}
.filter-row label i { color: var(--brand); font-size: 11px; }
.filter-row select, .filter-row input {
  width: 100%; height: 42px; padding: 0 12px;
  background: var(--bg-2); border: 1px solid var(--line); color: var(--ink);
  border-radius: 8px; font-size: 14px; outline: none;
  font-family: inherit;
}
.filter-row select:focus, .filter-row input:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(229,9,20,.18); }

.result-head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0 var(--gutter) 14px;
  max-width: var(--container); margin: 0 auto;
}
.result-head .count { color: var(--ink-3); font-size: 14px; }

.pager {
  display: flex; justify-content: center; align-items: center; gap: 6px;
  padding: 30px 24px;
  flex-wrap: wrap;
}
.pager a, .pager span {
  min-width: 40px; height: 40px; padding: 0 14px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--surface); border: 1px solid var(--line);
  color: var(--ink-2); border-radius: 8px; font-size: 14px;
  transition: all .15s;
}
.pager a:hover { background: var(--surface-2); color: #fff; border-color: var(--brand); }
.pager .cur { background: var(--brand); color: #fff; border-color: var(--brand); }
.pager .gap { background: transparent; border: 0; }

.footer {
  border-top: 1px solid var(--line);
  background: var(--bg-2);
  padding: 44px var(--gutter) 24px;
  margin-top: 60px;
}
.footer-inner {
  max-width: var(--container); margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px;
}
@media (max-width: 760px) { .footer-inner { grid-template-columns: 1fr 1fr; gap: 28px; } }
@media (max-width: 480px) { .footer-inner { grid-template-columns: 1fr; } }
.footer h4 { color: #fff; font-size: 14px; margin: 0 0 14px; text-transform: uppercase; letter-spacing: .06em; }
.footer a {
  color: var(--ink-2); font-size: 14px; display: inline-flex; align-items: center; gap: 8px;
  padding: 4px 0;
  transition: color .15s;
}
.footer a i { color: var(--ink-3); font-size: 12px; width: 14px; text-align: center; }
.footer a:hover { color: #fff; }
.footer a:hover i { color: var(--brand); }
.footer div > a { display: flex; }
.footer .brand-col p { color: var(--ink-3); font-size: 13px; line-height: 1.6; max-width: 360px; margin: 14px 0 0; }
.footer-bottom {
  max-width: var(--container); margin: 30px auto 0;
  padding: 20px 0 0;
  border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: center;
  color: var(--ink-3); font-size: 13px;
  flex-wrap: wrap; gap: 10px;
}

.mobile-nav {
  display: none;
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  background: rgba(10,13,20,.97); backdrop-filter: blur(16px);
  border-top: 1px solid var(--line);
  padding: 8px 6px calc(8px + env(safe-area-inset-bottom));
}
.mobile-nav-inner { display: flex; justify-content: space-around; align-items: center; }
.mobile-nav a {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  color: var(--ink-3); font-size: 10.5px; font-weight: 500;
  padding: 6px 10px; border-radius: 8px;
  flex: 1; text-align: center;
}
.mobile-nav a i { font-size: 18px; }
.mobile-nav a.active { color: var(--brand); }

@media (max-width: 1100px) {
  .hero-wrap { padding: 0; }
  .hero { border-radius: 0; min-height: auto; }
  .hero-slide {
    display: block;
    position: relative;
    min-height: min(78vh, 640px);
    background: #000;
  }
  .hero-poster {
    position: absolute; inset: 0;
    aspect-ratio: initial;
    z-index: 0;
  }
  .hero-poster-img { background-position: center top; }
  .hero-poster::before {
    background: linear-gradient(180deg,
      rgba(10,13,20,0) 0%,
      rgba(10,13,20,0.15) 32%,
      rgba(10,13,20,0.75) 55%,
      rgba(10,13,20,0.98) 68%,
      var(--bg) 80%);
  }
  .hero-poster::after { display: none; }
  .hero-info {
    position: absolute; left: 0; right: 0; bottom: 0;
    padding: 110px 20px 28px;
    z-index: 2;
    max-width: none;
    text-align: center;
    background: linear-gradient(0deg,
      var(--bg) 0%,
      var(--bg) 55%,
      rgba(10,13,20,0.98) 72%,
      rgba(10,13,20,0.75) 88%,
      transparent 100%);
  }
  .hero-info .eyebrow { margin-bottom: 10px; }
  .hero-info .eyebrow::before { display: none; }
  .hero-info h1 {
    font-size: clamp(22px, 5.4vw, 30px);
    margin-bottom: 10px;
    text-shadow: 0 2px 10px rgba(0,0,0,.6);
  }
  .hero-info .meta {
    justify-content: center;
    gap: 6px;
    margin-bottom: 12px;
  }
  .hero-info .meta span {
    padding: 4px 9px; font-size: 11px;
    background: rgba(255,255,255,.1);
    backdrop-filter: blur(6px);
  }
  .hero-info p {
    font-size: 13.5px; -webkit-line-clamp: 2;
    margin: 0 auto 16px;
    text-shadow: 0 1px 6px rgba(0,0,0,.6);
  }
  .hero-info .actions { justify-content: center; }
  .hero-info .actions .btn {
    padding: 10px 20px;
    font-size: 13px;
  }
  .hero-nav {
    width: 38px; height: 38px;
    top: 42%;
    transform: translateY(-50%);
    background: rgba(0,0,0,.4);
  }
  .hero-nav.prev { left: 8px; }
  .hero-nav.next { right: 8px; }
  .hero-dots {
    position: absolute;
    bottom: 10px;
    left: 50%; transform: translateX(-50%);
    z-index: 3;
  }
}

@media (max-width: 900px) {
  .search-box { display: none; }
  .nav { display: none; }
  .mobile-nav { display: block; }
  .main { padding-bottom: 90px; }
  .row-head { padding: 0 16px 10px; }
  .row-head h2 { font-size: 17px; }
  .row-scroll { padding: 2px 16px 20px; gap: 12px; }
  .poster-card { flex-basis: 140px; width: 140px; }
  .poster-card .card-info { min-height: 48px; }
  .poster-card .card-info h3 { font-size: 12.5px; }
  .poster-card .card-sub { font-size: 10.5px; }
  .poster-card.rank-card { flex-basis: 170px; width: 170px; padding-left: 36px; }
  .poster-card .rank-no { font-size: 90px; bottom: 48px; }
  .container, .page-title, .result-head { padding-left: 16px; padding-right: 16px; }
  .page-title { padding-top: 18px; }
  .page-title h1 { font-size: 22px; }
  .grid {
    padding: 0 16px 20px; gap: 18px 10px;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  }
  .filter-bar { margin-left: 16px; margin-right: 16px; padding: 14px; }
  .filter-row { grid-template-columns: 1fr 1fr; gap: 10px; }
  .watch-layout { padding: 12px 16px 60px; gap: 20px; }
  .episodes-panel { position: static; max-height: 460px; }
  .watch-info h1 { font-size: 22px; }
  .topbar .wrap {
    padding: 0 12px; gap: 10px;
    position: relative;
    justify-content: center;
  }
  .topbar .brand {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
  }
  .topbar-actions { display: none; }
  .brand-wordmark { height: 52px; }
}
@media (max-width: 760px) {
  .grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px 10px;
    padding: 0 12px 24px;
  }
  .grid > .poster-card { min-width: 0; }
  .grid > .poster-card.rank-card { padding-left: 0; width: 100%; flex-basis: auto; }
  .grid > .poster-card.rank-card .rank-no {
    position: absolute;
    top: 8px; left: 8px; bottom: auto; right: auto;
    width: 32px; height: 32px;
    border-radius: 50%;
    background: var(--brand);
    color: #fff;
    -webkit-text-stroke: 0;
    text-shadow: none;
    font-size: 15px;
    font-weight: 900;
    font-family: Inter, sans-serif;
    display: grid; place-items: center;
    box-shadow: 0 4px 12px rgba(229,9,20,.6);
    z-index: 5;
  }
  .row-scroll { padding: 2px 14px 20px; gap: 10px; }
  .row-scroll .poster-card { flex: 0 0 140px; width: 140px; }
  .row-scroll .poster-card.rank-card { flex: 0 0 168px; width: 168px; padding-left: 34px; }
}
@media (max-width: 480px) {
  .filter-row { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .page-title {
    text-align: center;
    padding: 20px 16px 16px;
  }
  .page-title h1 {
    justify-content: center;
    font-size: 22px;
  }
  .page-title p { font-size: 14px; }
  .page-title .chips { justify-content: center; }

  .filter-bar {
    margin: 0 14px 20px;
    padding: 14px;
    border-radius: 14px;
  }
  .filter-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .filter-row label { justify-content: flex-start; font-size: 11px; }
  .filter-row select,
  .filter-row input { height: 44px; }

  .result-head { justify-content: center; text-align: center; flex-wrap: wrap; gap: 8px; }

  .chip-bar { padding: 12px 0; }
  .chip-scroll { padding: 0 14px; }

  .footer {
    padding: 36px 20px 22px;
    text-align: center;
  }
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 28px;
    text-align: center;
  }
  .footer .brand-col {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .footer .brand-col p {
    margin: 14px auto 0;
    max-width: 320px;
  }
  .footer .footer-brand { justify-content: center; }
  .footer h4 {
    text-align: center;
    font-size: 13px;
    margin-bottom: 10px;
    color: var(--brand);
  }
  .footer a {
    justify-content: center;
    font-size: 13.5px;
    padding: 7px 0;
  }
  .footer-inner > div {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
  }
  .footer-inner > div > a { display: inline-flex; }
  .footer-bottom {
    flex-direction: column;
    gap: 6px;
    margin-top: 24px;
    padding-top: 18px;
    text-align: center;
    font-size: 12px;
  }
}

.empty {
  text-align: center; padding: 80px 20px; color: var(--ink-3);
  max-width: 540px; margin: 0 auto;
}
.empty i.big { font-size: 56px; color: var(--brand); margin-bottom: 14px; display: block; }
.empty h2 { color: var(--ink-2); margin: 0 0 8px; font-weight: 600; }

.prose { max-width: 820px; margin: 0 auto; padding: 24px; color: var(--ink-2); line-height: 1.75; }
.prose h1 { color: #fff; margin: 0 0 16px; }
.prose h2 { color: #fff; margin: 32px 0 12px; font-size: 20px; }
.prose p { margin: 0 0 14px; }
.prose ul { padding-left: 22px; }
.prose a { color: var(--brand-2); }
.prose a:hover { color: var(--brand); }

.poster-card .progress-bar {
  position: absolute; left: 0; right: 0; bottom: 0; height: 3px;
  background: rgba(0,0,0,.55); z-index: 3;
}
.poster-card .progress-bar .fill {
  height: 100%; background: var(--brand); transition: width .3s;
}

.title-hero {
  position: relative;
  padding: 40px var(--gutter);
  max-width: var(--container); margin: 0 auto;
  overflow: hidden;
}
.title-hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  filter: blur(40px) brightness(.35) saturate(1.2);
  transform: scale(1.15);
  z-index: 0;
}
.title-hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,13,20,.4) 0%, var(--bg) 100%);
  z-index: 1;
}
.title-hero-inner {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 260px 1fr; gap: 36px;
  align-items: start;
}
.title-poster {
  position: relative;
  aspect-ratio: 2/3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.05);
}
.title-poster img { width: 100%; height: 100%; object-fit: cover; display: block; }
.title-poster .adult-tag {
  position: absolute; top: 10px; left: 10px;
  background: var(--brand); color: #fff;
  font-size: 12px; font-weight: 700; padding: 4px 9px; border-radius: 5px;
  letter-spacing: .04em;
}
.title-info { padding-top: 10px; min-width: 0; }
.title-info .eyebrow {
  display: inline-block;
  color: var(--brand); font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .14em;
  margin-bottom: 10px;
}
.title-info h1 {
  font-size: clamp(28px, 3.8vw, 44px);
  line-height: 1.1; margin: 0 0 16px;
  letter-spacing: -.02em; font-weight: 800;
}
.title-meta {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin: 0 0 16px;
}
.title-meta span {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; color: var(--ink-2);
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08);
  padding: 6px 12px; border-radius: 7px;
}
.title-meta span i { font-size: 11px; opacity: .85; }
.title-desc {
  color: var(--ink-2); font-size: 15px; line-height: 1.7;
  margin: 18px 0 22px;
  max-width: 820px;
}
.title-actions { display: flex; gap: 10px; flex-wrap: wrap; }

.ep-section {
  max-width: var(--container); margin: 20px auto 0;
  padding: 0 var(--gutter) 20px;
}

/* ======= REELS SWIPE + UNMUTE HINT ======= */
.unmute-hint {
  position: absolute; left: 50%; top: 16px; transform: translateX(-50%) translateY(-8px);
  z-index: 10;
  display: none; align-items: center; gap: 8px;
  background: rgba(229,9,20,.92);
  color: #fff; font-size: 12.5px; font-weight: 700;
  padding: 8px 14px; border-radius: 999px;
  box-shadow: 0 8px 24px rgba(0,0,0,.4);
  backdrop-filter: blur(6px);
  pointer-events: none;
  white-space: nowrap;
  opacity: 0;
  transition: opacity .25s ease, transform .25s ease;
}
.unmute-hint.show { display: inline-flex; opacity: 1; transform: translateX(-50%) translateY(0); animation: unmuteBounce 1.8s ease-in-out infinite; }
@keyframes unmuteBounce {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50%     { transform: translateX(-50%) translateY(-4px); }
}

.player-shell .reels-peek {
  position: absolute; left: 50%; transform: translateX(-50%);
  z-index: 3; display: none;
  font-size: 11px; font-weight: 700;
  color: rgba(255,255,255,.75);
  background: rgba(0,0,0,.4); backdrop-filter: blur(6px);
  padding: 6px 12px; border-radius: 999px;
  white-space: nowrap;
  pointer-events: none;
  align-items: center; gap: 6px;
}
.player-shell .reels-peek.is-prev { top: 12px; }
.player-shell .reels-peek.is-next { bottom: 12px; }
.player-shell .reels-strip { display: none; }

@media (max-width: 640px) {
  .player-shell.reels-mode {
    position: fixed; inset: 0;
    width: 100vw; height: 100dvh; max-width: none; margin: 0;
    border-radius: 0;
    touch-action: pan-x pinch-zoom;
    overscroll-behavior: contain;
    overflow: hidden;
    z-index: 60;
  }
  .player-shell.reels-mode video,
  .player-shell.reels-mode iframe {
    transform: translate3d(0, var(--ep-swipe-y, 0px), 0);
    will-change: transform;
  }
  .player-shell.reels-mode.is-settling video,
  .player-shell.reels-mode.is-settling iframe {
    transition: transform .24s cubic-bezier(.2,.8,.2,1);
  }
  .player-shell.reels-mode .reels-peek { display: inline-flex; }
  .player-shell.reels-mode .reels-strip {
    display: block;
    position: absolute; left: 0; right: 0; height: 100px;
    z-index: 4; pointer-events: auto;
    background: transparent;
  }
}

/* ===== AD INTRO OVERLAY ===== */
.ad-overlay {
  position: fixed; inset: 0;
  z-index: 9999;
  background: #000;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.ad-overlay[hidden] { display: none; }
.ad-video {
  width: 100%; height: 100%;
  object-fit: cover; /* 9:16 fills screen */
  background: #000;
  outline: none;
}
.ad-skip {
  position: absolute;
  top: max(16px, env(safe-area-inset-top));
  right: max(16px, env(safe-area-inset-right));
  z-index: 10001;
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(0,0,0,.72);
  color: #fff;
  border: 1px solid rgba(255,255,255,.18);
  padding: 10px 16px; border-radius: 999px;
  font-size: 13px; font-weight: 700;
  backdrop-filter: blur(8px);
  cursor: pointer;
  transition: background .2s, transform .1s;
}
.ad-skip:disabled { opacity: .85; cursor: not-allowed; }
.ad-skip:not(:disabled):hover { background: rgba(229,9,20,.9); transform: scale(1.04); }
.ad-skip .ad-count {
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.15);
  min-width: 22px; height: 22px; border-radius: 50%;
  margin-left: 4px; font-size: 12px;
}
.ad-mute-toggle {
  position: absolute; bottom: 20px; right: 20px; z-index: 10001;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(0,0,0,.6); color: #fff;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.14);
}
.ad-mute-toggle:hover { background: rgba(0,0,0,.8); }
.ad-badge {
  position: absolute;
  top: max(16px, env(safe-area-inset-top));
  left: max(16px, env(safe-area-inset-left));
  background: rgba(255,255,255,.08); color: #fff;
  padding: 5px 10px; border-radius: 6px;
  font-size: 10px; letter-spacing: .08em; text-transform: uppercase;
  border: 1px solid rgba(255,255,255,.14);
  z-index: 10001;
}
body.ad-active { overflow: hidden; }
@media (max-width: 640px) {
  .ad-skip { padding: 9px 14px; font-size: 12.5px; }
  .player-shell.reels-mode .reels-strip.top    { top: 0; }
  .player-shell.reels-mode .reels-strip.bottom { bottom: 0; }
  body.reels-on { overflow: hidden; }
}
.ep-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 10px;
  margin-top: 14px;
}
.ep-card {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink); transition: all .15s;
  position: relative;
  min-width: 0;
}
.ep-card:hover {
  background: var(--surface-2); border-color: var(--brand);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0,0,0,.4);
}
.ep-card.watched { opacity: .7; }
.ep-card.watched::after {
  content: ""; position: absolute; top: 8px; right: 8px;
  width: 6px; height: 6px; border-radius: 50%; background: var(--ok);
}
.ep-card.current { border-color: var(--brand); background: rgba(229,9,20,.08); }
.ep-card .ep-no {
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--bg-3); color: var(--ink-2);
  display: grid; place-items: center;
  font-weight: 800; font-size: 15px;
  flex-shrink: 0;
  transition: all .15s;
}
.ep-card:hover .ep-no, .ep-card.current .ep-no {
  background: var(--brand); color: #fff;
  box-shadow: 0 4px 12px rgba(229,9,20,.5);
}
.ep-card .ep-meta { min-width: 0; }
.ep-card .ep-title {
  font-size: 13px; font-weight: 600; color: #fff;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.ep-card .ep-sub {
  font-size: 11px; color: var(--ink-3);
  display: inline-flex; align-items: center; gap: 4px; margin-top: 2px;
}
.ep-card .ep-sub i { font-size: 9px; }

.watch-crumb {
  margin-bottom: 14px;
  font-size: 13px;
}
.watch-crumb a {
  color: var(--ink-2); font-weight: 500;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 10px; border-radius: 6px;
  transition: all .15s;
}
.watch-crumb a:hover { color: #fff; background: rgba(255,255,255,.05); }
.watch-crumb a i { font-size: 11px; }

.watch-head {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 16px; margin-bottom: 14px;
  flex-wrap: wrap;
}
.watch-head .btn.ghost { align-self: flex-start; }

@media (max-width: 760px) {
  .title-hero { padding: 24px 16px 24px; }
  .title-hero-inner {
    grid-template-columns: 1fr;
    gap: 20px;
    text-align: left;
  }
  .title-poster {
    max-width: 270px;
    margin: 0 auto;
  }
  .title-info { padding-top: 0; }
  .title-info h1 { font-size: 22px; }
  .title-meta span { padding: 5px 10px; font-size: 12px; }
  .ep-section { padding: 0 16px 16px; }
  .ep-grid { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 8px; }
  .ep-card { padding: 10px; }
  .ep-card .ep-no { width: 36px; height: 36px; font-size: 13px; }
  .watch-head { flex-direction: column; }
}
