
        /* 评论区整体 */
#comments {
    border-radius: 12px;
    padding: 20px 0;
    color: #2e7d32;
    width: clamp(60vw, 777px, 95vw);
    margin: 0 auto;
}
#cyd_comment_form_info{
    display: flex;
    justify-content: space-between;
    width: 100%;
}
/* 评论区信息 */
#cyd_comment_form_info input{
    width: 29%;
    border: 1px solid #a5d6a7;
    border-radius: 10px;
    padding: 10px;
    font-size: 1em;
    background: #f9fef9;
    resize: vertical;
}
#cyd_comment_form_info input:focus{
    outline: none;
    border-color: #66bb6a;
}
#cyd_comment_form_info input::placeholder{
    color: #a5d6a7;
}
@media screen and (max-width: 700px) {
    #cyd_comment_form_info{
        flex-direction: column;
        margin: 15px 0 0
    }
    #cyd_comment_form_info input{
        width: calc(100% - 20px);
        margin-bottom: 10px;
    }
    
}

/* 提交按钮和验证 */
#cyd_comment_fron_button{
    margin: 10px 0 0;
    display: flex;
    justify-content: space-between;
}
#cyd_comment_fron_button button{
    background: #66bb6a;
    color: white;
    padding: 7px 16px;
    border: none;
    border-radius: 7px;
    cursor: pointer;
    transition: 0.3s;
    font-size: 1em;
}
#cyd_comment_fron_button button:hover{
    background: #43a047;
}
@media screen and (max-width: 444px) {
    #cyd_comment_fron_button{
        flex-direction: column;
    }
    #cyd_comment_fron_button button{
        width: 100%;
        margin: 10px 0;
    }
    
}
/*评论成功提示*/
.comment-pending-popup {
    background-color: #d4f7e6;
    color: #176c37;
    border: 1px solid #89e1a6;
    padding: 14px 18px;
    border-radius: 12px;
    font-size: 14px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    z-index: 9999;
    animation: fadein 0.5s ease-out;
}
@keyframes fadein {
    from { opacity: 0; transform: translateY(-10px); }
    to   { opacity: 1; transform: translateY(0); }
}
/* 评论标题 */
#comments > h3 {
    border-left: 5px solid #66bb6a;
    padding-left: 10px;
    font-size: 1.4em;
    color: #388e3c;
}

/* 单条评论 */
.comment-body {
    background: #ffffff;
    border-left: 4px solid #81c784;
    margin: 10px 0;
    padding: 10px 15px;
    border-radius: 10px;
    position: relative;
    transition: all 0.3s;
}

/* 子评论缩进 */
.comment-children {
    margin-left: 20px;
    border-left: 2px dashed #c8e6c9;
    padding-left: 10px;
}

/* 作者名 + 头像 */
.comment-author {
    display: flex;
    align-items: center;
    margin-bottom: 6px;
}
.comment-author .avatar {
    border-radius: 50%;
    border: 2px solid #66bb6a;
    margin-right: 8px;
}
.comment-author .fn {
    font-weight: bold;
    color: #2e7d32;
}
.comment-author .fn a {
    color: #388e3c;
    text-decoration: none;
}
.comment-author .fn a:hover {
    text-decoration: underline;
}

/* 时间 */
.comment-meta time {
    font-size: 0.85em;
    color: #81c784;
}

/* 评论内容 */
.comment-content p {
    margin: 8px 0;
    font-size: 1em;
    line-height: 1.6;
}

/* 回复链接 */
.comment-reply a {
    display: inline-block;
    background: #a5d6a7;
    color: #1b5e20;
    padding: 4px 10px;
    font-size: 0.85em;
    border-radius: 8px;
    transition: 0.3s;
}
.comment-reply a:hover {
    background: #66bb6a;
    color: #ffffff;
}

/* 当前作者高亮 */
.comment-by-author {
    border-left-color: #43a047;
    background: #f1f8e9;
}

/* 发表评论表单 */
#respond-page-4 {
    margin-top: 30px;
    background: #ffffff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(76, 175, 80, 0.1);
}
#respond-page-4 h3 {
    font-size: 1.3em;
    color: #388e3c;
}
#comment-form label {
    font-weight: bold;
    color: #2e7d32;
}
#comment-form textarea {
    width: calc(100% - 20px);
    border: 1px solid #a5d6a7;
    border-radius: 10px;
    padding: 10px;
    font-size: 1em;
    background: #f9fef9;
    resize: vertical;
}
#comment-form .submit {
    background: #66bb6a;
    color: white;
    padding: 8px 16px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s;
}
#comment-form .submit:hover {
    background: #43a047;
}
.cancel-comment-reply a {
    color: #81c784;
    font-size: 0.9em;
}
.cancel-comment-reply a:hover {
    color: #2e7d32;
}