.wall-gallery{display:grid;gap:4px;overflow:hidden;border-radius:14px;margin:10px 0;grid-template-columns:repeat(2,minmax(0,1fr))}.wall-gallery-cell{position:relative;min-width:0}.wall-gallery-cell[hidden]{display:none}.wall-gallery-open{padding:0;border:0;background:#111;display:block;width:100%;height:240px;cursor:pointer;position:relative}.wall-gallery img{width:100%;height:100%;object-fit:cover;image-orientation:from-image}.wall-gallery-1{grid-template-columns:1fr}.wall-gallery-1 .wall-gallery-open{height:auto;max-height:640px}.wall-gallery-1 img{max-height:640px;object-fit:contain}.wall-gallery-3 .wall-gallery-cell:first-child{grid-row:span 2}.wall-gallery-3 .wall-gallery-cell:first-child button{height:100%}.wall-gallery-3 .wall-gallery-open{height:180px}.wall-gallery-more{position:absolute;inset:0;display:grid;place-items:center;background:#0008;color:white;font-size:38px;font-weight:600}.wall-gallery-delete{position:absolute;right:8px;top:8px;border:0;border-radius:50%;background:#fff;color:#222;width:28px;height:28px}.wall-photo-editor{padding:12px;background:var(--body-bg,#f5f6f8);border:1px solid #8883;border-radius:12px;margin-top:10px;color:inherit}.wall-photo-editor button{font-size:12px;border:1px solid #8884;border-radius:6px;padding:5px 9px;background:transparent;color:inherit;cursor:pointer}.wall-photo-editor button[aria-selected=true]{background:#1967d2;color:white}.wall-photo-strip,.wall-photo-tabs,.wall-photo-tools{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:10px}.wall-photo-strip img{width:48px;height:48px;object-fit:cover;border-radius:4px}.wall-photo-stage{background:#181b22;border-radius:8px;display:flex;justify-content:center;padding:10px;margin-bottom:10px}.wall-photo-stage canvas{max-width:100%;max-height:390px;object-fit:contain}.wall-photo-controls label{display:grid;grid-template-columns:110px 1fr 40px;gap:8px;align-items:center;font-size:12px;margin:8px 0}.wall-photo-controls input{width:100%}.wall-photo-status{font-size:12px;margin-top:8px}.wall-photo-editor [hidden]{display:none!important}@media(max-width:600px){.wall-gallery-open{height:160px}.wall-gallery-3 .wall-gallery-open{height:125px}}
.post-reactions-icons .wall-reaction-count,.like-emo .wall-reaction-count{display:inline-block;font-size:12px;font-weight:600;margin:0 8px 0 3px;vertical-align:middle;color:inherit}.like-emo .how_reacted{margin-left:0!important}.wall-latest-comment>.comment{margin-bottom:8px}
.profile-photo-overlay{position:fixed;inset:0;z-index:200000;background:#000b;display:flex;align-items:center;justify-content:center;padding:16px}.profile-photo-dialog{width:640px;max-width:100%;max-height:94vh;overflow:auto;margin:0;background:var(--body-bg,#fff);box-shadow:0 16px 64px #0006}.profile-photo-dialog h3{font-size:18px;margin:0 0 12px}.profile-photo-dialog [data-action=apply]{background:#1967d2;color:#fff}.profile-photo-dialog button:disabled{opacity:.5;cursor:wait}
/* Circular story thumbnails, shared by photo and video stories. */
.user-status-home ul.status-list{display:flex;gap:12px;overflow-x:auto;white-space:nowrap;padding:5px 3px 12px;margin:0;scrollbar-width:thin}.user-status-home ul.status-list li{width:88px;min-width:88px;flex:0 0 88px;padding:0;margin:0;text-align:center;vertical-align:top}.user-status-home ul.status-list li a.avatar{display:block;width:80px;height:80px;aspect-ratio:1;padding:4px;margin:0 auto;position:relative;border-radius:50%;overflow:visible;background:#a3a6af}.user-status-home ul.status-list li.not_seen_story a.avatar,.user-status-home ul.status-list li.create_new a.avatar{background:linear-gradient(135deg,#25f4ee,#fe2c55 65%,#ff627f)}.user-status-home ul.status-list li a.avatar:before{display:none}.user-status-home ul.status-list li a.avatar img,.user-status-home ul.status-list li a.avatar video{display:block;width:100%;height:100%;aspect-ratio:1;object-fit:cover;border-radius:50%;border:3px solid var(--body-bg,#fff);position:relative;padding:0;box-sizing:border-box}.user-status-home ul.status-list li p{margin:8px 0 0;font-size:12px;line-height:18px;max-width:88px}.user-status-home ul.status-list li p a{padding:0;border-radius:0;overflow:hidden;text-overflow:ellipsis;font-size:12px}.user-status-home ul.status-list li.create_new a.avatar svg{width:25px;height:25px;bottom:0;left:auto;right:0;transform:none;border:2px solid white;background:#fe2c55;color:white}.user-status-home ul.status-list li.view-more-stories a.avatar{border-radius:50%;padding:0}.user-status-home ul.status-list li.view-more-stories a.avatar div{border-radius:50%;width:80px;height:80px;aspect-ratio:1}.user-status-home.wow_story_mores ul.status-list{flex-wrap:wrap}
.video-editor-stage{background:#111827;border-radius:10px;padding:8px;text-align:center;margin-bottom:12px}.video-editor-frame{display:inline-block;position:relative;max-width:100%;vertical-align:middle;line-height:0;overflow:hidden}.video-editor video{display:block;max-width:100%;max-height:420px;width:auto;height:auto}.video-editor-caption{position:absolute;white-space:pre-wrap;overflow-wrap:anywhere;max-width:95%;line-height:1.25;background:#0007;padding:4px 8px;border-radius:4px;pointer-events:none;font-family:'DejaVu Sans',Arial,sans-serif;text-align:center}.video-editor .wall-photo-tabs{flex-wrap:nowrap;overflow-x:auto}.video-editor .wall-photo-tabs button{flex:1;min-height:36px}.video-editor .wall-photo-tools button{min-height:34px}.video-editor [data-video=apply]{background:#1967d2;color:#fff}.video-editor .video-text-field{display:block}.video-editor textarea{width:100%;padding:9px;border:1px solid #8885;border-radius:8px;background:transparent;color:inherit;margin:8px 0}.video-editor select{padding:7px;border-radius:6px;background:transparent;color:inherit}.video-editor [aria-pressed=true]{background:#1967d2;color:#fff}.publisher-media-message{font-size:13px;padding:8px}@media(max-width:600px){.video-editor{padding:9px}.video-editor .wall-photo-controls label{grid-template-columns:95px minmax(0,1fr) 36px}.video-editor video{max-height:320px}.video-editor .wall-photo-tools{gap:5px}}
.wall-photo-editor>.wall-photo-tabs{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:thin;padding-bottom:3px}.wall-photo-editor>.wall-photo-tabs button{flex-shrink:0;min-height:36px}.wall-photo-controls>button{margin:0 5px 6px 0;min-height:34px}
