/* The site's ✓ (Basel 30.11, manager 09:52): a white tick in a clean green circle, the same everywhere a ✓ appears
   (the AliExpress numbers card, the activity note, My list, All set; later Fits your Tesla). public/assets/evts-ok.js
   makes it. Colours: #22C55E was asked for, but white on it is 2.3:1 (under the 3:1 an icon needs), so the circle is
   #16A34A (white tick 3.3:1) with a #15803D edge (4.4:1 on the light card, 3.8:1 on the dark note).
   Motion, once, when it first comes on screen: the circle pops, the tick draws itself (~0.6 s), then one soft green
   halo. None with prefers-reduced-motion (the script never arms it then): the icon is simply there. */
.evts-ok { --s: 2.4rem; position: relative; display: inline-block; flex: none; width: var(--s); height: var(--s); border-radius: 50%; vertical-align: middle; line-height: 0; }
.evts-ok svg { display: block; width: 100%; height: 100%; overflow: visible; }
.evts-ok__c { fill: #16A34A; stroke: #15803D; stroke-width: 1; }
.evts-ok__t { fill: none; stroke: #fff; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.evts-ok::after { content: ''; position: absolute; inset: 0; border-radius: 50%; box-shadow: 0 0 0 0 rgba(34, 197, 94, .55); opacity: 0; pointer-events: none; }
/* armed: waiting to come on screen (set by the script only when it can animate) */
.evts-ok--arm svg { transform: scale(0); }
.evts-ok--arm .evts-ok__t { stroke-dashoffset: 1; }
.evts-ok--go svg { transform-origin: 50% 50%; animation: evts-ok-pop .38s cubic-bezier(.2, 1.5, .4, 1) both; }
.evts-ok--go .evts-ok__t { stroke-dashoffset: 1; animation: evts-ok-draw .42s .2s cubic-bezier(.4, 0, .2, 1) forwards; }
.evts-ok--go::after { animation: evts-ok-halo .75s .62s ease-out both; }
@keyframes evts-ok-pop { 0% { transform: scale(.4); } 70% { transform: scale(1.12); } 100% { transform: scale(1); } }
@keyframes evts-ok-draw { to { stroke-dashoffset: 0; } }
@keyframes evts-ok-halo { 0% { opacity: 1; box-shadow: 0 0 0 0 rgba(34, 197, 94, .55); } 100% { opacity: 0; box-shadow: 0 0 0 .9rem rgba(34, 197, 94, 0); } }
@media (prefers-reduced-motion: reduce) {
  .evts-ok--arm svg, .evts-ok--go svg { transform: none; animation: none; }
  .evts-ok--arm .evts-ok__t, .evts-ok--go .evts-ok__t { stroke-dashoffset: 0; animation: none; }
  .evts-ok--go::after { animation: none; }
}
