/* Shared games chrome — mobile first */
.games-body {
  margin: 0;
  min-height: 100dvh;
  background:
    radial-gradient(ellipse 120% 80% at 50% -20%, rgba(37, 99, 235, 0.22), transparent 55%),
    #0a0e17;
  color: #e8eef8;
  font-family: "Segoe UI", system-ui, sans-serif;
}

.games-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  padding-top: max(10px, env(safe-area-inset-top));
  border-bottom: 1px solid rgba(148, 163, 184, 0.18);
  background: rgba(8, 12, 22, 0.92);
  position: sticky;
  top: 0;
  z-index: 20;
}

.games-topbar-brand {
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #f8fafc;
  text-decoration: none;
  font-size: 1rem;
}

.games-topbar-nav {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.games-topbar-nav a {
  color: #93c5fd;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
}

.games-hub {
  width: min(720px, 100%);
  margin: 0 auto;
  padding: 20px 14px 40px;
}

.games-hub-title {
  margin: 0 0 6px;
  font-size: clamp(1.6rem, 6vw, 2.1rem);
}

.games-hub-lead {
  margin: 0 0 22px;
  color: #94a3b8;
  line-height: 1.45;
}

.games-card-grid {
  display: grid;
  gap: 14px;
}

.games-card {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  background: rgba(15, 23, 42, 0.88);
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 14px;
  overflow: hidden;
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.games-card:active {
  transform: scale(0.98);
}

.games-card-preview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  padding: 12px;
  align-content: center;
  background: #111827;
}

.fuse-preview span {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  border-radius: 8px;
  font-weight: 800;
  font-size: 0.78rem;
  color: #0b1220;
}

.fuse-preview span:nth-child(1) { background: #7dd3fc; }
.fuse-preview span:nth-child(2) { background: #38bdf8; }
.fuse-preview span:nth-child(3) { background: #fbbf24; }
.fuse-preview span:nth-child(4) { background: #fb7185; }

.games-card-body {
  padding: 12px 12px 12px 0;
}

.games-card-body h2 {
  margin: 0 0 4px;
  font-size: 1.15rem;
}

.games-card-body p {
  margin: 0 0 10px;
  color: #94a3b8;
  font-size: 0.9rem;
  line-height: 1.4;
}

.games-card-cta {
  display: inline-block;
  background: #2563eb;
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 6px 12px;
  border-radius: 999px;
}

.games-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  padding: 16px 12px max(20px, env(safe-area-inset-bottom));
  color: #64748b;
  font-size: 0.82rem;
}

.games-footer a {
  color: #93c5fd;
  text-decoration: none;
}
