/* ============================================================
   子站群 · 深色游戏官网样式
   ------------------------------------------------------------
   ★ 这是一套**独立**的设计系统，刻意不复用主站的 site.css。

   配色取向：暗黑底 + 赤金（火焰 / 熔岩 / 金属）。
   为什么不走青蓝系 —— 青蓝是 SaaS 与后台面板的语感，
   放游戏站上会像"产品介绍页"而不是"来打一局"。本库以传奇/三国/
   仙侠/魔幻为主，赤金才接得住这个品类该有的热度。

   与主站的区分：主站是暖白底 + 单色橙（工业实用），
   这里是**近黑底 + 赤→橙→金三段色**，靠底色与明度拉开，
   不靠色相区分（同一个赛道里硬用冷色反而违和）。

   类名前缀 gs- = game site，与主站 site.css 无任何类名重叠。
   ============================================================ */

:root {
  --gs-bg:        #080606;   /* 微暖的近黑，纯黑偏冷、会显廉价 */
  --gs-bg-2:      #0d0a09;
  --gs-panel:     #14100f;
  --gs-panel-2:   #1c1614;
  --gs-line:      rgba(255, 214, 190, .10);
  --gs-line-2:    rgba(255, 214, 190, .20);

  --gs-fg:        #f4ece7;
  --gs-fg-2:      #ab9f98;
  --gs-fg-3:      #746964;

  /* 主强调：炽红。按钮、强调线、图表柱都用它 */
  --gs-fire:      #ff3b24;
  --gs-fire-2:    #ff7a18;                 /* 渐变末端，做火焰过渡 */
  --gs-fire-dim:  rgba(255, 59, 36, .14);

  /* 价值强调：金。只在折扣、礼包、关键数字上用，用多了就廉价 */
  --gs-gold:      #ffc94d;
  --gs-gold-2:    #ffe7a3;
  --gs-gold-dim:  rgba(255, 201, 77, .12);

  --gs-r-s: 8px;
  --gs-r-m: 14px;
  --gs-r-l: 22px;

  --gs-max: 1080px;

  --gs-num: "Oswald", "PingFang SC", system-ui, sans-serif;
  --gs-body: "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;

  /* 氛围色（RGB 分量，供 rgba() 拼装）：跟主色走，换调色板时一起换 */
  --gs-wash-1: 255, 70, 40;
  --gs-wash-2: 255, 160, 50;
  /* 浅色文字（放在深底上的强调字），单独给，因为不能直接调透明度 */
  --gs-fire-ink: #ff8d6b;

  /* 火焰渐变：按钮、柱子统一用它，保证"一套材质"。
     ★ 注意：--gs-flame 里引用了 --gs-fire，而 var() 在自定义属性里
     是**按定义处**解析的。所以换了调色板必须**一起重定义 --gs-flame**，
     只改 --gs-fire 不会生效。 */
  --gs-flame: linear-gradient(135deg, var(--gs-fire-2), var(--gs-fire));
}

/* 数字字体：Oswald latin 子集，自托管（两档共 25KB）
   ★ 必须自己声明 @font-face —— 本表不引主站 site.css，
     否则 --gs-num 会静默回退系统字体，大号数字的观感就没了。 */
@font-face {
  font-family: 'Oswald';
  src: url('/static/fonts/oswald-500.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Oswald';
  src: url('/static/fonts/oswald-600.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--gs-bg);
  color: var(--gs-fg);
  font: 400 15px/1.7 var(--gs-body);
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
  padding-bottom: env(safe-area-inset-bottom);
}

/* 环境色：暖橙两团极淡光斑 + 底部压暗。
   纯色平铺 = "能跑但没设计"的信号；游戏站尤其需要氛围。 */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(58% 38% at 50% -4%, rgba(var(--gs-wash-1), .18), transparent 70%),
    radial-gradient(46% 34% at 86% 6%, rgba(var(--gs-wash-2), .09), transparent 72%),
    radial-gradient(70% 50% at 50% 108%, rgba(0, 0, 0, .75), transparent 70%),
    var(--gs-bg);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3 { margin: 0; line-height: 1.25; }

/* 封面虚化：让"这个站属于这个游戏"成立 */
.gs-glow {
  position: fixed;
  inset: 0 0 auto 0;
  height: 560px;
  z-index: -1;
  pointer-events: none;
  background-repeat: no-repeat;
  background-position: 50% 0;
  background-size: cover;
  filter: blur(52px) saturate(150%) brightness(.85);
  opacity: .30;
  transform: scale(1.15);
  transform-origin: top center;
  mask-image: linear-gradient(#000 0%, rgba(0,0,0,.42) 46%, transparent 88%);
  -webkit-mask-image: linear-gradient(#000 0%, rgba(0,0,0,.42) 46%, transparent 88%);
}

/* ============================================================
   顶栏
   ============================================================ */
.gs-hd {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(8, 6, 6, .74);
  backdrop-filter: blur(14px) saturate(150%);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  border-bottom: 1px solid var(--gs-line);
}
.gs-hd-in {
  max-width: var(--gs-max);
  margin: 0 auto;
  padding: 0 18px;
  height: 54px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.gs-logo {
  flex-shrink: 0;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.gs-logo b {
  background: var(--gs-flame);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 800;
}
.gs-nav {
  margin-left: auto;
  min-width: 0;          /* ★ 不加这行，导航会把整页撑宽，手机端横向溢出 */
  flex: 0 1 auto;
  display: flex;
  gap: 2px;
  overflow-x: auto;
  scrollbar-width: none;
}
.gs-nav::-webkit-scrollbar { display: none; }
.gs-nav a {
  padding: 6px 10px;
  border-radius: var(--gs-r-s);
  font-size: 13.5px;
  color: var(--gs-fg-2);
  white-space: nowrap;
}
.gs-nav a:hover { color: var(--gs-fg); background: rgba(255,255,255,.05); }
.gs-nav a[aria-current] { color: var(--gs-gold); background: var(--gs-gold-dim); }

/* ============================================================
   容器
   ============================================================ */
.gs-wrap { max-width: var(--gs-max); margin: 0 auto; padding: 0 18px; }

/* 横向出血：截图轮播贴边，视觉上更像"看游戏"而不是"看文档" */
.gs-bleed { margin-left: -18px; margin-right: -18px; }

/* ============================================================
   首屏
   ============================================================ */
.gs-hero {
  position: relative;
  padding: 34px 0 26px;
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 20px;
  align-items: center;
}
@media (max-width: 620px) {
  .gs-hero { grid-template-columns: 96px minmax(0, 1fr); gap: 14px; padding-top: 24px; }
}

.gs-cover {
  position: relative;
  border-radius: var(--gs-r-m);
  overflow: hidden;
  aspect-ratio: 1;
  box-shadow:
    0 18px 42px -12px rgba(0, 0, 0, .85),
    0 0 0 1px rgba(var(--gs-wash-2), .28) inset,
    0 0 26px -6px rgba(var(--gs-wash-1), .35);
}
.gs-cover img { width: 100%; height: 100%; object-fit: cover; }
.gs-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(255,255,255,.16), transparent 44%);
  pointer-events: none;
}

.gs-hero-main { min-width: 0; }

.gs-title {
  font-size: clamp(22px, 4.4vw, 32px);
  font-weight: 800;
  letter-spacing: -.01em;
  margin-bottom: 10px;
  word-break: break-word;
}
.gs-title span {
  background: var(--gs-flame);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.gs-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.gs-chip {
  font-size: 12px;
  line-height: 1;
  padding: 6px 9px;
  border-radius: 999px;
  border: 1px solid var(--gs-line-2);
  color: var(--gs-fg-2);
  white-space: nowrap;
}
/* 折扣：金色实心。整个页面最该被看见的信号 */
.gs-chip--gold {
  border-color: transparent;
  background: linear-gradient(135deg, var(--gs-gold-2), var(--gs-gold));
  color: #2a1a00;
  font-weight: 700;
  font-family: var(--gs-num);
  font-size: 13px;
  letter-spacing: .02em;
  box-shadow: 0 3px 12px -3px rgba(255, 201, 77, .45);
}
.gs-chip--fire { border-color: rgba(var(--gs-wash-1), .45); color: var(--gs-fire-ink); }
.gs-chip--dim { color: var(--gs-fg-3); }

.gs-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
  font-size: 12.5px;
  color: var(--gs-fg-3);
}
.gs-meta b { color: var(--gs-fg-2); font-weight: 600; font-family: var(--gs-num); }

/* 下载按钮：火焰渐变 + 内高光，游戏站的"主行动" */
.gs-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.gs-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 26px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .02em;
  background: var(--gs-flame);
  color: #fff;
  text-shadow: 0 1px 2px rgba(120, 20, 0, .45);
  box-shadow:
    0 10px 26px -8px rgba(var(--gs-wash-1), .65),
    0 1px 0 rgba(255, 235, 200, .35) inset;
  transition: transform .12s ease, box-shadow .2s ease;
}
.gs-btn:hover {
  transform: translateY(-1px);
  box-shadow:
    0 14px 32px -8px rgba(var(--gs-wash-1), .80),
    0 1px 0 rgba(255, 235, 200, .4) inset;
}
.gs-btn--ghost {
  background: transparent;
  color: var(--gs-fg);
  text-shadow: none;
  box-shadow: none;
  border: 1px solid var(--gs-line-2);
}
.gs-btn--ghost:hover { background: rgba(255,255,255,.06); box-shadow: none; }

.gs-cta-note {
  margin: 10px 0 0;
  font-size: 12px;
  color: var(--gs-fg-3);
}

/* ============================================================
   数据条：4 列，竖线分隔（卡片太多会碎）
   ============================================================ */
.gs-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--gs-line);
  border-bottom: 1px solid var(--gs-line);
  margin: 6px 0 4px;
}
@media (max-width: 520px) { .gs-facts { grid-template-columns: repeat(2, 1fr); } }
.gs-fact { padding: 16px 12px; text-align: center; border-left: 1px solid var(--gs-line); }
.gs-fact:first-child { border-left: 0; }
@media (max-width: 520px) {
  .gs-fact:nth-child(odd) { border-left: 0; }
  .gs-fact:nth-child(n+3) { border-top: 1px solid var(--gs-line); }
}
.gs-fact b {
  display: block;
  font-family: var(--gs-num);
  font-size: 26px;
  font-weight: 600;
  line-height: 1.1;
  color: var(--gs-fg);
}
.gs-fact b.gold { color: var(--gs-gold); }
.gs-fact span { display: block; margin-top: 4px; font-size: 11.5px; color: var(--gs-fg-3); }

/* ============================================================
   区块
   ============================================================ */
.gs-sec { padding: 34px 0 6px; }
.gs-sec-hd {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 16px;
}
.gs-sec-hd h2 {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .01em;
}
/* 英文小标：只做节奏感，不承载信息 */
.gs-sec-hd em {
  font-style: normal;
  font-family: var(--gs-num);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gs-fire);
  opacity: .8;
}
.gs-sec-hd .gs-more {
  margin-left: auto;
  font-size: 12.5px;
  color: var(--gs-fg-3);
}
.gs-sec-hd .gs-more:hover { color: var(--gs-gold); }

.gs-prose { color: var(--gs-fg-2); font-size: 14.5px; line-height: 1.85; }
.gs-prose p { margin: 0 0 10px; }
.gs-prose p:last-child { margin-bottom: 0; }

/* 福利 / 充值 / VIP */
.gs-feat {
  background: linear-gradient(180deg, var(--gs-panel), var(--gs-bg-2));
  border: 1px solid var(--gs-line);
  border-left: 2px solid rgba(var(--gs-wash-1), .55);
  border-radius: var(--gs-r-m);
  padding: 16px 18px;
  margin-bottom: 12px;
}
.gs-feat h3 {
  font-size: 14px;
  font-weight: 700;
  color: var(--gs-gold);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.gs-feat h3::before {
  content: "";
  width: 3px;
  height: 13px;
  border-radius: 2px;
  background: var(--gs-flame);
}
.gs-feat ul { margin: 0; padding: 0; list-style: none; }
/* 充值返利 / VIP 是「一行一条」的短句，排成一列会把页面拉得很长。
   分栏压缩：桌面 2 列、宽屏 3 列，移动端仍单列（窄屏分栏会挤）。 */
.gs-feat--cols ul { column-gap: 22px; }
@media (min-width: 620px) { .gs-feat--cols ul { column-count: 2; } }
@media (min-width: 900px) { .gs-feat--cols ul { column-count: 3; } }
.gs-feat--cols li { break-inside: avoid; }
.gs-feat li {
  position: relative;
  padding-left: 14px;
  color: var(--gs-fg-2);
  font-size: 14px;
  line-height: 1.8;
  word-break: break-word;
}
.gs-feat li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: .72em;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(var(--gs-wash-2), .70);
}

/* 游戏信息：参数网格。用 auto-fit 而不是固定列数 ——
   条目数会变（有的游戏没有折扣），固定 3 列会留出空格子露出灰底。 */
.gs-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(148px, 1fr));
  gap: 1px;
  background: var(--gs-line);
  border: 1px solid var(--gs-line);
  border-radius: var(--gs-r-m);
  overflow: hidden;
}
.gs-info > div { background: var(--gs-panel); padding: 11px 13px; }
.gs-info b { display: block; font-size: 11.5px; font-weight: 400; color: var(--gs-fg-3); margin-bottom: 3px; }
.gs-info span { font-size: 13.5px; color: var(--gs-fg); font-variant-numeric: tabular-nums; }

/* ============================================================
   版本矩阵：横向卡片（表格太像后台）
   ============================================================ */
.gs-vers { display: grid; gap: 10px; }
@media (min-width: 760px) { .gs-vers { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.gs-ver {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px 14px;
  align-items: center;
  padding: 14px 16px;
  border-radius: var(--gs-r-m);
  background: var(--gs-panel);
  border: 1px solid var(--gs-line);
  transition: border-color .18s ease, background .18s ease;
}
.gs-ver:hover { border-color: rgba(var(--gs-wash-1), .42); background: var(--gs-panel-2); }
.gs-ver-name { font-size: 14.5px; font-weight: 600; margin-bottom: 6px; }
.gs-ver-sub {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
  font-size: 12px;
  color: var(--gs-fg-3);
}
.gs-ver-sub b { color: var(--gs-gold); font-family: var(--gs-num); font-weight: 600; }
.gs-ver-go {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--gs-flame);
  white-space: nowrap;
  box-shadow: 0 6px 16px -6px rgba(var(--gs-wash-1), .60);
}
.gs-ver-go:hover { filter: brightness(1.08); }

/* ============================================================
   开服节奏：纯 CSS 柱状 + 三条统计
   ============================================================ */
.gs-rhythm {
  display: grid;
  gap: 18px;
  padding: 18px;
  border-radius: var(--gs-r-m);
  background: linear-gradient(180deg, var(--gs-panel), var(--gs-bg-2));
  border: 1px solid var(--gs-line);
}
@media (min-width: 720px) { .gs-rhythm { grid-template-columns: minmax(0, 1fr) 220px; } }

.gs-bars {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 132px;
  padding-top: 8px;
}
.gs-bar {
  flex: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  gap: 6px;
  min-width: 0;
}
/* ★ 柱子必须有「确定高度」的容器，否则 height:X% 解析成 0 ——
   父级是 flex 列且高度 auto 时，百分比高度没有参照物。 */
.gs-bar-track {
  flex: 1 1 auto;
  width: 100%;
  display: flex;
  align-items: flex-end;
  min-height: 0;
}
.gs-bar i {
  display: block;
  width: 100%;
  border-radius: 4px 4px 0 0;
  background: var(--gs-flame);
  box-shadow: 0 0 18px -4px rgba(var(--gs-wash-1), .55);
  min-height: 3px;
}
.gs-bar b {
  font-family: var(--gs-num);
  font-size: 12px;
  font-weight: 600;
  color: var(--gs-gold);
}
.gs-bar span {
  font-size: 10.5px;
  color: var(--gs-fg-3);
  white-space: nowrap;
  transform: scale(.92);
}
.gs-bar--zero i { background: var(--gs-line-2); box-shadow: none; }
.gs-bar--zero b { color: var(--gs-fg-3); }

.gs-rhythm-stats { display: grid; gap: 10px; align-content: start; }
.gs-rstat {
  padding: 12px 14px;
  border-radius: var(--gs-r-s);
  background: rgba(255, 255, 255, .03);
  border: 1px solid var(--gs-line);
}
.gs-rstat b {
  display: block;
  font-family: var(--gs-num);
  font-size: 20px;
  font-weight: 600;
  color: var(--gs-gold);
}
.gs-rstat span { font-size: 11.5px; color: var(--gs-fg-3); }

/* 开服列表 */
.gs-srv-day { margin-bottom: 14px; }
.gs-srv-date {
  font-family: var(--gs-num);
  font-size: 13px;
  font-weight: 600;
  color: var(--gs-fg-3);
  letter-spacing: .04em;
  margin-bottom: 6px;
}
.gs-srv-list { display: flex; flex-wrap: wrap; gap: 6px; }
.gs-srv {
  font-size: 12.5px;
  padding: 5px 10px;
  border-radius: var(--gs-r-s);
  background: rgba(255, 255, 255, .035);
  border: 1px solid var(--gs-line);
  color: var(--gs-fg-2);
}
.gs-srv b { font-family: var(--gs-num); color: var(--gs-gold); font-weight: 600; margin-right: 5px; }

/* ============================================================
   截图：横向滚动，全幅出血
   ============================================================ */
.gs-shots {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 2px 18px 12px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.gs-shots::-webkit-scrollbar { display: none; }
.gs-shots img {
  flex: 0 0 auto;
  width: 200px;
  height: 356px;
  object-fit: cover;
  border-radius: var(--gs-r-m);
  border: 1px solid var(--gs-line-2);
  scroll-snap-align: start;
  background: var(--gs-panel);
}
@media (max-width: 620px) { .gs-shots img { width: 168px; height: 299px; } }

/* ============================================================
   礼包
   ============================================================ */
.gs-gifts { display: flex; flex-wrap: wrap; gap: 8px; }
.gs-gift {
  font-size: 13px;
  padding: 8px 13px;
  border-radius: var(--gs-r-s);
  background: var(--gs-gold-dim);
  border: 1px solid rgba(255, 201, 77, .3);
  color: #ffdd8a;
}

/* ============================================================
   数据观察：编号列表
   ============================================================ */
.gs-notes { display: grid; gap: 12px; }
.gs-note {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  gap: 10px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--gs-line);
}
.gs-note:last-child { border-bottom: 0; padding-bottom: 0; }
.gs-note i {
  font-family: var(--gs-num);
  font-style: normal;
  font-size: 12px;
  color: var(--gs-fire);
  opacity: .85;
  padding-top: 2px;
}
.gs-note b { display: block; font-size: 13px; color: var(--gs-fg); margin-bottom: 3px; }
.gs-note p { margin: 0; font-size: 13.5px; line-height: 1.75; color: var(--gs-fg-2); }

/* ============================================================
   FAQ
   ============================================================ */
.gs-faq { display: grid; gap: 8px; }
.gs-faq details {
  border: 1px solid var(--gs-line);
  border-radius: var(--gs-r-m);
  background: var(--gs-panel);
  overflow: hidden;
}
.gs-faq details[open] { border-color: rgba(var(--gs-wash-1), .35); }
.gs-faq summary {
  cursor: pointer;
  padding: 14px 16px;
  font-size: 14px;
  font-weight: 600;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 10px;
}
.gs-faq summary::-webkit-details-marker { display: none; }
.gs-faq summary::after {
  content: "+";
  margin-left: auto;
  font-family: var(--gs-num);
  font-size: 18px;
  color: var(--gs-gold);
  line-height: 1;
}
.gs-faq details[open] summary::after { content: "–"; }
.gs-faq .gs-ans { padding: 0 16px 14px; color: var(--gs-fg-2); font-size: 14px; line-height: 1.8; }

/* ============================================================
   同类游戏
   ============================================================ */
.gs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(104px, 1fr));
  gap: 12px;
}
.gs-card { display: block; }
.gs-card-img {
  position: relative;
  aspect-ratio: 1;
  border-radius: var(--gs-r-s);
  overflow: hidden;
  border: 1px solid var(--gs-line);
  background: var(--gs-panel);
  transition: border-color .18s ease;
}
.gs-card-img img { width: 100%; height: 100%; object-fit: cover; }
.gs-card-badge {
  position: absolute;
  left: 0;
  top: 0;
  padding: 2px 6px;
  border-radius: var(--gs-r-s) 0 var(--gs-r-s) 0;
  font-family: var(--gs-num);
  font-size: 11px;
  font-weight: 600;
  background: linear-gradient(135deg, var(--gs-gold-2), var(--gs-gold));
  color: #2a1a00;
}
/* 角标：这个同类游戏有自己的独立站点（互链的视觉提示） */
.gs-card-net {
  position: absolute;
  right: 0;
  top: 0;
  padding: 2px 5px;
  border-radius: 0 var(--gs-r-s) 0 var(--gs-r-s);
  font-size: 10px;
  line-height: 1.5;
  background: rgba(8, 6, 6, .74);
  color: var(--gs-gold);
  border-left: 1px solid var(--gs-line);
  border-bottom: 1px solid var(--gs-line);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

.gs-card-name {
  margin-top: 7px;
  font-size: 12.5px;
  color: var(--gs-fg-2);
  line-height: 1.4;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.gs-card:hover .gs-card-name { color: var(--gs-fg); }
.gs-card:hover .gs-card-img { border-color: rgba(var(--gs-wash-1), .40); }

/* ============================================================
   移动端吸底下载（游戏站标配）
   ============================================================ */
.gs-sticky {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 40;
  display: none;
  gap: 10px;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(8, 6, 6, .92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--gs-line);
}
.gs-sticky .gs-btn { flex: 1; min-height: 44px; padding: 0 14px; font-size: 14.5px; }
@media (max-width: 720px) {
  .gs-sticky { display: flex; }
  body { padding-bottom: 76px; }
}

/* ============================================================
   页脚
   ============================================================ */
.gs-ft {
  margin-top: 44px;
  padding: 26px 18px 34px;
  border-top: 1px solid var(--gs-line);
  color: var(--gs-fg-3);
  font-size: 12.5px;
  line-height: 1.9;
  text-align: center;
}
.gs-ft a { color: var(--gs-fg-2); }
.gs-ft a:hover { color: var(--gs-gold); }
.gs-ft .gs-sep { margin: 0 8px; opacity: .4; }

/* 面包屑 */
.gs-crumb {
  padding: 14px 0 0;
  font-size: 12.5px;
  color: var(--gs-fg-3);
  display: flex;
  gap: 6px;
  align-items: center;
}
.gs-crumb a:hover { color: var(--gs-gold); }
.gs-crumb i { font-style: normal; opacity: .4; }

/* 页面级标题 */
.gs-page-hd { padding: 26px 0 4px; }
.gs-page-hd h1 { font-size: clamp(20px, 4vw, 26px); font-weight: 800; }
.gs-page-hd p { margin: 8px 0 0; color: var(--gs-fg-2); font-size: 14px; }

/* 无障碍：焦点可见 */
:focus-visible { outline: 2px solid var(--gs-gold); outline-offset: 2px; }

/* 尊重减少动效 */
@media (prefers-reduced-motion: no-preference) {
  .gs-hero, .gs-sec { animation: gs-rise .5s cubic-bezier(.22,.68,0,1) backwards; }
  .gs-sec:nth-of-type(2) { animation-delay: .05s; }
  .gs-sec:nth-of-type(3) { animation-delay: .1s; }
  .gs-sec:nth-of-type(n+4) { animation-delay: .14s; }
  @keyframes gs-rise {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: none; }
  }
}


/* ============================================================
   按品类的调色板
   ------------------------------------------------------------
   为什么分：
     226 个站全是同一套赤金，等于换了个模板的站群 —— 视觉指纹仍然一致。
     但也不能让每站自由取色，那会显得随机、不可控。

   所以按**品类气质**分四套，同品类共用一个（传奇 151 款占近一半，
   赤金就是主色调，其余三套是调味）：
     传奇 / 三国策略 / 武侠   → 赤金（默认，不加类）
     仙侠修真                 → 翡翠 + 金
     魔幻暗黑                 → 紫金
     二次元卡牌               → 品红 + 金

   ★ 换色必须同时重定义：--gs-fire / --gs-fire-2 / --gs-flame /
     --gs-wash-1 / --gs-wash-2 / --gs-fire-ink。
     漏了 --gs-flame，按钮和柱子会留在上一套颜色里。
   ============================================================ */

body.gs-p-jade {
  --gs-fire:      #17b978;
  --gs-fire-2:    #0b8f5e;
  --gs-fire-ink:  #5ee6b4;
  --gs-gold:      #ffd166;
  --gs-gold-2:    #ffe9ab;
  --gs-wash-1:    30, 200, 130;
  --gs-wash-2:    150, 255, 210;
  --gs-line:      rgba(200, 255, 230, .10);
  --gs-line-2:    rgba(200, 255, 230, .20);
  --gs-flame:     linear-gradient(135deg, #0b8f5e, #17b978);
}

body.gs-p-violet {
  --gs-fire:      #a855f7;
  --gs-fire-2:    #6d28d9;
  --gs-fire-ink:  #cba6ff;
  --gs-gold:      #ffd166;
  --gs-gold-2:    #ffe9ab;
  --gs-wash-1:    150, 70, 255;
  --gs-wash-2:    210, 160, 255;
  --gs-line:      rgba(235, 215, 255, .10);
  --gs-line-2:    rgba(235, 215, 255, .20);
  --gs-flame:     linear-gradient(135deg, #6d28d9, #a855f7);
}

body.gs-p-rose {
  --gs-fire:      #f0389c;
  --gs-fire-2:    #b81b86;
  --gs-fire-ink:  #ff9ccb;
  --gs-gold:      #ffd166;
  --gs-gold-2:    #ffe9ab;
  --gs-wash-1:    255, 70, 170;
  --gs-wash-2:    255, 170, 220;
  --gs-line:      rgba(255, 215, 235, .10);
  --gs-line-2:    rgba(255, 215, 235, .20);
  --gs-flame:     linear-gradient(135deg, #b81b86, #f0389c);
}
