/* === Sidebar: Last Game (Finalized Compact Style) === */

.last-game-box {
  width: 270px;
  font-family: Arial, sans-serif;
  font-weight: bold;
  border: 1px solid #999;
  border-radius: 6px;
  margin-bottom: 3px; /* 👈 Tighter gap before game links */
  background-color: #fff;
  overflow: hidden;
}

.score-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

.score-table th,
.score-table td {
  border: 1px solid #ccc;
  padding: 3px 4px;
  text-align: center;
  min-width: 28px;
}

.score-table .team-name,
.score-table .round-label {
  text-align: left;
  padding-left: 6px;
  white-space: nowrap;
  min-width: unset;
}

.score-table th {
  background-color: #fcce00;
  border-bottom: 1px solid #ccc;
}

.score-table tr:not(:last-child) td {
  border-bottom: 1px solid #ccc;
}

.score-table .final {
  color: #c00000;
  font-weight: bold;
}

.score-table .record {
  font-size: 11px;
  font-weight: normal;
  margin-left: 4px;
}

/* Header above box */
.last-game-header {
  font-family: Arial, sans-serif;
  font-weight: bold;
  font-size: 16px;
  color: #000;
  text-align: center;
  margin: 0 0 2px 0;
  padding: 0;
}

/* Game links below boxscore */
.game-links {
  text-align: center;
  font-size: 14px;
  font-weight: bold;
  padding: 4px 0 6px 0; /* 👈 Tighter above, extra below */
  background: none;
  margin-bottom: 15px; /* 👈 Breathing room from next element */
}

.game-links a {
  color: #c00000;
  text-decoration: none;
  margin: 0 4px;
}

.game-links a:hover {
  text-decoration: underline;
}