/* Navigation (scene link) hotspot: only what is specific to a link. Size, look and theme are shared
   with every other hotspot type in hotspot-look.css. */

.hotspot {
  position: absolute;
  pointer-events: none;
  z-index: 10;
}
.hotspot.link-hotspot {
  pointer-events: all;
  cursor: pointer;
}

@media (hover: hover) {
  .link-hotspot:hover {
    z-index: 999999;
  }
}

/* The chevron/arrow glyphs */
.hotspot-modern-svg {
  width: 24px;
  height: 24px;
  stroke-width: 2.5;
  pointer-events: none;
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.2));
}
/* Classic PNG icon (original look) */
.link-hotspot-icon {
  width: 100%;
  height: 100%;
  cursor: pointer;
}

/* "Go to <scene>" label beside the badge */
.link-hotspot-tooltip {
  position: absolute;
  left: calc(100% + 12px);
  top: 50%;
  max-width: 300px;
  padding: 8px 16px;
  font-size: 16px;
  font-weight: 500;
  color: #fff;
  background: rgba(11, 25, 44, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
  opacity: 0;
  transform: translate(8px, -50%);
  z-index: 999999;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  pointer-events: none;
}
/* The label shows for hover-capable pointers and for keyboard focus (never stuck on after a tap). */
.link-hotspot:focus-visible .link-hotspot-tooltip {
  opacity: 1;
  transform: translate(0, -50%);
}
@media (hover: hover) {
  .link-hotspot:hover .link-hotspot-tooltip {
    opacity: 1;
    transform: translate(0, -50%);
  }
}
