, () => { over.style.display = 'none'; });
        window.addEventListener('pointerdown', () => hiddenInput.focus());

        // Allow starting the game with Enter or Space from anywhere
        window.addEventListener('keydown', (e) => {
          if (e.key === 'Enter' || e.key === ' ' || e.code === 'Space') {
            if (!state.running || over.style.display === 'flex') {
              e.preventDefault();
              requestStart();
            }
          }
        });

        hiddenInput.addEvent