/* =========================================================
   疯狂砍 · 主样式
   设计语言：浅色内容区打底 / 深色与暗红爆发的主视觉 / 红金强调
   标题字体：马善政毛笔楷书（Ma Shan Zheng），离线回退楷体
   ========================================================= */

/* 全局：hidden 属性必须真正隐藏（作者样式如 .open-cd{display:inline-flex} 会盖掉 UA 的 display:none） */
[hidden] { display: none !important; }

:root {
  /* 底色 */
  --bg:        #f7f6f3;
  --white:     #ffffff;
  --dark:      #1c1a17;
  --dark-2:    #14120f;

  /* 强调 */
  --red:       #b02a2a;
  --red-hover: #c93333;
  --gold:      #e0a94e;
  --gold-soft: #f2c775;

  /* 文字 */
  --text:      #333333;
  --text-2:    #666666;
  --text-3:    #999999;
  --tx-dark:   #f0ead9;
  --tx-dark-2: #9d968a;
  --tx-dark-3: #8d857a;

  /* 线条 */
  --line:      #e8e5de;
  --line-dark: #33302a;

  /* 标题书法字体 */
  --font-brush: 'Ma Shan Zheng', 'STKaiti', 'KaiTi', 'Kaiti SC', 'FZKai-Z03S', serif;

  --r-card: 10px;
  --r-btn:  6px;
  --wrap:   1080px;
}

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

body {
  font-family: "Microsoft YaHei", "PingFang SC", "Segoe UI", "Hiragino Sans GB", sans-serif;
  background:
    radial-gradient(900px 420px at 85% 12%, rgba(176, 42, 42, .10), transparent 60%),
    radial-gradient(700px 380px at 8% 55%, rgba(224, 169, 78, .06), transparent 62%),
    #151210;
  color: #d9d1c1;
  font-size: 14px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; transition: color .2s, background .2s, border-color .2s; }
h1, h2, h3, h4 { font-weight: bold; line-height: 1.35; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }

/* ============ 顶部信息条 ============ */
.topbar {
  background: var(--dark-2);
  font-size: 13px;
  color: var(--tx-dark-3);
}
.topbar .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-top: 10px;
  padding-bottom: 10px;
}
.topbar a { color: var(--gold); }
.topbar a:hover { color: var(--gold-soft); }

/* ============ 品牌头 ============ */
.site-header {
  background: var(--dark);
  border-bottom: 3px solid var(--red);
  position: sticky;
  top: 0;
  z-index: 80;
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 14px;
  padding-bottom: 14px;
}
.brand { display: flex; align-items: center; gap: 14px; min-width: 0; }
.logo {
  width: 52px;
  height: 52px;
  border-radius: 8px;
  background: linear-gradient(135deg, #ff5f3d 0%, #c22626 55%, #8d1414 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-family: var(--font-brush);
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 0 0 1px rgba(224, 169, 78, .45), 0 6px 16px rgba(0, 0, 0, .45);
}
/* 后台上传的头像图片铺满 logo 方块 */
.logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 8px;
}
.brand-txt { min-width: 0; }
.brand-txt h1 {
  font-size: 27px;
  font-weight: normal;
  font-family: var(--font-brush);
  letter-spacing: 6px;
  color: var(--tx-dark);
  text-shadow: 0 0 20px rgba(255, 80, 50, .35);
}
.brand-txt .sub {
  font-size: 13px;
  color: var(--tx-dark-3);
  letter-spacing: 1px;
  /* 不折行：宽度不够时截断省略，避免把导航挤成两排 */
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 导航 */
.nav { display: flex; align-items: center; gap: 4px; flex-shrink: 0; }
.nav a {
  padding: 8px 14px;
  font-size: 14px;
  color: var(--tx-dark-3);
  border-radius: var(--r-btn);
  white-space: nowrap;   /* 链接文字永不内部换行（如「好玩理由」拆成两行） */
}
.nav a:hover { color: var(--gold); }
@media (max-width: 1080px) {
  /* 中等宽度：收窄导航内边距，给品牌副标题留空间 */
  .nav a { padding: 8px 9px; }
  .site-header .wrap { gap: 14px; }
}
.nav a.nav-cta {
  border: 1px solid var(--red);
  color: var(--gold);
  margin-left: 8px;
}
.nav a.nav-cta:hover {
  background: var(--red);
  color: #fff;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--gold);
  transition: .3s;
}

/* ============ 公告跑马灯 ============ */
.notice {
  background: var(--dark-2);
  border-bottom: 1px solid rgba(255,255,255,.07);
  overflow: hidden;
  white-space: nowrap;
  padding: 9px 0;
  font-size: 14px;
  color: var(--gold);
}
.notice span {
  display: inline-block;
  padding-left: 100%;
  animation: run 45s linear infinite;
}
.notice:hover span { animation-play-state: paused; }
@keyframes run {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

/* ============ 主视觉：疯狂砍（暗黑爆发风） ============ */
.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 3px solid var(--red);
  background:
    radial-gradient(1000px 460px at 16% 4%, rgba(201, 51, 51, .32), transparent 62%),
    radial-gradient(760px 420px at 90% 96%, rgba(224, 169, 78, .16), transparent 64%),
    linear-gradient(180deg, #100e0c 0%, #191510 52%, #100e0c 100%);
}
/* 斜向速度线 */
.hero::before {
  content: "";
  position: absolute;
  inset: -10% -5%;
  background-image: repeating-linear-gradient(
    115deg,
    rgba(255, 255, 255, .05) 0 2px,
    transparent 2px 28px
  );
  pointer-events: none;
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hb-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
}
.hb-glow.g1 {
  width: 430px; height: 430px; left: -110px; top: -140px;
  background: rgba(210, 45, 45, .55);
  animation: heroPulse 6s ease-in-out infinite;
}
.hb-glow.g2 {
  width: 380px; height: 380px; right: -90px; bottom: -150px;
  background: rgba(224, 169, 78, .30);
  animation: heroPulse 7.5s ease-in-out .9s infinite;
}
/* 红色刀光 */
.hb-slash {
  position: absolute;
  height: 3px;
  background: linear-gradient(90deg, transparent, rgba(255, 86, 60, .9), transparent);
  box-shadow: 0 0 14px rgba(255, 70, 50, .6);
  opacity: 0;
}
.hb-slash.s1 { width: 260px; left: 4%;  top: 24%; animation: heroSlash 5.4s linear infinite; }
.hb-slash.s2 { width: 180px; left: 10%; top: 66%; animation: heroSlash 6.6s linear 1.4s infinite; }
.hb-slash.s3 { width: 220px; left: 2%;  top: 44%; animation: heroSlash 7.8s linear 3s infinite; }
/* 火星 */
.hb-spark {
  position: absolute;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: #ffb45c;
  box-shadow: 0 0 10px rgba(255, 150, 60, .9);
  animation: heroSpark 4.6s ease-in-out infinite;
}
.hb-spark.k1 { left: 12%; top: 32%; animation-delay: .3s; }
.hb-spark.k2 { left: 46%; top: 14%; animation-delay: 1.6s; }
.hb-spark.k3 { left: 74%; top: 78%; animation-delay: 2.7s; }

@keyframes heroPulse {
  0%, 100% { opacity: .72; transform: scale(1); }
  50%      { opacity: 1;   transform: scale(1.09); }
}
@keyframes heroSlash {
  0%   { transform: translateX(-60%) rotate(-24deg); opacity: 0; }
  25%  { opacity: .7; }
  100% { transform: translateX(180%) rotate(-24deg); opacity: 0; }
}
@keyframes heroSpark {
  0%, 100% { opacity: .25; transform: translateY(0) scale(.8); }
  50%      { opacity: 1;   transform: translateY(-8px) scale(1.25); }
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 360px;
  align-items: center;
  gap: 48px;
  padding-top: 70px;
  padding-bottom: 76px;
}
.hero-main { text-align: center; }

/* 顶部胶囊：红金描边 + 呼吸红点 */
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 24px;
  padding: 6px 20px;
  border: 1px solid rgba(224, 169, 78, .45);
  border-radius: 999px;
  background: rgba(201, 51, 51, .16);
  backdrop-filter: blur(2px);
}
.hero-tag span {
  font-size: 13px;
  color: #f0c060;
  letter-spacing: 2px;
}
.ht-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #ff4a3d;
  flex-shrink: 0;
  animation: htPulse 1.8s ease-out infinite;
}
@keyframes htPulse {
  0%   { box-shadow: 0 0 0 0 rgba(255, 74, 61, .7); }
  100% { box-shadow: 0 0 0 11px rgba(255, 74, 61, 0); }
}

/* 主标题：金红渐变字 + 描边光晕 + 微倾斜 */
.hero-title {
  font-family: var(--font-brush);
  font-size: clamp(62px, 12vw, 112px);
  font-weight: normal;
  line-height: 1.06;
  letter-spacing: 10px;
  padding-left: 10px;
  margin-bottom: 6px;
  background: linear-gradient(180deg, #ffffff 6%, #ffe09a 40%, #ff5f3d 76%, #b02a2a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #ffd98a;
  filter: drop-shadow(0 0 24px rgba(255, 72, 42, .55)) drop-shadow(0 5px 0 rgba(120, 18, 18, .55));
  transform: skewX(-4deg);
  animation: heroTitlePulse 3.8s ease-in-out infinite;
}
@keyframes heroTitlePulse {
  0%, 100% { filter: drop-shadow(0 0 20px rgba(255, 72, 42, .45)) drop-shadow(0 5px 0 rgba(120, 18, 18, .55)); }
  50%      { filter: drop-shadow(0 0 34px rgba(255, 96, 52, .8))  drop-shadow(0 5px 0 rgba(120, 18, 18, .55)); }
}
/* 标题下的斜切刀痕（替代原来的小横线） */
.hero-title::after {
  content: "";
  display: block;
  width: 132px;
  height: 5px;
  margin: 22px auto 0;
  transform: skewX(-26deg);
  background: linear-gradient(90deg, transparent, #ff4a3d 18%, #ffb45c 50%, #ff4a3d 82%, transparent);
  box-shadow: 0 0 16px rgba(255, 74, 61, .65);
  -webkit-text-fill-color: initial;
}
.hero-sub {
  font-size: 18px;
  font-weight: bold;
  color: #f6ecd8;
  letter-spacing: 3px;
  margin-bottom: 10px;
}
.hero-note {
  font-size: 14px;
  color: #b5a68a;
  letter-spacing: 1px;
  margin-bottom: 34px;
}
.hero-btns {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
/* 疯狂主按钮：红金渐变 + 扫光 + 呼吸光晕（加 .hero-btns 前缀提升权重，避免被通用 .btn 覆盖） */
.hero-btns .btn-crazy {
  position: relative;
  padding: 15px 46px;
  font-size: 17px;
  font-weight: bold;
  letter-spacing: 4px;
  color: #fff;
  border: 0;
  border-radius: var(--r-btn);
  background: linear-gradient(135deg, #ff5f3d 0%, #d02424 46%, #8d1414 100%);
  overflow: hidden;
  animation: crazyGlow 2.4s ease-in-out infinite;
}
.hero-btns .btn-crazy::after {
  content: "";
  position: absolute;
  top: 0; left: -130%;
  width: 60%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .6), transparent);
  animation: crazySheen 3.2s linear infinite;
}
.hero-btns .btn-crazy:hover { color: #fff; background: linear-gradient(135deg, #ff7050 0%, #e02c2c 46%, #a01818 100%); }
@keyframes crazyGlow {
  0%, 100% { box-shadow: 0 8px 24px rgba(210, 40, 40, .45), inset 0 1px 0 rgba(255, 255, 255, .35); }
  50%      { box-shadow: 0 12px 34px rgba(255, 88, 52, .72), inset 0 1px 0 rgba(255, 255, 255, .4); }
}
@keyframes crazySheen {
  0%   { left: -130%; }
  55%  { left: 135%; }
  100% { left: 135%; }
}
/* 副按钮：暗底金线 */
.hero-btns .btn-line {
  padding: 15px 34px;
  font-size: 16px;
  font-weight: bold;
  letter-spacing: 3px;
  color: #f0c060;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(224, 169, 78, .5);
  border-radius: var(--r-btn);
}
.hero-btns .btn-line:hover {
  background: rgba(224, 169, 78, .18);
  border-color: var(--gold);
  color: #ffd98a;
}
/* 暗色版通用按钮（hero 内旧 .btn-solid 兜底） */
.hero .btn-solid { background: linear-gradient(135deg, #ff5f3d, #a01818); border-color: transparent; color: #fff; }

/* 二维码卡：暗色舞台上的白色卡片 + 金边 */
.hero .wx-hero {
  border: 1px solid rgba(224, 169, 78, .35);
  border-top: 3px solid var(--gold);
  box-shadow: 0 20px 44px rgba(0, 0, 0, .45);
}

/* 按钮 */
.btn {
  display: inline-block;
  padding: 11px 30px;
  border-radius: var(--r-btn);
  font-size: 15px;
  font-weight: bold;
  border: 1px solid var(--red);
  color: var(--red);
  background: transparent;
}
.btn:hover { background: var(--red); color: #fff; }
.btn-solid { background: var(--red); color: #fff; }
.btn-solid:hover { background: var(--red-hover); border-color: var(--red-hover); }

/* ---------- Hero 右侧二维码卡 ---------- */
.wx-hero {
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 3px solid var(--red);
  border-radius: var(--r-card);
  padding: 22px 20px 18px;
  text-align: center;
}
.wx-hero-head h3 {
  font-size: 22px;
  font-weight: normal;
  font-family: var(--font-brush);
  color: var(--dark);
  letter-spacing: 3px;
}
.wx-hero-head p {
  font-size: 13px;
  color: var(--text-3);
  margin: 4px 0 14px;
}
.wx-qr-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  max-width: 240px;
  margin: 0 auto 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.wx-qr-frame img { width: 100%; height: 100%; object-fit: contain; display: block; }
.wx-qr-empty {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  text-align: center;
  font-size: 14px;
  color: var(--text-3);
  line-height: 1.9;
  background: repeating-linear-gradient(45deg, #fbfaf8 0 8px, #f4f2ee 8px 16px);
}
.wx-qr-empty small { font-size: 11px; color: #bbb; }
.wx-hero-id {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-2);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r-btn);
  padding: 7px 12px;
  margin-bottom: 12px;
}
.wx-hero-id b {
  color: var(--dark);
  font-size: 15px;
  letter-spacing: .5px;
}
.wx-copy {
  font-size: 12px;
  padding: 3px 10px;
  border: 1px solid var(--red);
  border-radius: 4px;
  color: var(--red);
  background: transparent;
}
.wx-copy:hover { background: var(--red); color: #fff; }
.wx-hero-tip {
  font-size: 12px;
  color: var(--text-3);
  line-height: 1.7;
}

/* ---------- 二维码列表布局（1~6 个码自适应） ----------
   c1: 单码大图居中；c2: 两码上下排列（大图更好扫）；cn: 3 个及以上每行 2 个网格。
   二维码框全部固定宽高，不依赖 aspect-ratio（旧 WebView 兼容）。 */
.wx-hero-dual.dual {
  display: flex;
  gap: 12px;
  text-align: center;
}
.wx-hero-dual.dual .wx-col {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.wx-hero-dual.c1 { flex-direction: column; align-items: center; }
.wx-hero-dual.c1 .wx-qr-frame { width: 250px; height: 250px; max-width: 100%; }
.wx-hero-dual.c2 { flex-direction: column; align-items: center; }
.wx-hero-dual.c2 .wx-qr-frame { width: 200px; height: 200px; max-width: 100%; }
.wx-hero-dual.cn { flex-flow: row wrap; justify-content: center; align-items: stretch; }
.wx-hero-dual.cn .wx-col { flex: 0 0 calc(50% - 6px); }
.wx-hero-dual.cn .wx-qr-frame { width: 100%; height: 140px; max-width: 140px; }
.wx-hero-dual.dual .wx-qr-frame { margin-bottom: 10px; }
.wx-hero-dual.dual .wx-qr-empty { font-size: 12px; line-height: 1.6; }
.wx-hero-dual.dual .wx-hero-id { font-size: 12px; padding: 5px 8px; gap: 6px; margin-top: auto; margin-bottom: 0; }
.wx-hero-dual.dual .wx-hero-id b { font-size: 12px; letter-spacing: 0; }
.wx-hero-dual.dual .wx-copy { font-size: 11px; padding: 2px 8px; }
.wx-col-tag {
  display: none;
  font-size: 13px;
  font-weight: bold;
  color: var(--red);
  background: rgba(255, 95, 61, .08);
  border: 1px solid rgba(255, 95, 61, .35);
  border-radius: 999px;
  padding: 3px 14px;
  width: fit-content;
  margin: 0 auto 10px;
  line-height: 1.6;
}
.wx-hero-dual.dual .wx-col-tag { display: block; }
.wx-col-subdesc {
  display: none;
  font-size: 11px;
  color: var(--text-3);
  margin: -4px auto 8px;
  line-height: 1.5;
}
.wx-hero-dual.dual .wx-col-subdesc.on { display: block; }

/* ===== 重点码（后台勾「重点显示」，最多 2 个）：大图 + 可自定义角标 + 描金边框 ===== */
.wx-feat-badge {
  position: absolute; z-index: 3;
  background: linear-gradient(135deg, #f7b733, #e8890c);
  color: #fff; font-size: 12px; font-weight: bold; line-height: 1.2;
  padding: 4px 12px; border-radius: 999px; letter-spacing: 2px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, .3);
  pointer-events: none;
  max-width: 85%; overflow: hidden;   /* 超长自动截断，不超出码框 */
}
/* 竖排（默认）：像书脊一样从上往下读，数字/字母直立 */
.wx-feat-badge.dir-v {
  writing-mode: vertical-rl;
  text-orientation: upright;
  padding: 8px 4px; letter-spacing: 3px;
  max-width: none; max-height: 85%;
}
/* 9 宫格方位（均在码框内部，不会被裁切） */
.wx-feat-badge.p-tl { top: 8px;  left: 8px; }
.wx-feat-badge.p-tc { top: 8px;  left: 50%; transform: translateX(-50%); }
.wx-feat-badge.p-tr { top: 8px;  right: 8px; }
.wx-feat-badge.p-ml { top: 50%;  left: 8px;  transform: translateY(-50%); }
.wx-feat-badge.p-mc { top: 50%;  left: 50%;  transform: translate(-50%, -50%); }
.wx-feat-badge.p-mr { top: 50%;  right: 8px; transform: translateY(-50%); }
.wx-feat-badge.p-bl { bottom: 8px; left: 8px; }
.wx-feat-badge.p-bc { bottom: 8px; left: 50%; transform: translateX(-50%); }
.wx-feat-badge.p-br { bottom: 8px; right: 8px; }
/* 小码上的角标缩小一号，保证文字放得下 */
.wx-col:not(.is-big) .wx-feat-badge,
.wx-pop-col:not(.is-big) .wx-feat-badge { font-size: 10px; padding: 3px 9px; }
.wx-col:not(.is-big) .wx-feat-badge.dir-v,
.wx-pop-col:not(.is-big) .wx-feat-badge.dir-v { padding: 6px 3px; letter-spacing: 2px; }
.wx-col.is-big .wx-qr-frame,
.wx-pop-col.is-big .wx-pop-frame {
  border-color: rgba(247, 183, 51, .9);
  box-shadow: 0 0 0 2px rgba(247, 183, 51, .35), 0 8px 20px rgba(0, 0, 0, .25);
}
.wx-hero-dual .wx-col.is-big .wx-col-tag,
.wx-pop-dual .wx-pop-col.is-big .wx-pop-tag {
  color: #e8a020;
  background: rgba(247, 183, 51, .1);
  border-color: rgba(247, 183, 51, .55);
}
/* ---- 未勾重点的小码：包在 .wx-minis 容器里，默认整行横向铺开 ---- */
.wx-minis {
  display: flex; flex-wrap: wrap; gap: 12px;
  align-content: flex-start; min-width: 0;
  flex: 1 0 100%;
  justify-content: center;   /* 只有 1 个小码时也居中，不靠左留空 */
}
.wx-minis .wx-col { flex: 1 1 0; min-width: 0; }
.wx-minis .wx-qr-frame { width: 100%; max-width: 112px; height: 112px; }
.wx-minis .wx-pop-frame { width: 100%; max-width: 150px; height: 150px; }
.wx-minis .wx-hero-id,
.wx-minis .wx-pop-id { flex-wrap: wrap; justify-content: center; }
/* 1 个重点码：cn（3 码以上）时大图独占一行，小码铺下方；
   c2（2 码勾 1 重点）保持上下居中排布——大图在上、小码在下（宽屏不启用左右排布，
   因为右侧只有 1 个小码填不满，会留一大片空白很难看） */
.wx-hero-dual.cn.cf1 .wx-col.is-big { flex: 1 0 100%; }
.wx-hero-dual.cf1 .wx-col.is-big .wx-qr-frame { width: 250px; height: 250px; max-width: 100%; }
.wx-hero-dual.c2.cf1 { flex-flow: column nowrap; align-items: center; }
.wx-hero-dual.c2.cf1 .wx-minis { width: 100%; }
.wx-hero-dual.c2.cf1 .wx-minis .wx-qr-frame { max-width: 140px; height: 140px; }
/* 2 个重点码：并排大图 */
.wx-hero-dual.cf2 .wx-col.is-big .wx-qr-frame { width: 100%; max-width: 175px; height: 175px; }
.wx-pop-dual.cf2 .wx-pop-col.is-big .wx-pop-frame { width: 100%; max-width: 270px; height: 270px; }
.wx-pop-dual.c2.cf1 { justify-content: center; }
.wx-pop-dual.c2.cf1 .wx-minis { width: 100%; }

/* ---- 宽屏（≥1280px）：重点码模式下的左右排布 ----
   关键原则：
   · 左侧「疯狂砍传奇」标题列（1fr=640px）尺寸与内部结构完全不动；
   · 二维码卡左右独立扩张：向左最多 40px（轻推标题空隙，保持呼吸感），
     向右最多 300px 借用页面右侧留白（右缘留 12px 防横向滚动条）；
   · 整体居中：卡片向右扩出多少，整个 hero 组合（标题+卡片）就用
     transform 等量左移一半（R/2），使组合的视觉中心与页面中轴对齐，
     和下方「想玩哪个」等居中板块共用同一条中轴线；
   · 视口不足时扩张量为 0，布局回落为上下排布。 */
@media (min-width: 1280px) {
  .hero-grid.has-feat {
    transform: translateX(calc(min(300px, max(0px, (100vw - 1080px) / 2 - 12px)) / -2));
  }
  .hero-grid.has-feat .wx-hero {
    margin-left: calc(min(40px, max(0px, (100vw - 1080px) / 2 - 12px)) * -1);
    margin-right: calc(min(300px, max(0px, (100vw - 1080px) / 2 - 12px)) * -1);
  }
  .wx-hero-dual.cn.cf1 { flex-flow: row nowrap; align-items: flex-start; justify-content: center; }
  .wx-hero-dual.cn.cf1 .wx-col.is-big { flex: 0 0 250px; }
  .wx-hero-dual.cf1 .wx-col.is-big .wx-qr-frame { width: 250px; height: 250px; }
  .wx-hero-dual.cn.cf1 .wx-minis { flex: 1 1 0; gap: 10px; }
  .wx-hero-dual.cn.cf1 .wx-minis .wx-col { flex: 0 0 calc(50% - 5px); }
  .wx-hero-dual.cf1 .wx-minis .wx-qr-frame { width: 100%; max-width: 145px; height: 145px; }
  /* 2 码勾 1 重点：电脑端横排——重点大图在左，另一个码 200px 在右，顶部对齐（标题行齐平） */
  .wx-hero-dual.c2.cf1 { flex-flow: row nowrap; align-items: flex-start; justify-content: center; gap: 26px; }
  .wx-hero-dual.c2.cf1 .wx-col.is-big { flex: 0 0 auto; }
  .wx-hero-dual.c2.cf1 .wx-minis { flex: 0 0 auto; width: auto; }
  .wx-hero-dual.c2.cf1 .wx-minis .wx-col { flex: 0 0 auto; }
  .wx-hero-dual.c2.cf1 .wx-minis .wx-qr-frame { width: 200px; height: 200px; max-width: 100%; }
}

/* ============ 通用区块 ============ */
.sec { padding: 56px 0; }
.sec:last-of-type { padding-bottom: 64px; }

.sec-title {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 6px;
  font-size: 32px;
  font-weight: normal;
  font-family: var(--font-brush);
  color: #f0c060;
  letter-spacing: 6px;
  text-shadow: 0 2px 12px rgba(224, 169, 78, .22);
}
.sec-title::before,
.sec-title::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(224, 169, 78, .38), transparent);
}
.sec-sub {
  text-align: center;
  font-size: 14px;
  color: #9a917f;
  letter-spacing: 2px;
  margin-bottom: 30px;
}

/* ============ 四大好玩理由（深色板块） ============ */
.reasons {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #16130f 0%, #1c1915 100%);
  border-top: 3px solid var(--red);
  border-bottom: 3px solid var(--red);
  padding: 66px 0 70px;
}
/* 与主视觉同角度的流线底纹 + 红金微光晕 */
.reasons::before {
  content: "";
  position: absolute;
  inset: -6% -4%;
  background-image: repeating-linear-gradient(
    115deg,
    rgba(255, 255, 255, .025) 0 2px,
    transparent 2px 40px
  );
  pointer-events: none;
}
.reasons::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(600px 340px at 6% 0%, rgba(176, 42, 42, .14), transparent 62%),
    radial-gradient(560px 320px at 96% 100%, rgba(224, 169, 78, .07), transparent 62%);
  pointer-events: none;
}
.reasons .wrap { position: relative; z-index: 2; }
.rs-title {
  position: relative;
  display: table;
  margin: 0 auto 10px;
  text-align: center;
  font-size: 36px;
  font-weight: normal;
  font-family: var(--font-brush);
  color: #f0c060;
  letter-spacing: 10px;
  padding: 0 26px;
  text-shadow: 0 2px 10px rgba(224, 169, 78, .25);
}
/* 标题两侧金色装饰线 + 菱形 */
.rs-title::before,
.rs-title::after {
  content: "◆";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 12px;
  color: rgba(224, 169, 78, .55);
}
.rs-title::before { left: -18px; }
.rs-title::after  { right: -18px; }
.rs-sub {
  text-align: center;
  font-size: 14px;
  color: #9a917f;
  letter-spacing: 3px;
  margin-bottom: 42px;
}
.rs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.rs-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(224, 169, 78, .32);
  border-radius: var(--r-card);
  background:
    linear-gradient(160deg, rgba(255, 214, 130, .06) 0%, transparent 40%, rgba(255, 200, 100, .04) 100%),
    linear-gradient(180deg, #2b2212 0%, #1e180c 100%);
  padding: 34px 22px 28px;
  text-align: center;
  box-shadow: inset 0 1px 0 rgba(255, 224, 150, .14), 0 10px 26px rgba(0, 0, 0, .4);
  transition: border-color .25s, transform .25s, box-shadow .25s;
}
/* 卡顶鎏金线（中间亮、两端渐隐） */
.rs-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 6%, rgba(240, 192, 96, .7) 32%, rgba(255, 238, 190, .9) 50%, rgba(240, 192, 96, .7) 68%, transparent 94%);
  opacity: .85;
}
/* 悬停扫金光 */
.rs-card::after {
  content: "";
  position: absolute;
  top: -60%; left: -140%;
  width: 55%; height: 220%;
  background: linear-gradient(100deg, transparent, rgba(255, 222, 150, .14), transparent);
  transform: rotate(8deg);
  transition: left .9s ease;
  pointer-events: none;
}
.rs-card:hover::after { left: 150%; }
.rs-card:hover {
  border-color: #f0c060;
  transform: translateY(-4px);
  box-shadow: inset 0 1px 0 rgba(255, 224, 150, .2), 0 16px 36px rgba(0, 0, 0, .5), 0 0 20px rgba(224, 169, 78, .18);
}
/* 毛笔字序号角标：壹 / 贰 / 叁 / 肆（小巧，不抢正文） */
.rs-num {
  position: absolute;
  right: 12px;
  top: 8px;
  font-family: var(--font-brush);
  font-size: 26px;
  line-height: 1;
  color: rgba(224, 169, 78, .4);
  padding: 2px 6px;
  border: 1px solid rgba(224, 169, 78, .22);
  border-radius: 6px;
  background: rgba(224, 169, 78, .06);
  pointer-events: none;
  user-select: none;
}
.rs-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  font-size: 32px;
  font-family: var(--font-brush);
  color: #f6cf72;
  text-shadow: 0 0 14px rgba(224, 169, 78, .4);
  border-radius: 50%;
  background: radial-gradient(circle at 50% 35%, rgba(224, 169, 78, .22), rgba(224, 169, 78, .06));
  border: 1px solid rgba(224, 169, 78, .4);
  box-shadow: inset 0 0 12px rgba(224, 169, 78, .1), 0 0 16px rgba(224, 169, 78, .12);
  margin-bottom: 16px;
}
.rs-card b {
  display: block;
  font-size: 19px;
  font-weight: normal;
  font-family: var(--font-brush);
  color: #f0c060;
  letter-spacing: 4px;
  margin-bottom: 10px;
}
.rs-card p {
  font-size: 15px;
  color: #e6dcc6;
  line-height: 2;
  text-align: left;
}

/* ============ 背景音乐迷你播放器（站点头部内 · 吸顶常显） ============ */
.bgm-player {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 5px;
}
.bgm-skip {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid rgba(224, 169, 78, .35);
  background: rgba(224, 169, 78, .08);
  color: var(--gold);
  cursor: pointer;
  transition: border-color .2s, background .2s, color .2s, transform .15s;
}
.bgm-skip:hover {
  border-color: var(--gold);
  background: rgba(224, 169, 78, .18);
  color: var(--gold-soft);
}
.bgm-skip:active { transform: scale(.9); }
.bgm-btn {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(224, 169, 78, .45);
  background: rgba(224, 169, 78, .08);
  color: var(--gold);
  font-size: 13px;
  line-height: 1;
  cursor: pointer;
  transition: border-color .2s, background .2s, color .2s;
}
.bgm-btn:hover {
  border-color: var(--gold);
  background: rgba(224, 169, 78, .18);
  color: var(--gold-soft);
}
/* 播放中：音波跳动 + 金色光晕 */
.bgm-btn.is-playing {
  border-color: var(--gold);
  background: rgba(224, 169, 78, .2);
  color: var(--gold-soft);
  animation: bgmGlow 2.2s ease-in-out infinite;
}
/* 播放中把音符图标换成跳动的音波条 */
.bgm-bars { display: none; align-items: flex-end; gap: 2px; height: 14px; }
.bgm-btn.is-playing .bgm-bars { display: inline-flex; }
.bgm-btn.is-playing .bgm-ico  { display: none; }
.bgm-bars i {
  width: 3px;
  background: currentColor;
  border-radius: 1px;
  transform-origin: bottom;
  animation: bgmEq 1s ease-in-out infinite;
}
.bgm-bars i:nth-child(1) { height: 8px;  animation-delay: 0s;   }
.bgm-bars i:nth-child(2) { height: 14px; animation-delay: .18s; }
.bgm-bars i:nth-child(3) { height: 10px; animation-delay: .36s; }
.bgm-bars i:nth-child(4) { height: 12px; animation-delay: .5s;  }
@keyframes bgmEq {
  0%, 100% { transform: scaleY(.35); }
  50%      { transform: scaleY(1);   }
}
@keyframes bgmGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(224, 169, 78, 0); }
  50%      { box-shadow: 0 0 0 5px rgba(224, 169, 78, .18); }
}
/* 歌名直接显示在主按钮里（后台可命名单曲名） */
.bgm-btn .bgm-txt {
  max-width: 128px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
@media (max-width: 820px) {
  /* 移动端：隐藏导航后，播放器贴到菜单按钮左侧 */
  .bgm-player { margin-left: auto; }
  .bgm-btn .bgm-txt { max-width: 88px; }
}
@media (max-width: 720px) {
  .bgm-btn { padding: 7px 10px; gap: 5px; }
  .bgm-skip { width: 26px; height: 26px; }
  .bgm-btn .bgm-txt { display: none; }
}

/* 歌词入口按钮：有歌词时才出现 */
.bgm-lrc-btn {
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
}
.bgm-lrc-btn.is-open {
  border-color: var(--gold);
  background: rgba(224, 169, 78, .2);
  color: var(--gold-soft);
}
/* 隐藏态：按钮变灰，提示「再点恢复」 */
.bgm-lrc-btn.is-off {
  opacity: .5;
  border-style: dashed;
  border-color: rgba(224, 169, 78, .3);
  color: var(--tx-dark-3);
  background: transparent;
}
.bgm-lrc-btn.is-off:hover {
  opacity: 1;
  border-color: var(--gold);
  color: var(--gold-soft);
}

/* ============ 歌词：收起态（播放器下方 3 行，当前句高亮） ============ */
.lrc-mini {
  position: fixed;
  right: 20px;
  top: 92px;                 /* 由 JS 按站点头部实际高度校正 */
  z-index: 79;
  width: 244px;
  padding: 8px 12px 9px;
  border-radius: 10px;
  background: rgba(20, 18, 15, .82);
  border: 1px solid rgba(224, 169, 78, .2);
  box-shadow: 0 10px 28px rgba(0, 0, 0, .32);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  cursor: pointer;
  transition: border-color .2s, opacity .25s, transform .25s;
}
.lrc-mini:hover {
  border-color: rgba(224, 169, 78, .55);
  transform: translateY(-1px);
}
.lrc-mini .lm-line {
  font-size: 12px;
  line-height: 1.75;
  text-align: center;
  color: rgba(240, 234, 217, .4);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color .25s, opacity .25s;
}
.lrc-mini .lm-line.is-cur {
  color: var(--gold-soft);
  font-weight: 600;
  text-shadow: 0 0 12px rgba(224, 169, 78, .35);
}

/* ============ 歌词：展开态（全屏面板） ============ */
.lrc-full { position: fixed; inset: 0; z-index: 200; display: none; }
.lrc-full.is-open { display: block; }
/* 关键：大歌词打开时把顶栏抬到遮罩之上，
   否则整屏遮罩会盖住播放器，「词」按钮点不到，三态循环就断在 full 这一档 */
body.lrc-open .site-header {
  z-index: 210;
  box-shadow: 0 12px 32px rgba(0, 0, 0, .45);
}
.lrc-full-mask {
  position: absolute;
  inset: 0;
  background: rgba(8, 7, 6, .64);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  animation: lrcFade .2s ease-out;
}
.lrc-full-panel {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  width: min(560px, calc(100% - 32px));
  max-height: min(74vh, 640px);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(30, 27, 23, .985), rgba(17, 15, 12, .985));
  border: 1px solid rgba(224, 169, 78, .34);
  box-shadow: 0 24px 70px rgba(0, 0, 0, .62);
  overflow: hidden;
  animation: lrcPop .24s cubic-bezier(.2, .8, .3, 1);
}
.lrc-full-head {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px 12px 20px;
  border-bottom: 1px solid rgba(224, 169, 78, .14);
}
.lrc-full-tit { display: flex; align-items: baseline; gap: 10px; min-width: 0; }
.lrc-full-tit b {
  font-family: var(--font-brush);
  font-size: 22px;
  font-weight: 400;
  color: var(--gold-soft);
  letter-spacing: 2px;
}
.lrc-full-tit span {
  font-size: 12px;
  color: var(--tx-dark-2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.lrc-full-close {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(224, 169, 78, .28);
  background: transparent;
  color: var(--gold);
  cursor: pointer;
  transition: background .2s, border-color .2s, color .2s;
}
.lrc-full-close:hover {
  background: rgba(224, 169, 78, .16);
  border-color: var(--gold);
  color: var(--gold-soft);
}
.lrc-full-list {
  flex: 1;
  overflow-y: auto;
  padding: 22px 0 40px;
  scroll-behavior: smooth;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 26px, #000 calc(100% - 34px), transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0, #000 26px, #000 calc(100% - 34px), transparent 100%);
}
.lrc-full-list::-webkit-scrollbar { width: 4px; }
.lrc-full-list::-webkit-scrollbar-thumb { background: rgba(224, 169, 78, .35); border-radius: 4px; }
.lrc-line {
  padding: 9px 30px;
  text-align: center;
  font-size: 15px;
  line-height: 1.7;
  color: rgba(240, 234, 217, .42);
  cursor: pointer;
  transition: color .2s, opacity .2s;
}
.lrc-line:hover { color: rgba(242, 199, 117, .78); }
.lrc-line.is-cur {
  color: var(--gold-soft);
  font-size: 17px;
  font-weight: 600;
  text-shadow: 0 0 16px rgba(224, 169, 78, .3);
}
.lrc-line.is-past { color: rgba(240, 234, 217, .26); }
.lrc-full-tip {
  flex-shrink: 0;
  padding: 10px 16px;
  border-top: 1px solid rgba(224, 169, 78, .1);
  text-align: center;
  font-size: 12px;
  color: var(--tx-dark-3);
}
body.lrc-open { overflow: hidden; }
@keyframes lrcFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes lrcPop {
  from { opacity: 0; transform: translate(-50%, -48%) scale(.97); }
  to   { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}
@media (max-width: 720px) {
  .bgm-lrc-btn { width: 26px; height: 26px; padding: 0; }
  .lrc-mini {
    left: 12px;
    right: 12px;
    width: auto;
    padding: 6px 10px 7px;
  }
  .lrc-mini .lm-line { font-size: 11px; line-height: 1.65; }
  .lrc-full-panel { max-height: 82vh; width: calc(100% - 20px); }
  .lrc-line { padding: 8px 18px; font-size: 14px; }
  .lrc-line.is-cur { font-size: 16px; }
}

/* ============ 劫持处理 · 玩家教程 ============ */
.gd-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;   /* 最后一行不满时也居中（如 3 张卡排 2+1） */
  align-items: stretch;
  gap: 18px;
  margin-top: 28px;
}
.gd-card {
  flex: 1 1 300px;           /* 基准宽 300：3 张正好一行（3×300+36=936 < 容器 1048），4 张自动 2×2 */
  max-width: 470px;          /* 上限，避免宽屏被拉太长 */
  background: linear-gradient(180deg, #241f18 0%, #1d1812 100%);
  border: 1px solid rgba(224, 169, 78, .22);
  border-top: 3px solid var(--red);
  border-radius: var(--r-card);
  padding: 24px 26px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 26px rgba(0, 0, 0, .35);
  transition: border-color .25s, box-shadow .25s;
}
.gd-card:hover { border-color: rgba(224, 169, 78, .5); }
.gd-card:nth-child(2n) { border-top-color: var(--gold); }
.gd-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.gd-head b { font-size: 17px; color: #f2e6cd; letter-spacing: 1px; }
.gd-no {
  flex-shrink: 0;
  padding: 3px 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, #c93333, #9c2424);
  color: #fff;
  font-size: 12px;
  letter-spacing: 1px;
}
.gd-card:nth-child(2n) .gd-no { background: linear-gradient(135deg, #f2c775, #d99a2b); color: #3d2c05; }
.gd-steps { counter-reset: gd; }
.gd-steps li {
  counter-increment: gd;
  position: relative;
  padding: 8px 0 8px 36px;
  font-size: 14px;
  color: #cfc6b4;
  border-bottom: 1px dashed rgba(224, 169, 78, .16);
  list-style: none;
}
.gd-steps li:last-child { border-bottom: none; }
.gd-steps li::before {
  content: counter(gd);
  position: absolute;
  left: 0;
  top: 10px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(224, 169, 78, .14);
  border: 1px solid rgba(224, 169, 78, .35);
  color: var(--gold);
  font-size: 12px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
}
.gd-steps a { color: #ff8a70; text-decoration: underline; }
.gd-steps a:hover { color: #ffab91; }
.gd-steps b { color: var(--em-color, #ffcf6b); font-weight: bold; }
.gd-btn {
  margin-top: auto;
  text-align: center;
  display: block;
  padding: 10px 18px;
  border: 0;
  border-radius: var(--r-btn);
  background: linear-gradient(135deg, #c93333, #a02424);
  color: #fff;
  font-weight: bold;
  letter-spacing: 2px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .4);
}
.gd-btn:hover {
  background: linear-gradient(135deg, #e04444, #b32c2c);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(176, 42, 42, .4);
}
.gd-tip {
  margin-top: 18px;
  padding: 14px 20px;
  border-radius: var(--r-btn);
  background: var(--dark);
  color: var(--tx-dark-2);
  font-size: 13px;
  text-align: center;
}
.gd-tip b { color: var(--gold); }
.gd-tip a { color: var(--gold); text-decoration: underline; }

/* ============ 想玩哪个 · 版本选择 ============ */
/* 流线背景：斜向细线 + 微光晕 + 缓慢刀光（低透明度，聚焦版本卡） */
.sec-flow {
  position: relative;
  overflow: hidden;
}
.sec-flow::before {
  content: "";
  position: absolute;
  inset: -6% -4%;
  background-image: repeating-linear-gradient(
    115deg,
    rgba(255, 255, 255, .028) 0 2px,
    transparent 2px 38px
  );
  pointer-events: none;
}
.sec-flow::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(560px 320px at 8% 2%, rgba(176, 42, 42, .15), transparent 62%),
    radial-gradient(520px 300px at 94% 100%, rgba(224, 169, 78, .07), transparent 62%);
  pointer-events: none;
}
.flow-bg { position: absolute; inset: 0; pointer-events: none; }
.f-slash {
  position: absolute;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255, 86, 60, .45), transparent);
  box-shadow: 0 0 12px rgba(255, 70, 50, .3);
  opacity: 0;
}
.f-slash.fs1 { width: 240px; left: 5%;  top: 28%; animation: heroSlash 7.6s linear infinite; }
.f-slash.fs2 { width: 180px; right: 7%; top: 70%; animation: heroSlash 9.4s linear 3.6s infinite; }
.sec-flow .wrap { position: relative; z-index: 2; }

.ver-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 360px));
  justify-content: center;   /* 无论几张卡，整组居中 */
  gap: 20px;
}
.ver-empty {
  grid-column: 1 / -1;
  text-align: center;
  font-size: 14px;
  color: #9a917f;
  border: 1px dashed rgba(224, 169, 78, .3);
  border-radius: var(--r-card);
  padding: 48px 20px;
}
.ver-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(224, 169, 78, .5);
  border-radius: var(--r-card);
  background:
    linear-gradient(155deg, rgba(255, 214, 130, .08) 0%, transparent 32%, transparent 68%, rgba(255, 200, 100, .06) 100%),
    linear-gradient(180deg, #3d3018 0%, #2c2210 44%, #21190a 100%);
  box-shadow: inset 0 1px 0 rgba(255, 224, 150, .2), 0 10px 26px rgba(0, 0, 0, .45);
  overflow: hidden;
  transition: border-color .25s, transform .25s, box-shadow .25s;
}
/* 鎏金扫光：悬停时一道金光斜扫过卡片 */
.ver-card::after {
  content: "";
  position: absolute;
  top: -60%; left: -140%;
  width: 55%; height: 220%;
  background: linear-gradient(100deg, transparent, rgba(255, 222, 150, .16), transparent);
  transform: rotate(8deg);
  transition: left .9s ease;
  pointer-events: none;
}
.ver-card:hover::after { left: 150%; }
.ver-card:hover {
  border-color: #f0c060;
  transform: translateY(-5px);
  box-shadow: inset 0 1px 0 rgba(255, 224, 150, .25), 0 18px 40px rgba(0, 0, 0, .55), 0 0 22px rgba(224, 169, 78, .22);
}
.ver-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  display: inline-block;
  font-size: 12px;
  padding: 4px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, #c93333, #9c2424);
  color: #fff;
  letter-spacing: 1px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .45);
}
.ver-tag.is-gold {
  background: linear-gradient(135deg, #f2c775, #d99a2b);
  color: #3d2c05;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .45);
}
.ver-body {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 18px 18px 20px;
}
/* 鎏金内衬：细金斜纹铺底 */
.ver-body::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(115deg, rgba(236, 196, 116, .05) 0 1px, transparent 1px 15px);
  pointer-events: none;
}
/* 图片与信息区之间的一道鎏金线 */
.ver-body::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 3%, rgba(240, 192, 96, .8) 28%, rgba(255, 238, 190, .95) 50%, rgba(240, 192, 96, .8) 72%, transparent 97%);
  box-shadow: 0 0 12px rgba(224, 169, 78, .45);
  pointer-events: none;
}
.ver-row {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 6px 0;
  border-bottom: 1px dashed rgba(224, 169, 78, .26);
}
.ver-row:first-child { padding-top: 0; }
.ver-label {
  flex: none;
  font-size: 12px;
  color: var(--gold);
  letter-spacing: 1px;
  white-space: nowrap;
}
.ver-label::before { content: "❖ "; font-size: 10px; }
.ver-name {
  font-size: 21px;
  font-weight: bold;
  font-family: var(--font-brush);
  color: #f2c775;
  letter-spacing: 2px;
  line-height: 1.3;
}
/* 鎏金渐变字（后台自定义了颜色时内联 style 优先，不套渐变） */
.ver-name:not([style]) {
  background: linear-gradient(180deg, #ffedbd 0%, #f2c775 48%, #d08f1f 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.ver-sub2 {
  font-size: 13px;
  color: #c9bda9;
  letter-spacing: 1px;
  line-height: 1.5;
}
.ver-feats { margin: 12px 0 16px; flex: 1; }
.ver-feats li {
  position: relative;
  font-size: 13.5px;
  color: #d8cdba;
  padding-left: 26px;
  line-height: 2.05;
}
.ver-feats li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 7px;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: rgba(224, 169, 78, .16);
  color: var(--gold);
  font-size: 10px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
}
/* 卖点富文本：**文字** 标重点（颜色后台可控，默认鎏金）、网址自动变可点击 */
.ver-feats b {
  color: var(--em-color, #ffcf6b);
  font-weight: bold;
  text-shadow: 0 0 10px rgba(224, 169, 78, .3);
}
.ver-feats a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.ver-feats a:hover { color: #ffedbd; }
.ver-sub2 b {
  color: var(--em-color, #ffcf6b);
  font-weight: bold;
}
.ver-sub2 a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.ver-sub2 a:hover { color: #ffedbd; }
.ver-btn {
  flex: 1;
  min-width: 0;
  text-align: center;
  display: inline-block;
  padding: 10px 10px;
  font-size: 15px;
  border-radius: var(--r-btn);
  /* 颜色走 CSS 变量（后台注入），未注入时用各按钮族默认渐变 */
  background: var(--btn-bg, linear-gradient(135deg, #c93333, #a02424));
  color: var(--btn-tx, #fff);
  border: 1px solid var(--btn-bd, rgba(0, 0, 0, .18));
  font-weight: bold;
  letter-spacing: 2px;
  white-space: nowrap;        /* 按钮文字永不折行，放不下由容器自适应 */
  box-shadow: 0 4px 12px rgba(0, 0, 0, .35);
  transition: transform .2s, box-shadow .2s, filter .2s;
}
.ver-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, .4);
  filter: brightness(1.15);   /* 悬停提亮，不覆盖自定义背景色 */
  color: var(--btn-hv-tx, var(--btn-tx, #fff));  /* 选中字色：没配则跟随默认字色 */
}
/* 主按钮（红）选中背景：优先「选中显示背景色」→「默认显示背景色」→ 内置渐变 */
.ver-btn:not(.is-ghost):not(.ver-btn-dl):not(.ver-btn-group):not(.ver-btn-extra):hover {
  background: var(--btn-hv, var(--btn-bg, linear-gradient(135deg, #c93333, #a02424)));
}
/* 后台单独指定了选中背景色时，取消提亮滤镜，显示精确颜色 */
.ver-btn[style*="--btn-hv"]:hover { filter: none; }
/* 透明背景按钮：去掉默认投影（描边由 --btn-bd 跟随字色），悬停描边跟随选中背景/选中描边 */
.ver-btn[style*="--btn-bg:transparent"] { box-shadow: none; }
.ver-btn[style*="--btn-bg:transparent"]:hover {
  border-color: var(--btn-hv-bd, var(--btn-hv, var(--btn-bd)));
  box-shadow: 0 8px 18px rgba(0, 0, 0, .26);
}
.ver-btn.is-ghost {
  background: var(--btn-bg, transparent);
  border: 1px solid var(--btn-bd, var(--red));
  color: var(--btn-tx, var(--red));
  box-shadow: none;
}
/* 置灰按钮悬停：优先「选中显示背景色」→「默认显示背景色」→ 内置暗红（绝不回退到文字色，避免白字白底隐形） */
.ver-btn.is-ghost:hover {
  background: var(--btn-hv, var(--btn-bg, var(--red)));
  border-color: var(--btn-hv-bd, var(--btn-hv, var(--btn-bg, var(--red))));
  color: var(--btn-hv-tx, #fff);
  box-shadow: 0 8px 18px rgba(176, 42, 42, .32);
}
/* 按钮组（下载 + 加玩家群）：按按钮数量自适应（n2/n3/n4 由 JS 按实际数量添加） */
.ver-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.ver-btns.n3 .ver-btn { font-size: 14px; letter-spacing: 1px; padding: 10px 8px; }
.ver-btns.n4 .ver-btn { font-size: 13px; letter-spacing: 0; padding: 10px 6px; gap: 8px; }
/* 竖排模式（后台勾选）：每个按钮独占一行，宽度撑满 */
.ver-btns.is-stack { flex-direction: column; }
.ver-btns.is-stack .ver-btn { width: 100%; font-size: 14px; letter-spacing: 1px; padding: 11px 12px; }
/* 第四按钮（如「攻略」），金色与红/绿/蓝区分 */
.ver-btn-extra {
  background: var(--btn-bg, linear-gradient(135deg, #e8b04a, #c98d24));
  border: 1px solid var(--btn-bd, #d99a2b);
  color: var(--btn-tx, #fff);
  box-shadow: 0 4px 12px rgba(0, 0, 0, .35);
}
.ver-btn-extra:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(224, 169, 78, .35);
  background: var(--btn-hv, var(--btn-bg, linear-gradient(135deg, #e8b04a, #c98d24)));
}
.ver-btn-group {
  background: var(--btn-bg, linear-gradient(135deg, #3d8be8, #2568c4));
  border: 1px solid var(--btn-bd, #2f7bd9);
  color: var(--btn-tx, #fff);
  box-shadow: 0 4px 12px rgba(0, 0, 0, .35);
}
.ver-btn-group:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(47, 123, 217, .35);
  background: var(--btn-hv, var(--btn-bg, linear-gradient(135deg, #3d8be8, #2568c4)));
}
.ver-btn-group.is-nolink { cursor: pointer; }
/* 登录器文件直接下载按钮（绿色，与红/蓝区分） */
.ver-btn-dl {
  background: var(--btn-bg, linear-gradient(135deg, #2fae66, #1f8a4c));
  border: 1px solid var(--btn-bd, #269c58);
  color: var(--btn-tx, #fff);
  box-shadow: 0 4px 12px rgba(0, 0, 0, .35);
}
.ver-btn-dl:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, .4);
  background: var(--btn-hv, var(--btn-bg, linear-gradient(135deg, #2fae66, #1f8a4c)));
}
/* 只有一个版本时：单卡收窄居中 */
.ver-grid.is-single { grid-template-columns: minmax(320px, 440px); justify-content: center; }
.ver-grid.is-single .ver-card {
  width: 100%;
  margin: 0 auto;
}
/* 副标题前的小圆点（在线状态感，带呼吸光圈） */
.ver-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #2e9e5b;
  margin-right: 6px;
  vertical-align: 1px;
  animation: verPulse 2.2s ease-in-out infinite;
}
@keyframes verPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(46, 158, 91, .45); }
  50%      { box-shadow: 0 0 0 4px rgba(46, 158, 91, 0); }
}
.ver-pic {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: linear-gradient(135deg, #241c13, #17110b);
  display: flex;
  align-items: center;
  justify-content: center;
}
.ver-pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
}
.ver-card:hover .ver-pic img { transform: scale(1.07); }
.ver-pic-empty {
  text-align: center;
  font-size: 13px;
  color: #8d8064;
  line-height: 1.9;
}
.ver-pic-empty small { font-size: 11px; color: #6d6350; }

/* ============ 教程视频 ============ */
.tut-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 22px;
  max-width: 1120px;
  margin: 0 auto;
}
.tut-card {
  background: linear-gradient(160deg, rgba(64, 50, 22, .55), rgba(33, 25, 10, .92) 55%);
  border: 1px solid rgba(212, 168, 83, .22);
  border-radius: var(--r-card, 14px);
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .35);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.tut-card:hover {
  transform: translateY(-3px);
  border-color: rgba(240, 200, 120, .45);
  box-shadow: 0 10px 26px rgba(0, 0, 0, .45);
}
.tut-card video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  outline: none;
}
.tut-info { padding: 14px 16px 16px; }
.tut-info h3 {
  font-size: 16px;
  color: #f2c775;
  letter-spacing: 1px;
  margin: 0 0 6px;
}
.tut-info p {
  font-size: 13px;
  color: #c9bda9;
  line-height: 1.8;
  margin: 0;
}

/* ============ 下载横幅 ============ */
.dl {
  background: var(--dark);
  border-top: 3px solid var(--red);
  border-bottom: 3px solid var(--red);
  padding: 44px 0;
}
.dl-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.dl-txt h3 {
  font-size: 24px;
  font-weight: normal;
  font-family: var(--font-brush);
  color: var(--tx-dark);
  letter-spacing: 3px;
  margin-bottom: 6px;
}
.dl-txt p {
  font-size: 14px;
  color: var(--tx-dark-3);
}
.dl-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.dl .btn { color: var(--gold); border-color: rgba(224, 169, 78, .5); }
.dl .btn:hover { background: var(--red); border-color: var(--red); color: #fff; }
.dl .btn-solid { color: #fff; }
.dl-meta {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid var(--line-dark);
  font-size: 13px;
  color: var(--tx-dark-3);
}

/* ============ 页脚 ============ */
footer {
  background: var(--dark);
  padding: 30px 0 34px;
  text-align: center;
  font-size: 13px;
  color: var(--tx-dark-3);
}
.f-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin-bottom: 18px;
}
.f-links a { color: var(--tx-dark-3); }
.f-links a:hover { color: var(--gold); }
.f-info { margin-bottom: 10px; }
.f-tip {
  color: #6b6459;
  line-height: 1.9;
  margin-bottom: 10px;
}
.f-beian a { color: #6b6459; }
.f-beian a:hover { color: var(--gold); }

/* ============ 轻提示 ============ */
.toast {
  position: fixed;
  left: 50%;
  bottom: 40px;
  transform: translateX(-50%) translateY(14px);
  background: var(--dark);
  color: var(--gold);
  border: 1px solid var(--line-dark);
  padding: 10px 22px;
  border-radius: var(--r-btn);
  font-size: 14px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .22s, transform .22s;
  z-index: 300;
  white-space: nowrap;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ============ 响应式 ============ */
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-top: 48px;
    padding-bottom: 48px;
  }
  .wx-hero { max-width: 340px; margin: 0 auto; }
  .rs-grid { grid-template-columns: repeat(2, 1fr); }
  .ver-grid { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
  .nav { display: none; }
  .nav.open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--dark);
    border-top: 1px solid var(--line-dark);
    border-bottom: 3px solid var(--red);
    padding: 10px 16px 16px;
    gap: 2px;
  }
  .nav.open a { padding: 12px 4px; border-radius: 0; }
  .nav.open a.nav-cta {
    margin: 8px 0 0;
    text-align: center;
    border-radius: var(--r-btn);
  }
  .nav-toggle { display: flex; }
  .site-header .wrap { position: relative; }
}

@media (max-width: 720px) {
  .hero-title { font-size: 62px; letter-spacing: 5px; padding-left: 5px; }
  .hero-title::after { width: 96px; margin-top: 18px; }
  .hero-sub { font-size: 15px; letter-spacing: 2px; }
  .hero-btns { gap: 10px; }
  .hero-btns .btn-crazy { padding: 13px 34px; font-size: 16px; letter-spacing: 3px; }
  .hero-btns .btn-line { padding: 13px 24px; font-size: 14px; letter-spacing: 2px; }
  .btn { padding: 10px 22px; font-size: 14px; }
  .sec { padding: 40px 0; }
  .sec-title { font-size: 24px; letter-spacing: 3px; }
  .rs-title { font-size: 27px; letter-spacing: 5px; }
  .rs-grid { grid-template-columns: 1fr; }
  .rs-card p { text-align: center; }
  .ver-card { grid-template-columns: 1fr; padding: 20px; }
  .ver-pic { min-height: 170px; }
  .brand-txt h1 { font-size: 22px; letter-spacing: 2px; }
  .brand-txt .sub { font-size: 12px; }
  .logo { width: 44px; height: 44px; font-size: 24px; }
  .dl-inner { flex-direction: column; align-items: flex-start; }
  .dl-meta { gap: 8px; flex-direction: column; }
  .topbar .hide-m { display: none; }
}

/* ---------- 微信二维码弹窗（进站自动弹出 / 悬浮按钮打开） ---------- */
body.wx-pop-lock { overflow: hidden; }
.wx-pop { position: fixed; inset: 0; z-index: 1200; display: none; }
.wx-pop.on { display: block; }
.wx-pop-mask { position: absolute; inset: 0; background: rgba(8, 6, 5, .62); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.wx-pop-card {
  position: relative;
  width: min(560px, calc(100vw - 32px));
  margin: 8vh auto 0;
  background: var(--white);
  border-radius: var(--r-card);
  border-top: 4px solid var(--red);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .55);
  padding: 26px 22px 20px;
  text-align: center;
  animation: wxPopIn .24s ease-out;
}
@keyframes wxPopIn { from { opacity: 0; transform: translateY(14px) scale(.97); } to { opacity: 1; transform: none; } }
.wx-pop-close {
  position: absolute; top: 10px; right: 10px;
  width: 32px; height: 32px; border-radius: 50%;
  border: 1px solid var(--line); background: #fff; color: var(--text-3);
  display: flex; align-items: center; justify-content: center; cursor: pointer;
}
.wx-pop-close:hover { color: var(--red); border-color: var(--red); }
.wx-pop-title { font-size: 24px; font-family: var(--font-brush); color: var(--dark); letter-spacing: 3px; }
.wx-pop-desc { font-size: 13px; color: var(--text-3); margin: 6px 0 16px; }
.wx-pop-dual { display: block; }
.wx-pop-dual.dual { display: flex; gap: 16px; justify-content: center; }
.wx-pop-dual.dual .wx-pop-col { min-width: 0; display: flex; flex-direction: column; align-items: center; }
.wx-pop-dual.c1 { flex-direction: column; align-items: center; }
.wx-pop-dual.c1 .wx-pop-frame { width: 240px; height: 240px; max-width: 100%; }
.wx-pop-dual.c2 { flex-flow: row wrap; align-items: stretch; }
.wx-pop-dual.c2 .wx-pop-col { flex: 1 1 0; }
.wx-pop-dual.c2 .wx-pop-frame { width: 100%; max-width: 230px; height: 230px; }
.wx-pop-dual.cn { flex-flow: row wrap; justify-content: center; align-items: stretch; }
.wx-pop-dual.cn .wx-pop-col { flex: 0 0 calc(50% - 8px); }
.wx-pop-dual.cn .wx-pop-frame { width: 100%; height: 220px; }
.wx-pop-dual.c3 .wx-pop-col { flex: 0 0 calc(33.333% - 11px); }
.wx-pop-dual.c3 .wx-pop-frame { height: 150px; }
.wx-pop-subdesc { display: none; font-size: 11px; color: var(--text-3); margin: -4px auto 8px; line-height: 1.5; }
.wx-pop-dual.dual .wx-pop-subdesc.on { display: block; }
.wx-pop-frame {
  position: relative; width: 100%; max-width: 240px; aspect-ratio: 1 / 1;
  margin: 0 auto 10px; border: 1px solid var(--line); border-radius: 8px;
  overflow: hidden; display: flex; align-items: center; justify-content: center; background: #fff;
}
.wx-pop-dual.dual .wx-pop-frame { margin-bottom: 10px; }
.wx-pop-frame img { width: 100%; height: 100%; object-fit: contain; display: block; }
.wx-pop-tag {
  display: none; font-size: 13px; font-weight: bold; color: var(--red);
  background: rgba(255, 95, 61, .08); border: 1px solid rgba(255, 95, 61, .35);
  border-radius: 999px; padding: 3px 14px; width: fit-content; margin: 0 auto 10px;
}
.wx-pop-dual.dual .wx-pop-tag { display: block; }
.wx-pop-id {
  display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-2);
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-btn); padding: 6px 12px;
}
.wx-pop-id b { color: var(--dark); font-size: 14px; }
.wx-pop-tip { font-size: 12px; color: var(--text-3); margin-top: 14px; line-height: 1.7; }
/* 重点码（弹窗）：基础 = 重点大图独占一行，小码整行铺开；宽屏下升级为左右排布 */
.wx-pop-dual.cf1 .wx-pop-col.is-big { flex: 1 0 100%; }
.wx-pop-dual.cf1 .wx-pop-col.is-big .wx-pop-frame { width: 280px; height: 280px; max-width: 100%; }

/* ---- 宽屏（≥641px）：弹窗加宽，重点码在左大图，小码两列排在右侧 ---- */
@media (min-width: 641px) {
  .wx-pop-card.has-feat { width: min(700px, calc(100vw - 32px)); }
  .wx-pop-dual.cn.cf1 { flex-flow: row nowrap; align-items: flex-start; justify-content: center; }
  .wx-pop-dual.cn.cf1 .wx-pop-col.is-big { flex: 0 0 300px; }
  .wx-pop-dual.cn.cf1 .wx-pop-col.is-big .wx-pop-frame { width: 300px; height: 300px; }
  .wx-pop-dual.cn.cf1 .wx-minis { flex: 1 1 0; gap: 10px; }
  .wx-pop-dual.cn.cf1 .wx-minis .wx-col { flex: 0 0 calc(50% - 5px); }
  .wx-pop-dual.cf1 .wx-minis .wx-pop-frame { width: 100%; max-width: 140px; height: 140px; }
  /* 2 码勾 1 重点：弹窗同样横排——重点 280px 在左，另一个 200px 在右，顶部对齐 */
  .wx-pop-dual.c2.cf1 { flex-flow: row nowrap; align-items: flex-start; justify-content: center; gap: 26px; }
  .wx-pop-dual.c2.cf1 .wx-pop-col.is-big { flex: 0 0 auto; }
  .wx-pop-dual.c2.cf1 .wx-pop-col.is-big .wx-pop-frame { width: 280px; height: 280px; }
  .wx-pop-dual.c2.cf1 .wx-minis { flex: 0 0 auto; width: auto; }
  .wx-pop-dual.c2.cf1 .wx-minis .wx-col { flex: 0 0 auto; }
  .wx-pop-dual.c2.cf1 .wx-minis .wx-pop-frame { width: 200px; height: 200px; max-width: 100%; }
}

/* ---------- 微信悬浮按钮 ---------- */
.wx-float {
  position: fixed; right: 22px; bottom: 96px; z-index: 900;
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px;
  width: 62px; height: 62px; border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .5);
  background: linear-gradient(160deg, #2fbb5a, #128c3f);
  color: #fff; box-shadow: 0 10px 24px rgba(0, 0, 0, .35); cursor: pointer;
  transition: transform .18s ease, left .26s cubic-bezier(.22, .9, .35, 1.18), top .22s ease, box-shadow .18s ease;
  touch-action: none; -webkit-user-select: none; user-select: none; -webkit-tap-highlight-color: transparent;
}
.wx-float .wf-ico { font-size: 21px; font-weight: bold; line-height: 1; font-family: var(--font-brush); }
.wx-float .wf-txt { font-size: 10px; letter-spacing: .5px; }
.wx-float:hover { transform: translateY(-2px); }
/* 自定义图标图片：整圆铺满替代文字图标 */
.wx-float.has-img .wf-ico, .wx-float.has-img .wf-txt { display: none; }
.wx-float .wf-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
/* 拖拽中：放大 + 加深阴影，关闭过渡让拖动零延迟 */
.wx-float.dragging {
  transition: none; transform: scale(1.15);
  box-shadow: 0 18px 42px rgba(0, 0, 0, .5); cursor: grabbing;
}
.wx-float.dragging::after { animation: none; opacity: 0; }
.wx-float.no-anim { transition: none !important; }
/* 边缘吸附：只露一小条 + 指示箭头，点按弹出 */
.wx-float.docked { transition: left .3s cubic-bezier(.22, .9, .35, 1.18), top .22s ease; }
.wx-float.docked::after { animation: none; opacity: 0; }
.wx-float.docked .wf-ico, .wx-float.docked .wf-txt, .wx-float.docked .wf-img { opacity: 0; }
.wx-float.docked::before {
  content: '‹'; position: absolute; top: 50%; transform: translateY(-50%);
  width: 12px; text-align: center; font-size: 13px; line-height: 1;
  color: rgba(255, 255, 255, .9); text-shadow: 0 1px 2px rgba(0, 0, 0, .3);
}
.wx-float.dock-r::before { left: 1px; }
.wx-float.dock-l::before { right: 1px; content: '›'; }
/* 弹出回弹动画 */
@keyframes wxFloatPop {
  0% { transform: scale(.6); }
  60% { transform: scale(1.12); }
  100% { transform: scale(1); }
}
.wx-float.popping { animation: wxFloatPop .35s ease; }
/* 拖尾残影 */
.wx-float-ghost {
  position: fixed; z-index: 899; width: 62px; height: 62px; border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .3);
  background: linear-gradient(160deg, rgba(47, 187, 90, .38), rgba(18, 140, 63, .38));
  pointer-events: none; opacity: 0; left: -999px;
}
.wx-float-ghost.on { opacity: .85; }
.wx-float-ghost.off { opacity: 0; transition: opacity .35s ease; }
.wx-float::after {
  content: ''; position: absolute; inset: -6px; border-radius: 50%;
  border: 1px solid rgba(47, 187, 90, .5); animation: wxFloatPulse 2.2s infinite;
}
@keyframes wxFloatPulse {
  0% { transform: scale(.9); opacity: .8; }
  70% { transform: scale(1.25); opacity: 0; }
  100% { opacity: 0; }
}
@media screen and (max-width: 640px) {
  .wx-pop-card { margin-top: 6vh; padding: 22px 16px 16px; }
  .wx-pop-dual.dual { gap: 10px; }
  .wx-pop-dual.c1 .wx-pop-frame { width: 240px; height: 240px; }
  .wx-pop-dual.c2 { gap: 12px; }
  .wx-pop-dual.c2 .wx-pop-frame { max-width: 150px; height: 150px; }
  .wx-pop-dual.cn .wx-pop-frame { height: 135px; }
  .wx-pop-dual.c3 .wx-pop-frame { height: 100px; }
  .wx-hero-dual.c2 .wx-qr-frame { width: 100%; max-width: 210px; height: 210px; }
  .wx-hero-dual.cn .wx-qr-frame { height: 135px; max-width: 135px; }
  /* 手机端重点码：cn（3 码以上）重点大图整行居中、小码两列排下方；
     c2（2 码勾 1 重点）保持上下排布：重点 240px 在上，小码 140px 居中在下 */
  .wx-hero-dual.cn.cf1, .wx-pop-dual.cn.cf1 { flex-flow: row wrap; }
  .wx-hero-dual.cf1 .wx-col.is-big .wx-qr-frame { width: 240px; height: 240px; }
  .wx-pop-dual.cf1 .wx-pop-col.is-big .wx-pop-frame { width: 240px; height: 240px; }
  .wx-hero-dual.cf2 .wx-col.is-big .wx-qr-frame { width: 100%; max-width: 150px; height: 150px; }
  .wx-pop-dual.cf2 .wx-pop-col.is-big .wx-pop-frame { width: 100%; max-width: 160px; height: 160px; }
  .wx-minis { gap: 10px; }
  .wx-minis .wx-col { flex: 0 0 calc(50% - 5px); }
  .wx-minis .wx-qr-frame { max-width: 140px; height: 140px; }
  .wx-minis .wx-pop-frame { max-width: 150px; height: 150px; }
  .wx-float { right: 14px; bottom: 78px; width: 54px; height: 54px; }
  .wx-float .wf-ico { font-size: 18px; }
  .wx-float-ghost { width: 54px; height: 54px; }
}

/* ---------- 下载专区（后台传文件/外链，自定义链接名） ---------- */
/* flex 居中排布：无论几个卡片都整体居中，不满一排时两侧留白对称 */
.df-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 18px;
  margin-top: 26px;
}
.df-card {
  width: 250px;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: linear-gradient(180deg, rgba(38, 30, 20, .92), rgba(24, 19, 13, .96));
  border: 1px solid rgba(224, 169, 78, .28);
  border-top: 3px solid var(--gold, #e0a94e);
  border-radius: 10px;
  padding: 22px 18px 20px;
  text-align: center;
  transition: transform .18s ease, border-color .18s ease;
}
.df-card:hover {
  transform: translateY(-3px);
  border-color: rgba(224, 169, 78, .55);
}
.df-ico {
  width: 52px; height: 52px;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: rgba(224, 169, 78, .12);
  border: 1px solid rgba(224, 169, 78, .35);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
}
.df-card h3 {
  font-size: 17px;
  color: #f2e6cd;
  letter-spacing: 1px;
  line-height: 1.4;
  word-break: break-all;
  margin-bottom: 4px;
}
.df-card p {
  font-size: 12px;
  color: rgba(242, 230, 205, .55);
  margin-top: 4px;
  margin-bottom: 14px;
  line-height: 1.6;
  word-break: break-all;
}
.df-btn {
  display: block;
  margin-top: auto;          /* 说明文字长短不一，按钮统一起始线：整排卡片按钮对齐更整齐 */
  width: 100%;
}
@media screen and (max-width: 640px) {
  .df-grid { gap: 12px; }
  .df-card { width: calc(50% - 6px); padding: 16px 10px 14px; }
  .df-card h3 { font-size: 14px; }
}
.df-btn {
  padding: 10px 18px;
  border: 0;
  border-radius: var(--r-btn, 8px);
  background: linear-gradient(135deg, #c93333, #a02424);
  color: #fff;
  font-weight: bold;
  letter-spacing: 2px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .4);
  text-decoration: none;
}
.df-btn:hover { background: linear-gradient(135deg, #d94040, #b02c2c); }

/* ---------- 置顶公告条（后台可开关，重要通知用） ---------- */
.ann-bar {
  background: linear-gradient(90deg, #7a1f14, #a52a1a 50%, #7a1f14);
  color: #ffe9c9;
  border-bottom: 1px solid rgba(255, 207, 107, .35);
}
.ann-wrap { display: flex; align-items: center; gap: 10px; padding: 8px 0; }
.ann-inner {
  display: flex; align-items: center; gap: 8px; flex: 1; min-width: 0;
  color: inherit; text-decoration: none; font-size: 13px; line-height: 1.5;
}
.ann-inner[href]:hover .ann-text { text-decoration: underline; }
.ann-dot {
  width: 6px; height: 6px; border-radius: 50%; background: #ffcf6b;
  box-shadow: 0 0 0 3px rgba(255, 207, 107, .22); flex: 0 0 auto;
  animation: annPulse 1.8s infinite;
}
@keyframes annPulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
.ann-text { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ann-arrow { color: #ffcf6b; font-weight: bold; flex: 0 0 auto; }
.ann-close {
  background: none; border: none; color: #ffd9a8; font-size: 18px; line-height: 1;
  cursor: pointer; padding: 2px 6px; opacity: .75; flex: 0 0 auto;
}
.ann-close:hover { opacity: 1; }

/* ---------- 开服倒计时 ---------- */
.open-cd {
  display: inline-flex; align-items: center; gap: 8px; margin: 10px 0 0;
  padding: 6px 12px; border: 1px solid rgba(255, 207, 107, .4); border-radius: 999px;
  background: rgba(255, 207, 107, .08); font-size: 13px; color: #ffcf6b;
}
.open-cd .ocd-label { color: #c9b184; }
.open-cd .ocd-time { font-weight: bold; letter-spacing: .5px; font-variant-numeric: tabular-nums; }

/* ---------- 开服预约 ---------- */
.reserve { padding: 44px 0; }
.rsv-card {
  max-width: 720px; margin: 0 auto; padding: 26px 22px; text-align: center;
  background: linear-gradient(180deg, rgba(255, 207, 107, .08), rgba(255, 207, 107, .02));
  border: 1px solid rgba(255, 207, 107, .22); border-radius: 16px;
}
.rsv-head h3 { margin: 0 0 6px; font-size: 20px; color: #ffcf6b; }
.rsv-head p { margin: 0 0 16px; font-size: 13px; color: #b9a880; line-height: 1.7; }
.rsv-form { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.rsv-form select,
.rsv-form input {
  height: 42px; border-radius: 10px; border: 1px solid rgba(255, 207, 107, .3);
  background: rgba(0, 0, 0, .35); color: #f0e3c4; padding: 0 12px; font-size: 14px; outline: none;
}
.rsv-form input { flex: 1; min-width: 200px; max-width: 320px; }
.rsv-form select:focus,
.rsv-form input:focus { border-color: #ffcf6b; }
.rsv-form .btn { height: 42px; }
.rsv-tip { margin: 12px 0 0; font-size: 13px; min-height: 18px; }
.rsv-tip.is-ok { color: #6fd08c; }
.rsv-tip.is-err { color: #ff9b8a; }

@media (max-width: 640px) {
  .ann-wrap { padding: 7px 0; }
  .ann-text { white-space: normal; }
  .ann-close { position: absolute; right: 0; top: 4px; }
  .ann-wrap { position: relative; padding-right: 24px; }
  .reserve { padding: 32px 0; }
  .rsv-form { flex-direction: column; }
  .rsv-form input { max-width: none; width: 100%; }
  .rsv-form .btn { width: 100%; }
}

/* ---------- 板块显隐（后台「板块管理」开关） ---------- */
[data-sec-hidden="1"] { display: none !important; }

/* ---------- 预约类型切换（预约开服 / 预约合作） ---------- */
.rsv-kinds {
  display: flex; gap: 8px; justify-content: center; width: 100%;
  margin: 0 0 14px;
}
.rsv-kind {
  flex: 0 1 168px; height: 40px; border-radius: 10px; cursor: pointer;
  border: 1px solid rgba(255, 207, 107, .3); background: rgba(0, 0, 0, .25);
  color: #c9b184; font-size: 14px; transition: all .18s;
}
.rsv-kind:hover { border-color: rgba(255, 207, 107, .6); color: #ffcf6b; }
.rsv-kind.is-on {
  background: linear-gradient(180deg, rgba(255, 207, 107, .22), rgba(255, 207, 107, .08));
  border-color: #ffcf6b; color: #ffe6a8; font-weight: bold;
  box-shadow: 0 0 0 1px rgba(255, 207, 107, .25) inset;
}
.rsv-row-in { display: flex; gap: 10px; width: 100%; justify-content: center; flex-wrap: wrap; }
.rsv-row-in select { flex: 0 0 auto; }
.rsv-row-in input { flex: 1; min-width: 200px; max-width: 320px; }
@media (max-width: 640px) {
  .rsv-kinds { flex-direction: row; }
  .rsv-kind { flex: 1 1 0; }
  .rsv-row-in { flex-direction: column; }
  .rsv-row-in select, .rsv-row-in input, .rsv-row-in .btn { width: 100%; max-width: none; }
}
