/* Load this stylesheet only for the site area where the custom cursor is used. */
html.fixlyra-star-cursor-enabled,
html.fixlyra-star-cursor-enabled body,
html.fixlyra-star-cursor-enabled body * {
  cursor: none !important;
}

.fixlyra-star-cursor {
  position: fixed;
  top: 0;
  left: 0;
  margin: 0;
  padding: 0;
  border: 0;
  overflow: visible;
  background: transparent;
  color: inherit;
  z-index: 2147483647;
  width: 32px;
  height: 32px;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  will-change: transform;
}

.fixlyra-star-cursor.is-visible {
  opacity: 1;
  visibility: visible;
}

.fixlyra-star-cursor__spinner,
.fixlyra-star-cursor__scaler {
  width: 100%;
  height: 100%;
}

.fixlyra-star-cursor__spinner {
  will-change: transform;
}

.fixlyra-star-cursor__scaler {
  display: grid;
  place-items: center;
  transform: scale(1);
  transform-origin: center;
  transition: transform 140ms cubic-bezier(0.2, 0.75, 0.25, 1);
}

.fixlyra-star-cursor.is-hovering .fixlyra-star-cursor__scaler {
  transform: scale(1.18);
}

.fixlyra-star-cursor__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
  filter: drop-shadow(0 0 4px rgb(166 132 246 / 18%));
}

@media (prefers-reduced-motion: reduce) {
  .fixlyra-star-cursor__scaler {
    transition-duration: 1ms;
  }
}
