/* Enabled only after a mouse event and successful effect initialization. */
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  html.lab-cursor, html.lab-cursor * { cursor: none; }
  html.lab-cursor :is(a, button, [role="button"]),
  html.lab-cursor :is(a, button, [role="button"]) * { cursor: none; }
  .lab-pointer, .click-pulse {
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 10000;
    color: var(--accent);
    border: 1px solid currentColor;
    border-radius: 50%;
  }
  .lab-pointer {
    width: 24px;
    height: 24px;
    margin: -12px;
    transition: width 120ms, height 120ms, margin 120ms;
  }
  .lab-pointer::after {
    content: "";
    position: absolute;
    width: 4px;
    height: 4px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background: currentColor;
    border-radius: 50%;
  }
  .lab-pointer.is-interactive { width: 36px; height: 36px; margin: -18px; }
  .click-pulse {
    width: 32px;
    height: 32px;
    margin: -16px;
    border-width: 2px;
    box-shadow: 0 0 8px var(--glow);
  }
}
.lab-pointer[hidden] { display: none; }
@media (hover: none), (pointer: coarse), (prefers-reduced-motion: reduce) {
  .lab-pointer, .click-pulse { display: none; }
}
