/* ============================================
   ACTIVITY FEED CSS
   ============================================
   Extracted from base.css PR 4/8 (2026-05-15).
   Contains: Feed page layout, header, filter chips, feed items.
   Consumed by: js/components/pages/ActivityFeed.js. */

/* ===================================================================
   Activity Feed Components
   =================================================================== */

/* ─── Feed Page Layout ──────────────────────────────────────── */

.feed-page {
  min-height: 100vh;
  background: var(--bg-page);
}

/* ─── Feed Header ───────────────────────────────────────────── */

.feed-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: var(--color-structure-primary, #317b9b);
  border-bottom: 3px solid var(--color-accent-aqua, #44a1bb);
  position: sticky;
  top: 0;
  z-index: 10;
}

.feed-header-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: var(--scrim-white-medium);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  min-height: 44px;
  min-width: 44px;
}

.feed-header-btn:active {
  background: rgba(255, 255, 255, 0.25);
}

.feed-header-title {
  font-family: var(--font-display, 'Bebas Neue', Impact, sans-serif);
  font-size: 1.6rem;
  letter-spacing: 3px;
  color: white;
  margin: 0;
}

/* ─── Feed Filter Chips ─────────────────────────────────────── */

.feed-filters {
  display: flex;
  gap: 8px;
  padding: 10px 12px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  background: var(--bg-page);
  position: sticky;
  top: 55px;
  z-index: 5;
}

.feed-chip {
  padding: 6px 14px;
  border-radius: 16px;
  font-family: var(--font-display, 'Bebas Neue', Impact, sans-serif);
  font-size: 0.75rem;
  letter-spacing: 1.5px;
  white-space: nowrap;
  border: 2px solid var(--color-structure-lighter, #b1d7e7);
  background: var(--bg-card);
  color: var(--color-structure-deep, #255c74);
  cursor: pointer;
  min-height: 36px;
  display: flex;
  align-items: center;
}

.feed-chip--active {
  background: var(--color-structure-primary, #317b9b);
  border-color: var(--color-structure-primary, #317b9b);
  color: white;
}

.feed-chip:active:not(.feed-chip--active) {
  background: var(--color-structure-bg, #ecf5f9);
}

/* ─── Feed Items ────────────────────────────────────────────── */

.feed-list {
  padding-bottom: 24px;
}

.feed-refresh-bar {
  padding: 8px 12px;
  text-align: center;
}

.feed-refresh-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  border: 1px solid var(--color-structure-lighter, #b1d7e7);
  border-radius: 16px;
  background: var(--bg-card);
  color: var(--color-structure-medium, #64aece);
  font-size: 12px;
  cursor: pointer;
  min-height: 32px;
}

.feed-refresh-btn:disabled {
  opacity: 0.5;
}

.feed-item {
  display: flex;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--color-structure-lightest, #d8ebf3);
  background: var(--bg-card);
  align-items: flex-start;
}

.feed-item--clickable {
  cursor: pointer;
}

.feed-item--clickable:active {
  background: var(--bg-page);
}

.feed-item--dimmed {
  opacity: 0.5;
}

.feed-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.feed-icon--trade { background: rgba(68, 161, 187, 0.15); }
.feed-icon--drop { background: rgba(207, 62, 48, 0.15); }
.feed-icon--add { background: rgba(46, 204, 113, 0.15); }
.feed-icon--waiver { background: rgba(240, 124, 15, 0.15); }
.feed-icon--score { background: rgba(68, 161, 187, 0.15); }
.feed-icon--announce { background: rgba(240, 124, 15, 0.15); }

.feed-content {
  flex: 1;
  min-width: 0;
}

.feed-text {
  font-size: 13px;
  line-height: 1.45;
  color: var(--color-structure-deepest, #183e4e);
  margin: 0;
  word-wrap: break-word;
}

.feed-text strong {
  font-weight: 700;
}

.feed-time {
  font-family: var(--font-mono, monospace);
  font-size: 10px;
  color: var(--color-structure-medium, #64aece);
  margin-top: 4px;
}

.feed-action-label {
  color: var(--color-action-primary, #f07c0f);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.feed-empty {
  padding: 48px 24px;
  text-align: center;
  color: var(--text-secondary);
  font-size: 14px;
}

.feed-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
  gap: 12px;
  color: var(--text-secondary);
}

.feed-loading-spinner {
  width: 32px;
  height: 32px;
  border: 3px solid var(--color-structure-lightest, #d8ebf3);
  border-top-color: var(--color-accent-aqua, #44a1bb);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

