/* games.qeepto.me (Claude/opus-5.5@Airi, 26-NOV-2026, v2)
   Deliberately plain, like a personal homepage rather than a product landing page: one text column, a book
   serif, warm paper, ordinary underlined links, real tiles and screenshots from the game as the only decoration.
   No web fonts, scripts or third-party requests. */

:root {
  color-scheme: light;
  --paper: #fbf6ee;
  --ink: #3f2c3c;          /* the game's plum */
  --ink-soft: #6e5a6b;
  --link: #a3324f;
  --rule: #e4d6c3;
  --gold: #c9a14a;         /* tile edge */
  --stack: #dcc49a;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1.125rem/1.65 var(--serif); }
img { max-width: 100%; height: auto; }
a { color: var(--link); text-underline-offset: .15em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--link); outline-offset: 2px; }

.page { max-width: 38rem; margin: 0 auto; padding: 2rem 1.25rem 3rem; }

.site { display: flex; align-items: baseline; gap: 1rem; flex-wrap: wrap; margin-bottom: 3rem; font-size: 1rem; }
.site a { color: var(--ink); text-decoration: none; }
.site a:hover { text-decoration: underline; }
.site .home { font-weight: 700; margin-right: auto; }

h1 { font-size: 2.3rem; line-height: 1.1; margin: 0 0 1rem; font-weight: 700; }
h2 { font-size: 1.3rem; line-height: 1.25; margin: 2.6rem 0 .5rem; font-weight: 700; }
p { margin: 0 0 1rem; }
.quiet { color: var(--ink-soft); }

/* A few of the game's own tiles, set down by hand */
.tiles { display: flex; gap: .35rem; margin: 0 0 1.6rem; padding: 0; list-style: none; }
.tiles img { display: block; width: 46px; height: auto; border: 2px solid var(--gold); border-radius: 8px;
             box-shadow: 2px 3px 0 var(--stack); background: #fffaf3; }
.tiles li:nth-child(1) { transform: rotate(-4deg); }
.tiles li:nth-child(2) { transform: rotate(2deg) translateY(4px); }
.tiles li:nth-child(3) { transform: rotate(-1deg); }
.tiles li:nth-child(4) { transform: rotate(5deg) translateY(2px); }
.tiles li:nth-child(5) { transform: rotate(-3deg) translateY(5px); }

/* Home: the list of games */
.game { display: grid; grid-template-columns: 72px 1fr; gap: 0 1.1rem; margin: 2.2rem 0;
        padding-top: 1.6rem; border-top: 1px solid var(--rule); }
.game img { border-radius: 16px; }
.game h2 { margin: 0 0 .3rem; }
.game p:last-child { margin-bottom: 0; }

/* Screenshots: plain, in the flow of the text */
.shots { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.2rem; margin: 1.4rem 0 .5rem; }
.shots figure { margin: 0; }
.shots img { display: block; border-radius: 14px; border: 1px solid var(--rule); }
.shots figcaption { font-size: .95rem; font-style: italic; color: var(--ink-soft); margin-top: .4rem; }
@media (min-width: 46rem) { .shots.wide { margin-left: -6rem; margin-right: -6rem; grid-template-columns: repeat(4, 1fr); } }

dl.details { margin: 0; }
dl.details dt { font-weight: 700; margin-top: .6rem; }
dl.details dd { margin: 0; }

footer { margin-top: 3.5rem; padding-top: 1rem; border-top: 1px solid var(--rule); font-size: .95rem; color: var(--ink-soft); }
footer a { color: var(--ink-soft); }
