/* Only the edge highlight moves. Artwork, text, and hit areas stay fixed. */
.growth-pointer-relative { position: relative; }
.growth-pointer-light { display: none; }

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) and (forced-colors: none) {
  .growth-pointer-light {
    position: absolute;
    z-index: 2;
    inset: 0;
    display: block;
    border-radius: inherit;
    background:
      radial-gradient(ellipse 40% 2px at var(--growth-pointer-x, 50%) 0, var(--growth-color-pointer-edge), transparent),
      radial-gradient(ellipse 28% 70% at var(--growth-pointer-x, 50%) var(--growth-pointer-y, 50%), var(--growth-color-pointer-light), transparent);
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--growth-motion-duration-hover) var(--growth-motion-ease-out);
  }
  :is(.growth-tile, [data-growth-pointer='scene']) > .growth-pointer-light {
    background:
      radial-gradient(ellipse 28% 3px at var(--growth-pointer-x, 50%) 0, var(--growth-color-pointer-edge), transparent),
      radial-gradient(ellipse 2px 28% at 0 var(--growth-pointer-y, 50%), var(--growth-color-pointer-edge), transparent),
      radial-gradient(ellipse 2px 28% at 100% var(--growth-pointer-y, 50%), var(--growth-color-pointer-edge), transparent);
  }
  [data-growth-pointer-active]:not(:focus-visible) > .growth-pointer-light { opacity: 1; }
  .growth-btn[data-growth-pointer-active]:active { transform: none; }
}
