/* Only the existing transparent Stanley Cup image: white 2:3 portrait frames.
   The asset remains unchanged; contain preserves the complete trophy and base. */
html body #main figure:has(img[src$="/stanley-cup-float.webp"]){--ar:0.6666667!important;}
html body #main img[src$="/stanley-cup-float.webp"],
html body #main section#top .shelf.even img[src$="/stanley-cup-float.webp"],
html body #main section#pieces .shelf.even img[src$="/stanley-cup-float.webp"],
html body #main article#stanley-cup .obj.cutout img[src$="/stanley-cup-float.webp"]{
  --photo-ratio:0.6666667!important;
  background:#fff!important;object-fit:contain!important;object-position:center!important;
  aspect-ratio:2/3!important;padding:12px!important;box-sizing:border-box!important;
}
html body #main section#top .shelf.even img[src$="/stanley-cup-float.webp"]{
  width:auto!important;height:360px!important;max-width:100%!important;max-height:none!important;
}
html body #main article#stanley-cup .obj.cutout{
  width:min(100%,360px)!important;height:auto!important;background:#fff!important;
}
html body #main article#stanley-cup .obj.cutout img[src$="/stanley-cup-float.webp"]{
  width:100%!important;height:auto!important;max-height:none!important;
}
html body #main .work-gallery figure:has(img[src$="/stanley-cup-float.webp"]) .img{
  background:#fff!important;aspect-ratio:2/3!important;
}
html body #main .work-gallery img[src$="/stanley-cup-float.webp"]{
  width:100%!important;height:100%!important;max-height:none!important;
}
html body .piece-viewer img[src$="/stanley-cup-float.webp"]{
  background:#fff!important;aspect-ratio:2/3;object-fit:contain!important;padding:18px;box-sizing:border-box;
}
@media(min-width:761px){
  html body #main section#top.replicas-review-hero .shelf.even img[src$="/stanley-cup-float.webp"]{height:420px!important;}
  html body #main section#pieces .shelf.even img[src$="/stanley-cup-float.webp"]{width:auto!important;height:auto!important;max-height:calc(100cqw * 4 / 3)!important;}
}
@media(max-width:760px){
  html body #main section#top .shelf.even img[src$="/stanley-cup-float.webp"],
  html body #main section#pieces .shelf.even img[src$="/stanley-cup-float.webp"]{width:240px!important;height:360px!important;max-width:none!important;}
  html body #main section#top .shelf.even figure:has(img[src$="/stanley-cup-float.webp"]){width:240px!important;flex:0 0 240px!important;}
  html body #main article#stanley-cup .obj.cutout{max-width:320px!important;margin-inline:auto;}
}
