[data-social-posts][hidden],[data-social-posts] [hidden]{display:none!important}
.social-post-head>strong,.social-comment-head>strong{min-width:0;overflow-wrap:anywhere}
.social-compose,.social-feed,.social-following-feed{margin-block:24px}.social-compose form,.social-comment-form,.social-reply-form{display:grid;gap:10px}.social-compose textarea,.social-comment-form textarea,.social-reply-form textarea,.social-edit-form textarea,.social-report-dialog textarea,.social-report-dialog select{box-sizing:border-box;width:100%}
.social-form-row,.social-section-head,.social-post-head,.social-comment-head,.social-actions{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}.social-section-head h2{margin:0}.social-status{min-height:1.4em;color:var(--muted)}.social-status.error{color:#fca5a5}
.social-post{padding:18px 0;border-top:1px solid var(--line);scroll-margin-top:20px}.social-post:focus{outline:2px solid var(--accent);outline-offset:4px}.social-post:first-child{border-top:0}.social-post-body,.social-comment-body{white-space:pre-wrap;overflow-wrap:anywhere}.social-post-meta,.social-comment-meta{color:var(--muted);font-size:.82rem}.social-creator-link{min-width:0;overflow-wrap:anywhere;font-weight:700}
.social-actions{justify-content:flex-start}.social-actions button{min-height:36px}.social-comments{margin:14px 0 0;padding:14px;border-radius:12px;background:var(--raised)}.social-comments-closed{margin-top:0;color:var(--muted)}.social-comment{padding:12px 0;border-top:1px solid var(--line)}.social-comment:first-child{border-top:0}.social-comment.reply{margin-left:24px;padding-left:12px;border-left:2px solid var(--line)}.social-comment.pinned{padding-inline:10px;border:1px solid var(--accent);border-radius:10px}.social-pin-label{padding:2px 7px;border-radius:999px;background:var(--surface);color:var(--muted);font-size:.72rem}.social-empty{padding:16px 0;color:var(--muted)}
.social-reported{margin-top:24px;padding-top:18px;border-top:1px solid var(--line)}.social-reported-item{display:grid;gap:8px;padding:12px 0;border-top:1px solid var(--line)}.social-reported-item:first-child{border-top:0}.social-reported-item p{margin:0}.social-report-count{color:var(--muted);font-size:.82rem}
.social-report-dialog{width:min(92vw,480px);border:1px solid var(--line);border-radius:14px;background:var(--surface);color:inherit;padding:22px}.social-report-dialog::backdrop{background:rgba(0,0,0,.72)}.social-report-dialog form{display:grid;gap:12px}.social-report-dialog .social-actions{justify-content:flex-end}
.social-post-media-fields{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.social-post-media-fields label{flex:1 1 100%;display:grid;gap:6px}.social-compose-image{width:min(100%,420px);margin:0}.social-compose-image img,.social-post-image,.social-publish-preview img{display:block;width:100%;height:auto;max-height:520px;object-fit:contain;border-radius:12px}.social-compose-image figcaption{margin-top:5px;color:var(--muted);font-size:.78rem}.social-drafts{margin:18px 0;padding:14px;border:1px solid var(--line);border-radius:14px}.social-drafts h3{margin:0}.social-draft-item{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;padding:10px 0;border-top:1px solid var(--line)}.social-draft-item:first-child{border-top:0}.social-draft-item p{margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.social-draft-item small{color:var(--muted)}
.social-media-dialog{width:min(94vw,680px);max-height:calc(100vh - 24px);overflow:auto;border:1px solid var(--line);border-radius:16px;background:var(--surface);color:inherit;padding:22px}.social-media-dialog::backdrop{background:rgba(0,0,0,.76)}.social-media-dialog canvas{display:block;width:100%;height:auto;border-radius:12px;background:#090d16}.social-media-dialog>label{display:grid;grid-template-columns:130px 1fr;gap:12px;align-items:center;margin-top:12px}.social-media-dialog input[type=range]{width:100%}.social-dialog-head{display:flex;align-items:start;justify-content:space-between;gap:12px}.social-dialog-head h2{margin:0}.social-dialog-close{border:0;background:transparent;color:inherit;font-size:30px;cursor:pointer}.social-publish-preview{padding:14px;border:1px solid var(--line);border-radius:14px}.social-publish-preview p{white-space:pre-wrap;overflow-wrap:anywhere}
@media(max-width:560px){.social-comment.reply{margin-left:10px}.social-actions .btn{flex:1 1 auto;min-height:44px}.social-section-head [data-follow-control],.social-section-head [data-follow-control] .btn{width:100%}}

/* Shared post card: identity and secondary actions stay separate from engagement. */
.social-post{padding:20px;margin-block:16px;border:1px solid var(--line);border-radius:16px;background:var(--surface);min-width:0}
.social-post:first-child{border-top:1px solid var(--line)}
.social-post-head{flex-wrap:nowrap;align-items:flex-start;gap:12px}
.social-post-identity{display:flex;align-items:center;gap:12px;min-width:0;flex:1}
.social-post-avatar{width:42px;height:42px;flex:0 0 42px;object-fit:cover;border-radius:50%}
.social-post-byline{display:grid;gap:4px;min-width:0}
.social-post-meta{line-height:1.4;overflow-wrap:anywhere}
.social-post-body{margin:16px 0;line-height:1.6}
.social-post>.social-post-image{border-radius:10px}
.social-post>.social-actions{margin-top:16px;padding-top:12px;border-top:1px solid var(--line);gap:8px}
.social-post>.social-actions .btn{flex:1 1 auto;padding:8px 12px;min-height:40px}
.social-post-menu{position:relative;flex:0 0 auto}
.social-post-more{display:flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:10px;list-style:none;cursor:pointer;font-size:24px;color:var(--muted)}
.social-post-more::-webkit-details-marker{display:none}
.social-post-more:hover,.social-post-menu[open] .social-post-more{background:var(--raised)}
.social-post-more:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.social-post-menu-items{position:absolute;right:0;top:calc(100% + 6px);z-index:5;display:grid;gap:4px;min-width:180px;padding:8px;border:1px solid var(--line);border-radius:12px;background:var(--surface,#172236);box-shadow:0 8px 24px #0003}
.social-post-menu-items .btn{width:100%;text-align:left;min-height:40px}
@media(max-width:560px){.social-post{padding:16px}.social-post>.social-actions .btn{min-height:44px;padding-inline:8px}.social-post-avatar{width:38px;height:38px;flex-basis:38px}}
@media(max-width:560px){
 .profile-page .social-feed{padding:0;margin-inline:-12px;background:transparent;border:0;box-shadow:none}
 .social-post>.social-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
 .social-post>.social-actions .btn{font-size:12px;padding:8px 4px;white-space:nowrap}
 .social-post-meta{font-size:12px}
}

.social-post-name{display:flex;align-items:center;gap:4px;min-width:0}
