/* Small parchment item illustrations only; portraits, scenes and emblems are excluded. */
.shop-item[data-shop-item="memory"]>.shop-art,
.shop-item[data-shop-item="energy"]>.shop-art,
.shop-ash-pack>.shop-ash-art,
.home-shop-product[data-commerce-item="ashes"]>.home-shop-art,
.rewarded-card:is([data-rewarded-type="ashes"],[data-rewarded-type="stamina"]) .rewarded-card-art>img,
.reward-modal .reward-relic-art>img{
  border:1px solid #a18450;border-radius:7px;background:#e9d5aa;
  box-shadow:0 2px 4px #684a2429,0 0 0 2px #f2e4bf66;mix-blend-mode:normal;
}
/* The memory icon has a known compact anchor from LC151. */
.shop-item[data-shop-item="memory"]::after{
  content:"";position:absolute;top:12px;left:12px;width:12px;height:12px;
  border-top:1px solid #96743c;border-left:1px solid #96743c;border-radius:2px 0 0;
  pointer-events:none;
}
.rewarded-card:is([data-rewarded-type="ashes"],[data-rewarded-type="stamina"]) .rewarded-card-art>img{
  --rewarded-item-size:108px;
  width:min(var(--rewarded-item-size),100%);height:auto;aspect-ratio:1;
  max-width:100%;max-height:none;object-fit:contain;
}
/* Match each reserved art row. An inherited max-height must not flatten the img box. */
@media(max-width:680px){
  .rewarded-card:is([data-rewarded-type="ashes"],[data-rewarded-type="stamina"]) .rewarded-card-art>img{--rewarded-item-size:84px}
}
@media(max-width:520px){
  .rewarded-card:is([data-rewarded-type="ashes"],[data-rewarded-type="stamina"]) .rewarded-card-art>img{--rewarded-item-size:74px}
}
/* Match the img box to its visible square, rather than framing empty contain space. */
.reward-modal .reward-relic-art>img{
  width:min(130px,100%,calc(clamp(112px,22dvh,160px) - 40px));height:auto;aspect-ratio:1;
  max-height:100%;object-fit:contain;
}
.reward-modal .reward-relic-art>img[src*="/vanguard-seal"]{border-radius:50%}
.reward-modal .reward-relic-art[data-relic]::before{
  border:1px solid #a1845066;border-radius:6px;box-shadow:0 1px 3px #684a2420;
}
