:root { color-scheme: dark; --bg:#0a0910; --panel:#15121e; --text:#f7f3ff; --muted:#b6adc2; --line:#342a40; --accent:#ff4a98; --pink:#ff79b4; }
* { box-sizing:border-box; }
body { margin:0; min-height:100vh; color:var(--text); background:radial-gradient(ellipse at 22% 0%,#281329 0%,transparent 46%),var(--bg); font:15px/1.5 system-ui,sans-serif; }
a { color:inherit; text-decoration:none; }
.top { border-bottom:1px solid var(--line); background:#100d17; }
.top-inner,.wrap { width:min(1120px,calc(100% - 36px)); margin:auto; }
.top-inner { min-height:76px; display:flex; align-items:center; justify-content:space-between; gap:16px; }
.brand { display:flex; gap:10px; align-items:center; font-weight:750; line-height:1.18; }
.brand-mark { display:grid; place-items:center; width:36px; height:36px; border:1px solid #b23b71; border-radius:11px; background:#331329; color:var(--pink); font-size:22px; font-style:italic; }
.brand small { display:block; color:var(--muted); font-size:11px; margin-top:3px; font-weight:500; }
nav,.actions { display:flex; flex-wrap:wrap; align-items:center; gap:12px; }
nav { color:var(--muted); font-size:13px; }
nav a:hover,.footer a:hover { color:var(--pink); }
main { min-height:calc(100vh - 148px); padding:28px 0 42px; }
.test-banner { margin-bottom:28px; color:#ffdfa0; border:1px solid #715332; background:#241b16; padding:10px 14px; border-radius:9px; font-size:13px; }
.panel { background:var(--panel); border:1px solid var(--line); border-radius:15px; padding:22px; }
.narrow { width:min(100%,680px); margin:35px auto; padding:clamp(23px,5vw,44px); }
.eyebrow { color:var(--pink); font-size:11px; font-weight:750; letter-spacing:.16em; }
h1 { margin:8px 0 10px; font-size:clamp(31px,6vw,50px); letter-spacing:-.045em; line-height:1.12; }
h2 { margin:0; font-size:19px; letter-spacing:-.015em; }
p { color:var(--muted); margin:7px 0 18px; }
.button { display:inline-flex; align-items:center; justify-content:center; padding:9px 14px; min-height:38px; border-radius:9px; border:1px solid #51405d; background:#241d2f; color:var(--text); cursor:pointer; font:650 13px/1.2 system-ui,sans-serif; }
.button:hover { border-color:var(--pink); }
.button.primary { background:var(--accent); color:#190713; border-color:var(--accent); }
.button.quiet { padding:6px 10px; min-height:32px; }
:focus-visible { outline:2px solid var(--pink); outline-offset:3px; }
.page-head,.orders-head,.purchase-title { display:flex; justify-content:space-between; align-items:center; gap:12px; flex-wrap:wrap; }
.page-head { margin-bottom:22px; }
.page-head p { margin-bottom:0; }
.metric-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px; margin-bottom:18px; }
.metric span,.metric small { color:var(--muted); }
.metric strong { display:block; font-size:37px; line-height:1.15; margin:7px 0 3px; }
.metric.total { border-color:#974368; background:#211322; }
a.metric:hover { border-color:var(--pink); }
.orders-head { margin-bottom:12px; }
.orders-head small { color:var(--muted); margin-left:5px; font-size:12px; }
.filter { display:flex; align-items:center; gap:7px; font-size:13px; color:var(--muted); }
select { background:#241d2f; color:var(--text); border:1px solid var(--line); border-radius:7px; padding:6px; }
.table-wrap { overflow:auto; }
table { width:100%; border-collapse:collapse; min-width:630px; text-align:left; }
th,td { border-top:1px solid var(--line); padding:12px 8px; }
th { color:var(--muted); font-size:12px; }
td small { display:block; color:var(--muted); font:11px/1.5 monospace; }
.pill { display:inline-block; border:1px solid var(--line); padding:2px 8px; border-radius:100px; text-transform:capitalize; font-size:12px; white-space:nowrap; }
.pill.green { color:#a3f8ca; border-color:#3e7254; background:#142a24; }
.pill.amber { color:#ffda91; border-color:#725731; background:#2f2519; }
.pill.rose { color:#ffb0c8; border-color:#73405a; background:#331927; }
.purchase-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,275px),1fr)); gap:14px; margin-bottom:14px; }
.purchase p { margin:7px 0 14px; }
.locked { color:var(--muted); font-size:13px; }
.footer { display:flex; justify-content:space-between; padding:14px 0 24px; font-size:12px; color:var(--muted); border-top:1px solid var(--line); }
.buyer-dashboard { display:grid; gap:16px; margin-bottom:18px; }
.release-notice { display:flex; align-items:flex-start; gap:14px; padding:clamp(16px,3vw,24px); border:1px solid #743652; border-radius:18px; background:linear-gradient(115deg,#35172a,#211423 75%); }
.release-notice-icon { display:grid; place-items:center; flex:0 0 28px; height:28px; border:1px solid #9a4d73; border-radius:50%; color:#ffc0df; font-weight:750; }
.release-notice h2 { font-size:clamp(19px,3vw,24px); line-height:1.2; }
.release-notice p { color:#e6c4d8; margin:7px 0 0; max-width:66ch; }
.buyer-download-hero { position:relative; isolation:isolate; display:flex; align-items:center; justify-content:space-between; gap:22px; overflow:hidden; padding:clamp(22px,5vw,56px); border:1px solid #52334d; border-radius:22px; background:radial-gradient(ellipse at 90% 8%,#502141 0%,transparent 57%),linear-gradient(130deg,#21182d,#15111f); box-shadow:0 18px 42px #0004; }
.buyer-download-hero .button { min-height:44px; border-radius:11px; padding-inline:18px; }
.buyer-file-mark { display:grid; place-items:center; flex:0 0 clamp(76px,15vw,144px); aspect-ratio:1; border:1px solid #a54b78; border-radius:24px; background:linear-gradient(145deg,#5e294b,#27182e); color:#ffacd2; box-shadow:0 16px 35px #14071088,inset 0 1px #ffc6e340; font:650 clamp(22px,4vw,42px)/1 ui-monospace,monospace; }
.buyer-download-status { display:inline-block; padding:6px 11px; border-radius:20px; border:1px solid #65465d; background:#2d1e30; color:#e8c1d7; font-size:13px; }
.buyer-details { display:grid; gap:14px; }
.buyer-details .panel { border-radius:18px; }
.buyer-details .actions,.buyer-details .table-wrap { margin-top:14px; }
.release-notice a,.buyer-help a { color:var(--pink); text-decoration:underline; text-underline-offset:3px; }
.buyer-help { margin:0; }
.portal-login-form { display:grid; gap:14px; }
.portal-login-form label { display:grid; gap:6px; color:var(--muted); font-size:14px; }
.portal-login-form input { width:100%; min-height:44px; border:1px solid var(--line); border-radius:9px; padding:9px 12px; background:#100d17; color:var(--text); font:inherit; }
@media(max-width:500px) { .buyer-file-mark { display:none; } }
@media(max-width:740px) { .metric-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } .panel { padding:16px; } }
@media(max-width:400px) { .top-inner,.wrap { width:calc(100% - 22px); } nav { gap:8px; } .brand-mark { display:none; } }
