:root{--canvas:oklch(.968 .0025 245);--surface:oklch(.992 .0018 245);--soft:oklch(.955 .004 245);--text:oklch(.22 .012 250);--body:oklch(.39 .014 250);--muted:oklch(.52 .014 250);--line:oklch(.82 .01 245);--danger:oklch(.54 .16 28);--focus:oklch(.64 .12 250/.32);--glyph-cutout:var(--canvas);font-family:Inter,"Noto Sans SC","PingFang SC",system-ui,sans-serif;color-scheme:light}
*{box-sizing:border-box}html,body{min-width:320px;min-height:100%;margin:0}body{background:var(--canvas);color:var(--body);font:14px/1.55 Inter,"Noto Sans SC","PingFang SC",system-ui,sans-serif}button,input{font:inherit}.svg-defs{position:absolute;width:0;height:0;overflow:hidden}.visually-hidden{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0 0 0 0)!important;white-space:nowrap!important;border:0!important}button,a,input{outline:none}
.site-header{height:64px;display:flex;align-items:center;padding:0 max(24px,calc((100vw - 1200px)/2));position:relative;z-index:2}.brand{display:inline-flex;align-items:center;gap:8px;color:var(--text);font-size:18px;font-weight:650;text-decoration:none}.brand svg{width:20px;height:20px}
.auth-stage{min-height:calc(100dvh - 64px);display:grid;grid-template-columns:minmax(0,1fr);place-items:center;padding:28px 20px 64px;position:relative;overflow:hidden}.host-preview{position:absolute;inset:9% max(4%,calc((100% - 1280px)/2));opacity:.58}.preview-line{display:block;width:46%;height:14px;border-radius:7px;background:oklch(.91 .004 245);margin-bottom:14px}.preview-line--short{width:20%;height:22px}.preview-blocks{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:34px}.preview-blocks span{height:180px;border-radius:14px;background:oklch(.94 .003 245)}
.auth-panel{position:relative;z-index:1;width:min(420px,100%);min-height:500px;padding:40px 42px 32px;border-radius:18px;background:var(--surface);box-shadow:0 20px 60px oklch(.22 .012 250/.12),0 2px 8px oklch(.22 .012 250/.05)}.auth-panel:has(#wechat-step:not([hidden])){min-height:0;padding:32px 42px 28px}.auth-panel:has(#registration-invite-fields:not([hidden])){min-height:0}
.auth-panel:has(#code-step:not([hidden])){width:min(408px,100%);min-height:0;padding:32px 36px 26px}
.panel-heading{margin-bottom:30px}.panel-heading .eyebrow{margin:0 0 14px;color:var(--muted);font-size:12px}.panel-heading h1{margin:0;color:var(--text);font-size:27px;line-height:1.3;font-weight:620;letter-spacing:-.02em}.panel-heading p:not(.eyebrow){margin:8px 0 0;color:var(--muted)}.panel-heading--wechat{text-align:center;margin-bottom:20px}.panel-heading--wechat h1{font-size:22px;line-height:1.35;font-weight:600;letter-spacing:-.012em}.panel-heading--code{margin:16px 0 22px}.panel-heading--code h1{font-size:25px;font-weight:610}.panel-heading--code p{margin-top:6px!important;font-size:13px;line-height:1.5}
.back-button{min-height:32px;display:inline-flex;align-items:center;gap:4px;margin:-4px 0 0 -7px;padding:4px 7px;border:0;border-radius:7px;background:transparent;color:var(--muted);cursor:pointer;font-size:12px}.back-button svg{width:15px;height:15px}
.field{display:block;color:var(--text);font-size:13px;font-weight:550}.field>span:first-child{display:block;margin-bottom:8px}.field em{margin-left:4px;color:var(--muted);font-style:normal;font-weight:400}.phone-input,.text-input{height:46px;border:1px solid var(--line);border-radius:10px;background:oklch(.995 .001 245);transition:border-color .16s,box-shadow .16s}.phone-input{display:flex;align-items:center;overflow:hidden;isolation:isolate}
.phone-input:focus-within{border-color:oklch(.48 .045 245);box-shadow:0 0 0 3px oklch(.69 .045 245/.2)}.phone-input b{padding:0 12px 0 14px;border-right:1px solid oklch(.88 .006 245);color:var(--body);font-weight:500}.phone-input input,.text-input{width:100%;border:0;background:transparent;color:var(--text);font-weight:400;text-align:left}.phone-input input{width:auto;min-width:0;height:100%;padding:0 14px;flex:1 1 auto}
.phone-input input:-webkit-autofill,.phone-input input:-webkit-autofill:focus{-webkit-text-fill-color:var(--text);caret-color:var(--text);-webkit-box-shadow:0 0 0 1000px oklch(.995 .001 245) inset;box-shadow:0 0 0 1000px oklch(.995 .001 245) inset}.text-input{padding:0 14px;border:1px solid var(--line)}input::placeholder{color:oklch(.67 .01 245);font-weight:400;letter-spacing:0;text-align:left}
.agreement{display:flex;align-items:flex-start;gap:8px;margin-top:18px;color:var(--muted);font-size:12px;cursor:pointer;position:relative}.agreement input{position:absolute;opacity:0;left:0;top:1px;width:16px;height:16px;margin:0;cursor:pointer;z-index:1}.checkbox{width:16px;height:16px;flex:0 0 auto;margin-top:1px;display:grid;place-items:center;border:1px solid var(--line);border-radius:4px;background:oklch(.995 .001 245);pointer-events:none}.checkbox svg{width:12px;height:12px;color:oklch(.995 .001 245);opacity:0}.agreement input:checked+.checkbox{border-color:var(--text);background:var(--text)}.agreement input:checked+.checkbox svg{opacity:1}.agreement a{margin:0 2px;color:var(--body)}
.primary-button{width:100%;height:44px;margin-top:24px;border:0;border-radius:10px;background:var(--text);color:oklch(.99 .002 245);font-weight:570;cursor:pointer;transition:opacity .16s,transform .16s}.primary-button:active:not(:disabled){transform:translateY(1px)}.primary-button:disabled{cursor:not-allowed;opacity:.25}
.field-error{margin:7px 0 0;color:var(--danger);font-size:12px}.verification-field{color:var(--text);font-size:13px}.field-heading{min-height:24px;margin-bottom:6px;display:flex;align-items:center;justify-content:space-between;gap:16px}.field-heading label{font-weight:550}.field-heading button{min-height:28px;margin-right:-4px;padding:0 4px;border:0;border-radius:5px;background:transparent;color:var(--muted);cursor:pointer;font-size:12px;font-weight:400}
.wechat-qr-stage{margin:0}.auth-panel[data-intent="register"] .wechat-qr-stage{margin-top:18px}.wechat-qr{width:176px;height:176px;margin:0 auto;padding:10px;display:grid;place-items:center;border:1px solid oklch(.88 .006 245);border-radius:10px;background:oklch(.995 .001 245)}.wechat-qr svg{display:block;width:100%;height:100%}.wechat-agreement{margin:12px 0 0;text-align:center;color:var(--muted);font-size:11px}.wechat-agreement a{margin:0 2px;color:var(--body)}.wechat-register-button{margin-top:20px}.invite-verified{min-height:28px;display:flex;align-items:center;justify-content:space-between;gap:12px;color:var(--muted);font-size:12px}.invite-verified span{display:inline-flex;align-items:center;gap:6px}.invite-verified span svg{width:14px;height:14px;color:var(--body)}.invite-verified button{min-width:44px;min-height:32px;margin-right:-8px;padding:0 8px;border:0;border-radius:6px;background:transparent;color:var(--body);cursor:pointer;font-size:12px}
.auth-methods{margin-top:22px}.method-divider{display:flex;align-items:center;gap:12px;margin:0 0 12px;color:var(--muted);font-size:11px}.method-divider::before,.method-divider::after{content:"";height:1px;flex:1;background:oklch(.9 .005 245)}.method-options{display:flex;align-items:center;justify-content:center;gap:12px}.method-icon-button{width:44px;height:44px;display:grid;place-items:center;border:1px solid oklch(.79 .009 245);border-radius:50%;background:transparent;color:var(--body);cursor:pointer}.method-icon-button svg{width:20px;height:20px}
.auth-intent-switch{min-height:40px;margin:14px auto 0;padding:0 8px;display:flex;align-items:center;justify-content:center;gap:5px;border:0;border-radius:7px;background:transparent;color:var(--muted);cursor:pointer;font-size:13px}.auth-intent-switch strong{color:var(--text);font-weight:570}
.invite-slot:empty{ display:none}.registration-invite-fields{margin-top:18px}.invite-slot--wechat .registration-invite-fields{margin-top:0;text-align:left}.invite-field-heading a{min-height:28px;margin-right:-2px;padding:0 2px 0 4px;border-radius:5px;background:transparent;color:oklch(.55 .16 250);display:inline-flex;align-items:center;text-decoration:none;font-size:12px;font-weight:540;gap:3px}.invite-field-heading a svg{width:11px;height:11px}.code-intent-switch{min-height:36px;margin-top:6px}
#code-form .primary-button{margin-top:20px}#resend-icon{display:none!important}
.input-with-action{position:relative;display:block}.input-with-action .text-input{padding-right:40px}.input-with-action button{position:absolute;right:6px;top:5px;width:36px;height:36px;display:grid;place-items:center;border:0;border-radius:7px;background:transparent;color:var(--muted);cursor:pointer}.input-with-action svg{width:16px;height:16px}.code-input{font-variant-numeric:tabular-nums}.code-input:not(:placeholder-shown){letter-spacing:.18em}.code-input::placeholder{font-weight:400;letter-spacing:0;text-align:left}
.method-icon-button:focus-visible,.auth-intent-switch:focus-visible,.back-button:focus-visible,.invite-verified button:focus-visible{box-shadow:0 0 0 3px var(--focus);color:var(--text)}
@media (hover:hover) and (pointer:fine){.back-button:hover{color:var(--text)}.phone-input input:-webkit-autofill:hover{-webkit-text-fill-color:var(--text);caret-color:var(--text);-webkit-box-shadow:0 0 0 1000px oklch(.995 .001 245) inset;box-shadow:0 0 0 1000px oklch(.995 .001 245) inset}.primary-button:hover:not(:disabled){opacity:.9}.field-heading button:not(:disabled):hover,.auth-intent-switch:hover,.invite-verified button:hover{color:var(--text);background:var(--soft)}.invite-field-heading a:hover{background:var(--soft);color:oklch(.44 .12 250)}.method-icon-button:hover{border-color:oklch(.61 .012 245);background:var(--soft);color:var(--text)}.input-with-action button:hover{background:var(--soft);color:var(--text)}}
[hidden]{display:none!important}
@media(max-width:560px){.site-header{height:56px;padding:0 18px}.auth-stage{min-height:calc(100dvh - 56px);padding:10px 12px 24px;align-items:start}.host-preview{display:none}.auth-panel{min-height:0;padding:32px 24px 26px;border-radius:14px;box-shadow:0 12px 40px oklch(.22 .012 250/.1)}.auth-panel:has(#wechat-step:not([hidden])){padding:28px 24px 24px}.auth-panel:has(#code-step:not([hidden])){padding:26px 24px 24px}.panel-heading h1{font-size:25px}.panel-heading--wechat h1{font-size:22px}.panel-heading--code{margin-top:14px;margin-bottom:20px}.panel-heading--code h1{font-size:24px}.auth-methods{margin-top:20px}.auth-intent-switch{margin-top:10px}.registration-invite-fields{margin-top:16px}.invite-slot--wechat .registration-invite-fields{margin-top:0}.wechat-register-button{margin-top:18px}.auth-panel[data-intent="register"] .wechat-qr-stage{margin-top:18px}.code-intent-switch{margin-top:6px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}.field-heading button:hover{color:var(--text);background:var(--soft)}
.invite-toggle{display:flex;align-items:center;justify-content:space-between;width:100%;height:38px;margin-top:14px;padding:0 2px;border:0;border-radius:7px;background:transparent;color:var(--body);cursor:pointer;font-size:13px}.invite-toggle:hover{color:var(--text);background:oklch(.965 .003 245)}.invite-toggle__label{display:flex;align-items:center;gap:7px}.invite-toggle__label svg,.invite-toggle__chevron{width:16px;height:16px}.invite-toggle__label svg{color:var(--muted)}.invite-toggle__chevron{transition:transform .16s}.invite-toggle[aria-expanded=true] .invite-toggle__chevron{transform:rotate(180deg)}.invite-area{padding-top:8px}.account-notice{margin-top:14px;padding:10px 12px;border-radius:8px;background:var(--soft);color:var(--body);font-size:12px}
.wechat-qr--embedded{width:240px;max-width:100%;height:260px;padding:0;border:0;background:transparent}.wechat-qr--embedded iframe{display:block;width:100%;height:260px;border:0}

input::placeholder { color: var(--v2-text-placeholder); }
.wechat-close { position: absolute; top: 12px; right: 12px; display: grid; place-items: center; width: 32px; height: 32px; padding: 6px; border: 0; border-radius: 8px; background: transparent; color: var(--muted); cursor: pointer; }
.wechat-close svg { width: 20px; height: 20px; }
.wechat-close:hover, .wechat-close:focus-visible { background: var(--line); color: var(--text); }
.wechat-agreement { width: fit-content; max-width: 100%; margin-left: auto; margin-right: auto; }
.wechat-actions{min-height:38px;display:flex;justify-content:center;align-items:center}
.wechat-actions .auth-quiet{margin:0}
.auth-panel:has(#wechat-step:not([hidden]))>.auth-notice{min-height:6em;margin:8px 0 0;font-size:13px;line-height:1.5;overflow-wrap:anywhere}

.auth-intent { min-height:40px; margin:14px auto 0; padding:0 8px; display:flex; justify-content:center; align-items:center; gap:5px; color:var(--muted); font-size:13px; }
.auth-intent[hidden], .auth-intent button[hidden] { display:none; }
.auth-intent button { border:0; background:none; min-height:40px; padding:0; font:inherit; font-weight:570; color:var(--text); cursor:pointer; }
.auth-intent button:hover { text-decoration:underline; }
.auth-field-label { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); }
.invite-slot--wechat #registration-invite-fields { margin-top:0; margin-bottom:18px; }
#registration-invite-fields .field-heading { display:flex; justify-content:space-between; }
#registration-invite-fields a { font-size:12px; color:oklch(.55 .16 250); text-decoration:none; }
.agreement input:focus-visible + .checkbox { box-shadow: 0 0 0 3px var(--focus); }

.auth-panel:not(:has(#wechat-step:not([hidden]))) > .auth-notice:empty { display:none; }
@media(max-width:560px){.auth-intent{margin-top:10px}}
