/* 评论区容器 */
.dl-flow-container {
    box-sizing: border-box;
    max-width: 100%;
    background: #fff;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* 输入框样式 */
.textarea {
    width: 100%;
    height: 100px;
    padding: 12px;
    border: 1px solid #e1e4e8;
    border-radius: 6px;
    background-color: #f6f8fa;
    resize: none;
    box-sizing: border-box;
    font-size: 14px;
    outline: none;
    transition: all 0.3s;
}

.textarea:focus {
    background-color: #fff;
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0,123,255,0.1);
}

/* 验证码与提交栏 */
.comment-code, .comment-reply-code {
    display: flex;
    align-items: center;
    margin-top: 10px;
    flex-wrap: wrap; /* 手机端自动换行 */
    gap: 10px;
}

.comment-code img, .comment-reply-code img {
    height: 35px;
    cursor: pointer;
    border-radius: 4px;
}

.comment-code input[type="text"], .comment-reply-code input[type="text"] {
    flex: 1;
    min-width: 100px;
    height: 35px;
    padding: 0 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.comment-submit {
    padding: 0 20px;
    height: 36px;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
}

.comment-submit:hover {
    background-color: #0056b3;
}

/* 评论列表 */
.comment-list-box {
    margin-top: 30px;
}

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

.comment-list-body li {
    display: flex;
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
}

.user_pic img {
    border-radius: 50%;
    margin-right: 12px;
    background: #eee;
}

.comm-right {
    flex: 1;
}

.user_name {
    font-size: 14px;
    font-weight: bold;
    color: #333;
    text-decoration: none;
}

.comm-right p {
    margin: 8px 0;
    font-size: 15px;
    color: #444;
    line-height: 1.6;
}

.comm_time {
    font-size: 12px;
    color: #999;
}

.comm_a {
    font-size: 12px;
    color: #007bff;
    text-decoration: none;
    margin-left: 10px;
}

/* 隐藏的回复框 */
.none {
    display: none;
}

#rep_x {
    margin-top: 15px;
    padding: 15px;
    background: #f9f9f9;
    border-radius: 6px;
}

/* 移动端适配 */
@media (max-width: 640px) {
    .comment-code, .comment-reply-code {
        justify-content: space-between;
    }
    
    .comment-submit {
        width: 100%; /* 手机端提交按钮占满一行 */
        margin-top: 5px;
    }

    .user_pic img {
        width: 30px;
        height: 30px;
    }
    
    .comm-right p {
        font-size: 14px;
    }
}
















