.matches__header {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.matches__title {
  margin: 0;
  font-size: 24px;
  font-weight: 600;
}

.matches__empty {
  margin: 0;
  color: var(--color-muted);
}

.matches__day {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
}

.matches__day:last-child {
  margin-bottom: 0;
}

.matches__day-title {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-muted);
}

.matches__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.matches__item {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
}

.matches__link {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  padding: var(--space-md);
  color: var(--color-fg);
  text-decoration: none;
}

.matches__link:hover {
  background: var(--color-bg);
}

.matches__summary {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 12px;
  color: var(--color-muted);
}

.matches__duration {
  font-variant-numeric: tabular-nums;
}

.matches__team-stats {
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  color: var(--color-muted);
}

.matches__status {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--color-bg);
  color: var(--color-fg);
  border: 1px solid var(--color-border);
}

.matches__item--pending .matches__status {
  background: var(--color-flash-notice-bg);
  color: var(--color-flash-notice);
  border-color: transparent;
}

.matches__teams {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-sm);
}

.matches__team {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1 1 240px;
  min-width: 0;
}

.matches__team--red {
  text-align: right;
}

.matches__team-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--color-fg);
  word-break: break-word;
}

.matches__team-side {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-muted);
}

.matches__team-roster {
  font-size: 14px;
  word-break: break-word;
  color: var(--color-muted);
}

.matches__team--winner .matches__team-title {
  color: var(--color-accent);
}

.matches__vs {
  color: var(--color-muted);
  font-size: 13px;
}
