.photo-preview { box-sizing:border-box; width:min(1100px,calc(100% - 24px)); max-width:calc(100% - 24px); max-height:calc(100dvh - env(safe-area-inset-top) - env(safe-area-inset-bottom) - 24px); margin:auto; padding:12px; border:1px solid #64748b; border-radius:8px; color:#edf5f7; background:#15252b; overflow:auto; }
.photo-preview::backdrop { background:#000b; }
.photo-preview header { display:flex; align-items:center; justify-content:space-between; gap:12px; overflow-wrap:anywhere; }
.photo-preview strong { min-width:0; }
.photo-preview button { min-height:44px; }
.photo-preview-scroll { height:min(65dvh,700px); overflow:auto; margin-top:12px; }
.photo-preview-scroll img { display:block; width:100%; max-width:none; height:auto; }
.photo-preview-trigger { display:block; width:100%; text-align:left; overflow-wrap:anywhere; }
