/* Keep the learning content spacious while its next action remains within reach. */
.dialog-shell.lesson-result{display:flex;flex-direction:column;max-height:calc(100dvh - 36px);box-sizing:border-box}
.lesson-result>.dialog-top{flex:none;margin-bottom:12px}
.result-reading{min-height:0;min-width:0;max-width:100%;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable;padding:2px 5px 12px;outline-offset:-3px}
.result-reading .source-link{display:block;width:100%;min-width:0;max-width:100%;box-sizing:border-box;white-space:normal;overflow-wrap:anywhere;word-break:normal}
.result-reading .curriculum-note a{display:block;min-width:0;max-width:100%;white-space:normal;overflow-wrap:anywhere;word-break:normal}
.result-reading .source-link .auto-ruby,.result-reading .curriculum-note a .auto-ruby{white-space:normal}
.result-footer{flex:none;border-top:1px solid #e3e8d9;background:#fffdf7;padding-top:10px}
.result-footer>.result-actions{margin-top:6px}
.result-footer>.result-reading-guide{font-size:11px;line-height:1.8;text-align:center;margin:0;color:#657b5a}
.play-start{position:sticky;top:0;z-index:6;box-shadow:0 3px 12px #526b3620}
.wardrobe-tabs{position:sticky;top:0;z-index:6;background:#fffdf7;padding:7px 0}
.living-actor.is-selected .living-pet-name{background:#e0edcb;box-shadow:0 0 0 2px #6e9954}
@media(max-width:730px){.dialog-shell.lesson-result{max-height:calc(100dvh - 22px);padding:15px 13px}.lesson-result>.dialog-top h2{font-size:15px}.result-footer>.result-reading-guide{font-size:10px}.result-reading{padding-left:1px;padding-right:3px}}
@media(max-height:450px){.dialog-shell.lesson-result{padding-top:8px;padding-bottom:8px}.lesson-result>.dialog-top{margin-bottom:3px}.result-footer>.result-reading-guide{display:none}.result-footer{padding-top:5px}}
