/* The game's plain pages (#574, #577): its baize, its ivory and its brass,
   in the device's own font, since the game's font is a fingerprinted file. */

:root {
  color-scheme: dark;
  color: #f8f3e7;
  background: #0d351f;
  font-family:
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  line-height: 1.5;
}

body {
  max-width: 36rem;
  margin: 0 auto;
  padding: 24px 20px 48px;
}

h1 {
  margin: 0.5rem 0 1rem;
  font-size: 1.75rem;
  line-height: 1.2;
}

h2 {
  margin: 2rem 0 0.5rem;
  font-size: 1.125rem;
}

p,
ol,
ul {
  margin: 0 0 0.75rem;
}

ol,
ul {
  padding-left: 1.25rem;
}

li + li {
  margin-top: 0.25rem;
}

a {
  color: #e1be72;
  text-underline-offset: 0.15em;
}

b {
  font-weight: 700;
  color: #fffdf7;
}

address {
  margin: 0 0 0.75rem;
  font-style: normal;
}

/* When the page last changed, quiet under its heading. */
.page-date {
  color: rgb(248 243 231 / 70%);
  font-size: 0.9375rem;
}

/* The other plain pages, at the foot of each language's article. */
.page-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 2.5rem;
  font-size: 0.9375rem;
}

.page-languages {
  display: flex;
  gap: 16px;
  font-size: 0.9375rem;
}

.page-languages a[aria-current="true"] {
  color: inherit;
  text-decoration: none;
  font-weight: 700;
}

article + article {
  margin-top: 3rem;
  padding-top: 1rem;
  border-top: 1px solid rgb(248 243 231 / 30%);
}

article[hidden] {
  display: none;
}

/* One language shown: the rule between them goes with the others. */
.page-one article {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}
