/* Cropped, bounded images replace entire spritesheet textures in collection cards. */
img.ck-sheet-portrait{object-fit:contain;background:none!important;max-width:none;flex-shrink:0}
.hero-card,.pet-card,.bestiary-card,.relic-category,.relic-family{contain:layout style}
/* Large image filters force new offscreen surfaces while scrolling. */
.hero-card:has(.ck-painted-portrait).active{filter:none;box-shadow:0 0 6px #8fcf9144}
/* Keep the battle canvas in its own stable paint layer. No per-card GPU layers. */
#scene{contain:strict;isolation:isolate}
