/* The extra pages (safety, games, Potato Graphics, Stretched Resolution, 404).
   Written by emtweaks-app/tools/site/build-pages.cjs. Same look as styles.css:
   flat colour, square corners, hairlines where a box is not needed. */
.page-hero { padding: 40px 0 0; }
.page-hero h1 { font-weight: 650; font-size: clamp(31px, 3.8vw, 48px); line-height: 1.07; letter-spacing: -0.032em; max-width: 20ch; }
.page-hero .lede { font-size: 18px; max-width: 64ch; }
.page-hero .cta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 24px; }
.page-hero .fine { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 18px; font-size: 13px; color: var(--faint); }
.page-hero .fine span { display: inline-flex; align-items: center; gap: 7px; }
.page-hero .fine svg { width: 14px; height: 14px; color: var(--green); }
.page-hero.center { text-align: center; padding: 96px 0 110px; }
.page-hero.center h1, .page-hero.center .lede { margin-left: auto; margin-right: auto; }
.page-hero.center .cta { justify-content: center; }
.eyebrow.free { color: var(--green); }
section.block.first { padding-top: 48px; }

.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; color: var(--faint); margin-bottom: 26px; }
.crumbs a:hover { color: var(--text); }
.crumbs i { font-style: normal; color: var(--border-lit); }
.crumbs span { color: var(--sub); }

.game-top { display: grid; grid-template-columns: 172px minmax(0, 1fr); gap: 34px; align-items: start; }
.game-top .cover:hover, .game-top .cover:hover img { transform: none; border-color: var(--border-lit); }

/* settings: two columns of text under hairlines, no boxes */
.rows { margin-top: 26px; max-width: 760px; border-bottom: 1px solid var(--border); }
.row { display: flex; justify-content: space-between; gap: 20px; padding: 14px 0; border-top: 1px solid var(--border); font-size: 15.5px; }
.row span { color: var(--sub); }
.row b { font-weight: 650; text-align: right; }
.row.more span, .row.more b { color: var(--gold); font-weight: 600; }

/* long-form text */
.prose { max-width: 760px; }
.wrap.prose { width: min(760px, calc(100% - 48px)); }
.prose h2 { font-weight: 650; font-size: 24px; letter-spacing: -0.02em; line-height: 1.2; margin: 44px 0 0; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--sub); font-size: 16px; }
.prose p { margin: 12px 0 0; }
.prose ul, .prose ol { margin: 12px 0 0; padding-left: 20px; display: grid; gap: 7px; }
.prose a, details p a { color: var(--hi); text-decoration: underline; text-underline-offset: 3px; }
.prose a:hover, details p a:hover { color: var(--text); }

/* the grid of games */
.game-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 22px 14px; }
.game-grid.small { margin-top: 30px; }
.game-card { display: block; }
.game-card .cover { width: 100%; }
.game-card b { display: block; margin-top: 10px; font-size: 15px; font-weight: 650; letter-spacing: -0.01em; }
.game-card span { display: block; font-size: 13px; color: var(--faint); margin-top: 2px; }
.game-card:hover b { color: var(--hi); }
.game-links { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 24px 0 0; font-size: 15px; }
.game-links a { color: var(--sub); border-bottom: 1px solid var(--border-lit); padding-bottom: 1px; }
.game-links a:hover { color: var(--text); border-bottom-color: var(--accent); }

.shot.wide { margin-bottom: 4px; }
.point h3 .count { color: var(--faint); font-weight: 500; margin-left: 6px; }
.prose li b { color: var(--text); font-weight: 650; }
.head .lede a { color: var(--hi); text-decoration: underline; text-underline-offset: 3px; }
.head .lede a:hover { color: var(--text); }
.marquee-note a { color: var(--hi); text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 760px) {
  .page-hero { padding-top: 26px; }
  .game-top { grid-template-columns: 96px minmax(0, 1fr); gap: 18px; }
  .game-top .cover { width: 96px; }
  .game-top .cta, .game-top .fine { grid-column: 1 / -1; }
  .wrap.prose { width: calc(100% - 32px); }
  .row { font-size: 15px; }
  .game-grid { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 18px 12px; }
}
