/* White selfie glyphs retain the dark display surface they require for contrast. */
.rewardContrastBackdrop{display:grid;grid-template-rows:minmax(0,1fr);grid-template-columns:minmax(0,1fr);place-items:center;box-sizing:border-box;width:100%;height:100%;padding:10%;border-radius:12px;background:linear-gradient(145deg,#26343d,#47575e)}
.rewardContrastBackdrop>img{display:block;min-height:0;min-width:0;width:100%;height:100%;max-height:100%;object-fit:contain}
.rewardLargeImage>.rewardContrastBackdrop{width:100%;height:100%;min-height:0;max-height:100%;margin:auto;padding:8%}
.rewardLargeImage>.rewardContrastBackdrop>img{width:100%;height:100%;object-fit:contain}

/* Character-choice rewards use an SVG circle so rectangular containers cannot
   stretch the portrait into an oval. Face crops are shared across all views. */
svg.rewardPortrait{display:block;width:100%;height:100%;min-width:0;min-height:0;overflow:visible}
html[data-design="pocket-playground"] body main #grid .referenceCard.editorialEvent.materialEvent.panoramaCard .referenceReward.portraitReward>button{
 box-sizing:border-box!important;width:100%!important;height:auto!important;min-height:0!important;aspect-ratio:1!important;padding:0!important;border-radius:50%!important;border:3px solid #fff!important;overflow:hidden!important;background:#eee8f5!important;
}
html[data-design="pocket-playground"] body main #grid .referenceCard.editorialEvent.materialEvent.panoramaCard .referenceReward.portraitReward>button>svg.rewardPortrait{
 width:100%!important;height:auto!important;aspect-ratio:1!important;max-height:none!important;filter:none!important;
}
html .rewardTile.portraitReward>.rewardImage{
 box-sizing:border-box;width:min(100%,170px);height:auto!important;aspect-ratio:1;min-height:0;max-height:none;margin-inline:auto;padding:0!important;border-radius:50%!important;overflow:hidden!important;background:transparent!important;
}
html .rewardTile.portraitReward>.rewardImage>svg.rewardPortrait{width:100%;height:auto;aspect-ratio:1}
