/* ======================================
   Base layout & typography
   ====================================== */

body {
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  margin: 24px;
  line-height: 1.4;
  background: #ffffff;
  color: #111;
}

#page-standings,
#page-teams {
  max-width: 1100px;
}

/* ======================================
   Headings
   ====================================== */

.page-header {
  margin-bottom: 16px;
}

.page-title {
  margin: 0;
  font-size: 1.8rem;
}

.conference-title {
  margin-top: 32px;
  margin-bottom: 12px;
  padding-bottom: 6px;
  border-bottom: 1px solid #ddd;
  font-size: 1.4rem;
}

.division-title {
  margin-top: 20px;
  margin-bottom: 8px;
  font-size: 1.1rem;
}

/* ======================================
   Utility
   ====================================== */

.count {
  color: #666;
  font-size: 0.9em;
  font-weight: normal;
}

/* ======================================
   Tables
   ====================================== */

.teams-table {
  border-collapse: collapse;
  width: 100%;
  margin-bottom: 14px;
}

.teams-table th,
.teams-table td {
  padding: 8px 10px;
  border-bottom: 1px solid #eee;
  text-align: left;
}

.teams-table th {
  background: #fafafa;
  font-weight: 600;
}

/* Column sizing */
.col-id {
  width: 60px;
}

.col-school {
  width: auto;
}

.col-nickname {
  width: 220px;
}

/* Ratings columns */
.col-rating {
  width: 70px;
  text-align: right;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

/* AVG column slightly wider for decimals */
.col-avg {
  width: 80px;
}

/* ======================================
   Division leader highlight (AVG cell only)
   ====================================== */

.col-avg.is-division-leader {
  background: #fff4cc;           /* subtle warm highlight */
  font-weight: 600;
  border-left: 3px solid #e0b400;
}
