ipt>
    <script>
      //  This script now ONLY contains functionality specific to templates.html
      // Theme toggle and cursor logic are handled by script.js
      // Theme toggle functionality
      const themeToggle = document.getElementById("theme-toggle");
      const body = document.body;

      function setTheme(isDark) {
        const newIcon = isDark ? "sun" : "moon";
        document.getElementById("container").classList.toggle("dark", isDark);
        body.classList.toggle("dark-theme", isDar