.tc-lightbox{position:fixed;inset:0;margin:auto;width:100%;height:100%;max-width:none;max-height:none;border:0;padding:0;background:rgba(0,0,0,.94);color:white;overflow:hidden}.tc-lightbox[open]{display:flex;align-items:center;justify-content:center}.tc-lightbox::backdrop{background:#000}.tc-lightbox img{max-width:calc(100% - 100px);max-height:85vh;object-fit:contain;touch-action:pan-y}.tc-lightbox button{position:absolute;z-index:2;background:rgba(0,0,0,.55);color:white;border:1px solid #aaa;border-radius:50%;width:44px;height:44px;font-size:32px;line-height:1;cursor:pointer;padding:0}.tc-close{top:16px;right:16px}.tc-prev{left:8px;top:calc(50% - 22px)}.tc-next{right:8px;top:calc(50% - 22px)}.tc-count{position:absolute;bottom:16px;left:50%;transform:translateX(-50%);color:white} @media(max-width:600px){.tc-lightbox img{max-width:100%;max-height:80vh}}