/*基础样式*/

/*html{*/
/*    height: 100%;*/
/*}*/

/*body{*/
/*    display: flex;*/
/*    flex-direction: column;*/
/*    height: 100%;*/
/*}*/

main{
    flex: 1 0 auto;
}

header{
    flex: 0 0 auto;
}

.help-block{
    color: #e74c3c;
    font-size: 12px;
}

.comment-h1{
    font-size: 1.75rem;
    font-weight: bold;
}

.comment-h2{
    font-size: 1.5rem;
    font-weight: bold;
}

.comment-h3{
    font-size: 1.25rem;
    font-weight: bold;
}

.comment-h4{
    font-size: 1rem;
    font-weight: bold;
}
.comment-h5{
    font-size: 0.875rem;
    font-weight: bold;
}

.comment-h6{
    font-size: 0.75rem;
    font-weight: bold;
}

.p-break{
    word-break: break-all;
}
.comment-ul {
    list-style: none; /* 去掉默认列表样式 */
    margin-left: 20px;
    padding-left: 0; /* 去掉内边距，以便自定义样式 */
}

.comment-ul .comment-ul-li {
    position: relative; /* 使得伪元素可以根据li定位 */
    padding-left: 20px; /* 给li留出空间，避免文字与圆圈重叠 */
}

.comment-ul .comment-ul-li::before {
    content: ""; /* 使用空内容 */
    position: absolute; /* 绝对定位 */
    left: 0; /* 定位在li的左侧 */
    top: 50%; /* 垂直居中 */
    transform: translateY(-50%); /* 精确居中 */
    width: 5px; /* 圆的宽 */
    height: 5px; /* 圆的高 */
    border: 1px solid gray; /* 空心圆的边框 */
    border-radius: 50%; /* 圆形 */
    background-color: transparent; /* 背景透明 */
    unicode-bidi: isolate;
    font-variant-numeric: tabular-nums;
    text-transform: none;
    text-indent: 0px !important;
    text-align: start !important;
    text-align-last: start !important;
}

.comment-ol {
    list-style: none; /* 移除默认的列表样式 */
    margin-left: 30px; /* 控制整体左边距 */
    padding-left: 0; /* 移除内边距 */
    counter-reset: list-counter; /* 初始化计数器 */
}

.comment-ol .comment-ol-li {
    counter-increment: list-counter; /* 计数器递增 */
    position: relative; /* 使伪元素相对定位 */
    padding-left: 10px; /* 为伪元素留出空间 */
}

.comment-ol .comment-ol-li::marker {
    content: counter(list-counter) "."; /* 使用计数器值和点号 */
    unicode-bidi: isolate; /* 确保计数符号在不同语言环境下正确显示 */
    font-variant-numeric: tabular-nums; /* 使用表格数字样式 */
    text-transform: none;
    text-indent: 0px !important;
    text-align: start !important;
    text-align-last: start !important;
    font-weight: bold; /* 加粗编号 */
    margin-right: 5px; /* 编号与文本之间的间距 */
}
.img-emoji{
    width: 20px;
    height: 20px;
}

@media screen and (max-width: 578px) {
    .img-emoji{
        width: 15px;
        height: 15px;
    }
}

.nav-avatar{
    width: 35px;
    height: 35px;
    border-radius: 50%;
}

.a-white{
    color: white;
    text-decoration: none;
}

.a-white:hover{
    color: #cccccc;
}

.span-hand{
    cursor: pointer;
}

.ul-posts{
    border-radius: 5px;
}

.img-profile-bg{
    border-radius: 5px;
    height: 150px;
    width: 150px;
    background-size: cover;
    background: no-repeat center;
}

.img-profile-bg-50{
    border-radius: 5px;
    height: 50px;
    width: 50px;
    background-size: cover;
    background: no-repeat center;
}

@media screen and (max-width: 567px){
    .img-profile-bg{
        height: 75px;
        width: 75px;
    }
    .div-center-md{
        text-align: center;
    }
}

.user-card {
    float: left;
    width: 20%;
    max-height: 180px;
    padding: 1rem;
    margin-bottom: 1rem;
    border: 0;
}

.avatar-m {
    width: 100px;
    height: 100px;
}

.img-pd10{
    padding: 10px 10px 10px 0;
}

.span-blockquote{
    color: #80bdff;
}

.p-mt-0{
    margin-bottom: 0;
}

.p-mt-1{
    margin-bottom: 3px;
}

.p-hint{
    color: #147b14;
    margin-bottom: 2px;
    font-weight: bold;
    font-size: 12px;
    display: none;
}

.p-hint-error{
    color: rgba(255,18,23,0.8);
    margin-bottom: 2px;
    font-weight: bold;
    font-size: 12px;
    display: none;
}
.avatar-16{
    width: 16px;
    height: 16px;
}
.avatar-50{
    width: 50px;
    height: 50px;
}

.radius-50{
    border-radius: 50%;
}

.f-12{
    font-size: 12px;
}
.f-13{
    font-size: 13px;
}
.f-14{
    font-size: 14px;
}

.f-16{
    font-size: 16px;
}
.f-17{
    font-size: 17px;
}
.nav-link{
    padding: .4rem .4rem;
}

.div-330{
    min-height: 330px;
    overflow-y: hidden;
}

.hljs{
    overflow-x: auto;
}

.comment-content{
    max-height: 450px;
    overflow-y: hidden;
}

@media screen and (max-width: 756px) {
    .comment-content{
        max-height: 300px;
        overflow-y: hidden;
    }
}

.coin-img{
    width: 18px;
    height: 18px;
}