/* Impressum, Datenschutz, Quellen: plain, readable, in the game's colours. No external fonts. */
:root {
  --sky: #0b1418;
  --paper: #f6f1e4;
  --ink: #22292e;
  --accent: #b5452d;
  --line: #5d6a70;
}

body {
  margin: 0;
  color-scheme: light;
  padding: 24px 16px;
  background: var(--sky);
  color: var(--ink);
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  line-height: 1.6;
}

.legal {
  max-width: 760px;
  margin: 0 auto;
}

.box {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.5rem 2rem;
  margin-bottom: 1.5rem;
}

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

h1 {
  font-size: 2rem;
  border-bottom: 3px solid var(--accent);
  padding-bottom: 0.4rem;
}

h2 {
  font-size: 1.35rem;
  margin-top: 1.8rem;
}

h3 {
  font-size: 1.1rem;
}

a {
  color: var(--ink);
  text-decoration-color: var(--accent);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

a:hover,
a:focus-visible {
  color: #8a2f1c;
}

.back {
  display: inline-block;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.save {
  border: 2px dashed var(--line);
  border-radius: 12px;
  padding: 0.6rem 1rem 1rem;
  margin: 1rem 0;
}

.save[hidden],
.save [hidden] {
  display: none;
}

.save button {
  font: inherit;
  padding: 0.55rem 0.9rem;
  margin: 0.2rem 0.4rem 0.2rem 0;
  border-radius: 10px;
  border: 2px solid var(--ink);
  background: #fff;
  color: var(--ink);
  cursor: pointer;
}

.save button.danger {
  border-color: #c0392b;
  background: #c0392b;
  color: #fff;
}

.save button:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

@media (max-width: 520px) {
  .box { padding: 1rem 1.1rem; }
  h1 { font-size: 1.6rem; }
}

.back { color: #f6f1e4; }
.box .back { color: var(--ink); }
table { border-collapse: collapse; width: 100%; font-size: 0.95rem; }
td, th { border-top: 1px solid #d6cfbf; padding: 0.4rem 0.3rem; vertical-align: top; text-align: left; }
.small { font-size: 0.9rem; }
