/* Shared wordmark spacing; PNG transparency contributes to the visible gap. */
#root #auth-screen.auth-simple.ui-reference-auth.full-site-auth.auth-v5.auth-mobile-reference.auth-mobile-reference:is(.auth-view-login,.auth-view-register,.auth-view-forgot) .auth-introduction .full-site-auth-brand small { margin-top:calc(-6 * var(--u)) !important; }
#root #auth-screen.auth-simple.ui-reference-auth.full-site-auth.auth-v5.auth-mobile-reference.auth-mobile-reference:is(.auth-view-login,.auth-view-register,.auth-view-forgot):not(:lang(zh)) .auth-introduction .full-site-auth-brand small { margin-top:calc(-24 * var(--u)) !important; }
#root #auth-screen.auth-simple.ui-reference-auth.full-site-auth.auth-v5.auth-mobile-reference.auth-view-login.auth-view-login.auth-view-login.auth-view-login .reference-register-link { justify-content:center !important; padding-right:0 !important; padding-left:0 !important; }
#root #auth-screen.auth-simple.ui-reference-auth.full-site-auth.auth-v5.auth-mobile-reference.auth-view-login.auth-view-login.auth-view-login.auth-view-login .auth-legal-actions { display:grid !important; grid-template-columns:repeat(3,minmax(0,1fr)) !important; align-items:stretch !important; gap:0 !important; }
#root #auth-screen.auth-simple.ui-reference-auth.full-site-auth.auth-v5.auth-mobile-reference.auth-view-login.auth-view-login.auth-view-login.auth-view-login .auth-legal-actions > :is(button,a) { display:flex !important; justify-content:center !important; align-items:center !important; text-align:center !important; white-space:normal !important; font-size:clamp(12px,calc(16 * var(--u)),16px) !important; line-height:1.5 !important; padding:0 12px !important; min-height:44px !important; }
@media(max-width:600px) {
#root #auth-screen.auth-simple.ui-reference-auth.full-site-auth.auth-v5.auth-mobile-reference.auth-view-login.auth-view-login.auth-view-login.auth-view-login .auth-introduction { height:max(400px,calc(806 * var(--u))) !important; }
#root #auth-screen.auth-simple.ui-reference-auth.full-site-auth.auth-v5.auth-mobile-reference.auth-view-login.auth-view-login.auth-view-login.auth-view-login .auth-introduction-copy { top:max(110px,calc(285 * var(--u))) !important; }
#root #auth-screen.auth-simple.ui-reference-auth.full-site-auth.auth-v5.auth-mobile-reference.auth-view-login.auth-view-login.auth-view-login.auth-view-login .auth-introduction-copy > p { width:62% !important; font-size:12px !important; line-height:1.6 !important; margin-top:14px !important; }
#root #auth-screen.auth-simple.ui-reference-auth.full-site-auth.auth-v5.auth-mobile-reference.auth-view-login.auth-view-login.auth-view-login.auth-view-login .auth-introduction-copy .auth-intro-line { display:inline !important; white-space:normal !important; }
#root #auth-screen.auth-simple.ui-reference-auth.full-site-auth.auth-v5.auth-mobile-reference.auth-view-login.auth-view-login.auth-view-login.auth-view-login:not(:lang(zh)) .auth-introduction-copy h2 { max-width:62% !important; font-size:24px !important; line-height:1.15 !important; }
#root #auth-screen.auth-simple.ui-reference-auth.full-site-auth.auth-v5.auth-mobile-reference.auth-view-login.auth-view-login.auth-view-login.auth-view-login .auth-introduction-features { top:calc(max(400px,806 * var(--u)) - max(110px,285 * var(--u)) - 52px) !important; align-items:center !important; gap:10px !important; }
#root #auth-screen.auth-simple.ui-reference-auth.full-site-auth.auth-v5.auth-mobile-reference.auth-view-login.auth-view-login.auth-view-login.auth-view-login .auth-introduction-features li { flex:1 1 0 !important; white-space:normal !important; font-size:11px !important; line-height:1.45 !important; text-align:left !important; gap:5px !important; }
#root #auth-screen.auth-simple.ui-reference-auth.full-site-auth.auth-v5.auth-mobile-reference.auth-mobile-reference:is(.auth-view-login,.auth-view-register,.auth-view-forgot) .auth-introduction .full-site-auth-brand small { font-size:11px !important; line-height:1.5 !important; max-width:210px !important; }
#root #auth-screen.auth-simple.ui-reference-auth.full-site-auth.auth-v5.auth-mobile-reference.auth-view-login.auth-view-login.auth-view-login.auth-view-login .auth-language select { font-size:13px !important; width:auto !important; max-width:120px !important; }
#root #auth-screen.auth-simple.ui-reference-auth.full-site-auth.auth-v5.auth-mobile-reference.auth-view-login.auth-view-login.auth-view-login.auth-view-login .auth-mode-login .auth-panel-brand { height:auto !important; margin-bottom:14px !important; }
#root #auth-screen.auth-simple.ui-reference-auth.full-site-auth.auth-v5.auth-mobile-reference.auth-view-login.auth-view-login.auth-view-login.auth-view-login .auth-panel-brand h1 { font-size:26px !important; line-height:1.3 !important; }
#root #auth-screen.auth-simple.ui-reference-auth.full-site-auth.auth-v5.auth-mobile-reference.auth-view-login.auth-view-login.auth-view-login.auth-view-login .auth-credential-tabs { height:auto !important; margin-bottom:16px !important; gap:12px !important; }
#root #auth-screen.auth-simple.ui-reference-auth.full-site-auth.auth-v5.auth-mobile-reference.auth-view-login.auth-view-login.auth-view-login.auth-view-login .auth-credential-tabs button { height:44px !important; font-size:16px !important; gap:10px !important; }
#root #auth-screen.auth-simple.ui-reference-auth.full-site-auth.auth-v5.auth-mobile-reference.auth-view-login.auth-view-login.auth-view-login.auth-view-login .auth-credential-tabs button svg { width:20px !important; height:20px !important; }
#root #auth-screen.auth-simple.ui-reference-auth.full-site-auth.auth-v5.auth-mobile-reference.auth-view-login.auth-view-login.auth-view-login.auth-view-login .auth-login-field { height:64px !important; padding:28px 12px 8px !important; margin-bottom:14px !important; gap:12px !important; }
#root #auth-screen.auth-simple.ui-reference-auth.full-site-auth.auth-v5.auth-mobile-reference.auth-view-login.auth-view-login.auth-view-login.auth-view-login .reference-auth-label { left:12px !important; top:6px !important; font-size:12px !important; }
#root #auth-screen.auth-simple.ui-reference-auth.full-site-auth.auth-v5.auth-mobile-reference.auth-view-login.auth-view-login.auth-view-login.auth-view-login .auth-login-field input { font-size:16px !important; line-height:24px !important; }
#root #auth-screen.auth-simple.ui-reference-auth.full-site-auth.auth-v5.auth-mobile-reference.auth-view-login.auth-view-login.auth-view-login.auth-view-login .country-combobox { width:72px !important; flex-basis:72px !important; height:28px !important; padding-right:10px !important; }
#root #auth-screen.auth-simple.ui-reference-auth.full-site-auth.auth-v5.auth-mobile-reference.auth-view-login.auth-view-login.auth-view-login.auth-view-login .country-combobox-trigger { font-size:16px !important; }
#root #auth-screen.auth-simple.ui-reference-auth.full-site-auth.auth-v5.auth-mobile-reference.auth-view-login.auth-view-login.auth-view-login.auth-view-login .country-combobox-trigger > svg { width:16px !important; height:16px !important; }
#root #auth-screen.auth-simple.ui-reference-auth.full-site-auth.auth-v5.auth-mobile-reference.auth-view-login.auth-view-login.auth-view-login.auth-view-login .auth-password-toggle { width:32px !important; height:32px !important; flex-basis:32px !important; }
#root #auth-screen.auth-simple.ui-reference-auth.full-site-auth.auth-v5.auth-mobile-reference.auth-view-login.auth-view-login.auth-view-login.auth-view-login .auth-login-options { height:auto !important; min-height:36px !important; margin:0 0 12px !important; }
#root #auth-screen.auth-simple.ui-reference-auth.full-site-auth.auth-v5.auth-mobile-reference.auth-view-login.auth-view-login.auth-view-login.auth-view-login .auth-login-options :is(.auth-remember,.auth-recovery) { font-size:13px !important; line-height:1.5 !important; }
#root #auth-screen.auth-simple.ui-reference-auth.full-site-auth.auth-v5.auth-mobile-reference.auth-view-login.auth-view-login.auth-view-login.auth-view-login .auth-remember input { width:18px !important; height:18px !important; }
#root #auth-screen.auth-simple.ui-reference-auth.full-site-auth.auth-v5.auth-mobile-reference.auth-view-login.auth-view-login.auth-view-login.auth-view-login .auth-introduction-layout .auth-primary { height:46px !important; font-size:18px !important; }
#root #auth-screen.auth-simple.ui-reference-auth.full-site-auth.auth-v5.auth-mobile-reference.auth-view-login.auth-view-login.auth-view-login.auth-view-login .reference-social-login { margin-top:12px !important; }
#root #auth-screen.auth-simple.ui-reference-auth.full-site-auth.auth-v5.auth-mobile-reference.auth-view-login.auth-view-login.auth-view-login.auth-view-login .auth-introduction-layout .auth-social-actions button { height:46px !important; font-size:18px !important; gap:12px !important; }
#root #auth-screen.auth-simple.ui-reference-auth.full-site-auth.auth-v5.auth-mobile-reference.auth-view-login.auth-view-login.auth-view-login.auth-view-login .auth-social-actions :is(.auth-google-mark,.auth-apple-mark) { width:24px !important; height:24px !important; }
#root #auth-screen.auth-simple.ui-reference-auth.full-site-auth.auth-v5.auth-mobile-reference.auth-view-login.auth-view-login.auth-view-login.auth-view-login .auth-agreements-panel { margin-top:16px !important; padding-left:12px !important; }
#root #auth-screen.auth-simple.ui-reference-auth.full-site-auth.auth-v5.auth-mobile-reference.auth-view-login.auth-view-login.auth-view-login.auth-view-login :is(.auth-consent,.auth-social-consent) { font-size:14px !important; line-height:1.6 !important; align-items:flex-start !important; gap:10px !important; margin-bottom:12px !important; }
#root #auth-screen.auth-simple.ui-reference-auth.full-site-auth.auth-v5.auth-mobile-reference.auth-view-login.auth-view-login.auth-view-login.auth-view-login :is(.auth-consent,.auth-social-consent) input { width:18px !important; height:18px !important; flex:0 0 18px !important; margin-top:3px !important; }
#root #auth-screen.auth-simple.ui-reference-auth.full-site-auth.auth-v5.auth-mobile-reference.auth-view-login.auth-view-login.auth-view-login.auth-view-login .reference-register-link { height:auto !important; min-height:44px !important; gap:8px !important; font-size:14px !important; flex-wrap:wrap !important; }
#root #auth-screen.auth-simple.ui-reference-auth.full-site-auth.auth-v5.auth-mobile-reference.auth-view-login.auth-view-login.auth-view-login.auth-view-login .auth-legal-actions { margin-top:14px !important; padding-top:12px !important; }
#root #auth-screen.auth-simple.ui-reference-auth.full-site-auth.auth-v5.auth-mobile-reference.auth-view-login.auth-view-login.auth-view-login.auth-view-login .auth-legal-actions > :is(button,a) { padding:0 6px !important; }
}

#root #auth-screen.auth-simple.ui-reference-auth.full-site-auth.auth-v5.auth-mobile-reference.auth-view-login.auth-view-login.auth-view-login.auth-view-login .auth-consent > span { display:block !important; min-width:0 !important; }
#root #auth-screen.auth-simple.ui-reference-auth.full-site-auth.auth-v5.auth-mobile-reference.auth-view-login.auth-view-login.auth-view-login.auth-view-login .auth-consent > span button { display:inline !important; white-space:normal !important; }

#root #auth-screen.auth-simple.ui-reference-auth.full-site-auth.auth-v5.auth-mobile-reference.auth-view-login.auth-view-login.auth-view-login.auth-view-login .auth-introduction-copy > p { color:#48665c !important; text-shadow:0 1px 2px rgba(255,255,255,.9) !important; }
@media(max-width:600px){#root #auth-screen.auth-simple.ui-reference-auth.full-site-auth.auth-v5.auth-mobile-reference.auth-view-login.auth-view-login.auth-view-login.auth-view-login .auth-login-field input::placeholder { font-size:16px !important; } #root #auth-screen.auth-simple.ui-reference-auth.full-site-auth.auth-v5.auth-mobile-reference.auth-view-login.auth-view-login.auth-view-login.auth-view-login .auth-password-toggle svg { width:22px !important; height:22px !important; }}

#root #auth-screen.auth-simple.ui-reference-auth.full-site-auth.auth-v5.auth-mobile-reference.auth-view-login.auth-view-login.auth-view-login.auth-view-login:not(:lang(zh)) .auth-consent > span button { margin-inline:.18em !important; }
/* Scale the desktop form to both viewport dimensions; short windows keep scrolling. */
@media(min-width:1001px) and (min-height:700px) {
#root #auth-screen.auth-simple.ui-reference-auth.full-site-auth.auth-v5.auth-mobile-reference.auth-view-login.auth-view-login.auth-view-login.auth-view-login {
  --u:min(calc(100vw / 1586),calc(100dvh / 1100)) !important;
}
}
