/* SpeedJumpT static pages (style from RR: Remember Road). Plain CSS only: no web fonts, no external resources. */

:root {
  color-scheme: light dark;
  --text: #1d2433;
  --muted: #5a6478;
  --background: #fdfbf6;
  --surface: #ffffff;
  --accent: #1f6feb;
  --draft-text: #6b4a00;
  --draft-background: #fff3cd;
  --border: #e3dfd3;
  --later-background: #eef3fb;
  --later-border: #9db8e6;
}

@media (prefers-color-scheme: dark) {
  :root {
    --text: #e8ebf2;
    --muted: #a5adbd;
    --background: #14171f;
    --surface: #1c2029;
    --accent: #79b0ff;
    --draft-text: #ffd977;
    --draft-background: #3a2f12;
    --border: #2c3240;
    --later-background: #1b2536;
    --later-border: #3d5a8a;
  }
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  overflow-wrap: break-word;
}

main {
  max-width: 40rem;
  margin: 0 auto;
  padding: 2rem 1.25rem 3rem;
}

header {
  border-bottom: 1px solid var(--border);
  margin-bottom: 1.5rem;
}

header p {
  margin: 0 0 0.75rem;
  color: var(--muted);
}

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

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

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

.draft-notice {
  margin: 0 0 1.5rem;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  background: var(--draft-background);
  color: var(--draft-text);
  font-weight: 600;
}

h3 {
  font-size: 1.0625rem;
  margin: 1.5rem 0 0.25rem;
}

.effective {
  color: var(--muted);
}

/* A notice that is true text, not a draft: for example "the test has not opened yet". */
.notice {
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  background: var(--surface);
}

/* Text about a feature the game does not have yet. Its words start with "From a later update". */
.later {
  background: var(--later-background);
}

p.later,
li.later,
div.later,
section.later {
  border-left: 3px solid var(--later-border);
  padding: 0.25rem 0.75rem;
}

section.later {
  margin: 1.5rem 0;
  padding-bottom: 0.5rem;
}

section.later h3 {
  margin-top: 0.75rem;
}

li {
  margin: 0 0 0.5rem;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 0.5rem 0 1rem;
  font-size: 0.9375rem;
}

th,
td {
  text-align: left;
  vertical-align: top;
  padding: 0.5rem 0.5rem 0.5rem 0;
  border-bottom: 1px solid var(--border);
}

td.later,
tr.later td {
  padding-left: 0.5rem;
}

nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

nav li {
  margin: 0 0 0.5rem;
}

footer {
  margin-top: 3rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.9375rem;
}

footer a {
  margin-right: 1rem;
}
