.photo-trigger{position:relative;cursor:zoom-in}.photo-trigger::after{content:'⤢';position:absolute;right:12px;bottom:12px;display:grid;place-items:center;width:38px;height:38px;border-radius:50%;background:#173c43e8;color:white;font-size:25px;line-height:1;box-shadow:0 2px 8px #0003;pointer-events:none}.photo-viewer{position:fixed;inset:0;margin:0;width:100vw;max-width:none;height:100vh;height:100dvh;max-height:none;border:0;padding:0;background:#101b20f7;color:#fff;overscroll-behavior:contain}.photo-viewer[open]{display:grid;grid-template-rows:auto minmax(0,1fr) auto}.photo-viewer::backdrop{background:#101b20}.photo-toolbar{display:flex;align-items:center;justify-content:space-between;padding:max(10px,env(safe-area-inset-top)) max(16px,env(safe-area-inset-right)) 10px max(16px,env(safe-area-inset-left));gap:16px}.photo-counter{font-size:1rem;font-variant-numeric:tabular-nums}.photo-viewer button{display:grid;place-items:center;flex-shrink:0;width:48px;height:48px;border:1px solid #ffffff60;border-radius:50%;background:#ffffff12;color:white;font:32px/1 Arial,sans-serif;cursor:pointer}.photo-viewer button:hover{background:#ffffff30}.photo-viewer button:focus-visible{outline:3px solid #d6c18f;outline-offset:3px}.photo-viewer [hidden]{display:none!important}.photo-stage{position:relative;display:flex;align-items:center;justify-content:center;margin:0 20px;min-height:0;min-width:0;touch-action:pan-y pinch-zoom}.photo-large{object-fit:contain;flex-shrink:0;max-width:100%;max-height:100%;user-select:none}.photo-message{position:absolute;text-align:center;padding:1rem;font-size:1rem;pointer-events:none}.photo-controls{display:flex;align-items:center;justify-content:center;gap:24px;padding:12px 20px max(16px,env(safe-area-inset-bottom))}.photo-caption{text-align:center;font-size:.9rem;line-height:1.4;max-width:650px}.photo-viewer .photo-prev,.photo-viewer .photo-next{font-size:38px}@media(max-width:600px){.photo-stage{margin:0 8px}.photo-controls{gap:12px;padding-inline:12px}.photo-caption{font-size:.875rem;flex:1}.photo-trigger::after{width:32px;height:32px;font-size:23px;right:8px;bottom:8px}}@media(max-height:480px){.photo-toolbar{padding-block:4px}.photo-controls{padding-block:4px}.photo-viewer button{width:44px;height:44px}.photo-caption{font-size:.875rem}}
