/* The reading pages: game guides, About, Contact, Terms (written by scripts/guides_web3d.mjs). Static, no JavaScript. */
@font-face { font-family: 'Sora'; src: url('fonts/Sora-Bold.ttf') format('truetype'); font-weight: 600 800; font-display: swap; }
@font-face { font-family: 'Manrope'; src: url('fonts/Manrope-Medium.ttf') format('truetype'); font-weight: 400 600; font-display: swap; }
* { box-sizing: border-box; }
html { background: var(--c-ground); color-scheme: dark; }
body.guide { margin: 0; color: var(--c-ink); font: 500 17px/1.6 'Manrope', system-ui, sans-serif;
  background: linear-gradient(180deg, var(--c-skyTop), var(--c-skyMid) 30%, var(--c-ground)); min-height: 100vh; }
.guide h1, .guide h2, .g-brand, .g-go { font-family: 'Sora', system-ui, sans-serif; }
.guide a { color: var(--c-gold); }
.g-top { max-width: 1080px; margin: 0 auto; padding: 14px 18px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.g-brand { display: inline-flex; align-items: center; gap: 10px; color: var(--c-ink) !important; text-decoration: none; font-weight: 700; font-size: 20px; }
.g-brand img { border-radius: 9px; }
.g-top nav { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.g-top nav a { color: var(--c-soft); text-decoration: none; font-weight: 600; }
.g-top nav a:hover { color: var(--c-ink); }
.g-main { max-width: 1080px; margin: 0 auto; padding: 0 18px 40px; }
.g-article { max-width: 760px; margin: 0 auto; }
.g-article.g-wide { max-width: none; }
.g-article h1 { font-size: clamp(30px, 5vw, 44px); line-height: 1.15; margin: 8px 0 6px; }
.g-article h2 { font-size: 24px; margin: 32px 0 8px; }
.g-article p, .g-article li { color: var(--c-soft); }
.g-article li { margin: 6px 0; }
.g-article strong { color: var(--c-ink); }
.g-crumbs { font-size: 14px; color: var(--c-faint) !important; margin: 0; }
.g-pitch { font-size: 20px; color: var(--c-ink) !important; margin: 0 0 18px; }
.g-small { font-size: 14px; color: var(--c-faint) !important; }
.g-pic { margin: 0; }
.g-pic img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--r-hero); background: var(--c-card); }
.g-play { margin: 18px 0; }
.g-go { display: inline-block; padding: 13px 28px; border-radius: var(--r-button); font-size: 19px; font-weight: 700; text-decoration: none;
  color: var(--c-goText) !important; background: linear-gradient(180deg, var(--c-goTop), var(--c-goBottom)); box-shadow: 0 4px 0 var(--c-goShadow); }
.g-go:focus-visible, .guide a:focus-visible { outline: 3px solid var(--c-accent); outline-offset: 3px; }
.g-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin: 0; }
.g-facts div { background: var(--c-card); border: 1px solid var(--c-line); border-radius: var(--r-control); padding: 10px 14px; }
.g-facts dt { font-size: 13px; color: var(--c-faint); }
.g-facts dd { margin: 0; font-weight: 600; }
.g-cards { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 16px; }
.g-cards li { margin: 0; display: flex; flex-direction: column; gap: 4px; font-size: 14px; line-height: 1.4; }
.g-cards a { display: flex; flex-direction: column; gap: 6px; color: var(--c-ink) !important; text-decoration: none; font-size: 16px; }
.g-cards img { width: 100%; height: auto; aspect-ratio: 2 / 3; object-fit: cover; border-radius: var(--r-gameCard); background: var(--c-card); }
.g-cards span { color: var(--c-faint); }
.g-foot { border-top: 1px solid var(--c-line); max-width: 1080px; margin: 0 auto; padding: 22px 18px 40px; text-align: center; color: var(--c-faint); font-size: 15px; }
.g-foot p { margin: 6px 0; }
.g-art { display: flex; align-items: center; justify-content: center; font-size: 72px; background: linear-gradient(135deg, var(--a), var(--b)); }
div.g-pic.g-art { aspect-ratio: 16 / 9; border-radius: var(--r-hero); font-size: 110px; }
.g-cards .g-art { aspect-ratio: 2 / 3; border-radius: var(--r-gameCard); }
