/* Nations dossier: identity stays fixed while the selected page scrolls. */
#n-dialog .n-clubs-player-report .npi-recent-switch {
  display: flex;
  gap: 6px;
  margin: -2px 0 12px;
}
#n-dialog .n-clubs-player-report .npi-recent-switch > .game-button {
  flex: 1;
  min-height: 40px;
  padding: 6px 8px;
  border: 1px solid #3d566a;
  background: #102237;
  color: #a8bed0;
  font:
    700 11px/1.3 Manrope,
    Arial,
    sans-serif;
}
#n-dialog .n-clubs-player-report .npi-recent-switch > [aria-pressed='true'] {
  color: #f1d699;
  background: #2a3e4c;
  border-color: #93815a;
}
#game-frame #n-dialog .n-clubs-player-report .npi-recent li {
  display: block;
}
#n-dialog .n-clubs-player-report .npi-innings-link {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 62px;
  align-items: center;
  gap: 7px 12px;
  padding: 7px 5px;
  margin: 0;
  border: 0;
  background: transparent;
  color: #e2c988;
  text-align: left;
  cursor: pointer;
  font: inherit;
}
#n-dialog .n-clubs-player-report .npi-innings-link:hover {
  background: #20374d;
}
#n-dialog .n-clubs-player-report .npi-innings-link:focus-visible {
  outline: 2px solid #f1d699;
  outline-offset: 2px;
}
#n-dialog .n-clubs-player-report .npi-innings-link > svg {
  width: 100%;
  height: 5px;
  grid-column: 1;
  grid-row: 2;
}
#n-dialog .n-clubs-player-report .npi-scorecard-link-label {
  display: flex;
  justify-content: flex-end;
  gap: 6px;
  grid-column: 1/-1;
  font-size: 11px;
  line-height: 1.4;
  color: #8ed6cb;
}
#game-frame #n-dialog:has(.n-clubs-player-report) {
  width: min(840px, calc(100cqw - 20px));
  max-width: calc(100cqw - 20px);
  height: min(790px, calc(100cqh - 20px));
  max-height: calc(100cqh - 20px);
  grid-template-rows: auto auto minmax(0, 1fr);
  border-color: #62758b;
  font-family: Manrope, Arial, sans-serif;
}
#game-frame #n-dialog .n-clubs-player-report {
  display: contents;
}
#n-dialog .n-clubs-player-report .player-dossier-header {
  min-height: 0;
  padding: 10px 18px 14px;
  background: linear-gradient(115deg, #213d53, #13283d 72%);
  border-bottom: 2px solid var(--profile-kit-accent, #e7c97e);
}
#n-dialog .n-clubs-player-report .npi-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 38px;
  margin-bottom: 8px;
}
#n-dialog .n-clubs-player-report .profile-close {
  position: static;
  width: 38px;
  min-width: 38px;
  height: 38px;
  min-height: 38px;
  border-color: #7892a755;
  background: #13263a;
  font-size: 25px;
}
#n-dialog .n-clubs-player-report .profile-eyebrow {
  margin: 0;
  gap: 8px;
  font-size: 11px;
}
#n-dialog .n-clubs-player-report .profile-eyebrow .country-flag {
  width: 24px;
  height: 16px;
  flex: none;
}
#n-dialog .n-clubs-player-report .profile-eyebrow .country-flag :is(svg, img) {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
#n-dialog .n-clubs-player-report .profile-eyebrow b {
  font-weight: 500;
  color: #8ea7bf;
  margin-left: 10px;
  letter-spacing: normal;
}
#n-dialog .n-clubs-player-report .profile-hero {
  grid-template-columns: 76px minmax(0, 1fr) 60px;
  gap: 16px;
}
#n-dialog .n-clubs-player-report .profile-portrait {
  width: 76px;
  background: linear-gradient(135deg, #365b70, #1b334b);
  border: 1px solid #7795a366;
  border-bottom: 3px solid var(--profile-kit-accent, #e7c97e);
}
#n-dialog .n-clubs-player-report .profile-identity h2 {
  font-size: 26px;
  line-height: 1.14;
  letter-spacing: -0.7px;
  text-wrap: pretty;
}
#n-dialog .n-clubs-player-report .profile-role {
  color: #e4ca8d;
  margin-top: 7px;
  font-size: 13px;
  font-weight: 700;
}
#n-dialog .n-clubs-player-report .npi-age {
  color: #adbed0;
  margin: 5px 0 0;
  font-size: 12px;
}
#n-dialog .n-clubs-player-report .profile-overall {
  width: 60px;
  min-height: 72px;
  align-content: center;
  color: #f0d795;
  background: #0e2036;
  border: 1px solid #b39c5a80;
  gap: 6px;
}
#n-dialog .n-clubs-player-report .profile-overall > span {
  font-size: 11px;
  letter-spacing: normal;
}
#n-dialog .n-clubs-player-report .profile-overall > strong {
  font-size: 32px;
}
#n-dialog .n-clubs-player-report .profile-facts {
  flex-wrap: wrap;
  gap: 4px 14px;
  margin: 12px 0 0;
  font-size: 12px;
  color: #bed0df;
}
#n-dialog .n-clubs-player-report .profile-record-formats {
  margin: 0;
  padding: 7px 16px;
  gap: 4px;
  background: #0d1c30;
  border-bottom: 1px solid #334861;
}
#n-dialog .n-clubs-player-report .profile-record-formats > button {
  min-height: 36px;
  font-size: 12px;
  border: 1px solid transparent;
  color: #a9bfd2;
  background: transparent;
}
#n-dialog .n-clubs-player-report .profile-record-formats > button[aria-pressed='true'] {
  color: #f2d994;
  background: #293b4e;
  border-color: #7b6d49;
}
#n-dialog .n-clubs-player-report .player-dossier {
  min-height: 0;
}
#n-dialog .n-clubs-player-report .profile-page-tabs {
  height: 100%;
}
#n-dialog .n-clubs-player-report .page-tab-label {
  min-height: 43px;
  background: #13263d;
  color: #aec1d7;
  border: 0;
  border-bottom: 2px solid #334861;
  font-size: 12px;
}
#n-dialog .n-clubs-player-report .page-tab-input:checked + .page-tab-label {
  color: #f6da94;
  background: #1e334a;
  border-color: #f0d28a;
}
#n-dialog .n-clubs-player-report .profile-page-tabs > .page-tabs-panels > .page-panel {
  padding: 16px;
}
#n-dialog .n-clubs-player-report .profile-overview-grid {
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
#n-dialog .n-clubs-player-report .profile-overview-grid > .profile-skills {
  grid-row: auto;
}
#n-dialog .n-clubs-player-report .profile-panel {
  padding: 14px;
  border: 1px solid #30465e;
  background: #14273e;
}
#n-dialog .n-clubs-player-report .profile-panel > header {
  margin-bottom: 12px;
  gap: 10px;
  flex-wrap: wrap;
}
#n-dialog .n-clubs-player-report .profile-panel h3 {
  font-size: 15px;
  font-weight: 800;
}
#n-dialog .n-clubs-player-report .profile-panel > header > span {
  font-size: 11px;
}
#n-dialog .n-clubs-player-report .npi-snapshot {
  grid-column: 1/-1;
  background: #1c3347;
  border-color: #4b6173;
}
#n-dialog .n-clubs-player-report .npi-key-records {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
}
#n-dialog .n-clubs-player-report .npi-key-records > div {
  min-width: 0;
  border-left: 1px solid #4e627366;
  padding-left: 12px;
}
#n-dialog .n-clubs-player-report .npi-key-records > div:first-child {
  border: 0;
  padding-left: 0;
}
#n-dialog .n-clubs-player-report .npi-key-records:has(> div:nth-child(6)) {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
#n-dialog .n-clubs-player-report .npi-key-records:has(> div:nth-child(6)) > div:nth-child(3n + 1) {
  border-left: 0;
  padding-left: 0;
}
#n-dialog .n-clubs-player-report .npi-key-records dt {
  color: #a8bdce;
  font-size: 11px;
}
#n-dialog .n-clubs-player-report .npi-key-records dd {
  margin: 3px 0 0;
  color: #f7e2b0;
  font-size: 27px;
  line-height: 1.2;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.5px;
}
#n-dialog .n-clubs-player-report .npi-note {
  margin: 10px 0 0;
  color: #a5bdcb;
  font-size: 11px;
}
#n-dialog .n-clubs-player-report .profile-readiness {
  grid-row: span 2;
}
#n-dialog .n-clubs-player-report .profile-readiness > header {
  display: flex;
  gap: 9px;
}
#n-dialog .n-clubs-player-report .profile-status {
  justify-self: start;
  padding: 5px 8px;
  color: #a9e0c3;
  background: #193e3c;
  border: 1px solid #538476;
  font-size: 11px;
  line-height: 1.4;
  white-space: normal;
}
#n-dialog .n-clubs-player-report .profile-status.is-out {
  color: #f0c4a3;
  border-color: #9e6e55;
  background: #493431;
}
#n-dialog .n-clubs-player-report .profile-meter {
  grid-template-columns: 1fr auto;
  gap: 4px 10px;
}
#n-dialog .n-clubs-player-report .profile-meter-track {
  grid-column: 1/-1;
  height: 7px;
}
#n-dialog .n-clubs-player-report .profile-meter > span:first-child {
  font-size: 12px;
}
#n-dialog .n-clubs-player-report .profile-meter > strong {
  font-size: 15px;
}
#n-dialog .n-clubs-player-report .profile-meter-grid {
  gap: 14px;
}
#n-dialog .n-clubs-player-report .profile-readiness .profile-record-scope {
  font-size: 11px;
  line-height: 1.5;
}
#n-dialog .n-clubs-player-report .profile-scout-action > button {
  width: 100%;
  min-height: 42px;
  margin-top: 2px;
  font-size: 12px;
  color: #e4d1a0;
  border: 1px solid #7b7154;
  background: #2b3a45;
}
#n-dialog .n-clubs-player-report .profile-health-facts {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 11px;
}
#n-dialog .n-clubs-player-report .npi-condition-details {
  border-top: 1px solid #344b62;
  padding-top: 9px;
  margin-top: 10px;
  font-size: 11px;
  color: #a6bed0;
}
#n-dialog .n-clubs-player-report .npi-condition-details summary {
  cursor: pointer;
  min-height: 24px;
}
#n-dialog .n-clubs-player-report .npi-recent {
  grid-row: span 2;
}
#n-dialog .n-clubs-player-report .npi-recent ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
#n-dialog .n-clubs-player-report .npi-recent li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 62px;
  align-items: center;
  gap: 7px 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid #34495f;
  color: #e2c988;
}
#n-dialog .n-clubs-player-report .npi-recent li:last-child {
  padding-bottom: 0;
  border: 0;
}
#n-dialog .n-clubs-player-report .npi-innings-context {
  display: grid;
  gap: 4px;
}
#n-dialog .n-clubs-player-report .npi-innings-context > span {
  color: #d3dfeb;
  font-size: 11px;
}
#n-dialog .n-clubs-player-report .npi-innings-context small,
#n-dialog .n-clubs-player-report .npi-innings-figure small {
  color: #91abc1;
  font-size: 11px;
}
#n-dialog .n-clubs-player-report .npi-recent li > svg {
  grid-column: 1;
  grid-row: 2;
  width: 100%;
  height: 5px;
}
#n-dialog .n-clubs-player-report .npi-innings-figure {
  grid-column: 2;
  grid-row: 1/3;
  display: grid;
  gap: 3px;
  justify-items: end;
}
#n-dialog .n-clubs-player-report .npi-innings-figure strong {
  color: #f0d899;
  font-size: 23px;
  font-weight: 800;
}
#n-dialog .n-clubs-player-report .npi-empty-record {
  display: flex;
  align-items: center;
  gap: 16px;
  color: #718ea9;
  min-height: 68px;
}
#n-dialog .n-clubs-player-report .npi-empty-record > span {
  font-size: 32px;
}
#n-dialog .n-clubs-player-report .npi-empty-record p {
  margin: 0;
  font-size: 12px;
  color: #a5b9cd;
}
#n-dialog .n-clubs-player-report .profile-form {
  align-self: start;
}
#n-dialog .n-clubs-player-report .profile-stat-page {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
#n-dialog .n-clubs-player-report .profile-statistics {
  border: 1px solid #30465e;
  background: #14273e;
  padding: 14px;
}
#n-dialog .n-clubs-player-report .profile-section-heading > span {
  font-size: 11px;
  color: #a9bfd2;
}
#n-dialog .n-clubs-player-report .npi-record-section h4 {
  font-size: 11px;
  text-transform: none;
  letter-spacing: normal;
  color: #b1c4d4;
  margin: 16px 0 8px;
}
#n-dialog .n-clubs-player-report .profile-number-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: #32465a;
  margin: 0;
}
#n-dialog .n-clubs-player-report .profile-number-grid > div {
  min-height: 66px;
  padding: 10px;
  background: #192d43;
  border: 0;
}
#n-dialog .n-clubs-player-report .profile-number-grid dt {
  font-size: 11px;
}
#n-dialog .n-clubs-player-report .profile-number-grid dd {
  font-size: 24px;
  margin-top: 5px;
}
#n-dialog .n-clubs-player-report .npi-development-grid {
  display: grid;
  gap: 14px;
}
#n-dialog .n-clubs-player-report :is(.npi-format-comparison, .npi-background) table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}
#n-dialog .n-clubs-player-report :is(.npi-format-comparison, .npi-background) :is(td, th) {
  text-align: right;
  padding: 10px 6px;
  border-bottom: 1px solid #334a60;
  white-space: nowrap;
}
#n-dialog .n-clubs-player-report :is(.npi-format-comparison, .npi-background) tr > :first-child {
  text-align: left;
  padding-left: 0;
}
#n-dialog .n-clubs-player-report :is(.npi-format-comparison, .npi-background) thead {
  color: #94afc6;
  font-size: 11px;
}
#n-dialog .n-clubs-player-report :is(.npi-format-comparison, .npi-background) tbody th {
  color: #e2c888;
}
@container game (max-width: 700px) {
  #n-dialog .n-clubs-player-report .player-dossier-header {
    padding: 6px 13px 12px;
  }
  #n-dialog .n-clubs-player-report .npi-heading {
    margin-bottom: 4px;
  }
  #n-dialog .n-clubs-player-report .profile-hero {
    grid-template-columns: 62px minmax(0, 1fr) 48px;
    gap: 11px;
  }
  #n-dialog .n-clubs-player-report .profile-portrait {
    width: 62px;
  }
  #n-dialog .n-clubs-player-report .profile-overall {
    width: 48px;
    min-height: 65px;
  }
  #n-dialog .n-clubs-player-report .profile-overall > strong {
    font-size: 28px;
  }
  #n-dialog .n-clubs-player-report .profile-identity h2 {
    font-size: 21px;
  }
  #n-dialog .n-clubs-player-report .profile-role {
    font-size: 11px;
  }
  #n-dialog .n-clubs-player-report .profile-facts {
    gap: 4px;
    display: grid;
    margin-top: 9px;
    font-size: 11px;
  }
  #n-dialog .n-clubs-player-report .profile-page-tabs > .page-tabs-panels > .page-panel {
    padding: 10px;
  }
  #n-dialog .n-clubs-player-report .profile-overview-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  #n-dialog .n-clubs-player-report .profile-panel {
    padding: 12px;
  }
  #n-dialog .n-clubs-player-report .npi-key-records > div {
    padding-left: 8px;
  }
  #n-dialog .n-clubs-player-report .npi-key-records dd {
    font-size: 23px;
  }
  #n-dialog .n-clubs-player-report .profile-readiness,
  #n-dialog .n-clubs-player-report .npi-recent {
    grid-row: auto;
  }
  #n-dialog .n-clubs-player-report .profile-readiness .profile-meter-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@container game (max-width: 350px) {
  #n-dialog .n-clubs-player-report .profile-hero {
    grid-template-columns: 52px minmax(0, 1fr) 43px;
    gap: 8px;
  }
  #n-dialog .n-clubs-player-report .profile-portrait {
    width: 52px;
  }
  #n-dialog .n-clubs-player-report .profile-overall {
    width: 43px;
  }
  #n-dialog .n-clubs-player-report .profile-identity h2 {
    font-size: 18px;
  }
  #n-dialog .n-clubs-player-report .profile-eyebrow b {
    display: none;
  }
  #n-dialog .n-clubs-player-report .npi-key-records dd {
    font-size: 21px;
  }
  #n-dialog .n-clubs-player-report .profile-number-grid > div {
    padding: 8px;
  }
}
@media (max-height: 560px) and (min-width: 701px) {
  #n-dialog .n-clubs-player-report .player-dossier-header {
    padding-block: 4px 8px;
  }
  #n-dialog .n-clubs-player-report .npi-heading {
    float: right;
    min-height: 0;
    margin: 0;
  }
  #n-dialog .n-clubs-player-report .profile-eyebrow {
    display: none;
  }
  #n-dialog .n-clubs-player-report .profile-hero {
    padding-right: 48px;
    grid-template-columns: 48px minmax(0, 1fr) 48px;
  }
  #n-dialog .n-clubs-player-report .profile-portrait {
    width: 48px;
  }
  #n-dialog .n-clubs-player-report .profile-facts {
    margin-top: 5px;
  }
}
