:root{--lesson:'Comic Neue','ZCOOL KuaiLe','PingFang SC',sans-serif}
.presentation,.student-task,.student-wait,.join-layout,.phase-nav{font-family:var(--lesson);font-synthesis:none}
.cover-intro h1,.section-title h1,.student-task-title h1,.story-writing h1,.join-form h2{font-weight:700;letter-spacing:-.8px}
.cover-intro h1 em{font-weight:700;font-style:normal;letter-spacing:-1.5px}
.cover-intro h1>span{text-shadow:none}
.cover-intro h1 i{letter-spacing:3px;font-size:23px}
.book-bottomline h2{font-family:var(--lesson);font-style:normal;font-weight:700}
.story-lines button{font-weight:700;line-height:1.5}
.teacher-form .instruction{font-size:23px}
.section-title>p{font-size:15px;line-height:1.65;letter-spacing:.3px}
.phase-nav button{font-size:13px}
.student-task .task-form .instruction span{font-size:13px;line-height:1.8}
.single-group-rolling{height:100%;min-height:550px;padding:18px 3% 20px;display:flex;flex-direction:column;--roll-step:190px;overflow:hidden}
.single-group-rolling .warmup-audio{display:none}
.single-group-rolling .section-title{margin-bottom:14px;flex-shrink:0}
.single-group-rolling .section-title h1{font-size:36px;line-height:1.12;margin-top:6px}
.single-group-rolling .section-title>p{font-size:15px;line-height:1.4;margin-top:7px;color:#617d5b}
.single-group-rolling .rolling-lanes{flex:1;min-height:0;gap:12px}
.single-group-rolling .lane{--tone:#e47c97;--tint:#ffdae3;--head:#ffc2d1;display:flex;flex-direction:column;border:2px solid var(--head);border-radius:19px;background:var(--tint);opacity:1;box-shadow:0 5px 0 color-mix(in srgb,var(--tone) 12%,transparent);position:relative}
.single-group-rolling .lane.group-2{--tone:#50a985;--tint:#d0f0dc;--head:#afe2c4}
.single-group-rolling .lane.group-3{--tone:#d49b36;--tint:#ffebbb;--head:#ffdb8a}
.single-group-rolling .lane.group-4{--tone:#6b9fd1;--tint:#d8eafb;--head:#bad9f5}
.single-group-rolling .lane.active{border:3px solid var(--tone);box-shadow:0 0 0 4px #fffaf4,0 8px 0 color-mix(in srgb,var(--tone) 22%,transparent)}
.single-group-rolling .lane header{height:69px;flex-shrink:0;background:var(--head);color:#4b6352;padding:10px 4px 9px;font-weight:700;display:flex;align-items:center;justify-content:center;flex-direction:column}
.single-group-rolling .lane header>div{font-size:24px;line-height:1.15;display:flex;align-items:center;gap:7px}
.single-group-rolling .lane header>div>span{font-size:27px}
.single-group-rolling .lane header small{font-size:13px;line-height:1.25;margin-top:5px;letter-spacing:.5px;color:#5b7058}
.single-group-rolling .lane.active header small{color:#3f6050}
.single-group-rolling .lane-window{height:auto;min-height:0;flex:1;mask-image:linear-gradient(transparent,black 5%,black 96%,transparent)}
.single-group-rolling .lane-wait{height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:11px;padding:15px;text-align:center}
.single-group-rolling .lane-wait>span{font-size:66px;line-height:1.25;filter:none}
.single-group-rolling .lane-wait>b{font-size:23px;line-height:1.3;color:#5d785f;font-weight:700}
.single-group-rolling .lane-wait>small{font-size:15px;color:#6b8265}
.single-group-rolling .reading-line{top:calc(50% - var(--roll-step)/2);height:var(--roll-step);left:7px;right:7px;border:2px dashed var(--tone);border-radius:14px;background:#fffaf83b;padding:0;display:block}
.single-group-rolling .reading-line>span{position:absolute;bottom:2px;right:5px;letter-spacing:1px;font-size:8px;color:#8d7480}
.single-group-rolling .rolling-strip{top:calc(50% - var(--roll-step)/2);animation-name:single-group-scroll;animation-delay:0s;animation-duration:35s;animation-timing-function:linear;animation-iteration-count:infinite;animation-play-state:paused}
.single-group-rolling .rolling-strip.moving{animation-play-state:running}
.single-group-rolling .rolling-card{height:var(--roll-step);padding:11px 12px 13px;gap:9px;justify-content:center}
.single-group-rolling .rolling-card>img{display:block;width:100%;max-width:260px;height:118px;object-fit:cover;border-radius:13px;box-shadow:0 3px 0 #3d694618;border:3px solid #fffdf7;background:#fff}
.single-group-rolling .rolling-card>strong{font-size:clamp(25px,2.55vw,42px);line-height:1.1;font-weight:700;color:#344d3b;white-space:nowrap;letter-spacing:-.6px;text-shadow:0 1px #ffffffa8}
.single-group-rolling .rolling-controls{display:block;flex-shrink:0;margin-top:18px}
.single-group-rolling .reading-turn{display:flex;align-items:center;gap:12px;margin-bottom:11px}
.single-group-rolling .reading-turn>span{font-size:15px;color:#769267;white-space:nowrap}
.single-group-rolling .group-toggles{display:flex;gap:6px}
.single-group-rolling .group-toggles>button{min-height:35px;padding:7px 13px;background:#edf3e2;border:1px solid #d9e6ca;border-radius:10px;font-size:15px;font-weight:400;line-height:1.2;color:#6d885d}
.single-group-rolling .group-toggles>button.on{background:#4c8666;border-color:#4c8666;color:#fff}
.single-group-rolling .shuffle-button{display:flex;align-items:center;gap:6px;background:#fff6d6;border:1px solid #eadb9c;border-radius:10px;padding:7px 12px;min-height:35px;font-size:14px;color:#9a7e3e;white-space:nowrap}
.single-group-rolling .reading-turn>strong{margin-left:auto;font-size:21px;line-height:1.2;color:#4e7956;white-space:nowrap}
.single-group-rolling .rolling-playback{display:flex;align-items:center;gap:16px}
.single-group-rolling .music-toggle{display:flex;align-items:center;gap:8px;min-width:154px;min-height:41px;padding:9px 12px;background:#eef1e8;border:1px solid #d9e2cc;border-radius:11px;font-size:14px;color:#8b9a78;white-space:nowrap}
.single-group-rolling .music-toggle.on{background:#e5f2d6;color:#628944;border-color:#c5dcaa}
.single-group-rolling .music-volume,.single-group-rolling .reading-speed{display:flex;align-items:center;gap:7px;font-size:12px;color:#7d936b;white-space:nowrap}
.single-group-rolling .music-volume>input,.single-group-rolling .reading-speed>input{width:85px;accent-color:#6d9b64;padding:0;background:transparent;border:0;box-shadow:none}
.single-group-rolling .music-volume>span{width:30px;font-size:12px}
.single-group-rolling .reading-speed{margin-left:auto}
.single-group-rolling .reading-speed>input{width:76px}
.single-group-rolling .rolling-playback>.primary{font-size:18px;min-height:43px;padding:10px 23px;gap:9px;margin-left:auto;border-radius:12px;font-family:var(--lesson);font-weight:400;white-space:nowrap}
.single-group-rolling .music-error{font-size:11px;color:#a87e53;margin-top:6px;line-height:1.4}
.single-group-rolling .rolling-illustration{display:grid;place-items:center;width:100%;height:118px;font-size:82px;line-height:1;border-radius:13px;background:#fffdf4c9;border:3px solid #fffdf7;box-shadow:0 3px 0 #3d694618}
.phrase-illustration{height:130px;width:100%;display:grid;place-items:center;font-size:85px;border-radius:10px;background:#f3f7e9}
@keyframes single-group-scroll{from{transform:translateY(0)}to{transform:translateY(calc(var(--roll-step)*var(--phrase-count,12)*-1))}}
@media(min-width:1600px){.single-group-rolling{padding:25px 4% 30px;--roll-step:260px}.single-group-rolling .section-title h1{font-size:48px}.single-group-rolling .section-title>p{font-size:20px}.single-group-rolling .rolling-lanes{gap:19px}.single-group-rolling .lane header{height:89px}.single-group-rolling .lane header>div{font-size:32px}.single-group-rolling .lane header>div>span{font-size:34px}.single-group-rolling .lane header small{font-size:17px}.single-group-rolling .rolling-card>img{height:175px;max-width:330px}.single-group-rolling .rolling-card>strong{font-size:37px}.single-group-rolling .lane-wait>span{font-size:95px}.single-group-rolling .lane-wait>b{font-size:30px}.single-group-rolling .lane-wait>small{font-size:20px}.single-group-rolling .group-toggles>button{font-size:20px;padding:10px 19px}.single-group-rolling .shuffle-button{font-size:19px;padding:10px 19px}.single-group-rolling .reading-turn>span{font-size:20px}.single-group-rolling .reading-turn>strong{font-size:27px}.single-group-rolling .music-toggle{font-size:18px;min-width:200px}.single-group-rolling .rolling-playback>.primary{font-size:23px;padding:13px 27px}.single-group-rolling .music-volume,.single-group-rolling .reading-speed{font-size:16px}.single-group-rolling .music-volume>input{width:110px}.single-group-rolling .music-volume>span{font-size:15px;width:40px}.single-group-rolling .reading-speed>input{width:110px}}
@media(max-width:1150px){.single-group-rolling{--roll-step:180px}.single-group-rolling .lane header>div{font-size:21px}.single-group-rolling .lane header>div>span{font-size:24px}.single-group-rolling .rolling-card{padding:12px 8px}.single-group-rolling .rolling-card>img{height:110px}.single-group-rolling .rolling-card>strong{font-size:24px}.single-group-rolling .reading-turn{gap:8px}.single-group-rolling .reading-turn>span{font-size:13px}.single-group-rolling .group-toggles>button{font-size:13px;padding:8px 10px}.single-group-rolling .shuffle-button{font-size:12px;padding:8px}.single-group-rolling .reading-turn>strong{font-size:18px}.single-group-rolling .rolling-playback{gap:10px}.single-group-rolling .music-toggle{min-width:145px;font-size:13px}.single-group-rolling .music-volume>input{width:63px}.single-group-rolling .reading-speed>input{width:58px}.single-group-rolling .rolling-playback>.primary{font-size:16px;padding:10px 16px}}
@media(max-width:850px){.single-group-rolling .reading-turn>strong{display:none}.single-group-rolling .reading-speed{display:none}.single-group-rolling .rolling-card>strong{font-size:21px}.single-group-rolling .lane-wait>span{font-size:45px}.single-group-rolling .lane-wait>b{font-size:18px}.single-group-rolling .lane-wait>small{font-size:12px}.single-group-rolling .lane header>div{font-size:17px}.single-group-rolling .lane header>div>span{font-size:21px}.single-group-rolling .lane header small{font-size:11px}.single-group-rolling .rolling-lanes{gap:7px}.single-group-rolling .music-volume{gap:4px}.single-group-rolling .music-volume>input{width:50px}.single-group-rolling .rolling-playback>.primary{font-size:14px;padding:10px 12px}.single-group-rolling .music-toggle{font-size:12px;min-width:136px;padding:9px}.section-title>p{font-size:13px}}
@media(max-width:600px){.single-group-rolling{min-height:620px;height:auto;--roll-step:165px;padding:20px 5%}.single-group-rolling .rolling-lanes{grid-template-columns:repeat(2,1fr);min-height:420px;gap:12px}.single-group-rolling .lane{min-height:205px}.single-group-rolling .lane header{height:56px}.single-group-rolling .lane header small{font-size:10px;margin-top:3px}.single-group-rolling .rolling-card>img{height:100px}.single-group-rolling .rolling-card>strong{font-size:22px}.single-group-rolling .lane-window{min-height:165px}.single-group-rolling .reading-turn{flex-wrap:wrap;gap:7px}.single-group-rolling .reading-turn>span{display:none}.single-group-rolling .group-toggles{gap:5px}.single-group-rolling .group-toggles>button{padding:8px 9px;font-size:12px}.single-group-rolling .shuffle-button{padding:8px;font-size:11px}.single-group-rolling .shuffle-button>svg{width:14px}.single-group-rolling .rolling-playback{flex-wrap:wrap}.single-group-rolling .music-toggle{min-width:140px}.single-group-rolling .rolling-playback>.primary{min-height:41px;margin-left:0;flex:1}.single-group-rolling .section-title>p{font-size:13px;line-height:1.7}.single-group-rolling .section-title h1{font-size:31px}.cover-intro h1 i{font-size:20px}.teacher-form .instruction{font-size:20px}}

/* Projection titles and five visible lesson steps. */
.phase-nav {position:relative;isolation:isolate;gap:clamp(6px,.8vw,13px);justify-content:center}
.phase-nav::before {content:"";position:absolute;z-index:-1;left:10px;right:10px;top:50%;height:5px;border-radius:8px;background:#abc2f1;transform:translateY(-50%)}
.phase-nav button {
  --step-bg:#ffdd65;position:relative;min-height:46px;padding:8px clamp(9px,1.15vw,19px);
  border:2px solid #25376e;background:var(--step-bg);color:#1c2c60;
  border-radius:12px;font-size:clamp(17px,1.59vw,26px);font-weight:700;
  line-height:1.15;white-space:nowrap;box-shadow:0 3px 0 #25376e32;
  transition:transform .15s ease,box-shadow .15s ease;
}
.phase-nav button:nth-child(2){--step-bg:#80e7cc}
.phase-nav button:nth-child(3){--step-bg:#ffb5da}
.phase-nav button:nth-child(4){--step-bg:#a5cbff}
.phase-nav button:nth-child(5){--step-bg:#d5baff}
.phase-nav button span {font-size:11px;font-weight:700;line-height:1;background:#fff9e7;color:#334478;padding:4px 5px;border-radius:6px}
.phase-nav button:hover {transform:translateY(-2px)}
.phase-nav button.active {z-index:1;transform:translateY(-2px) scale(1.075);color:#172655;background:var(--step-bg);border-color:#16275b;box-shadow:0 0 0 2px #fffefa,0 0 0 4px #173b9b,0 5px 0 #173b9b}
.phase-nav button.active span {background:#203a94;color:#fff}
.cover-intro h1 {font-size:clamp(49px,5.9vw,108px)}
.section-title h1,.student-task-title h1 {font-size:clamp(34px,4.35vw,68px);line-height:1.04}
.story-writing h1 {font-size:clamp(44px,5.25vw,90px)}
.single-group-rolling .section-title h1 {font-size:clamp(35px,4.2vw,65px);line-height:1.04}
:where(.section-title,.story-writing,.cover-intro,.join-book,.student-wait,.student-task-title) h1::after {
  content:"";display:block;width:clamp(96px,12vw,166px);height:11px;margin-top:10px;
  border:2px solid #24366a;border-radius:4px;
  background:linear-gradient(90deg,#f76aa9 0 25%,#32d1ab 25% 50%,#ffd439 50% 75%,#76afff 75% 100%);
  box-shadow:2px 2px 0 #263f8b26;
}
.cover-intro h1::after {border-color:#fff5ce}
.student-wait h1::after {margin-inline:auto}
.section-title>p,.student-task-title p {font-size:clamp(14px,1.35vw,21px);font-weight:700}
.single-group-rolling .section-title>p {font-size:clamp(13px,1.23vw,19px)}
@media (max-width:1150px) {
  .phase-nav button {padding-inline:8px;min-height:44px;gap:5px}
  .phase-nav button span {font-size:9px;padding:3px 4px}
}
@media (max-width:850px) {
  .phase-nav button {font-size:clamp(14px,2.35vw,18px)}
  .phase-nav button span {display:none}
  .cover-intro h1,.cover-intro h1 em {font-size:clamp(40px,7.4vw,67px)}
}
@media (max-width:600px) {
  .teacher-app .topbar {display:grid;grid-template-columns:minmax(0,1fr) auto;height:auto;padding:8px 10px 12px;row-gap:9px}
  .teacher-app .phase-nav {display:flex;grid-column:1/-1;grid-row:2;gap:6px}
  .teacher-app .top-tools {grid-column:2;grid-row:1}
  .phase-nav button {flex:1 1 auto;justify-content:center;font-size:clamp(12px,3.8vw,16px);padding:6px 3px;min-height:38px;border-radius:8px}
  .phase-nav button.active {transform:translateY(-1px) scale(1.035);box-shadow:0 0 0 2px #fffefa,0 0 0 3px #173b9b,0 3px 0 #173b9b}
  .section-title h1,.single-group-rolling .section-title h1,.student-task-title h1 {font-size:clamp(29px,8vw,42px)}
  :where(.section-title,.story-writing,.cover-intro,.join-book,.student-wait,.student-task-title) h1::after {height:8px;margin-top:7px}
}
@media (prefers-reduced-motion:reduce){.phase-nav button{transition:none}}

/* The draw shows one stable phrase while the selected group reads. */
.single-group-rolling.warmup-draw{min-height:550px;padding-top:13px}
.warmup-draw .section-title{margin-bottom:9px}
.draw-cue {display:flex;align-items:center;gap:12px;padding:6px 0 12px;flex-shrink:0;min-height:45px;color:#253667}
.round-count {background:#ffdb52;border:2px solid #26376c;border-radius:8px;padding:5px 9px;font-size:15px;font-weight:700;white-space:nowrap}
.draw-cue>strong{font-size:clamp(17px,1.9vw,31px);line-height:1.14}
.draw-subtitle{margin-left:auto;font-size:clamp(12px,1.2vw,18px)}
.warmup-draw .lane.scanning{box-shadow:0 0 0 3px #fffae0,0 0 0 5px #2d46b3}
.warmup-draw .lane-window{mask-image:none;display:flex;min-height:0;align-items:stretch;justify-content:center}
.warmup-draw .lane header{height:clamp(53px,5vw,80px)}
.warmup-draw .lane-wait{flex:1}
.draw-card {
 display:grid;grid-template-rows:minmax(46px,1fr) auto auto;place-items:center;gap:5px;width:calc(100% - 16px);
 min-height:0;margin:8px;padding:7px 5px;background:#fff9e6;border:2px solid var(--tone);border-radius:11px;
 text-align:center;color:#172957;animation:draw-in .22s ease-out both;
}
.draw-card img{display:block;width:100%;height:100%;max-height:160px;min-height:0;object-fit:contain;border-radius:7px}
.draw-card strong{font-size:clamp(22px,2.38vw,40px);line-height:1.02;font-weight:700;overflow-wrap:anywhere}
.draw-card span{font-size:clamp(9px,.95vw,15px);font-weight:700;padding:3px 7px;border-radius:999px;color:#263c7a;background:#e4edff}
.warmup-draw .rolling-controls{margin-top:12px}
.warmup-draw .rolling-playback>.primary{min-width:124px}
@keyframes draw-in{from{transform:translateY(22px);opacity:.3}to{transform:translateY(0);opacity:1}}
@media(max-width:850px){.draw-subtitle{display:none}.draw-card strong{font-size:clamp(17px,3vw,28px)}}
@media(max-width:600px){.single-group-rolling.warmup-draw{min-height:650px}.draw-cue{padding-bottom:9px}.round-count{font-size:12px}.draw-card img{max-height:91px}}
@media(prefers-reduced-motion:reduce){.draw-card{animation:none}}

/* Screen 11: touch-sized movable answers, and a tap alternative. */
.slide-textA .section-title{margin-bottom:14px}
.textbook-drag{color:#1d3165}
.drag-instruction{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px;font-size:clamp(15px,1.55vw,23px);font-weight:700}
.drag-instruction p span{font-size:clamp(11px,1.05vw,16px);margin-left:8px;color:#4a608c}
.drag-instruction>b{flex-shrink:0;background:#ffdd61;border:2px solid #233970;padding:4px 8px;border-radius:8px}
.drag-sentences{display:grid;gap:7px}
.drag-sentences>div{display:flex;align-items:center;flex-wrap:wrap;gap:6px 8px;padding:5px 10px;background:#fffdf2;border:2px solid #b7ccf7;border-radius:12px;font-size:clamp(16px,1.64vw,25px);line-height:1.1;font-weight:700}
.drag-sentences>div>b{display:grid;place-items:center;width:30px;height:30px;flex-shrink:0;border-radius:9px;background:#244fc6;color:white;font-size:18px}
.answer-slot{min-height:43px;min-width:clamp(104px,10.5vw,168px);padding:5px 9px;border:2px dashed #5c78bd;border-radius:9px;background:#e8f1ff;display:inline-flex;align-items:center;justify-content:center;gap:5px;color:#425d98;touch-action:manipulation}
.answer-slot.filled{background:#cbf3df;border:2px solid #279270;color:#175745}
.answer-slot.drag-over{border:2px solid #244fc6;box-shadow:0 0 0 3px #8eb5ff}
.answer-slot.wrong{border-color:#b52b65;background:#ffe0eb;color:#8f2452}
.drag-bank{margin-top:12px;padding:8px 11px 10px;border-radius:12px;border:2px solid #a9c4ed;background:#fff8df}
.drag-bank-top{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:7px;font-size:12px;letter-spacing:1px}
.drag-reset{display:inline-flex;align-items:center;gap:5px;font-size:13px;letter-spacing:0;padding:5px 8px;border:1px solid #9eb4e6;border-radius:7px;background:#eef4ff}
.drag-tiles{display:flex;flex-wrap:wrap;gap:7px;min-height:43px}
.drag-tile{display:inline-flex;align-items:center;gap:5px;min-height:43px;padding:6px 10px;border:2px solid #263b75;border-radius:9px;background:#ffcfed;font-size:clamp(15px,1.52vw,22px);font-weight:700;color:#19295b;cursor:grab;touch-action:none;user-select:none;box-shadow:0 2px 0 #3045794d}
.drag-tile[data-color="1"]{background:#b0f0dc}
.drag-tile[data-color="2"]{background:#ffe08a}
.drag-tile[data-color="3"]{background:#c8e2ff}
.drag-tile.selected{outline:3px solid #1d4acb;outline-offset:1px}
.drag-tile.drag-ghost{position:fixed;z-index:120;pointer-events:none;transform:translate(-50%,-50%) rotate(-3deg);background:#ffde69;box-shadow:0 5px 14px #15296240}
.drag-feedback{min-height:20px;margin-top:7px;color:#40557e;font-size:14px;font-weight:700}
.drag-feedback.right{color:#17674d}.drag-feedback.wrong{color:#9e2953}

.story-video-layer[hidden]{display:none}

/* Keep the word bank and every drop target on a 720p projection. */
@media(min-width:851px) and (max-height:820px){
 .slide-textA{padding-top:14px;padding-bottom:8px}
 .slide-textA .section-title{margin-bottom:8px}
 .slide-textA .section-title h1{margin-top:5px}
 .slide-textA .section-title h1::after{margin-top:6px}
 .slide-textA .section-title p{margin-top:5px}
 .drag-instruction{margin-bottom:6px}
 .drag-instruction>b{padding:1px 8px}
 .drag-sentences{gap:4px}
 .drag-sentences>div{padding-block:3px}
 .drag-bank{margin-top:7px;padding-block:5px 7px}
 .drag-bank-top{margin-bottom:4px}
 .drag-reset{padding:3px 7px}
}

/* Navigation targets stay still, even while the active step is highlighted. */
.phase-nav button:hover{transform:none;box-shadow:0 0 0 2px #3c567a}
.phase-nav button.active,.phase-nav button.active:hover{transform:none;border-width:2px;box-shadow:0 0 0 2px #fffaf0,0 0 0 4px #394f78,0 5px 0 #394f78}
.lesson-toolbar .page-nav{margin:0;gap:5px;flex-shrink:0}
.lesson-toolbar .page-nav button{width:auto;min-width:44px;height:41px;padding:0 8px;display:inline-flex;align-items:center;justify-content:center;gap:3px;color:#283d6c;border:1px solid #a4b8df;font-size:13px;font-weight:700;white-space:nowrap}
.lesson-toolbar .page-nav button:last-child{background:#dce9f9}
@media(max-width:1000px){.lesson-toolbar .page-nav button span{display:none}.lesson-toolbar .page-nav button{min-width:36px;padding:0 5px;height:36px}}
@media(max-width:600px){.lesson-toolbar .page-nav button{min-width:32px;height:34px}.lesson-toolbar .page-nav button svg{width:17px}}

.warmup-draw .lane.scanning{z-index:1;border-color:#986013;box-shadow:0 0 0 3px #fff7cd,0 0 0 7px #e49b28,0 5px 15px #7f51184f}
.warmup-draw .lane.scanning header{background:#ffdd60;color:#35230d}
.warmup-draw .lane.scanning header small{color:#4f3b15}
.draw-cursor{position:absolute;z-index:2;top:6px;right:7px;display:grid;place-items:center;width:35px;height:35px;border-radius:10px;border:2px solid #742e1c;background:#fffbce;color:#ad401f;box-shadow:0 2px 0 #742e1c60;animation:draw-cursor-bob .36s ease-in-out infinite alternate}
@keyframes draw-cursor-bob{from{transform:translateY(-2px)}to{transform:translateY(4px)}}
.draw-card .draw-picture-fallback{display:grid;place-items:center;width:100%;height:100%;font-size:60px;background:#f8edca}
@media(max-width:850px){.draw-cursor{width:25px;height:25px;right:4px;top:4px}.draw-cursor svg{width:17px}}
@media(prefers-reduced-motion:reduce){.draw-cursor{animation:none}}

/* The footer keeps projection pages and their activities on one line on wide screens. */
.lesson-page-position{display:flex;align-items:center;gap:10px;min-width:0;flex:1}
.lesson-page-position .page-title{flex:none}
.activity-nav{display:flex;align-items:center;gap:5px;overflow-x:auto;min-width:0;padding:4px 3px;scrollbar-width:thin}
.activity-nav button{
 display:inline-flex;align-items:center;gap:4px;flex:none;min-height:36px;padding:4px 7px;
 border:1px solid #9fb9d4;border-radius:8px;background:#e2effc;color:#214871;
 font-weight:700;font-size:clamp(11px,1.12vw,17px);white-space:nowrap
}
.activity-nav button b{min-width:18px;padding:1px 3px;border-radius:5px;background:#fff9e7;text-align:center}
.activity-nav button[aria-current="step"]{border-color:#517da1;background:#ffedaa;box-shadow:0 2px 0 #6887a6}
.activity-nav button[aria-current="step"] b{background:#2e5377;color:#fff}
.activity-nav button:hover{border-color:#3d6386}
@media(max-width:1080px){.lesson-page-position:has(.activity-nav) .page-title{display:none}}
@media(max-width:850px){
 .lesson-toolbar:has(.activity-nav){display:grid;grid-template-columns:auto auto minmax(0,1fr);height:auto;padding-block:5px;row-gap:1px}
 .lesson-toolbar .lesson-page-position:has(.activity-nav){grid-column:1/-1;grid-row:2}
 .lesson-toolbar:has(.activity-nav) .toolbar-actions{grid-column:3;grid-row:1}
 .activity-nav button{font-size:14px}
}

/* Keep the lesson title visible and let the stage use more projection space. */
.teacher-app .brand>div{font-size:clamp(18px,1.65vw,25px);letter-spacing:0;line-height:1.1}
.teacher-app .brand small{font-size:clamp(11px,1.02vw,15px);font-weight:700;letter-spacing:.2px;margin-top:5px}
@media(min-width:1151px){.teacher-app .phase-nav button{padding-inline:clamp(17px,1.6vw,27px)}}
@media(min-width:851px){.teacher-app .lesson-toolbar{height:56px;padding:4px 16px;gap:10px}}
@media(max-width:600px){.teacher-app .brand>div{font-size:19px}.teacher-app .brand small{font-size:11px}}

.big-question-slide{height:100%;min-height:480px;padding:14px 18px;background:linear-gradient(90deg,#e3f2d9 25%,#fae1e6 25% 50%,#fed698 50% 75%,#d6f3f0 75%)}
.big-question-paper{height:100%;position:relative;background:#fff;border:3px dashed #ffc000;outline:8px solid white;border-radius:28px;padding:18px 22px;box-shadow:0 4px 16px #0002;display:flex;flex-direction:column;gap:14px}
.big-question-paper>h1{font-family:Georgia,'Times New Roman',serif;font-style:italic;font-size:clamp(30px,3.2vw,52px);line-height:1.1;color:#000}
.big-question-layout{flex:1;min-height:0;display:grid;grid-template-columns:1fr 1.4fr 1fr;gap:12px;align-items:center}
.big-question-scenes{height:100%;min-height:0;display:grid;grid-template-rows:1fr 1fr;overflow:hidden}
.big-question-scenes>img{display:block;width:100%;height:100%;min-height:0;object-fit:cover}
.big-question-bubble{position:relative;aspect-ratio:550/420;width:100%;isolation:isolate}
.big-question-bubble>img{width:100%;height:100%;display:block}
.big-question-bubble>h2{border-radius:18px;position:absolute;left:11%;top:54%;width:79%;height:34%;margin:0;display:flex;align-items:center;justify-content:center;text-align:center;background:#fff;color:#000;font-family:Georgia,'Times New Roman',serif;font-weight:400;font-size:clamp(24px,2.6vw,45px);line-height:1.2}
@media(max-width:850px){.big-question-slide{padding:12px}.big-question-paper{padding:12px;gap:12px}.big-question-layout{grid-template-columns:1fr 2.5fr 1fr;gap:6px}.big-question-bubble>h2{font-size:clamp(17px,3vw,28px)}}

.hero-book>.cover-season-art{aspect-ratio:3/2}
.big-question-scenes>.season-landmark-art{min-height:0;overflow:hidden}