.chat-bg{top:0;left:0;background:rgba(0,0,0,.7)}.chat-bg,.chat-box{position:fixed;width:100%;height:100%}.chat-box{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;max-width:840px;max-height:654px;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;background:#fff;top:50%;left:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);-webkit-box-shadow:1px 1px 15px 0 rgba(0,0,0,.3);box-shadow:1px 1px 15px 0 rgba(0,0,0,.3);border-radius:8px;overflow:hidden}.chat-title{background:-webkit-gradient(linear,right top,left top,from(#1890ff),to(#3875ea));background:linear-gradient(270deg,#1890ff,#3875ea);text-align:left;line-height:60px;color:#fff;font-size:16px}.chat-title img{width:30px;height:30px;border-radius:50%;margin-right:10px;top:10px;position:relative}.chat-textarea{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;height:175px;border-top:1px solid #ececec}.chat-bar{height:40px;width:100%;line-height:40px;text-align:left}.chat-textarea .textarea-box{-webkit-box-flex:1;-ms-flex:1;flex:1;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;min-height:0;position:relative}.chat-textarea .editable{-webkit-box-flex:1;-ms-flex:1;flex:1;padding:4px 7px;overflow-x:hidden;overflow-y:auto;font-size:14px;line-height:1.5;color:#515a6e}.send-btn{position:absolute;right:0;bottom:10px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end;margin-top:10px;margin-right:10px}.textarea-box textarea{height:95px;resize:none;border:none;background:transparent;border-style:none;font-size:14px;outline:none;padding:0 15px}.chat-box .chat-item{margin-bottom:10px}.chat-box .chat-item .time{text-align:center;color:#999;font-size:14px;margin:18px 0}.chat-box .chat-item .flex-box{display:-webkit-box;display:-ms-flexbox;display:flex}.chat-box .chat-item .avatar{width:40px;height:40px;margin-right:16px}.chat-box .chat-item .avatar img{display:block;width:100%;height:100%;border-radius:50%}.chat-box .chat-item .msg-wrapper{max-width:320px;background:#f5f5f5;border-radius:10px;color:#000;font-size:14px;overflow:hidden}.chat-box .chat-item .msg-wrapper .pad16{padding:12px}.chat-item .msg-wrapper .txt-wrapper{word-break:break-all}.chat-box .chat-item.right-box .flex-box{-webkit-box-orient:horizontal;-webkit-box-direction:reverse;-ms-flex-direction:row-reverse;flex-direction:row-reverse}.emotion-box{border:1px solid #e2e2e2!important}.emotion-box-line{cursor:pointer}.chat-item.right-box .flex-box .avatar{margin-right:0;margin-left:16px}.chat-item .msg-wrapper .img-wraper img{max-width:100%;height:auto;display:block}