:root{color-scheme:dark}
*{box-sizing:border-box}
html,body{margin:0;min-height:100%;background:#0f0f14;color:#e9e8f1;font:16px/1.45 "Segoe UI",Inter,system-ui,sans-serif}
body{display:grid;place-items:center;min-height:100vh;padding:24px 16px calc(24px + env(safe-area-inset-bottom,0px))}
.box{width:min(380px,100%);text-align:center}
.logo{display:inline-grid;place-items:center;width:56px;height:56px;border-radius:16px;background:linear-gradient(135deg,#7b61ff,#38bdf8);font-size:22px;margin-bottom:14px}
h1{font-size:24px;margin:0 0 6px}
p{margin:0 0 18px}.dim{color:#9b99ad}
input,button{display:block;width:100%;font:inherit;border-radius:12px;padding:14px 16px;min-height:50px}
input{background:#1d1d26;border:1px solid #2a2a36;color:#e9e8f1;outline:none;margin-bottom:12px;text-align:center;letter-spacing:.08em}
input:focus{border-color:#7b61ff}
button{background:#7b61ff;border:0;color:#fff;font-weight:600;cursor:pointer}
button:disabled{opacity:.6}
#err{color:#ff9da0;margin-top:12px;min-height:1.4em}
