:root{--bg:#070b15;--panel:#0d1424;--panel2:#111a2e;--line:rgba(255,255,255,.09);--text:#f6f8ff;--muted:#9ca8bd;--accent:#7c6cff;--accent2:#28c9a7;--danger:#ff6f7d;--shadow:0 24px 70px rgba(0,0,0,.28)}
*{box-sizing:border-box}body{margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",Tahoma,sans-serif;background:radial-gradient(circle at top,#101932 0,#070b15 52%,#050811 100%);color:var(--text);min-height:100vh}.bg-orb{position:fixed;filter:blur(90px);opacity:.18;pointer-events:none;border-radius:50%;z-index:0}.orb-a{width:360px;height:360px;background:#6d62ff;top:-110px;right:8%}.orb-b{width:300px;height:300px;background:#1fc7a2;bottom:-120px;left:5%}.topbar{height:78px;display:flex;align-items:center;justify-content:space-between;padding:0 5vw;border-bottom:1px solid var(--line);position:sticky;top:0;backdrop-filter:blur(18px);background:rgba(7,11,21,.68);z-index:5}.brand{display:flex;align-items:center;gap:10px;font-weight:800}.brand small{font-weight:500;color:var(--muted);font-size:12px}.brand-mark{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;background:linear-gradient(135deg,var(--accent),#a08cff);box-shadow:0 10px 30px rgba(124,108,255,.3)}.top-actions{display:flex;gap:8px}.container{max-width:1180px;margin:0 auto;padding:34px 20px 70px;position:relative;z-index:1}.card{background:linear-gradient(180deg,rgba(17,26,46,.94),rgba(9,15,27,.94));border:1px solid var(--line);box-shadow:var(--shadow);border-radius:22px}.auth-card{max-width:460px;margin:8vh auto 0;padding:34px}.auth-icon{width:58px;height:58px;display:grid;place-items:center;border-radius:18px;background:linear-gradient(135deg,var(--accent),#b19cff);font-weight:900;letter-spacing:.08em;margin-bottom:18px}.auth-card h1,.hero h1{margin:0 0 10px}.auth-card p,.hero p,.panel-head p{color:var(--muted);line-height:1.8}.stack{display:flex;flex-direction:column;gap:16px}label{display:flex;flex-direction:column;gap:8px;font-size:13px;color:#d5dcef}input,textarea,select{width:100%;border:1px solid var(--line);background:rgba(255,255,255,.035);color:var(--text);border-radius:14px;padding:13px 14px;font:inherit;outline:none}textarea{resize:vertical;min-height:120px;line-height:1.8}input:focus,textarea:focus,select:focus{border-color:rgba(124,108,255,.72);box-shadow:0 0 0 4px rgba(124,108,255,.11)}select option{background:#0d1424}.btn{border:1px solid var(--line);border-radius:13px;padding:11px 16px;color:var(--text);background:rgba(255,255,255,.04);cursor:pointer;font-weight:750;transition:.2s}.btn:hover{transform:translateY(-1px);border-color:rgba(255,255,255,.2)}.btn.primary{background:linear-gradient(135deg,var(--accent),#9a7cff);border:none}.btn.secondary{background:linear-gradient(135deg,#1f957f,#24b996);border:none}.btn.ghost{background:rgba(255,255,255,.025)}.btn.danger{color:#ffd1d6}.wide{width:100%;padding:14px}.hidden{display:none!important}.hero{padding:28px;display:flex;justify-content:space-between;gap:25px;align-items:stretch;margin-bottom:16px}.hero>div:first-child{flex:1}.eyebrow{font-size:11px;letter-spacing:.16em;color:#a99fff}.status-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;min-width:420px}.status-grid>div{padding:14px;border:1px solid var(--line);border-radius:16px;background:rgba(255,255,255,.03);display:flex;flex-direction:column;gap:7px}.status-grid span{color:var(--muted);font-size:12px}.status-grid strong{font-size:13px;word-break:break-word}.tabs{display:flex;gap:6px;padding:7px;margin-bottom:16px;position:sticky;top:92px;z-index:4;overflow:auto}.tab{background:transparent;color:var(--muted);border:0;border-radius:13px;padding:12px 14px;cursor:pointer;white-space:nowrap;font-weight:750}.tab.active{background:rgba(124,108,255,.14);color:#fff}.panel{padding:26px}.panel-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:22px}.panel-head h2{margin:0 0 6px}.pill{font-size:10px;border:1px solid rgba(124,108,255,.28);color:#bdb3ff;background:rgba(124,108,255,.1);padding:7px 10px;border-radius:999px}.pill.video{color:#9ff4dd;border-color:rgba(40,201,167,.28);background:rgba(40,201,167,.08)}.pill.edit{color:#ffd4a9}.pill.free{color:#cdefff}.grid2,.grid3,.grid4{display:grid;gap:12px}.grid2{grid-template-columns:repeat(2,1fr)}.grid3{grid-template-columns:repeat(3,1fr)}.grid4{grid-template-columns:repeat(4,1fr)}.hint{color:var(--muted);font-size:12px}.alert{padding:12px 14px;border-radius:12px;font-size:13px;line-height:1.7}.alert.error{background:rgba(255,111,125,.08);border:1px solid rgba(255,111,125,.22);color:#ffc7cc}.alert.ok{background:rgba(40,201,167,.08);border:1px solid rgba(40,201,167,.22);color:#b9ffe9}.result{margin-top:20px;border:1px solid var(--line);border-radius:18px;padding:14px;background:rgba(0,0,0,.14)}.result img,.result video{display:block;width:100%;max-height:650px;object-fit:contain;border-radius:14px;background:#02050b}.result-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:10px}.job-list{display:grid;gap:10px;margin-top:18px}.job{padding:14px;border:1px solid var(--line);border-radius:16px;background:rgba(255,255,255,.025)}.job-top{display:flex;justify-content:space-between;gap:10px}.job small{color:var(--muted)}.job-status{margin-top:8px;color:#cbd5eb;font-size:13px}.history-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.history-card{border:1px solid var(--line);border-radius:16px;overflow:hidden;background:rgba(255,255,255,.025)}.history-card img,.history-card video{display:block;width:100%;height:220px;object-fit:cover;background:#040811}.history-meta{padding:12px;font-size:12px}.history-meta small{display:block;color:var(--muted);margin-top:6px;line-height:1.5}code{background:rgba(255,255,255,.07);padding:3px 6px;border-radius:6px}footer{position:relative;z-index:1;text-align:center;color:#6d7890;padding:25px;font-size:12px}
@media(max-width:900px){.hero{flex-direction:column}.status-grid{min-width:0}.history-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:650px){.topbar{padding:0 16px}.brand small{display:none}.container{padding:22px 12px 55px}.panel,.hero{padding:18px}.tabs{top:78px}.grid2,.grid3,.grid4,.status-grid{grid-template-columns:1fr}.history-grid{grid-template-columns:1fr}.top-actions .btn{padding:9px 11px}.panel-head{flex-direction:column}}
