/* Public gallery is a top-layer dialog, independent of profile theme rules. */
.flpGalleryLightbox{position:fixed;inset:0;width:100vw;max-width:none;height:100vh;height:100dvh;max-height:none;margin:0;padding:0;border:0;border-radius:0;background:#0e0e10;color:#fff;font:400 14px/1.5 Inter,Arial,sans-serif;overflow:hidden;box-sizing:border-box}
.flpGalleryLightbox[open]{display:flex;flex-direction:column}.flpGalleryLightbox::backdrop{background:#0e0e10}.flpGalleryLightbox *{box-sizing:border-box}.flpGalleryLightbox [hidden]{display:none!important}
.flpGalleryTop{display:flex;align-items:center;gap:16px;flex:none;padding:22px 32px 16px;padding-top:max(22px,env(safe-area-inset-top));min-height:80px}
.flpGalleryTitle{margin:0;min-width:0;flex:1;font:600 16px/24px Inter,Arial,sans-serif;color:#fff;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.flpGalleryCounter{color:#fff;font-size:14px;white-space:nowrap;font-variant-numeric:tabular-nums}
.flpGalleryLightbox button{appearance:none;display:flex;align-items:center;justify-content:center;flex:none;cursor:pointer;color:#fff;background:rgba(255,255,255,.12);padding:0;border:0;border-radius:50%;box-shadow:none;line-height:1;font:inherit}.flpGalleryLightbox button:focus-visible{outline:2px solid #fff;outline-offset:4px}.flpGalleryClose{width:40px;height:40px}.flpGalleryLightbox button svg{width:24px;height:24px;fill:none!important;stroke:currentColor!important;stroke-width:1.6}
.flpGalleryStage{position:relative;display:flex;align-items:center;justify-content:center;flex:1;min-height:0;min-width:0;padding:0 108px;touch-action:pan-y pinch-zoom}.flpGalleryPhoto{display:block;max-width:100%!important;max-height:100%!important;width:auto!important;height:auto!important;object-fit:contain!important;border-radius:12px;border:0;box-shadow:none;user-select:none;-webkit-user-drag:none}.flpGalleryError{position:absolute;text-align:center;padding:24px;color:#cbd5e1}.flpGalleryPrev,.flpGalleryNext{position:absolute;top:50%;transform:translateY(-50%);width:52px;height:52px}.flpGalleryPrev{left:32px}.flpGalleryNext{right:32px}
.flpGalleryBottom{display:flex;flex-direction:column;align-items:center;flex:none;gap:8px;padding:20px 16px max(24px,env(safe-area-inset-bottom))}.flpGalleryThumbs{display:flex;gap:10px;max-width:100%;padding:4px;overflow-x:auto;scrollbar-width:none}.flpGalleryLightbox .flpGalleryThumb{display:block;width:64px;height:64px;background:transparent;border-radius:10px;opacity:.55;padding:0;border:2px solid transparent;overflow:hidden}.flpGalleryThumb[aria-current=true]{opacity:1;border-color:#fff!important;padding:3px!important}.flpGalleryThumb img{display:block;width:100%;height:100%;object-fit:cover;border-radius:6px}.flpGalleryHint{display:none;margin:0;color:#9ca3af;font:400 12px/18px Inter,Arial,sans-serif}.galleryblock [data-flp-gallery-open]{cursor:zoom-in}
@media(max-width:767px){.flpGalleryTop{padding:16px;gap:12px;min-height:72px;padding-top:max(16px,env(safe-area-inset-top))}.flpGalleryStage{padding:0}.flpGalleryPhoto{border-radius:0}.flpGalleryPrev,.flpGalleryNext{display:none!important}.flpGalleryBottom{padding:16px 16px max(24px,env(safe-area-inset-bottom));gap:8px;min-height:112px}.flpGalleryLightbox .flpGalleryThumb{width:56px;height:56px}.flpGalleryHint{display:block}.flpGalleryLightbox.is-single .flpGalleryBottom{display:none}}
