/* The «Кубки» card on an athlete's page (ATHLETES.md): the cup page's standings row inside a profile card — the
   place (tinted for the first three), the series, races and points. On a phone every column stays, the name wraps. */
.athlete-cup-row {
  display: grid; grid-template-columns: 64px minmax(0, 1fr) 70px 90px; align-items: center; column-gap: 12px;
  padding: 16px 24px; color: inherit; text-decoration: none; transition: background .12s;
}
a.athlete-cup-row:hover { background: var(--color-panel-active); color: inherit; }
.athlete-cup-row + .athlete-cup-row { border-top: 1px solid var(--color-border); }
.athlete-cups-head {
  padding: 16px 24px 14px; font-family: var(--font-family-mono); font-size: 11.5px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--color-text-muted); border-bottom: 1px solid var(--color-border);
}
.athlete-cups-head + .athlete-cup-row { border-top: none; }
.athlete-cup-rank {
  width: 32px; height: 32px; border-radius: 9px; display: flex; align-items: center; justify-content: center;
  font-size: 16px; font-weight: 600; color: var(--color-text-secondary);
}
.athlete-cup-rank.top-1 { background: var(--color-rank-gold-tint); color: var(--color-rank-gold); }
.athlete-cup-rank.top-2 { background: var(--color-rank-silver-tint); color: var(--color-rank-silver); }
.athlete-cup-rank.top-3 { background: var(--color-rank-bronze-tint); color: var(--color-rank-bronze); }
.athlete-cup-name { font-size: 17px; font-weight: 500; letter-spacing: -0.01em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.athlete-cup-num { text-align: right; font-size: 17px; }
.athlete-cups-head .athlete-cup-num { font-size: inherit; }
.athlete-cup-points { font-family: var(--font-family-mono); font-weight: 700; }
@media (max-width: 575.98px) {
  .athlete-cup-row { grid-template-columns: 40px minmax(0, 1fr) 40px 60px; column-gap: 8px; padding: 12px 14px; }
  .athlete-cups-head { font-size: 10.5px; letter-spacing: 0.06em; }
  .athlete-cup-name, .athlete-cup-num { font-size: 15px; }
  .athlete-cup-name { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
}
