.layui-tab {
    margin: 0 0;
    text-align: left!important;
    background: #fff;
}
#LF-chat-msg .layui-tab-brief>.layui-tab-title {
    position: relative;
    left: 0;
    height: 45px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    white-space: nowrap;
    font-size: 0;
    border-bottom-width: 1px;
    border-bottom-style: solid;
    transition: all .2s;
}
#LF-chat-msg .layui-tab-brief>.layui-tab-title li {
    flex: auto;
    /*font-size: 14px;*/
    /*line-height: 40px;*/
    transition: all .2s;
    position: relative;
    min-width: 65px;
    padding: 0 15px 0;
    text-align: center;
    cursor: pointer;
    list-style: none;

    height: 45px;
    font-weight: 600;
    font-size: 16px;
    line-height: 45px;
    background-color: #F2F3F5;
    font-family: var(--theme-global-title-font), sans-serif;
}

#LF-chat-msg .layui-tab-brief>.layui-tab-title .tim_nav:after{
    position: absolute;
    left: 0;
    top: 0;
    content: '';
    width: 100%;
    pointer-events: none;
    height: 60px;
    border-top: 2px solid transparent;
}

#LF-chat-msg .layui-tab-brief>.layui-tab-title .layui-this {
    text-align: center;
    font-family: var(--theme-global-title-font), sans-serif;
    color: var(--tag-color-text5);
    background: var(--tag-color-bg5);
}
#LF-chat-msg .layui-tab-brief>.layui-tab-title .layui-this:after {
    border: none;
    border-radius: 0;
    border-top: 2px solid var(--tag-color-border5);
}
.layui-tab-title .layui-this:after {
    position: absolute;
    left: 0;
    top: 0;
    content: '';
    width: 100%;
    border-width: 1px;
    border-style: solid;
    border-bottom-color: #fff;
    border-radius: 2px 2px 0 0;
    box-sizing: border-box;
    pointer-events: none;
}
.layui-tab-title, .layui-tab-title .layui-this:after {
    border-color: #e6e6e6;
}
.layui-tab-item {
    display: none;
    height: 100%;
}
.playback-chat .layui-tab-item {
    display: none;
    height: 100%;
    /*height: 485px;*/
}
.layui-show {
    display: block!important;
}
#LF-chat-msg-area {
    /*padding-bottom: 40px !important;*/
    height: 100%;
}
.msg-chat .MR-chat{
    height: calc(100% - 65px);
}
.msg-chat .MR-chat .notify_feed{
    width: 180px;
    margin-left: 10px;
    position: relative;
}
.msg-chat .MR-chat .notify_feed .notify_feed_bg{
    width: 116px;
    height: 0;
    border-left: 0px solid transparent;
    border-right: 25px solid transparent;
    border-bottom: 40px solid #d32200;
    border-radius: 4px 0px 0px 0px;
}
.msg-chat .MR-chat .notify_feed .notify_feed_title{
    color: #fff;
    font-size: 14px;
    line-height: 22px;
    font-family: var(--theme-global-title-font), sans-serif;
    position: absolute;
    top: 50%;
    left: 10px;
    transform:translate(0%,-50%);
    display: flex;
    align-items: center;
    justify-content: center;
}
.msg-chat .MR-chat .notify_feed .notify_feed_icon{
    height: 14px;
    width: auto;
    margin-right: 5px;
}
.msg-chat .MR-chat .notify_feed_body{
    /*height: 120px;*/
    height: 160px;
    margin: 0 10px;
    padding: 10px;
    color: #fff;
    position: relative;
    top: -12px;
    border-radius: 0px 4px 4px;
    background-position: top;
    background-repeat: no-repeat;
    background-size: 100% 100%;
}
.msg-chat .MR-chat .notify_feed_body .notify_feed_text{
    overflow-y: auto;
    height: 100%;

    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
}
.msg-chat .MR-chat .notify_feed_body .notify_feed_text::-webkit-scrollbar {
    display: none; /* 隐藏滚动条 */
}
.msg-chat .MR-chat .notify_feed_body .notify_feed_text .notice_title{
    display: block;
    font-family: var(--theme-global-title-font), sans-serif;
    font-size: 14px;
    font-weight: 600;
    line-height: 26px;
    text-align: left;
}
.msg-chat .MR-chat .notify_feed_body .notify_feed_text .notice_title .download_link_body{
    position: relative;
}
.msg-chat .MR-chat .notify_feed_body .notify_feed_text .notice_title .download_link_body::before{
    content:'';
    background-color: #fff;
    width: 100%;
    height: 1px;
    position: absolute;
    bottom: -1px;
}
.msg-chat .MR-chat .notify_feed_body .notify_feed_text .notice_text{
    font-size: 14px;
    font-weight: 400;
    line-height: 22px;
    text-align: left;
    color: #fff;
    cursor: pointer;
}
.msg-chat .MR-chat .notify_feed_body .notify_feed_text .chat_id_box{
    line-height: 22px;
    background-color: #FC990F;
    border-radius: 65px;
    display: inline-block;
    padding: 2px 15px;
}
.msg-chat .MR-chat .boarder {
    height: 100% !important;
    /*height: calc(100% - 158px) !important;*/
    /*height: 515px !important;*/
}
.playback-chat .msg-chat .MR-chat .boarder {
    /*height: 390px !important;*/
}
.SR-area-chat .slide-chat #LF-chat-msg{
    height: 100%;
}
.SR-area-chat .slide-chat #LF-chat-msg .layui-tab-brief{
    height: 100%;
}
.SR-area-chat .slide-chat #LF-chat-msg .layui-tab-brief .layui-tab-content{
    height: calc(100% - 55px);
    padding: 10px 0 0;
}
.SR-area-chat .slide-chat #LF-chat-msg .layui-tab-brief .layui-tab-content #imChatFrame{
    height: 100%;
}

/*主播私聊*/
.messageContainer{
    height: calc(100% - 65px);
    overflow: hidden;
    padding: 0 17px;
    margin-bottom: 65px;
    overflow-y: auto;
    font-size: 12px;
    font-family: var(--theme-global-title-font), sans-serif;
    font-weight: 500;
    color: #FFFFFF;
    line-height: 18px;
    letter-spacing: 1px;
}
.messageContainer .message{
    float: left;
    width: 100%;
}
.messageContainer .message_system{
    text-align: center;
    margin: 0px auto;
    max-width: 50%;
}
.messageContainer .message_system .content{
    overflow: hidden;
    display: inline-block;
    font-size: 12px;
    padding: 1px 18px;
    color: #b2b2b2;
    border-radius: 2px;
}
.messageContainer .avatar{
    width: 40px;
    height: 40px;
    border-radius: 100%;
    float: left;
    cursor: pointer;
}
.messageContainer .message .content {
    overflow: hidden;
}
.messageContainer .bubble.bubble_default {
    background-color: #F7F8FA;
    border-radius: 0px 16px 16px 16px;
}
.messageContainer .bubble {
    max-width: 500px;
    min-height: 1em;
    display: inline-block;
    vertical-align: top;
    position: relative;
    text-align: left;
    font-size: 14px;
    border-radius: 3px;
    margin: 2px 10px;
}
.messageContainer .bubble_cont {
    word-wrap: break-word;
    word-break: break-all;
    min-height: 25px;
}
.messageContainer .bubble_cont .plain {
    padding: 6px 12px;
}
.messageContainer .js_message_plain {
    margin: 0;
    font-family: var(--theme-global-title-font), sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 22px;
    white-space: pre-wrap;
    word-break: normal;
    display: block;
    border: 0;
    border-radius: 4px;
    /*background-color: #F7F8FA;*/
    color: #333333;
}
.messageContainer .addFriend{
    width: 160px;
    height: 32px;
    border-radius: 4px;
    margin: 12px auto 3px auto;
    display: flex;
    justify-content: center;
    padding: 2px 16px;
    align-items: center;
    cursor: pointer;

    color: var(--button-color-gradient-text);
    background: var(--button-color-gradient-bg);
}
/* 主播私聊 */
#sendMsgScopeDiv{
    background: #fff;
    /*border-top: 1px solid #8080801c;*/
}
#sendMsgScopeDiv img {
    height: 20px;
    margin-right: 12px;
}
#sendMsgScopeDiv .input-wrap {
    border: none;
    height: 40px;
    width: 100%;
    text-indent: 12px;
    padding-right: 60px;
    padding-left: 40px;
    border: 1px solid #c9cdd4;
}
#sendMsgScopeDiv .input-wrap:focus{
    border: none;
    border-color:#c9cdd4 !important;
    border: 1px solid #c9cdd4;
    box-shadow: none;
}
#sendMsgScopeDiv .chat_input .layui-input-prefix{
    width: 50px;
    font-size: 14px;
    line-height: 22px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    /*background: var(--button-color-bg5);*/
    color: var(--button-color-text5);
}
#sendMsgScopeDiv .chat_input .send_btn_box{
    width: 60px;
    height: 40px;
    padding: 0px;
    display: flex;
    align-items: center;
    justify-content: center;
}
#sendMsgScopeDiv .btn {
    display: inline-block;
    /*margin-bottom: 0;*/
    font-size: 14px;
    font-weight: 400;
    line-height: 1.42857143;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    touch-action: manipulation;
    cursor: pointer;
    user-select: none;
    height: 100%;
    width: 100%;

    margin: 0;
    flex: 1;
    color:var(--button-color-gradient-text);
    border: 1px solid var(--button-color-gradient-border);
    background: var(--button-color-gradient-bg);
    /*background-image: none;*/
}

@media screen and (max-width:1400px){
    .msg-chat .MR-chat .boarder{
        height: calc(100% - 120px) !important;
    }
    /*.playback-chat .layui-tab-item {*/
    /*    height: 285px;*/
    /*}*/
    /*.playback-chat .msg-chat .MR-chat .boarder{*/
    /*    height: 230px !important;;*/
    /*}*/
    #LF-chat-msg .layui-tab-brief > .layui-tab-title {
        height: 40px;
    }

    #LF-chat-msg .layui-tab-brief > .layui-tab-title li {
        line-height: 40px;
        height: 40px;
    }
    .SR-area-chat{
        /*height: calc(349px + 96px);*/
        height: 100%;
    }
    .SR-area-chat .top-message{
        height: 36px;
    }
    .SR-area-chat .slide-chat{
        height: calc(100% - 36px);
    }

    .SR-area-chat .slide-chat #LF-chat-msg{
        height: 100%;
    }
    .SR-area-chat .slide-chat #LF-chat-msg .layui-tab-brief{
        height: 100%;
    }
    .SR-area-chat .slide-chat #LF-chat-msg .layui-tab-brief .layui-tab-content{
        height: calc(100% - 50px);
        padding: 10px 0 0;
    }

    .SR-area-chat .slide-chat #LF-chat-msg .layui-tab-brief .layui-tab-content #imChatFrame{
        height: 100%;
    }
    .messageContainer{
        height: calc(100% - 95px);
    }

    .msg-chat .MR-chat .notify_feed_body{
        /*height: 60px;*/
        height: 74px;
    }
}