.discussion-interactions { min-width: 0; }
.discussion-interactions .post-actions { flex-wrap: wrap; gap: 4px 6px; margin-bottom: 10px; }
.post-actions > a, .post-actions > button, .post-actions > form > button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 8px 10px; border-radius: 10px; line-height: 1.25; white-space: nowrap; }
.post-actions > a:hover, .post-actions button:not(:disabled):hover, .post-actions > a[aria-expanded=true] { background: var(--surface-soft); color: var(--primary); }
.post-actions span:empty { display: none; }
.post-actions [data-discussion-target=likes], .post-actions [data-discussion-target=count] { font-variant-numeric: tabular-nums; }
.post-actions button:disabled { opacity: .5; cursor: not-allowed; }
.interaction-status { margin: 0 0 12px; color: var(--muted); font-size: .85rem; }
.inline-comments:not([hidden]) { animation: comments-in .22s ease-out; }
.comments-loading { display: flex; align-items: center; gap: 11px; border-top: 1px solid var(--line); padding: 18px 0; }
.comments-loading-avatar, .comments-loading-lines::before, .comments-loading-lines::after { display: block; background: var(--line); animation: comment-loading 1.4s ease-in-out infinite; }
.comments-loading-avatar { flex: 0 0 34px; height: 34px; border-radius: 50%; }
.comments-loading-lines { display: grid; gap: 9px; width: min(220px, 65%); }
.comments-loading-lines::before, .comments-loading-lines::after { content: ''; height: 8px; border-radius: 4px; }
.comments-loading-lines::before { width: 42%; }
.inline-thread { border-top: 1px solid var(--line); padding: 16px 0 0; }
.inline-thread-heading { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: baseline; margin-bottom: 16px; font-size: .9rem; }
.inline-thread-heading span { color: var(--muted); font-size: .8rem; }
.inline-comment { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 11px; margin: 0 0 18px; }
.inline-comment .avatar, .inline-compose .avatar { width: 34px; height: 34px; }
.inline-comment header { display: flex; flex-wrap: wrap; align-items: baseline; gap: 5px 12px; font-size: .9rem; }
.inline-comment time { font-size: .72rem; color: var(--muted); }
.inline-comment p { margin: 5px 0 0; line-height: 1.6; font-size: .95rem; overflow-wrap: anywhere; }
.inline-compose { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 11px; padding: 15px 0 5px; border-top: 1px solid var(--line); }
.inline-compose textarea { min-height: 78px; resize: vertical; background: var(--surface); }
.inline-compose label { font-size: .85rem; }
.inline-compose-actions, .inline-thread-pages { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.inline-compose-actions span { color: var(--muted); font-size: .75rem; }
.inline-thread-pages { margin: 12px 0; font-size: .85rem; }
.just-liked .icon { animation: heart-pop .3s ease-out; }
@keyframes comments-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@keyframes heart-pop { 50% { transform: scale(1.25); } }
@keyframes comment-loading { 0%, 100% { opacity: .35; } 50% { opacity: .7; } }
@media (max-width: 600px) {
    .discussion-interactions .post-actions { column-gap: 4px; }
    .post-actions > a, .post-actions > button, .post-actions > form > button { gap: 6px; padding-inline: 8px; }
}
@media (prefers-reduced-motion: reduce) { .inline-comments:not([hidden]), .just-liked .icon, .comments-loading-avatar, .comments-loading-lines::before, .comments-loading-lines::after { animation: none; } }
