.history-round-heading,
.history-overview-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 13px 15px;
  border-radius: 10px;
  background: var(--felt);
  color: #fff;
}

.history-round-heading span,
.history-overview-title span {
  color: #d9f2e4;
  font-size: 13px;
}

.history-overview-card {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(180px, 1fr) minmax(180px, 1.3fr) auto;
  align-items: center;
  gap: 16px;
  text-align: left;
  padding: 15px;
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.history-overview-card:hover {
  border-color: var(--gold);
  transform: translateY(-1px);
}

.history-overview-round,
.history-overview-winners {
  display: grid;
  gap: 4px;
}

.history-overview-card small {
  color: var(--muted);
  font-weight: 700;
}

.history-overview-winners small { color: var(--felt); }

.history-paid,
.history-pending {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  padding: 0 13px;
  border-radius: 99px;
  color: #fff;
  font-weight: 900;
}

.history-paid { background: #3a7d3b; }
.history-pending { background: #a66a19; }

@media (max-width: 700px) {
  .history-round-heading,
  .history-overview-title {
    align-items: flex-start;
    flex-direction: column;
  }

  .history-overview-card {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .history-paid,
  .history-pending { justify-self: start; }
}
