:root{
  --bg:#0b0f14; --card:#11161f; --text:#e5ecf4; --muted:#9fb0c3; --border:#1f2a37;
  --primary:#0ea5e9; --accent:#22c55e; --danger:#ef4444;
}
*{box-sizing:border-box} html,body{height:100%}
body{margin:0;font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Arial,'Helvetica Neue',sans-serif;
  background: radial-gradient(1200px 600px at 20% -10%, #0f172a 0%, var(--bg) 60%), var(--bg);
  color:var(--text); line-height:1.6;}
.container{max-width:980px;margin:40px auto;padding:0 16px}
.card{background:linear-gradient(180deg,rgba(255,255,255,.02),rgba(255,255,255,0)),var(--card);
  border:1px solid var(--border);border-radius:18px;padding:18px;box-shadow:0 10px 30px rgba(0,0,0,.25);margin-bottom:16px}
h1,h2{margin:0 0 10px 0} p.notice{color:var(--muted);font-size:14px;margin:8px 0 0}
label{font-size:14px;color:var(--text)}
input,button{width:100%;padding:12px 14px;border-radius:12px;border:1px solid var(--border);
  background:#0e141b;color:var(--text)}
button{cursor:pointer;border:0;background:linear-gradient(180deg,rgba(34,197,94,.15),rgba(34,197,94,.05));color:#d1fae5;transition:all .2s}
button:hover{transform:translateY(-1px);box-shadow:0 6px 20px rgba(0,0,0,.25)}
.small{font-size:12px;color:var(--muted)} .success{color:#22c55e} .error{color:#ef4444}
.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:10px}
.thumb{width:100%;aspect-ratio:1/1;object-fit:cover;border-radius:12px;border:1px solid var(--border)}
.modal{position:fixed;inset:0;display:flex;align-items:center;justify-content:center;background:rgba(0,0,0,.6);z-index:9999}
.modal .box{max-width:560px;background:#11161f;border:1px solid var(--border);border-radius:16px;padding:20px}
.row{display:flex;gap:10px}.row>*{flex:1}
.footer{margin-top:22px;text-align:center;color:var(--muted);font-size:13px}
