:root {
  --bg: #f4f1ea;
  --surface: #fffdf8;
  --ink: #1e2430;
  --ink-soft: #565f6d;
  --line: #d4cec0;
  --accent: #1f4f9e;
  --ring: #1b4aa8;
  --shadow: rgba(30, 36, 48, 0.12);
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #14171d;
    --surface: #1c2129;
    --ink: #e9edf3;
    --ink-soft: #a5afbf;
    --line: #2f3744;
    --accent: #7aa7ff;
    --ring: #bcd3ff;
    --shadow: rgba(0, 0, 0, 0.5);
  }
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 18px;
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
}
main {
  max-width: 40rem;
  margin: 0 auto;
  padding: 40px 16px 56px;
}
h1 {
  font-size: 2rem;
  line-height: 1.2;
  margin: 0 0 8px;
}
h2 {
  font-size: 1rem;
  margin: 0 0 8px;
  color: var(--ink-soft);
  font-weight: 600;
}
.lead {
  margin: 0 0 32px;
  color: var(--ink-soft);
}
ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.games {
  display: grid;
  gap: 16px;
}
.card {
  display: flex;
  gap: 16px;
  align-items: center;
  min-height: 48px;
  padding: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 2px 8px var(--shadow);
  color: inherit;
  text-decoration: none;
}
.card:hover {
  border-color: var(--accent);
}
.card img {
  flex: none;
  width: 72px;
  height: 72px;
  border-radius: 16px;
}
.text {
  overflow-wrap: break-word;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--accent);
}
.tagline {
  font-weight: 600;
}
.desc {
  font-size: 0.9rem;
  color: var(--ink-soft);
}
a:focus-visible {
  outline: 3px solid var(--ring);
  outline-offset: 3px;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
