.tc-photo-preview { position:relative; }
.tc-photo-preview > img { display:block; width:100%; height:100%; object-fit:cover; }
.tc-photo-open { position:absolute; inset:0; cursor:zoom-in; }
.tc-photo-open > span { position:absolute; right:12px; bottom:12px; width:44px; height:44px; display:grid; place-items:center; background:rgba(17,24,39,.86); border-radius:6px; }
.tc-photo-open img,.tc-photo-viewer__close img { display:block; max-width:none; }
.tc-photo-preview .tc-photo-open > span > img { width:20px; height:20px; object-fit:contain; }
.tc-photo-viewer__close img { width:24px; height:24px; object-fit:contain; }
.tc-photo-open:focus-visible { outline:3px solid #f59112; outline-offset:-4px; }
.tc-photo-viewer { position:fixed; inset:0; width:100vw; height:100dvh; max-width:none; max-height:none; margin:0; border:0; padding:64px 24px 24px; background:rgba(0,0,0,.95); color:#fff; }
.tc-photo-viewer:not([open]) { display:none; }
.tc-photo-viewer__stage { display:flex; align-items:center; justify-content:center; width:100%; height:100%; min-height:0; }
.tc-photo-viewer__image { width:auto; height:auto; max-width:100%; max-height:100%; object-fit:contain; }
.tc-photo-viewer__close { position:absolute; top:12px; right:12px; width:44px; height:44px; display:grid; place-items:center; border:1px solid rgba(255,255,255,.5); border-radius:6px; background:#111827; }
.tc-photo-viewer__close:focus-visible { outline:3px solid #f59112; outline-offset:3px; }
