*{margin:0;padding:0;box-sizing:border-box}
html,body{min-height:100%}
body{font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Hiragino Sans GB","Microsoft YaHei","Helvetica Neue",Arial,sans-serif;background:#eaf4ff;color:#21324e;-webkit-font-smoothing:antialiased}
.auth-page{position:relative;min-height:100vh;display:flex;flex-direction:column;align-items:center;padding:112px 24px 30px;overflow:hidden;background:linear-gradient(180deg,#dbeaff 0%,#e8f3ff 32%,#f5faff 64%,#ffffff 100%)}
.auth-bg{position:absolute;inset:0;overflow:hidden;pointer-events:none}
.auth-glow{position:absolute;border-radius:50%;filter:blur(72px);opacity:.6}
.glow-a{width:540px;height:540px;left:-150px;top:-220px;background:radial-gradient(circle,#b9dcff 0%,rgba(185,220,255,0) 68%)}
.glow-b{width:640px;height:640px;right:-200px;top:40px;background:radial-gradient(circle,#cfe8ff 0%,rgba(207,232,255,0) 70%)}
.glow-c{width:760px;height:440px;left:30%;bottom:-240px;background:radial-gradient(ellipse,#e4f1ff 0%,rgba(228,241,255,0) 70%)}
.auth-waves{position:absolute;left:0;right:0;bottom:0;width:100%;height:54vh;min-height:320px;opacity:.85}
.auth-topbar{position:absolute;top:26px;left:44px;right:44px;z-index:4;display:flex;align-items:center;justify-content:space-between}
.auth-logo{display:inline-flex;align-items:center;gap:10px;text-decoration:none;color:#1a2b47}
.auth-logo-mark{width:34px;height:34px;border-radius:9px;background:linear-gradient(135deg,#4b8ef7 0%,#2563eb 100%);display:flex;align-items:center;justify-content:center;box-shadow:0 7px 16px rgba(37,99,235,.28)}
.auth-logo-mark svg{width:19px;height:19px;fill:#fff}
.auth-logo-text{font-size:17px;font-weight:700;letter-spacing:.3px}
.auth-logo-sub{font-size:12px;color:#8ba0bd;margin-left:6px;padding-left:10px;border-left:1px solid #c8dcf3}
.auth-topbar-note{font-size:12px;color:#93a8c4;letter-spacing:.4px}
.auth-main{position:relative;z-index:3;width:100%;max-width:1120px;display:flex;flex-direction:column;align-items:center}
.auth-hero{text-align:center;margin-bottom:36px}
.auth-hero h1{font-size:35px;line-height:1.34;font-weight:800;letter-spacing:.6px;color:#16233c}
.auth-hero h1 em{font-style:normal;color:#2563eb}
.auth-hero-pills{display:flex;flex-wrap:wrap;justify-content:center;gap:30px;margin-top:15px}
.hero-pill{display:inline-flex;align-items:center;gap:8px;font-size:14px;color:#4d5f7c}
.hero-pill .pill-ico{width:21px;height:21px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;flex:none}
.hero-pill .pill-ico svg{width:12px;height:12px}
.pill-warm .pill-ico{background:#fff2e2;color:#f39c12}
.pill-cool .pill-ico{background:#e7f0ff;color:#2563eb}
.auth-card{width:100%;max-width:766px;display:grid;grid-template-columns:1fr 1fr;background:rgba(255,255,255,.94);border:1px solid rgba(255,255,255,.9);border-radius:24px;box-shadow:0 32px 72px rgba(58,102,173,.15),0 2px 0 rgba(255,255,255,.8) inset;overflow:hidden;backdrop-filter:blur(8px)}
.auth-visual{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:44px 34px;text-align:center;background:linear-gradient(165deg,#f6fbff 0%,#eaf3ff 52%,#e1efff 100%);border-right:1px solid #eef4fc}
.visual-art{position:relative;width:186px;height:150px;margin-bottom:12px}
.visual-orb{position:absolute;left:50%;top:50%;width:138px;height:138px;transform:translate(-50%,-50%);border-radius:50%;background:radial-gradient(circle at 32% 28%,#ffffff 0%,#dcEBff 62%,#cfe4ff 100%);box-shadow:0 22px 44px rgba(59,130,246,.16)}
.visual-cloud{position:absolute;left:50%;top:50%;width:86px;height:86px;transform:translate(-50%,-52%);border-radius:26px;background:linear-gradient(145deg,#4b8ef7 0%,#2563eb 100%);display:flex;align-items:center;justify-content:center;box-shadow:0 16px 30px rgba(37,99,235,.34);animation:cloudFloat 5s ease-in-out infinite}
.visual-cloud svg{width:44px;height:44px;fill:#fff}
.visual-chip{position:absolute;display:inline-flex;align-items:center;gap:5px;padding:7px 10px;border-radius:10px;background:#fff;box-shadow:0 10px 22px rgba(70,110,175,.16);font-size:11px;font-weight:600;color:#5b6e8d;white-space:nowrap}
.visual-chip svg{width:12px;height:12px;color:#5b91e8}
.chip-a{left:-2px;top:18px;animation:chipFloat 6s ease-in-out infinite}
.chip-b{right:-6px;top:44px;animation:chipFloat 7s ease-in-out .6s infinite}
.chip-c{left:12px;bottom:12px;animation:chipFloat 6.5s ease-in-out 1.1s infinite}
.chip-d{right:4px;bottom:24px;animation:chipFloat 7.5s ease-in-out .3s infinite}
@keyframes cloudFloat{0%,100%{transform:translate(-50%,-52%)}50%{transform:translate(-50%,-58%)}}
@keyframes chipFloat{0%,100%{transform:translateY(0)}50%{transform:translateY(-7px)}}
.auth-visual-title{font-size:16px;font-weight:700;color:#21324e;margin-top:4px}
.auth-visual-desc{font-size:12.5px;line-height:1.7;color:#7c8ea9;margin-top:8px;max-width:230px}
.auth-points{list-style:none;margin-top:18px;display:flex;flex-wrap:wrap;justify-content:center;gap:8px}
.auth-points li{font-size:11.5px;color:#4f6a90;background:rgba(255,255,255,.78);border:1px solid #dbe9fb;border-radius:999px;padding:5px 11px}
.auth-form-panel{display:flex;flex-direction:column;justify-content:center;padding:40px 42px 34px}
.auth-form-head h3{font-size:20px;font-weight:700;letter-spacing:.2px;color:#17243d}
.auth-form-head p{margin-top:7px;font-size:13px;color:#8b9cb6}
.auth-label{display:block;margin:18px 0 7px;font-size:12.5px;font-weight:600;color:#5c6d89}
.auth-input{position:relative;display:flex;align-items:center;height:46px;border:1px solid #dfe8f3;background:#f9fbfe;border-radius:10px;transition:border-color .2s,box-shadow .2s,background .2s}
.auth-input:focus-within{border-color:#82b2f6;background:#fff;box-shadow:0 0 0 3px rgba(59,130,246,.13)}
.auth-input>svg{width:17px;height:17px;margin-left:13px;color:#a9b7ca;flex:none}
.auth-input input{flex:1;min-width:0;height:100%;border:0;outline:0;background:transparent;padding:0 12px;font-size:14px;color:#1e2e4a;font-family:inherit}
.auth-input input::placeholder{color:#b4c0d1}
.auth-input input:-webkit-autofill{box-shadow:0 0 0 40px #f9fbfe inset;transition:background-color 9999s ease-in-out 0s;border-radius:10px}
.auth-eye{width:42px;height:100%;display:flex;align-items:center;justify-content:center;border:0;background:transparent;color:#a9b7ca;cursor:pointer;flex:none}
.auth-eye svg{width:18px;height:18px}
.auth-eye:hover{color:#6f8bb4}
.auth-row{display:flex;align-items:center;justify-content:space-between;margin-top:15px;gap:10px}
.auth-check{display:inline-flex;align-items:center;gap:8px;font-size:12.5px;color:#6b7c98;cursor:pointer;user-select:none;line-height:1.5}
.auth-check input{width:15px;height:15px;margin:0;accent-color:#2563eb;cursor:pointer;flex:none}
.auth-submit{position:relative;width:100%;height:46px;margin-top:22px;border:0;border-radius:10px;background:linear-gradient(135deg,#4b8ef7 0%,#2563eb 100%);color:#fff;font-size:15px;font-weight:600;letter-spacing:3px;font-family:inherit;cursor:pointer;box-shadow:0 12px 24px rgba(37,99,235,.24);transition:transform .2s,box-shadow .2s,filter .2s}
.auth-submit:hover{transform:translateY(-1px);box-shadow:0 16px 30px rgba(37,99,235,.3);filter:brightness(1.03)}
.auth-submit:active{transform:translateY(0)}
.auth-submit:disabled{cursor:not-allowed;filter:saturate(.75);opacity:.8;transform:none}
.auth-submit.is-loading{color:transparent;letter-spacing:0}
.auth-submit.is-loading::after{content:"";position:absolute;left:50%;top:50%;width:20px;height:20px;margin:-10px 0 0 -10px;border:2px solid rgba(255,255,255,.35);border-top-color:#fff;border-radius:50%;animation:authSpin .7s linear infinite}
@keyframes authSpin{to{transform:rotate(360deg)}}
.auth-closed{padding:34px 10px;text-align:center;font-size:13.5px;color:#8b9cb6;line-height:1.8}
.auth-switch{margin-top:18px;text-align:center;font-size:13px;color:#8b9cb6}
.auth-switch a{color:#2563eb;font-weight:600;text-decoration:none;margin-left:4px}
.auth-switch a:hover{text-decoration:underline}
.auth-copyright{margin-top:24px;text-align:center;font-size:12px;color:#9db0c9;letter-spacing:.2px}
.auth-toast{position:fixed;top:26px;left:50%;z-index:99;max-width:82vw;padding:11px 22px;border-radius:999px;background:#2563eb;color:#fff;font-size:13px;line-height:1.5;box-shadow:0 12px 28px rgba(37,99,235,.28);opacity:0;transform:translate(-50%,-14px);pointer-events:none;transition:opacity .25s,transform .25s}
.auth-toast.show{opacity:1;transform:translate(-50%,0)}
.auth-toast.success{background:#1f9d55;box-shadow:0 12px 28px rgba(31,157,85,.26)}
.auth-toast.error{background:#e04b4b;box-shadow:0 12px 28px rgba(224,75,75,.26)}
.auth-toast.warning{background:#e19a24;box-shadow:0 12px 28px rgba(225,154,36,.26)}
.auth-toast.info{background:#2563eb}
@media(max-width:900px){
.auth-page{padding:92px 16px 26px}
.auth-topbar{top:18px;left:20px;right:20px}
.auth-logo-sub,.auth-topbar-note{display:none}
.auth-hero{margin-bottom:24px}
.auth-hero h1{font-size:25px;letter-spacing:.2px}
.auth-hero-pills{gap:16px;margin-top:11px}
.hero-pill{font-size:12.5px}
.auth-card{max-width:448px;grid-template-columns:1fr;border-radius:20px}
.auth-visual{display:none}
.auth-form-panel{padding:28px 24px 26px}
.auth-copyright{margin-top:20px}
}
@media(max-width:560px){
.auth-page{padding:84px 14px 22px}
.auth-hero h1{font-size:21px;line-height:1.42}
.auth-hero-pills{gap:10px}
.hero-pill{font-size:12px}
.hero-pill .pill-ico{width:19px;height:19px}
.auth-card{border-radius:18px}
.auth-form-panel{padding:24px 18px 22px}
.auth-form-head h3{font-size:18px}
.auth-label{margin-top:16px}
.auth-submit{height:44px}
.auth-waves{opacity:.55}
}
@media(prefers-reduced-motion:reduce){
.visual-cloud,.visual-chip{animation:none}
}
.m-page{position:relative;width:100%;max-width:480px;margin:0 auto;min-height:100vh;min-height:100dvh;display:flex;flex-direction:column;background:#fff;overflow:hidden}
.m-hero{position:relative;padding:calc(32px + env(safe-area-inset-top)) 22px 34px;text-align:center;background:linear-gradient(180deg,#dae8fd 0%,#e8f2fe 42%,#f4f9ff 74%,#ffffff 100%)}
.m-hero::before,.m-hero::after{content:"";position:absolute;border-radius:50%;filter:blur(46px);pointer-events:none}
.m-hero::before{width:260px;height:260px;left:-90px;top:-120px;background:radial-gradient(circle,#bcd9ff 0%,rgba(188,217,255,0) 70%)}
.m-hero::after{width:300px;height:300px;right:-120px;top:-80px;background:radial-gradient(circle,#cfe6ff 0%,rgba(207,230,255,0) 70%)}
.m-brand{position:relative;z-index:2;display:flex;align-items:center;justify-content:center;gap:8px}
.m-logo{width:30px;height:30px;border-radius:9px;background:linear-gradient(135deg,#4b8ef7 0%,#2563eb 100%);display:flex;align-items:center;justify-content:center;box-shadow:0 6px 14px rgba(37,99,235,.26);flex:none}
.m-logo svg{width:17px;height:17px;fill:#fff}
.m-name{font-size:18px;font-weight:800;color:#1b2b44;letter-spacing:.2px}
.m-badge{font-size:11px;color:#2f74e0;background:linear-gradient(135deg,#eaf2ff,#d9e9ff);border:1px solid #cfdffb;padding:3px 9px;border-radius:999px;white-space:nowrap}
.m-title{position:relative;z-index:2;margin-top:22px;font-size:21px;line-height:1.42;font-weight:800;color:#16233c;letter-spacing:.2px}
.m-title em{font-style:normal;color:#2563eb}
.m-pills{position:relative;z-index:2;display:flex;flex-wrap:wrap;justify-content:center;gap:16px;margin-top:13px}
.m-pill{display:inline-flex;align-items:center;gap:6px;font-size:12.5px;color:#4c5f7c}
.m-pill .ico{width:17px;height:17px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;color:#fff;flex:none}
.m-pill .ico svg{width:10px;height:10px}
.m-pill.warm .ico{background:#ff9f1c;box-shadow:0 4px 10px rgba(255,159,28,.32)}
.m-pill.cool .ico{background:#2f7cf6;box-shadow:0 4px 10px rgba(47,124,246,.32)}
.m-sheet{position:relative;z-index:3;flex:1;display:flex;flex-direction:column;margin-top:-20px;padding:28px 22px 0;background:#fff;border-radius:22px 22px 0 0;box-shadow:0 -10px 28px rgba(80,120,180,.06)}
.m-h{font-size:17px;font-weight:700;color:#17243d;letter-spacing:.2px}
.m-form{display:flex;flex-direction:column;margin-top:16px}
.m-field{margin-bottom:15px}
.m-label{display:block;margin-bottom:8px;font-size:12.5px;font-weight:600;color:#5c6d89}
.m-box{position:relative;display:flex;align-items:center;height:48px;border-radius:12px;background:#f5f6f8;transition:background .2s,box-shadow .2s}
.m-box:focus-within{background:#fff;box-shadow:0 0 0 1.5px #9cc2ff inset}
.m-box input{flex:1;min-width:0;height:100%;border:0;outline:0;background:transparent;border-radius:12px;padding:0 14px;font-size:14px;color:#1e2e4a;font-family:inherit}
.m-box input::placeholder{color:#b6c0cf}
.m-box input:-webkit-autofill{box-shadow:0 0 0 40px #f5f6f8 inset;transition:background-color 9999s ease-in-out 0s}
.m-eye{width:44px;height:100%;display:flex;align-items:center;justify-content:center;border:0;background:transparent;color:#9aa7b8;cursor:pointer;flex:none}
.m-eye svg{width:19px;height:19px}
.m-check{display:inline-flex;align-items:center;gap:8px;font-size:12.5px;color:#6b7c98;line-height:1.5;cursor:pointer;user-select:none;margin-top:2px}
.m-check input{width:15px;height:15px;margin:0;accent-color:#2563eb;flex:none;cursor:pointer}
.m-submit{position:relative;width:100%;height:48px;margin-top:22px;border:0;border-radius:999px;background:linear-gradient(135deg,#4b8ef7 0%,#2563eb 100%);color:#fff;font-size:15.5px;font-weight:600;letter-spacing:4px;font-family:inherit;cursor:pointer;box-shadow:0 12px 24px rgba(37,99,235,.24);transition:background .25s,box-shadow .25s,filter .2s,transform .2s}
.m-submit:hover{box-shadow:0 16px 30px rgba(37,99,235,.3)}
.m-submit:active{transform:scale(.985)}
.m-submit.is-idle{background:#b7d2f7;box-shadow:none;color:rgba(255,255,255,.96)}
.m-submit:disabled{cursor:not-allowed;filter:saturate(.8)}
.m-submit.is-loading{color:transparent;letter-spacing:0}
.m-submit.is-loading::after{content:"";position:absolute;left:50%;top:50%;width:20px;height:20px;margin:-10px 0 0 -10px;border:2px solid rgba(255,255,255,.35);border-top-color:#fff;border-radius:50%;animation:authSpin .7s linear infinite}
.m-switch{margin-top:16px;text-align:center;font-size:12.5px;color:#9aa8bc}
.m-switch a{color:#2563eb;font-weight:600;text-decoration:none;margin-left:2px}
.m-foot{margin-top:auto;padding:26px 20px calc(22px + env(safe-area-inset-bottom));text-align:center;font-size:11.5px;color:#a8b6c8;letter-spacing:.2px}
@media(min-width:520px){
.m-page{box-shadow:0 0 60px rgba(70,110,175,.1)}
}
@media(max-width:360px){
.m-title{font-size:19px}
.m-pills{gap:10px}
.m-pill{font-size:12px}
.m-sheet{padding:24px 16px 0}
}
