/* DraftArena v1.6.73 — Measured empty class slots and larger league crests.
   Visual-only patch. Never alter portrait assets, game history or ranked logic.

   .empty is shared with full-width informational notices elsewhere in the SPA
   (36px vertical + 18px horizontal padding). When combined with fixed-size
   portrait placeholders it produced much taller cards than real portraits.
   Remove notice padding ONLY from the empty portrait placeholders. */
html body:not(.draft-focus-mode) .leader-card.reference-card .reference-class-thumb.empty {
  box-sizing: border-box;
  width: 33px;
  height: 33px;
  min-width: 33px;
  min-height: 33px;
  padding: 0;
  line-height: 1;
  place-items: center;
}
html body:not(.draft-focus-mode) #main.page-profile .profile-used-art,
html body:not(.draft-focus-mode) #main.page-profile .profile-used-art.empty {
  box-sizing: border-box;
  width: 72px;
  height: 72px;
  max-width: 100%;
  min-width: 0;
  min-height: 0;
  aspect-ratio: 1 / 1;
}
html body:not(.draft-focus-mode) #main.page-profile .profile-used-art.empty {
  padding: 0;
  line-height: 1;
  place-items: center;
}
/* An account with no recorded match should not carry a large message placeholder.
   This rule is scoped to the empty profile history, not the global history page. */
html body:not(.draft-focus-mode) #main.page-profile .profile-recent-panel.profile-recent-empty > .empty {
  display: grid;
  place-items: center;
  box-sizing: border-box;
  min-height: 72px;
  padding: 10px 16px;
  line-height: 1.4;
  overflow-wrap: anywhere;
}
/* More prominent league badges in ranking podiums and the featured leader. */
html body:not(.draft-focus-mode) .leader-card.reference-card .reference-division img {
  width: 110px;
  height: 110px;
}
html body:not(.draft-focus-mode) .leader-card.reference-card.place-1 .reference-division img {
  width: 132px;
  height: 132px;
}
/* Profile league badge: increase both the image AND its container, so text never
   overlaps an oversized image. */
html body:not(.draft-focus-mode) #main.page-profile .profile-identity-card .showcase-tier .tier-mark {
  width: 108px;
  height: 108px;
  flex: 0 0 108px;
  display: grid;
  place-items: center;
}
html body:not(.draft-focus-mode) #main.page-profile .profile-identity-card .showcase-tier .tier-mark .rank-crest {
  width: 108px;
  height: 108px;
  object-fit: contain;
}
/* Ranking table, the nine divisions and compact league badges. */
html body:not(.draft-focus-mode) .table-ladder-minimal .ladder-rank-logo .rank-crest {
  width: 39px;
  height: 39px;
}
html body:not(.draft-focus-mode) .league-grid .league-tile-logo {
  width: 96px;
  height: 96px;
}
html body:not(.draft-focus-mode) #main.page-profile .showcase-badges .league-pill .rank-crest {
  width: 28px;
  height: 28px;
}
@media (min-width:561px) and (max-width:1250px) {
  html body:not(.draft-focus-mode) .leader-card.reference-card .reference-division img {
    width: 96px;
    height: 96px;
  }
  html body:not(.draft-focus-mode) .leader-card.reference-card.place-1 .reference-division img {
    width: 118px;
    height: 118px;
  }
}
@media (max-width:680px) {
  html body:not(.draft-focus-mode) #main.page-profile .profile-identity-card .showcase-tier .tier-mark {
    width: 92px;
    height: 92px;
    flex-basis: 92px;
  }
  html body:not(.draft-focus-mode) #main.page-profile .profile-identity-card .showcase-tier .tier-mark .rank-crest {
    width: 92px;
    height: 92px;
  }
  html body:not(.draft-focus-mode) .league-grid .league-tile-logo {
    width: 82px;
    height: 82px;
  }
}
@media (max-width:560px) {
  html body:not(.draft-focus-mode) .leader-card.reference-card .reference-division img {
    width: 98px;
    height: 98px;
  }
  html body:not(.draft-focus-mode) .leader-card.reference-card.place-1 .reference-division img {
    width: 116px;
    height: 116px;
  }
}
