#pano, #pano-preview {
  position: relative;
  overflow: hidden;
}
.vt-hotspot {
  --marker-color: #299bd4;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
  overflow: visible;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
.vt-hotspot[data-type="image"] { --marker-color: #16856f; }
.vt-hotspot[data-type="video"] { --marker-color: #a668db; }
.vt-hotspot-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: var(--marker-color);
  box-shadow: 0 2px 12px #0005;
  transition: transform 180ms ease, box-shadow 180ms ease;
}
.vt-hotspot-icon::before {
  content: "i";
  font: bold 20px/1 Georgia, serif;
}
.vt-hotspot[data-type="navigation"] .vt-hotspot-icon::before {
  content: "";
  width: 10px;
  height: 10px;
  border-top: 3px solid #fff;
  border-right: 3px solid #fff;
  transform: translateY(3px) rotate(-45deg);
}
.vt-hotspot[data-type="image"] .vt-hotspot-icon::before {
  content: "";
  width: 16px;
  height: 12px;
  border: 2px solid #fff;
  border-radius: 2px;
  background: linear-gradient(135deg, transparent 50%, #fff 51%) bottom / 11px 8px no-repeat;
}
.vt-hotspot[data-type="video"] .vt-hotspot-icon::before {
  content: "";
  border-left: 10px solid #fff;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  margin-left: 3px;
}
.vt-hotspot[data-type="link"] .vt-hotspot-icon::before { content: "+"; }
.vt-hotspot-label {
  position: absolute;
  bottom: calc(100% + 5px);
  left: 50%;
  transform: translateX(-50%);
  width: max-content;
  max-width: min(240px, 65vw);
  padding: 5px 9px;
  border-radius: 5px;
  background: #17252dcc;
  color: #fff;
  font: 500 13px/1.4 Arial, sans-serif;
  text-align: center;
  white-space: normal;
  overflow-wrap: break-word;
  pointer-events: none;
  box-shadow: 0 2px 8px #0002;
  transition: background 180ms ease;
}
.vt-hotspot:hover .vt-hotspot-icon,
.vt-hotspot:focus-visible .vt-hotspot-icon {
  transform: scale(1.12);
  box-shadow: 0 0 0 6px #ffffff40, 0 3px 14px #0005;
}
.vt-hotspot:focus-visible { outline: 2px solid #fff; outline-offset: 4px; border-radius: 50%; }
.vt-hotspot:hover .vt-hotspot-label,
.vt-hotspot:focus-visible .vt-hotspot-label { background: #17252df2; }
.vt-hotspot[data-type="navigation"] .vt-hotspot-icon::after {
  content: "";
  position: absolute;
  inset: -6px;
  border: 1px solid #ffffffb3;
  border-radius: 50%;
  pointer-events: none;
  animation: vt-hotspot-pulse 2.8s ease-out infinite;
}
@keyframes vt-hotspot-pulse {
  0%, 20% { transform: scale(.85); opacity: .6; }
  80%, 100% { transform: scale(1.35); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .vt-hotspot-icon, .vt-hotspot-label { transition: none; }
  .vt-hotspot[data-type="navigation"] .vt-hotspot-icon::after { animation: none; opacity: 0; }
}
