.user-profile-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.user-profile-badge__avatar-wrap {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  overflow: hidden;
  flex: 0 0 auto;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: linear-gradient(180deg, #f7f7fb, #ececf4);
}

.user-profile-badge__avatar,
.user-profile-badge__fallback {
  width: 100%;
  height: 100%;
  display: block;
}

.user-profile-badge__avatar {
  object-fit: cover;
}

.user-profile-badge__fallback {
  display: grid;
  place-items: center;
  color: var(--admin-text);
  font-size: 13px;
  font-weight: 800;
}

.user-profile-badge__body {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.user-profile-badge__name,
.user-profile-badge__meta {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.user-profile-badge__name {
  color: var(--admin-text);
  font-weight: 750;
  line-height: 1.15;
}

.user-profile-badge__meta {
  color: var(--admin-muted);
  font-size: 12px;
  font-weight: 650;
  line-height: 1.15;
}

.user-profile-badge--compact {
  gap: 8px;
}

.user-profile-badge--compact .user-profile-badge__avatar-wrap {
  width: 30px;
  height: 30px;
}
