/* ============================================
 * KEFU.CSS - Component nút CSKH nổi (kéo thả)
 * Dùng chung cho TẤT CẢ các trang:
 *   - Trang chủ (lobby)
 *   - Vẽ tranh (ve-tranh)
 *   - Hội trường (login)
 *   - Ưu đãi (youhui)
 *   - Của tôi (users)
 *   - Form đăng ký (register)
 *   - Hồ sơ (profile)
 *
 * Cách dùng:
 *   <link rel="stylesheet" href="assets/css/kefu.css?v=1">
 *   <script src="assets/js/kefu.js?v=1"></script>
 *   <div id="indexbtn"></div>
 * ============================================ */

#indexbtn {
    position: fixed;
    bottom: 1.5rem;
    right: 0.2rem;
    width: 0.92rem;
    height: 0.92rem;
    background: url('../icons/kefu.png') center/cover no-repeat;
    border-radius: 50%;
    z-index: 99999;
    box-shadow: 0 0.16rem 0.4rem rgba(255,71,87,0.4);
    cursor: grab;
    touch-action: none;
    user-select: none;
    -webkit-user-select: none;
    transition: transform 0.15s ease, box-shadow 0.2s ease;
    pointer-events: auto;
    -webkit-tap-highlight-color: transparent;
}

#indexbtn:active {
    cursor: grabbing;
}

#indexbtn.dragging {
    cursor: grabbing;
    transform: scale(1.1);
    box-shadow: 0 0.2rem 0.5rem rgba(255,71,87,0.6);
    transition: none;
}