/**
 * 父系树评论组件样式
 * 
 * @version 1.3.10
 * @date 2025-10-12
 * @changelog
 * - v1.3.10: 优化操作按钮布局，分为两行显示（第一行：日期+回复+删除，第二行：点赞+点踩+查看点赞）
 * - v1.3.9: 调整评论布局，将昵称和内容排在前面，日期和操作按钮移到下面并添加分隔线
 * - v1.3.8: 调整查看点赞按钮位置到点踩按钮之后
 * - v1.3.7: 优化查看点赞按钮样式，添加点赞列表模态框样式
 * - v1.3.6: 添加被拒绝评论样式（.comment-rejected, .reply-rejected），添加查看点赞按钮样式
 */

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

.comment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #eee;
}

.comment-header h4 {
    margin: 0;
    color: #333;
    font-size: 18px;
}

.comment-form {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 5px;
    margin-bottom: 20px;
}

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

.comment-form label {
    font-weight: bold;
    color: #333;
    margin-bottom: 5px;
    display: block;
}

.comment-form .form-control {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.comment-form textarea.form-control {
    resize: vertical;
}

.comment-form .text-muted {
    color: #999;
    font-size: 12px;
    margin-top: 5px;
    display: block;
}

.comment-form .btn {
    margin-right: 10px;
}

.comment-list {
    margin-bottom: 20px;
}

.comment-list .loading {
    text-align: center;
    padding: 20px;
    color: #999;
}

.comment-list .alert {
    padding: 15px;
    border-radius: 4px;
}

.comment-list .alert-info {
    background-color: #d9edf7;
    border-color: #bce8f1;
    color: #31708f;
}

.comment-list .alert-warning {
    background-color: #fcf8e3;
    border-color: #faebcc;
    color: #8a6d3b;
}

.comment-list .alert-danger {
    background-color: #f2dede;
    border-color: #ebccd1;
    color: #a94442;
}

.comments {
    margin-top: 10px;
}

.comment-item {
    padding: 15px;
    border-bottom: 1px solid #eee;
    transition: background 0.3s;
}

.comment-item:hover {
    background: #f8f9fa;
}

.comment-item:last-child {
    border-bottom: none;
}

/* 待审核评论样式 */
.comment-item.comment-pending {
    background-color: #fffbf0;
    border-left: 3px solid #f0ad4e;
}

.comment-item.comment-pending:hover {
    background-color: #fff8e1;
}

/* 已拒绝评论样式 */
.comment-item.comment-rejected {
    background-color: #fff5f5;
    border-left: 3px solid #d9534f;
}

.comment-item.comment-rejected:hover {
    background-color: #ffe6e6;
}

.badge-warning {
    background-color: #f0ad4e;
    color: #fff;
    padding: 2px 8px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: normal;
}

.badge-danger {
    background-color: #d9534f;
    color: #fff;
    padding: 2px 8px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: normal;
}

.comment-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 8px;
}

.comment-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid #f0f0f0;
}

.comment-actions-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.comment-author {
    font-weight: bold;
    color: #333;
    font-size: 14px;
}

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

/* 删除按钮 */
.btn-delete-comment {
    background: none;
    border: none;
    color: #d9534f;
    font-size: 20px;
    cursor: pointer;
    padding: 0 8px;
    line-height: 1;
    transition: all 0.3s;
}

.btn-delete-comment:hover {
    color: #c9302c;
    transform: scale(1.2);
}

.comment-content-item {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    word-wrap: break-word;
    margin-bottom: 8px;
}

/* 引用样式 */
.comment-quote {
    margin: 8px 0 12px 0;
    padding: 10px 15px;
    background-color: #f5f5f5;
    border-left: 4px solid #d0d0d0;
    color: #666;
    font-size: 13px;
    border-radius: 4px;
    position: relative;
}

.comment-quote::before {
    content: '\201C';
    font-size: 28px;
    color: #ccc;
    position: absolute;
    left: 8px;
    top: 2px;
    font-family: Georgia, serif;
}

.comment-quote {
    padding-left: 35px;
}

.comment-pagination {
    margin-top: 20px;
    text-align: center;
}

.comment-pagination .pagination {
    display: inline-block;
    padding-left: 0;
    margin: 0;
    border-radius: 4px;
}

.comment-pagination .pagination > li {
    display: inline;
}

.comment-pagination .pagination > li > a,
.comment-pagination .pagination > li > span {
    position: relative;
    float: left;
    padding: 6px 12px;
    line-height: 1.42857143;
    text-decoration: none;
    color: #337ab7;
    background-color: #fff;
    border: 1px solid #ddd;
    margin-left: -1px;
}

.comment-pagination .pagination > li:first-child > a,
.comment-pagination .pagination > li:first-child > span {
    margin-left: 0;
    border-bottom-left-radius: 4px;
    border-top-left-radius: 4px;
}

.comment-pagination .pagination > li:last-child > a,
.comment-pagination .pagination > li:last-child > span {
    border-bottom-right-radius: 4px;
    border-top-right-radius: 4px;
}

.comment-pagination .pagination > li > a:hover,
.comment-pagination .pagination > li > span:hover,
.comment-pagination .pagination > li > a:focus,
.comment-pagination .pagination > li > span:focus {
    color: #23527c;
    background-color: #eee;
    border-color: #ddd;
}

.comment-pagination .pagination > .active > a,
.comment-pagination .pagination > .active > span,
.comment-pagination .pagination > .active > a:hover,
.comment-pagination .pagination > .active > span:hover,
.comment-pagination .pagination > .active > a:focus,
.comment-pagination .pagination > .active > span:focus {
    z-index: 2;
    color: #fff;
    cursor: default;
    background-color: #337ab7;
    border-color: #337ab7;
}

.btn {
    display: inline-block;
    padding: 6px 12px;
    margin-bottom: 0;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.42857143;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    cursor: pointer;
    border: 1px solid transparent;
    border-radius: 4px;
    text-decoration: none;
}

.btn-primary {
    color: #fff;
    background-color: #337ab7;
    border-color: #2e6da4;
}

.btn-primary:hover {
    color: #fff;
    background-color: #286090;
    border-color: #204d74;
}

.btn-default {
    color: #333;
    background-color: #fff;
    border-color: #ccc;
}

.btn-default:hover {
    color: #333;
    background-color: #e6e6e6;
    border-color: #adadad;
}

.btn-sm {
    padding: 5px 10px;
    font-size: 12px;
    line-height: 1.5;
    border-radius: 3px;
}

/* RTL (Right-to-Left) Support for Arabic and other RTL languages */
.tree-comment-rtl .comment-header {
    flex-direction: row-reverse;
}

.tree-comment-rtl .comment-meta {
    flex-direction: row-reverse;
}

.tree-comment-rtl .comment-actions {
    flex-direction: column;
}

.tree-comment-rtl .comment-actions-row {
    flex-direction: row-reverse;
}

.tree-comment-rtl .comment-form label {
    text-align: right;
}

.tree-comment-rtl .comment-form .text-muted {
    text-align: right;
}

.tree-comment-rtl .btn {
    margin-right: 0;
    margin-left: 10px;
}

.tree-comment-rtl .comment-pagination .pagination > li {
    float: right;
}

.tree-comment-rtl .comment-pagination .pagination > li > a,
.tree-comment-rtl .comment-pagination .pagination > li > span {
    float: right;
}

.tree-comment-rtl .comment-pagination .pagination > li:first-child > a,
.tree-comment-rtl .comment-pagination .pagination > li:first-child > span {
    margin-right: 0;
    margin-left: -1px;
    border-bottom-left-radius: 0;
    border-top-left-radius: 0;
    border-bottom-right-radius: 4px;
    border-top-right-radius: 4px;
}

.tree-comment-rtl .comment-pagination .pagination > li:last-child > a,
.tree-comment-rtl .comment-pagination .pagination > li:last-child > span {
    border-bottom-right-radius: 0;
    border-top-right-radius: 0;
    border-bottom-left-radius: 4px;
    border-top-left-radius: 4px;
}

/* ============================================
   回复列表样式
   ============================================ */
.comment-replies {
    margin-left: 50px;
    margin-top: 15px;
    border-left: 3px solid #e0e0e0;
    padding-left: 20px;
}

/* 回复项样式 */
.reply-item {
    padding: 12px 15px;
    margin-bottom: 12px;
    background-color: #f7f7f7;
    border-radius: 6px;
    border-left: 3px solid #d0d0d0;
    transition: background 0.3s;
}

.reply-item:hover {
    background-color: #ececec;
    border-left-color: #b0b0b0;
}

.reply-item:last-child {
    margin-bottom: 0;
}

.reply-item.reply-pending {
    background-color: #fffbf0;
    border-left: 3px solid #f0ad4e;
}

.reply-item.reply-pending:hover {
    background-color: #fff8e1;
}

/* 已拒绝回复样式 */
.reply-item.reply-rejected {
    background-color: #fff5f5;
    border-left: 3px solid #d9534f;
}

.reply-item.reply-rejected:hover {
    background-color: #ffe6e6;
}

/* 回复按钮 */
.btn-reply-comment {
    background: none;
    border: none;
    color: #337ab7;
    cursor: pointer;
    padding: 0 8px;
    font-size: 12px;
    transition: color 0.3s;
}

.btn-reply-comment:hover {
    color: #23527c;
    text-decoration: underline;
}

/* 回复目标显示 */
.reply-to {
    color: #337ab7;
    font-size: 12px;
    margin-left: 8px;
}

/* ============================================
   点赞按钮样式 - 拇指向上设计
   ============================================ */
.btn-like-comment {
    background: none;
    border: 1px solid #ddd;
    border-radius: 16px;
    color: #999;
    cursor: pointer;
    padding: 4px 12px;
    font-size: 13px;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-like-comment:hover {
    background-color: #fff5f5;
    border-color: #ff6b6b;
    color: #ff6b6b;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(255, 107, 107, 0.2);
}

.btn-like-comment.liked {
    background-color: #ff6b6b;
    border-color: #ff6b6b;
    color: #fff;
}

.btn-like-comment.liked:hover {
    background-color: #ff5252;
    border-color: #ff5252;
}

/* 点赞图标 - 使用 CSS 绘制拇指向上 */
.btn-like-comment .like-icon {
    position: relative;
    display: inline-block;
    width: 14px;
    height: 14px;
    transition: transform 0.3s;
}

.btn-like-comment .like-icon::before {
    content: '👍';
    position: absolute;
    left: 0;
    top: -2px;
    font-size: 14px;
    filter: grayscale(1);
    opacity: 0.6;
}

.btn-like-comment.liked .like-icon::before {
    filter: grayscale(0);
    opacity: 1;
}

.btn-like-comment:hover .like-icon {
    transform: scale(1.15) rotate(-10deg);
}

.btn-like-comment.liked .like-icon {
    animation: like-bounce 0.5s ease;
}

@keyframes like-bounce {
    0%, 100% {
        transform: scale(1) rotate(0deg);
    }
    25% {
        transform: scale(1.2) rotate(-15deg);
    }
    50% {
        transform: scale(1.3) rotate(0deg);
    }
    75% {
        transform: scale(1.2) rotate(15deg);
    }
}

.btn-like-comment .like-count {
    font-size: 12px;
    font-weight: 500;
    min-width: 16px;
}

/* ============================================
   点踩按钮样式 - 拇指向下设计
   ============================================ */
.btn-dislike-comment {
    background: none;
    border: 1px solid #ddd;
    border-radius: 16px;
    color: #999;
    cursor: pointer;
    padding: 4px 12px;
    font-size: 13px;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-dislike-comment:hover {
    background-color: #f5f5ff;
    border-color: #6b6bff;
    color: #6b6bff;
    transform: translateY(1px);
    box-shadow: 0 -2px 4px rgba(107, 107, 255, 0.2);
}

.btn-dislike-comment.disliked {
    background-color: #6b6bff;
    border-color: #6b6bff;
    color: #fff;
}

.btn-dislike-comment.disliked:hover {
    background-color: #5252ff;
    border-color: #5252ff;
}

/* 点踩图标 - 拇指向下 */
.btn-dislike-comment .dislike-icon {
    position: relative;
    display: inline-block;
    width: 14px;
    height: 14px;
    transition: transform 0.3s;
}

.btn-dislike-comment .dislike-icon::before {
    content: '👎';
    position: absolute;
    left: 0;
    top: -2px;
    font-size: 14px;
    filter: grayscale(1);
    opacity: 0.6;
}

.btn-dislike-comment.disliked .dislike-icon::before {
    filter: grayscale(0);
    opacity: 1;
}

.btn-dislike-comment:hover .dislike-icon {
    transform: scale(1.15) rotate(10deg);
}

.btn-dislike-comment.disliked .dislike-icon {
    animation: dislike-bounce 0.5s ease;
}

@keyframes dislike-bounce {
    0%, 100% {
        transform: scale(1) rotate(0deg);
    }
    25% {
        transform: scale(1.2) rotate(15deg);
    }
    50% {
        transform: scale(1.3) rotate(0deg);
    }
    75% {
        transform: scale(1.2) rotate(-15deg);
    }
}

.btn-dislike-comment .dislike-count {
    font-size: 12px;
    font-weight: 500;
    min-width: 16px;
}

/* RTL support for replies and likes */
.tree-comment-rtl .comment-replies {
    margin-left: 0;
    margin-right: 50px;
    border-left: none;
    border-right: 3px solid #e0e0e0;
    padding-left: 0;
    padding-right: 20px;
}

.tree-comment-rtl .reply-to {
    margin-left: 0;
    margin-right: 8px;
}

/* RTL support for quote */
.tree-comment-rtl .comment-quote {
    border-left: none;
    border-right: 4px solid #d0d0d0;
    padding-left: 15px;
    padding-right: 35px;
}

.tree-comment-rtl .comment-quote::before {
    left: auto;
    right: 8px;
}

/* ========================================
   移动端优化样式
   ======================================== */

@media screen and (max-width: 768px) {
    /* 减小容器内边距，增加内容宽度 */
    .tree-comment-wrapper {
        margin-top: 15px;
        padding: 12px;
        border-radius: 3px;
    }

    /* 优化标题栏 */
    .comment-header {
        margin-bottom: 12px;
        padding-bottom: 8px;
        flex-wrap: wrap;
    }

    .comment-header h4 {
        font-size: 16px;
    }

    .btn-toggle-form {
        font-size: 13px;
        padding: 6px 12px;
    }

    /* 优化表单区域 */
    .comment-form {
        padding: 12px;
        margin-bottom: 15px;
    }

    .comment-form .form-group {
        margin-bottom: 10px;
    }

    .comment-form label {
        font-size: 13px;
        margin-bottom: 4px;
    }

    .comment-form .form-control {
        padding: 8px 10px;
        font-size: 14px;
    }

    .comment-form textarea.form-control {
        min-height: 100px;
        font-size: 14px;
    }

    .comment-form .text-muted {
        font-size: 11px;
    }

    /* 优化按钮区域 */
    .comment-form .btn-group {
        display: flex;
        gap: 8px;
    }

    .comment-form .btn {
        padding: 8px 16px;
        font-size: 14px;
        flex: 1;
    }

    /* 优化评论列表 */
    .comment-item {
        padding: 12px;
        margin-bottom: 12px;
        border-radius: 6px;
    }

    /* 优化评论元信息 */
    .comment-meta {
        width: 100%;
        margin-bottom: 6px;
    }

    .comment-author {
        font-size: 14px;
    }

    .comment-time {
        font-size: 11px;
    }

    /* 优化操作按钮区域 */
    .comment-actions {
        width: 100%;
        gap: 6px;
        margin-top: 6px;
        padding-top: 6px;
    }

    .comment-actions-row {
        gap: 8px;
    }

    .comment-actions-row .comment-time {
        flex: 1;
        min-width: 100px;
    }

    /* 优化回复、点赞、点踩按钮 */
    .btn-reply-comment,
    .btn-like-comment,
    .btn-dislike-comment {
        padding: 4px 10px;
        font-size: 12px;
        min-width: 50px;
    }

    .btn-delete-comment {
        font-size: 16px;
        width: 24px;
        height: 24px;
    }

    /* 优化评论内容 */
    .comment-content-item {
        font-size: 14px;
        line-height: 1.6;
        margin-top: 8px;
    }

    /* 优化引用块 */
    .comment-quote {
        margin: 6px 0 10px 0;
        padding: 8px 10px 8px 28px;
        font-size: 12px;
        border-radius: 3px;
    }

    .comment-quote::before {
        font-size: 20px;
        left: 6px;
        top: 4px;
    }

    /* 大幅减少回复缩进，增加内容宽度 */
    .comment-replies {
        margin-left: 20px !important; /* 从50px减少到20px */
        margin-top: 10px;
        border-left-width: 2px;
        padding-left: 10px !important; /* 从20px减少到10px */
    }

    .reply-item {
        padding: 10px 12px;
        margin-bottom: 10px;
        border-radius: 4px;
        border-left-width: 2px;
    }

    /* 优化回复标识 */
    .reply-to {
        font-size: 12px;
        padding: 2px 6px;
    }

    /* 优化点赞/点踩图标 */
    .like-icon,
    .dislike-icon {
        width: 14px;
        height: 14px;
    }

    .like-count,
    .dislike-count {
        font-size: 11px;
        min-width: 14px;
    }

    /* 优化分页 */
    .comment-pagination {
        margin-top: 15px;
    }

    .comment-pagination .pagination > li > a,
    .comment-pagination .pagination > li > span {
        padding: 5px 10px;
        font-size: 13px;
    }

    /* 优化待审核标识 */
    .badge {
        font-size: 10px;
        padding: 2px 6px;
    }

    /* RTL 移动端优化 */
    .tree-comment-rtl .comment-replies {
        margin-left: 0 !important;
        margin-right: 20px !important;
        padding-left: 0 !important;
        padding-right: 10px !important;
    }

    .tree-comment-rtl .comment-quote {
        padding-left: 10px;
        padding-right: 28px;
    }

    .tree-comment-rtl .comment-quote::before {
        left: auto;
        right: 6px;
    }
}

/* 超小屏幕优化（手机竖屏） */
@media screen and (max-width: 480px) {
    /* 进一步减小内边距 */
    .tree-comment-wrapper {
        padding: 10px;
        margin-top: 10px;
    }

    .comment-header {
        margin-bottom: 10px;
        padding-bottom: 6px;
    }

    .comment-header h4 {
        font-size: 15px;
    }

    /* 表单优化 */
    .comment-form {
        padding: 10px;
        margin-bottom: 12px;
    }

    .comment-form textarea.form-control {
        min-height: 80px;
        font-size: 14px;
    }

    /* 评论项优化 */
    .comment-item {
        padding: 10px;
        margin-bottom: 10px;
    }

    .comment-content-item {
        font-size: 13px;
    }

    /* 进一步减少回复缩进 */
    .comment-replies {
        margin-left: 12px !important; /* 从20px减少到12px */
        padding-left: 8px !important; /* 从10px减少到8px */
    }

    .reply-item {
        padding: 8px 10px;
    }

    /* 优化操作按钮 */
    .btn-reply-comment,
    .btn-like-comment,
    .btn-dislike-comment {
        padding: 3px 8px;
        font-size: 11px;
        min-width: 45px;
    }

    /* 引用块优化 */
    .comment-quote {
        padding: 6px 8px 6px 24px;
        font-size: 11px;
    }

    .comment-quote::before {
        font-size: 18px;
        left: 4px;
    }

    /* RTL 超小屏优化 */
    .tree-comment-rtl .comment-replies {
        margin-left: 0 !important;
        margin-right: 12px !important;
        padding-left: 0 !important;
        padding-right: 8px !important;
    }

    .tree-comment-rtl .comment-quote {
        padding-left: 8px;
        padding-right: 24px;
    }

    .tree-comment-rtl .comment-quote::before {
        right: 4px;
    }
}

/* 横屏手机优化 */
@media screen and (max-width: 900px) and (orientation: landscape) {
    .comment-replies {
        margin-left: 30px !important;
        padding-left: 12px !important;
    }

    .tree-comment-rtl .comment-replies {
        margin-left: 0 !important;
        margin-right: 30px !important;
        padding-left: 0 !important;
        padding-right: 12px !important;
    }
}

/* ============================
   点赞列表功能样式
   ============================ */

/* 查看点赞按钮 */
.btn-view-likes {
    background: none;
    border: 1px solid #5cb85c;
    color: #5cb85c;
    padding: 4px 8px;
    border-radius: 3px;
    font-size: 12px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 5px;
    transition: all 0.2s ease;
    min-width: 30px;
}

.btn-view-likes .view-icon {
    font-style: normal;
    font-size: 14px;
}

.btn-view-likes:hover {
    background: #5cb85c;
    color: #fff;
    transform: scale(1.05);
}

.btn-view-likes:active {
    transform: scale(0.95);
}

/* 点赞列表模态框 */
.comment-like-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.comment-like-modal {
    background: #fff;
    border-radius: 8px;
    width: 90%;
    max-width: 500px;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.comment-like-modal .modal-header {
    padding: 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.comment-like-modal .modal-header h3 {
    margin: 0;
    font-size: 18px;
    color: #333;
    display: flex;
    align-items: center;
    gap: 8px;
}

.comment-like-modal .modal-header h3 .like-icon {
    color: #5cb85c;
}

.comment-like-modal .modal-close {
    background: none;
    border: none;
    font-size: 28px;
    line-height: 1;
    color: #999;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.comment-like-modal .modal-close:hover {
    background: #f5f5f5;
    color: #333;
}

.comment-like-modal .modal-body {
    padding: 10px 0;
    overflow-y: auto;
    max-height: calc(80vh - 80px);
}

.like-user-item {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    border-bottom: 1px solid #f5f5f5;
    transition: background 0.2s ease;
}

.like-user-item:hover {
    background: #f9f9f9;
}

.like-user-item:last-child {
    border-bottom: none;
}

.like-user-item .user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
    overflow: hidden;
}

.like-user-item .user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.like-user-item .user-avatar .avatar-icon {
    font-size: 20px;
    font-style: normal;
}

.like-user-item .user-info {
    flex: 1;
}

.like-user-item .user-name {
    font-weight: 500;
    font-size: 14px;
    color: #333;
    margin-bottom: 4px;
}

.like-user-item .like-time {
    font-size: 12px;
    color: #999;
}

.like-user-item .like-badge {
    margin-left: 10px;
    flex-shrink: 0;
}

.like-user-item .like-badge .like-icon {
    color: #5cb85c;
    font-size: 18px;
}

.comment-like-modal .empty-state {
    text-align: center;
    padding: 40px 20px;
    color: #999;
    font-size: 14px;
}

/* 手机端优化 */
@media screen and (max-width: 600px) {
    .btn-view-likes {
        padding: 3px 6px;
        font-size: 11px;
        min-width: 26px;
    }
    
    .btn-view-likes .view-icon {
        font-size: 12px;
    }
    
    .comment-like-modal {
        width: 95%;
        max-height: 85vh;
    }
    
    .comment-like-modal .modal-header {
        padding: 15px;
    }
    
    .comment-like-modal .modal-header h3 {
        font-size: 16px;
    }
    
    .like-user-item {
        padding: 10px 15px;
    }
    
    .like-user-item .user-avatar {
        width: 35px;
        height: 35px;
        margin-right: 12px;
    }
    
    .like-user-item .user-name {
        font-size: 13px;
    }
    
    .like-user-item .like-time {
        font-size: 11px;
    }
}

