html{min-height:100%;background:#d9dee6}
html body.auth-page{margin:0 auto;max-width:480px;min-height:100vh;min-height:100dvh;padding:0;color:#edf2f8;background:radial-gradient(ellipse 90% 340px at 50% 0,#202d40 0,transparent 100%),#0b0e13;box-shadow:0 0 42px #11182718;font-family:"Microsoft YaHei",Arial,sans-serif}
.auth-main{width:100%;padding:64px 18px 40px;display:flex;flex-direction:column;align-items:center}
.auth-brand{text-align:center;margin:0 0 30px}.auth-page .auth-brand .logo{display:block;width:64px;height:64px;margin:0 auto 18px;border-radius:16px;background:#fff var(--site-logo-image) center/cover no-repeat;font-size:0;color:transparent;box-shadow:0 8px 24px #0003}
.auth-brand h1{margin:0 0 6px;font-size:23px;line-height:1.4;font-weight:700;letter-spacing:.5px}.auth-brand p{margin:0;color:#a5b3c7;font-size:12px;letter-spacing:3px}
.auth-card{width:100%;padding:24px 20px;border:1px solid #ffffff06;border-radius:18px;background:#181d25;box-shadow:0 12px 32px #00000012}
.auth-heading{margin-bottom:24px}.auth-heading h2{display:inline-block;position:relative;margin:0 0 12px;font-size:17px;line-height:26px;color:#f4f7fb}.auth-heading h2:after{content:"";position:absolute;bottom:-5px;left:0;width:26px;height:3px;border-radius:3px;background:#2bc78a}.auth-heading span{display:block;color:#8492a6;font-size:12px;line-height:1.6}
.auth-field{display:block;margin:0 0 18px}.auth-field>span{display:block;margin-bottom:8px;color:#b9c5d6;font-size:13px}.auth-field input{width:100%;height:46px;min-width:0;padding:0 13px;border:1px solid transparent;border-radius:9px;outline:none;background:#0f141c;color:#f2f6fc;font:inherit;font-size:16px;transition:border-color .18s,box-shadow .18s}.auth-field input::placeholder{color:#718095;font-size:13px}.auth-field input:focus{border-color:#2bc78a;box-shadow:0 0 0 3px #2bc78a18}.auth-field input:-webkit-autofill{-webkit-text-fill-color:#f2f6fc;box-shadow:0 0 0 1000px #0f141c inset}
.sms-code-row{display:flex;align-items:stretch;gap:9px}.sms-code-row input{flex:1}.sms-code-row button{flex:0 0 104px;padding:0 8px;border:1px solid #2bc78a;border-radius:9px;background:transparent;color:#36d99b;font:inherit;font-size:12px;cursor:pointer}.sms-code-row button:disabled{opacity:.5;cursor:wait}
.auth-submit{width:100%;min-height:46px;margin-top:6px;border:0;border-radius:24px;background:linear-gradient(110deg,#2fc98c,#23b67c);color:#fff;font:inherit;font-size:15px;font-weight:700;cursor:pointer}.auth-submit:hover{filter:brightness(1.06)}.auth-submit:active{transform:translateY(1px)}
.auth-switch{margin:18px 0 0;color:#8998ad;text-align:center;font-size:12px;line-height:1.8}.auth-switch a{color:#36d99b;text-decoration:none}.auth-back{display:block;width:max-content;margin:14px auto 0;padding:6px 12px;color:#a1b1c6;text-decoration:none;font-size:12px}.auth-error,.auth-success{margin-bottom:18px;padding:11px 12px;border-radius:9px;font-size:13px;line-height:1.6}.auth-error{color:#ffb5b5;background:#ff646412;border:1px solid #ff646438}.auth-success{color:#8debc1;background:#2bc78a14;border:1px solid #2bc78a38}
.auth-page a:focus-visible,.auth-page button:focus-visible{outline:2px solid #67e8b4;outline-offset:4px}
@media(max-width:360px){.auth-main{padding:38px 14px 28px}.auth-card{padding:22px 16px}.sms-code-row button{flex-basis:96px}}
@media(prefers-reduced-motion:reduce){.auth-field input{transition:none}}

/* Wide screens use a full-width brand and form layout. */
@media(min-width:769px){
 html{background:#0b0e13}
 html body.auth-page{max-width:none;width:100%;background:radial-gradient(ellipse at 20% 25%,#172f43 0,transparent 50%),radial-gradient(ellipse at 85% 90%,#12342d 0,transparent 45%),#0b0e13;box-shadow:none}
 .auth-main{min-height:100vh;min-height:100dvh;max-width:1160px;margin:auto;padding:64px 48px;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,440px);gap:72px;align-items:center}
 .auth-brand{text-align:left;margin:0;padding:20px 0}
 .auth-page .auth-brand .logo{width:108px;height:108px;margin:0 0 30px;border-radius:26px;box-shadow:0 18px 50px #0004}
 .auth-brand h1{font-size:44px;line-height:1.3;letter-spacing:2px;margin-bottom:18px}
 .auth-brand p{font-size:16px;letter-spacing:5px;color:#adbdcf}
 .auth-brand:after{content:"\6e38\620f\8d26\53f7\4ea4\6613\5e73\53f0";display:block;margin-top:32px;padding-top:26px;border-top:1px solid #ffffff16;max-width:300px;color:#7e94ac;font-size:14px;letter-spacing:2px}
 .auth-card{padding:34px 32px;border:1px solid #ffffff0d;border-radius:22px;background:#181e27;box-shadow:0 24px 80px #0003}
 .auth-heading{margin-bottom:28px}.auth-heading h2{font-size:21px}.auth-heading span{font-size:13px}
 .auth-field{margin-bottom:20px}.auth-field input{height:50px}.auth-submit{min-height:50px;margin-top:8px}
 .auth-switch{margin-top:22px}.auth-back{margin-top:18px}
}
@media(min-width:769px) and (max-width:1000px){.auth-main{padding:48px 32px;gap:36px;grid-template-columns:minmax(0,1fr) minmax(0,390px)}.auth-brand h1{font-size:36px}.auth-card{padding:28px 24px}}
