/* The feed: the list of games people made. */

.feed { display: flex; flex-direction: column; gap: var(--gap-sm); }

.feed .empty {
  margin: 0;
  padding: var(--gap-md);
  color: var(--color-text-muted);
  font-weight: 600;
}

/* One game in the list */
.card {
  display: flex;
  align-items: center;
  gap: var(--gap-md);
  width: 100%;
  padding: 10px;
  text-align: left;
  border-radius: var(--radius-md);
  background: var(--color-well);
  border: 1px solid transparent;
}
.card[aria-current="true"] {
  border-color: var(--color-accent);
  box-shadow: 0 0 14px color-mix(in srgb, var(--color-accent) 35%, transparent);
}

/* The picture (or a colored letter when a game has no picture yet) */
.card .icon {
  flex: none;
  width: 46px;
  height: 64px;
  border-radius: var(--radius-sm);
  display: grid;
  place-items: center;
  overflow: hidden;
  font: 700 19px var(--font-ui);
  color: var(--color-bg);
  background: var(--tone-1);
}
.card .icon img { width: 100%; height: 100%; object-fit: cover; }
.card .icon.tone-2 { background: var(--tone-2); }
.card .icon.tone-3 { background: var(--tone-3); }
.card .icon.tone-4 { background: var(--tone-4); }
.card .icon.tone-5 { background: var(--tone-5); }
.card .icon.tone-6 { background: var(--tone-6); }

.card .text { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.card .title { font: 700 15px/1.25 var(--font-ui); }
.card .byline-small,
.card .stats {
  font: 600 var(--text-xs)/1.3 var(--font-ui);
  color: var(--color-text-muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.card .stats { color: var(--color-gold); }

/* ---------- Tabs and category chips ---------- */
.feed-tabs { overflow-x: auto; scrollbar-width: none; }
.feed-tabs::-webkit-scrollbar { display: none; }
.feed-tabs button { flex: 1 0 auto; white-space: nowrap; padding-inline: 10px; }

.category-chips { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.category-chips::-webkit-scrollbar { display: none; }
.category-chip {
  flex: none;
  padding: 6px 11px;
  border-radius: var(--radius-pill);
  font: 600 var(--text-xs)/1.2 var(--font-ui);
  background: var(--color-well);
  border: 1px solid var(--color-line);
  color: var(--color-text-muted);
}
.category-chip[aria-pressed="true"] { color: var(--color-text); border-color: var(--color-accent-2); }

/* "Bado played this" on the Friends tab */
.card .friend-note { font: 700 var(--text-xs)/1.3 var(--font-ui); color: var(--color-accent-2); }
