:root { --bg:#0b1020; --card:#141b33; --line:#26305a; --ink:#eef2ff; --muted:#9aa4c7; --accent:#38e1ff; --btn-ink:#04121a; --error:#ff8a8a; }
* { box-sizing:border-box; }
body { margin:0; min-height:100vh; display:flex; align-items:flex-start; justify-content:center;
       background:radial-gradient(circle at 30% 20%, #1b2550 0%, var(--bg) 60%) fixed;
       color:var(--ink); font-family:system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; padding:48px 16px; }
.card { max-width:640px; width:100%; background:var(--card); border:1px solid var(--line); border-radius:16px; padding:32px 28px; }
.brand { font-weight:700; font-size:18px; letter-spacing:.3px; margin-bottom:24px; }
.brand span { color:var(--accent); }
.bolt { color:#ff9a3c; }
h1 { font-size:24px; margin:0 0 8px; }
.muted, .meta, .tip, .foot { color:var(--muted); line-height:1.5; }
.meta { margin:0 0 20px; }
.message { background:#0f1530; border-left:3px solid var(--accent); padding:12px 14px; border-radius:6px; line-height:1.5; }
.error { color:var(--error); }
.pw { display:flex; flex-direction:column; gap:10px; margin-top:16px; }
.pw label { font-size:14px; color:var(--muted); }
input[type=password] { padding:12px; border-radius:8px; border:1px solid var(--line); background:#0b1020; color:var(--ink); font-size:16px; }
button, .btn { background:var(--accent); color:var(--btn-ink); border:0; border-radius:8px; padding:11px 18px; font-weight:600; font-size:15px; text-decoration:none; cursor:pointer; white-space:nowrap; }
button:hover, .btn:hover { filter:brightness(1.1); }
.files { list-style:none; padding:0; margin:0; border-top:1px solid var(--line); }
.files li { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:12px 0; border-bottom:1px solid var(--line); }
.files .name { overflow-wrap:anywhere; }
.files small { display:block; color:var(--muted); margin-top:2px; }
.tip { font-size:13px; margin-top:16px; }
.foot { font-size:12px; margin:28px 0 0; text-align:center; }
.drop { border:2px dashed var(--line); border-radius:12px; padding:28px 16px; text-align:center; margin:8px 0 16px; transition:border-color .15s, background .15s; }
.drop.over { border-color:var(--accent); background:#0f1a3a; }
.drop p { margin:0 0 12px; color:var(--muted); }
.drop .btn { display:inline-block; }
.files li { flex-wrap:wrap; }
.files .state { color:var(--muted); font-size:13px; white-space:nowrap; }
.files .bar { flex-basis:100%; height:6px; background:#0b1020; border-radius:3px; overflow:hidden; }
.files .bar i { display:block; height:100%; width:0; background:var(--accent); transition:width .3s; }
.files li.ok .state { color:#6ef0b5; } .files li.ok .bar i { background:#6ef0b5; }
.files li.bad .state { color:var(--error); white-space:normal; }
.small-h { font-size:16px; margin:28px 0 8px; }
