/* Authentication surfaces only; keep the existing navigation and theme. */
.public-auth-page { overflow-x: hidden; }
.public-auth-page .lx-auth-form { padding-top:32px; padding-bottom:32px; }
.public-auth-page .lx-auth-form>div:first-child { width:100%; max-width:440px; }
.public-auth-page h1,.public-auth-page h3 { text-wrap:balance; }
.public-auth-page input:not([type=hidden]):not([type=checkbox]),.public-auth-page button:not(.auth-password-toggle) { min-height:44px; }
.public-auth-page input:not([type=checkbox]) { min-width:0; }
.public-auth-page .flex-1 { min-width:0; }
.public-auth-page form>div { margin-top:14px; }
.public-auth-page form>div:first-child { margin-top:0; }
.public-auth-page input:focus-visible,.public-auth-page button:focus-visible,.public-auth-page a:focus-visible { outline:3px solid #7398e7; outline-offset:3px; }
.public-auth-page button:disabled { cursor:not-allowed; opacity:.65; }
.public-auth-page .auth-password-wrap { position:relative; }
.public-auth-page .auth-password-input { padding-right:58px!important; }
.public-auth-page .auth-password-toggle { position:absolute; right:4px; top:50%; transform:translateY(-50%); min-width:48px; min-height:40px; color:#475569; background:transparent; border:0; border-radius:8px; font-size:12px; font-weight:600; cursor:pointer; }
.public-auth-page .auth-password-toggle:hover { background:#eef2f7; color:#1e40af; }
.public-auth-page .auth-quick-link { min-width:44px; min-height:44px; }
.public-auth-page #toastWrap { width:max-content; max-width:calc(100vw - 32px); pointer-events:none; }
.public-auth-page #toastWrap>div { max-width:100%; overflow-wrap:anywhere; }
.public-auth-page #appModal button[onclick="closeModal()"] { min-width:44px; min-height:44px; }
.public-auth-page #appModal #modalBody { overscroll-behavior:contain; line-height:1.75; }
.public-auth-page img[role=button] { min-height:44px; object-fit:contain; }
.public-auth-page #tab-qq,.public-auth-page #tab-phone { border-radius:8px 8px 0 0; }
.public-auth-page #tab-qq[aria-selected=true],.public-auth-page #tab-phone[aria-selected=true] { background:#eef2ff; color:#3730a3; }
.public-auth-page a[href*="retrieve.php"],.public-auth-page a[href*="reg.php"],.public-auth-page a[href="./login.php"],.public-auth-page a[href="./"] { display:inline-flex; align-items:center; min-height:40px; }
@media(max-width:767px){
 .public-auth-page .lx-auth-form{padding:20px 16px 28px;}
 .public-auth-page .lx-auth-form>div:first-child{max-width:480px;}
 .public-auth-page input:not([type=hidden]):not([type=checkbox]){font-size:16px!important;}
 .public-auth-page #appModal>div:last-child{padding:12px;}
 .public-auth-page #appModal>div:last-child>div{max-width:100%;max-height:calc(100dvh - 24px);}
 .public-auth-page .glass-login{padding:24px 20px;}
}
@media(prefers-reduced-motion:reduce){.public-auth-page *{animation:none!important;transition:none!important;scroll-behavior:auto!important;}}
