Æ°ÁÆóÊúÄ‰Ω≥‰ΩçÁΩÆ
            const popupWidth = 200;
            const popupHeight = 180;
            const padding = 8;

            let left, top;

            // Â∞ùËØïÂè≥‰æßÊòæÁ§∫
            if (containerRect.right - mainInfoRect.right >= popupWidth + padding) {
                left = mainInfoRect.right + padding;
                top = mainInfoRect.top;
            }
            // Â∞ùËØïÂ∑¶‰æßÊòæÁ§∫
            else if (mainInfoRect.left