/* The drawing and the consequence share an open spread. */
#main-content .level-preview img { width:30%; height:100%; object-fit:contain }
#main-content.intro-shell .start-copy h1 {font-size:clamp(40px,5.4vw,76px);line-height:.97;letter-spacing:-.035em;text-wrap:balance}
#main-content.intro-shell .intro-description {max-width:35ch;line-height:1.5}
#main-content.intro-shell .level-choice .pill {min-height:86px}
#main-content .intro-example img {object-fit:contain}
.exercise-nav :is(.exercise-back,.exercise-settings), #main-content :is(.play-back,.play-settings,.speaker){min-width:56px;min-height:56px}
#main-content .game-field {width:100%;max-width:none;min-height:0;margin:0;padding:0;border:0;box-shadow:none;background:none;display:grid;place-items:center}
.experiment {width:min(94%,780px);display:grid;gap:clamp(14px,3vh,32px);align-content:center;justify-items:center}
.vignette {display:flex;align-items:center;justify-content:center;gap:clamp(16px,4vw,48px);width:100%}
.still-life {position:relative;flex:0 1 220px;min-width:0;display:grid;place-items:center}
.still-life .subject {width:100%;height:clamp(102px,22vh,185px);object-fit:contain}
.detail {position:absolute;right:-4%;bottom:0;width:42%;height:52%}
.detail img {width:100%;height:100%;object-fit:contain}
.scene-copy {flex:0 1 360px;text-align:left}
.scene-copy h2,.takeaway h2 {font:550 clamp(19px,2.3vw,28px)/1.15 var(--font);margin:0 0 10px}
.scene-copy p,.takeaway p {font:400 clamp(16px,1.65vw,20px)/1.45 var(--font);margin:0;color:var(--text-muted);text-wrap:pretty}
.phase-scene .scene-copy {flex-basis:100%;text-align:center;min-height:3em}
.phase-scene .vignette {order:2}
.pick-row {display:flex;align-items:stretch;justify-content:center;gap:clamp(12px,3vw,38px);max-width:100%}
.choice,.open-event {position:relative;display:grid;justify-items:center;align-content:center;gap:7px;border:1px solid var(--practice-edge);border-radius:14px;background:var(--practice-surface);color:var(--text);line-height:1.22}
.choice {width:clamp(110px,16vw,174px);min-height:124px;padding:12px 7px;font-size:clamp(14px,1.5vw,17px)}
.choice img {width:100%;height:clamp(58px,10vh,86px);object-fit:contain}
.phase-scene .choice {width:clamp(120px,19vw,205px);min-height:150px}
.phase-scene .choice img {height:clamp(80px,16vh,134px)}
.open-event {grid-template-columns:auto auto;align-items:center;min-height:76px;min-width:132px;padding:8px 22px}
.open-event img {height:62px;width:60px;object-fit:contain;grid-row:1/3}
.open-event .ui-symbol {width:27px;height:27px}
.choice i {position:absolute;top:5px;right:5px;color:var(--success);visibility:hidden;background:var(--panel-left);border-radius:50%}
.choice i .ui-symbol {width:23px;height:23px;stroke-width:3}
.choice[aria-pressed=true] {outline:2px solid var(--success);outline-offset:-2px;background:var(--panel-left)}
.choice[aria-pressed=true] i {visibility:visible}
.choice:disabled {opacity:1}
.choice:enabled:active,.open-event:active {transform:translateY(1px)}
#main-content .done {gap:clamp(5px,1.6vh,16px)}
#main-content .done h1 {font-family:Newsreader,Georgia,serif}
.takeaway {text-align:center;width:min(94vw,520px);margin:auto}
.takeaway h2 {font-size:clamp(20px,3vw,30px)}
.takeaway-art {display:flex;align-items:center;justify-content:center;gap:16px;margin:0 auto 10px}
.takeaway-art img {width:clamp(54px,8vw,95px);height:clamp(46px,8vh,76px);object-fit:contain}
#main-content .done #done-summary p {margin:0;font-size:14px}
#main-content .done .next-exercise {margin:0}
[data-size=large] :is(.scene-copy p,.choice,.takeaway p) {font-size:1.18rem}
[data-nowords=true] :is(.scene-copy,.choice-label,.takeaway h2,.takeaway p) {visibility:hidden}
[data-motion=none] :is(.choice,.open-event) {transform:none}
@media (min-width:760px) and (min-aspect-ratio:5/4){
#main-content.intro-shell .exercise-start {display:grid;grid-template-columns:1.05fr 1fr;gap:clamp(28px,5vw,75px);width:min(95%,1140px);align-items:center}
#main-content.intro-shell .start-mark img {width:100%;height:auto;max-height:50dvh}
#main-content.intro-shell .start-copy {justify-items:start;text-align:left;gap:12px}
#main-content.intro-shell .level-choice>p {text-align:left}
}
@media (max-width:600px){
#main-content.intro-shell .start-mark img {width:72vw;height:clamp(135px,24dvh,205px)}
#main-content.intro-shell .start-copy h1 {font-size:clamp(38px,10vw,52px)}
#main-content .instruction {font-size:clamp(17px,4.7vw,22px);line-height:1.1}
#main-content .instruction-row {gap:2px}
#main-content .task-pictogram .ui-symbol {width:26px}
.experiment {width:100%;gap:16px}
.vignette {flex-direction:column;gap:7px}
.still-life {flex:0 0 auto;width:48%}
.still-life .subject {height:clamp(75px,15vh,128px)}
.scene-copy {flex:auto;text-align:center;max-width:34ch}
.scene-copy h2 {margin:0 0 4px}
.pick-row {width:100%;gap:7px}
.choice,.phase-scene .choice {width:min(31%,145px);min-height:99px;padding:8px 3px;font-size:14px}
.choice img,.phase-scene .choice img {height:clamp(46px,9vh,76px)}
.phase-scene .scene-copy {flex:auto}
#main-content .done .next-exercise img {height:48px;width:auto}
}
@media (max-height:540px) and (orientation:landscape){
#main-content.intro-shell .exercise-start {display:grid;grid-template-columns:1fr 1.5fr;width:93%;gap:8px}
#main-content.intro-shell .start-copy {gap:4px}
#main-content.intro-shell .start-mark img {width:100%;height:47dvh}
#main-content.intro-shell .start-copy h1 {font-size:32px}
#main-content.intro-shell .intro-hint {display:none}
#main-content.intro-shell .level-choice .pill {min-height:56px;padding:3px 6px}
#main-content.intro-shell .level-preview {display:none}
#main-content .play-scene {display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px}
.experiment {display:flex;align-items:center;justify-content:center;width:97%;gap:18px}
.vignette {flex:1;gap:7px}
.still-life {flex:0 1 80px}
.still-life .subject {height:70px}
.scene-copy h2 {font-size:16px;margin:0 0 3px}
.scene-copy p {font-size:14px;line-height:1.24}
.pick-row {gap:7px;flex:1}
.choice,.phase-scene .choice {width:clamp(87px,12vw,116px);min-height:70px;font-size:13px;gap:2px;padding:4px}
.choice img,.phase-scene .choice img {height:40px}
.phase-scene .scene-copy {min-height:0}
.phase-scene .vignette {order:0}
#main-content .done {display:grid;grid-template-columns:1fr 1.2fr;align-items:center;justify-items:center;gap:4px 20px}
#main-content .done .takeaway {width:auto;grid-column:2;grid-row:1/5}
#main-content .done .next-exercise img {height:28px;width:auto}
}

