:root {
  --bg: #0c050a;
  --surface: #170a13;
  --surface-2: #230f1d;
  --surface-3: #311528;
  --line: rgba(255, 110, 180, 0.12);
  --line-strong: rgba(255, 65, 145, 0.28);
  --ink: #fff4f9;
  --muted: #c9a4b8;
  --subtle: #8f647c;
  --rose: #ff1e7a;
  --violet: #d91672;
  --gold: #ff1e7a;
  --gold-bright: #ff6eb4;
  --free: #22d3a6;
  --display: 'Outfit', system-ui, sans-serif;
  --text: 'Plus Jakarta Sans', system-ui, sans-serif;
  --radius: 16px;
  --header-h: 70px;
  --rail-w: 228px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { color-scheme: dark; background: var(--bg); color: var(--ink); font-family: var(--text); font-size: 15px; line-height: 1.55; }
body {
  min-height: 100vh;
  background:
    radial-gradient(920px 560px at 84% -6%, rgba(255, 30, 122, 0.24), transparent 62%),
    radial-gradient(760px 480px at 10% 12%, rgba(217, 22, 114, 0.18), transparent 62%),
    radial-gradient(640px 420px at 50% 100%, rgba(168, 18, 92, 0.14), transparent 65%),
    var(--bg);
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 40;
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 0 22px;
  background: rgba(8, 6, 15, 0.86);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}
.header-left { display: flex; align-items: center; gap: 12px; }
.icon-btn {
  width: 38px; height: 38px; border-radius: 10px;
  display: grid; place-items: center; color: var(--muted);
  border: 1px solid transparent; transition: 0.2s;
}
.icon-btn:hover { color: var(--ink); background: var(--surface-2); border-color: var(--line); }
.brand { display: flex; align-items: center; gap: 10px; }
.brand-name { font-family: var(--display); font-weight: 800; font-size: 19px; letter-spacing: -0.03em; }
.brand-name span { background: linear-gradient(90deg, var(--rose), var(--violet), var(--gold-bright)); -webkit-background-clip: text; color: transparent; }

.header-search {
  flex: 1; max-width: 440px;
  display: flex; align-items: center; gap: 10px;
  padding: 0 16px; height: 42px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.header-search:focus-within { border-color: rgba(225, 29, 116, 0.55); box-shadow: 0 0 0 3px rgba(225, 29, 116, 0.14); }
.header-search svg { color: var(--subtle); flex-shrink: 0; }
.header-search input { width: 100%; background: none; border: none; outline: none; color: var(--ink); font-size: 14px; }
.header-search input::placeholder { color: var(--subtle); }

.header-right { display: flex; align-items: center; gap: 10px; }
.lang-menu { position: relative; }
.lang-btn {
  display: flex; align-items: center; gap: 6px;
  padding: 0 12px; height: 38px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line);
  font-size: 13px; font-weight: 600; color: var(--muted);
}
.lang-btn:hover { color: var(--ink); border-color: var(--line-strong); }
.lang-dropdown {
  position: absolute; right: 0; top: calc(100% + 8px);
  min-width: 170px; padding: 6px; border-radius: 14px;
  background: var(--surface-2); border: 1px solid var(--line-strong);
  box-shadow: 0 20px 50px rgba(0,0,0,0.65);
  display: none; flex-direction: column; gap: 2px;
}
.lang-dropdown.open { display: flex; }
.lang-item { padding: 8px 12px; border-radius: 9px; font-size: 13px; color: var(--muted); }
.lang-item:hover, .lang-item.active { background: var(--surface-3); color: var(--ink); }

.btn-unlock-sm {
  display: inline-flex; align-items: center; gap: 6px;
  height: 38px; padding: 0 15px; border-radius: 999px;
  background: linear-gradient(90deg, #ff1e7a, #ff5ea8);
  color: #fff; font-weight: 800; font-size: 13px;
  box-shadow: 0 6px 24px rgba(255, 30, 122, 0.44);
  transition: transform 0.15s, box-shadow 0.15s;
}
.btn-unlock-sm:hover { transform: translateY(-1px); box-shadow: 0 10px 30px rgba(255, 30, 122, 0.62); }

/* App Shell */
.app-shell { display: flex; min-height: calc(100vh - var(--header-h)); }
.site-sidebar {
  width: var(--rail-w); flex-shrink: 0;
  position: sticky; top: var(--header-h); height: calc(100vh - var(--header-h));
  overflow-y: auto; padding: 18px 14px;
  border-right: 1px solid var(--line);
  background: rgba(12, 9, 21, 0.72);
  transition: width 0.2s, padding 0.2s;
}
body.sidebar-collapsed .site-sidebar,
body.cinema-mode:not(.sidebar-expanded) .site-sidebar {
  width: 0; padding: 0; overflow: hidden; border-right: none;
}
.rail-nav { display: flex; flex-direction: column; gap: 4px; }
.rail-link {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 12px; border-radius: 12px;
  color: var(--muted); font-weight: 600; font-size: 14px; transition: 0.18s;
}
.rail-link:hover { background: var(--surface-2); color: var(--ink); }
.rail-link.active {
  background: linear-gradient(90deg, rgba(225, 29, 116, 0.22), rgba(168, 85, 247, 0.14));
  color: var(--ink); border: 1px solid rgba(225, 29, 116, 0.3);
}
.rail-ico { width: 20px; text-align: center; color: var(--rose); }
.rail-divider { height: 1px; background: var(--line); margin: 16px 6px; }
.rail-label { font-size: 11px; font-weight: 700; letter-spacing: 0.16em; color: var(--subtle); padding: 0 10px 8px; }
.rail-genres { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 6px; }
.rail-chip {
  font-size: 12px; color: var(--muted); padding: 5px 10px;
  border-radius: 999px; background: var(--surface); border: 1px solid var(--line);
}
.rail-chip:hover { color: var(--ink); border-color: var(--rose); }
.rail-promo {
  margin-top: 20px; padding: 14px; border-radius: 14px;
  background: linear-gradient(155deg, rgba(225, 29, 116, 0.16), rgba(245, 158, 11, 0.12));
  border: 1px solid rgba(245, 158, 11, 0.25);
}
.rail-promo-tag { font-size: 10px; font-weight: 800; letter-spacing: 0.15em; color: var(--gold-bright); margin-bottom: 6px; }
.rail-promo p { font-size: 12.5px; color: var(--muted); margin-bottom: 10px; }
.rail-promo a { font-size: 13px; font-weight: 700; color: var(--gold-bright); }

.main-content { flex: 1; min-width: 0; max-width: 1420px; margin: 0 auto; padding: 20px 32px 64px; }

/* Pills & Eyebrows */
.eyebrow {
  display: inline-block; font-size: 11px; font-weight: 800;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--rose); margin-bottom: 6px;
}
.pill-strip {
  display: flex; gap: 8px; overflow-x: auto; padding-bottom: 14px; margin-bottom: 14px;
  scrollbar-width: none;
}
.pill-strip::-webkit-scrollbar { display: none; }
.pill {
  flex-shrink: 0; padding: 8px 16px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line);
  font-size: 13.5px; font-weight: 600; color: var(--muted); transition: 0.18s;
}
.pill:hover { color: var(--ink); border-color: var(--line-strong); }
.pill.active { background: var(--ink); color: #08060f; border-color: var(--ink); }

/* Hero Carousel */
.hero-carousel {
  position: relative; border-radius: 24px; overflow: hidden;
  border: 1px solid var(--line-strong);
  margin-bottom: 28px;
}
.hero-slide {
  display: none; grid-template-columns: 1.35fr 0.65fr; gap: 32px; align-items: center;
  padding: 40px 44px;
  background:
    radial-gradient(620px 400px at 85% 20%, color-mix(in srgb, var(--h2) 45%, transparent), transparent 65%),
    radial-gradient(500px 360px at 15% 85%, color-mix(in srgb, var(--h3) 26%, transparent), transparent 65%),
    linear-gradient(135deg, #0d0919 0%, var(--h1) 100%);
}
.hero-slide.active { display: grid; }
.hero-copy h2 { font-family: var(--display); font-size: clamp(28px, 3.8vw, 46px); font-weight: 800; line-height: 1.08; letter-spacing: -0.03em; margin-bottom: 10px; }
.hero-tagline { font-size: 17px; color: var(--gold-bright); font-weight: 600; margin-bottom: 12px; }
.hero-summary { color: #d5cde8; max-width: 580px; margin-bottom: 16px; font-size: 14.5px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; color: var(--muted); margin-bottom: 22px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-poster {
  justify-self: end; width: 250px; border-radius: 18px; overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.72), 0 0 0 1px rgba(255,255,255,0.14);
  transition: transform 0.25s;
}
.hero-poster:hover { transform: translateY(-4px) scale(1.01); }
.hero-dots { position: absolute; left: 44px; bottom: 18px; display: flex; gap: 8px; }
.hero-dot { width: 24px; height: 4px; border-radius: 99px; background: rgba(255,255,255,0.24); transition: 0.2s; }
.hero-dot.active { width: 40px; background: var(--gold-bright); }

/* Buttons */
.btn-primary {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 24px; border-radius: 999px; font-weight: 700; font-size: 14.5px;
  background: linear-gradient(90deg, #ff1e7a, #d91672);
  color: #fff; box-shadow: 0 10px 32px rgba(255, 30, 122, 0.45);
  transition: transform 0.16s, filter 0.16s;
}
.btn-primary:hover { transform: translateY(-1px); filter: brightness(1.1); }
.btn-gold {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 24px; border-radius: 999px; font-weight: 800; font-size: 14.5px;
  background: linear-gradient(90deg, #ff1e7a, #ff5ca8);
  color: #fff; box-shadow: 0 12px 34px rgba(255, 30, 122, 0.48);
  transition: transform 0.16s, filter 0.16s;
}
.btn-gold:hover { transform: translateY(-1px); filter: brightness(1.08); }
.btn-gold-outline {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 999px; font-weight: 700; font-size: 14.5px;
  border: 1px solid rgba(255, 92, 168, 0.62); color: #ff8bc2;
  background: rgba(255, 30, 122, 0.14);
}
.btn-gold-outline:hover { background: rgba(255, 30, 122, 0.26); color: #fff; }
.btn-ghost {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 20px; border-radius: 999px; font-weight: 600; font-size: 14px;
  border: 1px solid var(--line-strong); color: var(--muted);
}
.btn-ghost:hover { color: var(--ink); background: var(--surface-2); }
.full-w { width: 100%; }

/* Editorial Intro */
.editorial-banner {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 24px;
  padding: 20px 24px; border-radius: 18px; margin-bottom: 32px;
  background: var(--surface); border: 1px solid var(--line);
}
.editorial-banner h1 { font-family: var(--display); font-size: clamp(22px, 2.5vw, 30px); font-weight: 800; letter-spacing: -0.03em; }
.editorial-banner p { max-width: 480px; font-size: 14px; color: var(--muted); }
.editorial-banner strong { color: var(--ink); }

/* Shelves & Cards */
.shelf { margin-bottom: 38px; }
.shelf-head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 16px; }
.shelf-head h2 { font-family: var(--display); font-size: 22px; font-weight: 800; letter-spacing: -0.02em; }
.see-all { font-size: 13.5px; font-weight: 700; color: var(--gold-bright); }
.card-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.drama-card { display: flex; flex-direction: column; gap: 9px; }
.poster-wrap {
  position: relative; aspect-ratio: 2/3; border-radius: 15px; overflow: hidden;
  background: var(--surface-2); border: 1px solid var(--line);
  transition: transform 0.22s, border-color 0.22s, box-shadow 0.22s;
}
.poster-wrap img { width: 100%; height: 100%; object-fit: cover; }
.drama-card:hover .poster-wrap {
  transform: translateY(-4px);
  border-color: rgba(225, 29, 116, 0.55);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.55);
}
.badge-free {
  position: absolute; top: 9px; left: 9px;
  padding: 3px 8px; border-radius: 999px; font-size: 10px; font-weight: 800;
  background: rgba(16, 185, 129, 0.92); color: #04130d; letter-spacing: 0.04em;
}
.badge-eps {
  position: absolute; top: 9px; right: 9px;
  padding: 3px 8px; border-radius: 999px; font-size: 10px; font-weight: 700;
  background: rgba(8, 6, 15, 0.78); color: #fff; border: 1px solid rgba(255,255,255,0.16);
}
.poster-play {
  position: absolute; inset: 0; display: grid; place-items: center;
  background: rgba(8, 6, 15, 0.28); opacity: 0; font-size: 28px; transition: opacity 0.2s;
}
.drama-card:hover .poster-play { opacity: 1; }
.card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 6px; }
.card-title { font-weight: 700; font-size: 14px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-title:hover { color: var(--gold-bright); }
.wish-btn { color: var(--subtle); font-size: 16px; line-height: 1; padding: 2px; }
.wish-btn.saved { color: var(--rose); }
.card-meta { display: flex; gap: 5px; font-size: 12px; color: var(--muted); }

/* Spotlight Rank Row */
.spotlight-strip { margin-bottom: 38px; }
.rank-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.rank-card {
  display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 16px;
  background: var(--surface); border: 1px solid var(--line); transition: 0.2s;
}
.rank-card:hover { border-color: rgba(168, 85, 247, 0.45); background: var(--surface-2); }
.rank-num { font-family: var(--display); font-size: 26px; font-weight: 800; color: rgba(251, 191, 36, 0.55); width: 32px; flex-shrink: 0; }
.rank-card img { width: 58px; height: 87px; border-radius: 10px; object-fit: cover; flex-shrink: 0; }
.rank-info h3 { font-size: 14px; font-weight: 700; margin-bottom: 4px; }
.rank-info p { font-size: 12px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 6px; }
.rank-meta { font-size: 11px; color: var(--gold-bright); font-weight: 700; }

/* Unlock Banner */
.unlock-banner {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 28px 32px; border-radius: 20px; margin-bottom: 38px;
  background: linear-gradient(125deg, rgba(225, 29, 116, 0.22), rgba(168, 85, 247, 0.18), rgba(245, 158, 11, 0.16));
  border: 1px solid rgba(251, 191, 36, 0.34);
}
.unlock-banner h2, .unlock-banner h3 { font-family: var(--display); font-size: 24px; font-weight: 800; margin-bottom: 6px; }
.unlock-banner p { color: #dcd4ee; font-size: 14.5px; max-width: 600px; }
.unlock-banner.compact { margin-top: 28px; padding: 22px 24px; }

/* Tags & Guides */
.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-cloud.compact { margin-top: 16px; }
.tag-pill {
  padding: 7px 14px; border-radius: 999px; font-size: 13px; color: var(--muted);
  background: var(--surface); border: 1px solid var(--line);
}
.tag-pill:hover { color: var(--ink); border-color: var(--violet); }
.guide-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.guide-card {
  padding: 22px; border-radius: 18px; background: var(--surface);
  border: 1px solid var(--line); transition: 0.2s;
}
.guide-card:hover { border-color: var(--rose); transform: translateY(-2px); }
.guide-cat { display: block; font-size: 11.5px; font-weight: 700; color: var(--gold-bright); margin-bottom: 8px; }
.guide-card h3 { font-family: var(--display); font-size: 18px; line-height: 1.3; margin-bottom: 8px; }
.guide-card p { font-size: 13.5px; color: var(--muted); }

/* Watch Stage (Cinema Funnel) */
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; color: var(--muted); margin-bottom: 18px; }
.breadcrumb a:hover { color: var(--ink); }
.watch-stage {
  display: grid; grid-template-columns: 360px 1fr; gap: 32px; align-items: start;
  padding: 26px; border-radius: 24px;
  background: var(--surface); border: 1px solid var(--line-strong);
  margin-bottom: 28px;
}
.player-frame {
  position: relative; aspect-ratio: 9/16; width: 100%; border-radius: 18px; overflow: hidden;
  background: #040308; border: 1px solid rgba(255,255,255,0.14);
  box-shadow: 0 24px 60px rgba(0,0,0,0.7);
}
.player-frame video { width: 100%; height: 100%; object-fit: cover; }
.demo-player { position: relative; width: 100%; height: 100%; display: flex; flex-direction: column; justify-content: space-between; padding: 16px; }
.demo-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(0.76); transition: transform 10s linear; }
.demo-player.playing .demo-bg { transform: scale(1.1); }
.demo-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,6,15,0.72) 0%, rgba(8,6,15,0.15) 45%, rgba(8,6,15,0.88) 100%); }
.demo-topbar, .demo-play-btn, .demo-caption, .demo-progress { position: relative; z-index: 2; }
.demo-topbar { display: flex; align-items: center; justify-content: space-between; }
.live-pill { padding: 4px 10px; border-radius: 999px; font-size: 10.5px; font-weight: 800; background: var(--free); color: #04130d; }
.demo-time { font-size: 12px; font-weight: 700; color: #fff; background: rgba(0,0,0,0.55); padding: 4px 9px; border-radius: 8px; }
.demo-play-btn {
  align-self: center; display: flex; flex-direction: column; align-items: center; gap: 6px;
  width: 96px; height: 96px; border-radius: 999px; justify-content: center;
  background: linear-gradient(135deg, rgba(225, 29, 116, 0.92), rgba(168, 85, 247, 0.92));
  color: #fff; box-shadow: 0 0 0 10px rgba(225, 29, 116, 0.22);
  transition: transform 0.2s, opacity 0.2s;
}
.demo-play-btn span { font-size: 28px; margin-left: 3px; }
.demo-play-btn small { font-size: 11px; font-weight: 700; }
.demo-player.playing .demo-play-btn { opacity: 0; pointer-events: none; }
.demo-caption { text-align: center; font-size: 14px; font-weight: 600; color: #fff; text-shadow: 0 2px 10px rgba(0,0,0,0.9); padding: 0 8px 10px; }
.demo-progress { height: 5px; background: rgba(255,255,255,0.22); border-radius: 99px; overflow: hidden; }
.demo-bar { height: 100%; width: 0%; background: linear-gradient(90deg, var(--rose), var(--gold-bright)); transition: width 0.25s linear; }

.unlock-overlay {
  position: absolute; inset: 0; z-index: 10;
  display: grid; place-items: center; padding: 18px;
  background: rgba(8, 6, 15, 0.88); backdrop-filter: blur(10px);
}
.unlock-overlay[hidden] { display: none; }
.unlock-modal-card {
  position: relative; width: 100%; padding: 24px 20px; border-radius: 18px;
  background: linear-gradient(160deg, #240c1c, #150711);
  border: 1px solid rgba(255, 65, 145, 0.55);
  box-shadow: 0 20px 60px rgba(255, 30, 122, 0.28);
  text-align: center; display: flex; flex-direction: column; gap: 12px;
}
.overlay-close { position: absolute; top: 10px; right: 12px; color: var(--muted); font-size: 16px; }
.unlock-modal-card h3 { font-family: var(--display); font-size: 20px; }
.unlock-modal-card p { font-size: 13.5px; color: var(--muted); }

.info-col h1 { font-family: var(--display); font-size: clamp(26px, 3vw, 38px); font-weight: 800; letter-spacing: -0.03em; margin-bottom: 6px; }
.watch-tagline { font-size: 16px; color: var(--gold-bright); font-weight: 600; margin-bottom: 14px; }
.genre-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.genre-chip, .meta-chip {
  padding: 5px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 600;
  background: var(--surface-2); border: 1px solid var(--line);
}
.genre-chip:hover { border-color: var(--rose); }
.watch-summary { color: #d6cee8; margin-bottom: 22px; }

.ep-section { margin-bottom: 22px; }
.ep-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; }
.ep-head h2 { font-family: var(--display); font-size: 17px; }
.ep-note { font-size: 12.5px; color: var(--gold-bright); font-weight: 600; }
.ep-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.ep-card {
  padding: 14px; border-radius: 14px; text-align: left;
  background: var(--surface-2); border: 1px solid var(--line-strong);
  display: flex; flex-direction: column; gap: 5px; transition: 0.18s;
}
.ep-card.active { border-color: var(--free); background: rgba(16, 185, 129, 0.14); }
.ep-card.unlocked { border-color: rgba(16, 185, 129, 0.45); background: rgba(16, 185, 129, 0.08); }
.ep-card.unlocked:hover { border-color: var(--free); background: rgba(16, 185, 129, 0.16); }
.ep-card.locked { border-color: rgba(255, 30, 122, 0.5); background: rgba(255, 30, 122, 0.11); }
.ep-card.locked:hover { transform: translateY(-2px); background: rgba(255, 30, 122, 0.22); border-color: #ff6eb4; box-shadow: 0 8px 24px rgba(255, 30, 122, 0.26); }
.now-playing-pill {
  position: absolute; top: 12px; left: 12px; z-index: 4; pointer-events: none;
  padding: 4px 10px; border-radius: 999px; font-size: 11px; font-weight: 800;
  background: rgba(8, 6, 15, 0.78); color: var(--free); border: 1px solid rgba(16, 185, 129, 0.45);
}
.unlock-status-pill {
  padding: 9px 12px; border-radius: 10px; font-size: 13px; font-weight: 700;
  background: rgba(16, 185, 129, 0.14); border: 1px solid rgba(16, 185, 129, 0.4); color: #6ee7b7;
}
.unlock-status-pill[hidden] { display: none; }
.ep-num { font-family: var(--display); font-weight: 800; font-size: 15px; }
.ep-status { font-size: 11px; font-weight: 800; letter-spacing: 0.08em; }
.ep-status.free { color: var(--free); }
.ep-status.gold { color: var(--gold-bright); }
.ep-dur { font-size: 12px; color: var(--muted); }

.watch-cta-box {
  padding: 18px; border-radius: 16px;
  background: linear-gradient(145deg, rgba(255, 30, 122, 0.13), rgba(217, 22, 114, 0.07));
  border: 1px solid rgba(255, 65, 145, 0.36);
}
.watch-cta-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 12px; font-size: 12.5px; color: var(--muted); }
.wish-pill { padding: 6px 12px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); font-size: 12.5px; font-weight: 600; }
.wish-pill.saved { border-color: var(--rose); color: var(--rose); }

/* Story Details & Meta */
.story-details-grid { display: grid; grid-template-columns: 1.5fr 0.9fr; gap: 20px; margin-bottom: 38px; }
.story-card, .meta-card { padding: 24px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); }
.story-card h2 { font-family: var(--display); font-size: 22px; margin-bottom: 10px; }
.story-card p { color: #cfc7e3; }
.meta-card h3 { font-family: var(--display); font-size: 18px; margin-bottom: 14px; }
.meta-card dl { display: flex; flex-direction: column; gap: 10px; }
.meta-card dl > div { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 10px; border-bottom: 1px solid var(--line); font-size: 13.5px; }
.meta-card dt { color: var(--muted); }
.meta-card dd a { color: var(--gold-bright); font-weight: 700; }

/* Page Hero & Articles */
.page-hero { margin-bottom: 24px; }
.page-hero h1 { font-family: var(--display); font-size: clamp(26px, 3vw, 36px); font-weight: 800; margin-bottom: 8px; }
.page-hero p { color: var(--muted); max-width: 700px; }
.article-wrap { max-width: 780px; margin-bottom: 42px; }
.article-wrap h1 { font-family: var(--display); font-size: clamp(26px, 3.2vw, 38px); line-height: 1.16; margin-bottom: 14px; }
.article-lead { font-size: 17px; color: var(--gold-bright); margin-bottom: 22px; }
.article-body p { color: #d5cde8; margin-bottom: 16px; font-size: 15.5px; }
.empty-msg { padding: 32px; border-radius: 16px; background: var(--surface); color: var(--muted); text-align: center; }

/* Pagination */
.pagination { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 28px; }
.page-info { font-size: 13.5px; color: var(--muted); font-weight: 600; }
.page-disabled { font-size: 13.5px; color: var(--subtle); padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line); opacity: 0.5; }

/* 18+ Age Gate */
.age-gate {
  position: fixed; inset: 0; z-index: 100;
  display: grid; place-items: center; padding: 20px;
  background: rgba(6, 4, 12, 0.92); backdrop-filter: blur(16px);
}
.age-gate[hidden] { display: none; }
.age-gate-card {
  width: 100%; max-width: 440px; padding: 32px 28px; border-radius: 22px;
  background: var(--surface); border: 1px solid var(--line-strong);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.8); text-align: center;
}
.age-gate-card h2 { font-family: var(--display); font-size: 26px; margin-bottom: 10px; }
.age-gate-card p { font-size: 14px; color: var(--muted); margin-bottom: 22px; }
.age-gate-actions { display: flex; flex-direction: column; gap: 10px; }

/* Footer */
.site-footer { margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 32px; margin-bottom: 26px; }
.footer-brand p { margin-top: 10px; font-size: 13.5px; color: var(--muted); max-width: 400px; }
.site-footer h4 { font-family: var(--display); font-size: 14px; margin-bottom: 10px; color: var(--ink); }
.site-footer ul { list-style: none; display: flex; flex-direction: column; gap: 7px; font-size: 13.5px; color: var(--muted); }
.site-footer li a:hover { color: var(--gold-bright); }
.footer-bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  padding-top: 18px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--subtle);
}
.footer-bottom a { color: var(--gold-bright); }

/* Mobile Search Toggle & Drawer */
.mobile-search-toggle { display: none; }
.mobile-search-bar { display: none; }

/* Mobile Bottom Tabbar */
.mobile-tabbar { display: none; }

/* Responsive */
@media (max-width: 1180px) {
  .card-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .rank-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .site-header { padding: 0 14px; gap: 8px; height: 60px; }
  .sidebar-toggle { display: none; }
  .brand-name { font-size: 16px; }
  .mobile-search-toggle {
    display: grid; place-items: center;
    width: 34px; height: 34px; border-radius: 999px;
    background: var(--surface); border: 1px solid var(--line); color: var(--ink);
  }
  .mobile-search-bar {
    position: sticky; top: 60px; z-index: 39;
    display: flex; align-items: center; gap: 8px;
    padding: 10px 14px;
    background: rgba(15, 6, 13, 0.96); backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line-strong);
  }
  .mobile-search-bar[hidden] { display: none; }
  .mobile-search-bar svg { color: var(--rose); flex-shrink: 0; }
  .mobile-search-bar input {
    flex: 1; background: var(--surface-2); border: 1px solid var(--line);
    border-radius: 999px; padding: 8px 14px; color: var(--ink); font-size: 14px; outline: none;
  }
  .mobile-search-go {
    padding: 8px 14px; border-radius: 999px; font-size: 13px; font-weight: 700;
    background: linear-gradient(90deg, #ff1e7a, #ff5ca8); color: #fff;
  }
  .btn-unlock-sm { white-space: nowrap; padding: 0 11px; font-size: 12px; height: 34px; }
  .lang-btn { padding: 0 10px; height: 34px; font-size: 12px; }
  .site-sidebar { display: none; }
  .main-content { padding: 14px 14px 92px; overflow-x: clip; }
  .hero-slide { grid-template-columns: 1fr; padding: 24px 18px 42px; }
  .hero-poster { display: none; }
  .editorial-banner, .unlock-banner { flex-direction: column; align-items: flex-start; padding: 18px; }

  /* TikTok / ReelShort Edge-to-Edge Immersive Mobile Watch Stage */
  body.cinema-mode .breadcrumb { margin-bottom: 10px; font-size: 12px; }
  .watch-stage {
    grid-template-columns: 1fr; gap: 18px;
    margin: 0 -14px 22px; padding: 0 0 20px;
    border-radius: 0; border-left: none; border-right: none;
    background: transparent; border-top: none; border-bottom: 1px solid var(--line);
  }
  .player-col { width: 100%; }
  .player-frame {
    max-width: 100%; width: 100%; border-radius: 0; border: none;
    aspect-ratio: 9/15; max-height: 76vh;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.7);
  }
  .info-col { padding: 0 14px; }
  .ep-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .ep-card { padding: 10px 8px; border-radius: 12px; }
  .ep-num { font-size: 13px; }
  .ep-status { font-size: 9.5px; letter-spacing: 0.04em; }

  .story-details-grid, .guide-grid, .footer-grid { grid-template-columns: 1fr; }
  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .rank-row { grid-template-columns: 1fr; }
  .header-search { display: none; }
  .mobile-tabbar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
    height: 64px; display: grid; grid-template-columns: repeat(5, 1fr);
    background: rgba(16, 6, 14, 0.95); backdrop-filter: blur(18px);
    border-top: 1px solid var(--line-strong);
  }
  .mobile-tabbar a {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
    font-size: 11px; color: var(--muted); font-weight: 600;
  }
  .mobile-tabbar a.active { color: var(--rose); }
  .mobile-tabbar a.tab-unlock { color: var(--gold-bright); }
}
@media (max-width: 440px) {
  .btn-unlock-sm { display: none; }
}
