
        #modal-close-fab {
            display: none; /* ซ่อนไว้ก่อน จะโชว์เมื่อ Modal เปิด */
            position: fixed;
            top: 50%;
            right: 0; /* เริ่มต้นชิดขวา */
            transform: translateY(-50%);
            
            width: 50px;
            height: 50px;
            background: #dc3545; /* สีแดง */
            color: white;
            
            border-radius: 30px 0 0 30px; /* ครึ่งวงกลม */
            box-shadow: -2px 2px 10px rgba(0,0,0,0.3);
            
            align-items: center;
            justify-content: center;
            z-index: 15050; /* สูงกว่า modal custom บน mobile แต่ยังต่ำกว่า Fancybox preview */
            cursor: pointer;
            touch-action: none; /* สำคัญ: เพื่อให้ลากบนมือถือได้ */
            transition: opacity 0.3s;
        }

        @media (max-width: 1024px) {
            #modal-close-fab {
                z-index: 15050 !important;
            }
        }

        #modal-close-fab:active { opacity: 0.8; }
        body.portal-fancybox-open #modal-close-fab {
            display: none !important;
            pointer-events: none !important;
        }
	        
	        
	    