/* One clear focal point per round. Secondary detail is available on demand. */
.game-header{height:76px;padding:0 32px;gap:20px;background:var(--paper)}
.game-header-title{font-size:16px;line-height:1.4}.game-header-title small{font-size:12px}
.game-tools{gap:8px}.game-tools .icon-btn{width:44px;height:44px;border:0;box-shadow:none;background:transparent}
.word-voice-tool{position:relative}.tool-state{width:5px;height:5px;background:#6c914b;border-radius:50%;position:absolute;right:9px;bottom:8px}.word-voice-tool[aria-checked=false] .tool-state{background:#a7aea1}
.game-shell{padding:18px 32px 12px;min-height:calc(100dvh - 76px)}
.game-shell .game-topline{display:flex;align-items:center;gap:24px;flex-wrap:wrap}
.game-mode-label{display:flex;align-items:center;gap:12px}.game-mode-label>.icon{display:none}
.player-options{display:flex;align-items:center;gap:14px;margin-left:auto}
.helper-picker{display:flex;align-items:center;gap:6px;min-width:0}.helper-picker>.icon{color:#5c6c51}
.helper-picker .select-trigger{max-width:240px;min-height:42px;padding:8px 9px;font-size:14px;background:transparent;border:0;box-shadow:none}.helper-picker .select-label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.game-shell .game-stats{gap:24px;margin-left:auto}.game-shell .game-stats span{display:flex;gap:6px;align-items:baseline;font-size:12px;color:#68745e}.game-shell .game-stats b{font-size:17px;font-weight:600}
.metrics-popover{position:relative;font-size:13px}.metrics-popover summary{cursor:pointer;list-style:none;padding:10px}.metrics-popover summary::after{content:' ↗';color:#839377}.metrics-popover>div{position:absolute;right:0;top:45px;z-index:5;display:flex;gap:22px;padding:18px;background:white;border-radius:16px;box-shadow:0 4px 16px #17342016;white-space:nowrap}.metrics-popover:not([open])>div{display:none}
.lesson-progress{display:flex;align-items:center;gap:16px;margin-top:18px}.lesson-progress .progress-track{flex:1;margin:0;height:5px;border-radius:6px;background:#e4e9dc}.lesson-progress>span{font-size:12px;color:#58664d;font-variant-numeric:tabular-nums}.progress-track i{background:#8ca963}
.helper-subtitle{width:100%;max-width:1000px;margin:0 auto 18px;font-size:clamp(20px,2.2vw,29px);line-height:1.65;font-weight:400;color:#626d58;letter-spacing:0;text-align:center;text-wrap:balance;flex-shrink:0;font-family:var(--body),"Noto Sans CJK SC","Yu Gothic","Malgun Gothic",sans-serif}
.helper-subtitle[dir=rtl]{font-size:28px}.translation-prompt{font-size:clamp(30px,3.8vw,52px);color:#34462a;max-width:1050px;margin-bottom:36px}.translation-missing{font-size:14px;color:#7c6250;margin:0 0 18px;text-align:center}
.game-stage>.target-text:empty{display:none}.game-shell .game-stage .target-text{max-width:1200px;font-size:clamp(38px,4.4vw,62px);line-height:1.4;text-wrap:balance;margin-bottom:30px}
.game-shell .word-slots{gap:18px 25px}.game-shell .game-actions{justify-content:center;gap:40px;color:#657258;padding-top:18px}.game-shell .game-actions button{font-size:13px;min-height:44px}
.game-stage>.helper-subtitle{margin-top:auto}.game-stage:has(.helper-subtitle)>.target-text{margin-top:0!important}.game-stage>.helper-subtitle:has(+.listening-stage){margin-top:0}
.story-game .game-stage>.helper-subtitle,.story-game .game-stage>.translation-missing{grid-column:2;grid-row:1;margin:0 0 14px;align-self:end}
.story-game .game-stage>.target-text{grid-row:2}.story-game .game-stage>.listening-stage{grid-row:2}.story-game .game-stage>.typing-box{grid-row:3}.story-game .game-stage>.recall-ready{grid-row:3}
.learning-review{width:min(100%,1000px)}.learning-review>.helper-subtitle{font-size:23px;margin-bottom:28px}.phrase-review{background:transparent;border:0;border-radius:0;padding:24px 32px 18px}.phrase-label{position:static;transform:none;display:table;margin:0 auto 24px;padding:6px 13px;background:#f5e4ea;color:#904c65;font-size:12px}.review-tokens{gap:32px}.review-word strong{font-size:clamp(46px,5vw,66px);line-height:1.1}.word-ipa{font-size:17px;color:#788171}.word-role{font-size:13px;color:#65715c}.review-sentence{font-size:21px;line-height:1.5}.review-explanation{color:#66735b;font-size:17px;line-height:1.6;max-width:780px;margin-inline:auto}.review-tools{gap:22px}.review-tools button{font-size:14px;min-height:44px}.review-countdown{max-width:420px}.review-countdown-label{font-size:13px}.review-next{gap:18px}
.home-main .hero-game-top{gap:14px;flex-wrap:wrap}.home-main .hero-live-stats{gap:20px;margin-left:auto}.home-main .hero-live-stats>span:first-child,.home-main .hero-live-stats>.combo-stat{display:none}.home-main .hero-game-tools{margin-left:0}.home-main .hero-game-stage .helper-subtitle{margin-top:auto}.home-main .hero-game-stage:has(.helper-subtitle) .target-text{margin-top:0}.home-main .hero-game-stage.reviewing .helper-subtitle{margin-top:0}
.language-settings-note{font-size:14px!important;margin-top:12px;line-height:1.6}.lesson-language{display:flex;gap:16px;align-items:center;font-size:17px;padding:10px 0}.setup-panel>.helper-picker{margin-block:18px}.modal-content .helper-picker{padding:8px 0}.modal-content .helper-picker .select-trigger{max-width:none;font-size:16px}.modal-content .setup-field{margin-top:22px}
.explore-game .game-stage{justify-content:center;gap:20px;padding:36px 0 24px;flex:1}.explore-game .game-stage>.helper-subtitle{margin-top:0}.reading-prompt{font:500 clamp(34px,4.2vw,58px)/1.5 var(--display);text-align:center;width:min(1050px,100%);text-wrap:balance;margin:0 auto;letter-spacing:-1px}.reading-word{font:inherit;display:inline;border-radius:8px;padding:0 2px;border-bottom:2px solid transparent;transition:background-color 100ms,color 100ms}.reading-word:hover,.reading-word:focus-visible{background:#eaf0df;border-color:#88a267}.reading-tools{display:flex;justify-content:center}
.meaning-check{width:min(760px,100%);margin:16px auto 0;text-align:center}.meaning-check h2{font-size:17px;letter-spacing:0;font-weight:500;margin-bottom:16px;color:#66705e}.meaning-options{display:grid;gap:10px}.meaning-option{background:#fff;border-radius:16px;border:1px solid #e2e8dc;padding:17px 24px;font-size:17px;line-height:1.5;text-align:left;min-height:58px;transition:background-color 120ms,border-color 120ms}.meaning-option:hover{border-color:#a4b889;background:#f1f5e9}.meaning-option.choice-error{border-color:#daacb6;background:#fae9ed;color:#934c60}.meaning-check p{min-height:24px;font-size:15px;color:#934c60;margin-top:10px}
.word-peek{position:relative;background:white;padding:24px;border-radius:20px;box-shadow:0 5px 25px #17342012;width:min(520px,100%);text-align:left}.word-peek .icon-btn{position:absolute;right:10px;top:10px}.word-peek strong{font-size:25px;display:block}.word-peek span{display:block;font-size:14px;color:#7a856e;margin-top:5px}.word-peek p{font-size:16px;line-height:1.6;margin:12px 0}.word-peek[hidden]{display:none}
.listen-stages{display:flex;gap:5px;justify-content:center;padding:5px;background:#f0f2e9;border-radius:16px}.listen-stages button{font-size:15px;padding:11px 20px;border-radius:12px;min-height:44px;color:#6e7564}.listen-stages button.selected{background:white;color:#334a2b;box-shadow:0 2px 7px #17342009}.explore-game.mode-listening .speech-player{background:#faebed;border:0;border-radius:28px;padding:24px;gap:24px}.explore-game.mode-listening .listening-stage{margin-bottom:0}
.speaking-controls{display:flex;gap:16px;justify-content:center;flex-wrap:wrap}.record-status{font-size:16px;color:#627356;text-align:center}.record-privacy{font-size:13px;color:#7b836f}.self-review{text-align:center}.self-review p{margin-bottom:14px}.self-review .btn{margin:6px}#recording-playback{width:min(520px,100%)}
.lesson-video{position:relative;width:min(900px,100%);aspect-ratio:16/9;border-radius:24px;overflow:hidden;background:#edf1e5}.lesson-video video{display:block;width:100%;height:100%;object-fit:cover}.video-play{position:absolute;inset:0;display:grid;place-items:center;background:#23391812}.video-play[hidden]{display:none}.video-play .icon{background:#ffffffee;box-shadow:0 3px 18px #1734201a;width:70px;height:70px;border-radius:50%;padding:20px;color:#3d5830}.video-caption{position:absolute;bottom:20px;left:24px;right:24px;padding:14px 20px;text-align:center;background:#fffffff2;border-radius:14px;font-size:26px;line-height:1.4;color:#2f4428}.video-controls{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:20px;font-size:14px}.video-controls button{min-height:44px;display:flex;align-items:center;gap:7px}.video-controls button[aria-pressed=true]{color:#a05670}.video-controls .select-trigger{font-size:14px}.video-controls #video-time{font-variant-numeric:tabular-nums}
.self-check{text-align:center;max-width:600px;font-size:16px;line-height:1.6}.self-check .btn{margin-top:18px}.game-card .mode-icon-art{display:grid;place-items:center;width:90px;height:90px;background:#ffffff80;border-radius:26px;transform:rotate(-6deg)}.mode-icon-art>.icon{width:44px;height:44px;stroke-width:1.5}
@media(max-width:1000px){.game-shell .game-topline{gap:12px}.game-shell .game-stats{gap:15px}.player-options{gap:4px}.helper-picker .select-trigger{max-width:185px;font-size:13px}.home-main .hero-live-stats{margin-left:0}.game-header-title{font-size:14px}}
@media(max-width:760px){
 .game-header{height:68px;padding:0 16px;gap:12px}.game-header-title{font-size:12px;max-width:36%}.game-header-title small{font-size:10px}.game-tools{gap:0}.game-tools .icon-btn{width:36px;height:44px}.game-header .logo{display:none}
 .game-shell{padding:16px 20px 12px;min-height:calc(100dvh - 68px)}.game-shell .game-topline{display:grid;grid-template-columns:1fr auto;gap:10px}.game-mode-label{gap:8px}.player-options{grid-column:1;grid-row:2;margin-left:0}.game-shell .game-stats{grid-column:2;grid-row:1/3;gap:13px;width:auto;justify-content:flex-end;margin-left:0;align-self:center}.game-shell .game-stats span:not(.sentence-stat){font-size:10px;gap:3px;flex-direction:column;align-items:center}.game-shell .game-stats b{font-size:16px;order:0}.helper-picker>.icon{width:15px}.helper-picker .select-trigger{max-width:165px;font-size:12px;min-height:36px}.metrics-popover summary{padding:8px;font-size:12px}.game-shell .game-mode-select .select-trigger{max-width:165px;font-size:14px;padding:7px 6px}.game-shell .game-difficulty-select .select-trigger{min-height:36px;font-size:12px;padding:6px 8px}
 .lesson-progress{margin-top:10px;gap:10px}.lesson-progress>span{font-size:11px}.game-shell .game-stage .target-text{font-size:36px;line-height:1.45;margin-bottom:26px}.helper-subtitle{font-size:22px;margin-bottom:18px;line-height:1.6}.helper-subtitle[dir=rtl]{font-size:25px}.translation-prompt{font-size:30px}.game-shell .game-actions{gap:20px}.game-shell .game-actions button{font-size:12px;padding:8px 4px}
 .home-main .hero-game-top{gap:9px}.home-main .hero-live-stats{gap:15px;flex-basis:auto;order:0}.home-main .hero-game-top>.helper-picker{order:2;flex:1}.home-main .hero-game-tools{order:2;flex:0;gap:4px}.home-main .hero-game-stage .helper-subtitle{font-size:21px}.hero-voice .voice-label{font-size:11px}
 .learning-review>.helper-subtitle{font-size:21px;margin-bottom:20px}.phrase-review{padding:12px 8px}.phrase-label{margin-bottom:18px}.review-tokens{gap:24px}.review-word strong{font-size:45px}.word-ipa{font-size:15px}.review-sentence{font-size:19px}.review-explanation{font-size:16px}.review-tools{gap:8px;flex-wrap:wrap}.review-tools button{font-size:13px;padding-inline:8px}.review-countdown{width:100%}.review-next{gap:10px}
 .explore-game .game-stage{padding:28px 0;gap:16px}.reading-prompt{font-size:34px;line-height:1.55}.meaning-option{font-size:16px;padding:14px 18px;border-radius:14px}.listen-stages{width:100%}.listen-stages button{font-size:13px;padding:10px 12px;flex:1}.speaking-controls .btn{font-size:15px;padding:14px 18px}.record-status{font-size:15px}.record-privacy{font-size:12px;text-align:center}.lesson-video{border-radius:18px}.video-caption{font-size:19px;bottom:10px;left:12px;right:12px;padding:10px}.video-controls{gap:12px;font-size:13px}.video-play .icon{width:54px;height:54px;padding:16px}
}
@media(prefers-reduced-motion:reduce){.reading-word,.meaning-option{transition:none}}.less-motion .reading-word,.less-motion .meaning-option{transition:none}

@media(min-width:761px){
 .mode-video:not(.reviewing) .game-stage{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);column-gap:36px;align-content:center;align-items:center;width:min(1200px,100%);margin-inline:auto}
 .mode-video:not(.reviewing) .game-stage>.helper-subtitle,.mode-video:not(.reviewing) .game-stage>.translation-missing{grid-column:1/-1;margin-bottom:8px}
 .mode-video .lesson-video{grid-column:1;grid-row:2}.mode-video .video-controls{grid-column:1;grid-row:3}.mode-video #video-feedback{grid-column:1;grid-row:4;font-size:14px;text-align:center;color:#69765b}.mode-video .meaning-check{grid-column:2;grid-row:2/4;margin:0;align-self:center}
}

.helper-picker .select-value{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}
.game-stage:not(:has(.keyboard-guide:not([hidden])))>.helper-subtitle{margin-top:0}
#video-feedback:empty{display:none}
@media(max-width:760px){
 .game-shell .game-topline{grid-template-columns:minmax(0,1fr) auto}
 .game-shell .game-mode-label{grid-column:1/-1;grid-row:1}
 .game-shell .game-stats{grid-row:2;grid-column:2}
 .game-shell .player-options{grid-row:2;grid-column:1;width:100%;min-width:0}
 .game-shell .helper-picker{flex:1;min-width:0}.game-shell .helper-picker .app-select{flex:1;min-width:0}.game-shell .helper-picker .select-trigger{min-width:0}
}

@media(min-width:761px) and (max-height:800px){
 .game-shell:not(.reviewing).mode-copy{padding-bottom:6px}
 .game-shell:not(.reviewing).mode-copy .game-stage{padding-bottom:0}
 .game-shell:not(.reviewing).mode-copy .game-stage>.target-text{margin-bottom:20px}
 .game-shell:not(.reviewing).mode-copy .helper-subtitle{margin-bottom:12px}
 .game-shell:not(.reviewing).mode-copy .keyboard-guide{padding-top:12px}
 .game-shell:not(.reviewing).mode-copy .keyboard-guide .guide-key{height:30px}
 .game-shell:not(.reviewing).mode-copy .game-actions{min-height:48px;height:48px;padding:0}
 .home-main .hero-game-stage:not(.reviewing) .keyboard-guide{padding-top:12px}
 .home-main .hero-game-stage:not(.reviewing) .guide-key{height:30px}
}

@media(min-width:761px) and (max-height:800px){
 .game-shell:not(.reviewing).mode-copy .helper-subtitle{margin-bottom:11px}
 .game-shell:not(.reviewing).mode-copy .game-stage>.target-text{margin-bottom:18px}
 .game-shell:not(.reviewing).mode-copy .keyboard-guide{padding-top:10px}
 .game-shell:not(.reviewing).mode-copy .game-actions{min-height:44px;height:44px}
}
.level-upcoming{display:flex;align-items:center;gap:18px;padding:22px 18px;border:1px dashed var(--line,#dae2d1);border-radius:16px;color:var(--muted,#78836e)}
.level-upcoming strong,.level-upcoming small{display:block}.level-upcoming small{margin-top:5px;font-size:13px}
.level-list .lesson-row[aria-disabled=true]{cursor:not-allowed;opacity:.65}.level-list .lesson-row[aria-disabled=true]:active{transform:none}
.curriculum-list{list-style:none;padding:0;margin:22px 0;display:grid;gap:12px}
.curriculum-list li{display:flex;gap:10px;align-items:center;font-size:14px}.curriculum-list li>span{display:grid;place-items:center;width:26px;height:26px;border-radius:50%;background:#edf2e5;color:#637b49;font-variant-numeric:tabular-nums}
.curriculum-list strong{font-weight:500}.curriculum-mode{display:flex;align-items:center;gap:8px;font-size:15px;font-weight:600;white-space:nowrap}
