/* Match and competition surfaces. Component geometry lives in its own stylesheet. */
.match-scoreboard {
  font-variant-numeric: tabular-nums;
  background: linear-gradient(110deg, #15293a, #202f4c);
  border-bottom: 3px solid #e8bd60;
}
.match-scoreboard .live-score {
  font-weight: 800;
  letter-spacing: -0.055em;
}
.match-scoreboard .score-overs strong {
  font-variant-numeric: tabular-nums;
}
.match-commentary {
  background: var(--ui-surface, #172847);
}
.over-deliveries {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px;
  min-width: 0;
}
.delivery-chip.extra-delivery {
  width: auto;
  min-width: 29px;
  padding-inline: 5px;
  flex-basis: auto;
  border-style: dashed;
}
.delivery-chip.no-ball {
  background: #ecbc79;
  color: #35241a;
  border-color: #ecbc79;
}
.delivery-chip.wide {
  background: #c4b0f3;
  color: #271e3d;
  border-color: #c4b0f3;
}
.phone-match .over-feed-row .over-deliveries {
  flex-wrap: wrap;
  row-gap: 4px;
}
#game-shell .phone-match .over-feed-row .extra-delivery {
  width: auto;
  flex-basis: auto;
  min-width: 27px;
  padding-inline: 4px;
  font-size: var(--type-caption);
}
#game-shell .phone-match .match-commentary {
  min-height: 65px;
  height: auto;
}
.match-arena .stadium-column {
  min-width: 0;
}
.match-arena .stadium-wrap {
  border: 1px solid #66816f;
}
.pitch-label {
  top: auto;
  bottom: 8px;
  right: 8px;
  left: auto;
  max-width: 58%;
  padding: 5px 8px;
  background: #152b29e8;
}
.pitch-label #match-conditions-summary {
  display: none;
}
.league-screen .scene-header {
  align-items: center;
  padding: 4px 0 18px;
  border-bottom: 1px solid #667381;
  margin-bottom: 18px;
}
.league-screen .scene-title {
  font-family: Manrope, Arial, sans-serif;
  font-size: var(--ui-heading, 20px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1;
}
.league-screen .scene-subtitle {
  max-width: 30em;
  font-size: var(--type-caption);
  margin-top: 7px;
  color: #b9c8d4;
}
.league-screen .league-progress {
  border: 1px solid #8495a4;
  border-top: 3px solid var(--gold);
  padding: 9px 12px;
  min-width: 78px;
  text-align: center;
  background: var(--ui-surface, #172847);
}
.league-screen .league-progress strong {
  font-size: var(--type-title);
  font-variant-numeric: tabular-nums;
}
.league-screen .league-progress span {
  font-size: var(--type-caption);
}
.league-screen .section-tabs {
  gap: 5px;
  padding: 0 0 16px;
  border: 0;
}
.league-screen .section-tabs .game-button {
  border: 1px solid #50647c;
  border-radius: 3px;
  background: var(--ui-surface, #172847);
  font-size: var(--type-caption);
  padding: 8px 13px;
}
.league-screen .section-tabs [aria-pressed='true'] {
  background: #f0d48f;
  color: #18243a;
  border-color: #f0d48f;
}
.league-fixtures {
  display: grid;
  gap: 14px;
  list-style: none;
  padding: 0;
}
.league-fixtures .league-fixture {
  display: block;
  padding: 0;
  border: 1px solid #4c6374;
  border-radius: 4px;
  background: var(--ui-surface, #172847);
  overflow: hidden;
}
.league-fixtures .league-fixture.own-fixture {
  border-color: #cfb66c;
}
.fixture-card-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  background: var(--ui-canvas, #101a38);
  border-bottom: 1px solid #40566b;
  font-size: var(--type-caption);
  text-transform: uppercase;
  letter-spacing: 0.075em;
}
.fixture-card-heading .fixture-state {
  color: #d8c58f;
}
.fixture-clubs {
  display: grid;
  gap: 13px;
  padding: 15px 13px;
}
.fixture-club-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
}
.fixture-club-row .team-name {
  font-family: Manrope, Arial, sans-serif;
  font-size: var(--type-section);
  font-weight: 700;
  gap: 9px;
  min-width: 0;
  line-height: 1.2;
}
.fixture-club-score {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  white-space: nowrap;
}
.fixture-club-score b {
  font-size: var(--type-title);
  font-weight: 800;
  letter-spacing: -0.035em;
}
.fixture-club-score small {
  color: #acbecb;
  font-size: var(--type-caption);
}
.fixture-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-top: 1px solid #3c5263;
  background: var(--ui-canvas, #101a38);
  font-size: var(--type-caption);
  color: #b7c9d5;
}
.fixture-card-footer strong {
  color: #e7d394;
  font-size: var(--type-caption);
}
.league-cap-lists .league-leader {
  background: var(--ui-surface, #172847);
  border-color: #4c6373;
}
.league-cap-lists h3 {
  font-family: Manrope, Arial, sans-serif;
  font-size: var(--ui-section-heading, 16px);
  font-weight: 700;
}
.hub-fixture {
  border-radius: 4px;
  border-color: #708269;
  background: var(--ui-surface, #172847);
}
.hub-fixture .hub-fixture-heading {
  padding-bottom: 10px;
  border-bottom: 1px solid #536c6e;
}
.hub-fixture .hub-fixture-heading h2 {
  font-family: Manrope, Arial, sans-serif;
  font-size: var(--ui-section-heading, 16px);
  font-weight: 700;
  letter-spacing: -0.025em;
}
.hub-fixture .hub-fixture-pair .hub-team-name {
  font-family: Manrope, Arial, sans-serif;
  font-size: var(--type-title);
}
@container game (min-width:850px) {
  .league-calendar .league-fixtures {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@container game (max-width:420px) {
  .league-screen .scene-title {
    font-size: var(--ui-heading, 20px);
  }
  .fixture-club-row .team-name {
    font-size: var(--type-body);
  }
  .fixture-club-score b {
    font-size: var(--type-name);
  }
  .fixture-card-footer {
    flex-wrap: wrap;
  }
  .league-screen .section-tabs .game-button {
    padding-inline: 10px;
  }
}
