*{box-sizing:border-box}body{margin:0;background:#f3f4eb;color:#29453f;font-family:system-ui,sans-serif}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer;color:inherit}a{color:#426c60}header{background:#fffef7;border-bottom:1px solid #dce3d8;display:flex;align-items:center;justify-content:space-between;padding:12px max(20px,calc((100% - 1160px)/2));gap:18px}header a{display:flex;align-items:center;gap:8px;font-weight:800;text-decoration:none}header img{width:34px;height:34px}main{max-width:1200px;margin:auto;padding:18px 20px}.course-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:18px}.eyebrow{margin:0 0 5px;font-size:11px;font-weight:750;letter-spacing:1.4px;color:#728474}.eyebrow span{font-size:12px;font-weight:500;letter-spacing:0}h1{margin:0;font-size:clamp(26px,3vw,36px);line-height:1.2;letter-spacing:-.6px}.chapters{display:flex;gap:8px;margin:0 0 16px;flex-wrap:wrap}.chapters button{font-size:14px;background:transparent;border:1px solid #cfd9cf;border-radius:22px;padding:9px 16px;color:#5b7569}.chapters button.active{background:#d9e9de;border-color:#7c9f89;color:#2d5742;font-weight:750}.chapters button span{color:#4b7959;margin-left:4px}.activity{background:#fffef8;border:4px solid white;border-radius:25px;padding:17px 24px 16px;box-shadow:0 4px 18px #3e5d4710}.activity-top{display:flex;justify-content:space-between;color:#7c877d;font-size:12px;gap:12px;margin-bottom:14px}.activity-top>span:first-child{font-weight:750;color:#64806c}.situation{font-size:clamp(19px,2vw,24px);font-weight:700;line-height:1.4;margin:0 0 16px;max-width:900px}.story-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:22px;align-items:center}.scene-picture{position:relative;align-self:center;background:#e8eddc;border-radius:19px;overflow:hidden}.scene-picture>img{display:block;width:100%;aspect-ratio:3/2;object-fit:cover}.scene-location{position:absolute;bottom:10px;left:12px;background:#fffdf1e8;color:#70806c;border-radius:12px;padding:5px 10px;font-size:11px;font-weight:700}.dialogue{display:flex;flex-direction:column;gap:12px}.speech{background:#eef2e9;border:1px solid #dde5d6;border-radius:18px 18px 18px 3px;padding:14px 18px}.speech.yours{background:#fff0d4;border-color:#edd7aa;border-radius:18px 18px 3px 18px;margin-left:22px}.speaker{display:block;font-size:10px;font-weight:800;letter-spacing:1px;color:#8c927f;margin:0 0 6px;text-transform:uppercase}.speech.yours .speaker{color:#aa854c}.speech p{font-size:clamp(22px,2.5vw,30px);font-weight:750;line-height:1.3;margin:0}.speech small{display:block;margin-top:7px;font-size:15px;color:#758474;line-height:1.4}.speech.reply{background:#e9f3e6;padding:10px 15px}.speech.reply p{font-size:21px}.repeat-cue{font-size:13px;color:#8b927e;margin:2px 0 0;text-align:right}.activity-controls{display:flex;gap:10px;align-items:center;justify-content:center;margin-top:12px}.quiet,.primary{border:1px solid #d9e1d8;border-radius:12px;padding:11px 18px;background:#f1f5ef;font-weight:700;min-height:46px}.primary{background:#cd8043;color:white;border-color:#c1793d;font-size:18px;min-width:136px}.primary:disabled{opacity:.4;cursor:default}.quiet:hover{border-color:#91aa95}#feedback{min-height:25px;text-align:center;font-size:15px;line-height:1.5;margin:13px 0 0;color:#527650}#audio-note{font-size:11px;text-align:center;color:#8a8068;margin:10px 0 0}h2{font-size:25px;line-height:1.3;margin:5px 0 8px}.exercise-context{font-size:15px;color:#87917f;margin:0 0 24px}.choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:18px 0 0}.choice{background:white;border:2px solid #d9e2d5;border-radius:15px;min-height:70px;padding:13px 15px;font-size:20px;line-height:1.35;text-align:center}.choice:hover{border-color:#9bb798}.choice.correct{background:#dfedda;border-color:#80a178}.choice.wrong{background:#f8e9dd;border-color:#c8a28a}.choice:disabled{cursor:default;color:inherit}.your-turn{display:flex;align-items:center;gap:8px;margin:16px 0 -8px}.your-turn>span{font-size:10px;letter-spacing:1px;font-weight:800;color:#a1845c;background:#fff0d4;padding:5px 9px;border-radius:10px}.your-turn p{margin:0;font-size:13px;color:#8d8f7a}.dialogue-choices .choice{background:#fff8eb;border-color:#eadbc0;border-radius:15px 15px 3px 15px}.dialogue-choices .choice.correct{background:#e0ecd9;border-color:#86a57b}.dialogue-choices .choice.wrong{background:#f8e7db;border-color:#cfab93}.hint{border:0;background:none;text-decoration:underline;color:#8e8b76;font-size:13px;align-self:start;padding:3px 0}.dialogue>small{font-size:14px;color:#738574}.recall-phrase{font-size:clamp(27px,4vw,40px);font-weight:750;text-align:center;line-height:1.3;padding:28px 0 14px}.match-grid{display:grid;grid-template-columns:1fr 1fr;gap:28px;max-width:900px;margin:0 auto}.match-column{display:grid;gap:12px}.match-column small{font-size:11px;font-weight:750;color:#8d9589;letter-spacing:.6px}.match-button{border:2px solid #dbe3d6;background:white;border-radius:15px;min-height:76px;padding:15px;font-size:21px}.match-button.selected{border-color:#bc955c;background:#fff4e0}.match-button[data-pair="0"]{background:#fae3bd;border-color:#d4b582}.match-button[data-pair="1"]{background:#d5e8de;border-color:#91b39c}.match-button:disabled{cursor:default}.fill-line{display:flex;gap:20px;justify-content:center;align-items:center;padding:15px}.fill-line img{height:130px;width:120px;object-fit:contain;mix-blend-mode:multiply}.fill-line p{font-size:clamp(25px,3vw,38px);font-weight:750}.parent{margin:24px 0;color:#6e8073;font-size:14px;line-height:1.7}.parent summary{cursor:pointer;font-weight:700}.parent h2{font-size:22px;margin-top:20px}.result{text-align:center;padding:15px 0}.result-kicker{font-size:11px;font-weight:750;letter-spacing:1.4px;color:#8c9a84}.result h2{font-size:30px;max-width:650px;margin:12px auto 20px}.goal-results{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:25px 0}.goal-result{background:#edf3e7;border:1px solid #dce6d6;border-radius:18px;padding:22px 14px;display:flex;flex-direction:column;align-items:center}.goal-tick{font-size:26px;color:#739366;margin:0 0 8px}.goal-result strong{font-size:18px}.goal-result small{font-size:13px;line-height:1.4;color:#7b8b71;margin-top:9px}.result>p{line-height:1.6}.completion-note{font-size:12px;color:#8e9688}.result-actions{display:flex;justify-content:center;gap:10px;flex-wrap:wrap;margin:20px 0}.result-actions a{padding:12px}.score-details{font-size:13px;color:#829078}.score-details summary{cursor:pointer}.score-details p{max-width:700px;margin:12px auto}button:focus-visible,a:focus-visible{outline:3px solid #73966d;outline-offset:3px}[hidden]{display:none!important}
@media(max-width:760px){main{padding:14px}.course-heading{margin-bottom:14px}.eyebrow{font-size:9px;letter-spacing:.7px}.eyebrow span{display:none}h1{font-size:27px}.course-heading .quiet{font-size:12px;padding:9px}.chapters{gap:6px;flex-wrap:nowrap}.chapters button{padding:8px 10px;font-size:12px;flex:1}.activity{padding:15px}.story-layout{gap:12px}.scene-picture>img{aspect-ratio:1/1;object-fit:cover;object-position:50%}.speech{padding:12px}.speech.yours{margin-left:8px}.speech p{font-size:23px}.speech small{font-size:13px}.situation{font-size:20px}.choice{font-size:18px;min-height:66px;padding:12px 8px}.match-grid{gap:15px}.match-button{font-size:18px;padding:12px}.goal-results{grid-template-columns:1fr}.goal-result{padding:15px}.result h2{font-size:25px}.parent{margin-top:20px}}
@media(max-width:520px){header{padding:9px 15px}.course-heading{gap:8px}h1{font-size:25px}.chapters button{font-size:11px;padding:8px 7px}.chapters button span{display:none}.activity-top{font-size:10px;margin-bottom:12px}.situation{font-size:19px;margin-bottom:12px}.story-layout{grid-template-columns:1fr}.scene-picture>img{aspect-ratio:2.4/1;object-fit:cover;object-position:50% 55%}.scene-location{font-size:9px;bottom:6px;left:7px;padding:4px 7px}.dialogue{gap:9px}.speech{padding:10px 13px;max-width:94%}.speech.yours{align-self:end;margin-left:0;min-width:78%}.speech p{font-size:23px}.speech small{font-size:12px;margin-top:4px}.speaker{font-size:9px;margin-bottom:4px}.repeat-cue{font-size:11px}.choices{grid-template-columns:1fr;gap:8px;margin-top:14px}.choice{min-height:49px;font-size:17px;padding:10px 12px;text-align:left}.activity-controls{gap:8px}.activity-controls .quiet{font-size:14px;padding:10px 12px}.primary{font-size:17px;min-width:120px}.match-button{font-size:16px;min-height:76px;padding:10px}.match-grid{gap:10px}.exercise-context{font-size:13px;margin-bottom:16px}.recall-phrase{padding:20px 0 10px;font-size:30px}.fill-line{padding:12px 0;gap:10px}.fill-line img{height:100px;width:95px}.fill-line p{font-size:27px}#feedback{font-size:13px;min-height:20px;margin-top:10px}.speech.reply{padding:8px 12px}.speech.reply p{font-size:19px}.result-actions{flex-direction:column}.result-actions button{width:100%}}
@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}

@media(min-width:761px){.scene-picture>img{height:min(32svh,290px);aspect-ratio:auto;object-fit:cover;object-position:50% 54%}.activity[data-type="talk"] .scene-picture>img{height:min(26svh,230px)}}
@media(max-width:520px){.activity[data-type="talk"] .scene-picture>img{height:112px;aspect-ratio:auto;object-position:50% 42%}.activity[data-type="talk"] .scene-location{display:none}}
@media(max-width:520px){.scene-picture>img,.activity[data-type="talk"] .scene-picture>img{height:135px;aspect-ratio:auto;object-fit:contain;background:#e8eddc}.course-heading .quiet{white-space:nowrap;min-width:82px}.scene-location{display:none}}
@media(min-width:521px){.choices:not(:has(.choice:nth-child(3))){grid-template-columns:repeat(2,minmax(0,1fr))}}
/* Preserve the whole scene and both faces at every viewport width. */
.scene-picture>img{object-fit:contain!important;object-position:center!important}
@media(min-width:901px){.story-layout{grid-template-columns:minmax(260px,390px) minmax(0,1fr)}}
/* Keep the choices and navigation together on a phone. */
@media(max-width:520px){main{padding:10px 12px}.course-heading{margin-bottom:10px}h1{font-size:23px}.chapters{margin-bottom:10px}.activity{padding:12px}.activity-top{margin-bottom:8px}.situation{font-size:18px;margin-bottom:10px}.activity[data-type="talk"] .scene-picture>img{height:110px}.story-layout{gap:10px}.dialogue{gap:7px}.your-turn{margin-top:9px}.activity-controls{margin-top:8px}#feedback:empty{min-height:0;margin:0}#audio-note{margin-top:7px}}
