@layer qg {
  :root {
    /* Player-0's color (c256 index 208), matching the terminal renderer's
     seat-0 orange. */
    --accent: #e4e4e4; /* monochrome — Life's white-cells-on-black identity; also keeps it distinct from Paint Battle's orange beside it */
    /* The board's frame background (renderer.rs bg() = c256 index 233). */
    --game-bg: #121212;
  }

  /* A sideways phone keeps Leave in the top-left corner, and Conway's match
   board fills the width from the left edge, so the board starts beside the
   arrow instead of under it. */
  @media (pointer: coarse) and (orientation: landscape) {
    #terminal {
      padding-inline-start: 48px;
    }
  }
}
