/* ── Theme palettes ──────────────────────────────── */
:root {
  --bg: #f5f3ee;
  --text: #222;
  --text-muted: #666;
  --text-soft: #888;
  --text-faint: #aaa;
  --brand-le: #2b2b2b;
  --accent: #8a1c1c;          /* accent as text/border */
  --accent-solid: #8a1c1c;    /* solid fills (buttons, active tabs) */
  --accent-solid-hover: #6e1616;
  --accent-contrast: #fff;    /* text on solid accent */
  --accent-soft: #f0dede;     /* hover wash */
  --card: #ffffff;
  --card-alt: #fafafa;
  --thead-bg: #f0e9dc;
  --border: #ddd;
  --border-soft: #e0dcd2;
  --input-border: #ccc;
  --input-bg: #ffffff;
  --suggestion-hover: #f0e9dc;
  --success: #145214;
  --success-bright: #1a7a1a;
  --success-bg: #d4edda;
  --danger: #7a0010;
  --danger-bg: #fde8e8;
  --chip-bg: #f0dede;
  --stat-cell-bg: #f5f3ee;
  --stat-cell-border: #e0dcd2;
  --neutral-btn: #444;
  --neutral-btn-hover: #222;
  --logo-label: #333;
  --shadow: rgba(0, 0, 0, 0.15);
  --shadow-soft: rgba(0, 0, 0, 0.08);
  --overlay: rgba(0, 0, 0, 0.45);
  /* Pale per-sport accents (loosely echo the Sports-Reference sites) */
  --sport-nba: #c46a1f;  /* orange */
  --sport-nfl: #3d8a58;  /* green */
  --sport-mlb: #b34a45;  /* red */
  --sport-nhl: #3a76b8;  /* blue */
}

:root[data-theme="dark"] {
  --bg: #1b1917;
  --text: #e8e4dd;
  --text-muted: #a8a29a;
  --text-soft: #8f8981;
  --text-faint: #6e6962;
  --brand-le: #e8e4dd;
  --accent: #d47f7f;
  --accent-solid: #8a1c1c;
  --accent-solid-hover: #a22626;
  --accent-contrast: #fff;
  --accent-soft: #3a2222;
  --card: #262220;
  --card-alt: #2c2825;
  --thead-bg: #322a22;
  --border: #3d3833;
  --border-soft: #383329;
  --input-border: #4a453f;
  --input-bg: #262220;
  --suggestion-hover: #3a342c;
  --success: #7ec87e;
  --success-bright: #7ec87e;
  --success-bg: #1e3320;
  --danger: #e88a8a;
  --danger-bg: #3a1f1f;
  --chip-bg: #3a2222;
  --stat-cell-bg: #211d1a;
  --stat-cell-border: #383329;
  --neutral-btn: #555;
  --neutral-btn-hover: #777;
  --logo-label: #b5afa5;
  --shadow: rgba(0, 0, 0, 0.5);
  --shadow-soft: rgba(0, 0, 0, 0.35);
  --overlay: rgba(0, 0, 0, 0.6);
  /* Lighter pale per-sport accents for the dark card background */
  --sport-nba: #e6a463;  /* orange */
  --sport-nfl: #82c79a;  /* green */
  --sport-mlb: #e69490;  /* red */
  --sport-nhl: #86b6e6;  /* blue */
}

body {
  font-family: -apple-system, "Segoe UI", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  margin: 0;
  padding: 24px;
  transition: background 0.2s, color 0.2s;
}

.container {
  max-width: 1000px;
  margin: 0 auto;
}

/* ── Header ──────────────────────────────────────── */
.header {
  position: relative;
  text-align: center;
  margin-bottom: 4px;
}

h1 {
  color: var(--accent);
  margin: 0;
  display: inline-block;
  font-size: 36px;
}

.brand-le { color: var(--brand-le); }

.header-icons {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  gap: 8px;
  align-items: center;
}

.header-icons-left {
  right: auto;
  left: 0;
}

.icon-btn {
  background: none;
  border: 2px solid var(--accent);
  color: var(--accent);
  border-radius: 50%;
  width: 32px;
  height: 32px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  padding: 0;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon-btn svg {
  width: 16px;
  height: 16px;
}

.icon-btn:hover {
  background: var(--accent-solid);
  color: var(--accent-contrast);
}

/* Theme toggle pill — inverse colors of the current mode */
.theme-btn {
  border-radius: 999px;
  width: auto;
  padding: 0 14px;
  height: 32px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  border: 2px solid var(--brand-le);
  background: var(--brand-le);
  color: var(--bg);
}

.theme-btn:hover {
  background: var(--bg);
  color: var(--brand-le);
}

.subtitle {
  text-align: center;
  color: var(--text-muted);
  margin-top: 6px;
  margin-bottom: 20px;
}

/* Narrow screens: shrink the title and header buttons so they don't collide */
@media (max-width: 480px) {
  h1 { font-size: 28px; }
  .icon-btn {
    width: 30px;
    height: 30px;
    font-size: 14px;
  }
  .icon-btn svg {
    width: 14px;
    height: 14px;
  }
  .theme-btn {
    width: auto;
    height: 30px;
    padding: 0 11px;
    font-size: 12px;
  }
  .header-icons { gap: 5px; }
  .subtitle { font-size: 14px; }
}

/* ── Sport tabs ──────────────────────────────────── */
.sport-tabs {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin-bottom: 10px;
}

.sport-tab {
  padding: 7px 22px;
  font-size: 14px;
  font-weight: 600;
  border: 2px solid var(--accent);
  border-radius: 4px;
  background: none;
  color: var(--accent);
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.sport-tab:hover {
  background: var(--accent-soft);
}

.sport-tab.active {
  background: var(--accent-solid);
  color: var(--accent-contrast);
}

/* ── Mode tabs ───────────────────────────────────── */
.mode-tabs {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin-bottom: 14px;
}

.mode-tab {
  padding: 6px 22px;
  font-size: 14px;
  font-weight: 600;
  border: 2px solid var(--accent);
  border-radius: 4px;
  background: none;
  color: var(--accent);
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.mode-tab:hover {
  background: var(--accent-soft);
}

.mode-tab.active {
  background: var(--accent-solid);
  color: var(--accent-contrast);
}

/* ── Decade filter row ───────────────────────────── */
.decade-row {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
  font-size: 14px;
  color: var(--text-muted);
}

.decade-row label {
  font-weight: 600;
  color: var(--accent);
}

.decade-row select {
  padding: 5px 10px;
  font-size: 14px;
  border: 2px solid var(--accent);
  border-radius: 4px;
  background: var(--input-bg);
  color: var(--accent);
  font-weight: 600;
  cursor: pointer;
}

/* ── Streak display ──────────────────────────────── */
.streak-display {
  font-size: 16px;
  color: var(--text-muted);
  margin: 0 auto 16px;
  padding: 10px 20px;
  background: var(--card);
  border: 2px solid var(--accent);
  border-radius: 999px;
  display: inline-flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 3px var(--shadow-soft);
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1;
}

.streak-display > * {
  display: inline-flex;
  align-items: center;
  line-height: 1;
}

.streak-display-wrap {
  text-align: center;
  margin-bottom: 4px;
}

.streak-display strong {
  color: var(--accent);
  font-size: 22px;
  font-weight: 800;
}

.streak-best {
  color: var(--text-soft);
  font-size: 13px;
  font-weight: 500;
}

.community-stats {
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
  margin: -8px 0 8px;
  letter-spacing: 0.01em;
}

.community-stats strong {
  color: var(--accent);
  font-weight: 700;
}

.community-pct {
  color: var(--text-faint);
}

.hint {
  text-align: center;
  font-size: 12px;
  color: var(--text-faint);
  margin: -2px 0 14px;
  letter-spacing: 0.02em;
}

.reveal-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-size: 13.5px;
  color: var(--text-muted);
  cursor: pointer;
  user-select: none;
}

.reveal-toggle input[type="checkbox"] {
  width: 15px;
  height: 15px;
  accent-color: var(--accent-solid);
  cursor: pointer;
  margin: 0;
}

/* ── Guess area ──────────────────────────────────── */
.guess-area {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.input-wrap {
  position: relative;
}

#guess-input {
  font-size: 16px;
  padding: 8px 12px;
  border: 1px solid var(--input-border);
  border-radius: 4px;
  width: 260px;
  background: var(--input-bg);
  color: var(--text);
}

.suggestions {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  margin-top: 2px;
  background: var(--card);
  border: 1px solid var(--input-border);
  border-radius: 4px;
  box-shadow: 0 2px 6px var(--shadow);
  max-height: 220px;
  overflow-y: auto;
  z-index: 10;
  text-align: left;
}

.suggestions.open { display: block; }

.suggestion-item {
  padding: 6px 12px;
  cursor: pointer;
  font-size: 14px;
}

.suggestion-item:hover,
.suggestion-item.active {
  background: var(--suggestion-hover);
}

button {
  font-size: 15px;
  padding: 8px 16px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  background: var(--accent-solid);
  color: var(--accent-contrast);
}

button:hover { background: var(--accent-solid-hover); }

#new-player-btn { background: var(--neutral-btn); }
#new-player-btn:hover { background: var(--neutral-btn-hover); }

/* ── Wrong guesses ───────────────────────────────── */
.wrong-guesses {
  text-align: center;
  font-size: 13px;
  color: var(--text-soft);
  min-height: 20px;
  margin-bottom: 8px;
}

.wrong-guesses span {
  display: inline-block;
  background: var(--chip-bg);
  color: var(--accent);
  border-radius: 12px;
  padding: 2px 10px;
  margin: 2px 3px;
  font-weight: 500;
}

/* ── Status / result banner ──────────────────────── */
@keyframes resultPop {
  0%   { transform: scale(0.85); opacity: 0; }
  60%  { transform: scale(1.04); opacity: 1; }
  100% { transform: scale(1);    opacity: 1; }
}

.status {
  text-align: center;
  font-weight: bold;
  font-size: 15px;
  min-height: 28px;
  margin-bottom: 10px;
  padding: 0 12px;
  border-radius: 6px;
}

.status.result-pop {
  animation: resultPop 0.3s ease-out forwards;
}

.status.wrong {
  color: var(--danger);
  background: var(--danger-bg);
  padding: 10px 16px;
}

.status.correct {
  color: var(--success);
  background: var(--success-bg);
  padding: 10px 16px;
  font-size: 17px;
}

.status.lost {
  color: var(--danger);
  background: var(--danger-bg);
  padding: 10px 16px;
  font-size: 17px;
}

.tries {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 8px;
}

/* ── Table ───────────────────────────────────────── */
.table-scroll {
  border-radius: 2px;
  box-shadow: 0 1px 3px var(--shadow);
}

@media (max-width: 768px) {
  .table-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--accent) var(--thead-bg);
  }
  .table-scroll::-webkit-scrollbar { height: 6px; }
  .table-scroll::-webkit-scrollbar-track { background: var(--thead-bg); border-radius: 3px; }
  .table-scroll::-webkit-scrollbar-thumb { background: var(--accent) ; border-radius: 3px; }

  table { min-width: 500px; }
}

table {
  border-collapse: collapse;
  width: 100%;
  font-size: 13px;
  background: var(--card);
}

th, td {
  border: 1px solid var(--border);
  padding: 2px 6px;
  text-align: center;
  height: 32px;
  vertical-align: middle;
  box-sizing: border-box;
  white-space: nowrap;
}

thead {
  background: var(--thead-bg);
  color: var(--accent);
}

tbody tr:nth-child(even) { background: var(--card-alt); }

.team-hidden { color: var(--text-faint); font-style: italic; }
.team-revealed { color: var(--success); font-weight: 600; }
.team-late { color: var(--text-soft); }

.team-cell { display: inline-flex; align-items: center; justify-content: center; line-height: 1; }
.team-cell-multi { gap: 3px; }
.team-cell-multi .team-cell-logo { width: 22px; height: 22px; }
.team-cell-logo { width: 26px; height: 26px; object-fit: contain; vertical-align: middle; display: block; }
.team-cell-abbr { font-weight: 600; }

/* Dark mode: give logos a faint white halo so dark logos (Yankees navy,
   Padres brown/navy, etc.) stay visible against the dark background. */
:root[data-theme="dark"] .team-cell-logo,
:root[data-theme="dark"] .team-logo img,
:root[data-theme="dark"] .conf-bank-item img {
  filter: drop-shadow(0 0 1.1px rgba(255, 255, 255, 0.45))
          drop-shadow(0 0 1.1px rgba(255, 255, 255, 0.25));
}

/* Hidden reveal — a neutral league logo, slightly blurred, leaks nothing */
.team-cell-blurred > * {
  filter: blur(2.5px);
  opacity: 0.7;
}

/* Conference text badge (used when no logo image exists, e.g. NHL) */
.conf-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 30px;
  height: 22px;
  padding: 0 7px;
  border-radius: 4px;
  background: var(--accent-solid);
  color: var(--accent-contrast);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.02em;
}

/* Team / Conference dropdown inline in the "Reveal a ___" hint line */
.reveal-toggle {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.reveal-toggle label { cursor: pointer; }

.reveal-mode-select {
  font: inherit;
  font-size: inherit;
  font-weight: 700;
  color: var(--accent);
  background: transparent;
  border: 1px solid var(--accent);
  border-radius: 4px;
  padding: 1px 4px;
  cursor: pointer;
}

.reveal-mode-select:focus { outline: none; }
.reveal-mode-select option { color: #222; }

/* ── Logo bank ───────────────────────────────────── */
.logo-bank-section {
  margin-top: 20px;
  border-top: 1px solid var(--border-soft);
  padding-top: 10px;
}

.logo-bank-section > summary {
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  color: var(--accent);
  text-align: center;
  list-style: none;
  padding: 6px 0;
  user-select: none;
}

.logo-bank-section > summary::-webkit-details-marker { display: none; }

.logo-bank-section > summary::before {
  content: "▸ ";
  display: inline-block;
  transition: transform 0.15s;
}

.logo-bank-section[open] > summary::before {
  transform: rotate(90deg);
}

.logo-bank {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 12px 6px 4px;
}

.logo-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px 18px;
}

.logo-division {
  display: flex;
  gap: 6px;
}

.team-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.15;
}

.team-logo img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.team-logo .team-abbr-fallback {
  display: none;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  background: var(--accent-solid);
  color: var(--accent-contrast);
  font-weight: 700;
  font-size: 11px;
  border-radius: 50%;
  letter-spacing: 0.02em;
}

.team-logo .team-abbr-label {
  font-weight: 600;
  color: var(--logo-label);
}

/* Conference logos row (below the team logos) */
.logo-conf-row {
  display: flex;
  justify-content: center;
  gap: 26px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border-soft);
}

.conf-bank-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--accent-solid);
  color: var(--accent-contrast);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.02em;
}

/* ── Report area ─────────────────────────────────── */
.report-area {
  text-align: center;
  margin-top: 24px;
  margin-bottom: 8px;
}

.report-area button {
  background: none;
  border: none;
  color: var(--text-soft);
  font-size: 13px;
  cursor: pointer;
  text-decoration: underline;
  padding: 0;
}

.report-area button:hover {
  color: var(--text);
  background: none;
}

/* ── Footer ──────────────────────────────────────── */
.site-footer {
  text-align: center;
  font-size: 12px;
  color: var(--text-faint);
  margin: 10px 0 4px;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.site-footer a {
  color: var(--text-soft);
  text-decoration: underline;
}

.site-footer a:hover { color: var(--text); }

/* ── Home content (crawlable prose below the game) ─── */
.home-content {
  max-width: 680px;
  margin: 40px auto 0;
  padding-top: 28px;
  border-top: 1px solid var(--border-soft);
  line-height: 1.65;
  color: var(--text);
  font-size: 15px;
}
.home-content h2 {
  color: var(--accent);
  font-size: 19px;
  margin: 30px 0 10px;
}
.home-content h2:first-of-type { margin-top: 0; }
.home-content h3 {
  font-size: 15.5px;
  margin: 18px 0 4px;
}
.home-content p { margin: 0 0 12px; }
.home-content ul,
.home-content ol { margin: 0 0 12px; padding-left: 22px; }
.home-content li { margin-bottom: 6px; }
.home-content a { color: var(--accent); }
.home-content .faq h3 { color: var(--text); }
@media (max-width: 480px) {
  .home-content { font-size: 14px; }
  .home-content h2 { font-size: 17px; }
}

/* Shared content-page layout (about / privacy / how-to-play / glossary) */
.page {
  max-width: 720px;
  margin: 0 auto;
  line-height: 1.65;
  font-size: 15px;
}
.page h1 { font-size: 26px; }
.page h2 { color: var(--accent); font-size: 18px; margin-top: 28px; }
.page h3 { font-size: 15.5px; margin: 20px 0 4px; }
.page a { color: var(--accent); }
.page table { border-collapse: collapse; width: 100%; margin: 8px 0 18px; }
.page th, .page td {
  border: 1px solid var(--border);
  padding: 6px 10px;
  text-align: left;
  font-size: 14px;
  vertical-align: top;
}
.page th { background: var(--thead-bg); white-space: nowrap; }
.page td:first-child { font-weight: 600; white-space: nowrap; }
.page .back-link { display: inline-block; margin-bottom: 18px; }
.page .content-footer {
  margin-top: 40px;
  padding-top: 16px;
  border-top: 1px solid var(--border-soft);
  font-size: 13px;
  color: var(--text-soft);
}
.page .content-footer a { color: var(--text-soft); }

/* ── Modal ───────────────────────────────────────── */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--overlay);
  z-index: 100;
  align-items: center;
  justify-content: center;
}

.modal-overlay.open { display: flex; }

.modal {
  background: var(--card);
  border-radius: 8px;
  padding: 28px 32px;
  max-width: 440px;
  width: 90%;
  position: relative;
  box-shadow: 0 4px 24px var(--shadow);
}

.modal h2 {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 20px;
}

.info-subhead {
  margin: 16px 0 6px;
  color: var(--accent);
  font-size: 15px;
  font-weight: 700;
}

.link-btn {
  background: none;
  border: none;
  color: var(--accent);
  font-size: 14px;
  cursor: pointer;
  text-decoration: underline;
  padding: 0;
  font-weight: 600;
}

.link-btn:hover { color: var(--accent-solid-hover); background: none; }

.modal p, .modal li {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text);
}

.modal ul { padding-left: 18px; margin: 8px 0; }

.modal-close {
  position: absolute;
  top: 10px;
  right: 14px;
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
  color: var(--text-soft);
  padding: 0;
  line-height: 1;
}

.modal-close:hover { color: var(--text); background: none; }

/* ── Stats modal ─────────────────────────────────── */
.stats-sport-tabs {
  display: flex;
  gap: 4px;
  justify-content: center;
  margin: 4px 0 8px;
  flex-wrap: wrap;
}

.stats-sport-tab {
  padding: 5px 14px;
  font-size: 13px;
  font-weight: 600;
  border: 2px solid var(--accent);
  border-radius: 4px;
  background: none;
  color: var(--accent);
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.stats-sport-tab:hover { background: var(--accent-soft); }
.stats-sport-tab.active { background: var(--accent-solid); color: var(--accent-contrast); }

.stats-section { margin-top: 14px; }
.stats-section h3 {
  margin: 0 0 8px;
  font-size: 14px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}

.stat-cell {
  background: var(--stat-cell-bg);
  border: 1px solid var(--stat-cell-border);
  border-radius: 6px;
  padding: 8px 4px;
  text-align: center;
}

.stat-cell .stat-value {
  display: block;
  font-size: 22px;
  font-weight: 800;
  color: var(--accent);
  line-height: 1.1;
}

.stat-cell .stat-label {
  display: block;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-soft);
  margin-top: 4px;
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ── Feedback form ───────────────────────────────── */
.feedback-form label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin: 12px 0 4px;
  color: var(--text-muted);
}

.feedback-form input,
.feedback-form textarea,
.feedback-form select {
  width: 100%;
  box-sizing: border-box;
  padding: 7px 10px;
  border: 1px solid var(--input-border);
  border-radius: 4px;
  font-size: 14px;
  font-family: inherit;
  background: var(--input-bg);
  color: var(--text);
}

.feedback-form textarea { resize: vertical; min-height: 80px; }
.feedback-form button[type="submit"] { margin-top: 16px; width: 100%; font-size: 15px; }

.feedback-success {
  text-align: center;
  color: var(--success-bright);
  font-weight: bold;
  margin-top: 12px;
  display: none;
}

/* Per-sport colored labels in the "Who's eligible?" info list */
.elig-sport.nba { color: var(--sport-nba); }
.elig-sport.nfl { color: var(--sport-nfl); }
.elig-sport.mlb { color: var(--sport-mlb); }
.elig-sport.nhl { color: var(--sport-nhl); }

/* ── Top suggestion banner ───────────────────────── */
.top-banner {
  margin: -24px -24px 20px;
  padding: 8px 16px;
  background: var(--accent-soft);
  border-bottom: 1px solid var(--border-soft);
  color: var(--text-muted);
  font-size: 13px;
  text-align: center;
  letter-spacing: 0.01em;
}

.top-banner a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: underline;
}

.top-banner a:hover { text-decoration: none; }

@media (max-width: 480px) {
  .top-banner { margin: -24px -24px 16px; padding: 7px 10px; font-size: 11px; white-space: nowrap; }
  /* Keep the Era / Team / Min PPG controls compact so they wrap tidily */
  .decade-row { gap: 6px; font-size: 13px; }
  .decade-row select { padding: 4px 7px; font-size: 13px; }
}
