/* FamilyTools Feed — discovery engine */
.ft-feed-section { margin: 2rem 0; }
.ft-feed-section-title {
  font-size: 1.1rem; font-weight: 800; color: #94a3b8;
  margin-bottom: 0.75rem; display: flex; align-items: center; gap: 0.5rem;
}
.ft-scroll-row {
  display: flex; gap: 0.75rem; overflow-x: auto;
  padding-bottom: 0.5rem; scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.ft-scroll-row::-webkit-scrollbar { height: 4px; }
.ft-scroll-row::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.15); border-radius: 4px; }

.ft-today-card {
  flex: 0 0 min(280px, 85vw); scroll-snap-align: start;
  padding: 1rem 1.15rem; border-radius: 1rem;
  background: linear-gradient(135deg, rgba(59,130,246,0.12), rgba(15,23,42,0.9));
  border: 1px solid rgba(59,130,246,0.25);
  text-decoration: none; color: inherit; display: block;
  transition: transform 0.15s;
}
.ft-today-card:hover { transform: translateY(-2px); }
.ft-today-card h4 { font-size: 0.95rem; font-weight: 800; margin: 0.35rem 0; color: #f1f5f9; }
.ft-today-stat { font-size: 1.25rem; font-weight: 900; color: #60a5fa; margin-top: 0.5rem; }

.ft-fact-chip {
  flex: 0 0 auto; scroll-snap-align: start;
  padding: 0.65rem 1rem; border-radius: 999px;
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
  font-size: 0.8rem; color: #cbd5e1; text-decoration: none; white-space: nowrap;
}
.ft-fact-chip:hover { border-color: rgba(124,58,237,0.4); color: #fff; }

.ft-city-rank {
  flex: 0 0 140px; scroll-snap-align: start;
  padding: 0.85rem; border-radius: 0.85rem;
  background: var(--surface); border: 1px solid var(--border);
  text-decoration: none; color: inherit; text-align: center;
}
.ft-city-rank strong { display: block; font-size: 0.9rem; color: #f1f5f9; }
.ft-city-rank span { font-size: 0.65rem; color: #64748b; }

.ft-personal-bar {
  display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1rem;
}
.ft-personal-pill {
  font-size: 0.7rem; padding: 0.35rem 0.65rem; border-radius: 999px;
  background: rgba(124,58,237,0.15); border: 1px solid rgba(124,58,237,0.35);
  color: #c4b5fd; cursor: pointer;
}
.ft-chaos-btn {
  width: 100%; padding: 1rem; border-radius: 1rem; font-weight: 800;
  background: linear-gradient(135deg, #dc2626, #7c3aed);
  border: none; color: #fff; cursor: pointer; font-size: 1rem;
  margin: 1rem 0;
}
.ft-chaos-btn:hover { filter: brightness(1.08); }

@media (prefers-reduced-motion: reduce) {
  .ft-today-card, .ft-feed-card { transition: none; }
}
