/* Owner 2026-11-22: check №1 «Росчерк» from the showcase. Plays once when a habit or plan becomes done:
   the tick draws itself, a white spark runs along it, a soft blue glow grows under the circle. Fire stays as it is. */
.tk-play { position: relative; isolation: isolate; overflow: visible; }
.tk-play > svg { position: relative; z-index: 2; }
.tk-play > svg path { stroke-dasharray: 1; animation: tk-draw .34s cubic-bezier(.2,.7,.2,1) both; }
.tk-halo, .tk-thread { position: absolute; left: 50%; top: 50%; pointer-events: none; }
.tk-halo { z-index: -1; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%;
  background: radial-gradient(closest-side, rgb(var(--cta-rgb) / .55), rgb(var(--cta-rgb) / 0)); animation: tk-grow .55s cubic-bezier(.2,.7,.2,1) both; }
.tk-thread { z-index: 3; width: 15px; height: 15px; margin: -7.5px 0 0 -7.5px; }
.tk-thread svg { width: 100%; height: 100%; display: block; overflow: visible; filter: drop-shadow(0 0 2px #fff) drop-shadow(0 0 5px rgb(var(--cta-rgb))); }
.tk-thread path { fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: .16 1.4; animation: tk-thread .4s cubic-bezier(.2,.7,.2,1) both; }
@keyframes tk-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes tk-grow { from { transform: scale(.6); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }
@keyframes tk-thread { 0% { stroke-dashoffset: .16; opacity: 1; } 80% { opacity: 1; } 100% { stroke-dashoffset: -1; opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .tk-play > svg path, .tk-halo, .tk-thread path { animation: none; } .tk-halo, .tk-thread { display: none; } }
