/* V52 — round photo reactions and a matching camera preview. */
.dual-photo.has-photo-replies{overflow:visible;margin-bottom:24px}
.dual-photo .moment-media{position:absolute;inset:0;overflow:hidden;border-radius:inherit;background:#101723}
.dual-photo.has-photo-replies .photo-main{z-index:1}.dual-photo.has-photo-replies .photo-inset{z-index:3}
.dual-photo.has-photo-replies.is-swapped .photo-main{z-index:4}
.dual-photo.has-photo-replies.is-swapped .photo-inset{z-index:2}
.moment-photo-replies{position:absolute;z-index:7;left:12px;bottom:-20px;height:47px;display:flex;align-items:center;isolation:isolate}
.moment-photo-reply,.moment-photo-reply-more{width:43px;height:43px;border-radius:50%;border:3px solid #f6f8ff;background:#172136;color:#f8fbff;padding:0;overflow:hidden;box-shadow:0 7px 18px #02050db3;cursor:pointer}
.moment-photo-reply{background-size:cover;background-position:center;transition:transform .16s ease}
.moment-photo-reply+.moment-photo-reply{margin-left:-12px}
.moment-photo-reply:nth-child(1){z-index:1;animation:swm-reply-drift-one 4.1s ease-in-out infinite alternate}
.moment-photo-reply:nth-child(2){z-index:2;animation:swm-reply-drift-two 4.8s ease-in-out infinite alternate}
.moment-photo-reply:nth-child(3){z-index:3;animation:swm-reply-drift-three 4.4s ease-in-out infinite alternate}
.moment-photo-reply:hover{transform:translateY(-4px) scale(1.05)}
.moment-photo-reply-more{position:relative;z-index:4;margin-left:-12px;background:#1a2a45e8;font-size:11px;font-weight:800;letter-spacing:-.1px}
.moment-photo-reply-more:active{transform:scale(.94)}
@keyframes swm-reply-drift-one{0%{transform:translate(0,0) rotate(-1deg)}100%{transform:translate(2px,-4px) rotate(1deg)}}
@keyframes swm-reply-drift-two{0%{transform:translate(0,-2px)}100%{transform:translate(-2px,3px)}}
@keyframes swm-reply-drift-three{0%{transform:translate(0,1px) rotate(1deg)}100%{transform:translate(2px,-4px) rotate(-1deg)}}
.post-social-actions .reaction-pill,.post-social-actions .photo-reply-trigger{width:34px;min-width:34px;height:34px;min-height:34px;padding:0;border-radius:50%}
.post-social-actions .reaction-pill{flex-direction:column;gap:0;line-height:16px}
.post-social-actions .reaction-pill small{font-size:8px;line-height:8px}
.post-social-actions .photo-reply-trigger{display:grid;place-items:center;border:1px solid #33435c;background:#141b29;color:var(--text)}
.post-social-actions .photo-reply-trigger svg{width:15px;height:15px;stroke-width:1.8}.post-social-actions .photo-reply-trigger:active{transform:scale(.93);background:#20304a}
.photo-replies-empty{margin:13px 0;color:var(--muted);font-size:12px;text-align:center}.photo-replies-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;padding-top:4px}.photo-reply-card{border:1px solid #30415d;border-radius:14px;background:#111c2e;padding:7px;text-align:center;overflow:hidden}.photo-reply-card img{display:block;width:100%;aspect-ratio:1;object-fit:cover;border-radius:10px;background:#18243a}.photo-reply-card b{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10px;margin-top:6px}.photo-reply-card small{display:block;color:var(--muted);font-size:8px;margin-top:2px}.photo-reply-card.is-you{border-color:#718bc0}
@media(prefers-reduced-motion:reduce){.moment-photo-reply{animation:none!important}}

.photo-camera-content{display:flex;flex-direction:column;align-items:center;max-height:min(92dvh,690px);overflow-y:auto;padding-bottom:max(22px,env(safe-area-inset-bottom));touch-action:pan-y}
.photo-camera-content .sheet-handle{flex:none}.photo-camera-content .sheet-title{width:100%}
.photo-camera-circle{width:min(66vw,260px);aspect-ratio:1;margin:20px auto 10px;position:relative;border-radius:50%;border:3px solid #ecf2ff;overflow:hidden;background:#0a111e;box-shadow:0 0 0 5px #a7c4f114,0 18px 40px #0008;flex:none}
.photo-camera-circle video,.photo-camera-circle img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transform:none!important;display:block}
.photo-camera-circle.is-flipped video{transform:scaleX(-1)!important}
.photo-camera-circle img[hidden],.photo-camera-circle video[hidden]{display:none}
.photo-camera-status{color:var(--muted);font-size:11px;text-align:center;line-height:1.4;min-height:32px;margin:8px 0 10px}
.photo-camera-actions{min-height:76px;display:flex;align-items:center;justify-content:center;width:100%}
.photo-camera-shutter{width:65px;height:65px;border:3px solid #fff;border-radius:50%;padding:5px;background:none;display:block}
.photo-camera-shutter span{display:block;width:100%;height:100%;background:#f2f5fc;border-radius:50%}
.photo-camera-shutter:disabled{opacity:.5}
.photo-camera-review{display:flex;gap:8px;width:100%;align-items:center;justify-content:center}
.photo-camera-review[hidden]{display:none}.photo-camera-review .outline-button,.photo-camera-review .primary-button{width:auto;min-width:125px;min-height:42px;justify-content:center;font-size:11px}
.photo-camera-file{border:0;background:none;color:#a9bddf;font-size:11px;padding:9px 12px}
.photo-camera-flip{border:0;background:none;color:#a9bddf;font-size:11px;padding:9px 12px}
.photo-camera-flip[hidden]{display:none}
.photo-camera-flip:active{opacity:.6}
@media(max-height:600px){.photo-camera-circle{width:min(52vw,180px);margin:8px auto 4px}.photo-camera-content{padding-top:8px}}
