(function(){
document.addEventListener('click',function(e){
var btn=e.target.closest('[data-action="copy-wallet"]');
if(btn){
var addr=btn.getAttribute('data-wallet');
if(addr&&navigator.clipboard){navigator.clipboard.writeText(addr);}
}
});
})();
