.social-feed { max-width:54rem; margin-inline:auto; width:100% }
.social-feed button,.social-dialog button,.social-image-form button { min-height:2.5rem }
.social-compose-actions,.social-post-top,.social-comment-top,.social-dialog-head {display:flex;align-items:center;justify-content:space-between;gap:.75rem;flex-wrap:wrap}
.social-file {display:flex;gap:.4rem;flex-direction:column;font-size:.84rem;font-weight:650;max-width:100%}
.social-file input {max-width:100%}
.social-byline {display:flex;align-items:center;gap:.7rem;min-width:0}
.social-byline strong,.social-byline small {display:block;overflow-wrap:anywhere}
.social-avatar {width:2.6rem;height:2.6rem;flex:none;border-radius:50%;object-fit:cover}
.social-avatar.fallback {color:#085a46;background:#cbf0e6;display:grid;place-items:center;font-size:1.1rem;font-weight:700}
.social-text {white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.62;margin:1rem 0}
.social-gallery {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.5rem;margin-block:.8rem}
.social-gallery.single {grid-template-columns:minmax(0,1fr)}
.social-thumbnail {padding:0;background:none;border:none;border-radius:.6rem;overflow:hidden;line-height:0;display:block;width:100%}
.social-thumbnail img {width:100%;height:clamp(7rem,20vw,15rem);object-fit:cover}
.social-gallery.single img {height:clamp(11rem,32vw,22rem)}
.social-preview {display:block;object-fit:contain;max-height:76vh;max-width:100%;margin:auto}
.social-dialog {color:inherit;background:var(--surface,#fff);padding:1.2rem;border:1px solid #8d9eaa;border-radius:.8rem;width:min(38rem,94vw);max-height:92vh;overflow:auto}
.social-dialog::backdrop {background:#080d17be}
.social-dialog-head {margin-bottom:.8rem}
.social-reactions {display:flex;gap:.35rem;flex-wrap:wrap;align-items:center;margin-top:.75rem}
.social-reaction {font-size:.88rem;border-radius:2rem;padding:.2rem .6rem;background:transparent;color:inherit;border:1px solid #94a8a3}
.social-reaction[aria-pressed=true] {color:#074636;background:#bcefdc;border-color:#087a60}
.social-reaction:disabled {opacity:.75}
.social-link {color:inherit;background:transparent;border:none;text-decoration:underline;text-underline-offset:.2em;padding:.2rem .4rem}
.social-options summary {cursor:pointer;padding:.32rem;font-size:.85rem}
.social-options[open] .row {margin-top:.25rem}
.social-comments-toggle {border-top:1px solid #89999b66;margin-top:.65rem;padding-top:.25rem}
.social-comments,.social-image-form {margin-top:.8rem}
.social-comment {border-inline-start:2px solid #8caaa4;padding:.6rem .8rem;margin:.5rem 0}
.social-comment .social-avatar {width:2rem;height:2rem}
.social-type-form {padding:.65rem 0}
@media(max-width:420px){.social-compose-actions{flex-direction:column;align-items:stretch}.social-thumbnail img{height:8rem}.social-dialog{padding:.75rem}}
