/* The deep zoom: one full-screen canvas (never CSS-scaled; captions and the meter are drawn on it, because
   any DOM box on top of a canvas that redraws every frame doubles the repaint work) and, once the zoom
   has settled, the real SURPRISE button. */
.scr-zoom {
  position: absolute;
  inset: 0;
  min-height: 0;
  padding: 0;
  gap: 0;
  overflow: hidden;
  touch-action: manipulation; /* quick (missed) taps must never double-tap-zoom the page */
}

/* The first frame repeats the wheel screen exactly (same wheel, banner and wallpaper), so it must not
   fade in or slide like other screens do: that would make the wheel blink out and back in. */
.scr-zoom.is-in {
  animation: none;
}

.scr-zoom__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

/* the real button: an invisible 160 x 88 tap area over the tiny drawn one */
.scr-zoom__surprise {
  position: absolute;
  z-index: 3;
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  color: transparent;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.scr-zoom__surprise:focus-visible {
  outline: 3px dashed var(--ink);
  outline-offset: -24px;
}
