/* Discovery hotspots: invisible reveal regions and the command groups they hide. */

.rich-discovery-hotspot {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  user-select: none;
  box-sizing: border-box;
}

.rich-discovery-hotspot--ellipse {
  border-radius: 999px;
}

/* Dev outlines stay invisible (opacity 0 above) until the scene editor's "Edit layout" mode shows them. */
.rich-discovery-hotspot--debug-visible {
  border: 2px dashed rgba(255, 48, 48, 0.92);
  background: rgba(255, 48, 48, 0.08);
  overflow: visible;
}

.rich-discovery-hotspot-debug-label {
  position: absolute;
  top: -1.5rem;
  left: 0;
  display: inline-block;
  padding: 0.12rem 0.38rem;
  border: 1px solid rgba(255, 48, 48, 0.92);
  background: rgba(34, 7, 7, 0.9);
  color: rgba(255, 232, 232, 0.98);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.1;
  white-space: nowrap;
}

.rich-scene-command-group--discoverable {
  --age-discovery-reveal-ms: 5000ms;
}

.rich-scene-command-group--hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  animation: none;
}

.rich-scene-command-group--held {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  animation: none;
}

.rich-scene-command-group--revealed {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  animation: age-discovery-command-fade var(--age-discovery-reveal-ms) linear forwards;
  transition-delay: 0s;
}

@keyframes age-discovery-command-fade {
  from {
    opacity: 1;
  }
  to {
    opacity: 0.18;
  }
}
