* { box-sizing: border-box; }

html, body {
  margin: 0;
  height: 100%;
  overflow: hidden;
  background: #000;
  -webkit-tap-highlight-color: transparent;
  touch-action: none;
}

#pano { position: absolute; inset: 0; }

/* The little-planet opening, drawn above the viewer until it hands over. */
#intro {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 5;
  transition: opacity 0.35s ease-out;
}
#intro.is-done { opacity: 0; pointer-events: none; }

/* ---------------------------------------------------------------- hotspots */
.hs {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}
.hs:focus-visible { outline: 2px solid #fff; outline-offset: 4px; border-radius: 8px; }

.hs__sprite,
.hs__tint {
  display: block;
  flex: none;
  pointer-events: none;
  background-repeat: no-repeat;
}

/* Hover: the animation turns red, as in the original tour. */
.hs__tint {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: #ff1a1a;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  opacity: 0;
  transition: opacity 0.15s;
}
.hs:hover .hs__tint,
.hs:focus-visible .hs__tint { opacity: 1; }
.hs:hover .hs__sprite,
.hs:focus-visible .hs__sprite { opacity: 0; }

.tcap { pointer-events: none; }
.tcap img { display: block; width: 100%; height: 100%; }
