:root {
  --bg: #080808;
  --surface: #151515;
  --surface-2: #1d1d1d;
  --surface-3: #242424;
  --border: #2a2a2a;
  --border-strong: #404040;
  --text: #f5f5f5;
  --muted: #a3a3a3;
  --accent: #f23d64;
  --accent-hover: #ff5275;
  --accent-warm: #ff6a4d;
  --focus: #ff9ab0;
  --success: #56c596;
  --warning: #e8ae54;
  --danger: #ff6b78;
  --font: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --content: 1280px;
  --radius-sm: 8px;
  --radius: 12px;
  --shadow: 0 18px 50px rgb(0 0 0 / 35%);
}

* { box-sizing: border-box; }
html { min-width: 320px; color: var(--text); background: var(--bg); font-family: var(--font); scroll-behavior: smooth; }
body { min-height: 100vh; margin: 0; color: var(--text); background: var(--bg); font-size: 16px; line-height: 1.5; text-rendering: optimizeLegibility; }
::selection { color: white; background: var(--accent); }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, .button, input, select { min-height: 44px; }
button { padding: .58rem .9rem; border: 1px solid var(--border-strong); border-radius: var(--radius-sm); color: var(--text); background: var(--surface-2); cursor: pointer; font-weight: 600; }
button:hover { border-color: #555; background: var(--surface-3); }
button:disabled, .button.disabled { opacity: .45; cursor: not-allowed; pointer-events: none; }
input, select, textarea { width: 100%; padding: .65rem .75rem; border: 1px solid var(--border-strong); border-radius: var(--radius-sm); outline: 0; color: var(--text); background: #101010; }
textarea { min-height: 92px; resize: vertical; }
input::placeholder, textarea::placeholder { color: #737373; }
input:hover, select:hover, textarea:hover { border-color: #5a5a5a; }
input:focus, select:focus, textarea:focus { border-color: var(--focus); box-shadow: 0 0 0 3px rgb(242 61 100 / 20%); }
input[type="checkbox"] { width: 18px; min-height: 18px; margin: 0; accent-color: var(--accent); }
label { display: grid; gap: .35rem; color: #c5c5c5; font-size: .875rem; font-weight: 600; }
label:has(input[type="checkbox"]) { display: flex; align-items: center; gap: .55rem; }
fieldset { min-width: 0; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { color: var(--text); line-height: 1.2; letter-spacing: -.025em; }
h1 { margin-bottom: 1rem; font-size: clamp(1.75rem, 4vw, 2rem); font-weight: 700; }
h2 { margin-bottom: .75rem; font-size: clamp(1.25rem, 3vw, 1.5rem); font-weight: 700; }
h3 { margin-bottom: .6rem; font-size: 1rem; font-weight: 700; }
p { color: var(--muted); }
table { width: 100%; border-collapse: collapse; }
th, td { padding: .75rem .85rem; border-bottom: 1px solid var(--border); text-align: left; vertical-align: middle; }
th { color: var(--muted); font-size: .78rem; font-weight: 700; }
tr:last-child td { border-bottom: 0; }
progress { overflow: hidden; border: 0; border-radius: 99px; background: #343434; }
progress::-webkit-progress-bar { background: #343434; }
progress::-webkit-progress-value, progress::-moz-progress-bar { background: var(--accent); }
code { color: #ddd; }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 10px; left: 10px; z-index: 1000; transform: translateY(-180%); padding: .6rem .9rem; border-radius: 6px; color: #111; background: white; font-weight: 700; }
.skip-link:focus { transform: translateY(0); }
.muted { color: var(--muted); }
.fine-print, .provider-notice { color: var(--muted); font-size: .8125rem; }
.text-link { color: white; text-decoration: underline; text-underline-offset: 3px; }
.text-button { color: var(--muted); background: transparent; }
.back-link { min-height: 44px; display: inline-flex; align-items: center; color: #c7c7c7; font-size: .875rem; font-weight: 600; }
.back-link:hover { color: white; }
.eyebrow, .section-kicker { margin-bottom: .35rem; color: var(--accent); font-size: .75rem; font-weight: 700; letter-spacing: .055em; text-transform: uppercase; }

.site-header { min-height: 64px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1rem; padding: .55rem max(1rem, calc((100vw - var(--content)) / 2)); position: sticky; top: 0; z-index: 40; border-bottom: 1px solid rgb(255 255 255 / 8%); background: rgb(8 8 8 / 94%); backdrop-filter: blur(16px); }
.brand { min-height: 44px; display: inline-flex; align-items: center; width: max-content; }
.brand-logo { width: 134px; height: auto; }
.desktop-nav { display: flex; align-items: center; gap: .2rem; }
.desktop-nav a, .account-link { min-height: 42px; display: inline-flex; align-items: center; padding: .48rem .72rem; border-radius: 7px; color: var(--muted); font-size: .875rem; font-weight: 600; }
.desktop-nav a:hover, .desktop-nav a.active, .account-link:hover { color: white; background: var(--surface-2); }
.desktop-nav a.active { box-shadow: inset 0 -2px var(--accent); }
.account-link { justify-self: end; }
.site-footer { width: min(var(--content), calc(100% - 2rem)); margin: 4rem auto 0; padding: 1.5rem 0 2.5rem; border-top: 1px solid var(--border); color: var(--muted); font-size: .8125rem; }
.bottom-nav { display: none; }

.button { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: .45rem; width: max-content; padding: .58rem 1rem; border: 1px solid transparent; border-radius: var(--radius-sm); cursor: pointer; font-size: .9rem; font-weight: 700; }
.button.primary { color: white; background: var(--accent); }
.button.primary:hover { color: white; background: var(--accent-hover); }
.button.secondary { border-color: var(--border-strong); color: white; background: var(--surface-2); }
.button.secondary:hover { border-color: #5c5c5c; background: var(--surface-3); }
.button.danger { color: var(--danger); border-color: rgb(255 107 120 / 45%); background: transparent; }
.button.danger:hover { color: white; border-color: var(--danger); background: #43151c; }
.action-row, .row-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.admin-edit-button { border-color: var(--border-strong); color: white; background: var(--surface-2); }
.catalog-admin-bar { width: min(var(--content), calc(100% - 2rem)); min-height: 54px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin: .75rem auto; padding: .45rem .65rem .45rem .85rem; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface); }
.catalog-admin-bar div { display: flex; align-items: center; gap: .65rem; }
.catalog-admin-bar span { color: var(--accent); font-size: .75rem; font-weight: 700; }
.catalog-admin-bar strong { color: var(--muted); font-size: .8125rem; font-weight: 500; }

.hero-stage { width: min(var(--content), calc(100% - 2rem)); height: 420px; margin: 1rem auto 2.75rem; overflow: hidden; position: relative; border-radius: var(--radius); background: var(--surface); }
.hero-stage picture, .hero-stage picture img { width: 100%; height: 100%; }
.hero-stage picture img { object-fit: cover; object-position: center 24%; }
.hero-scrim { position: absolute; inset: 0; background: linear-gradient(90deg, rgb(0 0 0 / 88%) 0, rgb(0 0 0 / 50%) 42%, transparent 74%), linear-gradient(0deg, rgb(0 0 0 / 65%), transparent 52%); }
.hero-content { width: min(500px, 52%); position: absolute; left: clamp(1.35rem, 4vw, 3.25rem); bottom: clamp(1.5rem, 5vw, 3rem); z-index: 2; }
.hero-content h1 { max-width: 14ch; margin-bottom: .65rem; font-size: clamp(2rem, 4.5vw, 3rem); text-wrap: balance; }
.hero-content > p:not(.hero-kicker) { max-width: 48ch; margin-bottom: 1.1rem; color: #d2d2d2; font-size: .9375rem; }
.hero-kicker { margin-bottom: .5rem; color: #ddd; }
.hero-kicker span { display: inline-flex; padding: .22rem .45rem; border-radius: 4px; color: white; background: var(--accent); }

.content-section, .page-shell { width: min(var(--content), calc(100% - 2rem)); margin: 0 auto 2.75rem; }
.page-shell { padding-top: 1.75rem; }
.page-shell.narrow { width: min(900px, calc(100% - 2rem)); }
.section-title { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: .8rem; }
.section-title h2 { margin: 0; font-size: 1.375rem; }
.poster-rail { display: grid; grid-auto-flow: column; grid-auto-columns: clamp(132px, 13vw, 176px); gap: .85rem; padding: .1rem .1rem .65rem; overflow-x: auto; overscroll-behavior-inline: contain; scroll-snap-type: inline proximity; scrollbar-width: thin; scrollbar-color: #404040 transparent; }
.poster-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(145px, 1fr)); gap: 1.35rem .9rem; margin-top: 1.25rem; }
.poster-card-shell { min-width: 0; position: relative; scroll-snap-align: start; }
.poster-card { min-width: 0; display: grid; align-content: start; gap: .3rem; }
.poster-frame { aspect-ratio: 2 / 3; display: block; overflow: hidden; position: relative; border-radius: 7px; background: var(--surface-2); }
.poster-frame::after { content: ""; position: absolute; inset: 0; border: 1px solid rgb(255 255 255 / 10%); border-radius: inherit; pointer-events: none; }
.poster-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 180ms ease, filter 180ms ease; }
.poster-card:hover img { transform: scale(1.025); filter: brightness(.78); }
.poster-card strong { padding-top: .2rem; overflow: hidden; color: white; font-size: .875rem; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.poster-card > span:last-child { display: -webkit-box; overflow: hidden; color: var(--muted); font-size: .75rem; line-height: 1.35; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.poster-play { width: 38px; height: 38px; display: grid; place-items: center; position: absolute; left: 50%; top: 50%; z-index: 2; border-radius: 50%; color: #111; background: white; font-size: .7rem; opacity: 0; transform: translate(-50%, -45%); transition: opacity 180ms ease, transform 180ms ease; }
.poster-card:hover .poster-play { opacity: 1; transform: translate(-50%, -50%); }
.poster-edit { min-height: 36px; display: inline-flex; align-items: center; justify-content: center; position: absolute; top: .4rem; right: .4rem; z-index: 4; padding: .35rem .55rem; border: 1px solid rgb(255 255 255 / 34%); border-radius: 6px; color: white; background: rgb(8 8 8 / 88%); font-size: .75rem; font-weight: 700; }
.poster-edit:hover { border-color: white; background: var(--accent); }
.compact-series-list { display: grid; gap: .35rem; }
.compact-series-row { position: relative; border-bottom: 1px solid var(--border); }
.compact-series-row > a:first-child { min-height: 104px; display: grid; grid-template-columns: 70px 1fr auto; align-items: center; gap: .9rem; padding: .55rem 3rem .55rem 0; }
.compact-series-row img { width: 70px; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 6px; }
.compact-series-row h3 { margin: 0 0 .2rem; font-size: .9375rem; }
.compact-series-row p { display: -webkit-box; margin: 0; overflow: hidden; font-size: .8125rem; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.compact-series-row > a:first-child > span { color: var(--muted); font-size: 1.5rem; }
.resume-rail { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: .75rem; }
.resume-card { min-width: 0; display: grid; grid-template-columns: 82px 1fr; align-items: center; gap: .75rem; padding: .55rem; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface); }
.resume-card:hover { border-color: var(--border-strong); background: var(--surface-2); }
.resume-card img { width: 82px; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 5px; }
.resume-card p { margin: 0 0 .1rem; overflow: hidden; color: var(--muted); font-size: .75rem; text-overflow: ellipsis; white-space: nowrap; }
.resume-card strong { display: block; overflow: hidden; font-size: .875rem; text-overflow: ellipsis; white-space: nowrap; }
.resume-card progress { width: 100%; height: 4px; margin-top: .7rem; }
.chip-row { display: flex; flex-wrap: wrap; gap: .45rem; }
.chip { min-height: 40px; display: inline-flex; align-items: center; padding: .45rem .75rem; border: 1px solid var(--border-strong); border-radius: 99px; color: #d0d0d0; background: var(--surface); font-size: .8125rem; font-weight: 600; }
a.chip:hover { border-color: var(--accent); color: white; }
.chip.quiet { min-height: 30px; padding: .28rem .55rem; background: rgb(0 0 0 / 32%); font-size: .75rem; }
.search-bar { display: grid; grid-template-columns: 1fr auto; gap: .5rem; }
.search-bar input { background: var(--surface); }
.search-bar button { min-width: 88px; color: #111; border-color: white; background: white; }
.home-search { padding: 1rem; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.empty-state { min-height: 180px; display: grid; place-content: center; justify-items: center; padding: 1.5rem; border: 1px dashed var(--border-strong); border-radius: var(--radius); text-align: center; }
.empty-state > span { width: 42px; height: 42px; display: grid; place-items: center; margin-bottom: .75rem; border-radius: 50%; color: #111; background: white; font-size: .7rem; }
.empty-state h2 { margin-bottom: .3rem; font-size: 1.125rem; }
.empty-state p { max-width: 42ch; margin: 0; }

.series-hero { width: min(var(--content), calc(100% - 2rem)); min-height: 520px; display: grid; grid-template-columns: minmax(230px, 340px) 1fr; align-items: center; gap: clamp(2rem, 6vw, 5rem); margin: 1rem auto 2rem; padding: clamp(1rem, 3vw, 2.25rem); border-radius: var(--radius); background: var(--surface); }
.series-hero > img { width: min(100%, 320px); aspect-ratio: 2 / 3; justify-self: end; object-fit: cover; border-radius: 8px; box-shadow: var(--shadow); }
.series-copy { max-width: 590px; }
.series-copy h1 { max-width: 16ch; font-size: clamp(2rem, 5vw, 3rem); text-wrap: balance; }
.series-description { max-width: 54ch; margin: 1rem 0 1.25rem; color: #c6c6c6; }
.episodes-shell { max-width: 1040px; padding-top: .5rem; }
.season-block { margin-bottom: 2.25rem; }
.episode-list { display: grid; gap: .25rem; }
.episode-row { display: grid; grid-template-columns: 112px 1fr auto; align-items: center; gap: .85rem; min-height: 96px; padding: .55rem 0; border-bottom: 1px solid var(--border); }
.episode-row img { width: 112px; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 6px; }
.episode-row p { margin-bottom: .15rem; font-size: .75rem; }
.episode-row h3 { margin-bottom: .15rem; font-size: .9375rem; }
.episode-row div > span { display: -webkit-box; overflow: hidden; color: var(--muted); font-size: .8125rem; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.episode-action { min-width: 86px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; border-radius: 7px; color: white; background: var(--surface-2); font-size: .8125rem; font-weight: 700; }
.episode-action:hover { background: var(--accent); }
.episode-action.disabled { color: var(--muted); opacity: .6; }

.watch-page { width: min(1100px, calc(100% - 2rem)); display: grid; grid-template-columns: minmax(300px, 460px) minmax(260px, 1fr); align-items: center; gap: clamp(2rem, 6vw, 5rem); margin: 1rem auto 3.5rem; }
.player-column { min-width: 0; }
.player-topbar, .episode-navigation { min-height: 50px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.player-topbar > span { color: var(--muted); font-size: .8125rem; font-weight: 600; }
.vertical-player { width: min(100%, 410px); aspect-ratio: 9 / 16; display: grid; place-items: center; margin: 0 auto; overflow: hidden; border-radius: 10px; background: #000; box-shadow: var(--shadow); }
.vertical-player video { width: 100%; height: 100%; object-fit: contain; background: #000; }
.player-status { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
.player-state { width: min(90%, 350px); display: grid; justify-items: center; padding: 1.25rem; text-align: center; }
.player-state .state-icon { width: 46px; height: 46px; display: grid; place-items: center; margin-bottom: .75rem; border-radius: 50%; color: white; background: var(--accent); }
.player-state h2 { font-size: 1.25rem; }
.player-state p { font-size: .875rem; }
.player-state .text-link { margin-top: .8rem; }
.episode-nav-link { min-height: 44px; display: inline-flex; align-items: center; color: #c7c7c7; font-size: .8125rem; font-weight: 600; }
.episode-nav-link.next { margin-left: auto; }
.watch-details h1 { max-width: 14ch; }
.watch-details > p:last-child { max-width: 46ch; }

.auth-shell { min-height: calc(100vh - 65px); display: grid; place-items: center; padding: 2rem 1rem 4rem; }
.auth-card, .admin-login-card { width: min(100%, 460px); padding: clamp(1.25rem, 4vw, 2rem); border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
.auth-card h1, .admin-login-card h1 { font-size: clamp(1.75rem, 6vw, 2rem); }
.auth-brand { margin-bottom: 1.5rem; }
.stack-form { display: grid; gap: .75rem; }
.divider { display: flex; align-items: center; gap: .7rem; margin: 1.1rem 0; color: #777; font-size: .75rem; }
.divider::before, .divider::after { content: ""; height: 1px; flex: 1; background: var(--border); }
.purchase-cta { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1.25rem; padding: .8rem 1rem; border: 1px solid rgb(242 61 100 / 45%); border-radius: var(--radius-sm); color: white; background: #281219; }
.purchase-cta:hover { border-color: var(--accent); background: #35151f; }
.purchase-cta span { display: grid; }
.purchase-cta small { color: #df9eac; font-size: .75rem; }
.purchase-cta strong { font-size: 1rem; }
.purchase-cta b { color: var(--accent); font-size: 1.4rem; }
.compact-login-form { gap: .5rem; }
.login-inline { display: grid; grid-template-columns: 1fr 48px; gap: .5rem; }
.login-arrow { width: 48px; display: grid; place-items: center; padding: 0; font-size: 1.25rem; }
.admin-login-shell { min-height: 100vh; display: grid; place-items: center; padding: 1rem; }
.admin-login-card > p:not(.eyebrow) { margin-bottom: 1.2rem; }
.notice { padding: .75rem .85rem; border: 1px solid var(--border-strong); border-radius: var(--radius-sm); color: #ccc; background: var(--surface); font-size: .875rem; }
.notice p { margin: .2rem 0 0; }
.notice.success { border-color: color-mix(in srgb, var(--success) 60%, var(--border-strong)); }
.notice.warning { border-color: color-mix(in srgb, var(--warning) 60%, var(--border-strong)); }
.form-message { min-height: 1.4em; margin: 0; color: var(--muted); font-size: .8125rem; }
.form-message.error { color: var(--danger); }
.form-message.success { color: var(--success); }

.checkout-shell { width: min(1020px, calc(100% - 2rem)); margin: 1.75rem auto 4rem; }
.checkout-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 1rem; margin-top: 1.1rem; }
.offer-card, .payment-card, .panel { padding: 1.25rem; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.offer-card h1 { max-width: 16ch; font-size: 2rem; }
.price { display: grid; margin: 1.5rem 0; }
.price strong { font-size: 2.25rem; line-height: 1.1; letter-spacing: -.04em; }
.price span { color: var(--muted); }
.price .old-price { margin-bottom: .15rem; text-decoration: line-through; }
.benefit-list { display: grid; gap: .6rem; padding: 0; list-style: none; }
.benefit-list li { color: #c8c8c8; }
.benefit-list span { margin-right: .5rem; color: var(--accent); font-weight: 700; }
.secure-note { margin-top: 1.5rem; font-size: .8125rem; }
.pix-payment-panel { display: grid; justify-items: center; gap: .7rem; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--border); }
.pix-payment-panel[hidden], .payment-login[hidden] { display: none !important; }
.pix-payment-panel > img { border-radius: 8px; background: white; padding: .4rem; }
.pix-payment-panel label { justify-self: stretch; }
.copy-field { width: 100%; display: grid; grid-template-columns: 1fr auto; gap: .45rem; }
.copy-field input { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .75rem; }
.steps { display: grid; gap: .45rem; padding-left: 1.3rem; color: #c8c8c8; }
.payment-status { margin: .2rem 0; color: #ccc; font-weight: 600; text-align: center; }

.profile-card { display: flex; align-items: center; gap: .85rem; padding: 1rem; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.profile-card p { margin: .15rem 0 0; }
.profile-access-card { margin-top: .75rem; padding: 1rem; border: 1px solid rgb(242 61 100 / 45%); border-radius: var(--radius); background: var(--surface); }
.profile-access-card p { margin: .3rem 0; }
.profile-access-card .button { margin-top: .65rem; }
.avatar { width: 50px; height: 50px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 50%; color: white; background: var(--accent); font-size: 1.2rem; font-weight: 700; }
.profile-links { display: grid; margin: .75rem 0; border-top: 1px solid var(--border); }
.profile-links a { min-height: 52px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--border); font-weight: 600; }

.admin-body {
  --bg: #0b0b0e;
  --surface: #15151a;
  --surface-2: #1c1c22;
  --surface-3: #25252d;
  --border: #2b2b33;
  --border-strong: #464650;
  --text: #f4f1ed;
  --muted: #aaa7b0;
  --accent: #e56571;
  --accent-hover: #f27883;
  --focus: #ffadb5;
  background: var(--bg);
  font-size: 15px;
}
.admin-body .site-header, .admin-body .site-footer { display: none; }
.admin-shell [hidden] { display: none !important; }
.admin-shell { min-height: 100vh; display: grid; grid-template-columns: 248px minmax(0, 1fr); }
.admin-sidebar { height: 100vh; display: flex; flex-direction: column; position: sticky; top: 0; padding: 1.4rem 1rem 1rem; border-right: 1px solid var(--border); background: #0d0d10; }
.admin-sidebar > div { padding: 0 .55rem; }
.admin-brand-logo { width: 126px; height: auto; margin-bottom: 1rem; }
.admin-sidebar h1 { margin-bottom: 0; font-size: 1.45rem; }
.admin-sidebar nav { display: grid; gap: 1.15rem; margin-top: 1.65rem; }
.admin-nav-group { display: grid; gap: .18rem; }
.admin-nav-group > span { padding: 0 .65rem .3rem; color: #73717a; font-size: .66rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.admin-sidebar nav a { min-height: 38px; display: flex; align-items: center; padding: .42rem .65rem; border-radius: 7px; color: var(--muted); font-size: .84rem; font-weight: 650; }
.admin-sidebar nav a:hover { color: white; background: var(--surface); }
.admin-sidebar nav a.active { color: white; background: var(--surface-2); box-shadow: inset 3px 0 var(--accent); }
.admin-catalog-link { min-height: 42px; display: flex; align-items: center; margin-top: auto; padding: .5rem .65rem; color: #ccc; font-size: .85rem; font-weight: 600; }
.admin-sidebar > button { margin-top: .2rem; }
.admin-content { min-width: 0; width: 100%; max-width: 1560px; padding: clamp(1.4rem, 3vw, 2.6rem); }
.admin-heading { margin-bottom: 1.5rem; }
.admin-heading-row { display: flex; align-items: end; justify-content: space-between; gap: 1rem; }
.admin-heading h2 { margin-bottom: .35rem; font-size: clamp(1.65rem, 3vw, 2.05rem); font-weight: 760; }
.admin-heading > p:last-child, .admin-subheading p { margin-bottom: 0; }
.admin-subheading { display: flex; align-items: end; justify-content: space-between; margin: 2rem 0 .8rem; }
.admin-subheading h2 { margin: 0 0 .2rem; }
.metric-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .65rem; }
.metric-grid-compact { margin-bottom: 1rem; }
.metric-grid-compact .metric-card { min-height: 88px; }
.metric-card { min-height: 104px; display: flex; flex-direction: column; justify-content: space-between; padding: .9rem 1rem; border: 1px solid var(--border); border-radius: 9px; background: var(--surface); }
.metric-card span { color: var(--muted); font-size: .78rem; }
.metric-card strong { font-size: 1.8rem; font-weight: 760; letter-spacing: -.04em; }
.panel { margin-bottom: .85rem; }
.panel-title, .section-editor-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.panel-title p { margin: .15rem 0 0; }
.admin-collapsible, .inline-create-panel { padding: 1rem; border-color: var(--border-strong); background: #121216; }
.admin-collapsible { margin-bottom: 1rem; }
.compact-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; }
.compact-form h3, .compact-form .wide, .compact-form > .form-message { grid-column: 1 / -1; }
.compact-form > button { justify-self: start; }
.two-panels, .upload-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; }
.upload-grid { margin-top: .8rem; }
.banner-upload-form { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: .5rem; padding: .8rem; border: 1px solid var(--border); border-radius: var(--radius-sm); }
.banner-upload-form .form-message { grid-column: 1 / -1; }
.banner-admin-preview { height: 260px; margin: .8rem 0 1rem; overflow: hidden; border: 1px solid var(--border); border-radius: var(--radius-sm); background: #090909; }
.banner-admin-preview img { width: 100%; height: 100%; object-fit: cover; }
.table-wrap { margin-bottom: .85rem; overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface); }
.status { display: inline-flex; width: max-content; padding: .2rem .5rem; border-radius: 99px; color: var(--muted); background: #2a2a2f; font-size: .72rem; font-weight: 750; white-space: nowrap; }
.status.healthy { color: var(--success); }
.status.degraded { color: var(--warning); }
.status-published, .status-ready, .status-confirmed { color: #7ee2b4; background: rgb(45 145 101 / 15%); }
.status-draft, .status-processing, .status-pending { color: #f2c36b; background: rgb(232 174 84 / 14%); }
.status-archived, .status-cancelled, .status-failed { color: #ff919b; background: rgb(229 101 113 / 14%); }
.status-admin { color: #c6b7ff; background: rgb(137 112 224 / 16%); }
.plain-list { display: grid; gap: .5rem; padding: 0; list-style: none; }
.plain-list li { display: flex; justify-content: space-between; gap: 1rem; padding: .6rem 0; border-bottom: 1px solid var(--border); }
.admin-list-toolbar { display: grid; grid-template-columns: minmax(240px, 1fr) minmax(180px, 240px); gap: .6rem; margin-bottom: .75rem; padding: .55rem; border: 1px solid var(--border); border-radius: 9px; background: #101014; }
.admin-list-toolbar input, .admin-list-toolbar select { min-height: 40px; background: var(--surface); }
.admin-series-grid { display: grid; grid-template-columns: repeat(2, minmax(320px, 1fr)); gap: .65rem; }
.admin-series-card { min-width: 0; display: grid; grid-template-columns: 82px minmax(0, 1fr); gap: .85rem; padding: .7rem; border: 1px solid var(--border); border-radius: 9px; background: var(--surface); }
.admin-series-card:hover { border-color: var(--border-strong); background: #18181e; }
.admin-series-card img { width: 82px; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 6px; }
.admin-series-copy { min-width: 0; display: grid; align-content: start; gap: .5rem; }
.admin-card-heading { display: flex; align-items: start; justify-content: space-between; gap: .6rem; }
.admin-card-heading strong, .admin-card-heading code { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.admin-card-heading code { margin-top: .12rem; color: #77757e; font-size: .68rem; }
.admin-series-card p { margin: 0; font-size: .78rem; }
.admin-series-card progress { width: 100%; height: 4px; }
.admin-series-card .button { min-height: 36px; padding: .38rem .65rem; font-size: .78rem; }
.filter-empty { grid-column: 1 / -1; margin: 1rem 0; text-align: center; }
.admin-workspace { display: grid; grid-template-columns: minmax(0, 1fr) 260px; align-items: start; gap: 1rem; }
.admin-workspace-main { min-width: 0; }
.admin-disclosure { margin-bottom: 1rem; overflow: hidden; border: 1px solid var(--border); border-radius: 9px; background: var(--surface); }
.admin-disclosure > summary { min-height: 66px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .8rem 1rem; cursor: pointer; list-style: none; }
.admin-disclosure > summary::-webkit-details-marker { display: none; }
.admin-disclosure > summary::after { content: "+"; color: var(--muted); font-size: 1.25rem; }
.admin-disclosure[open] > summary::after { content: "−"; }
.admin-disclosure > summary > span:first-child { display: grid; gap: .12rem; }
.admin-disclosure summary small { color: var(--muted); font-size: .75rem; font-weight: 500; }
.disclosure-form { padding: 1rem; border-top: 1px solid var(--border); background: #111115; }
.content-stage { margin-bottom: 1rem; padding: 1rem; border: 1px solid var(--border); border-radius: 9px; background: #111115; }
.stage-heading { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: .85rem; }
.stage-heading h3 { margin: 0 0 .18rem; font-size: 1.05rem; }
.stage-heading p { margin: 0; font-size: .8rem; }
.inline-create-panel { margin-bottom: .85rem; }
.release-rail { position: sticky; top: 1rem; padding: 1rem; border: 1px solid var(--border-strong); border-radius: 9px; background: #121217; }
.release-rail h3 { margin-bottom: 1rem; }
.release-steps { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.release-steps li { min-height: 62px; display: grid; grid-template-columns: 24px 1fr; gap: .55rem; position: relative; }
.release-steps li:not(:last-child)::after { content: ""; width: 1px; position: absolute; left: 11px; top: 24px; bottom: 0; background: var(--border-strong); }
.release-steps li > span { width: 24px; height: 24px; display: grid; place-items: center; position: relative; z-index: 1; border: 1px solid var(--border-strong); border-radius: 50%; color: var(--muted); background: var(--surface); font-size: .68rem; }
.release-steps li.done > span { color: #0d1712; border-color: #7ee2b4; background: #7ee2b4; }
.release-steps li.current > span { color: white; border-color: var(--accent); background: var(--accent); }
.release-steps strong, .release-steps small { display: block; }
.release-steps strong { font-size: .8rem; }
.release-steps small { margin-top: .12rem; color: var(--muted); font-size: .7rem; }
.release-note { margin: .5rem 0 0; padding-top: .75rem; border-top: 1px solid var(--border); font-size: .72rem; }
.season-editor-list { display: grid; gap: .85rem; }
.season-editor { overflow: hidden; border: 1px solid var(--border); border-radius: 9px; background: var(--surface); }
.season-editor > header { padding: .75rem .85rem; border-bottom: 1px solid var(--border); }
.season-editor > header > div { display: flex; align-items: center; gap: .65rem; }
.season-editor h4, .episode-admin-card h5 { margin: 0; color: var(--text); line-height: 1.25; }
.season-editor h4 { font-size: .9rem; }
.season-editor p { margin: .08rem 0 0; font-size: .72rem; }
.season-number { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 7px; color: white; background: var(--surface-3); font: 750 .72rem ui-monospace, monospace; }
.episode-admin-list { display: grid; }
.episode-admin-card { padding: .85rem; border-bottom: 1px solid var(--border); }
.episode-admin-card:last-child { border-bottom: 0; }
.episode-admin-card > header { display: flex; align-items: start; justify-content: space-between; gap: .8rem; }
.episode-admin-card code { color: #77757e; font-size: .66rem; }
.episode-admin-card h5 { margin-top: .18rem; font-size: .88rem; }
.episode-admin-card > p { margin: .5rem 0 0; font-size: .78rem; }
.episode-admin-card footer { margin-top: .65rem; }
.episode-admin-card footer button { min-height: 34px; padding: .35rem .6rem; font-size: .72rem; }
.video-ready { color: #7ee2b4 !important; }
.ingest-form { display: grid; grid-template-columns: minmax(220px, 1fr) auto; align-items: end; gap: .45rem; margin-top: .7rem; padding: .65rem; border-radius: 7px; background: #0d0d11; }
.ingest-form .form-message { grid-column: 1 / -1; }
.archived-row { opacity: .65; }
.category-fieldset { display: flex; flex-wrap: wrap; gap: .45rem; margin: 0; padding: .75rem; border: 1px solid var(--border); border-radius: var(--radius-sm); }
.category-fieldset legend { padding: 0 .35rem; color: #c5c5c5; font-size: .875rem; font-weight: 600; }
.check-chip { min-height: 38px; display: inline-flex !important; padding: .4rem .6rem; border: 1px solid var(--border); border-radius: 99px; background: #111; font-size: .8125rem; }
.check-label { align-self: end; min-height: 44px; }
.category-editor-list, .section-editor-list { display: grid; gap: .65rem; }
.row-form { display: grid; grid-template-columns: minmax(180px, 1fr) minmax(180px, 1fr) auto auto; align-items: end; gap: .6rem; }
.row-form .form-message { grid-column: 1 / -1; }
.danger-link { color: var(--danger); border-color: transparent; background: transparent; }
.danger-link:hover { border-color: rgb(255 107 120 / 40%); background: #321218; }
.danger-zone { display: flex; align-items: center; justify-content: space-between; gap: 1rem; border-color: rgb(255 107 120 / 28%); }
.danger-zone h3 { margin-bottom: .2rem; }
.danger-zone p { max-width: 70ch; margin: 0; font-size: .8125rem; }
.access-section { margin: 1.2rem 0 1rem; }
.user-directory { display: grid; gap: .5rem; }
.user-row { display: grid; grid-template-columns: minmax(220px, 1.25fr) 130px minmax(300px, 1.5fr) auto; align-items: center; gap: .9rem; padding: .75rem; border: 1px solid var(--border); border-radius: 9px; background: var(--surface); }
.user-row:hover { border-color: var(--border-strong); }
.user-identity { min-width: 0; display: grid; grid-template-columns: 38px minmax(0, 1fr); align-items: center; gap: .65rem; }
.user-avatar { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid var(--border-strong); border-radius: 9px; color: white; background: var(--surface-3); font-weight: 750; }
.user-identity strong, .user-identity a, .user-identity small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.user-identity strong { font-size: .82rem; }
.user-identity a { color: #c9c6ce; font-size: .75rem; }
.user-identity small { color: #77757e; font-size: .66rem; }
.user-access-state { display: grid; gap: .25rem; }
.user-access-state small { color: var(--muted); font-size: .65rem; }
.user-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .6rem; margin: 0; }
.user-facts div { min-width: 0; }
.user-facts dt { color: #77757e; font-size: .62rem; font-weight: 750; letter-spacing: .035em; text-transform: uppercase; }
.user-facts dd { margin: .12rem 0 0; overflow: hidden; font-size: .72rem; text-overflow: ellipsis; white-space: nowrap; }
.user-row-action { justify-self: end; }
.user-row-action .button { min-height: 36px; padding: .4rem .65rem; font-size: .72rem; }
.payment-disclosure { margin-top: 1rem; }
.payment-disclosure .table-wrap { margin: 0; border-inline: 0; border-bottom: 0; border-radius: 0; }
.section-editor { padding: 1rem; }
.section-editor-head { margin-bottom: .8rem; }
.section-editor-head > div:first-child { display: flex; align-items: center; gap: .55rem; }
.section-editor-head small { color: var(--muted); }
.drag-index { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; color: var(--muted); background: var(--surface-3); font-size: .75rem; }
.qr-state img { width: min(250px, 100%); margin: .8rem auto; padding: .35rem; border-radius: 7px; background: white; }
.confirm-dialog { width: min(440px, calc(100% - 2rem)); padding: 0; border: 1px solid var(--border-strong); border-radius: var(--radius); color: var(--text); background: var(--surface); box-shadow: var(--shadow); }
.confirm-dialog::backdrop, .whatsapp-preview-dialog::backdrop { background: rgb(0 0 0 / 78%); backdrop-filter: blur(3px); }
.confirm-dialog form { padding: 1.25rem; }
.confirm-dialog h2 { font-size: 1.25rem; }
.dialog-actions { display: flex; justify-content: flex-end; gap: .5rem; margin-top: 1rem; }
.whatsapp-preview-dialog { width: min(560px, calc(100% - 1.5rem)); max-height: calc(100dvh - 1.5rem); padding: 0; overflow: auto; border: 1px solid var(--border-strong); border-radius: var(--radius); color: var(--text); background: var(--surface); box-shadow: var(--shadow); }
.whatsapp-preview-dialog form { display: grid; gap: .8rem; padding: 1rem; }
.whatsapp-preview-dialog header { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.whatsapp-preview-dialog h2 { margin: .15rem 0 0; font-size: 1.2rem; }
.dialog-close { min-width: 44px; min-height: 44px; padding: .35rem; border: 0; color: var(--muted); background: transparent; font-size: 1.5rem; line-height: 1; }
.dialog-close:hover { color: var(--text); }
.whatsapp-preview-dialog img { display: block; width: 100%; aspect-ratio: 1200 / 630; object-fit: cover; border: 1px solid var(--border); border-radius: calc(var(--radius) - 3px); background: #080808; }
.whatsapp-preview-message { margin: 0; padding: .75rem; white-space: pre-line; border-radius: calc(var(--radius) - 4px); color: var(--text); background: var(--surface-2); line-height: 1.5; }
.whatsapp-preview-link { width: fit-content; color: var(--accent); font-size: .88rem; font-weight: 600; }
.whatsapp-provider-list { display: grid; gap: .4rem; margin: 0; padding: 0; list-style: none; }
.whatsapp-provider-list li { display: flex; align-items: center; gap: .65rem; min-height: 42px; padding: .55rem .7rem; border: 1px solid var(--border); border-radius: calc(var(--radius) - 4px); background: var(--surface-2); }
.whatsapp-provider-list strong { min-width: 52px; font-size: .72rem; text-transform: uppercase; letter-spacing: .04em; }
.whatsapp-provider-list .ready strong { color: #71d59a; }
.whatsapp-provider-list .not-ready { color: var(--muted); }
.whatsapp-provider-list span { overflow-wrap: anywhere; font-size: .86rem; }
.whatsapp-preview-dialog .notice { margin: 0; }
.whatsapp-preview-dialog .dialog-actions { margin-top: 0; }

@media (max-width: 920px) {
  .metric-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .watch-page { grid-template-columns: minmax(280px, 400px) 1fr; gap: 2rem; }
  .admin-shell { grid-template-columns: 205px 1fr; }
  .admin-series-grid, .admin-workspace { grid-template-columns: 1fr; }
  .release-rail { position: static; }
  .user-row { grid-template-columns: minmax(0, 1fr) auto; }
  .user-facts { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  body:not(.admin-body) { padding-bottom: calc(66px + env(safe-area-inset-bottom)); }
  .site-header { min-height: 60px; grid-template-columns: 1fr auto; padding: .45rem 1rem; }
  .brand-logo { width: 126px; }
  .desktop-nav { display: none; }
  .account-link { min-height: 44px; padding: .4rem .6rem; }
  .bottom-nav { height: calc(64px + env(safe-area-inset-bottom)); display: grid; grid-template-columns: repeat(4, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; padding-bottom: env(safe-area-inset-bottom); border-top: 1px solid var(--border); background: rgb(8 8 8 / 96%); backdrop-filter: blur(16px); }
  .bottom-nav a { min-height: 62px; display: grid; place-content: center; justify-items: center; gap: .12rem; position: relative; color: #858585; font-size: .68rem; font-weight: 600; }
  .bottom-nav a::before { content: ""; width: 22px; height: 2px; position: absolute; left: calc(50% - 11px); top: 0; background: transparent; }
  .bottom-nav a.active { color: white; }
  .bottom-nav a.active::before { background: var(--accent); }
  .bottom-nav svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
  .bottom-nav a:first-child svg path { fill: currentColor; }
  .site-footer { display: none; }

  .catalog-admin-bar { width: calc(100% - 1.5rem); min-height: 50px; margin: .5rem auto; }
  .catalog-admin-bar strong { display: none; }
  .hero-stage { width: 100%; height: min(520px, 62svh); min-height: 430px; margin: 0 0 2.25rem; border-radius: 0; }
  .hero-stage picture img { object-position: center 18%; }
  .hero-scrim { background: linear-gradient(0deg, rgb(0 0 0 / 96%) 0, rgb(0 0 0 / 58%) 46%, transparent 80%); }
  .hero-content { width: auto; left: 1rem; right: 1rem; bottom: 1.1rem; }
  .hero-content h1 { max-width: 13ch; font-size: 2rem; }
  .hero-content > p:not(.hero-kicker) { display: -webkit-box; margin-bottom: .85rem; overflow: hidden; font-size: .875rem; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
  .content-section, .page-shell { width: calc(100% - 2rem); margin-bottom: 2.25rem; }
  .page-shell { padding-top: 1rem; }
  .section-title { margin-bottom: .65rem; }
  .section-title h2 { font-size: 1.25rem; }
  .poster-rail { width: calc(100% + 1rem); grid-auto-columns: 34vw; margin-right: -1rem; padding-right: 1rem; }
  .poster-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.15rem .65rem; }
  .poster-card > span:last-child, .poster-play { display: none; }
  .resume-rail { display: grid; grid-auto-flow: column; grid-auto-columns: 82vw; grid-template-columns: none; overflow-x: auto; scroll-snap-type: x mandatory; }
  .resume-card { scroll-snap-align: start; }
  .compact-series-row > a:first-child { padding-right: 1rem; }
  .search-bar { grid-template-columns: 1fr; }
  .search-bar button { width: 100%; }

  .series-hero { width: 100%; min-height: 0; display: block; margin: 0 0 1.25rem; padding: 0; border-radius: 0; background: var(--bg); }
  .series-hero > img { width: 100%; height: min(520px, 62svh); max-height: none; aspect-ratio: auto; border-radius: 0; object-position: center 18%; box-shadow: none; }
  .series-copy { max-width: none; margin-top: -200px; padding: 105px 1rem 1.25rem; position: relative; background: linear-gradient(0deg, var(--bg) 0, rgb(8 8 8 / 94%) 55%, transparent 100%); }
  .series-copy .back-link { position: absolute; top: -300px; left: 1rem; color: white; }
  .series-copy h1 { max-width: 14ch; font-size: 2rem; }
  .series-description { display: -webkit-box; overflow: hidden; font-size: .875rem; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
  .episodes-shell { width: 100%; padding: 0 1rem; }
  .episode-row { grid-template-columns: 94px 1fr; gap: .65rem; }
  .episode-row img { width: 94px; }
  .episode-action { grid-column: 1 / -1; width: 100%; }

  .watch-page { width: 100%; grid-template-columns: 1fr; gap: 1.25rem; margin-top: 0; }
  .player-topbar, .episode-navigation, .watch-details { padding-inline: 1rem; }
  .vertical-player { width: min(100%, 410px); border-radius: 0; box-shadow: none; }
  .watch-details h1 { font-size: 1.75rem; }

  .auth-shell { min-height: calc(100svh - 60px); padding: 1rem; }
  .auth-card { padding: 1.2rem; }
  .checkout-grid, .two-panels, .upload-grid { grid-template-columns: 1fr; }
  .offer-card, .payment-card { padding: 1rem; }
  .copy-field { grid-template-columns: 1fr; }

  .admin-shell { display: block; }
  .admin-sidebar { width: 100%; height: auto; position: static; padding: .8rem 1rem; border: 0; border-bottom: 1px solid var(--border); }
  .admin-sidebar > div { padding: 0; }
  .admin-brand-logo { width: 120px; margin-bottom: .4rem; }
  .admin-sidebar .eyebrow, .admin-sidebar h1 { display: none; }
  .admin-sidebar nav { display: flex; gap: .25rem; margin-top: .4rem; padding-bottom: .25rem; overflow-x: auto; }
  .admin-nav-group { display: contents; }
  .admin-nav-group > span { display: none; }
  .admin-sidebar nav a { flex: 0 0 auto; white-space: nowrap; }
  .admin-sidebar nav a.active { box-shadow: inset 0 -2px var(--accent); }
  .admin-catalog-link { margin-top: .4rem; }
  .admin-content { padding: 1.1rem 1rem 2.5rem; }
  .admin-heading-row, .stage-heading { align-items: stretch; flex-direction: column; }
  .admin-heading-row .button { width: 100%; }
  .admin-list-toolbar, .admin-series-grid, .admin-workspace { grid-template-columns: 1fr; }
  .release-rail { position: static; }
  .user-row { grid-template-columns: 1fr; }
  .user-access-state, .user-row-action { justify-self: stretch; }
  .user-facts { grid-column: auto; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .user-row-action .button { width: 100%; }
  .compact-form, .row-form { grid-template-columns: 1fr; }
  .compact-form > *, .row-form > * { grid-column: 1 !important; }
  .metric-card { min-height: 100px; }
  .banner-admin-preview { height: 210px; }
  .banner-upload-form { grid-template-columns: 1fr; }
  .danger-zone { align-items: stretch; flex-direction: column; }
  .ingest-form { min-width: 0; grid-template-columns: 1fr; }
}

@media (hover: none) {
  .poster-play { display: none; }
}

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

/* Dramou cinematic system — public experience */
:root {
  --display: "Iowan Old Style", "Palatino Linotype", Baskerville, Georgia, serif;
  --cinema-border: rgb(255 255 255 / 13%);
  --cinema-glass: rgb(9 9 11 / 76%);
}

.public-body {
  background:
    radial-gradient(circle at 76% 4%, rgb(242 61 100 / 7%), transparent 26rem),
    linear-gradient(180deg, #050505 0, var(--bg) 38rem);
}
.public-body main { min-height: calc(100vh - 64px); }
.public-body .site-header {
  min-height: 66px;
  border-bottom-color: var(--cinema-border);
  background: var(--cinema-glass);
  box-shadow: 0 12px 40px rgb(0 0 0 / 22%);
}
.public-body .brand-logo { width: 126px; }
.public-body .desktop-nav { justify-self: start; margin-left: clamp(1.5rem, 4vw, 4rem); }
.public-body .desktop-nav a {
  margin-inline: .18rem;
  padding-inline: .8rem;
  color: #c2c2c5;
  background: transparent;
  font-weight: 500;
}
.public-body .desktop-nav a:hover { color: white; background: transparent; }
.public-body .desktop-nav a.active { color: white; background: transparent; box-shadow: inset 0 -2px var(--accent); }
.header-actions { display: flex; align-items: center; justify-self: end; gap: .35rem; }
.header-search {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #ececef;
}
.header-search:hover { color: white; background: rgb(255 255 255 / 7%); }
.header-search svg { width: 22px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-width: 1.65; }
.public-body .account-link { gap: .45rem; padding: .25rem; background: transparent; }
.public-body .account-link:hover { background: transparent; }
.account-avatar {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / 20%);
  border-radius: 50%;
  color: white;
  background: linear-gradient(145deg, #5b2934, #151515 60%);
  font-size: .75rem;
  font-weight: 700;
}
.account-label { color: #b8b8bb; font-size: .78rem; }
.public-body .site-footer { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.public-body .site-footer img { width: 110px; }

.catalog-stage { padding-bottom: .5rem; }
.catalog-stage .content-section { margin-bottom: 2rem; }
.hero-stage {
  height: min(535px, 67vw);
  min-height: 460px;
  margin-top: .75rem;
  margin-bottom: 1.9rem;
  border: 1px solid var(--cinema-border);
  border-radius: 14px;
  box-shadow: 0 28px 90px rgb(0 0 0 / 52%);
  isolation: isolate;
}
.hero-slide { position: absolute; inset: 0; animation: hero-reveal 360ms ease both; }
.hero-slide[hidden] { display: none; }
.hero-slide picture, .hero-slide picture img { width: 100%; height: 100%; }
.hero-stage picture img { object-position: center 28%; filter: saturate(.9) contrast(1.04); }
.hero-scrim {
  background:
    linear-gradient(90deg, rgb(2 2 3 / 96%) 0, rgb(3 3 5 / 78%) 26%, rgb(2 2 3 / 12%) 62%, rgb(2 2 3 / 18%) 100%),
    linear-gradient(0deg, rgb(2 2 3 / 90%) 0, transparent 40%, rgb(2 2 3 / 12%) 80%);
}
.hero-frame {
  width: 46%;
  height: 74%;
  position: absolute;
  top: 4%;
  right: 6%;
  z-index: 2;
  box-shadow: inset -2px 0 var(--accent), inset 0 2px var(--accent);
  border-radius: 0 92px 92px 0;
  opacity: .92;
  filter: drop-shadow(0 0 16px rgb(242 61 100 / 24%));
  pointer-events: none;
}
.hero-content { width: min(550px, 50%); left: clamp(2rem, 4.2vw, 4.15rem); bottom: 22%; }
.hero-content h1,
.series-copy h1 {
  margin-bottom: .55rem;
  font-family: var(--display);
  font-size: clamp(3rem, 5.1vw, 4.85rem);
  font-weight: 400;
  letter-spacing: -.035em;
  line-height: .98;
  text-shadow: 0 2px 24px rgb(0 0 0 / 65%);
}
.hero-meta, .series-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem; margin: .9rem 0 .8rem; }
.hero-meta > span, .series-meta > span {
  min-height: 24px;
  display: inline-flex;
  align-items: center;
  padding: .18rem .5rem;
  border: 1px solid rgb(255 255 255 / 13%);
  border-radius: 5px;
  color: #e0e0e2;
  background: rgb(18 18 20 / 72%);
  font-size: .72rem;
  line-height: 1;
}
.hero-meta .hero-badge, .series-meta .hero-badge { border-color: transparent; color: white; background: var(--accent); }
.hero-content > p:not(.hero-kicker) { max-width: 52ch; margin-bottom: 1.45rem; color: #d7d7da; }
.hero-actions { display: flex; align-items: center; gap: .55rem; }
.hero-actions .button.primary { padding-inline: 1.3rem; background: linear-gradient(115deg, var(--accent), #ff554e); box-shadow: 0 10px 28px rgb(242 61 100 / 25%); }
.hero-favorite { border-color: transparent; color: #eee; background: rgb(10 10 11 / 58%); }
.hero-favorite:hover { color: white; background: rgb(255 255 255 / 10%); }
.hero-dots { display: flex; align-items: center; gap: .45rem; position: absolute; left: 50%; bottom: 1rem; z-index: 3; transform: translateX(-50%); }
.hero-dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 99px; background: rgb(255 255 255 / 30%); cursor: pointer; transition: width 180ms ease, background 180ms ease; }
.hero-dots .active { width: 24px; background: var(--accent); }
.hero-arrow { width: 42px; height: 42px; display: grid; place-items: center; position: absolute; top: 50%; z-index: 4; transform: translateY(-50%); border: 1px solid rgb(255 255 255 / 18%); border-radius: 50%; color: white; background: rgb(4 4 5 / 48%); backdrop-filter: blur(8px); font-size: 1.8rem; cursor: pointer; }
.hero-arrow:hover { background: rgb(4 4 5 / 78%); }
.hero-previous { left: 1rem; }
.hero-next { right: 1rem; }

.home-categories { padding: .15rem 0 .4rem; }
.home-category-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .65rem; }
.home-category-card { min-height: 82px; display: grid; grid-template-columns: 1fr auto; align-content: center; gap: .1rem 1rem; padding: 1rem; border: 1px solid var(--cinema-border); border-radius: 9px; color: white; background: linear-gradient(125deg, #1c1115, #141416 60%); }
.home-category-card:nth-child(4n + 2) { background: linear-gradient(125deg, #17131f, #141416 60%); }
.home-category-card:nth-child(4n + 3) { background: linear-gradient(125deg, #1d1712, #141416 60%); }
.home-category-card span { font-weight: 700; }
.home-category-card small { color: var(--muted); }
.home-category-card b { grid-column: 2; grid-row: 1 / 3; align-self: center; color: var(--accent); font-size: 1.15rem; }

.category-index-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
.category-index-card { min-height: 106px; display: grid; grid-template-columns: 48px 1fr auto; align-items: center; gap: 1rem; padding: 1rem; border: 1px solid var(--border); border-radius: 11px; color: white; background: var(--surface); }
.category-index-card:hover { border-color: rgb(242 61 100 / 58%); }
.category-index-mark { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; color: white; background: linear-gradient(145deg, var(--accent), #8d283f); font-family: var(--display); font-size: 1.4rem; }
.category-index-card h2, .category-index-card p { margin: 0; }
.category-index-card h2 { font-size: 1rem; }
.category-index-card p { font-size: .78rem; }
.category-index-card > b { color: var(--accent); }
.series-request-callout { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1.25rem; padding: 1rem 1.2rem; border: 1px solid rgb(242 61 100 / 30%); border-radius: 11px; color: white; background: rgb(242 61 100 / 8%); }
.series-request-callout span { display: grid; gap: .15rem; }
.series-request-callout small { color: #e2a3b1; }
.series-request-callout b { color: var(--accent); }

.request-shell { max-width: 900px; }
.request-heading { max-width: 680px; margin: 1.25rem 0 1.5rem; }
.request-heading h1 { margin: .25rem 0 .55rem; font-family: var(--display); font-size: clamp(2.5rem, 6vw, 4rem); font-weight: 400; }
.series-request-form { display: grid; grid-template-columns: 1fr; gap: .8rem; }
.series-request-form label { display: grid; gap: .35rem; font-weight: 600; }
.series-request-form label span { color: var(--muted); font-weight: 400; }
.series-request-form input, .series-request-form textarea { width: 100%; }
.series-request-form .button { justify-self: start; }
.request-history { margin-top: 2.25rem; }
.request-list { display: grid; gap: .55rem; }
.request-item { min-height: 68px; display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: .8rem; padding: .8rem 1rem; border: 1px solid var(--border); border-radius: 9px; color: white; background: var(--surface); }
.request-item div { display: grid; gap: .15rem; }
.request-item small { color: var(--muted); }
.request-item > b { color: transparent; }
.request-item.fulfilled > b { color: var(--accent); }
.status-pending { color: #f2ca72; }
.status-fulfilled { color: #7ee2a7; }
.status-rejected { color: var(--muted); }

.admin-request-list { display: grid; gap: .75rem; }
.admin-request-card { display: grid; grid-template-columns: 1fr minmax(440px, .9fr); align-items: end; gap: 1.25rem; }
.request-resolution-form { display: grid; grid-template-columns: 150px 1fr auto; align-items: end; gap: .55rem; }
.request-resolution-form label { display: grid; gap: .25rem; }

@keyframes hero-reveal {
  from { opacity: 0; transform: scale(1.01); }
  to { opacity: 1; transform: scale(1); }
}

.section-title { align-items: center; margin-bottom: .65rem; }
.section-title h2 { color: #fafafa; font-size: clamp(1.15rem, 2vw, 1.38rem); letter-spacing: -.02em; }
.section-title h2 > span { color: #cfcfd2; font-weight: 400; }
.section-title > a { min-height: 40px; display: inline-flex; align-items: center; color: var(--muted); font-size: .78rem; }
.section-title > a:hover { color: white; }
.section-kicker { display: none; }
.poster-rail { grid-auto-columns: clamp(142px, 13vw, 178px); gap: .72rem; padding-bottom: .45rem; }
.poster-grid { grid-template-columns: repeat(auto-fill, minmax(154px, 1fr)); gap: .85rem; }
.poster-card { gap: 0; }
.poster-frame { border-radius: 7px; box-shadow: 0 12px 34px rgb(0 0 0 / 25%); }
.poster-frame::after { border-color: rgb(255 255 255 / 14%); }
.poster-card img { transition: transform 240ms ease, filter 240ms ease; }
.poster-shade { position: absolute; inset: 36% 0 0; background: linear-gradient(0deg, rgb(2 2 3 / 94%) 0, rgb(2 2 3 / 15%) 100%); }
.poster-card strong {
  position: absolute;
  left: .65rem;
  right: .65rem;
  bottom: .72rem;
  z-index: 2;
  padding: 0;
  color: #fff;
  font-size: .81rem;
  font-weight: 600;
  line-height: 1.25;
  text-overflow: ellipsis;
  text-shadow: 0 1px 8px black;
}
.poster-card:hover img { transform: scale(1.045); filter: brightness(.72) saturate(1.06); }
.poster-card-shell:first-child .poster-frame { box-shadow: 0 0 0 1px rgb(242 61 100 / 72%), 0 14px 38px rgb(0 0 0 / 28%); }
.poster-play { background: rgb(255 255 255 / 94%); }

.resume-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: clamp(142px, 13vw, 178px);
  grid-template-columns: none;
  gap: .72rem;
  overflow-x: auto;
  scroll-snap-type: inline proximity;
  scrollbar-width: thin;
}
.resume-card {
  aspect-ratio: 2 / 3;
  display: block;
  overflow: hidden;
  position: relative;
  padding: 0;
  border-color: var(--cinema-border);
  border-radius: 7px;
  background: var(--surface);
  scroll-snap-align: start;
}
.resume-card:hover { border-color: rgb(242 61 100 / 65%); background: var(--surface); }
.resume-card img { width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; border-radius: 0; transition: transform 240ms ease; }
.resume-card:hover img { transform: scale(1.04); }
.resume-shade { position: absolute; inset: 35% 0 0; background: linear-gradient(0deg, rgb(2 2 3 / 96%), transparent); }
.resume-card .episode-chip { position: absolute; top: .48rem; left: .48rem; padding: .18rem .38rem; border-radius: 4px; color: white; background: rgb(15 15 16 / 78%); font-size: .63rem; }
.resume-card > div { position: absolute; left: .58rem; right: .58rem; bottom: .55rem; z-index: 2; }
.resume-card strong { font-size: .78rem; white-space: normal; line-height: 1.25; }
.resume-card progress { height: 3px; margin-top: .5rem; }

.discover-section .chip { min-height: 36px; border-color: var(--cinema-border); background: rgb(255 255 255 / 4%); font-weight: 500; }
.catalog-page { padding-top: clamp(2rem, 5vw, 4.5rem); }
.catalog-heading { max-width: 670px; margin: 1rem 0 1.35rem; }
.catalog-heading h1 { margin-bottom: .45rem; font-family: var(--display); font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 400; }
.catalog-heading p:last-child { margin-bottom: 0; }
.catalog-page .search-bar { max-width: 720px; margin-bottom: 2rem; }
.catalog-page .search-bar input { min-height: 50px; padding-left: 1rem; background: rgb(20 20 22 / 88%); }
.catalog-page .search-bar button { min-width: 105px; color: white; border-color: var(--accent); background: var(--accent); }

.series-hero {
  min-height: 620px;
  display: block;
  overflow: hidden;
  position: relative;
  margin-top: .75rem;
  padding: 0;
  border: 1px solid var(--cinema-border);
  border-radius: 14px;
  isolation: isolate;
}
.series-hero > img { width: 100%; height: 100%; max-width: none; position: absolute; inset: 0; border-radius: 0; object-fit: cover; object-position: center 24%; box-shadow: none; filter: saturate(.88); }
.series-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgb(3 3 4 / 96%) 0, rgb(3 3 4 / 78%) 29%, transparent 67%), linear-gradient(0deg, rgb(3 3 4 / 80%), transparent 50%); }
.series-frame { width: 46%; height: 74%; position: absolute; top: 5%; right: 6%; border-radius: 0 96px 96px 0; box-shadow: inset -2px 0 var(--accent), inset 0 2px var(--accent); filter: drop-shadow(0 0 18px rgb(242 61 100 / 20%)); }
.series-copy { width: min(560px, 50%); position: absolute; left: clamp(2rem, 5vw, 4.5rem); bottom: 13%; z-index: 2; }
.series-copy .back-link { position: absolute; bottom: calc(100% + 3.8rem); }
.series-copy h1 { max-width: 12ch; }
.series-meta .chip { min-height: 24px; padding: .18rem .5rem; border-color: rgb(255 255 255 / 13%); background: rgb(18 18 20 / 72%); font-size: .72rem; font-weight: 400; }
.series-description { color: #d1d1d4; }
.series-copy .button.secondary { border-color: rgb(255 255 255 / 18%); background: rgb(10 10 11 / 55%); }
.episodes-shell { padding-top: 1rem; }
.season-block > h2 { font-size: 1.35rem; }
.episode-row { min-height: 112px; grid-template-columns: 150px 1fr auto; gap: 1rem; }
.episode-row img { width: 150px; aspect-ratio: 16 / 9; }
.episode-action { background: #222225; }

.watch-stage { min-height: calc(100vh - 66px); overflow: hidden; position: relative; isolation: isolate; }
.watch-backdrop { width: 100%; height: 100%; position: absolute; inset: 0; z-index: -2; object-fit: cover; filter: blur(32px) brightness(.22) saturate(.72); transform: scale(1.1); }
.watch-backdrop-shade { position: absolute; inset: 0; z-index: -1; background: radial-gradient(circle at 35% 45%, transparent, rgb(4 4 5 / 75%) 62%), linear-gradient(0deg, #060607, transparent 60%); }
.watch-page { min-height: calc(100vh - 66px); margin-top: 0; margin-bottom: 0; padding-block: 1.25rem 3rem; }
.vertical-player { border: 1px solid rgb(255 255 255 / 13%); box-shadow: 0 28px 80px rgb(0 0 0 / 65%); }
.watch-details h1 { font-family: var(--display); font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 400; }

.auth-shell {
  min-height: calc(100vh - 66px);
  grid-template-columns: minmax(300px, 520px) minmax(360px, 460px);
  align-content: center;
  justify-content: center;
  gap: clamp(1rem, 4vw, 4rem);
  padding: 2rem;
}
.auth-visual { height: min(680px, calc(100vh - 120px)); min-height: 520px; overflow: hidden; position: relative; border: 1px solid var(--cinema-border); border-radius: 16px; }
.auth-visual img { width: 100%; height: 100%; object-fit: cover; }
.auth-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgb(3 3 4 / 92%), transparent 65%); }
.auth-visual > div { position: absolute; left: 1.5rem; right: 1.5rem; bottom: 1.5rem; z-index: 2; }
.auth-visual p { max-width: 26ch; margin-bottom: .3rem; color: white; font-family: var(--display); font-size: 2rem; line-height: 1.05; }
.auth-visual strong { color: #bfbfc3; font-size: .84rem; }
.auth-card { width: 100%; border-color: var(--cinema-border); background: rgb(18 18 20 / 90%); }
.auth-card h1 { max-width: 12ch; font-family: var(--display); font-size: clamp(2.35rem, 4vw, 3.25rem); font-weight: 400; }
.purchase-cta { background: linear-gradient(100deg, rgb(73 20 36 / 78%), rgb(39 18 25 / 92%)); }

.checkout-shell { width: min(1120px, calc(100% - 2rem)); }
.checkout-heading { max-width: 720px; margin: 1.2rem 0 1.5rem; }
.checkout-heading h1 { margin-bottom: .45rem; font-family: var(--display); font-size: clamp(2.6rem, 5vw, 4rem); font-weight: 400; }
.checkout-heading > p:last-child { margin: 0; }
.checkout-grid { grid-template-columns: .85fr 1.15fr; gap: 1.1rem; }
.offer-card, .payment-card { border-color: var(--cinema-border); background: rgb(20 20 22 / 92%); }
.offer-card { position: relative; overflow: hidden; background: radial-gradient(circle at 100% 0, rgb(242 61 100 / 18%), transparent 18rem), #141416; }
.offer-card::after { content: "D"; position: absolute; right: -1rem; bottom: -4.5rem; color: rgb(242 61 100 / 7%); font-family: var(--display); font-size: 17rem; line-height: 1; pointer-events: none; }
.offer-card h1 { font-family: var(--display); font-size: 2.65rem; font-weight: 400; }

.profile-card, .profile-access-card { border-color: var(--cinema-border); background: rgb(20 20 22 / 92%); }
.profile-card { margin-top: 1.25rem; }
.page-profile .page-shell > h1, .page-list .page-shell > h1 { font-family: var(--display); font-size: clamp(2.6rem, 5vw, 4rem); font-weight: 400; }

@media (max-width: 760px) {
  .public-body { background: #050505; }
  .public-body .site-header { min-height: 64px; grid-template-columns: 1fr auto; padding: .5rem .9rem; background: rgb(5 5 5 / 74%); }
  .public-body .brand-logo { width: 112px; }
  .header-actions { gap: .05rem; }
  .header-search { width: 42px; height: 42px; }
  .public-body .account-link { min-height: 42px; }
  .account-avatar { width: 32px; height: 32px; }
  .account-label { display: none; }
  .bottom-nav { height: calc(66px + env(safe-area-inset-bottom)); border-top-color: rgb(255 255 255 / 11%); background: rgb(6 6 7 / 94%); }
  .bottom-nav a { color: #d0d0d2; font-weight: 500; }
  .bottom-nav a.active { color: var(--accent); }
  .bottom-nav a::before { display: none; }

  .catalog-admin-bar { position: relative; z-index: 5; }
  .hero-stage {
    height: min(555px, 69svh);
    min-height: 490px;
    margin-bottom: 1rem;
    border: 0;
    border-bottom: 1px solid var(--cinema-border);
  }
  .hero-stage picture img { object-position: center 14%; }
  .hero-scrim { background: linear-gradient(0deg, #050505 0, rgb(5 5 6 / 93%) 21%, rgb(5 5 6 / 22%) 66%, rgb(5 5 6 / 4%) 100%); }
  .hero-frame { width: 68%; height: 58%; top: 7%; right: 5%; border-radius: 0 58px 58px 0; }
  .hero-content { left: 1rem; right: 1rem; bottom: 3.2rem; }
  .hero-content h1 { max-width: 12ch; margin-bottom: .4rem; font-size: clamp(2.5rem, 11vw, 3.5rem); }
  .hero-meta { margin-block: .6rem; }
  .hero-meta > span { font-size: .65rem; }
  .hero-content > p:not(.hero-kicker) { display: none; }
  .hero-actions { margin-top: .9rem; }
  .hero-actions .button { min-height: 44px; padding-inline: 1rem; font-size: .82rem; }
  .hero-favorite { width: 44px !important; overflow: hidden; padding: 0 !important; white-space: nowrap; color: transparent; }
  .hero-favorite span { color: white; font-size: 1.1rem; }
  .hero-dots { bottom: 1.15rem; }
  .hero-arrow { width: 36px; height: 36px; top: 38%; font-size: 1.45rem; }
  .hero-previous { left: .55rem; }
  .hero-next { right: .55rem; }

  .catalog-stage .content-section { width: calc(100% - 1.5rem); margin-bottom: 1.25rem; }
  .section-title { margin-bottom: .5rem; }
  .section-title h2 { font-size: 1.08rem; }
  .section-title > a { min-height: 36px; font-size: .72rem; }
  .home-category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; }
  .home-category-card { min-height: 70px; padding: .75rem; }
  .category-index-grid { grid-template-columns: 1fr; }
  .category-index-card { min-height: 88px; }
  .request-item { grid-template-columns: 1fr auto; }
  .request-item > b { display: none; }
  .admin-request-card { grid-template-columns: 1fr; }
  .request-resolution-form { grid-template-columns: 1fr; }
  .poster-rail, .resume-rail { width: calc(100% + .75rem); grid-auto-columns: 29vw; gap: .5rem; margin-right: -.75rem; padding-right: .75rem; }
  .poster-card > .poster-frame { display: block; }
  .poster-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .55rem; }
  .poster-card strong, .resume-card strong { left: .48rem; right: .48rem; bottom: .5rem; font-size: .69rem; line-height: 1.2; white-space: normal; }
  .resume-card > div { left: .48rem; right: .48rem; bottom: .45rem; }
  .resume-card .episode-chip { top: .35rem; left: .35rem; max-width: calc(100% - .7rem); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

  .catalog-page { width: calc(100% - 1.5rem); padding-top: 1rem; }
  .catalog-heading { margin-top: .65rem; }
  .catalog-heading h1 { font-size: 2.4rem; }
  .catalog-heading > p:last-child { font-size: .85rem; }
  .catalog-page .search-bar { grid-template-columns: 1fr 48px; gap: .4rem; }
  .catalog-page .search-bar button { min-width: 48px; width: 48px; overflow: hidden; padding-inline: .65rem; font-size: 0; }
  .catalog-page .search-bar button::before { content: "⌕"; font-size: 1.25rem; }

  .series-hero { min-height: 570px; border: 0; border-bottom: 1px solid var(--cinema-border); }
  .series-hero > img { height: 100%; object-position: center 12%; }
  .series-shade { background: linear-gradient(0deg, #050505 0, rgb(5 5 6 / 94%) 24%, rgb(5 5 6 / 18%) 70%); }
  .series-frame { width: 68%; height: 58%; top: 7%; right: 5%; border-radius: 0 58px 58px 0; }
  .series-copy { width: auto; left: 1rem; right: 1rem; bottom: 1.35rem; margin: 0; padding: 0; background: none; }
  .series-copy .back-link { top: auto; left: 0; bottom: calc(100% + 18rem); }
  .series-copy h1 { max-width: 13ch; font-size: 2.75rem; }
  .series-meta { margin-block: .5rem; }
  .series-description { margin: .7rem 0 .9rem; -webkit-line-clamp: 2; }
  .series-copy .action-row { gap: .4rem; }
  .series-copy .button { min-height: 42px; padding-inline: .8rem; font-size: .78rem; }
  .episodes-shell { padding-inline: .75rem; }
  .episode-row { min-height: 92px; grid-template-columns: 104px 1fr auto; gap: .6rem; }
  .episode-row img { width: 104px; }
  .episode-row div > span { display: none; }
  .episode-action { grid-column: auto; min-width: 44px; width: 44px; overflow: hidden; padding: 0; font-size: 0; }
  .episode-action::after { content: "▶"; font-size: .7rem; }

  .watch-stage { min-height: calc(100svh - 64px); }
  .watch-page { min-height: calc(100svh - 64px); padding-top: 0; }
  .player-topbar { background: rgb(5 5 6 / 76%); }
  .vertical-player { border-inline: 0; }
  .watch-details h1 { font-size: 2.4rem; }

  .auth-shell { width: 100%; max-width: 100%; min-height: auto; display: grid; grid-template-columns: minmax(0, 1fr); gap: .75rem; overflow: hidden; padding: .75rem .75rem 2rem; }
  .auth-visual { display: none; }
  .auth-card { width: 100%; max-width: 100%; min-width: 0; margin: 0; position: relative; padding: 1rem; border-radius: 12px; }
  .auth-card h1 { max-width: none; overflow-wrap: anywhere; font-size: 1.85rem; }
  .login-inline { width: 100%; min-width: 0; grid-template-columns: minmax(0, 1fr) 44px; }
  .auth-card input { min-width: 0; font-size: 1rem; }
  .auth-card .login-arrow { flex: 0 0 44px; width: 44px; padding: 0; }
  .purchase-cta { width: 100%; min-width: 0; }

  .checkout-shell { width: calc(100% - 1.5rem); max-width: 100%; margin-top: 1rem; overflow: hidden; }
  .checkout-heading { margin-block: .8rem 1rem; }
  .checkout-heading h1 { overflow-wrap: anywhere; font-size: 2rem; }
  .checkout-grid { width: 100%; max-width: 100%; min-width: 0; grid-template-columns: minmax(0, 1fr); gap: .7rem; }
  .offer-card, .payment-card { width: 100%; max-width: 100%; min-width: 0; overflow-wrap: anywhere; padding: 1rem; }
  .offer-card h1 { font-size: 1.85rem; }
  .payment-card .stack-form { width: 100%; min-width: 0; }
  .payment-card input { min-width: 0; font-size: 1rem; }
  .payment-card .button { width: 100%; }
  .pix-payment-panel > img { width: min(240px, 100%); height: auto; aspect-ratio: 1; }
  .copy-field { grid-template-columns: minmax(0, 1fr); }
  .copy-field .button { width: 100%; }

  .public-body .site-footer { display: none; }
}

@media (max-width: 390px) {
  .poster-rail, .resume-rail { grid-auto-columns: 31vw; }
  .poster-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .series-copy h1 { font-size: 2.45rem; }
  .checkout-shell { width: calc(100% - 1rem); }
}

/* Sales landing and checkout additions */
.sales-page { overflow: hidden; background: #070708; }
.sales-page h1, .sales-page h2 { text-wrap: balance; }
.sales-hero { width: min(1180px, calc(100% - 2rem)); min-height: 640px; display: grid; grid-template-columns: minmax(0, .88fr) minmax(480px, 1.12fr); align-items: center; gap: clamp(2rem, 5vw, 5rem); margin: 0 auto; padding: 4.5rem 0 5rem; }
.sales-hero-copy { position: relative; z-index: 2; }
.sales-kicker { margin-bottom: .7rem; color: var(--accent); font-size: .75rem; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; }
.sales-hero h1 { max-width: 10ch; margin-bottom: 1.2rem; font-family: var(--display); font-size: clamp(3.5rem, 6.4vw, 6.1rem); font-weight: 400; line-height: .92; letter-spacing: -.055em; }
.sales-lead { max-width: 52ch; margin-bottom: 1.5rem; color: #c9c9cb; font-size: 1.05rem; }
.sales-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.1rem; }
.sales-cta { min-height: 48px; padding-inline: 1.35rem; box-shadow: 0 12px 32px rgb(242 61 100 / 20%); }
.sales-text-link { min-height: 44px; display: inline-flex; align-items: center; color: #d7d7d9; font-size: .9rem; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
.sales-price-note { margin: .85rem 0 0; font-size: .82rem; }
.sales-price-note strong { color: #f1f1f2; }
.sales-product { min-height: 520px; position: relative; isolation: isolate; }
.sales-glow { position: absolute; width: 400px; height: 400px; right: 10%; top: 7%; z-index: -1; border-radius: 50%; background: rgb(242 61 100 / 24%); filter: blur(100px); }
.sales-phone, .sales-screen { overflow: hidden; border: 1px solid rgb(255 255 255 / 15%); background: #0b0b0d; box-shadow: 0 35px 90px rgb(0 0 0 / 55%); }
.sales-phone { width: 220px; aspect-ratio: 9 / 18.5; position: absolute; right: 3%; top: 1.5rem; z-index: 3; padding: .65rem; border: 5px solid #242426; border-radius: 34px; animation: sales-float 6s ease-in-out infinite; }
.sales-phone-top, .sales-screen-top { display: flex; align-items: center; justify-content: space-between; }
.sales-phone-top img { width: 86px; }
.sales-phone-hero { height: 280px; display: flex; flex-direction: column; justify-content: end; gap: .3rem; margin-top: .55rem; padding: .75rem; border-radius: 16px; background: linear-gradient(0deg, #08080a 4%, transparent 65%), radial-gradient(circle at 65% 30%, #81384c, transparent 35%), linear-gradient(135deg, #2a151b, #191117 60%, #502132); }
.sales-phone-hero span, .sales-screen-stage small { width: max-content; padding: .18rem .38rem; border-radius: 4px; color: white; background: var(--accent); font-size: .55rem; font-style: normal; }
.sales-phone-hero strong { font-family: var(--display); font-size: 1.45rem; font-weight: 400; }
.sales-phone-hero small { color: #c8c8ca; }
.sales-phone-hero b, .sales-screen-stage b { width: max-content; margin-top: .3rem; padding: .48rem .65rem; border-radius: 6px; color: white; background: var(--accent); font-size: .62rem; }
.sales-phone-rail { display: grid; grid-template-columns: repeat(3, 1fr); gap: .38rem; margin-top: .7rem; }
.sales-phone-rail i { aspect-ratio: 2 / 3; border-radius: 5px; background: linear-gradient(160deg, #592334, #171719 58%, #96344f); }
.sales-screen { width: min(610px, 88%); aspect-ratio: 16 / 10; position: absolute; left: 0; bottom: 1.75rem; padding: .75rem; border-radius: 17px; transform: perspective(900px) rotateY(-5deg) rotateX(2deg); }
.sales-screen-top img { width: 92px; }
.sales-screen-top span { color: #a5a5a7; font-size: .65rem; }
.sales-screen-stage { height: calc(100% - 2rem); display: flex; flex-direction: column; justify-content: end; align-items: flex-start; margin-top: .5rem; padding: 1.25rem; border-radius: 11px; background: linear-gradient(90deg, #070708 0, rgb(7 7 8 / 60%) 45%, transparent 75%), radial-gradient(circle at 75% 35%, #7f3047, transparent 28%), linear-gradient(135deg, #1b1115, #3a1823 55%, #121214); }
.sales-screen-stage strong { margin-top: .45rem; font-family: var(--display); font-size: 2rem; font-weight: 400; }
.sales-screen-stage p { margin: .2rem 0; color: #d2d2d3; font-size: .7rem; }
.sales-value, .sales-preview, .sales-catalog, .sales-faq { width: min(1060px, calc(100% - 2rem)); margin: 0 auto; padding: 5.5rem 0; }
.sales-value > p { margin-bottom: .65rem; color: var(--accent); font-size: .72rem; font-weight: 700; letter-spacing: .1em; }
.sales-value > h2, .sales-preview h2, .sales-catalog h2, .sales-faq h2 { max-width: 18ch; margin-bottom: 2rem; font-family: var(--display); font-size: clamp(2.15rem, 4.3vw, 3.7rem); font-weight: 400; }
.sales-value > div { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; border: 1px solid var(--border); background: var(--border); }
.sales-value article { min-height: 130px; display: grid; grid-template-columns: 28px 1fr; gap: .8rem; padding: 1.45rem; background: #101012; }
.sales-value article > span { color: var(--accent); font-weight: 700; }
.sales-value h3 { margin-bottom: .25rem; }
.sales-value article p { margin: 0; font-size: .88rem; }
.sales-preview { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 8vw, 7rem); border-top: 1px solid var(--border); }
.sales-section-copy > p:last-child { max-width: 48ch; }
.sales-steps { display: grid; gap: 0; border-top: 1px solid var(--border); }
.sales-steps article { display: grid; grid-template-columns: 42px 1fr; gap: .2rem 1rem; padding: 1.2rem 0; border-bottom: 1px solid var(--border); }
.sales-steps b { grid-row: 1 / 3; color: var(--accent); font-size: .78rem; }
.sales-steps h3, .sales-steps p { margin: 0; }
.sales-steps p { font-size: .85rem; }
.sales-catalog { padding-top: 2rem; }
.sales-poster-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: .75rem; }
.sales-poster-row i { aspect-ratio: 2 / 3; display: flex; align-items: end; overflow: hidden; padding: .8rem; position: relative; border: 1px solid var(--cinema-border); border-radius: 9px; background: linear-gradient(0deg, #080809 0, transparent 55%), linear-gradient(145deg, #351721, #101012 52%, #87304b); font-style: normal; }
.sales-poster-row i:nth-child(2) { background: linear-gradient(0deg, #080809 0, transparent 55%), linear-gradient(145deg, #26182e, #101012 48%, #4a385c); }
.sales-poster-row i:nth-child(3) { background: linear-gradient(0deg, #080809 0, transparent 55%), linear-gradient(145deg, #3b2218, #101012 48%, #71422b); }
.sales-poster-row i:nth-child(4) { background: linear-gradient(0deg, #080809 0, transparent 55%), linear-gradient(145deg, #171e34, #101012 48%, #334c83); }
.sales-poster-row span { font-size: .82rem; font-weight: 600; }
.sales-offer { width: min(700px, calc(100% - 2rem)); display: grid; justify-items: center; margin: 2rem auto 6rem; padding: clamp(2rem, 6vw, 4.5rem); border: 1px solid rgb(242 61 100 / 32%); border-radius: 18px; text-align: center; background: radial-gradient(circle at 50% 0, rgb(242 61 100 / 18%), transparent 55%), #111113; box-shadow: var(--shadow); }
.sales-offer img { width: 132px; margin-bottom: 1.75rem; }
.sales-offer p { margin-bottom: .35rem; color: var(--accent); font-size: .78rem; font-weight: 700; text-transform: uppercase; }
.sales-offer h2 { max-width: 18ch; margin-bottom: 1rem; font-size: clamp(1.7rem, 4vw, 2.7rem); }
.sales-offer > strong { font-size: clamp(2.8rem, 6vw, 4.2rem); letter-spacing: -.06em; }
.sales-offer > span, .sales-offer > small { color: var(--muted); }
.sales-offer .sales-cta { width: min(360px, 100%); margin: 1.5rem 0 .8rem; }
.sales-faq { max-width: 760px; padding-top: 1rem; }
.sales-faq details { border-top: 1px solid var(--border); }
.sales-faq details:last-child { border-bottom: 1px solid var(--border); }
.sales-faq summary { min-height: 58px; display: flex; align-items: center; justify-content: space-between; cursor: pointer; font-weight: 600; }
.sales-faq summary::after { content: "+"; color: var(--accent); font-size: 1.2rem; }
.sales-faq details[open] summary::after { content: "−"; }
.sales-faq details p { padding-right: 2rem; }
.sales-final { display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; margin-top: 3rem; padding: 2rem max(1rem, calc((100vw - 1060px) / 2)); border-top: 1px solid var(--border); background: #101012; }
.sales-final h2 { margin: 0; font-family: var(--display); font-size: clamp(1.7rem, 4vw, 2.8rem); font-weight: 400; }

.checkout-bumps { display: grid; gap: .65rem; margin: .65rem 0 0; padding: 1rem 0 0; border: 0; border-top: 1px solid var(--border); }
.checkout-bumps legend { padding: 0; color: white; font-size: 1rem; font-weight: 700; }
.checkout-bumps > p { margin: -.25rem 0 .15rem; font-size: .78rem; }
.order-bump-card { min-height: 102px; display: grid !important; grid-template-columns: 20px 60px minmax(0, 1fr) auto; align-items: center; gap: .75rem; padding: .75rem; border: 1px solid var(--border); border-radius: 9px; color: white; background: #101012; cursor: pointer; transition: border-color 160ms ease, background 160ms ease; }
.order-bump-card:hover { border-color: #4b4b4d; }
.order-bump-card.selected { border-color: var(--accent); background: rgb(242 61 100 / 7%); }
.order-bump-visual { width: 60px; aspect-ratio: 1; display: grid; place-items: center; overflow: hidden; border-radius: 8px; background: #242426; }
.order-bump-visual img { width: 100%; height: 100%; object-fit: cover; }
.order-bump-placeholder { color: var(--accent); font-family: var(--display); font-size: 2rem; }
.order-bump-copy { min-width: 0; display: grid; gap: .15rem; }
.order-bump-copy > strong { font-size: .9rem; }
.order-bump-copy small { color: var(--muted); font-size: .75rem; font-weight: 400; line-height: 1.35; }
.order-bump-price { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem; margin-top: .15rem; }
.order-bump-price s { color: #777; font-size: .72rem; font-weight: 400; }
.order-bump-price b { color: #ff819c; font-size: .85rem; }
.order-bump-action { min-width: 78px; padding: .4rem .55rem; border: 1px solid var(--border-strong); border-radius: 6px; font-size: .72rem; text-align: center; }
.selected .order-bump-action { color: white; border-color: var(--accent); background: var(--accent); }
.checkout-total { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .9rem 0; border-top: 1px solid var(--border); }
.checkout-total span { color: var(--muted); font-size: .85rem; }
.checkout-total strong { font-size: 1.35rem; }
.order-bump-admin-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.order-bump-admin-heading { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-bottom: .8rem; border-bottom: 1px solid var(--border); }
.order-bump-admin-heading span { color: var(--muted); font-size: .72rem; }
.order-bump-admin-heading h3 { margin: .15rem 0 0; }

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

@media (max-width: 840px) {
  .sales-hero { min-height: auto; grid-template-columns: 1fr; gap: .5rem; padding: 2.8rem 0 3.5rem; }
  .sales-hero-copy { text-align: center; }
  .sales-hero h1, .sales-lead { margin-inline: auto; }
  .sales-hero-actions { justify-content: center; }
  .sales-product { width: min(620px, 100%); min-height: 480px; margin: 0 auto; }
  .sales-preview { grid-template-columns: 1fr; gap: 1rem; }
  .order-bump-admin-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .sales-hero { width: calc(100% - 1.5rem); padding-top: 2rem; }
  .sales-hero h1 { font-size: clamp(3rem, 15vw, 4.4rem); }
  .sales-lead { font-size: .95rem; }
  .sales-product { min-height: 390px; }
  .sales-phone { width: 170px; right: 0; border-width: 4px; border-radius: 28px; }
  .sales-phone-hero { height: 215px; }
  .sales-phone-hero strong { font-size: 1.1rem; }
  .sales-screen { width: 84%; left: -7%; bottom: 1rem; }
  .sales-screen-stage strong { font-size: 1.25rem; }
  .sales-screen-top span { display: none; }
  .sales-value, .sales-preview, .sales-catalog, .sales-faq { width: calc(100% - 1.5rem); padding: 3.5rem 0; }
  .sales-value > div { grid-template-columns: 1fr; }
  .sales-value article { min-height: 110px; }
  .sales-poster-row { width: calc(100% + .75rem); grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 40vw; overflow-x: auto; padding-right: .75rem; }
  .sales-final { align-items: stretch; flex-direction: column; padding: 1.25rem .75rem calc(1.25rem + env(safe-area-inset-bottom)); }
  .sales-final .button { width: 100%; }
  .order-bump-card { grid-template-columns: 20px 52px minmax(0, 1fr); gap: .55rem; padding: .65rem; }
  .order-bump-visual { width: 52px; }
  .order-bump-action { grid-column: 3; justify-self: start; min-width: 0; margin-top: .15rem; }
}

/* Tutorial e instalação do webapp */
.tutorial-shell, .install-shell { width: min(760px, calc(100% - 2rem)); margin: 2rem auto 5rem; }
.tutorial-header, .install-header { margin: 1.3rem 0 1.6rem; }
.tutorial-header h1, .install-header h1 { margin: .25rem 0 .55rem; font-size: clamp(2rem, 5vw, 3rem); }
.tutorial-video { width: 100%; max-height: 430px; margin-bottom: 1.25rem; border: 1px solid var(--border); border-radius: 12px; background: #000; }
.tutorial-steps { display: grid; gap: .65rem; margin: 0; padding: 0; counter-reset: tutorial; list-style: none; }
.tutorial-steps li { min-height: 64px; display: grid; grid-template-columns: 36px 1fr; align-items: center; gap: .8rem; padding: .85rem 1rem; border: 1px solid var(--border); border-radius: 10px; background: var(--surface); }
.tutorial-steps li::before { counter-increment: tutorial; content: counter(tutorial); width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; color: white; background: var(--accent); font-size: .85rem; font-weight: 700; }
.tutorial-actions { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1.25rem; }
.tutorial-actions .form-message { flex-basis: 100%; }
.install-tabs { display: flex; gap: .35rem; margin-bottom: .8rem; padding: .25rem; border: 1px solid var(--border); border-radius: 9px; background: var(--surface); }
.install-tabs button { min-height: 42px; flex: 1; border: 0; border-radius: 7px; color: var(--muted); background: transparent; font: inherit; font-weight: 600; cursor: pointer; }
.install-tabs button.active { color: white; background: #2a2a2d; }
.install-shell [data-install-panel] { padding: 1rem 1.15rem 1.2rem; border: 1px solid var(--border); border-radius: 10px; background: var(--surface); }
.install-shell [data-install-panel] ol { display: grid; gap: .65rem; padding-left: 1.25rem; }
.pwa-install-dialog { width: min(390px, calc(100% - 1.5rem)); padding: 1.25rem; border: 1px solid #38383b; border-radius: 15px; color: white; background: #151517; box-shadow: 0 24px 80px rgb(0 0 0 / 65%); }
.pwa-install-dialog::backdrop { background: rgb(0 0 0 / 72%); backdrop-filter: blur(3px); }
.pwa-install-dialog .dialog-close { width: 40px; height: 40px; position: absolute; top: .45rem; right: .45rem; border: 0; color: var(--muted); background: transparent; font-size: 1.5rem; cursor: pointer; }
.pwa-install-dialog img { width: 54px; height: 54px; margin-bottom: .8rem; }
.pwa-install-dialog h2 { margin: 0 2rem .35rem 0; font-size: 1.35rem; }
.pwa-install-dialog > p { margin: 0 0 1rem; }
.pwa-choice { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.pwa-choice .button { width: 100%; padding-inline: .6rem; }
.pwa-instructions { min-height: 0; margin-top: .8rem; color: #d0d0d2; font-size: .86rem; line-height: 1.45; }
.pwa-instructions:empty { display: none; }
.pwa-install-dialog .text-link { display: inline-flex; min-height: 44px; align-items: center; margin-top: .45rem; }
.notification-prompt { width: min(560px, calc(100% - 1.5rem)); min-height: 78px; display: grid; grid-template-columns: 42px 1fr auto; align-items: center; gap: .8rem; position: fixed; left: 50%; bottom: 1rem; z-index: 70; padding: .75rem; transform: translateX(-50%); border: 1px solid #3d3d40; border-radius: 13px; color: white; background: rgb(20 20 22 / 97%); box-shadow: 0 18px 55px rgb(0 0 0 / 55%); backdrop-filter: blur(14px); }
.notification-prompt[hidden] { display: none; }
.notification-prompt > img { width: 42px; height: 42px; }
.notification-prompt strong, .notification-prompt p { margin: 0; }
.notification-prompt p { color: var(--muted); font-size: .78rem; }
.notification-actions { display: flex; align-items: center; gap: .4rem; }
.notification-actions > button:first-child { min-height: 40px; border: 0; color: #d3d3d5; background: transparent; cursor: pointer; }
.notification-actions .button { min-height: 40px; }

@media (max-width: 560px) {
  .tutorial-shell, .install-shell { width: calc(100% - 1.5rem); margin-top: 1rem; padding-bottom: calc(4.5rem + env(safe-area-inset-bottom)); }
  .tutorial-actions { display: grid; grid-template-columns: 1fr; }
  .tutorial-actions .button { width: 100%; }
  .notification-prompt { grid-template-columns: 38px 1fr; bottom: calc(72px + env(safe-area-inset-bottom)); }
  .notification-prompt > img { width: 38px; height: 38px; }
  .notification-actions { grid-column: 1 / -1; justify-content: end; }
}
