.community-photo-open{border-radius:inherit;cursor:zoom-in;background:0 0;border:0;width:100%;padding:0;display:block;position:relative}.community-photo-open:active{transform:none}.community-photo-open:focus-visible{outline-offset:-4px}.photo-viewing-guide{min-width:0;position:relative}.photo-viewing-note{color:var(--muted);font:400 12px/1.5 var(--sans);white-space:nowrap;flex-direction:row-reverse;grid-column:1/-1;align-items:center;gap:10px;margin-top:8px;display:flex}.photo-viewing-note svg{flex-shrink:0;width:36px;height:24px;transform:rotate(45deg)}@media (min-width:1280px){.photo-viewing-note{flex-direction:column;gap:4px;width:80px;margin:0;position:absolute;inset-block-start:38%;inset-inline-start:calc(100% + 12px);transform:translateY(-50%)}.photo-viewing-note svg{width:72px;height:32px;transform:none}}@media (max-width:760px){.story-portrait-guide{justify-self:center;width:100%;max-width:400px}}.photo-viewer{width:100%;max-width:none;height:100dvh;max-height:none;padding:max(16px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) max(16px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));color:var(--fg);background:0 0;border:0;margin:0;position:fixed;inset:0}.photo-viewer::backdrop{background:var(--sheet-backdrop)}.photo-viewer-panel{border:1px solid var(--border);background:var(--bg);width:min(1120px,100%);height:100%;max-height:100%;box-shadow:var(--shadow-dialog);border-radius:18px;grid-template-rows:auto minmax(0,1fr) auto;margin:0 auto;padding:12px 20px 16px;display:grid}.photo-viewer-header{justify-content:space-between;align-items:center;gap:16px;padding-bottom:8px;display:flex}.photo-viewer-header h2{font-size:22px}.photo-viewer-control{border:1px solid var(--border);background:var(--bg);min-width:48px;min-height:48px;color:var(--fg);cursor:pointer;border-radius:50%;flex-shrink:0;place-items:center;display:grid}.photo-viewer-stage{touch-action:pan-y pinch-zoom;justify-content:center;align-items:center;min-width:0;min-height:0;display:flex}.photo-viewer-stage img{object-fit:contain;width:auto;max-width:100%;height:auto;max-height:100%;display:block}.photo-viewer-footer{justify-content:space-between;align-items:center;gap:16px;padding-top:16px;display:flex}.photo-viewer-caption{min-width:0;font:14px/1.6 var(--sans);overflow-wrap:anywhere}.photo-viewer-navigation{flex-shrink:0;align-items:center;gap:12px;display:flex}.photo-viewer-count{text-align:center;min-width:48px;font:13px/1.5 var(--sans);font-variant-numeric:tabular-nums;white-space:nowrap}@media (hover:hover){.photo-viewer-control:hover{background:var(--surface-hover)}}@media (max-width:600px){.photo-viewer{padding:max(8px, env(safe-area-inset-top)) max(8px, env(safe-area-inset-right)) max(8px, env(safe-area-inset-bottom)) max(8px, env(safe-area-inset-left))}.photo-viewer-panel{border-radius:12px;padding:10px 12px 12px}.photo-viewer-footer{flex-direction:column;gap:12px;padding-top:12px}.photo-viewer-caption{text-align:center;width:100%;font-size:13px}}
