.gallery-trigger{cursor:zoom-in}.gallery-spread{position:relative;overflow:hidden}.gallery-hotspot{position:absolute;border:0;background:transparent;cursor:zoom-in;padding:0}.gallery-hotspot:focus-visible{outline:2px solid var(--ink);outline-offset:4px}
body.gallery-open{overflow:hidden}dialog.gallery{position:fixed;inset:0;width:100%;height:100%;height:100dvh;max-width:none;max-height:none;margin:0;border:0;padding:0;background:transparent;color:#f4f2ed;overflow:hidden;overscroll-behavior:contain;font-family:'Helvetica Neue',Helvetica,Arial,sans-serif}dialog.gallery::backdrop{background:rgba(29,22,19,.94);-webkit-backdrop-filter:blur(9px);backdrop-filter:blur(9px)}.gallery-stage{position:absolute;inset:calc(72px + env(safe-area-inset-top,0px)) 64px calc(64px + env(safe-area-inset-bottom,0px));display:flex;align-items:center;justify-content:center;overflow:hidden;touch-action:none;user-select:none;-webkit-user-select:none;cursor:zoom-in}.gallery-stage.is-zoomed{cursor:grab}.gallery-stage.is-zoomed:active{cursor:grabbing}dialog.gallery .gallery-photo{flex:none;width:auto;height:auto;max-width:100%;max-height:100%;object-fit:contain;transform-origin:center;will-change:transform;pointer-events:none;user-select:none;-webkit-user-drag:none}dialog.gallery button{position:absolute;z-index:2;display:grid;place-items:center;min-width:48px;min-height:48px;border:1px solid #f4f2ed55;border-radius:50%;background:#16131259;color:#f4f2ed;cursor:pointer;font:inherit;touch-action:manipulation}dialog.gallery button:focus-visible{outline:2px solid #f4f2ed;outline-offset:4px}dialog.gallery .gallery-close{top:calc(16px + env(safe-area-inset-top,0px));right:calc(16px + env(safe-area-inset-right,0px));font-size:20px}dialog.gallery .gallery-prev,dialog.gallery .gallery-next{top:50%;transform:translateY(-50%);font-size:38px;line-height:1}.gallery-prev{left:max(10px,env(safe-area-inset-left,0px))}.gallery-next{right:max(10px,env(safe-area-inset-right,0px))}.gallery-info{position:absolute;bottom:calc(22px + env(safe-area-inset-bottom,0px));left:50%;transform:translateX(-50%);font-size:12px;letter-spacing:.12em}dialog.gallery .gallery-reset{bottom:calc(10px + env(safe-area-inset-bottom,0px));right:16px;border:0;border-radius:0;background:none;font-size:12px;padding:0 8px}dialog.gallery .gallery-reset[hidden]{display:none}
@media(max-width:700px){.gallery-stage{left:0;right:0}dialog.gallery .gallery-prev,dialog.gallery .gallery-next{background:#16131280;min-width:44px;min-height:44px;width:44px;height:44px}dialog.gallery .gallery-reset{right:8px}}


/* Restore click focus without showing a keyboard-only focus ring. */
.gallery-pointer-return:focus{outline:none}
