
body[data-pointer="on"],
body[data-pointer="on"] *,
body:not([data-pointer="off"]),
body:not([data-pointer="off"]) * {
  cursor: none !important;
}

@media (hover: none) and (pointer: coarse) {
  body[data-pointer="on"],
  body[data-pointer="on"] *,
  body:not([data-pointer="off"]),
  body:not([data-pointer="off"]) * {
    cursor: auto !important;
  }
  .sahs-cursor-dot,
  .sahs-cursor-ring,
  .sahs-ripple {
    display: none !important;
  }
}

.sahs-cursor-dot,
.sahs-cursor-ring,
.sahs-ripple {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 99999;
  will-change: transform, opacity;
}

.sahs-cursor-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #B30000;  
  transform: translate3d(-100px, -100px, 0);
  transition: width 0.15s ease, height 0.15s ease, opacity 0.2s ease, background 0.2s ease;
}

.sahs-cursor-ring {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid rgba(179, 0, 0, 0.65);  
  transform: translate3d(-100px, -100px, 0);
  transition: width 0.25s ease, height 0.25s ease, border-color 0.25s ease, background 0.25s ease, opacity 0.25s ease, border-width 0.25s ease;
}

.sahs-cursor-dot.is-hovered {
  width: 0;
  height: 0;
  opacity: 0;
}
.sahs-cursor-ring.is-hovered {
  width: 56px;
  height: 56px;
  background: color-mix(in srgb, var(--color-primary, #00B5E8) 12%, transparent);  
  border-color: var(--color-primary, #00B5E8);
  border-width: 1.5px;
}

.sahs-cursor-ring.is-clicked {
  transform-origin: center;
  transition: transform 0.08s ease-out, width 0.08s ease, height 0.08s ease, background 0.08s ease, border-color 0.08s ease;
  background: color-mix(in srgb, var(--color-primary, #00B5E8) 25%, transparent);
  border-color: var(--color-primary, #00B5E8);
}

.sahs-ripple {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid var(--color-primary, #00B5E8);  
  transform-origin: center;
  animation: sahs-ripple-expand 0.7s ease-out forwards;
}

@keyframes sahs-ripple-expand {
  0% {
    opacity: 1;
    transform: translate3d(-50%, -50%, 0) scale(0.6);
  }
  100% {
    opacity: 0;
    transform: translate3d(-50%, -50%, 0) scale(6);
    border-width: 1px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sahs-cursor-ring { transition: none !important; }
  .sahs-ripple { animation: none !important; opacity: 0 !important; }
}
