.chat-btn {
    position: fixed;
    bottom: 120px;
    right: 8px;
    z-index: 998;
    transition: all .3s ease-out;
    cursor: pointer;
}

.chat-btn img {
    width: 130px;
    height: auto;
}

/* 弹框背景 */
.chat-modal {
    display: none; /* 默认隐藏 */
    position: fixed;
    z-index: 99999;
    right: 20px;
    bottom: 6%;
    left: auto;
    width: 500px;
    min-width: 260px;
    max-width: 500px;
    height: 80%;
    background-color: transparent;
}

/* 弹框内容 */
.chat-modal-content {
    background-color: #fefefe;
    width: 100%;
    cursor: move;
    height: 98%;
    border-radius: 6px;
    overflow: hidden;
    position: relative;
}

/* 关闭按钮样式 */
.chat-close {
    position: absolute;
    top: 0;
    right: 20px;
    color: #aaa;
    float: right;
    height: 48px;
    align-items: center;
    display: flex;
    cursor: pointer;
}

.chat-close-icon {
    font-size: 28px;
    line-height: 35px;
}

.chat-close-text {
    font-size: 14px;
    line-height: 35px;
}

.chat-close-icon:hover,
.chat-close-text:hover,
.chat-close:hover{
    color: black;
    text-decoration: none;
    cursor: pointer;
}

@media (max-width: 768px) {
    .chat-modal {
        display: none; /* 默认隐藏 */
        position: fixed;
        z-index: 999;
        right: 0;
        bottom: 0;
        left: 0;
        width:100%;
        height: 100%;
        background-color: white;
    }
}