#recent-comments-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

#recent-comments-list .comment-card:first-child {
  margin-top: 8px;
}

#recent-comments-list .comment-card:last-child {
  margin-bottom: 8px;
}

.comment-card {
  display: flex;
  align-items: center;
  padding: 8px 12px;
  background: var(--block);
  border-radius: 12px;
  cursor: pointer;
  user-select: none;
  transition: background 0.3s;
}

.comment-card:hover {
  background: var(--bg-a20);
}

.comment-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}

.comment-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.comment-body {
  flex: 1;
  margin-left: 12px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.comment-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: var(--fsp);
  color: var(--text-p1);
  width: 100%;
  min-width: 0;
}

.comment-nick {
  font-weight: 600;
  color: var(--text-p1);
  white-space: nowrap;
  flex-shrink: 0;
}

.comment-time {
  font-size: calc(var(--fsp) * 0.85);
  color: var(--text-p3);
  white-space: nowrap;
  flex-shrink: 0;
  margin-left: 12px;
}

.comment-content {
  font-size: var(--fsp);
  color: var(--text-p2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 4px;
  width: 100%;
  min-width: 0;
}

.comment-content a {
  color: inherit;
  text-decoration: none;
}

.comment-content a:hover {
  text-decoration: none; /* 移除 hover 时的下划线 */
}