/* ============================================================
   Khối bình luận (Manga Discussion) - giao diện kiểu truyenqqko
   ============================================================ */

.manga-discussion.wrapper,
#manga-discussion.manga-discussion.wrapper {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    margin-top: 16px;
}

.tqq-comments-heading h4 {
    color: #f2711c;
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 8px;
}
.tqq-comments-heading h4 .icon {
    margin-right: 6px;
}
.tqq-comments-fanpage {
    color: #444;
    font-size: 14px;
    margin: 0 0 16px;
}
.tqq-comments-fanpage strong {
    color: #222;
}

.tqq-comment-form {
    margin-bottom: 20px;
}
.tqq-comment-form .tqq-comment-author input {
    width: 100%;
    max-width: 260px;
    border: 1px solid #e2e2e2;
    border-radius: 6px;
    padding: 8px 12px;
    font-size: 13px;
    margin-bottom: 8px;
}
.tqq-comment-form textarea#comment {
    width: 100%;
    border: 1px solid #e2e2e2;
    border-radius: 6px;
    padding: 14px;
    font-size: 14px;
    resize: vertical;
    min-height: 60px;
}
.tqq-comment-form textarea#comment:focus,
.tqq-comment-form .tqq-comment-author input:focus {
    outline: none;
    border-color: #f2711c;
}
.tqq-comment-submit {
    background: #f2711c;
    color: #fff;
    border: none;
    border-radius: 20px;
    padding: 8px 22px;
    font-weight: 600;
    font-size: 14px;
    margin-top: 10px;
    cursor: pointer;
}
.tqq-comment-submit:hover {
    opacity: .9;
}

.comment-list,
.comment-list .children {
    list-style: none;
    margin: 0;
    padding: 0;
}
.comment-list .children {
    margin-left: 54px;
    border-left: 2px solid #f2711c33;
    padding-left: 16px;
}

.tqq-comment-body {
    display: flex;
    gap: 12px;
    background: #f7f7f8;
    border-radius: 8px;
    padding: 14px 16px;
    margin-bottom: 12px;
}
.tqq-comment-avatar img {
    border-radius: 50%;
    width: 44px;
    height: 44px;
}
.tqq-comment-main {
    flex: 1;
    min-width: 0;
}
.tqq-comment-authorline {
    border-bottom: 1px solid #e5e5e5;
    padding-bottom: 8px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.tqq-comment-rank {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    padding: 1px 8px;
    border: 1px solid currentColor;
    border-radius: 10px;
    line-height: 1.6;
}
.tqq-comment-author {
    color: #2f80c9;
    font-weight: 700;
    font-size: 14px;
}
.tqq-comment-content {
    color: #333;
    font-size: 14px;
    line-height: 1.6;
    word-break: break-word;
    margin-bottom: 8px;
}
.tqq-comment-content img {
    max-height: 90px;
    border-radius: 4px;
}
.tqq-comment-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 12px;
    color: #888;
}
.tqq-like-btn {
    background: none;
    border: none;
    display: flex;
    align-items: center;
    gap: 4px;
    color: #4c7ef3;
    cursor: pointer;
    padding: 0;
    font-size: 12px;
}
.tqq-like-btn.liked {
    color: #f2711c;
}
.tqq-reply-link a {
    color: #4c7ef3;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.tqq-comment-time {
    color: #999;
}

#respond .comment-reply-title {
    display: none;
}
#respond small {
    display: block;
    margin-bottom: 8px;
}

/* Ẩn tiêu đề "N Comments" mặc định của WordPress (tiếng Anh, trùng với
   heading "Bình Luận (N)" riêng đã có ở phần đầu khối thảo luận). */
.manga-discussion .comments-title {
    display: none;
}
