/* ==================================================================
   BUSKR: the homepage phone tour, as real app screens you tap through.
   The screens are 1.5.2 simulator captures with the demo roster
   (public/tour/*.webp, built by tools/site/build_tour_shots.py). They sit
   on the same 393 x 845 pt canvas the old HTML replica used, which
   tour.js scales into the phone frame, so nothing outside changed size.
   Tap areas are positioned in percent of the capture (shots.js).
   ================================================================== */
.app.shots {
  position: absolute; left: 0; top: 0; width: 393px; height: 845px;
  transform: scale(0.8193); transform-origin: 0 0;   /* 322px screen / 393pt; tour.js refits */
  background: #fff; overflow: hidden;
  font-family: ui-rounded, "SF Pro Rounded", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
.shots, .shots * { box-sizing: border-box; }
/* The capture is a hair taller than the canvas (1206:2622); it hangs off the bottom, below the tab bar. */
.shots .stage { position: absolute; left: 0; top: 0; width: 393px; height: 854.4px; }
.shots .shot {
  position: absolute; inset: 0; width: 100%; height: 100%; display: block;
  opacity: 0; transition: opacity .26s ease; pointer-events: none;
  -webkit-user-select: none; user-select: none; -webkit-user-drag: none;
}
.shots .shot.on { opacity: 1; }
.shots .hots { position: absolute; inset: 0; }

.shots .hot {
  position: absolute; margin: 0; padding: 0; border: 0; background: none; cursor: pointer;
  border-radius: 14px; -webkit-tap-highlight-color: transparent; touch-action: manipulation;
}
.shots .hot:focus-visible { outline: 3px solid #fff; outline-offset: -3px; box-shadow: 0 0 0 3px #1b6fd6 inset; }
/* a miss on a screen shows, briefly, where the taps are */
.shots .hot::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  background: rgba(74,144,226,0.20); box-shadow: 0 0 0 2px rgba(74,144,226,0.75) inset;
  opacity: 0; transition: opacity .25s ease; pointer-events: none;
}
.shots.nudge .hot::before { opacity: 1; }
.shots.debug .hot::before { opacity: 1; background: rgba(255,0,0,0.16); box-shadow: 0 0 0 2px rgba(255,0,0,0.8) inset; }

/* the one tap each screen is asking for: a soft ring that breathes */
.shots .ring {
  position: absolute; width: 58px; height: 58px; margin: -29px 0 0 -29px; border-radius: 50%;
  box-shadow: 0 0 0 3px #fff, 0 0 0 6px rgba(74,144,226,0.85); pointer-events: none;
  animation: shot-ring 1.8s ease-out infinite;
}
@keyframes shot-ring {
  0% { transform: scale(0.72); opacity: 0; }
  25% { opacity: 1; }
  100% { transform: scale(1.22); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .shots .ring { animation: none; opacity: 0.9; }
  .shots .shot { transition: none; }
}

/* a short word from the tour itself, in the app's label style */
.shots .say {
  position: absolute; left: 50%; bottom: 118px; transform: translate(-50%, 10px);
  max-width: 320px; padding: 10px 16px; border-radius: 16px;
  background: #1f2a55; color: #fff; font-size: 15px; font-weight: 800; line-height: 1.25; text-align: center;
  box-shadow: 0 4px 0 #141c3d, 0 10px 22px rgba(20,28,61,0.28);
  opacity: 0; pointer-events: none; transition: opacity .2s ease, transform .2s ease; z-index: 5;
}
.shots .say.show { opacity: 1; transform: translate(-50%, 0); }
