/* The static and interactive frames share the same projection and footprint. */
.lunar-stage {
  position: relative;
  isolation: isolate;
  width: 100%;
  aspect-ratio: 1;
}
.lunar-stage > picture,
.lunar-stage .lunar-canvas,
.lunar-stage .lunar-still {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.lunar-stage > picture img,
.lunar-stage .lunar-still {
  display: block;
  object-fit: contain;
  width: 100%;
  height: 100%;
}
.lunar-stage .lunar-canvas,
.lunar-stage .lunar-still { visibility: hidden; }
.lunar-stage.is-polar > picture,
.lunar-stage.is-rendered > picture { visibility: hidden; }
.lunar-stage.is-polar .lunar-still,
.lunar-stage.is-rendered .lunar-canvas { visibility: visible; }
.lunar-stage.is-rendered .lunar-still { visibility: hidden; }
/* The close polar view is framed by the same round aperture as the live scene. */
.lunar-stage .lunar-still {
  -webkit-mask-image: radial-gradient(circle closest-side, #000 90%, transparent 99.5%);
  mask-image: radial-gradient(circle closest-side, #000 90%, transparent 99.5%);
}
