/* Whole source packshots. The carousel supplies depth; source pixels supply the object. */
.museum-photo,.ring__art>.ring__img,.museum-photo-frame .ring__img{object-fit:contain;object-position:center;image-rendering:auto;clip-path:none;mask-image:var(--photo-background,none);-webkit-mask-image:var(--photo-background,none);mask-size:contain;-webkit-mask-size:contain;mask-position:center;-webkit-mask-position:center;mask-repeat:no-repeat;-webkit-mask-repeat:no-repeat;mask-origin:content-box;-webkit-mask-origin:content-box;mask-clip:content-box;-webkit-mask-clip:content-box}
.ring__art{position:absolute;inset:0;left:0;bottom:0;width:100%;height:100%;aspect-ratio:auto;overflow:visible;display:block;transform:none}
.ring__art>.ring__img{position:absolute;inset:0;width:100%;height:100%;min-width:0;min-height:0;max-width:100%;max-height:100%;padding:6px;transform:none}
.category-object>.museum-photo,.family-image>.museum-photo,.specimen-stage>.museum-photo,.index-row>.museum-photo{clip-path:none;transform:none}
.model-picker{min-width:0;flex-shrink:1}.model-picker select{width:100%;min-width:0}
@media(min-width:701px){.model-picker{flex:0 1 280px}}

/* Individual source renders: fit their complete visible extent, not the empty
   square canvas shipped with an icon. The native raster is never body-cropped. */
.museum-photo-frame{display:grid;place-items:center;width:100%;height:100%;min-width:0;min-height:0;container-type:size;overflow:visible}
.photo-window{position:relative;display:block;width:min(100cqw,calc(100cqh * var(--photo-ar)));height:min(100cqh,calc(100cqw / var(--photo-ar)));overflow:hidden}
.museum-photo-frame .photo-window>img{position:absolute;inset:auto;left:var(--raster-left);top:var(--raster-top);display:block;width:var(--raster-width);height:var(--raster-height);min-width:0;min-height:0;max-width:none;max-height:none;padding:0;margin:0;object-fit:fill;transform:none;clip-path:none;mask-image:none;-webkit-mask-image:none;image-rendering:auto}
.ring__art>.museum-photo-frame{position:absolute;inset:0;width:100%;height:100%}
.index-row>.museum-photo-frame{width:66px;height:66px}

.specimen-stage>.museum-photo-frame{height:350px;width:100%}
@media(max-width:700px){.specimen-stage>.museum-photo-frame{height:310px}}
@media(min-width:701px){[data-family=iphone] .stage{height:clamp(280px,calc(100svh - 540px),400px)}[data-family=iphone] .ring__item{--bh:calc(var(--stage-h,400px)*.88)}}
.stage:not(.is-3d) .ring__item{flex-basis:min(var(--bw),calc(100vw - 120px));width:min(var(--bw),calc(100vw - 120px))}
