/* Shared look for the privacy policy and terms: the game's colours, readable on a phone. */
:root {
  --ink: #0a1c26;
  --abyss: #0d2f40;
  --deep: #124359;
  --foam: #e6f3ee;
  --mist: #8fb5c4;
  --brass: #f0b443;
  --brass-dark: #b9822a;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: radial-gradient(ellipse at top, #15485c, var(--abyss) 60%, var(--ink)) fixed;
  color: var(--foam);
  font:
    17px/1.6 system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    sans-serif;
}

main {
  max-width: 680px;
  margin: 0 auto;
  padding: 24px 16px 64px;
}

header {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 16px;
  margin-bottom: 24px;
}

.brand {
  font:
    800 30px/1 ui-rounded,
    "SF Pro Rounded",
    system-ui,
    sans-serif;
  color: var(--brass);
  text-decoration: none;
  text-shadow: 0 3px 0 var(--brass-dark);
}

nav a {
  color: var(--mist);
  margin-left: 14px;
}

nav a[aria-current] {
  color: var(--foam);
  font-weight: 600;
  text-decoration: none;
}

h1,
h2 {
  font-family: ui-rounded, "SF Pro Rounded", system-ui, sans-serif;
  line-height: 1.2;
}

h1 {
  font-size: 34px;
  margin: 0 0 4px;
}

h2 {
  font-size: 22px;
  margin: 36px 0 8px;
  color: var(--brass);
}

.updated {
  color: var(--mist);
  margin: 0 0 24px;
}

.short {
  background: rgb(18 67 89 / 0.7);
  border: 2px solid rgb(143 181 196 / 0.25);
  border-radius: 14px;
  padding: 4px 20px 8px;
}

.short h2 {
  margin-top: 16px;
}

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

li {
  margin: 6px 0;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
}

th,
td {
  text-align: left;
  vertical-align: top;
  padding: 10px 8px;
  border-bottom: 1px solid rgb(143 181 196 / 0.25);
}

th {
  color: var(--mist);
  font-weight: 600;
}

@media (max-width: 520px) {
  table,
  tbody,
  tr,
  td {
    display: block;
  }
  thead {
    display: none;
  }
  td {
    border: 0;
    padding: 2px 0;
  }
  td:first-child {
    font-weight: 600;
    padding-top: 12px;
  }
  tr {
    border-bottom: 1px solid rgb(143 181 196 / 0.25);
    padding-bottom: 10px;
  }
}
