.match-facts-shell {
  gap: 1rem;
}

.match-facts-hero {
  align-items: center;
}

.match-facts-score {
  display: inline-grid;
  grid-auto-flow: column;
  gap: .55rem;
  align-items: center;
  justify-content: center;
  min-width: 8rem;
  padding: .8rem 1rem;
  border: 1px solid var(--wc-surface-strong);
  border-radius: var(--wc-radius-sm);
  background: var(--wc-surface);
  color: var(--wc-primary);
  font-size: 2rem;
  font-weight: 950;
  line-height: 1;
}

.match-facts-score b {
  color: var(--wc-muted);
}

.match-event-section {
  display: grid;
  gap: .65rem;
  margin-top: 1rem;
}

.match-event-section h3 {
  margin: 0;
  color: var(--wc-warning);
  font-size: .82rem;
  font-weight: 950;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.match-event-list,
.match-source-list {
  display: grid;
  gap: .55rem;
}

.match-event-row,
.match-source-list a {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: .7rem;
  align-items: center;
  min-width: 0;
  padding: .7rem;
  border: 1px solid var(--wc-surface-strong);
  border-radius: var(--wc-radius-sm);
  background: color-mix(in srgb, var(--wc-primary) 5%, var(--wc-bg));
  color: var(--wc-text);
  text-decoration: none;
}

.match-event-minute {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  min-height: 2.5rem;
  border-radius: 50%;
  background: var(--wc-surface-strong);
  color: var(--wc-primary);
  font-weight: 950;
}

.match-event-row div,
.match-source-list a {
  min-width: 0;
}

.match-event-row strong,
.match-source-list strong {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.match-event-row span,
.match-event-row small,
.match-source-list span {
  display: block;
  color: var(--wc-muted);
  font-size: .82rem;
  line-height: 1.4;
}

.match-event-row a {
  color: var(--wc-primary);
  font-weight: 900;
}

@media (max-width: 640px) {
  .match-facts-hero {
    align-items: stretch;
  }

  .match-facts-score {
    width: 100%;
  }

  .match-event-row,
  .match-source-list a {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .match-event-row a {
    grid-column: 2;
  }
}
