:root {
  --bg: #0e1117;
  --surface: #171c26;
  --surface-2: #1f2634;
  --border: #2a3345;
  --text: #f1f5f9;
  --muted: #94a3b8;
  --accent: #81c869;
  --accent-hover: #6ab553;
  --accent-ink: #081206;
  --cta-gold: #facc15;
  --cta-gold-hover: #eab308;
  --radius: 12px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.25);
  --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.42);
  --font-display: 'Space Grotesk', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
[hidden] { display: none !important; }

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

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(14, 17, 23, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}
.brand:hover { color: var(--accent); }
.gf-site-icon { width: 32px; height: 32px; border-radius: 8px; }

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  background: transparent;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  white-space: nowrap;
  transition: color 0.15s, background 0.15s;
}
.nav-item:hover, .nav-item.is-active {
  color: var(--text);
  background: var(--surface);
}
.nav-item.is-active { color: var(--accent); }

.nav-dropdown { position: relative; }
.nav-dropdown-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  min-width: 184px;
  padding: 6px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.nav-drop-item {
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
}
.nav-drop-item:hover, .nav-drop-item.is-active {
  background: var(--surface-2);
  color: var(--accent);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
}
.mobile-nav {
  border-top: 1px solid var(--border);
  background: var(--surface);
  padding: 12px 20px 16px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.mobile-nav-link {
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  background: var(--surface-2);
}
.mobile-nav-link.is-active { color: var(--accent); border: 1px solid var(--accent); }

/* Hero & Arcade Grid Backdrop */
.hero-band, .game-top-band {
  background-color: var(--bg);
  background-image:
    linear-gradient(90deg, rgba(129, 200, 105, 0.05) 1px, transparent 1px),
    linear-gradient(rgba(129, 200, 105, 0.05) 1px, transparent 1px);
  background-size: 40px 40px;
  border-bottom: 1px solid var(--border);
  padding: 20px 0 32px;
}
.hero-top { text-align: center; margin-bottom: 16px; }
.hero-h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 36px;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text);
}
.hero-lead {
  margin: 8px auto 0;
  max-width: 68ch;
  font-size: 16px;
  color: var(--muted);
}
.game-header-bar { margin-bottom: 16px; }
.game-h1 {
  margin: 6px 0 0;
  font-family: var(--font-display);
  font-size: 32px;
  line-height: 1.2;
  color: var(--text);
}

/* Player Stage */
.stage-wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}
.recommended-strip {
  margin-top: 20px;
}
.recommended-strip-grid {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 12px;
}
.rail-tile {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.16s, border-color 0.16s;
}
.rail-tile:hover { transform: translateY(-2px); border-color: var(--accent); }
.rail-tile img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.rail-name {
  padding: 6px 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.stage-shell {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.stage {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 360px;
  background: #070a0f;
  overflow: hidden;
}
.stage iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.stage-cover {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.stage-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(16px) brightness(0.45);
  transform: scale(1.08);
}
.stage-scrim {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(14, 17, 23, 0.25) 0%, rgba(14, 17, 23, 0.8) 100%);
}
.stage-center {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 20px;
  text-align: center;
}
.stage-thumb {
  width: 128px;
  height: 128px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 3px solid rgba(255, 255, 255, 0.22);
  box-shadow: var(--shadow-lg);
  background: var(--surface-2);
}
.stage-thumb img { width: 100%; height: 100%; object-fit: cover; }

.play-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 28px;
  border: 0;
  border-radius: 999px;
  background: var(--cta-gold);
  color: #111827;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(250, 204, 21, 0.28);
  transition: transform 0.15s, background 0.15s;
}
.play-btn:hover { background: var(--cta-gold-hover); transform: scale(1.03); }

.stage-loader {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  background: #0b0f17;
  color: var(--text);
}
[data-gf-frame][data-gf-state="loading"] .stage-loader { display: flex; }
.loader-ring {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 4px solid var(--border);
  border-top-color: var(--accent);
  border-right-color: var(--cta-gold);
  animation: gfSpin 0.8s linear infinite;
}
@keyframes gfSpin { to { transform: rotate(360deg); } }
.loader-text { margin: 0; font-family: var(--font-display); font-size: 16px; color: var(--muted); }

.stage-exit-fs {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 20;
  min-height: 40px;
  padding: 8px 16px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  background: rgba(14, 17, 23, 0.85);
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}
[data-gf-frame][data-gf-fs="1"] { aspect-ratio: auto; height: 100vh; height: 100dvh; border-radius: 0; }

.stage-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  border-top: 1px solid var(--border);
  background: var(--surface);
  flex-wrap: wrap;
}
.stage-meta { display: flex; align-items: center; gap: 10px; min-width: 0; }
.stage-mini-icon { width: 36px; height: 36px; border-radius: 8px; object-fit: cover; flex-shrink: 0; }
.stage-game-name { font-family: var(--font-display); font-size: 16px; font-weight: 700; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.stage-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.act-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  padding: 8px 14px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--text);
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
}
.act-btn:hover { border-color: var(--accent); color: var(--accent); }
.act-like[data-gf-liked], .act-like[aria-pressed="true"] {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-ink);
}
.act-count:empty { display: none; }
.share-toast { font-size: 13px; color: var(--accent); font-weight: 500; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Come Back Tomorrow / Remind Card */
.remind-card {
  margin-top: 16px;
  padding: 16px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.remind-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.remind-copy { min-width: 0; flex: 1 1 320px; }
.remind-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text);
}
.remind-sub {
  margin: 4px 0 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
}
.remind-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.remind-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 16px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--text);
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
}
.remind-btn:hover { border-color: var(--accent); color: var(--accent); }
.remind-btn-push {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-ink);
}
.remind-btn-push:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: var(--accent-ink);
}
.remind-push-on { display: none; }
.remind-btn-push[data-gf-done],
.remind-btn-push[aria-pressed="true"] {
  background: var(--surface-2);
  border-color: var(--accent);
  color: var(--accent);
}
.remind-btn-push[data-gf-done] .remind-push-off,
.remind-btn-push[aria-pressed="true"] .remind-push-off { display: none; }
.remind-btn-push[data-gf-done] .remind-push-on,
.remind-btn-push[aria-pressed="true"] .remind-push-on { display: inline; }

.remind-hint {
  margin: 0;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  font-size: 13px;
  line-height: 1.5;
  color: var(--text);
}
.remind-msg {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--accent);
}
.remind-form {
  padding-top: 12px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.remind-form-row {
  display: flex;
  align-items: center;
  gap: 10px;
}
.remind-input {
  flex: 1 1 240px;
  min-width: 0;
  min-height: 44px;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  font-family: inherit;
  font-size: 14px;
}
.remind-input::placeholder { color: var(--muted); }
.remind-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--text);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
}
.remind-submit:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.remind-done {
  margin: 0;
  padding: 10px 14px;
  border-radius: 10px;
  background: rgba(129, 200, 105, 0.1);
  border: 1px solid rgba(129, 200, 105, 0.35);
  font-size: 14px;
  font-weight: 500;
  color: var(--accent);
}
[data-gf-newsletter][data-gf-done] .remind-form-row { display: none; }
[data-gf-newsletter][data-gf-done] [data-gf-newsletter-msg] { display: none; }

/* Quick Switch Strip */
.quick-strip { margin-top: 20px; }
.quick-strip-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}
.quick-tile {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.16s, border-color 0.16s;
}
.quick-tile:hover { transform: translateY(-2px); border-color: var(--accent); }
.quick-thumb { aspect-ratio: 16 / 10; overflow: hidden; background: var(--surface-2); }
.quick-thumb img { width: 100%; height: 100%; object-fit: cover; }
.quick-name {
  padding: 8px 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Home Sections */
.home-section { padding: 56px 0; }
.home-section-alt { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-pad { padding-top: 32px; padding-bottom: 56px; }
.page-pad { padding-top: 28px; padding-bottom: 64px; }

.section-head { margin-bottom: 28px; }
.section-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 28px;
  line-height: 1.2;
  color: var(--text);
}
.section-sub { margin: 8px 0 0; font-size: 16px; color: var(--muted); max-width: 65ch; }
.section-body { margin: 16px 0 0; font-size: 17px; color: var(--muted); max-width: 65ch; }

.split-panel {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 36px;
  align-items: center;
}
.split-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
}
.split-media img { width: 100%; height: auto; display: block; }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px 36px;
}
.feature-item {
  padding: 18px 0 4px;
  background: transparent;
  border: 0;
  border-top: 1px solid var(--border);
  border-radius: 0;
}
.feature-title { margin: 0 0 8px; font-family: var(--font-display); font-size: 17px; font-weight: 700; color: var(--text); }
.feature-desc { margin: 0; font-size: 14px; line-height: 1.6; color: var(--muted); }

/* FAQ */
.faq-wrap { max-width: 820px; }
.faq-list { display: flex; flex-direction: column; gap: 12px; margin-top: 16px; }
.faq-item {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 20px;
}
.prose-card .faq-item { background: var(--surface-2); }
.faq-q {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  list-style: none;
}
.faq-q::-webkit-details-marker { display: none; }
.faq-a { margin: 10px 0 0; font-size: 15px; color: var(--muted); max-width: 70ch; }

/* CTA Banner */
.cta-banner {
  padding: 40px 32px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  text-align: center;
}
.cta-title { margin: 0; font-family: var(--font-display); font-size: 28px; color: var(--text); }
.cta-desc { margin: 10px auto 24px; max-width: 58ch; color: var(--muted); }

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 22px;
  border: 0;
  border-radius: 10px;
  background: var(--accent);
  color: var(--accent-ink);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s;
}
.btn-primary:hover { background: var(--accent-hover); color: var(--accent-ink); }
.btn-lg { min-height: 48px; padding: 12px 28px; font-size: 16px; }
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 20px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--text);
  font-weight: 600;
  font-size: 15px;
}
.btn-secondary:hover { border-color: var(--accent); color: var(--accent); }

/* Breadcrumb & Page Headers */
.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 12px;
}
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--accent); }
.bc-sep { opacity: 0.5; }
.bc-current { color: var(--text); font-weight: 500; }

.page-h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 36px;
  line-height: 1.2;
  color: var(--text);
}
.page-lead { margin: 12px 0 0; font-size: 17px; color: var(--muted); max-width: 68ch; }
.cat-header { margin-bottom: 24px; }

.jump-nav { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.jump-pill {
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
}
.jump-pill:hover { border-color: var(--accent); color: var(--accent); }

/* Category & Game Cards */
.cat-groups { display: flex; flex-direction: column; gap: 48px; }
.cat-group-head { margin-bottom: 20px; }
.cat-group-title { margin: 0; font-family: var(--font-display); font-size: 24px; color: var(--text); }
.cat-group-desc { margin: 6px 0 0; font-size: 15px; color: var(--muted); max-width: 64ch; }
.topic-group-bar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.browse-all-link { font-size: 14px; font-weight: 600; color: var(--accent); white-space: nowrap; }

.game-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
.game-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.16s, border-color 0.16s;
}
.game-card:hover { transform: translateY(-3px); border-color: var(--accent); }
.game-card-media { aspect-ratio: 16 / 9; overflow: hidden; background: var(--surface-2); }
.game-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.25s; }
.game-card:hover .game-card-media img { transform: scale(1.04); }
.game-card-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.game-card-title { margin: 0; font-family: var(--font-display); font-size: 17px; line-height: 1.3; color: var(--text); }
.game-card-desc {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.game-card-date { margin-top: auto; padding-top: 6px; font-size: 12px; color: var(--muted); }

/* Game Summary & Prose Reading Sheet */
.prose-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
}
.cat-prose { margin-top: 48px; }
.cat-faq { margin-top: 40px; max-width: 820px; }
.legal-sheet { max-width: 820px; }

.game-summary-row {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding-bottom: 24px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--border);
}
.game-summary-cover { width: 104px; height: 104px; border-radius: var(--radius); object-fit: cover; flex-shrink: 0; border: 1px solid var(--border); }
.game-summary-title { margin: 0 0 10px; font-family: var(--font-display); font-size: 20px; font-weight: 700; color: var(--text); }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.tag-pill {
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
}
.share-row { display: flex; flex-wrap: wrap; gap: 8px; }
.share-chip {
  min-height: 36px;
  padding: 6px 12px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
}
.share-chip:hover { border-color: var(--accent); color: var(--accent); }

.article-head { margin-bottom: 24px; padding-bottom: 20px; border-bottom: 1px solid var(--border); }
.article-hero-img { margin-top: 16px; border-radius: var(--radius); overflow: hidden; max-width: 720px; }

/* Prose Typography */
.prose h2 {
  margin: 36px 0 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
  font-family: var(--font-display);
  font-size: 24px;
  line-height: 1.25;
  color: var(--text);
}
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 26px 0 10px; font-family: var(--font-display); font-size: 19px; line-height: 1.3; color: var(--accent); }
.prose h4 { margin: 20px 0 8px; font-size: 17px; color: var(--text); }
.prose p { margin: 0 0 16px; max-width: 70ch; color: #cbd5e1; }
.prose ul, .prose ol { margin: 0 0 18px; padding-left: 22px; max-width: 70ch; color: #cbd5e1; }
.prose li { margin-bottom: 8px; }
.prose strong { color: var(--text); }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.prose blockquote {
  margin: 20px 0;
  padding: 12px 18px;
  border-left: 3px solid var(--accent);
  background: var(--surface-2);
  border-radius: 0 8px 8px 0;
  color: var(--muted);
}
.prose img { margin: 18px 0; border-radius: var(--radius); border: 1px solid var(--border); max-width: min(100%, 560px); }
.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 14px;
  display: block;
  overflow-x: auto;
}
.prose th, .prose td {
  padding: 10px 14px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.prose th { background: var(--surface-2); color: var(--text); font-weight: 600; }
.prose td { color: #cbd5e1; }
.prose hr { border: 0; border-top: 1px solid var(--border); margin: 28px 0; }

.video-embed {
  position: relative;
  width: 100%;
  max-width: 720px;
  aspect-ratio: 16 / 9;
  margin: 24px 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: #000;
  border: 1px solid var(--border);
}
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.inline-faq { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--border); }

/* Comments */
.comments-section { margin-top: 36px; }
.comments-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.comments-header { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.comments-header h2 { margin: 0; font-family: var(--font-display); font-size: 22px; color: var(--text); }
.comments-count { font-size: 14px; color: var(--muted); }
.comments-count:empty { display: none; }

.reply-banner {
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 12px;
  margin-bottom: 10px;
  border-radius: 8px;
  background: var(--surface-2);
  font-size: 13px;
  color: var(--accent);
}
[data-gf-comment-form][data-gf-replying] .reply-banner { display: flex; }
.reply-cancel {
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 13px;
  cursor: pointer;
  text-decoration: underline;
}
.comment-fields { display: flex; flex-direction: column; gap: 10px; }
.comment-input, .comment-textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  font-family: inherit;
  font-size: 15px;
}
.comment-submit-row { display: flex; align-items: center; gap: 14px; margin-top: 12px; flex-wrap: wrap; }
.comment-msg { margin: 0; font-size: 14px; color: var(--accent); }

.comments-list { margin-top: 24px; display: flex; flex-direction: column; gap: 14px; }
.comments-list[data-gf-empty]::before {
  content: "No comments yet — be the first to share your score or strategy tip!";
  display: block;
  padding: 18px;
  border-radius: var(--radius);
  background: var(--bg);
  border: 1px dashed var(--border);
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}
.comments-list[data-gf-off]::before { content: "Comments are closed for this game."; display: block; color: var(--muted); font-size: 14px; }
.comment-item {
  padding: 16px;
  border-radius: var(--radius);
  background: var(--bg);
  border: 1px solid var(--border);
}
.comment-item[data-gf-owner] { border-color: var(--accent); background: rgba(129, 200, 105, 0.06); }
.comment-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-size: 13px; margin-bottom: 6px; }
.comment-author { color: var(--text); font-weight: 600; }
.comment-owner-badge {
  display: none;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 12px;
  font-weight: 700;
}
.comment-item[data-gf-owner] .comment-owner-badge { display: inline-block; }
.comment-to { color: var(--accent); }
.comment-time { color: var(--muted); margin-left: auto; }
.comment-body { margin: 0; font-size: 15px; color: #cbd5e1; white-space: pre-wrap; word-break: break-word; }
.comment-actions { margin-top: 8px; }
.reply-btn {
  border: 0;
  padding: 4px 0;
  background: transparent;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
}
.reply-btn:hover { color: var(--accent); }
.comment-replies { margin-top: 12px; padding-left: 16px; border-left: 2px solid var(--border); display: flex; flex-direction: column; gap: 10px; }
.comment-replies:empty { display: none; }

/* 404 */
.not-found-card {
  max-width: 600px;
  margin: 40px auto;
  padding: 40px 28px;
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.not-found-code { margin: 0 0 8px; font-family: var(--font-display); font-size: 48px; font-weight: 700; color: var(--accent); }
.not-found-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 24px; }

/* Footer */
.site-footer {
  margin-top: 48px;
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 48px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1.2fr 0.8fr;
  gap: 32px;
  margin-bottom: 32px;
}
.footer-brand {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 10px;
}
.footer-about { margin: 0; font-size: 14px; color: var(--muted); max-width: 42ch; }
.footer-heading { margin: 0 0 12px; font-family: var(--font-display); font-size: 15px; font-weight: 700; color: var(--text); }
.footer-cat-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 16px;
}
.footer-links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.site-footer li a { font-size: 14px; color: var(--muted); }
.site-footer li a:hover { color: var(--accent); }
.footer-bottom {
  padding-top: 20px;
  border-top: 1px solid var(--border);
  text-align: center;
  font-size: 13px;
  color: var(--muted);
}
.footer-bottom p { margin: 0; }

/* Responsive */
@media (max-width: 1180px) {
  .game-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .nav-desktop { display: none; }
  .menu-toggle { display: inline-flex; }
  .split-panel { grid-template-columns: minmax(0, 1fr); }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .recommended-strip-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .quick-strip-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .container, .stage-wrap { padding: 0 14px; }
  .hero-h1, .game-h1, .page-h1 { font-size: 28px; }
  .stage { aspect-ratio: 4 / 3; min-height: 280px; }
  .stage-thumb { width: 92px; height: 92px; }
  .play-btn { width: 100%; max-width: 260px; }
  .stage-bar { flex-direction: column; align-items: stretch; }
  .stage-actions { justify-content: space-between; }
  .act-btn { flex: 1; justify-content: center; }
  .remind-card { padding: 14px 16px; }
  .remind-actions { width: 100%; }
  .remind-btn { flex: 1 1 100%; width: 100%; }
  .remind-form-row { flex-direction: column; align-items: stretch; }
  .remind-input, .remind-submit { width: 100%; }
  .recommended-strip-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .quick-strip-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature-grid { grid-template-columns: minmax(0, 1fr); }
  .game-grid { grid-template-columns: minmax(0, 1fr); }
  .prose-card, .comments-card { padding: 20px 16px; }
  .game-summary-row { flex-direction: column; }
  .btn-primary, .btn-secondary { width: 100%; }
  .mobile-nav { grid-template-columns: minmax(0, 1fr); }
}
