/* Embedded dialog viewport budget; full rendered composition stays contained. */
:is(html.embedded,html[data-astrascape-embedded]) smooth-artwork-viewer{--art-aspect:auto!important;--art-height:min(56.25vw,max(180px,calc(100dvh - 275px)));--art-mobile-height:min(56.25vw,max(160px,calc(100dvh - 325px)))}
html[data-astrascape-embedded] .artwork-inline .popup-heading{display:none}
html[data-astrascape-embedded] .artwork-inline .popup-body{padding:1rem}

/* Embedded height must not let the viewer’s inline aspect ratio narrow the stage. */
