:root{--bg:#0A0A0B;--panel:#141416;--line:#26262A;--text:#F2F2F3;--muted:#A1A1A8;--red:#D3291E;--redtext:#F0483C;--serif:'Playfair Display',Georgia,serif;--sans:Inter,system-ui,sans-serif}
*{box-sizing:border-box}
body{margin:0;background:var(--bg);color:var(--text);font:400 16px/1.5 var(--sans)}
a{color:var(--redtext);text-decoration:none}a:hover{text-decoration:underline}
h1,h2,h3{font-family:var(--serif);margin:0}
h1{font-weight:900}h2{font-weight:700;font-size:24px}h3{font-weight:700;font-size:18px}
p{margin:0}
:focus-visible{outline:2px solid #fff;outline-offset:2px}
.wrap{max-width:1296px;margin:0 auto;padding:32px;display:flex;flex-direction:column;gap:40px}
.muted{color:var(--muted)}.small{font-size:13px}
.sr{position:absolute;left:-9999px}
[hidden]{display:none!important}

/* header / footer */
.hdr{background:#000;border-bottom:1px solid var(--line);display:flex;flex-wrap:wrap;align-items:center;gap:12px 32px;padding:12px 32px}
.hdr img{height:48px;display:block}
.nav{display:flex;gap:4px;flex-wrap:wrap;flex:1}
.nav a{color:#C9C9CE;padding:12px 14px;border-radius:8px;font-weight:500;font-size:15px}
.nav a:hover,.nav a[aria-current=page]{background:#18181B;color:#fff;text-decoration:none}
.hdr .acts{display:flex;gap:12px;align-items:center}
.ftr{border-top:1px solid var(--line);padding:24px 32px;font-size:13px;color:var(--muted);display:flex;flex-wrap:wrap;gap:16px;justify-content:space-between}

/* buttons */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;height:44px;padding:0 18px;border-radius:8px;border:1px solid transparent;font:600 14px var(--sans);cursor:pointer;color:#fff;background:transparent}
.btn:hover{text-decoration:none}
.btn-red{background:var(--red)}.btn-red:hover{background:#E23428}
.btn-ghost{border-color:#3A3A40;color:var(--text)}.btn-ghost:hover{background:#18181B}
.btn-gold{border-color:#F2B134;color:#F2B134}.btn-gold:hover{background:#241B08}
.btn-block{width:100%}

/* layout helpers */
.panel{background:var(--panel);border:1px solid var(--line);border-radius:12px;padding:24px;display:flex;flex-direction:column;gap:14px}
.grid{display:grid;gap:20px}
.g4{grid-template-columns:repeat(auto-fill,minmax(250px,1fr))}
.g3{grid-template-columns:repeat(auto-fill,minmax(280px,1fr))}
.gcast{grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:12px}
.row{display:flex;flex-wrap:wrap;gap:24px;align-items:flex-start}
.col{flex:1 1 360px;min-width:0;display:flex;flex-direction:column;gap:24px}
.col2{flex:2 1 560px;min-width:0;display:flex;flex-direction:column;gap:24px}
.between{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px}
.sec-h{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:12px}

/* hero */
.hero{display:flex;flex-wrap:wrap;border:1px solid var(--line);border-radius:12px;overflow:hidden;background:linear-gradient(120deg,#3A0F0C,#0A0A0B 65%)}
.hero .txt{flex:1 1 440px;padding:48px 40px;display:flex;flex-direction:column;gap:16px;justify-content:center}
.hero h1{font-size:56px;line-height:1.05}
.hero .side{flex:0 1 320px;padding:24px;border-left:1px solid var(--line);display:flex;flex-direction:column;gap:12px;justify-content:center;background:rgba(0,0,0,.35)}
.hero .logo{flex:1 1 300px;min-height:240px;display:flex;align-items:center;justify-content:center}
.hero .logo img{width:80%;max-width:360px;opacity:.92}
.badge{align-self:flex-start;background:var(--red);color:#fff;font:600 12px var(--sans);padding:4px 10px;border-radius:99px}
.eyebrow{font-size:12px;color:var(--muted);letter-spacing:.08em;text-transform:uppercase}
.big{font:700 32px var(--serif)}

/* kpi */
.kpis{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:16px}
.kpi{background:var(--panel);border:1px solid var(--line);border-radius:12px;padding:16px}
.kpi .v{font:700 28px var(--serif);margin-top:6px}
.kpi.hl{border-color:var(--red)}

/* chips / toggles */
.chips{display:flex;gap:8px;flex-wrap:wrap}
.chip{height:44px;padding:0 18px;border-radius:99px;border:1px solid #3A3A40;background:transparent;color:var(--text);font:500 14px var(--sans);cursor:pointer}
.chip[aria-pressed=true]{background:var(--red);border-color:var(--red)}
.tag{border:1px solid #3A3A40;border-radius:6px;padding:4px 10px;font-size:13px;display:inline-block}
.opt{width:100%;text-align:left;padding:14px 16px;border-radius:8px;border:1px solid #3A3A40;background:transparent;color:var(--text);cursor:pointer;display:flex;flex-direction:column;gap:4px;font:inherit;min-height:44px}
.opt[aria-pressed=true]{background:#2A1210;border-color:var(--red)}
.opt .l{display:flex;justify-content:space-between;font-weight:600;gap:12px}

/* progress */
.bar{height:8px;border-radius:99px;background:var(--line)}
.bar i{display:block;height:8px;border-radius:99px;background:var(--red);width:0;transition:width .2s}
.ep{display:flex;align-items:center;gap:14px;width:100%;min-height:52px;padding:8px 14px;border-radius:8px;border:1px solid var(--line);background:var(--panel);color:var(--text);text-align:left;font:500 15px var(--sans);cursor:pointer}
.ep .box{width:22px;height:22px;border-radius:6px;border:2px solid #6B7178;flex:none}
.ep[aria-pressed=true]{background:#1F1B1A}
.ep[aria-pressed=true] .box{background:var(--red);border-color:var(--red)}
.ep .grow{flex:1}
.ep.locked{cursor:default}

/* cards */
.card{display:flex;flex-direction:column;border:1px solid var(--line);border-radius:12px;overflow:hidden;background:var(--panel);color:var(--text)}
.card:hover{border-color:#3A3A40;text-decoration:none}
.card .art{height:150px;display:flex;align-items:flex-end;padding:14px;position:relative}
.card .art .t{font:900 24px/1.1 var(--serif)}
.card .art .lock{position:absolute;top:12px;right:12px;width:28px;height:28px;border-radius:50%;background:rgba(0,0,0,.7);display:flex;align-items:center;justify-content:center}
.card .meta{padding:14px 16px;display:flex;justify-content:space-between;align-items:center;gap:8px;font-size:13px;color:var(--muted)}
.card .meta strong{color:var(--text);font-size:14px}

/* cast */
.person{border:1px solid var(--line);border-radius:8px;padding:12px;display:flex;flex-direction:column;gap:8px;align-items:flex-start}
.av{width:44px;height:44px;border-radius:50%;background:#2A2D32;display:flex;align-items:center;justify-content:center;font:700 14px var(--serif);flex:none}

/* posts */
.post{border-top:1px solid var(--line);padding-top:14px;display:flex;gap:12px}
.post .b{min-width:0}
.post p{color:#C9C9CE;margin-top:4px;line-height:1.5;overflow-wrap:anywhere}
input[type=text],input[type=email],input[type=password],textarea,select{width:100%;min-height:48px;padding:12px 14px;border-radius:8px;border:1px solid #3A3A40;background:var(--bg);color:var(--text);font:15px var(--sans)}
textarea{min-height:96px;resize:vertical}
label.f{display:block;font-size:13px;color:var(--muted);margin-bottom:6px}

/* player */
.stage{position:relative;overflow:hidden;aspect-ratio:16/9;border-radius:12px;background:#000;border:1px solid var(--line)}
.stage .bg{position:absolute;inset:0;background:linear-gradient(135deg,#2A0D0B,#000 70%)}
.stage .wm{position:absolute;color:#fff;font:600 15px var(--sans);white-space:nowrap;transform:rotate(-18deg);pointer-events:none;opacity:.22;transition:opacity .2s}
.stage.nowm .wm{opacity:0}
.stage .play{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:72px;height:72px;border-radius:50%;border:none;background:var(--red);color:#fff;cursor:pointer}
.stage .ctl{position:absolute;left:0;right:0;bottom:0;padding:14px 18px;background:linear-gradient(transparent,rgba(0,0,0,.85));display:flex;align-items:center;gap:14px;font-size:13px}
.stage .ctl .bar{flex:1;height:6px}
.poster{aspect-ratio:16/9;border-radius:12px;border:1px solid var(--line);background:linear-gradient(135deg,#4A1410,#0A0A0B 70%);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px}
.ico{width:64px;height:64px;border-radius:50%;background:rgba(0,0,0,.6);display:flex;align-items:center;justify-content:center}
ul.tick{margin:0;padding:0 0 0 18px;font-size:13px;line-height:1.7;color:var(--muted)}
.guard{display:flex;gap:12px}
.guard svg{flex:none;margin-top:2px}

/* auth */
.authbox{max-width:920px;margin:0 auto;width:100%;display:flex;flex-wrap:wrap;border:1px solid var(--line);border-radius:12px;overflow:hidden;background:var(--panel)}
.authbox .l{flex:1 1 340px;background:linear-gradient(160deg,#3A0F0C,#000 75%);padding:40px;display:flex;flex-direction:column;justify-content:space-between;gap:32px;min-height:420px}
.authbox .l img{width:100%;max-width:300px}
.authbox form{flex:1 1 380px;padding:40px;display:flex;flex-direction:column;gap:16px}
.seg{display:flex;gap:8px}.seg .chip{flex:1;border-radius:8px}
.trust{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:20px}
.tabs{display:flex;gap:8px;flex-wrap:wrap}
.listrow{display:flex;flex-wrap:wrap;align-items:center;gap:16px;padding:14px 18px;border:1px solid var(--line);border-radius:12px;background:var(--panel)}
.listrow .thumb{width:120px;height:68px;border-radius:8px;flex:none}
.listrow .grow{flex:1 1 240px}
.demo{border:1px dashed #3A3A40;border-radius:8px;padding:10px 14px;font-size:13px;color:var(--muted)}

@media (max-width:720px){
.wrap{padding:20px}.hdr{padding:12px 20px}.hero h1{font-size:40px}.hero .txt{padding:32px 24px}.hero .side{border-left:none;border-top:1px solid var(--line);flex-basis:100%}
.authbox .l,.authbox form{padding:28px}
}
