.newPortrait{font-size:clamp(85px,13vw,180px);height: min(36vh,290px);width:min(24vw,270px);display:flex;align-items:center;justify-content:center;border-radius:45% 45% 30% 30%;background:#fffcf5b0;border:1px solid #dbe2cc}.teacherPortrait{background:#dcebe2}.sceneHeading{pointer-events:none}.stageCenter{text-align:center}#live{max-width:560px;line-height:1.4;margin:5px auto 0}.stageBottom{z-index:3}.record{padding:12px 0;border-bottom:1px solid #dce2d3;line-height:1.7}.record small{display:block;color:#64786d}.point{padding:12px;background:#edf1e3;border-radius:12px;margin:8px 0;line-height:1.5}.story{font-size:21px;line-height:1.9}.drawerActions{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0}.drawerQuestion{display:block;width:100%;text-align:left;margin:10px 0;background:#edf1e3}#helpBody button{margin:4px}.helpOpen .newPortrait{height:18vh;font-size:12vh}#next[hidden],#start[hidden]{display:none}.composer button{white-space:nowrap}#line{max-height:31vh;overflow:auto}.bubble p{line-height:1.5}.paused .scene{filter:saturate(.6)}@media(max-width:700px){.brand{font-size:17px}.brand span{display:none}header{padding:8px;gap:4px;flex-wrap:wrap}header button{font-size:13px;padding:6px 9px}.newPortrait{font-size:18vw;height:23vh}.composer{gap:5px;padding:9px}.composer button{padding:8px;font-size:14px}#starterBtn{font-size:0}#starterBtn:after{content:'💡';font-size:20px}input{font-size:16px;padding:8px}.stageBottom{left:8px;right:8px;gap:5px}.stageBottom button{padding:7px;font-size:13px}.conversation{left:10%;right:10%}.bubble p{font-size:21px}.name{font-size:14px;padding:5px 12px}.name span{display:none}#live{font-size:12px;max-width:42vw}.mood{font-size:12px}#line{max-height:24vh}.helpOpen .newPortrait{height:14vh;font-size:12vh}}
.scene .stageBottom #next{background:#356d5f;color:#fff;font-weight:700;flex:none}.stageCenter{flex-direction:column;gap:2px}.stageCenter #live{margin:0}.scene .stageBottom{min-height:62px}
.app{height:var(--visible-height,100dvh)}.keyboardOpen .newPortrait{height:72px;font-size:60px}.keyboardOpen .mood,.keyboardOpen .sceneHeading small{display:none}.keyboardOpen .scene .bubble{padding:8px 14px}.keyboardOpen .scene .bubble p{font-size:21px}.keyboardOpen .scene .actors{padding:6px 4%}.keyboardOpen header{padding-top:4px;padding-bottom:4px}.keyboardOpen .inlineHelp{max-height:24vh}
#helpBtn[hidden]{display:none!important}@media(max-width:700px){.composer #helpBtn{grid-column:1/5;grid-row:1}}
.lessonGroup{border-bottom:1px solid #dce2d3;padding:12px 0}.lessonGroup>summary{font-size:19px;font-weight:700;cursor:pointer;min-height:44px}.answerChoice{font-size:18px;text-align:left;background:transparent;line-height:1.5;width:100%}.answerChoice[aria-pressed=true]{background:#d6e8d3;outline:2px solid #356d5f}#summaryPanel{margin-top:16px;padding-top:12px;border-top:1px solid #dbe2cc;text-align:left}#summaryPanel h2{font-size:16px;margin:0;color:#356d5f}#summaryPanel #summaryText{font-size:23px;line-height:1.6;max-height:24vh;overflow:auto}#summaryReplay{background:#edf1e3;font-size:14px}#summaryPanel[hidden]{display:none}.inlineHelp .choiceRow{grid-template-columns:minmax(0,1fr) auto}.scene .bubble{overflow:auto}.inlineHelp .answerChoice{white-space:normal}.composer #input{min-width:0}@media(max-width:700px){#summaryPanel #summaryText{font-size:19px}.inlineHelp .answerChoice{font-size:17px}.helpOpen .newPortrait{height:10vh;font-size:8vh}.helpOpen .scene .person .name{font-size:12px;padding:3px 10px}.helpOpen .scene .person .mood{display:none}}.keyboardOpen .helpOpen .newPortrait{height:48px;font-size:40px}
#summaryPanel.listenRequired{background:#fff7d8;border:2px solid #c49017;border-radius:16px;padding:14px;margin-top:16px}#summaryPanel #summaryNotice{font-size:18px;line-height:1.5;font-weight:700;color:#6f4700;margin:10px 0}#summaryPanel #summaryNotice.heard{color:#28604f}#summaryPanel #summaryReplay{display:block;width:100%;min-height:60px;padding:14px 16px;background:#ffdc71;border:2px solid #ad7610;color:#513600;font-size:20px;line-height:1.4;font-weight:800;box-shadow:0 3px 0 #b78b2c}#summaryPanel.isPlaying #summaryReplay{background:#e9f0e5;border-color:#648369;color:#304b36;box-shadow:none}.scene .stageBottom #next:disabled{background:#e2e4db;color:#53604d;opacity:1;box-shadow:none}@media(max-width:700px){#summaryPanel #summaryReplay{font-size:18px;min-height:56px}#summaryPanel #summaryNotice{font-size:16px}}
.summaryReady #bubble>small,.summaryReady #bubble>#line,.summaryReady #bubble>#replay{display:none}.summaryReady .scene .bubble{max-height:min(58vh,440px);padding:14px 18px}.summaryReady #summaryPanel{margin:0}.summaryReady #summaryPanel #summaryText{max-height:20vh}.summaryReady .conversation{padding:0}.summaryReady .scene .actors{align-items:center}@media(max-width:700px){.summaryReady .scene .actors{gap:8px}.summaryReady .newPortrait{height:13vh;font-size:11vh}.summaryReady .mood{display:none}.summaryReady #summaryPanel #summaryText{max-height:20vh}}
#sourceAudioPanel{margin:8px 0 16px;padding:12px;background:#fff7d8;border:2px solid #c49017;border-radius:14px}#sourceAudioPanel p{font-size:18px;font-weight:700;color:#6f4700}#sourceAudioPlay{width:100%;min-height:60px;background:#ffdc71;border:2px solid #ad7610;font-size:20px;font-weight:800;white-space:normal;line-height:1.4}#sourceAudioPlay:disabled{opacity:.65}.summaryReady #sourceAudioPanel,.summaryReady #sampleRead{display:none}#sampleRead{margin:8px 0;background:#edf1e3;font-size:18px;min-height:48px;white-space:normal}
#answerFeedback{padding:10px 12px;margin:8px 0;border:2px solid #8c660e;border-radius:12px;background:#fff7dc;text-align:left}#answerFeedback p{font-size:17px;line-height:1.45;margin:6px 0}#answerFeedback strong{font-size:20px;color:#684500}#answerFeedback[data-status=incorrect]{border-color:#ac4937;background:#fff0eb}#answerFeedback[data-status=incorrect] strong{color:#913b2b}#answerFeedback[data-status=correct]{border-color:#36725d;background:#eaf5ed}#answerFeedback[data-status=correct] strong{color:#285a47}#answerFeedback[hidden]{display:none}.summaryReady #answerFeedback{padding:6px 10px}.summaryReady #feedbackAnswer,.summaryReady #feedbackMessage{display:none}#printArea{display:none}.learningDocument{color:#202a25;line-height:1.7;text-align:left}.learningDocument h1{font-size:25px}.learningDocument h2{font-size:20px}.learningDocument p{white-space:pre-wrap;overflow-wrap:anywhere}.documentNote{font-size:15px;color:#55645b}.documentQuestion{padding:12px 0;border-top:1px solid #bcc8bf}.attemptRow{margin:10px 0;padding:10px;border-left:3px solid #a8bfae;background:#f2f5ef}.attemptRow p{margin:3px 0}.copySentence{padding:12px;background:#edf3e8;font-size:21px}.writingLine{height:36px;border-bottom:1px solid #809181;margin:4px 0}.learningDocument .writingQuestion{break-inside:avoid}@page{size:A4;margin:15mm}@media print{body.printingLearning{display:block!important;height:auto!important;overflow:visible!important;background:white!important;color:black!important}body.printingLearning>*{display:none!important}body.printingLearning>#printArea{display:block!important}#printArea .learningDocument{font-family:'Microsoft JhengHei','Noto Sans TC',sans-serif;font-size:12pt;color:#000}#printArea .learningDocument h1{font-size:18pt}#printArea .learningDocument h2{font-size:13pt}#printArea .attemptRow{background:white;border-left:2px solid #555;break-inside:avoid}#printArea .copySentence{background:white;border:1px solid #aaa;font-size:14pt}#printArea .writingLine{height:11mm;border-color:#666}#printArea .documentQuestion{margin-top:5mm}#printArea .documentNote{color:#333}}

#explainBtn{display:block;min-height:48px;width:100%;margin:10px 0;background:#edf2ff;border:2px solid #667baf;color:#263f70;font-size:18px;white-space:normal}#explainBtn[hidden],.summaryReady #explainBtn{display:none}#explainBtn:disabled{opacity:.55}

#modelAnswerBtn{display:block;width:100%;min-height:48px;margin:8px 0;background:#fff2cc;border:2px solid #aa8027;color:#624500;font-size:18px;white-space:normal}#modelAnswerBtn[hidden],.summaryReady #modelAnswerBtn{display:none}
.questionAnchor{display:flex;align-items:flex-start;justify-content:space-between;gap:8px;padding:8px 10px;margin:6px 0;background:#f8fafc;border:1px solid #cbd5e1;border-radius:10px;font-size:15px;line-height:1.45;color:#334155}.questionAnchor[hidden]{display:none}#questionAnchorSpeak{flex:0 0 auto;min-height:34px;padding:4px 10px;font-size:13px;border-radius:8px;background:#fff;border:1px solid #cbd5e1;color:#1e293b}
.person.student{display:none!important}.scene .actors{grid-template-columns:minmax(0,1fr) auto;grid-template-areas:'conversation npc';gap:18px;padding:12px 4%;align-items:center}.scene .conversation{width:100%;max-width:none}.scene .bubble{width:100%;max-width:none}.newPortrait{width:150px;height:150px;font-size:88px}.person.npc .name{font-size:15px;padding:5px 12px}@media(max-width:700px){.scene .actors{grid-template-columns:minmax(0,1fr);grid-template-areas:'conversation' 'npc';gap:8px}.newPortrait{width:84px;height:84px;font-size:52px}}.showingHint #line{background:#fffbeb;border-left:4px solid #d97706;padding:10px 12px;border-radius:10px;color:#78350f;font-weight:700}
