.auth-password-toggle { display: none; }
@media (max-width: 650px) {
    body.auth-gateway { min-height: 100vh; min-height: 100dvh; padding: 0; background-attachment: scroll; }
    .auth-gateway > :is(.navbar, .sidebar, footer), .auth-gateway .aux-kofi-nav-mask { display: none !important; }
    .auth-gateway .main-content { width: 100%; margin: 0; padding: max(32px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) max(32px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left)); display: flex; align-items: center; }
    .auth-gateway .auth-container { width: 100%; min-height: 0; }
    .auth-gateway .auth-card, .auth-gateway #signup-card { width: 100%; max-width: 440px; padding: 28px 20px; border-radius: 14px; background: #111; box-shadow: none; }
    .auth-gateway .auth-logo img { width: 120px; height: auto; margin-bottom: 16px; }
    .auth-gateway .auth-subtitle { margin: 0 0 28px; font-size: 14px; color: #aaa; }
    .auth-gateway .auth-form, .auth-gateway #signup-card .auth-form { gap: 20px; }
    .auth-gateway .form-group label { font-size: 11px; color: #aaa; }
    .auth-gateway .form-group input { height: 48px !important; font-size: 16px !important; background: #e8efff !important; color: #171717 !important; border: 1px solid #e8efff !important; }
    .auth-gateway .form-group input::placeholder { color: #626875; opacity: 1; }
    .auth-gateway .form-group input:focus-visible { outline: 2px solid #9b2d2d !important; outline-offset: 2px; }
    .auth-password-field { position: relative; }
    .auth-gateway .auth-password-field input { padding-right: 48px !important; }
    .auth-password-toggle { position: absolute; inset: 0 0 0 auto; display: flex; justify-content: center; align-items: center; width: 46px; padding: 0; border: 0; background: transparent; color: #626875; cursor: pointer; }
    .auth-password-toggle svg { width: 21px; height: 21px; stroke: currentColor; fill: none; stroke-width: 1.7; }
    .auth-password-toggle:focus-visible { outline: 2px solid #9b2d2d; outline-offset: -4px; border-radius: 8px; }
    .auth-gateway .btn-signin-submit, .auth-gateway .btn-create-account { min-height: 48px; height: auto; padding: 12px; font-size: 14px; }
    .auth-gateway .btn-signin-submit:not(:disabled), .auth-gateway .btn-signin-submit:not(:disabled):hover { background: #9b2d2d; }
    .auth-gateway :is(.forgot-password-link, .form-consent-group a) { color: #9b2d2d; }
    .auth-gateway :is(.field-notice, .data-notice, .form-consent-group label) { color: #999; font-size: 11px; line-height: 1.5; }
    .auth-gateway .form-consent-group input { width: 20px; height: 20px; flex-shrink: 0; }
    .auth-gateway .h-captcha { display: flex; justify-content: center; width: 100%; }
    .auth-gateway .auth-guest-wrap { margin-top: 22px; }
    .auth-gateway .guest-link { display: inline-flex; min-height: 44px; align-items: center; font-size: 13px; }
}
