/* Doll portrait fill — Propshaft-managed (public/assets is dockerignored).
 * Full-body cell; accessories sit under the figure. Arena fighters keep contain. */
.nl-doll-portrait {
  position: relative !important;
  z-index: 0 !important;
  display: block !important;
  align-items: stretch !important;
  overflow: hidden !important;
  flex: 0 0 var(--nl-doll-portrait-height, 274px) !important;
  height: var(--nl-doll-portrait-height, 274px) !important;
}

.nl-doll-earrings,
.nl-doll-rings,
.nl-doll-belt-content,
.nl-doll-runes {
  position: relative !important;
  z-index: 2 !important;
}

.nl-doll-portrait > img,
.nl-doll-portrait > .nl-doll-portrait-img,
.nl-doll-portrait > .character-portrait,
.nl-doll-portrait > .npc-avatar {
  position: absolute !important;
  top: 2px !important;
  right: 4px !important;
  bottom: 4px !important;
  left: 4px !important;
  display: block !important;
  width: calc(100% - 8px) !important;
  height: calc(100% - 6px) !important;
  max-width: none !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 0 !important;
  object-fit: contain !important;
  object-position: center bottom !important;
}

.fighter-paperdoll .nl-doll-portrait > img,
.fighter-paperdoll .nl-doll-portrait > .nl-doll-portrait-img,
.fighter-paperdoll .nl-doll-portrait > .character-portrait,
.fighter-paperdoll .nl-doll-portrait > .player-avatar,
.fighter-paperdoll .nl-doll-portrait > .npc-avatar,
.fighter-paperdoll .nl-doll-portrait > .nl-fight-npc-portrait,
.fighter-paperdoll .nl-doll-portrait > .avatar--fallback {
  position: static !important;
  inset: auto !important;
  width: 130px !important;
  height: 228px !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: contain !important;
  object-position: center bottom !important;
}

.nl-doll-slot-artwork {
  object-fit: cover !important;
  object-position: center !important;
  padding: 0 !important;
  transform: scale(1.06) !important;
  transform-origin: center !important;
}

.nl-profile-icon__art {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}
