/*
 * content.css — the reading pages (How to play, Levels, About).
 *
 * Deliberately NOT styles.css. styles.css is 15 KB of game chrome — canvas
 * layout, HUD, paywall sheets — and a person who arrived from a search result
 * to read the rules should not download any of it. This file is a few hundred
 * bytes of text styling, no webfont, no image, no script.
 */
:root {
  --bg: #150a04;
  --bg2: #241207;
  --ink: #fdf0dc;
  --dim: #d3a878;
  --line: rgba(255, 190, 110, .16);
  --accent: #FFB43D;
  --card: rgba(255, 220, 170, .05);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  padding: 0 18px 72px;
  background: linear-gradient(178deg, var(--bg2) 0%, var(--bg) 62%);
  background-attachment: fixed;
  color: var(--ink);
  font: 400 16px/1.66 system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
.page { max-width: 680px; margin: 0 auto; padding-top: 20px; }

.topbar {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 0 22px; border-bottom: 1px solid var(--line); margin-bottom: 26px;
}
.topbar img, .topbar svg { width: 30px; height: 30px; border-radius: 8px; }
.topbar b { font-size: 1.02rem; letter-spacing: -.01em; }
.topbar .spacer { flex: 1; }
.playbtn {
  display: inline-block; padding: 9px 17px; border-radius: 12px;
  background: linear-gradient(180deg, #FFC65B, #F09019);
  color: #2b1405; font-weight: 800; text-decoration: none; font-size: .92rem;
  box-shadow: 0 3px 0 #a85f0c;
}
.playbtn:hover { filter: brightness(1.05); }

h1 { font-size: 2.05rem; line-height: 1.14; font-weight: 900; letter-spacing: -.03em; margin: 0 0 10px; }
h2 { font-size: 1.24rem; font-weight: 800; letter-spacing: -.015em; margin: 34px 0 8px; }
h3 { font-size: 1.02rem; font-weight: 800; margin: 22px 0 4px; }
p, li { color: var(--ink); }
p { margin: 0 0 14px; }
ul, ol { padding-left: 22px; margin: 0 0 16px; }
li { margin-bottom: 7px; }
a { color: var(--accent); }
strong { color: #fff; }
.lede { font-size: 1.1rem; color: var(--dim); margin-bottom: 22px; }
.meta { color: var(--dim); font-size: .86rem; }

.card {
  background: var(--card); border: 1px solid var(--line); border-radius: 16px;
  padding: 16px 18px; margin: 20px 0;
}
.card > :first-child { margin-top: 0; }
.card > :last-child { margin-bottom: 0; }

.tablewrap { overflow-x: auto; margin: 16px 0 22px; -webkit-overflow-scrolling: touch; }
table { border-collapse: collapse; width: 100%; min-width: 460px; font-size: .93rem; }
th, td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); }
th { color: var(--dim); font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; }
tr.wall td { background: rgba(255, 180, 61, .09); }

.cta {
  display: inline-block; margin: 8px 0 4px; padding: 15px 26px; border-radius: 16px;
  background: linear-gradient(180deg, #FFC65B, #F09019); color: #2b1405;
  font-weight: 800; text-decoration: none; box-shadow: 0 4px 0 #a85f0c;
}
.qa { border-top: 1px solid var(--line); padding-top: 16px; margin-top: 16px; }
.qa h3 { margin-top: 0; }

.sibs { display: grid; gap: 12px; margin: 18px 0 8px; }
@media (min-width: 560px) { .sibs { grid-template-columns: 1fr 1fr; } }
.sib {
  display: block; text-decoration: none; color: var(--ink);
  border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px;
  background: var(--card);
}
.sib:hover { border-color: var(--accent); }
.sib b { display: block; font-size: 1.02rem; margin-bottom: 2px; }
.sib span { color: var(--dim); font-size: .89rem; }

footer.foot {
  margin-top: 44px; padding-top: 18px; border-top: 1px solid var(--line);
  font-size: .86rem; color: var(--dim);
}
footer.foot a { margin-right: 14px; display: inline-block; }
