/* 评论整体容器：保持flex，但子元素变为「头像组」和「评论内容」 */
.wang618-comment {
  display: flex;
  align-items: flex-start; /* 顶部对齐，避免内容拉伸 */
  margin-bottom: 20px;
  padding: 10px;
}

/* 新增：头像+用户名 纵向容器（核心：垂直排列） */
.wang618-avatar-group {
  display: flex;
  flex-direction: column; /* 纵向排列（头像在上，用户名在下） */
  align-items: center; /* 头像和用户名水平居中对齐 */
  margin-right: 12px; /* 与评论内容保持原有间距 */
}

/* 圆形头像：样式不变 */
.wang618-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%; 
  margin-bottom: 6px; /* 新增：头像与用户名的间距 */
  object-fit: cover; 
  box-shadow: 0 0 0 2px #333;
}

/* 用户名样式：调整位置相关样式，保持视觉风格 */
.wang618-username {
  font-weight: 900;
  font-size: 14px;
  color: #222;
  text-shadow: 1px 1px 0 #fff;
  font-family: "Comic Sans MS", "幼圆", sans-serif;
  /* 确保用户名不换行，且居中 */
  white-space: nowrap;
}

/* 评论内容容器：样式不变 */
.wang618-comment-content {
  flex: 1; /* 占满剩余宽度 */
  position: relative;
}

/* 用户名+时间 行：仅保留时间，调整布局为右对齐 */
.wang618-header {
  display: flex;
  justify-content: flex-end; /* 时间靠右（原space-between已无意义） */
  align-items: center;
  margin-bottom: 6px;
  font-family: "Comic Sans MS", "幼圆", sans-serif;
}

/* 时间样式：样式不变 */
.wang618-time {
  font-size: 12px;
  color: #666;
  font-family: "Comic Sans MS", "幼圆", sans-serif;
}

/* 核心：漫画框风格气泡（样式不变） */
.wang618-text {
  border: 2px solid #222; 
  background-color: #f0f5ff; 
  border-radius: 6px; 
  padding: 12px 16px;
  font-size: 14px;
  line-height: 1.7;
  color: #222;
  position: relative;
  margin-left: 0;
  box-shadow: 6px 6px 0 #888; 
  background-image: url("https://wang618.cn/img/wickedbackground.svg"); 
  background-blend-mode: overlay; 
  background-size: cover;
}

/* 漫画风格箭头（样式不变，与布局适配） */
.wang618-text::before {
  content: '';
  position: absolute;
  left: -10px;
  top: 12px;
  width: 0;
  height: 0;
  border-top: 8px solid transparent;
  border-right: 10px solid #222;
  border-bottom: 8px solid transparent;
  z-index: 1;
}

.wang618-text::after {
  content: '';
  position: absolute;
  left: -8px;
  top: 14px;
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-right: 8px solid #f0f5ff;
  border-bottom: 6px solid transparent;
  z-index: 2;
}