/* ---------- Season table on a match ---------- */

/* The stripes and the shared highlight are the same cream on the stage, so
   the two sides of the match get a tint of the home colour instead. */
.pitch-site--app .match-season-table .table tbody tr.is-highlighted {
  background-color: color-mix(in srgb, var(--theme-home) 14%, transparent);
  font-weight: 600;
}

/* ---------- Competition cards ---------- */

.pitch-site--app .competition-card {
  position: relative;
}

.pitch-site--app .competition-card__link {
  padding-inline-end: var(--space-xl);
}

.pitch-site--app .competition-card__identity {
  flex: 1 1 0;
  min-width: 0;
}

.pitch-site--app .competition-card--locked .competition-card__link {
  opacity: 0.72;
}

.pitch-site--app .competition-card__lock {
  align-items: center;
  color: var(--color-ink-medium);
  display: inline-flex;
  height: 1.75rem;
  justify-content: center;
  width: 1.75rem;
}

.pitch-site--app .competition-card__lock svg {
  height: 0.875rem;
  width: 0.875rem;
}

.pitch-site--app .competition-card__favorite {
  inset-block-start: var(--space-xxs);
  inset-inline-end: var(--space-xxs);
  position: absolute;
}

/* Competition overview: the teams laid out on the turf. */

.pitch-site--app .competition-stage {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
  padding: 0 clamp(12px, 3vw, 40px);
  pointer-events: auto;
  width: 100%;
}

.pitch-site--app .competition-stage__lead {
  color: var(--ps-cream-soft);
  margin: 0;
  max-width: 62ch;
  text-align: center;
  text-shadow: 0 1px 8px rgba(6, 20, 11, 0.8);
}

.pitch-site--app .competition-stage__teams {
  display: grid;
  gap: 10px 14px;
  grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr));
  margin: 0;
  max-width: 76rem;
  padding: 0;
  width: 100%;
}

.pitch-site--app .competition-stage__team {
  align-items: center;
  backdrop-filter: blur(6px);
  background: var(--ps-chrome);
  border: 2px solid var(--ps-ink);
  border-radius: 12px;
  box-shadow: var(--ps-chrome-shadow);
  color: var(--ps-cream);
  display: flex;
  gap: 10px;
  min-width: 0;
  padding: 8px 12px;
  text-decoration: none;
}

.pitch-site--app .competition-stage__team:hover {
  border-color: var(--ps-yellow);
  color: var(--ps-yellow);
}

.pitch-site--app .competition-stage__name {
  font-size: 13.5px;
  font-weight: 600;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pitch-site--app .competition-stage__empty {
  color: var(--ps-cream-soft);
  margin: 0;
  text-shadow: 0 1px 8px rgba(6, 20, 11, 0.8);
}

@media (min-width: 75rem) {
  .pitch-site--app .competition-stage {
    padding-inline-start: clamp(200px, 17vw, 300px);
  }
}
