:root {
  --bg: #23272b;
  --surface: #2e343a;
  --surface-hover: #383f46;
  --text: #ffffff;
  --muted: #a8b2bc;
  --accent: #7ee63a;
  --shadow: 5.3px 10.6px 10.6px hsl(0deg 0% 0% / 0.34);
}

* {
  box-sizing: border-box;
}

body {
  background-color: var(--bg);
  background-image: radial-gradient(hsl(0deg 0% 100% / 0.04) 1px, transparent 1px);
  background-size: 24px 24px;
  color: var(--text);
  font-family: "Press Start 2P", system-ui;
  margin: 0 auto;
  max-width: 1100px;
  text-align: center;
  padding: 48px 24px 24px;
}

header {
  margin-bottom: 16px;
}

/* Top bar: home link left, sign-in widget right; wraps on narrow screens.
   The widget itself (.lb-*) is injected by leaderboard.js into #auth-slot. */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
  text-align: left;
}

.site-home {
  color: var(--accent);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  line-height: 1.6;
  text-decoration: none;
}

.site-home::before {
  content: "▶ ";
}

.site-home:hover,
.site-home:focus-visible {
  text-decoration: underline;
}

.site-home:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

/* Match the injected widget to the site's pixel font and palette. */
#auth-slot .lb-btn {
  font-family: inherit;
  font-size: 0.65rem;
  background-color: var(--surface);
  border-color: var(--accent);
  color: var(--accent);
}

#auth-slot .lb-btn:hover,
#auth-slot .lb-btn:focus-visible {
  background-color: var(--accent);
  color: var(--bg);
}

#auth-slot .lb-panel {
  background: var(--surface);
  border-color: var(--accent);
}

.badge {
  color: var(--accent);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  animation: blink 1.4s steps(2, start) infinite;
}

@keyframes blink {
  to {
    visibility: hidden;
  }
}

h1 {
  font-size: clamp(1.4rem, 4vw, 2.2rem);
  line-height: 1.4;
  margin: 16px 0;
}

.tagline {
  color: var(--muted);
  font-size: 0.7rem;
  line-height: 2;
  max-width: 40rem;
  margin: 0 auto;
}

.hero-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-top: 32px;
}

.hero-link {
  color: var(--accent);
  background-color: var(--surface);
  border: 2px solid var(--accent);
  border-radius: 8px;
  font-size: 0.65rem;
  line-height: 1.6;
  padding: 12px 16px;
  text-decoration: none;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.hero-link:hover,
.hero-link:focus-visible {
  background-color: var(--accent);
  color: var(--bg);
}

.hero-link:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

/* Long-form pages (engine.html) */
.prose {
  text-align: left;
  max-width: 44rem;
  margin: 0 auto;
}

.prose section {
  margin: 0 0 48px;
  display: block;
}

.prose h3 {
  color: var(--accent);
  font-size: 0.85rem;
  line-height: 1.8;
  margin: 48px 0 16px;
}

.prose p {
  font-size: 0.7rem;
  line-height: 2.2;
  color: var(--text);
}

.prose em {
  color: var(--accent);
  font-style: normal;
}

.prose code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.85rem;
  background-color: var(--surface);
  border-radius: 4px;
  padding: 2px 6px;
}

.prose pre {
  background-color: var(--surface);
  border: 2px solid var(--surface-hover);
  border-left: 4px solid var(--accent);
  border-radius: 8px;
  box-shadow: var(--shadow);
  padding: 20px;
  overflow-x: auto;
}

.prose pre code {
  background: none;
  padding: 0;
  font-size: 0.95rem;
  line-height: 1.7;
}

.prose .hero-links {
  justify-content: flex-start;
}

.stat-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 32px 0;
}

.stat {
  flex: 1 1 140px;
  background-color: var(--surface);
  border-radius: 8px;
  box-shadow: var(--shadow);
  padding: 20px 12px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.stat-num {
  color: var(--accent);
  font-size: 1.1rem;
}

.stat-label {
  color: var(--muted);
  font-size: 0.55rem;
  line-height: 1.6;
}

.section-title {
  font-size: 0.9rem;
  margin: 48px 0 32px;
}

.section-title::before,
.section-title::after {
  content: " — ";
  color: var(--accent);
}

.grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 32px;
}

.card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 16px;
  border-radius: 16px;
  background-color: var(--surface);
  border: 2px solid transparent;
  box-shadow: var(--shadow);
  color: inherit;
  text-decoration: none;
  transition: transform 0.15s ease, border-color 0.15s ease,
    background-color 0.15s ease;
}

.card:hover,
.card:focus-visible {
  transform: translateY(-6px);
  background-color: var(--surface-hover);
  border-color: var(--accent);
}

.card:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.card-title {
  font-size: 0.75rem;
  line-height: 1.6;
  padding-bottom: 8px;
}

.tag {
  color: var(--bg);
  background-color: var(--accent);
  border-radius: 4px;
  font-size: 0.55rem;
  padding: 3px 5px;
  vertical-align: middle;
}

.tile {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  background-color: hsl(0deg 0% 0% / 0.25);
}

/* Pixel-art square shooter: yellow player, falling green squares, bullet. */
.dodger {
  background-size: cover;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10' shape-rendering='crispEdges'%3E%3Crect width='10' height='10' fill='%23101018'/%3E%3Cg fill='%234dbf63'%3E%3Crect x='1.5' y='1' width='1.6' height='1.6'/%3E%3Crect x='4.6' y='2.2' width='2.2' height='2.2'/%3E%3Crect x='8' y='0.8' width='1.2' height='1.2'/%3E%3C/g%3E%3Crect x='5.35' y='5.8' width='0.5' height='0.5' fill='%2373a0ff'/%3E%3Crect x='4.8' y='7.4' width='1.6' height='1.6' fill='%23f2d94c'/%3E%3C/svg%3E");
}

/* Pixel-art desert runner: dusk sky, dunes, runner and snake. */
.desert {
  background-size: cover;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10' shape-rendering='crispEdges'%3E%3Crect width='10' height='10' fill='%2333415e'/%3E%3Crect x='7' y='1.2' width='1.2' height='1.2' fill='%23f2d9a0'/%3E%3Crect y='6' width='10' height='4' fill='%23c9975a'/%3E%3Crect y='8.5' width='10' height='1.5' fill='%23a87b45'/%3E%3Crect x='2.5' y='4' width='0.7' height='0.6' fill='%233a2a20'/%3E%3Crect x='2.4' y='4.6' width='0.9' height='1.4' fill='%233a2a20'/%3E%3Crect x='6.5' y='7.4' width='1.6' height='0.6' fill='%233f9e46'/%3E%3Crect x='8.1' y='7.2' width='0.5' height='0.8' fill='%233f9e46'/%3E%3C/svg%3E");
}

/* Pixel-art yellow jumper: dark sky, slate ground, jumper and enemy. */
.jumper {
  background-size: cover;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10' shape-rendering='crispEdges'%3E%3Crect width='10' height='10' fill='%23101018'/%3E%3Crect y='7.5' width='10' height='2.5' fill='%23232a40'/%3E%3Crect x='2.4' y='4.2' width='1.6' height='1.6' fill='%23f2d94c'/%3E%3Crect x='6.4' y='5.9' width='1.6' height='1.6' fill='%23e64d4d'/%3E%3C/svg%3E");
}

.bee {
  background-image: url("./assets/bee.png");
}

.speed {
  background-image: url("./assets/speed.png");
}

/* Pixel-art flappy square: sky, pipe pair with gap, yellow bird. */
.flappy {
  background-size: cover;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10' shape-rendering='crispEdges'%3E%3Crect width='10' height='10' fill='%23548fb8'/%3E%3Cg fill='%23409e4d'%3E%3Crect x='6.4' width='1.8' height='3.2'/%3E%3Crect x='6.2' y='3.2' width='2.2' height='0.7'/%3E%3Crect x='6.2' y='6.1' width='2.2' height='0.7'/%3E%3Crect x='6.4' y='6.8' width='1.8' height='3.2'/%3E%3C/g%3E%3Crect x='2.2' y='4.3' width='1.6' height='1.6' fill='%23f2d94c'/%3E%3Crect x='3.3' y='4.6' width='0.4' height='0.4' fill='%23101018'/%3E%3C/svg%3E");
}

/* Pixel-art ship dodger: starfield, player ship, descending enemies. */
.shooter {
  background-size: cover;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10' shape-rendering='crispEdges'%3E%3Crect width='10' height='10' fill='%2305060a'/%3E%3Cg fill='%23d0d8e8'%3E%3Crect x='1.5' y='1.5' width='0.2' height='0.2'/%3E%3Crect x='8' y='2' width='0.2' height='0.2'/%3E%3Crect x='3' y='4.5' width='0.2' height='0.2'/%3E%3Crect x='6.5' y='6' width='0.2' height='0.2'/%3E%3Crect x='2' y='7.5' width='0.2' height='0.2'/%3E%3Crect x='8.5' y='8' width='0.2' height='0.2'/%3E%3C/g%3E%3Cg fill='%23c973b3'%3E%3Crect x='2.8' y='1.8' width='1.4' height='0.9'/%3E%3Crect x='6' y='3' width='1.4' height='0.9'/%3E%3C/g%3E%3Cg fill='%2373e68c'%3E%3Crect x='4.7' y='6.8' width='0.6' height='0.6'/%3E%3Crect x='4.3' y='7.4' width='1.4' height='0.9'/%3E%3Crect x='3.8' y='8.3' width='2.4' height='0.5'/%3E%3C/g%3E%3C/svg%3E");
}

/* Pixel-art snake drawn inline so it needs no image asset. */
.snake {
  background-size: cover;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10' shape-rendering='crispEdges'%3E%3Crect width='10' height='10' fill='%2316211a'/%3E%3Cg fill='%233f9e46'%3E%3Crect x='2' y='2' width='5' height='1'/%3E%3Crect x='6' y='3' width='1' height='1'/%3E%3Crect x='3' y='4' width='4' height='1'/%3E%3Crect x='3' y='5' width='1' height='1'/%3E%3Crect x='3' y='6' width='3' height='1'/%3E%3C/g%3E%3Crect x='6' y='6' width='1' height='1' fill='%239ae62e'/%3E%3Crect x='8' y='6' width='1' height='1' fill='%23e64545'/%3E%3C/svg%3E");
}

/* Pixel-art pong: two paddles, ball, dashed center line. */
.pong {
  background-size: cover;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10' shape-rendering='crispEdges'%3E%3Crect width='10' height='10' fill='%23101018'/%3E%3Cg fill='%23404060'%3E%3Crect x='4.8' y='0.5' width='0.4' height='1'/%3E%3Crect x='4.8' y='2.5' width='0.4' height='1'/%3E%3Crect x='4.8' y='4.5' width='0.4' height='1'/%3E%3Crect x='4.8' y='6.5' width='0.4' height='1'/%3E%3Crect x='4.8' y='8.5' width='0.4' height='1'/%3E%3C/g%3E%3Crect x='1' y='3' width='0.8' height='3' fill='%2373ccff'/%3E%3Crect x='8.2' y='4.5' width='0.8' height='3' fill='%23ff8c73'/%3E%3Crect x='5.8' y='3.4' width='0.8' height='0.8' fill='%23ffffff'/%3E%3C/svg%3E");
}

/* Pixel-art breakout: brick rows, paddle, ball. */
.breakout {
  background-size: cover;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10' shape-rendering='crispEdges'%3E%3Crect width='10' height='10' fill='%23101018'/%3E%3Cg fill='%23e64d4d'%3E%3Crect x='1' y='1' width='3.8' height='1'/%3E%3Crect x='5.2' y='1' width='3.8' height='1'/%3E%3C/g%3E%3Cg fill='%23f59a40'%3E%3Crect x='1' y='2.4' width='3.8' height='1'/%3E%3Crect x='5.2' y='2.4' width='3.8' height='1'/%3E%3C/g%3E%3Cg fill='%23f2d94c'%3E%3Crect x='1' y='3.8' width='3.8' height='1'/%3E%3C/g%3E%3Crect x='4.7' y='6.2' width='0.8' height='0.8' fill='%23ffffff'/%3E%3Crect x='3.5' y='8.4' width='3' height='0.7' fill='%23bcd4ff'/%3E%3C/svg%3E");
}

/* Pixel-art invaders: alien, player ship, bullet. */
.invaders {
  background-size: cover;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10' shape-rendering='crispEdges'%3E%3Crect width='10' height='10' fill='%23101018'/%3E%3Cg fill='%23d8d8f2'%3E%3Crect x='4' y='1' width='2' height='0.8'/%3E%3Crect x='3' y='1.8' width='4' height='1'/%3E%3Crect x='2.2' y='2.8' width='5.6' height='0.8'/%3E%3Crect x='3' y='3.6' width='1' height='0.8'/%3E%3Crect x='6' y='3.6' width='1' height='0.8'/%3E%3C/g%3E%3Cg fill='%23101018'%3E%3Crect x='3.8' y='1.9' width='0.7' height='0.7'/%3E%3Crect x='5.5' y='1.9' width='0.7' height='0.7'/%3E%3C/g%3E%3Crect x='4.85' y='5.6' width='0.3' height='0.9' fill='%2380f2a0'/%3E%3Crect x='4.6' y='7.6' width='0.8' height='0.6' fill='%2373e68c'/%3E%3Crect x='3.5' y='8.2' width='3' height='0.8' fill='%2373e68c'/%3E%3C/svg%3E");
}

/* Pixel-art simon: four quadrants, one flashing. */
.simon {
  background-size: cover;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10' shape-rendering='crispEdges'%3E%3Crect width='10' height='10' fill='%23101018'/%3E%3Crect x='0.7' y='0.7' width='4.1' height='4.1' fill='%23327a3c'/%3E%3Crect x='5.2' y='0.7' width='4.1' height='4.1' fill='%23a33232'/%3E%3Crect x='0.7' y='5.2' width='4.1' height='4.1' fill='%23f2dd55'/%3E%3Crect x='5.2' y='5.2' width='4.1' height='4.1' fill='%23325aa3'/%3E%3C/svg%3E");
}

/* Pixel-art 2048: a corner of the tile grid. */
.game2048 {
  background-size: cover;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10' shape-rendering='crispEdges'%3E%3Crect width='10' height='10' fill='%23101018'/%3E%3Cg fill='%2323232e'%3E%3Crect x='0.6' y='0.6' width='1.9' height='1.9'/%3E%3Crect x='2.8' y='0.6' width='1.9' height='1.9'/%3E%3Crect x='5' y='0.6' width='1.9' height='1.9'/%3E%3Crect x='7.2' y='0.6' width='1.9' height='1.9'/%3E%3Crect x='0.6' y='2.8' width='1.9' height='1.9'/%3E%3Crect x='5' y='2.8' width='1.9' height='1.9'/%3E%3Crect x='7.2' y='2.8' width='1.9' height='1.9'/%3E%3Crect x='0.6' y='5' width='1.9' height='1.9'/%3E%3Crect x='2.8' y='5' width='1.9' height='1.9'/%3E%3Crect x='7.2' y='5' width='1.9' height='1.9'/%3E%3Crect x='0.6' y='7.2' width='1.9' height='1.9'/%3E%3Crect x='2.8' y='7.2' width='1.9' height='1.9'/%3E%3Crect x='5' y='7.2' width='1.9' height='1.9'/%3E%3C/g%3E%3Crect x='2.8' y='2.8' width='1.9' height='1.9' fill='%238c8377'/%3E%3Crect x='5' y='5' width='1.9' height='1.9' fill='%23d98b4d'/%3E%3Crect x='7.2' y='5' width='1.9' height='1.9' fill='%23d9714d'/%3E%3C/svg%3E");
}

/* Pixel-art frogger: goal strip, traffic lanes, frog. */
.frogger {
  background-size: cover;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10' shape-rendering='crispEdges'%3E%3Crect width='10' height='10' fill='%23101018'/%3E%3Crect width='10' height='1.4' fill='%232a4a2a'/%3E%3Cg fill='%232a2a36'%3E%3Crect y='3.1' width='10' height='0.15'/%3E%3Crect y='4.8' width='10' height='0.15'/%3E%3Crect y='6.5' width='10' height='0.15'/%3E%3C/g%3E%3Crect x='1' y='2' width='2' height='0.9' fill='%23d94040'/%3E%3Crect x='6' y='3.7' width='1.5' height='0.9' fill='%235a8cd9'/%3E%3Crect x='3.4' y='5.4' width='2' height='0.9' fill='%23d9b830'/%3E%3Crect x='7' y='7.1' width='1.5' height='0.9' fill='%23b366cc'/%3E%3Crect x='4.5' y='8.6' width='1' height='1' fill='%237ee63a'/%3E%3C/svg%3E");
}

/* Pixel-art lunar lander: stars, terrain, pad, lander with flame. */
.lander {
  background-size: cover;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10' shape-rendering='crispEdges'%3E%3Crect width='10' height='10' fill='%2305060a'/%3E%3Cg fill='%23d0d8e8'%3E%3Crect x='1.5' y='1' width='0.2' height='0.2'/%3E%3Crect x='7.5' y='1.8' width='0.2' height='0.2'/%3E%3Crect x='3' y='3' width='0.2' height='0.2'/%3E%3Crect x='8.6' y='4.4' width='0.2' height='0.2'/%3E%3Crect x='1' y='5.5' width='0.2' height='0.2'/%3E%3C/g%3E%3Crect y='8.2' width='10' height='1.8' fill='%23383844'/%3E%3Crect x='3.6' y='7.9' width='2.8' height='0.3' fill='%237ee63a'/%3E%3Cg fill='%23e8e8f2'%3E%3Crect x='4.4' y='5.2' width='1.2' height='1'/%3E%3Crect x='4.2' y='6.2' width='0.3' height='0.5'/%3E%3Crect x='5.5' y='6.2' width='0.3' height='0.5'/%3E%3C/g%3E%3Crect x='4.8' y='6.4' width='0.4' height='0.7' fill='%23f2994d'/%3E%3C/svg%3E");
}

/* Pixel-art age of divergence: arena, four class-coloured squares closing on
   the player, a shot heading for the crosshair. */
.divergence {
  background-size: cover;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10' shape-rendering='crispEdges'%3E%3Crect width='10' height='10' fill='%230d0d17'/%3E%3Crect x='0.4' y='0.4' width='9.2' height='9.2' fill='none' stroke='%23383858' stroke-width='0.3'/%3E%3Cg fill='%23d94a40'%3E%3Crect x='1.2' y='1.4' width='0.9' height='0.9'/%3E%3Crect x='8' y='2.2' width='0.9' height='0.9'/%3E%3Crect x='1.6' y='7.6' width='0.9' height='0.9'/%3E%3Crect x='7.4' y='7.9' width='0.9' height='0.9'/%3E%3Crect x='8.4' y='5' width='0.9' height='0.9'/%3E%3C/g%3E%3Crect x='4.3' y='4.6' width='1.3' height='1.3' fill='%23fa9e33'/%3E%3Cg fill='%23fff'%3E%3Crect x='6' y='3.9' width='0.4' height='0.4'/%3E%3Crect x='6.7' y='3.5' width='0.4' height='0.4'/%3E%3C/g%3E%3Cg stroke='%23fff' stroke-width='0.25' fill='none'%3E%3Ccircle cx='7.8' cy='2.65' r='0.55'/%3E%3Cpath d='M7.8 1.8v0.4M7.8 3.1v0.4M6.95 2.65h0.4M8.25 2.65h0.4'/%3E%3C/g%3E%3Cg fill='%2373e68c'%3E%3Crect x='2.6' y='4.2' width='0.5' height='0.5'/%3E%3Crect x='5.9' y='7' width='0.5' height='0.5'/%3E%3C/g%3E%3C/svg%3E");
}

/* Pixel-art minesweeper: covered grid, numbers, a flag and a mine. */
.minesweeper {
  background-size: cover;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10' shape-rendering='crispEdges'%3E%3Crect width='10' height='10' fill='%23101018'/%3E%3Cg fill='%23323852'%3E%3Crect x='0.6' y='0.6' width='2' height='2'/%3E%3Crect x='2.9' y='0.6' width='2' height='2'/%3E%3Crect x='7.5' y='0.6' width='2' height='2'/%3E%3Crect x='0.6' y='2.9' width='2' height='2'/%3E%3Crect x='7.5' y='2.9' width='2' height='2'/%3E%3Crect x='0.6' y='5.2' width='2' height='2'/%3E%3Crect x='2.9' y='5.2' width='2' height='2'/%3E%3Crect x='5.2' y='5.2' width='2' height='2'/%3E%3Crect x='7.5' y='5.2' width='2' height='2'/%3E%3Crect x='0.6' y='7.5' width='2' height='2'/%3E%3Crect x='2.9' y='7.5' width='2' height='2'/%3E%3Crect x='5.2' y='7.5' width='2' height='2'/%3E%3Crect x='7.5' y='7.5' width='2' height='2'/%3E%3C/g%3E%3Cg fill='%231a1c28'%3E%3Crect x='5.2' y='0.6' width='2' height='2'/%3E%3Crect x='2.9' y='2.9' width='2' height='2'/%3E%3Crect x='5.2' y='2.9' width='2' height='2'/%3E%3C/g%3E%3Crect x='5.9' y='1.1' width='0.6' height='1' fill='%235a8cff'/%3E%3Ccircle cx='6.2' cy='3.9' r='0.7' fill='%23e64d4d'/%3E%3Crect x='3.5' y='3.3' width='0.35' height='1.4' fill='%23f2a640'/%3E%3Cpath d='M3.5 3.3 L4.6 3.75 L3.5 4.2 Z' fill='%23f2a640'/%3E%3C/svg%3E");
}

/* Pixel-art connect 4: blue board, red and yellow discs. */
.connect4 {
  background-size: cover;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Crect width='10' height='10' fill='%23101018'/%3E%3Crect x='0.5' y='1.4' width='9' height='8' rx='0.4' fill='%23243a7a'/%3E%3Cg fill='%23101018'%3E%3Ccircle cx='2' cy='3' r='0.62'/%3E%3Ccircle cx='4' cy='3' r='0.62'/%3E%3Ccircle cx='6' cy='3' r='0.62'/%3E%3Ccircle cx='8' cy='3' r='0.62'/%3E%3Ccircle cx='2' cy='5.1' r='0.62'/%3E%3Ccircle cx='6' cy='5.1' r='0.62'/%3E%3Ccircle cx='2' cy='7.2' r='0.62'/%3E%3C/g%3E%3Cg fill='%23e6c23d'%3E%3Ccircle cx='4' cy='5.1' r='0.62'/%3E%3Ccircle cx='8' cy='7.2' r='0.62'/%3E%3Ccircle cx='6' cy='9' r='0.62' /%3E%3C/g%3E%3Cg fill='%23d94a40'%3E%3Ccircle cx='8' cy='5.1' r='0.62'/%3E%3Ccircle cx='4' cy='7.2' r='0.62'/%3E%3Ccircle cx='6' cy='7.2' r='0.62'/%3E%3Ccircle cx='2' cy='9' r='0.62'/%3E%3Ccircle cx='4' cy='9' r='0.62'/%3E%3Ccircle cx='8' cy='9' r='0.62'/%3E%3C/g%3E%3Ccircle cx='6' cy='1.6' r='0.62' fill='%23d94a40'/%3E%3C/svg%3E");
}

/* Pixel-art sky climber: platforms and a bouncing square. */
.climber {
  background-size: cover;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10' shape-rendering='crispEdges'%3E%3Crect width='10' height='10' fill='%23101018'/%3E%3Cg fill='%2359bf66'%3E%3Crect x='1' y='2' width='2.4' height='0.5'/%3E%3Crect x='6.2' y='3.6' width='2.4' height='0.5'/%3E%3Crect x='2.4' y='5.2' width='2.4' height='0.5'/%3E%3Crect x='5.6' y='6.8' width='2.4' height='0.5'/%3E%3Crect x='1.4' y='8.4' width='2.4' height='0.5'/%3E%3C/g%3E%3Crect x='3' y='3.9' width='1.1' height='1.1' fill='%23f2d94c'/%3E%3C/svg%3E");
}

footer {
  margin-top: 64px;
  color: var(--muted);
  font-size: 0.6rem;
  line-height: 1.8;
}

@media (prefers-reduced-motion: reduce) {
  .badge {
    animation: none;
  }

  .card,
  .card:hover,
  .card:focus-visible {
    transition: none;
    transform: none;
  }
}
