:root { --bg:#0f1115; --card:#181b22; --line:#2a2f3a; --text:#eef0f4; --muted:#9aa3b2; --accent:#ffcc00; --accent2:#ff5a36; --ok:#3ecf8e; --bad:#ff6b6b; }
* { box-sizing: border-box; }
body { margin:0; background:var(--bg); color:var(--text); font:16px/1.5 system-ui, -apple-system, Segoe UI, Roboto, sans-serif; }
.hidden { display:none !important; }
.top { display:flex; justify-content:space-between; align-items:center; padding:14px 22px; border-bottom:1px solid var(--line); }
.brand { color:var(--text); font-weight:800; text-decoration:none; font-size:18px; letter-spacing:.2px; }
.brand::before { content:"▶"; color:var(--accent); margin-right:8px; }
.who { color:var(--muted); font-size:14px; display:flex; gap:14px; align-items:center; }
.who a { color:var(--muted); }
main { max-width:1100px; margin:0 auto; padding:24px 18px 80px; }
h1 { font-size:30px; line-height:1.2; margin:8px 0 12px; }
h2 { margin:36px 0 12px; font-size:20px; }
.hero { text-align:center; max-width:720px; margin:30px auto 26px; }
.hero h1 { font-size:40px; }
.hero p { color:var(--muted); font-size:18px; }
.card { background:var(--card); border:1px solid var(--line); border-radius:16px; padding:22px; }
.narrow { max-width:420px; margin:0 auto; }
.row { display:flex; gap:10px; flex-wrap:wrap; margin-bottom:18px; }
label { display:block; color:var(--muted); font-size:14px; margin:10px 0; }
input[type=email], input[type=password], input[type=url], input[type=text], select, .row input { width:100%; margin-top:6px; padding:12px 14px; font-size:16px; border-radius:10px; border:1px solid var(--line); background:#0c0e12; color:var(--text); }
.row input, .row select { width:auto; flex:1; margin:0; }
.btn { display:inline-block; background:var(--accent); color:#111; border:0; border-radius:10px; padding:11px 18px; font-weight:700; font-size:15px; cursor:pointer; text-decoration:none; }
.btn:hover { filter:brightness(1.07); }
.btn:disabled { opacity:.5; cursor:default; }
.btn.big { width:100%; padding:15px; font-size:17px; margin-top:12px; }
.btn.ghost { background:transparent; color:var(--text); border:1px solid var(--line); }
.tabs { display:flex; gap:6px; margin-bottom:8px; }
.tabs button { flex:1; padding:10px; border-radius:10px; border:1px solid var(--line); background:transparent; color:var(--muted); font-weight:600; cursor:pointer; }
.tabs button.on { background:#232836; color:var(--text); }
.err { color:var(--bad); min-height:1em; margin:10px 0 0; }
.fine { color:var(--muted); font-size:13px; }
.banner { background:#2a2410; border:1px solid #5c4d12; color:#ffe58a; padding:12px 16px; border-radius:12px; margin-bottom:16px; }
.dropzone { border:2px dashed var(--line); border-radius:14px; padding:30px 20px; text-align:center; transition:.15s; }
.dropzone.over { border-color:var(--accent); background:#1f1c10; }
.dz-icon { font-size:34px; color:var(--accent); }
.link { display:inline; color:var(--accent); cursor:pointer; text-decoration:underline; font-size:16px; }
.or { color:var(--muted); font-size:13px; margin:14px 0 4px; text-transform:uppercase; letter-spacing:1px; }
.dropzone input[type=url] { max-width:560px; }
.picked { margin-top:12px; color:var(--ok); font-weight:600; }
.opts { display:flex; gap:22px; flex-wrap:wrap; align-items:flex-end; margin-top:16px; }
.opts label { margin:0; }
.check { display:flex; gap:8px; align-items:center; color:var(--text); }
.rights { margin-top:16px; }
.bar { height:8px; background:#0c0e12; border-radius:6px; overflow:hidden; margin-top:12px; }
.bar > div { height:100%; width:0; background:linear-gradient(90deg,var(--accent),var(--accent2)); transition:width .3s; }
.projects { display:grid; gap:10px; }
.proj { display:flex; justify-content:space-between; align-items:center; gap:14px; padding:14px 16px; background:var(--card); border:1px solid var(--line); border-radius:12px; cursor:pointer; }
.proj:hover { border-color:#3a4150; }
.proj .t { font-weight:600; }
.proj .s { color:var(--muted); font-size:14px; }
.proj .bar { width:160px; margin:0; }
.pill { font-size:12px; padding:3px 9px; border-radius:20px; background:#232836; color:var(--muted); white-space:nowrap; }
.pill.done { background:#123a2a; color:var(--ok); }
.pill.failed { background:#3a1515; color:var(--bad); }
.back { color:var(--muted); text-decoration:none; }
.proj-head { display:flex; justify-content:space-between; align-items:center; gap:12px; flex-wrap:wrap; }
.clips { display:grid; grid-template-columns:repeat(auto-fill,minmax(230px,1fr)); gap:18px; margin-top:18px; }
.clip { background:var(--card); border:1px solid var(--line); border-radius:14px; overflow:hidden; display:flex; flex-direction:column; }
.clip video { width:100%; aspect-ratio:9/16; background:#000; display:block; }
.clip .b { padding:12px; display:flex; flex-direction:column; gap:8px; flex:1; }
.clip .t { font-weight:700; }
.clip .m { color:var(--muted); font-size:13px; }
.clip .cap { font-size:13px; color:#c8ceda; background:#0c0e12; border-radius:8px; padding:8px; }
.clip .acts { display:flex; gap:8px; margin-top:auto; }
.clip .acts .btn { flex:1; text-align:center; padding:9px; font-size:14px; }
.score { float:right; color:var(--accent); font-weight:800; }
.status-box { padding:18px; background:var(--card); border:1px solid var(--line); border-radius:12px; margin-top:16px; }
.tbl { width:100%; border-collapse:collapse; }
.tbl td, .tbl th { text-align:left; padding:10px; border-bottom:1px solid var(--line); font-size:14px; }
@media (max-width:600px){ .hero h1{font-size:30px} .proj .bar{width:90px} }
