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

body {
  background: #1a1a1a;
  color: #F5F5F5;
  font-family: sans-serif;
  margin: 0;
  padding: 0;
}

/* ── Layout ── */
.page {
  background: linear-gradient(to right, #001f3f, #FFD700);
  min-height: 100vh;
  padding: 2rem;
}

/* ── Typography ── */
.site-title {
  text-align: center;
  font-size: 4.6875rem;
  margin-bottom: 2rem;
  color: #F5F5F5;
}

.section-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #F5F5F5;
}

h2 { color: #F5F5F5; }
h3 { font-size: 1.5rem; margin: 0; color: #F5F5F5; }

a.link {
  color: #A5C3FF;
  text-decoration: none;
  font-weight: bold;
}

.muted { color: rgba(255, 255, 255, 0.53); }

/* ── Leaderboard ── */
.cat-section {
  margin-bottom: 2rem;
  text-align: center;
}

.cat-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.25rem;
  font-size: 1rem;
}

.cat-section ol {
  list-style: none;
  padding: 0;
}

.cat-section li {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.expand-btn {
  background: none;
  border: none;
  color: #A5C3FF;
  font-size: 1.2rem;
  cursor: pointer;
  padding: 0 0.25rem;
}

.divider {
  border-color: #F5F5F5;
  margin: 3rem 0;
}

/* ── Season History ── */
.season-section {
  margin-bottom: 2rem;
  text-align: center;
}

.season-section h2 {
  font-size: 2.25rem;
  margin-bottom: 1rem;
}

.season-section ol {
  list-style: none;
  padding: 0;
}

.place-1 { font-size: 2.25rem; margin-bottom: 0.5rem; }
.place-2 { font-size: 1.75rem; margin-bottom: 0.5rem; }
.place-3 { font-size: 1.5rem;  margin-bottom: 0.5rem; }
.place-other { font-size: 1.2rem; margin-bottom: 0.5rem; }

.rec {
  font-size: calc(1em / 1.7);
  margin-left: 6px;
  vertical-align: middle;
}

.mvp {
  font-size: 1rem;
  color: #FFD700;
  margin-top: 2px;
}
.mvp span { font-weight: 500; }

/* ── Team Page ── */
.back-link { text-align: center; margin-bottom: 1rem; }

.team-title {
  text-transform: uppercase;
  font-size: 3rem;
  text-align: center;
  margin-bottom: 1.5rem;
  color: #F5F5F5;
}

.team-subtitle {
  text-align: center;
  margin-bottom: 2.5rem;
  color: #F5F5F5;
}

.stats-card {
  max-width: 400px;
  margin: 0 auto;
  font-size: 1.2rem;
}

.stats-card > div { margin-bottom: 1rem; }

.filter-row {
  display: flex;
  justify-content: center;
  margin: 2.5rem 0 1.5rem;
}

.filter-btn {
  padding: 0.5rem 1.2rem;
  margin: 0 0.5rem;
  border: none;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.13);
  color: #fff;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.filter-btn.selected {
  background: #FFD700;
  color: #003366;
  font-weight: 700;
  outline: 2px solid #FFD700;
}

.graph-wrap {
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
  overflow-x: auto;
}
