/* ============================================================
   Pocket Gamer 口袋玩家 — 全站样式（电脑端 · 黑绿赛博朋克版）
   风格基准：pocketgamer.com 排版逻辑 + 霓虹绿 × 酸性绿 × 曜石黑
   配色思路：夜之城底色，霓虹绿为信息色、酸性绿为行动色，
            金霓虹榜单点睛；扫描线 + 故障字 + 切角霓虹边框
   ============================================================ */

:root {
  --bg: #050807;
  --bg-glow: radial-gradient(1100px 460px at 50% -140px, rgba(0, 255, 157, .11), transparent 70%);
  --surface: #0b120d;
  --surface-2: #101a12;
  --ink: #e6f5ea;
  --ink-2: #9fc4ab;
  --ink-3: #5f9070;
  --line: #16281c;
  --line-strong: #1f4029;
  --brand: #00ff9d;
  --brand-dark: #00a86b;
  --brand-grad: linear-gradient(135deg, #00c26e 0%, #00ff9d 100%);
  --cta: linear-gradient(135deg, #c8ff2e 0%, #e8ff8a 100%);
  --gold: #f8e71c;
  --hot: #ff3d68;
  --radius: 10px;
  --radius-s: 8px;
  --shadow: 0 1px 2px rgba(0, 0, 0, .4);
  --shadow-lift: 0 12px 32px rgba(0, 0, 0, .5), 0 0 0 1px rgba(0, 255, 157, .16);
  --max-w: 1360px;
  --chamfer: polygon(11px 0, 100% 0, 100% calc(100% - 11px), calc(100% - 11px) 100%, 0 100%, 0 11px);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro SC", "PingFang SC",
    "HarmonyOS Sans SC", "MiSans", "Microsoft YaHei UI", "Microsoft YaHei", "Segoe UI", sans-serif;
  background: var(--bg-glow), var(--bg);
  background-repeat: no-repeat;
  color: var(--ink);
  font-size: 14.5px;
  letter-spacing: .2px;
  text-rendering: optimizeLegibility;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* 右上角酸性绿氛围光，缓慢呼吸 */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(720px 400px at 84% -100px, rgba(200, 255, 46, .08), transparent 70%);
  animation: glowPulse 9s ease-in-out infinite alternate;
}

@keyframes glowPulse {
  from { opacity: .45; }
  to   { opacity: 1; }
}

/* 全站扫描线（CRT 质感，极淡，不挡操作） */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  background: repeating-linear-gradient(0deg, rgba(0, 0, 0, .13) 0 1px, transparent 1px 4px);
  opacity: .32;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ---------------- 全站动态背景 ---------------- */
.bg-fx {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

/* 旋转极光束（双色霓虹绿，180s 缓转） */
.beam {
  position: absolute;
  width: 160vmax;
  height: 160vmax;
  border-radius: 50%;
  background: conic-gradient(from 0deg,
    transparent 0deg,
    rgba(0, 255, 157, .12) 22deg,
    rgba(0, 230, 140, .06) 38deg,
    transparent 60deg,
    transparent 180deg,
    rgba(0, 255, 157, .08) 205deg,
    transparent 235deg,
    transparent 360deg);
  filter: blur(46px);
  will-change: transform;
}

.beam-a {
  left: 50%; top: 50%;
  margin-left: -80vmax; margin-top: -80vmax;
  animation: beamSpin 180s linear infinite;
}

.beam-b {
  left: 50%; top: 50%;
  margin-left: -80vmax; margin-top: -80vmax;
  background: conic-gradient(from 120deg,
    transparent 0deg,
    rgba(200, 255, 46, .10) 30deg,
    rgba(184, 41, 255, .05) 52deg,
    transparent 80deg,
    transparent 220deg,
    rgba(200, 255, 46, .07) 250deg,
    transparent 290deg,
    transparent 360deg);
  animation: beamSpin 240s linear infinite reverse;
  opacity: .7;
}

@keyframes beamSpin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

/* 漂浮光球（霓虹青 + 酸性绿氛围，缓慢漂移） */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: .8;
  will-change: transform;
}

.orb-a {
  width: 760px; height: 760px;
  left: -200px; top: -220px;
  background: radial-gradient(circle, rgba(0, 255, 157, .30), transparent 65%);
  animation: orbA 22s ease-in-out infinite alternate;
}

.orb-b {
  width: 640px; height: 640px;
  right: -160px; top: 6%;
  background: radial-gradient(circle, rgba(0, 190, 120, .32), transparent 65%);
  animation: orbB 28s ease-in-out infinite alternate;
}

.orb-c {
  width: 860px; height: 860px;
  left: 28%; bottom: -340px;
  background: radial-gradient(circle, rgba(200, 255, 46, .16), transparent 60%);
  animation: orbC 34s ease-in-out infinite alternate;
}

.orb-d {
  width: 520px; height: 520px;
  left: 55%; top: 30%;
  background: radial-gradient(circle, rgba(0, 255, 157, .11), transparent 62%);
  animation: orbD 26s ease-in-out infinite alternate;
}

@keyframes orbA { from { transform: translate(0, 0) scale(1); } to { transform: translate(150px, 110px) scale(1.18); } }
@keyframes orbB { from { transform: translate(0, 0) scale(1); } to { transform: translate(-180px, 140px) scale(.88); } }
@keyframes orbC { from { transform: translate(0, 0) scale(1); } to { transform: translate(-110px, -80px) scale(1.15); } }
@keyframes orbD { from { transform: translate(0, 0) scale(1); opacity: .8; } to { transform: translate(-160px, 90px) scale(1.22); opacity: .45; } }

/* 霓虹网格，缓慢下移，向下淡出 */
.bg-grid {
  position: absolute;
  inset: -60px 0;
  background-image:
    linear-gradient(rgba(0, 255, 157, .075) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 255, 157, .075) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, .9), transparent 75%);
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, .9), transparent 75%);
  animation: gridPan 60s linear infinite;
}

@keyframes gridPan {
  from { background-position: 0 0, 0 0; }
  to   { background-position: 0 56px, 56px 0; }
}

/* 上升霓虹粒子（绿为主，可加 .lime 变体；带光晕拖尾） */
.spark {
  position: absolute;
  bottom: -12px;
  left: var(--x, 10%);
  width: var(--s, 3px);
  height: var(--s, 3px);
  border-radius: 50%;
  background: rgba(140, 255, 190, .95);
  box-shadow:
    0 0 6px rgba(0, 255, 157, .95),
    0 0 18px rgba(0, 255, 157, .55),
    0 -14px 22px rgba(0, 255, 157, .25);
  opacity: 0;
  animation: rise var(--d, 16s) linear var(--delay, 0s) infinite;
}

.spark.lime {
  background: rgba(255, 140, 205, .95);
  box-shadow:
    0 0 6px rgba(200, 255, 46, .95),
    0 0 18px rgba(200, 255, 46, .55),
    0 -14px 22px rgba(200, 255, 46, .25);
}

@keyframes rise {
  0%   { transform: translateY(0) translateX(0); opacity: 0; }
  8%   { opacity: .95; }
  50%  { transform: translateY(-54vh) translateX(14px); opacity: .55; }
  100% { transform: translateY(-108vh) translateX(-10px); opacity: 0; }
}

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
}

::selection { background: rgba(0, 255, 157, .3); }

/* ---------------- 滚动入场动画 ---------------- */
.reveal { opacity: 0; transform: translateY(20px); }
.reveal.in {
  opacity: 1;
  transform: none;
  transition: opacity .65s ease, transform .65s cubic-bezier(.2, .7, .3, 1);
}

.reveal .game-grid .post-card {
  opacity: 0;
  transform: translateY(16px);
}

.reveal.in .game-grid .post-card {
  opacity: 1;
  transform: none;
  transition: opacity .55s ease, transform .55s cubic-bezier(.2, .7, .3, 1);
}

/* ---------------- Header ---------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: linear-gradient(180deg, rgba(6, 10, 8, .94), rgba(4, 7, 5, .88));
  backdrop-filter: saturate(1.5) blur(18px);
  -webkit-backdrop-filter: saturate(1.5) blur(18px);
  border-bottom: 1px solid #14241a;
}

/* 顶边霓虹青渐变线 + 缓慢扫过的光斑 */
.site-header::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background:
    linear-gradient(90deg, transparent, #e2ffe9 45%, #00ff9d 55%, transparent) no-repeat,
    linear-gradient(90deg, transparent 4%, #00a86b 22%, #00ff9d 50%, #00a86b 78%, transparent 96%);
  background-size: 320px 100%, 100% 100%;
  animation: headShine 6.5s linear infinite;
  pointer-events: none;
}

@keyframes headShine {
  from { background-position: -320px 0, 0 0; }
  to   { background-position: calc(100% + 320px) 0, 0 0; }
}

/* 底边酸性绿光晕过渡 */
.site-header::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 16px;
  background: linear-gradient(180deg, rgba(200, 255, 46, .13), transparent);
  pointer-events: none;
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 30px;
  height: 100px;
}

/* 品牌：切角霓虹徽标 + 大字标（悬停 RGB 分离故障） */
.brand {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-shrink: 0;
}

.brand-mark {
  width: 56px;
  height: 56px;
  background: var(--brand-grad);
  color: #03150c;
  display: grid;
  place-items: center;
  clip-path: var(--chamfer);
  filter: drop-shadow(0 0 14px rgba(0, 255, 157, .4));
  transition: transform .3s cubic-bezier(.2, .7, .3, 1.4), filter .3s;
}

.brand:hover .brand-mark {
  transform: translateY(-2px) rotate(-4deg) scale(1.05);
  filter: drop-shadow(0 0 22px rgba(0, 255, 157, .65));
}

.brand-text { display: flex; flex-direction: column; line-height: 1.2; }

.brand-word {
  font-size: 31px;
  font-weight: 300;
  color: var(--brand);
  letter-spacing: -.4px;
  font-family: "Segoe UI", -apple-system, sans-serif;
  text-shadow: 0 0 18px rgba(0, 255, 157, .5);
}

.brand-word b {
  font-weight: 800;
  background: linear-gradient(115deg, #ffffff 25%, #c2ffe0 45%, #ffffff 65%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: wordSheen 5s ease-in-out infinite;
}

@keyframes wordSheen {
  0%, 100% { background-position: 0% 0; }
  50%      { background-position: 100% 0; }
}

/* 悬停故障字效：酸性绿 / 青色 RGB 分离抖动 */
.brand:hover .brand-word {
  animation: glitch .38s steps(2, end) 3;
}

@keyframes glitch {
  0%   { transform: translate(0); text-shadow: 2.5px 0 rgba(200, 255, 46, .8), -2.5px 0 rgba(0, 255, 157, .8); }
  25%  { transform: translate(-2px, 1px) skewX(-3deg); }
  50%  { transform: translate(2px, -1px); text-shadow: -2.5px 0 rgba(200, 255, 46, .8), 2.5px 0 rgba(0, 255, 157, .8); }
  75%  { transform: translate(-1px, 0) skewX(2deg); }
  100% { transform: translate(0); }
}

.brand-cn {
  font-size: 12px;
  color: var(--ink-3);
  letter-spacing: 5px;
  margin-top: 3px;
}

/* 主导航：17px 粗体 + 霓虹下划线（当前页酸性绿）+ 悬停辉光 */
.main-nav { display: flex; align-items: center; gap: 8px; }

.nav-link {
  position: relative;
  padding: 11px 19px;
  border-radius: 10px;
  font-size: 17px;
  font-weight: 700;
  color: var(--ink-2);
  transition: background .15s, color .15s, text-shadow .15s;
  white-space: nowrap;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 19px; right: 19px; bottom: 3px;
  height: 2px;
  border-radius: 2px;
  background: var(--brand);
  box-shadow: 0 0 10px rgba(0, 255, 157, .8);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .28s cubic-bezier(.2, .7, .3, 1);
}

.nav-link:hover {
  color: var(--brand);
  background: radial-gradient(ellipse at center, rgba(0, 255, 157, .12), transparent 72%);
  text-shadow: 0 0 18px rgba(0, 255, 157, .55);
}

.nav-link:hover::after { transform: scaleX(1); }

.nav-link.active { color: var(--ink); text-shadow: 0 0 20px rgba(255, 255, 255, .25); }
.nav-link.active::after {
  transform: scaleX(1);
  background: var(--gold);
  box-shadow: 0 0 10px rgba(248, 231, 28, .8);
}

/* 分类导航条：加高、微渐变底、两侧渐隐 */
.cat-strip {
  position: relative;
  background: linear-gradient(180deg, rgba(10, 18, 12, .82), rgba(5, 8, 6, .88));
  border-top: 1px solid #163024;
  border-bottom: 1px solid #0c1a12;
  box-shadow: inset 0 1px 0 rgba(0, 255, 157, .05);
}
.cat-strip::before { /* 顶部霓虹描边光 */
  content: ''; position: absolute; left: 0; right: 0; top: -1px; height: 1px;
  background: linear-gradient(90deg, transparent 4%, rgba(0, 255, 157, .45) 30%, rgba(0, 255, 157, .12) 70%, transparent 96%);
  pointer-events: none;
}

.cat-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between; /* 分类项撑满整行，首尾与上下内容区边线对齐；溢出时自动退化为左对齐滚动 */
  gap: 3px;
  height: 54px;
  overflow-x: auto;
  scrollbar-width: none;
  mask-image: linear-gradient(90deg, transparent, #000 24px, #000 calc(100% - 24px), transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 24px, #000 calc(100% - 24px), transparent);
}

.cat-strip-inner::-webkit-scrollbar { display: none; }

.cat-strip-inner a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 8px 9px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
  color: var(--ink-2);
  white-space: nowrap;
  border: 1px solid transparent;
  clip-path: var(--chamfer);
  transition: color .18s, background .18s, border-color .18s, transform .18s, box-shadow .18s;
}

/* 悬停：霓虹浮起 */
.cat-strip-inner a:hover {
  color: var(--brand);
  background: rgba(0, 255, 157, .08);
  border-color: rgba(0, 255, 157, .35);
  transform: translateY(-2px);
  text-shadow: 0 0 14px rgba(0, 255, 157, .7);
  box-shadow: 0 6px 18px rgba(0, 0, 0, .35);
}

.cat-strip-inner i {
  font-style: normal;
  font-size: 10.5px;
  font-family: Consolas, "Courier New", monospace;
  font-weight: 700;
  color: var(--ink-3);
  background: #0e1c13;
  border: 1px solid #1a3023;
  border-radius: 3px;
  padding: 0 4px;
  line-height: 16px;
  transition: background .18s, color .18s, border-color .18s, box-shadow .18s;
}

.cat-strip-inner a:hover i {
  color: var(--brand);
  background: rgba(0, 255, 157, .14);
  border-color: rgba(0, 255, 157, .45);
  box-shadow: 0 0 8px rgba(0, 255, 157, .25);
}

/* 当前选中：霓虹实心胶囊 + 底部光束 */
.cat-strip-inner a.active {
  color: #05130a;
  background: linear-gradient(135deg, var(--brand) 0%, #34ffb8 55%, var(--brand-dark) 100%);
  border-color: transparent;
  text-shadow: none;
  font-weight: 800;
  box-shadow: 0 0 18px rgba(0, 255, 157, .45), 0 4px 14px rgba(0, 0, 0, .4);
  animation: catPulse 2.4s ease-in-out infinite;
}
.cat-strip-inner a.active i {
  color: #05130a;
  background: rgba(5, 19, 10, .22);
  border-color: rgba(5, 19, 10, .35);
  box-shadow: none;
}
.cat-strip-inner a.active::before { /* 扫描光泽 */
  content: '';
  position: absolute; top: 0; bottom: 0; left: -70%; width: 50%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, .5), transparent);
  animation: catSheen 2.8s ease-in-out infinite;
  pointer-events: none;
}
.cat-strip-inner a.active::after { /* 底部光束 */
  content: '';
  position: absolute; left: 12%; right: 12%; bottom: -9px; height: 3px;
  background: linear-gradient(90deg, transparent, var(--brand) 25%, #b8ffe6 50%, var(--brand) 75%, transparent);
  border-radius: 999px;
  box-shadow: 0 0 14px rgba(0, 255, 157, .85), 0 0 30px rgba(0, 255, 157, .4);
  animation: catBeam 2.4s ease-in-out infinite;
  pointer-events: none;
}
@keyframes catPulse {
  50% { box-shadow: 0 0 30px rgba(0, 255, 157, .7), 0 4px 14px rgba(0, 0, 0, .4); }
}
@keyframes catSheen {
  0%, 55% { left: -70%; }
  85%, 100% { left: 130%; }
}
@keyframes catBeam {
  50% { opacity: .55; }
}

/* 头部搜索 */
.header-search {
  margin-left: auto;
  display: flex;
  align-items: center;
  background: #0c1610;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 6px 7px 6px 16px;
  width: 290px;
  transition: border-color .15s, box-shadow .15s, background .15s;
}

.header-search:focus-within {
  border-color: var(--brand);
  background: #0e1f13;
  box-shadow: 0 0 0 4px rgba(0, 255, 157, .1), 0 8px 24px rgba(0, 255, 157, .08);
}

.header-search input {
  border: 0; outline: 0; background: transparent;
  width: 100%;
  font-size: 14px;
  color: var(--ink);
}

.header-search input::placeholder { color: var(--ink-3); }

.header-search button {
  border: 0;
  background: transparent;
  color: var(--ink-3);
  cursor: pointer;
  padding: 7px 9px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  transition: color .15s, background .15s;
}

.header-search button:hover { color: var(--brand); background: rgba(0, 255, 157, .1); }

/* 头部 CTA：酸性绿切角按钮 + 霓虹呼吸 */
.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  background: var(--cta);
  color: #06180b;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .5px;
  white-space: nowrap;
  clip-path: var(--chamfer);
  filter: drop-shadow(0 0 12px rgba(200, 255, 46, .4));
  animation: ctaPulse 2.6s ease-in-out infinite;
  transition: transform .2s, filter .2s;
}

.header-cta:hover {
  transform: translateY(-2px) scale(1.02);
  filter: drop-shadow(0 0 20px rgba(200, 255, 46, .65));
}

@keyframes ctaPulse {
  0%, 100% { filter: drop-shadow(0 0 10px rgba(200, 255, 46, .35)); }
  50%      { filter: drop-shadow(0 0 22px rgba(200, 255, 46, .6)); }
}

/* ---------------- 顶部焦点区 ---------------- */
.featured {
  margin-top: 28px;
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  gap: 20px;
  align-items: stretch;
}

.feat-main {
  position: relative;
  display: block;
  border-radius: 14px;
  overflow: hidden;
  min-height: 430px;
  background: #0d1c11;
  border: 1px solid var(--line-strong);
  box-shadow: 0 18px 48px rgba(0, 0, 0, .45);
}

.feat-img, .feat-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* 素材截图为竖版(480x800)，标题/Logo 都在顶部：顶部对齐保证海报大标题不被裁 */
.feat-img img { object-position: 50% 0%; }

/* 焦点大图缓慢呼吸变焦 */
.feat-main .feat-img img { animation: kenburns 18s ease-in-out infinite alternate; }

@keyframes kenburns {
  from { transform: scale(1); }
  to   { transform: scale(1.07); }
}

.feat-main::after {
  content: "";
  position: absolute;
  inset: 38% 0 0;
  background: linear-gradient(180deg, transparent 0%, rgba(3, 6, 4, .5) 46%, rgba(3, 6, 4, .92) 100%);
}

.feat-txt {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 2;
  padding: 28px 30px 26px;
  color: #fff;
}

.feat-tags { display: flex; gap: 8px; margin-bottom: 10px; }

.feat-tags em, .post-cat {
  font-style: normal;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 1px;
  color: #03150c;
  background: var(--brand);
  border-radius: 3px;
  padding: 2.5px 9px;
  text-transform: uppercase;
}

.feat-tags em + em { background: var(--cta); color: #fff; }

.feat-title {
  display: block;
  font-size: 30px;
  font-weight: 800;
  line-height: 1.25;
  text-shadow: 0 2px 12px rgba(0, 0, 0, .5);
}

.feat-desc {
  margin-top: 8px;
  font-size: 14.5px;
  color: rgba(255, 255, 255, .82);
  max-width: 640px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.feat-meta { display: block; margin-top: 12px; font-size: 12.5px; color: rgba(255, 255, 255, .68); }

.feat-side { display: flex; flex-direction: column; gap: 20px; }

.feat-sub {
  flex: 1;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  transition: transform .18s, box-shadow .18s, border-color .18s;
}

.feat-sub:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); border-color: #1e7a42; }

/* 次级卡封面：加高减少 extreme 裁切，顶部对齐保住游戏标题 */
.feat-sub-img { height: 186px; overflow: hidden; background: #0d1c11; }
.feat-sub-img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0%; transition: transform .3s; }
.feat-sub:hover .feat-sub-img img { transform: scale(1.04); }

.feat-sub-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; }
.feat-sub-body .post-cat { align-self: flex-start; }

.feat-sub-title {
  font-size: 16.5px;
  font-weight: 800;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.feat-sub-title:hover { color: var(--brand); }

.feat-sub-meta { font-size: 12.5px; color: var(--ink-3); }

/* ---------------- Sections ---------------- */
.section { margin-top: 52px; }

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 12px;
  position: relative;
}

/* 青→酸性绿渐变短线：随板块入场从 0 展开 */
.section-head::after {
  content: "";
  position: absolute;
  left: 0; bottom: -1px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #00ff9d, #c8ff2e);
  border-radius: 1px;
  transition: width .9s cubic-bezier(.2, .7, .3, 1) .2s;
}

.reveal.in .section-head::after { width: 120px; }

.section-head h2 {
  font-size: 21px;
  font-weight: 800;
  letter-spacing: .3px;
  position: relative;
  padding-left: 14px;
}

.section-head h2::before {
  content: "";
  position: absolute;
  left: 0; top: 5px; bottom: 5px;
  width: 5px;
  border-radius: 2.5px;
  background: linear-gradient(180deg, #00ff9d, #c8ff2e);
}

.more {
  display: inline-block;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--brand);
  transition: color .15s, transform .15s;
}

.more:hover { color: #7dffb8; transform: translateX(3px); }

/* ---------------- 新闻式游戏卡片（大图在上） ---------------- */
.game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px 20px;
}

.post-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .18s, box-shadow .18s, border-color .18s;
}

.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); border-color: #1e7a42; }

.post-cover { aspect-ratio: 16 / 9.5; overflow: hidden; background: #0d1c11; }

.post-cover img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 0%; /* 游戏截图 Logo 在顶部，裁剪优先保住上半部分 */
  transition: transform .3s;
}

.post-card:hover .post-cover img { transform: scale(1.05); }

.post-body { padding: 13px 15px 15px; display: flex; flex-direction: column; gap: 6px; }

.post-cat { align-self: flex-start; }

.post-title {
  font-size: 15.5px;
  font-weight: 800;
  line-height: 1.4;
  color: var(--ink);
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.post-card:hover .post-title { color: var(--brand); }

/* 热门爆点徽章：⚡ + 提炼卖点 */
.post-hook {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 7px;
  padding: 2.5px 10px 2.5px 7px;
  width: fit-content;
  max-width: 100%;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .3px;
  color: var(--brand);
  background: linear-gradient(90deg, rgba(0, 255, 157, .13), rgba(200, 255, 46, .05));
  border: 1px solid rgba(0, 255, 157, .28);
  clip-path: polygon(0 0, calc(100% - 7px) 0, 100% 100%, 0 100%);
  text-shadow: 0 0 12px rgba(0, 255, 157, .5);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: border-color .2s, box-shadow .2s;
}

.post-hook i {
  font-style: normal;
  font-size: 11px;
  filter: drop-shadow(0 0 5px rgba(0, 255, 157, .8));
}

.post-card:hover .post-hook {
  border-color: rgba(0, 255, 157, .55);
  box-shadow: 0 0 14px rgba(0, 255, 157, .18);
}

.post-desc {
  font-size: 12.5px;
  color: var(--ink-3);
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 39px;
}

.post-meta { display: flex; align-items: center; gap: 10px; margin-top: 2px; }

.post-meta .hot {
  font-style: normal;
  font-size: 11px;
  font-weight: 700;
  color: var(--hot);
  background: rgba(255, 61, 104, .12);
  border-radius: 3px;
  padding: 1.5px 7px;
  white-space: nowrap;
  max-width: 110px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.post-meta .dl { font-size: 12px; color: var(--ink-3); white-space: nowrap; }
.post-meta .date { font-size: 12px; color: var(--ink-3); margin-left: auto; white-space: nowrap; }

/* ---------------- 热门游戏榜（纯文字面板） ---------------- */
.pop-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 28px;
  box-shadow: var(--shadow);
}

.pop-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 44px;
}

.pop-list li { border-bottom: 1px solid #152a1a; }
.pop-list li:last-child, .pop-list li:nth-last-child(2):nth-child(odd) { border-bottom: 0; }

.pop-list a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 4px;
  transition: background .12s;
  border-radius: 6px;
}

.rank {
  font-style: normal;
  width: 24px;
  font-size: 16px;
  font-weight: 800;
  color: #467a58;
  text-align: center;
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
  font-family: Consolas, "Courier New", monospace;
}

.rank.top {
  color: var(--gold);
  animation: rankPulse 2.6s ease-in-out infinite;
}

@keyframes rankPulse {
  0%, 100% { text-shadow: 0 0 10px rgba(248, 231, 28, .25); }
  50%      { text-shadow: 0 0 18px rgba(248, 231, 28, .6); }
}

.pop-name {
  flex: 1;
  min-width: 0;
  font-size: 14.5px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pop-list a:hover .pop-name { color: var(--brand); }

.pop-meta { font-size: 12px; color: var(--ink-3); white-space: nowrap; }

/* ---------------- 热门游戏一览：图标横滑条 ---------------- */
.icon-strip {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding: 4px 2px 14px;
  scroll-snap-type: x proximity;
}

.icon-strip::-webkit-scrollbar { height: 8px; }
.icon-strip::-webkit-scrollbar-thumb { background: #1c3a24; border-radius: 4px; }
.icon-strip::-webkit-scrollbar-track { background: transparent; }

.strip-item {
  flex: 0 0 108px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  text-align: center;
  padding: 12px 8px 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  scroll-snap-align: start;
  transition: transform .18s, box-shadow .18s, border-color .18s;
}

.strip-item:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); border-color: #1e7a42; }

.strip-item img {
  width: 64px; height: 64px;
  border-radius: 14px;
  object-fit: cover;
  background: #102016;
  margin-bottom: 5px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .4);
  transition: transform .18s;
}

.strip-item:hover img { transform: scale(1.06) rotate(-2deg); }

.strip-item b {
  font-size: 12.5px;
  font-weight: 700;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.strip-item i { font-style: normal; font-size: 11px; color: var(--ink-3); }

/* ---------------- 列表页 ---------------- */
.page { padding: 26px 32px 64px; }

.crumbs { font-size: 13px; color: var(--ink-3); margin-bottom: 18px; }
.crumbs a:hover { color: var(--brand); }
.crumbs span { margin: 0 8px; }
.crumbs b { color: var(--ink-2); font-weight: 600; }

.list-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  clip-path: var(--chamfer);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--ink-2);
  transition: color .18s, background .18s, border-color .18s, transform .18s, box-shadow .18s;
}

.chip span {
  font-size: 11px;
  font-family: Consolas, "Courier New", monospace;
  font-weight: 700;
  color: var(--ink-3);
  background: #0e1c13;
  border: 1px solid #1a3023;
  border-radius: 3px;
  padding: 0 7px;
  line-height: 16px;
  transition: background .18s, color .18s, border-color .18s;
}

.chip:hover {
  color: var(--brand);
  border-color: rgba(0, 255, 157, .35);
  transform: translateY(-2px);
  background: rgba(0, 255, 157, .07);
  text-shadow: 0 0 12px rgba(0, 255, 157, .6);
  box-shadow: 0 6px 16px rgba(0, 0, 0, .35);
}
.chip:hover span {
  color: var(--brand);
  background: rgba(0, 255, 157, .12);
  border-color: rgba(0, 255, 157, .4);
}
.chip.active {
  color: #05130a;
  background: linear-gradient(135deg, var(--brand) 0%, #34ffb8 55%, var(--brand-dark) 100%);
  border-color: transparent;
  font-weight: 800;
  box-shadow: 0 0 16px rgba(0, 255, 157, .4), 0 4px 12px rgba(0, 0, 0, .35);
}
.chip.active span {
  color: #05130a;
  background: rgba(5, 19, 10, .22);
  border-color: rgba(5, 19, 10, .35);
}

.sort-row { display: flex; align-items: center; gap: 6px; }
.sort-label { font-size: 13px; color: var(--ink-3); margin-right: 6px; }

.sort-btn {
  font-size: 13.5px;
  padding: 6px 14px;
  border-radius: 8px;
  color: var(--ink-2);
  font-weight: 600;
  transition: all .15s;
}

.sort-btn:hover { background: #102016; color: var(--ink); }
.sort-btn.active { background: var(--brand-dark); color: #fff; }

.search-title { font-size: 22px; font-weight: 800; }

.result-count { font-size: 13.5px; color: var(--ink-3); margin-bottom: 18px; }
.result-count b { color: var(--brand); font-size: 15px; }

/* 分页 */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin-top: 44px;
  flex-wrap: wrap;
}

.pg-btn {
  min-width: 38px;
  padding: 8px 13px;
  text-align: center;
  border-radius: 8px;
  background: var(--surface);
  border: 1px solid var(--line);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-2);
  transition: all .15s;
}

a.pg-btn:hover { border-color: var(--brand); color: var(--brand); }
.pg-btn.active { background: var(--brand-dark); border-color: var(--brand-dark); color: #fff; }
.pg-gap { color: var(--ink-3); padding: 0 4px; }

/* ---------------- 详情页 ---------------- */
.detail-layout {
  display: grid;
  grid-template-columns: 1fr 330px;
  gap: 24px;
  align-items: start;
}

.detail-hero {
  display: flex;
  gap: 26px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 30px;
  align-items: flex-start;
  box-shadow: var(--shadow);
}

.detail-icon {
  width: 120px; height: 120px;
  border-radius: 18px;
  overflow: hidden;
  flex-shrink: 0;
  background: #102016;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .45), 0 0 0 1px rgba(0, 255, 157, .12);
}

.detail-icon img { width: 100%; height: 100%; object-fit: cover; }

.detail-info { flex: 1; min-width: 0; }
.detail-info h1 { font-size: 26px; font-weight: 800; line-height: 1.3; }

.detail-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }

.tag {
  font-size: 12px;
  font-weight: 600;
  color: var(--brand);
  background: rgba(0, 255, 157, .1);
  border-radius: 4px;
  padding: 2.5px 10px;
  white-space: nowrap;
  max-width: 140px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tag.class { background: #102016; color: var(--ink-2); }

.detail-slogan { margin-top: 12px; color: var(--ink-2); font-size: 14.5px; }

/* 详情页爆点行 */
.detail-slogan.hook {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  margin-bottom: -6px;
  padding: 4px 14px 4px 10px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--brand);
  background: linear-gradient(90deg, rgba(0, 255, 157, .12), rgba(200, 255, 46, .05));
  border: 1px solid rgba(0, 255, 157, .3);
  clip-path: polygon(0 0, calc(100% - 9px) 0, 100% 100%, 0 100%);
  text-shadow: 0 0 14px rgba(0, 255, 157, .5);
}

.detail-slogan.hook i { font-style: normal; font-size: 13px; filter: drop-shadow(0 0 6px rgba(0, 255, 157, .8)); }

.detail-numbers { display: flex; flex-wrap: wrap; gap: 26px 40px; margin-top: 20px; }
.detail-numbers strong { display: block; font-size: 19px; font-weight: 800; }
.detail-numbers strong.gd { color: var(--gold); text-shadow: 0 0 14px rgba(248, 231, 28, .35); }
.detail-numbers span { font-size: 12px; color: var(--ink-3); }

/* 后台搜索关键词 → 特征词 chips */
.kw-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}

.kw-chips a {
  font-size: 11.5px;
  color: var(--ink-3);
  background: #101a12;
  border: 1px solid var(--line);
  padding: 2px 9px;
  clip-path: polygon(5px 0, 100% 0, 100% 100%, 0 100%, 0 5px);
  transition: color .15s, border-color .15s, background .15s;
}

.kw-chips a:hover {
  color: var(--brand);
  border-color: rgba(0, 255, 157, .4);
  background: rgba(0, 255, 157, .07);
}

/* 官方宣传视频 */
.video-box {
  border: 1px solid var(--line-strong);
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 0 100%);
  background: #000;
  line-height: 0;
}

.video-box video {
  width: 100%;
  max-height: 520px;
  aspect-ratio: 16 / 9;
  display: block;
  background: #000;
}

/* 累计充值返利表 */
.fanli-box {
  margin-top: 18px;
  border: 1px solid rgba(0, 255, 157, .22);
  background: linear-gradient(180deg, rgba(0, 255, 157, .045), transparent 55%);
  padding: 16px 20px 12px;
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 0 100%);
}

.fanli-box h3 {
  font-size: 14.5px;
  font-weight: 800;
  color: var(--brand);
  margin-bottom: 10px;
  text-shadow: 0 0 14px rgba(0, 255, 157, .4);
}

.fanli-box h3 i { font-style: normal; font-size: 11px; margin-right: 4px; }

.fanli-box table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.fanli-box th {
  text-align: left;
  font-weight: 600;
  color: var(--ink-3);
  font-size: 12px;
  padding: 6px 10px;
  border-bottom: 1px solid var(--line-strong);
  font-family: Consolas, monospace;
}

.fanli-box td {
  padding: 7px 10px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-2);
  font-family: Consolas, monospace;
}

.fanli-box td b { color: var(--brand); font-weight: 700; }

.fanli-box tr:hover td { background: rgba(0, 255, 157, .04); color: var(--ink); }

.fanli-tip { margin-top: 9px; font-size: 11.5px; color: var(--ink-3); }

.detail-cta { text-align: center; flex-shrink: 0; }
.detail-cta .btn + .btn { margin-left: 12px; }

.btn {
  display: inline-block;
  padding: 10px 26px;
  font-size: 14.5px;
  font-weight: 700;
  transition: all .15s;
  border: 0;
  cursor: pointer;
}

.btn.primary {
  background: var(--cta);
  color: #06180b;
  clip-path: var(--chamfer);
  filter: drop-shadow(0 0 10px rgba(200, 255, 46, .35));
}

.btn.primary:hover { filter: drop-shadow(0 0 18px rgba(200, 255, 46, .6)); transform: translateY(-1px); }
.btn.big { padding: 15px 42px; font-size: 16.5px; }

/* 主 CTA 霓虹呼吸 */
.btn.big.primary { animation: ctaGlow 2.8s ease-in-out infinite; }

@keyframes ctaGlow {
  0%, 100% { filter: drop-shadow(0 0 10px rgba(200, 255, 46, .4)); }
  50%      { filter: drop-shadow(0 0 24px rgba(200, 255, 46, .7)); }
}

.btn.ghost { background: transparent; border: 1px solid var(--line-strong); color: var(--ink-2); }
.btn.ghost:hover { border-color: var(--brand); color: var(--brand); }

.cta-tip { margin-top: 9px; font-size: 11.5px; color: var(--ink-3); }

.detail-section {
  margin-top: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 28px 30px;
}

.detail-section h2 {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 18px;
  padding-left: 13px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
  position: relative;
}

.detail-section h2::before {
  content: "";
  position: absolute;
  left: 0; top: 4px; bottom: 14px;
  width: 5px;
  border-radius: 2.5px;
  background: linear-gradient(180deg, #00ff9d, #c8ff2e);
}

/* 截图横向滚动 */
.shots-strip {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 12px;
  scroll-snap-type: x proximity;
}

.shots-strip::-webkit-scrollbar { height: 8px; }
.shots-strip::-webkit-scrollbar-thumb { background: #1c3a24; border-radius: 4px; }
.shots-strip::-webkit-scrollbar-track { background: transparent; }

.shot {
  flex: 0 0 auto;
  width: 186px;
  border-radius: 10px;
  overflow: hidden;
  cursor: zoom-in;
  scroll-snap-align: start;
  background: #102016;
  border: 1px solid var(--line);
  transition: transform .18s, border-color .18s;
}

.shot:hover { transform: scale(1.02); border-color: #1e7a42; }
.shot img { width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; object-position: 50% 0%; }

/* ---------------- 图片渐显（懒加载 onload 淡入） ---------------- */
.img-fade { opacity: 0; transition: opacity .5s ease; }
.img-fade.img-fade-in { opacity: 1; }

.rich-text p { margin-bottom: 10px; color: var(--ink-2); font-size: 14.5px; }
.rich-text p:last-child { margin-bottom: 0; }
.rich-text.muted p { color: var(--ink-3); }

/* 侧栏 */
.detail-side { display: flex; flex-direction: column; gap: 18px; position: sticky; top: 132px; }

.side-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px;
}

.side-card h3 { font-size: 16px; font-weight: 800; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.side-card p { font-size: 13px; color: var(--ink-3); margin-bottom: 14px; }

.side-list { display: flex; flex-direction: column; gap: 6px; }

.side-item {
  display: flex;
  gap: 11px;
  align-items: center;
  padding: 7px;
  border-radius: 10px;
  transition: background .15s;
}

.side-item:hover { background: #0d1c11; }

.side-item img { width: 46px; height: 46px; border-radius: 10px; object-fit: cover; background: #102016; }
.side-item span { min-width: 0; display: flex; flex-direction: column; }
.side-item b { font-size: 13.5px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.side-item i { font-style: normal; font-size: 11.5px; color: var(--ink-3); }

.cta-card {
  text-align: center;
  background: linear-gradient(160deg, rgba(200, 255, 46, .1) 0%, rgba(12, 19, 34, .5) 100%);
  border-color: #23402a;
}

.cta-card .btn { margin-top: 2px; }

/* ---------------- 灯箱 ---------------- */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(2, 4, 3, .92);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 200;
  cursor: zoom-out;
  backdrop-filter: blur(8px);
}

.lightbox.show { display: flex; }
.lightbox img { max-width: 82vw; max-height: 88vh; border-radius: 10px; box-shadow: 0 24px 80px rgba(0,0,0,.6), 0 0 0 1px rgba(0, 255, 157, .1); opacity: 0; transform: scale(.97); transition: opacity .3s ease, transform .3s ease; }
.lightbox img.loaded { opacity: 1; transform: none; }

/* 灯箱左右切换按钮 */
.lb-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  font-size: 34px;
  line-height: 1;
  color: rgba(255, 255, 255, .75);
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 50%;
  cursor: pointer;
  user-select: none;
  transition: background .15s, color .15s, transform .15s;
}

.lb-nav:hover { background: rgba(0, 255, 157, .22); color: #fff; }
.lb-nav:active { transform: translateY(-50%) scale(.94); }
.lb-prev { left: 28px; }
.lb-next { right: 28px; }

/* 灯箱加载指示 */
.lb-spinner {
  position: absolute;
  width: 38px;
  height: 38px;
  border: 3px solid rgba(255, 255, 255, .18);
  border-top-color: var(--brand);
  border-radius: 50%;
  animation: lbSpin .8s linear infinite;
  opacity: 0;
  pointer-events: none;
}

.lightbox:not(:has(img.loaded)) .lb-spinner { opacity: 1; }

@keyframes lbSpin { to { transform: rotate(360deg); } }

.lb-close {
  position: absolute;
  top: 20px; right: 34px;
  font-size: 40px;
  color: rgba(255, 255, 255, .8);
  line-height: 1;
  cursor: pointer;
  transition: color .15s;
}

.lb-close:hover { color: var(--brand); }

/* ---------------- 空状态 / 404 ---------------- */
.empty-block {
  text-align: center;
  padding: 70px 20px;
  background: var(--surface);
  border: 1px dashed var(--line-strong);
  border-radius: 14px;
  margin-bottom: 24px;
}

.empty-block.tall { padding: 100px 20px; }
.empty-emoji { font-size: 44px; margin-bottom: 12px; }
.empty-block h1 { font-size: 22px; margin-bottom: 8px; }
.empty-block p { color: var(--ink-3); margin-bottom: 18px; }
.empty-actions { display: flex; gap: 12px; justify-content: center; }

/* ---------------- 文档类内页（关于/联系/帮助/版权/家长监护/协议/手机版） ---------------- */
.doc-hero { padding: 46px 0 24px; }
.doc-badge {
  display: inline-block;
  padding: 5px 14px;
  border: 1px solid rgba(0, 255, 157, .45);
  color: var(--brand);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
  border-radius: 999px;
  background: rgba(0, 255, 157, .06);
}
.doc-hero h1 {
  margin-top: 14px;
  font-size: 34px;
  font-weight: 900;
  letter-spacing: 2px;
  color: var(--ink);
}
.doc-hl {
  font-style: normal;
  color: var(--brand);
  text-shadow: 0 0 24px rgba(0, 255, 157, .35);
}
.doc-lead { margin-top: 10px; font-size: 14.5px; line-height: 1.9; color: var(--ink-2); }

.doc-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(10, 22, 15, .55);
  padding: 34px 38px 38px;
  position: relative;
  overflow: hidden;
}
.doc-card::before {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: linear-gradient(180deg, #00ff9d, #c8ff2e);
  opacity: .8;
}

.doc-body { max-width: 920px; }
.doc-body h2 {
  margin: 30px 0 12px;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 1px;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 10px;
}
.doc-body > h2:first-child { margin-top: 0; }
.doc-body h2::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--brand);
  border-radius: 2px;
  box-shadow: 0 0 10px rgba(0, 255, 157, .8);
  flex: none;
}
.doc-body h3 {
  margin: 22px 0 8px;
  font-size: 15.5px;
  font-weight: 800;
  color: var(--brand);
  letter-spacing: .5px;
}
.doc-body p {
  font-size: 14px;
  line-height: 2.05;
  color: var(--ink-2);
  margin: 8px 0;
}
.doc-body ol, .doc-body ul { margin: 8px 0; padding-left: 0; list-style: none; display: flex; flex-direction: column; gap: 6px; }
.doc-body ol li, .doc-body ul li {
  position: relative;
  padding-left: 28px;
  font-size: 14px;
  line-height: 2;
  color: var(--ink-2);
}
.doc-body ol { counter-reset: doc; }
.doc-body ol li { counter-increment: doc; }
.doc-body ol li::before {
  content: counter(doc);
  position: absolute;
  left: 0;
  top: 8px;
  width: 19px;
  height: 19px;
  border-radius: 6px;
  background: rgba(0, 255, 157, .12);
  border: 1px solid rgba(0, 255, 157, .35);
  color: var(--brand);
  font-size: 11px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}
.doc-body ul li::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 13px;
  width: 6px;
  height: 6px;
  border-radius: 2px;
  background: var(--brand);
  transform: rotate(45deg);
}
.doc-body li b, .doc-body p b { color: var(--ink); font-weight: 700; }
.doc-mail { color: var(--brand); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.doc-mail:hover { color: #c8ff2e; }
.doc-note {
  border-left: 3px solid rgba(0, 255, 157, .4);
  background: rgba(0, 255, 157, .05);
  padding: 10px 14px;
  border-radius: 0 10px 10px 0;
  font-size: 13px !important;
  color: var(--ink-3) !important;
}
.doc-note a, .doc-note b { color: var(--brand); }

.doc-body a:not(.doc-mail):not(.btn) { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.doc-body a:not(.doc-mail):not(.btn):hover { color: #c8ff2e; }

/* 手机版页 */
.doc-mobile { display: flex; gap: 40px; align-items: flex-start; flex-wrap: wrap; }
.doc-m-qr { flex: none; width: 190px; display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.doc-m-qr .inst-qrbox { width: 168px; height: 168px; }
.doc-m-qr b { font-size: 14px; color: var(--ink); letter-spacing: 1px; }
.doc-m-qr p { font-size: 12.5px; line-height: 1.8; color: var(--ink-3); margin: 0; }
.doc-m-txt { flex: 1; min-width: 300px; }
.doc-m-txt h2 { margin-top: 0 !important; }
.doc-m-txt .btn { margin-top: 16px; }

.doc-foot { margin-top: 22px; display: flex; justify-content: flex-end; }

/* 页脚信息行 */
.fl-sep { color: var(--line); font-weight: 400; }
.fc-cert { color: var(--brand); font-weight: 700; letter-spacing: 1px; }
.fc-mail { color: var(--brand); font-weight: 700; }
.fc-mail:hover { color: #c8ff2e; }
.fc-cp { margin-top: 14px; }

/* ---------------- Footer ---------------- */
.site-footer {
  margin-top: 80px;
  border-top: 3px solid;
  border-image: linear-gradient(90deg, #00ff9d, #c8ff2e) 1;
  background: #070f0a;
  padding: 40px 0 26px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-brand { display: flex; gap: 12px; align-items: flex-start; max-width: 520px; }
.footer-brand .brand-word { font-size: 18px; text-shadow: none; }
.footer-brand .brand-cn { letter-spacing: 2px; }
.footer-brand strong { font-size: 14.5px; }
.footer-brand p { font-size: 12.5px; color: var(--ink-3); margin-top: 4px; }

.footer-links { display: flex; gap: 24px; font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.footer-links a:hover { color: var(--brand); }

.footer-copy {
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--ink-3);
}

/* ---------------- 响应式（电脑优先，向下兼容） ---------------- */
@media (max-width: 1200px) {
  .game-grid { grid-template-columns: repeat(3, 1fr); }
  .feat-main { min-height: 380px; }
}

@media (max-width: 1024px) {
  .featured { grid-template-columns: 1fr; }
  .feat-side { flex-direction: row; }
  .feat-sub { flex: 1; }
  .detail-layout { grid-template-columns: 1fr; }
  .detail-side { position: static; }
  .main-nav { display: none; }
  .header-cta { display: none; }
  .pop-list { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .game-grid { grid-template-columns: repeat(2, 1fr); }
  .feat-side { flex-direction: column; }
  .header-search { width: 170px; }
  .container { padding: 0 18px; }
  .page { padding: 20px 18px 56px; }
  .header-inner { height: 76px; gap: 20px; }
  .brand-mark { width: 42px; height: 42px; }
  .brand-word { font-size: 22px; }
  .brand-cn { display: none; }
  .cat-strip-inner { height: 44px; }
}

@media (max-width: 520px) {
  .game-grid { grid-template-columns: 1fr; }
  .feat-title { font-size: 22px; }
  .detail-hero { flex-direction: column; align-items: center; text-align: center; }
  .detail-tags, .detail-numbers { justify-content: center; }
  .detail-cta { margin-top: 8px; }
}

/* ---------------- 动效可访问性 ---------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .reveal, .reveal .game-grid .post-card { opacity: 1; transform: none; }
  .reveal.in .section-head::after { width: 120px; }
  body::after { display: none; }
}

/* ============ 限时活动专题（v14） ============ */
.tip-note { color: var(--ink-3); font-size: 13px; cursor: default; }
.tip-note::before {
  content: ''; display: inline-block; width: 6px; height: 6px; border-radius: 50%;
  background: var(--brand); margin-right: 7px; box-shadow: 0 0 8px var(--brand);
  vertical-align: 2px;
}

.topic-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }

.topic-card {
  position: relative; display: block; aspect-ratio: 3 / 4;
  border-radius: var(--radius); overflow: hidden;
  clip-path: var(--chamfer);
  background: var(--surface);
  border: 1px solid var(--line-strong);
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}
.topic-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 255, 157, .55);
  box-shadow: 0 18px 42px rgba(0, 0, 0, .55), 0 0 24px rgba(0, 255, 157, .18);
}
.topic-card::after { /* CRT 扫描线 */
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background: repeating-linear-gradient(0deg, rgba(0, 0, 0, .12) 0 1px, transparent 1px 3px);
}

.topic-img { position: absolute; inset: 0; display: block; }
.topic-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.topic-card:hover .topic-img img { transform: scale(1.06); }
.topic-img::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(5, 8, 7, .42) 0%, transparent 26%, transparent 46%, rgba(5, 8, 7, .9) 78%, #050807 100%);
}

.topic-top {
  position: absolute; top: 12px; left: 12px; right: 12px; z-index: 2;
  display: flex; justify-content: space-between; align-items: center;
}
.topic-tag {
  font-style: normal; font-weight: 800; font-size: 14px; letter-spacing: .5px;
  padding: 4px 10px; color: #0a1408; background: var(--cta);
  clip-path: var(--chamfer);
  box-shadow: 0 0 14px rgba(200, 255, 46, .45);
}
.topic-left {
  font-style: normal; font-size: 12px; font-weight: 700;
  padding: 4px 9px; border-radius: 999px; backdrop-filter: blur(4px);
}
.topic-left.ok   { color: var(--brand); background: rgba(0, 255, 157, .12); border: 1px solid rgba(0, 255, 157, .4); }
.topic-left.warn { color: var(--gold);  background: rgba(248, 231, 28, .12); border: 1px solid rgba(248, 231, 28, .4); }
.topic-left.hot  { color: #fff; background: rgba(255, 61, 104, .22); border: 1px solid rgba(255, 61, 104, .55); animation: topicPulse 1.2s infinite; }
@keyframes topicPulse { 50% { box-shadow: 0 0 12px rgba(255, 61, 104, .6); } }

.topic-body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 16px 16px 15px; }
.topic-title {
  display: block; font-size: 20px; font-weight: 800; letter-spacing: .5px;
  color: var(--ink); text-shadow: 0 2px 10px rgba(0, 0, 0, .6);
}
.topic-sub { display: block; margin-top: 4px; font-size: 13px; color: var(--ink-2); }
.topic-cta {
  display: inline-flex; align-items: center; gap: 5px; margin-top: 10px;
  font-size: 13px; font-weight: 800; color: #0a1408;
  background: var(--brand); padding: 6px 14px; clip-path: var(--chamfer);
  transition: background .3s, box-shadow .3s;
}
.topic-card:hover .topic-cta { background: var(--cta); box-shadow: 0 0 16px rgba(200, 255, 46, .5); }

@media (max-width: 900px) { .topic-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .topic-grid { grid-template-columns: 1fr; } .topic-card { aspect-ratio: 4 / 5; } }
@media (prefers-reduced-motion: reduce) {
  .topic-left.hot { animation: none; }
  .topic-img img, .topic-card { transition: none; }
}

/* ============ iOS 扫码下载弹窗（v15） ============ */
.qr-modal {
  position: fixed; inset: 0; z-index: 200;
  display: flex; align-items: center; justify-content: center;
  background: rgba(3, 6, 4, .82); backdrop-filter: blur(6px);
  opacity: 0; visibility: hidden; transition: opacity .25s ease, visibility .25s ease;
}
.qr-modal.show { opacity: 1; visibility: visible; }

.qr-panel {
  position: relative; width: 320px; max-width: calc(100vw - 40px);
  padding: 26px 24px 22px; text-align: center;
  background: var(--surface); border: 1px solid var(--line-strong);
  clip-path: var(--chamfer);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .6), 0 0 30px rgba(0, 255, 157, .14);
  transform: translateY(14px) scale(.97); transition: transform .25s ease;
}
.qr-modal.show .qr-panel { transform: translateY(0) scale(1); }

.qr-close {
  position: absolute; top: 8px; right: 14px;
  font-size: 26px; line-height: 1; color: var(--ink-3); cursor: pointer;
  transition: color .2s;
}
.qr-close:hover { color: var(--brand); }

.qr-panel h3 { font-size: 17px; font-weight: 800; color: var(--ink); letter-spacing: 1px; }
.qr-game {
  margin-top: 5px; font-size: 13px; color: var(--brand);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

.qr-imgbox {
  width: 208px; height: 208px; margin: 16px auto 0; padding: 10px;
  background: #fff; border: 1px solid var(--line-strong);
  clip-path: var(--chamfer);
  box-shadow: 0 0 22px rgba(0, 255, 157, .18);
}
.qr-imgbox img { width: 100%; height: 100%; display: block; }

.qr-tip { margin-top: 14px; font-size: 12.5px; line-height: 1.8; color: var(--ink-3); }

@media (prefers-reduced-motion: reduce) {
  .qr-modal, .qr-panel { transition: none; }
}

/* ============ 真实热度榜（v16） ============ */
.rh-lead {
  margin: 4px 0 18px; font-size: 14px; line-height: 1.8; color: var(--ink-2);
}
.rh-lead::before {
  content: ''; display: inline-block; width: 18px; height: 2px;
  background: var(--brand); margin-right: 10px; vertical-align: 5px;
  box-shadow: 0 0 8px var(--brand);
}

.rh-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px;
  counter-reset: rh;
}

.rh-item {
  position: relative; display: flex; align-items: center; gap: 14px;
  padding: 14px 16px 14px 58px;
  background: var(--surface); border: 1px solid var(--line);
  clip-path: var(--chamfer);
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
  overflow: hidden;
}
.rh-item:hover {
  transform: translateX(4px);
  border-color: rgba(0, 255, 157, .5);
  box-shadow: 0 10px 28px rgba(0, 0, 0, .45), 0 0 18px rgba(0, 255, 157, .15);
}
.rh-item::before { /* 左侧热度光带 */
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: linear-gradient(180deg, var(--brand), transparent);
  opacity: .55; transition: opacity .3s;
}
.rh-item:hover::before { opacity: 1; }

.rh-rank {
  position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
  font-style: italic; font-weight: 900; font-size: 30px; line-height: 1;
  color: var(--ink-3); opacity: .55; font-family: Georgia, serif;
}
.rh-rank.top { color: var(--gold); opacity: 1; text-shadow: 0 0 14px rgba(248, 231, 28, .45); }

.rh-icon {
  flex-shrink: 0; width: 60px; height: 60px; border-radius: 12px; overflow: hidden;
  border: 1px solid var(--line-strong); background: #0a120c;
}
.rh-icon img { width: 100%; height: 100%; object-fit: cover; display: block; }

.rh-info { min-width: 0; flex: 1; }
.rh-name {
  display: block; font-size: 16.5px; font-weight: 800; letter-spacing: .4px;
  color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.rh-note {
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  margin-top: 4px; font-size: 12.5px; line-height: 1.65; color: var(--ink-2);
}
.rh-src {
  display: inline-block; margin-top: 7px; font-style: normal; font-size: 11px;
  font-weight: 700; letter-spacing: .5px; color: var(--brand);
  padding: 2px 8px; border: 1px solid rgba(0, 255, 157, .35); border-radius: 999px;
  background: rgba(0, 255, 157, .07);
}

@media (max-width: 860px) { .rh-grid { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .rh-item, .rh-item::before { transition: none; } }

/* ============ 0.1折限量充值区（v17） ============ */
.dz-badge {
  display: inline-block; font-style: normal; font-weight: 900; font-size: 15px;
  letter-spacing: 1px; color: #0a1408; background: var(--cta);
  padding: 3px 10px; margin-right: 10px; clip-path: var(--chamfer);
  box-shadow: 0 0 14px rgba(200, 255, 46, .5); vertical-align: 3px;
  animation: dzGlow 1.8s ease-in-out infinite;
}
@keyframes dzGlow { 50% { box-shadow: 0 0 24px rgba(200, 255, 46, .8); } }

.dz-lead { margin: 4px 0 18px; font-size: 14.5px; line-height: 1.9; color: var(--ink-2); }
.dz-lead strong { color: var(--cta); font-weight: 800; }

.dz-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
}

.dz-card {
  display: flex; flex-direction: column; gap: 10px;
  padding: 14px 14px 13px; position: relative; overflow: hidden;
  background: var(--surface); border: 1px solid var(--line);
  clip-path: var(--chamfer);
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.dz-card:hover {
  transform: translateY(-5px);
  border-color: rgba(200, 255, 46, .55);
  box-shadow: 0 14px 34px rgba(0, 0, 0, .5), 0 0 20px rgba(200, 255, 46, .18);
}

.dz-top { display: flex; align-items: center; gap: 10px; }
.dz-icon {
  flex-shrink: 0; width: 48px; height: 48px; border-radius: 10px; overflow: hidden;
  border: 1px solid var(--line-strong); background: #0a120c;
}
.dz-icon img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dz-head { min-width: 0; }
.dz-name {
  display: block; font-size: 14.5px; font-weight: 800; color: var(--ink);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.dz-tag {
  display: inline-block; margin-top: 3px; max-width: 100%;
  font-style: normal; font-size: 11px; color: var(--brand);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

.dz-line {
  font-size: 12.5px; line-height: 1.7; color: var(--ink-2); flex: 1;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

.dz-price {
  display: flex; align-items: baseline; gap: 6px;
  padding-top: 10px; border-top: 1px dashed var(--line-strong);
}
.dz-price s { font-size: 12px; color: var(--ink-3); opacity: .7; }
.dz-arrow { font-style: normal; font-size: 11px; color: var(--ink-3); }
.dz-price b {
  font-size: 17px; font-weight: 900; color: var(--brand);
  text-shadow: 0 0 12px rgba(0, 255, 157, .4);
}
.dz-cta {
  margin-left: auto; font-style: normal; font-size: 10.5px; font-weight: 800;
  letter-spacing: 1px; color: #0a1408; background: var(--brand);
  padding: 3px 8px; clip-path: var(--chamfer);
  transition: background .3s, box-shadow .3s;
}
.dz-card:hover .dz-cta { background: var(--cta); box-shadow: 0 0 12px rgba(200, 255, 46, .55); }

@media (max-width: 1100px) { .dz-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .dz-grid { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .dz-badge, .dz-card, .dz-cta { animation: none; transition: none; } }

/* ============ 0.1折全场排行内页（v18） ============ */
.zhe-hero {
  position: relative; padding: 34px 34px 30px; margin: 18px 0 26px;
  background: var(--surface); border: 1px solid var(--line-strong);
  clip-path: var(--chamfer); overflow: hidden;
}
.zhe-hero::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
  background: linear-gradient(180deg, var(--cta), transparent);
  box-shadow: 0 0 16px rgba(200, 255, 46, .5);
}
.zhe-hero::after { /* 背景巨号折扣水印 */
  content: '0.1'; position: absolute; right: 18px; top: 50%; transform: translateY(-50%);
  font-size: 150px; font-weight: 900; font-style: italic; line-height: 1;
  color: rgba(200, 255, 46, .05); pointer-events: none; font-family: Georgia, serif;
}
.zhe-hero-badge {
  display: inline-block; font-style: normal; font-weight: 900; font-size: 16px;
  letter-spacing: 1.5px; color: #0a1408; background: var(--cta);
  padding: 4px 14px; clip-path: var(--chamfer);
  box-shadow: 0 0 16px rgba(200, 255, 46, .5); animation: dzGlow 1.8s ease-in-out infinite;
}
.zhe-hero h1 {
  margin-top: 14px; font-size: 32px; font-weight: 900; letter-spacing: 1px;
  color: var(--ink); text-shadow: 0 0 24px rgba(0, 255, 157, .25);
}
.zhe-hero-lead { margin-top: 10px; font-size: 14.5px; line-height: 2; color: var(--ink-2); }
.zhe-hero-lead b { color: var(--cta); font-weight: 800; }

.zr-list { display: flex; flex-direction: column; gap: 10px; }

.zr-row {
  display: flex; align-items: center; gap: 16px;
  padding: 12px 20px 12px 74px; position: relative;
  background: var(--surface); border: 1px solid var(--line);
  clip-path: var(--chamfer);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.zr-row:hover {
  transform: translateX(5px);
  border-color: rgba(0, 255, 157, .5);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .4), 0 0 16px rgba(0, 255, 157, .14);
}

.zr-rank {
  position: absolute; left: 20px; top: 50%; transform: translateY(-50%);
  min-width: 40px; text-align: center;
  font-style: italic; font-weight: 900; font-size: 26px; line-height: 1;
  color: var(--ink-3); opacity: .5; font-family: Georgia, serif;
}
.zr-rank.top { color: var(--gold); opacity: 1; text-shadow: 0 0 14px rgba(248, 231, 28, .45); }

.zr-icon {
  flex-shrink: 0; width: 52px; height: 52px; border-radius: 10px; overflow: hidden;
  border: 1px solid var(--line-strong); background: #0a120c;
}
.zr-icon img { width: 100%; height: 100%; object-fit: cover; display: block; }

.zr-main { min-width: 0; flex: 1; }
.zr-name {
  display: block; font-size: 16px; font-weight: 800; color: var(--ink);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.zr-tag {
  display: inline-block; margin-top: 3px; max-width: 100%;
  font-style: normal; font-size: 11.5px; color: var(--brand);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

.zr-cat {
  flex-shrink: 0; font-size: 11.5px; font-weight: 700; color: var(--ink-3);
  padding: 3px 9px; border: 1px solid var(--line-strong); border-radius: 999px;
}
.zr-dl { flex-shrink: 0; font-size: 12.5px; color: var(--ink-2); min-width: 84px; text-align: right; }
.zr-price {
  flex-shrink: 0; display: flex; align-items: baseline; gap: 6px;
  min-width: 118px; justify-content: flex-end;
}
.zr-price s { font-size: 11.5px; color: var(--ink-3); opacity: .7; }
.zr-price b {
  font-size: 16px; font-weight: 900; color: var(--brand);
  text-shadow: 0 0 10px rgba(0, 255, 157, .4);
}

@media (max-width: 860px) {
  .zr-row { padding-left: 64px; gap: 10px; flex-wrap: wrap; }
  .zr-cat, .zr-dl { display: none; }
  .zhe-hero { padding: 24px 20px; }
  .zhe-hero h1 { font-size: 24px; }
  .zhe-hero::after { font-size: 90px; }
}
@media (prefers-reduced-motion: reduce) { .zr-row, .zhe-hero-badge { transition: none; animation: none; } }

/* ============ 安装教程内页（v21） ============ */
.inst-hero {
  display: flex; align-items: center; gap: 30px;
  margin: 22px 0 26px; padding: 30px 34px;
  background: var(--surface); border: 1px solid var(--line-strong);
  clip-path: var(--chamfer); position: relative; overflow: hidden;
}
.inst-hero::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
  background: linear-gradient(180deg, var(--brand), transparent);
  box-shadow: 0 0 16px rgba(0, 255, 157, .5);
}
.inst-hero-main { flex: 1; min-width: 0; }
.inst-badge {
  display: inline-block; font-style: normal; font-weight: 900; font-size: 14px;
  letter-spacing: 2px; color: #0a1408; background: var(--brand);
  padding: 3px 12px; clip-path: var(--chamfer);
  box-shadow: 0 0 14px rgba(0, 255, 157, .45);
}
.inst-hero h1 {
  margin-top: 14px; font-size: 30px; font-weight: 900; letter-spacing: 1px;
  line-height: 1.45; color: var(--ink); text-shadow: 0 0 24px rgba(0, 255, 157, .2);
}
.inst-hl {
  font-style: normal; color: var(--brand);
  text-shadow: 0 0 18px rgba(0, 255, 157, .55);
}
.inst-lead { margin-top: 12px; font-size: 14.5px; line-height: 2; color: var(--ink-2); }
.inst-lead b { color: var(--cta); }
.inst-tip { margin-top: 10px; font-size: 13px; color: var(--ink-3); }
.inst-tip::before {
  content: ''; display: inline-block; width: 7px; height: 7px; border-radius: 50%;
  background: var(--brand); margin-right: 8px; box-shadow: 0 0 8px var(--brand);
  vertical-align: 1px;
}

.inst-hero-qr {
  flex-shrink: 0; display: flex; flex-direction: column; align-items: center; gap: 10px;
  text-align: center;
}
.inst-qrbox {
  display: block; width: 148px; height: 148px; padding: 9px;
  background: #fff; border: 1px solid var(--line-strong); clip-path: var(--chamfer);
  box-shadow: 0 0 22px rgba(0, 255, 157, .2);
  transition: transform .3s ease, box-shadow .3s ease;
}
.inst-qrbox:hover { transform: scale(1.05); box-shadow: 0 0 30px rgba(0, 255, 157, .4); }
.inst-qrbox img { width: 100%; height: 100%; display: block; }
.inst-hero-qr b { font-size: 13.5px; color: var(--ink); letter-spacing: 1px; }
.inst-hero-qr .btn { font-size: 12.5px; padding: 7px 16px; }

.inst-jump {
  display: flex; align-items: center; gap: 10px; margin-bottom: 18px;
  font-size: 13.5px; color: var(--ink-3);
}
.inst-jump a {
  font-weight: 800; font-size: 13px; color: var(--brand);
  padding: 5px 14px; border: 1px solid rgba(0, 255, 157, .4); border-radius: 999px;
  background: rgba(0, 255, 157, .06);
  transition: all .25s ease;
}
.inst-jump a:hover {
  background: var(--brand); color: #0a1408;
  box-shadow: 0 0 16px rgba(0, 255, 157, .5);
  transform: translateY(-2px);
}

.inst-grid { display: flex; flex-direction: column; gap: 18px; }

.inst-card {
  padding: 26px 30px 24px; position: relative;
  background: var(--surface); border: 1px solid var(--line);
  clip-path: var(--chamfer);
  scroll-margin-top: 130px;
  transition: border-color .3s ease;
}
.inst-card:target {
  border-color: rgba(0, 255, 157, .55);
  box-shadow: 0 0 26px rgba(0, 255, 157, .14);
}

.inst-card-head { display: flex; align-items: center; gap: 16px; margin-bottom: 6px; }
.inst-no {
  flex-shrink: 0; font-style: italic; font-weight: 900; font-size: 40px; line-height: 1;
  font-family: Georgia, serif; color: var(--ink-3); opacity: .45;
  text-shadow: 0 0 18px rgba(0, 255, 157, .18);
}
.inst-card-head h2 { font-size: 21px; font-weight: 900; letter-spacing: 1px; color: var(--ink); }
.inst-card-head span { display: block; margin-top: 4px; font-size: 12.5px; color: var(--brand); }

.inst-sub {
  margin: 20px 0 10px; padding-left: 12px;
  font-size: 15.5px; font-weight: 800; letter-spacing: .5px; color: var(--ink);
  border-left: 3px solid var(--brand);
  box-shadow: inset 3px 0 8px -3px rgba(0, 255, 157, .6);
}

.inst-steps { list-style: none; counter-reset: st; display: flex; flex-direction: column; gap: 8px; }
.inst-steps li {
  counter-increment: st; position: relative; padding: 10px 14px 10px 46px;
  font-size: 14px; line-height: 1.9; color: var(--ink-2);
  background: rgba(255, 255, 255, .02); border: 1px solid var(--line);
  clip-path: var(--chamfer);
  transition: border-color .25s ease, transform .25s ease;
}
.inst-steps li:hover { border-color: rgba(0, 255, 157, .45); transform: translateX(4px); }
.inst-steps li b { color: var(--ink); font-weight: 700; }
.inst-steps li::before {
  content: counter(st); position: absolute; left: 13px; top: 50%; transform: translateY(-50%);
  width: 22px; height: 22px; display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 900; font-style: normal;
  color: #0a1408; background: var(--brand); clip-path: var(--chamfer);
  box-shadow: 0 0 8px rgba(0, 255, 157, .4);
}

.inst-note {
  margin-top: 10px; padding: 10px 14px; font-size: 13.5px; line-height: 1.9;
  color: var(--ink-2); background: rgba(0, 255, 157, .05);
  border: 1px dashed rgba(0, 255, 157, .3); clip-path: var(--chamfer);
}
.inst-note b { color: var(--brand); }
.inst-note.warn { border-color: rgba(248, 231, 28, .35); background: rgba(248, 231, 28, .05); }
.inst-note.warn b, .inst-note.warn { color: var(--gold); }
.inst-note.ok { border-color: rgba(0, 255, 157, .4); color: var(--brand); }

.inst-foot {
  margin: 26px 0 34px; padding: 22px; text-align: center;
  border: 1px dashed var(--line-strong); clip-path: var(--chamfer);
}
.inst-foot p { font-size: 14px; color: var(--ink-3); margin-bottom: 12px; }

/* ============ 首页游戏盒下载面板（v21） ============ */
.boxdl {
  display: flex; align-items: center; gap: 26px;
  margin: 18px 0 30px; padding: 22px 26px;
  background: var(--surface); border: 1px solid var(--line-strong);
  clip-path: var(--chamfer); position: relative; overflow: hidden;
}
.boxdl::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
  background: linear-gradient(180deg, var(--cta), transparent);
  box-shadow: 0 0 16px rgba(200, 255, 46, .45);
}
.boxdl-qr { flex-shrink: 0; text-align: center; }
.boxdl-qr .inst-qrbox { width: 124px; height: 124px; }
.boxdl-qr b { display: block; margin-top: 9px; font-size: 12.5px; color: var(--ink-2); letter-spacing: 1px; }
.boxdl-main { flex: 1; min-width: 0; }
.boxdl-main h3 { font-size: 19px; font-weight: 900; letter-spacing: 1px; color: var(--ink); }
.boxdl-main h3 em {
  font-style: normal; color: var(--cta);
  text-shadow: 0 0 14px rgba(200, 255, 46, .4);
}
.boxdl-main p { margin-top: 6px; font-size: 13.5px; line-height: 1.9; color: var(--ink-2); }
.boxdl-links { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 13px; }
.boxdl-links a {
  font-size: 12.5px; font-weight: 700; color: var(--brand);
  padding: 5px 13px; border: 1px solid rgba(0, 255, 157, .35); border-radius: 999px;
  background: rgba(0, 255, 157, .06);
  transition: all .25s ease;
}
.boxdl-links a:hover {
  background: var(--brand); color: #0a1408;
  box-shadow: 0 0 14px rgba(0, 255, 157, .45); transform: translateY(-2px);
}
.boxdl-links a.dl {
  color: #0a1408; background: var(--cta); border-color: var(--cta);
  box-shadow: 0 0 12px rgba(200, 255, 46, .4); font-weight: 800;
}
.boxdl-links a.dl:hover { box-shadow: 0 0 20px rgba(200, 255, 46, .65); }

@media (max-width: 860px) {
  .inst-hero { flex-direction: column; align-items: flex-start; padding: 22px; }
  .inst-hero h1 { font-size: 22px; }
  .boxdl { flex-direction: column; text-align: center; }
  .boxdl-links { justify-content: center; }
  .inst-card { padding: 20px 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .inst-qrbox, .inst-steps li, .inst-jump a, .boxdl-links a { transition: none; }
}

/* ============ 页头游戏盒APP二维码弹出面板（v22） ============ */
.hdr-app { position: relative; align-self: center; z-index: 80; }

.hdr-app-btn {
  display: inline-flex; align-items: center; gap: 7px;
  height: 44px; padding: 0 16px;
  font-size: 14px; font-weight: 700; letter-spacing: .5px;
  color: var(--ink); white-space: nowrap;
  border: 1px solid var(--line-strong); clip-path: var(--chamfer);
  background: rgba(0, 255, 157, .05);
  transition: all .25s ease;
}
.hdr-app-btn .caret { opacity: .55; transition: transform .25s ease; }
.hdr-app:hover .hdr-app-btn,
.hdr-app:focus-within .hdr-app-btn {
  color: var(--brand); border-color: rgba(0, 255, 157, .6);
  background: rgba(0, 255, 157, .12);
  box-shadow: 0 0 16px rgba(0, 255, 157, .25);
}
.hdr-app:hover .hdr-app-btn .caret,
.hdr-app:focus-within .hdr-app-btn .caret { transform: rotate(180deg); opacity: 1; }

/* 弹出面板：二维码在上，安装教程在二维码正下方 */
.app-pop {
  position: absolute; right: 0; top: calc(100% + 14px);
  width: 254px; padding: 18px 14px 14px;
  display: flex; flex-direction: column; align-items: center; gap: 9px;
  background: var(--surface); border: 1px solid rgba(0, 255, 157, .45);
  clip-path: var(--chamfer);
  box-shadow: 0 22px 48px rgba(0, 0, 0, .6), 0 0 26px rgba(0, 255, 157, .16);
  opacity: 0; pointer-events: none; transform: translateY(10px);
  transition: opacity .25s ease, transform .25s ease;
}
.app-pop::before { /* 指向按钮的小箭头 */
  content: ''; position: absolute; top: -7px; right: 24px;
  width: 12px; height: 12px; transform: rotate(45deg);
  background: var(--surface);
  border-top: 1px solid rgba(0, 255, 157, .45);
  border-left: 1px solid rgba(0, 255, 157, .45);
}
.app-pop::after { /* 悬停桥：按钮与面板之间不留空隙 */
  content: ''; position: absolute; left: 0; right: 0; top: -14px; height: 14px;
}
.hdr-app:hover .app-pop,
.hdr-app:focus-within .app-pop,
.hdr-app.open .app-pop {
  opacity: 1; pointer-events: auto; transform: translateY(0);
}

.app-pop-qr {
  display: block; width: 150px; height: 150px; padding: 9px;
  background: #fff; clip-path: var(--chamfer);
  box-shadow: 0 0 20px rgba(0, 255, 157, .25);
}
.app-pop-qr img { width: 100%; height: 100%; display: block; }
.app-pop-cap { font-size: 13.5px; font-weight: 800; letter-spacing: 1px; color: var(--ink); }

.app-pop-dl {
  display: block; width: 100%; text-align: center;
  font-size: 13px; font-weight: 800; letter-spacing: 1px;
  color: #0a1408; background: var(--brand); padding: 8px 0;
  clip-path: var(--chamfer);
  transition: background .25s ease, box-shadow .25s ease;
}
.app-pop-dl:hover { background: var(--cta); box-shadow: 0 0 16px rgba(200, 255, 46, .55); }

.app-pop-links {
  display: flex; align-items: center; gap: 5px; flex-wrap: wrap; justify-content: center;
  padding-top: 9px; width: 100%;
  border-top: 1px dashed var(--line-strong);
  font-size: 11.5px; color: var(--ink-3); white-space: nowrap;
}
.app-pop-links a {
  font-size: 11.5px; font-weight: 700; color: var(--brand);
  padding: 2px 9px; border-radius: 999px;
  border: 1px solid rgba(0, 255, 157, .3); background: rgba(0, 255, 157, .06);
  transition: all .2s ease;
}
.app-pop-links a:hover {
  background: var(--brand); color: #0a1408;
  box-shadow: 0 0 10px rgba(0, 255, 157, .45);
}

@media (max-width: 980px) { .hdr-app { display: none; } }
@media (prefers-reduced-motion: reduce) {
  .hdr-app-btn, .app-pop, .app-pop-links a, .app-pop-dl { transition: none; }
}
