:root {
  --ink: #e8dfc8;
  --muted: #a79d88;
  --paper: #27221c;
  --paper-deep: #181512;
  --moss: #71845c;
  --bruise: #73516f;
  --rust: #a0573d;
  --acid: #b7c86c;
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; background: var(--paper-deep); color: var(--ink); }
body {
  font-family: Georgia, 'Times New Roman', serif;
  background-image:
    radial-gradient(circle at 20% 10%, rgba(113,132,92,.12), transparent 28rem),
    radial-gradient(circle at 85% 85%, rgba(115,81,111,.1), transparent 26rem),
    repeating-linear-gradient(2deg, rgba(255,255,255,.015) 0 1px, transparent 1px 5px);
}
#shell { width: min(1180px, 100%); margin: 0 auto; padding: 18px; }
.site-header, footer { display: flex; align-items: end; justify-content: space-between; gap: 18px; }
.site-header { margin-bottom: 12px; }
h1 { margin: 0; font-size: clamp(2rem, 5vw, 4.6rem); line-height: .85; letter-spacing: -.045em; font-weight: 500; }
.eyebrow, .build-mark, footer { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; text-transform: uppercase; letter-spacing: .1em; }
.eyebrow { display: block; color: var(--rust); font-size: .72rem; margin-bottom: 7px; }
.build-mark { color: var(--muted); font-size: .68rem; text-align: right; }
#game-wrap {
  position: relative; overflow: hidden; border: 1px solid #5a5144; border-radius: 5px;
  background: #0c0c0b; box-shadow: 0 24px 80px rgba(0,0,0,.45), inset 0 0 0 1px rgba(255,255,255,.025);
}
#game { width: 100%; aspect-ratio: 16 / 9; }
#game canvas { display: block; width: 100% !important; height: 100% !important; image-rendering: auto; }
footer { padding: 10px 2px 0; color: var(--muted); font-size: .65rem; flex-wrap: wrap; }
@media (max-width: 650px) {
  #shell { padding: 8px; }
  .site-header { align-items: start; }
  .build-mark { max-width: 120px; }
  footer { gap: 8px 14px; }
}
