/* ==========================================================================
   GX 游戏站样式
   命名空间：gx-（每个站通过 config.php 的 theme 变量覆盖配色）
   三个首页版式：grid / stack / split
   ========================================================================== */

:root {
  --gx-bg: #ffffff;
  --gx-fg: #16181d;
  --gx-muted: #5d6470;
  --gx-line: #e4e7ec;
  --gx-soft: #f6f7f9;
  --gx-brand: #1f5fd0;
  --gx-brand-2: #6b3fd4;
  --gx-brand-fg: #ffffff;
  --gx-radius: 14px;
  --gx-radius-sm: 9px;
  --gx-shadow: 0 1px 2px rgba(16, 20, 28, .06), 0 8px 24px rgba(16, 20, 28, .06);
  --gx-shadow-hover: 0 2px 6px rgba(16, 20, 28, .09), 0 16px 40px rgba(16, 20, 28, .12);
  --gx-wrap: 1180px;
  --gx-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --gx-radius-pill: 999px;
  --gx-head-h: 66px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body.gx-body {
  margin: 0;
  font-family: var(--gx-font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--gx-fg);
  background: var(--gx-bg);
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--gx-brand); text-decoration: none; }
a:hover { text-decoration: underline; }

.gx-wrap { width: 100%; max-width: var(--gx-wrap); margin: 0 auto; padding: 0 20px; }

.gx-skip {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--gx-brand); color: #fff; padding: 10px 16px; border-radius: 0 0 8px 0;
}
.gx-skip:focus { left: 0; }

/* ---------------- 页头 ---------------- */
.gx-head {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--gx-line);
}
.gx-head-inner {
  max-width: var(--gx-wrap); margin: 0 auto; padding: 0 20px;
  min-height: var(--gx-head-h);
  display: flex; align-items: center; gap: 18px;
}
.gx-logo { display: flex; align-items: center; gap: 10px; color: var(--gx-fg); text-decoration: none; flex: 0 0 auto; }
.gx-logo:hover { text-decoration: none; }
.gx-logo-mark {
  width: 34px; height: 34px; border-radius: 10px;
  background: linear-gradient(135deg, var(--gx-brand), var(--gx-brand-2));
  color: #fff; display: grid; place-items: center;
  font-weight: 800; font-size: 17px;
}
.gx-logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.gx-logo-text strong { font-size: 16px; letter-spacing: -.01em; }
.gx-logo-text small { font-size: 11.5px; color: var(--gx-muted); }

.gx-nav { margin-left: auto; }
.gx-nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.gx-nav a {
  display: block; padding: 8px 13px; border-radius: var(--gx-radius-pill);
  color: var(--gx-fg); font-size: 14.5px; font-weight: 500; white-space: nowrap;
}
.gx-nav a:hover { background: var(--gx-soft); text-decoration: none; }

.gx-burger { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.gx-burger span { display: block; width: 22px; height: 2px; background: var(--gx-fg); border-radius: 2px; margin: 4px 0; }

/* 语言切换 */
.gx-langsw { display: flex; gap: 3px; background: var(--gx-soft); padding: 3px; border-radius: var(--gx-radius-pill); flex: 0 0 auto; }
.gx-langsw-btn {
  padding: 5px 12px; border-radius: var(--gx-radius-pill);
  font-size: 13px; font-weight: 600; color: var(--gx-muted);
  text-transform: uppercase; letter-spacing: .04em;
}
.gx-langsw-btn:hover { color: var(--gx-fg); text-decoration: none; }
.gx-langsw-btn.is-active { background: var(--gx-brand); color: #fff; }

/* ---------------- 面包屑 ---------------- */
.gx-crumbs { border-bottom: 1px solid var(--gx-line); background: var(--gx-soft); }
.gx-crumbs ol { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 11px 0; font-size: 13.5px; }
.gx-crumbs li { color: var(--gx-muted); }
.gx-crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--gx-line); }
.gx-crumbs a { color: var(--gx-muted); }
.gx-crumbs a:hover { color: var(--gx-brand); }
.gx-crumbs [aria-current] { color: var(--gx-fg); font-weight: 600; }

/* ---------------- Hero ---------------- */
.gx-hero { padding: 56px 0 44px; background: linear-gradient(170deg, var(--gx-soft), var(--gx-bg) 70%); }
.gx-hero-inner { display: grid; grid-template-columns: 1.5fr 1fr; gap: 40px; align-items: center; }
.gx-hero h1 { margin: 0 0 14px; font-size: clamp(28px, 4.4vw, 46px); line-height: 1.14; letter-spacing: -.025em; }
.gx-hero-sub { margin: 0 0 24px; font-size: 17.5px; color: var(--gx-muted); max-width: 60ch; }
.gx-hero-cta { display: flex; flex-wrap: wrap; gap: 11px; }

.gx-hero-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.gx-stat {
  background: var(--gx-bg); border: 1px solid var(--gx-line);
  border-radius: var(--gx-radius); padding: 16px 18px; box-shadow: var(--gx-shadow);
}
.gx-stat-num { display: block; font-size: 26px; font-weight: 800; letter-spacing: -.02em; color: var(--gx-brand); }
.gx-stat-lbl { display: block; font-size: 13px; color: var(--gx-muted); margin-top: 2px; }

/* ---------------- 按钮 ---------------- */
.gx-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 20px; border-radius: var(--gx-radius-pill);
  font-size: 15px; font-weight: 600; border: 1.5px solid transparent;
  transition: transform .14s ease, box-shadow .14s ease, background .14s ease;
}
.gx-btn:hover { text-decoration: none; transform: translateY(-1px); }
.gx-btn--primary, .gx-btn.primary { background: var(--gx-brand); color: var(--gx-brand-fg); box-shadow: 0 6px 18px rgba(31, 95, 208, .22); }
.gx-btn--ghost, .gx-btn.ghost { background: transparent; color: var(--gx-fg); border-color: var(--gx-line); }
.gx-btn--ghost:hover, .gx-btn.ghost:hover { background: var(--gx-soft); }
.gx-btn--sm { padding: 8px 15px; font-size: 14px; }
.gx-btn--block { display: flex; width: 100%; justify-content: center; }

/* ---------------- 分类导航条 ---------------- */
.gx-cats { border-top: 1px solid var(--gx-line); border-bottom: 1px solid var(--gx-line); background: var(--gx-bg); }
.gx-cats ul { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 15px 0; }
.gx-cats a {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 15px; border: 1px solid var(--gx-line); border-radius: var(--gx-radius-pill);
  color: var(--gx-fg); font-size: 14px; font-weight: 500; background: var(--gx-bg);
}
.gx-cats a:hover { border-color: var(--gx-brand); color: var(--gx-brand); text-decoration: none; }
.gx-cat-ico { font-size: 15px; }
.gx-cat-n { color: var(--gx-muted); font-size: 12.5px; }

/* ---------------- 版式 A：磁贴矩阵 ---------------- */
.gx-matrix { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 34px; padding-top: 40px; padding-bottom: 60px; align-items: start; }
.gx-tile-sec { margin-bottom: 42px; }
.gx-tile-head { margin-bottom: 18px; }
.gx-tile-head h2 { margin: 0 0 6px; font-size: 23px; letter-spacing: -.02em; }
.gx-tile-head p { margin: 0 0 8px; color: var(--gx-muted); font-size: 15px; }
.gx-more { font-size: 14px; font-weight: 600; }
.gx-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.gx-tiles--sm { grid-template-columns: repeat(4, 1fr); }
.gx-tile {
  display: flex; flex-direction: column; gap: 7px;
  padding: 20px 18px; border: 1px solid var(--gx-line); border-radius: var(--gx-radius);
  background: var(--gx-bg); color: var(--gx-fg);
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}
.gx-tile:hover { transform: translateY(-3px); box-shadow: var(--gx-shadow-hover); border-color: var(--gx-brand); text-decoration: none; }
.gx-tile-ico { font-size: 22px; }
.gx-tile strong { font-size: 15.5px; line-height: 1.35; }
.gx-tile small { color: var(--gx-muted); font-size: 13.5px; line-height: 1.5; }
.gx-tile-tag { margin-top: auto; padding-top: 8px; font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--gx-brand-2); }

.gx-matrix-side { position: sticky; top: calc(var(--gx-head-h) + 18px); display: grid; gap: 18px; }
.gx-side-box { border: 1px solid var(--gx-line); border-radius: var(--gx-radius); padding: 18px; background: var(--gx-bg); }
.gx-side-box h3 { margin: 0 0 13px; font-size: 15px; text-transform: uppercase; letter-spacing: .06em; color: var(--gx-muted); }
.gx-side-list { list-style: none; margin: 0; padding: 0; counter-reset: sl; }
.gx-side-list li { display: flex; gap: 10px; align-items: baseline; padding: 7px 0; border-bottom: 1px solid var(--gx-line); font-size: 14.5px; }
.gx-side-list li:last-child { border-bottom: 0; }
.gx-side-n { color: var(--gx-brand); font-weight: 800; font-size: 13px; min-width: 16px; }
.gx-side-list a { color: var(--gx-fg); }
.gx-side-list a:hover { color: var(--gx-brand); }
.gx-side-steps { list-style: none; margin: 0; padding: 0; counter-reset: ss; }
.gx-side-steps li { display: flex; gap: 11px; padding: 9px 0; }
.gx-side-steps span {
  flex: 0 0 24px; height: 24px; border-radius: 50%;
  background: var(--gx-brand); color: #fff; display: grid; place-items: center;
  font-size: 12.5px; font-weight: 700;
}
.gx-side-steps p { margin: 0; font-size: 14px; color: var(--gx-muted); }
.gx-side-box--cta { background: linear-gradient(150deg, var(--gx-brand), var(--gx-brand-2)); border-color: transparent; color: #fff; }
.gx-side-box--cta h3 { color: rgba(255,255,255,.85); }
.gx-side-box--cta p { font-size: 14px; opacity: .92; margin: 0 0 14px; }
.gx-side-box--cta .gx-btn { background: #fff; color: var(--gx-brand); }

/* ---------------- 版式 B：纵向长卷 ---------------- */
.gx-band { padding: 46px 0; border-bottom: 1px solid var(--gx-line); }
.gx-band--even { background: var(--gx-soft); }
.gx-band-head { max-width: 640px; margin-bottom: 24px; position: relative; }
.gx-band-ico { font-size: 26px; display: block; margin-bottom: 8px; }
.gx-band-head h2 { margin: 0 0 7px; font-size: 25px; letter-spacing: -.02em; }
.gx-band-head p { margin: 0 0 10px; color: var(--gx-muted); }
.gx-band-more { font-size: 14px; font-weight: 600; }
.gx-rows { display: grid; gap: 12px; }
.gx-row {
  display: grid; grid-template-columns: 62px 1fr auto; gap: 20px; align-items: center;
  background: var(--gx-bg); border: 1px solid var(--gx-line); border-radius: var(--gx-radius);
  padding: 18px 22px; transition: border-color .16s ease, transform .16s ease, box-shadow .16s ease;
}
.gx-row:hover { border-color: var(--gx-brand); transform: translateX(3px); box-shadow: var(--gx-shadow); }
.gx-row-idx { font-size: 30px; font-weight: 800; color: var(--gx-line); letter-spacing: -.03em; text-align: center; }
.gx-row h3 { margin: 0 0 4px; font-size: 17px; }
.gx-row h3 a { color: var(--gx-fg); }
.gx-row h3 a:hover { color: var(--gx-brand); text-decoration: none; }
.gx-row p { margin: 0 0 7px; color: var(--gx-muted); font-size: 14.5px; }
.gx-row-meta { display: flex; flex-wrap: wrap; gap: 10px; font-size: 12.5px; color: var(--gx-muted); }
.gx-row-tags { color: var(--gx-brand-2); font-weight: 600; }
.gx-badge {
  display: inline-block; padding: 5px 12px; border-radius: var(--gx-radius-pill);
  font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em;
  background: var(--gx-soft); color: var(--gx-muted); white-space: nowrap;
}
.gx-badge--hot { background: #fdecea; color: #b3271c; }
.gx-badge--new { background: #e7f6ed; color: #1a7a44; }
.gx-badge--top { background: #fff4e0; color: #a45c00; }

/* ---------------- 版式 C：中心对撞 ---------------- */
.gx-split { padding: 44px 0; }
.gx-split--l { background: var(--gx-soft); }
.gx-split-inner { display: grid; grid-template-columns: 340px 1fr; gap: 36px; align-items: start; }
.gx-split--l .gx-split-inner { direction: ltr; }
.gx-split--r .gx-split-inner { grid-template-columns: 1fr 340px; }
.gx-split--r .gx-split-side { order: 2; }
.gx-split--r .gx-split-cards { order: 1; }
.gx-split-side { position: sticky; top: calc(var(--gx-head-h) + 18px); }
.gx-split-ico { font-size: 30px; display: block; margin-bottom: 10px; }
.gx-split-side h2 { margin: 0 0 9px; font-size: 24px; letter-spacing: -.02em; }
.gx-split-side p { margin: 0 0 16px; color: var(--gx-muted); font-size: 15px; }
.gx-split-cards { display: grid; gap: 11px; }
.gx-pill {
  display: flex; gap: 15px; align-items: flex-start;
  background: var(--gx-bg); border: 1px solid var(--gx-line); border-radius: var(--gx-radius);
  padding: 16px 19px; color: var(--gx-fg);
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}
.gx-pill:hover { transform: translateY(-2px); box-shadow: var(--gx-shadow-hover); border-color: var(--gx-brand); text-decoration: none; }
.gx-pill-ico { font-size: 20px; flex: 0 0 auto; }
.gx-pill-body { display: flex; flex-direction: column; gap: 3px; }
.gx-pill-body strong { font-size: 16px; }
.gx-pill-body small { color: var(--gx-muted); font-size: 14px; line-height: 1.5; }

/* ---------------- 区块页 ---------------- */
.gx-arc-hero { background: linear-gradient(165deg, var(--gx-soft), var(--gx-bg)); padding: 44px 0 34px; border-bottom: 1px solid var(--gx-line); }
.gx-arc-ico { font-size: 32px; display: block; margin-bottom: 10px; }
.gx-arc-hero h1 { margin: 0 0 10px; font-size: clamp(26px, 3.6vw, 38px); letter-spacing: -.025em; }
.gx-arc-desc { margin: 0 0 10px; font-size: 17px; color: var(--gx-muted); max-width: 72ch; }
.gx-arc-intro { margin: 0 0 10px; font-size: 15.5px; color: var(--gx-muted); max-width: 72ch; }
.gx-arc-count { font-size: 13px; color: var(--gx-muted); font-weight: 600; }
.gx-arc-body { display: grid; grid-template-columns: 250px 1fr; gap: 34px; padding-top: 34px; padding-bottom: 60px; align-items: start; }
.gx-arc-filters { position: sticky; top: calc(var(--gx-head-h) + 18px); border: 1px solid var(--gx-line); border-radius: var(--gx-radius); padding: 16px; }
.gx-arc-filters h2 { margin: 0 0 11px; font-size: 12.5px; text-transform: uppercase; letter-spacing: .07em; color: var(--gx-muted); }
.gx-arc-filters ul { list-style: none; margin: 0; padding: 0; }
.gx-arc-filters a { display: flex; align-items: center; gap: 8px; padding: 8px 0; font-size: 14.5px; color: var(--gx-fg); border-bottom: 1px solid var(--gx-line); }
.gx-arc-filters li:last-child a { border-bottom: 0; }
.gx-arc-filters a:hover { color: var(--gx-brand); text-decoration: none; }
.gx-f-ico { font-size: 14px; }
.gx-f-n { margin-left: auto; color: var(--gx-muted); font-size: 12.5px; }
.gx-cat-block { margin-bottom: 40px; scroll-margin-top: calc(var(--gx-head-h) + 16px); }
.gx-cat-title { display: flex; align-items: center; gap: 9px; margin: 0 0 8px; font-size: 20px; letter-spacing: -.015em; }
.gx-cat-desc { margin: 0 0 16px; color: var(--gx-muted); font-size: 15px; }
.gx-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.gx-cards--plain { grid-template-columns: repeat(4, 1fr); }
.gx-card { border: 1px solid var(--gx-line); border-radius: var(--gx-radius); background: var(--gx-bg); transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease; }
.gx-card:hover { transform: translateY(-3px); box-shadow: var(--gx-shadow-hover); border-color: var(--gx-brand); }
.gx-card-link { display: flex; flex-direction: column; gap: 7px; padding: 18px 17px; color: var(--gx-fg); height: 100%; }
.gx-card-link:hover { text-decoration: none; }
.gx-card-ico { font-size: 21px; }
.gx-card h3 { margin: 0; font-size: 15.5px; line-height: 1.35; }
.gx-card p { margin: 0; color: var(--gx-muted); font-size: 13.5px; line-height: 1.55; }
.gx-card-meta { margin-top: auto; padding-top: 10px; display: flex; align-items: center; gap: 9px; }
.gx-tag { font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--gx-brand-2); }
.gx-tag--solid { background: var(--gx-brand); color: #fff; padding: 4px 10px; border-radius: var(--gx-radius-pill); }
.gx-lvl { font-size: 12px; color: var(--gx-muted); }

/* ---------------- 详情页 ---------------- */
.gx-article { padding: 38px 0 60px; }
.gx-article-inner { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 40px; align-items: start; }
.gx-article-head { margin-bottom: 26px; }
.gx-article-ico { font-size: 30px; display: block; margin-bottom: 10px; }
.gx-article-head h1 { margin: 0 0 12px; font-size: clamp(25px, 3.4vw, 37px); line-height: 1.18; letter-spacing: -.025em; }
.gx-article-lead { margin: 0 0 16px; font-size: 17px; color: var(--gx-muted); }
.gx-article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; font-size: 13px; color: var(--gx-muted); }
.gx-article-intro { font-size: 16.5px; color: var(--gx-fg); border-left: 3px solid var(--gx-brand); padding-left: 16px; margin: 0 0 24px; }
.gx-article-main h2 { margin: 34px 0 12px; font-size: 21px; letter-spacing: -.015em; }
.gx-article-main p { margin: 0 0 15px; color: #33383f; }
.gx-bullets { margin: 0 0 18px; padding-left: 20px; color: #33383f; }
.gx-bullets li { margin-bottom: 8px; }
.gx-table-wrap { overflow-x: auto; margin: 0 0 22px; border: 1px solid var(--gx-line); border-radius: var(--gx-radius); }
.gx-table { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 520px; }
.gx-table th, .gx-table td { padding: 11px 14px; text-align: left; border-bottom: 1px solid var(--gx-line); }
.gx-table th { background: var(--gx-soft); font-weight: 700; font-size: 13.5px; }
.gx-table tr:last-child td { border-bottom: 0; }
.gx-note { background: #fff8e8; border-left: 3px solid #e0a500; padding: 14px 16px; border-radius: 0 var(--gx-radius-sm) var(--gx-radius-sm) 0; margin: 0 0 20px; }
.gx-note strong { display: block; font-size: 13px; text-transform: uppercase; letter-spacing: .05em; color: #8a6200; margin-bottom: 4px; }
.gx-note p { margin: 0; font-size: 14.5px; }
.gx-howto { margin: 34px 0; }
.gx-howto h2 { margin-bottom: 16px; }
.gx-howto ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; counter-reset: ht; }
.gx-howto li { display: flex; gap: 15px; align-items: flex-start; }
.gx-howto-n {
  flex: 0 0 30px; height: 30px; border-radius: 50%;
  background: var(--gx-brand); color: #fff; display: grid; place-items: center;
  font-weight: 700; font-size: 14px;
}
.gx-howto h3 { margin: 3px 0 3px; font-size: 16px; }
.gx-howto p { margin: 0; font-size: 14.5px; color: var(--gx-muted); }
.gx-article-side { position: sticky; top: calc(var(--gx-head-h) + 18px); display: grid; gap: 16px; }
.gx-side-links { list-style: none; margin: 0; padding: 0; }
.gx-side-links a { display: block; padding: 8px 0; font-size: 14.5px; color: var(--gx-mg-muted, var(--gx-muted)); border-bottom: 1px solid var(--gx-line); }
.gx-side-links li:last-child a { border-bottom: 0; }
.gx-side-links a:hover { color: var(--gx-brand); text-decoration: none; }
.gx-side-links a.is-current { color: var(--gx-brand); font-weight: 700; }
.gx-tagcloud { display: flex; flex-wrap: wrap; gap: 7px; }
.gx-tagcloud span { font-size: 12.5px; padding: 4px 10px; background: var(--gx-soft); border-radius: var(--gx-radius-pill); color: var(--gx-muted); }

/* ---------------- FAQ ---------------- */
.gx-faq { padding: 48px 0; background: var(--gx-soft); border-top: 1px solid var(--gx-line); }
.gx-faq h2 { margin: 0 0 20px; font-size: 25px; letter-spacing: -.02em; }
.gx-faq-list { max-width: 820px; display: grid; gap: 10px; }
.gx-faq-item { background: var(--gx-bg); border: 1px solid var(--gx-line); border-radius: var(--gx-radius); overflow: hidden; }
.gx-faq-item summary { padding: 14px 18px; font-weight: 600; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.gx-faq-item summary::-webkit-details-marker { display: none; }
.gx-faq-item summary::after { content: "+"; color: var(--gx-brand); font-size: 20px; font-weight: 400; line-height: 1; }
.gx-faq-item[open] summary::after { content: "−"; }
.gx-faq-item p { margin: 0; padding: 0 18px 16px; color: var(--gx-muted); font-size: 15px; }
.gx-faq--inline { background: none; border: 0; padding: 0; margin: 32px 0; }

/* ---------------- 版式 D：看板 ---------------- */
.gx-board {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 0; align-items: start; padding: 0;
  border-top: 1px solid var(--gx-line);
}
.gx-board-col { padding: 34px 24px; border-right: 1px solid var(--gx-line); }
.gx-board-col:last-child { border-right: 0; }
.gx-board-head { margin-bottom: 18px; }
.gx-board-ico { font-size: 24px; display: block; margin-bottom: 7px; }
.gx-board-head h2 { margin: 0 0 6px; font-size: 19px; letter-spacing: -.02em; }
.gx-board-head p { margin: 0 0 9px; font-size: 14px; color: var(--gx-muted); }
.gx-board-more { font-size: 13.5px; font-weight: 600; }
.gx-board-stack { display: grid; gap: 10px; }
.gx-board-card {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 13px 15px; border: 1px solid var(--gx-line); border-radius: var(--gx-radius-sm);
  background: var(--gx-bg); color: var(--gx-fg);
  transition: border-color .15s ease, background .15s ease;
}
.gx-board-card:hover { border-color: var(--gx-brand); background: var(--gx-soft); text-decoration: none; }
.gx-board-n { font-size: 17px; font-weight: 800; color: var(--gx-brand); flex: 0 0 auto; min-width: 20px; }
.gx-board-body { display: flex; flex-direction: column; gap: 3px; }
.gx-board-body strong { font-size: 14.5px; line-height: 1.35; }
.gx-board-body small { font-size: 12.5px; color: var(--gx-muted); line-height: 1.5; }
.gx-board-tag { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--gx-brand-2); margin-top: 3px; }

/* ---------------- 版式 E：马赛克 ---------------- */
.gx-mosaic {
  display: grid; grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: minmax(150px, auto); gap: 12px;
  padding-top: 38px; padding-bottom: 58px;
}
.gx-mosaic-cell {
  grid-column: span 1; grid-row: span 1;
  display: flex; flex-direction: column; gap: 6px;
  padding: 18px 17px; border: 1px solid var(--gx-line); border-radius: var(--gx-radius);
  background: var(--gx-bg); color: var(--gx-fg);
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}
.gx-mosaic-cell:hover { transform: translateY(-3px); box-shadow: var(--gx-shadow-hover); border-color: var(--gx-brand); text-decoration: none; }
.gx-mosaic-cell.is-big { grid-column: span 2; grid-row: span 2; background: linear-gradient(150deg, var(--gx-soft), var(--gx-bg)); }
.gx-mosaic-cell.is-mid { grid-column: span 2; }
.gx-mosaic-cell.is-sml { grid-column: span 1; }
.gx-mosaic-sec { font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--gx-muted); }
.gx-mosaic-ico { font-size: 24px; }
.gx-mosaic-cell strong { font-size: 16px; line-height: 1.3; }
.gx-mosaic-cell.is-big strong { font-size: 22px; letter-spacing: -.02em; }
.gx-mosaic-cell small { font-size: 13px; color: var(--gx-muted); line-height: 1.55; }
.gx-mosaic-foot { margin-top: auto; padding-top: 10px; display: flex; align-items: center; gap: 9px; }

/* ---------------- 404 ---------------- */
.gx-nf { padding: 70px 0 80px; text-align: center; }
.gx-nf-code { font-size: 76px; font-weight: 800; color: var(--gx-line); letter-spacing: -.04em; line-height: 1; display: block; }
.gx-nf h1 { margin: 8px 0 12px; font-size: 30px; }
.gx-nf p { margin: 0 auto 28px; color: var(--gx-muted); max-width: 54ch; }
.gx-nf-links { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.gx-nf-links a {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 10px 17px; border: 1px solid var(--gx-line); border-radius: var(--gx-radius-pill);
  color: var(--gx-fg); font-size: 14.5px; font-weight: 500;
}
.gx-nf-links a:hover { border-color: var(--gx-brand); color: var(--gx-brand); text-decoration: none; }

/* ---------------- 页脚 ---------------- */
.gx-foot { background: var(--gx-fg); color: rgba(255, 255, 255, .78); padding: 44px 0 0; }
.gx-foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 34px; padding-bottom: 32px; }
.gx-foot-name { font-size: 18px; font-weight: 800; color: #fff; margin: 0 0 8px; }
.gx-foot-about { font-size: 14px; margin: 0 0 16px; max-width: 42ch; }
.gx-foot .gx-langsw { background: rgba(255, 255, 255, .1); }
.gx-foot .gx-langsw-btn { color: rgba(255, 255, 255, .72); }
.gx-foot .gx-langsw-btn.is-active { background: #fff; color: var(--gx-fg); }
.gx-foot-col h3 { font-size: 12.5px; text-transform: uppercase; letter-spacing: .08em; color: rgba(255, 255, 255, .5); margin: 0 0 13px; }
.gx-foot-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.gx-foot-col a { color: rgba(255, 255, 255, .78); font-size: 14.5px; }
.gx-foot-col a:hover { color: #fff; }
.gx-foot-bottom {
  border-top: 1px solid rgba(255, 255, 255, .12); padding: 16px 20px;
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between;
  font-size: 13px; color: rgba(255, 255, 255, .5);
}
.gx-foot-bottom p { margin: 0; }

/* ---------------- 响应式 ---------------- */
@media (max-width: 1024px) {
  .gx-matrix { grid-template-columns: 1fr; }
  .gx-matrix-side { position: static; }
  .gx-tiles { grid-template-columns: repeat(2, 1fr); }
  .gx-tiles--sm { grid-template-columns: repeat(3, 1fr); }
  .gx-cards { grid-template-columns: repeat(2, 1fr); }
  .gx-cards--plain { grid-template-columns: repeat(3, 1fr); }
  .gx-arc-body { grid-template-columns: 1fr; }
  .gx-arc-filters { position: static; }
  .gx-article-inner { grid-template-columns: 1fr; }
  .gx-article-side { position: static; }
  .gx-split-inner, .gx-split--r .gx-split-inner { grid-template-columns: 1fr; }
  .gx-split--r .gx-split-side { order: 0; }
  .gx-split-side { position: static; }
  .gx-hero-inner { grid-template-columns: 1fr; gap: 28px; }
  .gx-mosaic { grid-template-columns: repeat(2, 1fr); }
  .gx-mosaic-cell.is-big { grid-column: span 2; grid-row: span 1; }
  .gx-mosaic-cell.is-mid { grid-column: span 2; }
  .gx-board-col { border-right: 0; border-bottom: 1px solid var(--gx-line); }
}

@media (max-width: 760px) {
  .gx-burger { display: block; order: 3; }
  .gx-head-inner { position: relative; }
  .gx-nav {
    order: 4; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--gx-bg); border-bottom: 1px solid var(--gx-line);
    padding: 10px 20px 16px; display: none; margin-left: 0;
    box-shadow: var(--gx-shadow);
  }
  .gx-nav.is-open { display: block; }
  .gx-nav ul { flex-direction: column; gap: 2px; }
  .gx-nav a { padding: 11px 12px; border-radius: var(--gx-radius-sm); }
  .gx-langsw { order: 2; margin-left: auto; }
  .gx-logo { margin-right: auto; }
  .gx-hero { padding: 38px 0 30px; }
  .gx-hero-stats { grid-template-columns: repeat(2, 1fr); }
  .gx-tiles, .gx-tiles--sm, .gx-cards, .gx-cards--plain { grid-template-columns: 1fr 1fr; }
  .gx-row { grid-template-columns: 1fr; gap: 10px; padding: 16px; }
  .gx-row-idx { text-align: left; font-size: 22px; }
  .gx-row-side { display: none; }
  .gx-foot-grid { grid-template-columns: 1fr; gap: 26px; }
}

@media (max-width: 480px) {
  .gx-tiles, .gx-tiles--sm, .gx-cards, .gx-cards--plain { grid-template-columns: 1fr; }
  .gx-hero-stats { grid-template-columns: 1fr 1fr; }
}

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