Replace setInterval with requestAnimationFrame loop that tracks elapsed time via performance.now(). Clock ticks now fire based on real time rather than assuming perfect interval spacing, so user interactions (toggling inputs, dragging gates) no longer cause the clock to stutter or pause. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>