@charset "utf-8";

/* 统一引用样式 兼容bbs引用 */
.card.card-thread blockquote,
.card.card-postlist blockquote:not(.blockquote),
.mce-content-body blockquote:not(.blockquote) {
    border-left: 2px solid #ccc;
    margin-left: 1.5rem;
    padding-left: 1rem;
}

/* 编辑器内容-默认字体 */
.mce-content-body {
    font-family: Microsoft YaHei, 微软雅黑, SimHei;
}

/* 编辑器内容-防止图片超宽溢出 */
.mce-content-body img {
    max-width: 100%;
    height: auto;
}

/* 编辑器对bbs评论引用内容做处理，实际项目中删除这些 */
.mce-content-body blockquote.blockquote {
    font-size: 0.8rem;
    background-color: #e9ecef;
    padding: 0.5rem 1rem !important;
    margin: 0;
}

.mce-content-body blockquote.blockquote .avatar-1 {
    width: 1.3rem;
    height: 1.3rem;
    border-radius: 1.3rem;
}

.mce-content-body blockquote.blockquote .user {
    text-decoration: none;
    color: #868e96 !important;
    font-size: 12px;
}

/* 编辑器按钮 */
.tox .tox-tbtn--bespoke .tox-tbtn__select-label {
    width: 2.8rem !important;
}

/* 内容 */
.message img {
    border-color: transparent;
}

.video-wrapper {
    position: relative;
}

.video-logo {
    position: absolute;
    top: 10px;
    right: 10px;
    max-width: 150px;  /* 根据需要调整 logo 大小 */
    display: block;    /* 初始状态下显示 logo */
}

video {
    display: block;
    width: 100%;
    height: auto;
}
