.wrap { max-width: 1180px; margin: 0 auto; padding: 0 16px; }

.top {
  background: var(--white);
  border-bottom: 4px solid var(--red);
  position: sticky; top: 0; z-index: 5;
}
.top-inner { display: flex; align-items: center; gap: 14px; padding-top: 14px; padding-bottom: 14px; }
.mark { height: 48px; width: auto; flex: none; }
.titles { flex: 1; min-width: 0; }
.titles .eyebrow { color: var(--red); }
h1 {
  margin: 2px 0 0;
  font-weight: 800;
  font-size: clamp(1.25rem, 3.6vw, 2rem);
  letter-spacing: -.01em;
  line-height: 1.15;
}
.live {
  display: flex; align-items: center; gap: 6px;
  font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--gray-2);
  flex: none;
}
.live .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--gray); }
.live.on .dot { background: var(--red); box-shadow: 0 0 0 0 rgba(209, 34, 41, .5); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(209, 34, 41, 0); } 100% { box-shadow: 0 0 0 0 rgba(209, 34, 41, 0); } }
@media (prefers-reduced-motion: reduce) { .live.on .dot { animation: none; } }

.announce {
  margin: 20px 0 0;
  background: var(--red);
  color: var(--white);
  border-radius: var(--radius);
  padding: 14px 18px;
  font-weight: 600;
}

.meals {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  margin: 20px 0 10px;
}
.loading, .empty-all { grid-column: 1 / -1; color: var(--gray-2); text-align: center; padding: 48px 0; }
.empty-all h2 { font-family: var(--serif); font-weight: 400; font-size: 1.6rem; color: var(--ink); margin: 0 0 6px; }

.meal {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex; flex-direction: column;
  border-top: 6px solid var(--line);
  transition: border-color .3s;
}
.meal.now { border-top-color: var(--red); }
.meal.next { border-top-color: var(--gray); }
.meal.past { opacity: .62; }
.meal-head { padding: 16px 20px 10px; display: flex; align-items: baseline; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.meal-head h2 { margin: 0; font-size: 1.35rem; font-weight: 800; }
.meal-time { color: var(--gray-2); font-weight: 600; font-size: .9rem; }
.status {
  font-size: .68rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  padding: .3em .7em; border-radius: 999px; background: var(--paper); color: var(--gray-2);
}
.meal.now .status { background: var(--red); color: var(--white); }
.meal-note { margin: 0 20px 8px; padding: 8px 12px; background: var(--red-tint); border-radius: 8px; font-size: .9rem; color: var(--red-dark); font-weight: 600; }
.items { list-style: none; margin: 0; padding: 4px 20px 18px; }
.items li { padding: 10px 0; border-top: 1px solid var(--line); }
.items li:first-child { border-top: 0; }
.station { display: block; font-size: .66rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--red); margin-bottom: 1px; }
.item-name { font-weight: 700; font-size: 1.04rem; }
.item-name .tag { margin-left: 4px; }
.item-desc { color: var(--gray-2); font-size: .9rem; margin-top: 2px; }
.meal-empty { padding: 4px 20px 22px; color: var(--gray); font-style: italic; font-family: var(--serif); }
.meal.closed .meal-empty { color: var(--gray-2); }

.flash { animation: flash 1.6s ease-out; }
@keyframes flash { 0% { background: var(--red-tint); } 100% { background: transparent; } }

.legend { color: var(--gray-2); font-size: .8rem; text-align: center; margin: 6px 0 0; }
.legend .tag { margin: 0 2px 0 8px; }
.foot { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 22px; padding-bottom: 28px; color: var(--gray); font-size: .78rem; }
.motto { font-weight: 800; letter-spacing: .14em; color: var(--gray-2); }

/* Big screens (a TV in the café): a bit larger and all three meals side by side. */
@media (min-width: 1600px) {
  .wrap { max-width: 1680px; }
  body { font-size: 19px; }
  .mark { height: 64px; }
}
