/* ===== FamilyMart Mouse Click Effect ===== */

.fm-click-ring,
.fm-click-dot,
.fm-click-particle {
  position: fixed;
  pointer-events: none;
  z-index: 999999;
}

/* 双层扩散圆圈 */
.fm-click-ring {
  width: 18px;
  height: 18px;
  border: 3px solid #0085ca;
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0.4);
  opacity: 1;
  animation: fmRing 0.6s ease-out forwards;
}

.fm-click-ring.green {
  border-color: #00a651;
  animation-delay: 0.05s;
}

/* 中心小圆点 */
.fm-click-dot {
  width: 8px;
  height: 8px;
  background: #ffffff;
  border: 2px solid #00a651;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: fmDot 0.45s ease-out forwards;
  box-shadow: 0 0 8px rgba(0, 133, 202, 0.35);
}

/* 粒子 */
.fm-click-particle {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: fmParticle 0.65s ease-out forwards;
}

@keyframes fmRing {
  0% {
    transform: translate(-50%, -50%) scale(0.3);
    opacity: 1;
  }

  100% {
    transform: translate(-50%, -50%) scale(2.4);
    opacity: 0;
  }
}

@keyframes fmDot {
  0% {
    transform: translate(-50%, -50%) scale(0.3);
    opacity: 1;
  }

  50% {
    transform: translate(-50%, -50%) scale(1.4);
  }

  100% {
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
  }
}

@keyframes fmParticle {
  0% {
    transform:
      translate(-50%, -50%)
      translate(0, 0)
      scale(1);
    opacity: 1;
  }

  100% {
    transform:
      translate(-50%, -50%)
      translate(var(--x), var(--y))
      scale(0);
    opacity: 0;
  }
}