.cursor {
  position: fixed;
  z-index: 9998;
  top: 0;
  left: 0;
  display: none;
  width: 14px;
  height: 14px;
  border: 1px solid #d9ff43;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  transform: translate3d(-50%, -50%, 0);
  mix-blend-mode: difference;
  will-change: transform;
}

.cursor.is-visible {
  opacity: 1;
}

.cursor span {
  position: absolute;
  inset: 3px;
  border-radius: inherit;
  background: #d9ff43;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.cursor.is-active span {
  transform: scale(3.2);
}

@media (hover: hover) and (pointer: fine) {
  .cursor {
    display: block;
  }

  body,
  a,
  button,
  input,
  select,
  textarea {
    cursor: none;
  }
}
