.widget_featured_comments .featured-comments-list {
    padding: 0;
    margin: 0;
    list-style: none;
}

.widget_featured_comments .featured-comment-item {
    padding: 15px 0;
    position: relative;
}

/* 添加分隔线 */
.widget_featured_comments .featured-comment-item:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: #f0f0f0; /* 浅色分隔线 */
}

.widget_featured_comments .featured-comment-item:last-child:after {
    display: none; /* 最后一条评论不显示分隔线 */
}

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

/* 头部区域（头像、作者、时间）*/
.widget_featured_comments .comment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.widget_featured_comments .comment-author-info {
    display: flex;
    align-items: center;
    flex: 1;
    min-width: 0; /* 防止flex子项溢出 */
    margin-right: 10px; /* 添加右边距，防止与时间重叠 */
}

/* 头像样式 */
.widget_featured_comments .comment-avatar {
    flex-shrink: 0;
    margin-right: 8px;
}

.widget_featured_comments .comment-avatar img {
    border-radius: 50%;
    width: 24px;
    height: 24px;
    vertical-align: middle;
}

/* 作者名称 */
.widget_featured_comments .comment-author {
    font-size: 14px;
    font-weight: 500;
    color: #333;
    /* 移除这些限制 */
   white-space: nowrap;
    /* overflow: hidden;
    text-overflow: ellipsis;*/
}

/* 评论时间 */
.widget_featured_comments .comment-date {
    font-size: 12px;
    color: #999;
    flex-shrink: 0;
    /* 移除左边距，因为已经在author-info添加了右边距 */
    /*margin-left: 10px;*/
}

/* 评论内容 */
.widget_featured_comments .comment-text {
    position: relative;
    background: #f7f7f7;
    border-radius: 8px;
    padding: 12px 15px;
    margin-bottom: 8px;
    font-size: 13px;
    line-height: 1.6;
    color: #666;
    margin-left: 0; /* 移除左边距，让评论充满宽度 */
}

/* 添加气泡箭头 */
.widget_featured_comments .comment-text:before {
    content: '';
    position: absolute;
    top: -6px; /* 将箭头移到顶部 */
    left: 12px; /* 与头像居中对齐 */
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 6px solid #f7f7f7; /* 箭头朝上 */
    border-top: none; /* 移除上边框 */
}

/* 文章链接 */
.widget_featured_comments .comment-post {
    font-size: 12px;
    line-height: 1.4;
    margin: 8px 0 0 0; /* 移除左边距，与评论内容对齐 */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.widget_featured_comments .comment-post:before {
    content: '评论于：';
    color: #999;
}

.widget_featured_comments .comment-post a {
    color: #999;
    text-decoration: none;
    transition: color 0.2s;
}

.widget_featured_comments .comment-post a:hover {
    color: #666;
}

/* 无评论提示 */
.widget_featured_comments .no-comments {
    text-align: center;
    color: #999;
    padding: 20px 0;
    margin: 0;
    font-size: 13px;
}

/* 夜间模式样式 */
.style-for-dark .widget_featured_comments .featured-comment-item:after {
    background: rgba(255, 255, 255, 0.1); /* 更暗的分隔线 */
}

.style-for-dark .widget_featured_comments .comment-author {
    color: #e1e1e1; /* 更亮的作者名称 */
}

.style-for-dark .widget_featured_comments .comment-date {
    color: #888; /* 稍暗的时间颜色 */
}

.style-for-dark .widget_featured_comments .comment-text {
    background: rgba(255, 255, 255, 0.05); /* 深色背景 */
    color: #e1e1e1; /* 更亮的文字颜色 */
}

.style-for-dark .widget_featured_comments .comment-text:before {
    border-bottom-color: rgba(255, 255, 255, 0.05); /* 匹配深色背景的箭头 */
    border-right-color: transparent;
}

.style-for-dark .widget_featured_comments .comment-post:before {
    color: #888; /* 稍暗的"评论于："文字 */
}

.style-for-dark .widget_featured_comments .comment-post a {
    color: #888; /* 稍暗的链接颜色 */
}

.style-for-dark .widget_featured_comments .comment-post a:hover {
    color: #aaa; /* 悬停时更亮的链接颜色 */
}

.style-for-dark .widget_featured_comments .no-comments {
    color: #888; /* 稍暗的无评论提示 */
}
