.profile-feed-meta-edit {
  color: inherit;
  text-decoration: none;
  font-weight: 700;
  opacity: 0.9;
}
.profile-feed-meta-edit:hover {
  text-decoration: underline;
}
.profile-feed-event-title-link {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.profile-feed-event-title-link:hover {
  opacity: 0.92;
}
.profile-expand-wrap { padding: 0 10px 10px; }
.profile-expand-btn {
  width: 100%;
  border: 0;
  border-top: 1px solid rgba(15, 23, 42, 0.12);
  background: transparent;
  font-weight: 800;
  padding: 8px 6px 4px;
  cursor: pointer;
  color: inherit;
}
.profile-feed-preview.is-collapsed {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.profile-feed-title a[data-post-modal-open] {
  cursor: pointer;
}
.profile-feed-fs-modal {
  position: fixed;
  inset: 0;
  z-index: 12050;
  display: none;
  background: rgba(15, 23, 42, 0.72);
}
.profile-feed-fs-modal.open { display: block; }
.profile-feed-fs-dialog {
  width: min(100vw, 980px);
  height: 100vh;
  margin: 0 auto;
  background: #d9e6f2;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.profile-feed-fs-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.15);
  background: rgba(255, 255, 255, 0.65);
}
.profile-feed-fs-head strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}
.profile-feed-fs-close {
  border: 0;
  background: transparent;
  font-size: 22px;
  line-height: 1;
  font-weight: 900;
  cursor: pointer;
  color: #334155;
  flex-shrink: 0;
}
.profile-feed-fs-body {
  flex: 1 1 auto;
  overflow-y: auto;
  padding: 10px 10px 14px;
  display: grid;
  gap: 10px;
  background: #d9e6f2;
}
.profile-modal-post-card {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.14);
  border-radius: 12px;
  padding: 10px 12px;
}
.profile-modal-post-author-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.profile-modal-post-author-avatar {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  background: #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #475569;
  font-weight: 900;
  font-size: 16px;
  border: 1px solid rgba(15, 23, 42, 0.12);
}
.profile-modal-post-author-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.profile-modal-post-author-meta { min-width: 0; flex: 1 1 auto; }
.profile-modal-post-author-name {
  display: block;
  font-size: 14px;
  font-weight: 800;
  color: #0f172a;
  text-decoration: none;
  line-height: 1.25;
}
.profile-modal-post-author-name:hover { text-decoration: underline; }
.profile-modal-post-author-meta .profile-modal-post-meta {
  margin-bottom: 0;
  margin-top: 2px;
}
.profile-modal-post-title { margin: 0 0 6px; font-size: 18px; font-weight: 900; }
.profile-modal-post-meta { font-size: 12px; color: #64748b; margin-bottom: 8px; }
.profile-modal-comments-title { margin-top: 10px; font-size: 14px; font-weight: 900; color: #1e293b; }
.post-comments-list { display: grid; gap: 10px; margin: 10px 0 0; }
.post-comment-card {
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 10px;
  padding: 8px 10px;
  background: rgba(255, 255, 255, 0.85);
}
.post-comment-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 6px; }
.post-comment-action-btn {
  border: 1px solid var(--border, #e2e8f0);
  background: #fff;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}
.post-comment-replies { margin-top: 8px; display: grid; gap: 8px; padding-left: 8px; border-left: 2px solid #dbeafe; }
.post-comment-reply-form { margin-top: 8px; display: none; }
.post-comment-reply-form.open { display: block; }
.post-comment-editor {
  min-height: 54px;
  border: 1px solid rgba(15, 23, 42, 0.16);
  border-radius: 10px;
  background: #fff;
  padding: 8px;
  font-size: 14px;
  line-height: 1.35;
  outline: none;
}
.post-comment-editor:empty::before { content: attr(data-placeholder); color: #94a3b8; }
.post-comment-text { white-space: pre-wrap; }
.post-comment-form { margin-top: 10px; }
.post-comment-replies-toggle {
  border: 0;
  background: transparent;
  color: #1d4ed8;
  font-size: 12px;
  font-weight: 800;
  padding: 0;
  margin-top: 6px;
  cursor: pointer;
}
