.plugins-chat-entry {
    position: fixed;
    right: 2rem;
    bottom: 2rem;
    z-index: 1020;
    cursor: pointer;
    text-align: center;
    filter: drop-shadow(0 0 0.6rem #ddd);
}
.plugins-chat-entry-text {
    background: #4caf50;
    padding: 0.2rem 0.8rem;
    border-radius: 10rem;
    color: #fff;
}
.plugins-chat-entry-text span,
.plugins-chat-entry-text i {
    font-size: 1.2rem;
}
.plugins-chat-entry-text-vertical {
    width: 4rem;
    padding: 1rem;
}
.plugins-chat-entry-text-vertical span {
    display: block;
    line-height: 1.6rem;
}
.plugins-chat-entry-text-vertical i {
    font-size: 1.4rem;
}
.plugins-chat-popup {
    position: fixed;
    z-index: 1050;
    border-radius: 1.2rem;
    transition: opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1), transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
    max-width: 110rem;
    height: 68rem;
    box-shadow: rgb(0 0 0 / 30%) 0.1rem 0.1rem 1.5rem 0px;
    margin: auto;
    display: block;
    overflow: hidden;
    left: 0;
    top: 0;
}
@media only screen and (min-width: 1100px) {
    .plugins-chat-popup {
        left: calc((100% - 110rem) / 2)
    }
}
@media only screen and (min-height: 680px) {
    .plugins-chat-popup {
        top: calc((100% - 68rem) / 2)
    }
}
.plugins-chat-popup .close-submit {
    position: absolute;
    top: 1.2rem;
    right: 1.2rem;
    color: #f5f5f5;
    font-size: 2rem;
    width: 3rem;
    line-height: 3rem;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
}
.plugins-chat-popup .close-submit:hover {
    color: #fff;
}
.plugins-chat-popup iframe {
    width: 100%;
    height: 100%;
}
@media only screen and (max-width: 640px) {
    .plugins-chat-overlay {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.35);
        z-index: 1040;
        opacity: 0;
        transition: opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    }
    .plugins-chat-overlay.overlay-show {
        opacity: 1;
    }
    .plugins-chat-popup {
        width: calc(100% - 3.2rem);
        max-width: calc(100% - 3.2rem);
        height: calc(100vh - 16rem);
        max-height: calc(100vh - 16rem);
        min-height: 40rem;
        border-radius: 1.2rem;
        left: 1.6rem;
        top: 8rem;
        box-shadow: 0 0.4rem 2.4rem 0 rgb(0 0 0 / 40%), 0 0 0 0.05rem rgb(255 255 255 / 10%);
        background: #fff;
    }
    .plugins-chat-popup.popup-show {
        opacity: 1 !important;
        transform: scale(1) translateY(0) !important;
    }
    .plugins-chat-popup.popup-init {
        opacity: 0;
        transform: scale(0.85) translateY(3rem);
    }
    .plugins-chat-popup.popup-closing {
        opacity: 0;
        transform: scale(0.85) translateY(3rem);
        transition: opacity 0.25s cubic-bezier(0.4, 0, 0.2, 1), transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    }
    .plugins-chat-popup .close-submit {
        top: 1rem;
        right: 1rem;
        width: 2.8rem;
        height: 2.8rem;
        line-height: 2.8rem;
        font-size: 1.8rem;
        background: rgba(0, 0, 0, 0.15);
        border-radius: 50%;
        text-align: center;
        transition: background 0.2s;
    }
    .plugins-chat-popup .close-submit:hover,
    .plugins-chat-popup .close-submit:active {
        background: rgba(0, 0, 0, 0.25);
    }
    .plugins-chat-entry-text {
        bottom: 6rem;
    }
}