@font-face{font-family:KasutengSocial;src:url('brand/social-icons.woff2') format('woff2');font-display:block}
/* Keep login styles independent of the signed-in console and mall templates. */
body:has(#authView:not([hidden])){min-width:0}
#authView{padding:0;background:#fff;color:#202735;min-height:100vh;letter-spacing:0}
#authView .auth-layout{display:grid;grid-template-columns:minmax(360px,46%) minmax(0,1fr);gap:0;max-width:none;margin:0;padding:0;min-height:100vh;align-items:stretch}
#authView .auth-copy{display:flex;flex-direction:column;min-width:0;padding:46px 64px 34px;background:#0866f6;color:#fff}
#authView .wordmark{align-self:flex-start;min-height:38px}
#authView .wordmark-logo{height:38px;max-width:190px;filter:brightness(0) invert(1)}
#authView .auth-intro{margin:auto 0;padding:54px 0}
#authView .auth-eyebrow{font-family:inherit;font-size:14px;line-height:1.6;font-weight:500;color:#eef5ff;margin:0 0 22px}
#authView .auth-copy h1{font-size:44px;font-weight:700;line-height:1.35;color:#fff;margin:0 0 22px}
#authView .auth-summary{font-size:16px;line-height:1.9;margin:0 0 34px;color:#e1edff}
#authView .auth-benefits{list-style:none;margin:0;padding:0;display:grid;gap:22px}
#authView .auth-benefits li{display:flex;align-items:center;gap:16px}
#authView .auth-benefits svg{width:22px;height:22px;color:#bde7ff;flex-shrink:0}
#authView .auth-benefits strong{display:block;font-size:15px;font-weight:600;margin-bottom:4px}
#authView .auth-benefits small{font-size:13px;color:#eef5ff}
#authView .auth-copy-foot{display:flex;flex-wrap:wrap;gap:12px;justify-content:space-between;font-size:12px;color:#deebff;border-top:1px solid #ffffff38;padding-top:24px}
#authView .auth-access{display:flex;flex-direction:column;min-width:0;padding:32px 48px 24px;background:#fff}
#authView .auth-top-links{display:flex;align-items:center;justify-content:flex-end;gap:28px;font-size:13px}
#authView a{color:#526071;text-decoration:none}
#authView a:hover{color:#0866f6;text-decoration:underline}
#authView .auth-top-links a{display:inline-flex;align-items:center;gap:5px;min-height:36px}
#authView .auth-top-links svg{width:15px;height:15px}
#authView .auth-form{width:100%;max-width:400px;align-self:center;margin:auto 0;padding:40px 0;background:none;border:0;border-radius:0;box-shadow:none}
#authView .form-head p{font-family:inherit;font-size:14px;color:#0866f6;margin:0 0 10px}
#authView .form-head h2{font-size:28px;line-height:1.4;color:#202735;margin:0 0 10px}
#authView .form-head>span{color:#687384;font-size:14px;line-height:1.6;margin-bottom:30px}
#authView #authForm{display:grid;gap:19px}
#authView .auth-form label{font-size:13px;color:#465161;display:grid;gap:8px}
#authView .auth-input{display:flex;align-items:center;position:relative;width:100%;height:50px;gap:10px;padding-left:15px;background:#f7f8fa;border:1px solid #e2e5eb;border-radius:6px;transition:border-color .15s,box-shadow .15s}
#authView .auth-input:focus-within{border-color:#0866f6;box-shadow:0 0 0 3px #0866f614}
#authView .auth-input>svg{width:18px;height:18px;flex:0 0 18px;color:#9098a3}
#authView .auth-input input{font-family:inherit;font-size:14px;line-height:1.5;color:#202735;min-width:0;width:100%;height:48px;padding:0 13px 0 0;background:transparent;border:0;border-radius:0;outline:none;box-shadow:none}
#authView input::placeholder{color:#929aa7}
#authView .auth-reveal{display:grid;place-items:center;background:none;border:0;width:44px;height:44px;flex:0 0 44px;cursor:pointer;color:#828b98;padding:0;margin:0}
#authView .auth-reveal svg{width:18px;height:18px}
#authView .auth-options{display:flex;justify-content:space-between;gap:12px;align-items:center;font-size:13px}
#authView .auth-form .auth-remember{display:flex;align-items:center;gap:8px;font-size:13px;cursor:pointer}
#authView .auth-remember input{width:16px;height:16px;margin:0;accent-color:#0866f6;cursor:pointer}
#authView .auth-options a{font-size:13px;color:#0866f6}
#authView .submit{display:block;width:100%;height:48px;padding:0 16px;font-family:inherit;font-size:16px;font-weight:600;line-height:1.5;text-align:center;color:white;background:#0866f6;border:0;border-radius:6px;cursor:pointer;box-shadow:none}
#authView .submit:hover{background:#0054d4}
#authView button:disabled{opacity:.65;cursor:wait}
#authView .auth-switch{display:block;width:100%;text-align:center;border:0;background:none;color:#0866f6;font-size:13px;padding:0;min-height:44px;margin:8px 0 0;cursor:pointer}
#authView .auth-divider{display:flex;align-items:center;gap:14px;color:#687384;font-size:12px;margin:18px 0}
#authView .auth-divider:before,#authView .auth-divider:after{content:'';height:1px;flex:1;background:#edf0f3}
#authView .auth-social{display:flex;justify-content:center;gap:48px}
#authView .auth-social button{display:flex;flex-direction:column;align-items:center;gap:8px;background:none;border:0;min-width:68px;min-height:66px;padding:2px 8px;color:#75808e;font-size:12px;cursor:pointer}
.auth-brand-icon{font-family:KasutengSocial!important;font-style:normal;font-weight:normal;font-size:38px;line-height:1;display:inline-block;text-rendering:auto;-webkit-font-smoothing:antialiased}
#authView .auth-brand-icon{color:#a5acb7;transition:color .15s}
#authView .auth-social [data-ready='true'] .auth-brand-qq,.security-oauth .auth-brand-qq{color:#179cdd}
#authView .auth-social [data-ready='true'] .auth-brand-wechat,.security-oauth .auth-brand-wechat{color:#23ac53}
#authView .auth-social button:hover .auth-brand-icon{color:#697789}
#authView .auth-hint{font-size:12px;line-height:1.6;color:#687384;text-align:center;margin:14px 0 0;min-height:20px}
#authView .form-error{font-size:13px;line-height:1.6;color:#b42335;background:#fff1f2;border-radius:4px;padding:10px 12px;margin:0;overflow-wrap:anywhere}
#authView .auth-legal{font-size:12px;text-align:center;line-height:1.8;color:#687384;margin:16px 0 0}
#authView .auth-footer{font-size:11px;line-height:1.9;text-align:center;color:#687384;overflow-wrap:anywhere;max-width:600px;align-self:center}
#authView .auth-footer p{margin:0 0 4px}
#authView .auth-footer .auth-records{display:flex;flex-wrap:wrap;justify-content:center;gap:4px 14px}
#authView .auth-footer a{color:#687384;display:inline-flex;align-items:center;gap:4px}
#authView .auth-footer img{width:14px;height:14px}
#authView :is(button,a,input):focus-visible{outline:2px solid #0866f6;outline-offset:3px}
#authView .auth-copy a:focus-visible{outline-color:white}
.security-oauth{background:#fff;border:1px solid #e1e7ef;border-radius:6px;padding:24px;color:#273446}
.security-oauth h2{font-size:20px;margin:0 0 8px}.security-oauth>p{font-size:14px;color:#667386;line-height:1.7;margin:0 0 22px}
.security-oauth-row{display:flex;align-items:center;gap:16px;padding:22px 0;border-top:1px solid #edf0f4;min-width:0}
.security-oauth-row>.auth-brand-icon{flex-shrink:0}.security-oauth-row>div{flex:1;min-width:0}.security-oauth-row h3{font-size:15px;margin:0 0 6px}.security-oauth-row p{font-size:13px;color:#738095;line-height:1.6;margin:0}.security-oauth-row .status{margin-left:8px;font-size:12px}
.security-oauth-row>button{flex-shrink:0}.security-oauth-message{font-size:13px;line-height:1.7;background:#f1f7ff;padding:12px;border-radius:4px;overflow-wrap:anywhere}
.security-password{margin-top:20px}.security-password summary{cursor:pointer;padding:10px 0;color:#2563eb}
.security-password form{max-width:460px;display:grid;gap:14px;padding-top:12px}.security-password label,.oauth-unbind label{display:grid;gap:7px;font-size:13px;color:#526074}.security-password input,.oauth-unbind input{height:44px;padding:8px 12px;border:1px solid #cdd5e2;border-radius:5px;font:inherit;min-width:0;width:100%}
.security-captcha{display:flex;gap:10px;align-items:center}.security-captcha input{flex:1}.security-captcha button{width:132px;height:44px;border:1px solid #cdd5e2;border-radius:4px;padding:0;flex-shrink:0;cursor:pointer;background:#f4f7fb}.security-captcha img{max-width:100%;max-height:42px}
.oauth-unbind{width:min(420px,calc(100% - 32px));border:1px solid #dce3ec;border-radius:8px;padding:24px;color:#263244;background:#fff}.oauth-unbind::backdrop{background:#11182766}.oauth-unbind h3{font-size:19px;margin:0 0 10px}.oauth-unbind p{font-size:14px;line-height:1.7;color:#657184}.oauth-unbind form{display:grid;gap:16px}.oauth-unbind .row-actions{justify-content:flex-end;gap:10px}
@media(min-width:1600px){#authView .auth-copy{padding-left:92px;padding-right:92px}#authView .auth-copy h1{font-size:48px}}
@media(max-width:1080px){#authView .auth-copy{padding:34px}#authView .auth-copy h1{font-size:36px}#authView .auth-access{padding:24px 34px}#authView .auth-layout{grid-template-columns:minmax(300px,43%) minmax(0,1fr)}}
@media(max-width:720px){#authView .auth-layout{display:flex;flex-direction:column}#authView .auth-copy{padding:22px 24px;background:#0866f6}#authView .wordmark-logo{height:31px}#authView .auth-intro,#authView .auth-copy-foot{display:none}#authView .auth-access{flex:1;padding:14px 24px 22px}#authView .auth-top-links{gap:22px}#authView .auth-form{max-width:400px;padding:26px 0 30px;margin:0 auto;flex:1}#authView .form-head h2{font-size:26px}#authView .form-head>span{margin-bottom:25px}#authView .auth-footer{margin-top:10px;font-size:10px}#authView .auth-input input{font-size:16px}.security-oauth{padding:18px}.security-oauth-row{gap:12px;flex-wrap:wrap}.security-oauth-row>button{margin-left:50px}.security-oauth-row .auth-brand-icon{font-size:34px}}
@media(prefers-reduced-motion:reduce){#authView *{transition:none!important}}
/* Password and phone forms occupy the same area and never stack. */
#authView [hidden]{display:none!important}
#authView .auth-methods{display:grid;grid-template-columns:1fr 1fr;border-bottom:1px solid #e2e5eb;margin:0 0 24px;gap:16px}
#authView .auth-methods button{display:flex;align-items:center;justify-content:center;gap:7px;min-height:46px;padding:8px 0;border:0;border-bottom:2px solid transparent;border-radius:0;background:none;color:#677386;font:inherit;font-size:15px;cursor:pointer}
#authView .auth-methods button[aria-pressed=true]{border-bottom-color:#0866f6;color:#0866f6;font-weight:600}
#authView .auth-methods svg{width:17px;height:17px}
.phone-code-form{display:grid;gap:17px}.phone-code-form label{display:grid;gap:8px;font-size:13px;color:#465161}
.phone-captcha,.phone-code-input{display:grid;grid-template-columns:minmax(0,1fr) 122px;gap:10px;align-items:center}
.phone-captcha>button,.phone-code-input>button{height:50px;min-width:0;padding:0 8px;border:1px solid #dce3ed;border-radius:6px;background:#f4f8ff;color:#1760c5;font:inherit;font-size:13px;cursor:pointer;white-space:nowrap}
.phone-captcha>button{padding:0;background:#f7f8fa;overflow:hidden}.phone-captcha img{display:block;width:100%;height:48px;object-fit:contain}
.phone-feedback,.phone-guide{margin:0;color:#687384;font-size:12px;line-height:1.7;overflow-wrap:anywhere}.phone-feedback:empty{display:none}.phone-feedback.is-error{color:#b42335}
.phone-code-form button:disabled{opacity:.65;cursor:not-allowed}.phone-security-icon{width:34px;height:34px;flex-shrink:0;color:#1760c5}.phone-security-actions{display:flex;gap:8px;flex:0 0 auto!important;flex-wrap:wrap}
.phone-dialog{max-height:calc(100dvh - 32px);overflow:auto}.phone-dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}.phone-dialog-heading h3{margin:0}.phone-dialog-heading button{width:40px;height:40px;padding:8px}.phone-dialog-heading svg{width:20px;height:20px}
.phone-dialog .auth-input{display:flex;min-width:0;align-items:center;gap:8px}.phone-dialog .auth-input>svg{display:none}.phone-dialog .auth-input input{height:50px;font-size:16px}.phone-dialog .submit{min-height:46px}
@media(max-width:720px){.phone-security-actions{margin-left:46px}.phone-captcha,.phone-code-input{grid-template-columns:minmax(0,1fr) 114px}}
