/* Scoped to account.html; existing product tokens and local fonts. */
.account-page :is(h1,h2,h3){font-family:"Microsoft YaHei","PingFang SC",sans-serif!important;font-weight:700;letter-spacing:0}.account-page .auth-submit{font-family:"Microsoft YaHei","PingFang SC",sans-serif!important;font-weight:700}
.account-page{margin:0;color:#edf0ee;background:radial-gradient(ellipse at 8% 40%,#213746 0,transparent 55%),#101a24;min-height:100vh}.account-page *{box-sizing:border-box}.account-page [hidden]{display:none!important}
.auth-header{max-width:1320px;margin:auto;padding:30px 48px;display:flex;align-items:center;justify-content:space-between;gap:24px;border-bottom:1px solid #d4bc8d26}.auth-brand{color:#efd9af;text-decoration:none;font:20px Georgia,serif;letter-spacing:.16em}.auth-brand small{display:block;font:11px var(--type-ui);letter-spacing:.2em;margin-top:8px;color:#aebdc6}.auth-header nav{display:flex;gap:24px}.auth-header nav a,.auth-footer a{color:#efdab6;text-decoration:none;font-size:14px}
.auth-shell{max-width:1160px;margin:64px auto;padding:0 40px;display:grid;grid-template-columns:1fr 1.08fr;gap:76px;align-items:start}.auth-story{padding:28px 0;position:sticky;top:40px}.auth-kicker{font-size:11px;letter-spacing:.2em;color:#cdb88f;margin:0 0 24px}.auth-sigil{font-size:92px;color:#dcc18f;height:142px;line-height:142px}.auth-story h1{font-size:clamp(30px,3.4vw,46px);line-height:1.5;font-weight:400;margin:22px 0;letter-spacing:.07em}.auth-story>p:not(.auth-kicker){color:#b6c6d0;line-height:2;font-size:16px}.auth-note{margin-top:64px;padding-top:24px;border-top:1px solid #cdb88f40;font-size:12px;letter-spacing:.12em;color:#d6c19b;line-height:2}.auth-note span{color:#a4b5c1}
.auth-panel{background:#172530;border:1px solid #b6a07955;border-radius:8px;padding:36px;box-shadow:0 24px 80px #0003;min-width:0}.auth-panel h2{font-size:30px;margin:24px 0 12px}.auth-panel h3{font-size:21px;margin-top:32px}.auth-panel p{line-height:1.8;overflow-wrap:anywhere}.auth-panel #authIntro,.auth-panel .auth-help,.auth-footer p,.auth-help-details{color:#b9c7d0;font-size:13px}.auth-panel #status{font-size:13px;line-height:1.8;border-left:2px solid #dfc18b;background:#ffffff06;padding:12px 14px;margin:0 0 24px;white-space:pre-wrap}.auth-panel #status[data-error=true]{border-color:#f2a59a;color:#ffcbc2}
.auth-modes{display:flex;border-bottom:1px solid #ffffff20;gap:24px}.auth-modes button{font:16px var(--type-ui);background:none;color:#b9c7d0;border:0;border-bottom:2px solid transparent;padding:12px 18px;cursor:pointer;min-height:48px}.auth-modes button[aria-pressed=true]{border-color:#e1c38c;color:#ffe2aa}.auth-steps{display:flex;list-style:none;padding:0;gap:24px;font-size:12px;color:#a5b4c0;margin:28px 0}.auth-steps [aria-current=step]{color:#f5d59c}
.auth-panel label{display:block;font-size:14px;margin:18px 0 10px}.auth-panel input:not([type=checkbox]){display:block;width:100%;min-height:52px;padding:12px;border:1px solid #718796;background:#0f1b25;color:#fff;font-size:16px;border-radius:4px}.auth-panel input[aria-invalid=true]{border-color:#f2a59a}.auth-panel #code{font:26px var(--type-mono);letter-spacing:.32em}.auth-panel input[type=file]{font-size:12px}.auth-submit{width:100%;margin:14px 0!important;font-weight:600;font-size:15px!important}.auth-panel .btn.primary{color:#17212a;background:#e4c694;border-color:#e4c694}.auth-panel button{cursor:pointer;min-height:44px}.auth-panel button:disabled{cursor:wait;opacity:.65;transform:none}.auth-recovery{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.auth-link{background:none;border:0;color:#ebd1a6;font-size:13px;padding:10px 0}.auth-recipient strong{display:block;overflow-wrap:anywhere;color:#f0d7ab}
.auth-help-details{border-top:1px solid #ffffff18;padding-top:18px;margin-top:16px}.auth-help-details summary{cursor:pointer;min-height:36px}.auth-footer{border-top:1px solid #ffffff18;margin-top:32px;padding-top:24px}.auth-footer p{font-size:12px;margin-bottom:0}.auth-panel #identity{display:block;overflow-wrap:anywhere;font:16px var(--type-ui);margin-top:12px}.auth-panel #localRooms{padding-left:20px;overflow-wrap:anywhere}.auth-panel #localRooms:empty:before{content:'本机暂无可绑定的房间身份。';color:#b9c7d0}.account-page :focus-visible{outline:3px solid #ffe3aa;outline-offset:4px}
@media(max-width:820px){.auth-header{padding:24px}.auth-shell{gap:30px;padding:0 24px;margin:32px auto;grid-template-columns:1fr 1.2fr}.auth-panel{padding:24px}.auth-story h1{font-size:30px}}
@media(max-width:620px){.auth-header{padding:20px;gap:16px;align-items:start}.auth-brand{font-size:15px}.auth-brand small{font-size:9px}.auth-header nav{gap:12px;flex-wrap:wrap;justify-content:flex-end}.auth-header nav a{font-size:12px;min-height:32px}.auth-shell{display:block;margin:24px auto;padding:0 16px}.auth-story{position:static;padding:0 8px 24px}.auth-story h1{font-size:28px;margin:10px 0}.auth-story h1 br{display:none}.auth-story>.auth-kicker,.auth-sigil,.auth-note,.auth-story>p:not(.auth-kicker){display:none}.auth-panel{padding:24px 20px}.auth-panel h2{font-size:27px}.auth-steps{gap:20px}}
@media(prefers-reduced-motion:reduce){.account-page *{scroll-behavior:auto!important;transition:none!important}}

body.account-page :is(h1,h2,h3){font-family:"Microsoft YaHei","PingFang SC",sans-serif!important;font-weight:700;letter-spacing:0}

.account-page .skip-main{position:absolute;left:16px;top:-100px;z-index:20;padding:12px;background:#172530;color:#ffe3aa}.account-page .skip-main:focus{top:12px}@media(max-width:620px){.auth-story h1 br{display:block}}
