.gallery-trigger:not(.btn){font:inherit;cursor:pointer;text-align:left;background:0 0;border:none;padding:0}.gallery-dialog{color:#fff;background:#0c120ef5;border:none;width:100%;max-width:100vw;height:100%;max-height:100dvh;margin:0;padding:0;position:fixed;inset:0;overflow:hidden}.gallery-dialog:modal{overscroll-behavior:contain}.gallery-dialog::backdrop{backdrop-filter:blur(6px);overscroll-behavior:contain;background:#000000d9;overflow:hidden}.gallery-layout{box-sizing:border-box;grid-template-rows:auto 1fr auto;grid-template-columns:minmax(0,1fr);width:100%;max-width:100%;height:100%;max-height:100%;display:grid;overflow:hidden}.gallery-header{z-index:2;box-sizing:border-box;background:linear-gradient(#000000a6,#0000);justify-content:space-between;align-items:center;gap:1rem;min-width:0;max-width:100%;padding:.85rem 1.25rem;display:flex}.gallery-meta{flex:1 1 0;align-items:center;gap:.85rem;min-width:0;display:flex;overflow:hidden}.gallery-counter{letter-spacing:.06em;white-space:nowrap;background:#ffffff24;border-radius:999px;flex-shrink:0;padding:.25rem .65rem;font-size:.85rem;font-weight:600}.gallery-caption{color:#ffffffe0;text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:.95rem;overflow:hidden}.gallery-close{color:#fff;cursor:pointer;background:#ffffff24;border:1px solid #ffffff40;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:42px;height:42px;font-size:1.6rem;line-height:1;transition:background-color .2s,transform .2s;display:inline-flex}.gallery-close:hover,.gallery-close:focus-visible{background:#1e3a29;transform:scale(1.05)}.gallery-stage{box-sizing:border-box;user-select:none;width:100%;min-width:0;height:100%;min-height:0;position:relative;overflow:hidden}.gallery-slides-viewport{width:100%;min-width:0;height:100%;min-height:0;overflow:hidden}.gallery-slides{will-change:transform;width:100%;min-width:0;height:100%;min-height:0;transition:transform .42s cubic-bezier(.22,1,.36,1);display:flex;transform:translate(0,0)}.gallery-slides.is-dragging{transition:none}.gallery-slide{box-sizing:border-box;opacity:.35;flex:0 0 100%;justify-content:center;align-items:center;width:100%;min-width:0;height:100%;min-height:0;margin:0;padding:.75rem 1rem;transition:opacity .42s,transform .42s cubic-bezier(.22,1,.36,1);display:flex;transform:scale(.96)}.gallery-slide.is-active{opacity:1;transform:scale(1)}.gallery-slide img{object-fit:contain;border-radius:6px;width:auto;max-width:100%;height:auto;max-height:100%;display:block;box-shadow:0 16px 48px #0000008c}.gallery-nav{z-index:5;color:#fff;cursor:pointer;-webkit-backdrop-filter:blur(4px);background:#14231abf;border:1px solid #ffffff4d;border-radius:50%;justify-content:center;align-items:center;width:48px;height:48px;font-size:2rem;line-height:1;transition:background-color .2s,transform .2s;display:inline-flex;position:absolute;top:50%;transform:translateY(-50%)}.gallery-nav:hover,.gallery-nav:focus-visible{background:#1e3a29f2;transform:translateY(-50%)scale(1.08)}.gallery-nav--prev{left:max(.75rem, env(safe-area-inset-left))}.gallery-nav--next{right:max(.75rem, env(safe-area-inset-right))}.gallery-thumbs-bar{z-index:2;box-sizing:border-box;background:linear-gradient(#00000040,#000c);min-width:0;max-width:100%;padding:.75rem 1.25rem 1rem}.gallery-thumbs{scrollbar-width:thin;scrollbar-color:#ffffff59 transparent;justify-content:safe center;align-items:center;gap:.55rem;min-width:0;max-width:100%;padding:.25rem;display:flex;overflow-x:auto}.gallery-thumb{cursor:pointer;opacity:.55;background:#ffffff1a;border:2px solid #0000;border-radius:6px;flex:none;width:76px;height:54px;padding:0;transition:opacity .2s,border-color .2s,transform .2s;overflow:hidden}.gallery-thumb:hover,.gallery-thumb:focus-visible{opacity:.9}.gallery-thumb.is-active{opacity:1;border-color:#d4a359;transform:translateY(-2px)}.gallery-thumb img{object-fit:cover;width:100%;height:100%;display:block}@media (width<=640px){.gallery-slide{padding:.5rem}.gallery-nav{width:40px;height:40px;font-size:1.6rem}.gallery-nav--prev{left:max(.5rem, env(safe-area-inset-left))}.gallery-nav--next{right:max(.5rem, env(safe-area-inset-right))}.gallery-thumb{width:62px;height:44px}}
