:root {
  --sky-50: #f3fbf7;
  --sky-100: #e5f6ee;
  --sky-200: #c8ead9;
  --sky-300: #97BB96;
  --sky-500: #97BB96;
  --sky-600: #97BB96;
  --sky-700: #07824c;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1e293b;
  --slate-900: #0f172a;
  --slate-950: #020617;
  --amber-300: #fcd34d;
  --amber-500: #f59e0b;
  --lime-300: #bef264;
  --lime-600: #65a30d;
  --ink: #0f172a;
  --hard: 4px 4px 0 var(--ink);
  --hard-lg: 6px 6px 0 var(--ink);
  --sky-hard: 4px 4px 0 var(--sky-300);
  --max: 80rem;
  --font: "Segoe UI", "Trebuchet MS", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  padding-bottom: 4rem;
  color: var(--slate-900);
  font-family: var(--font);
  background: radial-gradient(circle at top left, #e5f6ee 0, #fff7ed 34%, #f8fafc 72%);
}
body.locked { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input { font-family: inherit; }
img { max-width: 100%; display: block; }
.adv { min-height: 0; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 0.75rem 0.75rem 0;
}
.header-bar {
  max-width: var(--max);
  margin: 0 auto;
  border: 2px solid var(--sky-300);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--sky-hard);
  backdrop-filter: blur(8px);
}
.header-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 4rem;
  padding: 0 1rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex: none;
  color: var(--slate-950);
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border: 2px solid var(--ink);
  border-radius: 0.75rem;
  background: var(--sky-500);
  color: #fff;
  font-size: 1.15rem;
  box-shadow: 2px 2px 0 var(--ink);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.brand:hover .brand-mark { transform: translateY(-2px); box-shadow: 3px 3px 0 var(--ink); }
.brand-name {
  font-size: 1.125rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.brand-name span { color: var(--sky-600); }
.nav {
  display: none;
  align-items: center;
  gap: 0.25rem;
  margin-left: auto;
}
.nav-link {
  border: 2px solid transparent;
  border-radius: 0.5rem;
  padding: 0.5rem 0.75rem;
  color: var(--slate-700);
  font-size: 0.875rem;
  font-weight: 800;
}
.nav-link:hover,
.nav-link.is-active {
  border-color: var(--sky-300);
  background: var(--sky-50);
  color: var(--sky-700);
}
.menu-button {
  display: grid;
  flex: 0 0 2.5rem;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  margin-left: auto;
  border: 2px solid var(--ink);
  border-radius: 0.75rem;
  background: var(--sky-100);
  color: var(--ink);
  font-size: 1.25rem;
  font-weight: 900;
  box-shadow: 2px 2px 0 var(--ink);
  cursor: pointer;
}
.menu-button:hover { background: #c8ead9; }
.mobile-panel { display: none; border-top: 2px solid var(--sky-200); padding: 1rem; }
.mobile-panel.is-open { display: block; }
.mobile-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; }
.mobile-nav a {
  border: 2px solid var(--sky-200);
  border-radius: 0.5rem;
  background: var(--sky-50);
  padding: 0.5rem 0.75rem;
  color: var(--slate-800);
  font-size: 0.875rem;
  font-weight: 800;
}
.mobile-nav a.is-active { border-color: var(--ink); background: var(--amber-300); }

.wrap { max-width: var(--max); margin: 0 auto; padding: 1.25rem 1rem; }
.wrap.loose { padding-top: 2rem; padding-bottom: 2rem; }

.feature-grid,
.fresh-grid,
.pick-grid,
.catalog-grid,
.category-grid,
.related-grid {
  display: grid;
  gap: 0.75rem;
}
.feature-grid,
.category-grid,
.related-grid { grid-template-columns: 1fr 1fr; }
.catalog-grid { grid-template-columns: 1fr; }

.card {
  display: block;
  overflow: hidden;
  border: 2px solid var(--ink);
  border-radius: 1rem;
  background: #fff;
  box-shadow: var(--hard);
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.card:hover {
  transform: translateY(-4px);
  border-color: var(--sky-600);
  box-shadow: 6px 6px 0 var(--sky-600);
}
.card:focus-visible { outline: 4px solid #97BB96; outline-offset: 2px; }
.card-body { padding: 0.75rem 0.85rem 0.9rem; }
.card h2, .card h3 { margin: 0.45rem 0 0; font-weight: 900; line-height: 1.25; letter-spacing: 0; }
.feature-card h2 { font-size: 0.95rem; }
.tag {
  display: inline-flex;
  border: 2px solid var(--sky-300);
  border-radius: 0.375rem;
  background: var(--sky-50);
  padding: 0.1rem 0.4rem;
  color: var(--sky-700);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.tag.flat { border: 0; background: var(--sky-100); }
.rating { color: var(--amber-500); font-size: 0.75rem; font-weight: 800; }
.muted { color: var(--slate-600); }

.cover {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 18%, rgba(255, 255, 255, 0.55), transparent 26%),
    linear-gradient(145deg, hsl(var(--hue) 88% 64%), hsl(calc(var(--hue) + 38) 72% 36%));
}
.cover::before,
.cover::after {
  content: "";
  position: absolute;
  border: 3px solid rgba(15, 23, 42, 0.85);
}
.cover[data-motif="0"]::before {
  width: 42%;
  height: 46%;
  left: 8%;
  bottom: 12%;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.28);
  transform: rotate(-8deg);
}
.cover[data-motif="0"]::after {
  width: 28%;
  aspect-ratio: 1;
  right: 10%;
  top: 16%;
  border-radius: 50%;
  background: var(--amber-300);
}
.cover[data-motif="1"]::before {
  width: 0;
  height: 0;
  left: 12%;
  bottom: 16%;
  border: 0;
  border-left: 42px solid transparent;
  border-right: 42px solid transparent;
  border-bottom: 72px solid rgba(255, 255, 255, 0.75);
}
.cover[data-motif="1"]::after {
  width: 34%;
  height: 18%;
  right: 8%;
  bottom: 18%;
  border-radius: 999px;
  background: var(--ink);
}
.cover[data-motif="2"]::before {
  inset: 18% 16%;
  border-radius: 1.2rem;
  background:
    linear-gradient(rgba(15, 23, 42, 0.2) 2px, transparent 2px) 0 0 / 100% 22%,
    rgba(255, 255, 255, 0.3);
}
.cover[data-motif="2"]::after {
  width: 22%;
  aspect-ratio: 1;
  left: 14%;
  top: 14%;
  background: #fff;
  transform: rotate(18deg);
}
.cover[data-motif="3"]::before {
  width: 70%;
  height: 28%;
  left: -8%;
  bottom: 22%;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.28);
  transform: rotate(-12deg);
}
.cover[data-motif="3"]::after {
  width: 18%;
  aspect-ratio: 1;
  right: 18%;
  top: 22%;
  border-radius: 0.4rem;
  background: var(--lime-300);
  box-shadow: 22px 16px 0 rgba(255, 255, 255, 0.7);
}
.cover[data-motif="4"]::before {
  width: 46%;
  height: 58%;
  right: 8%;
  bottom: 0;
  border-bottom: 0;
  border-radius: 1.4rem 1.4rem 0 0;
  background: rgba(255, 255, 255, 0.32);
}
.cover[data-motif="4"]::after {
  width: 16%;
  aspect-ratio: 1;
  left: 16%;
  top: 20%;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 28px 0 rgba(15, 23, 42, 0.55);
}
.feature-card .cover { border-bottom: 2px solid var(--ink); }
.cover.is-photo::before,
.cover.is-photo::after { display: none; }
.cover-img {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.play-frame {
  width: 100%;
  height: 100%;
  border: 0;
  background: #fff;
}
.cover-mark {
  position: absolute;
  left: 0.6rem;
  bottom: 0.45rem;
  z-index: 1;
  color: #fff;
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-shadow: 2px 2px 0 var(--ink);
}
.cat-name {
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.badge-float {
  position: absolute;
  top: 0.45rem;
  right: 0.45rem;
  z-index: 1;
  border: 2px solid var(--ink);
  border-radius: 0.375rem;
  background: var(--amber-300);
  padding: 0.15rem 0.4rem;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow: 2px 2px 0 var(--ink);
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.kicker {
  display: inline-block;
  border: 2px solid var(--ink);
  border-radius: 0.375rem;
  background: var(--amber-300);
  padding: 0.25rem 0.45rem;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  box-shadow: 2px 2px 0 var(--ink);
}
.section-head h2,
.dash-copy h2,
.block-title h2 {
  margin: 0.7rem 0 0;
  font-size: 1.6rem;
  font-weight: 900;
  letter-spacing: 0;
}
.eyebrow {
  margin: 0;
  color: var(--sky-700);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.live-pill {
  display: none;
  border-radius: 999px;
  background: var(--sky-600);
  color: #fff;
  padding: 0.25rem 0.7rem;
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.fresh-card {
  display: grid;
  grid-template-columns: 7rem 1fr;
  border-color: var(--sky-300);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--sky-hard);
}
.fresh-card:hover { transform: translateY(-2px); }
.fresh-card .cover {
  height: 100%;
  min-height: 7rem;
  aspect-ratio: auto;
  border-right: 2px solid var(--sky-300);
}
.fresh-card .card-body { min-width: 0; padding: 0.75rem; }
.fresh-card h3 { font-size: 1rem; }
.clamp {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0.45rem 0 0;
  color: var(--slate-600);
  font-size: 0.8rem;
  line-height: 1.45;
}
.meta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem; }

.dashboard {
  border: 2px solid var(--ink);
  border-radius: 1.5rem;
  background: var(--sky-100);
  padding: 1rem;
  box-shadow: var(--hard-lg);
}
.dash-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1.1rem;
}
.dash-chips { display: flex; gap: 0.45rem; }
.chip {
  border: 2px solid var(--ink);
  border-radius: 0.5rem;
  background: #fff;
  padding: 0.45rem 0.7rem;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.chip.lime { background: var(--lime-300); }
.pick-card {
  position: relative;
  border-radius: 0.75rem;
  padding: 0.75rem;
  box-shadow: none;
}
.pick-card:hover { background: var(--sky-50); box-shadow: 3px 3px 0 var(--sky-600); }
.pick-card .cover { border: 2px solid var(--ink); border-radius: 0.5rem; }
.rank {
  position: absolute;
  top: 0.45rem;
  right: 0.45rem;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 1.75rem;
  height: 1.75rem;
  border: 2px solid var(--ink);
  border-radius: 0.375rem;
  background: var(--amber-300);
  font-size: 0.75rem;
  font-weight: 900;
}
.pick-foot, .split {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-top: 0.45rem;
  font-size: 0.75rem;
  font-weight: 800;
}
.pick-foot span:first-child, .cat-name { color: var(--sky-700); }

.block-title {
  margin-bottom: 1.4rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--sky-300);
}
.block-title h2 { margin-top: 0.25rem; }
.catalog-card {
  display: flex;
  gap: 0.75rem;
  border-color: var(--sky-200);
  border-radius: 1rem;
  padding: 0.75rem;
  box-shadow: none;
}
.catalog-card:hover { box-shadow: 4px 4px 0 var(--sky-200); transform: translateY(-2px); }
.thumb {
  width: 6rem;
  height: 5rem;
  flex: none;
  overflow: hidden;
  border: 2px solid var(--ink);
  border-radius: 0.75rem;
  background: var(--sky-50);
}
.thumb .cover { width: 100%; height: 100%; aspect-ratio: auto; }
.thumb .cover-mark { font-size: 0.85rem; left: 0.35rem; bottom: 0.2rem; }
.catalog-card .card-body { min-width: 0; padding: 0.15rem 0; }
.catalog-card h3 { margin-top: 0.2rem; font-size: 0.92rem; }
.soft { margin: 0.25rem 0 0; color: var(--slate-500); font-size: 0.75rem; font-weight: 800; }

.game-hero {
  overflow: hidden;
  border: 2px solid var(--ink);
  border-radius: 1.5rem;
  background: #fff;
  box-shadow: 7px 7px 0 var(--sky-600);
}
.game-grid { display: grid; }
.game-visual { position: relative; min-height: 16rem; border-bottom: 2px solid var(--ink); background: var(--sky-100); }
.game-visual .cover { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; }
.game-copy { display: flex; flex-direction: column; justify-content: center; padding: 1.25rem; }
.online {
  border-radius: 0.375rem;
  background: var(--lime-300);
  padding: 0.25rem 0.45rem;
  color: var(--ink);
  font-size: 0.75rem;
  font-weight: 900;
}
.game-copy h1 {
  margin: 1.1rem 0 0;
  font-size: 1.9rem;
  line-height: 1.15;
  font-weight: 900;
}
.game-copy .blurb {
  max-height: 11rem;
  overflow: auto;
  margin: 0.9rem 0 0;
  color: var(--slate-600);
  font-size: 0.95rem;
  line-height: 1.7;
}
.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.4rem;
  margin-top: 1.4rem;
  border-top: 2px solid var(--sky-200);
  border-bottom: 2px solid var(--sky-200);
  padding: 0.9rem 0;
  text-align: center;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--slate-700);
}
.stat-row strong { display: block; font-size: 1.05rem; letter-spacing: 0; text-transform: none; }
.stat-row div:nth-child(2) { border-left: 2px solid var(--sky-200); border-right: 2px solid var(--sky-200); }
.stat-row .amber { color: var(--amber-500); }
.stat-row .sky { color: var(--sky-600); }
.stat-row .lime { color: var(--lime-600); }
.play-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  margin-top: 1.4rem;
  border: 2px solid var(--ink);
  border-radius: 0.75rem;
  background: var(--sky-500);
  color: #fff;
  padding: 0.95rem 1.4rem;
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: var(--hard);
  cursor: pointer;
}
.play-btn:hover { transform: translateY(-3px); background: var(--sky-600); box-shadow: var(--hard-lg); }
.play-btn:focus-visible { outline: 4px solid #97BB96; }

.player {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  padding: 0.5rem;
  background: rgba(2, 6, 23, 0.95);
}
.player.is-open { display: block; }
.player-shell {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  max-width: var(--max);
  margin: 0 auto;
  overflow: hidden;
  border: 2px solid var(--sky-300);
  border-radius: 1rem;
  background: var(--slate-900);
  box-shadow: 0 0 30px rgba(10, 167, 96, 0.45);
}
.player-bar {
  position: relative;
  display: flex;
  align-items: center;
  height: 3.5rem;
  flex: none;
  border-bottom: 2px solid var(--sky-500);
  background: var(--slate-950);
  padding: 0 0.75rem;
}
.icon-btn {
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border: 2px solid var(--sky-300);
  border-radius: 0.5rem;
  background: var(--sky-500);
  color: #fff;
  font-weight: 900;
  cursor: pointer;
}
.icon-btn:hover { background: var(--sky-600); }
.player-title {
  margin: 0 0 0 0.75rem;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 900;
}
.running {
  display: none;
  margin-left: auto;
  border: 1px solid var(--lime-300);
  border-radius: 0.375rem;
  padding: 0.2rem 0.45rem;
  color: var(--lime-300);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.player-menu {
  position: absolute;
  top: 2.8rem;
  left: 0.75rem;
  z-index: 2;
  display: none;
  width: 11rem;
  border: 2px solid var(--sky-300);
  border-radius: 0.75rem;
  background: #fff;
  padding: 0.45rem;
  box-shadow: 4px 4px 0 var(--sky-600);
}
.player-menu.is-open { display: block; }
.player-menu button,
.player-menu a {
  display: block;
  width: 100%;
  border: 0;
  border-radius: 0.5rem;
  background: transparent;
  padding: 0.5rem 0.7rem;
  color: var(--ink);
  font-size: 0.875rem;
  font-weight: 900;
  text-align: left;
  cursor: pointer;
}
.player-menu button:hover,
.player-menu a:hover { background: var(--sky-100); }
.stage {
  position: relative;
  flex: 1;
  min-height: 0;
  background:
    radial-gradient(circle at top, rgba(125, 211, 252, 0.25), transparent 40%),
    #063528;
  color: #fff;
  overflow: hidden;
}
.stage-help {
  position: absolute;
  left: 0.8rem;
  top: 0.8rem;
  z-index: 2;
  max-width: 16rem;
  border: 2px solid var(--ink);
  border-radius: 0.7rem;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  padding: 0.55rem 0.7rem;
  font-size: 0.8rem;
  font-weight: 800;
  box-shadow: 3px 3px 0 var(--ink);
}
.stage-score {
  position: absolute;
  right: 0.8rem;
  top: 0.8rem;
  z-index: 2;
  border: 2px solid var(--ink);
  border-radius: 0.7rem;
  background: var(--amber-300);
  color: var(--ink);
  padding: 0.4rem 0.65rem;
  font-weight: 900;
}
.play-canvas { width: 100%; height: 100%; display: block; touch-action: none; }
.memory-grid, .swatch-grid {
  display: grid;
  gap: 0.6rem;
  width: min(28rem, calc(100% - 2rem));
  margin: 5.5rem auto 0;
}
.memory-grid { grid-template-columns: repeat(4, 1fr); }
.swatch-grid { grid-template-columns: repeat(4, 1fr); width: min(22rem, calc(100% - 2rem)); }
.mem-card, .swatch, .target {
  border: 2px solid var(--ink);
  border-radius: 0.7rem;
  font-weight: 900;
  cursor: pointer;
}
.mem-card {
  aspect-ratio: 1;
  background: var(--sky-500);
  color: transparent;
  font-size: 1.4rem;
  box-shadow: 3px 3px 0 #063528;
}
.mem-card.is-open, .mem-card.is-matched { color: var(--ink); background: #fff; }
.mem-card:disabled { cursor: default; }
.target-field { position: absolute; inset: 0; }
.target {
  position: absolute;
  display: grid;
  place-items: center;
  width: 4.2rem;
  height: 4.2rem;
  border-radius: 999px;
  background: var(--amber-300);
  color: var(--ink);
  font-size: 1.1rem;
  box-shadow: 3px 3px 0 #063528;
}
.palette-target { display: flex; justify-content: center; gap: 0.6rem; margin-top: 5.2rem; }
.dot {
  width: 2.4rem;
  height: 2.4rem;
  border: 2px solid var(--ink);
  border-radius: 999px;
}
.swatch { aspect-ratio: 1; }
.timing-wrap { width: min(32rem, calc(100% - 2rem)); margin: 7rem auto 0; }
.timing-track {
  position: relative;
  height: 2.4rem;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.15);
  overflow: hidden;
}
.timing-zone {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 41%;
  width: 18%;
  background: var(--lime-300);
}
.timing-knob {
  position: absolute;
  top: 0.2rem;
  width: 1.5rem;
  height: 1.9rem;
  border: 2px solid var(--ink);
  border-radius: 0.4rem;
  background: #fff;
}
.timing-btn {
  display: block;
  width: 100%;
  margin-top: 1rem;
  border: 2px solid var(--ink);
  border-radius: 0.8rem;
  background: var(--sky-500);
  color: #fff;
  padding: 0.9rem;
  font-size: 1rem;
  font-weight: 900;
  cursor: pointer;
}
.result-card {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(2, 6, 23, 0.55);
}
.result-card div {
  border: 2px solid var(--ink);
  border-radius: 1rem;
  background: #fff;
  color: var(--ink);
  padding: 1.3rem 1.5rem;
  text-align: center;
  box-shadow: var(--hard);
}
.result-card button {
  margin-top: 0.8rem;
  border: 2px solid var(--ink);
  border-radius: 0.6rem;
  background: var(--amber-300);
  padding: 0.45rem 0.8rem;
  font-weight: 900;
  cursor: pointer;
}

.search-status { text-align: center; padding: 3rem 1rem 1rem; }
.search-status .mark {
  display: grid;
  place-items: center;
  width: 3.5rem;
  height: 3.5rem;
  margin: 0 auto;
  border: 2px solid var(--ink);
  border-radius: 1rem;
  background: var(--sky-100);
  font-size: 1.5rem;
  box-shadow: 3px 3px 0 var(--ink);
}
.search-status h2 { margin: 1rem 0 0; font-size: 1.25rem; }
.search-status p { margin: 0.4rem 0 0; color: var(--slate-600); font-size: 0.9rem; }
.page-lead { margin: 0 0 1rem; }
.page-lead h1 { margin: 0.4rem 0 0; font-size: 2rem; font-weight: 900; }

.legal {
  border: 2px solid var(--ink);
  border-radius: 1.5rem;
  background: #fff;
  padding: 1.4rem 1.2rem 1.6rem;
  box-shadow: var(--hard-lg);
}
.legal h1 { margin: 0.35rem 0 0; font-size: 2rem; }
.legal p, .legal li { color: var(--slate-600); line-height: 1.7; }
.legal h2 { margin: 1.4rem 0 0.3rem; font-size: 1.05rem; }

.site-footer {
  margin-top: 4rem;
  border-top: 4px solid var(--sky-500);
  background: var(--slate-950);
  color: #fff;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: var(--max);
  margin: 0 auto;
  padding: 2.5rem 1.25rem;
}
.footer-brand { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 1.25rem; font-weight: 900; letter-spacing: 0.08em; text-transform: uppercase; }
.footer-brand .brand-mark { border-color: var(--sky-300); box-shadow: 2px 2px 0 var(--sky-300); }
.footer-copy { max-width: 28rem; margin: 0.8rem 0 0; color: #cbd5e1; font-size: 0.9rem; line-height: 1.6; }
.legal-nav { display: flex; flex-wrap: wrap; gap: 0.4rem 1.2rem; }
.legal-nav a { color: #97BB96; font-size: 0.9rem; font-weight: 800; }
.legal-nav a:hover { color: #fff; }
.copy { margin: 0.9rem 0 0; color: var(--slate-400); font-size: 0.75rem; }
.empty-note { padding: 2rem 0; font-weight: 800; }

@media (min-width: 640px) {
  .site-header { padding-left: 1.25rem; padding-right: 1.25rem; }
  .header-row { padding: 0 1.25rem; }
  .wrap { padding-left: 1.25rem; padding-right: 1.25rem; }
  .feature-grid { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
  .fresh-card { grid-template-columns: 11rem 1fr; }
  .fresh-card .card-body { padding: 1.15rem; }
  .fresh-card h3 { font-size: 1.125rem; }
  .clamp { font-size: 0.92rem; }
  .section-head h2, .dash-copy h2, .block-title h2 { font-size: 1.85rem; }
  .live-pill { display: inline-block; }
  .catalog-grid { grid-template-columns: 1fr 1fr; }
  .dashboard { padding: 1.7rem; }
  .category-grid { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
  .feature-card h2 { font-size: 1rem; }
  .game-copy { padding: 2rem; }
  .game-copy h1 { font-size: 2.2rem; }
  .running { display: inline-block; }
  .footer-inner { flex-direction: row; align-items: flex-end; justify-content: space-between; }
  .footer-side { text-align: right; }
  .legal-nav { justify-content: flex-end; }
  .player { padding: 1.25rem; }
}

@media (min-width: 768px) {
  .pick-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 1023px) {
  .nav { display: none !important; }
  .menu-button { display: grid !important; }
}
@media (min-width: 1024px) {
  .nav { display: flex; }
  .menu-button, .mobile-panel { display: none !important; }
  .feature-grid, .category-grid { grid-template-columns: repeat(4, 1fr); }
  .related-grid { grid-template-columns: repeat(5, 1fr); }
  .catalog-grid { grid-template-columns: repeat(3, 1fr); }
  .fresh-grid { grid-template-columns: 1fr 1fr; }
  .game-grid { grid-template-columns: minmax(0, 1.05fr) minmax(22rem, 0.95fr); }
  .game-visual { min-height: 30rem; border-bottom: 0; border-right: 2px solid var(--ink); }
}

@media (min-width: 1280px) {
  .category-grid { grid-template-columns: repeat(5, 1fr); }
  .catalog-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}

.adv {
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
.adv > p {
  width: 100%;
  text-align: center;
  font-size: 17px;
  margin: 10px 0;
}
