/* Fixed, shared preview bounds. Full case images have their own presentation. */
#selected-work [data-work-preview]{--work-image-radius:8px;position:relative;display:block;width:100%;height:auto;min-width:0;min-height:0;aspect-ratio:6/5;border-radius:8px;overflow:hidden;touch-action:pan-y}
#selected-work [data-work-preview]:focus-visible{outline:3px solid #405bc5;outline-offset:5px}
#selected-work [data-work-preview]>.work-preview-frame{position:absolute;inset:0;display:block;width:100%;height:100%;min-width:0;min-height:0;visibility:visible}
#selected-work [data-work-preview]>.work-preview-frame[hidden]{display:none}
#selected-work [data-work-preview]>.work-preview-frame>.screen-static,#selected-work [data-work-preview]>.work-preview-frame>.screen-open{display:block;width:100%;height:100%;min-width:0;min-height:0;aspect-ratio:auto;border-radius:8px;overflow:hidden}
#selected-work [data-work-preview]>.work-preview-frame>.screen-static>img,#selected-work [data-work-preview]>.work-preview-frame>.screen-open>img{display:block;width:100%;height:100%;max-width:100%;max-height:100%;aspect-ratio:auto;border-radius:8px;object-fit:cover;object-position:center}
#selected-work [data-work-preview] > .work-preview-frame[data-image-fit="contain"] > .screen-static {
  display: flex;
  align-items: center;
  justify-content: center;
}
#selected-work [data-work-preview] > .work-preview-frame[data-image-fit="contain"] > .screen-static > img {
  width: auto;
  height: auto;
  object-fit: contain;
}
#selected-work [data-work-preview]::after{content:none}
#selected-work [data-work-preview] .work-preview-status{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
#selected-work [data-work-preview] .work-phone-pair{display:flex;align-items:stretch;justify-content:center;gap:32px;width:100%;height:100%;min-height:0}
#selected-work [data-work-preview] .work-phone-pair>.screen-open{display:block;flex:0 0 auto;width:auto;height:100%;min-width:0}
#selected-work [data-work-preview] .work-phone-pair .screen-open>img{display:block;width:auto;height:100%;border-radius:8px;object-fit:contain}
