/* Wulf Quest for MSX2: the project's page (site/, deployed by
   .github/workflows/pages.yml with the ROM built beside it). */
:root {
  --ground: #0f1a10;
  --panel: #172617;
  --text: #e8ecd9;
  --dim: #a7b59b;
  --leaf: #7ccf5a;
  --gold: #e8c547;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--text);
  font: 17px/1.55 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
header, main, footer { max-width: 46rem; margin: 0 auto; padding: 0 1.25rem; }
header { padding-top: 3rem; padding-bottom: 1rem; }
h1 { font-size: 2.6rem; margin: 0 0 .5rem; color: var(--gold); letter-spacing: .02em; }
h1 span { color: var(--leaf); font-weight: 400; font-size: .6em; }
h2 { color: var(--leaf); margin: 0 0 .6rem; font-size: 1.4rem; }
h3 { margin: 1.2rem 0 .3rem; font-size: 1.05rem; }
.lead { font-size: 1.15rem; }
.note { color: var(--dim); border-left: 3px solid var(--gold); padding-left: .8rem; }
section { background: var(--panel); border-radius: 10px; padding: 1.2rem 1.4rem; margin: 1.2rem 0; }
a { color: var(--gold); }
.buttons { display: flex; flex-wrap: wrap; gap: .7rem; }
.button {
  display: inline-block;
  background: var(--leaf);
  color: #0b140b;
  font-weight: 600;
  text-decoration: none;
  padding: .6rem 1.1rem;
  border-radius: 8px;
}
.button:hover, .button:focus { background: var(--gold); }
.small { color: var(--dim); font-size: .92rem; }
pre { background: #0b140b; padding: .8rem 1rem; border-radius: 8px; overflow-x: auto; }
code { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: .92em; }
table { border-collapse: collapse; width: 100%; }
th { text-align: left; padding: .35rem 1rem .35rem 0; white-space: nowrap; color: var(--dim); font-weight: 500; }
td { padding: .35rem 0; }
kbd {
  background: #0b140b;
  border: 1px solid #3a4d36;
  border-radius: 4px;
  padding: 0 .35em;
  font-family: ui-monospace, Menlo, Consolas, monospace;
  font-size: .88em;
}
.shots { display: grid; grid-template-columns: repeat(auto-fill, minmax(13rem, 1fr)); gap: .9rem; }
.shots figure { margin: 0; }
.shots img { display: block; width: 100%; height: auto; image-rendering: pixelated; border-radius: 6px; background: #000; }
.shots figcaption { color: var(--dim); font-size: .9rem; margin-top: .3rem; }
footer { color: var(--dim); padding-bottom: 3rem; text-align: center; }
