:root {
  --bg:      oklch(98% 0.005 250);
  --surface: oklch(100% 0 0);
  --fg:      oklch(22% 0.02 240);
  --muted:   oklch(50% 0.018 240);
  --border:  oklch(90% 0.008 240);
  --accent:  oklch(58% 0.16 145);

  --link:    oklch(44% 0.13 145);
  --ok:      oklch(58% 0.16 145);
  --warn:    oklch(62% 0.14 75);
  --danger:  oklch(54% 0.19 25);

  --accent-soft: color-mix(in oklch, var(--accent) 12%, transparent);
  --accent-line: color-mix(in oklch, var(--accent) 34%, var(--border));
  --fg-soft:     color-mix(in oklch, var(--fg) 5%, transparent);
  --grid-line:   color-mix(in oklch, var(--border) 55%, transparent);
  --ok-soft:     color-mix(in oklch, var(--ok) 12%, transparent);
  --warn-soft:   color-mix(in oklch, var(--warn) 14%, var(--surface));
  --danger-soft: color-mix(in oklch, var(--danger) 10%, var(--surface));
  --accent-fill: color-mix(in oklch, var(--accent) 74%, black);
  --accent-fill-hover: color-mix(in oklch, var(--accent) 62%, black);

  --font-display: -apple-system, BlinkMacSystemFont, 'Inter', 'Segoe UI', system-ui, sans-serif;
  --font-body:    -apple-system, BlinkMacSystemFont, 'Inter', 'Segoe UI', system-ui, sans-serif;
  --font-mono:    'JetBrains Mono', 'IBM Plex Mono', ui-monospace, Menlo, monospace;

  --fs-h1: clamp(34px, 4.8vw, 58px);
  --fs-h2: clamp(26px, 3.2vw, 38px);
  --fs-h3: 20px;
  --fs-lead: 18px;
  --fs-body: 16px;
  --fs-meta: 12.5px;

  --gap-xs: 8px;
  --gap-sm: 12px;
  --gap-md: 20px;
  --gap-lg: 32px;
  --gap-xl: 56px;
  --gap-2xl: 84px;
  --container: 1120px;
  --gutter: 28px;
  --radius: 8px;
  --radius-lg: 12px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
p { text-wrap: pretty; }
h1, h2, h3, h4 { text-wrap: balance; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--link); outline-offset: 2px; border-radius: 4px; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--fg); color: var(--surface);
  padding: 10px 16px; border-radius: 6px; z-index: 300;
}
.skip-link:focus { left: 12px; top: 12px; }

.container { max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(44px, 7vw, var(--gap-2xl)); }
.section + .section { border-top: 1px solid var(--border); }
.stack { display: flex; flex-direction: column; }
.stack > * + * { margin-top: var(--gap-md); }
.row { display: flex; align-items: center; gap: var(--gap-md); }
.row-between { display: flex; align-items: center; justify-content: space-between; gap: var(--gap-md); }
.row-wrap { display: flex; flex-wrap: wrap; align-items: center; gap: var(--gap-sm); }
.grid-2, .grid-3, .grid-4, .grid-2-1, .grid-1-2 { display: grid; gap: var(--gap-lg); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); gap: var(--gap-md); }
.grid-2-1 { grid-template-columns: 1.7fr 1fr; gap: var(--gap-xl); align-items: start; }
.grid-1-2 { grid-template-columns: 1fr 2fr; gap: var(--gap-xl); align-items: start; }
.grid-1-3 { grid-template-columns: minmax(180px, 0.85fr) 2.6fr; gap: var(--gap-xl); align-items: start; }

.h1, h1 { font-family: var(--font-display); font-size: var(--fs-h1); line-height: 1.05; letter-spacing: -0.025em; font-weight: 700; margin: 0; }
.h2, h2 { font-family: var(--font-display); font-size: var(--fs-h2); line-height: 1.12; letter-spacing: -0.02em; font-weight: 700; margin: 0; }
.h3, h3 { font-size: var(--fs-h3); line-height: 1.3; letter-spacing: -0.01em; font-weight: 650; margin: 0; }
.lead { font-size: var(--fs-lead); line-height: 1.58; color: var(--muted); max-width: 62ch; margin: 0; }
.eyebrow {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--muted); margin: 0 0 var(--gap-md);
}
.eyebrow-accent { color: var(--accent); }
.meta { font-family: var(--font-mono); font-size: var(--fs-meta); color: var(--muted); letter-spacing: 0.01em; }
.num { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
.muted { color: var(--muted); }
.accent { color: var(--accent); }
.measure { max-width: 66ch; }
.center { text-align: center; }
.mt-lg { margin-top: var(--gap-lg); }
.mt-md { margin-top: var(--gap-md); }
.mt-xl { margin-top: var(--gap-xl); }

.topnav {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in oklch, var(--bg) 88%, transparent);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.topnav-inner { display: flex; align-items: center; gap: var(--gap-lg); padding-block: 11px; position: relative; }
.brand { display: inline-flex; align-items: center; gap: 9px; font-family: var(--font-display); font-size: 19px; font-weight: 700; letter-spacing: -0.02em; }
.brand-mark { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 7px; background: var(--fg); color: var(--surface); }
.brand-mark svg { width: 16px; height: 16px; }
.brand .tag33 { font-family: var(--font-mono); font-weight: 500; color: var(--muted); font-size: 13px; letter-spacing: 0.02em; }
.nav-links { display: flex; gap: 22px; margin-left: auto; }
.nav-links a { font-size: 14px; color: var(--muted); }
.nav-links a:hover { color: var(--fg); }
.nav-links a[aria-current="page"] { color: var(--fg); font-weight: 600; }
.nav-cta { flex: none; }
.nav-toggle {
  display: none; margin-left: auto; align-items: center; justify-content: center;
  width: 42px; height: 42px; border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--surface); color: var(--fg);
}
.nav-toggle svg { width: 20px; height: 20px; }

.pagefoot { border-top: 1px solid var(--border); padding-block: var(--gap-xl) 36px; margin-top: var(--gap-2xl); }
.foot-grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr; gap: var(--gap-lg); }
.foot-col h3 { font-family: var(--font-mono); font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin: 0 0 14px; }
.foot-col a { display: block; font-size: 14px; color: var(--muted); padding: 5px 0; }
.foot-col a:hover { color: var(--fg); }
.foot-blurb { font-size: 14px; color: var(--muted); max-width: 34ch; margin: 14px 0 0; }
.foot-bottom { margin-top: var(--gap-xl); padding-top: var(--gap-md); border-top: 1px solid var(--border); display: flex; justify-content: space-between; gap: var(--gap-md); flex-wrap: wrap; color: var(--muted); font-size: 13px; }
.foot-bottom .row { gap: var(--gap-md); }
.foot-fine { font-size: 12.5px; color: var(--muted); margin: var(--gap-md) 0 0; max-width: 90ch; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 20px; border-radius: var(--radius); border: 1px solid transparent;
  font-size: 15px; font-weight: 550; letter-spacing: -0.005em;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.05s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent-fill); color: var(--surface); border-color: var(--accent-fill); }
.btn-primary:hover { background: var(--accent-fill-hover); border-color: var(--accent-fill-hover); }
.btn-secondary { background: var(--surface); color: var(--fg); border-color: var(--border); }
.btn-secondary:hover { border-color: var(--fg); background: var(--fg-soft); }
.btn-dark { background: var(--fg); color: var(--surface); border-color: var(--fg); }
.btn-dark:hover { background: color-mix(in oklch, var(--fg) 84%, black); border-color: color-mix(in oklch, var(--fg) 84%, black); }
.btn-ghost { background: transparent; color: var(--fg); border-color: transparent; padding-inline: 6px; }
.btn-ghost:hover { color: var(--link); }
.btn-arrow::after { content: '\2192'; transition: transform 0.15s ease; }
.btn-arrow:hover::after { transform: translateX(3px); }
.btn-block { width: 100%; }

.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 26px; color: var(--fg); }
.card:hover { border-color: color-mix(in oklch, var(--fg) 22%, var(--border)); }
a.card { display: block; }
.card-flat { background: transparent; border: 0; padding: 0; border-radius: 0; }
.card-rule { background: transparent; border: 0; border-top: 1px solid var(--fg); padding: 20px 0 0; border-radius: 0; }

.feature .feature-mark {
  width: 38px; height: 38px; display: grid; place-items: center;
  border: 1px solid var(--border); border-radius: 9px; color: var(--fg); margin-bottom: var(--gap-md);
}
.feature .feature-mark svg { width: 18px; height: 18px; }
.feature h3 { margin-bottom: 8px; }
.feature p { margin: 0; color: var(--muted); font-size: 15px; }

.stat .stat-num { font-family: var(--font-mono); font-variant-numeric: tabular-nums; font-size: clamp(30px, 3.6vw, 44px); line-height: 1; letter-spacing: -0.02em; color: var(--fg); font-weight: 600; }
.stat .stat-label { color: var(--muted); font-size: 14px; margin-top: 10px; max-width: 30ch; }
.stat .stat-unit { font-size: 0.55em; color: var(--muted); margin-left: 2px; }

.quote { font-family: var(--font-display); font-size: clamp(22px, 2.4vw, 30px); line-height: 1.3; letter-spacing: -0.015em; max-width: 30ch; margin: 0; }
.quote-author { color: var(--muted); font-size: 14px; margin-top: var(--gap-md); }

.pill {
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px;
  background: var(--accent-soft); color: var(--link); border-radius: 999px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.04em; text-transform: uppercase;
}
.tag { display: inline-flex; align-items: center; padding: 4px 10px; background: transparent; color: var(--muted); border: 1px solid var(--border); border-radius: 999px; font-size: 12px; }
.tag-accent { color: var(--link); border-color: var(--accent-line); background: var(--accent-soft); }
.status { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.05em; text-transform: uppercase; padding: 3px 9px; border-radius: 999px; border: 1px solid var(--border); color: var(--muted); }
.status::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.status-ok { color: var(--ok); background: var(--ok-soft); border-color: color-mix(in oklch, var(--ok) 32%, transparent); }
.status-warn { color: color-mix(in oklch, var(--warn) 78%, black); background: var(--warn-soft); border-color: color-mix(in oklch, var(--warn) 40%, transparent); }
.status-muted { color: var(--muted); }

.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 13px; color: var(--muted); font-weight: 500; }
.field .hint { font-size: 12.5px; color: var(--muted); }
.input, .textarea, .select {
  width: 100%; padding: 11px 14px; border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--surface); color: var(--fg); font: inherit; font-size: 15px;
}
.input::placeholder, .textarea::placeholder { color: color-mix(in oklch, var(--muted) 70%, transparent); }
.input:focus, .textarea:focus, .select:focus { outline: 2px solid var(--accent-line); outline-offset: 0; border-color: var(--link); }
.textarea { min-height: 120px; resize: vertical; line-height: 1.55; }
.input-row { display: flex; gap: 8px; align-items: stretch; }
.input-row .input { flex: 1; }
.check { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--muted); }
.check input { margin-top: 3px; width: 16px; height: 16px; accent-color: var(--accent-fill); flex: none; }
.field-error { font-size: 12.5px; color: var(--danger); min-height: 0; }

.table-wrap { width: 100%; overflow-x: auto; }
.ds-table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 560px; }
.ds-table th, .ds-table td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--border); vertical-align: top; }
.ds-table th { color: var(--muted); font-weight: 600; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.06em; text-transform: uppercase; white-space: nowrap; }
.ds-table tbody tr:hover { background: var(--fg-soft); }
.ds-table .num-col { font-family: var(--font-mono); font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap; }
.ds-table tbody tr:last-child td { border-bottom: 0; }
.ds-table caption { caption-side: bottom; text-align: left; padding-top: 10px; font-size: 12.5px; color: var(--muted); }

.content-img { display: block; width: 100%; height: auto; border-radius: var(--radius-lg); border: 1px solid var(--border); }
.rule { border: 0; border-top: 1px solid var(--border); margin: 0; }
.rule-strong { border: 0; border-top: 1px solid var(--fg); margin: 0; }

.hero { padding-block: clamp(52px, 8vw, 104px); position: relative; }
.hero-grid-bg::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(var(--grid-line) 1px, transparent 1px), linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, black, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, black, transparent 78%);
}
.hero > .container { position: relative; }
.hero h1 { margin-bottom: var(--gap-md); }
.hero .lead { margin-bottom: var(--gap-lg); }
.hero-cta { display: inline-flex; gap: var(--gap-sm); flex-wrap: wrap; }
.hero-center { text-align: center; max-width: 40ch; margin-inline: auto; }
.hero-center .hero-cta { justify-content: center; }
.hero-center .lead { margin-inline: auto; }
.hero-split { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }

.console { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.console-head { display: flex; align-items: center; justify-content: space-between; gap: var(--gap-sm); padding: 13px 18px; border-bottom: 1px solid var(--border); }
.console-head .meta { color: var(--fg); letter-spacing: 0.06em; text-transform: uppercase; font-size: 11.5px; }
.console-body { padding: 22px; }
.console-body .stack > * + * { margin-top: 16px; }
.console-foot { padding: 14px 18px; border-top: 1px solid var(--border); background: color-mix(in oklch, var(--bg) 60%, var(--surface)); }
.console-foot .meta { font-size: 11.5px; }
.console-note { margin: 0; color: var(--muted); font-size: 14.5px; }
.console-actions { display: grid; gap: 10px; margin-top: 20px; }
.console-checks { margin-top: 22px; }

.steps { display: grid; gap: 0; }
.step { display: grid; grid-template-columns: 46px 1fr; gap: var(--gap-md); padding: 22px 0; border-top: 1px solid var(--border); }
.step:last-child { border-bottom: 1px solid var(--border); }
.step-num { font-family: var(--font-mono); font-size: 13px; color: var(--muted); padding-top: 3px; }
.step h3 { font-size: 18px; margin-bottom: 6px; }
.step p { margin: 0; color: var(--muted); font-size: 15px; max-width: 66ch; }

.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.check-list li { position: relative; padding-left: 30px; font-size: 15px; color: var(--fg); }
.check-list li::before {
  content: ''; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--ok-soft); border: 1px solid color-mix(in oklch, var(--ok) 40%, transparent);
}
.check-list li::after {
  content: ''; position: absolute; left: 5px; top: 8px; width: 8px; height: 4px;
  border-left: 1.6px solid var(--link); border-bottom: 1.6px solid var(--link); transform: rotate(-45deg);
}
.check-list li span { color: var(--muted); }

.accordion { border-top: 1px solid var(--border); }
.accordion details { border-bottom: 1px solid var(--border); }
.accordion summary {
  list-style: none; cursor: pointer; padding: 18px 40px 18px 0; position: relative;
  font-weight: 600; font-size: 16.5px; line-height: 1.4;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after {
  content: '+'; position: absolute; right: 4px; top: 16px;
  font-family: var(--font-mono); color: var(--muted); font-size: 20px; line-height: 1;
}
.accordion details[open] summary::after { content: '\2013'; }
.accordion summary:hover { color: var(--link); }
.accordion .acc-body { padding: 0 0 22px; color: var(--muted); max-width: 74ch; }
.accordion .acc-body p { margin: 0 0 12px; }
.accordion .acc-body p:last-child { margin-bottom: 0; }

.tabs { display: flex; gap: 4px; flex-wrap: wrap; border-bottom: 1px solid var(--border); margin-bottom: var(--gap-lg); }
.tab {
  background: none; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px;
  padding: 11px 16px; font-size: 14px; font-weight: 550; color: var(--muted);
}
.tab:hover { color: var(--fg); }
.tab[aria-pressed="true"] { color: var(--fg); border-bottom-color: var(--fg); }
.tab .count { font-family: var(--font-mono); font-size: 12px; color: var(--muted); margin-left: 4px; }

.game-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap-lg); }
.game-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; }
.game-card img { width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; }
.game-card .gc-body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.game-card h3 { font-size: 17px; }
.game-card p { margin: 0; color: var(--muted); font-size: 14px; }
.game-card .gc-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 10px; }
.game-card .card-meta { margin-top: 12px; font-size: 13px; font-family: var(--font-mono); }

.notice { border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 20px 22px; background: var(--surface); }
.notice h3 { font-size: 16px; margin-bottom: 8px; }
.notice p { margin: 0; color: var(--muted); font-size: 14.5px; max-width: 72ch; }
.notice p + p { margin-top: 10px; }
.notice-warn { border-color: color-mix(in oklch, var(--warn) 42%, var(--border)); background: var(--warn-soft); }

.panel { border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 26px 24px; background: var(--surface); box-shadow: 0 1px 2px color-mix(in oklch, var(--fg) 6%, transparent); }
.panel h2 { font-size: 22px; }
.panel .check-list { margin-top: 18px; }
.panel-note { margin: 14px 0 0; color: var(--muted); font-size: 14px; max-width: 70ch; }
.notice-danger { border-color: color-mix(in oklch, var(--danger) 34%, var(--border)); background: var(--danger-soft); }

.prose { max-width: 70ch; }
.prose > * + * { margin-top: 14px; }
.prose h2 { margin-top: 40px; }
.prose h3 { margin-top: 26px; }
.prose p { margin: 0; }
.prose ul, .prose ol { margin: 0; padding-left: 22px; }
.prose li { margin-bottom: 8px; }
.prose a { color: var(--link); text-decoration: underline; text-underline-offset: 2px; text-decoration-thickness: 1px; }
.prose a:hover { color: var(--fg); }
.prose strong { font-weight: 650; }
.prose code { font-family: var(--font-mono); font-size: 0.92em; background: var(--fg-soft); padding: 1px 6px; border-radius: 5px; }

.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-family: var(--font-mono); font-size: 12px; color: var(--muted); padding-top: var(--gap-md); }
.breadcrumbs a:hover { color: var(--fg); }
.breadcrumbs span[aria-hidden] { color: color-mix(in oklch, var(--muted) 55%, transparent); }

.kv { display: grid; grid-template-columns: max-content 1fr; gap: 10px var(--gap-lg); font-size: 14.5px; margin: 0; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; font-family: var(--font-mono); font-variant-numeric: tabular-nums; }

.band { background: var(--fg); color: var(--surface); }
.band .h2, .band h2 { color: var(--surface); }
.band .lead { color: color-mix(in oklch, var(--surface) 74%, transparent); }
.band .eyebrow { color: color-mix(in oklch, var(--surface) 66%, transparent); }
.band .btn-secondary { background: transparent; color: var(--surface); border-color: color-mix(in oklch, var(--surface) 34%, transparent); }
.band .btn-secondary:hover { background: color-mix(in oklch, var(--surface) 12%, transparent); border-color: var(--surface); }

.floating-cta { position: fixed; right: 20px; bottom: 20px; z-index: 150; }
.floating-cta a {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--fg); color: var(--surface);
  padding: 13px 20px; border-radius: 999px; font-size: 14px; font-weight: 600;
  box-shadow: 0 14px 34px -14px color-mix(in oklch, var(--fg) 70%, transparent);
}
.floating-cta a:hover { background: color-mix(in oklch, var(--fg) 82%, black); }
.floating-cta svg { width: 17px; height: 17px; }

.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--gap-md); margin-bottom: var(--gap-lg); flex-wrap: wrap; }
.section-head > div { max-width: 54ch; }
.section-head h2 { margin-top: 2px; }

.cat-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 var(--gap-xl); }
.cat-item { display: grid; grid-template-columns: 56px 1fr; gap: 16px; align-items: start; padding: 20px 0; border-top: 1px solid var(--border); }
.cat-item img { width: 56px; height: 56px; border-radius: 10px; object-fit: cover; }
.cat-item h3 { font-size: 16px; margin-bottom: 4px; }
.cat-item p { margin: 0; color: var(--muted); font-size: 14px; }
.cat-item a { color: var(--link); text-decoration: underline; text-underline-offset: 2px; }
.cat-item a:hover { color: var(--fg); }
a.cat-item { color: var(--fg); }
a.cat-item:hover strong { color: var(--link); }
.cat-num { font-family: var(--font-mono); font-size: 13px; color: var(--accent); padding-top: 2px; }
.cat-sub { display: block; margin-top: 2px; font-size: 13px; color: var(--muted); }

.log-row { display: grid; grid-template-columns: 150px 1fr 120px; gap: var(--gap-lg); padding: 20px 0; border-top: 1px solid var(--border); align-items: baseline; }
.log-row h3 { font-size: 18px; }
.log-row p { margin: 5px 0 0; color: var(--muted); font-size: 14px; }
.log-row .pull { text-align: right; }
.log-row:last-child { border-bottom: 1px solid var(--border); }

.card-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.card-tags .tag { font-size: 12px; }
.card-meta { font-size: 13px; color: var(--muted); margin-top: 12px; }

@media (max-width: 960px) {
  .grid-2, .grid-3, .grid-4, .grid-2-1, .grid-1-2, .hero-split, .game-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .log-row { grid-template-columns: 1fr; gap: 6px; }
  .log-row .pull { text-align: left; }
  .nav-toggle { display: inline-flex; }
  .nav-cta { display: none; }
  .js .nav-links { display: none; }
  .js .nav-links.open {
    display: flex; flex-direction: column; gap: 0;
    position: absolute; top: calc(100% + 1px); left: 0; right: 0;
    background: var(--surface); border-bottom: 1px solid var(--border);
    padding: 4px var(--gutter) 14px; margin: 0;
  }
  .js .nav-links.open a { padding: 13px 0; border-bottom: 1px solid var(--border); font-size: 16px; }
  .js .nav-links.open a:last-child { border-bottom: 0; }
}

@media (max-width: 600px) {
  .foot-grid { grid-template-columns: 1fr; }
  .cat-list { grid-template-columns: 1fr; }
  .hero { padding-block: 44px; }
  .floating-cta { left: 12px; right: 12px; bottom: 12px; }
  .floating-cta a { width: 100%; justify-content: center; }
  .card { padding: 20px; }
  .step { grid-template-columns: 34px 1fr; }
  .kv { grid-template-columns: 1fr; gap: 2px; }
  .kv dd { margin-bottom: 12px; }
}

.game-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 960px) {
  .game-grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .game-grid.cols-4, .game-grid.cols-2 { grid-template-columns: 1fr; }
}
