/* Six independent study questions, the poem and Suzhou scene form one illustration page. */
.aligned-poem-layout[data-aligned-poem=flowers]{grid-template-columns:1fr 1.08fr;gap:18px}
.aligned-poem-layout[data-aligned-poem=flowers] .aligned-poem-scene{background:#fcf8ed}
.shihu-summer-scene{position:absolute;inset:auto 0 0;height:53%;overflow:hidden;pointer-events:none;mask-image:linear-gradient(transparent,#000 9%)}
.shihu-summer-scene>img{width:100%;height:100%;object-fit:cover;object-position:center 64%}
.shihu-summer-scene>svg{position:absolute;inset:0;width:100%;height:100%;overflow:visible}
.shihu-scene-label{position:absolute;right:14px;bottom:10px;font:700 20px/1.15 var(--lesson);color:#315c59;background:#fff9e7d9;border-radius:18px;padding:4px 12px}
.aligned-poem-layout[data-aligned-poem=flowers] .aligned-poem-verse{height:49%;padding:7px 8px 0;justify-content:space-evenly}
.aligned-poem-layout[data-aligned-poem=flowers] .aligned-poem-verse h2{font-size:39px;margin:0 0 3px}
.aligned-poem-layout[data-aligned-poem=flowers] .aligned-poem-verse h2 small{font-size:22px;margin-top:4px}
.aligned-poem-layout[data-aligned-poem=flowers] .aligned-poem-verse p{font-size:35px;letter-spacing:2px;line-height:1.2}
.aligned-poem-layout[data-aligned-poem=flowers] .aligned-poem-task{padding:0 0 30px}
.aligned-poem-layout[data-aligned-poem=flowers] .poem-study-clock{font-size:25px;height:27px}
.aligned-poem-layout[data-aligned-poem=flowers] .aligned-task-rows{gap:3px;justify-content:space-evenly}
.aligned-poem-layout[data-aligned-poem=flowers] .aligned-task-rows>section{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:3px 9px;padding:5px 9px;align-items:center}
.aligned-poem-layout[data-aligned-poem=flowers] .aligned-task-rows p,.aligned-poem-layout[data-aligned-poem=flowers] .poem-frame-gap b{font-size:31px;line-height:1.15;white-space:normal}
.aligned-poem-layout[data-aligned-poem=flowers] .poem-frame-gap{min-width:87px}
.aligned-task-rows .poem-word-gloss{display:inline;font:400 19px/1 var(--lesson);color:#7f6e50;margin:0 3px 0 0;white-space:nowrap}
.aligned-task-rows .poem-choice-note{font:400 18px/1.1 var(--lesson);color:#7c8279;margin:0;grid-column:1/-1}
.aligned-poem-layout[data-aligned-poem=flowers] .study-choice-row{flex-direction:column;gap:4px}
.aligned-poem-layout[data-aligned-poem=flowers] .study-choice-row button{font-size:23px;min-height:28px;line-height:1.05;padding:3px 10px}
.dragonfly-flight{animation:shihu-fly 8s ease-in-out infinite;transform-box:fill-box;transform-origin:center}
.dragonfly-two .dragonfly-flight{animation-delay:-3s;animation-duration:10s}
.dragonfly-wings{animation:shihu-wings .1s linear infinite alternate;transform-box:fill-box;transform-origin:center}
.shihu-water{animation:shihu-water 5s ease-in-out infinite alternate}
@keyframes shihu-fly{0%,100%{transform:translate(-26px,4px) rotate(-7deg)}35%{transform:translate(42px,-20px) rotate(9deg)}70%{transform:translate(63px,9px) rotate(-4deg)}}
@keyframes shihu-wings{from{transform:scaleY(.48)}to{transform:scaleY(1)}}
@keyframes shihu-water{from{opacity:.25;transform:translateX(-5px)}to{opacity:.7;transform:translateX(7px)}}
.disabled-motion :is(.dragonfly-flight,.dragonfly-wings,.shihu-water){animation-play-state:paused}
@media(prefers-reduced-motion:reduce){.dragonfly-flight,.dragonfly-wings,.shihu-water{animation:none}}
.narrow-projection .aligned-poem-layout[data-aligned-poem=flowers]{grid-template-columns:1fr 1fr;gap:14px}
.narrow-projection .aligned-poem-layout[data-aligned-poem=flowers] .aligned-poem-verse p{font-size:31px;letter-spacing:1px}
.narrow-projection .aligned-poem-layout[data-aligned-poem=flowers] .aligned-poem-verse h2{font-size:35px}
.narrow-projection .aligned-poem-layout[data-aligned-poem=flowers] .aligned-task-rows>section{grid-template-columns:1fr;gap:3px;padding:3px 8px}
.narrow-projection .aligned-poem-layout[data-aligned-poem=flowers] .study-choice-row{flex-direction:row}
.narrow-projection .aligned-poem-layout[data-aligned-poem=flowers] .study-choice-row button{font-size:22px}
.narrow-projection .aligned-poem-layout[data-aligned-poem=flowers] .aligned-task-rows p,.narrow-projection .aligned-poem-layout[data-aligned-poem=flowers] .poem-frame-gap b{font-size:29px}
/* Keep both choices on one horizontal line so all six rows have room. */
.aligned-poem-layout[data-aligned-poem=flowers] .study-choice-row{flex-direction:row;gap:7px;flex-wrap:nowrap}
.aligned-poem-layout[data-aligned-poem=flowers] .study-choice-row button{white-space:nowrap;font-size:23px;padding:3px 9px}
.aligned-poem-layout[data-aligned-poem=flowers] .aligned-task-rows>section{min-height:0;flex-shrink:0;padding:3px 8px}
.aligned-poem-layout[data-aligned-poem=flowers] .aligned-task-rows{justify-content:space-between}
.aligned-poem-layout[data-aligned-poem=flowers] .poem-choice-note{grid-column:1;line-height:1;margin-top:0}
.aligned-poem-layout[data-aligned-poem=flowers] .aligned-poem-task{padding-bottom:54px}
.slide:has([data-aligned-poem=flowers]) .teaching-sound{bottom:13px;right:36px}
.aligned-poem-layout[data-aligned-poem=flowers] .poem-frame-gap{vertical-align:top}

.aligned-poem-layout[data-aligned-poem=flowers] .aligned-poem-task{padding-bottom:62px}
.village-home-scene>img.art{object-fit:cover!important;object-position:center 75%!important}
