.wk-message-text {
    word-wrap: break-word;
    word-break: break-all;
    width: 100%;
}

.wk-message-text  pre {
    margin-bottom: 0;
    white-space: pre-wrap; /*css-3*/
    white-space: -moz-pre-wrap; /*Mozilla,since1999*/
    white-space: -pre-wrap; /*Opera4-6*/
    white-space: -o-pre-wrap; /*Opera7*/
    word-wrap: break-word; /*InternetExplorer5.5+*/
    font-family: Helvetica;
}

.wk-message-text-richtext {
    
}

.wk-message-text-richmention {
    cursor: pointer;
    text-decoration: underline;
}

.wk-message-text-send {
    color: var(--wk-text-primary, black);
}

.wk-message-text-recv {
    color: black;
}

body[theme-mode=dark] .wk-message-text-recv {
    color: white;
}

.wk-message-text-richemoji {

}

.wk-message-text-richemoji img {
    width: 18px;
    height: 18px;
    vertical-align: sub;
}

.wk-message-text-richemoji--large img {
    width: 120px;
    height: 120px;
}

.wk-message-text-reply {
    display: flex;
    color: var(--wk-text-secondary);
    font-size: 14px;
    flex-direction: column;
    cursor: pointer;
}

.wk-message-text-reply-author {
    display: flex;
    align-items: center;
}

.wk-message-text-reply-authoravatar {
    margin-right: 4px;
}

/* dmwork-web#1069：legacy 引用预览的外部成员「@SpaceName」后缀，与
   新 UI 的 .wk-reply-block__space 等价。 */
.wk-message-text-reply-space {
    margin-left: 4px;
    font-size: 12px;
    color: var(--wk-text-tertiary, rgba(9, 30, 66, 0.54));
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 140px;
}

.wk-message-text-reply-content { 
    width:100%;
	word-break:break-all;
	display:-webkit-box;
	-webkit-line-clamp:1;
	-webkit-box-orient:vertical;
	overflow:hidden;
}

.wk-message-text-content {
    margin: 0;
    word-break: break-word;
    line-height: 1.3125;
    text-align: initial;
    display: flow-root;
    unicode-bidi: plaintext;
}

.wk-stream-cursor {
    display: inline-block;
    width: 2px;
    height: 1em;
    background-color: var(--wk-color-theme);
    animation: wk-stream-blink 1s infinite;
    margin-left: 2px;
    vertical-align: text-bottom;
}

@keyframes wk-stream-blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}