.hudong-box {
    background-attachment:fixed ;
    background-repeat: no-repeat;
    background-size: 100% auto !important;
    background-color: #f5f6f7;
}
.msg-hengxian{
    height: 1px;
    width: 100%;
    background: #e0e0e0;
}
.msg-content-hf{
    line-height: 25px!important;
    white-space: inherit!important;
}
.msg-huifu{
    color: #747474;
}
.message{
    padding-bottom: 75px;
    z-index: 1;
    width: 100%;
    top: 0;
    bottom: 0;
    overflow: auto;
    overflow-x: hidden;
    min-height: 400px;
}
.message .tip {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 30px;
    font-size: 12px;
    color: #999;
    margin-bottom: 20px;
}
.send:after,.show:after,.msg:after{
    content: "";
    clear: both;
    display: table;
}
.send,.show{
    padding-bottom: 1rem;
}
.msg {
    padding: 5px;
}
.msg>img{
    display: inline-block;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    vertical-align: middle;
    margin-right: 10px;
}
.msg>p{
    float: left;
    margin:0  0.4rem;
    padding: 0.25rem;
    background: #fff;
    font-size: 14px;
    position: relative;
    border-radius: 0.2rem;
    max-width:5rem ;
    box-sizing: border-box;
}
.time{
    font-size:12px;
    color:#999;
    margin-bottom: 0.3rem;
    text-align: center;
}
.d-flex {
    display: flex;
    display: -webkit-flex;
}
.msg-content {
    margin-top: .3rem;
    line-height: 1.4;
    background-color: #ffffff;
    border-radius: .5rem;
    padding: .4rem .6rem;
    position: relative;
    margin-right: 5rem;
    font-size: 14px;
    word-break: break-word;
    display: inline-block;
    white-space: pre-wrap;
}
.msg-content img{
    padding-left: 5px;
    border-radius: 8px;

}
.giftmsg{
    text-align: center;
    width: 100%;
    background-color: #ffffff00;
    color: #ff8920;
}
.flex {
    -webkit-box-flex: 1;
    -webkit-flex: 1;
    -ms-flex: 1;
    flex: 1;
    cursor: pointer;
}
/*.chatfooter img {
    /*width: 7%;*/
    /*padding-left: 2%;*/
/*}*/
.chatfooter .chat_biaoqing {
    width: 28px;
    height: 28px;
    margin-left: 10px;
}
.chatfooter .gift_btn {
    width: 28px;
    height: 28px;
    margin-right: 10px;
}
.chatfooter {
    /*background: #F5F5F7;*/
    width: 100%;
    /*border-top: #D6D6D8 solid 1px;*/
    padding: 0.1rem 0;
    display: flex;
    align-items: center;
}
.chatfooter p {
    width: 13%;
    /*height: 30px;*/
    margin: auto;
    font-size: 14px;
    color: #005798;
    line-height: 30px;
    text-align: center;
    /*background-color: #1e9fff;*/
    border-radius: 5px;
    float: right;
    /*margin-top: 0.6rem;*/
    margin-right: 8px;
}
.chatfooter textarea {
    padding: 1px 15px;
    border: 0.5px solid #f5f5f5;
    margin: 8px;
    height: 30px;
    line-height: 30px;
    border-radius: 15px;
    background-color: #f5f5f5;
}
.msg-dsgift{
    margin-top: .3rem;
    line-height: 1.4;
    background-color: #F3E2DB;
    border-radius: .2rem;
    padding: .5rem;
    position: relative;
    font-size: 12px;
    color:#CA333E;
    word-break: break-word;
    display: inline-block;
}
.msg-dsgift img {
    width: 18px;
    height: 18px;
}
.flex_ds_chat{
    -webkit-box-flex: 1;
    -webkit-flex: 1;
    -ms-flex: 1;
    flex: 1;
    cursor: pointer;
    text-align: center;
}
/*送礼特效*/
.anim-box {
    width: auto;
    min-width: 220px;
    height: 60px;
    background: linear-gradient(to right, #00b9fe , #ffffff00);
    position: absolute;
    left: 100%;
    border-radius: 50px 0 0 50px;
    z-index: 9999999999999999999999;
    top: 50px;
    display: flex;
    align-items: center;
    animation: slideIn 6s forwards;
}
@keyframes slideIn {
    0% {
        left: 100%; /* 从右侧开始（完全不可见）*/
    }
    60% {
        left: 10px; /* 移动到最左边 */
    }
    80% {
        left: 10px; /* 保持1秒 */
        opacity: 1;
    }
    100% {
        left: 10px; /* 向左完全移出屏幕及渐隐 */
        opacity: 0;
    }
}
.liheadimg{
    margin-left: 10px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
}
.hd_tj_msg{
    position: absolute;
    top: 50px;
    background: #fff;
    width: 90%;
    margin: 0 5%;
    border-radius: 8px;
    z-index: 99;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 3px 10px;
    box-shadow: 0 2px 8px rgba(51, 51, 51, .08);
}
.hd_tj_msg_text{
    -webkit-line-clamp: 1;
    overflow: hidden;
    -webkit-box-orient: vertical;
    white-space: normal;
    font-size: 14px;
    font-weight: 700;
    width: 90%;
    display: flex;
    align-items: center;
}
.hd_tj_msg_text-ss{
    -webkit-line-clamp: 1;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    white-space: normal;
    width: -webkit-fill-available;
}