.pano-viewport {
  isolation: isolate;
  perspective: none;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  background-size: cover;
  background-position: center;
}
.pano-viewport > .tour-gl, .tour-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.tour-layer { overflow: hidden; }
.tour-perspective {
  position: absolute;
  inset: 0;
  perspective-origin: 50% 50%;
}
.tour-cube {
  position: absolute;
  top: 50%;
  left: 50%;
  transform-origin: 0 0;
  transform-style: preserve-3d;
}
.tour-face {
  position: absolute;
  /* Extend past the shared edge so separately antialiased CSS layers stay opaque. */
  --edge: 1028px;
  width: var(--edge);
  height: var(--edge);
  left: calc(var(--edge) / -2);
  top: calc(var(--edge) / -2);
  max-width: none;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  -webkit-user-drag: none;
}
.tour-gl[hidden], .tour-layer[hidden] { display: none; }
@media (max-height: 540px) {
  .tour-face { --edge: 1032px; }
}
