/* Alpine Hikes — map + animation extras */

/* animated route dashes */
.ym-route {
  animation: ym-dash 1.6s linear infinite;
}
@keyframes ym-dash {
  to { stroke-dashoffset: -18; }
}

/* pulsing dham markers */
.ym-pulse {
  transform-origin: center;
  transform-box: fill-box;
  animation: ym-pulse 2.4s ease-in-out infinite;
}
@keyframes ym-pulse {
  0%, 100% { transform: scale(1); opacity: 0.15; }
  50% { transform: scale(1.6); opacity: 0.35; }
}

.ym-stop { cursor: pointer; outline: none; }
.ym-stop:hover circle:nth-child(2),
.ym-stop:focus-visible circle:nth-child(2),
.ym-stop.ym-active circle:nth-child(2) {
  fill: #ffffff;
}
.ym-stop.ym-active .ym-pulse { opacity: 0.4; }
.ym-stop text { pointer-events: none; }

@media (prefers-reduced-motion: reduce) {
  .ym-route, .ym-pulse { animation: none; }
}
