/* Unified Activity Feed (MVP) */

:root {
  --nfb-af-border: #e5e7eb;
  --nfb-af-text: #0f172a;
  --nfb-af-muted: #64748b;
  --nfb-af-bg: #ffffff;
  --nfb-af-accent: #0f4c3a;
}

.nfb-af-item {
  margin-bottom: 14px;
}

.nfb-af-card {
  background: var(--nfb-af-bg);
  border: 1px solid var(--nfb-af-border);
  border-radius: 14px;
  padding: 16px;
}

.nfb-af-head {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 12px;
  align-items: center;
}

.nfb-af-avatar {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #334155;
  user-select: none;
}

.nfb-af-avatar--sm {
  width: 34px;
  height: 34px;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
}

.nfb-af-head__line {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 0.92rem;
  line-height: 1.25;
}

.nfb-af-author {
  font-weight: 750;
  color: var(--nfb-af-text);
  letter-spacing: -0.01em;
  font-size: inherit;
}

.nfb-af-ident {
  font-weight: 650;
  color: #6b7280;
  font-size: 0.9em;
}

.nfb-af-dot {
  color: #94a3b8;
}

.nfb-af-head__sub {
  margin-top: 2px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 0.82rem;
  color: #6b7280; /* slightly more neutral than muted */
}

.nfb-af-kicker {
  font-weight: 700;
  letter-spacing: -0.005em;
  font-size: 0.78rem;
  color: #6b7280;
}

.nfb-af-update {
  padding: 10px 2px 12px;
  border-bottom: 1px solid #eef2f7;
  border-radius: 0;
  background: transparent;
}

.nfb-af-item.nfb-af-update:last-child {
  border-bottom: none;
}

.nfb-af-update__head {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 10px;
  align-items: start;
}

.nfb-af-update__line1 {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 0.92rem;
  line-height: 1.25;
}

.nfb-af-update__line2 {
  margin-top: 2px;
  font-size: 0.82rem;
  color: #6b7280;
  display: flex;
  align-items: baseline;
  gap: 6px;
  flex-wrap: wrap;
}

.nfb-af-update__kind {
  font-weight: 650;
  color: #6b7280;
  letter-spacing: -0.01em;
}

.nfb-af-update__body {
  margin: 10px 0 0 44px; /* align with text column (avatar 34 + gap 10) */
}

.nfb-af-update__title {
  font-weight: 850;
  letter-spacing: -0.02em;
  color: var(--nfb-af-text);
  line-height: 1.25;
  font-size: 1.08rem;
}

.nfb-af-update__title a {
  color: inherit;
  text-decoration: none;
}

.nfb-af-update__title a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.nfb-af-update__text {
  margin-top: 6px;
  color: #334155;
  line-height: 1.55;
  white-space: pre-wrap;
  font-size: 0.95rem;
}

.nfb-af-actions--update {
  margin: 10px 0 0 44px;
  gap: 12px;
}

.nfb-af-actions--update .nfb-af-share-status {
  margin-left: auto;
  text-align: right;
}

.nfb-af-link {
  font-weight: 850;
  font-size: 0.92rem;
  color: var(--nfb-af-accent);
  text-decoration: none;
}

.nfb-af-link:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.nfb-af-action--ghost {
  border-color: transparent;
  background: transparent;
  color: #334155;
  padding-left: 0.35rem;
  padding-right: 0.35rem;
}

.nfb-af-action--ghost:hover {
  border-color: rgba(148, 163, 184, 0.55);
  background: #fff;
}

.nfb-af-body {
  margin-top: 12px;
}

.nfb-af-hero {
  margin: 0 0 10px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #eef2f7;
  background: #f8fafc;
}

.nfb-af-hero__img {
  width: 100%;
  height: auto;
  display: block;
}

.nfb-af-title {
  margin: 0;
  font-size: 1.12rem;
  font-weight: 850;
  letter-spacing: -0.02em;
  color: var(--nfb-af-text);
}

.nfb-af-title a {
  color: inherit;
  text-decoration: none;
}

.nfb-af-title a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.nfb-af-excerpt {
  margin: 8px 0 0;
  color: #334155;
  line-height: 1.55;
  font-size: 0.95rem;
}

.nfb-af-chips {
  margin-bottom: 10px;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.nfb-af-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.16rem 0.45rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 750;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  border: 1px solid #e5e7eb;
  background: #ffffff;
  color: #111827;
}

.nfb-af-chip--muted {
  text-transform: none;
  letter-spacing: 0;
  font-weight: 650;
  color: #6b7280;
  background: #f9fafb;
  border-color: #eef2f7;
}

.nfb-af-chip--intent {
  border-color: rgba(15, 76, 58, 0.22);
  background: rgba(15, 76, 58, 0.05);
  color: #0f4c3a;
}

.nfb-af-actions {
  margin-top: 12px;
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.nfb-af-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 0.7rem;
  border-radius: 10px;
  border: 1px solid #cbd5e1;
  text-decoration: none;
  font-weight: 800;
  font-size: 0.88rem;
  color: #0f172a;
  background: #fff;
  cursor: pointer;
}

.nfb-af-action--primary {
  border-color: rgba(15, 76, 58, 0.25);
  color: var(--nfb-af-accent);
  background: rgba(15, 76, 58, 0.04);
}

.nfb-af-action--secondary {
  border-color: rgba(148, 163, 184, 0.6);
  background: #fff;
  color: #334155;
}

.nfb-af-action:hover {
  border-color: #94a3b8;
}

.nfb-af-share-status {
  margin-left: auto;
  font-size: 0.8rem;
  font-weight: 650;
  color: #6b7280;
  min-height: 1em;
}

.nfb-af-empty {
  background: #fff;
  border: 1px solid var(--nfb-af-border);
  border-radius: 14px;
  padding: 16px;
}

.nfb-af-empty__title {
  margin: 0;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--nfb-af-text);
}

.nfb-af-empty__text {
  margin: 6px 0 0;
  color: var(--nfb-af-muted);
  line-height: 1.5;
}

.nfb-af-empty__actions {
  margin-top: 12px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.nfb-af-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 0.85rem;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 850;
  border: 1px solid #cbd5e1;
  background: #fff;
  color: #0f172a;
}

.nfb-af-btn--primary {
  border-color: rgba(15, 76, 58, 0.25);
  background: rgba(15, 76, 58, 0.06);
  color: var(--nfb-af-accent);
}

.nfb-af-btn--secondary:hover,
.nfb-af-btn--primary:hover {
  border-color: #94a3b8;
}

/* --- Profile Activity tab: status-only timeline (`status_updates.php`) --- */
.nfb-su-empty {
  margin-top: 0.5rem;
  padding: 0.75rem 0.85rem;
  border-radius: 12px;
  border: 1px dashed rgba(148, 163, 184, 0.55);
  background: rgba(248, 250, 252, 0.65);
}

.nfb-su-empty__title {
  margin: 0;
  font-weight: 750;
  color: #0f172a;
}

.nfb-su-empty__text {
  margin: 0.35rem 0 0;
  color: #475569;
  font-size: 0.9rem;
  line-height: 1.45;
}

.nfb-su-empty__actions {
  margin-top: 0.65rem;
}

.nfb-su-empty__link {
  font-size: 0.85rem;
  font-weight: 650;
  color: var(--nfb-af-accent, #0f4c3a);
  text-decoration: none;
}

.nfb-su-empty__link:hover {
  text-decoration: underline;
}

.nfb-su-list {
  list-style: none;
  margin: 0.75rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.nfb-su-item {
  padding: 0.75rem 0.85rem;
  border-radius: 12px;
  border: 1px solid rgba(226, 232, 240, 0.95);
  background: #fff;
}

.nfb-su-item__meta {
  font-size: 0.78rem;
  color: #64748b;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.2rem 0.15rem;
}

.nfb-su-item__who {
  font-weight: 700;
  color: #0f172a;
}

.nfb-su-item__dot {
  opacity: 0.55;
}

.nfb-su-item__ident {
  font-weight: 600;
  color: #334155;
}

.nfb-su-item__time {
  font-variant-numeric: tabular-nums;
}

.nfb-su-item__body {
  margin: 0.45rem 0 0;
  font-size: 0.95rem;
  line-height: 1.5;
  color: #0f172a;
  white-space: pre-wrap;
}

