/**
 * 结构样式（主题无关）：布局/尺寸/间距/几何/动画。
 * 颜色/背景/边框/阴影等主题相关样式见 css/dark/login.css（暗色）与 css/light/login.css（亮色）。
 */

.login-body { display: flex; align-items: center; justify-content: center; min-height: 100vh; overflow: auto; padding: 24px; position: relative; }

.login-glow { position: fixed; border-radius: 50%; pointer-events: none; z-index: 0; }

.glow-a { width: 420px; height: 420px; top: -120px; left: -100px; animation: glow-drift 14s ease-in-out infinite alternate; }

.glow-b { width: 380px; height: 380px; bottom: -140px; right: -90px; animation: glow-drift 18s ease-in-out infinite alternate-reverse; }

.glow-c { width: 260px; height: 260px; top: 55%; left: 12%; animation: glow-drift 22s ease-in-out infinite alternate; }

@keyframes glow-drift {
    from { transform: translate(0, 0) scale(1); }
    to   { transform: translate(50px, -30px) scale(1.15); }
}

.login-layout { display: flex; align-items: center; justify-content: flex-end; width: min(1180px, 100%); gap: 40px; }

.login-card { display: flex; flex: none; width: min(430px, 92%); min-height: 480px; border-radius: 10px; overflow: hidden; position: relative; z-index: 1; animation: rise-in var(--dur-med, 0.5s) var(--ease-silk, ease) both; }

.login-side { flex: 0 0 50%; display: flex; flex-direction: column; justify-content: space-between; align-items: center; text-align: center; padding: 44px 38px 26px; }

.login-side-top { display: flex; flex-direction: column; align-items: center; }

.login-corner-logo { position: fixed; top: 0; left: 18px; width: 128px; height: 128px; object-fit: contain; z-index: 10; }

.login-brand-name { font-size: 26px; font-weight: 800; letter-spacing: 0.03em; white-space: nowrap; }

.login-slogan { margin-top: 8px; font-size: 13px; letter-spacing: 0.12em; }

.login-features { list-style: none; margin: 26px 0 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }

.login-features li { display: flex; align-items: center; gap: 12px; font-size: 13px; }

.login-features i { width: 30px; height: 30px; flex: 0 0 30px; display: inline-flex; align-items: center; justify-content: center; border-radius: 8px; font-size: 13px; }

.login-side-footer { margin-top: 28px; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; }

.login-main { flex: 1 1 auto; display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 42px 42px 34px; -webkit-backdrop-filter: blur(24px) saturate(160%); border-radius: 10px; }

.login-main > * { width: min(340px, 100%); }

.login-welcome { font-size: 22px; font-weight: 700; }

.login-welcome-sub { margin-top: 6px; font-size: 12.5px; }

.login-form { display: flex; flex-direction: column; margin-top: 26px; }

.login-field { position: relative; display: flex; align-items: center; margin-bottom: 16px; }

.login-field-icon { position: absolute; left: 14px; font-size: 13px; pointer-events: none; transition: color 0.2s; }

.login-input { width: 100%; padding: 12px 40px 12px 40px; font-size: 14px; border-radius: 10px; transition: border-color 0.2s, box-shadow 0.2s, background 0.2s; }

.login-captcha-row .login-input { padding-right: 142px; text-transform: uppercase; }

.login-captcha-box { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); width: 132px; height: 40px; border-radius: 8px; overflow: hidden; cursor: pointer; transition: box-shadow 0.2s; display: flex; align-items: center; justify-content: center; }

.login-captcha-box svg { display: block; width: 100%; height: 100%; }

.login-error { min-height: 18px; font-size: 12.5px; margin: 0 0 10px; }

.login-submit { width: 100%; padding: 13px; font-size: 15px; letter-spacing: 0.35em; text-indent: 0.35em; border-radius: 10px; }

.login-submit:disabled { cursor: not-allowed; }

@media (max-width: 760px) { .login-card { flex-direction: column; min-height: unset; } .login-side { flex: none; padding: 30px 28px 20px; } .login-features { display: none; } .login-side-footer { display: none; } .login-main { flex: none; padding: 30px 28px 26px; } .login-main > * { width: 100%; } .login-corner-logo { width: 76px; height: 76px; top: 10px; left: 14px; } }

.login-scene { position: relative; flex: 1 1 auto; height: 620px; min-width: 0; display: none; overflow: hidden; -webkit-mask-image: radial-gradient(ellipse 78% 72% at 46% 44%, #000 42%, rgba(0,0,0,0.6) 68%, transparent 92%); mask-image: radial-gradient(ellipse 78% 72% at 46% 44%, #000 42%, rgba(0,0,0,0.6) 68%, transparent 92%); }

@media (min-width: 900px) { .login-scene { display: block; } }

.cc-window { position: absolute; top: 0; left: 0; right: 0; bottom: 0; width: 100%; height: 100%; overflow: hidden; }

.cc-moon { position: absolute; top: 9%; right: 14%; width: 34px; height: 34px; border-radius: 50%; }

.cc-skyline { position: absolute; left: 0; right: 0; bottom: 34%; height: 46%; display: flex; align-items: flex-end; gap: 10px; padding: 0 6%; -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 40%); mask-image: linear-gradient(180deg, transparent 0%, #000 40%); }

.cc-skyline span { flex: 1; }

.cc-skyline span:nth-child(1) { height: 36%; }

.cc-skyline span:nth-child(2) { height: 55%; }

.cc-skyline span:nth-child(3) { height: 44%; }

.cc-skyline span:nth-child(4) { height: 66%; }

.cc-skyline span:nth-child(5) { height: 50%; }

.cc-skyline span:nth-child(6) { height: 72%; }

.cc-skyline span:nth-child(7) { height: 40%; }

.cc-skyline span:nth-child(8) { height: 58%; }

.cc-lamp { position: absolute; top: 0; width: 130px; height: 200px; transform: translateX(-50%); pointer-events: none; }

.cc-lamp::before { content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 46px; height: 9px; border-radius: 5px; }

.cc-lamp i { display: block; margin: 9px auto 0; width: 150px; height: 190px; clip-path: polygon(42% 0, 58% 0, 100% 100%, 0 100%); }

.cc-lamp.lamp-a { left: 30%; }

.cc-lamp.lamp-b { left: 50%; }

.cc-lamp.lamp-c { left: 70%; }

.cc-floor { position: absolute; left: 0; right: 0; bottom: 0; height: 34%; }

.cc-floor::before { content: ""; position: absolute; left: 50%; top: 4%; transform: translateX(-50%); width: 74%; height: 74px; }

.cc-desk { position: absolute; bottom: 52px; left: 50%; transform: translateX(-50%); width: 360px; height: 300px; }

.cc-desk.desk-l { left: 2%; bottom: 148px; transform: scale(0.78); transform-origin: bottom left; }

.cc-desk.desk-r { left: auto; right: 2%; bottom: 148px; transform: scale(0.78); transform-origin: bottom right; }

.cc-chair { position: absolute; bottom: 0; left: 26px; width: 122px; height: 118px; border-radius: 26px 26px 14px 14px; }

.cc-agent { position: absolute; bottom: 60px; left: 14px; width: 170px; height: 178px; z-index: 2; }

.cc-shoulders { position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 152px; height: 88px; border-radius: 62px 62px 18px 18px; }

.cc-head { position: absolute; bottom: 72px; left: 50%; transform: translateX(-50%); width: 62px; height: 68px; border-radius: 50% 50% 46% 46%; }

.cc-band { position: absolute; top: -8px; left: 50%; transform: translateX(-50%); width: 72px; height: 42px; border-radius: 42px 42px 0 0; }

.cc-cup { position: absolute; right: -8px; top: 28px; width: 15px; height: 26px; border-radius: 8px; }

.cc-mic { position: absolute; right: -4px; top: 50px; width: 30px; height: 3px; border-radius: 2px; transform: rotate(20deg); transform-origin: left center; }

.cc-mic::after { content: ""; position: absolute; right: -5px; top: -3px; width: 9px; height: 9px; border-radius: 50%; }

.cc-monitor { position: absolute; bottom: 116px; right: 20px; width: 202px; height: 130px; border-radius: 10px; padding: 11px; z-index: 3; }

.cc-screen { height: 100%; display: flex; flex-direction: column; gap: 8px; border-radius: 6px; padding: 9px; overflow: hidden; }

.cc-scr-head { height: 13px; border-radius: 7px; }

.cc-scr-wave { display: flex; align-items: flex-end; gap: 5px; height: 34px; }

.cc-scr-wave span { flex: 1; border-radius: 2px; }

.cc-scr-wave span:nth-child(1) { height: 34%; }

.cc-scr-wave span:nth-child(2) { height: 62%; }

.cc-scr-wave span:nth-child(3) { height: 44%; }

.cc-scr-wave span:nth-child(4) { height: 88%; }

.cc-scr-wave span:nth-child(5) { height: 56%; }

.cc-scr-wave span:nth-child(6) { height: 96%; }

.cc-scr-wave span:nth-child(7) { height: 48%; }

.cc-scr-wave span:nth-child(8) { height: 72%; }

.cc-scr-wave span:nth-child(9) { height: 38%; }

.cc-scr-wave span:nth-child(10) { height: 64%; }

.cc-scr-line { height: 8px; border-radius: 4px; }

.cc-scr-line.w80 { width: 80%; }

.cc-scr-line.w70 { width: 70%; }

.cc-scr-line.w60 { width: 60%; }

.cc-stand { position: absolute; bottom: 102px; right: 115px; width: 12px; height: 14px; z-index: 2; }

.cc-board { position: absolute; bottom: 88px; left: 50%; transform: translateX(-50%); width: 340px; height: 15px; border-radius: 8px; z-index: 4; }

.cc-keyboard { position: absolute; bottom: 92px; right: 58px; width: 118px; height: 7px; border-radius: 4px; z-index: 5; }

.cc-leg { position: absolute; bottom: 0; width: 13px; height: 88px; border-radius: 0 0 6px 6px; }

.cc-leg.leg-l { left: 26px; }

.cc-leg.leg-r { right: 26px; }

@media (max-width: 899px) { .login-layout { justify-content: center; } }