.actionCursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 90px;
  height: 20px;
  pointer-events: none;
  z-index: 9999;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.6);
}

.actionCursor-inner {
  width: 100%;
  height: 100%;
  border-radius: 25px;
  /* background: rgba(0, 0, 0); */
  background: linear-gradient(20deg, #020020, #040053);
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.actionCursor-text {
  white-space: nowrap;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  color: #fff;
  animation: actionMarquee 2s linear infinite;
}

@keyframes actionMarquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* only hide native cursor where needed */
.use-action-cursor {
  cursor: pointer;
}

/* mobile safety */
@media (max-width: 768px) {
  .actionCursor {
    display: none;
  }

  .use-action-cursor {
    cursor: pointer;
  }
}
