/* Static text pages (a page per game, privacy, 404) and the landing text under the home screen (#about).
   Loaded after base.css. The html is generated: scripts/build-pages.mjs. */

.page, .about { user-select: text; -webkit-user-select: text; line-height: 1.5; }
#app.page { max-width: 680px; }
.page > h2 { margin-top: 10px; }

.page h1 { font-size: 30px; line-height: 1.15; margin-top: 4px; }
.page h1.logo { font-size: 84px; line-height: 1; margin-top: 6vh; text-align: center; }
.page h2, .about h2 { font-size: 20px; line-height: 1.25; }
.page h3, .about h3 { font-size: 18px; line-height: 1.25; margin: 0; }
.page .panel, .about .panel { display: flex; flex-direction: column; gap: 8px; padding: 16px; }
.page ul, .page ol, .about ul, .about ol { margin: 0; padding-left: 22px; }
.page li, .about li { margin: 8px 0; }
.page a:not([class]), .about a:not([class]) { color: var(--yellow); text-underline-offset: 3px; }
.page a:focus-visible, .about a:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 6px; }
.meta { color: var(--muted); font-size: 14px; font-weight: 700; }

.crumbs { font-size: 14px; color: var(--muted); }
.crumbs a:not([class]) { color: var(--muted); }

/* A link that looks like the app's main button */
a.btn { display: block; text-align: center; text-decoration: none; border-radius: 18px; padding: 16px 18px; font-weight: 800; }

.others { list-style: none; padding-left: 0 !important; }
.foot { display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: center; font-size: 14px; padding-top: 8px; }
.foot a:not([class]) { color: var(--muted); }

/* ---------- the landing text under the home screen ---------- */
.about {
  max-width: 520px; margin: 0 auto; padding: 24px 16px calc(32px + env(safe-area-inset-bottom));
  display: flex; flex-direction: column; gap: 28px;
  border-top: 1px solid var(--line);
}
body.in-room .about { display: none; }
.about section { display: flex; flex-direction: column; gap: 12px; }
.about .about-title { font-size: 26px; line-height: 1.2; }
.cards { display: grid; gap: 12px; }
.steps b { color: var(--yellow); }
.shots { display: flex; gap: 12px; overflow-x: auto; padding-bottom: 6px; scroll-snap-type: x proximity; }
.shots img { height: 360px; width: auto; flex: none; border-radius: 18px; border: 1px solid var(--line); scroll-snap-align: start; }
.homelinks { display: flex; justify-content: center; gap: 20px; }

@media (min-width: 800px) {
  .about { max-width: 820px; }
  .about .about-title { font-size: 32px; }
  .cards { grid-template-columns: 1fr 1fr; }
  .faq { display: grid !important; grid-template-columns: 1fr 1fr; }
  .faq h2 { grid-column: 1 / -1; }
}
