:root{font-family:"PingFang SC","Microsoft YaHei",sans-serif;color:#29283b;background:#fff;font-size:15px;letter-spacing:0;--ink:#29283b;--pink:#fa82aa;--blue:#8bd9ef;--yellow:#ffdc56;--green:#a8e5bd;--border:2px solid var(--ink)}
*{box-sizing:border-box}
[hidden]{display:none!important}
body{margin:0;min-height:100dvh;display:flex;flex-direction:column;background:#fff}
button,input{font:inherit;letter-spacing:0}
button{cursor:pointer}
button svg,.input-shell>svg{width:20px;height:20px;flex-shrink:0}
.login-brand{min-height:78px;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 40px;position:relative;z-index:2}
.brand-lockup{display:flex;align-items:center;gap:10px;font-size:21px;white-space:nowrap}
.brand-logo{display:block;width:36px;height:36px;flex-shrink:0}
.brand-greeting{display:flex;align-items:center;gap:9px;font:700 12px/1.4 Consolas,monospace}
.brand-greeting svg{width:20px;height:20px;color:#bf2d60}
main{flex:1;min-height:0;position:relative;isolation:isolate;display:grid;place-items:center;overflow:hidden;padding:32px 24px 44px}
.comic-scene{position:absolute;inset:0;z-index:-1;pointer-events:none;overflow:hidden}
#loginForm{position:relative;width:min(100%,400px);margin:0;background:#fff;border:var(--border);border-radius:8px;padding:30px 32px 32px;box-shadow:8px 8px 0 var(--ink)}
.sheet-tab{position:absolute;display:flex;width:96px;height:26px;top:-15px;left:calc(50% - 48px);border:var(--border);background:var(--yellow);transform:rotate(-3deg)}
.sheet-tab span{flex:1;border-right:var(--border)}
.sheet-tab span:nth-child(2){background:var(--pink)}
.sheet-tab span:last-child{background:var(--blue);border:0}
.login-heading{margin-bottom:26px}
.login-kicker{font-size:13px;color:#655d72;line-height:20px}
h1{font-family:"Arial Black","Microsoft YaHei",sans-serif;font-size:35px;line-height:1.45;font-weight:900;margin:4px 0 2px}
.title-dot{display:inline-block;color:#bf2d60;transform:rotate(9deg);margin-left:8px}
.login-heading p{margin:0;color:#655d72;font-size:14px;line-height:22px}
label{display:block;font-size:14px;font-weight:600;line-height:20px;margin:0 0 7px}
.password-label{margin-top:20px}
.input-shell{position:relative;height:50px;display:flex;align-items:center;border:var(--border);border-radius:6px;background:#fff;transition:background-color .15s,box-shadow .15s}
.input-shell>svg{margin-left:14px;color:#6c6679;pointer-events:none}
.input-shell:focus-within{background:#f1fbfe;box-shadow:3px 3px 0 var(--blue)}
input{border:0;background:transparent;min-width:0;width:100%;height:46px;outline:none;padding:10px 13px;color:var(--ink);border-radius:4px}
input::placeholder{color:#8b8496;font-size:14px}
.password-field input{padding-right:46px}
#togglePassword{position:absolute;right:2px;top:2px;width:42px;height:42px;padding:0;border:0;border-radius:4px;background:transparent;color:#655d72;display:grid;place-items:center}
#togglePassword:hover{background:#fff0f5;color:#a52956}
button:focus-visible{outline:3px solid #a52956;outline-offset:4px}
.login-feedback{min-height:36px;padding-top:8px}
#loginError{color:#b42337;background:#fff0f2;border-left:3px solid #d53e5c;margin:0 0 12px;padding:8px 10px;font-size:13px;line-height:1.6;overflow-wrap:anywhere}
#loginSubmit{display:flex;align-items:center;justify-content:space-between;gap:14px;width:100%;height:50px;padding:0 18px;background:var(--yellow);border:var(--border);border-radius:6px;box-shadow:4px 4px 0 var(--ink);font-weight:700;font-size:15px;color:var(--ink);transition:transform .15s,box-shadow .15s,background-color .15s}
#loginSubmit:hover:not(:disabled){background:#ffe781;transform:translate(-1px,-1px);box-shadow:5px 5px 0 var(--ink)}
#loginSubmit:active:not(:disabled){transform:translate(3px,3px);box-shadow:1px 1px 0 var(--ink)}
#loginSubmit:disabled{cursor:wait;background:#ece7df;color:#655d72}
#loginForm[aria-busy="true"] #loginSubmit svg{animation:login-arrow 1s ease-in-out infinite}
footer{min-height:42px;display:flex;justify-content:center;align-items:center;gap:9px;padding:10px 20px 16px;font-size:11px;line-height:16px;color:#716a7e}
.footer-flower{width:17px;height:17px;color:#bf2d60}
.footer-separator{color:#b5aebe;margin:0 2px}
.color-ribbon{height:7px;display:flex;flex-shrink:0}
.color-ribbon span{flex:1;background:var(--pink)}
.color-ribbon span:nth-child(2){background:var(--yellow)}
.color-ribbon span:nth-child(3){background:var(--green)}
.color-ribbon span:nth-child(4){background:var(--blue)}
.color-ribbon span:nth-child(5){background:#baa3e6}
.color-ribbon span:nth-child(6){background:#ffae7b}
.comic-slate{position:absolute;left:calc(50% - 510px);top:calc(50% - 135px);width:246px;height:181px;background:var(--blue);border:3px solid var(--ink);border-radius:7px;box-shadow:7px 7px 0 var(--ink);transform:rotate(-10deg);padding:32px 22px 18px}
.slate-clap{position:absolute;display:flex;left:-3px;top:-34px;width:246px;height:43px;border:3px solid var(--ink);background:#fff;transform:rotate(-9deg);transform-origin:bottom left;border-radius:4px;overflow:hidden}
.slate-clap span{flex:1;border-right:3px solid var(--ink);background:var(--yellow);transform:skew(-20deg)}
.slate-clap span:nth-child(even){background:var(--pink)}
.slate-clap span:last-child{border:0}
.slate-heading{display:flex;align-items:center;gap:18px;border-bottom:3px solid var(--ink);padding:0 0 16px}
.slate-heading svg{height:44px;width:44px;fill:#fff;stroke-width:1.8}
.slate-heading>span{font:700 19px/1 Consolas,monospace}
.slate-lines{display:grid;gap:13px;margin-top:15px}
.slate-lines span{height:3px;background:var(--ink);width:90%}
.slate-lines span:last-child{width:60%}
.comic-poster{position:absolute;left:calc(50% + 304px);top:calc(50% - 235px);width:169px;height:205px;border:3px solid var(--ink);border-radius:6px;background:var(--green);transform:rotate(11deg);box-shadow:6px 6px 0 var(--ink);padding:28px 17px 17px}
.comic-poster>svg{width:100%;height:106px;stroke-width:1.2;fill:#fff}
.poster-holes{position:absolute;display:flex;justify-content:space-between;left:22px;right:22px;top:10px}
.poster-holes span{width:6px;height:6px;background:var(--ink);border-radius:50%}
.poster-lines{display:grid;gap:9px;margin-top:11px}
.poster-lines span{height:3px;width:90%;background:var(--ink)}
.poster-lines span:last-child{width:55%}
.comic-notes{position:absolute;left:calc(50% - 361px);top:calc(50% + 153px);width:114px;height:133px;background:var(--pink);border:3px solid var(--ink);border-radius:5px;box-shadow:5px 5px 0 var(--ink);transform:rotate(9deg);padding:22px 13px 12px}
.comic-notes>svg{width:100%;height:90px;stroke-width:1.6}
.notes-ring{position:absolute;width:40px;height:17px;border:3px solid var(--ink);left:33px;top:-10px;background:#fff;border-radius:5px}
.notes-corner{position:absolute;bottom:-3px;right:-3px;width:25px;height:25px;background:var(--yellow);border-left:3px solid var(--ink);border-top:3px solid var(--ink);border-radius:4px 0 0}
.comic-bubble{position:absolute;left:calc(50% + 260px);top:calc(50% + 5px);padding:15px 22px;font-size:26px;font-weight:900;line-height:32px;background:var(--yellow);border:3px solid var(--ink);border-radius:8px;box-shadow:4px 4px 0 var(--ink);transform:rotate(-6deg)}
.comic-bubble:after{content:"";position:absolute;width:18px;height:18px;left:27px;bottom:-11px;border-right:3px solid var(--ink);border-bottom:3px solid var(--ink);background:var(--yellow);transform:skewY(20deg) rotate(25deg)}
.comic-pencil{position:absolute;left:calc(50% + 272px);top:calc(50% + 197px);width:181px;height:35px;background:var(--pink);border:3px solid var(--ink);border-radius:4px;transform:rotate(-32deg);box-shadow:4px 4px 0 var(--ink)}
.comic-pencil:before{content:"";position:absolute;width:26px;left:19px;top:-3px;bottom:-3px;background:var(--blue);border:3px solid var(--ink)}
.comic-pencil:after{content:"";position:absolute;width:29px;height:35px;right:-30px;top:-3px;background:var(--ink);clip-path:polygon(0 0,100% 50%,0 100%)}
.comic-pencil span{position:absolute;height:3px;left:43px;right:5px;top:13px;background:var(--ink)}
.comic-spark{position:absolute;width:48px;height:48px;stroke-width:2}
.spark-one{left:calc(50% - 370px);top:calc(50% - 273px);color:#c13e71;transform:rotate(-12deg)}
.spark-two{left:calc(50% + 232px);top:calc(50% - 207px);color:#4a8f6b;width:30px;height:30px}
.comic-flower{position:absolute;left:calc(50% - 535px);top:calc(50% + 126px);transform:rotate(-16deg)}
.comic-flower img{width:72px;height:72px;display:block}
.comic-swish{position:absolute;left:calc(50% + 440px);top:calc(50% + 113px);display:grid;gap:9px;transform:rotate(-32deg)}
.comic-swish span{display:block;width:29px;height:4px;background:var(--ink);border-radius:2px}
.comic-swish span:nth-child(2){width:39px}
@keyframes login-arrow{50%{transform:translateX(4px)}}
@media(min-width:1600px){.comic-scene{max-width:1600px;margin-inline:auto}}
@media(max-width:1050px){
  .comic-slate{left:calc(50% - 440px);width:195px;height:160px;padding:23px 18px 15px}
  .slate-clap{width:195px}
  .slate-heading{gap:10px;padding-bottom:13px}
  .slate-heading>span{font-size:17px}
  .comic-poster{left:calc(50% + 266px);width:145px;height:180px;padding:25px 13px 13px}
  .comic-poster>svg{height:90px}
  .comic-bubble{left:calc(50% + 247px);font-size:23px;padding:12px 16px}
  .comic-pencil{left:calc(50% + 255px);width:130px}
  .comic-flower{left:calc(50% - 414px)}
  .comic-notes{left:calc(50% - 318px);width:95px;height:120px}
  .notes-ring{left:23px}
  .comic-notes>svg{height:77px}
}
@media(max-width:760px){
  .login-brand{min-height:68px;padding:16px 22px}
  .brand-lockup{font-size:19px;gap:8px}
  .brand-logo{width:32px;height:32px}
  .brand-greeting{font-size:10px;gap:6px}
  .brand-greeting svg{width:17px;height:17px}
  main{padding:58px 22px 66px}
  #loginForm{padding:28px 25px 28px;box-shadow:6px 6px 0 var(--ink)}
  .comic-slate{left:calc(50% - 249px);top:calc(50% - 278px);width:124px;height:100px;padding:14px 10px;transform:rotate(-15deg)}
  .slate-clap{width:124px;height:26px;top:-21px}
  .slate-heading{gap:6px;padding-bottom:8px}
  .slate-heading svg{width:22px;height:22px}
  .slate-heading>span{font-size:13px}
  .slate-lines{gap:7px;margin-top:9px}
  .comic-poster{left:calc(50% + 155px);top:calc(50% - 300px);width:100px;height:129px;padding:20px 8px 8px}
  .comic-poster>svg{height:64px}
  .poster-holes{left:15px;right:15px;top:8px}
  .poster-lines{gap:7px;margin-top:5px}
  .comic-bubble{left:calc(50% + 72px);top:calc(50% + 230px);font-size:18px;line-height:24px;padding:8px 16px;box-shadow:3px 3px 0 var(--ink)}
  .comic-bubble:after{width:13px;height:13px;bottom:-9px}
  .comic-pencil,.comic-swish{display:none}
  .comic-notes{left:calc(50% - 236px);top:calc(50% + 186px);width:86px;height:107px;padding-top:17px;transform:rotate(-12deg)}
  .comic-notes>svg{height:70px}
  .spark-one{left:calc(50% + 76px);top:calc(50% - 277px);width:30px;height:30px}
  .spark-two{left:calc(50% - 127px);top:calc(50% + 252px);width:25px;height:25px}
  .comic-flower{left:calc(50% - 170px);top:calc(50% - 325px)}
  .comic-flower img{height:38px;width:38px}
  footer{font-size:10px;padding-bottom:14px;gap:7px}
}
@media(max-height:720px){
  .login-brand{min-height:64px;padding-block:12px}
  main{padding-top:26px;padding-bottom:36px}
  #loginForm{padding-top:24px;padding-bottom:26px}
  .login-heading{margin-bottom:19px}
  .login-feedback{min-height:28px}
}
@media(min-width:761px) and (max-height:720px){
  .comic-notes{top:calc(50% + 76px)}
  .comic-pencil{top:calc(50% + 154px)}
}
@media(max-width:760px) and (max-height:720px){.comic-bubble{display:none}}
@media(max-width:360px){.brand-greeting{display:none}.login-brand{padding-inline:20px}main{padding-inline:18px}#loginForm{padding-inline:21px}h1{font-size:31px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}}
