
/* ===== 客服小部件：響應式 + 可拖動 / 可縮放 ===== */
/* 消息區高度改為自適應，不再寫死 min/max-height（原本寫死會讓窗口頂出畫面） */
#fpsChatMessages { min-height: 120px !important; max-height: none !important; }
/* 拖動把手（標題欄） */
#fpsChatDragBar { cursor: move; touch-action: none; -webkit-user-select: none; user-select: none; }
/* 縮放把手（右下角，觸控熱區 28px） */
#fpsChatResizeHandle {
    position: absolute; right: 0; bottom: 0; width: 28px; height: 28px;
    cursor: nwse-resize; touch-action: none; z-index: 5;
    display: flex; align-items: flex-end; justify-content: flex-end;
    color: #b9c4d0; font-size: 13px; padding: 0 5px 4px 0;
}
#fpsChatMaxBtn, #fpsChatCloseBtn { cursor: pointer; padding: 4px 8px; border-radius: 6px; transition: background .2s; flex-shrink: 0; }
#fpsChatMaxBtn:hover, #fpsChatCloseBtn:hover { background: rgba(255,255,255,.18); }
/* 手機：窗口近乎全屏（實際尺寸由 JS 計算，這裡只調整視覺） */
@media (max-width: 480px) {
    #fpsChatWindow { border-radius: 14px; }
    #fpsChatMessages { min-height: 100px !important; }
    #fpsChatResizeHandle { width: 34px; height: 34px; }
}
