ring(state.correct);
        els.stats.attempts.textContent = String(state.attempts);
        const acc = state.attempts ? Math.round((state.correct / state.attempts) * 100) : 0;
        els.stats.acc.textContent = acc + '%';
        const elapsedSec = Math.max(1, Math.floor((Date.now() - state.startTs) / 1000));
        const perMin = Math.round((state.correct / elapsedSec) * 60);
        els.stats.speed.textContent = perMin + '/min';
        els.stats.streak.textContent = String(state.streak);
        els