.layui-tab {
    margin: 0 0;
    text-align: left!important;
    background: #fff;
}
.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;
}
.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: SourceHanSansCN,sans-serif;
}

.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;
}

.layui-tab-brief>.layui-tab-title .layui-this {

    background-color: #fff;
    text-align: center;
    color: #ec300c;
    font-family: SourceHanSansCN,sans-serif;
}
.layui-tab-brief>.layui-tab-title .layui-this:after {
    border: none;
    border-radius: 0;
    border-top: 2px solid #EC300C;
}
.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: SourceHanSansCN,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;
    margin: 0 10px;
    padding: 10px;
    background-image: url("/static/img/live/room_chat_bg.png");
    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: SourceHanSansCN,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: 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: SourceHanSansCN,sans-serif;
    font-weight: 500;
    color: #FFFFFF;
    line-height: 18px;
    letter-spacing: 1px;
}
.messageContainer .disabled{
    cursor: not-allowed;
    filter: alpha(opacity=65);
    opacity: .65;
}
.messageContainer .message{
    float: left;
    width: 100%;
}
.messageContainer .message_system{
    text-align: center;
    margin: 0 auto;
    max-width: 80%;
}
.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%;
    cursor: pointer;
}
.messageContainer .message_avatar{
    width: 40px;
    height: 40px;
    background-image: url('/static/notification/default_local_avatar.svg');
    background-size: cover;
    background-position: center;
    border-radius: 50%;
    float: left;
}
.messageContainer .message.my .message_avatar{
    float: right;
}
.messageContainer .message .content {
    width: calc(100% - 40px);
    overflow: hidden;
}
.messageContainer .bubble.bubble_default {
    background-color: #F7F8FA;
    border-radius: 0px 16px 16px 16px;
}
.messageContainer .bubble {
    max-width: calc(100% - 10px);
    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: inherit;
    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 .js_message_plain img {
    max-width: 10rem;
    border-radius: 2px;
    cursor: pointer;
}
.messageContainer .js_message_plain img[alt="mobile-emoji"] {
    width: 18px;
    height: 18px;
    vertical-align: -3px;
}
.messageContainer .message.my .bubble{
    float: right;
}
.messageContainer .message.my .bubble.bubble_default {
    color: #fff !important;
    background-color: #E21C34;
    border-radius: 16px 0 16px 16px;
}
.messageContainer .message.my .bubble.bubble_default .js_message_plain {
    color: #fff;
}
.messageContainer .addFriend{
    width: 160px;
    height: 32px;
    background: #EC300C;
    border-radius: 4px;
    margin: 12px auto 3px auto;
    display: flex;
    justify-content: center;
    padding: 2px 16px;
    align-items: center;
    cursor: pointer;
    color: #fff;
}
.messageContainer .addFriend.disabled img{
    width: 16px;
    height: 16px;
    margin: 2px 6px 0 0;
    display: inline-block !important;
}
.messageContainer .content .message-quote{
    max-width: calc(100% - 10px);
    min-height: 1em;
    margin: 2px 10px;
    display: flex;
    justify-content: flex-start;
}
.messageContainer .content .quote-content{
    color: #333333;
    background: #eaecf1;
    border-radius: 4px;
    padding: 4px 8px;
}
.messageContainer .content .quote-content img{
    max-width: 32px;
    border-radius: 5px;
}
.messageContainer .content .quote-content img[alt="mobile-emoji"] {
    width: 18px;
    height: 18px;
    vertical-align: -3px;
}

#sendMsgScopeDiv{
    background: #fff;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    /*border-top: 1px solid #8080801c;*/
}
#sendMsgScopeDiv .imFriendStatus{
    cursor: pointer;
    color: blue;
    font-size: 12px;
    padding: 10px;
    display: flex;
    align-items: center;
    width: 100%;
    box-sizing: border-box
}
#sendMsgScopeDiv .imFriendStatus .chat_actions{
    display: flex;
    align-items: center;
    height: 30px;
}
#sendMsgScopeDiv img {
    height: 20px;
    margin-right: 12px;
}
#sendMsgScopeDiv .input-wrap {
    height: 40px;
    width: 100%;
    text-indent: 12px;
    padding-right: 60px;
    padding-left: 40px;
    border: 1px solid #c9cdd4;
}
#sendMsgScopeDiv .input-wrap:focus{
    border: 1px solid #c9cdd4 !important;
    box-shadow: none;
}
#sendMsgScopeDiv .chat_input .layui-input-prefix{
    width: 50px;
    color: #ec300c;
    font-family: SourceHanSansCN,sans-serif;
    font-size: 14px;
    line-height: 22px;
    padding: 0px;
    display: flex;
    align-items: center;
    justify-content: center;
}
#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;
    background-image: none;
    border: 1px solid transparent;
    height: 100%;
    width: 100%;
}
#sendMsgScopeDiv #btnSend {
    flex: 1;
    margin: 0;
    color: white;
    background-color: #EC300C;
}
#sendMsgScopeDiv #sendImMessage{
    pointer-events: auto;
    user-select: auto;
}
#sendMsgScopeDiv #btnEmojl{
    position: relative;
}
#sendMsgScopeDiv #btnEmojl{
    position: relative;
}
#sendMsgScopeDiv #btnEmojl .emoji-panel{
    position: absolute;
    bottom: 40px;
    left: 0;
    width: 316px;
    height: 236px;
    background: #fff;
    border-top: 1px solid #eee;
    box-shadow: 0 0 10px rgba(0, 0, 0, .1);
    z-index: 100;
    display: none;
    grid-template-columns: repeat(auto-fill, 32px);
    grid-template-rows: repeat(auto-fill, 32px);
    justify-content: center;
    place-items: center center;
    grid-auto-flow: row;
    gap: 2px;
    overflow-y: auto;
    border-radius: 2px;
}
#sendMsgScopeDiv.network-disconnect .imFriendStatus{
    cursor: not-allowed;
    filter: alpha(opacity=65);
    opacity: .65;
}
#sendMsgScopeDiv .network-status{
    position: absolute;
    z-index: 100;
    top: 0;
    left: 0;
    display: none;
    justify-content: center;
    align-items: center;
    height: 60px;
    width: 100%;
    padding: 10px;
    box-sizing: border-box;
}
#sendMsgScopeDiv.network-disconnect .network-status{
    display: flex;
}
.emoji-panel span{
    font-size: 18px;
    padding: 4px 3px;
    cursor: pointer;
}
/* Lightbox 样式 */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.lightbox.active {
    opacity: 1;
}
.lightbox-content {
    width: 90vw;
    height: 90vh;
    border-radius: 8px;
    position: relative;
}
.lightbox img,
.lightbox video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 8px;
}
.lightbox-close-btn {
    position: absolute;
    top: 45px;
    right: 45px;
    width: 45px;
    height: 45px;
    cursor: pointer;
    background: center / contain no-repeat url('/static/notification/close.png');
}
.lightbox-nav-btn {
    display: none;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: center / contain no-repeat url('/static/notification/lrf.png');
    border-radius: 50%;
    width: 40px;
    height: 40px;
    text-align: center;
    line-height: 40px;
    cursor: pointer;
    font-size: 24px;
    color: black;
}
.lightbox-prev-btn {
    left: 10px;
}
.lightbox-next-btn {
    right: 10px;
    transform: rotate(180deg);
}

@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;;*/
    /*}*/
    .layui-tab-brief>.layui-tab-title{
        height: 40px;
    }
    .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;
    }
}