/* Shared public styling for The Game Bureau public pages. */
* { box-sizing: border-box; }

:root {
  --paper: #f3eee6;
  --paper-strong: #fbf7f0;
  --ink: #111111;
  --muted: #69655e;
  --line: #cdc5b8;
  --line-strong: #111111;
  --accent: #2d4880;
  --accent-soft: #e5ebf5;
  --surface: #ffffff;
}

body {
  margin: 0;
  min-height: 100svh;
  background: var(--paper);
  color: var(--ink);
  font-family: "JetBrains Mono", "Menlo", "Consolas", monospace;
}

a {
  color: inherit;
  text-decoration: none;
}

.page-shell {
  width: 100%;
  min-width: 0;
  padding: 22px 0 40px;
}

.site-nav,
.hero,
.browse-shell,
.about-shell,
.selected-games,
.faq-shell,
.site-footer {
  width: calc(100% - 48px);
  margin: 0 auto;
}

.site-nav {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: start;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--line-strong);
}

.brand-lockup {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.brand-name {
  color: var(--accent);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.brand-tagline {
  margin: 0;
  color: var(--muted);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
  align-self: start;
}

.nav-admin-menu {
  position: relative;
  display: inline-flex;
}

.nav-link,
.hero-button,
.browse-link,
.mc-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--ink);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: transform 140ms ease, border-color 140ms ease, background 140ms ease, color 140ms ease;
}

.nav-link {
  min-height: 36px;
  padding: 0 11px;
  font-size: 0.64rem;
  letter-spacing: 0.11em;
}

.nav-admin-menu-panel {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 40;
  display: grid;
  min-width: 220px;
  padding: 6px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  box-shadow: 0 12px 28px rgba(17, 17, 17, 0.12);
}

.nav-admin-menu-panel[hidden] {
  display: none;
}

.nav-admin-menu-item {
  min-height: 34px;
  display: flex;
  align-items: center;
  padding: 0 10px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-align: left;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
}

.nav-admin-menu-item:hover,
.nav-admin-menu-item:focus-visible {
  background: var(--paper-strong);
  color: var(--accent);
  outline: none;
}

.nav-admin-menu-divider {
  height: 1px;
  margin: 5px 0;
  background: var(--line);
}

.nav-link:hover,
.nav-link:focus-visible,
.hero-button:hover,
.hero-button:focus-visible,
.browse-link:hover,
.browse-link:focus-visible,
.mc-link:hover,
.mc-link:focus-visible,
.directory-item:hover,
.directory-item:focus-visible {
  border-color: var(--accent);
  background: var(--paper-strong);
  outline: none;
  transform: translateY(-1px);
}

.mc-link,
.hero-button[aria-pressed="true"] {
  background: var(--ink);
  color: #ffffff;
}

.mc-link:hover,
.mc-link:focus-visible,
.hero-button[aria-pressed="true"]:hover,
.hero-button[aria-pressed="true"]:focus-visible {
  background: var(--accent);
  color: #ffffff;
}

main {
  display: grid;
  gap: 22px;
  padding-top: 18px;
}

.hero,
.browse-shell,
.about-shell {
  position: relative;
  overflow: hidden;
  border: 1.5px solid var(--line-strong);
  background: var(--paper-strong);
}

.hero::before,
.browse-shell::before,
.about-shell::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 6px;
  background: var(--accent);
}

.hero {
  padding: 28px 30px 30px 36px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(260px, 0.8fr);
  gap: 24px;
  align-items: center;
}

.hero-kicker {
  margin: 0 0 14px;
  color: var(--accent);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.hero-headline {
  margin: 0;
  font-size: clamp(2.6rem, 7.4vw, 5.8rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 0.94;
  text-transform: uppercase;
  text-wrap: balance;
}

.hero-copy {
  max-width: 760px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.55;
}

.hero-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
  width: 100%;
}

.hero-button {
  width: 100%;
  min-height: 62px;
  padding: 0 18px;
  cursor: pointer;
}

.hero-meta {
  display: grid;
  grid-template-rows: auto auto minmax(240px, 1fr);
  gap: 10px;
  padding: 16px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  align-self: stretch;
  height: 100%;
  min-height: 380px;
  overflow: hidden;
}

.hero-meta-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.hero-meta-row:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.hero-meta-label {
  margin: 0;
  color: var(--muted);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-meta-value {
  margin: 0;
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.07em;
  line-height: 1;
  text-transform: uppercase;
}

.hero-meta-toggle {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  border: 1.5px solid var(--line-strong);
  background: var(--paper-strong);
  flex: 0 0 auto;
}
.hero-meta-toggle-btn {
  flex: 1 1 0;
  min-height: 54px;
  padding: 0 14px;
  background: transparent;
  border: none;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1.1;
  text-transform: uppercase;
  cursor: pointer;
  color: var(--muted);
  transition: background 140ms ease, color 140ms ease, box-shadow 140ms ease;
}
.hero-meta-toggle-btn + .hero-meta-toggle-btn {
  border-left: 1.5px solid var(--line-strong);
}
.hero-meta-toggle-btn:hover:not([aria-selected="true"]),
.hero-meta-toggle-btn:focus-visible:not([aria-selected="true"]) {
  color: var(--ink);
  background: var(--accent-soft);
  outline: none;
}
.hero-meta-toggle-btn[aria-selected="true"] {
  background: var(--ink);
  color: var(--surface);
  box-shadow: inset 0 -4px 0 var(--accent);
}

.hero-meta-list-wrap {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1 1 0;
  min-height: 0;
  min-block-size: 0;
  max-block-size: 100%;
  overflow: hidden;
}
.hero-meta-list {
  position: relative;
  flex: 1 1 0;
  height: 100%;
  block-size: 100%;
  max-block-size: 100%;
  min-height: 0;
  min-block-size: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: none;
  -ms-overflow-style: none;
  cursor: grab;
  touch-action: pan-y;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 16px, #000 calc(100% - 16px), transparent 100%);
          mask-image: linear-gradient(180deg, transparent 0, #000 16px, #000 calc(100% - 16px), transparent 100%);
}
.hero-meta-list::-webkit-scrollbar { display: none; }
.hero-meta-list.is-dragging {
  cursor: grabbing;
  user-select: none;
}
.hero-meta-list.is-dragging .hero-meta-list-item {
  pointer-events: none;
}
.hero-meta-list-track {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.hero-meta-list-chunk {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.hero-meta-list-item {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-height: 38px;
  padding: 6px 8px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: inherit;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 120ms ease, border-color 120ms ease, color 120ms ease, transform 120ms ease;
}
.hero-meta-list-helmet {
  width: 22px;
  height: 22px;
  image-rendering: pixelated;
  flex: 0 0 auto;
}
.hero-meta-list-helmet--none { opacity: 0.45; }
.hero-meta-list-helmet--spacer { background: transparent; }
.hero-meta-list-geo {
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--ink);
  background: var(--accent-soft);
  border: 1px solid var(--line-strong);
  border-radius: 3px;
  line-height: 1;
  justify-self: center;
}
/* ───────────────────────────────────────────────────────────────────────────
   CANONICAL COUNTRY BADGE — international vehicle-registration oval.
   This is the white "GBR / FRA / USA" car decal style. It is NOT negotiable:
   - True ellipse via border-radius: 50% on a non-square box (1.65:1 aspect).
   - White fill, black 1.5px border, black Times-serif capitals.
   - !important on the oval-defining properties because a body.home-page
     ancestor rule below (and any future page-level skin) will otherwise
     win on specificity and silently turn the oval into a rounded square.
   DO NOT CHANGE the border-radius, border, background, color, width, or
   height ratio here. If a future skin needs different sizing, scale the
   width/height together to preserve the 1.65:1 ratio — never round the
   corners or fill it with a non-white color.
   ─────────────────────────────────────────────────────────────────────────── */
.hero-meta-list-geo--country {
  box-sizing: border-box;
  width: 30px !important;
  height: 18px !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: "Times New Roman", "Times", serif !important;
  font-size: 0.66rem;
  font-weight: 700;
  color: #000 !important;
  background: #fff !important;
  border: 1.5px solid #000 !important;
  border-radius: 50% !important;
  padding: 0;
  box-shadow: none !important;
  letter-spacing: 0.02em;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
}

.hero-meta-list-geo-label {
  display: block;
  width: 100%;
  line-height: 1;
  transform: translateY(0.16em);
}
/* SVG-based state badge — geographic outline with the 2-letter abbr
   laid over it. Overrides the .hero-meta-list-geo bg/border so the SVG
   shape (not the bounding box) is what's visually filled and stroked. */
.hero-meta-list-geo--shape {
  box-sizing: border-box;
  width: 36px;
  height: 22px;
  background: transparent;
  border: none;
  padding: 0;
  box-shadow: none;
  overflow: visible;
  display: inline-block;
  vertical-align: middle;
  justify-self: center;
}
.hero-meta-list-geo--shape path {
  fill: #ffffff;
  stroke: #000000;
  stroke-width: 1;
  stroke-linejoin: round;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
}
.hero-meta-list-geo--shape text {
  fill: #000000;
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-anchor: middle;
  dominant-baseline: middle;
  alignment-baseline: middle;
  paint-order: stroke fill;
  stroke: #ffffff;
  stroke-width: 1.6;
  stroke-linejoin: round;
}
.hero-meta-list-name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.hero-meta-list-item:hover {
  background: rgba(var(--bic-blue-rgb, 45,72,128), 0.05);
  border-color: var(--line);
}
.hero-meta-list-item.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--surface);
  transform: translateX(2px);
}
.hero-meta-list-count {
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--muted);
}
.hero-meta-list-item.is-active .hero-meta-list-count {
  color: var(--surface);
}

.browse-shell {
  padding: 22px 24px 24px 30px;
}

.browse-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: end;
  padding-bottom: 18px;
  border-bottom: 2px solid var(--line-strong);
}

.section-kicker {
  margin: 0 0 8px;
  color: var(--accent);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.section-title {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.07em;
  line-height: 0.9;
  text-transform: uppercase;
  text-wrap: balance;
}

.browse-state {
  margin: 0;
  color: var(--muted);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-align: right;
}

.browse-copy {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.5;
}

.directory-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 12px;
  margin-top: 22px;
  width: 100%;
}

.directory-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  min-height: 76px;
  padding: 14px 14px 14px 16px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  transition: transform 140ms ease, border-color 140ms ease, background 140ms ease;
}

.directory-item-main {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.directory-item-text {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.directory-item-helmet {
  width: 38px;
  height: 38px;
  image-rendering: pixelated;
  flex: 0 0 auto;
}

.directory-item-label {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.directory-item-sub {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.3;
}

.directory-item-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 54px;
  min-height: 48px;
  padding: 0 10px;
  border: 1px solid currentColor;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0;
  font-variant-numeric: tabular-nums;
}

.directory-empty {
  margin-top: 22px;
  padding: 24px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--muted);
}

.directory-item.is-active {
  border-color: var(--bic-blue, currentColor);
  background: rgba(var(--bic-blue-rgb, 45,72,128), 0.06);
}

/* Selected-games panel — rendered inline below the hero when a fandom or
   city is chosen. Replaced the previous fixed-overlay lightbox. Width and
   horizontal centering come from the shared rule on .hero/.about-shell. */
.selected-games {
  position: relative;
  overflow: hidden;
  padding: 18px 20px 20px 26px;
  border: 1.5px solid var(--line-strong);
  background: var(--paper-strong);
  scroll-margin-top: 18px;
}
.selected-games::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 6px;
  background: var(--accent);
}
.selected-games:focus {
  outline: none;
}
.selected-games.is-fresh {
  animation: selectedGamesIn 220ms ease-out;
}
.selected-games[hidden] { display: none; }
@keyframes selectedGamesIn {
  from { opacity: 0; transform: translateY(14px) scale(0.992); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.selected-games-head {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: space-between;
  padding: 0 4px 14px;
  margin-bottom: 16px;
  border-bottom: 2px solid var(--line-strong);
}
.selected-games-title {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "IBM Plex Mono", monospace;
  font-size: clamp(1rem, 2vw, 1.35rem);
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.15;
  text-transform: uppercase;
  color: var(--ink);
  min-width: 0;
}
.selected-games-title-text {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
}
.selected-games-icon {
  flex: 0 0 auto;
}
.selected-games-icon--helmet {
  width: 30px;
  height: 30px;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
}
.selected-games-share {
  flex: 0 0 auto;
  border: 1.5px solid var(--line-strong);
  background: var(--paper-strong);
  padding: 8px 14px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  cursor: pointer;
  transition: background 140ms ease, color 140ms ease, border-color 140ms ease;
}
.selected-games-share:hover,
.selected-games-share:focus-visible {
  background: var(--ink);
  color: var(--surface);
  outline: none;
}
.selected-games-share.is-filed,
.selected-games-share.is-filed:hover,
.selected-games-share.is-filed:focus-visible {
  background: var(--accent);
  color: var(--surface);
  border-color: var(--accent);
}

.selected-games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 12px;
}
.selected-games.is-fresh .game-card {
  animation: gameCardIn 220ms ease-out both;
}
.selected-games.is-fresh .game-card:nth-child(2) { animation-delay: 35ms; }
.selected-games.is-fresh .game-card:nth-child(3) { animation-delay: 70ms; }
.selected-games.is-fresh .game-card:nth-child(4) { animation-delay: 105ms; }
.selected-games.is-fresh .game-card:nth-child(5) { animation-delay: 140ms; }
.selected-games.is-fresh .game-card:nth-child(n+6) { animation-delay: 175ms; }
@keyframes gameCardIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.game-card {
  position: relative;
  display: grid;
  grid-template-rows: 132px 82px 76px 40px;
  gap: 10px;
  height: 364px;
  padding: 8px;
  border: 2px solid var(--line-strong);
  background: #fbf7ef;
  color: inherit;
  box-shadow: 0 1px 0 rgba(17, 17, 17, 0.1);
  transition: border-color 140ms ease, background 140ms ease, box-shadow 140ms ease, transform 140ms ease;
}
/* Admin-only EDIT button (painted by admin-bridge.js when signed in): floats
   over the right side of the PLAY GAME button. The card grid clips in-flow
   children, so it's positioned absolutely. Invisible to the public. */
.game-card > .tgb-admin-edit-link {
  position: absolute;
  right: 14px;
  bottom: 14px;
  height: 30px;
  min-height: 30px;
  z-index: 6;
}
.game-card:hover {
  border-color: var(--card-accent, var(--accent));
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(17, 17, 17, 0.12);
}
.game-card-deed {
  display: grid;
  grid-template-rows: 32px minmax(0, 1fr);
  gap: 10px;
  height: 132px;
  min-height: 0;
  padding: 10px 12px 12px;
  border: 2px solid var(--line-strong);
  background: var(--card-accent, var(--accent));
  color: var(--card-accent-ink, #ffffff);
  overflow: hidden;
  text-align: center;
}
.game-card-deed-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  height: 32px;
  min-height: 0;
  overflow: hidden;
}
.game-card-deed-label {
  justify-self: start;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  line-height: 1;
  text-transform: uppercase;
}
.game-card-icons {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  height: 32px;
  min-height: 0;
  overflow: hidden;
}
.game-card-helmet {
  width: 32px;
  height: 32px;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
  flex: 0 0 auto;
}
.team-mark--baseball {
  width: 36px !important;
  height: 36px !important;
}
/* Bigger state silhouettes and country ovals inside game cards so they
   sit visually next to the 32px helmet without disappearing. */
.game-card-icons .hero-meta-list-geo--shape {
  width: 50px;
  height: 30px;
}
.game-card-icons .hero-meta-list-geo--shape text {
  font-size: 10.5px;
  stroke-width: 1.4;
}
/* Larger variant of the canonical country oval for game cards. Keeps the
   1.67:1 ellipse ratio; !important needed because the base rule's
   !important on width/height would otherwise force the 30×18 size here. */
.game-card-icons .hero-meta-list-geo--country {
  width: 40px !important;
  height: 24px !important;
  font-size: 0.78rem;
}
.game-card-title {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  overflow-wrap: anywhere;
  font-family: "IBM Plex Mono", monospace;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.12;
  text-wrap: balance;
}
.game-card-deed-lines {
  display: grid;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  height: 82px;
  margin: 0;
  border-top: 2px solid var(--line-strong);
  border-bottom: 2px solid var(--line-strong);
  overflow: hidden;
}
.game-card-deed-line {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-height: 0;
  padding: 6px 4px;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.game-card-deed-line:last-child {
  border-bottom: 0;
}
.game-card-deed-line dt,
.game-card-deed-line dd {
  margin: 0;
}
.game-card-deed-line dt {
  color: var(--ink);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  line-height: 1.35;
  text-transform: uppercase;
}
.game-card-deed-line dd {
  min-width: 0;
  overflow: hidden;
  overflow-wrap: anywhere;
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.28;
  text-align: right;
}
.game-card-deed-line--city dd {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  /* Tight line-height keeps two stacked lines inside the ~28px row content
     area; with anything looser the city+state pair grows tall enough that
     align-items:center on the row pushes the top edge into the When row. */
  line-height: 1.0;
}
.game-card-deed-city-line {
  display: block;
  min-height: 1em;
}
.game-card-tagline {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 76px;
  min-height: 0;
  padding: 9px 10px;
  border: 1px solid var(--line);
  color: var(--ink);
  font-size: 0.9rem;
  font-style: italic;
  line-height: 1.35;
  overflow: hidden;
  overflow-wrap: anywhere;
  text-align: center;
}
.game-card-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0;
  height: 40px;
  min-height: 0;
  overflow: hidden;
}
.game-card-play {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 40px;
  min-height: 0;
  padding: 0 14px;
  border: 2px solid var(--line-strong);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  transition: background 140ms ease, border-color 140ms ease, color 140ms ease;
}
.game-card-play {
  background: var(--ink);
  color: var(--surface);
}
.game-card-play:hover,
.game-card-play:focus-visible {
  background: var(--card-accent, var(--accent));
  border-color: var(--line-strong);
  color: var(--card-accent-ink, var(--surface));
}
.selected-games-empty {
  grid-column: 1 / -1;
  padding: 22px;
  text-align: center;
  color: var(--muted);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.browse-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.browse-footer-copy {
  margin: 0;
  color: var(--muted);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.browse-link {
  min-height: 48px;
  padding: 0 18px;
  background: var(--surface);
}

.about-shell {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  padding: 0;
}

.about-cell {
  padding: 24px 22px 26px 28px;
  border-right: 1px solid var(--line);
}

.about-cell:last-child {
  border-right: 0;
}

.about-label {
  margin: 0 0 10px;
  color: var(--muted);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.about-copy {
  margin: 0;
  font-size: 1rem;
  line-height: 1.5;
}

.faq-shell {
  margin-top: 56px;
  padding-top: 28px;
  border-top: 2px solid var(--line-strong);
}

.faq-title {
  margin: 0 0 20px;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.faq-list {
  margin: 0;
  display: grid;
  gap: 20px;
}

.faq-item {
  margin: 0;
}

.faq-q {
  margin: 0 0 4px;
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--ink);
}

.faq-a {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--muted);
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-top: 20px;
  color: var(--muted);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

@media (max-width: 980px) {
  .site-nav,
  .hero,
  .browse-shell,
  .about-shell,
  .selected-games,
  .faq-shell,
  .site-footer {
    width: calc(100% - 24px);
  }

  .site-nav {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .nav-links {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }

  .hero-grid,
  .browse-header,
  .about-shell {
    grid-template-columns: 1fr;
  }

  .hero-meta {
    height: clamp(260px, 50svh, 420px);
  }

  .browse-state {
    text-align: left;
  }
}

@media (max-width: 720px) {
  .hero {
    padding: 22px 18px 20px 24px;
  }

  .browse-shell {
    padding: 18px 18px 20px 24px;
  }

  .selected-games {
    padding: 18px 18px 20px 24px;
  }

  .hero-meta-toggle-btn {
    min-height: 50px;
    font-size: 0.72rem;
  }

  .hero-actions {
    grid-template-columns: 1fr;
  }

  .directory-grid {
    grid-template-columns: 1fr;
  }

  .about-cell {
    padding: 20px 18px 20px 24px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .about-cell:last-child {
    border-bottom: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nav-link,
  .hero-button,
  .browse-link,
  .mc-link,
  .directory-item,
  .hero-meta-toggle-btn,
  .hero-meta-list-item,
  .game-card,
  .game-card-play {
    transition: none;
  }

  .selected-games.is-fresh,
  .selected-games.is-fresh .game-card {
    animation: none;
  }
}

.winners-wall-page .winners-hero-grid {
  align-items: stretch;
}

.winners-wall-page .winners-hero-card {
  align-content: start;
  min-height: 220px;
}

.winners-hero-card-title {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 0.92;
  text-transform: uppercase;
}

.winners-hero-card-copy {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

.winners-status {
  margin: 0;
}

.winners-status.is-error {
  color: var(--accent);
}

.winners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
  margin-top: 22px;
}

.winners-tile {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: inherit;
  text-decoration: none;
  transition: transform 140ms ease, border-color 140ms ease, background 140ms ease;
}

.winners-tile:hover,
.winners-tile:focus-visible {
  border-color: var(--accent);
  background: var(--paper-strong);
  outline: none;
  transform: translateY(-1px);
}

.winners-tile img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.winners-tile-caption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  gap: 4px;
  padding: 36px 12px 12px;
  background: linear-gradient(0deg, rgba(17, 17, 17, 0.78), rgba(17, 17, 17, 0));
  color: #ffffff;
}

.winners-tile-stop {
  overflow: hidden;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.2;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.winners-tile-meta {
  color: rgba(255, 255, 255, 0.74);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.winners-empty {
  margin-top: 22px;
  text-align: center;
}

@media (max-width: 980px) {
  .winners-wall-page .winners-hero-card {
    height: auto;
    min-height: 180px;
  }
}

@media (max-width: 720px) {
  .winners-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  .winners-tile {
    transition: none;
  }
}

.home-page .site-nav {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: start;
  width: calc(100% - 48px);
  margin: 0 auto;
  padding: 0 0 16px;
  border: 0;
  border-bottom: 2px solid var(--line-strong);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.home-page .brand-lockup {
  display: grid;
  gap: 8px;
  align-items: start;
  min-width: 0;
  max-width: none;
}

.home-page .brand-name {
  color: var(--accent);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  line-height: 1.2;
  text-transform: uppercase;
  text-shadow: none;
}

.home-page .brand-tagline {
  margin: 0;
  color: var(--muted);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  line-height: 1.35;
  text-transform: uppercase;
}

.home-page .nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
  align-self: start;
}

.home-page .nav-link,
.home-page [data-account-link].nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-width: 0;
  max-width: none;
  min-height: 36px;
  padding: 0 11px !important;
  border: 1px solid var(--line-strong);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.64rem !important;
  font-weight: 600;
  letter-spacing: 0.11em;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  text-indent: 0;
  text-transform: uppercase;
  overflow: visible;
  cursor: pointer;
  box-shadow: none;
  transition: transform 140ms ease, border-color 140ms ease, background 140ms ease, color 140ms ease;
}

.home-page [data-account-link].nav-link::before,
.home-page [data-account-link].nav-link::after {
  content: none;
  display: none;
}

.home-page .nav-link:hover,
.home-page .nav-link:focus-visible {
  border-color: var(--accent);
  background: var(--paper-strong);
  color: var(--ink);
  outline: none;
  transform: translateY(-1px);
}

.home-page .nav-link--active,
.home-page .nav-link--active:hover,
.home-page .nav-link--active:focus-visible {
  background: var(--ink);
  border-color: var(--ink);
  color: #ffffff;
}

@media (max-width: 980px) {
  .home-page .site-nav {
    grid-template-columns: minmax(0, 1fr) auto;
    width: calc(100% - 24px);
  }

  .home-page .nav-links {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }
}

/* ─────────────────────────────────────────────────────────────────────
   Home/Games page skin.
   Scope: body.home-page. Shared public-shell rules above still support
   other public pages; this block owns the current nav, hero finder,
   selected-game cards, footer, and responsive behavior.
   ─────────────────────────────────────────────────────────────────── */
body.home-page {
  --paper: #0a0e15;
  --paper-strong: #131822;
  --ink: #f3eedc;
  --muted: rgba(243, 238, 220, 0.62);
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.18);
  --accent: #f5b461;
  --accent-deep: #4d7cff;
  --accent-soft: rgba(245, 180, 97, 0.14);
  --surface: rgba(255, 255, 255, 0.04);
  --signal: #ff6f5a;
  --gold: #f5b461;
  --card-paper: #161b25;
  --card-ink: #f3eedc;
  --card-muted: rgba(243, 238, 220, 0.6);
  --shadow-chip: 0 10px 24px rgba(0, 0, 0, 0.35);
  --shadow-panel: 0 28px 60px rgba(0, 0, 0, 0.45);
  min-height: 100svh;
  background:
    radial-gradient(ellipse at 50% -20%, rgba(245, 180, 97, 0.06), transparent 50%),
    linear-gradient(180deg, #0a0e15 0%, #0b1018 60%, #07090e 100%);
  color: var(--ink);
  font-family: "JetBrains Mono", "Menlo", "Consolas", monospace;
}

body.home-page .page-shell {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
  padding: 16px 0 56px;
}

body.home-page main {
  display: grid;
  gap: 16px;
  padding-top: 0;
}

/* -- Site navigation: non-sticky and aligned with the page shell. */
body.home-page .site-nav.site-nav {
  --tgb-nav-paper: rgba(255, 255, 255, 0.04);
  --tgb-nav-paper-strong: rgba(255, 255, 255, 0.07);
  --tgb-nav-ink: var(--ink);
  --tgb-nav-muted: var(--muted);
  --tgb-nav-accent: var(--accent);
  position: static;
  top: auto;
  z-index: auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  width: 100%;
  max-width: none;
  margin: 0 0 16px;
  padding: 14px 4px;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  box-shadow: none;
  backdrop-filter: none;
}

body.home-page .site-nav.site-nav .brand-lockup {
  grid-column: auto;
  grid-row: auto;
  gap: 4px;
}

body.home-page .site-nav.site-nav .brand-name {
  color: var(--ink);
  font-family: "JetBrains Mono", "Menlo", "Consolas", monospace;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: none;
}

body.home-page .site-nav.site-nav .brand-tagline {
  color: var(--muted);
  font-family: "JetBrains Mono", "Menlo", "Consolas", monospace;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}

body.home-page .site-nav.site-nav .nav-links {
  grid-column: auto;
  grid-row: auto;
  display: flex;
  grid-template-columns: none;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  pointer-events: auto;
}

body.home-page .site-nav.site-nav .nav-primary-links,
body.home-page .site-nav.site-nav .nav-utility-links {
  grid-column: auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  justify-self: auto;
}

body.home-page .site-nav.site-nav .nav-link,
body.home-page .site-nav.site-nav [data-account-link].nav-link {
  min-height: 38px;
  padding: 0 14px !important;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--ink);
  font-family: "JetBrains Mono", "Menlo", "Consolas", monospace;
  font-size: 0.84rem !important;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  box-shadow: none;
  transition: transform 140ms ease, background 140ms ease, color 140ms ease, border-color 140ms ease;
}

body.home-page .site-nav.site-nav .nav-link--major {
  min-height: 40px;
  padding: 0 16px !important;
  font-size: 0.88rem !important;
}

body.home-page .site-nav.site-nav .nav-link--major::before {
  width: 16px;
  height: 16px;
  flex-basis: 16px;
}

body.home-page .site-nav.site-nav .nav-link--major::after {
  display: none;
}

body.home-page .site-nav.site-nav .nav-link--minor {
  min-height: 36px;
  font-size: 0.8rem !important;
  color: var(--muted);
}

body.home-page .site-nav.site-nav .nav-link:hover,
body.home-page .site-nav.site-nav .nav-link:focus-visible {
  background: rgba(255, 255, 255, 0.09);
  color: var(--ink);
  border-color: var(--line-strong);
  outline: none;
  transform: translateY(-1px);
}

/* No current-page lock — public nav stays unmarked. */
body.home-page .site-nav.site-nav .nav-link[aria-current="page"],
body.home-page .site-nav.site-nav .nav-link--active {
  background: rgba(255, 255, 255, 0.035);
  color: var(--ink);
  border-color: var(--line);
}

/* -- GAMES dropdown: anchored to the nav button, dark glass panel. */
body.home-page .nav-dropdown {
  position: relative;
  display: inline-flex;
}

body.home-page .nav-dropdown > .nav-link {
  cursor: pointer;
}

body.home-page .nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  z-index: 80;
  min-width: 240px;
  max-width: calc(100vw - 24px);
  display: grid;
  gap: 2px;
  padding: 8px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: rgba(16, 21, 30, 0.95);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

body.home-page .nav-dropdown-menu[hidden] {
  display: none;
}

body.home-page .nav-dropdown-item {
  display: flex;
  align-items: center;
  padding: 10px 14px;
  border: 1px solid transparent;
  border-radius: 6px;
  color: var(--ink);
  font-family: "JetBrains Mono", "Menlo", "Consolas", monospace;
  font-size: 0.86rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: background 120ms ease, color 120ms ease, border-color 120ms ease;
}

body.home-page .nav-dropdown-item:hover,
body.home-page .nav-dropdown-item:focus-visible {
  background: rgba(245, 180, 97, 0.12);
  color: var(--accent);
  border-color: rgba(245, 180, 97, 0.32);
  outline: none;
}

/* -- Hero */
body.home-page .hero,
body.home-page .selected-games,
body.home-page .site-footer {
  width: 100%;
  margin-right: auto;
  margin-left: auto;
}

/* The night-aerial photograph is the page. Gradient is a thin vignette
   on the left for headline legibility; the right runs nearly clean. */
body.home-page .hero {
  position: relative;
  min-height: clamp(620px, calc(100svh - 118px), 760px);
  padding: clamp(36px, 5vw, 64px);
  overflow: hidden;
  isolation: isolate;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background:
    linear-gradient(95deg,
      rgba(8, 11, 17, 0.94) 0%,
      rgba(8, 11, 17, 0.82) 32%,
      rgba(8, 11, 17, 0.48) 56%,
      rgba(8, 11, 17, 0.20) 78%,
      rgba(8, 11, 17, 0.08) 100%),
    url("/assets/home/football-night-hero-stops.png") center right / cover no-repeat;
  box-shadow: var(--shadow-panel);
}

body.home-page .hero::before {
  display: none;
}

/* Subtle warm-light wash on the right so the photo's amber tones
   pull forward without competing for attention. */
body.home-page .hero::after {
  content: "";
  position: absolute;
  inset: 0 0 0 40%;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(ellipse at 80% 50%, rgba(245, 180, 97, 0.10), transparent 60%);
  mix-blend-mode: screen;
}

body.home-page .hero-grid {
  position: relative;
  z-index: 1;
  min-width: 0;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 0.68fr);
  gap: clamp(32px, 4vw, 56px);
  align-items: stretch;
  min-height: clamp(520px, calc(100svh - 208px), 660px);
}

body.home-page .hero-story,
body.home-page .hero-grid > div:first-child {
  min-width: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 700px;
}

/* Nav stats: compact stat readout pinned to the right column of the
   page nav. Text-only (matches the brand-lockup on the left), two
   Big Shoulders Display numbers with small uppercase labels. */
body.home-page .site-nav.site-nav .nav-stats {
  display: grid;
  grid-template-columns: auto auto;
  align-items: stretch;
  gap: 10px;
  justify-self: end;
}

body.home-page .site-nav.site-nav .nav-stats-stat {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 4px;
  padding: 8px 18px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: rgba(16, 21, 30, 0.78);
  box-shadow: var(--shadow-chip);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  line-height: 1;
  text-align: center;
}

body.home-page .site-nav.site-nav .nav-stats-num {
  font-family: "Big Shoulders Display", "Impact", "Arial Narrow", sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

body.home-page .site-nav.site-nav .nav-stats-label {
  font-family: "JetBrains Mono", "Menlo", "Consolas", monospace;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(243, 238, 220, 0.62);
}

body.home-page .hero-kicker-link {
  grid-column: 1 / -1;
  justify-self: start;
  margin-top: 8px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--accent);
  font-family: "JetBrains Mono", "Menlo", "Consolas", monospace;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  box-shadow: none;
  backdrop-filter: none;
  transition: color 150ms ease;
}

body.home-page .hero-kicker-link:hover,
body.home-page .hero-kicker-link:focus-visible {
  color: var(--ink);
  background: transparent;
  border: 0;
  transform: none;
  outline: none;
}

/* -- Hero mode switch: draggable two-option control above the headline.
   JS keeps data-mode, aria-selected, and the live sliding marker in sync. */
body.home-page .hero-mode-switch {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  margin: 0 0 28px;
}

body.home-page .hero-mode-label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: "JetBrains Mono", "Menlo", "Consolas", monospace;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.32em;
  line-height: 1;
  color: var(--accent);
  text-transform: uppercase;
}

body.home-page .hero-mode-label-dash {
  display: inline-block;
  width: 24px;
  height: 2px;
  background: var(--accent);
  box-shadow: 0 0 12px rgba(212, 165, 116, 0.55);
}

body.home-page .hero-mode-track {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  padding: 5px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: rgba(16, 21, 30, 0.78);
  box-shadow:
    var(--shadow-chip),
    inset 0 0 0 1px rgba(243, 238, 220, 0.04);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  isolation: isolate;
  overflow: hidden;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
  cursor: grab;
}

body.home-page .hero-mode-track::before {
  display: none;
}

body.home-page .hero-mode-marker {
  position: absolute;
  z-index: 1;
  top: 5px;
  bottom: 5px;
  left: 5px;
  width: calc(50% - 5px);
  background: var(--accent);
  border-radius: 6px;
  box-shadow:
    0 6px 20px rgba(212, 165, 116, 0.45),
    inset 0 0 0 1px rgba(0, 0, 0, 0.15);
  transition:
    transform 420ms cubic-bezier(0.68, -0.18, 0.27, 1.32),
    box-shadow 280ms ease;
  will-change: transform;
}

/* Live drag state: disable marker easing while the pointer owns the control. */
body.home-page .hero-mode-switch.is-sliding .hero-mode-track,
body.home-page .hero-mode-switch.is-sliding .hero-mode-tab {
  cursor: grabbing;
}

body.home-page .hero-mode-switch.is-sliding .hero-mode-marker {
  transition: none;
  box-shadow:
    0 8px 24px rgba(212, 165, 116, 0.52),
    inset 0 0 0 1px rgba(0, 0, 0, 0.15);
}

body.home-page .hero-mode-switch[data-mode="city"] .hero-mode-marker {
  transform: translateX(100%);
}

body.home-page .hero-mode-tab {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 26px;
  border: 0;
  background: transparent;
  color: rgba(243, 238, 220, 0.58);
  font-family: "JetBrains Mono", "Menlo", "Consolas", monospace;
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  line-height: 1;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 280ms cubic-bezier(0.22, 1, 0.36, 1), transform 240ms ease;
  white-space: nowrap;
}

body.home-page .hero-mode-tab[aria-selected="true"] {
  color: #0b0f17;
}

body.home-page .hero-mode-tab:hover:not([aria-selected="true"]) {
  color: var(--ink);
  transform: translateY(-1px);
}

body.home-page .hero-mode-tab:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: 2px;
}

body.home-page .hero-mode-tab-num {
  font-family: "Big Shoulders Display", "Impact", "Arial Narrow", sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  font-style: italic;
  letter-spacing: 0;
  opacity: 0.55;
  transition: opacity 280ms ease;
}

body.home-page .hero-mode-tab[aria-selected="true"] .hero-mode-tab-num {
  opacity: 0.85;
}

body.home-page .hero-mode-tab-text {
  position: relative;
  display: inline-block;
}

body.home-page .hero-headline {
  max-width: 14ch;
  margin: 0;
  color: var(--ink);
  font-family: "Big Shoulders Display", "Impact", "Arial Narrow", sans-serif;
  font-size: clamp(4.4rem, 8.8vw, 7.4rem);
  font-weight: 900;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  line-height: 0.92;
  text-wrap: balance;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
}

body.home-page .hero-copy {
  max-width: 36rem;
  margin: 24px 0 0;
  color: rgba(243, 238, 220, 0.82);
  font-family: "JetBrains Mono", "Menlo", "Consolas", monospace;
  font-size: 1.1rem;
  font-weight: 500;
  line-height: 1.6;
}

/* -- Hero finder panel */
body.home-page .hero-meta {
  align-self: stretch;
  min-width: 0;
  height: auto;
  min-height: 0;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 10px;
  padding: 18px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: rgba(16, 21, 30, 0.78);
  color: var(--ink);
  box-shadow: var(--shadow-chip);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

body.home-page .hero-meta::before {
  display: none;
}

body.home-page .hero-meta-header {
  display: grid;
  gap: 4px;
  padding: 0 2px 14px;
  border-bottom: 1px solid var(--line);
}

body.home-page .hero-meta-eyebrow,
body.home-page .hero-meta-heading {
  margin: 0;
}

body.home-page .hero-meta-eyebrow {
  color: var(--accent);
  font-family: "JetBrains Mono", "Menlo", "Consolas", monospace;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1;
  text-transform: uppercase;
}

body.home-page .hero-meta-heading {
  color: var(--ink);
  font-family: "Big Shoulders Display", "Impact", "Arial Narrow", sans-serif;
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  line-height: 1.1;
  text-align: center;
}

body.home-page .hero-meta-toggle {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  padding: 0;
}

body.home-page .hero-meta-toggle-btn {
  min-height: 52px;
  display: grid;
  align-content: center;
  gap: 4px;
  padding: 8px 0 12px;
  border: 0;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  color: var(--muted);
  background: transparent;
  font-family: "JetBrains Mono", "Menlo", "Consolas", monospace;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0;
  text-align: left;
  text-transform: none;
}

body.home-page .hero-meta-tab-kicker {
  display: block;
  color: var(--muted);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1;
  text-transform: uppercase;
}

body.home-page .hero-meta-tab-title {
  display: block;
  color: inherit;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
}

body.home-page .hero-meta-toggle-btn + .hero-meta-toggle-btn {
  border-left: 0;
}

body.home-page .hero-meta-toggle-btn:hover:not([aria-selected="true"]),
body.home-page .hero-meta-toggle-btn:focus-visible:not([aria-selected="true"]) {
  color: var(--ink);
  border-bottom-color: rgba(245, 180, 97, 0.32);
  background: transparent;
  outline: none;
}

body.home-page .hero-meta-toggle-btn[aria-selected="true"] {
  color: var(--ink);
  border-bottom-color: var(--accent);
  background: transparent;
  box-shadow: none;
}

body.home-page .hero-meta-toggle-btn[aria-selected="true"] .hero-meta-tab-kicker {
  color: var(--accent);
}

body.home-page .hero-meta-list-wrap {
  min-height: 0;
}

body.home-page .hero-meta-list {
  padding-right: 2px;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 14px, #000 calc(100% - 14px), transparent 100%);
          mask-image: linear-gradient(180deg, transparent 0, #000 14px, #000 calc(100% - 14px), transparent 100%);
}

body.home-page .hero-meta-list-track,
body.home-page .hero-meta-list-chunk {
  gap: 4px;
}

body.home-page .hero-meta-list-item {
  position: relative;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  min-height: 60px;
  padding: 10px 12px;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.025);
  color: var(--ink);
  font-family: "JetBrains Mono", "Menlo", "Consolas", monospace;
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  box-shadow: none;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease, background 160ms ease;
}

body.home-page .hero-meta-list-item::before {
  content: "";
  position: absolute;
  top: -25%;
  bottom: -25%;
  left: -40%;
  width: 50%;
  background: linear-gradient(
    115deg,
    transparent 0%,
    rgba(255, 255, 255, 0.0) 35%,
    rgba(255, 255, 255, 0.28) 50%,
    rgba(255, 255, 255, 0.0) 65%,
    transparent 100%
  );
  transform: translateX(0);
  transition: transform 900ms cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
  z-index: 0;
  mix-blend-mode: overlay;
}

body.home-page .hero-meta-list-item:hover::before {
  transform: translateX(360%);
}

body.home-page .hero-meta-list-item > * {
  position: relative;
  z-index: 1;
}

body.home-page .hero-meta-list-item:hover {
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.025);
  transform: translateY(-3px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.06) inset,
    0 0 0 2px var(--accent),
    0 22px 50px rgba(0, 0, 0, 0.42);
}

body.home-page .hero-meta-list-item.is-active {
  border-color: rgba(77, 124, 255, 0.5);
  color: #ffffff;
  transform: none;
  box-shadow: 0 6px 20px rgba(77, 124, 255, 0.16);
}

/* Team-color tint — only the border picks up the team's primary color,
   so each row reads as its team's identity without recoloring the panel
   chrome. Backgrounds inherit the neutral dark glass treatment. */
@supports (background: color-mix(in srgb, #000 50%, #fff)) {
  body.home-page .hero-meta-list-item[data-team-tint] {
    border-color: color-mix(in srgb, var(--team-primary) 38%, var(--line-strong));
  }

  body.home-page .hero-meta-list-item[data-team-tint]:hover {
    border-color: var(--team-primary);
    box-shadow:
      0 1px 0 rgba(255, 255, 255, 0.06) inset,
      0 0 0 2px var(--team-primary),
      0 22px 50px rgba(0, 0, 0, 0.42);
  }

  body.home-page .hero-meta-list-item[data-team-tint].is-active {
    border-color: var(--team-primary);
    box-shadow: 0 8px 24px color-mix(in srgb, var(--team-primary) 28%, transparent);
  }

  body.home-page .hero-meta-list-item[data-team-tint] .hero-meta-list-count {
    border-color: color-mix(in srgb, var(--team-primary) 48%, var(--line));
  }
}

body.home-page .hero-meta-list-helmet {
  width: 30px;
  height: 30px;
}

body.home-page .hero-meta-list-geo {
  border-color: var(--line-strong);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.92);
  color: #111111;
}

body.home-page .hero-meta-list-geo--shape {
  width: 44px;
  height: 30px;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

body.home-page .hero-meta-list-geo--shape path {
  fill: #ffffff;
  stroke: rgba(255, 255, 255, 0.92);
}

body.home-page .hero-meta-list-geo--shape text {
  fill: #111111;
  stroke: rgba(255, 255, 255, 0.9);
}

body.home-page .hero-meta-list-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}

body.home-page .hero-meta-list-eyebrow {
  overflow: hidden;
  color: var(--muted);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

body.home-page .hero-meta-list-item.is-active .hero-meta-list-eyebrow {
  color: rgba(255, 255, 255, 0.8);
}

body.home-page .hero-meta-list-name {
  color: var(--ink);
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.05;
}

body.home-page .hero-meta-list-item.is-active .hero-meta-list-name {
  color: #ffffff;
}

body.home-page .hero-meta-list-count {
  align-self: center;
  min-height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--ink);
  font-size: 0.7rem;
  font-weight: 700;
  white-space: nowrap;
}

body.home-page .hero-meta-list-item.is-active .hero-meta-list-count {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
}

/* -- Selected games panel */
body.home-page .selected-games {
  padding: 28px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0.01)),
    rgba(11, 16, 24, 0.86);
  box-shadow: var(--shadow-panel);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

body.home-page .selected-games::before {
  display: none;
}

body.home-page .selected-games-head {
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  padding: 0 0 18px;
  border-bottom: 1px solid var(--line);
}

body.home-page .selected-games-title {
  color: var(--ink);
  font-family: "Big Shoulders Display", "Impact", "Arial Narrow", sans-serif;
  font-size: 1.55rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.1;
  text-transform: uppercase;
}

body.home-page .selected-games-icon--helmet {
  width: 34px;
  height: 34px;
}

body.home-page .selected-games-grid {
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}

body.home-page .selected-games-empty {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  font-family: "JetBrains Mono", "Menlo", "Consolas", monospace;
  font-size: 0.92rem;
  letter-spacing: 0;
  text-transform: none;
}

/* -- Game result cards */
body.home-page .game-card {
  position: relative;
  grid-template-rows: 160px 94px 82px 58px;
  gap: 0;
  height: 394px;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--card-secondary, rgba(255, 255, 255, 0.14));
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0) 42%),
    var(--card-paper);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.05) inset,
    0 16px 34px rgba(0, 0, 0, 0.36);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease, background 160ms ease;
}

body.home-page .game-card:hover {
  border-color: var(--card-secondary, var(--accent));
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.06) inset,
    0 0 0 2px var(--card-secondary, var(--accent)),
    0 22px 48px rgba(0, 0, 0, 0.42);
  transform: translateY(-3px);
}

body.home-page .game-card-deed {
  position: relative;
  grid-template-rows: 38px minmax(0, 1fr);
  gap: 14px;
  height: auto;
  min-height: 0;
  padding: 16px 18px 18px;
  border: 0;
  border-radius: 0;
  overflow: hidden;
  isolation: isolate;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0) 38%),
    linear-gradient(135deg, rgba(8, 11, 17, 0.12), rgba(8, 11, 17, 0.7)),
    var(--card-accent, var(--accent));
  color: #ffffff;
}

body.home-page .game-card-deed::before {
  content: "";
  position: absolute;
  top: -25%;
  bottom: -25%;
  left: -40%;
  width: 50%;
  background: linear-gradient(
    115deg,
    transparent 0%,
    rgba(255, 255, 255, 0.0) 35%,
    rgba(255, 255, 255, 0.28) 50%,
    rgba(255, 255, 255, 0.0) 65%,
    transparent 100%
  );
  transform: translateX(0);
  transition: transform 900ms cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
  z-index: 0;
  mix-blend-mode: overlay;
}

body.home-page .game-card:hover .game-card-deed::before {
  transform: translateX(360%);
}

body.home-page .game-card-deed > * {
  position: relative;
  z-index: 1;
}

body.home-page .game-card-deed::after {
  content: "";
  position: absolute;
  right: 18px;
  bottom: 0;
  left: 18px;
  height: 1px;
  background: rgba(255, 255, 255, 0.16);
  z-index: 1;
}

@supports (color: color-mix(in srgb, #000 50%, #fff)) {
  body.home-page .game-card-deed {
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0) 38%),
      linear-gradient(135deg, rgba(8, 11, 17, 0.12), rgba(8, 11, 17, 0.7)),
      color-mix(in srgb, var(--card-accent, var(--accent)) 82%, #000000 18%);
  }
}

body.home-page .game-card-deed-head {
  grid-template-columns: minmax(0, 1fr) auto;
  height: 38px;
  align-items: center;
}

body.home-page .game-card-deed-label {
  min-width: 0;
  width: fit-content;
  max-width: 100%;
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  padding: 0 11px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.92);
  font-family: "JetBrains Mono", "Menlo", "Consolas", monospace;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1;
  text-overflow: ellipsis;
  text-transform: none;
  white-space: nowrap;
}

body.home-page .game-card-icons {
  justify-self: end;
  gap: 9px;
  height: 38px;
}

body.home-page .game-card-deed-head > .game-card-icons:first-child {
  grid-column: 1 / -1;
}

body.home-page .game-card-helmet {
  width: 36px;
  height: 36px;
}

body.home-page .game-card-title {
  align-items: flex-end;
  justify-content: flex-start;
  color: #ffffff;
  font-family: "Big Shoulders Display", "Impact", "Arial Narrow", sans-serif;
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.02;
  text-align: left;
  text-transform: uppercase;
}

body.home-page .game-card-deed-lines {
  display: grid;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  height: auto;
  margin: 0;
  padding: 14px 18px 8px;
  border: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.022), rgba(255, 255, 255, 0));
}

body.home-page .game-card-deed-line {
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 14px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
}

body.home-page .game-card-deed-line dt {
  color: var(--card-muted);
  font-family: "JetBrains Mono", "Menlo", "Consolas", monospace;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.2;
  text-transform: none;
}

body.home-page .game-card-deed-line dd {
  color: var(--card-ink);
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.2;
}

/* Date + time ("When") row stays on a single line — the fit-text JS
   shrinks the font when the combined string would overflow rather than
   wrapping to a second line. City row is exempt because it intentionally
   stacks "City" / "State" on two lines via .--city. */
body.home-page .game-card-deed-line:not(.game-card-deed-line--city) dd {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

body.home-page .game-card-tagline {
  height: auto;
  min-height: 0;
  margin: 0 18px 12px;
  padding: 13px 0 0;
  border: 0;
  border-top: 1px solid var(--line);
  color: var(--card-muted);
  font-family: "JetBrains Mono", "Menlo", "Consolas", monospace;
  font-size: 0.94rem;
  font-style: normal;
  font-weight: 500;
  line-height: 1.38;
  text-align: left;
}

body.home-page .game-card-actions {
  height: 58px;
  padding: 0 18px 18px;
  align-items: stretch;
}

body.home-page .game-card-play {
  height: 42px;
  min-height: 42px;
  border: 1px solid var(--card-secondary, var(--accent));
  border-radius: 6px;
  background: var(--card-secondary, var(--accent));
  color: var(--card-secondary-ink, #080c12);
  font-family: "JetBrains Mono", "Menlo", "Consolas", monospace;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.32) inset;
  transition: box-shadow 200ms ease, transform 200ms ease;
}

body.home-page .game-card-play:hover,
body.home-page .game-card-play:focus-visible {
  background: var(--card-secondary, var(--accent));
  color: var(--card-secondary-ink, #080c12);
  border-color: var(--card-secondary, var(--accent));
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.32) inset,
    0 10px 24px rgba(0, 0, 0, 0.45),
    0 0 22px color-mix(in srgb, var(--card-secondary, var(--accent)) 55%, transparent);
  transform: translateY(-1px);
  outline: none;
}

/* -- Footer */
body.home-page .site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 24px 4px 0;
  color: var(--muted);
  font-family: "JetBrains Mono", "Menlo", "Consolas", monospace;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}

body.home-page .site-footer a {
  color: var(--accent);
  text-decoration: none;
}

body.home-page .site-footer a:hover,
body.home-page .site-footer a:focus-visible {
  color: var(--ink);
}

/* -- Responsive layout */
@media (max-width: 980px) {
  body.home-page .page-shell {
    width: min(100% - 24px, 1240px);
    padding-top: 12px;
  }

  body.home-page .site-nav.site-nav {
    grid-template-columns: minmax(0, 1fr);
  }

  body.home-page .site-nav.site-nav .nav-links {
    justify-content: flex-start;
  }

  body.home-page .hero {
    min-height: 0;
    padding: 32px;
    background:
      linear-gradient(180deg,
        rgba(8, 11, 17, 0.88) 0%,
        rgba(8, 11, 17, 0.58) 50%,
        rgba(8, 11, 17, 0.84) 100%),
      url("/assets/home/football-night-hero-stops.png") 58% center / cover no-repeat;
  }

  body.home-page .hero::after {
    inset: auto 0 0 0;
    height: 50%;
    background: radial-gradient(ellipse at 50% 80%, rgba(245, 180, 97, 0.14), transparent 65%);
    mix-blend-mode: screen;
  }

  body.home-page .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
    min-height: 0;
  }

  body.home-page .hero-story,
  body.home-page .hero-grid > div:first-child {
    max-width: 720px;
  }

  body.home-page .hero-headline {
    max-width: 14ch;
    font-size: 4.4rem;
  }

  body.home-page .hero-meta {
    width: 100%;
    height: clamp(420px, 62svh, 540px);
    min-height: 420px;
    max-height: 62svh;
  }
}

@media (max-width: 720px) {
  body.home-page .page-shell {
    width: min(100% - 16px, 1240px);
  }

  body.home-page .site-nav.site-nav {
    padding: 12px 4px;
  }

  body.home-page .site-nav.site-nav .nav-links,
  body.home-page .site-nav.site-nav .nav-primary-links,
  body.home-page .site-nav.site-nav .nav-utility-links {
    width: 100%;
  }

  body.home-page .site-nav.site-nav .nav-links {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  body.home-page .site-nav.site-nav .nav-primary-links,
  body.home-page .site-nav.site-nav .nav-utility-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  body.home-page .site-nav.site-nav .nav-link,
  body.home-page .site-nav.site-nav [data-account-link].nav-link {
    width: 100%;
    min-height: 42px;
    padding: 0 12px !important;
    font-size: 0.8rem !important;
  }

  body.home-page .hero {
    padding: 24px 18px 22px;
    background:
      linear-gradient(180deg,
        rgba(8, 11, 17, 0.92) 0%,
        rgba(8, 11, 17, 0.6) 48%,
        rgba(8, 11, 17, 0.92) 100%),
      url("/assets/home/football-night-hero-stops.png") 62% center / cover no-repeat;
  }

  /* Mobile nav stacks the stat pair below the menu, centered as a unit. */
  body.home-page .site-nav.site-nav .nav-stats {
    justify-self: center;
  }

  body.home-page .hero-meta {
    height: clamp(380px, 58svh, 480px);
    min-height: 380px;
    max-height: 60svh;
    padding: 14px;
  }

  body.home-page .hero-mode-switch {
    width: 100%;
    margin-bottom: 22px;
    gap: 10px;
  }

  body.home-page .hero-mode-track {
    width: 100%;
  }

  body.home-page .hero-mode-tab {
    padding: 13px 14px;
    font-size: 0.74rem;
    letter-spacing: 0.12em;
    gap: 8px;
  }

  body.home-page .hero-mode-tab-num {
    font-size: 0.7rem;
  }

  body.home-page .hero-mode-label {
    font-size: 0.6rem;
    letter-spacing: 0.26em;
    gap: 10px;
  }

  body.home-page .hero-mode-label-dash {
    width: 18px;
  }

  body.home-page .hero-headline {
    font-size: 3.2rem;
  }

  body.home-page .hero-copy {
    font-size: 1rem;
  }

  body.home-page .selected-games {
    padding: 20px;
  }

  /* Nav dropdown — fill its grid column and anchor menu to wrapper. */
  body.home-page .nav-dropdown {
    display: block;
    width: 100%;
  }

  body.home-page .nav-dropdown > .nav-link {
    width: 100%;
  }

  body.home-page .nav-dropdown-menu {
    left: 0;
    right: auto;
    transform: none;
    width: 100%;
    min-width: 0;
  }

  body.home-page .nav-dropdown-item {
    white-space: normal;
    line-height: 1.2;
  }
}

@media (max-width: 480px) {
  body.home-page .hero-headline {
    font-size: 2.7rem;
  }

  body.home-page .hero-mode-tab {
    padding: 11px 8px;
    font-size: 0.66rem;
    letter-spacing: 0.1em;
    gap: 6px;
  }

  body.home-page .hero-mode-tab-num {
    font-size: 0.64rem;
  }

  body.home-page .hero-mode-label {
    font-size: 0.54rem;
    letter-spacing: 0.22em;
  }

  body.home-page .site-nav.site-nav .nav-stats-num {
    font-size: 1.25rem;
  }

  body.home-page .site-nav.site-nav .nav-stats-label {
    font-size: 0.54rem;
  }

  body.home-page .hero-kicker-link {
    font-size: 0.66rem;
  }

  body.home-page .hero-meta-list-item {
    grid-template-columns: 34px minmax(0, 1fr) auto;
    min-height: 58px;
    font-size: 0.8rem;
  }

  body.home-page .hero-meta-list-helmet {
    width: 24px;
    height: 24px;
  }

  body.home-page .hero-meta-list-eyebrow {
    font-size: 0.56rem;
  }

  body.home-page .hero-meta-list-name {
    font-size: 1.05rem;
  }

  body.home-page .hero-meta-list-count {
    min-height: 24px;
    padding: 0 8px;
    font-size: 0.66rem;
  }

  body.home-page .game-card {
    grid-template-rows: 154px 94px 82px 58px;
    height: 388px;
  }

  body.home-page .selected-games-grid {
    grid-template-columns: 1fr;
  }

  body.home-page .site-footer {
    display: grid;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.home-page .site-nav.site-nav .nav-link,
  body.home-page .hero-meta-toggle-btn,
  body.home-page .hero-mode-tab,
  body.home-page .hero-mode-marker,
  body.home-page .hero-meta-list-item,
  body.home-page .game-card,
  body.home-page .game-card-play,
  body.home-page .game-card-deed::before {
    transition: none;
  }
  body.home-page .game-card:hover .game-card-deed::before {
    transform: none;
  }
}
