.team-records-section {
  min-width: 0;
  scroll-margin-top: 16px;
}

.team-records-divisions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: #dbe6e1;
  align-items: start;
}

.team-records-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  font-variant-numeric: tabular-nums;
}

.team-records-table caption {
  padding: 6px;
  border-bottom: 1px solid #dce6e2;
  background: #f4f8f6;
  color: #132a21;
  text-align: left;
  font-size: 15px;
  font-weight: 800;
}

.team-records-table caption span {
  display: block;
  margin-top: 2px;
  color: #60736b;
  font-size: 8px;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.team-records-table thead th {
  padding: 2px 6px;
  color: #60736b;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.team-records-table th {
  text-align: left;
}

.team-records-table tbody th,
.team-records-table td {
  padding: 2px 6px;
  border-top: 1px solid #e2e9e6;
  font-size: 12px;
  white-space: nowrap;
}

.team-records-table tbody th {
  color: #10251d;
  font-weight: 800;
}

.team-records-table tbody tr:nth-child(even) {
  background: #f8faf9;
}

.team-records-table th:last-child,
.team-records-table td {
  text-align: right;
}

.team-records-score {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-width: 40px;
  padding: 2px 5px;
  border-radius: 7px;
  background: #eaf5f8;
  color: #07596d;
  font-size: 13px;
  font-weight: 900;
}

.standings-national .team-records-score {
  background: #edf5e7;
  color: #326b24;
}

.team-records-score > span {
  color: #687a72;
  font-weight: 400;
}

@media (max-width: 380px) {
  .team-records-table tbody th,
  .team-records-table td,
  .team-records-table thead th {
    padding-inline: 4px;
  }

  .team-records-table tbody th {
    font-size: 11px;
  }
}

.team-records-name {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 30px;
  padding: 1px 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.team-records-name:hover {
  color: #087f98;
}

.team-records-name:focus-visible {
  outline: 2px solid #087f98;
  outline-offset: 2px;
  border-radius: 3px;
}

@media (max-width: 380px) {
  .team-records-name {
    min-height: 28px;
  }
}
