:root{color-scheme:dark;--bg:#070d19;--surface:#0d1626;--surface-2:#111d30;--surface-3:#0f1d31;--border:#2a3f5f;--border-strong:#1f3351;--border-hover:#2f4d76;--text:#d8e4f4;--muted:#7f93ac;--accent:#3b82f6;--focus-ring:#6ea0f5;--success:#34d399;--warn:#fbbf24;--ui-font-size:0.84rem;--ui-font-weight:500;--ui-font-weight-strong:600;--auth-title-font:"Segoe UI","Segoe UI Variable",system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI Emoji","Apple Color Emoji","Noto Color Emoji",sans-serif;--auth-font:var(--auth-title-font)}*,*::before,*::after{box-sizing:border-box}html,body{height:100%;margin:0}body.auth-page{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:2rem 1.25rem 2.25rem;min-height:100%;box-sizing:border-box;background:linear-gradient(180deg,#050b17 0%,#050b14 100%);font-family:var(--auth-font);font-size:var(--ui-font-size);font-weight:var(--ui-font-weight);line-height:1.45;color:var(--text)}.auth-page :where(button,input,select,textarea,label,a,p,h1,code){font-family:var(--auth-font)}.auth-card{width:100%;max-width:420px;background:var(--surface);border:1px solid var(--border);border-radius:12px;padding:1.75rem 1.5rem 1.35rem;box-shadow:0 18px 44px rgba(0,0,0,0.35)}.auth-card--wide{max-width:480px}.auth-logo-link,.auth-logo-reload{display:block;width:min(100%,248px);margin:0 auto 1.15rem;border-radius:8px;line-height:0}.auth-logo-reload{padding:0;border:none;background:transparent;cursor:pointer;font:inherit}.auth-logo-link:focus-visible,.auth-logo-reload:focus-visible{outline:2px solid var(--focus-ring);outline-offset:4px}.auth-logo{display:block;width:100%;height:auto;margin:0}.auth-title{margin:0 0 1rem;font-family:var(--auth-title-font);font-size:1.15rem;font-weight:700;text-align:center;color:#e8f2fc;letter-spacing:normal;word-spacing:normal;line-height:1.35}.auth-greeting-name{font:inherit;color:#e8c170}.auth-lead{margin:0 0 1rem;font-size:var(--ui-font-size);font-weight:var(--ui-font-weight);line-height:1.45;color:var(--muted);text-align:center}.auth-success{display:flex;align-items:center;justify-content:center;width:3rem;height:3rem;margin:0 auto 1rem;border-radius:50%;background:rgba(52,211,153,0.15);color:var(--success);font-size:1.25rem;font-weight:var(--ui-font-weight-strong)}.auth-form{display:flex;flex-direction:column;gap:0.75rem;width:100%;min-width:0}.auth-field{display:flex;flex-direction:column;gap:0.28rem;min-width:0}.auth-field label{font-size:0.7rem;font-weight:var(--ui-font-weight-strong);text-transform:uppercase;letter-spacing:0.04em;color:var(--muted)}.auth-field input{width:100%;margin:0;padding:0.5rem 0.65rem;min-height:2.1rem;font-family:var(--auth-font);font-size:var(--ui-font-size);font-weight:var(--ui-font-weight);line-height:1.35;color:var(--text);background:var(--surface-3);border:1px solid var(--border-strong);border-radius:8px;-webkit-appearance:none;appearance:none}.auth-field input:read-only{opacity:0.85;cursor:not-allowed}.auth-field input:focus-visible{outline:2px solid var(--focus-ring);outline-offset:2px;border-color:var(--border-hover)}.auth-submit{width:100%;margin:0.15rem 0 0;padding:0.5rem 0.75rem;min-height:2.1rem;font-family:var(--auth-font);font-size:var(--ui-font-size);font-weight:var(--ui-font-weight-strong);color:#fff;background:var(--accent);border:1px solid #388bfd;border-radius:8px;cursor:pointer}.auth-submit:hover{filter:brightness(1.06)}.auth-error{margin:0.75rem 0 0;padding:0.5rem 0.65rem;font-size:var(--ui-font-size);font-weight:var(--ui-font-weight);line-height:1.45;color:#ffb4b4;background:rgba(180,40,40,0.12);border:1px solid rgba(220,80,80,0.35);border-radius:8px}.auth-after-form{margin-top:1.1rem;display:flex;flex-direction:column;gap:0.55rem}.auth-note{margin:0;font-size:var(--ui-font-size);font-weight:var(--ui-font-weight);line-height:1.5;text-align:center;color:var(--muted)}.auth-note a{margin-left:0.35em;color:#9ec5ff;text-decoration:none;font-weight:var(--ui-font-weight-strong);white-space:nowrap}.auth-note a:hover{text-decoration:underline}.auth-hint{margin:1rem 0 0;padding:0.65rem 0.75rem;font-size:var(--ui-font-size);font-weight:var(--ui-font-weight);line-height:1.45;color:var(--muted);background:var(--surface-2);border:1px solid var(--border-strong);border-radius:8px}.auth-hint strong{color:var(--text);font-weight:var(--ui-font-weight-strong)}.auth-hint[data-polling="1"] #register-ipn-status strong{color:var(--accent)}.auth-legal{margin:1rem 0 0;font-size:var(--ui-font-size);font-weight:var(--ui-font-weight);line-height:1.45;color:var(--muted);text-align:center}.auth-footer{margin-top:0.85rem;text-align:center;font-size:var(--ui-font-size);font-weight:var(--ui-font-weight);line-height:1.5;color:var(--muted)}.auth-footer a{margin-left:0.35em;color:#9ec5ff;text-decoration:none;font-weight:var(--ui-font-weight-strong);white-space:nowrap}.auth-footer a:hover{text-decoration:underline}.auth-page-legal{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:0.35rem 0.55rem;width:100%;max-width:480px;margin-top:1.35rem;font-size:0.72rem;font-weight:var(--ui-font-weight);color:#5f738d}.auth-page-legal a{color:inherit;text-decoration:none}.auth-page-legal a:hover{color:var(--muted);text-decoration:underline}.auth-legal-sep{color:#3d5270;user-select:none}.auth-order{margin:0 0 1rem;padding:0.55rem 0.7rem;font-size:var(--ui-font-size);font-weight:var(--ui-font-weight);color:var(--muted);background:var(--surface-2);border-radius:8px;text-align:center}.auth-order code{color:var(--text);font-size:1em;font-weight:var(--ui-font-weight)}