/* 评论 */
.comment {
    padding: 18px 0;
    margin-bottom: var(--size18);
    border-radius: var(--radius);
    text-align: center;
    background: var(--card-bg);
    cursor: pointer;
    font-weight: 550;
    font-size: 18px;
}

/* 评论列表 */
/* 每条评论卡片 */
.article-comment .comment-list .mb10 {
    padding: 1.75rem;
    background: var(--card-bg);
    border-radius: var(--radius);
}

.comment-list .mb10 {
    margin-bottom: 18px;
}

.comment-list .mb10 .date {
    text-align: center;
}

/* .comment-list .mb10 .user-info, */
.comment-list .mb10 .user-info-child {
    display: flex;
    margin-bottom: 18px;
}

.mb10 .user-info .comment-info-header,
.mb10 .comment-info .comment-info-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    line-height: 1.8;
}

.mb10 .comment-info-header .comment-to,
.mb10 .comment-info-header .name {
    font-weight: 700;
}

.center-name .name,
.center-name-at span{
    font-size: calc(12px + 0.2rem);
}

.center-name-at{
    padding-left: 28px;
}

.comment-to {
    color: rgb(133, 133, 133);
}

.mb10 .user-info .user-img,
.mb10 .user-info-child .user-img {
    width: 48px;
    height: 48px;
    margin-right: 8px;
    border-radius: var(--radius);
}

.user-info .user-img img,
.user-info-child .user-img img {
    width: 100%;
    object-fit: cover;
    aspect-ratio: 1/1;
    border-radius: var(--radius);
}

.user-info .user-info-parent {
    display: flex;
    padding: 8px;
}

/* 子评论 */
.intend {
    margin-left: 58px;
    padding: 8px;
    border-radius: var(--radius);
    background: #f7f7f7;
}

/* 闪光动画 */
@keyframes shan {
    0% {}
}

.mb10 .comment-info {
    flex: 1;
    padding: 8px;
    padding-top: 0;
}

.mb10 .comment-info p {
    display: inline-block;
    padding: 0 8px;
    margin: 5px 0;
    line-height: 32px;
    border-radius: var(--radius);
    background: var(--message-bg);
    font-size: 14.4px;
}

.mb10 .comment-info .name {
    font-family: "Arial", "Microsoft YaHei", "黑体", "宋体", sans-serif;
}

.mb10 .comment-info .identity {
    padding: 2px;
    font-size: 12px;
    font-weight: 550;
    background: #acdcf2;
    /* background-image: -webkit-linear-gradient(45deg,#1b94fb 25%,transparent 0,transparent 50%,#1b94fb 0,#1b94fb 75%,transparent 0,transparent); */
    border-radius: var(--radius);
    border: 1px solid #1b94fb;
    color: #1b94fb;
}

.mb10 .comment-info .comment-info-footer {
    font-size: 14px;
    color: var(--rgba130);
}

/* 点赞 */
.like-reply {
    color: var(--rgba130);
}

.like-reply span,
.like-reply i{
    font-size: 14px;
}

.icon-good-dz,
.icon-huifu-hf {
    cursor: pointer;
}

.icon-huifu-hf {
    font-size: 20px;
    margin-left: 1rem;
}
/* 弹窗 */
.comment-wrap {
    position: fixed;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 9;
    background: rgba(0,0,0,0.4);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 16px;
    color: #03e9f4;
}

.comment-card{
    display: flex;
    flex-direction: column;
    position: fixed;   
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    max-width: 90%;
    background: linear-gradient(to left, #e9e1e8, #dfecf2);
    padding: 16px 24px;
    box-shadow: 0px 7px 20px 1px #d7ceff30;
    border-radius: var(--radius);
    color: #374158;
}

.comment-card .comment-card-header{
    display: flex;
}

.comment-card-header .img-wrap{
    width: 9rem;
    height: 9rem;
    background: #f1f2fbcc;
    border-radius: var(--radius);
}

.comment-card-header .img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.comment-card-header .input-wrap{
    flex: 1;
    margin-left: 1.8rem;
}

.comment-card-header .input-wrap input{
    display: block;
    padding: 0.5rem 0 0.5rem 1rem;
    width: 100%;
    line-height: 1.4rem;
    border-radius: var(--radius);
    background: #f1f2fbcc;
}
/* placeholder样式 */
.comment-card-header .input-wrap input::placeholder,
.comment-card .comment-card-text textarea::placeholder{
    color: rgb(136, 136, 136);
}

.comment-card-header .input-wrap input:nth-child(2){
    margin: 1rem 0;
}

.comment-card .comment-card-text{
    position: relative;
    overflow: hidden;
    padding-top: 1rem;
}

.comment-card .comment-card-text textarea {
    padding: 0.8rem;
    width: 100%;
    border: unset;
    outline: none;
    border-radius: var(--radius);
    background: #f1f2fbcc;
}

.comment-card .comment-card-footer {
    display: flex;
    justify-content: space-between;
    padding-top: 0.8rem;
    width: 100%;
}

.comment-card .comment-card-footer div,
#sendComment input {
    cursor: pointer;
}
.comment-card .comment-card-footer .unlock{
    cursor: default;
}

#sendComment{
    display: none;
}

#sendComment input {
    font-size: 16px;
}
/* 弹窗 */

/* 评论审核 */
.review {
    color: rgb(255, 80, 80); 
    padding: 0.25rem; 
    margin-left: 1rem;
    border: 1px solid #e4e4e4;
    border-radius: var(--radius);
}