   const savedToken = localStorage.getItem('pollinationsApiToken');
    if (savedToken) {
        apiTokenToggle.classList.add('active');
    }
    updateTextStats();
    updateHistoryUI();
})();
});
</script>
</body>
</html>
