:root {
    color-scheme: dark;
    --bg: #100e0c;
    --ink: #f6f1e8;
    --accent: #e7a23a;
    --accent-ink: #1c1308;
    --muted: color-mix(in srgb, var(--ink) 72%, var(--bg));
    --surface: color-mix(in srgb, var(--ink) 8%, var(--bg));
    --line: color-mix(in srgb, var(--ink) 24%, var(--bg));
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: Outfit, sans-serif; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
header, main { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }
header { position: relative; display: flex; align-items: center; gap: 18px; padding: 22px 0; }
.brand { display: flex; align-items: center; min-width: 0; font-family: Fraunces, serif; font-size: 28px; letter-spacing: -0.04em; }
.nav-toggle { display: none; width: 40px; height: 40px; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: transparent; color: var(--ink); place-items: center; }
.nav-toggle svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.brand img { height: 48px; width: auto; max-width: 220px; object-fit: contain; }
.links { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; margin-left: auto; justify-content: flex-end; }
.links a.is-on, .menu.is-open > button { color: var(--accent); }
.tools { display: flex; align-items: center; gap: 8px; }
.menu { position: relative; }
.menu > button, .icon, .auth .quiet, .tabs button { background: transparent; color: var(--ink); }
button.initials { width: 42px; height: 42px; padding: 0; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--accent-ink); font-size: 14px; letter-spacing: 0.04em; }
.account-menu .menu-panel { column-count: 1; width: 200px; padding: 8px; }
.account-menu .menu-panel form { margin: 0; }
.account-menu .menu-panel button { width: 100%; background: transparent; color: var(--ink); text-align: left; border-radius: 8px; padding: 8px 10px; }
.menu > button { padding: 8px 0; }
.menu-panel { display: none; position: absolute; z-index: 20; top: calc(100% + 8px); right: 0; width: min(720px, 70vw); padding: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; column-count: 4; column-gap: 4px; }
.menu.is-open .menu-panel { display: block; }
.menu-panel a, .menu-panel p { display: block; break-inside: avoid; padding: 8px 10px; border-radius: 8px; }
.menu-panel a:hover { background: color-mix(in srgb, var(--ink) 8%, transparent); }
.menu-panel p { margin: 0; color: var(--muted); }
.find { position: relative; }
.icon { width: 42px; height: 42px; padding: 0; border: 1px solid var(--line); display: grid; place-items: center; }
.icon svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; }
.find-panel { position: absolute; z-index: 30; top: calc(100% + 8px); right: 0; width: min(360px, 78vw); padding: 10px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; }
.find-panel input { width: 100%; }
.find-panel a { display: grid; grid-template-columns: 42px 1fr; gap: 10px; align-items: center; padding: 6px 0; }
.find-panel a.see-all { display: block; padding: 8px 0 2px; color: var(--accent); }
.find-panel .thumb { width: 42px; }
.find-panel p { margin: 8px 0 0; color: var(--muted); }
.auth { width: min(420px, calc(100% - 32px)); border: 1px solid var(--line); border-radius: 16px; background: var(--bg); color: var(--ink); padding: 18px; }
.auth::backdrop { background: rgba(0, 0, 0, .62); }
.auth form, .tabs { display: grid; gap: 8px; }
.auth form[hidden] { display: none; }
.tabs { grid-template-columns: 1fr 1fr; margin: 8px 0 14px; }
.tabs button.is-on { background: var(--accent); color: var(--accent-ink); }
input, button { font: inherit; }
input { background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: 999px; padding: 10px 14px; }
button, .play, .login, .download { border: 0; border-radius: 999px; background: var(--accent); color: var(--accent-ink); padding: 10px 14px; cursor: pointer; }
.login { display: inline-block; }
.hero { padding: 12px 0 28px; }
.hero-slider { position: relative; height: min(56vw, 460px); min-height: 280px; margin: 0 0 28px; border-radius: 16px; overflow: hidden; background: #000; }
.hero-slide { position: absolute; inset: 0; display: flex; align-items: flex-end; background: #111 center/cover no-repeat; opacity: 0; transition: opacity .45s ease; pointer-events: none; color: #fff; }
.hero-slide.is-on { opacity: 1; pointer-events: auto; }
.hero-slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .12) 0%, rgba(0, 0, 0, .05) 42%, rgba(0, 0, 0, .78) 100%); }
.hero-copy { position: relative; z-index: 1; width: min(640px, calc(100% - 48px)); margin: 0 0 28px 28px; }
.hero-copy strong { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; max-width: 16ch; font-family: Fraunces, serif; font-size: clamp(40px, 6vw, 76px); font-weight: 560; line-height: .9; letter-spacing: 0.04em; text-transform: uppercase; }
.hero-copy em { display: block; margin: 12px 0 16px; font-style: normal; font-size: 14px; letter-spacing: 0.02em; color: rgba(255, 255, 255, .92); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.hero-play, .hero-more { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 18px; border-radius: 999px; font-size: 15px; font-weight: 600; }
.hero-play { background: #fff; color: #111; }
.hero-play svg { width: 16px; height: 16px; fill: currentColor; }
.hero-more { background: rgba(255, 255, 255, .22); color: #fff; }
.hero-arrow { position: absolute; top: 50%; z-index: 2; width: 44px; height: 44px; margin-top: -22px; padding: 0; border: 0; border-radius: 50%; background: rgba(0, 0, 0, .55); color: #fff; display: grid; place-items: center; opacity: 0; }
.hero-slider:hover .hero-arrow, .hero-slider:focus-within .hero-arrow { opacity: 1; }
@media (hover: none) { .hero-arrow { opacity: 1; } }
.hero-arrow svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.hero-arrow.prev { left: 12px; }
.hero-arrow.next { right: 12px; }
.hero-dots { position: absolute; z-index: 2; right: 20px; bottom: 18px; display: flex; gap: 8px; align-items: center; }
.hero-dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .45); }
.hero-dots button.is-on { width: 22px; border-radius: 999px; background: #fff; }
.hero p, .meta, .card span { color: var(--muted); }
h1, h2 { font-family: Fraunces, serif; letter-spacing: -0.04em; font-weight: 560; }
h1 { font-size: clamp(40px, 6vw, 72px); margin: 0 0 8px; }
h2 { margin: 28px 0 12px; }
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin: 28px 0 12px; }
.section-head h2 { margin: 0; }
.section-head a { color: var(--muted); }
.rail-wrap { position: relative; }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: 150px; gap: 14px; overflow-x: auto; scroll-behavior: smooth; scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
button.rail-arrow { position: absolute; top: 112px; z-index: 2; width: 44px; height: 44px; margin-top: -22px; padding: 0; border: 0; border-radius: 50%; background: rgba(0, 0, 0, .62); color: #fff; display: grid; place-items: center; opacity: 0; pointer-events: none; }
button.rail-arrow svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
button.rail-arrow.prev { left: 6px; }
button.rail-arrow.next { right: 6px; }
button.rail-arrow.is-off { visibility: hidden; }
@media (hover: hover) {
    .rail-wrap:hover button.rail-arrow:not(.is-off) { opacity: 1; pointer-events: auto; }
}
@media (hover: none) {
    button.rail-arrow:not(.is-off) { opacity: 1; pointer-events: auto; }
}
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
.card { display: block; }
.library-card { display: grid; align-content: start; }
.poster { position: relative; }
.poster > form { position: absolute; z-index: 2; margin: 0; }
.poster > form.on-remove { right: 8px; bottom: 8px; }
.thumb { position: relative; }
.thumb > a.cover { position: absolute; inset: 0; z-index: 1; }
.vjs { position: absolute; top: 8px; right: 8px; z-index: 1; display: flex; flex-direction: column; align-items: flex-end; gap: 4px; max-width: calc(100% - 52px); pointer-events: none; }
.vjs span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; background: rgba(0, 0, 0, .75); color: #fff; font-size: 11px; line-height: 1.2; padding: 3px 6px; border-radius: 4px; }
.thumb .year, .thumb .crown { position: absolute; bottom: 8px; z-index: 1; pointer-events: none; }
.thumb .year { right: 8px; background: rgba(0, 0, 0, .75); color: #fff; font-size: 12px; line-height: 1.2; padding: 2px 6px; border-radius: 4px; }
.poster:has(> form.on-remove) .year { right: 46px; }
.thumb .crown { left: 8px; width: 26px; height: 26px; border-radius: 50%; background: rgba(0, 0, 0, .72); color: #e7a23a; display: grid; place-items: center; }
.thumb .crown svg { width: 14px; height: 14px; fill: currentColor; }
form.on-watch, a.on-watch { position: absolute; top: 8px; left: 8px; z-index: 4; }
form.on-watch button, a.on-watch { width: 28px; height: 28px; padding: 0; border: 0; border-radius: 50%; background: rgba(0, 0, 0, .72); color: #fff; display: grid; place-items: center; position: relative; }
form.on-watch svg, a.on-watch svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; }
form.on-watch span, a.on-watch span { position: absolute; top: calc(100% + 6px); left: 0; padding: 4px 8px; border-radius: 6px; background: rgba(0, 0, 0, .86); color: #fff; font-size: 12px; white-space: nowrap; opacity: 0; pointer-events: none; }
form.on-watch button:hover span, form.on-watch button:focus-visible span, a.on-watch:hover span, a.on-watch:focus-visible span { opacity: 1; }
button.remove { width: 34px; height: 34px; padding: 0; border: 0; border-radius: 50%; background: rgba(0, 0, 0, .72); color: #fff; display: grid; place-items: center; }
button.remove svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.thumb { aspect-ratio: 2/3; background: var(--surface) center/cover no-repeat; border-radius: 8px; overflow: hidden; }
.card strong { display: block; margin-top: 8px; font-weight: 500; }
.stage { position: relative; aspect-ratio: 16/9; margin: 8px 0 22px; background: #000; border-radius: 12px; overflow: hidden; }
.stage img, .stage video, .stage iframe { width: 100%; height: 100%; object-fit: contain; background: #000; border: 0; }
.stage-player { position: absolute; inset: 0; background: #000; }
.stage-player video { width: 100%; height: 100%; }
.stage-seek { position: absolute; left: 0; right: 0; top: 50%; z-index: 3; transform: translateY(-50%); display: flex; justify-content: space-between; padding: 0 18px; pointer-events: none; opacity: 1; transition: opacity .3s ease; }
.stage-seek.is-idle { opacity: 0; }
.stage-seek.is-idle .seek { pointer-events: none; }
.stage-seek .seek { pointer-events: auto; position: relative; width: 56px; height: 56px; padding: 0; border: 0; border-radius: 50%; background: rgba(0, 0, 0, .62); color: #fff; display: grid; place-items: center; }
.stage-seek .seek svg { width: 42px; height: 42px; fill: currentColor; }
.stage-seek .seek-forward svg { transform: scaleX(-1); }
.stage-seek .seek span { position: absolute; inset: 0; display: grid; place-items: center; padding-top: 6px; font-size: 11px; font-weight: 700; line-height: 1; }
.stage .play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); }
.stage-servers { position: absolute; left: 50%; top: 50%; z-index: 2; transform: translate(-50%, -50%); display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; width: min(640px, calc(100% - 32px)); }
.stage-servers .play { position: static; left: auto; top: auto; transform: none; display: inline-flex; align-items: center; gap: 8px; }
.stage-servers .play svg { width: 14px; height: 14px; margin: 0; fill: currentColor; }
.title-actions .download { display: inline-flex; align-items: center; gap: 8px; }
.title-actions .download svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.title-actions .download small { font-size: 12px; opacity: .8; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 18px; }
.title-tags { margin-top: 0; }
.tags a, .tags span { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); }
button.play-round, a.play-round { width: 96px; height: 96px; padding: 0; border-radius: 50%; display: grid; place-items: center; box-shadow: 0 10px 28px rgba(0, 0, 0, .4); }
.play-round svg { width: 40px; height: 40px; margin-left: 6px; fill: currentColor; }
.stage-wait { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); margin: 0; color: #fff; background: rgba(0, 0, 0, .55); padding: 12px 18px; border-radius: 999px; }
.rail-wrap.episodes .rail { grid-auto-columns: 280px; }
.rail-wrap.episodes .rail-arrow { top: 50%; }
.episode { margin: 0; }
.episode-poster { position: relative; aspect-ratio: 16/9; border-radius: 8px; background: #000 center/cover no-repeat; overflow: hidden; }
.now-playing { display: none; position: absolute; top: 8px; right: 8px; z-index: 2; padding: 3px 8px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-size: 12px; font-weight: 600; }
.episode.is-playing .now-playing { display: inline-block; }
.episode-meta { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; padding: 28px 10px 10px; background: linear-gradient(transparent, rgba(0, 0, 0, .82)); color: #fff; }
.episode-meta strong { min-width: 0; font-weight: 500; color: #fff; }
.episode-actions { display: flex; gap: 6px; flex: none; }
.episode-actions .meta { color: #fff; }
.episode-actions .play.mini, .episode-actions .download.mini { color: #fff; border-color: rgba(255, 255, 255, .55); background: rgba(0, 0, 0, .35); }
.facts { display: flex; gap: 18px; flex-wrap: wrap; margin: 0 0 12px; }
.download { display: inline-block; text-decoration: none; }
button.play.mini, a.download.mini, .save button, a.icon-btn, button.share {
    width: 38px;
    height: 38px;
    padding: 0;
    border-radius: 50%;
    border: 1px solid var(--line);
    background: transparent;
    color: var(--ink);
    display: inline-grid;
    place-items: center;
}
button.play.mini svg, a.download.mini svg, .save svg, a.icon-btn svg, button.share svg { width: 16px; height: 16px; margin: 0; }
button.play.mini svg { fill: currentColor; }
a.download.mini svg, .save svg, a.icon-btn svg, button.share svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.title-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; justify-content: space-between; margin: 0 0 14px; }
.title-downloads, .title-tools { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.title-tools { margin-left: auto; }
.title-actions form, .save, button.share { margin: 0; position: relative; }
.save span {
    position: absolute;
    left: 50%;
    top: calc(100% + 8px);
    z-index: 3;
    transform: translateX(-50%);
    padding: 6px 10px;
    border-radius: 8px;
    background: var(--surface);
    border: 1px solid var(--line);
    color: var(--ink);
    font-size: 13px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
}
.save button:hover span, .save button:focus-visible span, button.share:hover span, button.share:focus-visible span { opacity: 1; }
button.share span {
    position: absolute;
    left: 50%;
    top: calc(100% + 8px);
    z-index: 3;
    transform: translateX(-50%);
    padding: 6px 10px;
    border-radius: 8px;
    background: var(--surface);
    border: 1px solid var(--line);
    color: var(--ink);
    font-size: 13px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
}
.comments { display: grid; gap: 14px; margin-top: 28px; }
.comments form { display: grid; gap: 10px; max-width: 640px; }
.comments textarea { min-height: 96px; border-radius: 12px; resize: vertical; }
.comment { padding-top: 12px; border-top: 1px solid var(--line); }
.comment time { margin-left: 8px; color: var(--muted); font-size: 14px; }
.comment p { margin: 6px 0 0; }
.pager { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.feed-status { margin: 16px 0 8px; }
.account { max-width: 460px; display: grid; gap: 10px; }
.account form { display: grid; gap: 10px; }
.subscribe-page h1 { font-size: clamp(36px, 5vw, 56px); }
.subscribe-lead { max-width: 40rem; margin: 0 0 22px; color: var(--muted); }
.plan-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 320px)); gap: 16px; align-items: stretch; }
.plan-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 0;
    padding: 22px 18px 18px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: color-mix(in srgb, var(--ink) 5%, var(--bg));
}
.plan-card h2 { margin: 0; font-size: 28px; }
.plan-price { margin: 0; font-family: Fraunces, serif; font-size: clamp(28px, 3vw, 40px); line-height: 1; letter-spacing: -0.04em; }
.plan-price span { display: block; margin-top: 8px; font-family: Outfit, sans-serif; font-size: 14px; letter-spacing: 0; color: var(--muted); }
.plan-card .meta { margin: 0; }
.plan-card input { width: 100%; }
.plan-card button { margin-top: auto; }
.pay-with { display: flex; flex-wrap: wrap; gap: 8px; }
.pay-with label { display: inline-flex; align-items: center; gap: 6px; margin: 0; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; background: color-mix(in srgb, var(--ink) 4%, var(--bg)); }
.page-copy { max-width: 680px; }
.page-copy:has(.reach) { max-width: none; }
.reach-title, .reach-lead { text-align: center; }
.reach-title span { color: var(--accent); }
.reach-lead { max-width: 540px; margin: 8px auto 28px; color: var(--muted); }
.reach-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.reach-card { display: grid; gap: 8px; align-content: start; padding: 22px 18px 18px; border: 1px solid var(--line); border-radius: 18px; background: color-mix(in srgb, var(--ink) 5%, var(--bg)); }
.reach-icon { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: color-mix(in srgb, var(--accent) 20%, var(--bg)); color: var(--accent); }
.reach-icon svg { width: 24px; height: 24px; fill: currentColor; }
.reach-card strong { font-size: 18px; }
.reach-card p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.45; }
.reach-card em { font-style: normal; color: var(--accent); font-weight: 600; }
.prose, .page-copy p { line-height: 1.6; }
.contact-list { display: grid; gap: 12px; margin: 18px 0 0; }
.contact-list div { display: grid; gap: 2px; }
.contact-list dt { color: var(--muted); font-size: 14px; }
.contact-list dd { margin: 0; }
.site-foot { width: min(1120px, calc(100% - 32px)); margin: 36px auto 0; padding: 28px 0 40px; border-top: 1px solid var(--line); display: grid; gap: 14px; }
.foot-name { font-family: Fraunces, serif; font-size: 22px; }
.site-foot p { margin: 6px 0 0; color: var(--muted); }
.site-foot nav, .socials { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.socials a { width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; }
.socials svg { width: 16px; height: 16px; fill: currentColor; }
.copy { font-size: 14px; }
@media (max-width: 900px) {
    .menu-panel { column-count: 3; width: min(560px, 86vw); }
}
@media (max-width: 860px) {
    header { flex-wrap: nowrap; gap: 8px; padding: 14px 0; }
    .brand { font-size: 22px; }
    .brand img { height: 36px; max-width: 120px; }
    .nav-toggle { display: grid; margin-left: auto; }
    .links {
        display: none;
        position: absolute;
        z-index: 40;
        top: calc(100% - 6px);
        left: 0;
        right: 0;
        margin: 0;
        padding: 8px;
        flex-direction: column;
        align-items: stretch;
        gap: 2px;
        background: var(--bg);
        border: 1px solid var(--line);
        border-radius: 14px;
    }
    header.is-open .links { display: flex; }
    .tools { flex: none; }
    header.is-open .menu-panel { position: static; width: 100%; column-count: 2; max-height: 220px; overflow: auto; }
}
