.post-photo-previews{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin:8px 0 12px}.post-photo-preview{position:relative;min-width:0}.post-photo-open{display:block;width:100%;padding:0!important;background:#09212b!important;border:0!important;border-radius:10px;overflow:hidden}.post-photo-open img{display:block;width:100%;height:90px;object-fit:cover}.post-photo-remove{position:absolute;top:-5px;right:-5px;min-width:29px;min-height:29px;padding:0!important;border:1px solid #e8d5b444!important;border-radius:50%;background:#102d38!important;color:#efdbc0;font:20px/1 system-ui;box-shadow:0 2px 7px #0005}.post-photo-count{font-size:10px;color:#91aaa6;margin:6px 0 12px}.attach-photo{position:relative}.attach-photo input:disabled{opacity:.5}.moment.has-photo{display:block!important}.moment-photos{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;margin:13px 0 2px;border-radius:11px;overflow:hidden}.moment-photos[data-count="1"]{grid-template-columns:1fr;max-width:340px}.moment-photos[data-count="2"],.moment-photos[data-count="4"]{grid-template-columns:repeat(2,minmax(0,1fr))}.moment-photos button{padding:0;border:0;background:#09232d;cursor:zoom-in;aspect-ratio:1;min-width:0;overflow:hidden}.moment-photos .moment-photo,#all-feed .moment-photos .moment-photo,.personal-moment .moment-photos img{display:block;width:100%;height:100%;object-fit:cover;border-radius:0;max-height:none}.moment-photos[data-count="1"] button{aspect-ratio:4/3}.personal-moment .moment-photos{margin:8px 0}.album figure{padding:5px}.album-photo-open{display:block;width:100%;padding:0;border:0;background:transparent;cursor:zoom-in}.album-photo-open img{display:block}#photo-viewer{position:fixed;inset:0;margin:auto;width:100%;max-width:none;height:100dvh;max-height:none;padding:0;border:0;border-radius:0;background:#040c12;color:#ecdec2;overflow:hidden}#photo-viewer::backdrop{background:#040c12f5}.photo-viewer-close{position:absolute;top:calc(12px + env(safe-area-inset-top,0px));right:15px;z-index:2;width:44px;height:44px;border-radius:50%;background:#19343de8;color:#eadcc2;border:1px solid #c8d4c933;font:30px/1 system-ui}.photo-viewer-stage{position:absolute;inset:calc(65px + env(safe-area-inset-top,0px)) 0 calc(95px + env(safe-area-inset-bottom,0px));display:flex;align-items:center;justify-content:center;overflow:auto}.photo-viewer-stage img{display:block;max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain}.photo-viewer-footer{position:absolute;bottom:0;left:0;right:0;display:flex;gap:12px;align-items:center;justify-content:space-between;padding:15px 18px calc(18px + env(safe-area-inset-bottom,0px));background:#081a24}.photo-viewer-footer>div{flex:1;min-width:0;text-align:center}.photo-viewer-count{font-size:13px}.photo-viewer-caption{font-size:11px;color:#92aaa6;margin:7px 0 0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.photo-viewer-footer button{width:44px;height:44px;border-radius:50%;background:#19343d;color:#eadcc2;border:1px solid #c8d4c933;font-size:28px}.photo-viewer-footer button:disabled{opacity:.25;cursor:default}.photo-viewer-error{font-size:11px;color:#ddb796;margin:8px 0 0}.post-photo-previews[hidden],#photo-viewer [hidden]{display:none!important}
