/* ---- Layout ---------------------------------------------------------- */
body { font-feature-settings: "tnum" 1, "lnum" 1; }

.muted { color: var(--bs-secondary, #6b7280); }

/* ---- Team header ----------------------------------------------------- */
.team-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1.5rem 0 0.5rem;
}
.team-name { margin: 0; font-size: 2rem; line-height: 1.1; }
.team-meta { color: #6b7280; font-size: 0.95rem; }

.crest-sm { height: 1.2em; width: auto; vertical-align: -0.2em; margin-right: 0.3em; }
.crest-md { height: 2.4rem; width: auto; }
.crest-lg { height: 4rem; width: auto; }

.tbd { color: #6b7280; font-style: italic; }

/* ---- Next match card ------------------------------------------------- */
.next-card {
  border: 1px solid #e5e7eb;
  border-left: 4px solid var(--bs-primary, #1a3b6c);
  border-radius: 6px;
  padding: 1rem 1.25rem;
  background: #ffffff;
  margin: 0.75rem 0 1.5rem;
}
.next-card.empty { border-left-color: #d1d5db; color: #6b7280; }
.next-date { font-size: 0.9rem; color: #6b7280; }
.next-matchup {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.4rem;
}
.opponent { display: flex; align-items: center; gap: 0.75rem; }
.vs-label { color: #6b7280; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.05em; }
.opponent-name { font-size: 1.4rem; font-weight: 600; }
.next-stage { font-size: 0.95rem; color: #374151; text-align: right; }
.next-venue { font-size: 0.9rem; color: #6b7280; margin-top: 0.4rem; }

/* ---- Schedule tables -------------------------------------------------- */
table.schedule, table.day-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0.75rem 0 1.5rem;
  font-size: 0.95rem;
}
table.schedule th, table.schedule td,
table.day-table td {
  padding: 0.55rem 0.75rem;
  border-bottom: 1px solid #f0f1f3;
  vertical-align: middle;
}
table.schedule th {
  text-align: left;
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #6b7280;
  border-bottom: 2px solid #e5e7eb;
}
table.schedule td.score { font-variant-numeric: tabular-nums; font-weight: 500; }
table.day-table td.time { color: #6b7280; width: 5em; }
table.day-table td.vs { color: #6b7280; padding: 0 0.25rem; text-align: center; }
table.day-table td.team.home { text-align: right; }
table.day-table td.team.away { text-align: left; }
table.day-table td.stage { color: #6b7280; font-size: 0.85rem; }
table.day-table td.score { font-variant-numeric: tabular-nums; }

/* ---- Status badges --------------------------------------------------- */
.badge {
  display: inline-block;
  padding: 0.1rem 0.45rem;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  vertical-align: 0.05em;
}
.badge.live      { background: #fee2e2; color: #b91c1c; }
.badge.postponed { background: #fef3c7; color: #92400e; }
.badge.cancelled { background: #f3f4f6; color: #4b5563; }
.badge.suspended { background: #fef3c7; color: #92400e; }

/* ---- Day grouping ---------------------------------------------------- */
.day-block { margin: 1.5rem 0; }
.day-heading {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0 0 0.25rem;
  padding-bottom: 0.25rem;
  border-bottom: 2px solid #e5e7eb;
}

.footer-note {
  margin-top: 3rem;
  padding-top: 1rem;
  border-top: 1px solid #e5e7eb;
  font-size: 0.85rem;
  color: #6b7280;
  text-align: center;
}

/* Tighten the tabset panel borders */
.panel-tabset { margin-top: 1rem; }
