.tiChatBtn {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 999;
    width: 66px;
    height: 66px;
    border-radius: 50%;
    overflow: hidden;
    padding: 0;
    border: 3px solid #fff;
    background: #F27658;
    box-shadow: 0 12px 30px rgba(242, 118, 88, .4);
    cursor: pointer;
    transition: transform .2s
}

.tiChatBtn img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block
}

.tiChatBtn:hover {
    transform: scale(1.07)
}

.tiChatBtn {
    animation: tiChatPulse 2.6s infinite
}

@keyframes tiChatPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(242, 118, 88, .5), 0 12px 30px rgba(242, 118, 88, .4)
    }

    70% {
        box-shadow: 0 0 0 14px rgba(242, 118, 88, 0), 0 12px 30px rgba(242, 118, 88, .4)
    }

    100% {
        box-shadow: 0 0 0 0 rgba(242, 118, 88, 0), 0 12px 30px rgba(242, 118, 88, .4)
    }
}

@media(prefers-reduced-motion:reduce) {
    .tiChatBtn {
        animation: none
    }
}

@media(max-width:480px) {
    .tiChatBtn {
        right: 16px;
        bottom: 16px;
        width: 56px;
        height: 56px
    }
}

.tiChatOverlay {
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(7, 23, 18, .5);
    display: none;
    align-items: flex-end;
    justify-content: flex-end;
    padding: 24px
}

.tiChatOverlay.tiOpen {
    display: flex
}

.tiChatPanel {
    position: relative;
    width: 380px;
    max-width: 100%;
    background: #fff;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, .35)
}

.tiChatPanel iframe {
    display: block;
    width: 100%;
    height: 688px;
    max-height: 80vh;
    border: none
}

.tiChatClose {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(16, 37, 31, .85);
    color: #fff;
    border: 0;
    cursor: pointer;
    font-size: 18px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center
}

@media(max-width:480px) {
    .tiChatOverlay {
        padding: 0
    }

    .tiChatPanel {
        width: 100%;
        height: 100%;
        border-radius: 0
    }

    .tiChatPanel iframe {
        height: 100%;
        max-height: 100%
    }
}