/* The text pages: the game's palette, in plain readable type. */
:root {
  color-scheme: dark;
  --bg: #0b0d1a;
  --panel: #232a60;
  --text: #f4f1e8;
  --yellow: #ffd95c;
  --cyan: #6fd6ff;
  --green: #62e39a;
  --red: #ff6f66;
  --magenta: #f07ad8;
}
* { box-sizing: border-box; }
html { background: var(--bg); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}
main, .top { max-width: 44rem; margin: 0 auto; padding: 0 16px; }
.top { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 20px; padding-bottom: 8px; }
.brand { color: var(--yellow); font-weight: 700; text-decoration: none; letter-spacing: 0.04em; }
.brand span { color: var(--text); }
.play {
  display: inline-block;
  background: var(--yellow);
  color: var(--bg);
  font-weight: 700;
  text-decoration: none;
  padding: 10px 18px;
  border-radius: 4px;
}
.play:focus-visible, a:focus-visible { outline: 3px solid var(--text); outline-offset: 2px; }
h1 { color: var(--yellow); font-size: 1.9rem; line-height: 1.2; margin: 24px 0 8px; }
h2 { color: var(--cyan); font-size: 1.15rem; margin: 36px 0 8px; text-transform: uppercase; letter-spacing: 0.04em; }
p, li { max-width: 40rem; }
a { color: var(--cyan); }
.lede { font-size: 1.05rem; }
.bubble { background: var(--panel); border-radius: 6px; padding: 12px 16px; margin: 16px 0; }
.ask { background: var(--cyan); color: var(--bg); border-radius: 6px; padding: 8px 14px; margin: 16px 0 0 auto; width: fit-content; }
.green { color: var(--green); }
.yellow { color: var(--yellow); }
.red { color: var(--red); }
.magenta { color: var(--magenta); }
table { border-collapse: collapse; width: 100%; max-width: 40rem; margin: 12px 0; }
th, td { text-align: left; padding: 6px 10px; border-bottom: 1px solid var(--panel); }
th { color: var(--cyan); font-weight: 400; }
td:last-child, th:last-child { text-align: right; white-space: nowrap; }
dt { color: var(--yellow); margin-top: 18px; font-weight: 700; }
dd { margin: 4px 0 0; }
kbd { background: var(--panel); border-radius: 3px; padding: 1px 6px; }
.cta { margin: 40px 0; }
footer { max-width: 44rem; margin: 48px auto 0; padding: 20px 16px 40px; border-top: 1px solid var(--panel); font-size: 0.9rem; }
footer a { margin-right: 16px; }
@media (max-width: 480px) {
  body { font-size: 16px; }
  h1 { font-size: 1.5rem; }
}
