/*
 * KikAssist's pitch, for any page that wants it (the home page and the other
 * pages): the main kit's pitch (the app's game_background, images/pitch/,
 * landscape on wide windows) at the board level, with js/pitch-tactics.js
 * chalking random plays on it. Anything on the page sits on a slate plate,
 * var(--slate). The names stay clear of the pages' own --pitch.
 */
:root {
  /* the main kit's pitch #0B8334 at the board level (50% darker) */
  --pitch-ground: #06411A;
  --slate: rgba(14, 26, 18, .9);
}

/* html > body: outranks a page's own body background. The pitch is a fixed
   layer cut to the window like the tactics over it (cover). */
html > body { background: var(--pitch-ground); }
html::before {
  content: ""; position: fixed; z-index: -1; inset: 0; pointer-events: none;
  background: url(/images/pitch/pitch-landscape.svg) center / cover no-repeat;
}
@media (orientation: portrait) {
  html::before { background-image: url(/images/pitch/pitch-portrait.svg); }
}
.pitch-tactics { position: fixed; z-index: -1; inset: 0; width: 100%; height: 100%; pointer-events: none; opacity: .5; }
