.account-game-list {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
}

.account-game-row {
  display: block;
  min-width: 0;
  border-bottom: 1px solid var(--cream-300);
}

.account-game-row:last-child {
  border-bottom: 0;
}

.account-game-row:hover {
  background: #fffaf0;
}

.account-game-row > a {
  display: grid;
  min-height: 67px;
  grid-template-columns: minmax(78px, auto) minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 10px 17px;
  color: inherit;
}

.account-game-date {
  color: var(--muted);
  font-size: 0.79rem;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.account-game-date strong,
.account-game-date small,
.account-game-copy strong,
.account-game-copy small {
  display: block;
}

.account-game-date small,
.account-game-copy small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.35;
}

.account-game-copy {
  min-width: 0;
}

.account-game-copy strong {
  display: block;
  overflow: hidden;
  color: var(--green-950);
  font-size: 0.92rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-game-points {
  min-width: 58px;
  padding: 6px 9px;
  border: 1px solid var(--cream-400);
  border-radius: 999px;
  color: var(--green-900);
  background: #fff;
  font-size: 0.82rem;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  line-height: 1.15;
  text-align: center;
  white-space: nowrap;
}

.account-game-points.is-positive {
  border-color: rgb(8 113 59 / 27%);
  color: #08713b;
  background: #edf9f1;
}

.account-game-points.is-negative {
  border-color: rgb(165 61 50 / 27%);
  color: #a53d32;
  background: #fff1ef;
}

@media (max-width: 700px) {
  .account-game-row > a {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 5px 10px;
    padding: 12px 14px;
  }

  .account-game-date {
    grid-column: 1 / -1;
  }
}
