/* The charter of the game on its pages: the sky, the cream, the wood, the
   ink, square corners and thick edges; Pixelify Sans for the headings,
   served with the pages, system fonts for the text so that it stays easy
   to read. */
@font-face {
  font-family: 'Pixelify Sans';
  font-weight: 700;
  font-display: swap;
  src: url('/pixelify-sans-700.woff2') format('woff2');
}

:root {
  color-scheme: light;
  --bg: #a8dcea;
  --surface: #fff4d6;
  --text: #2c1e12;
  --muted: #5a4026;
  --link: #6b4220;
  --edge: #4a2d12;
  --grass: #4f8a34;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font:
    17px/1.55 system-ui,
    -apple-system,
    'Segoe UI',
    Roboto,
    sans-serif;
}

main {
  max-width: 760px;
  margin: 24px auto 48px;
  padding: 24px 16px 32px;
  background: var(--surface);
  border: 3px solid var(--edge);
  box-shadow: 0 6px 0 var(--grass);
}

@media (max-width: 800px) {
  main {
    margin: 16px;
  }
}

h1,
h2 {
  font-family: 'Pixelify Sans', ui-monospace, monospace;
  font-weight: 700;
}

h1 {
  margin-top: 0;
}

a {
  color: var(--link);
}

.meta,
footer {
  color: var(--muted);
}

footer {
  font-size: 0.9rem;
}

.table {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

th,
td {
  text-align: left;
  vertical-align: top;
  padding: 8px;
  border: 1px solid var(--edge);
}
