*{box-sizing:border-box}body{--auth-bg:#f7f7fc;--auth-ink:#29263b;--auth-muted:#858198;--auth-line:#e5e3ee;--auth-primary:#7560df;--auth-surface:#fff;background:var(--auth-bg);color:var(--auth-ink);font-family:var(--font-sans,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"PingFang SC","Hiragino Sans GB","Microsoft YaHei","WenQuanYi Micro Hei",sans-serif);-webkit-font-smoothing:antialiased}a{color:inherit;text-decoration:none}button,input{font:inherit}button,a,input{ -webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:not-allowed}a:focus-visible,button:focus-visible{outline:3px solid #7560df66;outline-offset:4px}body[data-auth-mode="login"] .for-register{display:none}.auth-nav{max-width:1280px;margin:auto;height:94px;padding:0 32px;display:flex;align-items:center;justify-content:space-between}.auth-brand{display:inline-flex;align-items:center;gap:10px;font-size:20px;font-weight:750;letter-spacing:-.7px}.auth-brand-suffix{font-size:14px;margin-left:7px;font-weight:500;color:#655f79;letter-spacing:0}.auth-nav-actions{display:flex;align-items:center;gap:25px}.auth-back{font-size:13px;color:var(--auth-muted);transition:color .2s}.auth-back:hover{color:var(--auth-primary)}.auth-back span{margin-right:5px}.auth-theme{width:35px;height:35px;border:1px solid var(--auth-line);background:var(--auth-surface);color:var(--auth-muted);border-radius:50%;font-size:21px;display:grid;place-items:center}.auth-layout{max-width:1216px;min-height:710px;margin:4px auto 20px;display:grid;grid-template-columns:1.05fr 1fr;gap:36px;padding:0 20px}.auth-story{position:relative;overflow:hidden;padding:34px 38px 28px;border:1px solid #e5e0f5;border-radius:30px;background:radial-gradient(ellipse at 18% 11%,#fff9 0,transparent 58%),linear-gradient(138deg,#ede8ff,#eae9fb 55%,#e6eefb);display:flex;flex-direction:column;justify-content:space-between;isolation:isolate}.auth-story:before{content:"";position:absolute;width:420px;height:420px;right:-240px;top:80px;border:1px solid #7560df1c;border-radius:50%;box-shadow:0 0 0 50px #7560df07,0 0 0 100px #7560df04;z-index:-1}.auth-story-top{display:flex;align-items:center;justify-content:space-between}.auth-kicker{font-size:12px;letter-spacing:2px;color:#8474b0;font-weight:600;display:flex;align-items:center;gap:8px}.auth-kicker i{width:5px;height:5px;background:#8e78e2;border-radius:50%;box-shadow:0 0 0 4px #8e78e213}.auth-story-mark{font-size:28px;color:#a18dd9}.auth-story-copy{margin-top:50px}.auth-story h1{margin:0;font-size:clamp(34px,4.1vw,53px);line-height:1.37;font-weight:600;letter-spacing:-2px;color:#41345d}.auth-story h1 span{color:#8063d6}.auth-story-copy p{font-size:14px;line-height:1.95;color:#8b80a2;margin:20px 0 0}.auth-network{position:relative;width:100%;height:220px;margin:12px auto 10px;max-width:500px}.auth-wires{position:absolute;inset:0;width:100%;height:100%;fill:none;stroke:#b6a7de;stroke-width:1.3;stroke-dasharray:4 5}.auth-node{position:absolute;display:flex;align-items:center;justify-content:center;gap:8px;min-width:121px;height:48px;padding:0 15px;border:1px solid #fff9;border-radius:13px;box-shadow:0 5px 18px #8070ab0c;background:#ffffffb3;color:#645875;font-size:12px;font-weight:500;backdrop-filter:blur(8px)}.auth-node-a{left:0;top:20px}.auth-node-b{left:0;top:152px}.auth-node-c{right:0;top:86px}.auth-node-dot{width:12px;height:12px;border:3px solid #7c7294;border-radius:50%}.auth-node-star{font-size:22px;color:#b09891}.auth-node-spark{font-size:25px;color:#9586da}.auth-hub{position:absolute;left:50%;top:110px;transform:translate(-50%,-50%);display:grid;place-items:center;width:80px;height:80px;border:1px solid #fff;border-radius:22px;box-shadow:0 8px 32px #8d7bb729;background:#ffffffa6}.auth-network-caption{position:absolute;left:50%;top:172px;transform:translateX(-50%);color:#a299b6;font-size:8px;letter-spacing:1.1px;white-space:nowrap}.auth-story-bottom{display:flex;align-items:center;gap:25px;padding-top:16px;border-top:1px solid #b6a7de33}.auth-story-bottom>div{display:flex;flex-direction:column;gap:7px}.auth-story-bottom strong{font-size:12px;color:#716381;font-weight:500}.auth-story-bottom span{font-size:12px;color:#9b8faa}.auth-story-bottom>i{width:1px;height:25px;background:#b5a9ce40}.auth-panel{display:flex;align-items:center;justify-content:center;padding:36px 22px}.auth-form-wrap{width:100%;max-width:350px}.auth-tabs{display:flex;width:156px;padding:4px;background:#eceaf5;border-radius:12px;gap:3px;margin-bottom:35px}.auth-tabs a{flex:1;text-align:center;padding:9px 10px;border-radius:9px;font-size:12px;color:#9b94af;transition:background .2s,color .2s}.auth-tabs a[aria-current="page"]{background:var(--auth-surface);color:#705bca;box-shadow:0 2px 8px #58477b0a;font-weight:600}.auth-eyebrow{font-size:12px;letter-spacing:2px;color:#9f95ba;font-weight:600}.auth-panel h2{font-size:31px;letter-spacing:-1px;font-weight:600;margin:11px 0 9px}.auth-description{margin:0 0 28px;color:var(--auth-muted);font-size:12px;line-height:1.8}.auth-field{margin:0 0 18px}.auth-field label{display:block;margin-bottom:9px;font-size:12px;color:#706b83;font-weight:500}.auth-field input{display:block;width:100%;height:47px;border:1px solid var(--auth-line);border-radius:10px;background:var(--auth-surface);padding:0 14px;color:var(--auth-ink);font-size:13px;outline:none;transition:border-color .18s,box-shadow .18s}.auth-field input::placeholder{color:#b3adbf}.auth-field input:focus{border-color:#a693e7;box-shadow:0 0 0 3px #8a6ade0d}.auth-field input[aria-invalid="true"]{border-color:#dc7f8c}.auth-password{position:relative}.auth-password input{padding-right:60px}.auth-password button{position:absolute;right:9px;top:8px;height:31px;padding:0 8px;background:none;border:0;color:#a29ab5;font-size:12px;border-radius:6px}.auth-password button:hover{color:#7560df;background:#7560df08}.auth-field-note{font-size:12px;color:var(--auth-muted);line-height:1.7;margin:8px 0 0;overflow-wrap:anywhere}.auth-code-row{display:flex;gap:9px}.auth-code-row input{min-width:0;flex:1}.auth-code-row button{white-space:nowrap;border:1px solid #cfc4eb;background:#f0ebfc;color:#8a73bd;font-size:12px;border-radius:10px;padding:0 12px}.auth-code-row button:disabled{opacity:.55}.auth-submit{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;height:47px;margin-top:26px;border:1px solid #7760d7;border-radius:10px;background:linear-gradient(110deg,#8a71e1,#7660d7);box-shadow:0 6px 17px #7560df19;color:white;font-size:13px;font-weight:500;transition:transform .2s,box-shadow .2s,opacity .2s}.auth-submit:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 8px 20px #7560df30}.auth-submit:disabled{opacity:.55}.auth-submit-arrow{font-size:17px;line-height:1;margin-left:2px;opacity:.85}.auth-submit-spinner{display:none;width:14px;height:14px;border:1.6px solid #ffffff66;border-top-color:#fff;border-radius:50%;animation:auth-spin .8s linear infinite}.auth-submit[aria-busy="true"] .auth-submit-spinner{display:inline-block}.auth-submit[aria-busy="true"] .auth-submit-arrow{display:none}.auth-switch-note{text-align:center;font-size:12px;color:#9e96b1;margin:22px 0 0}.auth-switch-note a{color:#8b72ca;font-weight:600;margin-left:5px}.auth-switch-note a:hover{text-decoration:underline}.auth-form-footer{display:flex;align-items:center;gap:13px;margin-top:42px;font-size:12px;color:#b0a7c0;white-space:nowrap}.auth-footer-line{flex:1;height:1px;background:var(--auth-line)}.auth-footer{max-width:1216px;margin:0 auto;padding:10px 24px 22px;display:flex;justify-content:space-between;color:#b1aabb;font-size:12px}.auth-feedback,.auth-config-status{border:1px solid #eed1d6;background:#fff5f6;padding:11px 13px;border-radius:10px;color:#b96877;font-size:12px;line-height:1.7;margin:0 0 20px;overflow-wrap:anywhere}.auth-feedback[data-kind="success"]{background:#edf8f2;border-color:#cfe8da;color:#54836a}.auth-config-status{background:#f0edfa;border-color:#e0d8f2;color:#9987b6}.auth-config-status button{display:inline-block;margin-left:8px;border:0;background:none;color:#8261bf;text-decoration:underline;font-size:12px}@keyframes auth-spin{to{transform:rotate(360deg)}}
.dark body{--auth-bg:#11101a;--auth-ink:#eeedf8;--auth-muted:#9a93ad;--auth-line:#342e44;--auth-surface:#1d1929}.dark .auth-brand-suffix{color:#a9a0bd}.dark .auth-story{background:radial-gradient(ellipse at 20% 20%,#42325855,transparent 60%),linear-gradient(138deg,#241b35,#201d31 70%,#1d2636);border-color:#3b2e51}.dark .auth-story h1{color:#e1d4f0}.dark .auth-story h1 span{color:#af91ed}.dark .auth-story-copy p{color:#a395b6}.dark .auth-node{background:#332a42b3;border-color:#55446488;color:#c3b5d6}.dark .auth-hub{background:#40334ea6;border-color:#6c557955}.dark .auth-tabs{background:#242030}.dark .auth-field label{color:#ada3be}.dark .auth-field input::placeholder{color:#6c637e}.dark .auth-code-row button{background:#332749;border-color:#53406e;color:#bba1de}.dark .auth-feedback{background:#2c1b27;border-color:#5a3446;color:#df9cae}.dark .auth-feedback[data-kind="success"]{background:#1b3028;border-color:#335345;color:#91c6a9}.dark .auth-config-status{background:#292039;border-color:#4a375e;color:#bba0d5}
@media(min-width:1200px) and (min-height:880px){.auth-layout{min-height:calc(100vh - 175px)}.auth-story-copy{margin-top:60px}}@media(max-width:950px){.auth-layout{gap:10px;grid-template-columns:.9fr 1fr}.auth-story{padding:28px}.auth-story h1{font-size:39px}.auth-story-bottom{gap:12px}.auth-story-bottom span{font-size:12px}.auth-node{min-width:100px;padding:0 8px;font-size:12px}.auth-hub{width:64px;height:64px}.auth-hub img{width:47px;height:47px}.auth-network{height:190px}.auth-node-b{top:142px}.auth-story-bottom>i{display:none}}@media(max-width:700px){.auth-nav{height:77px;padding:0 22px}.auth-nav-actions{gap:16px}.auth-brand{font-size:18px}.auth-brand img{width:32px;height:32px}.auth-brand-suffix{font-size:12px}.auth-layout{display:flex;flex-direction:column;gap:0;margin:0 auto;padding:0 22px;min-height:calc(100vh - 135px)}.auth-story{display:none}.auth-panel{padding:24px 0 36px;align-items:flex-start;flex:1}.auth-form-wrap{max-width:380px}.auth-tabs{margin-bottom:32px}.auth-panel h2{font-size:32px}.auth-description{margin-bottom:28px}.auth-field input,.auth-submit{height:50px}.auth-password button{top:9px}.auth-field{margin-bottom:20px}.auth-footer{padding:8px 22px 22px;gap:10px;flex-wrap:wrap}.auth-footer span:nth-child(2){display:none}.auth-form-footer{margin-top:36px}.auth-back{font-size:12px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}}

@media(max-width:700px){.auth-field input{font-size:16px}.auth-password button{top:4px;height:42px;min-width:44px}.auth-submit{font-size:14px}}

/* Grow with the registration form, including email policy and feedback messages. */
html{scroll-padding-bottom:24px}
body{min-height:100vh;min-height:100svh;display:flex;flex-direction:column}
.auth-nav{width:100%;flex-shrink:0}
.auth-layout{width:100%;flex:1;max-height:none}
.auth-panel,.auth-form-wrap{min-width:0}
.auth-footer{position:relative;width:100%;flex-shrink:0}
@media(max-width:700px){.auth-footer{padding-bottom:max(22px,env(safe-area-inset-bottom))}}

/* The standalone form uses the same system stack and readable helper text. */
.auth-field-note,.auth-switch-note,.auth-form-footer,.auth-footer{font-size:12px;color:#475569}
html.dark .auth-field-note,html.dark .auth-switch-note,html.dark .auth-form-footer,html.dark .auth-footer{color:#b4bfd0}

.auth-agreements{margin:0 0 18px;display:flex;flex-direction:column;gap:10px;font-size:12px;line-height:1.7;color:var(--auth-ink)}
.auth-agreements label{display:flex;align-items:flex-start;gap:8px;cursor:pointer}.auth-agreements input[type=checkbox]{appearance:auto;width:16px;height:16px;min-width:16px;padding:0;margin:3px 0 0;accent-color:var(--auth-primary);border-radius:3px}.auth-agreements a{color:var(--auth-primary);text-decoration:underline;text-underline-offset:3px}.auth-agreements #legal-status{color:var(--auth-muted)}.auth-agreements #retry-legal{align-self:flex-start;border:0;background:none;color:var(--auth-primary);padding:0;font-size:12px}
