/* Curseur joystick : le point reste au pointeur, l'anneau le suit. */
.cursor-joystick__ring,
.cursor-joystick__dot {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 2147483647;
  pointer-events: none;
  opacity: 0;
  will-change: transform;
  transition: opacity .16s ease, width .2s ease, height .2s ease, background-color .2s ease;
}

.cursor-joystick__ring {
  width: 27px;
  height: 27px;
  border: 1.5px solid #008f8c;
  border-radius: 50%;
  background: rgba(0, 156, 154, .05);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .82), 0 0 16px rgba(0, 156, 154, .18);
}

.cursor-joystick__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4acfc9;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .78);
}

.cursor-joystick__ring.is-visible,
.cursor-joystick__dot.is-visible { opacity: 1; }

.cursor-joystick__ring.is-interactive {
  width: 38px;
  height: 38px;
  background: rgba(0, 156, 154, .13);
}

.cursor-joystick__ring.is-pressed {
  width: 22px;
  height: 22px;
  background: rgba(0, 156, 154, .23);
}

@media (prefers-reduced-motion: reduce), (forced-colors: active) {
  .cursor-joystick__ring,
  .cursor-joystick__dot { display: none !important; }
}
