/*! Copyright (c) 2025-2026 Markus Schüssler. All rights reserved.
 * SPDX-License-Identifier: LicenseRef-Markus-Schuessler-Proprietary; see repository LICENSE.
 */
.activity-feed { width: min(1040px, calc(100% - 2rem)); margin: 2rem auto 4rem; color: var(--text-color, #11243b); }
.activity-feed__hero { display: flex; align-items: flex-start; justify-content: space-between; gap: 2rem; margin-bottom: 1.4rem; }
.activity-feed__hero h1 { margin: .15rem 0 .45rem; font-size: clamp(2rem, 4vw, 2.8rem); }
.activity-feed__hero > div > p:not(.activity-feed__eyebrow) { max-width: 680px; margin: 0; color: #637086; line-height: 1.55; }
.activity-feed__eyebrow { margin: 0; color: #2563eb; font-size: .78rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.activity-feed__seen-note { flex: 0 0 260px; display: flex; align-items: center; gap: .7rem; padding: .8rem .9rem; border: 1px solid #bfdbfe; border-radius: 12px; background: #eff6ff; color: #1e40af; font-size: .84rem; line-height: 1.4; }
.activity-feed__seen-note i { color: #2563eb; }
.activity-feed__tabs { display: flex; gap: .35rem; overflow-x: auto; margin-bottom: 1.5rem; border-bottom: 1px solid #dce3ed; }
.activity-feed__tabs a { flex: 0 0 auto; padding: .75rem 1rem; border-bottom: 3px solid transparent; color: #58677c; font-weight: 750; text-decoration: none; }
.activity-feed__tabs a:hover,
.activity-feed__tabs a:focus-visible { color: #1d4ed8; outline: none; }
.activity-feed__tabs a.is-active { border-bottom-color: #2563eb; color: #1d4ed8; }
.activity-feed__timeline { display: grid; gap: 1.5rem; }
.activity-feed__day { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 1rem; }
.activity-feed__day h2 { margin: .85rem 0 0; color: #64748b; font-size: .86rem; font-weight: 850; letter-spacing: .06em; text-transform: uppercase; }
.activity-feed__day-items { position: relative; display: grid; gap: .72rem; }
.activity-feed__day-items::before { content: ''; position: absolute; top: 1rem; bottom: 1rem; left: 23px; width: 2px; background: #dbe7f5; }
.activity-feed__event { position: relative; display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: .9rem; padding: 1rem; border: 1px solid #dce3ed; border-radius: 14px; background: #fff; box-shadow: 0 8px 24px rgba(15, 23, 42, .055); }
.activity-feed__event.is-new { border-color: #93c5fd; box-shadow: 0 10px 28px rgba(37, 99, 235, .11); }
.activity-feed__icon { z-index: 1; display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 14px; background: #e8f1ff; color: #1d4ed8; }
.activity-feed__event--reaction .activity-feed__icon { background: #fff1f2; color: #e11d48; }
.activity-feed__event--comment .activity-feed__icon { background: #ecfeff; color: #0891b2; }
.activity-feed__event--new-follower .activity-feed__icon { background: #ecfdf5; color: #059669; }
.activity-feed__event--rule-match .activity-feed__icon { background: #fff7ed; color: #ea580c; }
.activity-feed__content { min-width: 0; }
.activity-feed__event-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: .8rem; }
.activity-feed__event-heading p { margin: .15rem 0 .6rem; color: #24364c; font-weight: 720; line-height: 1.5; }
.activity-feed__event-heading span { flex: 0 0 auto; padding: .2rem .48rem; border-radius: 999px; background: #2563eb; color: #fff; font-size: .68rem; font-weight: 850; letter-spacing: .05em; text-transform: uppercase; }
.activity-feed__event blockquote { margin: .15rem 0 .75rem; padding: .62rem .75rem; border-left: 3px solid #93c5fd; border-radius: 0 8px 8px 0; background: #f8fafc; color: #526176; font-size: .9rem; line-height: 1.5; overflow-wrap: anywhere; }
.activity-feed__meta { display: flex; align-items: center; justify-content: space-between; gap: .8rem; color: #718096; font-size: .82rem; }
.activity-feed__meta a { display: inline-flex; align-items: center; gap: .4rem; color: #1d4ed8; font-weight: 750; text-decoration: none; }
.activity-feed__meta a:hover { text-decoration: underline; }
.activity-feed__empty { display: flex; align-items: center; justify-content: center; gap: .7rem; min-height: 150px; padding: 1.2rem; border: 1px solid #dce3ed; border-radius: 14px; background: #fff; color: #64748b; }
.activity-feed__pagination { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-top: 1.4rem; }
.activity-feed__pagination a { display: inline-flex; align-items: center; gap: .4rem; padding: .55rem .8rem; border: 1px solid #cbd5e1; border-radius: 9px; color: #1d4ed8; font-weight: 700; text-decoration: none; }
.activity-feed__pagination span { color: #64748b; font-size: .86rem; }
body.dark-mode .activity-feed__hero > div > p:not(.activity-feed__eyebrow),
body.dark-mode .activity-feed__day h2,
body.dark-mode .activity-feed__meta,
body.dark-mode .activity-feed__pagination span { color: #9fb0c6; }
body.dark-mode .activity-feed__seen-note { border-color: #1e4b7a; background: #122844; color: #bfdbfe; }
body.dark-mode .activity-feed__tabs { border-color: #334155; }
body.dark-mode .activity-feed__tabs a { color: #aebdd0; }
body.dark-mode .activity-feed__tabs a.is-active { color: #93c5fd; }
body.dark-mode .activity-feed__day-items::before { background: #304158; }
body.dark-mode .activity-feed__event,
body.dark-mode .activity-feed__empty { border-color: #334155; background: #111c2d; }
body.dark-mode .activity-feed__event.is-new { border-color: #3b82f6; }
body.dark-mode .activity-feed__event-heading p { color: #e5edf8; }
body.dark-mode .activity-feed__event blockquote { border-color: #3b82f6; background: #0b1422; color: #b8c6d8; }
@media (max-width: 760px) {
  .activity-feed__hero { flex-direction: column; gap: 1rem; }
  .activity-feed__seen-note { flex-basis: auto; box-sizing: border-box; width: 100%; }
  .activity-feed__day { grid-template-columns: 1fr; gap: .55rem; }
  .activity-feed__day h2 { margin: 0; }
  .activity-feed__event { grid-template-columns: 40px minmax(0, 1fr); padding: .85rem; }
  .activity-feed__icon { width: 40px; height: 40px; border-radius: 12px; }
  .activity-feed__day-items::before { left: 20px; }
  .activity-feed__meta { align-items: flex-start; flex-direction: column; }
}
