:root{color-scheme:dark;font-family:'Microsoft YaHei','PingFang SC',Arial,sans-serif;color:#e5e6d8;background:#101d19;font-synthesis:none;--gold:#d2b87b;--muted:#8c9b8d;--line:#52604a}
*{box-sizing:border-box}body{margin:0;min-width:280px}button,input{font:inherit}button{cursor:pointer}button:disabled{cursor:wait}button,input{-webkit-tap-highlight-color:transparent}button:focus-visible{outline:2px solid #e5cc90;outline-offset:4px}svg{display:block}h1,h2,p{margin:0}
.login-shell{position:relative;isolation:isolate;display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:100vh;min-height:100dvh;overflow:hidden;padding:52px 24px 32px;background:radial-gradient(ellipse at 50% 38%,#34493677 0,transparent 58%),linear-gradient(120deg,#10211b,#0c1815 65%,#19281d)}
.login-shell::before,.login-shell::after{content:'';position:absolute;z-index:-1;pointer-events:none;width:860px;height:560px;border:1px solid #89936c12;border-radius:44% 56% 63% 37%;box-shadow:0 0 0 22px #88936c05,0 0 0 45px #88936c08,0 0 0 78px #88936c06,0 0 0 115px #88936c05,0 0 0 160px #88936c04;transform:rotate(-32deg)}
.login-shell::before{left:-600px;top:-60px}.login-shell::after{right:-600px;bottom:-60px;transform:rotate(-28deg)}
.page-mark{position:absolute;top:28px;left:36px;display:flex;align-items:center;gap:10px;color:#9c9d79;font-family:'KaiTi','STKaiti',serif;font-size:15px;letter-spacing:3px}.page-mark i{width:22px;height:1px;background:#786e49}
.login-panel{position:relative;width:min(100%,432px);padding:34px 42px 25px;border:1px solid #6c6b47;border-radius:6px;background:linear-gradient(145deg,#223329eb,#16271feb 65%);box-shadow:0 24px 90px #0005,inset 0 1px 0 #e0cc8a0b}
.panel-corner{position:absolute;width:19px;height:19px;pointer-events:none;border-color:#b5a168}.panel-corner--top{left:7px;top:7px;border-top:1px solid;border-left:1px solid}.panel-corner--bottom{right:7px;bottom:7px;border-right:1px solid;border-bottom:1px solid}
.brand{text-align:center}.brand-seal{width:49px;height:49px;margin:0 auto 15px;color:#cbb276;stroke:currentColor;stroke-width:1.1}.brand-seal text{font-family:'KaiTi','STKaiti',serif;font-size:35px;fill:currentColor;stroke:none}.brand-eyebrow{font-size:11px;letter-spacing:4px;color:#a8b59e;margin-left:4px}.brand h1{margin:10px 0 12px;font-family:'KaiTi','STKaiti','Noto Serif SC',serif;font-size:38px;font-weight:500;letter-spacing:7px;padding-left:7px;color:#e8d4a2;text-shadow:0 2px 15px #d5b97217}.brand-motto{font-size:12px;line-height:1.7;color:#9fae9a;letter-spacing:1px}
.form-heading{display:flex;align-items:center;gap:15px;margin:28px 0 23px}.form-heading span{height:1px;flex:1;background:linear-gradient(90deg,transparent,#73734c99)}.form-heading span:last-child{transform:rotate(180deg)}.form-heading h2{font-size:13px;font-weight:500;color:#cfbf96;letter-spacing:3px;padding-left:3px}
.field+.field{margin-top:18px}.field>label{display:block;margin-bottom:8px;font-size:12px;color:#c1cabb;letter-spacing:1px}.input-wrap{display:flex;align-items:center;gap:10px;min-height:47px;padding:0 13px;border:1px solid #4b5d4d;border-radius:4px;background:#10221bb5;transition:border-color .18s,box-shadow .18s}.input-wrap:focus-within{border-color:#baa66e;box-shadow:0 0 0 3px #c3ad6b10}.input-wrap>svg{width:17px;height:17px;flex-shrink:0;stroke:#91a18c;stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round}.input-wrap input{width:100%;min-width:0;outline:none;border:0;background:transparent;color:#e8eadc;padding:13px 0;font-size:14px}.input-wrap input::placeholder{color:#748773;font-size:12px}.input-wrap input:-webkit-autofill{-webkit-text-fill-color:#e8eadc;box-shadow:0 0 0 1000px #14271e inset;caret-color:#e8eadc}.input-wrap:has(input[aria-invalid='true']){border-color:#bf8b73}.password-toggle{flex-shrink:0;padding:6px 0 6px 8px;border:0;background:transparent;color:#b3b99f;font-size:11px}.password-toggle:hover{color:#e0cc95}
.form-error{min-height:31px;padding-top:8px;font-size:12px;line-height:1.6;color:#edb4a0;overflow-wrap:anywhere}.login-button{display:flex;align-items:center;justify-content:center;gap:16px;min-height:47px;width:100%;padding:11px 18px;border:1px solid #c8ae70;border-radius:4px;background:linear-gradient(180deg,#c6ae74,#a78c50);color:#18261b;font-weight:700;font-size:14px;letter-spacing:2px;box-shadow:inset 0 1px 0 #fff3,0 5px 15px #0002;transition:filter .18s,transform .18s}.login-button>svg{width:18px;height:18px;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}.login-button:hover:not(:disabled){filter:brightness(1.1);transform:translateY(-1px)}.login-button:active:not(:disabled){transform:translateY(0)}.login-button:disabled{opacity:.7}.login-button[aria-busy='true']>svg{display:none}
.panel-foot{display:flex;align-items:center;justify-content:center;gap:12px;margin-top:25px;color:#81947e;font-size:10px;letter-spacing:1px}.panel-foot i{width:3px;height:3px;background:#958956;transform:rotate(45deg)}footer{margin-top:24px;color:#73856e;font-size:10px;letter-spacing:1px;text-align:center}footer span{padding:0 8px;color:#9b8e62}
@media(max-width:480px){.login-shell{padding:64px 20px 24px}.page-mark{top:23px;left:24px;font-size:13px}.login-panel{padding:30px 27px 24px}.brand h1{font-size:35px}.input-wrap input{font-size:16px}.panel-foot{gap:9px;font-size:9px}.login-shell::before{left:-730px}.login-shell::after{right:-730px}}
@media(max-height:690px) and (min-width:481px){.login-shell{padding-top:30px;padding-bottom:20px}.page-mark{top:21px;left:26px}.login-panel{padding-top:25px;padding-bottom:22px}.brand-seal{width:40px;height:40px;margin-bottom:10px}.brand h1{font-size:34px;margin:8px 0}.form-heading{margin:21px 0 18px}.panel-foot{margin-top:20px}footer{margin-top:16px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{transition:none!important}}
