/* Palette lifted from the app's Theme so the page and the game look related. */
:root {
  --bg: #12101C;
  --bg-top: #1B1430;
  --surface: #1E1B2E;
  --outline: #3A3358;
  --primary: #7C5CFF;
  --text: #F6F4FF;
  --text-secondary: #B4AED2;
  --text-muted: #7E7799;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  padding: 0 16px 64px;
  background: linear-gradient(180deg, var(--bg-top) 0%, var(--bg) 60%) no-repeat;
  background-color: var(--bg);
  color: var(--text);
  font: 17px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-text-size-adjust: 100%;
}

main { max-width: 720px; margin: 0 auto; }

header { padding: 48px 0 8px; }

h1 { font-size: 1.9rem; line-height: 1.2; margin: 0 0 8px; }
h2 { font-size: 1.25rem; margin: 40px 0 12px; }
h3 { font-size: 1.05rem; margin: 28px 0 8px; color: var(--text-secondary); }

.updated { color: var(--text-muted); font-size: 0.95rem; margin: 0 0 8px; }

p, li { color: var(--text-secondary); }
strong { color: var(--text); }

a { color: var(--primary); }
a:hover { color: var(--text); }

.lede {
  background: var(--surface);
  border: 1px solid var(--outline);
  border-radius: 14px;
  padding: 20px 22px;
  margin: 24px 0 8px;
}
.lede p { margin: 0; color: var(--text); font-size: 1.05rem; }

table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  font-size: 0.95rem;
}
th, td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid var(--outline);
  vertical-align: top;
  color: var(--text-secondary);
}
th { color: var(--text); font-weight: 600; }

ul { padding-left: 22px; }
li { margin: 6px 0; }

footer {
  margin-top: 56px;
  padding-top: 20px;
  border-top: 1px solid var(--outline);
  color: var(--text-muted);
  font-size: 0.9rem;
}
footer a { color: var(--text-muted); text-decoration: underline; }

@media (max-width: 520px) {
  body { font-size: 16px; }
  header { padding-top: 32px; }
  h1 { font-size: 1.6rem; }
  table { font-size: 0.9rem; }
  th, td { padding: 8px; }
}
