/* Settled match earnings and progression. Club home lives in club-home.css. */
.match-rewards-screen {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 840px;
  height: 100%;
  min-height: 0;
  margin: 0 auto;
  padding: 24px 24px 0;
}
.match-rewards-screen > .match-rewards {
  flex: 1;
  min-height: 0;
  overflow: auto;
  scrollbar-gutter: stable;
}
.match-rewards-continue {
  position: sticky;
  bottom: 0;
  z-index: 2;
  flex: 0 0 auto;
  width: 100%;
  margin-top: auto;
  padding: 14px 0 max(14px, env(safe-area-inset-bottom, 0px));
  background: var(--night);
}
#game-frame .match-rewards-continue .game-button {
  width: 100%;
  min-height: 48px;
  background: var(--gold);
  border-color: var(--gold);
  color: var(--night);
  font-size: var(--type-section);
  box-shadow: 0 3px 0 var(--brand-shadow);
}
#game-frame .match-rewards-continue .game-button:hover {
  background: #ffe89a;
  border-color: #ffe89a;
}
.match-rewards {
  width: 100%;
  min-width: 0;
  text-align: left;
  margin: 0;
  padding: 20px;
  background: var(--navy);
  border: 1px solid var(--edge);
}
.match-rewards-heading {
  margin-bottom: 16px;
}
#game-frame .match-rewards h2 {
  font-size: var(--type-title);
  line-height: 1.3;
  letter-spacing: 0;
  color: var(--cream);
  margin: 0;
}
.match-rewards-heading p {
  margin-top: 5px !important;
  font-size: var(--type-body) !important;
  line-height: 1.4;
  color: var(--dim) !important;
  overflow-wrap: anywhere;
}
.reward-totals {
  display: flex;
  gap: 18px;
  margin: 0;
}
.reward-totals > div {
  flex: 1;
  min-width: 0;
}
.reward-totals > div + div {
  border-left: 1px solid var(--edge);
  padding-left: 18px;
}
.reward-totals dt {
  font-size: var(--type-body);
  color: var(--dim);
}
.reward-totals dd {
  margin: 0;
  font-weight: 800;
  font-size: var(--type-score);
  line-height: 1.3;
  letter-spacing: -0.6px;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}
.reward-credit-total dd {
  color: var(--gold);
}
.reward-xp-total dd {
  color: var(--mint);
}
.match-rewards .reward-costs {
  font-size: var(--type-caption) !important;
  line-height: 1.5;
  color: var(--dim) !important;
  margin: 7px 0 0 !important;
}
.reward-level-ups {
  margin-top: 18px;
  padding-top: 15px;
  border-top: 1px solid var(--edge);
}
.match-rewards h3 {
  font-size: var(--type-section);
  line-height: 1.4;
  color: var(--cream);
  margin: 0 0 10px;
}
.reward-level-ups ul {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
}
.reward-level-ups li {
  display: block;
  min-width: 0;
}
.reward-level-player {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 8px;
  min-height: 62px;
  min-width: 0;
  width: 100%;
  text-align: left;
  border: 1px solid var(--edge);
  background: transparent;
  color: var(--cream);
}
.reward-level-player:hover {
  background: var(--panel);
}
.reward-level-ups .pixel-portrait {
  flex: 0 0 auto;
  width: 40px;
  height: 48px;
  image-rendering: pixelated;
}
.reward-player-name {
  min-width: 0;
  flex: 1;
}
.reward-level-ups li strong {
  display: block;
  font-size: var(--type-body);
  line-height: 1.4;
  overflow-wrap: anywhere;
  color: var(--cream);
}
.reward-player-name > span {
  display: block;
  font-size: var(--type-caption);
  line-height: 1.5;
  color: var(--mint);
}
.reward-player-xp {
  font-size: var(--type-caption);
  color: var(--dim);
  flex: 0 0 auto;
}
.reward-level-summary {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 13px;
  min-width: 0;
}
.reward-level-faces {
  display: flex;
  align-items: center;
  gap: 3px;
  flex: 0 0 auto;
}
.reward-level-faces .pixel-portrait {
  width: 28px;
  height: 34px;
}
.match-rewards .reward-level-summary p {
  font-size: var(--type-body) !important;
  line-height: 1.4;
  color: var(--mint) !important;
  margin: 0 !important;
}
#game-frame .reward-view-match {
  width: 100%;
  min-height: 44px;
  margin-top: 14px;
  background: transparent;
  border-color: var(--edge);
  color: var(--cream);
}
.match-bonus {
  margin-top: 18px;
  padding-top: 15px;
  border-top: 1px solid var(--edge);
}
.match-bonus h3 {
  margin-bottom: 4px;
}
.match-rewards .reward-preview-note {
  font-size: var(--type-caption) !important;
  line-height: 1.5;
  color: var(--dim) !important;
  margin: 0 0 12px !important;
}
.match-bonus-choices {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
#game-frame .match-bonus-choice {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
  min-height: 64px;
  padding: 10px 12px;
  background: var(--panel);
  border: 1px solid var(--edge);
  text-align: left;
}
.match-bonus-choice > span {
  display: block;
  min-width: 0;
  flex: 1;
}
.match-bonus-choice strong {
  display: block;
  font-size: var(--type-body);
  line-height: 1.35;
  overflow-wrap: anywhere;
}
.match-bonus-choice small {
  display: block;
  font-size: var(--type-caption);
  font-weight: 500;
  line-height: 1.4;
  margin-top: 3px;
  color: var(--dim);
  overflow-wrap: anywhere;
}
.match-bonus-choice svg {
  flex: 0 0 auto;
  color: var(--gold);
  width: 14px;
  height: 14px;
}
#game-frame .match-bonus-choice:hover:not(:disabled) {
  background: var(--panel2);
  border-color: var(--gold);
}
.match-rewards .reward-bonus-applied {
  margin: 15px 0 0 !important;
  padding-top: 13px;
  border-top: 1px solid var(--edge);
  font-size: var(--type-body) !important;
  line-height: 1.5;
  color: var(--mint) !important;
}
.reward-bonus-applied strong {
  font-weight: 700;
}
.match-rewards-compact {
  background: transparent;
  border: 0;
  border-top: 1px solid var(--edge);
  padding: 20px 0 0;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

@container game (max-width:700px) {
  .match-rewards {
    padding: 16px;
  }
  .match-rewards-screen {
    padding: 16px 12px 0;
  }
  .match-rewards-compact {
    padding: 18px 0 0;
  }
  #game-frame .match-rewards h2 {
    font-size: var(--type-title);
  }
  .reward-totals dd {
    font-size: var(--type-display);
  }
  .reward-level-ups ul {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }
  .match-bonus-choices {
    grid-template-columns: minmax(0, 1fr);
    gap: 7px;
  }
  #game-frame .match-bonus-choice {
    min-height: 58px;
    padding: 9px 12px;
  }
  .match-bonus-choice > span {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
    align-items: center;
    gap: 10px;
  }
  .match-bonus-choice small {
    margin: 0;
  }
  .match-bonus-choice svg {
    width: 12px;
    height: 12px;
  }
}
@container game (max-width:360px) {
  #game-frame .career-hub-fixture {
    padding: 16px 12px;
  }
  .hub-fixture-heading > p {
    font-size: var(--type-caption);
  }
  .hub-fixture-team {
    padding-inline: 6px;
  }
  .hub-fixture-team h3 {
    font-size: var(--type-body);
  }
  .hub-fixture-crest svg {
    width: 58px;
    height: 67px;
  }
  .hub-fixture-crest {
    min-height: 67px;
  }
  .match-bonus-choice > span {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 8px;
  }
  .match-bonus-choice strong {
    font-size: var(--type-body);
  }
}
