/* A complete image owns both background and playable geometry. Fit the whole
   frame in wide landscape cards, phone cards, inspection and room previews. */
.stage-preview175{position:relative;display:block;width:100%;height:100%;min-width:0;min-height:0;overflow:hidden;background:#101923;isolation:isolate}
.stage-preview175>.arena-layout{position:absolute;inset:0;display:block;width:100%;height:100%;max-width:100%;max-height:100%;z-index:0;filter:none}
.stage-preview175>.arena-stage-image175{position:absolute;inset:0;display:block;width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain;object-position:center;z-index:1;user-select:none;-webkit-user-drag:none}
/* Runtime captures from older clients cannot erase the complete stage image. */
.arena-card-scene.captured-stage .arena-stage-image175{visibility:visible;opacity:1}
/* Card height comes from aspect-ratio: remove the wrapper from intrinsic
   layout too, instead of relying on percentage height through another span. */
.arena-card-scene>.stage-preview175{position:absolute;inset:0;width:100%;height:100%}

.stage-preview175>.arena-stage-image175[hidden]{display:none}
/* The inspector shows the same verified complete stage as its card and room
   preview. A runtime canvas is never allowed to cover it with a backdrop. */
#stageDialog #arenaPreview{z-index:1}
#stageDialog #stageViewport{visibility:hidden}
