:root {
  --black: #050505;
  --surface: #100f0d;
  --surface-2: #181511;
  --surface-3: #211c16;
  --red: #c7352e;
  --green: #2f8a4b;
  --gold: #d4af37;
  --gold-light: #f5d66f;
  --white: #f8f8f2;
  --muted: #c6bba8;
  --faint: #8f8474;
  --border: rgba(212, 175, 55, 0.28);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.48);
  --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 10% 12%, rgba(199, 53, 46, .20), transparent 28%),
    radial-gradient(circle at 90% 18%, rgba(47, 138, 75, .16), transparent 28%),
    linear-gradient(180deg, #050505 0%, #0c0b09 48%, #050505 100%);
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.02) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, black, transparent 85%);
}
button, select { font: inherit; }
a { color: inherit; }
.skip-link { position: fixed; top: -80px; left: 16px; z-index: 1000; padding: 10px 16px; background: var(--gold); color: #080706; border-radius: 999px; font-weight: 900; }
.skip-link:focus { top: 16px; }

.leaders-header {
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: 72px;
  padding: 10px clamp(16px, 3vw, 42px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: rgba(5, 5, 5, .90);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(16px);
}
.leaders-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; min-width: 0; }
.leaders-brand img { width: 54px; height: 54px; object-fit: contain; }
.leaders-brand span { display: grid; line-height: 1.05; }
.leaders-brand strong { text-transform: uppercase; letter-spacing: .1em; }
.leaders-brand small { color: var(--gold-light); margin-top: 5px; font-weight: 800; }
.leaders-header nav { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.leaders-header nav a { text-decoration: none; border: 1px solid rgba(255,255,255,.12); border-radius: 999px; padding: 9px 13px; color: var(--muted); font-size: .84rem; font-weight: 800; }
.leaders-header nav a:hover { border-color: var(--gold); color: var(--white); }

main { position: relative; z-index: 1; }
.leaders-hero {
  width: min(1440px, calc(100% - 32px));
  margin: clamp(24px, 5vw, 62px) auto 24px;
  padding: clamp(28px, 5vw, 72px);
  min-height: 360px;
  border: 1px solid var(--border);
  border-radius: 30px;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, .65fr);
  gap: 28px;
  align-items: end;
  overflow: hidden;
  background:
    linear-gradient(100deg, rgba(5,5,5,.96), rgba(14,12,9,.82)),
    radial-gradient(circle at 78% 28%, rgba(47,138,75,.25), transparent 32%),
    radial-gradient(circle at 20% 20%, rgba(199,53,46,.34), transparent 38%);
  box-shadow: var(--shadow);
}
.leaders-kicker { margin: 0; color: var(--gold-light); text-transform: uppercase; letter-spacing: .16em; font-size: .78rem; font-weight: 950; }
.leaders-hero h1 { margin: 10px 0 18px; max-width: 850px; font-size: clamp(3rem, 8vw, 7.2rem); line-height: .86; letter-spacing: -.065em; text-transform: uppercase; }
.leaders-hero-copy > p:last-child { max-width: 760px; color: var(--muted); font-size: clamp(1rem, 1.5vw, 1.18rem); line-height: 1.65; }
.leaders-hero-policy { display: grid; gap: 10px; }
.leaders-hero-policy span { padding: 14px 16px; border: 1px solid rgba(212,175,55,.22); border-left: 4px solid var(--gold); border-radius: 14px; background: rgba(0,0,0,.34); font-weight: 850; text-transform: uppercase; letter-spacing: .055em; font-size: .8rem; }

.leaders-workspace { width: min(1440px, calc(100% - 32px)); margin: 0 auto; border: 1px solid var(--border); border-radius: 28px; overflow: hidden; background: linear-gradient(180deg, rgba(24,21,17,.96), rgba(8,8,7,.98)); box-shadow: var(--shadow); }
.leaders-controls { padding: 18px; display: grid; grid-template-columns: auto auto minmax(150px,.55fr) minmax(230px,1fr) minmax(110px,.4fr) auto; gap: 12px; align-items: end; border-bottom: 1px solid var(--border); background: rgba(0,0,0,.28); }
fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
legend, .control-field span { display: block; margin: 0 0 7px; color: var(--gold-light); font-size: .7rem; font-weight: 950; letter-spacing: .1em; text-transform: uppercase; }
.segmented-control { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 5px; padding: 5px; border: 1px solid rgba(255,255,255,.11); border-radius: 999px; background: rgba(0,0,0,.38); }
.segmented-control legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.segmented-control button { min-height: 42px; padding: 9px 14px; border: 0; border-radius: 999px; color: var(--muted); background: transparent; cursor: pointer; font-weight: 900; white-space: nowrap; }
.segmented-control button.active { color: var(--white); background: linear-gradient(135deg, var(--red), #8e211e); box-shadow: inset 0 0 0 1px rgba(212,175,55,.55); }
.control-field { min-width: 0; }
.control-field select { width: 100%; min-height: 52px; border-radius: 14px; border: 1px solid rgba(255,255,255,.13); color: var(--white); background: #0d0c0a; padding: 0 40px 0 13px; font-weight: 800; }
.control-field select:focus { outline: 2px solid var(--gold); outline-offset: 2px; }
.share-button { min-height: 52px; border-radius: 999px; border: 1px solid var(--gold); padding: 0 18px; color: var(--white); background: var(--green); font-weight: 900; cursor: pointer; }
.share-button:hover { filter: brightness(1.08); }

.leaders-summary-bar { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px clamp(18px,3vw,34px); border-bottom: 1px solid rgba(255,255,255,.08); background: linear-gradient(90deg, rgba(199,53,46,.13), transparent 40%, rgba(47,138,75,.10)); }
.leaders-summary-bar div:first-child { display: grid; gap: 3px; }
.leaders-summary-bar span { color: var(--muted); font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 850; }
.leaders-summary-bar strong { font-size: clamp(1.5rem, 3vw, 2.5rem); text-transform: uppercase; letter-spacing: -.035em; }
.summary-status { color: var(--gold-light); font-size: .82rem; font-weight: 900; text-align: right; }

.leaderboard-status { margin: 22px; }
.status-card { padding: clamp(24px, 4vw, 46px); border: 1px solid rgba(212,175,55,.24); border-radius: 20px; text-align: center; background: radial-gradient(circle at top, rgba(212,175,55,.11), transparent 55%), rgba(0,0,0,.32); }
.status-card strong { display: block; margin-bottom: 10px; font-size: clamp(1.4rem, 3vw, 2.2rem); text-transform: uppercase; }
.status-card p { max-width: 700px; margin: 0 auto; color: var(--muted); line-height: 1.6; }
.status-card .countdown { margin-top: 18px; display: inline-flex; border: 1px solid var(--gold); border-radius: 999px; padding: 9px 15px; color: var(--gold-light); font-weight: 950; }
.status-card.error { border-color: rgba(199,53,46,.55); }

.leaderboard-podium { padding: 10px 22px 24px; display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px; }
.podium-card { min-height: 190px; padding: 20px; position: relative; overflow: hidden; border: 1px solid rgba(212,175,55,.22); border-radius: 20px; background: linear-gradient(160deg, rgba(255,255,255,.055), rgba(0,0,0,.28)); }
.podium-card::after { content: attr(data-rank); position: absolute; right: -8px; bottom: -30px; font-size: 8rem; line-height: 1; font-weight: 1000; color: rgba(255,255,255,.035); }
.podium-rank { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: #080706; font-weight: 1000; }
.podium-card:nth-child(2) .podium-rank { background: #c9c9c9; }
.podium-card:nth-child(3) .podium-rank { background: #b67a45; }
.podium-player { margin-top: 18px; font-size: 1.35rem; font-weight: 950; text-transform: uppercase; }
.podium-team { margin-top: 5px; color: var(--muted); font-weight: 750; }
.podium-total { margin-top: 18px; color: var(--gold-light); font-size: 2rem; line-height: 1; font-weight: 1000; }
.podium-unit { color: var(--faint); font-size: .76rem; font-weight: 850; text-transform: uppercase; }

.leaderboard-results { padding: 0 22px 26px; }
.leaderboard-table { width: 100%; border-collapse: separate; border-spacing: 0 8px; }
.leaderboard-table th { padding: 0 14px 7px; color: var(--gold-light); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; text-align: left; }
.leaderboard-table td { padding: 15px 14px; background: rgba(255,255,255,.045); border-top: 1px solid rgba(255,255,255,.08); border-bottom: 1px solid rgba(255,255,255,.08); }
.leaderboard-table td:first-child { border-left: 1px solid rgba(255,255,255,.08); border-radius: 14px 0 0 14px; width: 72px; }
.leaderboard-table td:last-child { border-right: 1px solid rgba(255,255,255,.08); border-radius: 0 14px 14px 0; text-align: right; }
.rank-chip { display: inline-grid; place-items: center; min-width: 38px; height: 38px; padding: 0 8px; border-radius: 999px; color: var(--gold-light); border: 1px solid rgba(212,175,55,.38); font-weight: 1000; }
.player-name { font-weight: 950; text-transform: uppercase; }
.player-meta { display: block; margin-top: 3px; color: var(--faint); font-size: .78rem; }
.team-name { color: var(--muted); font-weight: 800; }
.stat-total { font-size: 1.35rem; font-weight: 1000; color: var(--gold-light); }
.stat-unit { display: block; color: var(--faint); font-size: .7rem; text-transform: uppercase; }

.leaders-methodology { width: min(1440px, calc(100% - 32px)); margin: 28px auto; padding: clamp(26px,4vw,48px); border: 1px solid rgba(255,255,255,.1); border-radius: 26px; background: rgba(255,255,255,.035); }
.leaders-methodology h2 { margin: 7px 0 24px; font-size: clamp(2rem,5vw,4rem); text-transform: uppercase; letter-spacing: -.04em; }
.methodology-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; }
.methodology-grid article { padding: 20px; border-radius: 18px; border: 1px solid rgba(255,255,255,.1); background: rgba(0,0,0,.28); }
.methodology-grid article > strong { color: var(--gold); font-size: 2rem; }
.methodology-grid h3 { margin: 14px 0 8px; text-transform: uppercase; }
.methodology-grid p { margin: 0; color: var(--muted); line-height: 1.55; font-size: .9rem; }

.leaders-footer { position: relative; z-index: 1; padding: 26px clamp(16px,3vw,42px); display: flex; justify-content: space-between; gap: 16px; color: var(--faint); border-top: 1px solid rgba(255,255,255,.08); font-size: .82rem; }

@media (max-width: 1100px) {
  .leaders-controls { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .metric-field { grid-column: 1 / -1; }
  .share-button { width: 100%; }
  .methodology-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 760px) {
  .leaders-header { position: relative; align-items: flex-start; }
  .leaders-header nav { display: none; }
  .leaders-hero { width: calc(100% - 20px); grid-template-columns: 1fr; min-height: 0; margin-top: 10px; padding: 30px 22px; border-radius: 22px; }
  .leaders-hero h1 { font-size: clamp(2.8rem, 15vw, 5rem); }
  .leaders-workspace, .leaders-methodology { width: calc(100% - 20px); border-radius: 20px; }
  .leaders-controls { grid-template-columns: 1fr; }
  .metric-field { grid-column: auto; }
  .leaders-summary-bar { align-items: flex-start; flex-direction: column; }
  .summary-status { text-align: left; }
  .leaderboard-podium { grid-template-columns: 1fr; }
  .leaderboard-table, .leaderboard-table tbody, .leaderboard-table tr, .leaderboard-table td { display: block; width: 100%; }
  .leaderboard-table thead { display: none; }
  .leaderboard-table tr { margin-bottom: 10px; position: relative; }
  .leaderboard-table td { border-left: 1px solid rgba(255,255,255,.08); border-right: 1px solid rgba(255,255,255,.08); border-radius: 0; padding: 10px 14px 10px 44%; min-height: 42px; text-align: right; }
  .leaderboard-table td::before { content: attr(data-label); position: absolute; left: 14px; width: 36%; text-align: left; color: var(--gold-light); font-size: .68rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 900; }
  .leaderboard-table td:first-child { border-radius: 14px 14px 0 0; width: 100%; }
  .leaderboard-table td:last-child { border-radius: 0 0 14px 14px; text-align: right; }
  .methodology-grid { grid-template-columns: 1fr; }
  .leaders-footer { flex-direction: column; }
}


/* v3.20.3.14.1 — Restore HBCU Hour banner and full-width leaderboard layout */
html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}

#leaderboard-main {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  overflow-x: clip;
}

.leaders-page-banner {
  position: relative;
  width: 100%;
  max-width: none;
  margin: 0;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  background: #050505;
}

.leaders-page-banner img {
  display: block;
  width: 100%;
  height: clamp(180px, 21.875vw, 420px);
  max-width: 100%;
  object-fit: cover;
  object-position: center;
}

.leaders-hero,
.leaders-workspace,
.leaders-methodology {
  width: 100%;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
  border-left: 0;
  border-right: 0;
  border-radius: 0;
}

.leaders-hero {
  margin-top: 0;
  margin-bottom: 0;
  min-height: 315px;
  padding: clamp(28px, 4vw, 64px) clamp(20px, 4vw, 72px);
  box-shadow: none;
}

.leaders-workspace {
  margin-top: 0;
  box-shadow: none;
}

.leaders-controls,
.leaders-summary-bar,
.leaderboard-status,
.leaderboard-podium,
.leaderboard-results,
.leaders-methodology {
  min-width: 0;
}

.leaders-methodology {
  margin-top: 0;
  margin-bottom: 0;
  padding-inline: clamp(20px, 4vw, 72px);
  box-shadow: none;
}

.leaders-footer {
  width: 100%;
  max-width: none;
  margin: 0;
}

@supports not (overflow: clip) {
  html,
  body,
  #leaderboard-main {
    overflow-x: hidden;
  }
}

@media (max-width: 760px) {
  .leaders-page-banner img {
    height: clamp(150px, 42vw, 230px);
  }

  .leaders-hero,
  .leaders-workspace,
  .leaders-methodology {
    width: 100%;
    margin: 0;
    border-radius: 0;
  }

  .leaders-hero {
    padding: 28px 18px;
  }

  .leaders-controls,
  .leaders-summary-bar,
  .leaderboard-podium,
  .leaderboard-results {
    padding-left: 16px;
    padding-right: 16px;
  }

  .leaders-methodology {
    padding: 28px 18px;
  }
}


/* v3.20.3.14.2 — Correct Statistical Leaders hero artwork and remove text-only hero */
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.leaders-page-banner {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  overflow: hidden;
  background: #020202;
}

.leaders-page-banner img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: clamp(180px, 42.87vw, 720px);
  margin: 0;
  object-fit: cover;
  object-position: center;
}

/* The text-only hero was removed from the markup; keep it suppressed if cached markup appears. */
.leaders-hero {
  display: none !important;
}

.leaders-workspace,
.leaders-methodology,
.leaders-footer {
  width: 100%;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
  border-left: 0;
  border-right: 0;
  border-radius: 0;
}

@media (max-width: 760px) {
  .leaders-page-banner img {
    height: clamp(180px, 54vw, 300px);
  }
}


/* v3.20.3.14.3 — Display the cropped Statistical Leaders hero without additional clipping */
.leaders-page-banner img {
  width: 100%;
  height: auto;
  max-width: 100%;
  aspect-ratio: 2244 / 701;
  object-fit: contain;
  object-position: center;
}
