:root{
  --bg:#0b1220; --card:#0f1a2e; --muted:#9fb0cc; --text:#eef3ff;
  --stroke:rgba(255,255,255,.12); --focus:rgba(120,170,255,.35);
  --danger:#ff5a6a; --ok:#4ade80;
}
*{box-sizing:border-box}
body{
  margin:0; font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  background: radial-gradient(1200px 700px at 20% 10%, rgba(120,170,255,.18), transparent 55%),
              radial-gradient(900px 600px at 90% 20%, rgba(255,90,106,.12), transparent 60%),
              var(--bg);
  color:var(--text); min-height:100svh; padding:18px;
}
.wrap{width:100%; max-width:520px; margin:0 auto;}
.card{
  background: rgba(15,26,46,.85); border:1px solid var(--stroke);
  border-radius:18px; padding:18px;
  box-shadow:0 18px 50px rgba(0,0,0,.35); backdrop-filter: blur(10px);
}
.h1{font-size:18px; margin:0;}
.p{margin:6px 0 0; color:var(--muted); font-size:13px;}
.btn{
  width:100%; height:54px; border-radius:16px; border:0;
  background: linear-gradient(135deg, rgba(120,170,255,.95), rgba(120,170,255,.45));
  color:#07101f; font-weight:800; font-size:16px; cursor:pointer;
  box-shadow:0 12px 35px rgba(120,170,255,.25);
}
.btn.secondary{
  background: rgba(255,255,255,.08);
  color: var(--text);
  border:1px solid var(--stroke);
  box-shadow:none;
}
.btn:disabled{opacity:.55; cursor:not-allowed; box-shadow:none;}
.input{
  width:100%; height:48px; border-radius:14px;
  border:1px solid var(--stroke); background: rgba(255,255,255,.06);
  color:var(--text); padding:0 14px; outline:none; font-size:16px;
}
.input:focus{border-color:rgba(120,170,255,.55); box-shadow:0 0 0 4px var(--focus);}
.label{display:block; font-size:13px; color:var(--muted); margin:14px 0 8px;}
.row{display:flex; gap:12px; align-items:center; justify-content:space-between; margin-top:14px;}
.msg{margin-top:12px; font-size:13px; color:var(--muted); min-height:18px; text-align:center;}
.msg.error{color:rgba(255,90,106,.95)}
.badge{display:inline-block; font-size:12px; padding:6px 10px; border-radius:999px; border:1px solid var(--stroke); background:rgba(255,255,255,.06); color:var(--muted)}
.topbar{display:flex; justify-content:space-between; align-items:center; gap:10px; margin-bottom:14px;}
a{color: rgba(120,170,255,.9); text-decoration:none;}
a:active{opacity:.8}
.pinRow{display:flex; gap:10px; justify-content:center; padding:8px 0 2px;}
.pinBox{width:54px; height:56px; border-radius:14px; border:1px solid var(--stroke); background:rgba(255,255,255,.06); display:flex; align-items:center; justify-content:center; font-size:22px; user-select:none;}
.pinBox.filled{border-color:rgba(120,170,255,.55)}
.pinBox.error{border-color:rgba(255,90,106,.85); box-shadow:0 0 0 4px rgba(255,90,106,.18);}
@media (max-width:380px){.pinBox{width:48px;height:52px}.card{padding:16px}}
