@import url("https://fonts.googleapis.com/css2?family=Geist:wght@300;400;500;600;700&family=Geist+Mono:wght@400;500;600;700&display=swap");

:root {
  --bg: #09090e;
  --bg-raised: #111118;
  --bg-soft: #161721;
  --paper: #f0ede6;
  --muted: #a8a59c;
  --subtle: #6e6b63;
  --faint: #45433d;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --signal: #5e6bff;
  --signal-light: #9aa3ff;
  --cyan: #85d5ff;
  --green: #37b26c;
  --amber: #eba83f;
  --red: #e66666;
  --font-sans: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "Geist Mono", "SF Mono", "Fira Code", monospace;
  --ease: cubic-bezier(0.32, 0.72, 0, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 78px;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 50% 0%, rgba(94, 107, 255, 0.12), transparent 34rem),
    linear-gradient(180deg, #09090e 0%, #0a0a10 48%, #08080c 100%);
  color: var(--paper);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.5;
  letter-spacing: 0;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
}

button,
input,
textarea {
  font: inherit;
}

button {
  color: inherit;
}

.leaderboard-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 56px;
  padding: 0 28px;
  border-bottom: 1px solid var(--line);
  background: rgba(9, 9, 14, 0.86);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  backdrop-filter: saturate(160%) blur(18px);
}

.leaderboard-wordmark,
.leaderboard-nav {
  display: flex;
  align-items: center;
}

.leaderboard-wordmark {
  gap: 9px;
  color: var(--paper);
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
}

.mark {
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255,255,255,0.14), rgba(255,255,255,0.03));
  color: var(--paper);
  font-size: 10px;
}

.wordmark-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--signal);
}

.leaderboard-nav {
  gap: 2px;
}

.leaderboard-nav a {
  padding: 7px 11px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 13px;
  text-decoration: none;
  transition: color 140ms var(--ease), background 140ms var(--ease);
}

.leaderboard-nav a:hover {
  color: var(--paper);
  background: rgba(255, 255, 255, 0.05);
}

.live-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: 8px;
  padding: 5px 10px;
  border: 1px solid rgba(94, 107, 255, 0.42);
  border-radius: 999px;
  background: rgba(94, 107, 255, 0.16);
  color: var(--signal-light);
  font: 700 11px var(--font-mono);
  text-transform: uppercase;
}

.live-chip span,
.status-pill-live::before {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--signal-light);
  animation: livePulse 1.35s ease-in-out infinite;
  content: "";
}

@keyframes livePulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.28;
  }
}

.hero-section {
  position: relative;
  min-height: calc(100vh - 56px);
  display: grid;
  align-items: center;
  padding: 82px 28px 72px;
  overflow: hidden;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: radial-gradient(circle at center, black, transparent 72%);
  opacity: 0.7;
}

.hero-glow {
  position: absolute;
  top: 8%;
  left: 50%;
  width: min(820px, 96vw);
  height: 520px;
  transform: translateX(-50%);
  background:
    radial-gradient(circle at 30% 30%, rgba(94, 107, 255, 0.17), transparent 42%),
    radial-gradient(circle at 70% 58%, rgba(55, 178, 108, 0.10), transparent 38%),
    radial-gradient(circle at 54% 40%, rgba(133, 213, 255, 0.12), transparent 36%);
  filter: blur(22px);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(100%, 840px);
  margin: 0 auto;
  text-align: center;
}

.hero-kicker,
.eyebrow {
  margin: 0;
  color: var(--signal-light);
  font: 700 11px var(--font-mono);
  text-transform: uppercase;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  max-width: 100%;
  margin-bottom: 26px;
  padding: 7px 15px;
  border: 1px solid rgba(94, 107, 255, 0.34);
  border-radius: 999px;
  background: rgba(94, 107, 255, 0.12);
}

.hero-kicker span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--signal);
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0 auto;
  max-width: 860px;
  color: var(--paper);
  font-size: clamp(42px, 9vw, 76px);
  font-weight: 600;
  line-height: 1.03;
  letter-spacing: 0;
  background: linear-gradient(135deg, var(--paper) 0%, #d9d6ff 42%, var(--cyan) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  max-width: 620px;
  margin: 24px auto 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}

.button,
.copy-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 18px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition:
    background 140ms var(--ease),
    border-color 140ms var(--ease),
    transform 140ms var(--ease);
}

.button:active,
.copy-button:active,
.match-toggle:active {
  transform: translateY(1px);
}

.button-primary {
  background: var(--signal);
  color: white;
}

.button-primary:hover {
  background: #4c5af0;
}

.button-secondary,
.copy-button {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.06);
  color: var(--paper);
}

.button-secondary:hover,
.copy-button:hover {
  background: rgba(255, 255, 255, 0.1);
}

.stats-bar {
  display: inline-grid;
  grid-template-columns: repeat(3, minmax(96px, 1fr));
  margin: 40px auto 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.025);
}

.stats-bar div {
  min-width: 0;
  padding: 15px 22px;
  border-right: 1px solid var(--line);
}

.stats-bar div:last-child {
  border-right: 0;
}

.stats-bar dt {
  margin-top: 6px;
  color: var(--subtle);
  font: 600 10px var(--font-mono);
  text-transform: uppercase;
}

.stats-bar dd {
  margin: 0;
  color: var(--paper);
  font: 700 28px/1 var(--font-mono);
  font-variant-numeric: tabular-nums;
}

.status-card {
  width: min(100%, 440px);
  margin: 28px auto 0;
  padding: 18px 20px;
  border: 1px solid rgba(94, 107, 255, 0.24);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(94, 107, 255, 0.12), rgba(255, 255, 255, 0.03)),
    rgba(0, 0, 0, 0.22);
}

.status-card-label,
.status-card-detail {
  margin: 0;
  color: var(--subtle);
  font: 600 11px var(--font-mono);
  text-transform: uppercase;
}

.status-card-value {
  margin: 8px 0;
  color: var(--signal-light);
  font: 700 38px/1 var(--font-mono);
  font-variant-numeric: tabular-nums;
}

.page-section {
  scroll-margin-top: 78px;
  width: min(100%, 1120px);
  margin: 0 auto;
  padding: 0 28px 82px;
}

.section-heading-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 16px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.section-heading-row h2 {
  margin: 5px 0 0;
  color: var(--paper);
  font-size: 28px;
  line-height: 1.15;
  letter-spacing: 0;
}

.section-heading-row > p,
.section-heading-row div > p:not(.eyebrow) {
  margin: 0;
  color: var(--subtle);
  font-size: 13px;
}

.match-list {
  display: grid;
  gap: 10px;
}

.match-card,
.model-card,
.rule-grid article,
.worked-example,
.winner-consensus-card,
.winner-pick-card,
.winner-scoring-note,
.prompt-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.032);
}

.winner-picks-section {
  padding-top: 8px;
}

.winner-picks-layout {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.winner-consensus-card {
  position: sticky;
  top: 78px;
  padding: 20px;
  background:
    linear-gradient(145deg, rgba(94, 107, 255, 0.15), rgba(55, 178, 108, 0.06)),
    rgba(255, 255, 255, 0.035);
  border-color: rgba(94, 107, 255, 0.22);
}

.winner-consensus-card h3 {
  margin: 8px 0 8px;
  color: var(--paper);
  font-size: 25px;
  line-height: 1.12;
}

.winner-consensus-card > p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.winner-consensus-stats {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
}

.winner-consensus-stats div {
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.winner-consensus-stats dt,
.winner-pick-meta strong {
  color: var(--subtle);
  font: 700 10px var(--font-mono);
  text-transform: uppercase;
}

.winner-consensus-stats dd {
  margin: 4px 0 0;
  color: var(--paper);
  font: 800 15px/1.35 var(--font-mono);
}

.winner-picks-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.winner-pick-card {
  display: grid;
  min-width: 0;
  gap: 14px;
  padding: 17px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.044), rgba(255, 255, 255, 0.022)),
    rgba(255, 255, 255, 0.028);
  transition: border-color 140ms var(--ease), background 140ms var(--ease);
}

.winner-pick-card:hover {
  border-color: var(--line-strong);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03)),
    rgba(255, 255, 255, 0.034);
}

.winner-pick-top,
.winner-team,
.winner-pick-meta {
  min-width: 0;
}

.winner-pick-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.winner-team {
  display: flex;
  align-items: center;
  gap: 10px;
}

.winner-team h3 {
  margin: 0;
  color: var(--paper);
  font-size: 25px;
  line-height: 1.08;
}

.winner-pick-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.winner-pick-meta span {
  display: grid;
  gap: 3px;
  min-width: 0;
  color: var(--muted);
  font-size: 13px;
}

.winner-pick-meta em {
  color: var(--subtle);
  font-style: normal;
  font-family: var(--font-mono);
}

.winner-confidence {
  max-width: 180px;
}

.winner-confidence .confidence-track {
  width: 100%;
}

.winner-scoring-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 12px;
  padding: 14px 16px;
  background: rgba(235, 168, 63, 0.06);
  border-color: rgba(235, 168, 63, 0.18);
}

.winner-scoring-note p {
  max-width: 470px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.winner-scoring-note ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.winner-scoring-note li {
  padding: 4px 8px;
  border: 1px solid rgba(235, 168, 63, 0.18);
  border-radius: 999px;
  color: var(--amber);
  font: 700 11px var(--font-mono);
}

.match-card {
  overflow: hidden;
  transition: border-color 140ms var(--ease), background 140ms var(--ease);
}

.match-card:hover {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.044);
}

.match-card-static:hover {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.032);
}

.match-toggle {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  width: 100%;
  padding: 18px 20px;
  border: 0;
  background: transparent;
  cursor: pointer;
  text-align: left;
}

.match-toggle-static {
  cursor: default;
}

.match-main {
  display: grid;
  grid-template-columns: minmax(88px, max-content) minmax(0, 1fr);
  align-items: center;
  min-width: 0;
  gap: 14px;
}

.matchup {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  min-width: 0;
  gap: 10px;
}

.match-team {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 8px;
}

.match-team-home {
  justify-content: flex-end;
}

.match-team-home .team-name {
  text-align: right;
}

.match-team-away {
  justify-content: flex-start;
}

.matchup-separator {
  flex: 0 0 auto;
}

.match-group,
.match-time,
.match-count,
.match-countdown,
.table-label,
.code-chip,
.provider-badge,
.points-badge,
.rank,
.movement,
.profile-stat span,
.prompt-card-header p,
.copy-status,
.disclaimer,
.leaderboard-footer {
  font-family: var(--font-mono);
}

.match-group,
.match-time,
.match-count,
.match-countdown {
  color: var(--subtle);
  font-size: 11px;
}

.team-name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--paper);
  font-size: 17px;
  font-weight: 700;
}

.code-chip {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 3px 7px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.score-display {
  color: var(--paper);
  font: 700 22px/1 var(--font-mono);
  font-variant-numeric: tabular-nums;
}

.versus {
  color: var(--faint);
  font: 700 12px var(--font-mono);
}

.match-meta {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-width: 0;
  gap: 10px;
  flex-wrap: wrap;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 24px;
  padding: 4px 9px;
  border-radius: 999px;
  font: 700 11px var(--font-mono);
  text-transform: uppercase;
}

.status-pill-final {
  background: rgba(168, 165, 156, 0.14);
  color: var(--muted);
}

.status-pill-live {
  background: rgba(94, 107, 255, 0.16);
  color: var(--signal-light);
}

.status-pill-scheduled {
  background: rgba(55, 178, 108, 0.14);
  color: #6ee7a6;
}

.expand-label {
  color: var(--signal-light);
  font: 700 12px var(--font-mono);
}

.expand-label-disabled {
  color: var(--subtle);
}

.match-panel {
  border-top: 1px solid var(--line);
}

.prediction-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.prediction-grid,
.leaderboard-grid {
  min-width: 920px;
}

.prediction-row,
.prediction-head {
  display: grid;
  grid-template-columns: 178px 94px 132px 82px minmax(240px, 1fr) 132px 84px;
  gap: 12px;
  align-items: start;
  padding: 13px 20px;
}

.prediction-head,
.leaderboard-head {
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.026);
}

.prediction-row {
  border-bottom: 1px solid rgba(255, 255, 255, 0.045);
}

.prediction-row:last-child {
  border-bottom: 0;
}

.table-label {
  color: var(--subtle);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
}

.model-cell {
  display: grid;
  gap: 5px;
}

.model-name {
  color: var(--paper);
  font-weight: 700;
}

.provider-badge {
  display: inline-flex;
  width: fit-content;
  padding: 2px 6px;
  border-radius: 5px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
}

.pred-score {
  color: var(--paper);
  font: 700 17px var(--font-mono);
  font-variant-numeric: tabular-nums;
}

.pick-label {
  color: var(--paper);
  font-weight: 600;
}

.confidence {
  display: grid;
  gap: 6px;
  color: var(--paper);
  font: 700 13px var(--font-mono);
}

.confidence-track {
  width: 54px;
  height: 4px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.confidence-fill {
  height: 100%;
  border-radius: inherit;
}

.reasoning {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.locked-at {
  white-space: pre-line;
  color: var(--subtle);
  font: 600 11px var(--font-mono);
}

.points-badge {
  color: var(--paper);
  font-size: 14px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.points-badge.top {
  color: #6ee7a6;
}

.points-badge.pending {
  color: var(--subtle);
}

.scoring-note {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 10px 20px 12px;
  border-top: 1px solid var(--line);
  color: var(--subtle);
  font-size: 11px;
}

.leaderboard-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.leaderboard-grid {
  min-width: 880px;
}

.leaderboard-row,
.leaderboard-head {
  display: grid;
  grid-template-columns: 80px 220px 112px 92px 92px 112px 88px minmax(180px, 1fr);
  gap: 12px;
  align-items: center;
  padding: 14px 16px;
}

.leaderboard-row {
  border-bottom: 1px solid rgba(255, 255, 255, 0.045);
}

.leaderboard-row:last-child {
  border-bottom: 0;
}

.rank-wrap {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.rank {
  color: var(--subtle);
  font-size: 22px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.rank.rank-1 {
  color: var(--amber);
}

.rank.rank-2 {
  color: #a7b4c8;
}

.rank.rank-3 {
  color: #c58a62;
}

.movement {
  color: var(--subtle);
  font-size: 11px;
  font-weight: 800;
}

.movement.up {
  color: #6ee7a6;
}

.movement.down {
  color: var(--red);
}

.metric-strong {
  color: var(--paper);
  font: 800 24px/1 var(--font-mono);
  font-variant-numeric: tabular-nums;
}

.metric {
  color: var(--muted);
  font: 700 14px var(--font-mono);
  font-variant-numeric: tabular-nums;
}

.best-pick {
  color: var(--subtle);
  font-size: 12px;
}

.model-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(198px, 1fr));
  gap: 10px;
}

.model-card {
  padding: 17px;
}

.model-card-top,
.profile-stats {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.model-card h3 {
  margin: 16px 0 3px;
  color: var(--paper);
  font-size: 16px;
  line-height: 1.2;
}

.style-tag {
  margin: 0 0 14px;
  color: var(--subtle);
  font: 600 11px var(--font-mono);
  text-transform: uppercase;
}

.model-description {
  min-height: 78px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.profile-stats {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.profile-stat strong {
  display: block;
  color: var(--paper);
  font: 800 20px/1 var(--font-mono);
}

.profile-stat span {
  display: block;
  margin-top: 5px;
  color: var(--subtle);
  font-size: 11px;
}

.scoring-section {
  padding-bottom: 76px;
}

.scoring-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 22px;
  align-items: start;
}

.scoring-copy h2 {
  margin: 5px 0 8px;
  color: var(--paper);
  font-size: 26px;
  line-height: 1.18;
}

.scoring-copy > p {
  max-width: 660px;
  margin: 0 0 20px;
  color: var(--subtle);
}

.rule-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 9px;
}

.rule-grid article {
  padding: 14px;
}

.rule-grid strong {
  display: block;
  color: var(--paper);
  font: 800 22px/1 var(--font-mono);
}

.rule-grid span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-weight: 700;
}

.rule-grid p {
  margin: 3px 0 0;
  color: var(--subtle);
  font-size: 12px;
}

.worked-example {
  padding: 18px;
  background: rgba(94, 107, 255, 0.08);
  border-color: rgba(94, 107, 255, 0.22);
}

.worked-example h3 {
  margin: 10px 0 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  color: var(--paper);
  font-size: 16px;
}

.worked-example dl,
.worked-example dt,
.worked-example dd {
  margin: 0;
}

.worked-example div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 7px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.055);
}

.worked-example div:last-child {
  border-bottom: 0;
}

.worked-example dt {
  color: var(--muted);
  font-size: 12px;
}

.worked-example dd {
  flex: 0 0 auto;
  color: var(--paper);
  font: 800 13px var(--font-mono);
}

.prompt-heading-row {
  align-items: center;
}

.copy-button {
  color: var(--signal-light);
  border-color: rgba(94, 107, 255, 0.28);
  background: rgba(94, 107, 255, 0.10);
  font-family: var(--font-mono);
}

.prompt-card {
  overflow: hidden;
  background: rgba(0, 0, 0, 0.34);
}

.prompt-card-header {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 9px 16px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.028);
}

.prompt-card-header span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.prompt-card-header span:nth-child(1) {
  background: rgba(230, 102, 102, 0.75);
}

.prompt-card-header span:nth-child(2) {
  background: rgba(235, 168, 63, 0.75);
}

.prompt-card-header span:nth-child(3) {
  background: rgba(55, 178, 108, 0.75);
}

.prompt-card-header p {
  margin: 0 0 0 4px;
  color: var(--subtle);
  font-size: 11px;
}

#prompt-code {
  margin: 0;
  max-height: 560px;
  padding: 20px 22px;
  overflow: auto;
  color: var(--paper);
  font: 500 12px/1.72 var(--font-mono);
  white-space: pre;
  tab-size: 2;
}

.copy-status,
.disclaimer {
  margin: 10px 0 0;
  color: var(--subtle);
  font-size: 11px;
}

.disclaimer {
  margin-top: 18px;
}

.leaderboard-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: min(100%, 1120px);
  margin: 0 auto;
  padding: 28px;
  border-top: 1px solid var(--line);
  color: var(--subtle);
  font-size: 11px;
}

.leaderboard-footer a {
  color: var(--muted);
  text-decoration: none;
}

.leaderboard-footer a:hover {
  color: var(--paper);
}

a:focus-visible,
button:focus-visible,
pre:focus-visible {
  outline: 2px solid var(--signal);
  outline-offset: 3px;
  border-radius: 8px;
}

@media (max-width: 900px) {
  .winner-picks-layout {
    grid-template-columns: 1fr;
  }

  .winner-consensus-card {
    position: static;
  }

  .scoring-panel {
    grid-template-columns: 1fr;
  }

  .worked-example {
    width: min(100%, 420px);
  }
}

@media (max-width: 720px) {
  .leaderboard-header {
    padding: 0 16px;
  }

  .leaderboard-wordmark {
    font-size: 12px;
  }

  .mark {
    width: 24px;
    height: 24px;
  }

  .leaderboard-nav {
    gap: 0;
  }

  .leaderboard-nav a {
    padding: 7px 8px;
    font-size: 12px;
  }

  .nav-optional {
    display: none;
  }

  .live-chip {
    margin-left: 4px;
    padding: 5px 8px;
  }

  .hero-section {
    min-height: auto;
    padding: 72px 18px 60px;
  }

  .hero-kicker {
    font-size: 10px;
  }

  .hero-subtitle {
    font-size: 16px;
  }

  .stats-bar {
    width: 100%;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .stats-bar div {
    padding: 13px 8px;
  }

  .stats-bar dd {
    font-size: 24px;
  }

  .status-card-value {
    font-size: 30px;
  }

  .page-section {
    padding: 0 16px 64px;
  }

  .section-heading-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .match-toggle {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 16px;
  }

  .match-main {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .matchup {
    width: 100%;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    gap: 8px;
  }

  .match-team {
    align-items: flex-start;
    gap: 6px;
  }

  .team-name {
    overflow: visible;
    text-overflow: clip;
    white-space: normal;
    line-height: 1.2;
  }

  .match-meta {
    justify-content: flex-start;
  }

  .match-time {
    display: none;
  }

  .prediction-grid,
  .leaderboard-grid {
    min-width: 820px;
  }

  .prediction-row,
  .prediction-head {
    grid-template-columns: 154px 84px 112px 72px minmax(220px, 1fr) 116px 78px;
    padding: 12px 14px;
  }

  .winner-picks-grid {
    grid-template-columns: 1fr;
  }

  .winner-scoring-note {
    align-items: flex-start;
    flex-direction: column;
  }

  .winner-scoring-note ul {
    justify-content: flex-start;
  }

  .prediction-row > :first-child,
  .prediction-head > :first-child {
    position: sticky;
    left: 0;
    z-index: 2;
    background: #101018;
    box-shadow: 10px 0 12px rgba(9, 9, 14, 0.45);
  }

  .leaderboard-row,
  .leaderboard-head {
    grid-template-columns: 74px 190px 100px 82px 82px 100px 78px minmax(180px, 1fr);
    padding: 13px 14px;
  }

  .model-description {
    min-height: auto;
  }

  .prompt-heading-row {
    align-items: flex-start;
  }

  .copy-button {
    width: 100%;
  }

  #prompt-code {
    padding: 16px;
    font-size: 11px;
  }

  .leaderboard-footer {
    align-items: flex-start;
    flex-direction: column;
    padding: 24px 16px;
  }
}

@media (max-width: 440px) {
  .leaderboard-nav a:nth-child(2),
  .leaderboard-nav a:nth-child(3) {
    display: none;
  }

  .live-chip {
    display: none;
  }

  .hero-actions .button {
    width: 100%;
  }

  .team-name {
    font-size: 15px;
  }

  .score-display {
    font-size: 19px;
  }

  .winner-pick-meta {
    grid-template-columns: 1fr;
  }
}
