/* Shared, page-agnostic interface primitives. Page styles may extend these
   classes but should not redefine their base appearance. */

.card {
  background: var(--color-surface);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-card);
  color: var(--color-text-strong);
}

.card {
  padding: 0.875rem;
}

.list-wrap {
  display: grid;
  max-width: 100%;
  margin: 0 auto;
  gap: 1rem;
}

.badge {
  display: inline-block;
  margin-left: 0.5rem;
  padding: 0.125rem 0.5rem;
  border-radius: var(--radius-pill);
  border: 1px solid #333;
  background: #202020;
  color: #d7d7d7;
  font-size: 0.78rem;
  font-weight: 700;
}

.badge.win {
  background: #16a34a;
  color: #ecfdf5;
}

.badge.lose {
  background: #dc2626;
  color: #fee2e2;
}

.visually-hidden,
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
