/* games.tlt-studios.com's home and not-found pages: the same warm paper as the games. */
@font-face { font-family: "Atkinson"; src: url("/fonts/atkinson-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Atkinson"; src: url("/fonts/atkinson-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Fredoka"; src: url("/fonts/fredoka-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
:root { --paper: #f6f0e4; --card: #fffdf8; --ink: #2b2620; --muted: #6d645a; --line: #e2d8c6; --hit: #2f8a85; --accent: #d9483b; color-scheme: light; }
@media (prefers-color-scheme: dark) { :root { --paper: #1c1a17; --card: #26231f; --ink: #f2ece2; --muted: #b5ab9d; --line: #3a352e; color-scheme: dark; } }
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; background: var(--paper); color: var(--ink); font: 400 17px/1.5 "Atkinson", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased; background-image: radial-gradient(rgba(120, 100, 70, .045) 1px, transparent 1px); background-size: 6px 6px; }
.home { flex: 1; width: 100%; max-width: 560px; margin: 0 auto; padding: calc(56px + env(safe-area-inset-top)) 20px 40px; }
.home__kicker { margin: 0; color: var(--accent); font: 600 18px/1 "Fredoka", sans-serif; letter-spacing: .04em; }
.home__title { margin: 10px 0 30px; font: 600 clamp(36px, 10vw, 52px)/1.05 "Fredoka", sans-serif; }
.game { display: grid; grid-template-columns: 96px 1fr; gap: 6px 18px; align-items: center; padding: 18px; border-radius: 22px; background: var(--card);
  color: inherit; text-decoration: none; box-shadow: 0 1px 0 rgba(43, 38, 32, .08), 0 14px 30px -18px rgba(43, 38, 32, .45); transition: transform .2s; }
.game:hover { transform: translateY(-2px); }
.game img { grid-row: span 2; width: 96px; height: 96px; border-radius: 22px; }
.game__text b { display: block; font: 600 24px/1.2 "Fredoka", sans-serif; }
.game__text span { color: var(--muted); font-size: 16px; }
.game__go { grid-column: 2; justify-self: start; margin-top: 8px; padding: 10px 18px; border-radius: 999px; background: var(--ink); color: var(--paper); font-weight: 700; }
.home__more { margin: 22px 0 0; color: var(--muted); text-align: center; }
.foot { padding: 20px 20px calc(24px + env(safe-area-inset-bottom)); text-align: center; color: var(--muted); font-size: 15px; }
.foot a { color: inherit; }
@media (max-width: 420px) { .game { grid-template-columns: 72px 1fr; } .game img { width: 72px; height: 72px; border-radius: 18px; } .game__go { grid-column: 1 / -1; justify-self: stretch; text-align: center; } }
