:root {
    color-scheme: light;
    --ink: #171b19;
    --muted: #777c76;
    --paper: #f6f5f1;
    --white: #fffefa;
    --line: #deded7;
    --coral: #e65b43;
    --green: #9ad08e;
    --font-body: 'DM Sans', sans-serif;
    --font-display: 'Manrope', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font-body); font-size: 15px; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.site-header { position: absolute; z-index: 5; top: 0; left: 0; display: flex; width: 100%; height: 82px; align-items: center; padding: 0 7.1%; color: #fff; }
.wordmark { font-family: var(--font-display); font-size: 29px; font-weight: 800; letter-spacing: 0; line-height: 1; }
.wordmark span { font-weight: 500; }
.wordmark i { color: var(--coral); font-style: normal; }
.main-nav { display: flex; gap: 35px; margin-left: 78px; font-size: 13px; color: rgba(255,255,255,.73); }
.main-nav a { padding: 8px 0; transition: color .2s ease; }
.main-nav a:hover, .main-nav a.is-active { color: #fff; }
.main-nav a.is-active { box-shadow: 0 1px var(--coral); }
.header-actions { display: flex; align-items: center; gap: 11px; margin-left: auto; }
.user-greeting { margin-right: 5px; color: rgba(255,255,255,.86); font-size: 13px; }
.inline-form { display: inline-flex; margin: 0; }
.button { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; gap: 12px; padding: 0 19px; border: 1px solid transparent; border-radius: 4px; cursor: pointer; font-size: 13px; font-weight: 700; transition: background .2s ease, color .2s ease, transform .2s ease; }
.button:hover { transform: translateY(-1px); }
.button-quiet { color: #fff; background: transparent; border-color: rgba(255,255,255,.32); }
.button-quiet:hover { background: rgba(255,255,255,.1); }
.button-small { min-height: 40px; color: var(--ink); background: #fff; }
.button-small:hover { background: var(--green); }
.button-primary { color: #fff; background: var(--coral); }
.button-primary:hover { background: #ca4935; }
.hero { position: relative; display: flex; min-height: 660px; height: min(790px, 92vh); align-items: center; overflow: hidden; padding: 95px 7.1% 62px; color: #fff; background: #202520; }
.hero::before { position: absolute; inset: 0; content: ''; background-image: var(--hero-image); background-position: center 43%; background-size: cover; animation: hero-reveal .9s ease-out both; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(16,21,18,.9) 0%, rgba(16,21,18,.68) 36%, rgba(16,21,18,.1) 78%), linear-gradient(0deg, rgba(16,21,18,.5), transparent 28%); }
.hero-copy { position: relative; z-index: 1; width: min(555px, 60%); padding-top: 22px; animation: copy-rise .65s .1s both; }
.eyebrow { display: flex; align-items: center; gap: 9px; margin: 0 0 19px; color: rgba(255,255,255,.7); font-size: 10px; font-weight: 700; letter-spacing: 1.4px; }
.live-dot { display: inline-block; width: 7px; height: 7px; flex: 0 0 7px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 3px rgba(230,91,67,.16); }
.hero h1, .detail-content h1 { margin: 0; font-family: var(--font-display); font-size: clamp(55px, 7vw, 94px); font-weight: 700; letter-spacing: 0; line-height: .99; }
.hero-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 25px; color: rgba(255,255,255,.76); font-size: 12px; }
.meta-divider { width: 3px; height: 3px; border-radius: 50%; background: rgba(255,255,255,.58); }
.age-mark { padding: 3px 5px; border: 1px solid rgba(255,255,255,.5); border-radius: 2px; font-size: 10px; }
.hero-description { max-width: 440px; margin: 17px 0 23px; color: rgba(255,255,255,.76); font-size: 14px; line-height: 1.8; }
.hero-actions { display: flex; align-items: center; gap: 22px; }
.play-icon { font-size: 11px; }
.status-label { display: inline-flex; align-items: center; gap: 9px; color: rgba(255,255,255,.8); font-size: 12px; }
.status-label .live-dot { width: 6px; height: 6px; flex-basis: 6px; background: var(--green); box-shadow: 0 0 0 3px rgba(154,208,142,.15); }
.hero-caption { position: absolute; right: 7.1%; bottom: 37px; left: 7.1%; display: flex; justify-content: space-between; color: rgba(255,255,255,.55); font-size: 9px; font-weight: 600; letter-spacing: 1.3px; }
.catalog-section { padding: 85px 7.1% 96px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 34px; }
.eyebrow-dark { margin-bottom: 11px; color: var(--muted); }
.section-heading h2, .membership-strip h2 { margin: 0; font-family: var(--font-display); font-size: 31px; font-weight: 700; letter-spacing: 0; line-height: 1.2; }
.section-heading h2 span, .auth-form-wrap h1 span, .membership-strip h2 span { color: var(--coral); }
.search-box { display: flex; width: min(285px, 40%); height: 42px; align-items: center; gap: 9px; padding: 0 12px; border-bottom: 1px solid #bfc1ba; color: var(--muted); }
.search-icon { font-size: 24px; line-height: 1; transform: rotate(-20deg); }
.search-box input { width: 100%; border: 0; outline: 0; color: var(--ink); background: transparent; font-size: 12px; }
.search-box input::placeholder { color: #858982; }
.series-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 25px; }
.series-card { min-width: 0; }
.poster-wrap { position: relative; overflow: hidden; aspect-ratio: 2 / 3; background: #d4d4cc; }
.poster-wrap::after { position: absolute; inset: 45% 0 0; content: ''; background: linear-gradient(0deg, rgba(17,22,19,.43), transparent); pointer-events: none; }
.poster-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2,.75,.25,1); }
.series-card:hover .poster-wrap img { transform: scale(1.045); }
.poster-status { position: absolute; z-index: 1; top: 13px; display: inline-flex; align-items: center; gap: 7px; min-height: 27px; padding: 0 9px; border-radius: 2px; color: #fff; background: rgba(20,25,22,.67); font-size: 10px; backdrop-filter: blur(8px); }
.poster-status { left: 13px; }
.poster-status.is-live .live-dot { width: 5px; height: 5px; flex-basis: 5px; background: var(--green); box-shadow: none; }
.poster-open { position: absolute; z-index: 1; right: 14px; bottom: 12px; color: #fff; font-size: 20px; opacity: 0; transform: translate(-4px, 4px); transition: .25s ease; }
.series-card:hover .poster-open { opacity: 1; transform: translate(0); }
.card-details { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 15px; }
.card-details h3 { margin: 0; font-family: var(--font-display); font-size: 18px; font-weight: 700; }
.card-details p { margin: 5px 0 0; color: var(--muted); font-size: 11px; }
.episode-count { color: var(--muted); font-size: 10px; white-space: nowrap; }
.empty-search { grid-column: 1 / -1; padding: 24px 0; color: var(--muted); }
.membership-strip { display: grid; min-height: 190px; grid-template-columns: 66px 1.15fr 1fr auto; align-items: center; gap: 25px; padding: 35px 7.1%; color: #fff; background: #202824; }
.strip-mark { color: var(--green); font-family: var(--font-display); font-size: 45px; font-weight: 800; }
.strip-mark span { color: var(--coral); }
.membership-strip .eyebrow { margin-bottom: 10px; }
.membership-strip h2 { font-size: 22px; }
.membership-strip > p { max-width: 290px; margin: 0; color: rgba(255,255,255,.64); font-size: 12px; line-height: 1.75; }
.text-link { display: inline-flex; gap: 10px; align-items: center; color: var(--green); font-size: 12px; font-weight: 700; white-space: nowrap; }
.text-link span { font-size: 18px; }
.site-footer { display: flex; min-height: 95px; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 7.1%; color: var(--muted); }
.wordmark-footer { color: var(--ink); font-size: 22px; }
.site-footer p, .site-footer > span { margin: 0; font-size: 11px; }
.detail-hero { position: relative; display: flex; min-height: 490px; align-items: center; overflow: hidden; padding: 112px 7.1% 53px; color: #fff; background: #202520; }
.detail-image { position: absolute; inset: 0; background-image: linear-gradient(90deg, rgba(17,22,19,.94) 0%, rgba(17,22,19,.76) 42%, rgba(17,22,19,.15) 100%), linear-gradient(0deg, rgba(17,22,19,.42), transparent 45%), var(--detail-image); background-position: center; background-size: cover; }
.detail-content { position: relative; width: min(700px, 100%); animation: copy-rise .55s both; }
.back-link { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 42px; color: rgba(255,255,255,.75); font-size: 12px; }
.back-link span { font-size: 17px; }
.detail-content .eyebrow { margin-bottom: 15px; }
.detail-content h1 { font-size: clamp(48px, 6.5vw, 75px); }
.detail-content .hero-meta { margin-top: 18px; }
.detail-content .hero-description { max-width: 500px; margin-bottom: 16px; }
.detail-rating { color: rgba(255,255,255,.63); font-size: 11px; }
.detail-rating span { margin-right: 6px; color: #f1c46d; }
.episodes-section { padding: 65px 7.1% 88px; }
.episode-heading { margin-bottom: 20px; }
.episode-heading h2 { font-size: 28px; }
.episode-total { color: var(--muted); font-size: 11px; }
.episode-list { border-top: 1px solid var(--line); }
.episode-row { display: grid; min-height: 78px; grid-template-columns: 55px 1fr 90px 156px; align-items: center; gap: 14px; border-bottom: 1px solid var(--line); }
.episode-number { color: #a1a49d; font-family: var(--font-display); font-size: 18px; }
.episode-info h3 { margin: 0; font-size: 13px; font-weight: 700; }
.episode-info p { margin: 5px 0 0; color: var(--muted); font-size: 10px; }
.episode-duration { color: var(--muted); font-size: 10px; }
.download-button { display: inline-flex; min-height: 37px; align-items: center; justify-content: center; gap: 7px; border: 1px solid #c7c9c1; border-radius: 3px; font-size: 11px; font-weight: 700; transition: background .2s ease, border-color .2s ease; }
.download-button:hover { border-color: var(--ink); background: #ebeae3; }
.download-button > span:first-child { font-size: 16px; }
.download-button.is-locked { color: #7c807a; }
.episode-actions { display: flex; gap: 6px; }
.episode-actions .download-button { min-width: 0; flex: 1; }
.watch-episode-button { color: #fff; border-color: #293b31; background: #293b31; }
.watch-episode-button:hover { color: #fff; border-color: #3d5a46; background: #3d5a46; }
.login-note { margin: 19px 0 0; color: var(--muted); font-size: 11px; }
.login-note > span { margin-right: 5px; color: var(--coral); }
.login-note a { color: var(--ink); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.auth-layout { display: grid; min-height: 100vh; grid-template-columns: 1fr 1fr; background: var(--white); }
.auth-art { position: relative; display: flex; min-height: 620px; flex-direction: column; justify-content: space-between; overflow: hidden; padding: 34px 8%; color: #fff; background: #1e2822; }
.auth-art::before { position: absolute; inset: 0; content: ''; background-image: linear-gradient(0deg, rgba(12,20,15,.8), rgba(12,20,15,.12) 70%), var(--auth-image); background-position: center; background-size: cover; }
.auth-wordmark, .auth-art-copy, .art-index { position: relative; z-index: 1; }
.auth-art-copy { padding-bottom: 18px; }
.auth-art-copy h2 { margin: 0 0 14px; font-family: var(--font-display); font-size: clamp(40px, 5vw, 68px); font-weight: 700; letter-spacing: 0; line-height: 1.04; }
.auth-art-copy > span { color: rgba(255,255,255,.73); font-size: 13px; }
.art-index { color: rgba(255,255,255,.57); font-size: 9px; letter-spacing: 1.4px; }
.auth-panel { display: flex; min-height: 620px; align-items: center; justify-content: center; padding: 45px 10%; }
.auth-form-wrap { width: min(390px, 100%); }
.back-link-dark { margin-bottom: 44px; color: var(--muted); }
.auth-form-wrap > .eyebrow { margin-bottom: 10px; }
.auth-form-wrap h1 { margin: 0; font-family: var(--font-display); font-size: 35px; font-weight: 700; letter-spacing: 0; }
.auth-intro { margin: 10px 0 25px; color: var(--muted); font-size: 13px; }
.auth-form { display: grid; gap: 17px; }
.auth-form label { display: grid; gap: 8px; font-size: 11px; font-weight: 700; }
.auth-form input { width: 100%; height: 45px; padding: 0 12px; border: 1px solid #d9dad3; border-radius: 3px; outline: 0; background: #fff; font-size: 12px; transition: border-color .2s ease, box-shadow .2s ease; }
.auth-form input:focus { border-color: #72786f; box-shadow: 0 0 0 3px rgba(35,46,39,.08); }
.auth-form input::placeholder { color: #a2a59e; }
.auth-submit { width: 100%; min-height: 47px; justify-content: space-between; margin-top: 7px; padding: 0 16px; }
.auth-submit span { font-size: 17px; }
.auth-switch { margin: 23px 0 0; color: var(--muted); text-align: center; font-size: 11px; }
.auth-switch a { color: var(--ink); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.form-error { margin: -6px 0 18px; padding: 11px 12px; border-left: 3px solid var(--coral); color: #a53b2c; background: #fff0ec; font-size: 11px; line-height: 1.5; }
.message-page { min-height: 65vh; padding: 160px 7.1% 80px; }
.message-page h1 { max-width: 620px; margin: 0 0 25px; font-family: var(--font-display); font-size: 48px; }
.admin-intro { display: flex; min-height: 275px; align-items: end; justify-content: space-between; gap: 24px; padding: 126px 7.1% 38px; color: #fff; background: linear-gradient(110deg, #202824 0%, #33413a 100%); }
.admin-intro h1 { margin: 0; font-family: var(--font-display); font-size: clamp(36px, 5vw, 58px); letter-spacing: 0; }
.admin-intro h1 span { color: var(--coral); }
.admin-intro > div > p:last-child { margin: 10px 0 0; color: rgba(255,255,255,.68); font-size: 12px; }
.admin-intro > .button { flex: 0 0 auto; }
.admin-workspace { padding: 38px 7.1% 90px; }
.admin-feedback { max-width: 780px; margin: 0 0 24px; }
.form-success { padding: 11px 12px; border-left: 3px solid #5b9a55; color: #356a31; background: #edf7e9; font-size: 11px; line-height: 1.5; }
.admin-stats { display: flex; gap: 55px; padding: 0 0 28px; border-bottom: 1px solid var(--line); }
.admin-stats > div { display: flex; align-items: baseline; gap: 10px; }
.admin-stats > div > span { font-family: var(--font-display); font-size: 25px; font-weight: 700; }
.admin-stats p { margin: 0; color: var(--muted); font-size: 11px; }
.admin-panels { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; }
.admin-panel { min-width: 0; padding: 31px 0 39px; border-bottom: 1px solid var(--line); }
.admin-panel-heading { margin-bottom: 23px; }
.admin-panel-heading .eyebrow { margin-bottom: 8px; }
.admin-panel-heading h2 { margin: 0; font-family: var(--font-display); font-size: 22px; }
.admin-panel-heading > p:last-child { margin: 7px 0 0; color: var(--muted); font-size: 11px; line-height: 1.6; }
.admin-form { display: grid; gap: 15px; }
.admin-form label { display: grid; min-width: 0; gap: 7px; font-size: 11px; font-weight: 700; }
.admin-form label small { color: var(--muted); font-size: 9px; font-weight: 400; }
.admin-form input:not([type="checkbox"]), .admin-form select, .admin-form textarea { width: 100%; min-width: 0; min-height: 41px; padding: 9px 11px; border: 1px solid #d9dad3; border-radius: 3px; outline: 0; background: #fff; color: var(--ink); font-size: 11px; }
.admin-form textarea { min-height: 80px; resize: vertical; line-height: 1.55; }
.admin-form input:focus, .admin-form select:focus, .admin-form textarea:focus { border-color: #72786f; box-shadow: 0 0 0 3px rgba(35,46,39,.08); }
.admin-form input.file-input { padding: 7px; color: var(--muted); }
.admin-form input.file-input::file-selector-button { margin-right: 10px; padding: 6px 9px; border: 0; border-radius: 2px; color: var(--ink); background: #eeeee8; font-size: 10px; cursor: pointer; }
.form-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
.upload-mode { min-width: 0; margin: 0; padding: 0; border: 0; }
.upload-mode legend { margin-bottom: 8px; font-size: 11px; font-weight: 700; }
.mode-options { display: flex; }
.mode-options label { display: inline-flex !important; width: fit-content; min-height: 0; align-items: center; gap: 7px !important; color: var(--muted); cursor: pointer; font-size: 10px !important; font-weight: 600 !important; }
.mode-options input { width: 14px; height: 14px; margin: 0; accent-color: var(--coral); }
.video-path-hint { margin: -6px 0 0; overflow-wrap: anywhere; color: #497345; font-family: ui-monospace, Consolas, monospace; font-size: 10px; line-height: 1.6; }
.check-label { display: flex !important; align-items: center; gap: 8px !important; color: var(--muted); font-weight: 500 !important; }
.check-label input { accent-color: var(--coral); }
.admin-submit { justify-self: start; min-width: 175px; justify-content: space-between; margin-top: 4px; }
.admin-empty { padding: 17px 0; color: var(--muted); font-size: 12px; }
.admin-table-section { padding-top: 33px; }
.admin-table-wrap { overflow-x: auto; }
.admin-table { width: 100%; border-collapse: collapse; text-align: left; }
.admin-table th { padding: 11px 12px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 9px; font-weight: 600; }
.admin-table td { padding: 14px 12px; border-bottom: 1px solid var(--line); font-size: 11px; }
.admin-table td:first-child { min-width: 180px; }
.admin-table td strong, .admin-table td small { display: block; }
.admin-table td small { margin-top: 4px; color: var(--muted); font-size: 9px; }
.table-link { color: #497345; font-weight: 700; white-space: nowrap; }
.admin-edit-form { margin: 0 0 24px; padding: 20px; border: 1px solid var(--line); background: #fffefa; }
.admin-edit-form h3 { margin: 0; font-family: var(--font-display); font-size: 17px; }
.admin-edit-actions, .admin-row-actions { display: flex; align-items: center; gap: 8px; }
.admin-edit-actions { flex-wrap: wrap; }
.admin-edit-actions .admin-submit { margin-top: 0; }
.admin-row-actions { white-space: nowrap; }
.admin-row-actions .table-action { display: inline-flex; align-items: center; min-height: 28px; text-decoration: none; }
.table-action-danger { border-color: #d9aaa0; color: #a53b2c; }
.table-action-danger:hover { background: #fff0ec; }
.button-vip { color: #302717; background: #e7c873; }
.button-vip:hover { background: #f0d991; }
.vip-hero { position: relative; display: flex; min-height: 390px; align-items: end; justify-content: space-between; overflow: hidden; padding: 120px 7.1% 48px; color: #fff; background: radial-gradient(ellipse at 82% 35%, rgba(193,156,79,.2), transparent 34%), linear-gradient(115deg, #1c2420, #303a32); }
.vip-hero h1 { margin: 0; font-family: var(--font-display); font-size: clamp(46px, 6vw, 72px); line-height: 1.02; }
.vip-hero h1 span { color: #e7c873; }
.vip-hero > div:first-child > p:last-child { max-width: 420px; margin: 16px 0 0; color: rgba(255,255,255,.66); font-size: 13px; line-height: 1.7; }
.vip-star { color: #e7c873; font-size: 15px; }
.vip-hero-mark { color: rgba(231,200,115,.16); font-family: var(--font-display); font-size: clamp(80px, 15vw, 180px); font-weight: 800; line-height: .8; }
.vip-hero-mark span { color: var(--coral); }
.vip-content { padding: 38px 7.1% 86px; }
.vip-notice { max-width: 900px; margin: 0 auto 20px; }
.vip-account-status { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 23px 26px; border: 1px solid var(--line); background: #fffefa; }
.vip-account-status.is-active { border-color: #c9d8bc; background: #f2f7ed; }
.vip-account-status .eyebrow { margin-bottom: 8px; }
.vip-account-status h2 { margin: 0; font-family: var(--font-display); font-size: 19px; }
.vip-account-status p:last-child { margin: 6px 0 0; color: var(--muted); font-size: 11px; }
.vip-account-status strong { color: var(--ink); }
.vip-status-mark { color: #c3a14d; font-size: 33px; }
.vip-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin: 53px 0 22px; }
.vip-section-heading h2, .redeem-section h2 { margin: 0; font-family: var(--font-display); font-size: 27px; }
.vip-section-heading h2 span, .redeem-section h2 span { color: var(--coral); }
.whatsapp-link { display: inline-flex; min-height: 39px; align-items: center; gap: 8px; padding: 0 12px; border: 1px solid #9bbc91; border-radius: 3px; color: #355d36; font-size: 11px; font-weight: 700; }
.whatsapp-link:hover { background: #edf5e9; }
.vip-plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.vip-plan { position: relative; display: flex; min-height: 185px; flex-direction: column; align-items: start; padding: 22px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fffefa; }
.vip-plan.is-popular { background: #f8f4e7; }
.vip-plan > p { margin: 0 0 13px; color: var(--muted); font-size: 11px; }
.vip-plan h3 { margin: 0 0 7px; font-family: var(--font-display); font-size: 24px; }
.vip-plan > span:not(.plan-tag) { color: var(--muted); font-size: 10px; }
.vip-plan > a { display: inline-flex; gap: 8px; align-items: center; margin-top: auto; padding-top: 17px; color: #497345; font-size: 10px; font-weight: 700; }
.vip-plan > a span { font-size: 15px; }
.plan-tag { position: absolute; top: 0; right: 0; padding: 5px 8px; color: #fff; background: #a2873c; font-size: 8px; font-weight: 700; letter-spacing: .6px; }
.redeem-section { display: grid; grid-template-columns: 1fr minmax(280px, .9fr); align-items: center; gap: 40px; margin-top: 54px; padding: 30px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.redeem-section .eyebrow { margin-bottom: 9px; }
.redeem-section > div > p:last-child { max-width: 420px; margin: 10px 0 0; color: var(--muted); font-size: 11px; line-height: 1.7; }
.redeem-form { display: grid; gap: 8px; }
.redeem-form > label { font-size: 11px; font-weight: 700; }
.redeem-form > div { display: flex; gap: 8px; }
.redeem-form input { width: 100%; min-width: 0; height: 44px; padding: 0 12px; border: 1px solid #d9dad3; border-radius: 3px; outline: 0; background: #fff; font-family: ui-monospace, Consolas, monospace; font-size: 12px; text-transform: uppercase; }
.redeem-form input:focus { border-color: #72786f; box-shadow: 0 0 0 3px rgba(35,46,39,.08); }
.redeem-form .button { min-height: 44px; flex: 0 0 auto; }
.vip-help { margin: 17px 0 0; color: var(--muted); font-size: 10px; }
.vip-help a { color: #497345; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.vip-episode-label { display: inline-block; margin-left: 5px; padding: 2px 5px; border-radius: 2px; color: #705719; background: #f3e8c5; font-size: 8px; vertical-align: 2px; }
.admin-management-grid { display: grid; grid-template-columns: minmax(250px, .72fr) minmax(0, 1.28fr); gap: 42px; padding-top: 16px; }
.admin-management-grid .admin-panel { min-width: 0; }
.generated-code { display: flex; max-width: 780px; align-items: center; justify-content: space-between; gap: 18px; margin: 0 0 23px; padding: 16px 18px; border: 1px solid #d8c47f; background: #fbf6e4; }
.generated-code .eyebrow { margin-bottom: 7px; }
.generated-code code { color: #453915; font-family: ui-monospace, Consolas, monospace; font-size: 19px; font-weight: 700; letter-spacing: 1px; }
.copy-code-button { width: 39px; height: 39px; border: 1px solid #c5b574; border-radius: 3px; color: #453915; background: transparent; cursor: pointer; font-size: 20px; }
.copy-code-button:hover { background: #f1e7c4; }
.access-badge { display: inline-block; padding: 4px 7px; border-radius: 2px; color: #50554f; background: #eeeee8; font-size: 9px; white-space: nowrap; }
.access-badge.is-vip { color: #705719; background: #f3e8c5; }
.table-action { padding: 6px 8px; border: 1px solid #c7c9c1; border-radius: 3px; color: var(--ink); background: transparent; cursor: pointer; font-size: 9px; font-weight: 700; white-space: nowrap; }
.table-action:hover { background: #ebeae3; }
.watch-page { min-height: calc(100vh - 95px); padding: 125px 7.1% 78px; color: #fff; background: #171b19; }
.watch-shell { width: min(1180px, 100%); margin: 0 auto; }
.watch-back { margin-bottom: 30px; color: rgba(255,255,255,.65); }
.watch-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 20px; }
.watch-heading .eyebrow { margin-bottom: 9px; font-size: 9px; }
.watch-heading h1 { margin: 0; font-family: var(--font-display); font-size: clamp(25px, 3vw, 38px); font-weight: 700; letter-spacing: 0; }
.watch-download { min-height: 39px; flex: 0 0 auto; gap: 8px; font-size: 11px; }
.watch-download > span { font-size: 17px; }
.video-frame { overflow: hidden; aspect-ratio: 16 / 9; border: 1px solid rgba(255,255,255,.1); background: #050606; }
.video-frame video { display: block; width: 100%; height: 100%; object-fit: contain; background: #050606; }
.watch-details { display: flex; align-items: start; justify-content: space-between; gap: 24px; padding: 21px 0 0; }
.watch-details > div { max-width: 620px; }
.watch-episode-label { margin: 0 0 8px !important; color: rgba(255,255,255,.58); font-size: 10px !important; font-weight: 700; letter-spacing: .6px; }
.watch-episode-label span { padding: 0 4px; color: var(--coral); }
.watch-details > div > p:last-child { margin: 0; color: rgba(255,255,255,.76); font-size: 12px; line-height: 1.7; }
.episode-navigation { display: flex; flex: 0 0 auto; gap: 9px; }
.episode-navigation a { display: inline-flex; min-height: 37px; align-items: center; gap: 7px; padding: 0 11px; border: 1px solid rgba(255,255,255,.22); border-radius: 3px; color: rgba(255,255,255,.82); font-size: 10px; font-weight: 600; transition: background .2s ease; }
.episode-navigation a:hover { background: rgba(255,255,255,.1); }

@keyframes hero-reveal { from { transform: scale(1.025); opacity: .6; } to { transform: scale(1); opacity: 1; } }
@keyframes copy-rise { from { transform: translateY(12px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

@media (max-width: 800px) {
    .site-header { height: 70px; padding: 0 5%; }
    .main-nav { gap: 19px; margin-left: 35px; }
    .hero { min-height: 610px; height: 82vh; padding-right: 5%; padding-left: 5%; }
    .hero-copy { width: min(540px, 78%); }
    .hero-shade { background: linear-gradient(90deg, rgba(16,21,18,.88), rgba(16,21,18,.45) 67%, rgba(16,21,18,.1)), linear-gradient(0deg, rgba(16,21,18,.5), transparent 30%); }
    .hero-caption { right: 5%; left: 5%; }
    .catalog-section { padding: 68px 5% 76px; }
    .series-grid { gap: 17px; }
    .membership-strip { grid-template-columns: 50px 1fr auto; gap: 18px; padding-right: 5%; padding-left: 5%; }
    .membership-strip > p { grid-column: 2; grid-row: 2; }
    .membership-strip .text-link { grid-column: 3; grid-row: 1 / span 2; }
    .site-footer { padding-right: 5%; padding-left: 5%; }
    .detail-hero, .episodes-section { padding-right: 5%; padding-left: 5%; }
    .auth-art { padding-right: 7%; padding-left: 7%; }
    .auth-panel { padding-right: 7%; padding-left: 7%; }
    .admin-intro, .admin-workspace { padding-right: 5%; padding-left: 5%; }
    .admin-panels { gap: 28px; }
    .watch-page { padding-right: 5%; padding-left: 5%; }
    .vip-content { padding-right: 5%; padding-left: 5%; }
    .admin-management-grid { grid-template-columns: 1fr; gap: 0; }
}

@media (max-width: 560px) {
    .site-header { height: 65px; }
    .wordmark { font-size: 25px; }
    .main-nav { display: none; }
    .header-actions { gap: 7px; }
    .header-actions .button { min-height: 36px; padding: 0 12px; font-size: 11px; }
    .user-greeting { display: none; }
    .hero { min-height: 610px; height: 83svh; max-height: 760px; align-items: end; padding: 0 6% 90px; }
    .hero::before { background-position: 58% center; }
    .hero-shade { background: linear-gradient(0deg, rgba(16,21,18,.92), rgba(16,21,18,.46) 63%, rgba(16,21,18,.18)); }
    .hero-copy { width: 100%; padding: 0; }
    .hero h1 { font-size: clamp(50px, 14vw, 68px); }
    .hero-meta { gap: 8px; margin-top: 17px; font-size: 10px; }
    .hero-description { max-width: 370px; margin: 13px 0 18px; font-size: 12px; }
    .hero-actions { gap: 14px; }
    .hero-actions .button { min-height: 42px; padding: 0 13px; font-size: 11px; }
    .status-label { font-size: 10px; }
    .hero-caption { right: 6%; bottom: 22px; left: 6%; font-size: 8px; }
    .catalog-section { padding: 53px 6% 62px; }
    .section-heading { align-items: start; flex-direction: column; gap: 18px; margin-bottom: 22px; }
    .section-heading h2 { font-size: 26px; }
    .search-box { width: 100%; }
    .series-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 23px 13px; }
    .poster-status { top: 8px; min-height: 24px; padding: 0 7px; font-size: 8px; }
    .poster-status { left: 7px; }
    .card-details { align-items: start; padding-top: 10px; }
    .card-details h3 { font-size: 14px; }
    .card-details p { font-size: 9px; }
    .episode-count { padding-top: 3px; font-size: 8px; }
    .membership-strip { grid-template-columns: 38px 1fr; gap: 10px 14px; padding: 26px 6%; }
    .strip-mark { grid-row: 1; font-size: 34px; }
    .membership-strip h2 { font-size: 18px; }
    .membership-strip .eyebrow { font-size: 8px; }
    .membership-strip > p { grid-column: 2; grid-row: 2; font-size: 11px; }
    .membership-strip .text-link { grid-column: 2; grid-row: 3; }
    .site-footer { min-height: 83px; flex-wrap: wrap; padding: 19px 6%; }
    .site-footer p { display: none; }
    .site-footer > span { font-size: 9px; }
    .detail-hero { min-height: 510px; align-items: end; padding: 100px 6% 45px; }
    .detail-image { background-position: 58% center; }
    .back-link { margin-bottom: 38px; }
    .detail-content h1 { font-size: 50px; }
    .detail-content .hero-meta { gap: 8px; font-size: 10px; }
    .detail-content .hero-description { font-size: 12px; }
    .episodes-section { padding: 47px 6% 68px; }
    .episode-heading { align-items: end; flex-direction: row; }
    .episode-heading h2 { font-size: 24px; }
    .episode-row { min-height: 70px; grid-template-columns: 33px 1fr 112px; gap: 8px; }
    .episode-duration { display: none; }
    .download-button { min-height: 35px; }
    .download-label { font-size: 10px; }
    .episode-actions { gap: 5px; }
    .episode-actions .download-button { gap: 5px; padding: 0 6px; font-size: 10px; }
    .watch-page { min-height: 74vh; padding: 100px 6% 55px; }
    .watch-back { margin-bottom: 26px; }
    .watch-heading { align-items: start; flex-direction: column; gap: 14px; margin-bottom: 14px; }
    .watch-heading h1 { font-size: 27px; }
    .watch-download { min-height: 35px; }
    .video-frame { aspect-ratio: 16 / 9; }
    .watch-details { flex-direction: column; gap: 17px; padding-top: 16px; }
    .episode-navigation { width: 100%; justify-content: space-between; }
    .login-note { line-height: 1.7; }
    .auth-layout { grid-template-columns: 1fr; }
    .auth-art { min-height: 236px; padding: 21px 6%; }
    .auth-art-copy { padding-bottom: 0; }
    .auth-art-copy .eyebrow { margin-bottom: 8px; font-size: 8px; }
    .auth-art-copy h2 { margin-bottom: 7px; font-size: 35px; }
    .auth-art-copy > span { font-size: 11px; }
    .art-index { display: none; }
    .auth-panel { min-height: auto; align-items: start; padding: 35px 7% 48px; }
    .back-link-dark { margin-bottom: 31px; }
    .auth-form-wrap h1 { font-size: 29px; }
    .message-page { min-height: 65vh; padding: 125px 6% 70px; }
    .message-page h1 { font-size: 37px; }
    .vip-hero { min-height: 325px; padding: 100px 6% 34px; }
    .vip-hero h1 { font-size: 48px; }
    .vip-hero-mark { display: none; }
    .vip-content { padding: 26px 6% 60px; }
    .vip-account-status { padding: 17px; }
    .vip-section-heading { align-items: start; flex-direction: column; margin-top: 38px; }
    .vip-section-heading h2, .redeem-section h2 { font-size: 24px; }
    .vip-plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .vip-plan { min-height: 158px; padding: 15px; }
    .vip-plan h3 { font-size: 20px; }
    .redeem-section { grid-template-columns: 1fr; gap: 22px; margin-top: 39px; padding: 25px 0; }
    .redeem-form > div { flex-direction: column; }
    .redeem-form .button { width: 100%; }
    .generated-code { padding: 12px; }
    .generated-code code { font-size: 15px; }
    .admin-management-grid { padding-top: 0; }
    .admin-intro { min-height: 240px; align-items: start; flex-direction: column; justify-content: end; gap: 17px; padding: 105px 6% 25px; }
    .admin-intro h1 { font-size: 39px; }
    .admin-workspace { padding: 28px 6% 65px; }
    .admin-stats { gap: 20px; }
    .admin-stats > div { align-items: start; flex-direction: column; gap: 1px; }
    .admin-panels { grid-template-columns: 1fr; gap: 0; }
    .admin-panel { padding: 26px 0 30px; }
    .admin-panel-heading h2 { font-size: 20px; }
    .form-pair { gap: 9px; }
    .admin-table th, .admin-table td { padding-right: 8px; padding-left: 8px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

:root {
    --ink: #17221d;
    --muted: #69766f;
    --paper: #f2f5f0;
    --white: #fbfcf9;
    --line: #d9e1da;
    --coral: #f06a4c;
    --green: #a9d995;
    --font-display: 'Space Grotesk', sans-serif;
}

body { background: var(--paper); }
::selection { color: #142019; background: #b9e0a8; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid #e49a59; outline-offset: 3px; }
.site-header { height: 76px; padding-right: max(5.5%, calc((100vw - 1440px) / 2)); padding-left: max(5.5%, calc((100vw - 1440px) / 2)); background: linear-gradient(180deg, rgba(14,25,20,.78), rgba(14,25,20,.18)); backdrop-filter: blur(8px); }
.wordmark { font-size: 28px; }
.main-nav { gap: 30px; margin-left: 65px; font-size: 12px; font-weight: 600; }
.main-nav a.is-active { box-shadow: 0 2px var(--green); }
.button { min-height: 43px; border-radius: 3px; font-size: 12px; }
.button-quiet { border-color: rgba(255,255,255,.4); }
.button-primary { box-shadow: 0 6px 20px rgba(240,106,76,.2); }
.hero { min-height: 690px; height: min(820px, 91svh); padding: 110px max(7.5%, calc((100vw - 1320px) / 2)) 74px; }
.hero::before { background-position: center 39%; filter: saturate(.82) contrast(1.04); }
.hero-shade { background: linear-gradient(90deg, rgba(13,24,19,.91) 0%, rgba(13,24,19,.7) 34%, rgba(13,24,19,.14) 78%), linear-gradient(0deg, rgba(13,24,19,.58), transparent 32%); }
.hero-copy { width: min(590px, 65%); padding-top: 35px; }
.eyebrow { gap: 11px; font-size: 9px; letter-spacing: 1.7px; }
.hero .eyebrow { color: rgba(255,255,255,.8); }
.hero .eyebrow::after { width: 36px; height: 1px; content: ''; background: var(--coral); }
.live-dot { background: var(--coral); box-shadow: 0 0 0 4px rgba(240,106,76,.14); }
.hero h1 { max-width: 650px; font-size: clamp(64px, 8.4vw, 108px); font-weight: 600; line-height: .92; text-wrap: balance; }
.hero-meta { gap: 14px; margin-top: 27px; font-size: 11px; }
.hero-description { max-width: 445px; margin-top: 19px; color: rgba(255,255,255,.82); font-size: 13px; line-height: 1.85; }
.hero-actions { gap: 24px; }
.hero-actions .button { min-height: 49px; padding: 0 21px; }
.status-label { font-size: 11px; }
.status-label .live-dot { background: var(--green); box-shadow: 0 0 0 4px rgba(169,217,149,.12); }
.hero-caption { right: max(7.5%, calc((100vw - 1320px) / 2)); bottom: 30px; left: max(7.5%, calc((100vw - 1320px) / 2)); padding-top: 14px; border-top: 1px solid rgba(255,255,255,.24); font-size: 8px; }
.catalog-section { max-width: 1600px; margin: 0 auto; padding: 82px max(7.1%, calc((100vw - 1320px) / 2)) 94px; }
.section-heading { align-items: end; margin-bottom: 30px; }
.eyebrow-dark { color: #77837c; }
.section-heading h2, .membership-strip h2 { font-size: clamp(26px, 3vw, 34px); letter-spacing: 0; }
.section-heading h2 span { color: var(--coral); }
.search-box { width: min(300px, 38%); height: 44px; padding: 0 13px; border: 1px solid #cdd7cf; border-radius: 3px; background: rgba(255,255,255,.62); transition: border-color .2s ease, background .2s ease, box-shadow .2s ease; }
.search-box:focus-within { border-color: #667d6f; background: #fff; box-shadow: 0 0 0 3px rgba(62,94,72,.08); }
.search-box input { font-size: 11px; }
.series-grid { gap: 32px 23px; }
.series-card { display: block; }
.poster-wrap { aspect-ratio: 2 / 3; border-radius: 3px; background: #dce5dd; box-shadow: 0 8px 22px rgba(25,41,32,.08); }
.poster-wrap::after { inset: 35% 0 0; background: linear-gradient(0deg, rgba(10,20,15,.58), transparent); }
.poster-wrap img { transition: transform .65s cubic-bezier(.2,.75,.25,1), filter .4s ease; }
.series-card:hover .poster-wrap img { filter: saturate(1.08); transform: scale(1.055); }
.poster-status { top: 12px; min-height: 26px; border: 1px solid rgba(255,255,255,.16); border-radius: 2px; background: rgba(18,29,23,.74); font-size: 9px; }
.poster-status { left: 12px; }
.poster-open { right: 13px; bottom: 12px; display: grid; width: 31px; height: 31px; place-items: center; border: 1px solid rgba(255,255,255,.5); border-radius: 50%; background: rgba(18,29,23,.24); font-size: 16px; }
.card-details { align-items: start; gap: 10px; padding-top: 13px; }
.card-details h3 { font-size: 17px; font-weight: 600; }
.card-details p { margin-top: 4px; font-size: 10px; }
.episode-count { margin-top: 2px; padding: 4px 7px; border: 1px solid var(--line); border-radius: 2px; font-size: 9px; }
.membership-strip { max-width: none; grid-template-columns: 64px minmax(220px,1.05fr) minmax(180px,.9fr) auto; gap: 25px; padding: 42px max(7.1%, calc((100vw - 1320px) / 2)); border-top: 1px solid #394b40; background: #1b2921; }
.strip-mark { color: #bedda9; }
.membership-strip h2 { font-size: 21px; }
.membership-strip > p { font-size: 11px; }
.text-link { color: #b9df9e; }
.site-footer { max-width: 1600px; min-height: 82px; margin: 0 auto; padding-right: max(7.1%, calc((100vw - 1320px) / 2)); padding-left: max(7.1%, calc((100vw - 1320px) / 2)); }
.detail-hero { min-height: 520px; padding-right: max(7.5%, calc((100vw - 1320px) / 2)); padding-left: max(7.5%, calc((100vw - 1320px) / 2)); }
.detail-image { filter: saturate(.82); background-image: linear-gradient(90deg, rgba(13,24,19,.93) 0%, rgba(13,24,19,.71) 42%, rgba(13,24,19,.12) 100%), linear-gradient(0deg, rgba(13,24,19,.48), transparent 45%), var(--detail-image); }
.detail-content h1 { font-size: clamp(56px, 7vw, 86px); font-weight: 600; }
.episodes-section { max-width: 1600px; margin: 0 auto; padding: 66px max(7.1%, calc((100vw - 1320px) / 2)) 90px; }
.episode-row { grid-template-columns: 54px 1fr 80px 160px; min-height: 82px; }
.episode-row:hover { background: rgba(255,255,255,.55); }
.episode-actions .download-button { border-radius: 3px; }
.auth-art::before { filter: saturate(.8); }
.auth-art-copy h2, .admin-intro h1, .vip-hero h1, .watch-heading h1 { font-family: var(--font-display); }
.admin-intro { background: linear-gradient(110deg, #1b2921, #35493b); }
.admin-workspace { max-width: 1600px; margin: 0 auto; }
.admin-panel { padding-top: 28px; }
.admin-panel-heading h2 { font-size: 23px; }
.admin-form input:not([type="checkbox"]), .admin-form select, .admin-form textarea, .auth-form input, .redeem-form input { border-color: #d4ddd5; border-radius: 3px; background-color: #fcfdfa; }
.vip-hero { background: radial-gradient(ellipse at 82% 35%, rgba(177,208,137,.16), transparent 34%), linear-gradient(115deg, #1a2820, #304237); }
.vip-plan { border-color: #d9e1da; }
.vip-plan.is-popular { background: #f4f4e7; }
.watch-page { background: #141c18; }

@media (max-width: 800px) {
    .site-header { padding-right: 5%; padding-left: 5%; }
    .hero { padding-right: 5%; padding-left: 5%; }
    .hero-copy { width: min(560px, 78%); }
    .catalog-section { padding-right: 5%; padding-left: 5%; }
    .membership-strip { padding-right: 5%; padding-left: 5%; }
    .detail-hero, .episodes-section { padding-right: 5%; padding-left: 5%; }
    .site-footer { padding-right: 5%; padding-left: 5%; }
}

@media (max-width: 560px) {
    .site-header { height: 64px; padding-right: 4.5%; padding-left: 4.5%; background: linear-gradient(180deg, rgba(13,24,19,.82), rgba(13,24,19,.28)); }
    .wordmark { font-size: 24px; }
    .header-actions { gap: 5px; }
    .header-actions .button { min-height: 33px; padding: 0 8px; font-size: 9px; }
    .hero { min-height: 680px; height: 88svh; max-height: 800px; padding: 0 6% 83px; }
    .hero::before { background-position: 55% center; }
    .hero-shade { background: linear-gradient(0deg, rgba(13,24,19,.96) 0%, rgba(13,24,19,.76) 43%, rgba(13,24,19,.16) 100%); }
    .hero-copy { width: 100%; padding: 0 0 6px; }
    .hero .eyebrow { margin-bottom: 15px; font-size: 8px; }
    .hero h1 { max-width: 100%; font-size: clamp(53px, 13vw, 70px); line-height: .96; }
    .hero-meta { gap: 8px; margin-top: 19px; font-size: 9px; }
    .hero-description { max-width: 370px; margin: 13px 0 19px; font-size: 11px; line-height: 1.75; }
    .hero-actions { flex-wrap: wrap; gap: 13px; }
    .hero-actions .button { min-height: 44px; padding: 0 15px; }
    .hero-caption { right: 6%; bottom: 20px; left: 6%; }
    .catalog-section { padding: 54px 6% 62px; }
    .section-heading h2 { font-size: 27px; }
    .series-grid { gap: 25px 13px; }
    .poster-status { top: 7px; min-height: 22px; padding: 0 6px; font-size: 7px; }
    .poster-status { left: 7px; }
    .card-details h3 { font-size: 13px; }
    .card-details p { font-size: 8px; }
    .episode-count { padding: 3px 5px; font-size: 8px; }
    .membership-strip { grid-template-columns: 36px 1fr; gap: 12px; padding: 27px 6%; }
    .membership-strip > p { grid-column: 2; grid-row: 2; }
    .membership-strip .text-link { grid-column: 2; grid-row: 3; }
    .episode-row { grid-template-columns: 29px minmax(0,1fr) 108px; gap: 7px; }
    .episode-actions .download-button { padding: 0 5px; }
    .admin-intro { background: linear-gradient(110deg, #1b2921, #35493b); }
}

.comment-section { margin-top: 42px; padding-top: 27px; border-top: 1px solid rgba(255,255,255,.16); }
.comment-heading { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 19px; }
.comment-heading .eyebrow { margin-bottom: 7px; color: rgba(255,255,255,.52); }
.comment-heading h2 { margin: 0; font-family: var(--font-display); font-size: 24px; }
.comment-heading h2 span { color: var(--coral); }
.comment-heading > span { padding-bottom: 3px; color: rgba(255,255,255,.53); font-size: 10px; }
.comment-notice { max-width: 100%; margin: 0 0 14px; }
.comment-form { display: grid; gap: 10px; padding: 17px; border: 1px solid rgba(255,255,255,.12); border-radius: 3px; background: #1c2721; }
.comment-form > label { color: rgba(255,255,255,.84); font-size: 11px; font-weight: 700; }
.comment-form textarea { width: 100%; min-height: 88px; padding: 11px 12px; border: 1px solid rgba(255,255,255,.18); border-radius: 3px; outline: 0; color: #f4f6f2; background: #141d18; font-family: var(--font-body); font-size: 12px; line-height: 1.65; resize: vertical; }
.comment-form textarea::placeholder { color: rgba(255,255,255,.4); }
.comment-form textarea:focus { border-color: #91bd7c; box-shadow: 0 0 0 3px rgba(145,189,124,.12); }
.comment-form-footer { display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.comment-form-footer p { margin: 0; color: rgba(255,255,255,.48); font-size: 9px; line-height: 1.5; }
.comment-form-footer .button { min-height: 37px; flex: 0 0 auto; padding: 0 12px; font-size: 10px; }
.comment-list { margin-top: 11px; }
.comment-item { display: grid; grid-template-columns: 36px minmax(0,1fr); gap: 12px; padding: 18px 3px; border-bottom: 1px solid rgba(255,255,255,.1); }
.comment-avatar { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 50%; color: #1b2921; background: #b9d9a4; font-family: var(--font-display); font-size: 14px; font-weight: 700; }
.comment-meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; }
.comment-meta strong { color: #f0f2ed; font-size: 11px; }
.comment-meta time { color: rgba(255,255,255,.42); font-size: 9px; }
.comment-item > div > p { margin: 7px 0 0; color: rgba(255,255,255,.74); font-size: 11px; line-height: 1.7; overflow-wrap: anywhere; }
.comment-empty { margin: 0; padding: 19px 3px; color: rgba(255,255,255,.52); font-size: 11px; }
.comment-thread { min-width: 0; }
.comment-children { margin-left: 45px; padding-left: 13px; border-left: 1px solid rgba(169,217,149,.26); }
.comment-content { min-width: 0; }
.admin-comment-badge { display: inline-flex; align-items: center; min-height: 16px; padding: 0 5px; border: 1px solid rgba(240,106,76,.45); border-radius: 2px; color: #ff9a7e; font-size: 8px; font-weight: 700; letter-spacing: .5px; }
.comment-route { display: inline-block; margin: 6px 0 0 !important; color: #c7dcad !important; font-size: 9px !important; font-weight: 600; }
.comment-reply-button { display: inline-flex; align-items: center; gap: 5px; margin-top: 7px; padding: 2px 0; border: 0; color: #bad89e; background: transparent; cursor: pointer; font-size: 9px; font-weight: 700; }
.comment-reply-button:hover, .cancel-reply-button:hover { color: #e2f1d4; }
.comment-reply-button span { font-size: 13px; }
.replying-to { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0; padding: 8px 10px; border-left: 2px solid #a9d995; color: #d9e7ce; background: rgba(169,217,149,.08); font-size: 10px; }
.cancel-reply-button { padding: 3px 5px; border: 0; color: #bad89e; background: transparent; cursor: pointer; font-size: 9px; font-weight: 700; }
.theme-picker { display: inline-flex; align-items: center; gap: 3px; margin-left: 32px; }
.theme-choice { display: grid; width: 32px; height: 32px; place-items: center; padding: 0; border: 1px solid transparent; border-radius: 3px; color: rgba(255,255,255,.62); background: transparent; cursor: pointer; font: inherit; font-size: 17px; line-height: 1; }
.theme-choice:hover { color: #fff; background: rgba(255,255,255,.08); }
.theme-choice[aria-pressed="true"] { border-color: rgba(255,255,255,.28); color: #fff; background: rgba(18,29,23,.45); }
.theme-choice:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }

html[data-theme="midnight"] {
    color-scheme: dark;
    --ink: #edf3ed;
    --muted: #a4b2a7;
    --paper: #121a15;
    --white: #1b261f;
    --line: #34463a;
    --coral: #ff8060;
    --green: #bce2a2;
}
html[data-theme="midnight"] body { background: var(--paper); color: var(--ink); }
html[data-theme="midnight"] .catalog-section,
html[data-theme="midnight"] .episodes-section,
html[data-theme="midnight"] .admin-workspace,
html[data-theme="midnight"] .vip-content { color: var(--ink); }
html[data-theme="midnight"] .search-box,
html[data-theme="midnight"] .vip-account-status,
html[data-theme="midnight"] .vip-plan,
html[data-theme="midnight"] .auth-layout,
html[data-theme="midnight"] .auth-panel { color: var(--ink); background-color: var(--white); }
html[data-theme="midnight"] .search-box input,
html[data-theme="midnight"] .auth-form input,
html[data-theme="midnight"] .admin-form input:not([type="checkbox"]),
html[data-theme="midnight"] .admin-form select,
html[data-theme="midnight"] .admin-form textarea,
html[data-theme="midnight"] .redeem-form input { color: var(--ink); border-color: var(--line); background-color: #17221b; }
html[data-theme="midnight"] .card-details h3,
html[data-theme="midnight"] .section-heading h2,
html[data-theme="midnight"] .admin-panel-heading h2,
html[data-theme="midnight"] .vip-account-status h2,
html[data-theme="midnight"] .vip-plan h3,
html[data-theme="midnight"] .auth-form-wrap h1 { color: var(--ink); }
html[data-theme="midnight"] .episode-row:hover { background: rgba(255,255,255,.04); }
html[data-theme="midnight"] .site-footer { color: var(--muted); }
html[data-theme="midnight"] .wordmark-footer { color: var(--ink); }

html[data-theme="light"] {
    color-scheme: light;
    --ink: #17283a;
    --muted: #64768a;
    --paper: #f1f6fa;
    --white: #fcfdff;
    --line: #d4e0e9;
    --coral: #d75e49;
    --green: #a8cde7;
}
html[data-theme="light"] body { background: var(--paper); color: var(--ink); }
html[data-theme="light"] .membership-strip { background: #203244; }
html[data-theme="light"] .text-link { color: #b8d9ef; }
html[data-theme="light"] .series-card .poster-wrap { box-shadow: 0 8px 24px rgba(30,59,82,.12); }
html[data-theme="midnight"] .card-details p,
html[data-theme="midnight"] .episode-count,
html[data-theme="midnight"] .admin-table td,
html[data-theme="midnight"] .site-footer { color: var(--muted); }
html[data-theme="midnight"] .admin-table td { border-color: var(--line); }
html[data-theme="midnight"] .episode-row { border-color: var(--line); }
html[data-theme="midnight"] .vip-plan.is-popular { background: #302d20; }
html[data-theme="midnight"] .vip-account-status.is-active { background: #1c2a20; }
html[data-theme="midnight"] .admin-form input::placeholder,
html[data-theme="midnight"] .auth-form input::placeholder,
html[data-theme="midnight"] .redeem-form input::placeholder { color: #89998d; }
html[data-theme="light"] .comment-avatar { color: #18334b; background: #b8d7ec; }
html[data-theme="light"] .comment-route,
html[data-theme="light"] .comment-reply-button,
html[data-theme="light"] .cancel-reply-button { color: #c9e3f4 !important; }

@media (max-width: 560px) {
    .comment-section { margin-top: 31px; padding-top: 22px; }
    .comment-heading h2 { font-size: 21px; }
    .comment-form { padding: 13px; }
    .comment-form-footer { align-items: start; flex-direction: column; }
    .comment-children { margin-left: 24px; padding-left: 9px; }
    .theme-picker { gap: 2px; margin-left: auto; }
    .comment-children .comment-children { margin-left: 15px; padding-left: 7px; }
}