/* Nations uses the Clubs type scale, including older shared view adapters. */
#game-frame #n-shell {
  font-family: var(--font-ui, Manrope, Arial, sans-serif);
  font-size: 14px;
  line-height: 1.5;
}

#game-frame #n-shell :is(button, input, select, textarea) {
  font-family: inherit;
}

/* Explicit colours also cover the legacy focused-button reset in the adapter. */
#game-frame #n-shell .nmg-page-heading > .game-button {
  background: var(--panel);
  color: var(--cream);
  border: 1px solid var(--edge);
  font-size: 13px;
}

#game-frame #n-shell :is(.pp-selection-eyebrow, .pp-career-heading > div > p,
  .pp-career-entry-copy > p, .pp-career-entry p, .pp-career-header p, .pp-career-eyebrow,
  .pp-recognition-eyebrow, .pp-campaign-eyebrow,
  .pp-career-kicker, .pp-selection-status, .pp-selection-coverage dt,
  .pp-selection-player-copy > span, .pp-campaign-outcome, .pp-campaign-metrics dt,
  .pp-campaign thead th, .n-domestic-numbers dt) {
  font-size: 11px;
  text-transform: none;
  letter-spacing: normal;
}

#game-frame #n-shell :is(.pp-selection, .pp-career, .pp-campaign, .pp-recognition) small {
  font-size: 12px;
}

#n-shell .pp-career-goal-icon {
  font-family: inherit;
}

#n-shell .nmg-mini-skills > span {
  font-size: 11px;
  gap: 4px;
}

#n-shell :is(.nmg-eyebrow, .nbp-eyebrow, .nw-eyebrow) {
  font-weight: 600;
  letter-spacing: normal;
}

#n-shell :is(.nmg-action-card small, .nmg-ground-preview p, .nmg-ground-preview span,
  .nmg-selection-hint, .nbp-focus-card > span) {
  font-size: 12px !important;
  line-height: 1.5;
}

#n-shell :is(.nmg-card > header, .nmg-series-summary > header, .nmg-pathway-flow > header) {
  flex-wrap: wrap;
}

#n-shell .nmg-series-summary .nmg-status {
  max-width: none;
}

#n-shell .nmg-series-summary > footer {
  flex-wrap: wrap;
}

#n-shell .nmg-series-summary > footer > span {
  text-align: left;
}

#n-shell :is(.nmg-role-legend small, .nmg-series-rounds small) {
  line-height: 1.3;
}

#n-shell :is(.nmg-mini-skills b, .nmg-series-score strong, .nmg-programme-gauge strong,
  .npi-record-section dd, .nmg-fixture-scores b) {
  font-variant-numeric: tabular-nums;
}

#game-frame #n-shell .profile-record-formats {
  grid-template-columns: repeat(auto-fit, minmax(124px, 1fr));
}

#game-frame #n-shell .profile-record-formats > button {
  white-space: normal;
  overflow-wrap: normal;
  word-break: normal;
}

#game-frame #n-shell .n-match-ball-readout {
  font-size: 12px;
}

#game-frame #n-shell .n-match-ball-readout :is(span, b) {
  font-size: inherit;
}
