/* Barebones presskit styling */
:root {
  --text: #1a1a1a;
  --muted: #666;
  --line: #ddd;
  --link: #1a4f9c;
}

* { box-sizing: border-box; }

body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--text);
  line-height: 1.6;
  margin: 0;
  padding: 0 1rem;
  background: #fff;
}

main {
  max-width: 780px;
  margin: 2rem auto 4rem;
}

h1 { font-size: 1.9rem; margin: 0 0 .2rem; }
h2 {
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: .05em;
  border-bottom: 1px solid var(--line);
  padding-bottom: .3rem;
  margin-top: 2.5rem;
}
.tagline { color: var(--muted); margin: 0 0 1.5rem; }

a { color: var(--link); }

table { border-collapse: collapse; width: 100%; }
th, td {
  text-align: left;
  padding: .35rem .6rem .35rem 0;
  vertical-align: top;
  border: none;
}
th { width: 9em; color: var(--muted); font-weight: 600; }

ul { padding-left: 1.2rem; margin: .4rem 0; }

.game-list { list-style: none; padding: 0; }
.game-list li { margin: .8rem 0; }
.game-list .game-desc { color: var(--muted); margin: 0; }

img.screenshot {
  max-width: 100%;
  height: auto;
  display: block;
  margin: .4rem 0;
}
.caption { color: var(--muted); font-size: .85rem; margin: 0 0 1.2rem; }

/* Screenshot grid: 3 per row, clickable thumbnails opening the full file */
.screenshots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .75rem 1rem;
}
.shot { margin: 0; }
.shot a { display: block; }
.shot img {
  max-width: 100%;
  height: auto;
  display: block;
  cursor: zoom-in;
}
.shot figcaption { color: var(--muted); font-size: .85rem; margin: .2rem 0 0; }
@media (max-width: 640px) { .screenshots { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 400px) { .screenshots { grid-template-columns: 1fr; } }

video, iframe {
  max-width: 100%;
  aspect-ratio: 16 / 9;
  border: none;
}

.back-link { display: inline-block; margin-bottom: 1.5rem; }

.note { color: var(--muted); font-size: .9em; }

.loading { color: var(--muted); }
.error { border: 1px solid #b00; padding: 1rem; }