/* Production docs-hero time jump. Responsive placement owns the canvas's
   exact geometry; these base styles keep it transparent and non-interactive. */
html:has(#fxHero),
body:has(#fxHero) {
  overflow-x: clip;
}

.hero-home {
  position: relative;
  overflow: visible;
}

#fxHero {
  position: absolute;
  z-index: 5;
  left: 12.5%;
  top: -29.5%;
  width: 91%;
  height: 163%;
  pointer-events: none;
}

.hero-home > * {
  position: relative;
  z-index: 1;
}

.fx-replay-link {
  margin-left: 40px;
  border: 0;
  padding: 5px 2px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 0.88rem;
  cursor: pointer;
}

.fx-replay-link:hover {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.fx-replay-link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: 3px;
}

.fx-replay-link[hidden] {
  display: none;
}

@media (max-width: 560px) {
  .fx-replay-link {
    margin-left: 0;
  }
}
