html[data-pixel-arrival]::after {
  content: ''; position: fixed; inset: 0; z-index: 2147483647; pointer-events: none;
  background: #173653 url('assets/shore-door.jpg') center / cover no-repeat;
}
#flatThreshold {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  background: #173653 url('assets/shore-door.jpg') center / cover no-repeat;
}
#flatThreshold canvas {
  display: block;
  width: 100%;
  height: 100%;
}
.has3d #flatThreshold,
#flatThreshold[hidden] {
  display: none;
}
/* The still has the same centred 2.4:1, height-regulated composition as
   the real camera. The invisible button covers its door including the jamb. */
body[data-stage=welcome]:not(.has3d) #openDoor {
  --shore-height: max(100svh,41.66667vw);
  left: calc(50% - .141 * var(--shore-height));
  top: calc(50% - .268 * var(--shore-height));
  width: calc(.282 * var(--shore-height));
  height: calc(.531 * var(--shore-height));
}
