/* A small in-world HMI invitation, never a modal or an extra control layer. */
.scene-touchpoint {
  --cue-color: #c7ffe0;
  --cue-x: 49%;
  --cue-y: 71%;
  position: absolute;
  z-index: 4;
  left: var(--cue-x);
  top: var(--cue-y);
  display: flex;
  align-items: center;
  pointer-events: none;
  color: var(--cue-color);
  opacity: .94;
  transform: translate(-15px, -50%);
  filter: drop-shadow(0 2px 12px rgba(0, 0, 0, .9));
  transition: opacity .45s ease, transform .45s ease;
}
.touchpoint-reticle {
  position: relative;
  width: 27px;
  height: 27px;
  flex: none;
  display: grid;
  place-items: center;
  border: 1px solid currentColor;
  transform: rotate(45deg);
  animation: touchpoint-breathe 2.9s ease-in-out infinite;
}
.touchpoint-reticle::after {
  content: '';
  position: absolute;
  inset: -5px;
  border: 1px solid currentColor;
  opacity: .18;
}
.touchpoint-reticle i {
  display: block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 13px currentColor;
}
.touchpoint-line {
  width: 35px;
  height: 1px;
  flex: none;
  margin: 0 9px 0 8px;
  background: linear-gradient(90deg, currentColor, transparent);
  opacity: .78;
}
.touchpoint-readout {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 118px;
  gap: 5px;
  text-transform: uppercase;
  white-space: nowrap;
  font-family: var(--mono);
  letter-spacing: .1em;
  text-shadow: 0 1px 9px #020506, 0 1px 18px #020506;
}
.touchpoint-readout small {
  font-size: 9px;
  color: #b7c8c9;
  opacity: .88;
}
.touchpoint-readout strong {
  font-weight: 500;
  font-size: 11px;
  letter-spacing: .105em;
}
.hero-stage:hover .scene-touchpoint,
.hero-stage:focus-within .scene-touchpoint,
.viewer-render:hover .scene-touchpoint,
.viewer-render:focus-within .scene-touchpoint {
  opacity: 1;
  transform: translate(-15px, -50%) scale(1.04);
}
.hero-stage.has-interacted .scene-touchpoint,
.viewer-render.has-interacted .scene-touchpoint,
.viewer-render.is-original .scene-touchpoint {
  opacity: 0;
  visibility: hidden;
}
@keyframes touchpoint-breathe {
  0%, 100% { box-shadow: 0 0 0 0 rgba(185, 250, 217, .1); opacity: .7; }
  50% { box-shadow: 0 0 14px 1px rgba(185, 250, 217, .26); opacity: 1; }
}
@media(max-width: 760px) {
  .scene-touchpoint { left: auto; right: 23px; top: auto; bottom: 19%; transform: translateY(50%); }
  .touchpoint-reticle { width: 17px; height: 17px; }
  .touchpoint-line { width: 21px; margin-left: 8px; margin-right: 6px; }
  .touchpoint-readout { min-width: 90px; }
  .touchpoint-readout small { font-size: 7px; }
  .touchpoint-readout strong { font-size: 8px; }
  .hero-stage:hover .scene-touchpoint,
  .hero-stage:focus-within .scene-touchpoint,
  .viewer-render:hover .scene-touchpoint,
  .viewer-render:focus-within .scene-touchpoint { transform: translateY(50%); }
}
@media(prefers-reduced-motion: reduce) {
  .touchpoint-reticle { animation: none; }
  .scene-touchpoint { transition: none; }
}
body.motion-off .touchpoint-reticle { animation: none; }
