/* Photo frames (IMAGE_SLOTS_SPEC). A photo fills the frame (object-fit: cover, centered). Without one the frame is a blank kraft-mist box: no icon, no text. */
.pframe { position: relative; display: block; width: 100%; border-radius: 12px; background: var(--pw-kraft-mist); overflow: hidden; }
.pframe--1x1 { aspect-ratio: 1 / 1; }
.pframe--4x3 { aspect-ratio: 4 / 3; }
.pframe.is-empty { box-shadow: inset 0 0 0 1px var(--pw-line); }
.pframe picture, .pframe img { display: block; width: 100%; height: 100%; }
.pframe img { object-fit: cover; object-position: center; transition: transform .25s ease-out; }
@media (prefers-reduced-motion: reduce) { .pframe img { transition: none; } }
.pframe--16x10 { aspect-ratio: 16 / 10; }
.pframe--contain img { object-fit: contain; }
.pframe.is-empty .pframe__size { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; font: 500 13px/1.4 "IBM Plex Mono", monospace; font-style: normal; color: var(--pw-bark-muted); }
