.row {
  display: flex;
  align-items: center;
  gap: var(--spacing-md, 12px);
  width: 100%;
  box-sizing: border-box;
}

.avatar {
  flex: 0 0 auto;
  width: var(--sidebar-avatar-size, 56px);
  height: var(--sidebar-avatar-size, 56px);
  border-radius: 50%;
  background: var(--color-accent, #f84d96);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: #ffffff;
}

.avatarImg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.avatarIcon {
  color: inherit;
}

.text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1 1 auto;
  min-width: 0;
}

.name {
  margin: 0;
  font-size: var(--font-responsive-md, 16px);
  font-weight: 600;
  color: #000000;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.subtitle {
  margin: 0;
  font-size: clamp(12px, 2.593vw, 14px);
  color: var(--color-text-secondary, #9e9e9e);
  line-height: 1.2;
}

/* "VIP Member" 粉色 pill（含小钻石图标） */
.vipMemberPill {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-xs, 4px);
  align-self: flex-start;
  padding: 3px var(--spacing-sm, 8px);
  border-radius: var(--radius-full, 999px);
  background: var(--color-pill-bg, rgba(248, 77, 150, 0.10));
  color: var(--color-accent, #f84d96);
  font-size: var(--font-size-xs, 10px);
  font-weight: 600;
  line-height: 1;
}

.diamondIcon {
  width: 14px;
  height: 13px;
  display: block;
  flex-shrink: 0;
}

/* guest 状态下的 "login" 粉色胶囊按钮 */
.loginPill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px var(--spacing-lg, 16px);
  border-radius: var(--radius-full, 999px);
  background: linear-gradient(
    90deg,
    var(--color-button-gradient-start, #ff67e0),
    var(--color-button-gradient-end, #ff52a2)
  );
  color: var(--color-text-primary, #ffffff);
  font-size: clamp(12px, 2.593vw, 14px);
  font-weight: 600;
  border: 0;
  cursor: pointer;
  flex-shrink: 0;
}

.loginPill:hover {
  opacity: 0.9;
}

.loginPill:focus-visible {
  outline: 2px solid var(--color-accent, #f84d96);
  outline-offset: 2px;
}

/* ============================================================
 * 骨架占位（isLoading 时显示）
 * ============================================================ */
.skeleton {
  display: block;
  background: var(--color-dark-gray, #e5e5e5);
  border-radius: var(--radius-md, 8px);
}

.skeletonMd {
  width: 60%;
  height: 18px;
}

.skeletonSm {
  width: 80%;
  height: 14px;
}

.skeletonXs {
  width: 40%;
  height: 14px;
}
