/* Shared frame contract for all small/avatar-sized portrait surfaces. */
#home-screen #home-avatar,
#home-profile-sheet-avatar {
  background-position: center center !important;
  background-size: contain !important;
  background-repeat: no-repeat !important;
  overflow: hidden;
}
.match-transition__avatar::after {
  background-position: center center !important;
  background-size: contain !important;
  background-repeat: no-repeat !important;
}
#home-profile-panel.campaign-secondary .campaign-profile-figure {
  position: absolute !important;
  inset: 2% !important;
  width: 96% !important;
  height: 96% !important;
  max-width: none !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 0 !important;
  object-fit: contain !important;
  object-position: center center !important;
  transform: none !important;
}
.rankboard-avatar-image {
  object-fit: contain !important;
  object-position: center center !important;
}
#leaderboard-panel .rankboard-podium-avatar .rankboard-avatar-image { height: 100% !important; }
#league-approved-panel .la-avatar > .la-portrait-image {
  left: 2% !important;
  top: 2% !important;
  width: 96% !important;
  height: 96% !important;
  object-fit: contain !important;
  object-position: center center !important;
}
.league-ref-duel-avatar img {
  width: 96% !important;
  height: 96% !important;
  margin: 2% !important;
  object-fit: contain !important;
  object-position: center center !important;
  transform: none !important;
}
