:root{color:#17233c;background:#eef6ff;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;line-height:1.5;--auth-blue: #2563eb;--auth-blue-strong: #1d4ed8;--auth-blue-soft: #eaf2ff;--auth-text: #17233c;--auth-muted: #66738a;--auth-subtle: #9aa8bc;--auth-border: #d6dfec;--auth-panel-border: rgba(203, 216, 235, .82);--auth-tab-bg: #f5f8fc;--auth-success: #37b279;--auth-danger: #b42318}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh}button,input{font:inherit}button{-webkit-tap-highlight-color:transparent}a{color:var(--auth-blue);font-weight:700;text-decoration:none}a:hover{color:var(--auth-blue-strong)}.auth-shell{position:relative;display:grid;min-height:100dvh;place-items:center;overflow:hidden;padding:clamp(28px,5vw,64px) 16px;background:linear-gradient(135deg,#e1f1fff2,#fffffffa 45%,#e8f4fff2),#eef6ff}.auth-shell:before{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(90deg,rgba(37,99,235,.04),transparent 20%,transparent 80%,rgba(37,99,235,.04)),repeating-linear-gradient(90deg,rgba(255,255,255,.18) 0 1px,transparent 1px 42px)}.auth-background-mark{position:absolute;pointer-events:none;color:#2563eb14}.auth-background-mark-shield{left:24px;bottom:18%;width:132px;height:150px;border:7px solid currentColor;border-radius:42% 42% 48% 48%;clip-path:polygon(50% 0,100% 18%,96% 66%,50% 100%,4% 66%,0 18%)}.auth-background-mark-shield:before,.auth-background-mark-shield:after{content:"";position:absolute;inset:46px 34px auto;height:42px;border-radius:4px;background:currentColor}.auth-background-mark-shield:after{transform:rotate(90deg)}.auth-background-mark-pulse{right:-18px;bottom:17%;width:240px;height:92px}.auth-background-mark-pulse:before{content:"";position:absolute;inset:0;background:currentColor;clip-path:polygon(0 52%,26% 52%,33% 14%,42% 95%,55% 0,66% 86%,76% 52%,100% 52%,100% 58%,73% 58%,67% 76%,55% 17%,43% 100%,32% 32%,28% 58%,0 58%)}.auth-panel{position:relative;z-index:1;width:min(100%,760px);border:1px solid var(--auth-panel-border);border-radius:8px;background:#ffffffe6;box-shadow:0 24px 72px #274c7e21;padding:54px 48px 28px;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}.auth-panel.compact{width:min(100%,520px);padding:42px 36px;text-align:center}.brand-block{margin-bottom:34px;text-align:center}.brand-lockup{display:inline-flex;align-items:center;justify-content:center;gap:12px;color:var(--auth-text);font-size:1.42rem;font-weight:800}.brand-mark{width:32px;height:32px;border-radius:8px;object-fit:contain;box-shadow:0 8px 18px #2563eb42}h1,h2,p{margin-top:0}h1{margin:24px 0 12px;color:var(--auth-text);font-size:2.55rem;font-weight:850;line-height:1.16}h2{margin-bottom:8px;color:var(--auth-text);font-size:1.25rem;line-height:1.25}.subtitle,.hint{color:var(--auth-muted)}.subtitle{margin-bottom:0;font-size:1.18rem;font-weight:650}.auth-content{width:min(100%,680px);margin:0 auto}.notice{margin-bottom:22px;border:1px solid rgba(55,178,121,.34);border-radius:8px;background:#eefaf6;color:#12614d;padding:12px 14px;font-size:.96rem;font-weight:650}.notice-error{border-color:#f0b4b4;background:#fff2f2;color:var(--auth-danger)}.mode-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));min-height:78px;margin-bottom:32px;overflow:hidden;border:1px solid rgba(214,223,236,.62);border-radius:8px;background:var(--auth-tab-bg)}.mode-tabs button,.secondary-button,.text-button{border:0;border-radius:0;cursor:pointer}.mode-tabs button{position:relative;display:inline-flex;align-items:center;justify-content:center;gap:10px;min-width:0;min-height:78px;padding:10px 8px;background:transparent;color:#64748b;font-size:1.03rem;font-weight:800;white-space:nowrap}.mode-tabs button+button{border-left:1px solid rgba(214,223,236,.52)}.mode-tabs button.active,.mode-tabs button[aria-pressed=true]{color:var(--auth-blue)}.mode-tabs button.active:after,.mode-tabs button[aria-pressed=true]:after{content:"";position:absolute;right:0;bottom:0;left:0;height:3px;background:var(--auth-blue);box-shadow:0 -6px 16px #2563eb33}.mode-tabs button:hover{background:#2563eb0a}.tab-icon{width:22px;height:22px;flex:0 0 auto;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:2}.form-stack{display:grid;gap:22px}.flow-card{border:1px solid rgba(214,223,236,.78);border-radius:8px;background:#f8fbffc7;padding:24px}label{display:grid;gap:10px;color:var(--auth-text);font-size:1.28rem;font-weight:800}input{width:100%;min-width:0;min-height:66px;border:1px solid var(--auth-border);border-radius:8px;background:#fff;color:var(--auth-text);padding:0 20px;font-size:1.12rem;font-weight:500}input::placeholder{color:#a8b3c4}input:focus{border-color:#3b82f6;outline:4px solid rgba(37,99,235,.12)}button[type=submit],.form-stack>button:not(.secondary-button):not(.text-button){min-height:70px;border:0;border-radius:8px;background:linear-gradient(180deg,#3478f6 0%,var(--auth-blue) 100%);box-shadow:0 12px 24px #2563eb38;color:#fff;cursor:pointer;font-size:1.32rem;font-weight:850;padding:0 18px}button[type=submit]:hover:not(:disabled),.form-stack>button:not(.secondary-button):not(.text-button):hover:not(:disabled){background:linear-gradient(180deg,#2f6fee 0%,var(--auth-blue-strong) 100%)}button:disabled{cursor:not-allowed;opacity:.55}.secondary-button{min-height:52px;border:1px solid rgba(37,99,235,.26);border-radius:8px;background:var(--auth-blue-soft);color:var(--auth-blue);font-weight:800}.text-button{min-height:42px;background:transparent;color:var(--auth-blue);font-weight:800}.wechat-box{display:grid;min-height:278px;justify-items:center;gap:16px;border:1px dashed rgba(148,163,184,.5);border-radius:8px;background:#f8fbffb8;padding:22px;text-align:center}#wechat-qr-container{width:min(100%,320px);min-height:220px;overflow:hidden}.wechat-refresh-button{display:inline-flex;align-items:center;gap:8px;min-height:40px;padding:0 12px;border:1px solid rgba(37,99,235,.18);border-radius:8px;color:var(--auth-blue)}.action-icon{width:16px;height:16px;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:2}.auth-footer{margin-top:34px;text-align:center}.security-note{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:10px 16px;margin-bottom:14px;color:var(--auth-muted);font-size:1.06rem}.security-note span{display:inline-grid;width:24px;height:24px;place-items:center;border-radius:7px;background:var(--auth-success);color:#fff;font-size:1rem;font-weight:900}.security-note strong{font-weight:750}.auth-footer p{margin:0;color:var(--auth-muted);font-size:.95rem}.auth-footer a{margin:0 4px}.callback-state{display:grid;justify-items:center;gap:16px}.callback-state .brand-lockup{margin-bottom:6px}.callback-icon{display:grid;width:52px;height:52px;place-items:center;border-radius:8px;background:var(--auth-blue-soft);color:var(--auth-blue);font-size:1.45rem;font-weight:900}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}@media(max-width:640px){.auth-shell{display:block;padding:20px 14px;overflow-y:auto;background:linear-gradient(180deg,#f2f8ff,#fff 46%,#eef7ff)}.auth-shell:before,.auth-background-mark{display:none}.auth-panel{width:100%;min-height:calc(100dvh - 40px);padding:28px 18px 18px;border-radius:8px;box-shadow:0 16px 44px #274c7e1a}.auth-panel.compact{min-height:auto;padding:30px 20px}.brand-block{margin-bottom:24px}.brand-lockup{gap:8px;font-size:1.05rem}.brand-mark{width:25px;height:25px;border-radius:7px}h1{margin:18px 0 8px;font-size:1.9rem}h2{font-size:1.1rem}.subtitle{font-size:1rem}.notice{margin-bottom:18px;padding:10px 12px;font-size:.88rem}.mode-tabs{min-height:56px;margin-bottom:24px}.mode-tabs button{gap:5px;min-height:56px;padding:8px 4px;font-size:clamp(.73rem,3.4vw,.88rem)}.tab-icon{width:17px;height:17px}.form-stack{gap:18px}.flow-card{padding:18px 14px}label{gap:8px;font-size:1rem}input{min-height:52px;padding:0 14px;font-size:1rem}button[type=submit],.form-stack>button:not(.secondary-button):not(.text-button){min-height:54px;font-size:1.12rem}.secondary-button{min-height:48px}.wechat-box{min-height:230px;padding:16px 12px}#wechat-qr-container{min-height:184px}.auth-footer{margin-top:26px}.security-note{gap:8px 12px;margin-bottom:12px;font-size:.95rem}.security-note span{width:21px;height:21px;border-radius:6px;font-size:.88rem}.auth-footer p{font-size:.78rem}}@media(max-width:360px){.mode-tabs button{gap:3px;font-size:.68rem}.tab-icon{width:14px;height:14px}}
