.dx-cs-widget{
    bottom: 120px;
    right: 40px;
}
@keyframes breatheGlow {
    0% {
        box-shadow: 0 8px 20px rgba(255, 65, 54, 0.3), 0 0 0 0 rgba(255, 65, 54, 0.4);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 12px 28px rgba(255, 65, 54, 0.5), 0 0 0 12px rgba(255, 65, 54, 0.2);
        transform: scale(1.02);
    }
    100% {
        box-shadow: 0 8px 20px rgba(255, 65, 54, 0.3), 0 0 0 0 rgba(255, 65, 54, 0.4);
        transform: scale(1);
    }
}
.dx-cs-toggle-btn{
    animation: breatheGlow 1.8s ease-in-out infinite;
    border-radius: 50%;
}
/* 额外脉冲光环伪元素，增强呼吸灯视觉效果（不依赖JS） */
.dx-cs-toggle-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    background: rgba(255, 65, 54, 0.4);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    z-index: -1;
    pointer-events: none;
    animation: pulseRing 1.8s infinite ease-out;
}

/* 光环扩散动画 */
@keyframes pulseRing {
    0% {
        transform: translate(-50%, -50%) scale(0.85);
        opacity: 0.6;
    }
    70% {
        transform: translate(-50%, -50%) scale(1.3);
        opacity: 0;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.4);
        opacity: 0;
    }
}

/* 鼠标悬停效果，增强交互但不影响呼吸灯核心 */
.dx-cs-toggle-btn:hover {
    transform: scale(1.03);
}
.dx-cs-toggle-icon, .dx-cs-toggle-icon svg{
    width: 100%;
    height: 100%;
}
.dx-cs-toggle-icon img{
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

@media (max-width: 480px) {
    .dx-cs-chat-window {
        width: calc(100vw - 40px) !important;
        right: -10px!important;
    }
    .dx-cs-widget{
        bottom: 100px;
        right: 15px;
    }
}