/* 经典评论区样式 */

/* 把超过两级的评论缩进统一处理 */
.comment-list .children .children {
    margin-left: 0; /* 取消进一步的缩进 */
    padding-left: 0;
}

/* 你可以自己控制二级的缩进 */
.comment-list .children {
    margin-left: 20px; /* 或者固定值 */
}

.comments-area {
    margin: 30px 0;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.comments-title {
    font-size: 1.5em;
    margin-bottom: 20px;
    color: #333;
    border-bottom: 2px solid #0073aa;
    padding-bottom: 10px;
}

.comment-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.comment {
    position: relative;
    margin-bottom: 20px;
    padding: 15px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.comment-number {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 0.9em;
    color: #0073aa;
    font-weight: bold;
}

.comment-reply-info {
    font-size: 0.9em;
    color: #666;
    margin-bottom: 5px;
    font-style: italic;
}

.comment-author {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.comment-author .avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    margin-right: 10px;
    border: 1px solid #ddd;
}

.comment-author .fn {
    font-weight: 600;
    color: #333;
    font-size: 1.1em;
}

.comment-meta {
    font-size: 0.9em;
    color: #666;
    margin-bottom: 10px;
}

.comment-content p {
    margin: 0 0 10px;
    color: #444;
    line-height: 1.6;
}

.reply {
    margin-top: 10px;
}

.reply a {
    color: #0073aa;
    text-decoration: none;
    font-size: 0.9em;
}

.reply a:hover {
    text-decoration: underline;
}

.no-comments {
    color: #666;
    font-style: italic;
}

.comment-form {
    margin-top: 30px;
    padding: 20px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.comment-form p {
    margin-bottom: 15px;
}

.comment-form input,
.comment-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1em;
    transition: border-color 0.3s;
}

.comment-form input:focus,
.comment-form textarea:focus {
    border-color: #0073aa;
    outline: none;
}

.comment-form .submit {
    background: #0073aa;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1em;
}

.comment-form .submit:hover {
    background: #005d88;
}

/* 响应式设计 */
@media (max-width: 600px) {
    .comment-author .avatar {
        width: 24px;
        height: 24px;
    }

    .comment-number {
        font-size: 0.8em;
    }
}