/* Square board portraits crop around the subject; ui261's contain rule leaves bars. */
body .ghost-cards258 .board-thumb258,
body .summon-slot .board-thumb258,
body .warlock106 [data-warlock106="sacrifice"] > .board-thumb258 {
  display: block;
  width: 100% !important;
  min-width: 0;
  max-width: 100% !important;
  height: auto !important;
  aspect-ratio: 1 / 1;
  object-fit: cover !important;
  object-position: center !important;
  background: transparent;
}
/* Keep the subject visible when the original card art places it off-center. */
body .summon-slot [data-art258="witch-cat"] { object-position: 85% center !important; }
body .summon-slot [data-art258="witch-crow"] { object-position: 18% center !important; }
body .summon-slot [data-art258="spiritcaller-storm"] { object-position: 57% center !important; }
body .summon-slot [data-art258="spiritcaller-frost"] { object-position: 70% center !important; }
body .warlock106 [data-art258="warlock-void"] { object-position: 44% center !important; }
/* Scroll compact lanes instead of crushing five portraits into unreadable slivers. */
body .summon-slots:has(.board-thumb258) {
  grid-template-columns: none;
  grid-auto-flow: column;
  grid-auto-columns: 64px;
  justify-content: start;
  overflow-x: auto;
  scrollbar-width: thin;
}
body .summon-slots:has(.board-thumb258) > .summon-slot { grid-template-columns: minmax(0, 1fr); }
