/* Keep the feed inside the shared desktop window. */
.siteBox:has(#socialApp:not([hidden])) { width: min(1000px, 96vw); height: min(600px, calc(100dvh - 140px)); }
.siteBox:has(#socialApp:not([hidden])) .siteView { height: calc(100% - 30px); }
#socialApp { height: 100%; overflow: auto; color: #232124; background: #fff; font: 15px/1.45 system-ui, sans-serif; }
.social-top { border-bottom: 1px solid #e4e2e1; }
.social-top h2 { max-width: 820px; margin: auto; padding: 8px 20px; font: bold italic 29px/1.2 Georgia, serif; letter-spacing: -1.8px; }
.social-inner { max-width: 820px; margin: auto; padding: 0 20px 22px; }
.social-people { display: flex; gap: 14px; padding: 14px 3px; overflow-x: auto; }
.social-people button, .social-like { cursor: pointer; border: 0; background: transparent; color: inherit; }
.social-people button { flex: 0 0 78px; padding: 2px; font: 12px/1.4 system-ui, sans-serif; border-radius: 10px; }
.social-people img { width: 47px; height: 47px; padding: 3px; border: 2px solid #d5d2d3; border-radius: 50%; object-fit: cover; display: block; margin: 0 auto 3px; }
.social-people button[aria-pressed="true"] img { border-color: #b22962; }
.social-people button[aria-pressed="true"] span { font-weight: 700; }
#socialApp button:focus-visible { outline: 2px solid #9b225b; outline-offset: 1px; }
.social-post { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(235px, 1fr); border: 1px solid #dedbda; border-radius: 8px; overflow: hidden; }
.social-photo { position: relative; margin: 0; background: #f2f1ef; }
.social-image { display: block; width: 100%; height: 100%; max-height: 346px; object-fit: cover; }
.social-overlay { position: absolute; bottom: 10px; left: 12px; right: 12px; text-align: center; color: white; background: #141419cf; padding: 5px 8px; font-weight: 600; }
.social-side { min-width: 0; display: flex; flex-direction: column; }
.social-account, .social-actions { display: flex; align-items: center; gap: 9px; padding: 12px 16px; }
.social-account { border-bottom: 1px solid #e7e5e3; }
.social-account span { display: block; font-size: 13px; color: #615b60; }
.social-avatar { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; }
.social-body { padding: 12px 16px; }
.social-location { font-size: 12px; color: #58515a; margin: 0; }
.social-caption { margin: 6px 0 20px; }
.social-body h3 { font-size: 12px; color: #615b60; margin: 0 0 6px; }
.social-comment { font-size: 14px; margin: 0; }
.social-actions { margin-top: auto; border-top: 1px solid #e7e5e3; padding-block: 6px; }
.social-like { border-radius: 50%; width: 36px; height: 36px; font: 29px/1 Arial,sans-serif; }
.social-like[aria-pressed="true"] { color: #b5224e; }
.social-count { font-size: 13px; font-weight: 600; }
@media (max-width: 630px) {
    .social-inner { padding-inline: 10px; }
    .social-post { grid-template-columns: 1fr; }
    .social-image { max-height: 235px; }
    .social-people { gap: 2px; }
}
