/* Shared by the games */
.game-call { font: 600 1.15rem/1.4 var(--sans); margin: 0.75rem 0; min-height: 1.4em; }

/* 500: a yard seen from above */
.g500-field {
  display: block; width: 100%; height: auto; aspect-ratio: 8 / 5;
  background: #77a05f;
  border-radius: 0.5rem;
  box-shadow: 0 0.5rem 1.5rem rgba(31, 35, 40, 0.15);
  touch-action: none; cursor: crosshair;
}
.g500-field:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.g500-scores { overflow-x: auto; margin: 0.75rem 0 0; }
.g500-scores[hidden] { display: none; }
.g500-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.g500-table th, .g500-table td {
  padding: 0.45rem 0.5rem; text-align: right;
  border-bottom: 1px solid rgba(31, 35, 40, 0.12);
}
.g500-table th:first-child, .g500-table td:first-child { text-align: left; }
.g500-table thead th { font-weight: 600; color: var(--muted); }
.g500-table .is-official { font-weight: 700; }
.g500-table .is-off { color: var(--accent); font-weight: 700; }
.g500-note { font-size: 0.85rem; color: var(--muted); margin: 0.5rem 0 0; }

/* Wiffle ball: scoreboard under the yard */
.wb-board {
  display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem;
  margin: 0.9rem 0 0;
  font-family: var(--sans); font-size: 0.9rem;
}
.wb-board div { display: flex; gap: 0.4rem; }
.wb-board dt { color: var(--muted); }
.wb-board dd { margin: 0; font-weight: 700; }