.team-knicks {
  --team-primary: #006bb6;
  --team-accent: #f58426;
  --accent: #e96d0c;
  --accent-soft: #fff0e4;
}

.team-nets {
  --team-primary: #111111;
  --team-accent: #ffffff;
  --accent: #303030;
  --accent-soft: #ececec;
}

.basketball-page .team-banner {
  min-height: 202px;
  background:
    radial-gradient(circle at 88% 50%, transparent 0 54px, rgba(255, 255, 255, 0.18) 55px 58px, transparent 59px),
    linear-gradient(90deg, rgba(0, 40, 92, 0.94), rgba(0, 107, 182, 0.76)),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.06) 0 2px, transparent 2px 18px),
    var(--team-primary);
}

.team-knicks .team-banner::after {
  background:
    linear-gradient(112deg, transparent 53%, rgba(245, 132, 38, 0.58)),
    linear-gradient(90deg, transparent 76%, rgba(255, 255, 255, 0.13) 76% 77%, transparent 77%);
}

.team-nets .team-banner {
  background:
    radial-gradient(circle at 88% 50%, transparent 0 54px, rgba(255, 255, 255, 0.2) 55px 58px, transparent 59px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.97), rgba(44, 44, 44, 0.83)),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.055) 0 2px, transparent 2px 18px),
    #111;
}

.team-nets .team-banner::after {
  background: linear-gradient(112deg, transparent 48%, rgba(255, 255, 255, 0.17));
}

.basketball-page .team-mark {
  width: 142px;
  height: 142px;
  overflow: hidden;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.97);
}

.basketball-page .team-mark img {
  width: 118px;
  height: 118px;
  object-fit: contain;
}

.team-nets .record-badge {
  border-color: rgba(255, 255, 255, 0.86);
}

.basketball-player-panel {
  min-width: 0;
  padding: 13px;
  border: 1px dashed var(--line-strong);
  border-radius: 12px;
  background: #fbfcfd;
}

.basketball-player-panel h3,
.basketball-game-block h3 {
  margin: 0 0 10px;
  font-size: 15px;
}

.basketball-game-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 14px;
  align-items: start;
}

.basketball-game-block {
  min-width: 0;
  padding: 13px;
  border: 1px dashed var(--line-strong);
  border-radius: 12px;
  background: #fbfcfd;
}

.quarter-score th:first-child,
.quarter-score td:first-child {
  min-width: 84px;
  font-weight: 900;
}

.quarter-score th:last-child,
.quarter-score td:last-child {
  color: var(--ink);
  background: #eef2f6;
  font-weight: 900;
}

.comparison-table th:first-child,
.comparison-table td:first-child {
  min-width: 142px;
}

.comparison-table td:not(:first-child) {
  min-width: 72px;
  font-weight: 800;
}

.comparison-table tr.team-edge td:nth-child(2) {
  color: #fff;
  background: var(--team-primary);
}

.team-nets .comparison-table tr.team-edge td:nth-child(2) {
  background: #222;
}

.leader-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.leader-chip {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #f5f8fa;
}

.leader-chip small {
  display: block;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.leader-chip strong {
  display: block;
  font-size: 13px;
}

.leader-chip span {
  display: block;
  margin-top: 3px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 850;
}

@media (max-width: 930px) {
  .basketball-page .team-mark {
    width: 116px;
    height: 116px;
  }

  .basketball-page .team-mark img {
    width: 96px;
    height: 96px;
  }

  .basketball-game-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .basketball-page .team-mark {
    width: 96px;
    height: 96px;
  }

  .basketball-page .team-mark img {
    width: 82px;
    height: 82px;
  }

  .basketball-player-panel,
  .basketball-game-block {
    padding: 10px;
  }

  .leader-strip {
    grid-template-columns: 1fr;
    gap: 7px;
  }
}
