/* 参考登录页的绿色粒子背景、靠上居中的毛玻璃面板。 */
* { box-sizing: border-box; }
html { min-height: 100%; background: #118774; }
.login-root,.login-page { overscroll-behavior-y: none; }
body.login-page { margin: 0; min-height: 100vh; min-height: 100svh; color: #fff; background: radial-gradient(circle at 20% 80%,#20927e55,transparent 50%),radial-gradient(circle at 80% 20%,#07887955,transparent 50%),#108573; font-family: -apple-system,BlinkMacSystemFont,"Segoe UI","Microsoft YaHei",sans-serif; }
#login-particles { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.login-stage { min-height: 70vh; min-height: 70svh; display: flex; align-items: center; justify-content: center; padding: 20px; }
.login-card { position: relative; transform: translateY(-20px); width: 380px; max-width: 100%; padding: 26px 24px 20px; border: 1px solid #ffffff33; border-radius: 20px; background: #ffffff26; box-shadow: 0 8px 32px #00000026; backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); transition: transform .3s,box-shadow .3s; }
.login-card h1 { margin: 0 0 30px; text-align: center; font-size: 24px; line-height: 1.4; font-weight: 600; letter-spacing: 2px; text-shadow: 0 2px 10px #00000033; overflow-wrap: anywhere; }
.login-field { position: relative; display: block; margin: 0 0 16px; }
.login-field svg { position: absolute; top: 13px; left: 14px; width: 18px; height: 18px; fill: none; stroke: #e1fff4; stroke-width: 1.7; pointer-events: none; }
.login-field input { display: block; width: 100%; height: 44px; border: 1px solid #ffffff40; border-radius: 12px; background: #ffffff33; color: #fff; padding: 0 12px 0 44px; font: inherit; font-size: 16px; outline: none; }
.login-field input::placeholder { color: #ffffffe0; font-size: 14px; }
.login-field input:focus { background: #ffffff47; border-color: #ffffff80; box-shadow: 0 0 0 3px #ffffff1a; }
.login-field input:-webkit-autofill { -webkit-text-fill-color: #fff; box-shadow: 0 0 0 100px #58a99c inset; }
.login-submit { display: block; width: 100%; height: 44px; border: 1px solid #ffffff4d; border-radius: 12px; background: #ffffff40; color: #fff; font: inherit; font-size: 16px; cursor: pointer; transition: background .2s; }
.login-submit:hover { background: #ffffff59; }
.login-submit:focus-visible { outline: 2px solid #d2ffeb; outline-offset: 3px; }
.login-submit:disabled { opacity: .65; cursor: wait; }
.login-footer { margin: 16px 0 0; text-align: center; font-size: 13px; line-height: 1.4; color: #ffffffcc; letter-spacing: .3px; }
.login-status { margin: 13px 0 0; padding: 10px; border-radius: 8px; color: #fff; background: #075e5480; font-size: 13px; line-height: 1.7; overflow-wrap: anywhere; }
[hidden] { display: none !important; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
@media (hover:hover) { .login-card:hover { transform: translateY(-26px); box-shadow: 0 12px 40px #00000033; } }
@media (max-width:480px) {
    .login-card { padding: 24px 20px 18px; }
    .login-card h1 { font-size: 22px; margin-bottom: 28px; }
    .login-field { margin-bottom: 14px; }
    .login-field input,.login-submit { height: 42px; }
    .login-field svg { top: 12px; }
    .login-footer { margin-top: 14px; }
}
@media (prefers-reduced-motion:reduce) { .login-card,.login-submit { transition: none; } .login-card:hover { transform: translateY(-20px); } }
@media (max-height:560px) { .login-stage { padding-top: 40px; } }
