.nw-world,
.nw-panel,
.nwh-history,
.nw-tournament {
  display: grid;
  gap: 16px;
  min-width: 0;
}
.nw-world > .nw-hero,
.nwh-history > .nw-hero {
  display: grid;
  grid-template-columns: 116px minmax(0, 1fr);
  gap: 15px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--edge);
  background: var(--navy);
  min-width: 0;
}
.nw-hero-art {
  display: block;
  width: 100%;
  height: auto;
  image-rendering: pixelated;
}
.nw-hero-copy {
  display: grid;
  gap: 7px;
  min-width: 0;
}
.nw-hero-copy > p {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  text-transform: none;
  letter-spacing: normal;
  margin: 0 !important;
}
.nw-hero-copy .n-flag {
  width: 24px;
  height: 17px;
}
.nw-hero-copy h2 {
  font-size: 21px !important;
  color: var(--gold);
  overflow-wrap: anywhere;
}
.nw-hero-copy > span {
  font-size: 11px;
  line-height: 1.5;
  color: var(--dim);
}
.nw-tabs {
  display: flex;
  border: 1px solid var(--edge);
  min-width: 0;
}
.nw-tabs > .nw-button {
  flex: 1;
  min-width: 0;
  border: 0 !important;
  border-radius: 0 !important;
  background: var(--navy) !important;
  color: var(--dim) !important;
  padding: 11px 5px !important;
  font-size: 12px;
}
.nw-tabs > .nw-button[aria-pressed='true'] {
  color: var(--gold) !important;
  background: var(--panel) !important;
  box-shadow: inset 0 -3px var(--gold) !important;
}
.nw-button {
  min-height: 44px;
  min-width: 0;
}
.nw-eligibility {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
}
.nw-eligibility > div {
  display: grid;
  gap: 6px;
  border: 1px solid var(--edge);
  padding: 11px 5px;
  text-align: center;
  color: var(--dim);
  min-width: 0;
  background: var(--navy);
}
.nw-eligibility strong {
  font-size: 15px;
}
.nw-eligibility span {
  font-size: 11px;
  line-height: 1.4;
}
.nw-eligibility .is-active strong {
  color: var(--mint);
}
.nw-section-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.nw-section-heading > div {
  min-width: 0;
  display: grid;
  gap: 5px;
}
.nw-section-heading > span {
  font-size: 11px;
  color: var(--dim);
  white-space: nowrap;
}
.nw-section-heading h3 {
  font-size: 16px !important;
  overflow-wrap: anywhere;
}
.nw-section-heading .nw-button {
  font-size: 11px;
  padding-inline: 9px !important;
}
.nw-eyebrow {
  font-size: 11px;
  text-transform: none;
  letter-spacing: normal;
  color: var(--dim);
}
.nw-championship-card {
  display: grid;
  grid-template-columns: 60px minmax(0, 1fr);
  border: 1px solid var(--gold);
  background: var(--navy);
  min-width: 0;
  overflow: hidden;
}
.nw-cup-art {
  padding: 18px 0 0 8px;
}
.nw-championship-card .n-championship-overview {
  padding: 14px 12px !important;
  border: 0 !important;
  gap: 10px !important;
  margin: 0;
  min-width: 0;
  background: transparent;
}
.nw-championship-card .n-championship-overview h3 {
  color: var(--gold);
}
.nw-championship-card p {
  font-size: 12px;
  line-height: 1.5;
}
.nw-campaign-grid,
.nw-cycle-grid,
.nw-format-grid,
.nw-fixture-grid,
.nwh-season-grid,
.nwh-honours {
  display: grid;
  gap: 12px;
  min-width: 0;
}
.nw-campaign,
.nw-rule-card,
.nw-format-card,
.nw-record-entry {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--edge);
  background: var(--navy);
  min-width: 0;
}
.nw-campaign > header,
.nw-format-card > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.nw-campaign h3 {
  font-size: 17px !important;
  line-height: 1.3;
  overflow-wrap: anywhere;
}
.nw-campaign > p,
.nw-rule-card > p,
.nw-format-card > p {
  font-size: 12px;
  line-height: 1.55;
}
.nw-format {
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  font-weight: 800;
  color: var(--gold);
  white-space: nowrap;
}
.nw-status {
  font-size: 11px;
  text-transform: none;
  letter-spacing: normal;
  border: 1px solid var(--edge);
  padding: 4px 6px;
  color: var(--dim);
  white-space: nowrap;
}
.nw-status.is-complete {
  border-color: var(--mint);
  color: var(--mint);
}
.nw-country-strip {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 10px 0;
  border-block: 1px solid var(--edge);
}
.nw-country-strip .n-flag {
  width: 27px;
  height: 19px;
}
.nw-country-strip > small {
  font-size: 11px;
  color: var(--dim);
}
.nw-stage-progress,
.nwh-win-share {
  display: grid;
  gap: 8px;
  font-size: 11px;
  color: var(--dim);
}
.nw-stage-progress progress,
.nwh-win-share progress {
  width: 100%;
  height: 6px;
  border: 0;
  appearance: none;
  background: var(--night);
}
.nw-stage-progress progress::-webkit-progress-bar,
.nwh-win-share progress::-webkit-progress-bar {
  background: var(--night);
}
.nw-stage-progress progress::-webkit-progress-value,
.nwh-win-share progress::-webkit-progress-value {
  background: var(--gold);
}
.nw-stage-progress progress::-moz-progress-bar,
.nwh-win-share progress::-moz-progress-bar {
  background: var(--gold);
}
.nw-champion {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--gold);
  background: var(--night);
  min-width: 0;
}
.nw-champion .n-flag {
  width: 38px;
  height: 27px;
  flex: none;
}
.nw-champion > span {
  display: grid;
  gap: 5px;
  min-width: 0;
}
.nw-champion small {
  font-size: 11px;
  text-transform: none;
  color: var(--dim);
}
.nw-champion b {
  color: var(--gold);
  font-size: 15px;
  overflow-wrap: anywhere;
}
.nw-shared,
.nw-qualified {
  font-size: 12px;
  line-height: 1.5;
  border-left: 3px solid var(--gold);
  padding: 8px 10px;
  background: var(--navy);
}
.nw-rules-note,
.nw-handbook {
  border: 1px solid var(--edge);
  padding: 12px;
  min-width: 0;
}
.nw-rules-note > summary,
.nw-handbook > summary {
  cursor: pointer;
  min-height: 44px;
  align-content: center;
  font-weight: 700;
  font-size: 13px;
  line-height: 1.5;
}
.nw-rules-note[open] > summary,
.nw-handbook[open] > summary {
  margin-bottom: 12px;
}
.nw-rules-note > p,
.nw-handbook > p {
  font-size: 12px;
  line-height: 1.6;
  margin-block: 10px;
}
.nw-empty {
  display: grid;
  gap: 10px;
  padding: 22px 16px;
  border: 1px dashed var(--edge);
  background: var(--navy);
  color: var(--dim);
  text-align: center;
}
.nw-empty h3 {
  font-size: 16px !important;
  color: var(--cream);
}
.nw-empty p {
  font-size: 12px;
  line-height: 1.6;
}
.nw-cycle-card {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 12px;
  background: var(--navy);
  border: 1px solid var(--edge);
  min-width: 0;
}
.nw-cycle-card > div {
  display: grid;
  gap: 7px;
  min-width: 0;
}
.nw-cycle-card h3 {
  font-size: 19px !important;
  color: var(--gold);
}
.nw-cycle-card p {
  font-size: 11px;
  line-height: 1.5;
}
.nw-cycle-card .nw-button {
  font-size: 11px;
  padding-inline: 8px !important;
}
.nw-record-entry > div {
  display: grid;
  gap: 7px;
}
.nw-record-entry p {
  font-size: 12px;
  color: var(--dim);
}
.nw-muted {
  font-size: 12px !important;
  line-height: 1.6;
  color: var(--dim);
}
.nw-source {
  font-size: 12px;
  color: var(--mint) !important;
  text-underline-offset: 3px;
}
.nw-format-card > header {
  justify-content: flex-start;
}
.nw-format-card h3 {
  font-size: 15px !important;
}
.nw-format-card dl {
  display: grid;
  gap: 9px;
  margin: 0;
}
.nw-format-card dl > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid var(--edge);
  padding-bottom: 7px;
}
.nw-format-card dt {
  font-size: 11px;
  color: var(--dim);
}
.nw-format-card dd {
  font-size: 12px;
  text-align: right;
  font-weight: 700;
  margin: 0;
}
.nw-points,
.nw-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
}
.nw-points > div,
.nw-summary > div {
  display: grid;
  align-content: start;
  gap: 6px;
  padding: 12px 7px;
  text-align: center;
  border: 1px solid var(--edge);
  background: var(--night);
  min-width: 0;
}
.nw-points small,
.nw-summary small {
  font-size: 11px !important;
  color: var(--dim);
  line-height: 1.4;
}
.nw-points strong,
.nw-summary strong {
  font-size: 20px;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}
.nw-catalog {
  display: grid;
  gap: 14px;
}
.nw-catalog > article {
  display: grid;
  gap: 10px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--edge);
}
.nw-catalog header {
  display: grid;
  gap: 5px;
}
.nw-catalog h3 {
  font-size: 14px !important;
}
.nw-catalog p {
  font-size: 12px;
  line-height: 1.55;
}
.nw-tournament-hero {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--edge);
  background: var(--night);
  min-width: 0;
}
.nw-tournament-hero > div {
  display: grid;
  gap: 6px;
  min-width: 0;
}
.nw-tournament-hero h3 {
  font-size: 18px !important;
  color: var(--gold);
  overflow-wrap: anywhere;
}
.nw-tournament-hero p {
  font-size: 11px;
  color: var(--dim);
  line-height: 1.5;
}
.nw-stage-path {
  display: flex;
  gap: 10px;
  align-items: stretch;
  list-style: none;
  padding: 0;
  margin: 0;
  overflow-x: auto;
  max-width: 100%;
}
.nw-stage-path > li {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  padding: 8px 10px;
  border: 1px solid var(--edge);
  font-size: 11px;
  white-space: nowrap;
  color: var(--dim);
  background: var(--navy);
}
.nw-stage-path > li > span {
  display: grid;
  place-items: center;
  min-width: 20px;
  height: 20px;
  border: 1px solid var(--edge);
  font-size: 11px;
}
.nw-stage-path [aria-current] {
  border-color: var(--gold);
  color: var(--gold);
}
.nw-standings {
  display: grid;
  gap: 10px;
  min-width: 0;
}
.nw-standings > h3 {
  font-size: 14px !important;
}
.nw-table-scroll {
  max-width: 100%;
  overflow: auto;
  border: 1px solid var(--edge);
}
.nw-table-scroll table {
  width: 100%;
  min-width: 480px;
  table-layout: fixed;
  border-collapse: collapse;
  font-size: 12px;
}
.nw-table-scroll th,
.nw-table-scroll td {
  box-sizing: border-box;
  padding: 10px 6px;
  text-align: right;
  border-bottom: 1px solid var(--edge);
  font-variant-numeric: tabular-nums;
  vertical-align: middle;
}
.nw-table-scroll thead th {
  font-size: 11px;
  color: var(--dim);
  background: var(--night);
}
.nw-table-scroll th:first-child {
  width: 170px;
  text-align: left;
}
.nw-table-scroll th:nth-child(2) {
  width: 78px;
}
.nw-table-scroll tbody th {
  font-weight: 700;
}
.nw-table-scroll tbody th > span:last-child {
  vertical-align: middle;
}
.nw-table-scroll .n-flag {
  display: inline-flex;
  vertical-align: middle;
  width: 26px;
  height: 19px;
  margin-right: 7px;
}
.nw-table-scroll td b {
  color: var(--gold);
}
.nw-fixture {
  display: grid;
  gap: 10px;
  padding: 12px;
  background: var(--navy);
  border: 1px solid var(--edge);
  min-width: 0;
}
.nw-fixture > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.nw-team-pair {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  min-width: 0;
}
.nw-team-pair > span {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
}
.nw-team-pair > span:last-child {
  flex-direction: row-reverse;
  text-align: right;
}
.nw-team-pair .n-flag {
  width: 26px;
  height: 19px;
  flex: none;
}
.nw-team-pair b {
  font-size: 12px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}
.nw-team-pair > small {
  font-size: 11px;
  color: var(--dim);
}
.nw-fixture > p {
  font-size: 11px !important;
  color: var(--dim);
  text-align: center;
  line-height: 1.4;
}
.nw-fixture-result {
  font-size: 12px;
  text-align: center;
  line-height: 1.5;
  color: var(--cream);
}
.nw-fixture .nw-button {
  font-size: 12px;
}
.nw-untracked {
  font-size: 11px !important;
  color: var(--dim);
  text-align: center;
}
.nw-prior-stages {
  display: grid;
  gap: 20px;
}
.nw-prior-stages > section {
  display: grid;
  gap: 12px;
}
.nw-prior-stages > section > h3 {
  color: var(--gold);
}
.nwh-result-groups {
  display: grid;
  gap: 20px;
}
.nwh-result-groups > section {
  display: grid;
  gap: 12px;
}
.nwh-title {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 12px;
  background: var(--navy);
  border: 1px solid var(--gold);
  min-width: 0;
}
.nwh-title > div {
  display: grid;
  gap: 7px;
  min-width: 0;
}
.nwh-title h3 {
  font-size: 15px !important;
  color: var(--gold);
  overflow-wrap: anywhere;
}
.nwh-title p {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  color: var(--dim);
}
.nwh-title .n-flag {
  width: 25px;
  height: 18px;
}
.nwh-season {
  display: grid;
  gap: 12px;
  padding: 14px;
  background: var(--navy);
  border: 1px solid var(--edge);
  min-width: 0;
}
.nwh-season > header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}
.nwh-season h3 {
  font-size: 16px !important;
}
.nwh-season > header > span {
  font-size: 11px;
  color: var(--dim);
}
.nwh-season .nw-summary strong {
  font-size: 18px;
}
.nwh-journal {
  display: grid;
  gap: 11px;
  margin: 0;
  padding-left: 18px;
}
.nwh-journal > li {
  font-size: 12px;
  line-height: 1.6;
  color: var(--dim);
}
@media (max-width: 360px) {
  .nw-world {
    padding: 14px 12px;
    gap: 14px;
  }
  .nw-world > .nw-hero,
  .nwh-history > .nw-hero {
    grid-template-columns: 90px minmax(0, 1fr);
    padding: 11px;
    gap: 10px;
  }
  .nw-hero-copy h2 {
    font-size: 18px !important;
  }
  .nw-hero-copy > span {
    font-size: 11px;
  }
  .nw-hero-copy > p {
    font-size: 11px;
    letter-spacing: 0;
  }
  .nw-hero-copy .n-flag {
    width: 21px;
    height: 15px;
  }
  .nw-eligibility > div {
    padding: 9px 4px;
  }
  .nw-eligibility span {
    font-size: 11px;
  }
  .nw-campaign,
  .nw-rule-card,
  .nw-format-card {
    padding: 12px;
  }
  .nw-championship-card {
    grid-template-columns: 45px minmax(0, 1fr);
  }
  .nw-championship-card .n-championship-overview {
    padding: 12px 10px !important;
  }
  .nw-championship-card .n-championship-overview h3 {
    font-size: 15px !important;
  }
  .nw-cup-art {
    padding: 15px 0 0 4px;
  }
  .nw-country-strip {
    gap: 6px;
  }
  .nw-country-strip .n-flag {
    width: 24px;
    height: 17px;
  }
  .nw-section-heading {
    gap: 8px;
  }
  .nw-section-heading h3 {
    font-size: 14px !important;
  }
  .nw-section-heading .nw-button {
    font-size: 11px;
  }
  .nw-cycle-card,
  .nwh-title {
    grid-template-columns: 70px minmax(0, 1fr);
    gap: 9px;
  }
  .nw-tournament-hero {
    grid-template-columns: 80px minmax(0, 1fr);
    gap: 9px;
    padding: 10px;
  }
  .nw-tournament-hero h3 {
    font-size: 16px !important;
  }
  .nw-summary strong {
    font-size: 18px;
  }
  .nw-fixture {
    padding: 10px;
  }
  .nw-team-pair {
    gap: 5px;
  }
  .nw-team-pair > span {
    gap: 5px;
  }
  .nw-team-pair .n-flag {
    width: 21px;
    height: 16px;
  }
  .nw-team-pair b {
    font-size: 11px;
  }
  .nw-handbook,
  .nw-rules-note {
    padding: 10px;
  }
  .nw-points > div,
  .nw-summary > div {
    padding: 10px 5px;
  }
}
@media (min-width: 800px) {
  .n-display-wide .nw-world {
    padding: 24px;
  }
  .n-display-wide .nw-world > .nw-hero {
    grid-template-columns: 160px minmax(0, 1fr);
    padding: 18px;
    max-width: 100%;
  }
  .n-display-wide .nw-hero-copy h2 {
    font-size: 26px !important;
  }
  .n-display-wide .nw-hero-copy > span {
    font-size: 13px;
  }
  .n-display-wide .nw-campaign-grid,
  .n-display-wide .nw-cycle-grid,
  .n-display-wide .nw-fixture-grid,
  .n-display-wide .nwh-season-grid,
  .n-display-wide .nwh-honours {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .n-display-wide .nw-format-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .n-display-wide .nw-championship-card {
    grid-template-columns: 100px minmax(0, 1fr);
  }
  .n-display-wide .nw-cup-art {
    padding: 18px 0 0 12px;
  }
  .n-display-wide .nw-championship-card .n-championship-overview {
    padding: 18px !important;
  }
  .n-display-wide .nw-eligibility {
    max-width: 620px;
  }
  .n-display-wide .nw-tabs {
    max-width: 620px;
  }
  .n-display-wide .nw-record-entry {
    grid-template-columns: 1fr auto;
    align-items: center;
  }
}

/* World and history pages lead with a complete cricket scene. */
.nw-world > .nw-hero,
.nwh-history > .nw-hero {
  display: block;
  padding: 0;
  overflow: hidden;
}
.nw-scene {
  display: block;
  min-width: 0;
  overflow: hidden;
}
.nw-scene > .nw-hero-art {
  display: block;
  width: 100%;
  height: 210px;
  object-fit: cover;
  object-position: center 55%;
}
.nw-hero-copy {
  padding: 14px;
  gap: 8px;
}
.nw-cycle-card > .nw-hero-art,
.nwh-title > .nw-hero-art,
.nw-tournament-hero > .nw-hero-art {
  width: 100%;
  height: 90px;
  object-fit: cover;
  object-position: center;
}
.nw-cup-art > .nw-hero-art {
  height: 100px;
  object-fit: cover;
  object-position: 32% center;
}
@media (max-width: 360px) {
  .nw-world > .nw-hero,
  .nwh-history > .nw-hero {
    display: block;
    padding: 0;
  }
  .nw-hero-copy {
    padding: 12px;
  }
}
@media (min-width: 800px) {
  .n-display-wide .nw-world > .nw-hero,
  .n-display-wide .nwh-history > .nw-hero {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(240px, 1fr);
    padding: 0;
    gap: 0;
    align-items: stretch;
  }
  .n-display-wide .nw-scene > .nw-hero-art {
    height: 100%;
    min-height: 270px;
    max-height: 350px;
    object-position: center;
  }
  .n-display-wide .nw-hero-copy {
    padding: 24px;
    align-content: center;
  }
}

/* Snapshot archive sheet: independent of the selected live-game frame width. */
#game-frame #n-dialog:has(.n-history-archive) {
  position: fixed;
  inset: 10px;
  margin: auto;
  transform: none;
  width: min(1100px, calc(100vw - 20px));
  max-width: calc(100vw - 20px);
  height: max-content;
  max-height: calc(100dvh - 20px);
  padding: 0;
  border: 1px solid #516b7f;
  border-radius: 9px;
  background: #0e2237;
  color: #e8eff0;
  text-align: left;
}
#game-frame #n-dialog:has(.n-history-archive) > .n-dialog-header {
  position: sticky;
  top: 0;
  z-index: 4;
  padding: 14px 18px;
  background: #0d1e32;
  border-bottom: 1px solid #3a566c;
}
#game-frame #n-dialog:has(.n-history-archive) > .n-dialog-header h2 {
  font-size: 19px;
  color: #f4ead2;
}
#game-frame #n-dialog:has(.n-history-archive) > .n-dialog-body {
  display: block;
  padding: 16px 18px 24px;
}
#n-dialog .n-history-archive {
  display: grid;
  gap: 14px;
  min-width: 0;
  font-family: Manrope, Arial, sans-serif;
}
#n-dialog .n-history-archive > .nw-hero {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 0;
  padding: 0;
  background: #172f43;
  border: 1px solid #3f5c71;
  border-radius: 7px;
  overflow: hidden;
}
#n-dialog .n-history-archive .nw-scene > .nw-hero-art {
  width: 100%;
  height: 142px;
  min-height: 0;
  max-height: none;
  object-fit: cover;
  object-position: 42% 50%;
}
#n-dialog .n-history-archive .nw-hero-copy {
  padding: 18px;
  align-content: center;
}
#n-dialog .n-history-archive .nw-hero-copy h2 {
  color: #f6e2af;
  font-size: 25px !important;
}
#n-dialog .n-history-archive .nw-hero-copy > p {
  color: #8edbc6;
  font-size: 11px;
  line-height: 1.5;
}
#n-dialog .n-history-archive .nw-hero-copy > span {
  color: #b7cbd8;
  font-size: 12px;
}
#n-dialog .n-history-archive .nw-tabs {
  width: 100%;
  max-width: none;
  border-color: #3f5c71;
  border-radius: 5px;
  overflow: hidden;
}
#n-dialog .n-history-archive .nw-tabs > .nw-button {
  background: #132a3e !important;
  color: #afc6d6 !important;
  font-size: 12px;
  min-height: 43px;
}
#n-dialog .n-history-archive .nw-tabs > .nw-button[aria-pressed='true'] {
  background: #254054 !important;
  color: #f3d58d !important;
  box-shadow: inset 0 -3px #f3d58d !important;
}
#n-dialog .n-history-archive .nw-panel {
  gap: 14px;
}
#n-dialog .nwh-filterbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 210px;
  gap: 16px;
  align-items: end;
}
#n-dialog .nwh-filterbar > div {
  min-width: 0;
}
#n-dialog .nwh-filter-label,
#n-dialog .nwh-year-filter {
  display: block;
  color: #b5cad8;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.5;
}
#n-dialog .nwh-format-filter {
  display: flex;
  gap: 5px;
  margin-top: 6px;
}
#n-dialog .nwh-format-filter .nw-button {
  flex: 1;
  min-width: 0;
  min-height: 43px;
  padding: 8px;
  background: #152d42;
  border: 1px solid #415f75;
  border-radius: 4px;
  font-size: 12px;
  color: #bdd0dc;
}
#n-dialog .nwh-format-filter .nw-button[aria-pressed='true'] {
  background: #edd08d;
  color: #172c3f;
  border-color: #edd08d;
  font-weight: 800;
}
#n-dialog .nwh-year-filter select {
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 43px;
  margin-top: 6px;
  padding: 8px 10px;
  background: #152d42;
  color: #e1e9ec;
  border: 1px solid #415f75;
  border-radius: 4px;
  font-family: inherit;
  font-size: 12px;
}
#n-dialog .nwh-filtered-summary {
  padding: 15px 17px;
  background: #152e42;
  border: 1px solid #3f5c71;
  border-radius: 7px;
  min-width: 0;
}
#n-dialog .nwh-filtered-summary > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 12px;
}
#n-dialog .nwh-filtered-summary > header > div > span {
  display: block;
  font-size: 11px;
  color: #8faebe;
  text-transform: none;
  letter-spacing: normal;
  margin-bottom: 5px;
}
#n-dialog .nwh-filtered-summary h3 {
  font-size: 15px;
  color: #edf2e8;
  margin: 0;
  line-height: 1.35;
}
#n-dialog .nwh-filtered-summary > header > strong {
  display: flex;
  gap: 8px;
  align-items: baseline;
  color: #f0d18a;
  font-size: 27px;
  font-variant-numeric: tabular-nums;
}
#n-dialog .nwh-filtered-summary > header > strong > small {
  color: #b5cad8;
  font-size: 11px;
  font-weight: 500;
}
#n-dialog .nwh-filtered-summary > svg {
  display: block;
  width: 100%;
  height: 7px;
  background: #0d2034;
  border-radius: 3px;
  overflow: hidden;
}
#n-dialog .nwh-filtered-summary > dl {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(52px, 1fr));
  gap: 9px;
  margin: 13px 0 0;
}
#n-dialog .nwh-filtered-summary > dl > div {
  display: grid;
  gap: 5px;
}
#n-dialog .nwh-filtered-summary dt {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #a9c0d0;
  font-size: 11px;
}
#n-dialog .nwh-filtered-summary dt > i {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 2px;
  flex: none;
}
#n-dialog .nwh-filtered-summary dd {
  color: #e9f0e9;
  font-size: 17px;
  font-weight: 750;
  font-variant-numeric: tabular-nums;
  margin: 0;
}
#n-dialog .nwh-filtered-summary > p {
  color: #95b0c1;
  font-size: 11px;
  line-height: 1.5;
  margin: 11px 0 0;
}
.nwh-outcome-win {
  fill: #7ed5bc;
  background: #7ed5bc;
}
.nwh-outcome-loss {
  fill: #dca18c;
  background: #dca18c;
}
.nwh-outcome-draw {
  fill: #e7c77f;
  background: #e7c77f;
}
.nwh-outcome-tie {
  fill: #9aafd6;
  background: #9aafd6;
}
.nwh-outcome-no-result,
.nwh-outcome-unknown {
  fill: #8499ac;
  background: #8499ac;
}
#n-dialog .nwh-pagination {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 2px 0;
}
#n-dialog .nwh-pagination > span {
  font-size: 12px;
  font-weight: 650;
  color: #d6e3e9;
  font-variant-numeric: tabular-nums;
}
#n-dialog .nwh-pagination > span > small {
  font-size: 11px;
  color: #8faebe;
  margin-left: 10px;
  font-weight: 400;
}
#n-dialog .nwh-pagination > div {
  display: flex;
  gap: 6px;
  align-items: center;
}
#n-dialog .nwh-pagination .nw-button {
  background: #142d42;
  border: 1px solid #415f75;
  color: #b9d0dc;
  min-height: 40px;
  padding: 7px 11px;
  font-size: 11px;
  border-radius: 4px;
}
#n-dialog .nwh-pagination .nw-button:disabled {
  opacity: 0.4;
}
#n-dialog .nwh-pagination > div > b {
  font-size: 11px;
  white-space: nowrap;
  color: #bdd1dc;
  margin-inline: 4px;
  font-weight: 500;
}
#n-dialog .nwh-match-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  min-width: 0;
}
#n-dialog .nwh-match-card {
  display: grid;
  align-content: start;
  gap: 12px;
  min-width: 0;
  background: #142c41;
  border: 1px solid #3e5b70;
  border-top: 3px solid #819bb0;
  border-radius: 7px;
  padding: 16px;
}
#n-dialog .nwh-match-card.is-win {
  border-top-color: #7ed5bc;
}
#n-dialog .nwh-match-card.is-loss {
  border-top-color: #dca18c;
}
#n-dialog .nwh-match-card.is-draw {
  border-top-color: #e7c77f;
}
#n-dialog .nwh-match-card.is-tie {
  border-top-color: #9aafd6;
}
#n-dialog .nwh-match-card > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
#n-dialog .nwh-format {
  display: inline-flex;
  align-items: center;
  padding: 4px 7px;
  border: 1px solid #6d765b;
  border-radius: 3px;
  color: #e9ce8e;
  background: #2c3c42;
  font-size: 11px;
  font-weight: 750;
}
#n-dialog .nwh-format.is-odi {
  color: #8ed9c6;
  border-color: #4a8078;
  background: #1f3b47;
}
#n-dialog .nwh-format.is-test {
  color: #bfd0ef;
  border-color: #637b9b;
  background: #253952;
}
#n-dialog .nwh-match-meta {
  font-size: 11px;
  color: #91aebf;
  text-align: right;
  line-height: 1.5;
}
#n-dialog .nwh-match-competition {
  display: grid;
  gap: 4px;
  color: #dde8e9;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
}
#n-dialog .nwh-match-competition > small {
  color: #9fb9c9;
  font-size: 11px;
  font-weight: 400;
}
#n-dialog .nwh-recorded-scores {
  display: grid;
  gap: 13px;
  padding: 13px 0;
  border-block: 1px solid #304c62;
}
#n-dialog .nwh-recorded-scores > div {
  display: grid;
  grid-template-columns: 25px minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  min-width: 0;
}
#n-dialog .nwh-recorded-scores .n-flag {
  width: 25px;
  height: 18px;
  display: inline-flex;
  align-items: center;
}
#n-dialog .nwh-recorded-scores .n-flag :is(img, svg) {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
#n-dialog .nwh-recorded-scores > div > span > strong {
  display: block;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.4;
  color: #e6eeeb;
  overflow-wrap: anywhere;
}
#n-dialog .nwh-recorded-scores > div > span > small {
  display: block;
  font-size: 11px;
  line-height: 1.5;
  color: #94b1c2;
  margin-top: 4px;
}
#n-dialog .nwh-recorded-scores > div > b {
  color: #f1d28b;
  font-size: 23px;
  text-align: right;
  line-height: 1.35;
  max-width: 190px;
  font-variant-numeric: tabular-nums;
}
#n-dialog .nwh-match-result {
  font-size: 13px;
  color: #edf0e1;
  line-height: 1.5;
}
#n-dialog .nwh-revised-target {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 9px;
  margin: 0;
  padding: 8px 10px;
  background: #102638;
  border: 1px solid #706a4c;
  border-radius: 4px;
  line-height: 1.5;
}
#n-dialog .nwh-revised-target > b {
  font-size: 11px;
  color: #efd28b;
}
#n-dialog .nwh-revised-target > span,
#n-dialog .nwh-revised-target > small {
  color: #afc5d2;
  font-size: 11px;
}
#n-dialog .nwh-super-over-summary {
  display: grid;
  gap: 7px;
  border-left: 2px solid #7ed5bc;
  padding-left: 10px;
}
#n-dialog .nwh-super-over-summary > p {
  font-size: 11px;
  color: #b2ccd9;
  line-height: 1.6;
  margin: 0;
}
#n-dialog .nwh-super-over-summary b {
  color: #85d8c2;
  margin-right: 8px;
}
#n-dialog .nwh-super-over-summary > small {
  font-size: 11px;
  color: #91aebf;
  line-height: 1.5;
}
#n-dialog .nwh-match-card > footer {
  display: flex;
  gap: 8px;
  margin-top: 2px;
}
#n-dialog .nwh-match-card > footer > .nw-button {
  flex: 1;
  min-height: 41px;
  padding: 8px;
  font-size: 11px;
  color: #c2d6e0;
  background: #11283d;
  border: 1px solid #49667c;
  border-radius: 4px;
}
#n-dialog .nwh-match-card > footer > .nw-button.primary {
  color: #183043;
  background: #e9cc86;
  border-color: #e9cc86;
  font-weight: 800;
}
#n-dialog .nwh-evidence-gap {
  font-size: 11px;
  color: #9ab5c7;
  line-height: 1.6;
  margin: 0;
}
#n-dialog .n-history-archive .nw-empty {
  background: #142c41;
  border-color: #4b6579;
  border-radius: 7px;
}
#n-dialog .n-history-archive .nw-empty h3 {
  font-size: 16px;
  color: #ede8d4;
}
#n-dialog .n-history-archive .nw-empty p {
  color: #a9c0d0;
  font-size: 12px;
}
#n-dialog .n-history-archive .nwh-season,
#n-dialog .n-history-archive .nwh-title {
  background: #142c41;
  border-color: #4b6579;
  border-radius: 7px;
}
#n-dialog .n-history-archive .nw-handbook {
  border-color: #3e5b70;
  background: #122a3e;
  border-radius: 6px;
}
#n-dialog .n-history-archive button:focus-visible,
#n-dialog .n-history-archive select:focus-visible {
  outline: 2px solid #83d9c2;
  outline-offset: 3px;
}
.nw-campaign-stage {
  display: grid;
  gap: 5px;
  padding: 11px 12px;
  border-left: 3px solid #83d9c2;
  background: #122a3e;
}
.nw-campaign-stage > small {
  color: #93b2c3;
  font-size: 11px;
  text-transform: none;
  letter-spacing: normal;
}
.nw-campaign-stage > strong {
  font-size: 16px;
  line-height: 1.35;
  color: #eff0de;
}
.nw-campaign-stage > span {
  font-size: 11px;
  color: #aec6d3;
}
.nw-campaign-next {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 5px 10px;
  padding: 10px;
  border: 1px solid #436378;
  background: #172f43;
}
.nw-campaign-next > span {
  font-size: 11px;
  color: #95b5c7;
}
.nw-campaign-next > strong {
  font-size: 12px;
  color: #f0d28a;
}
.nw-campaign-next > small {
  grid-column: 1/-1;
  font-size: 11px;
  line-height: 1.5;
  color: #b3cad6;
}
@media (max-width: 700px) {
  #game-frame #n-dialog:has(.n-history-archive) > .n-dialog-header {
    padding: 12px 14px;
  }
  #game-frame #n-dialog:has(.n-history-archive) > .n-dialog-body {
    padding: 12px;
  }
  #n-dialog .n-history-archive > .nw-hero {
    grid-template-columns: 100px minmax(0, 1fr);
  }
  #n-dialog .n-history-archive .nw-scene > .nw-hero-art {
    height: 116px;
  }
  #n-dialog .n-history-archive .nw-hero-copy {
    padding: 12px;
  }
  #n-dialog .n-history-archive .nw-hero-copy h2 {
    font-size: 21px !important;
  }
  #n-dialog .n-history-archive .nw-hero-copy > p {
    font-size: 11px;
  }
  #n-dialog .n-history-archive .nw-hero-copy > span {
    font-size: 11px;
    line-height: 1.6;
  }
  #n-dialog .nwh-filterbar {
    grid-template-columns: minmax(0, 1fr) 128px;
    gap: 11px;
  }
  #n-dialog .nwh-format-filter {
    gap: 4px;
  }
  #n-dialog .nwh-format-filter .nw-button {
    font-size: 11px;
    padding: 8px 4px;
  }
  #n-dialog .nwh-year-filter select {
    font-size: 11px;
    padding-inline: 7px;
  }
  #n-dialog .nwh-filtered-summary {
    padding: 12px;
  }
  #n-dialog .nwh-filtered-summary > header {
    margin-bottom: 10px;
  }
  #n-dialog .nwh-filtered-summary h3 {
    font-size: 13px;
  }
  #n-dialog .nwh-filtered-summary > header > strong {
    font-size: 24px;
    gap: 5px;
  }
  #n-dialog .nwh-filtered-summary > dl {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 5px;
  }
  #n-dialog .nwh-filtered-summary dt {
    font-size: 11px;
    gap: 4px;
  }
  #n-dialog .nwh-filtered-summary dd {
    font-size: 15px;
  }
  #n-dialog .nwh-match-list {
    grid-template-columns: minmax(0, 1fr);
  }
  #n-dialog .nwh-match-card {
    padding: 14px;
  }
  #n-dialog .nwh-recorded-scores > div > b {
    max-width: 155px;
    font-size: 22px;
  }
  #n-dialog .nwh-pagination {
    gap: 9px;
  }
  #n-dialog .nwh-pagination > div {
    width: 100%;
    justify-content: space-between;
    gap: 5px;
  }
  #n-dialog .nwh-pagination .nw-button {
    padding: 7px 9px;
  }
  #n-dialog .nwh-pagination > div > b {
    margin: 0;
  }
  #n-dialog .nwh-pagination > span {
    font-size: 11px;
  }
}
@media (max-width: 360px) {
  #game-frame #n-dialog:has(.n-history-archive) > .n-dialog-body {
    padding: 10px;
  }
  #n-dialog .n-history-archive {
    gap: 12px;
  }
  #n-dialog .n-history-archive > .nw-hero {
    grid-template-columns: 78px minmax(0, 1fr);
  }
  #n-dialog .n-history-archive .nw-hero-copy {
    padding: 10px;
  }
  #n-dialog .n-history-archive .nw-hero-copy h2 {
    font-size: 19px !important;
  }
  #n-dialog .nwh-filterbar {
    grid-template-columns: minmax(0, 1fr) 115px;
    gap: 8px;
  }
  #n-dialog .nwh-year-filter select {
    font-size: 11px;
  }
  #n-dialog .nwh-format-filter .nw-button {
    font-size: 11px;
  }
  #n-dialog .nwh-filtered-summary > header > strong > small {
    display: none;
  }
  #n-dialog .nwh-filtered-summary dt {
    font-size: 11px;
  }
  #n-dialog .nwh-match-card {
    padding: 12px;
  }
  #n-dialog .nwh-recorded-scores > div {
    grid-template-columns: 22px minmax(0, 1fr) auto;
    gap: 7px;
  }
  #n-dialog .nwh-recorded-scores .n-flag {
    width: 22px;
    height: 16px;
  }
  #n-dialog .nwh-recorded-scores > div > b {
    font-size: 20px;
    max-width: 133px;
  }
}
#n-dialog [data-history-page-summary]:focus-visible {
  outline: 2px solid var(--gold, #f3d58d);
  outline-offset: 4px;
}
