.um-avatar,
.um-mini-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--um-chip-active-bg, #fce7f3);
  flex: 0 0 auto;
}

.um-avatar-shell {
  position: relative;
  display: inline-grid;
  place-items: center;
  overflow: hidden;
  background: var(--um-avatar-bg, #be123c);
  color: #fff;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.um-avatar-shell img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.um-avatar-initials {
  position: relative;
  z-index: 1;
  line-height: 1;
}

.um-author {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.um-author-line {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.um-avatar.um-profile-link {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
}

.um-avatar.um-profile-link:hover,
.um-avatar.um-profile-link:focus-visible {
  text-decoration: none;
}

.um-avatar.um-profile-link .um-avatar {
  width: 100%;
  height: 100%;
}

.um-author-name,
.um-comment-author,
.um-leaderboard-name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.um-user-profile {
  padding: 18px;
}

.um-user-profile-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
}

.um-user-profile h1 {
  margin: 0 0 4px;
  font-size: 24px;
}

.um-user-profile p {
  margin: 0;
  color: var(--um-muted);
  font-size: 13px;
}

.um-avatar,
.um-mini-avatar {
  font-size: 12px;
  font-weight: 500;
}

.um-avatar-shell .um-avatar-initials {
  font-weight: 800;
}
