.page-games {
  --g-ink: #1c1a17;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
  background: #fbf8f1;
  color: var(--g-ink);
  font-size: 15px;
  overflow-x: visible;
}
.page-games > .site-bar, .page-games > .site-footer { width: 100%; }
.games-main { flex: 1 0 auto; width: 100%; max-width: 1120px; margin: 0 auto; padding: 12px max(16px, env(safe-area-inset-right)) 40px max(16px, env(safe-area-inset-left)); }
.games-main h1 { font-size: 32px; line-height: 1.1; }
.games-subtitle { margin: 6px 0 24px; color: #6b655b; font-size: 16px; }
.games-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px 10px; }
@media (max-width: 719px) {
  .games-list .is-top { grid-column: 1 / -1; }
  .games-list .is-top:nth-child(4) { margin-bottom: 12px; }
}
.game-card-featured .game-card-caption { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.game-card-play { display: none; flex: none; align-items: center; justify-content: center; min-height: 36px; min-width: 64px; padding: 6px 14px; border-radius: 24px; background: #1c1a17; color: #fffdf7; font-size: 13px; font-weight: 900; }
.game-card-featured.is-top { overflow: hidden; border: 1px solid #ded8cc; border-radius: 14px; background: #fffdf7; }
.game-card-featured.is-top .game-card-preview { border-radius: 0; }
.game-card-featured.is-top .game-card-caption { padding: 12px; }
.game-card-featured.is-top strong { margin: 0; font-size: 18px; }
.game-card-featured.is-top .game-card-play { display: inline-flex; }
.page-games .site-footer { border-color: #ded8cc; font-size: 13px; }
.page-games .footer-links { gap: 4px 18px; }
.page-games .footer-links a { display: inline-flex; align-items: center; min-height: 44px; color: #6b655b; }
.page-games a:focus-visible { outline-color: #1c1a17; }
@media (min-width: 720px) {
  .games-main { padding: 32px 24px 64px; }
  .games-main h1 { font-size: 44px; }
  .games-subtitle { margin: 8px 0 32px; font-size: 18px; }
  .games-list { gap: 20px; }
  .games-list .game-card-featured { display: flex; flex-direction: column; overflow: hidden; border: 1px solid #ded8cc; border-radius: 14px; background: #fffdf7; }
  .games-list .game-card-featured .game-card-preview { border-radius: 0; }
  .games-list .game-card-featured .game-card-caption { flex: 1; padding: 12px; }
  .games-list .game-card-featured strong { margin: 0; font-size: 17px; }
  .games-list .game-card-featured .game-card-play { display: inline-flex; }
  .games-list .game-card-featured { transition: transform .15s ease; }
  .games-list .game-card-featured:hover { transform: translateY(-2px); }
}
@media (min-width: 1080px) {
  .games-list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
  .games-list .game-card-featured { transition: none; }
  .games-list .game-card-featured:hover { transform: none; }
}

.games-about { max-width: 70ch; margin: 48px auto 0; color: #6b655b; font-size: 15px; line-height: 1.7; overflow-wrap: anywhere; }
.games-about h2 { margin-bottom: 16px; color: #413c34; font-size: 20px; line-height: 1.35; }
.games-about p + p { margin-top: 16px; }
.games-about a { color: inherit; text-underline-offset: 3px; }
@media (min-width: 720px) { .games-about { font-size: 16px; } }
