/* A game's page (games/<name>/) and its privacy policy (#2067). Builds on sticker-base.css. */
.gp-hero { display: grid; grid-template-columns: 1.2fr 1fr; gap: var(--s5); align-items: center; min-height: calc(100svh - 160px); padding: var(--s5) 0; }
.gp-icon { width: 96px; height: 96px; border-radius: 22px; border: 2px solid var(--line); box-shadow: var(--shadow); display: block; }
.gp-hero h1 { font-weight: 800; font-size: clamp(40px, 7vw, 76px); line-height: .95; letter-spacing: -.035em; margin: var(--s3) 0; }
.gp-hero p { color: var(--muted); font-size: 18px; max-width: 40ch; }
.gp-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: var(--s3); }
.gp-chips span { font-family: var(--mono); font-size: 13px; background: var(--card); border: 2px solid var(--line); border-radius: 99px; padding: 3px 12px; box-shadow: 2px 2px 0 var(--line); }
.gp-links { display: flex; flex-wrap: wrap; gap: var(--s2); margin-top: var(--s4); }
.gp-links > * { font-weight: 700; border: 2px solid var(--line); border-radius: 99px; padding: 8px 16px; background: var(--card); box-shadow: 3px 3px 0 var(--line); }
.gp-links .soon { background: var(--pop); color: var(--on-pop); }
.gp-links a:hover { transform: translate(-2px, -2px); box-shadow: 5px 5px 0 var(--line); }
.gp-phones { position: relative; height: 460px; }
.gp-phones img { position: absolute; width: 200px; height: auto; border: 2px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); background: var(--card); }
.gp-phones img:nth-child(1) { left: 0; top: 30px; transform: rotate(-6deg); }
.gp-phones img:nth-child(2) { right: 0; top: 0; transform: rotate(5deg); }
footer a { text-decoration: underline; }

/* The whole game below the hero (#2087): a 4-step day strip, a 7-home ladder, then tiles */
.gp-sec { padding: var(--s6) 0 var(--s3); }
.gp-sec h2 { font-size: clamp(32px, 5vw, 52px); }
.gp-sec > p, .gp-intro p { color: var(--muted); font-size: 18px; max-width: 52ch; margin: var(--s2) 0 var(--s4); }
/* #2090: a small typing clip beside the day loop's intro, a minor touch */
.gp-intro { display: flex; justify-content: space-between; align-items: flex-end; gap: var(--s3); }
.gp-type { width: 200px; height: auto; aspect-ratio: 390 / 310; flex: none; margin-bottom: var(--s4); border: 2px solid var(--line); border-radius: 14px; box-shadow: 3px 3px 0 var(--line); background: var(--card); }
.gp-sec figure { margin: 0; }
.gp-ph { display: block; width: 100%; height: auto; aspect-ratio: 390 / 844; object-fit: cover; border: 2px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); background: var(--card); }
.gp-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s3); }
.gp-sec figcaption { font-weight: 700; margin-top: var(--s2); }
.gp-sec figcaption small { display: block; font-weight: 400; color: var(--muted); font-size: 14px; }
.gp-step { font-family: var(--mono); font-size: 12px; background: var(--pop); color: var(--on-pop); border: 2px solid var(--line); border-radius: 99px; padding: 0 8px; }
.gp-ladder { display: grid; grid-template-columns: repeat(7, 1fr); gap: var(--s2); }
.gp-ladder .gp-ph { border-radius: 12px; box-shadow: 3px 3px 0 var(--line); }
.gp-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s3); }
.gp-tile { background: var(--card); border: 2px solid var(--line); border-radius: var(--r-card); box-shadow: var(--shadow); padding: var(--s3); display: flex; flex-direction: column; gap: var(--s2); }
.gp-tile h3 { font-weight: 800; font-size: 22px; }
.gp-tile p { color: var(--muted); }
.gp-pair { margin-top: auto; }
.gp-tile .gp-ph { box-shadow: none; }
.gp-pair { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s3); }

@media (max-width: 760px) {
  .gp-hero { grid-template-columns: 1fr; gap: var(--s3); min-height: 0; }
  .gp-phones { height: 370px; } .gp-phones img { width: 150px; }
  /* The strip and the ladder swipe sideways on a phone */
  .gp-strip, .gp-ladder { overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 4px var(--s2) 0; }
  .gp-strip { grid-template-columns: repeat(4, 70%); } .gp-ladder { grid-template-columns: repeat(7, 42%); }
  .gp-strip figure, .gp-ladder figure { scroll-snap-align: start; }
  .gp-tiles { grid-template-columns: 1fr; }
  .gp-intro { flex-direction: column; align-items: flex-start; gap: 0; }
  .gp-type { width: 160px; }
  .gp-pair { gap: var(--s2); }
}

/* The policy: plain reading text in one card */
.gp-back { display: inline-block; margin-top: var(--s4); font-family: var(--mono); font-size: 13px; text-decoration: underline; }
.gp-doc { background: var(--card); border: 2px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); padding: var(--s4); margin-top: var(--s3); max-width: 760px; }
.gp-doc h1 { font-weight: 800; font-size: clamp(34px, 6vw, 56px); line-height: 1; letter-spacing: -.03em; }
.gp-doc .upd { font-family: var(--mono); font-size: 13px; color: var(--muted); margin-top: var(--s2); }
.gp-doc h2 { font-weight: 800; font-size: 24px; margin: var(--s4) 0 var(--s2); }
.gp-doc h3 { font-weight: 700; font-size: 18px; margin: var(--s3) 0 var(--s1); }
.gp-doc p, .gp-doc li { max-width: 68ch; color: var(--text); font-size: 16px; }
.gp-doc p.upd { color: var(--muted); font-size: 13px; }
.gp-doc p + p { margin-top: var(--s2); }
.gp-doc ul { padding-left: 1.2em; margin-top: var(--s1); } .gp-doc li { margin: 4px 0; }
.gp-doc a { text-decoration: underline; overflow-wrap: anywhere; }
@media (max-width: 760px) { .gp-doc { padding: var(--s3); } }
