:root {
  color-scheme: light;
  --ink: #111;
  --paper: #fff;
  --muted: #707070;
  --line: #e3e3e3;
  --sans: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --radius-control: 7px;
  --radius-panel: 12px;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-6: 24px;
  --space-8: 32px;
  --container: min(100% - 64px, 1600px);
  --page-inset: clamp(18px, 2vw, 28px);
  --page-end: clamp(32px, 4vw, 48px);
  --section-space: clamp(20px, 2.25vw, 30px);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-padding-top: 90px; }
body {
  margin: 0;
  min-width: 300px;
  background: var(--paper);
  color: var(--ink);
  font: 400 14px/1.5 var(--sans);
  -webkit-font-smoothing: antialiased;
  isolation: isolate;
}
h1, h2, h3, p { margin: 0; }
a { color: inherit; }
button, select, input, textarea { color: inherit; font: inherit; }
button, select { cursor: pointer; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 2px solid var(--accent, #365e78); outline-offset: 3px; }
main:focus, [tabindex="-1"]:focus { outline: none; }
.container { width: var(--container); margin-inline: auto; }
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  white-space: nowrap;
  clip-path: inset(50%);
}
.skip-link {
  position: fixed;
  z-index: 5;
  top: 10px;
  left: 14px;
  padding: 9px 14px;
  color: var(--paper);
  background: var(--ink);
  transform: translateY(-160%);
}
.skip-link:focus { transform: none; }

.site-header {
  position: sticky;
  z-index: 3;
  top: 12px;
  width: calc(100% - 24px);
  margin: 12px auto 0;
  border: 1px solid rgba(255, 255, 255, .85);
  border-radius: 24px;
  background: linear-gradient(120deg, rgba(255,255,255,.18), rgba(242,246,250,.06) 55%, rgba(255,255,255,.14));
  -webkit-backdrop-filter: blur(14px) saturate(165%);
  backdrop-filter: blur(14px) saturate(165%);
  box-shadow: 0 6px 24px rgba(29,45,61,.08), inset 0 1px 0 #fff, inset 0 -1px 0 rgba(255,255,255,.6);

}
.header-inner {
  display: flex;
  width: 100%;
  height: 64px;
  padding-inline: 22px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.wordmark {
  color: #000;
  font-size: 24px;
  line-height: 1;
  font-weight: 600;
  letter-spacing: -1.3px;
  text-decoration: none;
  white-space: nowrap;
}
.site-nav { display: flex; align-items: center; gap: 6px; }
.site-nav a {
  display: flex;
  align-items: center;
  min-height: 42px;
  padding: 10px 16px;
  border-radius: 16px;
  font-size: 12px;
  text-decoration: none;
  white-space: nowrap;
  transition: background .18s ease, box-shadow .18s ease;
}
.site-nav a:hover { background: rgba(255,255,255,.6); }
.site-nav a[aria-current] { background: rgba(255,255,255,.3); box-shadow: 0 2px 8px rgba(30,45,60,.06), inset 0 0 0 1px rgba(255,255,255,.9); }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .site-header { background: rgba(250,252,254,.96); }
}

.home { max-width: 1280px; padding-block: 42px 48px; min-height: calc(100vh - 149px); }
.home-intro { display: flex; align-items: end; justify-content: space-between; gap: 28px; margin-bottom: 38px; }
.home-intro h1 { font-size: clamp(28px, 3.2vw, 42px); font-weight: 500; letter-spacing: -1.4px; line-height: 1.08; }
.home-intro > p { font-size: 13px; color: var(--muted); line-height: 1.55; }
.home-collections { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.collection-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; border-top: 1px solid var(--ink); padding-block: 14px 18px; text-decoration: none; }
.collection-heading h2 { font-size: 21px; font-weight: 500; letter-spacing: -.5px; line-height: 1.2; }
.collection-heading p { margin-top: 3px; font-size: 11px; color: var(--muted); }
.collection-explore { font-size: 12px; white-space: nowrap; }
.collection-explore > span { margin-left: 12px; font-size: 18px; }
.collection-heading:hover .collection-explore { text-decoration: underline; text-underline-offset: 4px; }
.home-sheet { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; }
.home-sheet--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.home-card { display: block; min-width: 0; }
.home-welcome { display: grid; gap: 30px; margin-bottom: 44px; }
.daily-card { display: grid; grid-template-columns: minmax(160px, 260px) minmax(0, 1fr) minmax(164px, 202px); gap: clamp(20px, 2.4vw, 36px); align-items: center; padding-block: 0 6px; width: 100%; }
.daily-card #daily-title { font-size: 30px; font-weight: 500; letter-spacing: -.7px; }
.daily-card time { display: block; margin-top: 8px; color: var(--muted); font-size: 14px; }
.daily-card .daily-player { margin-top: 24px; font-size: clamp(28px, 3vw, 38px); line-height: 1.2; letter-spacing: -.7px; }
.daily-card p { margin-top: 8px; font-size: 15px; color: var(--muted); }
.daily-card:where(:has(.daily-player-stats:not([hidden]))) { grid-template-columns: minmax(165px, 260px) minmax(0, 1fr) minmax(208px, .95fr) minmax(164px, 202px); }
.daily-set-link { color: var(--accent); text-underline-offset: 3px; text-decoration-thickness: 1px; }
.daily-set-link:hover { text-decoration-thickness: 2px; }
.daily-player-stats { min-width: 0; padding-left: 30px; border-left: 1px solid var(--line, #d9dee2); }
.daily-player-stats h3 { font-size: 16px; font-weight: 500; }
.daily-player-stats h3 span { display: block; margin-top: 5px; font-size: 13px; font-weight: 400; color: var(--muted); }
.daily-stats-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px 14px; margin: 25px 0; }
.daily-stats-grid div { display: flex; flex-direction: column-reverse; gap: 5px; }
.daily-stats-grid dt { font-size: 12px; color: var(--muted); }
.daily-stats-grid dd { margin: 0; font-size: 26px; font-variant-numeric: tabular-nums; letter-spacing: -.6px; }
.daily-highlights { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; font-size: 13px; line-height: 1.5; }
.daily-stats-sources { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 22px; font-size: 12px; text-underline-offset: 4px; }
@media (min-width: 601px) and (max-width: 950px) {
  body:not([data-home-design]) .daily-card { grid-template-columns: minmax(150px, .8fr) minmax(0, 1.2fr) minmax(150px, .72fr); gap: 18px; }
  body:not([data-home-design]) .daily-card-image { grid-column: 1; grid-row: 1 / 3; }
  body:not([data-home-design]) .daily-card-copy { grid-column: 2; }
  body:not([data-home-design]) .daily-player-stats { grid-area: 2 / 2; padding: 14px 0 0; border-left: 0; border-top: 1px solid var(--line); }
  body:not([data-home-design]) .daily-stats-grid { gap: 10px 5px; margin-block: 10px; }
  body:not([data-home-design]) .daily-calendar { grid-area: 1 / 3 / 3 / 4; }
}
@media (max-width: 600px) {
  .daily-card:has(.daily-player-stats:not([hidden])) { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .daily-player-stats { padding: 24px 0 0; border-left: 0; border-top: 1px solid var(--line, #d9dee2); }
}
.daily-calendar {
  display: grid;
  gap: 10px;
  align-content: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--chrome);
  color: var(--ink);
  line-height: 1.2;
  text-decoration: none;
}
.daily-calendar:hover, .daily-calendar:focus-visible { border-color: var(--accent); }
.daily-calendar:hover .calendar-caption strong, .daily-calendar:focus-visible .calendar-caption strong { text-decoration: underline; text-underline-offset: 3px; }
.calendar-caption { display: flex; align-items: baseline; justify-content: space-between; gap: 6px; padding-bottom: 9px; border-bottom: 1px solid var(--line); }
.calendar-caption strong { font-size: 14px; font-weight: 650; }
.calendar-caption strong::after { content: ''; display: inline-block; width: 5px; height: 5px; margin-left: 6px; border-top: 1px solid currentColor; border-right: 1px solid currentColor; transform: translateY(-2px) rotate(45deg); }
.calendar-caption > span { font-size: 12px; color: var(--muted); }
.calendar-month { display: block; margin-bottom: 6px; font-size: 12px; font-weight: 600; }
.calendar-week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); font-size: 11px; font-variant-numeric: tabular-nums; text-align: center; }
.calendar-week > span { display: grid; place-items: center; min-height: 20px; color: var(--muted); }
.calendar-weekdays { font-size: 10px; }
.calendar-week .featured { color: var(--accent); font-weight: 700; background: color-mix(in srgb, var(--accent) 12%, var(--chrome)); border-radius: 3px; }
.calendar-week .today { background: var(--accent); color: var(--chrome); font-weight: 700; border-radius: 3px; }
@media (max-width: 600px) {
  .daily-calendar { grid-column: 1 / -1; grid-template-columns: minmax(78px, 1fr) minmax(130px, 1.2fr); align-items: center; gap: 14px; }
  .calendar-caption { display: grid; align-content: center; justify-content: start; gap: 4px; border: 0; padding: 0; }
  .calendar-month { margin: 0 0 4px; }
  .calendar-week:not(.current-week, .calendar-weekdays) { display: none; }
}
.home-year-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 24px; }
.year-cover { text-decoration: none; }
.year-cover-label { display: flex; align-items: center; justify-content: space-between; margin-top: 12px; font-size: 15px; }
.year-cover-label strong { font-size: 20px; font-weight: 500; }
.year-cover-label > :last-child { color: var(--muted); }
.home--years { container-type: inline-size; --home-cover-width: calc((100cqw - 120px) / 6); --home-cover-gap: 24px; }
.home-secondary { display: flex; flex-wrap: wrap; gap: 30px var(--home-cover-gap); margin-top: 30px; }
.home-secondary > section { flex: 1 1 max(190px, var(--home-cover-width)); min-width: max(190px, var(--home-cover-width)); }
.home-secondary > .home-year-collection--nfl { flex-basis: calc(var(--home-cover-width) * 2 + var(--home-cover-gap)); min-width: calc(var(--home-cover-width) * 2 + var(--home-cover-gap)); }
.home-secondary .home-year-grid { grid-template-columns: var(--home-cover-width); gap: var(--home-cover-gap); }
.home-secondary .home-year-collection--nfl .home-year-grid { grid-template-columns: repeat(2, var(--home-cover-width)); }
.home-secondary .collection-heading h2 { white-space: nowrap; }
.home-secondary .collection-explore { display: none; }
@media (max-width: 900px) { .home--years { --home-cover-width: calc((100cqw - 48px) / 3); } }
@media (max-width: 600px) { .home--years { --home-cover-width: calc((100cqw - 18px) / 2); --home-cover-gap: 18px; } }





.home-feature .home-card { text-decoration: none; }
@media (max-width: 900px) {
  .home-welcome { gap: 24px; }
  .home-year-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
  
  
}
@media (max-width: 600px) {
  .home-welcome { grid-template-columns: minmax(0, 1fr); gap: 26px; margin-bottom: 30px; }
  .daily-card { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .daily-card-image { width: min(72%, 260px); }
  .daily-card #daily-title { font-size: 26px; }
  .daily-card .daily-player { margin-top: 16px; }
  .home-year-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 18px; }
  
  
}
.daily-archive { max-width: 1280px; padding-block: var(--page-inset) var(--page-end); min-height: 75vh; }
.archive-home-link { display: inline-block; margin-bottom: 22px; font-size: 13px; text-decoration: none; }
.daily-archive-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 24px 20px; margin-top: var(--section-space); }
.daily-archive-grid a { text-decoration: none; }
.daily-archive-grid time { display: block; margin-top: 8px; font-size: 12px; color: var(--muted); }
.daily-archive-grid h2 { margin-top: 5px; font-size: 18px; font-weight: 500; }
.daily-archive-pages { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 40px; font-size: 14px; }
@media (max-width: 900px) {
  .daily-archive-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .daily-archive-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 18px; }
}
.card-image-slot { display: grid; place-items: center; width: 100%; aspect-ratio: 5 / 7; }
.home-card .card-image-slot > img { width: 100%; height: 100%; object-fit: contain; }
.collection-description { margin-top: 13px; color: var(--muted); font-size: 12px; }
.home-extra-collection { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 38px; padding-top: 20px; border-top: 1px solid var(--line); text-decoration: none; }
.home-extra-collection > span:first-child { display: flex; align-items: baseline; gap: 22px; }
.home-extra-collection strong { font-size: 18px; font-weight: 500; letter-spacing: -.3px; }
.home-extra-collection > span:first-child > span { color: var(--muted); font-size: 12px; }
.home-extra-collection:hover .collection-explore { text-decoration: underline; text-underline-offset: 4px; }
.test-print-collection { padding-block: 42px 64px; min-height: calc(100vh - 149px); }
.test-print-intro { padding-bottom: 16px; border-bottom: 1px solid var(--line); margin-bottom: var(--section-space); }

.test-print-intro p { margin-top: 10px; color: var(--muted); }
.test-print-summary { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.test-print-empty { max-width: 500px; color: var(--muted); }
.test-print-browse { margin-bottom: 20px; }
.errata-collection { min-width: 0; }
.errata-toolbar { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; margin-block: 18px 22px; }
.errata-filter { display: flex; gap: 22px; }
.errata-filter button { border: 0; background: none; padding: 6px 0; color: var(--muted); font-size: 12px; }
.errata-filter button[aria-pressed="true"] { color: var(--ink); text-decoration: underline; text-underline-offset: 5px; }
#errata-count { margin-left: auto; color: var(--muted); font-size: 11px; font-variant-numeric: tabular-nums; }
.errata-tool { margin-bottom: 24px; color: var(--muted); font-size: 11px; line-height: 1.6; }
.errata-tool > div { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.errata-tool a { color: var(--ink); text-underline-offset: 3px; }
.errata-tool p { margin-top: 4px; }
.errata-card { display: grid; grid-template-columns: 155px minmax(0, 1fr); gap: 28px; padding-block: 26px; border-top: 1px solid var(--line); }
.errata-preview { align-self: start; }
.errata-copy { max-width: 690px; min-width: 0; }
.errata-card-heading { display: flex; align-items: baseline; gap: 12px; }
.errata-card-heading h3 { font-size: 20px; font-weight: 500; line-height: 1.3; letter-spacing: -.35px; }
.errata-set { color: var(--muted); font-size: 11px; margin-top: 5px; }
.errata-summary { font-size: 14px; line-height: 1.6; margin-top: 14px; }
.errata-correction { margin-top: 12px; font-size: 13px; line-height: 1.6; }
.errata-correction > span, .errata-correction > small { display: block; color: var(--muted); font-size: 11px; }
.errata-correction > span { margin-bottom: 2px; }
.errata-correction > small { margin-top: 3px; }
.errata-status { font-size: 11px; color: var(--muted); margin-top: 8px; }
.errata-printings { margin: 17px 0 0; font-size: 11px; }
.errata-printings > div { display: flex; gap: 16px; margin-top: 8px; }
.errata-printings dt { flex: 0 0 108px; color: var(--muted); }
.errata-printings dd { display: flex; flex-wrap: wrap; gap: 5px 18px; margin: 0; }
.errata-printings a, .errata-sources a { text-underline-offset: 3px; }
.errata-sources { display: flex; flex-wrap: wrap; gap: 7px 20px; margin-top: 16px; font-size: 11px; overflow-wrap: anywhere; }
.errata-sources a { color: var(--muted); }
.errata-empty { padding-block: 35px; border-top: 1px solid var(--line); }
.errata-empty h2 { font-size: 18px; font-weight: 500; }
.errata-empty p { margin-top: 8px; color: var(--muted); font-size: 12px; }
.errata-recreation { display: flex; align-items: start; gap: 18px; border-top: 1px solid var(--line); margin: 22px 0 0; padding-top: 20px; }
.errata-recreation > img { width: 95px; height: auto; }
.errata-recreation figcaption { display: grid; gap: 5px; color: var(--muted); font-size: 11px; }
.errata-recreation strong { color: var(--ink); font-weight: 500; }

.catalog-layout {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 32px;
  min-height: calc(100vh - 160px);
  padding-block: var(--page-inset) var(--page-end);
  align-items: start;
}
.catalog-sidebar { position: sticky; top: 100px; max-height: calc(100vh - 120px); overflow-y: auto; }
.catalog-sidebar h2 {
  font-size: 12px;
  font-weight: 600;
  margin: 0 0 24px;
}
.scope-tree { font-size: 12px; }
.scope-link {
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: 1;
  gap: 8px;
  min-width: 0;
  min-height: 33px;
  padding: 4px 0;
  color: #555;
}
.scope-link:hover > span:first-child { text-decoration: underline; text-underline-offset: 3px; }
.scope-link[aria-current] { color: #000; font-weight: 600; }
.scope-link[aria-current] > span:first-child { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.scope-count { flex: none; font-size: 10px; color: #777; font-weight: 400; font-variant-numeric: tabular-nums; }
.scope-all { color: #111; }
.scope-group { border-top: 1px solid var(--line); padding-top: 9px; margin-top: 12px; }
.scope-row { display: flex; align-items: stretch; gap: 10px; }
.sport-row .scope-link { color: #111; font-weight: 600; }
.year-row .scope-link { color: #111; }
.scope-group > .scope-children { margin-left: 9px; padding-left: 9px; }
.scope-sets { padding: 2px 0 3px 12px; }
.scope-sets .scope-link { min-height: 31px; }
.disclosure {
  display: grid;
  width: 20px;
  flex: 0 0 20px;
  place-items: center;
  border: 0;
  padding: 0;
  background: none;
}
.disclosure i {
  width: 6px;
  height: 6px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg);
}
.disclosure[aria-expanded="true"] i { transform: translateY(2px) rotate(225deg); }

.results-heading { display: flex; gap: 24px; justify-content: space-between; align-items: flex-start; }
.results-heading h1, .test-print-intro h1, .pro-intro h1 { font-size: 26px; line-height: 1.2; font-weight: 500; letter-spacing: -.7px; }
.scope-description { max-width: 570px; margin-top: 12px; color: var(--muted); font-size: 12px; line-height: 1.6; }
.scope-description a { display: inline-block; text-underline-offset: 3px; color: var(--ink); font-size: 11px; }
.results-tools { flex: 0 0 260px; }
.search-field {
  display: flex;
  height: 36px;
  align-items: center;
  gap: 11px;
  padding-inline: 11px;
  background: #fff;
  border: 1px solid #d2d2d2;
}
.search-field i { position: relative; flex: 0 0 11px; height: 11px; border: 1px solid currentColor; border-radius: 50%; }
.search-field i::after { content: ""; width: 5px; height: 1px; top: 9px; left: 8px; position: absolute; background: currentColor; transform: rotate(45deg); }
.search-field input { width: 100%; min-width: 0; background: none; border: 0; outline: none; padding: 8px 3px; font-size: 12px; }
.search-field:focus-within { border-color: #111; }
.search-field input::placeholder { color: var(--muted); }
.results-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-block: 20px 12px;
  min-height: 24px;
  font-size: 11px;
}
.results-status { display: flex; align-items: center; gap: 14px; }
.image-filter { display: inline-flex; gap: 5px; align-items: center; color: #666; white-space: nowrap; cursor: pointer; }
.image-filter input { accent-color: #111; margin: 0; }
.result-display { display: flex; align-items: center; gap: 24px; }
.view-switch { display: flex; gap: 12px; }
.view-switch button { border: 0; padding: 5px 0; background: none; color: #777; font-size: 11px; }
.view-switch button[aria-pressed="true"] { color: #111; text-decoration: underline; text-underline-offset: 4px; }
.checklist-wrap { overflow-x: auto; }
.card-checklist { width: 100%; border-collapse: collapse; font-size: 12px; text-align: left; }
.card-checklist th { font-size: 11px; color: var(--muted); font-weight: 400; padding: 9px 10px; border-block: 1px solid var(--line); }
.card-checklist td { padding: 12px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.card-checklist td:first-child { width: 66%; font-weight: 500; }
.card-checklist td:nth-child(2), .card-checklist td:last-child { white-space: nowrap; font-size: 11px; color: var(--muted); }
.card-checklist a:hover { text-decoration: underline; text-underline-offset: 3px; }
#card-count { color: #666; font-variant-numeric: tabular-nums; }
.sort-label { display: flex; align-items: center; gap: 7px; white-space: nowrap; color: #777; }
.sort-label select { border: 0; background: none; width: clamp(112px, 16vw, 164px); font-size: 12px; color: #111; }
.filters-trigger { display: none; }

.set-section { scroll-margin-top: 20px; }
.set-section + .set-section { margin-top: var(--section-space); }
.set-section-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line);
  padding-block: 16px;
}
.set-section-heading h2 { font-size: 18px; font-weight: 500; line-height: 1.3; letter-spacing: -.3px; }
.set-year { color: var(--muted); font-size: 11px; margin-bottom: 4px; }
.set-card-count { flex: none; color: var(--muted); font-size: 11px; font-variant-numeric: tabular-nums; }
.set-section-description { max-width: 640px; margin: -5px 0 18px; color: var(--muted); font-size: 12px; line-height: 1.6; }
.set-section-description a { display: inline-block; color: var(--ink); font-size: 11px; text-underline-offset: 3px; }
/* Subgrid shares each caption line across its visual row. Optional lines
   collapse when every card in that row leaves them empty. */
.card-grid {
  --tile-row-spacing: 22px;
  --tile-heading-gap: 8px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: clamp(12px, 1.2vw, 20px);
  margin-block-end: calc(-1 * var(--tile-row-spacing));
}
.catalog-card {
  display: grid;
  grid-row: span 6;
  grid-template-rows: subgrid;
  min-width: 0;
  padding-block-end: var(--tile-row-spacing);
}
.card-link { display: block; text-decoration: none; }
.card-well {
  aspect-ratio: 5 / 7;
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.card-well > img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
/* Only the viewport changes: every image remains its original archived scan. */
.card-crop {
  display: block;
  position: relative;
  overflow: hidden;
  flex: none;
  aspect-ratio: var(--card-aspect);
  border-radius: var(--corner-x) / var(--corner-y);
  clip-path: inset(0 round var(--corner-x) / var(--corner-y));
}
.card-crop--tile {
  width: var(--card-slot-width);
  height: var(--card-slot-height);
}
/* Scan dimensions belong to its crop, not generic surrounding image rules. */
.card-crop > img[data-card-source] {
  display: block;
  position: absolute;
  width: var(--image-width);
  height: var(--image-height);
  max-width: none;
  left: var(--image-left);
  top: var(--image-top);
  object-fit: fill;
}
.card-crop--rotated > img[data-card-source] {
  transform: rotate(90deg);
  transform-origin: 0 0;
}
.card-crop--projective > img[data-card-source] {
  width: var(--source-width);
  height: var(--source-height);
  left: 0;
  top: 0;
  transform: scale(var(--card-scale, 0)) var(--card-projection);
  transform-origin: 0 0;
}
.card-link:hover h3 { text-decoration: underline; text-underline-offset: 3px; }
.tile-main { display: grid; grid-row: 1 / 5; grid-template: subgrid / minmax(0, 1fr) fit-content(42%); column-gap: 6px; }
.tile-main > .card-link { display: grid; grid-area: 1 / 1 / -1 / -1; grid-template: subgrid / subgrid; }
.tile-main .card-well { grid-area: 1 / 1 / 2 / -1; }
.tile-body { display: grid; grid-area: 2 / 1 / -1 / -1; grid-template: subgrid / subgrid; min-width: 0; }
.tile-body h3 { grid-area: 1 / 1 / 2 / -1; margin-top: var(--tile-heading-gap); font-size: 12px; font-weight: 500; line-height: 1.4; }
.tile-printing { grid-area: 2 / 1 / 3 / -1; }
.tile-context { grid-area: 3 / 1 / 4 / -1; min-width: 0; }
.tile-main:has(.card-number) h3, .tile-main:has(.tile-position) .tile-printing { grid-column-end: 2; }
.tile-reference { display: grid; grid-area: 2 / 2 / 4 / 3; grid-template-rows: subgrid; text-align: end; pointer-events: none; }
.tile-reference .card-number { grid-row: 1; align-self: baseline; margin-top: var(--tile-heading-gap); }
.tile-reference .tile-position { grid-row: 2; }
.tile-reference .tile-position a { pointer-events: auto; }
.nba-rarity-number { white-space: nowrap; }
.nba-rarity-mark { color: #000; margin-inline-end: .22em; font-size: 1em; line-height: 0; }
[data-theme="dark"] .nba-rarity-mark { color: #fff; }
.card-number { flex: none; font-size: 10px; font-variant-numeric: tabular-nums; white-space: nowrap; color: var(--muted); }
.tile-body p, .tile-details p, .tile-position { color: var(--muted); font-size: 11px; line-height: 1.5; margin-top: 3px; }
.tile-position a { color: inherit; text-decoration: none; }
.tile-position a:hover, .tile-position a:focus-visible { color: var(--ink); }
.tile-body p span { margin-inline: 2px; }
.scan-missing { color: var(--muted); font-size: 11px; text-align: center; }
.card-well.is-missing { border: 1px solid var(--line); }

.empty-results {
  min-height: 330px;
  display: grid;
  align-content: center;
  justify-items: center;
  text-align: center;
  background: var(--surface);
  padding: 30px;
}
.empty-results h3 { font-size: 18px; font-weight: 500; margin-bottom: 9px; }
.empty-results p { color: var(--muted); font-size: 12px; }
.empty-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 18px; margin-top: 18px; font-size: 12px; }
.empty-links a, .missing-page a { text-underline-offset: 3px; }
.missing-page { padding-block: 60px; min-height: 70vh; }
.missing-page h1 { font-size: 28px; font-weight: 500; }
.missing-page p { margin-block: 18px; color: var(--muted); }

.filter-dialog {
  width: min(100%, 420px);
  max-width: none;
  max-height: 100dvh;
  height: 100dvh;
  margin: 0 0 0 auto;
  padding: 0;
  border: 0;
  background: #fff;
}
.filter-dialog::backdrop { background: #0005; }
.filter-panel { display: flex; flex-direction: column; height: 100%; }
.filter-header, .filter-footer { padding: 16px 22px; }
.filter-header { display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.filter-header h2 { font-size: 16px; font-weight: 500; }
.close-button { width: 40px; height: 40px; font-size: 25px; line-height: 1; background: none; border: 0; padding: 0; }
.filter-tree { flex: 1; padding: 13px 22px; overflow: auto; overscroll-behavior: contain; }
.filter-tree .scope-link { min-height: 42px; font-size: 13px; }
.filter-tree .disclosure { width: 36px; flex-basis: 36px; }
.filter-footer { border-top: 1px solid var(--line); padding-bottom: max(20px, env(safe-area-inset-bottom)); }
.filter-footer button { width: 100%; min-height: 44px; border: 1px solid var(--ink); padding: 10px; background: var(--ink); color: var(--paper); font-size: 12px; }
body:has(.filter-dialog[open]) { overflow: hidden; }

.about-page { max-width: 1200px; padding-block: var(--page-inset) var(--page-end); min-height: calc(100vh - 134px); }
.about-intro { max-width: 860px; }
.about-intro h1 { font-size: clamp(30px, 3vw, 40px); font-weight: 650; line-height: 1.15; letter-spacing: -.035em; }
.about-intro > p { color: var(--muted); font-size: 16px; line-height: 1.7; margin-top: 20px; }
.about-disclaimer { margin-top: 32px; color: var(--muted); font-size: 12px; line-height: 1.6; }
.about-people { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; border-top: 1px solid var(--line); margin-top: 34px; padding-block: 28px 34px; }
.about-people h2 { font-size: 20px; font-weight: 650; letter-spacing: -.025em; }
.about-people p { margin-top: 12px; font-size: 15px; line-height: 1.7; max-width: 570px; }
.about-people a { text-underline-offset: 3px; }
.about-links { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 11px; font-size: 12px; }
.about-links a { text-underline-offset: 3px; }
.about-section { border-top: 1px solid var(--line); padding-top: 30px; }
.about-section + .about-section { margin-top: var(--section-space); }
.about-section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 32px; margin-bottom: 26px; }
.about-section-heading h2 { flex: none; font-size: 24px; line-height: 1.3; font-weight: 650; letter-spacing: -.025em; }
.about-feedback { display:grid; grid-template-columns:minmax(200px,.7fr) minmax(0,1.3fr); gap:24px 40px; scroll-margin-top:100px; }
.about-feedback-heading h2 { font-size:24px; line-height:1.3; font-weight:650; letter-spacing:-.025em; }
.about-feedback-form { display:grid; gap:16px; min-width:0; }
.about-feedback-fields { display:grid; grid-template-columns:minmax(140px,.8fr) minmax(0,1.2fr); gap:16px; }
.about-feedback-form label { display:flex; flex-wrap:wrap; align-content:start; gap:7px 5px; color:var(--ink); font-size:13px; font-weight:550; }
.about-feedback-optional { color:var(--muted); font-weight:400; }
.about-feedback-form :is(input,select,textarea) { display:block; flex-basis:100%; min-width:0; width:100%; min-height:40px; margin:0; padding:9px 11px; border:1px solid var(--line); border-radius:7px; background:var(--chrome,var(--paper)); color:var(--ink); font:400 14px/1.5 var(--sans); }
.about-feedback-form textarea { resize:vertical; min-height:130px; }
.about-feedback-form :is(input,textarea)::placeholder { color:var(--muted); }
.about-feedback-actions { display:flex; align-items:start; flex-wrap:wrap; gap:12px 18px; }
.about-feedback-actions button { flex:none; min-height:38px; padding:8px 13px; border:1px solid transparent; border-radius:7px; background:var(--ink); color:var(--paper); font:550 13px/1.35 var(--sans); }
.about-feedback-actions button:hover { opacity:.85; }
.about-feedback-actions button:disabled { cursor:wait; opacity:.55; }
.about-feedback-status { font-size:13px; line-height:1.6; }
.about-feedback-status:empty { display:none; }
.about-feedback-status[data-state="success"] { color:var(--positive,#26754a); }
.about-feedback-status[data-state="error"] { color:var(--danger,#b13c3c); }
@media (max-width:700px) {
  .about-feedback { grid-template-columns:minmax(0,1fr); gap:20px; }
  .about-feedback-fields { grid-template-columns:minmax(0,1fr); }
  .about-feedback-form :is(input,select,textarea) { font-size:16px; }
}
.about-credits { margin: 0; }
.about-credits > div { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 36px; padding-block: 20px; border-bottom: 1px solid var(--line); }
.about-credits > div:first-child { padding-top: 0; }
.about-credits > div:last-child { padding-bottom: 0; border-bottom: 0; }
.about-credits dt { font-size: 14px; font-weight: 500; }
.about-credits dd { margin: 0; }
.about-credits dd > p { color: var(--muted); font-size: 15px; line-height: 1.7; max-width: 76ch; }
.wallpaper-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px 20px; }
.wallpaper-card { min-width: 0; margin: 0; }
.wallpaper-preview { display: block; }
.wallpaper-preview > img { width: 100%; height: auto; }
.wallpaper-card figcaption { padding-top: 12px; }
.wallpaper-card h3 { font-size: 14px; line-height: 1.35; font-weight: 500; }
.wallpaper-meta { margin-top: 5px; color: var(--muted); font-size: 11px; }
.wallpaper-meta > span { margin-left: 10px; }
.wallpaper-download { display: inline-flex; gap: 15px; margin-top: 8px; font-size: 12px; text-underline-offset: 3px; }

.site-footer { border-top: 1px solid var(--line); background: #fff; color: #777; font-size: 11px; }
.footer-inner { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px 28px; padding-block: 16px; }
.footer-inner .footer-links { padding-block: 0; min-height: 0; }
.footer-contact { margin: 0; }
.footer-contact a { color: var(--ink); text-underline-offset: 3px; }
@media (max-width: 600px) { .footer-inner { flex-direction: column; } }
.footer-links { display: flex; min-height: 64px; gap: 8px 24px; align-items: center; flex-wrap: wrap; padding-block: 20px; }
.footer-links a { text-underline-offset: 3px; color: #333; }

@media (max-width: 1100px) {
  .home-intro h1 { font-size: 34px; }
  .home-collections { gap: 24px; }
  .catalog-layout { grid-template-columns: 175px minmax(0, 1fr); gap: 30px; }
  .card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .wallpaper-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 800px) {
  :root { --container: calc(100% - 40px); }
  .catalog-layout { grid-template-columns: 160px minmax(0, 1fr); gap: 24px; }
  .results-heading { flex-direction: column; gap: 14px; }
  .results-tools { width: 100%; flex-basis: auto; }
  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-intro { align-items: start; flex-direction: column; gap: 16px; margin-bottom: 28px; }
  .home-collections { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .about-section-heading { align-items: start; flex-direction: column; gap: 10px; }
  .about-credits > div { grid-template-columns: 170px minmax(0, 1fr); gap: 24px; }
  .desktop-break { display: none; }
}
@media (max-width: 600px) {
  :root { --container: calc(100% - 32px); }

  .home { padding-block: 28px 36px; }
  .about-intro h1 { font-size: 27px; }
  .about-intro > p { font-size: 14px; }
  .about-people { grid-template-columns: minmax(0, 1fr); gap: 28px; margin-top: 26px; padding-block: 24px 28px; }
  .about-section { padding-top: 24px; }
  .about-section-heading { margin-bottom: 22px; }
  .about-section-heading h2 { font-size: 20px; }
  .about-credits > div { grid-template-columns: minmax(0, 1fr); gap: 8px; padding-block: 18px; }
  .wallpaper-grid { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .home-intro { gap: 12px; margin-bottom: 28px; }
  .home-intro h1 { font-size: 31px; letter-spacing: -1px; }
  .home-collections { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .collection-heading { padding-block: 12px 14px; }
  .collection-heading h2 { font-size: 21px; }
  .collection-description { margin-top: 10px; }
  .home-extra-collection { margin-top: 30px; }
  .home-extra-collection > span:first-child { flex-direction: column; gap: 4px; }
  .test-print-collection { padding-block: 28px 48px; }
  .catalog-layout { display: block; min-height: 75vh; }
  .catalog-sidebar { display: none; }
  .results-heading h1, .test-print-intro h1, .pro-intro h1 { font-size: 22px; }
  .errata-toolbar { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 6px 12px; margin-block: 16px 20px; }
  .errata-toolbar .filters-trigger { grid-column: 1; grid-row: 1; justify-self: start; }
  .errata-toolbar #errata-count { grid-column: 2; grid-row: 1; }
  .errata-filter { grid-column: 1 / -1; flex-wrap: wrap; gap: 0 clamp(6px, 2.3vw, 16px); }
  .errata-filter button { min-height: 40px; padding-inline: 0; }
  .errata-card { grid-template-columns: 94px minmax(0, 1fr); gap: 16px; padding-block: 22px; }
  .errata-card-heading { flex-wrap: wrap; gap: 3px 8px; }
  .errata-card-heading h3 { font-size: 17px; }
  .errata-summary { font-size: 13px; margin-top: 11px; }
  .errata-printings > div { display: block; }
  .errata-printings dt { margin-bottom: 4px; }
  .errata-recreation { flex-direction: column; gap: 12px; }
  .set-section-heading { padding-block: 13px; gap: 14px; }
  .set-section-heading h2 { font-size: 16px; }
  .results-meta { margin-top: 18px; }
  .results-meta { flex-wrap: wrap; }
  .result-display { width: 100%; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 8px; }
  .results-status { width: 100%; justify-content: space-between; gap: 8px; }
  .results-status .image-filter { min-height: 40px; gap: 7px; }
  .card-checklist { min-width: 0; }
  .card-checklist th:last-child, .card-checklist td:last-child { display: none; }
  .search-field { height: 40px; }
  .search-field input { font-size: 16px; }
  .filters-trigger {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 36px;
    padding: 5px 12px;
    background: #fff;
    border: 1px solid #c8c8c8;
    font-size: 11px;
  }
  .filters-trigger i { width: 6px; height: 6px; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: translateY(-2px) rotate(45deg); }
  .card-grid { --tile-row-spacing: 20px; }
  .tile-body p, .tile-details p, .tile-position { font-size: 10px; }
  .sort-label { gap: 3px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* Errata reads as a concise index; supporting evidence stays one click away. */
.errata-card { grid-template-columns: 88px minmax(0, 1fr); gap: 24px; padding-block: 22px; }
.errata-card-heading h3 { font-size: 18px; }
.errata-card-heading h3 a { text-decoration: none; }
.errata-card-heading h3 a:hover { text-decoration: underline; text-underline-offset: 3px; }
.errata-summary { margin-top: 10px; font-size: 14px; line-height: 1.5; }
.errata-footnote { display: flex; gap: 8px 22px; align-items: baseline; flex-wrap: wrap; color: var(--muted); font-size: 11px; margin-top: 10px; }
.errata-evidence summary { cursor: pointer; text-underline-offset: 3px; }
.errata-evidence[open] { flex-basis: 100%; }
.errata-evidence p { margin-top: 10px; line-height: 1.5; }
.errata-evidence .errata-printings { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 10px; }
.errata-sources { margin-top: 10px; gap: 8px 16px; }
@media(max-width:600px) { .errata-card { grid-template-columns: 65px minmax(0,1fr); gap: 16px; } .errata-card-heading h3 { font-size: 16px; } }

@media (max-width: 760px) {
  .site-header { top: 8px; width: calc(100% - 16px); margin-top: 8px; border-radius: 22px; }
  .header-inner { height: auto; min-height: 100px; flex-wrap: wrap; gap: 10px; padding: 16px 14px 8px; }
  .wordmark { font-size: 20px; letter-spacing: -1px; }
  .site-nav { width: 100%; min-height: 42px; justify-content: space-between; gap: 2px; }
  .site-nav a { font-size: 11px; padding: 9px 10px; border-radius: 13px; }
}

.tile-details .tile-note { color: var(--ink); margin-top: 4px; }
.errata-printing-links { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 10px; font-size: 12px; }
.errata-printing-links a { text-underline-offset: 3px; }

/* Shared surfaces keep controls distinct without framing every section. */
:root {
  --glass-fill: var(--paper);
  --glass-edge: var(--line);
  --glass-shadow: none;
}
.catalog-sidebar, .search-field, .view-switch, .about-people, .wallpaper-download, .filters-trigger {
  background: var(--glass-fill);
  border: 1px solid var(--glass-edge);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  box-shadow: var(--glass-shadow);
}
.catalog-sidebar { padding: 18px 12px; border-radius: 22px; scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
.catalog-sidebar h2 { margin: 0 7px 15px; }
.scope-link { padding-inline: 7px; border-radius: 9px; transition: background .18s ease; }
.scope-link:hover { background: rgba(255,255,255,.45); }
.scope-link:hover > span:first-child, .scope-link[aria-current] > span:first-child { text-decoration: none; }
.scope-link[aria-current] { background: rgba(255,255,255,.64); box-shadow: 0 2px 8px #263a4910, inset 0 1px #fff; }
.scope-group { border-color: rgba(112,133,150,.13); }
.scope-row { gap: 2px; }
.scope-group > .scope-children { margin-left: 4px; padding-left: 4px; }
.scope-sets { padding-left: 5px; }
.search-field { height: 42px; border-radius: 15px; padding-inline: 15px; transition: box-shadow .18s ease; }
.search-field:focus-within { border-color: rgba(137,164,186,.6); box-shadow: var(--glass-shadow), 0 0 0 3px #a6c2d51a; }
.view-switch { gap: 2px; padding: 3px; border-radius: 13px; }
.view-switch button { padding: 7px 12px; border-radius: 9px; transition: background .18s ease; }
.view-switch button[aria-pressed="true"] { text-decoration: none; background: #ffffffb3; box-shadow: 0 2px 8px #263a4912, inset 0 1px #fff; }
.view-switch button:hover { color: #111; background: #ffffff70; }
.sort-label select { padding: 7px 5px; border-radius: 9px; }
.card-well.is-missing { border: 1px solid #d2dde780; border-radius: 13px; background: linear-gradient(135deg,#e7eef54d,#ffffff33); box-shadow: inset 0 1px #fff; }
.card-tile a:focus-visible { border-radius: 6px; }
.about-people { padding: 28px 0; border: 0; border-top: 1px solid var(--line); border-radius: 0; background: transparent; box-shadow: none; }
.wallpaper-preview { overflow: hidden; border-radius: 16px; box-shadow: 0 8px 24px #24394b12; }
.wallpaper-download { padding: 8px 13px; border-radius: 11px; text-decoration: none; transition: box-shadow .18s ease, background .18s ease; }
.wallpaper-download:hover { background: #ffffffb3; box-shadow: 0 5px 18px #24394b16; }
.filters-trigger { border-radius: 12px; }
@media (max-width: 600px) {
  .about-people { padding: 24px 0; }
  .result-display { gap: 12px; }
  .view-switch button { padding-inline: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .scope-link, .search-field, .view-switch button, .wallpaper-download { transition: none; }
}

.site-header.is-at-top .site-nav a[aria-current] {
  background: rgba(216,226,235,.68);
  font-weight: 650;
  box-shadow: inset 0 0 0 1.5px rgba(69,91,110,.3), 0 3px 12px rgba(29,45,61,.08);
}
.set-part + .set-part { margin-top: 32px; }
.set-part-title { font-size: 15px; font-weight: 600; letter-spacing: -.2px; padding: 12px 0 15px; border-top: 1px solid var(--line); }
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .card-link .card-well, .home-card .card-image-slot { transition: transform .3s cubic-bezier(.22, 1, .36, 1); }
  .card-link:hover .card-well, .home-card:hover .card-image-slot { transform: translateY(-3px) scale(1.008); transition-delay: .04s; }
}

/* Roomier navigation with a shared selection surface for label and disclosure. */
@media (min-width: 701px) {
  .catalog-layout { grid-template-columns: clamp(264px, 25vw, 296px) minmax(0,1fr); gap: 30px; }
}
.catalog-sidebar { padding: 22px 14px; }
.catalog-sidebar h2 { font-size: 13px; margin-bottom: 18px; }
.scope-tree { font-size: 13px; }
.scope-link { min-height: 42px; padding: 9px 10px; line-height: 1.35; border-radius: 11px; }
.scope-count { font-size: 11px; color: #566574; }
.scope-row { gap: 0; border-radius: 12px; }
.scope-row > .scope-link { padding-right: 6px; }
.sport-row .scope-link > span:first-child { white-space: nowrap; }
.disclosure { flex-basis: 30px; width: 30px; border-radius: 0 12px 12px 0; }
.scope-group { margin-top: 7px; padding-top: 7px; }
.scope-link[aria-current], .scope-row:has(> .scope-link[aria-current]) {
  color: #152a3a;
  background: linear-gradient(120deg, rgba(204,221,234,.72), rgba(232,240,246,.62));
  box-shadow: inset 0 0 0 1.5px rgba(69,100,125,.38), 0 3px 10px rgba(35,58,77,.06);
  font-weight: 650;
}
.scope-row > .scope-link[aria-current] { background: none; box-shadow: none; }
.scope-link[aria-current] .scope-count { color: #354e62; font-weight: 550; }
.scope-row:has(> .scope-link[aria-current]) .disclosure { color: #254b68; }
.scope-sets .scope-link { min-height: 38px; }

/* Global archive search stays available on collection and card pages. */
.header-inner { gap: 18px; min-height: 76px; height: auto; }
.archive-search { display: flex; flex: 1 1 340px; max-width: 440px; min-width: 190px; align-items: center; height: 44px; margin: 0; padding: 3px 5px 3px 14px; border: 1px solid rgba(110,135,156,.3); border-radius: 15px; background: rgba(249,252,255,.48); box-shadow: inset 0 1px 0 #ffffffb3; }
.archive-search { position: relative; }
.archive-search:focus-within { border-color: #657f94; box-shadow: 0 0 0 3px #91b4ce26, inset 0 1px 0 #fff; background: #ffffffb3; }
.search-preview { position: absolute; z-index: 20; top: calc(100% + 8px); left: 0; right: 0; max-height: min(560px, 65vh); overflow-y: auto; padding: 12px; border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: 0 12px 35px #162b4226; }
.search-preview[hidden] { display: none; }
.search-options[open] { z-index: 30; }
.search-preview-count { padding: 2px 8px 10px; font-size: 12px; color: var(--muted); }
.search-preview-card { display: flex; gap: 14px; align-items: center; padding: 8px; text-decoration: none; border-radius: 8px; }
.search-preview-card:hover, .search-preview-card:focus-visible { background: #edf2f6; }
.search-preview-card .card-image-slot { flex: 0 0 38px; width: 38px; }
.search-preview-card strong { display: block; font-size: 14px; font-weight: 500; }
.search-preview-card small { display: block; margin-top: 4px; font-size: 11px; color: var(--muted); }
.search-preview-all { display: block; padding: 12px 8px 4px; font-size: 13px; text-underline-offset: 3px; }
.search-preview-empty { padding: 8px; font-size: 13px; }
.archive-search input[type="search"] { flex: 1; min-width: 0; width: 100%; border: 0; outline: 0; padding: 8px 0; color: #152a3a; background: transparent; font-size: 13px; }
.archive-search input::placeholder { color: #617180; }
.archive-search > button { display: grid; place-items: center; flex: 0 0 34px; height: 34px; padding: 0; border: 0; border-radius: 10px; background: transparent; color: #28485f; }
.archive-search > button:hover { background: #dae6ef99; }
.search-options { position: relative; }
.search-options summary { display: flex; align-items: center; justify-content: center; gap: 6px; height: 34px; line-height: 1; list-style: none; cursor: pointer; font-size: 11px; padding: 9px 8px; color: #425d70; border-left: 1px solid #8ca5b433; }
.search-options summary::-webkit-details-marker { display: none; }
.search-options summary::after { content: ''; display: block; width: 5px; height: 5px; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: translateY(-2px) rotate(45deg); }
.search-options[open] summary { font-weight: 650; }
.search-options-panel { position: absolute; right: -38px; top: 44px; width: 250px; padding: 18px; border: 1px solid #fff; border-radius: 18px; background: rgba(246,250,253,.97); backdrop-filter: blur(24px); box-shadow: 0 14px 42px #1c354326; }
.search-options-panel p { font-size: 13px; font-weight: 600; margin-bottom: 12px; }
.search-options-panel label { display: flex; gap: 10px; align-items: center; min-height: 35px; font-size: 13px; }
.search-options-panel input { accent-color: #365b76; width: 16px; height: 16px; }
.search-options-panel small { display: block; margin-top: 12px; color: #526776; font-size: 11px; line-height: 1.6; }
@media (max-width: 1200px) and (min-width: 701px) {
  .header-inner { display: grid; grid-template-columns: auto minmax(250px,1fr); gap: 8px 28px; padding-block: 12px 8px; }
  .archive-search { justify-self: stretch; width: 100%; max-width: none; }
  .site-nav { grid-column: 1 / -1; justify-content: center; }
  .catalog-sidebar { top: 154px; max-height: calc(100vh - 176px); }
}
@media (max-width: 700px) {
  .header-inner { display: grid; grid-template-columns: minmax(0,1fr); gap: 10px; padding: 15px 14px 7px; }
  .wordmark { text-align: center; font-size: 22px; }
  .archive-search { max-width: none; width: 100%; min-width: 0; height: 42px; }
  .archive-search input[type="search"] { font-size: 16px; }
  .site-nav { width: 100%; justify-content: space-between; gap: 0; }
  .site-nav a { min-height: 36px; padding: 8px 10px; font-size: 11px; }
  .catalog-layout { display: block; }
  .catalog-sidebar { display: none; }
  .filters-trigger { display: inline-flex; }
  .search-options-panel { right: -38px; width: min(260px,calc(100vw - 50px)); }
}

/* Test print releases stay together; paired scans sit beside their player. */
.test-print-set { margin-top: var(--section-space); }
.test-print-set > h2 { font-size: 25px; letter-spacing: -.035em; }
.test-print-team { margin: var(--section-space) 0; }
.test-print-team > h3 { font-size: 17px; letter-spacing: -.02em; margin: 0 0 12px; }
.detail-blank-back { width:100%; height:100%; background:#fff; border:1px solid rgba(30,40,50,.12); border-radius:inherit; }

.test-print-jumps { display:flex; flex-wrap:wrap; gap:24px; margin:20px 0 0; font-size:14px; }
.test-print-jumps a { text-decoration:underline; text-underline-offset:5px; }
.test-print-set, .test-print-type { scroll-margin-top:160px; }
@media (max-width:700px) { .test-print-set, .test-print-type { scroll-margin-top:200px; } }
/* Event history pairs each schedule entry with the collector's signed cards. */
.pro-history { min-width: 0; }
.pro-intro h1 { margin: 0 0 14px; }
.pro-eyebrow { text-transform: uppercase; letter-spacing: .13em; font-size: 11px; color: var(--muted); margin: 0 0 14px; }
.pro-intro > p:not(.pro-eyebrow) { line-height: 1.6; }
.pro-description { max-width: 650px; color: var(--muted); }
.pro-credit { font-size: 12px; color: var(--muted); max-width: 650px; }
.pro-jumps { display: flex; flex-wrap: wrap; gap: 12px 32px; padding: 22px 0 28px; border-bottom: 1px solid var(--line); }
.pro-jumps a { font-weight: 600; text-decoration: none; }
.pro-jumps span { display: block; margin-top: 5px; font-size: 12px; font-weight: 400; color: var(--muted); }
.pro-season { margin-top: 46px; scroll-margin-top: 165px; }
.pro-season-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.pro-season-heading h2 { font-size: 26px; margin: 0; letter-spacing: -.03em; }
.pro-season-heading a { font-size: 12px; }
.pro-season-note { color: var(--muted); font-size: 13px; line-height: 1.65; margin-bottom: 24px; }
.pro-event { display: grid; grid-template-columns: minmax(0, 1fr) minmax(180px, .8fr); gap: 28px; padding: 30px 0; border-top: 1px solid var(--line); scroll-margin-top: 165px; }
.pro-date { color: var(--muted); font-size: 12px; margin: 0 0 10px; }
.pro-event h3 { font-size: 22px; line-height: 1.25; letter-spacing: -.025em; margin: 0 0 7px; }
.pro-team { color: var(--muted); font-size: 13px; margin: 0 0 24px; }
.pro-event dl { margin: 0; font-size: 13px; line-height: 1.6; }
.pro-event dt { font-size: 11px; color: var(--muted); margin-top: 13px; }
.pro-event dd { margin: 2px 0 0; }
.pro-source-note { font-size: 11px; color: var(--muted); line-height: 1.65; max-width: 390px; margin-top: 20px; }
.pro-event-scans { display: flex; flex-wrap: wrap; gap: 20px; align-items: start; justify-content: flex-end; }
.pro-autograph { margin: 0; width: min(100%, 205px); }
.pro-autograph .detail-gallery { --scan-height: 287px; }
.pro-autograph .detail-viewer-home .detail-scan-stage { min-height: 0; padding: 0; }
.pro-autograph .detail-viewer-home .detail-rotation-hint { display: none; }
.pro-autograph .detail-scan-actions { justify-content: center; gap: 10px; }
.pro-autograph .detail-side-controls { gap: 6px; }
.pro-autograph .detail-scan-actions button { font-size: 11px; }
.pro-autograph .detail-scan-credit:empty { display: none; }
.test-print-type { margin-top: 28px; }
.test-print-type > h3 { font-size: 18px; font-weight: 500; margin: 0 0 20px; }
.test-print-pending { color: var(--muted); font-size: 13px; }
@media (max-width: 700px) {
  .pro-history > .filters-trigger { margin-bottom: 22px; }
  .pro-event { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .pro-event-scans { justify-content: flex-start; }
  .pro-autograph { width: min(100%, 225px); }
  .pro-season-heading { align-items: flex-start; flex-direction: column; gap: 10px; }
  .pro-season, .pro-event { scroll-margin-top: 205px; }
}

.pro-season-heading { margin-bottom: 20px; }

/* Expanded navigation keeps each label intact and the search field roomy. */
.header-inner { display:grid; grid-template-columns:auto minmax(250px,1fr); gap:8px 28px; padding-block:12px 8px; }
.header-inner .archive-search { width:100%; max-width:none; justify-self:stretch; }
.site-nav { grid-column:1/-1; justify-content:flex-end; flex-wrap:wrap; gap:2px; }
.site-nav a { padding:8px 13px; }
.subset-jumps, .resource-jumps { display:flex; flex-wrap:wrap; gap:12px 24px; margin:18px 0 24px; font-size:13px; }
.subset-jumps .checklist-download { margin-left:auto; }
.set-part { scroll-margin-top:180px; }
.resource-page { min-width:0; }
.resource-page h1 { font-size:26px; font-weight:600; letter-spacing:-.7px; margin:0; }
.resource-pending { color:var(--muted); font-size:14px; }
.pro-jumps { gap:10px; padding:20px 0 24px; }
.pro-jumps a { display:flex; align-items:center; gap:18px; padding:12px 16px; border:1px solid var(--line); border-radius:8px; }
.pro-jumps span { display:inline; margin:0; }
.pro-reference { margin:0; width:100%; max-width:205px; }
.pro-reference-image { display:block; position:relative; overflow:hidden; border-radius:8px; }
.pro-reference-image > img { display:block; width:100%; height:auto; }
.pro-signed-overlay { position:absolute; left:0; right:0; top:44%; padding:8px 0; background:rgba(255,255,255,.88); color:#151515; text-align:center; font-size:23px; letter-spacing:2px; transform:rotate(-12deg) scale(1.1); }
@media(max-width:700px) {
  .header-inner { grid-template-columns:minmax(0,1fr); gap:10px; padding:15px 14px 7px; }
  .site-nav { justify-content:center; }
  .site-nav a { font-size:11px; padding:7px 10px; min-height:32px; }
  .subset-jumps .checklist-download { margin-left:0; }
  .resource-page h1 { font-size:22px; }
  .pro-jumps a { gap:10px; padding:10px; }
}

.errata-card { grid-template-columns:minmax(180px,.9fr) minmax(0,1.5fr); gap:32px; }
.errata-copy { min-width:0; }
.errata-images { display:flex; align-items:flex-start; gap:18px; min-width:0; }
.errata-version, .errata-images > figure { flex:1 1 0; max-width:260px; min-width:0; margin:0; }
.errata-version figcaption { font-size:13px; margin:0 0 10px; }
.errata-preview { display:block; width:100%; }
/* Gallery scans use their own crop and source dimensions. */
.errata-images > .errata-recreation > img { width:100%; height:auto; }
@media(max-width:700px) {
  .errata-card { grid-template-columns:minmax(0,1fr); gap:20px; }
  .errata-images { gap:14px; }
}

.card-points { display:flex; flex-wrap:wrap; align-items:baseline; gap:5px 12px; margin-block:10px; font-size:11px; line-height:1.5; color:var(--muted); font-variant-numeric:tabular-nums; letter-spacing:.01em; }
.card-points > span { white-space:nowrap; }
.card-points strong { color:var(--ink); font-weight:600; }
.card-points .points-up { color:#256c4a; }
.card-points .points-down { color:#ad3838; }
.daily-card-player-info .card-points { font-size: clamp(14px, 1.15vw, 16px); margin-block: 12px 0; gap: 3px 12px; }
.card-points { text-decoration: none; width: fit-content; max-width: 100%; }
.card-points:is(:hover, :focus-visible) { color: var(--ink); }

.errata-set-group { margin-top:36px; }
.errata-group-title { font-size:22px; line-height:1.35; margin:0 0 12px; }

.home-card:not(.year-cover) .year-cover-label { justify-content:flex-end; }

/* Unified interactive comparisons, with a second slot reserved for corrected art. */
.errata-images { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:22px; width:70%; justify-self:end; }
.errata-version, .errata-images > figure { max-width:none; width:100%; }
.errata-images .detail-gallery { --scan-height:0px; margin:0; }
.errata-images .detail-card-orbit { width:100%; }
.errata-images .detail-scan-stage { min-height:0; }
.errata-images .detail-gallery-caption { grid-template-columns:minmax(0,1fr); gap:4px; }
.errata-images .detail-scan-actions { flex-wrap:wrap; gap:6px; }
.errata-images .detail-side-controls button { padding-inline:6px; }
.errata-images .detail-rotation-hint { font-size:11px; }
.errata-scan-label { margin-top:12px; font-size:12px; color:var(--muted); }
.errata-images .detail-zoom .detail-card-orbit { width:min(100%,calc(var(--scan-height) * var(--object-aspect))); }
.compare-page { padding-block:32px 64px; }
.compare-page h1 { font-size:32px; margin-bottom:28px; }
.compare-columns { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:40px; max-width:1100px; margin:auto; }
.compare-column { min-width:0; position:relative; }
.compare-column > label { display:block; margin-bottom:8px; font-weight:600; }
.compare-column > input { width:100%; padding:12px; background:var(--paper); border:1px solid var(--line); border-radius:8px; }
.compare-search-results { position:absolute; top:78px; z-index:2; width:100%; background:var(--paper); border:1px solid var(--line); max-height:360px; overflow:auto; box-shadow:0 8px 20px #0002; }
.compare-search-results button { display:block; width:100%; text-align:left; padding:12px; border:0; border-bottom:1px solid var(--line); background:transparent; }
.compare-search-results button:hover { background:var(--surface); }
.compare-search-results span { display:block; color:var(--muted); font-size:12px; }
.compare-selected header { min-height:160px; padding-block:20px; }
.compare-selected h2 { font-size:24px; }
.compare-selected .card-points { display:flex; margin-top:10px; }
.compare-selected .detail-gallery { --scan-height:0px; max-width:350px; margin-inline:auto; }
.compare-selected .detail-card-orbit { width:100%; }
.compare-selected .detail-zoom .detail-card-orbit { width:min(100%,calc(var(--scan-height) * var(--object-aspect))); }
.compare-empty { padding:80px 16px; text-align:center; color:var(--muted); }
.compare-edition { display:flex; align-items:center; gap:12px; margin-top:10px; }
.compare-edition select { background:var(--paper); border:1px solid var(--line); max-width:100%; }
:root { --surface:#f3f6f8; }
:root[data-theme="dark"] { color-scheme:dark; --ink:#e8edf2; --paper:#10151b; --surface:#1b242e; --muted:#a5b2c0; --line:#344251; }
[data-theme="dark"] :focus-visible { outline-color:#96c9f5; }
[data-theme="dark"] .site-header { background:rgba(20,28,37,.94); border-color:#344251; box-shadow:0 6px 24px #0004; }
[data-theme="dark"] .wordmark { color:var(--ink); }
[data-theme="dark"] .archive-search, [data-theme="dark"] .search-preview, [data-theme="dark"] .filter-dialog, [data-theme="dark"] .detail-zoom, [data-theme="dark"] .browse-sidebar { background:var(--paper); color:var(--ink); border-color:var(--line); box-shadow:none; }
[data-theme="dark"] .site-nav a, [data-theme="dark"] .tree-link, [data-theme="dark"] .tree-toggle, [data-theme="dark"] .card-number, [data-theme="dark"] .search-preview-count, [data-theme="dark"] .search-preview-card, [data-theme="dark"] .detail-back, [data-theme="dark"] .detail-scan-actions button, [data-theme="dark"] .detail-zoom-close, [data-theme="dark"] .filters-trigger, [data-theme="dark"] .results-controls select { color:var(--ink); }
[data-theme="dark"] .tree-link[aria-current], [data-theme="dark"] .tree-toggle[aria-current], [data-theme="dark"] .site-nav a[aria-current], [data-theme="dark"] .search-preview-card:hover { background:var(--surface); color:var(--ink); border-color:var(--line); box-shadow:none; }
[data-theme="dark"] select, [data-theme="dark"] .layout-switch, [data-theme="dark"] .filters-trigger { background:var(--paper); border-color:var(--line); }
[data-theme="dark"] .detail-card-object { background:transparent; }
[data-theme="dark"] .card-points .points-up { color:#76d7aa; }
[data-theme="dark"] .card-points .points-down { color:#ff9a91; }
@media(max-width:760px) { .errata-images { width:70%; justify-self:start; } .compare-columns { gap:16px; } .compare-selected h2 { font-size:18px; } .compare-selected header { min-height:180px; } .compare-edition { display:block; } }
.community-page { padding-block:var(--page-inset) var(--page-end); max-width:1000px; }
.community-heading { display:flex; justify-content:space-between; align-items:baseline; gap:12px 20px; flex-wrap:wrap; margin-bottom:16px; }
.community-heading h1 { font-size:clamp(30px,3vw,40px); font-weight:650; letter-spacing:-.035em; line-height:1.15; }
.community-account, .community-actions { display:flex; align-items:center; flex-wrap:wrap; gap:10px 16px; }
.community-post { border-top:1px solid var(--line); padding-block:24px; }
.community-post h2 { font-size:24px; font-weight:600; letter-spacing:-.025em; }
.community-post header p, .community-compose > p { color:var(--muted); font-size:12px; margin-top:6px; }
.community-post time { margin-left:10px; }
.community-body { white-space:pre-wrap; overflow-wrap:anywhere; margin-block:20px; max-width:76ch; font-size:16px; line-height:1.65; }
.community-photo { width:auto; max-width:min(100%, 640px); max-height:620px; border-radius:5px; object-fit:contain; object-position:left center; margin-bottom:16px; }
.community-photo-link { display:block; width:fit-content; }
.community-photo-link .community-photo { max-width:min(100%, 240px); max-height:160px; }
.community-page button, .community-login { border:1px solid var(--line); border-radius:6px; background:var(--surface); padding:8px 14px; color:var(--ink); }
.community-compose { border-top:1px solid var(--line); padding-top:28px; margin-top:30px; }
.community-new-discussion { margin-bottom:16px; }
.community-new-discussion summary { width:fit-content; cursor:pointer; border:1px solid var(--line); border-radius:6px; padding:8px 14px; background:var(--surface); }
.community-new-discussion .community-compose { border:0; margin-top:0; padding-top:2px; }
.community-optional { color:var(--muted); }
.community-compose label { display:block; margin-block:16px; }
.community-compose input, .community-compose textarea { display:block; width:100%; margin-top:6px; padding:12px; color:var(--ink); background:var(--paper); border:1px solid var(--line); border-radius:6px; font:inherit; }
.community-compose button { margin-top:18px; }
.community-compose [data-remove-photo] { margin-top:0; }
:root[data-theme="dark"] { --glass-fill:rgba(23,32,42,.9); --glass-edge:#344251; --glass-shadow:none; }
[data-theme="dark"] .scope-link:hover, [data-theme="dark"] .scope-link[aria-current], [data-theme="dark"] .scope-link[aria-current="page"], [data-theme="dark"] .scope-row[aria-current] { background:var(--surface); box-shadow:none; color:var(--ink); }
[data-theme="dark"] .scope-link, [data-theme="dark"] .scope-count, [data-theme="dark"] .scope-toggle, [data-theme="dark"] .search-field input, [data-theme="dark"] .archive-search input { color:var(--ink); }
.compare-columns { grid-template-rows:auto auto auto auto; }
.compare-column { display:grid; grid-template-rows:subgrid; grid-row:span 4; }
.compare-selected { display:contents; }
.compare-column > label { margin-bottom:0; }
.compare-column > input { margin-top:8px; }
.compare-selected .detail-gallery { align-self:start; width:100%; }
[data-theme="dark"] .site-header .site-nav a[aria-current] { background:var(--surface); border-color:var(--line); box-shadow:none; }
[data-theme="dark"] :is(input, textarea)::placeholder { color:var(--muted); opacity:1; }
[data-theme="dark"] .archive-search > button { color:var(--ink); }
[data-theme="dark"] .scope-link[aria-current] .scope-count { color:var(--muted); }
[data-theme="dark"] .detail-side-controls, [data-theme="dark"] .detail-scan-actions > button { border-color:var(--line); background:var(--surface); }
.compare-selected .detail-gallery-caption { flex-wrap:wrap; gap:8px; }
.compare-selected .detail-rotation-hint { font-size:11px; }
/* Prevent the detail viewer's named grid area from creating implicit columns here. */
.compare-column { grid-template-columns:minmax(0,1fr); }
.compare-column > label { grid-column:1; grid-row:1; }
.compare-column > input { grid-column:1; grid-row:2; }
.compare-selected > header { grid-column:1; grid-row:3; }
.compare-selected > .detail-gallery { grid-area:auto; grid-column:1; grid-row:4; }
.compare-empty { grid-column:1; grid-row:3 / span 2; }
[data-theme="dark"] .site-footer { background:var(--paper); color:var(--ink); border-color:var(--line); }
[data-theme="dark"] .footer-contact, [data-theme="dark"] .footer-links { color:var(--muted); }
[data-theme="dark"] .footer-contact a { color:var(--ink); }
.compare-columns { row-gap:12px; }
[data-theme="dark"] .site-footer .footer-links a { color:var(--muted); }

.search-preview button.search-preview-all { width: 100%; color: var(--accent); background: var(--surface); border: 0; cursor: pointer; font: inherit; }
.reference-sources { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px; }
.reference-sources > p { grid-column:1/-1; color:var(--muted); font-size:16px; }
.reference-sources section { padding-top:20px; border-top:1px solid var(--line); }
.reference-sources h3 { font-size:20px; font-weight:600; letter-spacing:-.025em; }
.reference-sources section p { margin-top:10px; color:var(--muted); line-height:1.65; font-size:15px; }
@media(max-width:800px) { .reference-sources { grid-template-columns:minmax(0,1fr); gap:24px; } }

:where(h1, h2, h3, h4, h5, h6) { text-wrap: balance; }
:where(p, blockquote, figcaption, li, dd) { text-wrap: pretty; }
