/* Editorial rhythm: square beats and wide establishing/concluding panels. */
.gibi-grid{gap:9px}.panoramic{grid-column:1/-1}.panoramic .q-visual{aspect-ratio:2.12}.panoramic .q-caption{min-height:0}
.focus-panel.panoramic .q-visual{aspect-ratio:1}
.gibi-sheet:not(.focus-sheet) .q-caption{font-size:12px;line-height:1.3;min-height:44px}
.q-label{max-width:95%}.gibi-sheet{border-radius:2px;background:#fff5df}
#comicTrack{cursor:grab;user-select:none;scrollbar-width:none}#comicTrack.is-dragging,#comicTrack.is-dragging *{cursor:grabbing!important}.is-dragging .scene-open span{display:none}
.scene-open:focus-visible{outline:4px solid #a63b1b;outline-offset:-5px}
.inline-scene-nav{left:-48px;right:-48px}.inline-scene-nav button{width:44px;height:48px}
.scene-return{top:0;min-height:38px;min-width:104px;padding:5px 7px;border:0;font-size:11px}.focus-sheet .sheet-title{height:30px;line-height:25px}
.reading-comic #experienceControls #motionToggle{min-height:44px;min-width:96px;font-size:11px}
.reading-dock input{height:20px;cursor:pointer}.reading-dock{gap:3px;padding:9px 20px}
.focus-panel .q-caption{font-size:14px;line-height:1.4}.focus-panel .q-label{font-size:13px}
.focus-panel .q-balloon{font-size:17px;line-height:1.25}
/* Registered poses; the quiet scenes retain gentle ambient movements. */
.pose-frames{position:absolute;left:50%;top:0;transform:translateX(-50%);aspect-ratio:1;width:auto;height:100%;background-size:200% 200%;background-position:0 0;background-repeat:no-repeat;animation:drawn-poses 3.2s steps(1,end) infinite;animation-play-state:paused}
.scene-visible .pose-frames,.expanded-scene .pose-frames{animation-play-state:running}
.inline-reading .q-visual:not(.expanded-scene) .pose-frames{animation-play-state:paused}
.walk-performance{animation-duration:1.5s}.armor-performance{animation-duration:3.6s}.sling-performance{animation-duration:1.6s}
.has-performance>.layer-motion{animation:none;transform:none}
@keyframes drawn-poses{0%,100%{background-position:0 0}25%{background-position:100% 0}50%{background-position:0 100%}75%{background-position:100% 100%}}
[data-mood=prayer] .layer-tree,[data-mood=prayer] .layer-grass,[data-mood=prayer] .layer-sheep{filter:brightness(.68) saturate(.75) hue-rotate(12deg)}
[data-mood=poetry] .layer-tree{filter:sepia(.15) saturate(.85)}
body.motion-paused .pose-frames{animation-play-state:paused!important}
@media(prefers-reduced-motion:reduce){.pose-frames{animation:none!important}}
@media(max-width:760px){.inline-scene-nav{left:-20px;right:-20px}.inline-scene-nav button{width:44px;height:44px;background:#fff5dff2}.scene-return{font-size:10px;min-width:100px;min-height:38px}.focus-sheet .sheet-title{padding-right:100px;font-size:8px}.gibi-sheet:not(.focus-sheet) .q-caption{font-size:12px}.focus-panel .q-balloon{font-size:15px}.focus-panel .q-caption{font-size:14px}.reading-dock{width:calc(100vw - 132px);max-width:310px}.reading-comic #experienceControls #motionToggle{min-width:96px}}
@media(max-height:500px) and (min-width:600px){
.reading-comic header{height:44px;padding:4px 3%}.reading-comic .reader-top{top:5px}.reading-comic #comicStage{height:calc(100dvh - 44px)}
#comicTrack{height:calc(100% - 60px);padding-top:7px;padding-bottom:7px;align-items:center}.gibi-sheet{width:700px;align-self:center;padding:7px}.gibi-grid{grid-template-columns:repeat(4,1fr);gap:7px}.sheet-title{height:20px;line-height:16px}.gibi-sheet:not(.focus-sheet) .q-caption{font-size:11px;min-height:58px}.q-label{font-size:9px}
.focus-sheet{width:500px}.focus-sheet .gibi-grid{display:block}.focus-panel{display:grid;grid-template-columns:190px 1fr}.focus-panel .q-visual{width:190px;aspect-ratio:1}.focus-panel .q-caption{border-top:0;border-left:2px solid #30263b;display:flex;align-items:center;font-size:14px;padding:16px}.focus-panel .q-balloon{font-size:12px;padding:6px 8px}.focus-panel .q-label{font-size:10px}.focus-sheet .sheet-title{height:30px}.scene-return{min-height:30px}
.reading-dock{bottom:5px;padding:6px 18px}.scroll-hint{display:none}.reading-comic #experienceControls{bottom:8px}.gibi-end{align-self:center;font-size:11px;padding:12px}.gibi-end h2{font-size:22px;margin:6px}
}
@media(max-height:500px) and (min-width:600px){.panoramic{grid-column:span 2}.gibi-sheet:not(.focus-sheet) .q-caption{min-height:64px}}
.panoramic:not(.focus-panel) [data-scene="7"] .layer-character{left:-25%!important;top:0!important;height:135%!important}
