/* Shared scene affordances. Keep the existing furniture and hit-area geometry. */
.camera > a.hotspot[href]::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: clamp(18px, 2.1vw, 30px);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 2px solid rgb(255 218 139 / 78%);
  background: rgb(240 190 86 / 26%);
  box-shadow: 0 0 15px 4px rgb(246 194 87 / 35%), inset 0 0 9px rgb(255 232 172 / 36%); /* taste-skill-ignore: user-requested golden light cursor */
  pointer-events: none;
  transform: translate(-50%, -50%);
  animation: hotspot-hint-float 2800ms cubic-bezier(.77, 0, .175, 1) infinite;
}

/* Static white text above each object; no plaque, underline or hover fill. */
.camera > a.hotspot[href] > span,
.camera > a.hotspot[href]:hover > span,
.camera > a.hotspot[href]:focus-visible > span {
  display: block;
  position: absolute;
  left: 50%;
  top: 0;
  width: max-content;
  max-width: 100%;
  padding: 0;
  border: 0;
  background: none;
  color: #fff;
  font-size: clamp(10px, 1.1vw, 15px);
  font-weight: 600;
  line-height: 1.45;
  text-align: center;
  white-space: normal;
  overflow-wrap: anywhere;
  text-shadow: 0 1px 3px #10170e, 0 0 5px #30230d, 0 0 9px #e9b951, 0 0 17px rgb(242 194 98 / 85%); /* taste-skill-ignore: user-requested glowing white labels */
  transform: translate(-50%, calc(-100% - var(--hotspot-label-gap, 12px)));
  animation: none;
  transition: none;
}

.camera > a.hotspot[href] > span > b {
  display: none;
}

@keyframes hotspot-hint-float {
  0%, 100% { transform: translate(-50%, calc(-50% + 3px)) scale(.92); opacity: .7; }
  50% { transform: translate(-50%, calc(-50% - 3px)) scale(1.08); opacity: 1; }
}

/* Freeze decorative hints while the shell owns an opening/reading/closing flow. */
#scene-shell[data-modal-module] .hotspot::after {
  animation-play-state: paused;
  visibility: hidden;
}

@media (max-width: 520px) {
  /* Keep all five object hints present alongside the existing mobile shortcuts. */
  .camera > a.hotspot-campaign[href] { display: flex; }
  .camera > a.hotspot[href] { --hotspot-label-gap: 7px; }
}

/* Preserve the production full-motion policy; system mode has a static hint. */
@media (prefers-reduced-motion: reduce) {
  html:not([data-motion="full"]) .camera > a.hotspot[href]::after {
    animation: none;
    transform: translate(-50%, -50%);
    opacity: .85;
  }
}
