:root {
  --ink: #182c3b;
  --paper: #f7f5ee;
  --blue: #a6d9ee;
  --deep: #173f59;
  --yellow: #f1d34f;
  --red: #c74d3c;
  --muted: #526674;
  --line: #c5cbc6;
  --white: #fffef9;
  --head: Impact, 'Arial Narrow', 'Arial Black', sans-serif;
  --body: 'Trebuchet MS', Arial, sans-serif;
  --mono: 'Courier New', monospace;
  --shadow: 4px 4px 0 var(--ink);
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
}
a {
  color: inherit;
}
button,
input,
select {
  font: inherit;
}
button,
a,
input,
select {
  touch-action: manipulation;
}
button {
  cursor: pointer;
  color: inherit;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}
a,
button {
  -webkit-tap-highlight-color: transparent;
}
button svg {
  width: 20px;
  height: 20px;
}
svg {
  max-width: 100%;
}
button {
  border: 0;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 4px;
}
a:hover {
  color: var(--deep);
}
h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}
h1,
h2,
h3 {
  line-height: 1.08;
}
h1,
h2,
.display {
  font-family: var(--head);
  font-weight: 400;
  letter-spacing: -0.025em;
}
h1 {
  font-size: clamp(44px, 5.7vw, 80px);
  text-transform: uppercase;
  margin-bottom: 22px;
}
h2 {
  font-size: clamp(32px, 3.4vw, 46px);
}
h3 {
  font-size: 22px;
}
p {
  margin-bottom: 18px;
}
small {
  font-size: 12px;
}
a {
  text-underline-offset: 4px;
}
main {
  min-height: 65vh;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}
.skip-link {
  position: fixed;
  left: 16px;
  top: -70px;
  background: var(--yellow);
  padding: 8px 18px;
  z-index: 99;
}
.skip-link:focus {
  top: 15px;
}
.edition-strip {
  background: var(--ink);
  color: var(--paper);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 8px max(30px, calc((100vw - 1240px) / 2));
  font: 11px var(--mono);
  letter-spacing: 1.25px;
  line-height: 1.4;
}
.edition-strip a {
  color: inherit;
  text-decoration: none;
}
.site-header {
  max-width: 1300px;
  margin: auto;
  padding: 21px 30px;
  display: flex;
  gap: 36px;
  align-items: center;
  border-bottom: 2px solid var(--ink);
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  font-family: var(--head);
  font-size: 45px;
  line-height: 0.9;
  letter-spacing: -2px;
  white-space: nowrap;
}
.brand small {
  font-size: 23px;
  letter-spacing: -1px;
}
.brand-dot {
  color: var(--red);
}
.brand-face {
  width: 42px;
  height: 43px;
  border: 2px solid var(--ink);
  border-radius: 48% 50% 46% 50%;
  background: var(--blue);
  position: relative;
  transform: rotate(-7deg);
  display: inline-block;
  flex-shrink: 0;
}
.brand-face i {
  position: absolute;
  background: white;
  border: 1.5px solid var(--ink);
  border-radius: 50%;
  width: 14px;
  height: 17px;
  top: 8px;
  left: 7px;
}
.brand-face i:nth-child(2) {
  left: 22px;
  top: 7px;
}
.brand-face i:after {
  content: '';
  position: absolute;
  width: 5px;
  height: 7px;
  background: var(--ink);
  border-radius: 50%;
  top: 5px;
  left: 5px;
}
.brand-face b {
  position: absolute;
  left: 14px;
  top: 27px;
  width: 18px;
  height: 7px;
  border-bottom: 2px solid var(--ink);
  border-radius: 50%;
}
.site-header nav {
  display: flex;
  gap: 28px;
  flex: 1;
  justify-content: center;
  font-size: 14px;
  font-weight: bold;
}
.site-header nav a {
  padding: 8px 0;
  text-decoration: none;
  white-space: nowrap;
  position: relative;
}
.site-header nav a.active:after {
  content: '';
  height: 5px;
  background: var(--blue);
  position: absolute;
  bottom: 3px;
  left: -2px;
  right: -2px;
  z-index: -1;
  transform: rotate(-2deg);
}
.search-trigger {
  background: transparent;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
}
.search-trigger svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}
.wrap {
  max-width: 1240px;
  margin: 0 auto;
}
.padded {
  padding: 52px 30px 70px;
  max-width: 1300px;
  margin: 0 auto;
}
.eyebrow {
  font: 700 11px/1.5 var(--mono);
  letter-spacing: 1.7px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 19px;
}
.eyebrow:before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--red);
  display: inline-block;
  flex-shrink: 0;
}
.muted {
  color: var(--muted);
}
.lede {
  font-size: 18px;
  max-width: 720px;
  line-height: 1.7;
}
.hand {
  font-family: 'Comic Sans MS', 'Comic Sans', cursive;
  font-size: 18px;
  font-style: italic;
  transform: rotate(-4deg);
  display: inline-block;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  background: var(--ink);
  color: var(--paper);
  border: 2px solid var(--ink);
  padding: 12px 22px;
  text-decoration: none;
  font-weight: bold;
  font-size: 14px;
  line-height: 1.5;
}
.button:hover {
  background: var(--deep);
  color: white;
  transform: translateY(-1px);
}
.button.outline {
  background: transparent;
  color: var(--ink);
}
.button.yellow {
  background: var(--yellow);
  color: var(--ink);
}
.button.light {
  background: var(--paper);
  color: var(--ink);
}
.button.small {
  font-size: 12px;
  padding: 8px 14px;
  gap: 9px;
}
.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}
.text-link {
  font-weight: bold;
  font-size: 14px;
  text-decoration: none;
}
.text-link:after {
  content: ' →';
}
.text-button {
  background: none;
  padding: 0;
  text-align: left;
  text-decoration: underline;
  font-size: inherit;
}
.icon-button {
  width: 38px;
  height: 38px;
  border: 1.5px solid var(--ink);
  background: var(--paper);
  font-size: 24px;
  line-height: 1;
}
.tag {
  font: 700 10px/1.4 var(--mono);
  letter-spacing: 0.5px;
  padding: 5px 8px;
  display: inline-block;
  border: 1px solid var(--ink);
  background: var(--white);
  text-transform: uppercase;
}
.tag.blue {
  background: var(--blue);
}
.tag.yellow {
  background: var(--yellow);
}
.tag.quiet {
  border-color: var(--line);
  color: var(--muted);
}
.tag.red {
  background: #f3d4ca;
}
.section-heading {
  display: flex;
  gap: 20px;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 26px;
}
.section-heading h2 {
  margin-bottom: 0;
}
.section-heading p {
  margin-bottom: 3px;
  font-size: 14px;
}
.section {
  padding: 50px 0;
  border-top: 1px solid var(--line);
}
.notice {
  padding: 16px 20px;
  border-left: 4px solid var(--blue);
  background: #eaf1f1;
  font-size: 13px;
  line-height: 1.6;
  margin: 22px 0;
}
.notice.yellow {
  border-color: var(--yellow);
  background: #f3efda;
}
.notice p:last-child {
  margin: 0;
}
.back-link {
  display: inline-block;
  margin-bottom: 26px;
  font-size: 12px;
  font-weight: bold;
  text-decoration: none;
}
.empty {
  padding: 36px;
  border: 1px dashed var(--muted);
  background: var(--white);
}
.empty h3 {
  margin-bottom: 12px;
}
.paper-card {
  background: var(--white);
  border: 1.5px solid var(--ink);
  padding: 24px;
  box-shadow: 3px 3px 0 #d4d5c7;
}
.grid3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.grid4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
.page-head {
  margin-bottom: 32px;
}
.page-head .lede {
  margin-bottom: 0;
}
.count-note {
  font: 12px var(--mono);
  color: var(--muted);
}
/* The front cover */
.home-hero {
  padding: 48px 30px 30px;
  max-width: 1300px;
  margin: auto;
  display: grid;
  grid-template-columns: 1.13fr 1fr;
  gap: 24px;
  align-items: center;
  min-height: 530px;
}
.hero-copy {
  padding-bottom: 18px;
  position: relative;
  z-index: 1;
}
.hero-copy h1 {
  font-size: clamp(49px, 6.15vw, 87px);
  line-height: 0.98;
  margin: 0 0 23px;
  letter-spacing: -1.5px;
}
.hero-copy h1 span {
  display: block;
}
.hero-copy h1 .highlight {
  display: inline-block;
  position: relative;
  z-index: 0;
}
.hero-copy h1 .highlight:before {
  content: '';
  position: absolute;
  background: var(--blue);
  left: -6px;
  right: -8px;
  bottom: 3px;
  height: 41%;
  z-index: -1;
  transform: rotate(-1.2deg);
}
.hero-copy .lede {
  font-size: 16px;
  max-width: 450px;
  margin-bottom: 25px;
}
.hero-art {
  position: relative;
  width: 100%;
  min-width: 0;
}
.hero-art svg {
  display: block;
  width: 100%;
  height: auto;
}
.hero-caption {
  position: absolute;
  bottom: 4%;
  right: 7%;
  font-family: var(--mono);
  font-size: 9px;
  transform: rotate(-3deg);
  background: var(--yellow);
  border: 1px solid var(--ink);
  padding: 4px 7px;
}
.marquee {
  overflow: hidden;
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  background: var(--blue);
  padding: 10px 20px;
  text-align: center;
  font: 700 11px var(--mono);
  letter-spacing: 2px;
  white-space: nowrap;
}
.marquee span {
  padding: 0 22px;
}
.home-body {
  max-width: 1300px;
  padding: 0 30px;
  margin: auto;
}
.stat-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 26px 0 32px;
  border-bottom: 1px solid var(--line);
}
.stat-item {
  padding: 0 28px;
  border-right: 1px solid var(--line);
}
.stat-item:first-child {
  padding-left: 0;
}
.stat-item:last-child {
  border: 0;
}
.stat-item strong {
  font: 47px/1 var(--head);
  display: block;
  margin-bottom: 6px;
}
.stat-item span {
  font: 11px var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.6px;
}
.stat-item small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  margin-top: 4px;
}
.entry-card {
  display: block;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: transform 0.15s;
  padding: 23px 24px 25px;
}
.entry-card:hover {
  transform: translateY(-4px);
}
.entry-card .entry-art {
  height: 134px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--line);
  margin-bottom: 23px;
}
.entry-card .entry-art svg {
  height: 123px;
  width: auto;
}
.entry-card .eyebrow {
  margin: 0 0 10px;
  font-size: 10px;
}
.entry-card h3 {
  font-family: var(--head);
  font-size: 33px;
  font-weight: normal;
  text-transform: uppercase;
  margin-bottom: 11px;
}
.entry-card p {
  font-size: 13px;
  line-height: 1.65;
  max-width: 95%;
  margin-bottom: 18px;
}
.entry-card .arrow {
  position: absolute;
  right: 22px;
  bottom: 22px;
  font-size: 24px;
}
.feature-banner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  background: var(--ink);
  color: var(--paper);
  border: 2px solid var(--ink);
  margin-bottom: 48px;
  position: relative;
  overflow: hidden;
}
.feature-copy {
  padding: 40px;
}
.feature-copy .eyebrow {
  color: var(--blue);
}
.feature-copy h2 {
  font-size: 42px;
  margin-bottom: 18px;
}
.feature-copy p {
  font-size: 14px;
  max-width: 450px;
  color: #c6d5dc;
}
.feature-visual {
  padding: 22px;
  display: flex;
  align-items: center;
  background-image: radial-gradient(#476170 1px, transparent 1px);
  background-size: 15px 15px;
}
.feature-visual svg {
  width: 100%;
  height: 260px;
}
.mini-matches {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 50px;
}
.mini-match {
  background: var(--white);
  padding: 20px;
  border-top: 4px solid var(--blue);
  text-decoration: none;
}
.mini-match strong {
  font-family: var(--head);
  font-weight: normal;
  font-size: 33px;
  display: block;
  margin: 12px 0 3px;
}
.mini-match p {
  font-size: 13px;
  margin: 0;
}
.mini-match small {
  font-family: var(--mono);
}
/* Cabinet */
.cabinet-top {
  display: grid;
  grid-template-columns: 1fr 240px;
  gap: 32px;
  align-items: center;
}
.cabinet-stamp {
  border: 2px solid var(--ink);
  background: var(--yellow);
  padding: 23px;
  text-align: center;
  transform: rotate(3deg);
  box-shadow: var(--shadow);
}
.cabinet-stamp strong {
  font: 70px/1 var(--head);
  display: block;
}
.cabinet-stamp span {
  font: 11px var(--mono);
  text-transform: uppercase;
}
.honour-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin: 28px 0;
}
.honour-summary span {
  font-size: 12px;
}
.honour-summary b {
  font-family: var(--head);
  font-size: 26px;
  font-weight: normal;
  margin-right: 5px;
}
.filter-bar {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
  margin-bottom: 22px;
}
.chip {
  border: 1px solid var(--line);
  background: transparent;
  padding: 7px 12px;
  font-size: 12px;
  font-weight: bold;
}
.chip.active {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.chip:hover {
  border-color: var(--ink);
}
.result-bar {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin-bottom: 23px;
}
.compact-select {
  padding: 7px 10px;
  border: 1px solid var(--line);
  background: var(--white);
  font-size: 12px;
}
.trophy-card {
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--line);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.15s;
}
.trophy-card:hover {
  border-color: var(--ink);
  transform: translateY(-3px);
}
.trophy-card .trophy-illustration {
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 13px;
}
.trophy-card .trophy-illustration svg {
  height: 103px;
  width: 115px;
}
.trophy-card .season {
  font: 42px/1 var(--head);
  margin: 8px 0;
}
.trophy-card h3 {
  font-size: 13px;
  line-height: 1.5;
  margin: 2px 0 19px;
  min-height: 38px;
}
.trophy-card .tag {
  align-self: flex-start;
  margin-top: auto;
  font-size: 9px;
}
.trophy-card .card-arrow {
  position: absolute;
  right: 17px;
  bottom: 18px;
}
.detail-hero {
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 30px;
  align-items: center;
  margin-bottom: 30px;
}
.detail-hero .large-trophy {
  background: var(--blue);
  border: 2px solid var(--ink);
  padding: 35px;
  transform: rotate(2deg);
}
.detail-hero .large-trophy svg {
  width: 100%;
  height: 170px;
}
.detail-cols {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 34px;
}
.detail-cols h2 {
  font-size: 33px;
}
.side-note {
  background: #ece9dc;
  padding: 24px;
  height: max-content;
}
.side-note h3 {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 17px;
}
.side-note p {
  font-size: 13px;
}
.route-summary {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin: 20px 0 28px;
}
.route-summary div {
  min-width: 60px;
}
.route-summary strong {
  display: block;
  font: 31px var(--head);
}
.route-summary span {
  font: 10px var(--mono);
  text-transform: uppercase;
}
.match-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.match-row {
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr) 60px 36px;
  gap: 16px;
  align-items: center;
  padding: 16px 14px;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  background: rgba(255, 255, 255, 0.35);
}
.match-row:hover {
  background: #e9f2f3;
}
.match-row time {
  font: 11px var(--mono);
}
.match-row .opponent {
  font-weight: bold;
  font-size: 14px;
}
.match-row .stage {
  font-size: 11px;
  color: var(--muted);
  display: block;
  margin-top: 3px;
}
.match-row .score {
  font: 27px var(--head);
  text-align: center;
  white-space: nowrap;
}
.match-row .venue {
  font: 11px var(--mono);
  text-align: center;
}
.small-notes {
  font-size: 12px;
  color: var(--muted);
}
/* Badge stories */
.badge-timeline {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 9px;
  margin: 30px 0;
}
.badge-tab {
  display: block;
  border: 1px solid var(--line);
  padding: 13px 7px;
  text-align: center;
  background: var(--white);
  text-decoration: none;
}
.badge-tab.active {
  background: var(--blue);
  border: 2px solid var(--ink);
  box-shadow: 2px 2px 0 var(--ink);
  padding: 12px 6px;
}
.badge-tab svg {
  height: 90px;
  width: 100px;
  display: block;
  margin: 0 auto 10px;
}
.badge-tab strong {
  display: block;
  font: 12px var(--mono);
}
.badge-tab span {
  font-size: 10px;
  color: var(--muted);
  line-height: 1.4;
  display: block;
  margin-top: 6px;
}
.badge-story {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 48px;
  margin-top: 40px;
}
.badge-exhibit {
  background: var(--blue);
  border: 2px solid var(--ink);
  position: relative;
  padding: 35px 28px;
  height: max-content;
  text-align: center;
  box-shadow: var(--shadow);
}
.badge-exhibit svg {
  width: 270px;
  height: 270px;
  margin: 18px auto;
}
.badge-exhibit .tag {
  background: var(--paper);
}
.badge-exhibit small {
  display: block;
  font-family: var(--mono);
  font-size: 10px;
  line-height: 1.6;
}
.badge-story h2 {
  margin-bottom: 10px;
}
.badge-story h3 {
  font-size: 16px;
}
.badge-story p {
  font-size: 14px;
}
.badge-element {
  border-top: 1px solid var(--line);
  padding: 16px 0;
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 15px;
}
.badge-element .number {
  width: 27px;
  height: 27px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  font: 12px/25px var(--mono);
  text-align: center;
  background: var(--yellow);
}
.badge-element h3 {
  margin: 2px 0 8px;
}
.badge-element p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}
/* Players */
.search-filters {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 190px 170px;
  gap: 14px;
  margin: 24px 0;
}
.field label {
  font: 10px var(--mono);
  font-weight: bold;
  letter-spacing: 0.8px;
  display: block;
  margin-bottom: 7px;
  text-transform: uppercase;
}
.field input,
.field select {
  padding: 12px 13px;
  width: 100%;
  background: var(--white);
  border: 1px solid var(--ink);
  min-width: 0;
  border-radius: 0;
  font-size: 14px;
}
.player-card {
  border: 1px solid var(--line);
  background: var(--white);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  padding: 21px;
  position: relative;
  overflow: hidden;
  min-height: 263px;
  transition: transform 0.15s;
}
.player-card:hover {
  border-color: var(--ink);
  transform: translateY(-3px);
}
.player-card .player-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 22px;
}
.player-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  font: 26px var(--head);
  width: 61px;
  height: 67px;
  background: var(--blue);
  border: 1.5px solid var(--ink);
  clip-path: polygon(
    13% 0,
    87% 0,
    100% 14%,
    90% 30%,
    86% 25%,
    86% 100%,
    14% 100%,
    14% 25%,
    10% 30%,
    0 14%
  );
  flex-shrink: 0;
}
.player-card:nth-child(3n + 2) .player-avatar {
  background: var(--yellow);
}
.player-card:nth-child(3n) .player-avatar {
  background: #dfd7c0;
}
.player-card .era {
  font: 10px/1.5 var(--mono);
  color: var(--muted);
  text-align: right;
}
.player-card h3 {
  font-family: var(--head);
  font-weight: normal;
  font-size: 27px;
  line-height: 1.1;
  margin-bottom: 7px;
}
.player-card .role {
  font-size: 12px;
  color: var(--muted);
}
.player-card .caption {
  font-size: 12px;
  font-style: italic;
  line-height: 1.5;
  margin-top: 8px;
}
.player-card .meta {
  margin-top: auto;
  padding-top: 16px;
  display: flex;
  justify-content: space-between;
  font: 10px var(--mono);
  border-top: 1px solid var(--line);
}
.profile-hero {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 38px;
  margin-bottom: 40px;
  align-items: center;
}
.profile-art {
  border: 2px solid var(--ink);
  padding: 25px;
  background: var(--blue);
  box-shadow: var(--shadow);
  transform: rotate(-2deg);
  height: 280px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.profile-art .player-avatar {
  height: 168px;
  width: 155px;
  background: var(--paper);
  font-size: 63px;
  border-width: 2px;
}
.profile-art .hand {
  margin-top: 20px;
  font-size: 15px;
}
.profile-hero h1 {
  font-size: 62px;
  margin-bottom: 12px;
}
.profile-hero .lede {
  font-size: 15px;
}
.profile-stats {
  display: flex;
  gap: 20px;
  margin-top: 22px;
  flex-wrap: wrap;
}
.profile-stat {
  background: var(--white);
  border-top: 3px solid var(--ink);
  padding: 14px 18px;
  max-width: 235px;
  flex: 1;
  min-width: 170px;
}
.profile-stat strong {
  display: block;
  font: 43px var(--head);
  line-height: 1;
}
.profile-stat span {
  font-size: 12px;
  font-weight: bold;
  display: block;
  margin: 7px 0;
}
.profile-stat small {
  color: var(--muted);
  font-size: 10px;
  display: block;
  line-height: 1.5;
}
.relationship-card {
  padding: 18px;
  border: 1px solid var(--line);
  background: var(--white);
  margin-bottom: 12px;
}
.relationship-card h3 {
  font-size: 14px;
  margin: 11px 0;
}
.relationship-card p {
  font-size: 12px;
  margin-bottom: 12px;
}
.relationship-card .rel-names {
  font-weight: bold;
  font-size: 12px;
}
.relation-family {
  border-top: 3px solid var(--red);
}
.relation-match {
  border-top: 3px solid #4e95ad;
}
.relation-legacy {
  border-top: 3px dashed #7c708a;
}
.match-hero {
  padding: 32px;
  background: var(--ink);
  color: var(--paper);
  border: 2px solid var(--ink);
  margin-bottom: 32px;
}
.match-hero .eyebrow {
  color: var(--blue);
}
.scoreboard {
  display: grid;
  grid-template-columns: 1fr 160px 1fr;
  align-items: center;
  gap: 24px;
  padding: 17px 0 24px;
}
.scoreboard .team {
  font-family: var(--head);
  font-size: 39px;
  text-transform: uppercase;
  line-height: 1.1;
}
.scoreboard .team:last-child {
  text-align: right;
}
.scoreboard .big-score {
  font: 70px/1 var(--head);
  text-align: center;
  white-space: nowrap;
  color: var(--blue);
}
.match-hero .match-sub {
  font: 11px var(--mono);
  color: #c7dae4;
  border-top: 1px solid #4b6270;
  padding-top: 17px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
}
.goal-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.goal-row a {
  font-weight: bold;
}
.goal-row span {
  font-family: var(--mono);
  font-size: 12px;
}
.lineup {
  list-style: none;
  padding: 0;
  margin: 18px 0 30px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 20px;
}
.lineup li {
  border-bottom: 1px solid var(--line);
  padding: 9px 0;
  font-size: 13px;
}
.lineup li a {
  text-decoration: none;
}
.lineup li .index {
  display: inline-block;
  width: 23px;
  font: 11px var(--mono);
  color: var(--muted);
}
.fact-list {
  margin: 0;
}
.fact-list div {
  border-bottom: 1px solid var(--line);
  padding: 11px 0;
}
.fact-list dt {
  font: 10px var(--mono);
  color: var(--muted);
  margin-bottom: 5px;
  text-transform: uppercase;
}
.fact-list dd {
  font-size: 13px;
  margin: 0;
}
.save-button.saved {
  background: var(--yellow);
  color: var(--ink);
}
/* The relationship map */
.network-head {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
}
.network-head h1 {
  margin-bottom: 10px;
}
.network-head .lede {
  font-size: 15px;
  margin: 0;
}
.network-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 18px;
  margin-top: 23px;
}
.network-canvas {
  min-width: 0;
  border: 2px solid var(--ink);
  background: #e9f0ea;
  position: relative;
  overflow: hidden;
  background-image: radial-gradient(#bfcdd0 1px, transparent 1px);
  background-size: 18px 18px;
}
.network-canvas svg {
  display: block;
  width: 100%;
  height: 610px;
  touch-action: none;
  cursor: grab;
}
.network-canvas svg:active {
  cursor: grabbing;
}
.graph-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 10px;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  align-items: center;
}
.graph-toolbar .icon-button {
  width: 32px;
  height: 30px;
  font-size: 19px;
}
.graph-toolbar .help {
  font: 10px var(--mono);
  color: var(--muted);
  margin-left: auto;
}
.network-sidebar {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 22px;
  min-width: 0;
}
.network-sidebar h2 {
  font-size: 30px;
  margin: 14px 0;
}
.network-sidebar p {
  font-size: 13px;
}
.network-sidebar .hand {
  font-size: 17px;
  margin: 14px 0 21px;
}
.network-sidebar .edge-names {
  font-family: var(--head);
  font-size: 25px;
  line-height: 1.2;
}
.network-sidebar .sources {
  margin-top: 18px;
}
.network-sidebar .relation-picker {
  display: block;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
  background: none;
  width: 100%;
  font-size: 12px;
}
.network-sidebar .relation-picker b {
  display: block;
  font-size: 13px;
}
.graph-edge {
  fill: none;
  stroke-width: 2;
  opacity: 0.4;
  pointer-events: stroke;
  cursor: pointer;
}
.graph-edge.family {
  stroke: var(--red);
  stroke-width: 3;
  opacity: 0.7;
}
.graph-edge.match {
  stroke: #458aa5;
}
.graph-edge.legacy {
  stroke: #8e7786;
  stroke-dasharray: 7 5;
  opacity: 0.6;
}
.graph-edge.chosen,
.graph-edge.path {
  stroke-width: 5;
  opacity: 1;
}
.graph-edge.faded {
  opacity: 0.12;
}
.graph-node {
  cursor: pointer;
}
.graph-node rect {
  fill: var(--paper);
  stroke: var(--ink);
  stroke-width: 1.5;
}
.graph-node text {
  fill: var(--ink);
  font-family: var(--body);
  font-size: 12px;
  font-weight: bold;
  pointer-events: none;
}
.graph-node circle {
  fill: var(--blue);
  stroke: var(--ink);
  stroke-width: 1.1;
}
.graph-node .initials {
  font-family: var(--mono);
  font-size: 9px;
}
.graph-node.focused rect,
.graph-node.path rect {
  fill: var(--yellow);
  stroke-width: 2.5;
}
.graph-node.neighbour rect {
  fill: #d5e9ed;
}
.graph-node.faded {
  opacity: 0.26;
}
.graph-era {
  font: 11px var(--mono);
  letter-spacing: 2px;
  fill: #56707b;
}
.network-legend {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  font: 11px var(--mono);
  margin-top: 15px;
}
.network-legend span:before {
  content: '';
  display: inline-block;
  width: 26px;
  vertical-align: middle;
  border-top: 3px solid #458aa5;
  margin-right: 7px;
}
.network-legend .family:before {
  border-color: var(--red);
}
.network-legend .legacy:before {
  border-color: #8e7786;
  border-top-style: dashed;
}
.path-finder {
  padding: 22px;
  border: 1px solid var(--ink);
  background: var(--white);
  margin: 23px 0;
}
.path-finder h3 {
  font-family: var(--head);
  font-size: 27px;
  font-weight: normal;
  margin: 0 0 6px;
}
.path-finder p {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 17px;
}
.path-fields {
  display: grid;
  grid-template-columns: 1fr 1fr 150px;
  gap: 13px;
  align-items: end;
}
.path-result {
  margin-top: 15px;
  font-size: 13px;
}
.path-step {
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}
.path-step .tag {
  margin-left: 8px;
}
.edge-table {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}
.edge-table .relationship-card {
  margin: 0;
}
.checkbox-row {
  display: flex;
  gap: 15px;
  align-items: center;
  font-size: 12px;
  flex-wrap: wrap;
}
.checkbox-row label {
  display: flex;
  gap: 6px;
  align-items: center;
}
.checkbox-row input {
  accent-color: var(--deep);
}
/* Source desk and utilities */
.source-desk {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 45px;
}
.source-desk h2 {
  font-size: 34px;
  margin-top: 34px;
}
.source-desk h2:first-child {
  margin-top: 0;
}
.source-desk p {
  font-size: 14px;
}
.coverage-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.coverage-table td,
.coverage-table th {
  border-bottom: 1px solid var(--line);
  padding: 12px 10px;
  text-align: left;
}
.coverage-table th {
  background: var(--blue);
  font: 11px var(--mono);
  font-weight: bold;
}
.source-row {
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
}
.source-row a {
  font-size: 13px;
  font-weight: bold;
  line-height: 1.4;
  display: block;
}
.source-row small {
  font: 10px var(--mono);
  color: var(--muted);
  display: block;
  margin-top: 6px;
}
.site-footer {
  background: var(--ink);
  color: var(--paper);
  padding: 40px max(30px, calc((100vw - 1240px) / 2));
  display: grid;
  grid-template-columns: 1.2fr 0.7fr 1fr;
  gap: 36px;
  font-size: 12px;
}
.site-footer a {
  color: inherit;
}
.footer-brand {
  font: 39px var(--head);
  text-decoration: none;
}
.site-footer p {
  font-size: 13px;
  margin: 5px 0 15px;
}
.site-footer small {
  color: #c5d0d4;
  font-size: 10px;
  line-height: 1.7;
  display: block;
}
.site-footer > div:nth-child(2) {
  display: flex;
  flex-direction: column;
  gap: 11px;
  padding-top: 8px;
}
.site-footer .text-button {
  color: var(--paper);
  font-size: 12px;
}
.footer-note {
  font: 10px var(--mono);
  letter-spacing: 0.8px;
  padding-top: 8px;
}
.footer-note p {
  font: 12px/1.9 var(--body);
  letter-spacing: 0;
  margin: 13px 0;
}
.footer-note a {
  font-size: 11px;
  letter-spacing: 0;
}
dialog {
  padding: 28px;
  border: 2px solid var(--ink);
  background: var(--paper);
  width: min(680px, 92vw);
  max-height: 85vh;
  box-shadow: 8px 8px 0 rgba(0, 0, 0, 0.2);
  color: var(--ink);
}
dialog::backdrop {
  background: #182c3bb5;
  backdrop-filter: blur(3px);
}
.dialog-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}
.dialog-top h2 {
  font-size: 38px;
  margin: 0;
}
dialog input {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid var(--ink);
  background: var(--white);
}
dialog .muted {
  font-size: 12px;
  margin-top: 10px;
}
.search-result {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 5px;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  font-size: 14px;
}
.search-result small {
  font: 10px var(--mono);
  color: var(--muted);
  white-space: nowrap;
}
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  padding: 12px 22px;
  background: var(--yellow);
  border: 2px solid var(--ink);
  box-shadow: var(--shadow);
  font-size: 13px;
  z-index: 50;
  transition: transform 0.2s;
  max-width: 90vw;
  text-align: center;
  pointer-events: none;
}
.toast.visible {
  transform: translateX(-50%) translateY(0);
}
@media (min-width: 1500px) {
  .home-hero {
    padding-top: 55px;
    padding-bottom: 40px;
  }
}
@media (max-width: 1050px) {
  .site-header {
    gap: 20px;
  }
  .site-header nav {
    gap: 18px;
    font-size: 12px;
  }
  .brand {
    font-size: 39px;
  }
  .search-trigger span {
    display: none;
  }
  .home-hero {
    grid-template-columns: 1.1fr 1fr;
    gap: 0;
    min-height: 0;
  }
  .hero-copy h1 {
    font-size: 6.5vw;
  }
  .hero-copy .lede {
    font-size: 14px;
  }
  .grid4 {
    grid-template-columns: repeat(3, 1fr);
  }
  .network-layout {
    grid-template-columns: minmax(0, 1fr) 275px;
  }
  .network-canvas svg {
    height: 590px;
  }
  .badge-story {
    grid-template-columns: 310px 1fr;
    gap: 30px;
  }
  .detail-cols {
    grid-template-columns: 1fr 270px;
  }
  .feature-copy {
    padding: 30px;
  }
  .feature-copy h2 {
    font-size: 36px;
  }
}
@media (max-width: 780px) {
  .edition-strip {
    padding: 8px 20px;
    font-size: 9px;
    letter-spacing: 0.5px;
  }
  .edition-strip > span {
    display: none;
  }
  .edition-strip {
    justify-content: center;
  }
  .site-header {
    padding: 18px 20px;
    flex-wrap: wrap;
    gap: 17px;
    position: relative;
  }
  .brand {
    font-size: 40px;
  }
  .site-header nav {
    order: 3;
    width: 100%;
    justify-content: space-between;
    gap: 12px;
    font-size: 12px;
  }
  .search-trigger {
    margin-left: auto;
  }
  .search-trigger span {
    display: block;
  }
  .home-hero {
    padding: 35px 20px 28px;
    grid-template-columns: 1fr;
  }
  .hero-copy h1 {
    font-size: clamp(58px, 10.6vw, 82px);
    letter-spacing: -1px;
  }
  .hero-copy .lede {
    max-width: 570px;
    font-size: 16px;
  }
  .hero-art {
    max-width: 500px;
    margin: 0 auto;
  }
  .hero-copy {
    padding-bottom: 0;
  }
  .hero-art svg {
    max-height: 400px;
  }
  .home-body {
    padding: 0 20px;
  }
  .stat-strip {
    grid-template-columns: repeat(4, 1fr);
    padding: 24px 0;
  }
  .stat-item {
    padding: 0 13px;
  }
  .stat-item strong {
    font-size: 36px;
  }
  .stat-item span {
    font-size: 9px;
  }
  .stat-item small {
    font-size: 9px;
  }
  .grid3 {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .entry-card {
    display: grid;
    grid-template-columns: 130px 1fr;
    gap: 0 25px;
  }
  .entry-card .entry-art {
    grid-row: 1/6;
    margin: 0;
    border: 0;
    height: auto;
  }
  .entry-card .entry-art svg {
    width: 120px;
    height: 120px;
  }
  .entry-card p {
    margin-bottom: 10px;
  }
  .entry-card h3 {
    font-size: 30px;
  }
  .feature-banner {
    grid-template-columns: 1fr;
  }
  .feature-visual {
    padding: 0 25px 20px;
  }
  .feature-visual svg {
    height: 200px;
  }
  .mini-matches {
    grid-template-columns: 1fr;
  }
  .section-heading {
    align-items: start;
  }
  .section-heading .text-link {
    font-size: 12px;
    white-space: nowrap;
    margin-top: 8px;
  }
  .padded {
    padding: 35px 20px 50px;
  }
  .page-head h1 {
    font-size: 58px;
  }
  .lede {
    font-size: 16px;
  }
  .cabinet-top {
    grid-template-columns: 1fr 130px;
    gap: 15px;
  }
  .cabinet-stamp {
    padding: 13px 10px;
  }
  .cabinet-stamp strong {
    font-size: 47px;
  }
  .cabinet-stamp span {
    font-size: 9px;
  }
  .cabinet-top h1 {
    font-size: 49px;
  }
  .cabinet-top .lede {
    font-size: 14px;
  }
  .honour-summary {
    gap: 7px 18px;
  }
  .grid4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .trophy-card {
    padding: 17px;
  }
  .trophy-card .season {
    font-size: 35px;
  }
  .trophy-card .tag {
    font-size: 8px;
    max-width: 90%;
    line-height: 1.6;
  }
  .detail-hero {
    grid-template-columns: 1fr 170px;
  }
  .detail-hero h1 {
    font-size: 47px;
  }
  .detail-hero .large-trophy {
    padding: 20px;
  }
  .detail-hero .large-trophy svg {
    height: 135px;
  }
  .detail-cols {
    grid-template-columns: 1fr;
  }
  .side-note {
    margin-top: 0;
  }
  .badge-timeline {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }
  .badge-story {
    grid-template-columns: 1fr;
  }
  .badge-exhibit {
    max-width: 430px;
    margin: auto;
    width: 100%;
  }
  .badge-exhibit svg {
    height: 230px;
  }
  .search-filters {
    grid-template-columns: 1fr 1fr;
  }
  .search-filters .field:first-child {
    grid-column: 1/-1;
  }
  .player-card {
    padding: 17px;
    min-height: 235px;
  }
  .player-card h3 {
    font-size: 25px;
  }
  .player-card .player-top {
    margin-bottom: 17px;
  }
  .player-avatar {
    width: 52px;
    height: 59px;
    font-size: 23px;
  }
  .player-card .era {
    font-size: 9px;
  }
  .profile-hero {
    grid-template-columns: 150px 1fr;
    gap: 23px;
  }
  .profile-art {
    height: 205px;
    padding: 18px;
  }
  .profile-art .player-avatar {
    width: 103px;
    height: 120px;
    font-size: 42px;
  }
  .profile-art .hand {
    font-size: 13px;
  }
  .profile-hero h1 {
    font-size: 44px;
  }
  .profile-hero .lede {
    font-size: 13px;
  }
  .profile-stats {
    gap: 10px;
  }
  .profile-stat {
    min-width: 130px;
    padding: 13px;
  }
  .profile-stat strong {
    font-size: 32px;
  }
  .scoreboard {
    grid-template-columns: 1fr 110px 1fr;
    gap: 12px;
  }
  .scoreboard .team {
    font-size: 30px;
  }
  .scoreboard .big-score {
    font-size: 56px;
  }
  .match-hero {
    padding: 23px;
  }
  .network-head {
    display: block;
  }
  .network-head .tag {
    margin-top: 15px;
  }
  .network-layout {
    grid-template-columns: 1fr;
  }
  .network-canvas svg {
    height: 490px;
  }
  .network-sidebar {
    min-height: 0;
  }
  .network-sidebar p {
    max-width: 650px;
  }
  .path-fields {
    grid-template-columns: 1fr 1fr;
  }
  .path-fields .button {
    grid-column: 1/-1;
  }
  .edge-table {
    grid-template-columns: 1fr;
  }
  .source-desk {
    grid-template-columns: 1fr;
  }
  .site-footer {
    padding: 30px 20px;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
  .footer-note {
    grid-column: 1/-1;
  }
  .match-row {
    grid-template-columns: 78px minmax(0, 1fr) 48px 24px;
    gap: 10px;
    padding: 14px 8px;
  }
  .match-row time {
    font-size: 10px;
  }
  .match-row .opponent {
    font-size: 13px;
  }
  .match-row .stage {
    font-size: 10px;
  }
  .result-bar {
    font-size: 11px;
  }
  .count-note {
    font-size: 11px;
  }
}
@media (max-width: 410px) {
  .site-header nav {
    font-size: 11px;
    gap: 7px;
  }
  .hero-copy h1 {
    font-size: 57px;
  }
  .hero-copy .actions {
    gap: 9px;
  }
  .hero-copy .button {
    font-size: 12px;
    padding: 11px 16px;
    gap: 14px;
  }
  .hero-art svg {
    max-height: 320px;
  }
  .stat-strip {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  .stat-item:nth-child(3) {
    padding-left: 0;
  }
  .stat-item:nth-child(2) {
    border: 0;
  }
  .entry-card {
    grid-template-columns: 90px 1fr;
    gap: 0 17px;
    padding: 20px 17px;
  }
  .entry-card .entry-art svg {
    width: 90px;
    height: 100px;
  }
  .entry-card h3 {
    font-size: 27px;
  }
  .entry-card p {
    font-size: 12px;
  }
  .cabinet-top {
    grid-template-columns: 1fr 105px;
  }
  .cabinet-top h1 {
    font-size: 42px;
  }
  .trophy-card .season {
    font-size: 31px;
  }
  .profile-hero {
    grid-template-columns: 1fr;
  }
  .profile-art {
    width: 185px;
    height: 206px;
    margin: 0 auto;
  }
  .profile-hero h1 {
    font-size: 49px;
  }
  .player-card .player-top {
    gap: 5px;
  }
  .player-card .era {
    font-size: 8px;
  }
  .player-card h3 {
    font-size: 23px;
  }
  .player-card .meta {
    font-size: 9px;
    gap: 4px;
  }
  .detail-hero {
    grid-template-columns: 1fr;
  }
  .detail-hero .large-trophy {
    display: none;
  }
  .lineup {
    grid-template-columns: 1fr;
  }
  .scoreboard {
    grid-template-columns: 1fr 88px 1fr;
  }
  .scoreboard .team {
    font-size: 24px;
  }
  .scoreboard .big-score {
    font-size: 44px;
  }
  .match-hero {
    padding: 19px;
  }
  .badge-tab strong {
    font-size: 10px;
  }
  .badge-tab svg {
    height: 76px;
  }
  .site-footer {
    grid-template-columns: 1fr;
  }
  .footer-note {
    grid-column: auto;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}
@media print {
  .edition-strip,
  .site-header,
  .site-footer,
  .actions,
  .filter-bar,
  .search-filters,
  .save-button,
  .graph-toolbar,
  .path-finder {
    display: none !important;
  }
  body {
    background: white;
    color: black;
    font-size: 11pt;
  }
  .padded {
    padding: 0;
  }
  .detail-cols,
  .source-desk {
    display: block;
  }
  .match-row {
    break-inside: avoid;
  }
  .network-canvas svg {
    height: 700px;
  }
  .network-layout {
    grid-template-columns: 1fr;
  }
  .network-sidebar {
    break-before: page;
  }
  h1 {
    font-size: 32pt;
  }
  .profile-art {
    box-shadow: none;
  }
  .paper-card {
    box-shadow: none;
  }
  .grid4 {
    grid-template-columns: repeat(3, 1fr);
  }
}
/* Use installed system faces only; no font files or third-party requests. */
@font-face {
  font-family: 'Citeh Display';
  src:
    local('Impact'), local('Noto Sans Display ExtraCondensed Black'),
    local('NotoSansDisplay-ExtraCondensedBlack'), local('DejaVu Sans Condensed Bold');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
:root {
  --head: 'Citeh Display', Impact, 'Arial Black', sans-serif;
}
main:focus,
main:focus-visible {
  outline: none;
}
.hero-copy h1 span {
  white-space: nowrap;
}
.toast {
  opacity: 0;
  visibility: hidden;
}
.toast.visible {
  opacity: 1;
  visibility: visible;
}
/* Keep grid intrinsic sizes from pushing narrow screens sideways. */
main#main:focus,
main#main:focus-visible {
  outline: none;
}
.hero-copy {
  min-width: 0;
}
@media (max-width: 780px) {
  .home-hero {
    grid-template-columns: minmax(0, 1fr);
  }
  .entry-card .entry-art {
    min-width: 0;
    overflow: hidden;
  }
}
@media (max-width: 410px) {
  .scoreboard {
    grid-template-columns: minmax(0, 1fr) 88px;
    gap: 12px 16px;
  }
  .scoreboard .team:first-child {
    grid-column: 1;
    grid-row: 1;
  }
  .scoreboard .team:last-child {
    grid-column: 1;
    grid-row: 2;
    text-align: left;
  }
  .scoreboard .big-score {
    grid-column: 2;
    grid-row: 1 / span 2;
  }
  .scoreboard .team {
    font-size: 28px;
    overflow-wrap: break-word;
  }
}
.graph-node.focused rect {
  fill: var(--yellow);
}
@media (max-width: 780px) {
  .entry-card .entry-art .player-avatar {
    width: 61px !important;
    height: 72px !important;
    font-size: 27px !important;
  }
}
@media (max-width: 410px) {
  .entry-card .entry-art .player-avatar {
    width: 44px !important;
    height: 55px !important;
    font-size: 22px !important;
  }
}

/* Second edition: retain the original fanzine palette, drawings and page language. */
@font-face {
  font-family: 'Citeh Display';
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  src: url('fonts/display-0.woff2') format('woff2');
}
@font-face {
  font-family: 'Citeh Display';
  font-weight: 800;
  font-style: normal;
  font-display: swap;
  src: url('fonts/display-1.woff2') format('woff2');
}
:root {
  --head: 'Citeh Display', Impact, 'Arial Narrow', sans-serif;
  --paper: #f7f5ee;
  --muted: #455e6e;
}
h1,
h2,
.display,
.brand,
.footer-brand,
.stat-item strong,
.cabinet-stamp strong,
.season {
  font-weight: 800;
}
h3,
.path-finder h3 {
  font-weight: 700;
}
body {
  background-image: radial-gradient(#182c3b05 0.6px, transparent 0.6px);
  background-size: 6px 6px;
}
.site-header {
  padding-top: 25px;
  padding-bottom: 25px;
}
.site-header nav {
  gap: 24px;
  font-size: 13px;
}
.site-header nav a {
  padding-block: 9px;
}
.brand small {
  font-size: 22px;
  letter-spacing: -0.5px;
}
.home-hero {
  padding-top: 52px;
  padding-bottom: 42px;
}
.hero-copy h1 {
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.028em;
  font-size: clamp(60px, 6.1vw, 88px);
}
.hero-copy .lede {
  max-width: 490px;
}
.hero-art {
  transform: rotate(1deg);
}
.edition-note {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}
.edition-note a {
  margin-left: auto;
  font-weight: bold;
}
.paper-card,
.player-card,
.trophy-card {
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease;
}
.paper-card:hover,
.player-card:hover,
.trophy-card:hover {
  transform: translate(-2px, -3px);
  box-shadow: 5px 6px 0 var(--blue);
}
.trophy-illustration {
  background: radial-gradient(ellipse at center, #e5f0ed 0%, transparent 70%);
}
.player-card {
  border-top: 4px solid var(--ink);
}
.player-card:nth-child(3n + 2) {
  border-top-color: #73b6d2;
}
.player-card:nth-child(3n) {
  border-top-color: #d4b737;
}
.player-avatar {
  box-shadow: 3px 3px 0 #182c3b1a;
}
.profile-stat small {
  font-size: 11px;
  line-height: 1.4;
  display: block;
}
.source-row a,
.network-sidebar h2 {
  overflow-wrap: anywhere;
}
.coverage-table th {
  text-align: left;
}
.map-tabs {
  display: flex;
  gap: 8px;
  border-bottom: 2px solid var(--ink);
  margin: 28px 0 24px;
  flex-wrap: wrap;
}

/* Match history opens a complete reading page, with only sourced fields. */
.fixture-record .match-hero {
  margin-bottom: 0;
}
.fixture-record .scoreboard .team small {
  display: block;
  margin-top: 12px;
  font: 11px var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.fixture-result-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 30px;
  background: var(--blue);
  border: 1px solid var(--ink);
  border-top: 0;
  padding: 14px 20px;
  font-size: 13px;
}
.fixture-actions {
  margin: 24px 0 36px;
}
.fixture-section {
  margin: 0 0 38px;
}
.fixture-section > h2 {
  margin-bottom: 18px;
}
.fixture-section > .fact-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 28px;
}
.fixture-section > .fact-list > div {
  min-width: 0;
}
.fixture-section dd {
  overflow-wrap: anywhere;
}
.fixture-teams {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.fixture-team {
  border: 1px solid var(--line);
  background: var(--white);
  padding: 20px;
  min-width: 0;
}
.fixture-team.city-team {
  border-top: 5px solid var(--blue);
}
.fixture-team h3 {
  font: 28px/1.1 var(--head);
  margin: 0 0 12px;
}
.fixture-team h4 {
  margin: 24px 0 12px;
  font-size: 14px;
}
.fixture-lineup {
  list-style: none;
  padding: 0;
  margin: 0;
}
.fixture-lineup li {
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}
.fixture-lineup .tag {
  margin-left: 6px;
  font-size: 8px;
}
.fixture-subs {
  list-style: none;
  margin: 0;
  padding: 0;
}
.fixture-subs li {
  display: grid;
  grid-template-columns: 45px 1fr;
  gap: 10px;
  margin: 12px 0;
  font-size: 12px;
}
.fixture-subs li > span {
  font: bold 11px var(--mono);
}
.fixture-subs b {
  font-size: 10px;
  text-transform: uppercase;
}
.fixture-goals {
  list-style: none;
  padding: 0;
  margin: 0;
}
.fixture-goals li {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 18px;
  padding: 18px;
  border-bottom: 1px solid var(--line);
}
.fixture-goals li.city-goal {
  background: #a6d9ee38;
  border-left: 4px solid var(--blue);
  padding-left: 14px;
}
.fixture-goals .goal-minute {
  font: 30px/1 var(--head);
}
.fixture-goals small {
  display: block;
  font-size: 11px;
  margin-top: 4px;
}
.fixture-cards {
  list-style: none;
  margin: 0;
  padding: 0;
}
.fixture-cards li {
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}
.fixture-cards span {
  display: inline-block;
  min-width: 45px;
  font-family: var(--mono);
}
.fixture-coverage {
  font-size: 12px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  padding-top: 18px;
}
.fixture-return-heading {
  margin-top: 28px;
}
.fixture-return {
  display: block;
  font-weight: bold;
}
.fixture-return span {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  font-weight: normal;
}
.fixture-opponent-note {
  margin-top: 24px;
}
@media (max-width: 700px) {
  .fixture-teams {
    grid-template-columns: 1fr;
  }
  .fixture-section > .fact-list {
    grid-template-columns: 1fr;
  }
  .fixture-record .scoreboard {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 18px;
  }
  .fixture-record .scoreboard .team {
    font-size: clamp(18px, 5vw, 30px);
    overflow-wrap: anywhere;
  }
  .fixture-record .scoreboard .team:first-child {
    grid-column: 1;
    grid-row: 1;
    text-align: left;
  }
  .fixture-record .scoreboard .team:last-child {
    grid-column: 1;
    grid-row: 2;
    text-align: left;
  }
  .fixture-record .scoreboard .big-score {
    grid-column: 2;
    grid-row: 1 / 3;
    font-size: clamp(38px, 10vw, 60px);
  }
  .fixture-result-strip {
    gap: 8px 18px;
    font-size: 12px;
  }
}
.map-tabs a {
  padding: 12px 19px;
  text-decoration: none;
  font-size: 14px;
  font-weight: bold;
  border: 1px solid var(--ink);
  border-bottom: 0;
}
.map-tabs a[aria-current] {
  background: var(--ink);
  color: var(--paper);
}
.map-stamp {
  background: var(--yellow);
  border: 2px solid var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
  padding: 15px;
  min-width: 160px;
  transform: rotate(3deg);
  font: 11px var(--mono);
  text-align: center;
  line-height: 1.8;
  margin: 0 8px 8px;
}
.map-stamp strong {
  display: block;
  font: 800 52px/1 var(--head);
}
.map-start {
  background: var(--blue);
  padding: 24px;
  border: 1px solid var(--ink);
}
.map-start label {
  display: block;
  font: 700 26px var(--head);
  margin-bottom: 12px;
}
.map-focus-fields {
  display: grid;
  grid-template-columns: 1fr 1.3fr auto;
  gap: 12px;
}
.map-focus-fields input,
.map-focus-fields select,
.map-path select {
  min-width: 0;
  width: 100%;
  border: 1px solid var(--ink);
  padding: 12px;
  background: var(--white);
  border-radius: 0;
  color: var(--ink);
  font-size: 14px;
}
.map-start .small-notes {
  margin: 13px 0 0;
  color: var(--ink);
}
.map-path {
  border: 1px solid var(--line);
  background: var(--white);
  padding: 18px 24px;
  margin: 16px 0 24px;
}
.map-path summary {
  font-weight: bold;
  cursor: pointer;
  min-height: 30px;
}
.map-path form {
  margin-top: 18px;
}
.map-opt {
  display: block;
  font-size: 13px;
  margin-top: 16px;
}
.archive-map .network-layout {
  grid-template-columns: minmax(0, 1fr) 300px;
}
.archive-map .network-canvas svg {
  height: auto;
  min-height: 420px;
  aspect-ratio: 1.7;
  touch-action: pan-y;
}
.map-node {
  cursor: pointer;
}
.map-node rect {
  fill: var(--white);
  stroke: var(--ink);
  stroke-width: 2;
}
.map-node.kind-player rect {
  fill: #d9eef6;
}
.map-node.kind-match rect {
  fill: #f7f5ee;
}
.map-node.kind-manager rect {
  fill: #e7dfeb;
}
.map-node.kind-honour rect {
  fill: #fff1a0;
}
.map-node.kind-campaign rect {
  fill: #ddebdc;
}
.map-node.kind-era rect {
  fill: #ede8da;
}
.map-node.kind-club rect {
  fill: #f4ddd7;
}
.map-node.selected rect {
  fill: var(--yellow);
  stroke-width: 3;
}
.map-node text {
  font: 700 15px var(--body);
  fill: var(--ink);
  pointer-events: none;
}
.map-node .map-node-kind {
  font: 11px var(--mono);
  letter-spacing: 1px;
}
.map-node:hover rect,
.map-node:focus rect {
  stroke: var(--red);
  stroke-width: 4;
}
.map-edge-hit {
  fill: none;
  stroke: transparent;
  stroke-width: 24;
  pointer-events: stroke;
  cursor: pointer;
}
.map-edge {
  fill: none;
  stroke: #527e93;
  stroke-width: 3;
  pointer-events: none;
}
.map-edge.editorial {
  stroke-dasharray: 8 7;
  stroke: #846e7d;
}
.map-edge.selected,
[data-amedge]:focus .map-edge,
[data-amedge]:hover .map-edge {
  stroke: var(--red);
  stroke-width: 5;
}
.map-pagination {
  border-top: 1px solid var(--line);
  background: var(--paper);
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font: 11px var(--mono);
}
.map-pagination span {
  text-align: center;
}
.map-endpoints {
  display: grid;
  gap: 12px;
  margin: 20px 0;
}
.map-endpoints button {
  text-align: left;
  font-size: 15px;
}
.map-record-pair {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
}
.map-record-pair button {
  text-align: left;
}
.map-key {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  margin-top: 18px;
}
.map-key span {
  font-weight: bold;
}
.archive-map .edge-table {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.archive-map .edge-table h3 {
  font: 700 24px var(--head);
}
.archive-map .edge-table p {
  font-size: 13px;
}
button,
input,
select {
  min-height: 44px;
}
.graph-toolbar .icon-button {
  width: 44px;
  height: 44px;
}
#main:focus {
  outline: none;
}
@media (min-width: 1100px) {
  .network-sidebar {
    align-self: start;
    position: sticky;
    top: 18px;
  }
}
@media (max-width: 1050px) {
  .site-header nav {
    gap: 13px;
    font-size: 12px;
  }
  .archive-map .network-layout {
    grid-template-columns: 1fr;
  }
  .archive-map .network-sidebar {
    display: block;
  }
  .map-focus-fields {
    grid-template-columns: 1fr 1fr;
  }
  .map-focus-fields button {
    grid-column: 1/-1;
  }
  .archive-map .edge-table {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 780px) {
  .site-header nav {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3px 12px;
    justify-items: start;
  }
  .site-header nav a {
    padding: 8px 0;
  }
  .home-hero {
    padding-top: 35px;
  }
  .hero-copy h1 {
    font-size: clamp(52px, 10.6vw, 76px);
  }
  .edition-note {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 10px;
  }
  .edition-note a {
    margin-left: 0;
    width: 100%;
  }
  .map-stamp {
    display: none;
  }
  .map-focus-fields {
    grid-template-columns: 1fr;
  }
  .map-start,
  .map-path {
    padding: 18px;
  }
  .map-tabs a {
    padding: 12px;
    font-size: 12px;
  }
  .archive-map .edge-table {
    grid-template-columns: 1fr;
  }
  .archive-map .network-canvas svg {
    min-height: 270px;
  }
  .map-pagination {
    gap: 5px;
    padding: 9px;
  }
  .map-pagination button {
    padding: 9px;
    font-size: 11px;
  }
  .map-path .path-fields {
    grid-template-columns: 1fr;
  }
  .map-tabs {
    margin-top: 22px;
  }
  .network-head h1 {
    font-size: clamp(45px, 8vw, 66px);
  }
}
@media (max-width: 410px) {
  .hero-copy h1 {
    font-size: 52px;
  }
  .brand {
    font-size: 41px;
  }
  .brand small {
    font-size: 21px;
  }
  .page-head h1 {
    font-size: 46px;
  }
  .cabinet-top {
    grid-template-columns: 1fr;
  }
  .cabinet-stamp {
    display: none;
  }
  .graph-toolbar .help {
    width: 100%;
    margin-left: 0;
  }
  .archive-map .network-canvas svg {
    min-height: 250px;
  }
  .map-focus-fields input,
  .map-focus-fields select,
  .map-path select {
    font-size: 16px;
  }
  .map-pagination span {
    font-size: 10px;
  }
  .path-fields {
    grid-template-columns: 1fr;
  }
  .search-filters {
    grid-template-columns: 1fr;
  }
  .profile-stat {
    min-width: 0;
    flex: 1;
  }
  .site-header nav {
    font-size: 12px;
  }
}
@media (max-width: 599px) {
  .archive-map .network-canvas svg {
    min-height: 0;
    aspect-ratio: auto;
  }
  .archive-map .network-sidebar {
    scroll-margin-top: 15px;
  }
}

/* Edition three: the club scrapbook. Original paper, ink and moon artwork. */
[hidden] {
  display: none !important;
}
.site-header {
  flex-wrap: wrap;
  column-gap: 26px;
  row-gap: 12px;
}
.site-header nav {
  flex: 1;
  justify-content: center;
  gap: 22px;
  flex-wrap: wrap;
}
.site-header nav a {
  white-space: nowrap;
}
.home-hero {
  position: relative;
}
.hero-art {
  position: relative;
}
.hero-art::after {
  content: '100% CITY.\A A BIT WONKY.';
  white-space: pre;
  position: absolute;
  right: 0;
  bottom: 3%;
  font: bold 12px/1.4 var(--mono);
  background: var(--yellow);
  padding: 10px 14px;
  border: 2px solid var(--ink);
  transform: rotate(7deg);
  box-shadow: 3px 3px 0 var(--ink);
}
.edition-note .tag {
  transform: rotate(-3deg);
}
.paper-card,
.player-card {
  border-radius: 2px 5px 3px 7px;
}
.entry-art {
  position: relative;
}
.entry-art::before {
  content: '';
  position: absolute;
  width: 55px;
  height: 15px;
  background: #e4d690a8;
  top: 10px;
  left: 7px;
  transform: rotate(-12deg);
}
.team-switch {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 24px 0;
  font-weight: bold;
}
.team-switch select {
  background: var(--white);
  border: 2px solid var(--ink);
  padding: 9px 38px 9px 14px;
  min-height: 44px;
}
.scrapbook-intro {
  margin: 50px 0;
  background: var(--ink);
  color: var(--paper);
  border: 2px solid var(--ink);
  padding: 38px;
  position: relative;
}
.scrapbook-intro::before {
  content: '';
  width: 105px;
  height: 26px;
  background: #e8d98cbf;
  transform: rotate(-5deg);
  position: absolute;
  top: -13px;
  left: 38%;
}
.scrapbook-heading {
  display: grid;
  grid-template-columns: 1fr 250px;
  gap: 80px;
  align-items: center;
}
.scrapbook-heading h2 {
  font-size: clamp(38px, 4vw, 62px);
  margin-bottom: 18px;
}
.scrapbook-heading p {
  max-width: 650px;
}
.scrapbook-heading .eyebrow {
  color: var(--blue);
}
.archive-ticket {
  background: var(--yellow);
  border: 2px solid var(--paper);
  outline: 2px solid var(--ink);
  color: var(--ink);
  transform: rotate(4deg);
  padding: 24px;
  text-align: center;
  font: bold 12px/1.5 var(--mono);
  box-shadow: 7px 7px 0 #ffffff25;
}
.archive-ticket strong {
  display: block;
  font: 800 59px/0.95 var(--head);
  border-top: 1px dashed var(--ink);
  border-bottom: 1px dashed var(--ink);
  margin: 14px 0;
  padding: 14px 0;
}
.archive-ticket a {
  display: block;
  margin-top: 15px;
}
.scrap-door-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 35px;
}
.scrap-door {
  display: block;
  background: var(--paper);
  color: var(--ink);
  border: 2px solid var(--paper);
  padding: 22px 18px 38px;
  text-decoration: none;
  position: relative;
}
.scrap-door:nth-child(even) {
  background: var(--blue);
  border-color: var(--blue);
}
.scrap-door h3 {
  font-family: var(--head);
  font-size: 29px;
  margin: 12px 0;
}
.scrap-door small {
  font: bold 11px var(--mono);
  letter-spacing: 0.07em;
}
.scrap-door p {
  font-size: 13px;
  margin: 0;
}
.scrap-door > span {
  position: absolute;
  right: 16px;
  bottom: 8px;
  font-size: 26px;
}
.scrap-door:hover {
  border-color: var(--yellow);
}
.desk-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 25px;
  border-block: 1px solid var(--ink);
  padding: 16px 0;
  margin: 22px 0;
  font-weight: bold;
}
.history-filters {
  grid-template-columns: minmax(0, 2fr) minmax(140px, 1fr);
}
.scrap-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
  margin-top: 32px;
}
.scrap-card {
  display: block;
  border: 2px solid var(--ink);
  border-radius: 3px 7px 4px 2px;
  padding: 30px 24px 25px;
  background: var(--white);
  text-decoration: none;
  box-shadow: 4px 5px 0 var(--ink);
  position: relative;
}
.scrap-card::before {
  content: '';
  position: absolute;
  width: 65px;
  height: 19px;
  background: #e8d990b8;
  top: -10px;
  left: 24px;
  transform: rotate(-6deg);
}
.scrap-card:nth-child(3n + 2) {
  background: #e4f0f1;
}
.scrap-card:nth-child(3n) {
  border-radius: 5px 2px 8px 2px;
}
.scrap-number {
  display: block;
  font: 800 35px/1.1 var(--head);
  margin-bottom: 20px;
}
.scrap-card h3 {
  font: 800 31px/1.08 var(--head);
  margin: 18px 0;
}
.scrap-card p {
  font-size: 14px;
}
.scrap-card:hover {
  box-shadow: 6px 7px 0 var(--red);
}
.story-sheet .page-head {
  max-width: 900px;
}
.story-body {
  padding-top: 32px;
  font-size: 18px;
  line-height: 1.8;
}
.story-body p {
  margin-bottom: 26px;
}
.related-link {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  font-weight: bold;
}
.club-timeline {
  margin-top: 40px;
}
.club-timeline > article {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 35px;
  position: relative;
}
.club-timeline > article > div:last-child {
  border-left: 2px solid var(--ink);
  padding: 0 0 32px 35px;
  position: relative;
}
.club-timeline > article > div:last-child::before {
  content: '';
  width: 15px;
  height: 15px;
  border: 2px solid var(--ink);
  background: var(--yellow);
  position: absolute;
  left: -10px;
  top: 5px;
  transform: rotate(10deg);
}
.timeline-date {
  font: 800 27px/1.1 var(--head);
  text-align: right;
}
.club-timeline h3 {
  font: 800 30px/1.1 var(--head);
}
.club-timeline .sources {
  margin: 10px 0 0;
}
.manager-row {
  display: grid;
  grid-template-columns: 65px 1fr 40px;
  gap: 25px;
  align-items: center;
  border-top: 1px solid var(--ink);
  padding: 25px 0;
  text-decoration: none;
}
.manager-row h2 {
  margin: 8px 0;
  font-size: 36px;
}
.manager-row p {
  margin: 0;
  max-width: 800px;
  font-size: 14px;
}
.manager-row small {
  font-family: var(--mono);
}
.ledger-index {
  font: 800 34px var(--head);
  background: var(--blue);
  transform: rotate(-4deg);
  text-align: center;
  border: 2px solid var(--ink);
}
.season-books {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.season-book {
  display: flex;
  color: var(--ink);
  text-decoration: none;
  border: 2px solid var(--ink);
  background: var(--blue);
  box-shadow: 3px 4px 0 var(--ink);
  min-width: 0;
}
.season-book:nth-child(3n + 2) {
  background: #e4e8dc;
}
.season-book.champion {
  background: var(--yellow);
}
.book-spine {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  padding: 14px 7px;
  font: bold 10px var(--mono);
  letter-spacing: 0.08em;
  border-left: 1px solid var(--ink);
  background: #00000008;
}
.season-book > div {
  padding: 22px;
  position: relative;
  flex: 1;
}
.season-book h3 {
  font: 800 40px/1 var(--head);
  margin: 20px 0 12px;
}
.season-book p {
  font-weight: bold;
  font-size: 14px;
  margin-bottom: 3px;
}
.season-book div > span:last-of-type {
  font-size: 12px;
}
.season-book b {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 23px;
}
.season-book:hover {
  box-shadow: 5px 6px 0 var(--red);
}
.ledger-pagination {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  margin: 32px 0;
}
.ledger-pagination > span {
  font: 12px var(--mono);
  text-align: center;
}
.license-note {
  font-size: 12px;
  border-top: 1px solid var(--line);
  margin-top: 35px;
  padding-top: 24px;
  color: var(--muted);
}
.license-note p {
  margin: 8px 0;
  max-width: 900px;
}
.season-heading {
  display: flex;
  align-items: flex-start;
  gap: 30px;
}
.season-heading .page-head {
  flex: 1;
}
.season-seal {
  background: var(--yellow);
  width: 180px;
  flex-shrink: 0;
  border: 3px double var(--ink);
  padding: 15px;
  transform: rotate(5deg);
  text-align: center;
  font: bold 11px var(--mono);
}
.season-seal strong {
  display: block;
  font: 800 80px/1.1 var(--head);
}
.league-totals {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 1px;
  border: 2px solid var(--ink);
  background: var(--ink);
  margin-bottom: 12px;
}
.league-totals > div {
  background: var(--white);
  text-align: center;
  padding: 18px 5px;
}
.league-totals strong {
  display: block;
  font: 800 38px/1 var(--head);
}
.league-totals span {
  font: bold 11px var(--mono);
}
.ledger-results {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 32px;
}
.ledger-result {
  display: grid;
  grid-template-columns: 34px 1fr 55px 16px;
  align-items: center;
  gap: 16px;
  border-top: 1px solid var(--line);
  padding: 16px 0;
  text-decoration: none;
}
.ledger-result > span:nth-child(2) {
  font-weight: bold;
  font-size: 15px;
}
.ledger-result small {
  display: block;
  font-size: 11px;
  font-weight: normal;
  color: var(--muted);
}
.ledger-result strong {
  font: 800 27px var(--head);
  text-align: center;
}
.result-disc {
  border: 1px solid var(--ink);
  padding: 4px;
  font: bold 12px var(--mono);
  text-align: center;
}
.result-disc.win {
  background: var(--blue);
}
.result-disc.loss {
  background: #eed2ca;
}
.result-disc.draw {
  background: #eee6c4;
}
.opponent-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 30px;
}
.opponent-card {
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--ink);
}
.opponent-card h2 {
  font-size: 32px;
}
.opponent-totals {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin: 25px 0;
}
.opponent-totals b {
  display: block;
  font: 800 30px/1 var(--head);
}
.opponent-totals span {
  font-size: 11px;
}
.opponent-history {
  max-height: 500px;
  overflow: auto;
}
.opponent-history a {
  display: block;
  font: 12px var(--mono);
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
@media (max-width: 1150px) {
  .site-header nav {
    order: 3;
    flex: 1 0 100%;
    gap: 12px 24px;
  }
  .search-trigger {
    margin-left: auto;
  }
  .scrapbook-heading {
    gap: 40px;
  }
  .scrap-door-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 780px) {
  .site-header nav {
    display: flex;
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 10px;
    gap: 22px;
  }
  .site-header nav a {
    font-size: 13px;
  }
  .scrapbook-intro {
    padding: 25px;
    margin: 35px 0;
  }
  .scrapbook-heading {
    grid-template-columns: 1fr 150px;
    gap: 22px;
  }
  .archive-ticket {
    padding: 14px;
    font-size: 10px;
  }
  .archive-ticket strong {
    font-size: 43px;
  }
  .scrap-grid,
  .season-books,
  .opponent-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .season-heading {
    flex-direction: column;
    gap: 0;
  }
  .season-seal {
    display: none;
  }
  .ledger-results {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 520px) {
  .scrapbook-heading {
    grid-template-columns: 1fr;
  }
  .archive-ticket {
    display: none;
  }
  .scrap-door-grid {
    gap: 12px;
  }
  .scrap-door {
    padding: 17px 12px 35px;
  }
  .scrap-door h3 {
    font-size: 25px;
  }
  .scrap-door p {
    font-size: 12px;
  }
  .scrap-grid,
  .season-books,
  .opponent-grid {
    grid-template-columns: 1fr;
  }
  .history-filters {
    grid-template-columns: 1fr;
  }
  .club-timeline > article {
    grid-template-columns: 65px 1fr;
    gap: 18px;
  }
  .club-timeline > article > div:last-child {
    padding-left: 22px;
  }
  .timeline-date {
    font-size: 19px;
  }
  .club-timeline h3 {
    font-size: 27px;
  }
  .manager-row {
    grid-template-columns: 35px 1fr 15px;
    gap: 16px;
  }
  .ledger-index {
    font-size: 24px;
  }
  .manager-row h2 {
    font-size: 31px;
  }
  .league-totals strong {
    font-size: 27px;
  }
  .league-totals > div {
    padding-block: 13px;
  }
  .ledger-pagination {
    flex-wrap: wrap;
  }
  .ledger-pagination .button {
    padding: 10px;
    font-size: 12px;
  }
  .hero-art::after {
    font-size: 9px;
    padding: 6px 10px;
  }
}
@media (max-width: 780px) {
  .site-header nav {
    flex-wrap: wrap;
    overflow: visible;
    gap: 5px 19px;
    padding-bottom: 0;
  }
  .site-header nav a {
    font-size: 12px;
    min-height: 35px;
    display: inline-flex;
    align-items: center;
  }
}
