/* Privacy notice and terms (privacy.html, terms.html): plain, readable pages in the game's colours. */
:root {
  --ink: #06161a;
  --ink-2: #0c2a30;
  --foam: #f3fff6;
  --muted: #9fc0b8;
  --volt: #b8ff3c;
  --link: #e3c6ff;
  --warn: #ffd23f;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  background: var(--ink);
  color: var(--foam);
  font: 17px/1.6 "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  padding: max(1rem, env(safe-area-inset-top)) max(1rem, env(safe-area-inset-right)) 3rem max(1rem, env(safe-area-inset-left));
}

main {
  max-width: 46rem;
  margin: 0 auto;
}

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

h1,
h2,
h3 {
  line-height: 1.25;
}

h1 {
  margin: 0.4rem 0 0.2rem;
  font-size: 1.9rem;
}

h2 {
  margin: 2.2rem 0 0.4rem;
  font-size: 1.3rem;
  color: var(--volt);
}

h3 {
  margin: 1.4rem 0 0.3rem;
  font-size: 1.05rem;
}

.back {
  display: inline-block;
  margin-bottom: 0.6rem;
  font-weight: 800;
  text-decoration: none;
}

.updated {
  margin: 0 0 1rem;
  color: var(--muted);
  font-weight: 700;
}

.draft {
  margin: 1rem 0 1.4rem;
  padding: 0.8rem 1rem;
  border: 2px solid var(--warn);
  border-radius: 12px;
  background: rgba(255, 210, 63, 0.1);
  font-weight: 700;
}

.summary {
  padding: 0.9rem 1.1rem;
  border-radius: 14px;
  background: var(--ink-2);
}

.summary ul {
  margin: 0.3rem 0 0;
  padding-left: 1.2rem;
}

.todo {
  padding: 0 0.25rem;
  border-radius: 4px;
  background: rgba(255, 210, 63, 0.22);
  color: var(--warn);
  font-weight: 800;
}

.table-wrap {
  overflow-x: auto;
}

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

th,
td {
  padding: 0.55rem 0.6rem;
  border-bottom: 1px solid rgba(243, 255, 246, 0.14);
  text-align: left;
  vertical-align: top;
}

th {
  color: var(--muted);
  font-weight: 800;
}

footer {
  margin-top: 2.5rem;
  color: var(--muted);
  font-size: 0.9rem;
}
