:root{color-scheme:dark;--ink:#d9d7d4;--muted:#99968d;--paper:#0b0902;--panel:#15130d;--line:#343128;--warm:#e6a55c;font-family:"Satoshi","Noto Serif SC","Songti SC",SimSun,serif;color:var(--ink);background:var(--paper)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--paper);color:var(--ink)}body:not(.account-portfolio) main{max-width:960px;margin:130px auto 65px;padding:0 24px}a{color:inherit;text-underline-offset:5px}button,input,select{font:inherit}.account-header{position:fixed;z-index:30;inset:0 0 auto;display:flex;justify-content:space-between;align-items:flex-start;padding:28px 4.8vw;pointer-events:none;mix-blend-mode:difference;color:#fff}.account-header a,.account-header button{pointer-events:auto}.brand{display:flex;flex-direction:column;align-items:center;text-decoration:none;font-family:"Noto Serif SC","Songti SC",SimSun,serif;line-height:1}.brand span{width:1em;font-size:27px;line-height:1.06}.brand small{font:9px Arial,sans-serif;letter-spacing:.04em;margin-top:6px}.account-header nav{display:flex;gap:24px;align-items:center;font-size:12px;letter-spacing:.08em}.account-header nav a{text-decoration:none;opacity:.68;transition:opacity .3s ease}.account-header nav a:hover,.account-header nav a.is-current{opacity:1}.account-shell:not(.account-portfolio) h1{font-size:clamp(30px,5vw,52px);font-weight:400}.account-shell:not(.account-portfolio) section{margin:40px 0}.account-form{max-width:460px;margin:0 auto}label{display:block;margin-bottom:9px}input{width:100%;padding:13px;background:#18160e;border:1px solid #645e4f;color:inherit}button{padding:12px 25px;border:1px solid var(--ink);background:var(--ink);color:var(--paper);cursor:pointer}input:focus-visible,button:focus-visible,a:focus-visible,select:focus-visible{outline:2px solid var(--warm);outline-offset:4px}.helptext{font-size:13px;color:var(--muted);line-height:1.6}.errorlist{color:#ffb1a3;padding-left:20px}.account-links{margin-top:28px;font-size:14px}.account-actions{display:flex;gap:14px;align-items:center;flex-wrap:wrap}.account-actions form{margin:0}.muted{color:var(--muted);font-size:13px;line-height:1.7}button:disabled{opacity:.5;cursor:wait}
@media(max-width:700px){.account-header{padding:20px}.account-header nav{gap:13px;font-size:10px}.account-header nav a:first-child{display:none}.brand span{font-size:22px}body:not(.account-portfolio) main{margin-top:105px}}
.auth-phone-first{display:flex;flex-direction:column}.auth-phone-first .phone-otp-login{order:1}.auth-phone-first .oauth-providers{order:2}.auth-phone-first .password-login{order:3}.auth-phone-first .account-links{order:4}.auth-intro{color:var(--muted);line-height:1.7;margin:0 0 28px}.phone-otp-login h2{font-size:17px;font-weight:400;letter-spacing:.08em;margin:0 0 20px}.phone-otp-form p{margin:0 0 16px}.phone-otp-form .otp-send{background:transparent;color:var(--ink);width:100%;border-color:var(--line)}.phone-otp-form .otp-submit{width:100%;margin-top:7px}.phone-otp-msg{color:var(--warm);line-height:1.6}.password-login{border-top:1px solid var(--line);margin:32px 0 0;padding:20px 0}.password-login summary{cursor:pointer;color:var(--muted);font-size:14px}.password-login[open] summary{margin-bottom:22px}.auth-divider{color:var(--muted);font-size:13px;margin:30px 0 14px}.oauth-providers{border-top:1px solid var(--line);margin-top:30px}.oauth-providers .button{display:block;text-align:center;text-decoration:none;border:1px solid var(--line);padding:13px 18px;margin:10px 0;transition:border-color .2s ease}.oauth-providers .button:hover{border-color:var(--ink)}
.oauth-start{margin:0}.oauth-start .button{width:100%;background:transparent;color:var(--ink);font:inherit;cursor:pointer}
.support-contact__qr{display:block;margin-top:8px}

/* Phone OTP: +86 prefix, code + send button on one row, countdown, demo label */
.phone-otp-field,.phone-otp-code-row{display:flex;align-items:stretch;gap:10px}.phone-otp-field input,.phone-otp-code-row input{flex:1 1 auto;min-width:0}.phone-otp-cc{display:flex;flex:0 0 auto;align-items:center;white-space:nowrap;padding:0 12px;border:1px solid var(--line);color:var(--muted);font-size:14px;letter-spacing:.04em}.phone-otp-form .phone-otp-code-row .otp-send{flex:0 0 auto;width:auto;min-width:118px;white-space:nowrap;padding-left:14px;padding-right:14px}.phone-otp-form .otp-send:disabled{opacity:.55;cursor:default}.phone-otp-msg[data-kind=ok]{color:var(--muted)}.phone-otp-hint{color:var(--muted);font-size:13px;line-height:1.6}.phone-otp-mock{border:1px dashed var(--warm);color:var(--warm);font-size:13px;line-height:1.6;padding:10px 12px;margin:0 0 18px}
.phone-bind-panel{border-top:1px solid var(--line);margin:24px 0;padding-top:18px}.phone-bind-panel h3{font-size:15px;font-weight:400;margin:0 0 8px}.phone-bind-panel p{margin:0 0 12px}.phone-bind-panel .phone-otp-form .otp-submit{width:auto}
@media (max-width:520px){.phone-otp-form .phone-otp-code-row .otp-send{min-width:104px;font-size:14px}}
.phone-bind-panel{max-width:420px}.phone-bind-panel label{display:block;margin:0 0 8px;font-size:14px}.phone-bind-panel input{width:100%;padding:12px;background:rgba(255,255,255,.03);border:1px solid var(--line,#645e4f);color:inherit;font:inherit;border-radius:0}.phone-bind-panel .phone-otp-cc{border-color:var(--line,#645e4f)}.phone-bind-panel .otp-send{padding:12px 14px;border:1px solid var(--line,#645e4f);background:transparent;color:inherit;font:inherit;min-width:112px;white-space:nowrap;cursor:pointer}.phone-bind-panel .otp-submit{margin-top:4px}.account-phone{font-size:14px}
