[data-gallery]{min-width:0}[data-gallery-viewport]{position:absolute;inset:0;overflow:hidden;touch-action:pan-y pinch-zoom;outline-offset:-3px}.forge-gallery-panel{position:absolute;inset:0;height:100%;width:100%}.forge-gallery-panel[hidden]{display:none!important}.forge-gallery-image{width:100%;height:100%;object-fit:contain;user-select:none;-webkit-user-drag:none;transform:translate3d(var(--zoom-x,0px),var(--zoom-y,0px),0) scale(var(--zoom-scale,1));transform-origin:center;cursor:zoom-in}.forge-gallery-panel:not([hidden]){animation:forge-gallery-in .16s ease-out}.forge-gallery-arrow,.forge-gallery-expand,.forge-gallery-toolbar button{border:1px solid #666;background:rgba(10,10,10,.88);color:#fff;display:grid;place-items:center;width:44px;height:44px;cursor:pointer;font-size:30px;line-height:1;border-radius:50%;z-index:4;touch-action:manipulation}.forge-gallery-arrow{position:absolute;top:50%;transform:translateY(-50%)}.forge-gallery-prev{left:16px}.forge-gallery-next{right:16px}.forge-gallery-expand{position:absolute;bottom:16px;right:16px;font-size:24px}.forge-gallery-meta{display:flex;justify-content:space-between;gap:12px;margin-top:12px;font-size:11px;line-height:1.5;color:#bbb}.forge-gallery-meta [data-gallery-count]{white-space:nowrap;font-variant-numeric:tabular-nums;color:inherit}.forge-gallery-dialog{position:fixed;inset:0;margin:auto;width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;border:0;padding:0;background:#0a0a0a;color:#fff;overflow:hidden;z-index:2147483647}.forge-gallery-dialog:not([open]){display:none}.forge-gallery-dialog::backdrop{background:#0a0a0a}.forge-gallery-toolbar{position:absolute;left:0;right:0;top:0;display:flex;justify-content:space-between;align-items:center;padding:max(12px,env(safe-area-inset-top)) max(16px,env(safe-area-inset-right)) 12px max(16px,env(safe-area-inset-left));z-index:5;font-size:14px;background:linear-gradient(#0a0a0a,transparent)}.forge-gallery-toolbar>div{display:flex;gap:10px}[data-gallery-modal-host]{position:absolute;top:76px;bottom:58px;left:12px;right:12px}[data-gallery-modal-host] [data-gallery-viewport]{touch-action:none}.forge-gallery-modal-hint{position:absolute;bottom:max(12px,env(safe-area-inset-bottom));width:100%;text-align:center;font-size:12px;color:#ccc;pointer-events:none}.forge-gallery-dialog [data-zoomed=true] .forge-gallery-image{cursor:grab}.forge-gallery-dialog [data-zoomed=true]:active .forge-gallery-image{cursor:grabbing}[data-gallery] button:focus-visible,[data-gallery-viewport]:focus-visible{outline:3px solid #ffc51b;outline-offset:3px}[data-gallery] button:disabled{opacity:.4}.forge-gallery-dialog video,.forge-gallery-dialog iframe,.forge-gallery-dialog model-viewer{width:100%;height:100%;border:0}@media(max-width:639px){.forge-gallery-prev{left:8px}.forge-gallery-next{right:8px}.forge-gallery-meta{font-size:10px}.forge-gallery-meta>span:last-child{max-width:75%;text-align:right}.forge-gallery-dialog .forge-gallery-arrow{top:auto;bottom:max(42px,env(safe-area-inset-bottom));transform:none}.forge-gallery-dialog [data-gallery-modal-host]{bottom:100px}}@keyframes forge-gallery-in{from{opacity:.7}to{opacity:1}}@media(prefers-reduced-motion:reduce){.forge-gallery-panel:not([hidden]){animation:none}}

[data-gallery] button{cursor:pointer}[data-gallery-viewport] [data-gallery-main][data-gallery-type=image]{cursor:zoom-in}.forge-gallery-dialog [data-gallery-viewport]{cursor:default}
