.learning-review{width:min(880px,100%);text-align:center;display:flex;flex-direction:column;align-items:center}
.review-success{display:inline-flex;align-items:center;gap:9px;font-size:16px;font-weight:500;color:#426a36;margin-bottom:30px}
.phrase-review{border:2px solid #cd8ea2;border-radius:30px;padding:35px 34px 25px;position:relative;min-width:310px;background:#fff7f8}
.phrase-label{position:absolute;top:-15px;left:50%;transform:translateX(-50%);padding:6px 16px;border-radius:20px;background:#a94e6b;color:#fff;font-size:14px;font-weight:600;white-space:nowrap}
.review-tokens{display:flex;align-items:stretch;justify-content:center;gap:25px}
.review-word{display:flex;align-items:center;flex-direction:column;min-width:105px;padding:0;gap:16px;background:transparent}
.word-ipa{font-size:18px;font-family:var(--body);color:#68505b;letter-spacing:0}
.review-word strong{font:600 56px/1.12 var(--display);letter-spacing:-1.5px;padding:0 10px 14px;border-bottom:4px solid #be8c31;color:var(--green);width:100%}
.word-role{font-size:16px;color:#596150;font-family:var(--body)}
.review-word:hover strong{color:#98435d}.review-word:focus-visible{outline:3px solid #a94e6b;outline-offset:7px;border-radius:5px}
.review-sentence{font-size:22px;margin-top:26px;color:#3e5034;font-weight:500}
.review-explanation{font-size:18px;line-height:1.55;max-width:640px;color:#536047;margin-top:13px}
.review-tools{display:flex;gap:12px;align-items:center;justify-content:center;margin-top:21px;flex-wrap:wrap}
.review-tools button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:9px 12px;border-radius:10px;color:#425435;font-size:16px;font-weight:500}
.review-tools button:hover{color:var(--green);background:#ecf1e3}.review-tools .icon{width:20px;height:20px}
.review-replay.speaking{color:#a04461;background:#fae8ee}
.review-countdown{width:min(440px,100%);margin-top:19px;text-align:left}
.review-countdown-label{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px;font-size:15px;color:#425435}
.review-countdown-label strong{font-variant-numeric:tabular-nums;color:var(--green);font-weight:600}
.review-countdown-track{height:10px;background:#dde7d1;border-radius:8px;overflow:hidden}
.review-countdown-track i{display:block;width:100%;height:100%;background:#658e3d;transform:scaleX(0);transform-origin:left center;border-radius:8px}
.review-countdown[data-state=paused] .review-countdown-track i{background:#b6617b}
.review-next{display:flex;align-items:center;justify-content:center;gap:20px;margin-top:19px;flex-wrap:wrap}
.review-next .btn{font-size:17px;min-height:48px;padding:12px 24px}
.review-next>small{width:100%;font-size:14px;color:#56634b;margin-top:-5px}
.review-next kbd{font:14px var(--body);padding:4px 8px;border:1px solid #b7c5a7;border-radius:6px;background:#fff}
.auto-review-toggle{display:inline-flex;gap:8px;align-items:center;font-size:15px;color:#59694b;min-height:44px;padding:8px;border-radius:8px}
.auto-review-toggle:hover{background:#edf2e6}.auto-review-toggle[aria-checked=false]{color:#983c5a}
.phrase-review.sentence-only{border-color:#a0ba82;background:#f3f7eb;max-width:800px;padding:30px}
.sentence-only .phrase-label{background:#507733}.sentence-only .review-tokens>strong{font:500 34px/1.45 var(--display);color:var(--green);letter-spacing:-.5px}
.hero-game-stage.reviewing>.target-text,.hero-game-stage.reviewing>.typing-box,.hero-game-stage.reviewing>.hero-game-bottom,.hero-game-stage.reviewing>.keyboard-guide{display:none!important}
.game-shell.reviewing .game-stage>.eyebrow,.game-shell.reviewing .speech-player,.game-shell.reviewing .letter-clues,.game-shell.reviewing .recall-count,.game-shell.reviewing #target,.game-shell.reviewing .typing-box,.game-shell.reviewing .game-instruction,.game-shell.reviewing .keyboard-guide{display:none!important}
.game-shell.reviewing .game-actions{visibility:hidden}
.combo-stat{display:inline-flex;align-items:center;gap:3px}.combo-stat .icon{width:12px;height:12px;color:#b4687e}.game-stats span{white-space:nowrap}.game-stats .icon{width:12px;height:12px;color:#b4687e;vertical-align:-2px}
@media(max-width:760px){.game-shell .game-stats b{margin-left:3px}.game-shell .game-stats{flex-shrink:0}}
.voice-choice{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:17px;background:#f3f6eb;border:1px solid #e1e8d7;border-radius:13px;margin:20px 0 12px}
.voice-choice strong{display:block;font:500 17px var(--display);color:var(--green);margin-top:7px}.voice-choice p{font-size:10px;margin-top:6px;line-height:1.6}.voice-choice .btn{flex-shrink:0;font-size:11px;padding:9px 12px}
.voice-choice .eyebrow{font-size:9px}.voice-choice [data-voice-state=playing]{color:#b4687e}
.reading-controls{display:flex;align-items:center;gap:9px;margin-top:14px;margin-bottom:14px;color:#829073;font-size:11px}
.reading-controls label{display:inline-flex;gap:5px;align-items:center;padding:5px 9px;background:#eef2e7;border-radius:9px}
.reading-controls select{border:0;background:transparent;font:11px var(--body);color:var(--green);padding:3px 2px;cursor:pointer}
.game-shell>.reading-controls{margin:12px 0 0;position:absolute;top:160px;left:40px}.game-shell>.progress-track{margin-top:16px}
.word-detail h2{font:500 39px var(--display);letter-spacing:-1px;margin-top:10px}.word-detail .word-detail-ipa{color:#a48890;margin-top:7px}.word-detail .word-context{padding:14px;background:#f4f6ee;border-radius:10px;font-size:12px;margin-top:20px}
.saved-word-row{display:flex;align-items:center;gap:15px;border-bottom:1px solid #e6ebdf;padding:18px 0}.saved-word-row>div{flex:1}.saved-word-row strong{font:500 21px var(--display);color:var(--green)}.saved-word-row span{display:block;font-size:10px;color:#9a8a8d;margin-top:5px}.saved-word-row p{font-size:11px;color:#87917b;margin-top:5px}
.saved-note{border:1px solid #e2e7d8;background:#f7f9f0;border-radius:10px;padding:14px;margin-top:15px}.saved-note small{font-size:10px;color:#9b8d91}.saved-note p{font-size:12px;line-height:1.7;margin-top:5px}.wordbook-empty{padding:20px 0}
#learning-note-form{margin-top:23px}#learning-note{height:116px;resize:vertical;line-height:1.6;padding:12px;font-size:13px}
@media(max-width:760px){.review-success{margin-bottom:22px;font-size:10px}.phrase-review{padding:24px 20px 17px;border-radius:22px;min-width:210px}.review-tokens{gap:15px}.review-word strong{font-size:35px;padding-inline:6px}.review-word{min-width:66px;gap:12px}.word-ipa{font-size:11px}.word-role{font-size:9px}.review-sentence{font-size:12px;margin-top:19px}.review-explanation{font-size:11px;line-height:1.7;max-width:310px;margin-top:11px}.review-tools{gap:10px 17px;margin-top:20px}.review-tools button{font-size:10px;min-height:32px}.review-next{margin-top:19px;gap:10px}.review-next .btn{font-size:11px;min-height:36px}.auto-review-toggle{font-size:9px}.sentence-only .review-tokens>strong{font-size:24px}.phrase-review.sentence-only{padding:25px 18px;min-width:0}.home-main .hero-live-stats{gap:14px}.home-main .hero-live-stats b{font-size:12px}.home-main .combo-stat .icon{width:10px;height:10px}.home-main .hero-live-stats{font-size:9px}.game-shell .game-stats{gap:10px}.game-shell .game-stats b{font-size:11px}.voice-choice{flex-wrap:wrap;padding:15px}.voice-choice strong{font-size:16px}.voice-choice .btn{width:100%}.game-shell>.reading-controls{left:21px;top:145px}.game-shell>.reading-controls select{font-size:10px}.game-shell>.reading-controls label{padding:4px 7px}.game-shell.reviewing .game-actions{display:none}}

/* Keep the learning stage readable on a phone without shrinking its labels. */
@media(max-width:760px){
 .review-success{font-size:14px;margin-bottom:23px}
 .phrase-review{padding:27px 22px 18px;min-width:265px;border-radius:25px}
 .phrase-label{font-size:13px;padding:5px 13px;top:-13px}
 .review-tokens{gap:18px}.review-word{min-width:82px;gap:12px}
 .review-word strong{font-size:44px;padding:0 5px 10px;letter-spacing:-1px}
 .word-ipa{font-size:16px}.word-role{font-size:14px}
 .review-sentence{font-size:18px;line-height:1.4;margin-top:18px}
 .review-explanation{font-size:16px;line-height:1.5;max-width:100%;margin-top:10px}
 .review-tools{display:grid;grid-template-columns:1fr 1fr;gap:3px 8px;width:100%;max-width:340px;margin-top:13px}
 .review-tools button{font-size:14px;min-height:44px;padding:8px 4px;gap:7px}
 .review-tools .icon{width:18px;height:18px}
 .review-countdown{margin-top:11px}.review-countdown-label{font-size:14px;margin-bottom:6px}
 .review-next{margin-top:13px;gap:10px}.review-next .btn{font-size:16px;min-height:44px;padding:10px 20px}
 .auto-review-toggle{font-size:14px;min-height:44px}
 .review-next>small,.review-next kbd{font-size:13px}
 .sentence-only .review-tokens>strong{font-size:25px}
 .home-main .hero-game-stage.reviewing,.game-shell.reviewing .game-stage{padding-block:18px}
 .game-shell.reviewing .reading-controls{position:static;margin:12px 0 0}
}
.word-detail .word-detail-ipa{font-size:18px;color:#68505b}
.word-detail .word-context,.saved-word-row p,.saved-note p{font-size:16px;color:#536047}
.saved-word-row span,.saved-note small{font-size:14px;color:#68505b}

/* Correct answers keep the typing field and hand guide in place. */
.round-result{order:3;align-self:center;text-align:center;width:min(100%,440px);margin:8px auto 18px}
.round-result .review-footer{margin:0;display:flex;justify-content:center}
.round-result .review-advance{min-height:48px}
.round-result-target{font:600 clamp(26px,4vw,48px)/1.3 var(--display);margin:12px 0 25px}
.game-shell.round-cleared .keyboard-guide{order:5}
.game-shell.round-cleared .answer-cue{position:absolute;top:8px;left:50%;transform:translateX(-50%);white-space:nowrap}
.game-shell.round-cleared .game-stage{position:relative}
.game-shell.round-cleared .game-actions{visibility:hidden}
.game-shell.round-cleared .typing-box{opacity:.75}
