document.addEventListener('DOMContentLoaded',function(){const k='gopools_theme';const h=document.documentElement;const b=document.querySelector('[data-theme-toggle]');h.setAttribute('data-theme',localStorage.getItem(k)||'dark');if(b){b.addEventListener('click',function(){const n=h.getAttribute('data-theme')==='dark'?'light':'dark';h.setAttribute('data-theme',n);localStorage.setItem(k,n);});}});