:root {
  --font-display: 'Baloo 2', 'Nunito', system-ui, sans-serif;
  --font-sans: 'Nunito', system-ui, -apple-system, sans-serif;
  --radius: 12px;
  --bg: #f3faf1;
  --surface: #ffffff;
  --text: #1b3420;
  --muted: #4b6950;
  --primary: #2a7f3f;
  --primary-hover: #216833;
  --accent: #f4c430;
  --border: #d5ebd2;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .06);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, .08);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body,
button,
input,
textarea {
  font-family: var(--font-sans);
}

body {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background-color: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1,
h2,
h3,
.brand,
.rule-num,
.count-pill {
  font-family: var(--font-display);
}

h1,
h2,
h3 {
  margin: 0 0 12px 0;
  color: var(--text);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 {
  font-size: 36px;
  font-weight: 700;
}

h2 {
  font-size: 28px;
  font-weight: 700;
}

h3 {
  font-size: 18px;
  font-weight: 600;
}

p {
  margin: 0 0 16px 0;
  max-width: 70ch;
}

p:last-child {
  margin-bottom: 0;
}

a {
  color: var(--primary);
  text-decoration: none;
}

a:hover {
  color: var(--primary-hover);
  text-decoration: underline;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 2px;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 12px 16px;
  background: var(--primary);
  color: var(--surface);
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius);
}

.skip-link:focus {
  left: 16px;
  top: 16px;
}

.embed-shell {
  min-height: 100vh;
  width: 100%;
  margin: 0;
  padding: 0;
}

/* Header & Coordinate Strip */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.coord-strip {
  background: var(--text);
  color: var(--border);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 4px 0;
}

.coord-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 12px;
  padding-bottom: 12px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
}

.brand:hover {
  color: var(--primary);
  text-decoration: none;
}

.brand-mark {
  d

isplay: inline-flex;
  align-items: center;
  justify-content: center;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.site-nav a {
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  padding: 8px 0;
}

.site-nav a:hover {
  color: var(--primary);
  text-decoration: none;
}

.nav-link-icon {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.nav-link-icon svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  transition: transform 0.15s ease;
}

.nav-link-icon:hover svg {
  transform: translateY(-1px);
}

/* Common UI Primitives */
.eyebrow {
  display: inline-block;
  margin-bottom: 8px;
  padding: 4px 12px;
  border-radius: var(--radius);
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--primary-hover);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 16px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.btn:hover {
  text-decoration: none;
}

.btn-primary {
  background: var(--primary);
  color: var(--surface);
  border-color: var(--primary);
  padding: 12px 24px;
  font-size: 16px;
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background: var(--primary-hover);
  border-color: var(--primary-hover);
  color: var(--surface);
}

.btn-ghost {
  background: var(--surface);
  color: var(--text);
  border-color: var(--border);
}

.btn-ghost:hover {
  background: var(--bg);
  border-color: var(--muted);
}

.btn-ghost[aria-pressed="true"] {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--surface);
}

.btn-link {
  background: transparent;
  border: 0;
  padding: 4px 8px;
  min-height: 44px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  cursor: pointer;
}

.btn-link:hover {
  color: var(--primary-hover);
  text-decoration: underline;
}

.count-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 8px;
  border-radius: var(--radius);
  background: var(--bg);
  color: var(--text);
  font-size: 12px;
  font-weight: 700;
}

/* Hero & Game Stage */
.hero-section {
  padding: 48px 0;
}

.hero-header {
  margin-bottom: 24px;
}

.hero-subtitle {
  font-size: 18px;
  color: var(--muted);
  max-width: 70ch;
}

.stage-shell

 {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.stage {
  position: relative;
  width: 100%;
  height: 660px;
  min-height: 660px;
  background: var(--bg);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  display: block;
  transition: height 0.25s ease;
}

.stage iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  border: 0;
  display: block;
  background: var(--bg);
  opacity: 0;
  transition: opacity 0.24s ease;
}

.stage[data-lf-ready="true"] iframe {
  opacity: 1;
}

.stage-cover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  padding: 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 32px;
  background: var(--surface);
  cursor: pointer;
}

.stage-cover[hidden],
.stage-loading[hidden] {
  display: none !important;
}

.stage[data-gf-state="loading"] .stage-cover,
.stage[data-gf-state="playing"] .stage-cover,
.stage[data-lf-booting="true"] .stage-cover,
.stage[data-lf-ready="true"] .stage-cover {
  display: none !important;
}

.cover-blueprint {
  display: flex;
  align-items: center;
  justify-content: center;
}

.cover-blueprint svg {
  width: 100%;
  max-width: 380px;
  height: auto;
}

.cover-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.mode-badge {
  display: inline-block;
  padding: 8px 12px;
  border-radius: var(--radius);
  background: var(--accent);
  border: 1px solid var(--accent);
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
}

.cover-caption {
  font-size: 16px;
  color: var(--muted);
  max-width: 48ch;
  margin: 0;
}

.stage-loading {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
  padding: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  background: var(--surface);
  text-align: center;
  opacity: 1;
  transition: opacity 0.24s ease;
}

.stage[data-lf-booting="true"] .stage-loading {
  display: flex !important;
  opacity: 1;
}

.stage[data-lf-ready="true"] .stage-loading {
  opacity: 0;
  pointer-events: none;
}

.stage[data-lf-ready="true"]:not([data-lf-booting="true"]) .stage-loading {
  display: none !important;
}

.loader-svg {
  display: block;
  width: 80px;
  height: 80px;
}

.loader-loop {
  stroke-dasharray: 160;
  stroke-dashoffset: 160;
  animation: loop-draw 1.4s ease-in-out infinite;
}

.loader-pulse {
  animation: loader-pulse 1.4s ease-in-out infinite;
}

@keyframes loop-draw {
  0% {
    stroke-dashoffset: 160;
  }
  50% {
    stroke-dashoffset: 0;
  }
  100% {
    stroke-dashoffset: -160;
  }
}

@keyframes loader-pulse {
  0%,
  100% {
    opacity: 0.35;
  }
  50

% {
    opacity: 1;
  }
}

.loading-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
  margin: 0;
}

.loading-sub {
  font-size: 16px;
  font-weight: 600;
  color: var(--muted);
  margin: 0;
  min-height: 24px;
}

.loading-bar {
  position: relative;
  width: 100%;
  max-width: 280px;
  height: 8px;
  border-radius: 999px;
  background: var(--bg);
  border: 1px solid var(--border);
  overflow: hidden;
}

.loading-bar-fill {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  display: block;
  width: 40%;
  border-radius: 999px;
  background: var(--primary);
  animation: loading-slide 1.2s ease-in-out infinite;
}

@keyframes loading-slide {
  0% {
    transform: translateX(-110%);
  }
  100% {
    transform: translateX(260%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .stage,
  .stage iframe,
  .stage-loading {
    transition: none;
  }

  .loader-loop {
    animation: none;
    stroke-dashoffset: 0;
  }

  .loader-pulse {
    animation: none;
    opacity: 1;
  }

  .loading-bar-fill {
    animation: none;
    width: 60%;
    transform: none;
  }
}

.stage-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.stage-actions-left,
.stage-actions-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.share-msg {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary-hover);
}

.hero-official {
  margin: 24px 0 0 0;
  padding: 16px 24px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  max-width: none;
}

/* Sections */
.section {
  padding: 64px 0;
}

.section-alt {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-head {
  margin-bottom: 32px;
}

.section-lead {
  font-size: 18px;
  color: var(--muted);
  max-width: 70ch;
}

/* Asymmetric 2-Col Overview */
.about-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 32px;
  align-items: start;
}

.about-copy p {
  color: var(--text);
}

.spec-card {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: var(--shadow-lg);
}

.spec-header h3 {
  font-size: 22px;
  margin: 0;
}

.spec-list {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.spec-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.spec-row:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.spec-row dt {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
}

.spec-row dd {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

.spe

c-diagram {
  display: flex;
  justify-content: center;
}

.spec-diagram svg {
  width: 100%;
  max-width: 240px;
  height: auto;
}

/* Numbered Blueprint Rule List */
.rules-list {
  list-style: none;
  margin: 0 0 24px 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.rule-row {
  display: grid;
  grid-template-columns: 64px 1fr 120px;
  align-items: center;
  gap: 24px;
  padding: 24px;
}

.rule-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--primary-hover);
  font-size: 18px;
  font-weight: 700;
}

.rule-body {
  min-width: 0;
}

.rule-body p {
  color: var(--muted);
  margin: 0;
}

.rule-svg svg {
  display: block;
  width: 120px;
  height: auto;
}

.controls-strip {
  padding: 16px 24px;
  background: var(--bg);
  border-color: var(--border);
  font-size: 14px;
  color: var(--text);
}

/* 2x2 Strategy Cards & Matrix Table */
.strategy-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-bottom: 48px;
}

.strategy-card {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.strategy-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.strategy-head h3 {
  margin: 0;
}

.strategy-card p {
  color: var(--muted);
  margin: 0;
}

.matrix-block h3 {
  font-size: 22px;
  margin-bottom: 16px;
}

.table-wrap {
  width: 100%;
  overflow-x: auto;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 14px;
}

.spec-table th,
.spec-table td {
  padding: 16px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

.spec-table th {
  background: var(--bg);
  color: var(--text);
  font-weight: 700;
}

.spec-table tbody tr:last-child td {
  border-bottom: 0;
}

/* FAQ Accordion */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  overflow: hidden;
}

.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 24px;
  cursor: pointer;
  list-style: none;
}

.faq-q::-webkit-details-marker {
  display: none;
}

.faq-q h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
}

.faq-chevron {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  border-right: 2px solid var(--primary);
  border-bottom: 2px solid var(--primary);
  transform: rotate(45deg);
  transition: transform 0.15s ease;
}

.faq-item[open] .faq-chevron {
  transform: rotate(-135deg);
}

.faq-a {
  padding: 0 24px 24px 24px;
  color: var(--muted);
}

/* Comments Section */
.comments-shell {
  padding: 32px;
  box-shadow: var(--shadow-lg);
}

.comments-header {
  dis

play: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.comments-header h2 {
  margin: 0;
}

.comment-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 24px;
}

.reply-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 12px;
  border-radius: var(--radius);
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 14px;
}

.reply-banner[hidden] {
  display: none;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

.field input,
.field textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
}

.field input:focus,
.field textarea:focus {
  background: var(--surface);
  color: var(--text);
  border-color: var(--primary);
}

.form-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.form-msg {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary-hover);
}

.comment-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.comment-item {
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  color: var(--text);
}

.comment-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 8px;
  font-size: 14px;
}

.comment-author {
  color: var(--text);
}

.owner-badge {
  padding: 4px 8px;
  border-radius: var(--radius);
  background: var(--primary);
  color: var(--surface);
  font-size: 12px;
  font-weight: 700;
}

.comment-to,
.comment-time {
  color: var(--muted);
  font-size: 12px;
}

.comment-text {
  margin: 0 0 8px 0;
  font-size: 16px;
}

.comment-replies {
  margin-top: 12px;
  padding-left: 16px;
  border-left: 2px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Doc & Legal Pages */
.doc-section {
  padding: 48px 0;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 24px;
  font-size: 14px;
  color: var(--muted);
}

.doc-article {
  padding: 48px;
  box-shadow: var(--shadow-lg);
}

.doc-header {
  padding-bottom: 24px;
  margin-bottom: 32px;
  border-bottom: 1px solid var(--border);
}

.doc-lead {
  font-size: 18px;
  color: var(--muted);
  margin: 0;
}

.prose h2 {
  margin-top: 32px;
  margin-bottom: 12px;
}

.prose

 h3 {
  margin-top: 24px;
  margin-bottom: 8px;
}

.prose ul,
.prose ol {
  margin: 0 0 16px 0;
  padding-left: 24px;
  max-width: 70ch;
}

.prose li {
  margin-bottom: 8px;
}

.prose strong {
  color: var(--text);
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 14px;
}

.prose th,
.prose td {
  padding: 12px 16px;
  border: 1px solid var(--border);
  text-align: left;
}

.prose th {
  background: var(--bg);
  color: var(--text);
}

.prose pre {
  margin: 16px 0 24px 0;
  padding: 16px;
  border-radius: var(--radius);
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 14px;
  line-height: 1.5;
  overflow-x: auto;
}

.faq-group-title {
  margin: 24px 0 4px 0;
  font-size: 22px;
  color: var(--text);
}

.faq-group-title:first-child {
  margin-top: 8px;
}

.doc-cta {
  margin-top: 48px;
  padding: 24px;
  border-radius: var(--radius);
  background: var(--bg);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.doc-cta h2 {
  font-size: 22px;
  margin-bottom: 8px;
}

.doc-cta p {
  margin: 0;
  color: var(--muted);
}

.doc-cta-copy {
  max-width: 60ch;
}

.cta-links {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.game-page-prose > :first-child {
  margin-top: 0;
}

.doc-cta.flagship-cta-grid {
  display: grid;
  grid-template-columns: 220px 1fr;
  align-items: center;
  gap: 24px;
}

.flagship-cta-thumb {
  display: block;
  aspect-ratio: 3 / 2;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
}

.flagship-cta-thumb img,
.more-game-thumb img,
.game-hub-thumb img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.25s ease;
}

.flagship-cta-thumb:hover img,
.more-game-card:hover .more-game-thumb img,
.game-hub-card:hover .game-hub-thumb img {
  transform: scale(1.03);
}

.flagship-cta-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}

/* More Games & Games Hub */
.more-games-section {
  padding: 48px 0 0 0;
}

.more-games-section .section-head {
  margin-bottom: 20px;
}

.more-games-grid,
.games-catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 22px;
}

.more-game-card,
.game-hub-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.more-game-card:hover,
.game-hub-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.more-game-card:only-child {
  display: grid;
  grid-template-columns: 260px 1fr;
  align-items: stretch;
}

.more-game-thumb,
.game-hub

-thumb {
  position: relative;
  display: block;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--bg);
}

.more-game-card:only-child .more-game-thumb {
  height: 100%;
  border-right: 1px solid var(--border);
}

.more-game-card:not(:only-child) .more-game-thumb,
.game-hub-thumb {
  border-bottom: 1px solid var(--border);
}

.more-game-body,
.game-hub-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 10px;
  min-width: 0;
}

.more-game-tag,
.games-hub-kicker .eyebrow {
  align-self: flex-start;
  margin-bottom: 0;
}

.more-game-body h3,
.game-hub-body h2 {
  margin: 0;
  font-size: 24px;
}

.more-game-body p,
.game-hub-summary {
  margin: 0;
  color: var(--muted);
  flex: 1;
}

.more-game-pills,
.games-pill-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.more-game-pill,
.games-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 12px;
  font-weight: 700;
}

.games-pill svg {
  color: var(--primary);
  flex-shrink: 0;
}

.more-game-body .btn,
.game-hub-cta {
  align-self: flex-start;
  margin-top: 6px;
}

.games-hub-hero {
  padding: 32px;
  box-shadow: var(--shadow-lg);
}

.games-hub-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.games-hub-icon,
.game-hub-coming-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius);
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--primary);
  flex-shrink: 0;
}

.games-hub-intro {
  font-size: 17px;
  color: var(--muted);
  max-width: 72ch;
  margin-bottom: 20px;
}

.game-hub-genre {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(6px);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.3;
}

.game-hub-body h2 a {
  color: var(--text);
}

.game-hub-body h2 a:hover {
  color: var(--primary);
  text-decoration: none;
}

.game-hub-meta {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  color: var(--primary-hover);
}

.game-hub-coming {
  margin-top: 22px;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--bg);
}

.game-hub-coming-icon {
  background: var(--surface);
}

.game-hub-coming p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  max-width: none;
}

/* Footer */
.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 44px 0 32px;
}

.footer-top {
  display: grid;

grid-template-columns: minmax(220px, 1.35fr) minmax(260px, 1.65fr);
  gap: 32px 48px;
  align-items: start;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-note {
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0;
  max-width: 34ch;
}

.footer-nav-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(130px, 1fr));
  gap: 24px 32px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.footer-col-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-col-list a {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  padding: 3px 0;
  transition: color 0.15s ease;
}

.footer-col-list a:hover {
  color: var(--primary);
  text-decoration: none;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 20px;
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.footer-copy {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
}

.footer-copy a {
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer-copy a:hover {
  color: var(--primary);
}

.footer-legal {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}

.footer-legal a {
  color: var(--muted);
}

.footer-legal a:hover {
  color: var(--primary);
  text-decoration: none;
}

@media (max-width: 768px) {
  .site-footer {
    padding: 32px 0 24px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-nav-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 16px;
  }

  .footer-col-list a {
    padding: 5px 0;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    margin-top: 24px;
    padding-top: 16px;
    gap: 8px;
  }
}

/* Mobile Responsive */
@media (max-width: 640px) {
  h1 {
    font-size: 28px;
  }

  h2 {
    font-size: 22px;
  }

  .container {
    padding: 0 16px;
  }

  .coord-strip {
    display: none;
  }

  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .site-nav {
    gap: 16px;
  }

  .hero-section,
  .section,
  .doc-section {
    padding: 48px 0;
  }

  .stage {
    height: 600px;
    min-height: 600px;
  }

  .stage-cover {
    grid-template-columns: 1fr;
    align-content: center;
    padding: 24px 16px;
    gap: 16px;
  }

  .cover-blueprint svg {
    max-width: 240px;
  }

  .stage-loading {
    padding: 24px 16px;
  }


  .cover-copy .btn-primary {
    width: 100%;
  }

  .stage-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .stage-actions-left,
  .stage-actions-right {
    width: 100%;
  }

  .stage-actions .btn {
    width: 100%;
  }

  .about-grid,
  .strategy-grid {
    grid-template-columns: 1fr;
  }

  .rule-row {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 16px;
  }

  .comments-shell,
  .doc-article {
    padding: 24px 16px;
  }

  .form-actions .btn,
  .doc-cta .btn,
  .more-game-body .btn,
  .game-hub-cta,
  .cta-links,
  .cta-links .btn {
    width: 100%;
  }

  .doc-cta.flagship-cta-grid,
  .more-game-card:only-child {
    grid-template-columns: 1fr;
  }

  .more-game-card:only-child .more-game-thumb {
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .games-hub-hero,
  .more-game-body,
  .game-hub-body {
    padding: 20px;
  }
}


/* --- mobile polish 2026-11-24: nav strip + hero scale --- */
@media (max-width: 768px) {
  .header-inner {
    flex-wrap: nowrap;
    align-items: center;
    gap: 12px;
  }
  .site-nav {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    gap: 14px;
    flex: 1 1 auto;
    min-width: 0;
    padding-bottom: 6px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .site-nav::-webkit-scrollbar { display: none; }
  .site-nav a {
    flex: 0 0 auto;
    white-space: nowrap;
    font-size: 13px;
    padding: 2px 0;
  }
  .site-nav .nav-link-icon svg { width: 13px; height: 13px; }
  .hero-header h1,
  .hero-section h1 {
    font-size: 28px;
    line-height: 1.15;
  }
  .hero-subtitle {
    font-size: 15.5px;
    line-height: 1.62;
    margin-top: 14px;
  }
  .hero-header .eyebrow {
    font-size: 12px;
    letter-spacing: 0.06em;
  }
}

@media (max-width: 420px) {
  .site-nav { gap: 11px; }
  .site-nav a { font-size: 12.5px; }
}


/* --- reading rhythm in long copy --- */
.about-copy p {
  line-height: 1.72;
  max-width: 66ch;
}
.about-copy p + p {
  margin-top: 0.9em;
}
.about-copy h2 + p {
  margin-top: 0.7em;
}
.doc-body p,
.doc-body li {
  line-height: 1.72;
}


/* --- final pass: guaranteed mobile scale + heading rhythm --- */
.about-copy h2 {
  margin-top: 44px;
  margin-bottom: 14px;
}
.about-copy h2:first-of-type {
  margin-top: 18px;
}
@media (max-width: 768px) {
  .about-copy h2 {
    margin-top: 32px;
    margin-bottom: 12px;
  }
}
@media (max-width: 640px) {
  .hero-section h1,
  .hero-header h1,
  .hero h1 {
    font-size: 28px !important;
    line-height: 1.14 !important;
    letter-spacing: -0.015em;
  }
  .hero-section {
    padding-top: 12px;
  }
  .site-nav {
    justify-content: flex-start !important;
    gap: 18px !important;
  }
  .site-nav a {
    display: inline-flex;
    align-items: ce

nter;
    min-height: 44px;
  }
  .hero-subtitle {
    line-height: 1.6;
    margin-top: 14px;
    margin-bottom: 18px;
  }
}


/* ===== Design pass 2026-11-26：加载态、手机导航、字号层级、触控尺寸 ===== */

/* 棋盘容器给固定高度，封面与棋盘共用同一预留高度避免 CLS 跳动 */
.stage { position: relative; height: 660px; min-height: 660px; }

/* 加载态：居中卡片，只占 360px，不再撑满整块棋盘 */
.stage-loading[hidden] { display: none !important; }
.stage-loading:not([hidden]) {
  position: absolute;
  inset: auto;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(420px, calc(100% - 32px));
  height: auto;
  padding: 30px 26px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  background: var(--surface, #ffffff);
  border: 1px solid var(--line, rgba(27, 52, 32, .12));
  border-radius: var(--radius, 14px);
  box-shadow: 0 12px 32px rgba(27, 52, 32, .1);
  text-align: center;
}
.stage-loading .loading-title { margin: 4px 0 0; font-size: 15px; font-weight: 700; }
.stage-loading .loading-sub { margin: 0; font-size: 13px; line-height: 1.5; color: var(--muted, #4b6950); }
.stage-loading .loading-bar { width: 100%; margin-top: 4px; height: 6px; border-radius: 999px; overflow: hidden; }
.stage-loading .loading-retry-btn { margin-top: 8px; min-height: 44px; padding: 10px 20px; }

/* 首屏三层呼吸：小标签—大标题—说明 */
.hero-header .eyebrow { display: inline-block; margin-bottom: 10px; font-size: 12px; letter-spacing: .08em; }
.hero-header h1 { margin-top: 0; }

/* 正文段落收窄到可读宽度 */
.section p, .prose p, .article-body p { max-width: 68ch; }

/* ===== Compact Mobile Header & Drawer Navigation ===== */
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4.5px;
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: 10px;
  border: 1px solid var(--border, #d5ebd2);
  background: var(--bg, #f3faf1);
  color: var(--text, #1b3420);
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.nav-toggle:hover,
.nav-toggle:focus-visible {
  background: #e7f5e4;
  border-color: var(--primary, #2a7f3f);
  outline: none;
}

.nav-toggle-bar {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.15s ease;
}

.site-header.nav-open .nav-toggle-bar:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.site-header.nav-open .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.site-header.nav-open .nav-toggle-bar:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

@media (max-width: 960px) and (min-width: 769px) {
  .site-nav {
    gap: 14px;
  }
  .site-nav a {
    font-size: 13px;
  }
}

/* 手机断点 */
@media (max-width: 768px) {
  .coord-strip {
    display: none;
  }

  .site-header {
    bac

kground: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }

  .header-inner {
    position: relative;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
    padding-top: 8px;
    padding-bottom: 8px;
    min-height: 56px;
  }

  .brand {
    gap: 9px;
    font-size: 17px;
    white-space: nowrap;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    display: none !important;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 60;
    flex-direction: column;
    align-items: stretch !important;
    justify-content: flex-start !important;
    gap: 4px !important;
    padding: 10px 16px 14px;
    background: var(--surface, #ffffff);
    border-top: 1px solid var(--border, #d5ebd2);
    border-bottom: 1px solid var(--border, #d5ebd2);
    box-shadow: 0 16px 32px rgba(27, 52, 32, 0.12);
  }

  .site-header.nav-open .site-nav {
    display: flex !important;
  }

  .site-nav a {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 44px;
    padding: 10px 14px !important;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    color: var(--text, #1b3420);
    white-space: nowrap;
    transition: background 0.15s ease, color 0.15s ease;
  }

  .site-nav a::after {
    content: "›";
    font-size: 18px;
    line-height: 1;
    color: var(--muted, #4b6950);
    opacity: 0.65;
  }

  .site-nav a:hover,
  .site-nav a:active,
  .site-nav a[aria-current="page"] {
    background: var(--bg, #f3faf1);
    color: var(--primary, #2a7f3f);
    text-decoration: none;
  }

  .site-nav a[aria-current="page"]::after {
    color: var(--primary, #2a7f3f);
    opacity: 1;
  }

  .hero-header .eyebrow { margin-bottom: 6px; font-size: 12px; }
  h1 { font-size: 26px; line-height: 1.2; }
  .hero-header h1 { font-size: 26px; line-height: 1.2; }
  .hero-subtitle { font-size: 15px; line-height: 1.6; }
  .stage { height: 620px; min-height: 620px; }
  .btn, .btn-primary, .stage-actions button, .stage-actions a { min-height: 40px; }
}

/* ===== Compact Single-Row Stage Actions Icon Toolbar ===== */
.stage-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

.stage-actions-left,
.stage-actions-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: nowrap;
}

.stage-actions .btn-icon {
  width: 40px;
  height: 40px;
  min-height: 40px;
  padding: 0;
  border-radius: 10px;
  justify-content: center;
  flex-shrink: 0;
}

.stage-actions .btn-action-fs,
.stage-actions .btn-action-like {
  height: 40px;
  min-height: 40px;
  padding: 0 12p

x;
  border-radius: 10px;
  gap: 6px;
  flex-shrink: 0;
}

.stage-actions .share-msg:empty {
  display: none;
}

.stage-actions .share-msg {
  width: 100%;
  text-align: right;
  font-size: 13px;
  color: var(--primary, #2a7f3f);
  font-weight: 600;
}

@media (max-width: 640px) {
  .stage-actions {
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
  }

  .stage-actions-left,
  .stage-actions-right {
    width: auto !important;
    gap: 6px !important;
  }

  .stage-actions .btn {
    width: auto !important;
  }

  .stage-actions .btn-action-fs {
    width: 40px !important;
    padding: 0 !important;
    justify-content: center;
  }

  .stage-actions .btn-action-like {
    padding: 0 10px !important;
  }

  .stage-actions .action-label {
    display: none;
  }
}
