/* The look of the game, in one place.
 *
 * Change a color, a typeface or a spacing here and it changes everywhere.
 * Nothing in the game's workings depends on these values.
 * This is direction B, the departure board (Joe, November 25, 2026).
 */
:root {
  /* Colors */
  --color-page: #0F1012;        /* near-black background */
  --color-panel: #191B1F;       /* cards */
  --color-tile: #25282E;        /* split-flap tiles */
  --color-tile-split: #0A0B0D;  /* the line across the middle of a tile */
  --color-rule: #33373F;        /* thin lines and card edges */
  --color-accent: #FFB81C;      /* amber */
  --color-text: #F2EEE3;        /* off-white */
  --color-muted: #A7ABB3;       /* quieter text */
  --color-right: #5FD08A;       /* a correct pick */
  --color-wrong: #FF8A4C;       /* a miss */
  --color-water: #0C1016;       /* under the Home art */

  /* Typefaces. The font files are in site/fonts/. */
  --font-display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --font-body: 'Barlow', system-ui, sans-serif;

  /* Spacing and shape */
  --page-width: 430px;          /* the game sits in a phone-width column */
  --page-side: 24px;            /* space at the left and right edges */
  --radius-card: 6px;
  --radius-tile: 3px;

  /* Tiles */
  --tile-width: 26px;
  --tile-height: 36px;
  --tile-text: 26px;

  /* Item names step down in size as they get longer. */
  --name-1: 44px;
  --name-2: 36px;
  --name-3: 29px;
  --name-4: 24px;
}

/* Shorter screens: step the lettering down so both cards still fit. A phone's
 * browser bars take a good slice of the screen, so these sizes get real use. */
@media (max-height: 720px) {
  :root {
    --name-1: 38px;
    --name-2: 31px;
    --name-3: 25px;
    --name-4: 21px;
    --tile-height: 32px;
    --tile-text: 23px;
  }
}

@media (max-height: 620px) {
  :root {
    --name-1: 31px;
    --name-2: 26px;
    --name-3: 22px;
    --name-4: 19px;
    --tile-height: 28px;
    --tile-text: 21px;
  }
}
