.ll-lightbox { width: fit-content; max-width: min(96vw, 1200px); max-height: 96vh; max-height: 96dvh; padding: 8px; border: 0; border-radius: 4px; background: #fff; color: #333; }
.ll-lightbox::backdrop { background: rgba(0,0,0,.8); }
.ll-lightbox figure { margin: 0; text-align: center; }
.ll-lightbox-image { display: block; width: auto; height: auto; max-width: min(calc(96vw - 16px), 1184px); max-height: calc(96dvh - 80px); object-fit: contain; }
.ll-lightbox-caption { padding: 8px 48px; font: 13px/1.4 Arial,sans-serif; }
.ll-lightbox button { position: absolute; display: grid; place-items: center; min-width: 44px; min-height: 44px; padding: 6px; border: 0; background: rgba(0,0,0,.65); color: #fff; font: 24px/1 Arial,sans-serif; }
.ll-lightbox-close { top: 8px; right: 8px; }
.ll-lightbox-previous { top: 45%; left: 8px; }
.ll-lightbox-next { top: 45%; right: 8px; }
.ll-lightbox-error { padding: 16px; text-align: center; }
html.ll-lightbox-open { overflow: hidden; }
