.handicap-card,
.rounds-list {
  max-width: 680px;
  margin-right: auto;
  margin-left: auto;
}

.handicap-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px 24px;
  padding: 20px;
}

.handicap-copy {
  display: grid;
  align-content: center;
}

.handicap-copy strong {
  color: var(--green);
  font-size: clamp(48px, 15vw, 76px);
  font-variant-numeric: tabular-nums;
  line-height: .95;
}

.handicap-copy span,
.handicap-card p {
  color: var(--dim);
  font-size: 12px;
}

#handicap-sparkline {
  width: 100%;
  min-width: 120px;
  align-self: center;
  color: var(--green);
}

#handicap-line {
  stroke: currentColor;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.handicap-card p {
  grid-column: 1 / -1;
  margin: 4px 0 0;
}

.rounds-list {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.round-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) repeat(3, auto);
  gap: 14px;
  align-items: center;
  width: 100%;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--panel);
  text-align: left;
}

.round-row-copy {
  display: grid;
  min-width: 0;
}

.round-row-copy strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.round-row-copy small,
.round-stat span {
  color: var(--dim);
}

.round-stat {
  display: grid;
  text-align: center;
}

.round-stat strong {
  font-variant-numeric: tabular-nums;
}

.round-stat span {
  font-size: 9px;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.round-detail {
  width: min(92vw, 520px);
  max-height: 82vh;
  padding: 18px;
  color: var(--ink);
}

.round-detail::backdrop {
  background: var(--shadow);
}

.detail-holes {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
  overflow-y: auto;
}

.detail-hole {
  display: grid;
  min-height: 70px;
  padding: 8px;
  place-content: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--panel2);
  text-align: center;
}

.detail-hole small {
  color: var(--dim);
}

@media (max-width: 460px) {
  .round-row {
    gap: 8px;
  }

  .round-stat {
    font-size: 12px;
  }

  .detail-holes {
    grid-template-columns: repeat(3, 1fr);
  }
}
