/* Shared skin for the static pages around the game (about, contact, topic guides).
   The game itself never loads this — src/style.css owns everything inside SIXTH. */
:root{
  --ink:#241d3d; --soft:#7d739a; --violet:#7b5cff; --pink:#e83e73;
  --card:#fffdfe; --line:#efe6f4;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0; padding:0 20px 70px;
  background:linear-gradient(160deg,#ffe4f0 0%,#e7edff 42%,#dff9ee 100%);
  background-attachment:fixed;
  color:var(--ink);
  font:500 16px/1.7 system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;
}
main{max-width:720px;margin:0 auto}
a{color:var(--violet)}

/* The same 3D fluent emoji the game uses (public/emoji), baked straight into the markup —
   these pages ship no JS, so there is no src/ui/fluent-emoji.js observer to swap them in.
   Adding an emoji to a page? Write the <img> the same way and run `npm run assets`. */
.fe{width:1em;height:1em;vertical-align:-.14em;object-fit:contain}
h1 .fe,h2 .fe,h3 .fe{width:1.1em;height:1.1em;vertical-align:-.19em}
.chips i .fe,.tile b .fe{width:1.15em;height:1.15em;vertical-align:-.22em}

/* ---- top bar: always a way back into the game ---- */
.topbar{max-width:720px;margin:0 auto;display:flex;align-items:center;gap:10px;
  padding:18px 0 6px;font-size:14px;font-weight:700}
.topbar .home{text-decoration:none;background:var(--card);border:1px solid var(--line);
  border-radius:999px;padding:8px 16px;box-shadow:0 3px 10px rgba(120,90,180,.10)}
.topbar .crumb{color:var(--soft)}

.hero{text-align:center;padding:22px 0 4px}
.hero .em{font-size:46px;line-height:1}
h1{font-size:30px;margin:8px 0 6px;letter-spacing:-.01em}
.lede{color:var(--soft);margin:0 auto;max-width:52ch}
h2{font-size:20px;margin:34px 0 8px}
h3{font-size:16px;margin:20px 0 4px}
p{margin:10px 0}
ul,ol{padding-left:22px} li{margin:6px 0}

.card{background:var(--card);border:1px solid var(--line);border-radius:22px;
  padding:18px 22px;margin:18px 0;box-shadow:0 6px 22px rgba(120,90,180,.09)}
.card h2:first-child,.card h3:first-child{margin-top:0}

/* ---- topic grid on the about page ---- */
.grid{display:grid;gap:12px;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));margin:16px 0}
.tile{display:block;text-decoration:none;color:inherit;background:var(--card);
  border:1px solid var(--line);border-radius:20px;padding:16px 18px;
  box-shadow:0 6px 18px rgba(120,90,180,.09);transition:transform .15s ease,box-shadow .15s ease}
.tile:hover{transform:translateY(-3px);box-shadow:0 12px 26px rgba(120,90,180,.16)}
.tile .em{font-size:28px}
.tile b{display:block;font-size:17px;margin:6px 0 2px}
.tile span{color:var(--soft);font-size:14px;font-weight:500}

.chips{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}
.chips i{font-style:normal;background:#fff;border:1px solid var(--line);border-radius:999px;
  padding:6px 13px;font-size:14px;font-weight:700;box-shadow:0 2px 8px rgba(120,90,180,.07)}

.play{display:inline-block;text-decoration:none;background:var(--violet);color:#fff;
  font-size:18px;font-weight:800;border-radius:20px;padding:14px 30px;margin:8px 0;
  box-shadow:0 8px 20px rgba(123,92,255,.35)}
.playwrap{text-align:center;margin:30px 0 10px}

.sitefoot{max-width:720px;margin:34px auto 0;padding-top:16px;border-top:1px solid var(--line);
  text-align:center;color:var(--soft);font-size:13px}
.sitefoot a{margin:0 7px;white-space:nowrap}
