body { font-family: system-ui, sans-serif; max-width: 32rem; margin: 3rem auto; padding: 0 1rem; }
img { max-width: 100%; height: auto; }

/* Score sheets (game pages, web B1 T4): six empty player columns to fill in by hand. */
.score-sheet { width: 100%; border-collapse: collapse; margin: 1.5rem 0; }
.score-sheet th, .score-sheet td { border: 1px solid #555; padding: 0.3rem 0.4rem; }
.score-sheet tbody th { text-align: left; font-weight: normal; }
.score-sheet tbody tr { height: 2rem; }
.score-sheet .total th, .score-sheet .total td { border-top-width: 3px; font-weight: bold; }

/* Print (spec O6d): only the heading and the sheet, on one A4 or Letter page. 17 rows at most (header,
   15 rounds, total) × 13 mm plus the heading stay under Letter's 255 mm of printable height. The width
   stays just short of 100 %, or the right-hand border falls off the printable area. */
@media print {
  @page { margin: 12mm; }
  body { max-width: none; margin: 0; padding: 0; }
  header, footer, main > :not(h1):not(.sheet) { display: none; }
  h1 { font-size: 16pt; margin: 0 0 6mm; }
  .score-sheet { width: 99%; margin: 0; font-size: 11pt; break-inside: avoid; }
  .score-sheet th, .score-sheet td { border-color: #000; }
  .score-sheet tr, .score-sheet tbody tr { height: 13mm; }
}
