.story-photo-viewer{width:100%;max-width:none;height:100%;max-height:none;padding:max(12px, env(safe-area-inset-top)) max(12px, env(safe-area-inset-right)) max(12px, env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left));color:#f8f5ee;overscroll-behavior:contain;background:#22211d;border:0;margin:0;font-size:14px;line-height:1.4;position:fixed;inset:0;overflow:hidden}.story-photo-viewer[open]{grid-template-rows:auto minmax(0,1fr);gap:10px;display:grid}.story-photo-viewer-bar{grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:8px;display:grid}.story-photo-viewer-count{text-align:center;white-space:nowrap;grid-column:2;margin:0}.story-photo-viewer button{min-height:44px;color:inherit;white-space:nowrap;border:1px solid #827c70;border-radius:2px;justify-content:center;align-self:center;align-items:center;gap:8px;padding:6px 9px;display:inline-flex}.story-photo-viewer button:hover{background:#3b3831}.hmg .story-photo-viewer button:focus-visible{outline-color:#f8f5ee}.story-photo-viewer button span{font-size:19px;line-height:1}.story-photo-viewer-close{grid-column:3;justify-self:end}.story-photo-viewer-body{grid-template-rows:minmax(0,1fr);grid-template-columns:auto minmax(0,1fr) auto;gap:12px;display:grid}.story-photo-viewer-stage{touch-action:pinch-zoom;grid-area:1/2}.story-photo-viewer-stage img{object-fit:contain;-webkit-user-select:none;user-select:none;width:100%;height:100%;display:block}.story-photo-viewer-previous{grid-area:1/1}.story-photo-viewer-next{grid-area:1/3}@media (max-width:640px){.story-photo-viewer-body{grid-template-rows:minmax(0,1fr) auto;grid-template-columns:repeat(2,minmax(0,1fr))}.story-photo-viewer-stage{grid-column:1/-1}.story-photo-viewer-previous{grid-row:2;justify-self:end}.story-photo-viewer-next{grid-area:2/2;justify-self:start}}
