.feed-page { width: min(780px, 100%); margin: 0 auto; padding-bottom: 48px; }
.feed-page-header { margin-bottom: 20px; }
.feed-page-header h2 { margin: 2px 0 4px; font-family: Georgia, serif; font-size: clamp(1.8rem, 3vw, 2.5rem); color: var(--blue-950); }
.feed-page-header > p:last-child { margin: 0; color: var(--muted); }
.feed-composer, .feed-post { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-soft); }
.feed-composer { margin-bottom: 22px; padding: 18px; }
.feed-composer-main { display: grid; grid-template-columns: 48px 1fr; gap: 12px; align-items: start; }
.feed-composer textarea { box-sizing: border-box; width: 100%; min-height: 64px; padding: 13px 15px; resize: none; overflow-y: hidden; border: 1px solid var(--line); border-radius: 14px; background: #fffdfa; }
.feed-composer-text, .feed-comment-input-wrap { position: relative; min-width: 0; }
.feed-avatar, .feed-comment-avatar, .feed-reaction-avatar { display: grid; place-items: center; flex: 0 0 auto; overflow: hidden; color: #fff; background: linear-gradient(145deg, var(--blue-700), var(--blue-950)); border-radius: 50%; font-weight: 800; }
.feed-avatar { width: 48px; height: 48px; }
.feed-comment-avatar { width: 34px; height: 34px; font-size: .72rem; }
.feed-avatar img, .feed-comment-avatar img, .feed-reaction-avatar img { width: 100%; height: 100%; object-fit: cover; }
.feed-composer footer { display: flex; justify-content: space-between; gap: 12px; align-items: center; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line-soft); }
.feed-composer footer > div { display: flex; gap: 6px; }
.feed-tool-button { padding: 8px 11px; color: var(--blue-900); background: transparent; border: 0; border-radius: 9px; font-weight: 700; }
.feed-tool-button:hover, .feed-tool-button.active { background: #eef4fb; }
.feed-composer-preview { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 14px 0 6px 60px; }
.feed-composer-preview[hidden] { display: none; }
.feed-composer-preview-item { position: relative; min-height: 130px; overflow: hidden; border-radius: 12px; background: #eef2f7; }
.feed-composer-preview-item img, .feed-composer-preview-item video { display: block; width: 100%; height: 150px; object-fit: cover; }
.feed-composer-preview-item > button { position: absolute; top: 7px; right: 7px; display: grid; place-items: center; width: 30px; height: 30px; padding: 0; color: #fff; background: rgba(7, 29, 60, .82); border: 1px solid rgba(255, 255, 255, .65); border-radius: 50%; font-size: 1.25rem; line-height: 1; }
.feed-poll-fields { margin: 14px 0 0 60px; padding: 14px; background: #f4f7fb; border-radius: 12px; }
.feed-poll-fields label { display: grid; gap: 6px; color: var(--blue-950); font-weight: 700; }
.feed-poll-fields input { width: 100%; padding: 9px 11px; border: 1px solid var(--line); border-radius: 9px; }
.feed-poll-inputs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 8px; }
.feed-stream { display: grid; gap: 18px; }
.feed-infinite-sentinel { display: block; width: 100%; height: 1px; }
.feed-infinite-loading { display: flex; gap: 10px; align-items: center; justify-content: center; padding: 18px; color: var(--muted); font-weight: 750; }
.feed-infinite-loading img { width: 34px; height: 42px; padding: 4px; object-fit: contain; background: var(--ivory); border-radius: 7px; animation: loading-lamp-float 1.8s ease-in-out infinite; }
.feed-post { overflow: hidden; }
.feed-post-header { display: flex; gap: 12px; align-items: center; padding: 18px 20px 8px; }
.feed-post-header h3, .feed-post-header p { margin: 0; }
.feed-post-header h3 { color: var(--blue-950); font-size: 1rem; }
.feed-post-header p, .feed-post-header time { display: block; color: var(--muted); font-size: .78rem; }
.feed-post-header > .feed-manage-actions, .feed-post-header > .feed-post-menu { margin-left: auto; align-self: start; }
.feed-post-menu { position: relative; }
.feed-post-menu-trigger { min-width: 38px; padding: 3px 8px 8px; color: var(--blue-950); background: transparent; border: 0; border-radius: 9px; font-size: 1.1rem; font-weight: 900; letter-spacing: 2px; }
.feed-post-menu-trigger:hover, .feed-post-menu-trigger[aria-expanded="true"] { background: #edf3f9; }
.feed-post-menu-popup { position: absolute; z-index: 25; top: 36px; right: 0; width: 190px; overflow: hidden; padding: 6px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 16px 42px rgba(7, 29, 60, .18); }
.feed-post-menu-popup[hidden] { display: none; }
.feed-post-menu-popup button { display: flex; gap: 10px; align-items: center; width: 100%; padding: 9px 10px; color: var(--blue-950); background: transparent; border: 0; border-radius: 8px; text-align: left; font-weight: 700; }
.feed-post-menu-popup button:hover { background: #eef4fb; }
.feed-post-menu-popup button.danger { color: var(--red); }
.feed-post-menu-popup button span { width: 18px; text-align: center; font-size: 1rem; }
.feed-post-linked { animation: feed-linked-highlight 2.2s ease-out; scroll-margin-top: 24px; }
.feed-post-copy { margin: 10px 20px 16px; font-size: .98rem; line-height: 1.6; overflow-wrap: anywhere; }
.feed-media { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3px; overflow: hidden; background: #eef1f5; }
.feed-media-item { min-height: 250px; background: #e8edf3; }
.feed-media img, .feed-media video { display: block; width: 100%; height: 100%; max-height: 560px; object-fit: cover; }
.feed-media-count-1 { grid-template-columns: 1fr; }
.feed-media-count-1 .feed-media-item { max-height: 620px; }
.feed-media-count-1 img, .feed-media-count-1 video { object-fit: contain; }
.feed-media-count-3 .feed-media-item:first-child { grid-row: span 2; }
.feed-media-unavailable { margin: 12px 20px; padding: 22px; text-align: center; color: var(--muted); background: #f4f5f7; border-radius: 12px; }
.feed-poll { display: grid; gap: 8px; margin: 14px 20px; }
.feed-poll h4 { margin: 0 0 4px; }
.feed-poll-option { position: relative; display: flex; justify-content: space-between; overflow: hidden; padding: 10px 12px; color: var(--blue-950); background: #f4f7fb; border: 1px solid #cbd9e9; border-radius: 10px; text-align: left; }
.feed-poll-progress { position: absolute; inset: 0 auto 0 0; z-index: 0; background: rgba(29, 90, 159, .13); }
.feed-poll-option.selected { border-color: var(--blue-700); }
.feed-poll-option > span:not(.feed-poll-progress), .feed-poll-option strong { position: relative; z-index: 1; }
.feed-poll small { color: var(--muted); }
.feed-post-interactions { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin: 12px 20px 2px; padding: 9px 0; border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.feed-post-interactions > button, .feed-reaction-control > button { display: inline-grid; grid-auto-flow: column; place-content: center; place-items: center; gap: 5px; width: 100%; min-width: 0; height: 40px; padding: 6px 10px; color: var(--blue-800); background: transparent; border: 0; border-radius: 10px; font-size: 1.18rem; }
.feed-post-interactions > button:hover, .feed-post-interactions > button:focus-visible, .feed-reaction-control > button:hover, .feed-reaction-control > button:focus-visible { background: #edf3f9; outline: none; }
.feed-post-interactions > button.active, .feed-reaction-control > button.active { color: #b83a33; background: #fff0ef; }
.feed-post-interactions small { color: inherit; font-size: .72rem; font-weight: 800; }
.feed-reaction-control { position: relative; min-width: 0; user-select: none; -webkit-user-select: none; }
.feed-reaction-control > button { touch-action: manipulation; }
.feed-reaction-menu { position: absolute; z-index: 35; left: 0; bottom: calc(100% + 8px); display: flex; gap: 3px; padding: 7px; background: #fff; border: 1px solid var(--line); border-radius: 999px; box-shadow: 0 14px 38px rgba(7, 29, 60, .22); animation: feed-reaction-enter .16s var(--ease-standard); }
.feed-reaction-menu[hidden] { display: none; }
.feed-reaction-menu button { display: grid; place-items: center; width: 39px; height: 39px; padding: 0; background: transparent; border: 0; border-radius: 50%; font-size: 1.35rem; transition: transform .14s ease, background .14s ease; }
.feed-reaction-menu button:hover, .feed-reaction-menu button:focus-visible { background: #eef3f8; outline: none; transform: translateY(-3px) scale(1.1); }
.feed-reaction-menu button.selected { background: #e5eef9; box-shadow: inset 0 0 0 2px var(--blue-700); }
.feed-reaction-preview { display: flex; justify-content: space-between; gap: 10px; align-items: center; min-height: 39px; padding: 0 20px 16px; background: #fbfcfe; }
.feed-reaction-avatars { display: flex; align-items: center; padding-left: 3px; }
.feed-reaction-person { position: relative; display: block; margin-left: -7px; padding: 0; appearance: none; background: transparent; border: 0; border-radius: 50%; cursor: pointer; }
.feed-reaction-person:first-child { margin-left: 0; }
.feed-reaction-person:hover, .feed-reaction-person:focus-visible { z-index: 2; outline: none; transform: translateY(-1px); }
.feed-reaction-avatar { width: 32px; height: 32px; border: 2px solid #fff; box-shadow: 0 2px 7px rgba(7, 29, 60, .16); font-size: .62rem; }
.feed-reaction-person > small { position: absolute; right: -3px; bottom: -2px; display: grid; place-items: center; width: 16px; height: 16px; background: #fff; border: 1px solid var(--line-soft); border-radius: 50%; font-size: .62rem; }
.feed-reaction-total { display: inline-flex; gap: 5px; align-items: center; padding: 6px 9px; appearance: none; color: var(--muted); background: transparent; border: 0; border-radius: 999px; cursor: pointer; font-size: .76rem; }
.feed-reaction-total:hover, .feed-reaction-total:focus-visible { color: var(--blue-800); background: #eef3f8; outline: none; }
.feed-reaction-total strong { color: var(--blue-800); }
.feed-reaction-dialog-backdrop { position: fixed; z-index: 120; inset: 0; display: grid; padding: 20px; place-items: center; background: rgba(7, 29, 60, .62); backdrop-filter: blur(2px); }
.feed-reaction-dialog { display: grid; grid-template-rows: auto auto minmax(0, 1fr); width: min(580px, 100%); max-height: min(680px, calc(100dvh - 40px)); overflow: hidden; background: #fff; border: 1px solid rgba(255, 255, 255, .7); border-radius: 18px; box-shadow: 0 28px 80px rgba(0, 0, 0, .32); }
.feed-reaction-dialog > header { display: flex; min-height: 66px; padding: 15px 20px; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line-soft); }
.feed-reaction-dialog h3 { margin: 0; color: var(--blue-950); font-size: 1.2rem; }
.feed-reaction-dialog > header button { display: grid; width: 36px; height: 36px; padding: 0; appearance: none; place-items: center; color: var(--blue-950); background: #eef3f8; border: 0; border-radius: 50%; cursor: pointer; font-size: 1.35rem; }
.feed-reaction-dialog > header button:hover, .feed-reaction-dialog > header button:focus-visible { background: #dfe9f4; outline: none; }
.feed-reaction-dialog > nav { display: flex; overflow-x: auto; padding: 0 16px; border-bottom: 1px solid var(--line-soft); scrollbar-width: thin; }
.feed-reaction-dialog > nav button { display: inline-flex; flex: 0 0 auto; gap: 6px; min-width: 62px; padding: 12px; appearance: none; align-items: center; justify-content: center; color: var(--muted); background: transparent; border: 0; border-bottom: 3px solid transparent; cursor: pointer; font-size: 1rem; }
.feed-reaction-dialog > nav button.active { color: var(--blue-800); border-bottom-color: var(--blue-700); }
.feed-reaction-dialog > nav button:focus-visible { background: #f1f5f9; outline: none; }
.feed-reaction-dialog > nav strong { font-size: .78rem; }
.feed-reaction-dialog .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; padding: 0; margin: -1px; white-space: nowrap; border: 0; clip: rect(0, 0, 0, 0); }
.feed-reaction-dialog-list { min-height: 180px; overflow-y: auto; padding: 6px 20px 16px; overscroll-behavior: contain; }
.feed-reaction-dialog-person { display: grid; grid-template-columns: 50px minmax(0, 1fr) 30px; gap: 13px; width: 100%; padding: 12px 8px; appearance: none; align-items: center; color: var(--blue-950); background: transparent; border: 0; border-bottom: 1px solid var(--line-soft); border-radius: 10px; cursor: pointer; text-align: left; }
.feed-reaction-dialog-person:hover, .feed-reaction-dialog-person:focus-visible { background: #f3f7fb; outline: none; }
.feed-reaction-dialog-avatar { display: grid; width: 50px; height: 50px; overflow: hidden; place-items: center; color: #fff; background: linear-gradient(145deg, var(--blue-700), var(--blue-950)); border-radius: 50%; font-size: .75rem; font-weight: 850; }
.feed-reaction-dialog-avatar img { width: 100%; height: 100%; object-fit: cover; }
.feed-reaction-dialog-person > span { min-width: 0; }
.feed-reaction-dialog-person strong, .feed-reaction-dialog-person small { display: block; }
.feed-reaction-dialog-person small { margin-top: 3px; overflow-wrap: anywhere; color: var(--muted); font-size: .78rem; font-weight: 500; line-height: 1.35; }
.feed-reaction-dialog-person em { font-size: 1.05rem; font-style: normal; text-align: center; }
.feed-reaction-dialog-state { padding: 36px 10px; color: var(--muted); text-align: center; }
.feed-reaction-dialog-error { color: var(--red); }
@media (max-width: 600px) { .feed-reaction-dialog-backdrop { padding: 0; align-items: end; } .feed-reaction-dialog { width: 100%; max-height: min(82dvh, 680px); border-radius: 18px 18px 0 0; } .feed-reaction-dialog-list { padding-inline: 12px; } }
.feed-repost-preview { margin: 14px 20px; overflow: hidden; border: 1px solid var(--line); border-radius: 14px; }
.feed-repost-preview > header { display: flex; gap: 9px; align-items: center; padding: 12px 14px 5px; }
.feed-repost-preview > header div { min-width: 0; }
.feed-repost-preview > header strong, .feed-repost-preview > header time { display: block; }
.feed-repost-preview > header time { color: var(--muted); font-size: .68rem; }
.feed-repost-preview > p { margin: 8px 14px 13px; overflow-wrap: anywhere; }
.feed-repost-preview .feed-media { margin: 10px 14px 14px; }
.feed-career-preview > a { display: grid; gap: 8px; padding: 16px; color: var(--blue-950); text-decoration: none; }
.feed-career-preview > a:hover { background: #f7faff; }
.feed-career-preview .career-type { width: fit-content; }
.feed-career-preview > a > strong { font-size: 1rem; }
.feed-career-preview > a > small { color: var(--blue-700); font-weight: 750; }
.feed-career-preview > a > p { display: -webkit-box; margin: 2px 0; overflow: hidden; color: var(--muted); line-height: 1.45; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.feed-career-preview-meta { display: flex; flex-wrap: wrap; gap: 6px; }
.feed-career-preview-meta em { padding: 4px 7px; color: #42526a; background: #f0f3f7; border-radius: 7px; font-size: .7rem; font-style: normal; font-weight: 750; }
.feed-career-preview > a > b { color: var(--blue-800); font-size: .78rem; }
.feed-council-vote-preview > a { display: grid; gap: 9px; padding: 16px; color: var(--blue-950); background: linear-gradient(135deg,#fff 55%,#f2f6fb); text-decoration: none; }
.feed-council-vote-preview > a:hover { background: #f5f8fc; }
.feed-council-vote-preview > a > small { color: var(--blue-700); font-weight: 850; text-transform: uppercase; }
.feed-council-vote-preview > a > strong { overflow-wrap: anywhere; font-size: 1rem; }
.feed-council-vote-preview > a > .tag { width: fit-content; }
.feed-council-vote-results { display: flex; flex-wrap: wrap; gap: 6px; }
.feed-council-vote-results em { padding: 4px 8px; color: #42526a; background: #edf2f7; border-radius: 7px; font-size: .72rem; font-style: normal; font-weight: 800; }
.feed-council-vote-preview > a > b { color: var(--blue-800); font-size: .78rem; }
.feed-source-community { display: flex; gap: 14px; align-items: center; justify-content: space-between; padding: 13px 14px; background: linear-gradient(135deg, #edf4fc, #fff9e8); border-bottom: 1px solid var(--line-soft); }
.feed-source-community-link { display: flex; min-width: 0; gap: 10px; align-items: center; padding: 0; color: var(--blue-950); background: transparent; border: 0; text-align: left; }
.feed-source-community-link > span:first-child { display: grid; flex: 0 0 34px; width: 34px; height: 34px; place-items: center; color: #fff; background: var(--blue-800); border-radius: 10px; }
.feed-source-community-link > span:last-child { min-width: 0; }
.feed-source-community-link small, .feed-source-community-link strong, .feed-source-community-link em { display: block; }
.feed-source-community-link small { color: var(--muted); font-size: .66rem; font-weight: 750; }
.feed-source-community-link strong { margin-top: 1px; }
.feed-source-community-link em { max-width: 520px; overflow: hidden; color: var(--muted); font-size: .75rem; font-style: normal; text-overflow: ellipsis; white-space: nowrap; }
.feed-source-community-link:hover strong { text-decoration: underline; }
.feed-source-community > div { flex: 0 0 auto; }
@media (max-width: 560px) { .feed-source-community { align-items: stretch; flex-direction: column; } .feed-source-community > div button { width: 100%; } }
.feed-comments { display: grid; gap: 10px; padding: 0 20px 10px; }
.feed-comment { display: flex; gap: 9px; align-items: start; }
.feed-comment > div { min-width: 0; padding: 8px 11px; background: #f2f5f9; border-radius: 4px 13px 13px; }
.feed-comment strong, .feed-comment p, .feed-comment time { display: block; margin: 0; }
.feed-comment p { overflow-wrap: anywhere; }
.feed-comment time { margin-top: 2px; color: var(--muted); font-size: .68rem; }
.feed-comment footer { display: flex; gap: 5px; align-items: center; margin-top: 4px; }
.feed-comment footer time { margin-right: 3px; }
.feed-comment footer button { display: inline-grid; place-items: center; min-width: 27px; height: 27px; padding: 3px 6px; color: var(--blue-700); background: transparent; border: 0; border-radius: 50%; font-size: .9rem; font-weight: 800; }
.feed-comment footer button:hover, .feed-comment footer button:focus-visible { background: #e2eaf4; outline: none; }
.feed-interaction-actions, .feed-manage-actions { display: inline-flex; gap: 2px; align-items: center; }
.feed-comment-action { grid-auto-flow: column; gap: 3px; border-radius: 999px !important; }
.feed-comment-action.active { color: #b83a33; background: #fff0ef; }
.feed-comment-action small { font-size: .66rem; line-height: 1; }
.feed-manage-actions button { color: var(--blue-700); }
.feed-manage-actions button.danger { color: var(--red); }
.feed-inline-edit { display: grid; gap: 8px; width: 100%; }
.feed-inline-edit-post { margin: 8px 20px 16px; padding: 14px; width: auto; background: #fffdfa; border: 1px solid var(--line); border-radius: 15px; box-shadow: 0 8px 22px rgba(7, 29, 60, .06); }
.feed-inline-edit textarea { display: block; width: 100%; min-height: 76px; padding: 10px 12px; resize: vertical; border: 1px solid var(--blue-700); border-radius: 10px; background: #fff; }
.feed-inline-edit-post textarea { min-height: 96px; padding: 13px 15px; border-color: var(--line); border-radius: 14px; background: #fff; }
.feed-inline-edit-post textarea:focus { border-color: var(--blue-700); box-shadow: 0 0 0 3px rgba(27, 78, 134, .12); outline: none; }
.feed-inline-edit textarea[data-feed-auto-resize] { box-sizing: border-box; resize: none; overflow-y: hidden; }
.feed-inline-edit > footer { display: flex; gap: 12px; align-items: center; justify-content: space-between; margin: 0; }
.feed-inline-edit-post > footer { margin-top: 4px; padding-top: 12px; border-top: 1px solid var(--line-soft); }
.feed-inline-edit > footer button { padding: 7px 11px; font-size: .78rem; }
.feed-inline-edit > footer .primary-button { color: #fff; background: var(--blue-900); }
.feed-inline-edit > footer .secondary-button { color: var(--blue-900); background: #fff; border: 1px solid var(--line); }
.feed-edit-media { display: grid; gap: 8px; margin-top: 4px; }
.feed-edit-media-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.feed-edit-media-item { position: relative; min-height: 90px; overflow: hidden; background: #eef2f6; border: 1px solid var(--line-soft); border-radius: 10px; }
.feed-edit-media-item img, .feed-edit-media-item video { display: block; width: 100%; height: 140px; object-fit: cover; }
.feed-edit-media-item > span { display: grid; min-height: 90px; padding: 10px; place-items: center; color: var(--muted); font-size: .72rem; text-align: center; }
.feed-edit-media-item > button { position: absolute; top: 5px; right: 5px; display: grid; width: 27px; height: 27px; padding: 0; place-items: center; color: #fff; background: rgba(7, 29, 60, .88); border: 0; border-radius: 50%; font-size: 1rem; }
.feed-edit-media > small { color: var(--muted); font-size: .72rem; }
.feed-edit-tools, .feed-edit-buttons { display: flex; gap: 6px; align-items: center; }
.feed-edit-tools label { cursor: pointer; font-size: .78rem; }
@media (max-width: 600px) { .feed-inline-edit-post { margin-inline: 12px; padding: 12px; } .feed-inline-edit-post > footer { align-items: stretch; flex-direction: column; } .feed-edit-tools, .feed-edit-buttons { justify-content: space-between; } .feed-edit-media-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.feed-removed-content { color: var(--muted); font-style: italic; }
.feed-comment-thread { min-width: 0; }
.feed-replies { display: grid; gap: 8px; margin: 8px 0 0 43px; padding-left: 12px; border-left: 2px solid #d9e3ef; }
.feed-reply { animation: feed-reply-enter .22s var(--ease-standard); }
.feed-reply-form { display: grid; grid-template-columns: 34px minmax(0, 1fr) 40px; gap: 8px; align-items: start; margin: 10px 0 0 43px; }
.feed-reply-form > .feed-comment-avatar { margin-top: 3px; }
.feed-reply-form input { width: 100%; min-width: 0; padding: 10px 102px 10px 14px; background: #fff; border: 1px solid var(--line); border-radius: 999px; transition: border-color .16s ease, box-shadow .16s ease; }
.feed-reply-form input:focus { border-color: var(--blue-700); box-shadow: 0 0 0 3px rgba(27, 78, 134, .12); outline: none; }
.feed-reply-form > .feed-reply-submit { display: grid; place-items: center; width: 40px; height: 40px; padding: 0 0 0 2px; color: #fff; background: var(--blue-900); border: 0; border-radius: 50%; box-shadow: 0 5px 14px rgba(10, 55, 105, .2); font-size: .95rem; transition: transform .16s ease, background .16s ease; }
.feed-reply-form > .feed-reply-submit:hover, .feed-reply-form > .feed-reply-submit:focus-visible { background: var(--blue-700); outline: none; transform: translateY(-1px); }
.feed-reply-form > .feed-reply-submit:disabled { opacity: .55; transform: none; }
.feed-comment-form { display: grid; grid-template-columns: 34px minmax(0, 1fr) 40px; gap: 9px; align-items: start; padding: 14px 20px 16px; background: linear-gradient(180deg, #fff, #fbfcfe); border-top: 1px solid var(--line-soft); }
.feed-comment-form > .feed-comment-avatar { margin-top: 3px; }
.feed-comment-form input { width: 100%; min-width: 0; padding: 11px 102px 11px 15px; background: #fff; border: 1px solid var(--line); border-radius: 999px; transition: border-color .16s ease, box-shadow .16s ease; }
.feed-comment-form input:focus { border-color: var(--blue-700); box-shadow: 0 0 0 3px rgba(27, 78, 134, .12); outline: none; }
.feed-comment-form > .feed-comment-submit { display: grid; place-items: center; width: 40px; height: 40px; padding: 0 0 0 2px; color: #fff; background: var(--blue-900); border: 0; border-radius: 50%; box-shadow: 0 5px 14px rgba(10, 55, 105, .2); font-size: .95rem; transition: transform .16s ease, background .16s ease; }
.feed-comment-form > .feed-comment-submit:hover, .feed-comment-form > .feed-comment-submit:focus-visible { background: var(--blue-700); outline: none; transform: translateY(-1px); }
.feed-comment-form > .feed-comment-submit:disabled { opacity: .55; transform: none; }
.feed-comment-tools { position: absolute; z-index: 2; top: 6px; right: 9px; display: flex; gap: 2px; align-items: center; }
.feed-comment-tools button { display: grid; place-items: center; min-width: 27px; height: 29px; padding: 2px 5px; color: var(--blue-700); background: transparent; border: 0; border-radius: 8px; font-size: .72rem; font-weight: 800; }
.feed-comment-tools button:hover { background: #e8f0f9; }
.feed-comment-attachment, .feed-comment-attachment-preview img { display: block; width: min(280px, 100%); max-height: 240px; margin: 7px 0; object-fit: contain; background: #e8edf3; border-radius: 10px; }
.feed-comment-media-unavailable { display: block; margin: 6px 0; color: var(--muted); font-size: .78rem; }
.feed-comment-attachment-preview { position: relative; width: fit-content; }
.feed-comment-attachment-preview[hidden] { display: none; }
.feed-comment-attachment-preview button { position: absolute; top: 12px; right: 6px; display: grid; place-items: center; width: 26px; height: 26px; padding: 0; color: #fff; background: rgba(7, 29, 60, .85); border: 0; border-radius: 50%; }
.feed-content-picker { position: fixed; z-index: 80; right: 28px; bottom: 28px; width: min(420px, calc(100vw - 32px)); max-height: min(520px, calc(100vh - 48px)); overflow: auto; padding: 14px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 24px 70px rgba(7, 29, 60, .24); }
.feed-content-picker[hidden] { display: none; }
.feed-content-picker > header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.feed-content-picker > header button { display: grid; place-items: center; width: 30px; height: 30px; padding: 0; background: #eef3f8; border: 0; border-radius: 50%; font-size: 1.2rem; }
.feed-emoji-grid { display: grid; grid-template-columns: repeat(8, 1fr); gap: 3px; }
.feed-emoji-grid button { padding: 6px 2px; background: transparent; border: 0; border-radius: 7px; font-size: 1.35rem; }
.feed-emoji-grid button:hover { background: #edf3fa; transform: scale(1.08); }
.feed-gif-picker > input { width: 100%; padding: 9px 11px; border: 1px solid var(--line); border-radius: 9px; }
.feed-gif-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; min-height: 70px; margin-top: 10px; color: var(--muted); }
.feed-gif-grid button { overflow: hidden; padding: 0; background: #edf1f5; border: 0; border-radius: 8px; }
.feed-gif-grid img { display: block; width: 100%; height: 100px; object-fit: cover; }
.feed-report-modal, .feed-remove-modal, .feed-action-modal { position: fixed; z-index: 100; inset: 0; display: grid; place-items: center; padding: 20px; background: rgba(7, 29, 60, .48); }
.feed-report-modal[hidden], .feed-remove-modal[hidden], .feed-action-modal[hidden] { display: none; }
.feed-report-modal form { width: min(520px, 100%); padding: 20px; background: #fff; border-radius: 17px; box-shadow: 0 28px 80px rgba(0, 0, 0, .28); }
.feed-report-modal header, .feed-report-modal footer { display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.feed-report-modal header h3 { margin: 0; }
.feed-report-modal header > button { width: 34px; height: 34px; background: #eef3f8; border: 0; border-radius: 50%; font-size: 1.25rem; }
.feed-report-modal label { display: grid; gap: 6px; margin-top: 14px; color: var(--blue-950); font-weight: 700; }
.feed-report-modal select, .feed-report-modal textarea { width: 100%; padding: 10px 11px; border: 1px solid var(--line); border-radius: 9px; }
.feed-report-modal footer { justify-content: flex-end; margin-top: 18px; }
.feed-remove-dialog { width: min(430px, 100%); padding: 24px; background: #fff; border-radius: 18px; box-shadow: 0 28px 80px rgba(0, 0, 0, .28); text-align: center; }
.feed-remove-dialog-icon { display: grid; place-items: center; width: 48px; height: 48px; margin: 0 auto 12px; color: var(--red); background: #fff0ef; border-radius: 50%; font-size: 1.35rem; }
.feed-remove-dialog h3 { margin: 0; color: var(--blue-950); }
.feed-remove-dialog p { margin: 9px auto 20px; color: var(--muted); line-height: 1.5; }
.feed-remove-dialog footer { display: flex; justify-content: center; gap: 10px; }
.feed-action-modal > form, .feed-send-dialog { width: min(520px, 100%); max-height: min(680px, calc(100vh - 40px)); overflow: auto; padding: 20px; background: #fff; border-radius: 17px; box-shadow: 0 28px 80px rgba(0, 0, 0, .28); }
.feed-action-modal header, .feed-action-modal footer { display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.feed-action-modal header h3 { margin: 0; }
.feed-action-modal header > button { display: grid; place-items: center; width: 34px; height: 34px; padding: 0; background: #eef3f8; border: 0; border-radius: 50%; font-size: 1.2rem; }
.feed-action-modal form label, .feed-send-comment { display: grid; gap: 6px; margin-top: 16px; color: var(--blue-950); font-weight: 700; }
.feed-action-modal textarea, .feed-action-modal select, .feed-send-dialog > input { width: 100%; padding: 11px 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.feed-send-comment textarea { resize: vertical; }
.feed-send-comment + [data-feed-send-search] { margin-top: 14px; }
.feed-action-modal form > p { color: var(--muted); font-size: .78rem; }
.feed-action-modal footer { justify-content: flex-end; margin-top: 16px; }
.feed-send-contacts { display: grid; gap: 7px; margin-top: 12px; }
.feed-send-contact { display: flex; gap: 10px; align-items: center; width: 100%; padding: 9px; color: var(--blue-950); background: #fff; border: 1px solid var(--line-soft); border-radius: 11px; text-align: left; }
.feed-send-contact:hover { background: #f2f6fa; }
.feed-send-contact .feed-comment-avatar { width: 38px; height: 38px; }
.danger-button { padding: 10px 14px; color: #fff; background: var(--red); border: 0; border-radius: 9px; font-weight: 800; }
.feed-moderation { margin-bottom: 20px; padding: 17px; background: #fff8f7; border: 1px solid #ecc8c5; border-radius: 16px; }
.feed-moderation > header { display: flex; justify-content: space-between; align-items: center; }
.feed-moderation h3 { margin: 0; }
.feed-report-list { display: grid; gap: 9px; margin-top: 12px; }
.feed-report-list article { display: flex; justify-content: space-between; gap: 12px; padding: 12px; background: #fff; border: 1px solid var(--line-soft); border-radius: 11px; }
.feed-report-list article div { min-width: 0; }
.feed-report-list small, .feed-report-list span { display: block; color: var(--muted); font-size: .76rem; }
.feed-report-list p { margin: 5px 0; overflow-wrap: anywhere; }
.feed-report-list footer { display: flex; gap: 7px; align-items: center; flex: 0 0 auto; }
.feed-mention { display: inline; padding: 0; color: var(--blue-700); background: none; border: 0; font-weight: 800; }
.feed-mention:hover { text-decoration: underline; }
.feed-mention-suggestions { position: absolute; z-index: 20; top: calc(100% + 5px); left: 0; right: 0; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 16px 40px rgba(7, 29, 60, .17); }
.feed-mention-suggestions button { display: block; width: 100%; padding: 9px 12px; color: var(--blue-950); background: #fff; border: 0; text-align: left; font-weight: 700; }
.feed-mention-suggestions button:hover, .feed-mention-suggestions button:focus { background: #eef4fb; outline: none; }
.feed-reply-form[hidden], .feed-mention-suggestions[hidden] { display: none; }
.feed-error { text-align: center; }
@keyframes feed-reply-enter { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
@keyframes feed-reaction-enter { from { opacity: 0; transform: translateY(5px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes feed-linked-highlight { 0%, 35% { box-shadow: 0 0 0 4px rgba(196, 161, 90, .65), var(--shadow-soft); } 100% { box-shadow: var(--shadow-soft); } }
@media (max-width: 600px) { .feed-page { padding: 0 10px 32px; } .feed-poll-fields, .feed-composer-preview { margin-left: 0; } .feed-composer-preview { grid-template-columns: repeat(2, minmax(0, 1fr)); } .feed-media-item { min-height: 180px; } .feed-poll-inputs { grid-template-columns: 1fr; } .feed-tool-button span { display: none; } .feed-comment-form { grid-template-columns: 34px minmax(0, 1fr) 40px; padding-inline: 12px; } .feed-replies, .feed-reply-form { margin-left: 18px; } .feed-content-picker { right: 16px; bottom: 16px; } .feed-emoji-grid { grid-template-columns: repeat(7, 1fr); } }
