/* ===== Custom Rocket Cursor ===== */
@media (pointer: fine) {
  body.has-custom-cursor,
  body.has-custom-cursor * {
    cursor: none !important;
  }
}

#custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 36px;
  height: 36px;
  pointer-events: none;
  z-index: 2147483647;   /* above every overlay (photo viewer, wallet picker...) so the pointer is always visible */
  transform: translate(-9999px, -9999px);
  will-change: transform;
  opacity: 0;
  transition: opacity 0.15s ease;
}

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

#custom-cursor img {
  width: 100%;
  height: 100%;
  display: block;
}

/* Little squash on click for feedback */
#custom-cursor.is-clicking img {
  transform: scale(0.85);
}

#custom-cursor img {
  transition: transform 0.1s ease;
}
