/* login.css — login page (shared look comes from kq.css) */
.login-card { max-width: 440px; }
.login-logo { display: none; align-items: center; gap: 10px; margin-bottom: 18px; }
.login-logo .mark { width: 32px; height: 32px; }
.login-logo-text { font-weight: 800; letter-spacing: -.02em; }
.login-providers { display: flex; flex-direction: column; gap: 10px; margin-top: 26px; }
.login-footer { margin-top: 22px; font-size: .8rem; color: var(--text-secondary); }

/* Native-app handoff (rendered by NativeLoginSupervisor) */
.login-card--native { max-width: 480px; }
.native-banner { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; padding: 14px 16px; border-radius: 16px; background: color-mix(in srgb, var(--accent-color) 10%, transparent); }
.native-banner-icon { flex: none; font-size: 1.5rem; }
.native-banner-text { font-size: .9rem; line-height: 1.5; color: var(--text-secondary); }
.native-spinner { width: 22px; height: 22px; margin: 16px auto; border-radius: 50%; border: 3px solid var(--border-color); border-top-color: var(--accent-color); animation: spin .8s linear infinite; }
.native-fallback-title { margin-top: 18px; font-weight: 700; }
.native-fallback-instruction { margin-top: 6px; font-size: .88rem; line-height: 1.5; color: var(--text-secondary); }
.native-token-box { display: flex; align-items: center; gap: 10px; margin-top: 12px; padding: 10px 10px 10px 14px; border-radius: 14px; background: var(--surface-secondary); border: 1px solid var(--border-color); }
.native-token-code { flex: 1; min-width: 0; max-height: 5.5em; overflow: auto; word-break: break-all; font: 500 .78rem ui-monospace, SFMono-Regular, Menlo, monospace; }
.native-copy-btn { padding: 9px 16px; font-size: .84rem; border-radius: 11px; }
.native-security-note { margin-top: 16px; font-size: .78rem; line-height: 1.5; color: var(--text-secondary); }

/* Popup mode (opened with window.open): no chrome, no background */
.login-popup-mode #bg, .login-popup-mode .topbar, .login-popup-mode .login-footer { display: none; }
.login-popup-mode .page { padding: 16px; }
.login-popup-mode .card { max-width: none; box-shadow: none; background: var(--surface-primary); animation: none; }
.login-popup-mode .login-logo { display: flex; }
