<script>
(function(){
  var mq=window.matchMedia('(max-width:1024px)');
  function syncPesyjeFooterPwa(){
    document.querySelectorAll('.pesyje-universal-footer .pesyje-uf-install-btn').forEach(function(btn){
      var copy=btn.querySelector('.pesyje-uf-install-copy');
      if(copy){
        if(mq.matches){ copy.style.setProperty('display','none','important'); }
        else { copy.style.removeProperty('display'); }
      }
      if(mq.matches){
        btn.style.setProperty('width', window.innerWidth<=520?'40px':'44px','important');
        btn.style.setProperty('min-width', window.innerWidth<=520?'40px':'44px','important');
        btn.style.setProperty('max-width', window.innerWidth<=520?'40px':'44px','important');
      } else {
        btn.style.removeProperty('width');btn.style.removeProperty('min-width');btn.style.removeProperty('max-width');
      }
    });
  }
  syncPesyjeFooterPwa();
  if(mq.addEventListener) mq.addEventListener('change',syncPesyjeFooterPwa);
  window.addEventListener('resize',syncPesyjeFooterPwa,{passive:true});
})();
</script>