.jp-profile-avatar-art {
  background: transparent !important;
  background-image: none !important;
  color: var(--color-cream) !important;
  text-indent: 0 !important;
  overflow: visible;
  position: relative;
  isolation: isolate;
}

.jp-profile-avatar-art > img[data-jp-profile-avatar-img] {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 0;
  pointer-events: none;
}

.jp-profile-avatar-letter {
  position: absolute;
  inset: 50% auto auto 50%;
  z-index: 1;
  transform: translate(-50%, -50%);
  color: var(--color-cream);
  font-family: var(--font-display);
  font-size: 1em;
  font-weight: 750;
  line-height: 1;
  pointer-events: none;
  text-align: center;
}

.account-avatar.has-image,
.gift-room-avatar.has-image,
.gr-profile-card__avatar.has-image,
.gr-share-person__avatar.has-image {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  color: transparent;
  text-indent: -9999px;
  overflow: hidden;
}

.account-avatar.jp-profile-avatar-art,
.gr-profile-card__avatar.jp-profile-avatar-art,
.gift-room-avatar.jp-profile-avatar-art,
.fixed-header .header-account-avatar.jp-profile-avatar-art,
.fixed-header .header-mobile-account-avatar.jp-profile-avatar-art,
.fixed-header .header-burger-signin-avatar.jp-profile-avatar-art {
  border: 0;
  box-shadow: none;
}

.gift-room-avatar.jp-profile-avatar-art {
  background: transparent !important;
  padding: 0;
}

.gift-room-avatar.jp-profile-avatar-art .jp-profile-avatar-letter,
.fixed-header .header-mobile-account-avatar.jp-profile-avatar-art .jp-profile-avatar-letter,
.fixed-header .header-burger-signin-avatar.jp-profile-avatar-art .jp-profile-avatar-letter {
  font-size: 0.9em;
}

.gift-room-avatar--lg.jp-profile-avatar-art .jp-profile-avatar-letter,
.fixed-header .header-account-avatar.jp-profile-avatar-art .jp-profile-avatar-letter {
  font-size: 0.94em;
}

.gr-profile-card__avatar.jp-profile-avatar-art .jp-profile-avatar-letter {
  font-size: 1.16em;
}

.account-avatar.jp-profile-avatar-art .jp-profile-avatar-letter {
  font-size: 1.24em;
}

.account-avatar--hero.jp-profile-avatar-art .jp-profile-avatar-letter {
  font-size: 1.36em;
}

.fixed-header .header-account-avatar.jp-profile-avatar-art {
  line-height: 1;
}

.fixed-header .header-burger-signin-avatar.is-account-avatar.jp-profile-avatar-art {
  border: 0;
}
