/* The following feed (Phase 3, step 3): /following. One card per open drop or new dish, newest
   first. Like the home page's dish cards: the whole card is one link to the stall's page. */

.feed { display: grid; gap: var(--space-3); margin: 0 0 var(--space-3); padding: 0; list-style: none; }
.feed:empty { display: none; }
.feed__note { margin: var(--space-3) 0; text-align: center; font-weight: 400; }
.feed__note a { display: inline-block; padding-block: 10px; margin-block: -10px; }
#form-status:empty { display: none; }

.feed-card {
  display: grid;
  overflow: hidden;
  color: var(--text);
  background: var(--surface);
  border: 1.5px solid var(--card-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  text-decoration: none;
}

.feed-card__who { display: flex; align-items: center; gap: var(--space-2); padding: var(--space-3); }
.feed-card__cook {
  flex: none;
  width: 40px;
  height: 40px;
  object-fit: cover;
  object-position: 50% 6%;
  background: var(--sky-100);
  border: 2px solid var(--outline);
  border-radius: 50%;
}
.feed-card__names { display: grid; flex: 1 1 auto; min-width: 0; }
.feed-card__stall { overflow-wrap: anywhere; }
.feed-card__area { display: flex; align-items: center; gap: .25rem; color: var(--text-muted); font-size: var(--fs-sm); font-weight: 700; }
.feed-card__area svg { width: 1.1em; height: 1.1em; flex: none; }
.feed-card__when { flex: none; align-self: flex-start; color: var(--text-muted); font-size: var(--fs-sm); font-weight: 700; }

.feed-card__photo {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: contain; /* the whole photo, never cut off */
  background: var(--surface-sunk);
}

.feed-card__body { display: grid; justify-items: start; gap: .2rem; padding: var(--space-3); }
.feed-card__label {
  padding: .1rem .6rem;
  border-radius: var(--radius-pill);
  font-size: var(--fs-sm);
  font-weight: 800;
  background: var(--info-bg);
}
.feed-card__label--drop { color: var(--ink-900); background: var(--accent-yellow); }
.feed-card__title { font: 600 var(--fs-lg) / 1.2 var(--font-display); overflow-wrap: anywhere; }
.feed-card__detail { color: var(--text-muted); font-weight: 700; }
