/* Only the five latest cards: preserve the complete approved image. */
#ref-featured-cards .ref-featured-card.ref-crypto-portrait img{position:absolute;left:50%;top:50%;width:var(--crypto-width)!important;height:var(--crypto-height)!important;max-width:none!important;max-height:none!important;object-fit:contain;transform:translate(-50%,-50%) rotate(90deg);transform-origin:center}

/* The image box must follow the portrait itself so its clipping contour also
   follows the visible corners instead of an object-fit letterbox. */
#ref-featured-cards .ref-featured-card:not(.ref-crypto-portrait) img{width:auto!important;height:auto!important;max-width:100%!important;max-height:100%!important;object-fit:contain}
