/* OCP-00333: one board-and-shroud layout for the game screen (styles.css) and the score summaries (summary.css).
 *
 * --board-shroud-ratio  the shroud is this many times the board's width: the 110 mm rule of the sponsor guide (a 671 mm
 *                       shroud around a 451 mm board, 2048 px with a 1376.5 px clear centre), so the board is 67.2% of it.
 * --board-fit           the board's share of its container on the game screen, by the screen's shorter side, so it
 *                       holds when the device is turned. Below 1, the shroud shows around the board for sponsors.
 * --summary-board-fit   the same on every summary board: 0.672 (1 / ratio) shows the whole shroud, edge to edge, in the card.
 *
 * Decided 3 Nov 2026: phones keep the board big for aiming (0-5% margin); tablets and desktop give the shroud room;
 * the summaries (which have nothing but space) show all of it. Written up in docs/Interface_Guildelines.html.
 */
:root {
  --board-shroud-ratio: 1.48783;
  /* Phones (shorter side under 600 px): 2.5% margin each side. */
  --board-fit: 0.95;
  --summary-board-fit: 0.672;
  /* Each side of a summary board's face, inside its square stage: (1 - fit) / 2. */
  --summary-board-inset: 16.4%;
}

/* Tablets and desktop (shorter side 600 px and up): 11% margin each side. */
@media (min-width: 600px) and (min-height: 600px) {
  :root {
    --board-fit: 0.78;
  }
}
