.conference-standings {
  display: grid;
  gap: 28px;
}

.standings-conference {
  overflow: hidden;
  border: 1px solid rgba(24, 201, 232, .2);
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(17, 43, 34, .96), rgba(7, 21, 16, .98));
  box-shadow: 0 17px 38px rgba(0, 0, 0, .24);
}

.conference-heading {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  gap: 11px;
  align-items: center;
  min-height: 76px;
  padding: 13px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  background: radial-gradient(circle at 90% 0, rgba(24, 201, 232, .15), transparent 44%);
}

.standings-national .conference-heading {
  background: radial-gradient(circle at 90% 0, rgba(117, 214, 90, .16), transparent 44%);
}

.conference-code {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(24, 201, 232, .42);
  border-radius: 13px;
  background: rgba(24, 201, 232, .1);
  color: var(--cyan);
  font-size: 12px;
  font-weight: 1000;
  letter-spacing: .05em;
}

.standings-national .conference-code {
  border-color: rgba(117, 214, 90, .44);
  background: rgba(117, 214, 90, .1);
  color: var(--green);
}

.conference-heading h2 {
  margin: 2px 0 0;
  font-size: 22px;
  letter-spacing: .02em;
}

.conference-heading.conference-heading-with-logo {
  grid-template-columns: 38px minmax(0, 1fr) minmax(70px, 26%);
  gap: 8px;
}

.conference-side-logo {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 4px;
}

.conference-season {
  color: #80978d;
  font-size: 7px;
  font-weight: 900;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.conference-venue-artwork {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  background: #11110f;
  border-radius: 8px;
  overflow: hidden;
}

.conference-venue-artwork img {
  display: block;
  width: min(100%, 320px);
  height: auto;
  object-fit: contain;
}

.conference-division-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, .08);
}

.standings-division {
  min-width: 0;
  background: rgba(8, 24, 18, .98);
}

.standings-division > header {
  display: flex;
  gap: 8px;
  align-items: center;
  min-height: 52px;
  padding: 9px 10px;
  border-bottom: 1px solid rgba(255, 255, 255, .07);
}

.standings-division > header > span {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 9px;
  background: rgba(24, 201, 232, .1);
  color: var(--cyan);
  font-size: 10px;
  font-weight: 1000;
}

.standings-west > header > span {
  background: rgba(117, 214, 90, .1);
  color: var(--green);
}

.standings-division header strong,
.standings-division header small {
  display: block;
}

.standings-division header strong {
  font-size: 12px;
}

.standings-division header small {
  margin-top: 1px;
  color: var(--muted);
  font-size: 7px;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.division-standing-row {
  display: grid;
  grid-template-columns: 15px 34px minmax(0, 1fr) auto;
  gap: 5px;
  align-items: center;
  min-height: 57px;
  padding: 7px 7px;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  cursor: pointer;
}

.division-standing-row:last-child {
  border-bottom: 0;
}

.division-standing-row:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: -2px;
}

.division-standing-rank {
  color: #6f877d;
  font-size: 8px;
  font-weight: 1000;
  text-align: center;
}

.division-team-avatar {
  position: relative;
  display: grid;
  width: 34px;
  height: 34px;
  overflow: hidden;
  padding: 0;
  place-items: center;
  border: 2px solid rgba(24, 201, 232, .48);
  border-radius: 50%;
  background: linear-gradient(145deg, rgba(24, 201, 232, .22), rgba(4, 18, 14, .95));
  color: #d8f9ff;
  font: inherit;
  font-size: 11px;
  font-weight: 1000;
  cursor: pointer;
  box-shadow: 0 0 0 2px rgba(24, 201, 232, .07), 0 4px 10px rgba(0, 0, 0, .3);
}

.division-team-avatar img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.division-team-avatar:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.standings-west .division-team-avatar {
  border-color: rgba(117, 214, 90, .5);
  background: linear-gradient(145deg, rgba(117, 214, 90, .2), rgba(4, 18, 14, .95));
  color: #dfffd5;
  box-shadow: 0 0 0 2px rgba(117, 214, 90, .07), 0 4px 10px rgba(0, 0, 0, .3);
}

.division-team-copy {
  min-width: 0;
}

.division-team-copy strong,
.division-team-copy small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.division-team-copy strong {
  font-size: 12px;
  font-weight: 800;
  line-height: 1.25;
  text-transform: uppercase;
}

.division-team-copy small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 7.5px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.division-team-copy .player-name-link {
  max-width: 100%;
  overflow: hidden;
  padding: 0;
  color: inherit;
  font-size: inherit;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.division-team-points {
  text-align: right;
}

.division-team-points b,
.division-team-points small {
  display: block;
}

.division-team-points b {
  color: var(--gold);
  font-size: 14px;
  line-height: 1;
}

.division-team-points small {
  color: #6f877d;
  font-size: 5px;
  font-weight: 900;
}

.standings-conference + .standings-conference {
  scroll-margin-top: 14px;
}

/* Reversible light preview for the team standings charts. */
.standings-light .standings-conference {
  border-color: rgba(12, 94, 111, .2);
  background: #fff;
  color: #10251d;
  box-shadow: 0 17px 38px rgba(0, 0, 0, .18);
}

.standings-light .standings-american .conference-heading {
  border-bottom-color: #78cfe2;
  background: radial-gradient(circle at 90% 0, rgba(24, 201, 232, .38), transparent 48%), linear-gradient(110deg, #c9eff8, #eafaff 68%, #fff);
}

.standings-light .standings-national .conference-heading {
  border-bottom-color: #92cf7e;
  background: radial-gradient(circle at 90% 0, rgba(117, 214, 90, .4), transparent 48%), linear-gradient(110deg, #d7efcf, #f0fbe9 68%, #fff);
}

.standings-light .conference-heading h2 {
  color: #0a2018;
}

.standings-light .standings-american .conference-heading h2 {
  color: #07596d;
}

.standings-light .standings-national .conference-heading h2 {
  color: #326b24;
}

.standings-light .conference-heading .home-section-label {
  color: #187c91;
}

.standings-light .standings-national .conference-heading .home-section-label {
  color: #3e7e2e;
}

.standings-light .conference-season {
  color: #60736b;
}

.standings-light .conference-division-grid {
  background: #dbe6e1;
}

.standings-light .standings-division {
  background: #fff;
}

.standings-light .standings-division > header {
  border-bottom-color: #dce6e2;
  background: #f4f8f6;
}

.standings-light .standings-division header strong {
  color: #132a21;
}

.standings-light .standings-division header small {
  color: #60736b;
}

.standings-light .division-standing-row {
  border-bottom-color: #e2e9e6;
  background: #fff;
}

.standings-light .division-standing-row:nth-child(even) {
  background: #f8faf9;
}

.standings-light .division-standing-row:focus-visible {
  outline-color: #087f98;
}

.standings-light .division-standing-rank {
  color: #61766d;
}

.standings-light .division-team-copy strong,
.standings-light .division-team-copy .player-name-link {
  color: #10251d;
}

.standings-light .division-team-copy small {
  color: #687a72;
}

.standings-light .division-team-points b {
  color: #8a5900;
}

.standings-light .division-team-points small {
  color: #66786f;
}

@media (max-width: 380px) {
  .conference-heading {
    grid-template-columns: 38px minmax(0, 1fr);
  }

  .conference-code {
    width: 38px;
    height: 38px;
  }

  .conference-season {
    display: none;
  }

  .division-standing-row {
    grid-template-columns: 13px 30px minmax(0, 1fr) auto;
    gap: 4px;
    padding-inline: 5px;
  }

  .division-team-avatar {
    width: 30px;
    height: 30px;
  }

  .division-team-copy strong {
    font-size: 11px;
  }

  .division-team-points b {
    font-size: 13px;
  }
}
