@charset "UTF-8";

:root {
  color-scheme: dark;
  --bg: #0a0a0d;
  --bg-deep: #050507;
  --surface: #141419;
  --surface-2: #1c1c22;
  --surface-3: #25252c;
  --text: #f8f8fa;
  --muted: #a3a3ae;
  --muted-2: #70707c;
  --line: rgba(255,255,255,.1);
  --line-strong: rgba(255,255,255,.18);
  --accent: #ff315c;
  --accent-strong: #ec1749;
  --accent-soft: rgba(255,49,92,.16);
  --cream: #fff3e8;
  --success: #55d69e;
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --top-safe: env(safe-area-inset-top, 0px);
  --bottom-safe: env(safe-area-inset-bottom, 0px);
  --demo-h: 25px;
  --topbar-h: 58px;
  --bottom-h: 66px;
  --shadow-sheet: 0 -20px 80px rgba(0,0,0,.58);
}

* { box-sizing: border-box; }
html { background: var(--bg); scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  min-height: 100dvh;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.has-overlay { overflow: hidden; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
a { color: inherit; }
img, video { display: block; max-width: 100%; }
button { border: 0; padding: 0; background: none; cursor: pointer; }
[hidden] { display: none !important; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; z-index: 500; top: 8px; left: 8px;
  transform: translateY(-150%);
  padding: 10px 14px; border-radius: 8px;
  background: var(--text); color: var(--bg); font-weight: 800;
}
.skip-link:focus { transform: translateY(0); }

.demo-ribbon {
  position: fixed; z-index: 80; inset: 0 0 auto;
  height: calc(var(--demo-h) + var(--top-safe));
  padding-top: var(--top-safe);
  display: flex; align-items: center; justify-content: center; gap: 7px;
  background: #17171c;
  border-bottom: 1px solid rgba(255,255,255,.07);
  color: #d6d6dc;
  font-size: 9px; font-weight: 800; letter-spacing: .13em;
  text-transform: uppercase;
}
.demo-ribbon span { width: 6px; height: 6px; border-radius: 50%; background: var(--success); box-shadow: 0 0 10px rgba(85,214,158,.5); }

.app-shell { min-height: 100dvh; }
.topbar {
  position: fixed; z-index: 70;
  top: calc(var(--demo-h) + var(--top-safe)); left: 0; right: 0;
  height: var(--topbar-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 16px;
  background: rgba(10,10,13,.94);
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; }
.brand-mark {
  display: grid; place-items: center;
  width: 32px; height: 32px; border-radius: 10px;
  background: var(--accent); color: white;
  font-size: 11px; font-weight: 950; letter-spacing: -.06em;
  box-shadow: inset 0 0 0 6px #111116;
}
.brand-word { font-size: 19px; font-weight: 850; letter-spacing: -.055em; }
.brand-word span { color: var(--accent); }
.desktop-nav { display: none; }
.topbar-actions { display: flex; align-items: center; gap: 7px; }
.icon-button {
  display: grid; place-items: center;
  width: 44px; height: 44px;
  border-radius: 50%; color: var(--text);
}
.icon-button:hover { background: var(--surface-2); }
.icon-button svg { width: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.coin-pill {
  min-height: 38px; display: flex; align-items: center; gap: 6px;
  padding: 4px 10px 4px 5px;
  border: 1px solid var(--line-strong); border-radius: 999px;
  background: var(--surface); font-size: 13px;
}
.coin {
  display: inline-grid; place-items: center;
  width: 26px; height: 26px; border-radius: 50%;
  background: #ffbc35; color: #4b2d00;
  box-shadow: inset 0 0 0 3px rgba(255,255,255,.28);
  font-style: normal; font-size: 11px; font-weight: 950;
}

#app-main { padding-top: calc(var(--demo-h) + var(--top-safe) + var(--topbar-h)); padding-bottom: calc(var(--bottom-h) + var(--bottom-safe)); }
.view { min-height: calc(100dvh - var(--demo-h) - var(--topbar-h) - var(--bottom-h) - var(--top-safe) - var(--bottom-safe)); }

.hero {
  position: relative; min-height: 600px; height: 70dvh; max-height: 720px;
  overflow: hidden; background: var(--bg-deep);
}
.hero-media { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.hero-scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(5,5,7,.05) 20%, rgba(5,5,7,.18) 43%, rgba(5,5,7,.94) 96%),
    linear-gradient(90deg, rgba(5,5,7,.38), transparent 72%);
}
.hero-copy { position: absolute; z-index: 2; left: 20px; right: 20px; bottom: 44px; max-width: 540px; }
.eyebrow, .section-kicker {
  display: block; color: var(--accent);
  font-size: 10px; line-height: 1.2; font-weight: 850; letter-spacing: .13em; text-transform: uppercase;
}
.hero h2 { margin: 8px 0 10px; max-width: 11ch; font-size: clamp(42px, 14vw, 66px); line-height: .88; letter-spacing: -.075em; text-wrap: balance; }
.hero-copy > p { max-width: 37ch; margin: 0; color: #e0e0e4; font-size: 14px; line-height: 1.5; text-wrap: pretty; }
.meta-line { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 14px; }
.meta-line span { color: #dedee3; font-size: 11px; font-weight: 650; }
.meta-line span + span::before { content: "·"; margin-right: 7px; color: var(--muted-2); }
.hero-actions { display: flex; gap: 10px; margin-top: 21px; }
.button {
  min-height: 46px; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 0 18px; border: 1px solid transparent; border-radius: 12px;
  font-size: 13px; font-weight: 800; text-decoration: none;
  transition: transform .16s ease, background .16s ease, border-color .16s ease;
}
.button:active { transform: scale(.975); }
.button svg { width: 18px; height: 18px; fill: currentColor; }
.button-primary { background: var(--accent); color: white; }
.button-primary:hover { background: #ff4770; }
.button-quiet { background: rgba(20,20,25,.72); border-color: rgba(255,255,255,.16); color: white; }
.button-outline { border-color: var(--line-strong); background: transparent; }
.button-light { background: white; color: #111116; }
.button-full { width: 100%; }
.hero-pagination { position: absolute; z-index: 2; left: 20px; bottom: 18px; display: flex; gap: 5px; }
.hero-pagination i { width: 18px; height: 3px; border-radius: 99px; background: rgba(255,255,255,.3); }
.hero-pagination .is-active { width: 34px; background: var(--accent); }

.content-stack { position: relative; z-index: 3; margin-top: -1px; padding: 12px 16px 54px; background: var(--bg); }
.content-section { padding: 24px 0 8px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 15px; }
.section-heading h2, .page-heading h1 { margin: 4px 0 0; font-size: 25px; line-height: 1.05; letter-spacing: -.045em; }
.text-button { min-height: 44px; padding: 0 2px; color: var(--muted); font-size: 12px; font-weight: 700; }
.text-button:hover { color: white; }
.continue-card {
  width: 100%; min-height: 98px; display: grid; grid-template-columns: 72px 1fr 40px; align-items: center; gap: 13px;
  padding: 9px; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--surface); text-align: left;
}
.continue-card img { width: 72px; height: 80px; border-radius: 10px; object-fit: cover; }
.continue-copy { min-width: 0; display: flex; flex-direction: column; gap: 5px; }
.continue-copy strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; }
.continue-copy small { color: var(--muted); font-size: 11px; }
.progress { width: 100%; height: 3px; margin-top: 5px; overflow: hidden; border: 0; border-radius: 9px; background: rgba(255,255,255,.12); appearance: none; }
.progress::-webkit-progress-bar { background: rgba(255,255,255,.12); }
.progress::-webkit-progress-value { background: var(--accent); }
.progress::-moz-progress-bar { background: var(--accent); }
.continue-play { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: white; color: #111; font-size: 11px; }

.ranking-list { display: grid; gap: 8px; }
.ranking-card {
  width: 100%; min-height: 88px; display: grid; grid-template-columns: 35px 54px 1fr 18px; align-items: center; gap: 11px;
  padding: 8px 10px 8px 3px; border-bottom: 1px solid var(--line); text-align: left;
}
.ranking-card:hover { background: rgba(255,255,255,.025); }
.ranking-card .rank { color: white; font-size: 35px; line-height: 1; font-weight: 900; letter-spacing: -.08em; text-align: center; }
.ranking-card:nth-child(n+4) .rank { color: #777782; }
.ranking-card img { width: 54px; height: 72px; border-radius: 8px; object-fit: cover; }
.ranking-card > span:not(.rank) { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.ranking-card strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; }
.ranking-card small { color: var(--muted); font-size: 10px; }
.ranking-card em { color: #ffb24a; font-size: 10px; font-style: normal; font-weight: 700; }
.ranking-card b { color: var(--muted-2); font-size: 24px; font-weight: 300; }
.ranking-card-desktop { display: none; }

.discover-banner {
  position: relative; min-height: 330px; margin: 30px 0 12px; overflow: hidden;
  display: flex; align-items: end; border-radius: var(--radius-lg); background: #15151a;
}
.discover-banner video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 56%; }
.discover-banner-scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5,5,7,.06), rgba(5,5,7,.96)); }
.discover-banner > div:last-child { position: relative; z-index: 2; padding: 26px 22px; }
.discover-banner h2 { margin: 7px 0; max-width: 10ch; font-size: 31px; line-height: .95; letter-spacing: -.055em; }
.discover-banner p { max-width: 38ch; margin: 0 0 17px; color: #d8d8de; font-size: 13px; line-height: 1.45; }

.poster-rail { display: grid; grid-auto-flow: column; grid-auto-columns: 42%; gap: 11px; overflow-x: auto; padding: 2px 1px 14px; scrollbar-width: none; scroll-snap-type: x proximity; }
.poster-rail::-webkit-scrollbar { display: none; }
.poster-card { min-width: 0; text-align: left; scroll-snap-align: start; }
.poster-card > span { position: relative; display: block; overflow: hidden; aspect-ratio: 2/3; border-radius: 12px; background: var(--surface); }
.poster-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.poster-card:hover img { transform: scale(1.025); }
.poster-card i { position: absolute; left: 7px; bottom: 7px; padding: 4px 6px; border-radius: 6px; background: rgba(5,5,7,.8); color: white; font-size: 9px; font-style: normal; font-weight: 750; }
.poster-card strong { display: block; margin-top: 8px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; }
.poster-card small { display: block; margin-top: 3px; overflow: hidden; color: var(--muted); font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }

.bottom-nav {
  position: fixed; z-index: 75; inset: auto 0 0;
  height: calc(var(--bottom-h) + var(--bottom-safe)); padding: 5px 8px var(--bottom-safe);
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: rgba(10,10,13,.97); border-top: 1px solid var(--line);
}
.bottom-nav button { min-width: 0; min-height: 54px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; color: var(--muted-2); }
.bottom-nav svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.bottom-nav span { font-size: 9px; font-weight: 750; }
.bottom-nav button.is-active { color: var(--accent); }

.view-discover { background: #000; }
.feed-topline {
  position: absolute; z-index: 12; top: calc(var(--demo-h) + var(--top-safe) + var(--topbar-h) + 12px); left: 0; right: 0;
  pointer-events: none; display: flex; align-items: center; justify-content: center; gap: 14px;
  text-shadow: 0 2px 12px #000;
}
.feed-topline strong { font-size: 16px; }
.feed-topline span { position: relative; font-size: 13px; font-weight: 750; }
.feed-topline span::after { content: ""; position: absolute; left: 50%; bottom: -7px; width: 22px; height: 2px; transform: translateX(-50%); background: var(--accent); border-radius: 5px; }
.feed-topline small { display: none; }
.vertical-feed {
  height: calc(100dvh - var(--demo-h) - var(--top-safe) - var(--topbar-h) - var(--bottom-h) - var(--bottom-safe));
  overflow-y: auto; overscroll-behavior-y: contain;
  scroll-snap-type: y mandatory; scrollbar-width: none; background: #000;
}
.vertical-feed::-webkit-scrollbar { display: none; }
.feed-card { position: relative; height: 100%; min-height: 100%; overflow: hidden; scroll-snap-align: start; scroll-snap-stop: always; background: #050507; }
.feed-card > video { width: 100%; height: 100%; object-fit: cover; }
.video-tap { position: absolute; z-index: 2; inset: 0; width: 100%; height: 100%; cursor: pointer; }
.feed-gradient { position: absolute; z-index: 3; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(0,0,0,.22) 0%, transparent 30%, transparent 48%, rgba(0,0,0,.9) 100%); }
.feed-copy { position: absolute; z-index: 5; left: 17px; right: 78px; bottom: 20px; text-shadow: 0 2px 15px rgba(0,0,0,.75); }
.feed-copy h2 { margin: 7px 0 8px; font-size: 28px; line-height: .96; letter-spacing: -.052em; }
.feed-copy p { max-width: 38ch; margin: 0 0 14px; color: #f0f0f2; font-size: 12px; line-height: 1.4; text-wrap: pretty; }
.feed-cta { min-height: 44px; width: 100%; max-width: 250px; box-shadow: 0 8px 25px rgba(236,23,73,.25); }
.feed-actions { position: absolute; z-index: 6; right: 8px; bottom: 21px; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.feed-actions button { width: 58px; min-height: 54px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; text-shadow: 0 2px 10px #000; }
.feed-actions button > span { display: grid; place-items: center; width: 39px; height: 39px; border-radius: 50%; background: rgba(12,12,16,.56); border: 1px solid rgba(255,255,255,.22); font-size: 23px; font-weight: 350; }
.feed-actions button.is-active > span { background: var(--accent); border-color: var(--accent); }
.feed-actions small { color: white; font-size: 8px; font-weight: 700; }
.feed-card.is-paused::after { content: "▶"; position: absolute; z-index: 7; left: 50%; top: 50%; width: 60px; height: 60px; display: grid; place-items: center; transform: translate(-50%,-50%); border-radius: 50%; background: rgba(0,0,0,.62); color: white; font-size: 20px; pointer-events: none; }

.page-heading { padding: 38px 18px 12px; }
.page-heading h1 { font-size: 38px; }
.page-heading p { max-width: 42ch; margin: 10px 0 0; color: var(--muted); font-size: 13px; line-height: 1.5; }
.segmented { margin: 12px 16px 18px; padding: 4px; display: grid; grid-template-columns: repeat(3,1fr); border-radius: 12px; background: var(--surface); }
.segmented button { min-height: 42px; padding: 0 8px; border-radius: 9px; color: var(--muted); font-size: 11px; font-weight: 750; }
.segmented button.is-active { background: var(--surface-3); color: white; box-shadow: 0 2px 8px rgba(0,0,0,.25); }
.library-content { padding: 0 16px 50px; }
.library-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 17px 11px; }
.library-empty { min-height: 350px; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; }
.library-empty span { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; background: var(--surface); color: var(--accent); font-size: 25px; }
.library-empty h2 { margin: 16px 0 7px; font-size: 20px; letter-spacing: -.03em; }
.library-empty p { max-width: 28ch; margin: 0 0 17px; color: var(--muted); font-size: 12px; line-height: 1.5; }

.view-profile { padding-bottom: 30px; }
.profile-heading { padding-bottom: 20px; }
.profile-card, .wallet-card, .vip-card, .settings-list { margin: 0 16px 14px; }
.profile-card { display: grid; grid-template-columns: 52px 1fr auto; align-items: center; gap: 12px; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.avatar { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--accent); font-size: 14px; font-weight: 950; box-shadow: inset 0 0 0 7px #17171d; }
.profile-card > div:nth-child(2) { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.profile-card strong { font-size: 15px; }
.profile-card small { color: var(--muted); font-size: 10px; line-height: 1.35; }
.profile-card .button { min-height: 38px; padding: 0 12px; font-size: 11px; }
.wallet-card { padding: 20px; display: flex; align-items: center; justify-content: space-between; gap: 14px; border-radius: var(--radius-lg); background: var(--cream); color: #17171c; }
.wallet-card > div { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 5px; }
.wallet-card > div > span { color: #6f6060; font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.wallet-card strong { display: flex; align-items: center; gap: 7px; font-size: 31px; line-height: 1; }
.wallet-card small { color: #746767; font-size: 9px; }
.wallet-card .button { flex: 0 0 auto; min-height: 42px; padding: 0 13px; font-size: 11px; }
.vip-card { position: relative; overflow: hidden; padding: 26px 22px; border-radius: var(--radius-lg); background: var(--accent); }
.vip-card::after { content: "DV"; position: absolute; right: -5px; bottom: -36px; color: rgba(0,0,0,.12); font-size: 118px; font-weight: 950; letter-spacing: -.12em; }
.vip-card > * { position: relative; z-index: 1; }
.vip-card .eyebrow { color: white; opacity: .8; }
.vip-card h2 { max-width: 13ch; margin: 9px 0; font-size: 29px; line-height: .94; letter-spacing: -.05em; }
.vip-card p { max-width: 42ch; margin: 0 0 18px; color: rgba(255,255,255,.84); font-size: 12px; line-height: 1.45; }
.settings-list { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.settings-list button, .settings-list a { width: 100%; min-height: 55px; padding: 0 16px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); text-align: left; text-decoration: none; }
.settings-list > *:last-child { border-bottom: 0; }
.settings-list span { font-size: 12px; font-weight: 680; }
.settings-list small { color: var(--muted); font-size: 10px; }
.demo-disclaimer { margin: 18px 24px 0; color: var(--muted-2); font-size: 9px; line-height: 1.5; text-align: center; }

.player-overlay { position: fixed; z-index: 150; inset: 0; background: #000; }
.player-header { position: absolute; z-index: 25; top: 0; left: 0; right: 0; height: calc(64px + var(--top-safe)); padding: var(--top-safe) 10px 0; display: grid; grid-template-columns: 48px 1fr 48px; align-items: center; background: linear-gradient(180deg, rgba(0,0,0,.72), transparent); pointer-events: none; }
.player-header button { width: 44px; height: 44px; display: grid; place-items: center; pointer-events: auto; color: white; font-size: 31px; text-shadow: 0 2px 10px #000; }
.player-header > div { min-width: 0; text-align: center; text-shadow: 0 2px 10px #000; }
.player-header strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; }
.player-header small { color: #d2d2d8; font-size: 9px; }
.series-feed { height: 100dvh; }
.series-feed .feed-copy { bottom: calc(24px + var(--bottom-safe)); }
.episode-label { display: inline-flex; padding: 5px 8px; margin-bottom: 8px; border-radius: 7px; background: rgba(0,0,0,.58); color: white; font-size: 10px; font-weight: 750; }
.episode-progress { position: absolute; z-index: 8; left: 0; right: 0; bottom: 0; width: 100%; height: 3px; border: 0; background: rgba(255,255,255,.18); appearance: none; }
.episode-progress::-webkit-progress-bar { background: rgba(255,255,255,.18); }
.episode-progress::-webkit-progress-value { background: var(--accent); }
.episode-progress::-moz-progress-bar { background: var(--accent); }
.locked-episode { position: relative; isolation: isolate; overflow: hidden; display: grid; place-items: center; height: 100%; padding: 24px; }
.locked-bg { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.locked-episode::before { content: ""; position: absolute; z-index: -1; inset: 0; background: rgba(4,4,6,.72); backdrop-filter: blur(12px); }
.paywall-card { position: relative; z-index: 4; width: min(100%,360px); padding: 26px 20px; border: 1px solid rgba(255,255,255,.17); border-radius: 22px; background: rgba(18,18,23,.92); text-align: center; }
.paywall-card .lock { display: grid; place-items: center; width: 48px; height: 48px; margin: 0 auto 14px; border-radius: 15px; background: var(--accent-soft); color: var(--accent); font-size: 22px; }
.paywall-card h2 { margin: 0 0 7px; font-size: 24px; letter-spacing: -.04em; }
.paywall-card p { margin: 0 0 18px; color: var(--muted); font-size: 12px; line-height: 1.45; }
.paywall-price { display: flex; align-items: center; justify-content: center; gap: 7px; margin-bottom: 12px; font-size: 14px; font-weight: 800; }
.paywall-card .button { width: 100%; }
.paywall-card small { display: block; margin-top: 10px; color: var(--muted-2); font-size: 9px; }

.sheet { position: fixed; z-index: 210; inset: 0; display: flex; align-items: end; }
.sheet-backdrop { position: absolute; inset: 0; width: 100%; height: 100%; background: rgba(0,0,0,.72); }
.sheet-panel { position: relative; z-index: 1; width: 100%; max-height: 90dvh; overflow-y: auto; padding: 9px 18px calc(24px + var(--bottom-safe)); border: 1px solid rgba(255,255,255,.1); border-bottom: 0; border-radius: 24px 24px 0 0; background: #15151a; box-shadow: var(--shadow-sheet); animation: sheet-up .22s ease-out; }
.sheet-handle { width: 38px; height: 4px; margin: 2px auto 15px; border-radius: 10px; background: #4c4c56; }
.sheet-close { position: absolute; z-index: 3; right: 15px; top: 15px; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: rgba(0,0,0,.5); font-size: 24px; }
.sheet-hero { display: grid; grid-template-columns: 112px 1fr; gap: 16px; align-items: end; margin-bottom: 19px; }
.sheet-hero img { width: 112px; aspect-ratio: 2/3; border-radius: 14px; object-fit: cover; }
.sheet-hero h2 { margin: 5px 0 7px; font-size: 28px; line-height: .95; letter-spacing: -.055em; }
.sheet-hero p { margin: 0; color: var(--muted); font-size: 10px; }
.sheet-synopsis { margin: 0 0 17px; color: #d7d7dc; font-size: 12px; line-height: 1.55; }
.sheet-actions { display: grid; grid-template-columns: 1fr 52px; gap: 9px; }
.sheet-actions .button { width: 100%; }
.sheet-save { min-height: 48px; display: grid; place-items: center; border: 1px solid var(--line-strong); border-radius: 12px; font-size: 24px; }
.sheet-save.is-active { background: var(--accent-soft); border-color: var(--accent); color: var(--accent); }

.search-sheet { align-items: stretch; }
.search-sheet .sheet-panel { max-height: none; height: 100%; padding-top: calc(14px + var(--top-safe)); border: 0; border-radius: 0; animation: none; }
.search-header { display: grid; grid-template-columns: 44px 1fr; align-items: center; gap: 6px; }
.search-header > button { width: 44px; height: 44px; color: white; font-size: 31px; }
.search-header input { width: 100%; height: 47px; padding: 0 15px; border: 1px solid var(--line); border-radius: 13px; outline: 0; background: var(--surface-2); color: white; font-size: 14px; }
.search-header input:focus { border-color: var(--accent); }
.search-results { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 17px 11px; padding: 24px 0; }
.search-empty { grid-column: 1/-1; padding: 80px 20px; color: var(--muted); text-align: center; font-size: 13px; }

.episode-panel h2 { margin: 4px 0 18px; font-size: 24px; letter-spacing: -.04em; }
.episode-grid { display: grid; grid-template-columns: repeat(5,1fr); gap: 8px; }
.episode-grid button { aspect-ratio: 1; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 10px; background: var(--surface-2); font-size: 11px; font-weight: 750; }
.episode-grid button.is-seen { color: var(--muted-2); }
.episode-grid button.is-current { border-color: var(--accent); background: var(--accent); color: white; }
.episode-grid button.is-locked { color: var(--muted); }

.demo-panel { text-align: center; }
.demo-icon { display: grid; place-items: center; width: 58px; height: 58px; margin: 3px auto 16px; border-radius: 18px; background: var(--accent); box-shadow: inset 0 0 0 8px #211218; font-size: 14px; font-weight: 950; }
.demo-panel h2 { margin: 0 0 8px; font-size: 25px; letter-spacing: -.045em; }
.demo-panel p { max-width: 39ch; margin: 0 auto 19px; color: var(--muted); font-size: 12px; line-height: 1.55; }
#demo-sheet-actions { display: grid; gap: 9px; margin-bottom: 9px; }

.toast { position: fixed; z-index: 300; left: 50%; bottom: calc(var(--bottom-h) + var(--bottom-safe) + 14px); max-width: calc(100vw - 32px); padding: 11px 15px; border: 1px solid var(--line-strong); border-radius: 11px; background: #24242b; color: white; box-shadow: 0 12px 35px rgba(0,0,0,.35); font-size: 11px; font-weight: 700; text-align: center; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; transition: .2s ease; }
.toast.is-visible { transform: translate(-50%,0); opacity: 1; }
.media-credit { padding: 0 16px calc(var(--bottom-h) + var(--bottom-safe) + 18px); color: var(--muted-2); background: var(--bg); font-size: 9px; text-align: center; }
.media-credit a { color: var(--muted); }

.credits-page { background: #0a0a0d; }
.credits-wrap { width: min(100% - 32px, 820px); margin: 0 auto; padding: calc(34px + var(--top-safe)) 0 60px; }
.credits-back { display: inline-flex; min-height: 44px; align-items: center; margin-bottom: 28px; color: var(--muted); font-size: 12px; text-decoration: none; }
.credits-wrap h1 { margin: 6px 0 12px; font-size: clamp(42px,9vw,72px); line-height: .9; letter-spacing: -.065em; }
.credits-wrap > p { max-width: 64ch; color: var(--muted); font-size: 14px; line-height: 1.6; }
.credits-list { display: grid; gap: 12px; margin: 32px 0; }
.credits-list article { display: grid; grid-template-columns: 82px 1fr; gap: 16px; align-items: center; padding: 12px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.credits-list img { width: 82px; aspect-ratio: 2/3; border-radius: 10px; object-fit: cover; }
.credits-list h2 { margin: 0 0 5px; font-size: 15px; }
.credits-list p { margin: 0 0 7px; color: var(--muted); font-size: 10px; line-height: 1.45; }
.credits-list a { color: var(--accent); font-size: 10px; font-weight: 750; }

@keyframes sheet-up { from { transform: translateY(32px); opacity: .65; } to { transform: translateY(0); opacity: 1; } }

@media (min-width: 600px) {
  .content-stack { padding-left: 24px; padding-right: 24px; }
  .poster-rail { grid-auto-columns: 28%; }
  .library-grid, .search-results { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .profile-card, .wallet-card, .vip-card, .settings-list { margin-left: 24px; margin-right: 24px; }
}

@media (min-width: 900px) {
  :root { --topbar-h: 70px; --bottom-h: 0px; }
  .topbar { padding: 0 34px; }
  .brand-mark { width: 38px; height: 38px; border-radius: 12px; }
  .brand-word { font-size: 22px; }
  .desktop-nav { display: flex; align-self: stretch; gap: 5px; margin-left: 32px; margin-right: auto; }
  .desktop-nav-item { position: relative; min-width: 94px; padding: 0 14px; color: var(--muted); font-size: 12px; font-weight: 720; }
  .desktop-nav-item.is-active { color: white; }
  .desktop-nav-item.is-active::after { content: ""; position: absolute; left: 20px; right: 20px; bottom: 0; height: 2px; background: var(--accent); }
  .bottom-nav { display: none; }
  #app-main { padding-bottom: 0; }
  .hero { min-height: 590px; height: calc(100dvh - var(--demo-h) - var(--topbar-h) - var(--top-safe)); max-height: 760px; }
  .hero-media { object-position: center 33%; }
  .hero-scrim { background: linear-gradient(90deg, rgba(5,5,7,.94) 0%, rgba(5,5,7,.58) 35%, rgba(5,5,7,.08) 72%), linear-gradient(180deg, transparent 55%, rgba(5,5,7,.92)); }
  .hero-copy { left: max(5vw,50px); bottom: 82px; max-width: 610px; }
  .hero h2 { font-size: clamp(62px,7vw,104px); max-width: 9ch; }
  .hero-copy > p { font-size: 16px; }
  .hero-pagination { left: max(5vw,50px); bottom: 42px; }
  .content-stack { width: min(100%,1320px); margin-left: auto; margin-right: auto; padding: 34px 40px 80px; }
  .continue-section { max-width: 580px; }
  .ranking-list { grid-template-columns: repeat(2,minmax(0,1fr)); column-gap: 36px; }
  .ranking-card-desktop { display: grid; }
  .discover-banner { min-height: 440px; }
  .discover-banner > div:last-child { padding: 42px; }
  .discover-banner h2 { font-size: 48px; }
  .poster-rail { grid-auto-columns: 18%; gap: 15px; }
  .view-discover { min-height: calc(100dvh - var(--demo-h) - var(--topbar-h) - var(--top-safe)); display: grid; place-items: start center; background: radial-gradient(circle at 50% 35%, #24242b, #0a0a0d 62%); }
  .view-discover[hidden] { display: none; }
  .vertical-feed { width: min(100%,460px); height: calc(100dvh - var(--demo-h) - var(--topbar-h) - var(--top-safe)); border-left: 1px solid var(--line); border-right: 1px solid var(--line); box-shadow: 0 0 80px rgba(0,0,0,.5); }
  .feed-topline { top: calc(var(--demo-h) + var(--top-safe) + var(--topbar-h) + 14px); }
  .feed-topline small { display: inline; margin-left: 120px; color: var(--muted); font-size: 9px; font-weight: 700; }
  .page-heading, .segmented, .library-content, .view-profile > * { width: min(calc(100% - 48px),1000px); margin-left: auto; margin-right: auto; }
  .page-heading { padding-top: 65px; }
  .library-grid { grid-template-columns: repeat(5,minmax(0,1fr)); }
  .view-profile { padding-bottom: 80px; }
  .profile-card { margin-top: 0; }
  .wallet-card, .vip-card { min-height: 210px; }
  .sheet { align-items: center; justify-content: center; padding: 24px; }
  .sheet-panel { width: min(100%,560px); max-height: min(86dvh,760px); border: 1px solid var(--line); border-radius: 24px; }
  .search-sheet { align-items: stretch; padding: 0; }
  .search-sheet .sheet-panel { width: 100%; max-height: none; border-radius: 0; }
  .search-results { width: min(100%,980px); margin: 0 auto; grid-template-columns: repeat(5,minmax(0,1fr)); }
  .player-overlay { display: grid; place-items: center; background: radial-gradient(circle at 50% 35%, #24242b, #050507 65%); }
  .player-overlay .series-feed { width: 460px; height: 100dvh; border-left: 1px solid var(--line); border-right: 1px solid var(--line); }
  .player-header { width: 460px; left: 50%; right: auto; transform: translateX(-50%); }
  .media-credit { padding-bottom: 26px; }
  .toast { bottom: 26px; }
}

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