/* ---------- Moments ---------- */
.spacer { flex: 1; }
.icon-btn--sm { width: 34px; height: 34px; border-radius: 10px; color: var(--muted); }
.composer { display: flex; flex-direction: column; gap: 10px; padding: 12px; }
.composer__top { display: flex; gap: 10px; align-items: flex-start; }
.composer__top .input { min-height: 44px; resize: none; }
.composer__bar { display: flex; align-items: center; gap: 10px; }
.composer__thumb { position: relative; align-self: flex-start; }
.composer__thumb img { display: block; max-height: 140px; max-width: 100%; border-radius: 12px; border: 1px solid var(--border); }
.composer__thumb .icon-btn { position: absolute; top: 6px; right: 6px; background: rgba(0, 0, 0, .55); color: #fff; }
.new-pill { align-self: center; padding: 8px 18px; border-radius: 999px; border: 0; background: var(--grad); color: var(--on-primary); font-weight: 700; cursor: pointer; box-shadow: 0 6px 18px var(--glow); }
.feed { display: flex; flex-direction: column; gap: 12px; }
.post { padding: 14px; border-radius: 18px; background: var(--gloss), var(--surface); border: 1px solid var(--border); box-shadow: inset 0 1px 0 var(--edge), var(--shadow); display: flex; flex-direction: column; gap: 10px; }
.author-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.author { display: flex; align-items: center; gap: 10px; min-width: 0; color: var(--text); }
.who { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.who__name { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.post__body { white-space: pre-wrap; overflow-wrap: anywhere; }
.post__img { width: 100%; max-height: 460px; object-fit: cover; border-radius: 14px; border: 1px solid var(--border); background: var(--surface-2); }
.post__actions { display: flex; align-items: center; gap: 6px; }
.act { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border: 0; border-radius: 999px; background: none; color: var(--muted); font-weight: 600; cursor: pointer; }
.act svg { stroke: currentColor; }
.act.is-on { color: #e5484d; }
.act.is-on svg { fill: #e5484d; }
.comments { display: flex; flex-direction: column; gap: 10px; padding-top: 10px; border-top: 1px solid var(--border); }
.comments__list { display: flex; flex-direction: column; gap: 10px; }
.comment { display: flex; gap: 8px; align-items: flex-start; }
.comment__body { flex: 1; min-width: 0; }
.comment__body p { overflow-wrap: anywhere; white-space: pre-wrap; }
.comments__form { display: flex; gap: 6px; align-items: center; }
.comments__form .input { min-height: 42px; }
.edit-inline { display: flex; flex-direction: column; gap: 8px; width: 100%; }
.edit-inline textarea.input { min-height: 84px; }
.profile__posts { display: flex; flex-direction: column; gap: 12px; }
.profile__posts-title { margin-top: 4px; }
