.image-gallery-modal{z-index:9999;overscroll-behavior:contain;justify-content:center;align-items:center;padding:24px;display:flex;position:fixed;inset:0}.image-gallery-modal__overlay{cursor:default;background:#000000e0;position:absolute;inset:0}.image-gallery-modal__content{z-index:1;background:#111;border:1px solid #ffffff14;border-radius:18px;flex-direction:column;width:min(900px,92vw);max-height:90vh;display:flex;position:relative;overflow:hidden;box-shadow:0 32px 100px #0009}.image-gallery-modal__close-wrap{z-index:4;position:absolute;top:12px;right:12px}.image-gallery-modal__close-x{color:#fff;cursor:pointer;background:#00000080;border:none;border-radius:50%;justify-content:center;align-items:center;width:32px;height:32px;transition:background .2s;display:flex}.image-gallery-modal__close-x:hover{background:#000000b3}.image-gallery-modal__main{background:#0a0a0a;justify-content:center;align-items:center;display:flex;position:relative}.image-gallery-modal__image-container{justify-content:center;align-items:center;width:100%;display:flex;position:relative}.image-gallery-modal__image{object-fit:contain;max-width:100%;max-height:70vh;display:block}.image-gallery-modal__nav{color:#fff;cursor:pointer;z-index:3;background:#00000080;border:1px solid #ffffff1a;border-radius:50%;justify-content:center;align-items:center;width:40px;height:40px;transition:all .2s;display:flex;position:absolute;top:50%;transform:translateY(-50%)}.image-gallery-modal__nav:hover{background:#000000b3;border-color:#fff3}.image-gallery-modal__nav--prev{left:12px}.image-gallery-modal__nav--next{right:12px}.image-gallery-modal__caption{border-top:1px solid #ffffff0f;align-items:center;gap:12px;padding:14px 18px;display:flex}.image-gallery-modal__caption-title{color:#ffffffd9;align-items:center;gap:12px;font-size:14px;font-weight:500;display:flex}.image-gallery-modal__caption-meta{opacity:.5;font-size:12px;font-weight:400}.image-gallery-modal__caption-desc{color:#ffffff80;font-size:13px;line-height:1.5}.image-gallery-modal__counter{color:#fff6;white-space:nowrap;flex-shrink:0;margin-left:auto;font-size:12px}.image-gallery-modal__thumbnails{border-top:1px solid #ffffff0f;padding:10px 18px 14px}.image-gallery-modal__thumbnails-scroll{scroll-behavior:smooth;gap:6px;padding-bottom:2px;display:flex;overflow-x:auto}.image-gallery-modal__thumbnails-scroll::-webkit-scrollbar{height:4px}.image-gallery-modal__thumbnails-scroll::-webkit-scrollbar-track{background:0 0}.image-gallery-modal__thumbnails-scroll::-webkit-scrollbar-thumb{background:#fff3;border-radius:2px}.image-gallery-modal__thumbnails-scroll::-webkit-scrollbar-thumb:hover{background:#ffffff4d}.image-gallery-modal__thumbnail{cursor:pointer;background:#ffffff1a;border:2px solid #0000;border-radius:6px;flex-shrink:0;width:64px;min-width:64px;height:48px;transition:all .15s;position:relative;overflow:hidden}.image-gallery-modal__thumbnail:hover{border-color:#fff6}.image-gallery-modal__thumbnail--active{border-color:#fff}.image-gallery-modal__thumbnail-img{object-fit:cover;width:100%;height:100%}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.image-gallery-modal{animation:.15s fadeIn}