p = document.querySelector('.weather-details-popup');
            const mainInfo = document.querySelector('.main-info');
            const container = document.querySelector('.widget-container');
            
            // Ê£ÄÊü•ÊòØÂê¶‰∏∫ÁßªÂä®ËÆæÂ§á
            const isMobile = window.matchMedia('(hover: none) and (pointer: coarse)').matches;
            
            if (isMobile) {
                // ÁßªÂä®ËÆæÂ§á‰∏äÁöÑÂ§ÑÁêÜ
                popup.c