.printed-face-pair{display:flex;align-items:center;justify-content:center;gap:8px;max-width:100%}
.printed-face-pair>img{min-width:0;object-fit:contain}
.gallery-stage .printed-face-pair.has-printed-reverse>img{width:min(38vw,480px);max-height:72dvh}
.mouse-card-preview{display:flex;width:auto;max-width:calc(100vw - 24px);gap:6px;align-items:center}
.mouse-card-preview[hidden]{display:none}
.mouse-card-preview>img{display:block;width:min(240px,calc(100vw - 24px));max-height:calc(100vh - 24px);object-fit:contain;border-radius:10px;min-width:0}
.mouse-card-preview.has-printed-reverse>img{width:min(240px,calc((100vw - 30px)/2))}
#cardPreview:has(.has-printed-reverse){width:min(640px,calc(100vw - 20px))}
#cardPreview .printed-face-pair>img{width:100%;height:auto;max-height:70vh;border-radius:8px}
#cardPreview .printed-face-pair.has-printed-reverse>img{width:calc(50% - 4px)}
@media(max-width:650px){.mouse-card-preview{display:none}.gallery-stage .printed-face-pair.has-printed-reverse>img{width:calc(50% - 4px);max-height:65dvh}}
