/* Text pages for grown-ups (game pages: server/game-pages.js; hubs, /games, guides, About, Contact, Terms, Privacy:
   server/site-pages.js). The app itself uses style.css. */
body { margin: 0; background: #1b2545; font-family: Verdana, sans-serif; color: #333; line-height: 1.6; font-size: 17px; }
main { background: #fff8ec; max-width: 820px; margin: 24px auto; padding: 24px clamp(18px, 5vw, 44px) 32px; border-radius: 28px; }
h1, h2, h3 { font-family: "Arial Rounded MT Bold", Nunito, Verdana, sans-serif; }
h1 { color: #e0474a; margin: 6px 0 4px; font-size: clamp(30px, 6vw, 42px); line-height: 1.15; }
h2 { color: #1b2545; margin: 32px 0 8px; font-size: 24px; }
h3 { color: #1b2545; margin: 20px 0 4px; font-size: 19px; line-height: 1.35; }
.faq p { margin: 0 0 8px; }
a { color: #0b6e99; }
.crumb { margin: 0; font-size: 15px; color: #666; }
.lead { font-size: 19px; margin: 0 0 16px; color: #444; }
picture { display: block; }
.shot { display: block; width: 100%; height: auto; border-radius: 18px; background: #1b2545; }
.buttons { display: flex; flex-wrap: wrap; gap: 12px; margin: 18px 0 6px; }
.btn { display: inline-flex; align-items: center; min-height: 56px; padding: 10px 26px; border-radius: 18px; font: bold 20px "Arial Rounded MT Bold", Nunito, Verdana, sans-serif;
  text-decoration: none; background: #ffe8a3; color: #333; box-shadow: 0 5px 0 #e0c46c; }
.btn.go { background: #0e7f74; color: #fff; box-shadow: 0 5px 0 #095a52; }
.btn:active { transform: translateY(3px); box-shadow: 0 2px 0 #0003; }
.note { font-size: 15px; color: #666; margin: 8px 0 0; }
.levels li, .facts li { margin-bottom: 4px; }
.keys { border-collapse: collapse; width: 100%; font-size: 16px; }
.keys th, .keys td { text-align: left; padding: 7px 10px; border-bottom: 1px solid #eadfcb; }
.keys th { color: #666; font-size: 14px; }
kbd { background: #fff; border: 1px solid #cdbfa6; border-bottom-width: 3px; border-radius: 7px; padding: 1px 8px; font: inherit; white-space: nowrap; }
.more { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 8px; }
.more a { display: block; background: #fff; border-radius: 14px; padding: 8px 12px; text-decoration: none; color: #1b2545; font-weight: bold; }
.more a:hover, .more a:focus-visible { outline: 3px solid #ff9f1c; }
.more span { font-size: 22px; }
.foot { display: block; margin: 36px 0 0; padding-top: 14px; border-top: 1px solid #eadfcb; font-size: 15px; color: #666; }
.foot a { display: inline-block; padding: 4px 2px; }
.date { color: #666; font-size: 15px; margin: 0 0 18px; }
li { margin-bottom: 6px; }
/* game cards on the hub pages and /games: screenshot, title, what it teaches */
.cards { list-style: none; padding: 0; margin: 16px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(190px, 100%), 1fr)); gap: 14px; }
.cards li { display: flex; margin: 0; }
.cards a { flex: 1; display: flex; flex-direction: column; background: #fff; border-radius: 18px; overflow: hidden; text-decoration: none; color: #1b2545;
  border: 3px solid transparent; transition: transform .1s, border-color .1s; }
.cards a:hover, .cards a:focus-visible { border-color: #ff9f1c; transform: translateY(-2px); outline: none; }
.cards img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; background: #1b2545; }
.cards b { display: block; padding: 8px 12px 0; font: bold 19px "Arial Rounded MT Bold", Nunito, Verdana, sans-serif; }
.cards b span { font-size: 22px; }
.cards em { display: block; padding: 2px 12px 12px; font-style: normal; font-size: 14px; line-height: 1.4; color: #a05a00; }
.hublink { margin: 10px 0 0; font-size: 16px; }
/* /guides: one box per guide (title link + summary) */
.guides { list-style: none; padding: 0; margin: 18px 0; display: grid; gap: 12px; }
.guides li { margin: 0; background: #fff; border-radius: 18px; padding: 14px 18px; }
.guides a { font: bold 21px/1.3 "Arial Rounded MT Bold", Nunito, Verdana, sans-serif; color: #1b2545; text-decoration: none; }
.guides a:hover, .guides a:focus-visible { color: #0b6e99; text-decoration: underline; }
.guides p { margin: 4px 0 0; font-size: 16px; color: #555; }
@media (max-width: 860px) { main { margin: 0; border-radius: 0; } }
