/* Styles that go with shared/mark.mjs. Colours come from the concept through currentColor. */

/* The small loader: the centre holds, the first ring lights one point at a time. */
.mk-load { width: 16px; height: 16px; flex: none; fill: currentColor; }
.mk-load .mk-pt { opacity: 0.22; animation: mk-chase 0.96s linear infinite; animation-delay: calc(var(--n) * 0.12s - 0.96s); }
@keyframes mk-chase { 0% { opacity: 1; } 38% { opacity: 0.22; } 100% { opacity: 0.22; } }

/* A canvas that holds the point field. The concept gives it a size and a colour. */
.mk-field { display: block; width: 100%; height: 100%; pointer-events: none; }

@media (prefers-reduced-motion: reduce) {
  .mk-load .mk-pt { animation-duration: 2.4s; animation-delay: calc(var(--n) * 0.3s - 2.4s); }
}
