/* Approved platform entry: paper, charcoal, one column, no course-specific branding. */
.platform-entry-header{display:none}
body:is([data-view="auth"],[data-view="onboarding"]) .vocab-toolbar{display:none!important}
html body:is([data-view="auth"],[data-view="onboarding"]){background:#fafaf8;color:#252729;overflow:auto;min-height:100dvh;height:auto}
html body:is([data-view="auth"],[data-view="onboarding"]) .platform-entry-header{display:flex;align-items:center;width:100%;height:72px;padding:0 40px;border-bottom:1px solid #e0e1e1;background:#fafaf8}
.platform-entry-header>a{display:inline-flex;align-items:center;gap:16px;color:#252729;text-decoration:none;font-size:19px;font-weight:600;min-height:44px}
html body .platform-entry-header .entry-mark{width:25px;height:30px;margin:0;object-fit:contain}
html body:is([data-view="auth"],[data-view="onboarding"]) .app-shell{display:block;width:100%;max-width:none;min-height:calc(100dvh - 72px);height:auto;margin:0;padding:clamp(32px,8vh,80px) 24px 48px;overflow:visible}
html body :is(#auth-view,#onboarding-view){display:block;width:100%;max-width:none;height:auto;min-height:0;padding:0;margin:0;background:transparent;border:0;box-shadow:none;overflow:visible}
html body :is(#auth-view,#onboarding-view).hidden{display:none!important}
html body #auth-view .auth-card,html body #learner-profile-form{display:flex;flex-direction:column;gap:0;width:100%;max-width:420px;min-width:0;height:auto;min-height:0;margin:0 auto;padding:0;border:0;border-radius:0;box-shadow:none;background:transparent;overflow:visible;position:relative;transform:none}
html body .entry-surface::before,html body .entry-surface::after{display:none;content:none}
html body .entry-topline{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 20px;padding:0;min-height:48px}
html body .entry-mark{display:block;width:36px;height:44px;object-fit:contain;margin:0}
html body .entry-surface .entry-back{display:inline-flex;align-items:center;gap:6px;flex:none;min-width:0;min-height:44px;padding:8px 0;margin:0;background:transparent;border:0;border-radius:6px;box-shadow:none;color:#62696f;font:400 15px/24px -apple-system,BlinkMacSystemFont,"PingFang SC",sans-serif;text-decoration:none;cursor:pointer}
.entry-back img{width:14px;height:14px;opacity:.7}
html body .entry-surface .entry-back:hover{color:#252729}
html body .entry-surface .entry-back.hidden{display:none!important}
html body #auth-heading,html body #onboarding-heading,html body #style-step-heading{position:static;display:block;width:auto;height:auto;max-width:none;clip:auto;clip-path:none;overflow:visible;font:600 30px/1.4 -apple-system,BlinkMacSystemFont,"PingFang SC",sans-serif;letter-spacing:-.02em;text-align:left;color:#252729;margin:0 0 28px;padding:0}
html body #auth-view .auth-panel{display:block;width:100%;height:auto;min-height:0;margin:0;padding:0;background:none;border:0;box-shadow:none}
html body #auth-view .auth-form{display:flex;flex-direction:column;gap:24px;width:100%;min-height:0;margin:0;padding:0}
html body #auth-view .auth-form.hidden{display:none!important}
html body :is(#auth-view,#onboarding-view) .entry-surface .entry-field{display:flex;flex-direction:column;gap:8px;margin:0;padding:0;min-width:0}
html body :is(#auth-view,#onboarding-view) .entry-surface .entry-field label{display:block;font-size:16px;line-height:24px;font-weight:500;color:#252729;margin:0;padding:0}
html body #auth-view .auth-form input,html body #learner-profile-form #learner-name{display:block;width:100%;max-width:none;min-width:0;height:52px;min-height:52px;margin:0;padding:12px 16px;background:#fff;border:1px solid #c9cdd2;border-radius:7px;box-shadow:none;color:#252729;font:400 17px/26px -apple-system,BlinkMacSystemFont,"PingFang SC",sans-serif;letter-spacing:0;caret-color:#252729}
html body .entry-surface input::placeholder{font-size:16px;color:#6b7177;opacity:1}
html body .entry-surface .entry-password{position:relative;display:block;width:100%;min-width:0}
html body #auth-view .entry-password input{padding-right:52px}
html body #auth-view .entry-password-toggle{position:absolute;right:4px;top:4px;display:grid;place-items:center;width:44px;height:44px;min-width:44px;min-height:44px;padding:0;margin:0;border:0;border-radius:5px;background:transparent;color:#62696f;box-shadow:none;cursor:pointer}
.entry-password-toggle svg{width:22px;height:22px}
html body :is(#auth-view,#onboarding-view) .entry-surface .primary-button{display:flex;justify-content:center;align-items:center;width:100%;min-width:0;min-height:52px;height:auto;margin:4px 0 0;padding:13px 20px;border:1px solid #252729;border-radius:7px;background:#252729;color:white;box-shadow:none;font-size:17px;font-weight:500;line-height:24px;letter-spacing:0;text-align:center;transform:none}
html body :is(#auth-view,#onboarding-view) .entry-surface .primary-button::after{display:none;content:none}
html body :is(#auth-view,#onboarding-view) .entry-surface .primary-button:hover{background:#3b3e40;border-color:#3b3e40;transform:none}
html body :is(#auth-view,#onboarding-view) .entry-surface .primary-button:disabled{background:#dfe1e1;border-color:#dfe1e1;color:#62696f;opacity:1;cursor:default}
html body #auth-view .auth-tabs{display:flex;justify-content:center;gap:0;min-height:44px;height:auto;margin:18px 0 0;padding:0;background:none;border:0;border-radius:0;box-shadow:none}
html body #auth-view .auth-tab{display:block;flex:none;min-height:44px;height:auto;width:auto;padding:8px 16px;margin:0;background:none;border:0;border-radius:6px;box-shadow:none;color:#62696f;font-size:16px;font-weight:400;line-height:24px}
html body #auth-view .auth-tab.hidden{display:none!important}
html body #auth-view .auth-tab:hover{color:#252729;background:#f0f0ee}
html body .entry-surface .message{font-size:14px;line-height:22px;min-height:0;margin:12px 0;color:#a12822;padding:0}
html body .entry-surface .message:empty{display:none;margin:0}
html body #auth-view :is(.field-hint,.auth-form-note){font-size:14px;line-height:22px;font-weight:400;color:#62696f;margin:0}
html body #learner-profile-form .journey-header{display:block;width:100%;height:auto;min-height:0;position:static;margin:0;padding:0;background:none;border:0;box-shadow:none}
html body #learner-profile-form .entry-step-label{display:block;margin:0 0 12px;color:#62696f;font-size:14px;font-weight:400;line-height:22px}
html body #learner-profile-form #journey-step-count,html body #learner-profile-form #journey-step-count span{display:inline;position:static;font:inherit;color:inherit;margin:0;padding:0;line-height:inherit;vertical-align:baseline}
html body #learner-profile-form .onboarding-step{display:block;width:100%;max-width:none;min-height:0;height:auto;margin:0;padding:0;background:none;border:0;box-shadow:none;animation:none;transform:none}
html body #learner-profile-form .onboarding-step.hidden{display:none!important}
html body #learner-profile-form #continue-onboarding-name,html body #learner-profile-form #save-learner-profile{width:100%;min-width:0;margin-top:28px}
html body #learner-profile-form .feedback-style-fieldset{display:block;margin:0;padding:0;border:0;min-width:0}
html body #learner-profile-form .feedback-style-options{display:block;border:1px solid #d8dce0;border-radius:8px;overflow:hidden;background:white;margin:0}
html body #learner-profile-form .feedback-style-option{display:grid;grid-template-columns:minmax(0,1fr) 24px;grid-template-rows:auto auto;gap:3px 16px;padding:14px 16px;margin:0;min-height:78px;border:0;border-bottom:1px solid #e0e1e1;border-radius:0;background:transparent;box-shadow:none;animation:none;transform:none;cursor:pointer}
html body #learner-profile-form .feedback-style-option:last-child{border-bottom:0}
html body #learner-profile-form .feedback-style-option:has(input:checked){background:#f0f1ef}
html body #learner-profile-form .feedback-style-option>strong{grid-row:1;grid-column:1;display:block;font-size:17px;line-height:24px;font-weight:600;color:#252729}
html body #learner-profile-form .feedback-style-option>span{grid-row:2;grid-column:1;display:block;font-size:14px;line-height:22px;color:#62696f}
html body #learner-profile-form .feedback-style-radio{position:static;grid-column:2;grid-row:1/3;align-self:center;justify-self:end;display:block;width:20px;height:20px;min-width:20px;min-height:20px;margin:0;padding:0;opacity:1;clip:auto;clip-path:none;appearance:auto;accent-color:#252729}
html body #learner-profile-form .feedback-style-fieldset>p{margin:12px 0 0;font-size:14px;line-height:22px;color:#62696f}
html body #learner-profile-form .journey-ribbon{display:flex;justify-content:center;gap:12px;width:100%;min-height:8px;height:8px;position:static;margin:28px 0 0;padding:0;background:none;border:0;transform:none;list-style:none}
html body #learner-profile-form .journey-ribbon::before,html body #learner-profile-form .journey-ribbon::after{display:none;content:none}
html body #learner-profile-form .journey-ribbon li{display:block;flex:0 0 8px;width:8px;min-width:8px;height:8px;min-height:8px;max-width:8px;margin:0;padding:0;border:0;border-radius:50%;background:#d8dadd;box-shadow:none;transform:none}
html body #learner-profile-form .journey-ribbon li.active{background:#252729}
html body #learner-profile-form .journey-ribbon li strong{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);margin:-1px;padding:0}
html body .entry-surface :focus-visible,html body .platform-entry-header :focus-visible{outline:2px solid #315b83;outline-offset:3px}
html body .entry-surface input[aria-invalid="true"]{border-color:#a12822}
/* Course planning follows profile setup; it is not a third universal profile step. */
html body #pacing-card #pacing-setup-panel{display:none}
@media(max-width:600px){
 html body:is([data-view="auth"],[data-view="onboarding"]) .platform-entry-header{height:64px;padding:0 24px}
 .platform-entry-header>a{font-size:17px;gap:12px}
 html body:is([data-view="auth"],[data-view="onboarding"]) .app-shell{min-height:calc(100dvh - 64px);padding:28px 24px 32px}
 html body #auth-heading,html body #onboarding-heading,html body #style-step-heading{font-size:28px;margin-bottom:24px}
 html body #auth-view .auth-form{gap:20px}
}

html body #auth-view .auth-card{align-items:stretch}
html body .entry-topline{width:100%}

/* The selected course's first learning plan follows the same entry layout. */
.pacing-entry-topline{display:none!important}
html body[data-view="pacing"]{background:#fafaf8;min-height:100dvh;height:auto;overflow:auto}
html body[data-view="pacing"] .vocab-toolbar{display:none!important}
html body[data-view="pacing"] .platform-entry-header{display:flex;align-items:center;width:100%;height:72px;padding:0 40px;border-bottom:1px solid #e0e1e1;background:#fafaf8}
html body[data-view="pacing"] .app-shell{display:block;width:100%;max-width:none;height:auto;min-height:calc(100dvh - 72px);padding:clamp(32px,8vh,80px) 24px 48px;overflow:visible;margin:0}
html body #pacing-card{display:block;width:100%;max-width:420px;height:auto;min-height:0;margin:0 auto;padding:0;gap:0;background:none;border:0;box-shadow:none;border-radius:0;overflow:visible}
html body #pacing-card::before,html body #pacing-card::after{display:none;content:none}
html body #pacing-card :is(.pacing-content,.pacing-task,.pacing-form,.pacing-actions-row){display:block;min-height:0;height:auto;width:100%;max-width:none;margin:0;padding:0;gap:0;background:none;border:0;box-shadow:none;overflow:visible}
html body #pacing-card:has(#pacing-setup-panel:not(.hidden)) .pacing-entry-topline{display:flex!important;align-items:center;justify-content:space-between;gap:16px;min-height:48px;margin:0 0 20px}
html body #pacing-card #back-to-onboarding-style{display:inline-flex;align-items:center;gap:6px;width:auto;min-width:0;min-height:44px;height:auto;margin:0;padding:8px 0;background:none;border:0;border-radius:6px;box-shadow:none;color:#62696f;font:400 15px/24px -apple-system,BlinkMacSystemFont,"PingFang SC",sans-serif;cursor:pointer}
html body #pacing-card #back-to-onboarding-style.hidden{display:none!important}
html body #pacing-card #pacing-heading{font-size:30px;font-weight:600;line-height:1.4;letter-spacing:-.02em;text-align:left;margin:0 0 16px;color:#252729}
html body #pacing-card .pacing-total-copy{font-size:16px;line-height:26px;color:#62696f;margin:0 0 28px}
html body #pacing-card .pacing-total-copy strong{font-size:18px;color:#252729;font-weight:600}
html body #pacing-card .pacing-field-heading{display:flex;justify-content:space-between;align-items:baseline;gap:12px;margin:0 0 8px;font-size:16px;line-height:24px}
html body #pacing-card .pacing-field-heading label{font-size:16px;font-weight:500}
html body #pacing-card .pacing-range-hint{font-size:14px;line-height:22px;margin:0;color:#62696f}
html body #pacing-card .pacing-input-summary{display:grid;grid-template-columns:120px minmax(0,1fr);gap:24px;align-items:start;padding:0;margin:0;width:100%}
html body #pacing-card .pacing-days-row{width:120px;height:56px;padding:0;border:1px solid #c9cdd2;border-radius:7px;background:white}
html body #pacing-card #target-days{width:100%;height:54px;min-height:54px;padding:10px 40px 10px 16px;border:0;border-radius:7px;font-size:24px;font-weight:500;line-height:32px;background:transparent;color:#252729}
html body #pacing-card .pacing-days-unit{top:16px;right:14px;font-size:16px;line-height:24px;color:#62696f}
html body #pacing-card .pacing-causal-divider{display:none}
html body #pacing-card .pacing-daily-workload{font-size:16px;line-height:28px;margin:0;padding:0;color:#62696f}
html body #pacing-card #pacing-daily-count{font-size:22px;font-weight:600;line-height:28px;color:#252729}
html body #pacing-card #pacing-distribution{display:block;margin-top:6px;font-size:14px;line-height:22px;color:#62696f}
html body #pacing-card .pacing-form-actions{display:block;margin:28px 0 0;padding:0}
html body #pacing-card #save-pacing{display:flex;align-items:center;justify-content:center;width:100%;min-width:0;height:52px;min-height:52px;padding:12px 20px;margin:0;border:1px solid #252729;border-radius:7px;background:#252729;box-shadow:none;color:white;font-size:17px;font-weight:500;line-height:24px;transform:none}
html body #pacing-card #save-pacing:hover:not(:disabled){background:#3b3e40;border-color:#3b3e40}
html body #pacing-card #save-pacing:disabled{background:#dfe1e1;border-color:#dfe1e1;color:#62696f;opacity:1}
html body #pacing-card :focus-visible{outline:2px solid #315b83;outline-offset:3px}
html body #pacing-card .pacing-check{margin-top:16px;padding:0;color:#a12822;font-size:14px;line-height:22px}
@media(max-width:600px){
 html body[data-view="pacing"] .platform-entry-header{height:64px;padding:0 24px}
 html body[data-view="pacing"] .app-shell{min-height:calc(100dvh - 64px);padding:28px 24px 32px}
 html body #pacing-card #pacing-heading{font-size:28px}
 html body #pacing-card .pacing-input-summary{gap:16px}
}

/* Stage planning: compact course context, same form as first plan. */
html body #pacing-card #pacing-stage-panel:not(.hidden){display:block;width:100%;height:auto;min-height:0;padding:0;margin:0 0 28px;background:none;border:0;border-radius:0;box-shadow:none;position:static;overflow:visible}
html body #pacing-stage-panel .stage-summary{display:flex;align-items:baseline;justify-content:space-between;gap:12px;padding:0;margin:0 0 18px;border:0;background:none}
html body #pacing-stage-panel :is(.stage-eyebrow,.stage-divider,.stage-count-label){display:none}
html body #pacing-stage-panel [data-stage-current-label]{font-size:18px;line-height:26px;font-weight:600;margin:0}
html body #pacing-stage-panel .stage-count,html body #pacing-stage-panel .stage-count span{font-size:15px;line-height:24px;font-weight:400;margin:0;color:#62696f;display:inline;vertical-align:baseline}
html body #pacing-stage-panel .stage-list{display:flex;align-items:flex-start;justify-content:space-between;gap:0;list-style:none;width:100%;padding:0;margin:0;border:0}
html body #pacing-stage-panel .stage-list::before{display:none}
html body #pacing-stage-panel .stage-item{display:flex;flex:1;flex-direction:column;align-items:center;gap:6px;position:relative;min-width:0;min-height:0;width:auto;padding:0;margin:0;background:none;border:0;box-shadow:none}
html body #pacing-stage-panel .stage-item::before{content:"";position:absolute;top:11px;left:50%;width:100%;height:1px;background:#d8dce0;transform:none}
html body #pacing-stage-panel .stage-item:last-child::before{display:none}
html body #pacing-stage-panel .stage-item::after{display:none}
html body #pacing-stage-panel .stage-number{position:relative;display:grid;place-items:center;z-index:1;width:24px;height:24px;min-width:24px;min-height:24px;padding:0;border:1px solid #c9cdd2;border-radius:50%;background:#fafaf8;box-shadow:none;color:#62696f;font-size:12px;line-height:1}
html body #pacing-stage-panel .active .stage-number{background:#252729;border-color:#252729;color:#fff}
html body #pacing-stage-panel .completed .stage-number{background:#e6e7e5;color:#252729}
html body #pacing-stage-panel .stage-name{font-size:12px;line-height:20px;font-weight:400;color:#62696f;white-space:normal;text-align:center}
html body #pacing-stage-panel .active .stage-name{color:#252729;font-weight:600}
html body #pacing-card #pacing-feedback-button:not(.hidden){display:flex;justify-content:center;align-items:center;width:100%;min-height:44px;margin:10px 0 0;padding:8px 12px;border:0;border-radius:7px;background:transparent;color:#62696f;font-size:16px;font-weight:400;box-shadow:none}
/* Feedback preferences reuse the profile choice treatment within settings. */
html body #settings-popover[data-settings-screen="feedback"]{width:100%;max-width:520px;margin-inline:auto}
html body #settings-popover[data-settings-screen="feedback"] .settings-page-header{margin-bottom:24px}
html body #settings-popover[data-settings-screen="feedback"] #settings-heading{font-size:30px;line-height:1.4;font-weight:600}
html body #feedback-style-form .settings-feedback-options{display:block;padding:0;margin:20px 0 0;border:1px solid #d8dce0;border-radius:8px;overflow:hidden;background:white}
html body #feedback-style-form .settings-feedback-options>label{display:flex;align-items:center;gap:16px;padding:14px 16px;min-height:78px;margin:0;border:0;border-bottom:1px solid #e0e1e1;border-radius:0;background:transparent;box-shadow:none;cursor:pointer}
html body #feedback-style-form .settings-feedback-options>label:last-child{border-bottom:0}
html body #feedback-style-form .settings-feedback-options>label:has(input:checked){background:#f0f1ef}
html body #feedback-style-form .settings-feedback-options input{order:2;flex:none;position:static;width:20px;height:20px;min-width:20px;margin:0;appearance:auto;accent-color:#252729}
html body #feedback-style-form .settings-feedback-options label>span{flex:1;display:flex;flex-direction:column;gap:3px}
html body #feedback-style-form .settings-feedback-options strong{font-size:17px;line-height:24px;font-weight:600;color:#252729}
html body #feedback-style-form .settings-feedback-options span>span{font-size:14px;line-height:22px;color:#62696f}
html body #feedback-style-form .settings-screen-actions{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:28px 0 0}
html body #feedback-style-form .settings-screen-actions button{width:100%;min-width:0;min-height:52px;border-radius:7px;font-size:17px;font-weight:500;line-height:24px}
html body #save-feedback-style:not(:disabled){background:#252729;border-color:#252729;color:white}
html body #feedback-style-form :focus-visible{outline:2px solid #315b83;outline-offset:3px}
@media(max-width:600px){html body #settings-popover[data-settings-screen="feedback"] #settings-heading{font-size:28px}html body #pacing-card #pacing-stage-panel:not(.hidden){margin-bottom:24px}}
html body #pacing-stage-panel::before,html body #pacing-stage-panel::after{display:none;content:none}

/* 统一顶栏（与精读页一致，2026-10-30） */
html body:is([data-view="auth"],[data-view="onboarding"],[data-view="pacing"]) .platform-entry-header{height:56px;padding:0 max(4vw,24px);background:rgba(255,255,255,.8);-webkit-backdrop-filter:saturate(180%) blur(20px);backdrop-filter:saturate(180%) blur(20px);border-bottom:1px solid rgba(0,0,0,.08)}
html body .platform-entry-header>a{gap:10px;font-size:16px;color:#1d1d1f;font-family:-apple-system,BlinkMacSystemFont,"SF Pro Text","Helvetica Neue","PingFang SC","Microsoft YaHei",sans-serif}
html body .platform-entry-header .entry-mark{width:16px;height:20px}
@media(max-width:760px){html body:is([data-view="auth"],[data-view="onboarding"],[data-view="pacing"]) .platform-entry-header{height:48px;padding:0 16px}html body .platform-entry-header>a{font-size:15px}}

/* 登录 / 注册页（2026-11-04）：表单做成卡片，左侧介绍三个板块和第一次使用的步骤。只作用于 #auth-view，不影响学习界面。 */
html body #auth-view.auth-view:not(.hidden){display:grid;grid-template-columns:minmax(0,1fr) minmax(0,460px);grid-template-areas:"aside card";gap:clamp(40px,6vw,96px);align-items:center;max-width:1100px;margin:0 auto;padding:24px 0 40px}
html body #auth-view.auth-view .auth-card{grid-area:card;max-width:none;padding:32px 36px 24px;background:#fff;border:1px solid #e3e5e7;border-radius:20px;box-shadow:0 18px 50px rgba(28,38,48,.07)}
html body #auth-view.auth-view .auth-card h1{margin-top:12px}
html body #auth-view.auth-view[data-auth-mode="register"] .auth-card{border-top:3px solid #315b83}
html body #auth-view.auth-view .auth-tabs{margin-top:14px;padding-top:12px;border-top:1px solid #eceeef}
html body #auth-view.auth-view #show-register:not(.hidden)::before{content:"还没有账号？";color:#8a9096;margin-right:4px}
html body #auth-view.auth-view #show-register{color:#315b83;font-weight:500}
html body #auth-view.auth-view #show-login:not(.hidden)::before{content:"已有账号？";color:#8a9096;margin-right:4px}
html body #auth-view.auth-view #show-login{color:#315b83;font-weight:500}
.auth-aside{grid-area:aside;min-width:0;color:#252729;font-family:-apple-system,BlinkMacSystemFont,"Helvetica Neue","PingFang SC","Microsoft YaHei",sans-serif}
.auth-aside-eyebrow{margin:0 0 14px;font-size:14px;letter-spacing:.06em;color:#70757b}
.auth-aside-title{margin:0;font-size:clamp(40px,4.2vw,60px);line-height:1.18;font-weight:600;letter-spacing:-.035em}
.auth-aside-lead{margin:18px 0 32px;font-size:18px;line-height:1.7;color:#70757b}
.auth-modules{list-style:none;margin:0;padding:0;display:grid;gap:12px}
.auth-modules li{display:flex;align-items:center;gap:16px;padding:14px 18px;border-radius:14px;background:var(--m-bg)}
.auth-modules .is-vocab{--m:#315b83;--m-bg:#e7edf2}
.auth-modules .is-speak{--m:#9a5532;--m-bg:#f3e9e1}
.auth-modules .is-read{--m:#3e6a4d;--m-bg:#e5eee6}
.auth-module-num{flex:none;display:grid;place-items:center;width:40px;height:40px;border-radius:11px;background:#fff;color:var(--m);font-weight:600;font-size:15px}
.auth-modules strong{display:block;font-size:16px;line-height:1.4}
.auth-modules span:not(.auth-module-num){display:block;font-size:14px;line-height:1.6;color:#5f656b}
.auth-steps{list-style:none;display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:24px 0 0;padding:0;counter-reset:s;font-size:14px;color:#5f656b}
.auth-steps li{counter-increment:s;display:inline-flex;align-items:center;gap:8px}
.auth-steps li::before{content:counter(s);display:inline-grid;place-items:center;width:22px;height:22px;border-radius:50%;background:#252729;color:#fff;font-size:12px;font-weight:600}
.auth-steps li+li::after{content:none}
.auth-steps li:not(:last-child)::after{content:"";width:18px;height:1px;background:#c9cdd2;margin-left:4px}
@media(max-width:900px){
 html body #auth-view.auth-view:not(.hidden){grid-template-columns:1fr;grid-template-areas:"card" "aside";gap:28px;max-width:480px;padding:0 0 24px}
 .auth-aside-title{font-size:30px}
 .auth-aside-title br{display:none}
 .auth-aside-lead{margin:10px 0 20px;font-size:15px}
}
@media(max-width:560px){
 html body #auth-view.auth-view .auth-card{padding:22px 18px 16px;border-radius:16px}
 .auth-aside-eyebrow,.auth-aside-title,.auth-aside-lead{display:none}
 .auth-modules li{padding:12px 14px}
 .auth-module-num{width:34px;height:34px;font-size:13px}
 .auth-steps{flex-direction:column;align-items:flex-start;gap:10px;font-size:14px}
 .auth-steps li:not(:last-child)::after{content:none}
}

/* 全站统一顶栏（2026-11-04）：词汇首页、登录/注册、学习计划页与学习中心、精读同一规格——60px 通栏，
   品牌靠左、四个板块居中、页面操作靠右。练习、结果与互动页仍用原来的专注顶栏（‹ 学习中心 · 设置）。 */
/* Cross-document transitions are optional; the authenticated book handoff can
   skip them and reject in Chromium. Keep navigation independent of animation. */
@view-transition{navigation:none}
html{scrollbar-gutter:stable}
html body .vocab-toolbar :is(.vocab-site-brand,.vocab-site-nav){display:none}
html body[data-view="home"] .vocab-toolbar{position:sticky;top:0;z-index:20;box-sizing:border-box;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:24px;width:100%;max-width:none;height:60px;min-height:0;margin:0;padding:0 max(24px,calc((100% - 1280px)/2));border-bottom:1px solid rgba(0,0,0,.07);background:rgba(248,248,246,.86);-webkit-backdrop-filter:saturate(180%) blur(18px);backdrop-filter:saturate(180%) blur(18px);view-transition-name:site-bar}
html body[data-view="home"] .vocab-toolbar :is(.vocab-back,.vocab-brand){display:none}
html body[data-view="home"] .vocab-toolbar .vocab-site-brand{grid-column:1;justify-self:start;display:inline-flex;align-items:center;gap:10px;min-height:44px;font-size:16px;font-weight:600;color:#252729;letter-spacing:0}
html body[data-view="home"] .vocab-toolbar .vocab-site-brand img{width:15.6px;height:22px}
html body[data-view="home"] .vocab-toolbar .vocab-site-nav{grid-column:2;justify-self:center;display:flex;align-items:stretch;gap:36px;height:60px}
html body[data-view="home"] .vocab-toolbar .vocab-site-nav a{position:relative;display:inline-flex;align-items:center;min-height:0;font-size:15px;font-weight:400;color:#70757b;transition:color .15s}
html body[data-view="home"] .vocab-toolbar .vocab-site-nav a:hover{color:#252729}
html body[data-view="home"] .vocab-toolbar .vocab-site-nav a[aria-current]{color:#252729;font-weight:600}
html body[data-view="home"] .vocab-toolbar .vocab-site-nav a[aria-current]::after{content:"";position:absolute;bottom:11px;left:calc(50% - 2.5px);width:5px;height:5px;border-radius:50%;background:#315b83}
html body[data-view="home"] .vocab-toolbar .vocab-toolbar-actions{grid-column:3;justify-self:end;gap:20px}
html body[data-view="home"] .vocab-toolbar :is(.vocab-books,#settings-button){font-size:15px;color:#70757b;min-height:44px}
html body[data-view="home"] .vocab-toolbar #settings-button{gap:8px;padding-left:20px}
html body[data-view="home"] .vocab-toolbar #settings-button img{width:18px;height:18px}
html body[data-view="home"] .vocab-toolbar :is(.vocab-books,#settings-button):hover{color:#252729}
html body:is([data-view="auth"],[data-view="onboarding"],[data-view="pacing"]) .platform-entry-header{box-sizing:border-box;height:60px;padding:0 max(24px,calc((100% - 1280px)/2));background:rgba(248,248,246,.86);border-bottom:1px solid rgba(0,0,0,.07);view-transition-name:site-bar}
html body .platform-entry-header>a{gap:10px;font-size:16px;font-weight:600;color:#252729}
html body .platform-entry-header .entry-mark{width:15.6px;height:22px}
::view-transition-old(root),::view-transition-new(root){animation-duration:.18s}
@media(max-width:700px){
 html body[data-view="home"] .vocab-toolbar{height:56px;padding:0 16px;grid-template-columns:auto 1fr auto;gap:12px}
 html body[data-view="home"] .vocab-toolbar .vocab-site-brand span,html body[data-view="home"] .vocab-toolbar #settings-button span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
 html body[data-view="home"] .vocab-toolbar .vocab-site-nav{position:absolute;left:50%;top:0;transform:translateX(-50%);height:56px;gap:clamp(16px,6vw,28px)}
 html body[data-view="home"] .vocab-toolbar .vocab-site-nav a{font-size:15px}
 html body[data-view="home"] .vocab-toolbar .vocab-site-nav a[aria-current]::after{bottom:9px;width:4px;height:4px;left:calc(50% - 2px)}
 html body[data-view="home"] .vocab-toolbar .vocab-books{display:none}
 html body[data-view="home"] .vocab-toolbar #settings-button{width:44px;padding:0;border-left:0;justify-content:center}
 html body[data-view="home"] .vocab-toolbar #settings-button img{width:22px;height:22px}
 html body:is([data-view="auth"],[data-view="onboarding"],[data-view="pacing"]) .platform-entry-header{height:56px;padding:0 16px}
}
@media(prefers-reduced-motion:reduce){@view-transition{navigation:none}}
html body[data-view="home"] .vocab-toolbar .vocab-site-nav{width:max-content}html body[data-view="home"] .vocab-toolbar .vocab-site-nav a{white-space:nowrap}
@media(max-width:700px){html body[data-view="home"] .vocab-toolbar #settings-button{width:44px!important;min-width:0!important;padding:0!important;gap:0!important;justify-content:center}}

/* Narrow phones: keep the centred nav clear of the account button. */
@media(max-width:380px){
 html body[data-view="home"] .vocab-toolbar .vocab-site-nav{left:auto;right:64px;transform:none;gap:10px}
 html body[data-view="home"] .vocab-toolbar .vocab-site-nav a{font-size:14px}
}
