/* home + friends + search module styles (shared styles live in ../style.css) */

/* welcome + status */
.home-hello { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.home-hello h1 { margin: 0 0 2px; overflow-wrap: anywhere; }
.home-hello p { margin: 0; }
.home-sprout { flex: none; }
.home-status, .friends-filter { display: flex; gap: 8px; margin: 0; flex-wrap: wrap; }
.home-status input, .friends-filter input[type=search] { flex: 1 1 180px; min-width: 0; width: auto; }

.home-stage-prompt { margin: 10px 0 0; }
.home-quick, .friends-stages { display: flex; flex-wrap: wrap; gap: 6px; }
.home-quick { margin-top: 10px; }
.home-quick a.chip, .friends-stages a.chip { padding: 5px 12px; color: var(--text); }
.home-quick a.chip:hover, .friends-stages a.chip:hover { text-decoration: none; background: var(--title-bg); }
.friends-stages a.chip.active { background: var(--primary); border-color: var(--primary); color: var(--primary-ink); }

/* notification cards */
.home-notes { display: grid; gap: 8px; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.home-note {
  display: flex; align-items: center; gap: 10px; padding: 10px 14px; color: var(--text);
  background: var(--pink-soft); border: 1px solid color-mix(in srgb, var(--pink) 35%, var(--line));
  border-radius: var(--radius); box-shadow: var(--shadow); font-size: .92rem;
}
.home-note:hover { text-decoration: none; filter: brightness(.98); }
.home-note-icon { font-size: 1.3rem; line-height: 1; }
.home-note-text { flex: 1; min-width: 0; }

/* compact rows: visitors, veganniversaries */
.home-mini { display: grid; gap: 8px; }
.home-mini-row { display: flex; align-items: center; gap: 8px; min-width: 0; }
.home-mini-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.home-mini-row .item-time { flex: none; }
.home-veg-years { overflow: hidden; text-overflow: ellipsis; }
.home-veg-today { flex: none; color: var(--pink); font-weight: 800; font-size: .85rem; }

/* friend feed: icon of the kind of update */
.home-act-icon { font-size: .95rem; }

/* people you may know */
.home-suggest { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
.home-suggest-card {
  display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; min-width: 0;
  padding: 12px 8px; background: var(--card-alt); border-radius: var(--radius-sm);
}
.home-suggest-name { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.home-suggest-card p { margin: 0 0 4px; }
.home-suggest-card .chip { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.home-suggest-card form { margin: auto 0 0; width: 100%; }
.home-suggest-card .btn { min-height: 32px; padding: 4px 8px; font-size: .8rem; }

/* friends lists + search */
.friends-actions form { margin: 0; }
.friends-actions .btn { min-height: 30px; padding: 3px 11px; font-size: .8rem; width: auto; }
.friends-search { max-width: 720px; margin: 0 auto; }

/* profile visitors: "new" marker and the tracking-off note */
.home-new { flex: none; }
.home-visitors-off { margin: 0; }
