.ink-cursor {
  display: none;
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 100;
  pointer-events: none;
}

@media (any-hover: hover) and (any-pointer: fine) and (prefers-reduced-motion: no-preference) {
  .ink-cursor-active,
  .ink-cursor-active body * {
    cursor: none !important;
  }

  .ink-cursor-active .ink-cursor {
    display: block;
  }
}

@media (any-hover: hover) and (any-pointer: fine) and (prefers-reduced-motion: no-preference) {
  body:not(.motion-paused) .ink-hover-link.ink-blot-active {
    position: relative;
    z-index: 1;
    text-decoration: none;
  }

  html { overflow-x: clip; }

  .ink-hover-label {
    position: relative;
    display: inline-block;
    max-width: 100%;
    isolation: isolate;
  }

  .ink-hover-blot {
    position: absolute;
    z-index: -1;
    inset: -150% -125%;
    width: 350%;
    height: 400%;
    overflow: visible;
    fill: #000;
    pointer-events: none;
  }

  body:not(.motion-paused) .ink-blot-active .ink-hover-blot {
    display: block;
  }

  body:not(.motion-paused) .ink-label-cutout .ink-hover-label {
    color: var(--red);
  }
}

.ink-hover-blot { display: none; }

.ink-cursor-active .ink-cursor-color {
  animation: ink-rgb-cycle 4.8s linear infinite;
}

@keyframes ink-rgb-cycle {
  0%, 100% { flood-color: #ff0018; }
  33.333% { flood-color: #00ff48; }
  66.667% { flood-color: #153dff; }
}
