.login-page { display: grid; place-items: center; min-height: 100vh; }
.login-wrap { text-align: center; padding: 32px; width: min(420px, 92vw); position: relative; z-index: 1; }
.login-title { margin: 0; font-size: 40px; letter-spacing: 0.35em; font-weight: 700; color: var(--hud); text-shadow: var(--glow); }
.login-sub { color: var(--text-2); letter-spacing: 0.22em; text-transform: uppercase; font-size: 12px; margin: 6px 0 26px; }
.login-form { display: flex; gap: 8px; }
.login-form input { flex: 1; font-family: var(--font-mono); letter-spacing: 0.3em; text-align: center; font-size: 18px; }
.login-msg { margin-top: 16px; font-family: var(--font-mono); font-size: 12px; color: var(--text-2); min-height: 18px; }
.login-msg.bad { color: #ff9b9b; }
.login-form { flex-wrap: wrap; }
.login-remember { flex-basis: 100%; display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 6px; font-size: 12px; color: var(--text-2); letter-spacing: 0.04em; }
.login-remember input { width: auto; flex: none; font-size: 13px; letter-spacing: 0; }
.login-face { width: 100%; justify-content: center; padding: 12px 16px; font-size: 14px; letter-spacing: 0.1em; margin-bottom: 6px; }
.login-face .face-glyph { font-size: 18px; line-height: 1; }
.login-or { margin: 12px 0 10px; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-3); }
.login-or::before, .login-or::after { content: ''; display: inline-block; width: 60px; height: 1px; background: var(--line); vertical-align: middle; margin: 0 10px; }

/* first-time setup (online): the code is long, so the field gets its own full-width row */
.login-form.setup { flex-direction: column; }
.login-form.setup input { width: 100%; letter-spacing: 0.08em; font-size: 16px; padding: 12px 10px; text-transform: uppercase; }
.login-form.setup input::placeholder { letter-spacing: 0.08em; text-transform: none; }
.login-form.setup .btn { width: 100%; justify-content: center; padding: 12px 16px; }
