.scene1-replay{display:block;margin:0 auto 12px;background:#fff3bf}
.scene1-listen{display:block;margin:10px auto 0;border:2px solid #1877d2;border-radius:9px;background:#e5f1ff;color:#24356f;padding:8px 18px;font-size:15px;font-weight:800;cursor:pointer}
.scene-head .scene1-activity-launch{display:inline-flex!important;align-items:center;justify-content:center;position:relative!important;z-index:50!important;height:30px!important;margin-left:10px!important;border:2px solid #164e96;border-radius:8px;background:#2d73c9;color:#fff;padding:0 12px;font-weight:800;cursor:pointer;white-space:nowrap;box-shadow:0 2px 0 #12396d}
.scene-head .scene1-activity-launch:hover:not(:disabled){filter:brightness(1.06)}
.scene-head .scene1-activity-launch:disabled,.scene-head .scene1-activity-launch.is-disabled{border-color:#aeb8c6!important;background:#e1e5eb!important;color:#7d8795!important;box-shadow:none!important;cursor:default!important;filter:none!important}
.scene-head .scene1-activity-launch[hidden]{display:none!important}
.scene1-practice{margin:18px auto 0;padding:14px 16px;border:2px solid #9bb7df;background:#f1f7ff;text-align:center;max-width:560px}
.scene1-practice-prompt{color:#24356f;font-size:18px;line-height:1.4}
.scene1-practice-prompt strong{display:block;margin-top:5px;color:#70421f;font-size:21px}
.scene1-practice-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin-top:12px}
.scene1-practice-actions button{border:2px solid #416fae;background:#fff;color:#24356f;padding:8px 12px;font-weight:800;cursor:pointer}
.scene1-practice-actions button:hover:not(:disabled){background:#e4f0ff}
.scene1-practice-actions button:disabled{opacity:.5;cursor:default}
.scene1-practice-actions .scene1-say{border-color:#1877d2;background:#1877d2;color:#fff}
.scene1-practice-actions .scene1-next-question{border-color:#70421f;background:#ffd34f;color:#24356f}
.scene1-practice-status{min-height:22px;margin-top:10px;color:#52668e;font-size:14px;font-weight:700}
.scene1-practice.is-correct{border-color:#2f9d57;background:#e8f8ec;box-shadow:0 0 0 4px #b8e8c4,0 0 20px #79c98d}
.scene1-practice.is-correct .scene1-practice-status{color:#23743b}
.scene1-practice.is-correct .scene1-say{border-color:#23743b;background:#2f9d57}
.scene1-practice.is-correct .scene1-next-question{border-color:#23743b;background:#74c98a;color:#fff}
.scene1-practice.is-incorrect{border-color:#c94b4b;background:#fff0f0;box-shadow:0 0 0 4px #f2b5b5,0 0 18px #e58b8b}
.scene1-practice.is-incorrect .scene1-practice-status{color:#b32626}
.scene1-practice.is-incorrect .scene1-say{border-color:#b32626;background:#d84f4f;color:#fff}
.scene1-lesson-modal{box-sizing:border-box!important;overflow:hidden!important;padding:12px!important}
.scene1-lesson-card{box-sizing:border-box!important;display:flex!important;flex-direction:column!important;width:min(1120px,94vw)!important;height:min(94vh,900px)!important;max-height:94vh!important;overflow:hidden!important;padding:18px!important}
.scene1-lesson-card h2{flex:0 0 auto!important;margin:0 0 8px!important;font-size:28px!important}
.scene1-lesson-main{flex:1 1 auto!important;min-height:0!important;overflow:hidden!important;gap:18px!important}
.scene1-teemo-wrap{height:100%!important;min-height:0!important}
.scene1-teemo-wrap>img{height:100%!important;max-height:none!important}
.scene1-story{height:100%!important;min-width:0!important;min-height:0!important;overflow:hidden!important;display:flex!important;flex-direction:column!important;justify-content:center!important}
.scene1-story-text span.activity-word{font-weight:900!important;color:#70421f!important}
.scene1-story-text span.active{font-size:inherit!important;line-height:inherit!important;padding:0!important;margin:0!important;letter-spacing:normal!important;box-shadow:0 0 0 3px #ffe36e!important;background:#ffe36e!important}
.scene1-help{margin:8px 0 12px!important}
.scene1-story-controls{display:flex;flex-wrap:wrap;justify-content:center;gap:7px;margin:0 auto 9px}
.scene1-story-controls button{border:2px solid #70421f;background:#fff3bf;color:#24356f;padding:7px 10px;font-size:14px;font-weight:800;cursor:pointer}
.scene1-story-controls button:hover{filter:brightness(1.04)}
.scene1-story-controls button:disabled{opacity:.55;cursor:default}
.scene1-story-toggle{border-color:#416fae!important;background:#e4f0ff!important}
.scene1-replay{display:inline-block!important;margin:0!important}
.scene1-next{align-self:center!important;margin:0!important;padding:9px 16px!important;font-size:15px!important}
.scene1-lesson-card.is-question .scene1-lesson-main{flex:0 0 clamp(280px,42vh,410px)!important;height:clamp(280px,42vh,410px)!important;align-items:stretch!important;overflow:hidden!important;gap:28px!important}
.scene1-lesson-card.is-question .scene1-teemo-wrap{display:flex!important;align-items:center!important;justify-content:center!important}
.scene1-lesson-card.is-question .scene1-teemo-wrap>img{width:100%!important;height:100%!important;object-fit:contain!important}
.scene1-lesson-card.is-question .scene1-story{justify-content:center!important;padding:0 12px!important}
.scene1-lesson-card.is-question>.scene1-question{display:flex!important;flex:1 1 auto!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;min-height:0!important;overflow:hidden!important;margin-top:8px!important;padding:10px 0 14px!important;box-sizing:border-box!important;width:100%!important}
.scene1-lesson-card.is-question .scene1-story-text{font-size:18px!important;line-height:1.3!important}
.scene1-lesson-card.is-question .scene1-question h3{margin:0 0 12px!important;font-size:24px!important}
.scene1-lesson-card.is-question .scene1-options{gap:8px!important}
.scene1-lesson-card.is-question .scene1-options button{min-width:120px!important;padding:10px 14px!important;font-size:16px!important}
.scene1-lesson-card.is-question .scene1-answer{margin:10px auto 0!important;padding:9px 26px!important;font-size:17px!important}
.scene1-lesson-card.is-question .scene1-feedback{height:auto!important;min-height:20px!important;margin-top:6px!important}
.scene1-lesson-card.is-question .scene1-practice{margin:10px auto 0!important;padding:14px 16px!important;box-sizing:border-box!important;width:min(720px,94%)!important;max-height:232px!important;overflow:hidden!important}
.scene1-lesson-card.is-question .scene1-practice-prompt{font-size:17px!important}
.scene1-lesson-card.is-question .scene1-practice-prompt strong{font-size:20px!important}
.scene1-lesson-card.is-question .scene1-practice-actions{gap:7px!important;margin-top:10px!important}
.scene1-lesson-card.is-question .scene1-practice-actions button{padding:8px 11px!important;font-size:14px!important}
.scene1-lesson-card.is-question .scene1-practice-status{min-height:18px!important;margin-top:8px!important;font-size:13px!important}
.scene1-lesson-card.is-question .scene1-options button.correct{border-color:#2f9d57!important;background:#dff4e4!important;color:#23743b!important;box-shadow:0 0 0 3px #b8e8c4!important}
.scene1-lesson-card.is-question .scene1-feedback.is-correct{color:#23743b!important}
@media(max-width:760px){
  .scene1-lesson-modal{padding:8px!important}
  .scene1-lesson-card{width:96vw!important;height:96vh!important;max-height:96vh!important;padding:12px!important}
  .scene1-lesson-card h2{font-size:24px!important;margin-bottom:5px!important}
  .scene1-lesson-main{flex-direction:column!important;gap:6px!important}
  .scene1-teemo-wrap{flex:0 0 36%!important;width:100%!important;height:auto!important}
  .scene1-story{width:100%!important;height:auto!important;flex:1 1 auto!important}
  .scene1-story-text{font-size:17px!important;line-height:1.35!important}
  .scene1-lesson-card.is-question .scene1-lesson-main{flex-basis:31vh!important;height:31vh!important}
  .scene1-lesson-card.is-question .scene1-teemo-wrap{flex-basis:42%!important}
  .scene1-lesson-card.is-question .scene1-story-text{font-size:15px!important;line-height:1.25!important}
  .scene1-lesson-card.is-question>.scene1-question{padding-top:6px!important;padding-bottom:8px!important}
  .scene1-lesson-card.is-question .scene1-question h3{font-size:19px!important;margin-bottom:7px!important}
  .scene1-lesson-card.is-question .scene1-options button{min-width:100px!important;padding:7px 10px!important;font-size:14px!important}
  .scene1-lesson-card.is-question .scene1-answer{margin-top:7px!important;padding:7px 20px!important;font-size:15px!important}
  .scene1-lesson-card.is-question .scene1-practice{margin-top:7px!important;padding:9px 10px!important;width:96%!important;max-height:190px!important}
  .scene1-lesson-card.is-question .scene1-practice-prompt{font-size:14px!important}
  .scene1-lesson-card.is-question .scene1-practice-prompt strong{font-size:16px!important}
  .scene1-lesson-card.is-question .scene1-practice-actions{gap:4px!important;margin-top:6px!important}
  .scene1-lesson-card.is-question .scene1-practice-actions button{padding:6px 7px!important;font-size:11px!important}
  .scene1-lesson-card.is-question .scene1-practice-status{margin-top:5px!important;font-size:11px!important}
}
.scene1-target-sentence{display:flex!important;flex-wrap:wrap!important;justify-content:center!important;align-items:baseline!important;column-gap:.28em!important;row-gap:3px!important;margin-top:5px!important;color:#70421f!important;font-size:21px!important;font-weight:800!important;line-height:1.25!important}
.scene1-speech-word{display:inline-block!important;box-sizing:border-box!important;min-height:1.45em!important;padding:1px 3px!important;border:2px solid transparent!important;border-radius:4px!important;color:inherit!important;font-weight:800!important;line-height:1.2!important}
.scene1-speech-word.speech-missing,.scene1-speech-word.speech-incorrect{color:#b32626!important;background:#ffe0e0!important;border-color:#d84f4f!important}
.scene1-speech-review{box-sizing:border-box!important;min-height:32px!important;max-height:44px!important;overflow:hidden!important;margin:6px auto 0!important;padding:5px 8px!important;border-top:1px dashed #9bb7df!important;color:#52668e!important;font-size:12px!important;line-height:1.25!important;text-align:center!important}
.scene1-speech-review[hidden]{display:block!important;visibility:hidden!important}
.scene1-review-label{font-weight:800!important;color:#24356f!important}
.scene1-heard-word{display:inline-block!important;box-sizing:border-box!important;padding:0 2px!important;border:1px solid transparent!important;border-radius:3px!important}
.scene1-heard-word.speech-heard-correct{color:#23743b!important}
.scene1-heard-word.speech-heard-incorrect{color:#b32626!important;background:#ffe0e0!important;border-color:#d84f4f!important}
.scene1-heard-empty{color:#8a6b6b!important;font-style:italic!important}
.scene1-speech-detail{margin-top:2px!important;color:#70421f!important;font-weight:700!important}
.scene1-feedback-word{color:#b32626!important;font-weight:900!important}
.scene1-feedback-word.heard{background:#ffe0e0!important;border-radius:3px!important;padding:0 2px!important}
.scene1-practice.is-correct .scene1-speech-word.speech-missing,.scene1-practice.is-correct .scene1-speech-word.speech-incorrect{color:#b32626!important;background:#ffe0e0!important;border-color:#d84f4f!important}
.scene1-practice{max-height:190px!important}
.scene1-practice-grid{display:grid!important;grid-template-columns:minmax(0,1.1fr) minmax(230px,.9fr)!important;align-items:stretch!important;gap:8px 14px!important;min-width:0!important}
.scene1-practice-main{display:flex!important;min-width:0!important;flex-direction:column!important;justify-content:center!important}
.scene1-practice-grid .scene1-speech-review{display:flex!important;min-width:0!important;min-height:64px!important;max-height:96px!important;flex-direction:column!important;justify-content:center!important;margin:0!important;padding:6px 0 6px 12px!important;border-top:0!important;border-left:1px dashed #9bb7df!important;text-align:left!important}
.scene1-practice-grid .scene1-speech-review[hidden]{display:flex!important;visibility:hidden!important}
.scene1-practice-grid .scene1-speech-heard,.scene1-practice-grid .scene1-speech-detail{overflow-wrap:anywhere!important}
.scene1-practice-grid .scene1-speech-detail{font-size:11px!important}
/* Let the connected speaking exercise use the available question width. */
.scene1-lesson-card.is-question>.scene1-question .scene1-practice{
  width:min(1040px,calc(100% - 24px))!important;
  max-width:none!important;
  margin-left:auto!important;
  margin-right:auto!important;
}
.scene1-practice-grid .scene1-practice-prompt{width:100%!important}
.scene1-lesson-card.is-question .scene1-practice-grid .scene1-practice-prompt{
  font-size:20px!important;
  line-height:1.15!important;
  font-weight:900!important;
}
.scene1-lesson-card.is-question .scene1-practice-grid .scene1-target-sentence{
  font-size:26px!important;
  line-height:1.12!important;
  font-weight:900!important;
  column-gap:.22em!important;
  row-gap:2px!important;
}
.scene1-lesson-card.is-question .scene1-practice-grid .scene1-speech-review{
  font-size:17px!important;
  line-height:1.2!important;
  font-weight:900!important;
}
.scene1-lesson-card.is-question .scene1-practice-grid .scene1-speech-heard,
.scene1-lesson-card.is-question .scene1-practice-grid .scene1-review-label,
.scene1-lesson-card.is-question .scene1-practice-grid .scene1-heard-word{
  font-size:17px!important;
  line-height:1.2!important;
  font-weight:900!important;
}
.scene1-lesson-card.is-question .scene1-practice-grid .scene1-speech-detail{
  font-size:13px!important;
  line-height:1.15!important;
  font-weight:900!important;
}
@media(min-width:761px){
  .scene1-practice-grid .scene1-practice-actions{flex-wrap:nowrap!important}
}
@media(max-width:760px){
  .scene1-target-sentence{font-size:16px!important;column-gap:.2em!important;row-gap:2px!important}
  .scene1-speech-word{padding:1px 2px!important}
  .scene1-speech-review{max-height:48px!important;font-size:11px!important}
  .scene1-practice{max-height:190px!important}
  .scene1-practice-grid{grid-template-columns:minmax(0,1fr)!important;gap:5px!important}
  .scene1-practice-grid .scene1-speech-review{min-height:44px!important;max-height:58px!important;padding:5px 0 0!important;border-top:1px dashed #9bb7df!important;border-left:0!important;text-align:center!important}
  .scene1-lesson-card.is-question>.scene1-question .scene1-practice{width:96%!important;max-width:none!important}
  .scene1-lesson-card.is-question .scene1-practice-grid .scene1-practice-prompt{font-size:18px!important}
  .scene1-lesson-card.is-question .scene1-practice-grid .scene1-target-sentence{font-size:21px!important;line-height:1.15!important}
  .scene1-lesson-card.is-question .scene1-practice-grid .scene1-speech-review,
  .scene1-lesson-card.is-question .scene1-practice-grid .scene1-speech-heard,
  .scene1-lesson-card.is-question .scene1-practice-grid .scene1-review-label,
  .scene1-lesson-card.is-question .scene1-practice-grid .scene1-heard-word{font-size:15px!important}
  .scene1-lesson-card.is-question .scene1-practice-grid .scene1-speech-detail{font-size:11px!important}
}
#canvas>.story-build-lock{pointer-events:auto!important;z-index:2147483000!important}
#canvas>.story-build-lock button{pointer-events:auto!important;position:relative;z-index:2147483001!important;cursor:pointer!important}
#canvas>.story-build-lock button:active{transform:translateY(3px)!important;filter:brightness(.92)!important}
.scene1-tennis-ball,.scene1-tennis-ball.hopping{animation:none!important;transition:none!important;will-change:transform;backface-visibility:hidden}
.teemo-outline-layer path{stroke:#4977cb!important;stroke-width:10px!important;stroke-linecap:round;stroke-linejoin:round}
.teemo-outline-layer{display:none!important}
.teemo-hotspot{box-sizing:border-box!important;border:3px solid transparent!important;border-radius:0!important;background:transparent!important}
.teemo-hotspot.hot,.teemo-hotspot.selected{border-color:#4977cb!important;background:#4977cb12!important}
.scene1-tennis-ball{width:30px!important;height:30px!important;background:url('assets/tennis-ball.webp') center/contain no-repeat!important;border:0!important;border-radius:0!important;}
.scene1-inline-task{position:absolute;inset:18px;z-index:10000;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;padding:24px;border:5px solid #70421f;border-radius:16px;background:#fffdf5ee;box-shadow:0 8px 24px #38200a55;color:#24356f;font-family:Arial,sans-serif;text-align:center}
.scene1-inline-task[hidden]{display:none!important}
.scene1-inline-title{font-size:30px;font-weight:900;color:#70421f}
.scene1-inline-text{font-size:22px;font-weight:800}
.scene1-inline-status{font-size:17px;font-weight:700;color:#52668e}
.scene1-inline-close,.scene1-inline-open{border:2px solid #70421f;border-radius:9px;background:#ffd34f;color:#24356f;padding:9px 16px;font-size:16px;font-weight:800;cursor:pointer}
.scene1-inline-open{margin-left:8px;border-color:#164e96;background:#2d73c9;color:#fff}
.scene1-inline-replay{border:2px solid #416fae;border-radius:8px;background:#e5f1ff;color:#24356f;padding:7px 13px;font-weight:800;cursor:pointer}
.scene1-inline-cards{display:flex;flex-wrap:wrap;justify-content:center;gap:9px;max-width:720px}
.scene1-inline-card{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;width:125px;min-height:95px;border:3px solid #8ea8d7;border-radius:10px;background:#fff;color:#24356f;font-size:15px;cursor:pointer}
.scene1-inline-card img{width:62px;height:48px;object-fit:contain}
.scene1-inline-card.correct{border-color:#2f9d57;background:#dff4e4;color:#23743b}
.scene1-inline-card.incorrect{border-color:#c94b4b;background:#fff0f0;animation:scene1-inline-shake .25s}
.scene1-inline-card:disabled{cursor:default}
.scene1-inline-complete{font-size:21px;font-weight:900;color:#23743b;padding:14px}
.scene1-placement-zone{display:flex;align-items:center;justify-content:center;width:230px;height:120px;border:4px dashed #2d73c9;border-radius:14px;background:#e5f1ffcc;color:#24356f;font-size:17px;font-weight:900}
.scene1-placement-zone.drag-over{background:#c9e2ff;border-color:#23743b;transform:scale(1.03)}
.scene1-inline-task{inset:auto 3% 4%;padding:8px 16px;background:#fffdf0dd;border:3px solid #70421f;border-radius:12px;box-shadow:0 4px 12px #38200a44;pointer-events:none}
.scene1-inline-task button{pointer-events:auto}
.scene1-placement-zone{position:absolute;left:15%;top:43%;width:20%;height:25%;box-sizing:border-box;background:#ffe36e44;border-color:#ffd34f;color:#70421f;pointer-events:auto}
.scene1-placement-zone:not(.is-active){display:none}
.scene1-packing-item{pointer-events:none;transition:transform .65s cubic-bezier(.2,.8,.2,1),opacity .65s ease!important;transform-origin:center center!important}
.scene1-packing-item.going-into-backpack{transform:translate(-50%,-50%) scale(.05)!important;opacity:0!important}
@keyframes scene1-inline-shake{25%{transform:translateX(-4px)}75%{transform:translateX(4px)}}
.scene1-inline-task{top:2%!important;right:5%!important;bottom:auto!important;left:5%!important;inset-inline:5%!important;display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:center!important;gap:10px!important;padding:6px 12px!important;background:transparent!important;border:0!important;box-shadow:none!important;pointer-events:none!important}
.scene1-inline-text{display:flex!important;align-items:center!important;gap:10px!important;margin:0!important;color:#fff!important;font-size:28px!important;font-weight:900!important;line-height:1.15!important;text-shadow:-3px -3px 0 #70421f,3px -3px 0 #70421f,-3px 3px 0 #70421f,3px 3px 0 #70421f,0 3px 6px #000!important}
.scene1-inline-target-icon{width:58px!important;height:48px!important;object-fit:contain!important;filter:drop-shadow(0 2px 2px #000)!important}
.scene1-inline-status{display:none!important}.scene1-inline-replay{padding:4px 7px!important;font-size:16px!important}.scene1-inline-close{padding:3px 8px!important;font-size:20px!important}
.scene1-inline-ball{position:fixed;left:0;top:0;width:24px;height:24px;object-fit:contain;z-index:10002;opacity:0;pointer-events:none;filter:drop-shadow(0 2px 2px #000);transition:opacity .15s ease}
.instruction-word{display:inline-block!important;white-space:pre!important}
.scene1-say-sentence{font-size:22px;font-weight:900;color:#fff;text-shadow:-2px -2px 0 #70421f,2px -2px 0 #70421f,-2px 2px 0 #70421f,2px 2px 0 #70421f;margin-right:8px}
.scene1-speak-button,.scene1-hear-sentence{border:2px solid #70421f;border-radius:8px;background:#ffd34f;color:#24356f;padding:7px 12px;font-weight:800;cursor:pointer}
.scene1-speak-button.correct{background:#74c98a;border-color:#23743b;color:#fff}
.scene1-speak-status{font-size:14px;font-weight:800;color:#fff;text-shadow:1px 1px 2px #000}
.scene1-inline-task{height:118px!important;min-height:118px!important;max-height:118px!important;overflow:hidden!important;align-content:center!important}
.scene1-inline-text{height:42px!important;min-height:42px!important;max-height:42px!important;flex:0 0 100%!important}
.scene1-inline-cards{height:42px!important;min-height:42px!important;max-height:42px!important;flex:0 0 100%!important;overflow:hidden!important}
.scene1-wrong-drop{position:absolute;left:50%;top:50%;z-index:10003;width:150px;height:150px;border:15px solid #d42f39;border-radius:50%;box-sizing:border-box;color:#d42f39;font:900 150px/112px Arial,sans-serif;text-align:center;transform:translate(-50%,-50%) scale(.45) rotate(-8deg);opacity:0;pointer-events:none;text-shadow:0 2px 0 #fff}
.scene1-wrong-drop.show{animation:scene1-wrong-pop 1.4s ease-out forwards}
@keyframes scene1-wrong-pop{0%{opacity:0;transform:translate(-50%,-50%) scale(.45) rotate(-8deg)}18%{opacity:1;transform:translate(-50%,-50%) scale(1.05) rotate(0)}72%{opacity:1;transform:translate(-50%,-50%) scale(1) rotate(0)}100%{opacity:0;transform:translate(-50%,-50%) scale(1) rotate(0)}}
.scene1-inline-task{top:2%!important;left:6%!important;right:6%!important;inset-inline:6%!important;display:flex!important;flex-wrap:wrap!important;align-items:center!important;justify-content:center!important;gap:8px 12px!important;box-sizing:border-box!important;min-height:70px!important;padding:10px 14px!important;background:#fff7dcee!important;border:3px solid #70421f!important;border-radius:14px!important;box-shadow:0 4px 14px #38200a66!important;pointer-events:auto!important}
.scene1-inline-text{flex:1 1 620px!important;min-width:0!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:10px!important;color:#24356f!important;font-size:25px!important;line-height:1.2!important;text-align:center!important;text-shadow:none!important;overflow-wrap:normal!important;white-space:normal!important}
.scene1-inline-text span{display:inline!important;white-space:normal!important;overflow-wrap:normal!important}
.scene1-inline-target-icon{flex:0 0 auto!important;width:54px!important;height:46px!important}
.scene1-inline-ball{display:block!important}
.scene1-inline-cards{flex:1 1 100%!important;display:flex!important;align-items:center!important;justify-content:center!important;flex-wrap:wrap!important;gap:8px!important;min-width:0!important}
.scene1-inline-replay,.scene1-inline-close{flex:0 0 auto!important}
.scene1-inline-status{flex:1 1 100%!important;display:block!important;min-height:0!important;color:#70421f!important;text-align:center!important;text-shadow:none!important}

/* Keep the activity content on one stable row and use the panel's full width. */
.scene1-inline-task{
  left:3%!important;
  right:3%!important;
  inset-inline:3%!important;
  width:auto!important;
  flex-wrap:nowrap!important;
  justify-content:stretch!important;
  gap:14px!important;
  padding:10px 22px!important;
}
.scene1-inline-text{
  flex:1 1 auto!important;
  width:auto!important;
  min-width:0!important;
  justify-content:flex-start!important;
  text-align:left!important;
}
.scene1-inline-cards{
  flex:0 1 auto!important;
  width:auto!important;
  max-width:none!important;
  justify-content:flex-start!important;
  flex-wrap:nowrap!important;
}
.scene1-inline-status{flex:0 0 auto!important;white-space:nowrap!important}
.scene1-inline-replay,.scene1-inline-close{flex:0 0 auto!important;white-space:nowrap!important}

/* Make the speech countdown prominent without changing the panel's fixed size. */
.scene1-speak-status,.scene1-practice-status{
  font-size:20px!important;
  line-height:1.15!important;
  font-weight:900!important;
  min-height:34px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  white-space:nowrap!important;
}
.scene1-inline-cards .scene1-say-sentence{
  flex:0 1 auto!important;
  white-space:nowrap!important;
}
.scene1-inline-cards .scene1-speak-button,
.scene1-inline-cards .scene1-hear-sentence{
  flex:0 0 auto!important;
  min-height:40px!important;
  box-sizing:border-box!important;
  white-space:nowrap!important;
}
.scene1-inline-cards .scene1-speak-status{
  flex:0 1 190px!important;
  min-width:150px!important;
  max-width:230px!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}

/* Fixed two-line text slots keep the other controls from shifting. */
.scene1-inline-text{
  flex:0 0 300px!important;
  width:300px!important;
  min-width:300px!important;
  max-width:300px!important;
  line-height:1.05!important;
}
.scene1-inline-text .instruction-word:last-child{display:inline-block!important}
.scene1-inline-status{
  flex:0 0 92px!important;
  width:92px!important;
  min-width:92px!important;
  max-width:92px!important;
  color:#24356f!important;
  font-size:19px!important;
  line-height:1.05!important;
  white-space:pre-line!important;
  text-align:center!important;
  margin-left:auto!important;
}
.scene1-inline-cards .scene1-say-sentence{
  width:170px!important;
  min-width:170px!important;
  max-width:170px!important;
  line-height:1.05!important;
  white-space:normal!important;
  text-align:center!important;
}
.scene1-inline-cards .scene1-speak-status{
  color:#24356f!important;
  text-shadow:none!important;
}

/* Give listening guidance a stable two-line slot so it stays readable. */
.scene1-inline-cards .scene1-speak-status{
  flex:0 0 122px!important;
  width:122px!important;
  min-width:122px!important;
  max-width:122px!important;
  white-space:pre-line!important;
  line-height:1.05!important;
  text-align:center!important;
  overflow:visible!important;
  text-overflow:clip!important;
}

/* Match the activity opener to the English Activity button beside it. */
.scene-head .scene1-activity-launch,
.scene-head .scene1-inline-open{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  height:30px!important;
  min-height:30px!important;
  max-height:30px!important;
  box-sizing:border-box!important;
  padding:0 12px!important;
  line-height:1!important;
  vertical-align:middle!important;
  font:800 14px/1 Arial,sans-serif!important;
}

/* The speaking sentence uses the darker text style from the reference image. */
.scene1-inline-cards .scene1-say-sentence{
  color:#24356f!important;
  text-shadow:none!important;
}

/* Accepted objects remain selectable and editable in the scene. */
.scene1-packing-item{
  pointer-events:auto!important;
  cursor:move!important;
}
.scene1-backpack-drop-zone{
  position:absolute!important;
  left:20%!important;
  top:31%!important;
  width:11%!important;
  height:23%!important;
  z-index:4!important;
  opacity:0!important;
  pointer-events:auto!important;
  background:transparent!important;
  border:0!important;
}
.scene1-inline-cards{
  flex:1 1 auto!important;
  min-width:0!important;
  max-width:none!important;
  overflow:visible!important;
}
.scene1-inline-close{
  margin-left:0!important;
  align-self:center!important;
}
.scene1-inline-skip{
  flex:0 0 40px!important;
  width:40px!important;
  height:40px!important;
  margin-left:0!important;
  border:2px solid #70421f!important;
  border-radius:9px!important;
  background:#ffd34f!important;
  color:#24356f!important;
  font-size:25px!important;
  font-weight:900!important;
  line-height:1!important;
  cursor:pointer!important;
}
.scene1-inline-cards .scene1-speak-button:disabled{
  opacity:.48!important;
  filter:grayscale(.65)!important;
  cursor:not-allowed!important;
}
