:root { --bg: #0f1720; --card: #16212d; --line: #263445; --text: #e6edf3; --muted: #93a4b5; --acc: #3b82f6; --err: #f87171; }
* { box-sizing: border-box; }
html, body { height: 100%; margin: 0; }
body { display: grid; place-items: center; background: radial-gradient(1200px 600px at 20% -10%, #1d3350 0%, var(--bg) 60%); color: var(--text); font: 15px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; padding: 16px; }
.card { width: 100%; max-width: 380px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 28px; box-shadow: 0 20px 50px rgba(0,0,0,.35); }
.brand { display: flex; gap: 12px; align-items: center; margin-bottom: 22px; }
.brand .dot { width: 38px; height: 38px; border-radius: 10px; background: linear-gradient(135deg, #3b82f6, #22c55e); flex: none; }
h1 { font-size: 19px; margin: 0; }
.brand p { margin: 0; color: var(--muted); font-size: 13px; }
label { display: block; font-size: 13px; color: var(--muted); margin-bottom: 14px; }
input { display: block; width: 100%; margin-top: 6px; padding: 11px 12px; border-radius: 9px; border: 1px solid var(--line); background: #0f1720; color: var(--text); font-size: 15px; }
input:focus { outline: 2px solid var(--acc); outline-offset: 0; border-color: transparent; }
button { width: 100%; margin-top: 6px; padding: 12px; border: 0; border-radius: 9px; background: var(--acc); color: white; font-weight: 600; font-size: 15px; cursor: pointer; }
button:disabled { opacity: .6; cursor: wait; }
#msg { color: var(--err); min-height: 22px; margin: 12px 0 0; font-size: 14px; }
.foot { color: var(--muted); font-size: 12px; margin: 14px 0 0; text-align: center; }
.hint { display: block; color: var(--muted); font-size: 12px; margin-top: 5px; }
.card.wide { max-width: 460px; }
.steps { color: var(--text); font-size: 14px; padding-left: 20px; margin: 0 0 16px; }
.steps li { margin-bottom: 6px; }
.qrbox { text-align: center; background: #0f1720; border: 1px solid var(--line); border-radius: 12px; padding: 16px; margin-bottom: 16px; }
.qrbox img { display: block; margin: 0 auto 10px; border-radius: 8px; background: #fff; width: 220px; height: 220px; }
.qrbox code { display: inline-block; font: 600 15px/1.4 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .5px; word-break: break-all; color: #cfe3ff; }
.linklike { width: auto; margin: 0; padding: 0; background: none; color: #8ab4ff; font-weight: 400; font-size: 12px; text-decoration: underline; }
