/* Site typography contract: 网站字体规范.md. Loaded after component styles.
 * Important declarations intentionally override legacy component/media typography.
 * Component styles continue to own decoration and layout. */
:root {
 --font-family-ui:Arial,"Microsoft YaHei",sans-serif;
 --font-page-title:30px; --font-section-title:22px; --font-dialog-title:24px;
 --font-subheading:18px; --font-body:16px; --font-meaning:16px;
 --font-caption:14px; --font-feedback:14px; --font-nav:18px;
 --font-number:36px; --font-number-secondary:26px; --font-letter:38px;
 --ink:#102862; --muted:#587096; --blue:#245be8;
}
body{font-family:var(--font-family-ui)!important;font-size:var(--font-body)!important;line-height:1.7;color:var(--ink)}
button,input,select,textarea{font-family:var(--font-family-ui)!important;font-size:var(--font-body)!important;line-height:1.4!important}
button,a,input,select,textarea{font-variant-numeric:tabular-nums}
button:not(.close-dialog):not(.audio-review):not(.speak):not(.account-menu-arrow):not(.sidebar-ad-dot):not(.sidebar-ad-arrow):not(.sidebar-ad-pause),input:not([type=checkbox]):not([type=radio]):not([type=file]),select{min-height:40px}
label,.filter,.setting-line,.admin-field,.admin-exams,.admin-modal label,.admin-gate label,.auth-dialog form>label,#accountDialog form>label,#settingsDialog>.setting-line,.game-practice-controls label{font-size:var(--font-body)!important;line-height:1.6!important}
input::placeholder,textarea::placeholder,#accountDialog form input::placeholder{font-size:var(--font-body)!important;color:var(--muted)}
h1,.learning-panel h1,.admin-main h1,.admin-gate h1,.document h1{font-size:var(--font-page-title)!important;font-weight:700!important;line-height:1.35!important;letter-spacing:0!important}
h2,.admin-main h2,.learning-panel h2,.game-practice-entry h2,.challenge-section-heading>h2{font-size:var(--font-section-title)!important;font-weight:600!important;line-height:1.4!important;letter-spacing:0!important}
h3,.stats-view h3,.auth-dialog h3,#accountDialog h3,.memory-stage-heading,.review-dashboard .memory-stage-heading,.practice-tools strong{font-size:var(--font-subheading)!important;font-weight:600!important;line-height:1.5!important}
dialog>h2,#accountDialog>h2,#settingsDialog>h2{font-size:var(--font-dialog-title)!important;font-weight:700!important;line-height:1.4!important;margin:0 0 16px}
.spelling-card-header h2{font-size:var(--font-subheading)!important;line-height:1.5!important;font-weight:600!important}
p,.admin-info,.admin-lead,.admin-gate p,.account-profile-copy p,.game-practice-entry p,.game-rules,.challenge-rules p,.game-restart-confirm p,.review-explanation{font-size:var(--font-body)!important;line-height:1.7!important}
.subtitle,.muted,.admin-muted,.auth-note,.account-membership,.header-membership,.account-profile-copy .account-membership,
.admin-brand small,.admin-header>div,.account-entry small,.motivation-caption,.review-hint,.review-list-row small,.review-dashboard .review-list-row small,
.game-home-subtitle,.stats-view>h1+.muted,.review-dashboard>h1+.muted,.goal-caption,.goal-encouragement p,.week-target-note,.week-legend,.week-row,.week-bar-value,
.ring-label small,.ring-label .total-goal-count,.learning-metric span,.stats-metric>.metric-label,.review-metric-body span,.stat small,.nav-item b,
.game-eyebrow,.game-rank-detail,.game-clue-hint,.game-task .game-clue-hint,.game-input-help,.game-card .game-input-help,.challenge-feature small,.challenge-personal-metrics small,
.challenge-banner>span,.game-resume,.challenge-hero .game-resume,.challenge-rules,.game-card .game-live-stat small,
.admin-metrics .metric-label,.admin-metrics .metric-detail,.usage-chip span,.admin-exams legend,.admin-membership-settings legend,.admin-membership-info small,
.focus-review-count,.spelling-card-header .focus-review-count,footer,#syncStatus,.pagination,.admin-pagination,#resultCount{font-size:var(--font-caption)!important;font-weight:400!important;line-height:1.6!important;color:var(--muted)}
.muted,.admin-muted{color:var(--muted)!important}
.nav-item,.admin-nav button{font-size:var(--font-nav)!important;font-weight:600!important;line-height:1.5!important}
.nav-item.active,.admin-nav button.active{font-weight:700!important}
.account-entry .account-entry-copy>#syncStatus,.account-profile-copy strong{font-size:15px!important;font-weight:600!important;line-height:1.4!important}
.header-membership{font-size:14px!important;line-height:1.4!important}
button,.learning-panel button,.admin-page button,.select-trigger,.select-option,.page-size .select-trigger,.font-settings button,.page-size select,
.view-options .meaning-toggle,.settings-actions>button,.settings-actions>.import,.settings-actions>a,.learning-panel .game-skip,
.game-task .game-actions>.game-skip,.learning-panel .challenge-board-more,.learning-panel .challenge-start,#settingsDialog>.settings-actions>*,
.auth-dialog .account-link,.account-admin-link,#accountDialog .account-admin-link,.import,.hide,.font-settings,.page-size{font-size:var(--font-body)!important;line-height:1.4!important}
.game-feedback,.game-card .game-task>.game-feedback,.spelling-feedback,.account-error,.auth-dialog .account-error,#adminMessage{font-size:var(--font-feedback)!important;line-height:1.6!important}
.spelling-success{color:#287a58!important}.error,.game-error,.account-error,.spelling-feedback:not(.spelling-success){color:#b83b52}
.library td,.admin-main .admin-table,.admin-main .admin-table td{font-size:var(--font-body)!important;line-height:1.6!important}
th,.admin-main .admin-table th{font-size:14px!important;font-weight:600!important;line-height:1.5!important}
.admin-main .admin-table details,.admin-page pre{font-size:var(--font-body)!important;line-height:1.7!important}
.admin-table-wrap{overflow-x:auto}.admin-main .admin-table td{min-width:80px}.admin-table td button{white-space:normal}
/* Reader-selected sizes affect the vocabulary reading area only. */
body,body[data-font-size=standard]{--word-size:30px;--meaning-size:16px;--ipa-size:14px;--pos-size:14px;--form-size:14px;--state-size:14px}
body[data-font-size=small]{--word-size:24px;--meaning-size:14px;--ipa-size:14px;--pos-size:14px;--form-size:14px;--state-size:14px}
body[data-font-size=large]{--word-size:32px;--meaning-size:18px;--ipa-size:14px;--pos-size:14px;--form-size:14px;--state-size:14px}
body[data-font-size=extra]{--word-size:36px;--meaning-size:20px;--ipa-size:14px;--pos-size:14px;--form-size:14px;--state-size:14px}
.word{font-size:var(--word-size)!important;font-weight:600!important;line-height:1.3!important}
.meaning,.library .sense-row{font-size:var(--meaning-size)!important;line-height:1.65!important}
.pos,.pos-badge,.sense-row>.pos-badge,.library .sense-row>.pos-badge,.game-task-pos,.game-sense-row>.game-task-pos{font-size:14px!important;font-weight:400!important;line-height:1.5!important}
.phonetic,.focus-review-card .phonetic,.spelling-card .spelling-pronunciation .phonetic,.game-skip-pronunciation .phonetic{font-size:14px!important;line-height:1.5!important}
.review-word,.focus-word-line .review-word{font-size:28px!important;font-weight:600!important;line-height:1.3!important}
.spelling-card .spelling-meaning,.focus-review-card .review-answer,.game-sense-text,.game-meaning,.game-task .game-meaning{font-size:var(--font-meaning)!important;font-weight:400!important;line-height:1.65!important}
.letter-box,#learningPanel .spelling-card .letter-box,.game-task .game-letter,.game-input{font-size:var(--font-letter)!important;font-weight:600!important;line-height:1!important}
.sense-row{gap:10px!important}.spelling-card .spelling-meaning .sense-row{margin:8px 0!important}
.game-sense-row{gap:10px}.game-all-meanings{gap:8px}
.stat b,.learning-metric strong,.stats-metric>strong,.review-metric-body strong,.admin-metrics strong,.usage-title strong{font-size:var(--font-number)!important;font-weight:700!important;line-height:1.2!important;font-variant-numeric:tabular-nums}
.game-card .game-live-stat strong,.game-clock,.game-rank-score,.challenge-board-row .game-rank-score,.challenge-personal-metrics strong,.ring-label strong,.goal-heading .goal-percentage,.usage-chip strong{font-size:var(--font-number-secondary)!important;font-weight:600!important;line-height:1.25!important;font-variant-numeric:tabular-nums}
.challenge-board-row .game-rank-score{font-size:16px!important}.challenge-board-row>strong:not(.game-rank-score),.challenge-feature strong,.challenge-banner>strong,.usage-title,.admin-info,.motivation strong{font-size:16px!important;font-weight:600!important;line-height:1.7!important}
.game-rank,.challenge-board-row .game-rank{font-size:14px!important;line-height:1.6!important}
.game-result{font-size:var(--font-number)!important;line-height:1.25!important;font-weight:700!important;font-variant-numeric:tabular-nums}
.challenge-hero .challenge-headline{font-size:var(--font-page-title)!important;line-height:1.5!important;font-weight:700!important}.challenge-headline em{font-size:var(--font-number)!important}
/* Keep existing decorative Aa illustrations and symbolic close/arrow sizes. */
.close-dialog,.admin-page .admin-tip-close{font-size:24px!important;line-height:1!important}
.account-menu-arrow,.sidebar-ad-arrow{font-size:20px!important;line-height:1!important}
.stats-view>h1,.review-dashboard>h1,.game-home-heading>h1,.admin-main h1{position:relative;padding-left:17px!important;margin-bottom:8px}
.stats-view>h1:before,.review-dashboard>h1:before,.game-home-heading>h1:before,.admin-main h1:before{content:'';position:absolute;left:0;top:50%;bottom:auto;width:5px;height:28px;transform:translateY(-50%);border-radius:3px;background:#dce8ff}
/* Allow larger text to wrap without reducing readability. */
.challenge-personal-metrics>div{min-width:0}.challenge-personal-metrics small{white-space:normal}
.challenge-section-heading{flex-wrap:wrap}.challenge-board-row{min-height:48px}
.game-stat-copy{min-width:0}.game-card .game-live-stat strong{white-space:normal;overflow-wrap:anywhere}
.game-practice-entry{flex-wrap:wrap}.game-practice-controls{flex-wrap:wrap;max-width:100%}
.game-practice-controls label{min-width:0}.game-practice-controls select{width:100%}
#settingsDialog>.setting-line{row-gap:10px}dialog p{overflow-wrap:anywhere}dialog form{gap:16px}
.admin-field,.admin-modal label,.auth-dialog form>label{line-height:1.6!important}
.week-bar-value{min-width:24px}.week-row{min-height:38px}.ring-label{max-width:90%;text-align:center}
@media(max-width:650px){
 :root{--font-page-title:26px;--font-section-title:20px;--font-dialog-title:22px;--font-nav:16px;--font-number:30px;--font-number-secondary:24px;--font-letter:32px}
 input:not([type=checkbox]):not([type=radio]):not(.letter-box):not(.game-letter),select,textarea{font-size:16px!important}
 button:not(.close-dialog):not(.audio-review):not(.speak):not(.account-menu-arrow):not(.sidebar-ad-dot):not(.sidebar-ad-arrow):not(.sidebar-ad-pause){min-height:44px}
 #learningPanel .spelling-card .letter-box,.game-task .game-letter{font-size:var(--font-letter)!important}
 .stats-view>h1:before,.review-dashboard>h1:before,.game-home-heading>h1:before,.admin-main h1:before{height:20px}
 .week-rows{overflow-x:auto}.week-row{grid-template-columns:86px 38px minmax(80px,1fr) minmax(80px,1fr);overflow-wrap:anywhere}.week-row>.week-bars{grid-column:1/-1}
 .challenge-personal-metrics strong{font-size:20px!important}.game-task .game-actions{flex-wrap:wrap}.game-task .game-actions>button{white-space:normal}
}

.hero-card b,.admin-nav-art>strong,.motivation strong{font-size:var(--font-subheading)!important;line-height:1.5!important;font-weight:600!important}
.review-dashboard .review-list-row strong{font-size:16px!important;font-weight:600!important;line-height:1.5!important}
/* Real grid rows keep feedback and actions separate; no relative offsets. */
#learningPanel .spelling-card{height:auto;max-height:none;min-height:430px;padding:26px 30px 32px;grid-template-rows:28px 76px 32px minmax(80px,auto) minmax(28px,auto) 44px;gap:14px}
#learningPanel .spelling-card.spelling-two-lines{height:auto;max-height:none;min-height:510px;grid-template-rows:28px 158px 32px minmax(80px,auto) minmax(28px,auto) 44px}
#learningPanel .spelling-card>.spelling-boxes,#learningPanel .spelling-card>.spelling-pronunciation,#learningPanel .spelling-card>.spelling-meaning{top:0;transform:none}
#learningPanel .spelling-card .spelling-meaning{max-height:none;overflow:visible;align-self:center}
#learningPanel .spelling-card .spelling-feedback{position:static;top:auto;align-self:center;min-height:28px;margin:0;line-height:1.6!important}
#learningPanel .spelling-card .spelling-actions{margin:0;align-self:stretch;display:flex;align-items:center;justify-content:center;gap:12px}
#learningPanel .spelling-card .spelling-actions button{height:44px;min-height:44px}
@media(max-width:650px){
 #learningPanel .spelling-card{padding:22px 18px 28px}
 #learningPanel .spelling-card.spelling-mobile-two-lines{height:auto;max-height:none;min-height:490px;grid-template-rows:28px 134px 32px minmax(80px,auto) minmax(28px,auto) 44px}
 .challenge-section-heading>h2{white-space:normal}
 .game-card .game-status{grid-template-columns:repeat(2,minmax(0,1fr))}
}

.admin-main h2{margin-bottom:12px}.admin-modal label,.auth-dialog form>label{gap:8px}.admin-main .admin-field{margin-bottom:16px}.document p{margin-bottom:12px}.learning-panel>h1+.muted{margin-top:6px;margin-bottom:24px}

/* Progress labels and dates are actual information, not fine print. */
.stats-metric>.metric-label,.review-metric-body span,.learning-metric span{font-size:15px!important;line-height:1.6!important;color:#526a92}
.stats-view .goal-caption,.goal-encouragement p,.week-target-note{font-size:14px!important;line-height:1.7!important;color:#526a92}
.week-row{font-size:14px!important;line-height:1.6!important;min-height:44px;grid-template-columns:102px 48px 112px 112px minmax(160px,1fr);gap:12px}
.week-row>.week-bars{grid-column:5}.week-bar-value{font-size:14px!important;min-width:32px;width:32px;line-height:1.2!important}.week-bar-row{min-height:17px}
.week-legend{font-size:14px!important}.ring-label small,.ring-label .total-goal-count{font-size:13px!important}
.stats-view h3{font-size:20px!important}.nav-item .icon{width:24px;height:24px}.nav-item{min-height:58px}
@media(max-width:1000px){.week-row{grid-template-columns:96px 42px minmax(88px,1fr) minmax(88px,1fr)}.week-row>.week-bars{grid-column:1/-1}}
@media(max-width:650px){.stats-metric>.metric-label{font-size:14px!important}.week-row{grid-template-columns:94px 38px minmax(76px,1fr) minmax(76px,1fr);gap:8px}.week-row>.week-bars{grid-column:1/-1}}

.goal-circle{display:flex;justify-content:center;align-items:center;gap:16px;height:auto;min-height:132px;flex-wrap:wrap;padding:0 16px}.goal-ring-visual{position:relative;width:128px;height:128px;flex:0 0 128px}.goal-ring-visual .goal-ring{width:100%;height:100%}.goal-ring-visual .ring-label{inset:0;max-width:none;gap:0}.goal-ring-copy{display:flex;flex-direction:column;gap:4px;text-align:left}.goal-ring-title{font-size:14px!important;color:var(--muted);line-height:1.6}.goal-ring-copy .total-goal-count{font-size:30px!important;font-weight:700;line-height:1.15;color:var(--ink);font-variant-numeric:tabular-nums;white-space:nowrap}@media(max-width:650px){.goal-circle{gap:12px}.goal-ring-visual{width:108px;height:108px;flex-basis:108px}}

/* Three learning views share the same heading geometry. */
.stats-view>h1,.review-dashboard>h1,.game-home-heading>h1{font-size:26px!important;font-weight:700!important;line-height:1.35!important;color:#102862;letter-spacing:0!important;padding:0 0 0 17px!important;margin:0 0 24px!important}
.game-home-heading{margin:0!important;padding:0!important;align-items:flex-start}.game-home-heading>h1{flex:1}
.stats-view>h1:before,.review-dashboard>h1:before,.game-home-heading>h1:before{width:5px;height:24px;left:0;top:50%;bottom:auto;border-radius:3px;transform:translateY(-50%)}
.review-dashboard>h1:before{background:#a58afa}.game-home-heading>h1:before{background:#6c9dff}.stats-view>h1:before{background:#58bf99}
@media(max-width:650px){.stats-view>h1,.review-dashboard>h1,.game-home-heading>h1{font-size:24px!important;margin-bottom:20px!important}.stats-view>h1:before,.review-dashboard>h1:before,.game-home-heading>h1:before{height:22px}}

/* Main vocabulary category/status filters. */
.filter{font-size:18px!important;gap:12px;flex-wrap:wrap}.filter>span{font-weight:600}.filter .select-trigger,.filter .select-option,.filter select{font-size:18px!important;line-height:1.5!important}.filter .select-trigger{min-height:48px;padding:10px 15px}.filter .custom-select{min-width:155px;max-width:100%}@media(max-width:650px){.filter,.filter .select-trigger,.filter .select-option,.filter select{font-size:16px!important}.filter{gap:8px}.filter .custom-select{min-width:135px}.filter .select-trigger{min-height:44px}}

/* Challenge/practice clue emphasis, separate from vocabulary table sizes. */
.game-task .game-sense-text{font-size:18px!important;line-height:1.65!important}.game-task .game-sense-row>.game-task-pos{font-size:16px!important;line-height:1.5!important}

/* One-line words keep a compact stable card; only wrapped letters add height. */
.game-card>.game-task{--game-letter-row:78px;display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:var(--game-letter-row) 32px 112px 28px 44px;gap:8px;align-items:center;justify-items:center;padding:44px 28px;min-height:0;height:calc(var(--game-letter-row) + 336px);box-sizing:border-box}
.game-card>.game-task-two-lines{--game-letter-row:158px}
.game-card .game-task>.game-letter-grid{grid-row:1;top:0;min-height:0;height:var(--game-letter-row);max-height:var(--game-letter-row);margin:0;align-content:center;overflow:auto}
.game-card .game-task>.game-skip-pronunciation{grid-row:2;top:0;width:100%;height:32px;min-height:32px;margin:0}
.game-card .game-task>.game-clue{grid-row:3;top:0;min-height:0;height:112px;max-height:112px;margin:0;padding:0 12px;overflow:auto;justify-content:flex-start;align-self:stretch;gap:8px}
.game-card .game-task>.game-feedback{grid-row:4;top:0;min-height:28px;height:28px;max-height:28px;overflow:auto;margin:0;align-self:stretch;display:flex;align-items:center;justify-content:center;width:100%;overflow-wrap:anywhere}
.game-card .game-task>.game-actions{grid-row:5;margin:0;height:44px;min-height:44px;align-self:stretch;align-items:center;flex-wrap:nowrap}
.game-card .game-task>.game-actions>button{height:44px;min-height:44px;margin:0}
.game-task>.game-task-decoration{grid-area:auto;position:absolute;inset:0;width:auto;height:auto;border-radius:0 0 25px 25px}
@container gameTask (max-width:960px){.game-card>.game-task-mobile-two-lines{--game-letter-row:158px}.game-card .game-task>.game-letter-grid.game-task-mobile-long{display:grid;grid-template-columns:repeat(var(--task-columns),minmax(0,62px));justify-content:center}.game-task .game-task-mobile-long .game-letter{width:100%;min-width:0}}
@container gameTask (max-width:740px){.game-card>.game-task{--game-letter-row:70px}.game-card>.game-task-mobile-two-lines{--game-letter-row:134px}}
@media(max-width:650px){.game-card>.game-task{--game-letter-row:70px;padding:44px 13px}.game-card>.game-task-mobile-two-lines{--game-letter-row:134px}}

@container gameTask (max-width:520px){.game-card>.game-task-small-two-lines{--game-letter-row:134px}.game-card .game-task>.game-letter-grid.game-task-small-long{display:grid;grid-template-columns:repeat(var(--task-columns),minmax(0,43px));justify-content:center}.game-task .game-task-small-long .game-letter{width:100%;min-width:0}}

/* Memory review spelling only: feedback above letters, compact rhythm. */
#learningPanel.review-focus .spelling-card{grid-template-rows:28px minmax(24px,auto) 76px 32px minmax(104px,auto) 44px;gap:12px;padding:32px 30px 40px;min-height:440px}
#learningPanel.review-focus .spelling-card.spelling-two-lines{grid-template-rows:28px minmax(24px,auto) 158px 32px minmax(104px,auto) 44px;min-height:522px}
#learningPanel.review-focus .spelling-card>.spelling-card-header{grid-row:1}
#learningPanel.review-focus .spelling-card>.spelling-feedback{grid-row:2;position:static;margin:0;min-height:24px;align-self:center;text-align:center}
#learningPanel.review-focus .spelling-card>.spelling-boxes{grid-row:3;margin:0}
#learningPanel.review-focus .spelling-card>.spelling-pronunciation{grid-row:4;margin:0}
#learningPanel.review-focus .spelling-card>.spelling-meaning{grid-row:5;align-self:center;margin:0 auto}
#learningPanel.review-focus .spelling-card>.spelling-actions{grid-row:6;margin:0;align-self:center}
@media(max-width:650px){#learningPanel.review-focus .spelling-card{padding:30px 18px 38px}#learningPanel.review-focus .spelling-card.spelling-mobile-two-lines{grid-template-rows:28px minmax(24px,auto) 134px 32px minmax(104px,auto) 44px;min-height:518px}}

/* Center the meaning group in the space between letters and actions. */
#learningPanel.review-focus .spelling-card>.spelling-meaning{align-self:center;justify-self:center;margin:0 auto;transform:translateY(-16px);text-align:left}

.challenge-hero .challenge-feature{display:flex;flex-direction:row;align-items:center;gap:8px}.challenge-hero .challenge-feature>.game-lobby-icon{margin:0;flex-shrink:0;width:22px;height:22px;padding:5px;border-radius:10px}.challenge-hero .challenge-feature>strong{margin:0;white-space:nowrap;font-size:var(--font-caption)!important;line-height:1.5!important}.challenge-hero .challenge-features{display:flex;row-gap:12px;column-gap:18px;flex-wrap:wrap}@media(max-width:650px){.challenge-hero .challenge-features{column-gap:12px}}

.learning-panel .challenge-start{min-width:180px;min-height:50px;padding:13px 30px;border-radius:26px;background:#678efa;font-size:17px!important;font-weight:600;box-shadow:0 6px 16px #536dec30}.learning-panel .challenge-start:hover{background:#587fe9}

.learning-panel .challenge-start{color:#b9e03d}.learning-panel .game-practice-controls>.primary{background:#b9e03d;border-color:#b9e03d;color:#294510;font-weight:600}.learning-panel .game-practice-controls>.primary:hover{background:#acd330;border-color:#acd330}

.account-profile-copy .account-membership{white-space:pre-line}

/* Learning sidebar: lighter weight, retain selected emphasis. */
.sidebar .nav-item,.sidebar .nav-item>span{font-family:var(--font-family-ui)!important;font-size:var(--font-nav)!important;font-weight:600!important;line-height:1.5!important;letter-spacing:0!important}.sidebar .nav-item.active{font-weight:600!important}

.challenge-rules summary{display:inline-flex;align-items:center;gap:7px;line-height:1.5;list-style:none}.challenge-rules summary::-webkit-details-marker{display:none}.challenge-rule-help{display:inline-flex;align-items:center;justify-content:center;width:16px;height:16px;flex:0 0 16px;border:1px solid currentColor;border-radius:50%;font-family:Arial,sans-serif;font-size:11px;line-height:1;font-weight:600}

/* Start challenge button, matching the supplied blue-to-green reference. */
.learning-panel .challenge-start{min-width:190px;min-height:50px;padding:11px 26px;border:0;border-radius:999px;background:linear-gradient(105deg,#078fff 0%,#16b7ed 44%,#a1d77f 100%);color:#fff;font-size:18px!important;font-weight:600;line-height:1.4!important;box-shadow:0 5px 14px #409de91c}.learning-panel .challenge-start:hover{background:linear-gradient(105deg,#0085f5 0%,#0faee5 44%,#96cf74 100%)}

.learning-panel .challenge-hero{padding-top:18px;padding-bottom:18px;min-height:320px}@media(max-width:650px){.learning-panel .challenge-hero{padding-top:16px;padding-bottom:16px;min-height:310px}}

.game-practice-controls .custom-select{min-width:180px;max-width:100%}.game-practice-controls .select-trigger{min-height:44px;border-radius:12px;border:1px solid #dce6ff;background:#fff;color:#31558a;padding:10px 14px;box-shadow:0 3px 10px #738fda0d}.game-practice-controls .select-trigger.open{border-color:#9bb9ff;background:#f7faff}#practiceScene-listbox{border:1px solid #dfe8ff;border-radius:14px;padding:6px;background:#fff;box-shadow:0 12px 32px #3657a52b;scrollbar-width:thin;scrollbar-color:#c2d2f4 #f5f8ff}#practiceScene-listbox .select-option{border-radius:9px;min-height:40px;padding:9px 12px;text-align:left}#practiceScene-listbox .select-option[aria-selected=true]{background:#eaf1ff;color:#245be8;font-weight:600}#practiceScene-listbox .select-option:hover,#practiceScene-listbox .select-option.focused{background:#f1f5ff;color:#245be8}

/* Compact POS badges across the word list and spelling cards. */
.pos-badge,.sense-row>.pos-badge,.spelling-meaning .pos-badge,.game-task-pos,.game-sense-row>.game-task-pos{display:inline-flex;align-items:center;justify-content:center;padding:1px 8px!important;min-height:0;height:auto;line-height:1.35!important;box-sizing:border-box}

.library .bookmark-word{font-size:14px!important;line-height:1.5!important}
.stats-week-composition .week-new-text,.stats-week-composition .week-review-text{font-size:var(--font-caption)!important;line-height:1.5!important}.stats-week-composition .week-new-text b,.stats-week-composition .week-review-text b{font-weight:600}
.admin-metrics .metric-blue .metric-copy>strong{color:#2468ff}
.admin-metrics .metric-green .metric-copy>strong{color:#18bf80}
.admin-metrics .metric-purple .metric-copy>strong{color:#8055ff}
.admin-metrics .metric-pink .metric-copy>strong{color:#ff518c}
.view-options .font-settings,.view-options .font-settings button,.view-options .page-size,.view-options .page-size .select-trigger,.view-options .meaning-toggle{font-size:15px!important;line-height:1.4!important}
.view-options .font-settings button,.view-options .page-size .select-trigger,.view-options .meaning-toggle{min-height:38px!important}
.goal-ring-copy .goal-count-learned{color:#18bf80;font-size:36px!important}.goal-ring-copy .goal-count-divider{color:#8895ab}

@media(max-width:650px){.goal-ring-copy .total-goal-count{font-size:24px!important}.goal-ring-copy .goal-count-learned{font-size:30px!important}}
.challenge-personal-metrics>div:nth-child(1)>strong{color:#5385f5}
.challenge-personal-metrics>div:nth-child(2)>strong{color:#32b89b}
.challenge-personal-metrics>div:nth-child(3)>strong{color:#9a73ee}
.site-notices .notice-content{font-size:var(--font-caption)!important;line-height:28px!important}

.account-avatar-editor #avatarStatus{font-size:var(--font-caption)!important;line-height:1.6!important}
.admin-page .admin-table .admin-user-actions button{font-size:var(--font-caption)!important;line-height:1.4!important;min-height:32px!important}
@media(pointer:coarse){.admin-page .admin-table .admin-user-actions button{min-height:44px!important}}

/* Honor co-creator identity uses the site's blue and lime brand colors. */
.honor-member-name,#accountName.honor-member-name,.account-entry .account-entry-copy>#syncStatus.honor-member-name{font-weight:700;background:linear-gradient(105deg,#3465ff 0%,#4288f5 35%,#b4df30 100%);background-clip:text;-webkit-background-clip:text;color:transparent;-webkit-text-fill-color:transparent}

.admin-page .admin-user-name>.premium-member-name{font-weight:700;background:linear-gradient(105deg,#3189ed,#8161df 52%,#bf65cb);background-clip:text;-webkit-background-clip:text;color:transparent;-webkit-text-fill-color:transparent}


.admin-user-actions-trigger{font-size:var(--font-caption)!important;font-weight:600;line-height:1.4!important}

.metric-copy .metric-audio-breakdown{font-size:var(--font-caption)!important;line-height:1.6!important;font-weight:400}
