.stats-card { padding: 16px 14px; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}
.stat { text-align: center; }
.stat-num {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.5px;
  line-height: 1;
  color: var(--scvfs-black);
}
.stat-num.red { color: var(--scvfs-red); }
.stat-label {
  font-size: 10px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  font-weight: 700;
  margin-top: 4px;
}

@media (max-width: 420px) {
  .stat-num { font-size: 20px; }
  .stat-label { font-size: 9px; letter-spacing: 0.4px; }
}

.results-table-card {
  background: var(--scvfs-black);
  border-radius: var(--radius);
  border: 2px solid var(--scvfs-red);
  margin: 0 0 14px;
  overflow: hidden;
  width: 100%;
}

.results-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: auto;
  color: #fff;
}

.results-table thead th {
  background: var(--scvfs-red);
  color: #fff;
  padding: 10px 8px;
  text-align: left;
  font-size: 12px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.results-table tbody td {
  padding: 10px 8px;
  border-bottom: 1px solid #2a2a2a;
  font-size: 14px;
  vertical-align: top;
  color: #f4f4f4;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.results-table tbody tr:nth-child(even) { background: #151515; }
.results-table tbody tr:hover { background: #2a2a2a; }

.results-table .col-evt {
  width: 18%;
  text-align: center;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.results-table .col-skater { width: 44%; }
.results-table .col-place { width: 22%; text-align: center; white-space: nowrap; }
.results-table .col-pts { width: 16%; text-align: center; font-variant-numeric: tabular-nums; }

.results-table .skater-link {
  color: #fff;
  text-decoration: underline;
  text-decoration-color: rgba(255,255,255,0.4);
}
.results-table .skater-link:hover {
  text-decoration-color: #fff;
  color: #fff;
}

@media (max-width: 480px) {
  .results-table thead th { padding: 8px 6px; font-size: 11px; }
  .results-table tbody td { padding: 8px 6px; font-size: 13px; }
  .results-table .col-evt { width: 16%; }
  .results-table .col-skater { width: 46%; }
}

/* Skater row highlight when navigated via anchor */
.results-table .scvfs-row { background: rgba(200, 16, 46, 0.10) !important; }
.results-table .flash-row {
  animation: flashRow 2.4s ease-out;
}
@keyframes flashRow {
  0%, 30% { background: var(--scvfs-red) !important; color: #fff; }
  100% { }
}

/* Skater-results columns */
.results-table .col-rink { width: 50%; word-break: break-word; }

/* Roster table */
.roster-table .col-evt { width: 8%; }
.roster-table .col-skater { width: 32%; }
.roster-table .col-place { width: 12%; text-align: center; font-size: 12px; }
.roster-table .col-isi, .roster-table .col-usfs {
  text-align: right;
  font-variant-numeric: tabular-nums;
  font-size: 11px;
  width: 24%;
  white-space: nowrap;
}
@media (max-width: 480px) {
  .roster-table thead th, .roster-table tbody td { padding: 6px 4px; font-size: 11px; }
  .roster-table .col-isi, .roster-table .col-usfs { font-size: 10px; }
}

/* Archives — multi-year stats tables */
.archive-year-heading {
  margin: 22px 4px 10px;
  font-size: 14px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--scvfs-red);
  font-weight: 800;
}
.results-table.archive-table .col-cat { width: 56%; }
.results-table.archive-table .col-evt { width: 22%; text-align: center; }
.results-table.archive-table .col-pts { width: 22%; text-align: center; }
.results-table.archive-table .header-row td {
  background: #2a2a2a;
  font-weight: 700;
  color: var(--scvfs-red);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 12px;
}
.results-table.archive-table .total-row td {
  font-weight: 700;
  background: #1f1f1f;
}
.archive-footnote {
  margin: 4px 8px 18px;
  color: var(--scvfs-red);
  font-style: italic;
}

/* Presidents Award year: red border (existing) + gold outer highlight */
.archive-year-block.presidents-award {
  margin-bottom: 8px;
}
.archive-year-block.presidents-award .results-table-card {
  box-shadow:
    0 0 0 4px #fbbf24,
    0 0 18px rgba(251, 191, 36, 0.45);
  position: relative;
}
.archive-year-block.presidents-award .archive-year-heading {
  color: #b45309;
  text-shadow: 0 0 1px rgba(251, 191, 36, 0.4);
}
.archive-year-block.presidents-award .archive-footnote {
  color: #b45309;
  font-weight: 600;
  font-style: normal;
}
