/* The game pages Google reads (games/*.html, built by scripts/gamepages.mjs). Plain HTML, no scripts:
   the same sky look as the front page, gold-framed cards, glossy buttons. */
:root { --ink: #10357E; --muted: #4A5A85; --gold: #F2B53A; --gold-dk: #B87A10; --sky: #3D8FE0; --sky-dk: #1F5FB0; --mint: #14B88A; --mint-dk: #0A7A5B; }
* { box-sizing: border-box; }
html { background: #CFE8FF; }
body { margin: 0; min-height: 100vh; font: 600 17px/1.55 "Quicksand", system-ui, sans-serif; color: var(--ink);
  background: repeating-conic-gradient(from 0deg at 50% 0%, #D9EEFF 0 9deg, #C4E2FF 9deg 18deg) fixed; }
a { color: var(--sky-dk); }
h1, h2 { font-family: "Lilita One", "Fredoka", sans-serif; font-weight: 400; letter-spacing: 0.01em; line-height: 1.1; margin: 0 0 0.4em; }
h1 { font-size: clamp(34px, 7vw, 56px); color: #fff; text-shadow: 0 3px 0 rgba(16, 53, 126, 0.55); }
h2 { font-size: clamp(22px, 4.4vw, 30px); }
.gp-top { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px;
  background: rgba(255, 255, 255, 0.92); box-shadow: 0 3px 12px rgba(16, 53, 126, 0.15); }
.gp-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font: 400 24px/1 "Lilita One", sans-serif; }
.gp-brand img { border-radius: 10px; }
.gp-top nav { display: flex; align-items: center; gap: 14px; font: 700 15px/1 "Fredoka", sans-serif; }
.gp-top nav a { text-decoration: none; }
.gp-top .gp-cta { padding: 9px 16px; border-radius: 999px; color: #fff; background: linear-gradient(#45C29A, var(--mint)); box-shadow: 0 3px 0 var(--mint-dk); }
.gp-main { max-width: 900px; margin: 0 auto; padding: 14px 16px 30px; display: flex; flex-direction: column; gap: 18px; }
.gp-crumbs { font: 600 14px/1.2 "Fredoka", sans-serif; color: var(--muted); }
.gp-hero { display: flex; gap: 22px; align-items: center; padding: 24px; border-radius: 26px; color: #fff;
  background: linear-gradient(160deg, var(--c1), var(--c2)); box-shadow: 0 0 0 4px #fff, 0 0 0 8px var(--gold), 0 12px 0 4px var(--gold-dk), 0 18px 30px rgba(0, 0, 0, 0.2); margin: 6px 6px 14px; }
.gp-hero .gp-blurb { margin: 0 0 12px; font-size: 1.12rem; font-weight: 700; }
.gp-icon { flex: none; width: 128px; height: 128px; padding: 14px; border-radius: 28px; background: rgba(255, 255, 255, 0.92); box-shadow: 0 6px 0 rgba(0, 0, 0, 0.18); }
.gp-icon svg, .gp-ticon svg { display: block; width: 100%; height: 100%; }
.gp-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; }
.gp-chips span { padding: 5px 12px; border-radius: 999px; font: 700 14px/1.2 "Fredoka", sans-serif; background: rgba(255, 255, 255, 0.25); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.6); }
.gp-play { display: flex; flex-wrap: wrap; gap: 12px; }
.gp-play.center { justify-content: center; }
.gp-btn { display: inline-block; padding: 14px 24px; border-radius: 999px; text-decoration: none; font: 700 18px/1 "Fredoka", sans-serif; color: #fff;
  background: linear-gradient(#45C29A, var(--mint)); box-shadow: 0 5px 0 var(--mint-dk), 0 8px 14px rgba(0, 0, 0, 0.18); }
.gp-btn.big { font-size: 21px; padding: 16px 30px; }
.gp-btn.alt { color: #5A3300; background: linear-gradient(#FFE27A, var(--gold)); box-shadow: 0 5px 0 var(--gold-dk), 0 8px 14px rgba(0, 0, 0, 0.18); }
.gp-btn:active { transform: translateY(3px); }
.gp-card { padding: 22px; border-radius: 22px; background: #FFFDF6; box-shadow: 0 0 0 3px var(--gold), 0 7px 0 3px var(--gold-dk), 0 12px 22px rgba(0, 0, 0, 0.12); }
.gp-card p { margin: 0 0 0.6em; }
.gp-how, .gp-steps ol { margin: 0; padding-left: 1.3em; }
.gp-how li, .gp-steps li { margin: 0.35em 0; }
details { border-top: 2px dashed rgba(16, 53, 126, 0.15); padding: 10px 0; }
details:first-of-type { border-top: 0; }
summary { cursor: pointer; font: 700 17px/1.3 "Fredoka", sans-serif; }
details p { margin: 8px 0 0; color: var(--muted); }
.gp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; }
.gp-tile { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 14px; border-radius: 18px; text-decoration: none; color: #fff;
  background: linear-gradient(160deg, var(--c1), var(--c2)); box-shadow: 0 5px 0 rgba(0, 0, 0, 0.2); }
.gp-tile b { font: 400 20px/1.1 "Lilita One", sans-serif; }
.gp-tile small { font-weight: 700; font-size: 13.5px; line-height: 1.3; opacity: 0.95; }
.gp-ticon { width: 52px; height: 52px; padding: 6px; border-radius: 14px; background: rgba(255, 255, 255, 0.92); }
.gp-vip { position: absolute; top: 10px; right: 10px; padding: 3px 8px; border-radius: 999px; font: 700 11px/1 "Fredoka", sans-serif; font-style: normal; color: #5A3300; background: #FFE27A; }
.c-gold { --c1: #F6C343; --c2: #E08A12; } .c-purple { --c1: #A77BF3; --c2: #6B3FD0; } .c-blue { --c1: #58A8F5; --c2: #2563C9; }
.c-mint { --c1: #3CCB9C; --c2: #12896A; } .c-pink { --c1: #FF7DB8; --c2: #D13A7E; } .c-orange { --c1: #FF9B57; --c2: #E0592A; }
.gp-foot { padding: 24px 16px 34px; text-align: center; font-size: 15px; color: var(--muted); }
.gp-foot p { margin: 4px 0; }
@media (max-width: 620px) {
  .gp-hero { flex-direction: column; text-align: center; padding: 20px 16px; }
  .gp-icon { width: 104px; height: 104px; }
  .gp-chips, .gp-play { justify-content: center; }
  .gp-top nav a:not(.gp-cta) { display: none; }
}
