/* ============================================================
   DNF60怀旧官网 · 首页布局样式（本站独立绘制）
   视觉呈现由 /css/chronicle.css 的「档案 / 编年」主题层负责。
   ============================================================ */

:root {
  --bg: #070a1c;
  --bg-2: #04061a;
  --panel: rgba(20, 24, 60, .55);
  --panel-2: rgba(13, 16, 48, .75);
  --bd: rgba(125, 135, 210, .22);
  --cyan: #2bd4ff;
  --purple: #7c4dff;
  --pink: #ff6ec7;
  --green: #7dff9b;
  --gold: #ffd86b;
  --gold-lt: #ffe9a8;
  --red: #ff3b6b;
  --txt: #e7eaff;
  --txt-dim: #a4a8d0;
  --txt-mute: #6e7299;
  --holo: linear-gradient(115deg, #2bd4ff 0%, #7c4dff 35%, #ff6ec7 70%, #7dff9b 100%);
  --holo-soft: linear-gradient(115deg, rgba(43, 212, 255, .25), rgba(124, 77, 255, .25), rgba(255, 110, 199, .25), rgba(125, 255, 155, .25));
  --shadow: 0 18px 60px -20px rgba(0, 0, 0, .7);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--txt);
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft Yahei", sans-serif;
  font-size: 15px;
  line-height: 1.7;
  overflow-x: hidden;
  min-height: 100vh;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; }
button { font-family: inherit; }

::selection { background: rgba(124, 77, 255, .5); color: #fff; }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg-2); }
::-webkit-scrollbar-thumb { background: linear-gradient(180deg, var(--purple), var(--cyan)); border-radius: 5px; }

/* ============ 预加载 ============ */
/* 后台没配品牌时，seal / 文案会被置 hidden；这里必须显式压掉，
   否则 .zf-pre-seal 的 display:flex 会盖过浏览器默认的 [hidden] */
[hidden] { display: none !important; }
#preloader {
  position: fixed; inset: 0; z-index: 9999;
  background: radial-gradient(ellipse at center, #10143a 0%, var(--bg) 70%);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 26px;
  transition: opacity .6s ease, visibility .6s;
}
#preloader.done { opacity: 0; visibility: hidden; pointer-events: none; }
/* JS 兜底：万一 main.js 没加载成功，3 秒后遮罩自己退场，
   避免页面被永久盖住（关闭动作原本完全依赖 JS） */
#preloader { animation: preFailsafe .4s ease 3s forwards; }
@keyframes preFailsafe {
  to { opacity: 0; visibility: hidden; pointer-events: none; }
}
.zf-pre-seal {
  width: 110px; height: 110px; border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  font-family: "ZCOOL KuaiLe", sans-serif; font-size: 30px; line-height: 1.1; color: #fff;
  background: conic-gradient(from 0deg, var(--cyan), var(--purple), var(--pink), var(--green), var(--cyan));
  animation: sealSpin 3s linear infinite;
  box-shadow: 0 0 60px -8px rgba(124, 77, 255, .9);
}
@keyframes sealSpin { to { transform: rotate(360deg); } }
.pre-text {
  font-family: "Orbitron", sans-serif; font-size: 13px; letter-spacing: 10px; color: var(--cyan);
  animation: preBlink 1.4s ease-in-out infinite;
}
@keyframes preBlink { 50% { opacity: .35; } }
.pre-hint {
  font-family: "Orbitron", "ZCOOL KuaiLe", sans-serif;
  font-size: 12px; letter-spacing: 4px; color: rgba(231, 234, 255, .65);
  padding: 8px 22px; border: 1px solid rgba(124, 77, 255, .45); border-radius: 999px;
  background: rgba(13, 16, 48, .45);
  animation: preHintPulse 1.8s ease-in-out infinite;
}
@keyframes preHintPulse {
  0%, 100% { opacity: .55; box-shadow: 0 0 0 0 rgba(124, 77, 255, .35); }
  50% { opacity: 1; box-shadow: 0 0 18px 2px rgba(124, 77, 255, .35); }
}
/* 徽章圆环动画 */
@keyframes ringSpin { to { transform: rotate(360deg); } }
@keyframes ringSpinR { to { transform: rotate(-360deg); } }
@keyframes spinePulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.03); opacity: .85; } }

/* ============ 星辰 & 极光 ============ */
.sky { position: fixed; inset: 0; z-index: 0; pointer-events: none; background: var(--bg); }
#starCanvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.aurora {
  position: absolute; width: 60vw; height: 60vw; border-radius: 50%;
  filter: blur(90px); opacity: .28; mix-blend-mode: screen;
}
.aurora.a1 { background: radial-gradient(circle, var(--purple), transparent 65%); top: -20%; left: -10%; animation: auroraDrift 22s ease-in-out infinite alternate; }
.aurora.a2 { background: radial-gradient(circle, var(--cyan), transparent 65%); bottom: -25%; right: -15%; animation: auroraDrift 28s ease-in-out infinite alternate-reverse; }
.aurora.a3 { background: radial-gradient(circle, var(--pink), transparent 65%); top: 30%; left: 40%; width: 40vw; height: 40vw; opacity: .16; animation: auroraDrift 34s ease-in-out infinite alternate; }
@keyframes auroraDrift {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(8vw, 6vh) scale(1.25); }
}

/* ============ 滚动进度条 ============ */
#scrollProgress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0; z-index: 200;
  background: var(--holo); box-shadow: 0 0 12px rgba(124, 77, 255, .8);
  transition: width .1s linear;
}

/* ============ 导航 ============ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  height: 64px; padding: 0 5%;
  transition: background .4s, box-shadow .4s, border-color .4s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(7, 10, 28, .82);
  backdrop-filter: blur(18px);
  border-bottom-color: var(--bd);
  box-shadow: 0 8px 30px -12px rgba(0, 0, 0, .8);
}
.nav-logo { display: flex; align-items: center; gap: 10px; font-family: "ZCOOL KuaiLe", sans-serif; font-size: 22px; color: #fff; letter-spacing: 2px; }
.nav-logo img { width: 36px; height: 36px; filter: drop-shadow(0 0 8px rgba(124, 77, 255, .6)); }
.nav-logo em { font-style: normal; background: var(--holo); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nav-links { display: flex; gap: 34px; }
.nav-links a { font-size: 14px; color: var(--txt-dim); position: relative; transition: color .3s; letter-spacing: 1px; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px;
  background: var(--holo); border-radius: 2px; transition: width .3s;
}
.nav-links a:hover, .nav-links a.active { color: #fff; }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-cta {
  padding: 9px 22px; border-radius: 22px; font-size: 13px; font-weight: 700; color: #fff;
  background: linear-gradient(135deg, var(--purple), var(--pink));
  box-shadow: 0 8px 24px -8px rgba(124, 77, 255, .9);
  transition: transform .3s;
}
.nav-cta:hover { transform: translateY(-2px); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--txt); border-radius: 2px; transition: .3s; }

/* ============ 首屏 ============ */
.zf-hero {
  position: relative; min-height: 100vh;
  padding: 140px 5% 90px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; z-index: 1;
}
.zf-crenel {
  position: absolute; top: 0; left: 0; right: 0; height: 8px; z-index: 3;
  background: repeating-linear-gradient(90deg,
    var(--cyan) 0, var(--cyan) 12px, transparent 12px, transparent 24px,
    var(--purple) 24px, var(--purple) 36px, transparent 36px, transparent 48px,
    var(--pink) 48px, var(--pink) 60px, transparent 60px, transparent 72px,
    var(--green) 72px, var(--green) 84px, transparent 84px, transparent 96px);
  opacity: .6;
}
.zf-hero-inner {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px;
  align-items: center; max-width: 1320px; width: 100%;
  position: relative; z-index: 2;
}
.zf-kicker {
  display: inline-block; font-size: 13px; letter-spacing: 1px; color: var(--gold-lt);
  background: rgba(255, 216, 107, .08); border: 1px solid rgba(255, 216, 107, .25);
  padding: 6px 14px; border-radius: 20px; margin-bottom: 22px;
}
.zf-latin {
  font-family: "Orbitron", sans-serif; font-size: 14px; letter-spacing: 8px;
  color: var(--cyan); margin-bottom: 6px; opacity: .8;
}
.zf-title {
  font-family: "ZCOOL KuaiLe", sans-serif;
  font-size: clamp(56px, 9vw, 128px); line-height: 1;
  background: linear-gradient(180deg, #fff 0%, #ffd86b 40%, #ff6ec7 80%, #7c4dff 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  letter-spacing: 4px; margin-bottom: 14px;
  filter: drop-shadow(0 0 30px rgba(124, 77, 255, .5));
}
.zf-sub { font-size: 20px; color: var(--txt); margin-bottom: 8px; }
.zf-sub em { color: var(--gold); font-style: normal; font-weight: 700; }
.zf-tagline { font-size: 16px; color: var(--txt-dim); font-style: italic; margin-bottom: 26px; }
.zf-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }
.zf-tags span {
  font-size: 12px; padding: 5px 12px; border-radius: 14px;
  background: var(--panel); border: 1px solid var(--bd); color: var(--txt-dim);
}
.zf-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 38px; }
.zf-btn {
  padding: 14px 28px; border-radius: 30px; font-weight: 700; font-size: 15px;
  display: inline-flex; align-items: center; gap: 6px; transition: all .3s; cursor: pointer; border: none;
}
.zf-btn-red { background: linear-gradient(135deg, #ff3b6b, #ff6ec7); color: #fff; box-shadow: 0 12px 30px -10px rgba(255, 59, 107, .8); }
.zf-btn-red:hover { transform: translateY(-3px); box-shadow: 0 18px 36px -10px rgba(255, 59, 107, 1); }
.zf-btn-ghost { background: rgba(124, 77, 255, .12); border: 1.5px solid rgba(124, 77, 255, .5); color: #fff; }
.zf-btn-ghost:hover { background: rgba(124, 77, 255, .25); transform: translateY(-3px); }

/* 倒计时条 */
.zf-cdbar {
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
  padding: 16px 22px; border-radius: 16px;
  background: linear-gradient(160deg, var(--panel), var(--panel-2));
  border: 1px solid var(--bd); backdrop-filter: blur(16px);
  max-width: 560px;
}
.zf-cdbar-label { font-family: "ZCOOL KuaiLe", sans-serif; font-size: 15px; color: var(--gold-lt); letter-spacing: 1px; white-space: nowrap; }
.zf-cdbar-clock { display: flex; align-items: center; gap: 8px; }
.zf-cdu { text-align: center; min-width: 58px; }
.zf-cdn { font-family: "Orbitron", sans-serif; font-size: 26px; font-weight: 900; color: #fff; line-height: 1; }
.zf-cdl { font-size: 11px; color: var(--txt-mute); margin-top: 4px; }
.zf-cdsep { color: var(--purple); font-size: 20px; font-weight: 700; }
.zf-cdbar-cta { margin-left: auto; font-size: 13px; font-weight: 700; color: #0a0e22; padding: 8px 18px; border-radius: 18px; background: var(--holo); white-space: nowrap; transition: transform .3s; }
.zf-cdbar-cta:hover { transform: translateY(-2px); }

/* 全息徽章 */
.zf-hero-crest { display: flex; align-items: center; justify-content: center; }
.zf-crest-svg { width: min(420px, 80vw); height: auto; filter: drop-shadow(0 0 40px rgba(124, 77, 255, .45)); }

/* ============ 统计条 ============ */
.stats { position: relative; z-index: 2; padding: 0 5% 60px; }
.stats-inner {
  max-width: 1080px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: linear-gradient(160deg, var(--panel), var(--panel-2));
  border: 1px solid var(--bd); border-radius: 20px;
  padding: 34px 20px; backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
}
.stat-item { text-align: center; position: relative; }
.stat-item:not(:last-child)::after {
  content: ""; position: absolute; right: 0; top: 15%; bottom: 15%; width: 1px;
  background: linear-gradient(180deg, transparent, var(--bd), transparent);
}
.stat-num {
  display: block; font-family: "Orbitron", sans-serif;
  font-size: 38px; font-weight: 900; line-height: 1;
  background: var(--holo); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 12px rgba(124, 77, 255, .4));
}
.stat-label { font-size: 13px; color: var(--txt-dim); margin-top: 8px; letter-spacing: 1px; }

/* ============ 通用 Section ============ */
.sec { padding: 100px 5%; position: relative; z-index: 1; }
.sec-inner { max-width: 1280px; margin: 0 auto; }
.sec-head { text-align: center; margin-bottom: 60px; }
.sec-eyebrow {
  display: inline-block; font-family: "Orbitron", sans-serif;
  font-size: 13px; letter-spacing: 6px; color: var(--cyan); text-transform: uppercase;
  margin-bottom: 14px;
}
.sec-title {
  font-family: "ZCOOL KuaiLe", sans-serif; font-size: 46px;
  background: linear-gradient(180deg, #fff, var(--gold) 60%, var(--pink));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  letter-spacing: 3px; margin-bottom: 14px;
}
.sec-desc { color: var(--txt-dim); font-size: 15px; max-width: 680px; margin: 0 auto; }
.sec-divider { width: 60px; height: 3px; margin: 24px auto 0; background: var(--holo); border-radius: 2px; }

/* ============ 特色卡片 ============ */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature-card {
  position: relative; padding: 36px 28px; border-radius: 18px;
  background: linear-gradient(160deg, var(--panel), var(--panel-2));
  border: 1px solid var(--bd); overflow: hidden;
  transition: transform .4s, border-color .4s, box-shadow .4s;
}
.feature-card:hover {
  transform: translateY(-8px); border-color: rgba(124, 77, 255, .55);
  box-shadow: 0 24px 50px -20px rgba(124, 77, 255, .5);
}
.feature-card::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(124, 77, 255, .14), transparent 60%);
  opacity: 0; transition: opacity .4s; pointer-events: none;
}
.feature-card:hover::before { opacity: 1; }
.feature-icon { font-size: 42px; margin-bottom: 16px; filter: drop-shadow(0 0 14px rgba(124, 77, 255, .6)); }
.feature-name {
  display: inline-block; font-size: 11px; letter-spacing: 2px; color: var(--cyan);
  border: 1px solid rgba(43, 212, 255, .35); border-radius: 10px; padding: 2px 10px; margin-bottom: 12px;
}
.feature-title { font-family: "ZCOOL KuaiLe", sans-serif; font-size: 22px; color: #fff; letter-spacing: 1px; margin-bottom: 10px; }
.feature-desc { font-size: 13.5px; color: var(--txt-dim); line-height: 1.9; }
.feature-tag { margin-top: 14px; font-size: 12px; color: var(--gold); }

/* ============ 开服福利 ============ */
.rewards-sec { background: linear-gradient(180deg, transparent, rgba(13, 16, 48, .55), transparent); }
.rewards-layout { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 26px; position: relative; }
.reward-col {
  position: relative; padding: 34px 26px; border-radius: 18px;
  background: linear-gradient(160deg, var(--panel), var(--panel-2));
  border: 1px solid var(--bd);
  transition: transform .4s, border-color .4s;
}
.reward-col:hover { transform: translateY(-6px); border-color: rgba(255, 216, 107, .45); }
.reward-step {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: "Orbitron", sans-serif; font-size: 11px; letter-spacing: 2px;
  color: var(--gold-lt); background: rgba(255, 216, 107, .1);
  border: 1px solid rgba(255, 216, 107, .3); border-radius: 12px; padding: 3px 12px; margin-bottom: 14px;
}
.reward-title { font-family: "ZCOOL KuaiLe", sans-serif; font-size: 24px; color: #fff; letter-spacing: 2px; margin-bottom: 18px; }
.reward-title::after { content: ""; display: block; width: 36px; height: 3px; background: var(--holo); border-radius: 2px; margin-top: 10px; }
.reward-items li { font-size: 13.5px; color: var(--txt-dim); padding: 7px 0 7px 20px; position: relative; line-height: 1.8; }
.reward-items li::before {
  content: "◆"; position: absolute; left: 0; top: 7px; font-size: 9px; color: var(--purple);
}
.reward-items li.hl { color: var(--gold-lt); }

/* ============ 职业翻转卡 ============ */
.classes-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.cls-wrap { perspective: 1200px; height: 340px; cursor: pointer; }
.cls-card {
  position: relative; width: 100%; height: 100%;
  transform-style: preserve-3d; transition: transform .7s cubic-bezier(.4, .1, .2, 1);
}
.cls-wrap.flipped .cls-card { transform: rotateY(180deg); }
.cls-face {
  position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden;
  border-radius: 18px; border: 1px solid var(--bd);
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  padding: 26px 20px; overflow: hidden;
}
.cls-front { background: linear-gradient(160deg, var(--panel), var(--panel-2)); }
.cls-front::before {
  content: ""; position: absolute; inset: 0;
  background: var(--holo-soft); opacity: .1;
}
.cls-back {
  transform: rotateY(180deg);
  background: linear-gradient(160deg, rgba(124, 77, 255, .18), rgba(13, 16, 48, .92));
  border-color: rgba(124, 77, 255, .5);
  justify-content: flex-start;
}
.cls-avatar {
  width: 84px; height: 84px; border-radius: 50%; margin-bottom: 18px;
  display: flex; align-items: center; justify-content: center;
  font-family: "ZCOOL KuaiLe", sans-serif; font-size: 34px; color: #fff;
  background: conic-gradient(from 45deg, var(--cyan), var(--purple), var(--pink), var(--green), var(--cyan));
  box-shadow: 0 0 30px -6px rgba(124, 77, 255, .9);
  position: relative;
}
.cls-avatar::after { content: ""; position: absolute; inset: 4px; border-radius: 50%; background: #0d1030; }
.cls-avatar span { position: relative; z-index: 1; }
.cls-name { font-family: "ZCOOL KuaiLe", sans-serif; font-size: 24px; color: #fff; letter-spacing: 2px; margin-bottom: 4px; }
.cls-en { font-family: "Orbitron", sans-serif; font-size: 12px; letter-spacing: 4px; color: var(--cyan); margin-bottom: 14px; }
.cls-tag { font-size: 12px; color: var(--txt-dim); padding: 4px 14px; border: 1px solid var(--bd); border-radius: 12px; }
.cls-flip-hint { margin-top: 16px; font-size: 11px; letter-spacing: 3px; color: var(--txt-mute); }
.cls-back-name { font-family: "ZCOOL KuaiLe", sans-serif; font-size: 22px; color: var(--gold-lt); letter-spacing: 2px; margin: 4px 0 12px; }
.cls-back-desc { font-size: 13px; color: var(--txt-dim); line-height: 1.9; text-align: left; }
.cls-back-flip { margin-top: auto; font-size: 11px; letter-spacing: 3px; color: var(--cyan); padding-top: 14px; }

/* ============ 公告 ============ */
.news-list { max-width: 900px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.news-item {
  display: grid; grid-template-columns: auto auto 1fr auto; align-items: center; gap: 16px;
  padding: 18px 24px; border-radius: 14px;
  background: linear-gradient(160deg, var(--panel), var(--panel-2));
  border: 1px solid var(--bd);
  transition: transform .3s, border-color .3s, background .3s;
  cursor: pointer;
}
.news-item:hover { transform: translateX(8px); border-color: rgba(43, 212, 255, .45); background: rgba(43, 212, 255, .05); }
.news-type {
  font-size: 12px; padding: 3px 12px; border-radius: 8px; letter-spacing: 1px; white-space: nowrap;
}
.news-type.t-活动 { color: var(--gold-lt); background: rgba(255, 216, 107, .14); border: 1px solid rgba(255, 216, 107, .4); }
.news-type.t-通知 { color: var(--cyan); background: rgba(43, 212, 255, .1); border: 1px solid rgba(43, 212, 255, .35); }
.news-type.t-更新 { color: var(--green); background: rgba(125, 255, 155, .1); border: 1px solid rgba(125, 255, 155, .35); }
.news-pin { font-size: 12px; color: var(--red); white-space: nowrap; }
.news-title { font-size: 14.5px; color: var(--txt); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.news-date { font-family: "Orbitron", sans-serif; font-size: 12px; color: var(--txt-mute); white-space: nowrap; }

/* ============ 下载中心 ============ */
.download-sec { background: linear-gradient(180deg, transparent, rgba(13, 16, 48, .6), transparent); }
.dl-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.dl-item {
  padding: 32px 26px; border-radius: 18px;
  background: linear-gradient(160deg, var(--panel), var(--panel-2));
  border: 1px solid var(--bd); position: relative;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  transition: all .4s;
}
.dl-item:hover { transform: translateY(-6px); border-color: rgba(124, 77, 255, .5); }
.dl-item-featured { border-color: rgba(255, 216, 107, .5); background: linear-gradient(160deg, rgba(255, 216, 107, .08), rgba(28, 32, 76, .7)); }
.dl-item-featured::before {
  content: ""; position: absolute; inset: 0; border-radius: 18px;
  background: linear-gradient(135deg, rgba(255, 216, 107, .15), transparent 50%);
  pointer-events: none;
}
.dl-item-tag {
  position: absolute; top: 14px; right: 14px;
  font-size: 11px; padding: 3px 9px; border-radius: 8px;
  background: rgba(255, 216, 107, .18); color: var(--gold); border: 1px solid rgba(255, 216, 107, .4);
}
.dl-item-icon { font-size: 46px; margin-bottom: 14px; filter: drop-shadow(0 0 14px rgba(255, 216, 107, .5)); }
.dl-item-name { font-family: "ZCOOL KuaiLe", sans-serif; font-size: 20px; color: #fff; letter-spacing: 1px; margin-bottom: 8px; }
.dl-item-desc { font-size: 13px; color: var(--txt-dim); line-height: 1.7; margin-bottom: 14px; min-height: 50px; }
.dl-item-size { font-size: 12px; color: var(--cyan); font-family: "Orbitron", sans-serif; margin-bottom: 18px; }
.dl-item-btn {
  display: inline-flex; align-items: center; gap: 6px; margin-top: auto;
  padding: 11px 26px; border-radius: 24px;
  background: var(--holo); color: #0a0e22; font-weight: 700; font-size: 13px;
  transition: transform .3s;
}
.dl-item-btn:hover { transform: translateY(-2px); }
.dl-tips {
  margin-top: 40px; padding: 20px 24px; border-radius: 12px;
  background: rgba(43, 212, 255, .06); border: 1px dashed rgba(43, 212, 255, .3);
  font-size: 13.5px; color: var(--txt-dim); line-height: 1.9; text-align: center;
}
.dl-tips b, .dl-tips em { color: var(--gold-lt); font-style: normal; }

/* ============ 页脚 ============ */
footer { background: linear-gradient(180deg, transparent, #04061a); border-top: 1px solid var(--bd); padding: 60px 5% 30px; position: relative; z-index: 1; }
.footer-inner { max-width: 1280px; margin: 0 auto; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand-name { display: flex; align-items: center; gap: 10px; font-family: "ZCOOL KuaiLe", sans-serif; font-size: 24px; color: #fff; letter-spacing: 2px; margin-bottom: 14px; }
.footer-brand-img { width: 36px; height: 36px; filter: drop-shadow(0 0 8px rgba(124, 77, 255, .6)); }
.footer-brand-desc { font-size: 13px; color: var(--txt-dim); line-height: 1.8; }
.footer-col-title { font-family: "ZCOOL KuaiLe", sans-serif; font-size: 16px; color: var(--gold-lt); letter-spacing: 2px; margin-bottom: 14px; }
.footer-links li, .footer-contacts li { padding: 5px 0; }
.footer-links a, .footer-contacts a { font-size: 13px; color: var(--txt-dim); transition: color .3s; }
.footer-links a:hover, .footer-contacts a:hover { color: var(--cyan); }
.footer-contacts li { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.contact-icon { font-size: 14px; }
.contact-label { color: var(--txt-mute); }
.contact-value { color: var(--gold-lt); font-family: "Orbitron", sans-serif; }
.footer-links-bar { padding: 18px 0; border-top: 1px solid var(--bd); border-bottom: 1px solid var(--bd); display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.footer-links-label { font-size: 13px; color: var(--gold); }
.footer-links-bar a { font-size: 13px; color: var(--txt-dim); transition: color .3s; }
.footer-links-bar a:hover { color: var(--cyan); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px; margin-top: 24px; font-size: 12px; color: var(--txt-mute); line-height: 1.7; }
.footer-bottom a:hover { color: var(--cyan); }

/* ============ 侧边客服 ============ */
.side-bar { position: fixed; right: 20px; top: 50%; transform: translateY(-50%); z-index: 90; display: flex; align-items: center; gap: 14px; transition: all .4s; }
.side-bar.collapsed { transform: translateY(-50%) translateX(calc(100% - 56px)); }
.side-tab {
  width: 54px; height: 140px; border-radius: 28px 6px 6px 28px; cursor: pointer;
  background: linear-gradient(135deg, var(--purple), var(--pink));
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; color: #fff; position: relative;
  box-shadow: 0 8px 30px -8px rgba(124, 77, 255, .8);
  transition: transform .3s; border: none;
}
.side-tab:hover { transform: translateX(-4px); }
.side-tab-icon { width: 22px; height: 22px; }
.side-tab-text { font-size: 12px; writing-mode: vertical-rl; letter-spacing: 4px; font-family: "ZCOOL KuaiLe", sans-serif; }
.side-tab-dot { position: absolute; top: 10px; right: 10px; width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px var(--green); animation: dotPulse 1.6s infinite; }
@keyframes dotPulse { 50% { opacity: .3; } }
.side-panel {
  width: 280px; background: linear-gradient(160deg, var(--panel), var(--panel-2));
  border: 1px solid var(--bd); border-radius: 18px;
  padding: 18px; backdrop-filter: blur(20px);
  box-shadow: var(--shadow);
}
.side-head { display: flex; align-items: center; gap: 8px; margin-bottom: 18px; }
.side-head-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px var(--green); }
.side-head-text { font-family: "ZCOOL KuaiLe", sans-serif; font-size: 16px; color: #fff; flex: 1; letter-spacing: 1px; }
.side-head-close { background: none; border: none; color: var(--txt-mute); font-size: 14px; cursor: pointer; }
.side-row { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 12px; background: rgba(43, 212, 255, .06); border: 1px solid rgba(43, 212, 255, .15); margin-bottom: 10px; }
.side-row-icon { font-size: 22px; }
.side-row-info { flex: 1; }
.side-row-label { font-size: 11px; color: var(--txt-mute); margin-bottom: 2px; }
.side-row-value { font-family: "Orbitron", sans-serif; font-size: 14px; color: var(--gold-lt); word-break: break-all; }
.side-row-copy { width: 30px; height: 30px; border-radius: 8px; background: rgba(124, 77, 255, .15); border: 1px solid rgba(124, 77, 255, .35); color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: .3s; flex-shrink: 0; }
.side-row-copy:hover { background: rgba(124, 77, 255, .4); }
.side-row-copy svg { width: 14px; height: 14px; }
.side-top { position: absolute; right: 0; top: -60px; width: 42px; height: 42px; border-radius: 50%; background: rgba(43, 212, 255, .15); border: 1px solid rgba(43, 212, 255, .4); color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity .3s; }
.side-top.show { opacity: 1; }
.side-top svg { width: 18px; height: 18px; }

/* ============ 公告 Toast ============ */
.notice-toast { position: fixed; left: 84px; bottom: 20px; z-index: 80; } /* 右移让出左下角给音乐播放器 */
.notice-toast-trigger {
  width: 48px; height: 48px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--pink));
  border: none; cursor: pointer; color: #0a0e22;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 30px -6px rgba(255, 216, 107, .8);
  transition: transform .3s; position: relative;
}
.notice-toast-trigger:hover { transform: scale(1.08); }
.notice-toast-trigger svg { width: 22px; height: 22px; }
.notice-toast-dot { position: absolute; top: 4px; right: 4px; width: 10px; height: 10px; border-radius: 50%; background: var(--red); box-shadow: 0 0 8px var(--red); animation: dotPulse 1.6s infinite; }
.notice-toast-box {
  position: absolute; left: 0; bottom: 60px; width: 340px;
  background: linear-gradient(160deg, var(--panel), var(--panel-2));
  border: 1px solid var(--bd); border-radius: 18px; backdrop-filter: blur(20px);
  box-shadow: var(--shadow); overflow: hidden;
  transform: translateY(20px) scale(.95); opacity: 0; visibility: hidden;
  transition: all .35s ease; transform-origin: bottom left;
}
.notice-toast-box.show { transform: translateY(0) scale(1); opacity: 1; visibility: visible; }
.notice-toast-gold { border-color: rgba(255, 216, 107, .4); }
.notice-toast-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; background: linear-gradient(135deg, rgba(255, 216, 107, .15), rgba(255, 110, 199, .15)); border-bottom: 1px solid var(--bd); }
.notice-toast-type { font-family: "ZCOOL KuaiLe", sans-serif; font-size: 14px; color: var(--gold-lt); letter-spacing: 1px; }
.notice-toast-close { background: none; border: none; color: #fff; font-size: 14px; cursor: pointer; opacity: .7; }
.notice-toast-close:hover { opacity: 1; }
.notice-toast-body { padding: 18px; max-height: 50vh; overflow-y: auto; }
.notice-toast-body::-webkit-scrollbar { width: 6px; }
.notice-toast-body::-webkit-scrollbar-thumb { background: rgba(124, 77, 255, .4); border-radius: 3px; }
.notice-toast-pin { display: inline-block; font-size: 11px; padding: 2px 8px; border-radius: 6px; background: rgba(255, 216, 107, .18); color: var(--gold-lt); margin-bottom: 8px; }
.notice-toast-title { font-family: "ZCOOL KuaiLe", sans-serif; font-size: 18px; color: #fff; letter-spacing: 1px; margin-bottom: 6px; line-height: 1.4; }
.notice-toast-date { font-size: 12px; color: var(--txt-mute); margin-bottom: 12px; }
.notice-toast-content { font-size: 13px; color: var(--txt-dim); line-height: 1.9; white-space: pre-wrap; }
.notice-toast-foot { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; padding: 12px 18px; border-top: 1px solid var(--bd); background: rgba(7, 10, 28, .5); }
.notice-toast-nshow { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--txt-dim); cursor: pointer; }
.notice-toast-nshow input { cursor: pointer; }
.notice-toast-link { font-size: 12px; color: var(--cyan); }

/* ============ 公告弹窗 ============ */
.notice-popup-mask {
  position: fixed; inset: 0; z-index: 300; background: rgba(4, 6, 26, .78);
  backdrop-filter: blur(6px); display: flex; align-items: center; justify-content: center; padding: 20px;
  opacity: 0; visibility: hidden; transition: all .35s;
}
.notice-popup-mask.show { opacity: 1; visibility: visible; }
.notice-popup {
  width: min(520px, 100%); border-radius: 20px; overflow: hidden;
  background: linear-gradient(170deg, rgba(28, 32, 76, .96), rgba(10, 14, 40, .98));
  border: 1px solid rgba(255, 216, 107, .4);
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .9), 0 0 60px -20px rgba(124, 77, 255, .6);
  transform: translateY(30px) scale(.96); transition: transform .35s;
}
.notice-popup-mask.show .notice-popup { transform: translateY(0) scale(1); }
.notice-popup-head { padding: 26px 28px 20px; text-align: center; background: linear-gradient(135deg, rgba(255, 216, 107, .16), rgba(255, 110, 199, .16)); border-bottom: 1px solid var(--bd); position: relative; }
.notice-popup-close { position: absolute; top: 14px; right: 16px; background: none; border: none; color: var(--txt-mute); font-size: 18px; cursor: pointer; transition: color .3s; }
.notice-popup-close:hover { color: #fff; }
.notice-popup-type { display: inline-block; font-size: 11px; letter-spacing: 2px; color: var(--gold-lt); border: 1px solid rgba(255, 216, 107, .4); border-radius: 10px; padding: 2px 12px; margin-bottom: 12px; }
.notice-popup-title { font-family: "ZCOOL KuaiLe", sans-serif; font-size: 24px; color: #fff; letter-spacing: 2px; }
.notice-popup-date { font-family: "Orbitron", sans-serif; font-size: 12px; color: var(--txt-mute); margin-top: 6px; }
.notice-popup-body { padding: 24px 28px; font-size: 14px; color: var(--txt-dim); line-height: 2; white-space: pre-wrap; max-height: 50vh; overflow-y: auto; }
.notice-popup-foot { display: flex; gap: 12px; padding: 0 28px 26px; align-items: center; }
.notice-popup-foot .check { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--txt-dim); cursor: pointer; margin-right: auto; user-select: none; }
.notice-popup-foot .check input { accent-color: #7c4dff; cursor: pointer; }
.notice-popup-foot .zf-btn { flex: 1; justify-content: center; padding: 12px; font-size: 14px; }

/* ============ 在线客服 FAB ============ */
.chat-widget { position: fixed; right: 24px; bottom: 24px; z-index: 85; }
.chat-fab {
  display: flex; align-items: center; gap: 8px;
  padding: 14px 22px; border-radius: 30px;
  background: linear-gradient(135deg, var(--purple), var(--cyan));
  color: #fff; font-weight: 700; font-size: 14px;
  box-shadow: 0 12px 30px -8px rgba(124, 77, 255, .8);
  position: relative; transition: transform .3s; border: none; cursor: pointer;
}
.chat-fab:hover { transform: translateY(-3px) scale(1.04); }
.chat-fab-icon { width: 20px; height: 20px; display: flex; align-items: center; justify-content: center; }
.chat-fab-icon svg { width: 20px; height: 20px; }
.chat-fab-dot { position: absolute; top: 6px; right: 10px; width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px var(--green); animation: dotPulse 1.6s infinite; }
.chat-fab-bubble {
  position: absolute; right: 0; bottom: 60px;
  background: #fff; color: #0a0e22; font-size: 13px; font-weight: 600;
  padding: 10px 14px; border-radius: 14px 14px 4px 14px;
  box-shadow: 0 8px 24px -6px rgba(0, 0, 0, .4);
  white-space: nowrap;
  opacity: 0; transform: translateY(10px); transition: all .3s; pointer-events: none;
}
.chat-widget:hover .chat-fab-bubble { opacity: 1; transform: translateY(0); }

/* ============ 入场动画 ============ */
.fade-in { opacity: 0; transform: translateY(40px); transition: opacity .8s ease, transform .8s ease; }
.fade-in.in { opacity: 1; transform: translateY(0); }

/* ============ 响应式 ============ */
@media (max-width: 1024px) {
  .nav-links { display: none; position: fixed; top: 64px; left: 0; right: 0; background: rgba(7, 10, 28, .95); flex-direction: column; padding: 20px 5%; gap: 14px; backdrop-filter: blur(20px); border-bottom: 1px solid var(--bd); }
  .nav-links.show { display: flex; }
  .nav-toggle { display: flex; }
  .nav-cta { display: none; }
  .zf-hero-inner { grid-template-columns: 1fr; gap: 30px; text-align: center; }
  .zf-cta, .zf-tags { justify-content: center; }
  .zf-cdbar { margin: 0 auto; }
  .zf-hero-crest { order: -1; }
  .zf-crest-svg { width: min(300px, 60vw); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .classes-grid { grid-template-columns: repeat(2, 1fr); }
  .dl-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 30px; }
  .rewards-layout { grid-template-columns: 1fr; gap: 30px; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .stat-item:nth-child(2)::after { display: none; }
  .zf-cdbar { flex-direction: column; text-align: center; gap: 14px; }
  .zf-cdbar-cta { margin: 0 auto; }
  .news-item { grid-template-columns: auto 1fr; gap: 8px; }
  .news-pin, .news-date { grid-column: 2; }
  .news-title { white-space: normal; }
}
@media (max-width: 640px) {
  .sec { padding: 70px 5%; }
  .sec-title { font-size: 34px; }
  .features-grid, .classes-grid { grid-template-columns: 1fr; }
  .cls-wrap { height: 320px; }
  .stats-inner { grid-template-columns: 1fr 1fr; gap: 20px; }
  .stat-item::after { display: none; }
  .stat-num { font-size: 30px; }
  .side-bar { display: none; }
  .notice-toast-box { width: calc(100vw - 104px); }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ============ 音乐播放器 ============ */
.music-player { position: fixed; left: 20px; bottom: 20px; z-index: 79; }
.music-player.open { z-index: 81; } /* 面板展开时盖住公告弹层，避免互相遮挡 */
.music-disc {
  width: 48px; height: 48px; border-radius: 50%; border: none; cursor: pointer;
  background: linear-gradient(135deg, var(--cyan), var(--purple));
  color: #0a0e22; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 30px -6px rgba(43, 212, 255, .8);
  transition: transform .3s; position: relative;
}
.music-disc:hover { transform: scale(1.08); }
.music-disc svg { width: 22px; height: 22px; }
.music-disc::after {
  content: ''; position: absolute; inset: -4px; border-radius: 50%;
  border: 1px dashed rgba(43, 212, 255, .5); opacity: 0; transition: opacity .3s;
}
.music-player.playing .music-disc::after { opacity: 1; animation: mDiscSpin 6s linear infinite; }
@keyframes mDiscSpin { to { transform: rotate(360deg); } }
.music-panel {
  position: absolute; left: 0; bottom: 60px; width: 300px;
  background: linear-gradient(160deg, var(--panel), var(--panel-2));
  border: 1px solid var(--bd); border-radius: 18px; backdrop-filter: blur(20px);
  box-shadow: var(--shadow); padding: 16px;
  transform: translateY(16px) scale(.96); opacity: 0; visibility: hidden;
  transition: all .35s ease; transform-origin: bottom left;
}
.music-player.open .music-panel { transform: none; opacity: 1; visibility: visible; }
.music-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.music-meta { min-width: 0; flex: 1; }
.music-name {
  font-size: 15px; font-weight: 700; color: var(--txt);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.music-artist { font-size: 12px; color: var(--txt-mute); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.music-list-toggle {
  background: rgba(125, 135, 210, .12); border: 1px solid var(--bd); color: var(--txt-dim);
  width: 30px; height: 30px; border-radius: 9px; cursor: pointer; font-size: 14px; flex: none;
  transition: all .25s;
}
.music-list-toggle:hover, .music-list-toggle.active { color: var(--cyan); border-color: var(--cyan); }
.music-progress {
  height: 6px; border-radius: 3px; background: rgba(125, 135, 210, .18);
  margin: 14px 0 6px; cursor: pointer; position: relative; overflow: hidden;
}
.music-progress-cur { height: 100%; width: 0; border-radius: 3px; background: var(--holo); transition: width .2s linear; }
.music-times { display: flex; justify-content: space-between; font-size: 11px; color: var(--txt-mute); font-family: Orbitron, sans-serif; }
.music-controls { display: flex; align-items: center; gap: 8px; margin-top: 12px; }
.music-btn {
  width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--bd);
  background: rgba(125, 135, 210, .1); color: var(--txt); cursor: pointer; font-size: 14px;
  display: flex; align-items: center; justify-content: center; transition: all .25s; flex: none;
}
.music-btn:hover { border-color: var(--cyan); color: var(--cyan); }
.music-btn-play {
  width: 44px; height: 44px; font-size: 16px; border: none;
  background: linear-gradient(135deg, var(--cyan), var(--purple)); color: #0a0e22;
  box-shadow: 0 6px 22px -6px rgba(43, 212, 255, .8);
}
.music-vol { display: flex; align-items: center; gap: 6px; flex: 1; min-width: 0; margin-left: auto; }
.music-vol span { font-size: 13px; }
.music-vol input[type="range"] {
  flex: 1; min-width: 0; height: 4px; -webkit-appearance: none; appearance: none;
  background: rgba(125, 135, 210, .25); border-radius: 2px; outline: none; cursor: pointer;
}
.music-vol input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none; width: 12px; height: 12px; border-radius: 50%;
  background: var(--cyan); box-shadow: 0 0 8px rgba(43, 212, 255, .8);
}
.music-list {
  max-height: 180px; overflow-y: auto; margin-top: 12px;
  border-top: 1px solid var(--bd); padding-top: 10px; display: none;
}
.music-player.list-open .music-list { display: block; }
.music-list-item {
  display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 10px;
  cursor: pointer; font-size: 13px; color: var(--txt-dim); transition: all .2s;
}
.music-list-item:hover { background: rgba(125, 135, 210, .12); color: var(--txt); }
.music-list-item.active { background: var(--holo-soft); color: var(--cyan); }
.music-list-item .mli-idx { font-family: Orbitron, sans-serif; font-size: 11px; color: var(--txt-mute); flex: none; width: 18px; }
.music-list-item .mli-name { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.music-list-empty { font-size: 12px; color: var(--txt-mute); text-align: center; padding: 12px 0; }
@media (max-width: 640px) {
  .music-panel { width: calc(100vw - 40px); }
}

/* 自动播放被浏览器拦截时：唱片脉冲提示访客点击 */
.music-player.need-click .music-disc { animation: mDiscPulse 1.5s ease-in-out infinite; }
@keyframes mDiscPulse {
  0%, 100% { transform: scale(1); box-shadow: 0 8px 30px -6px rgba(43, 212, 255, .8); }
  50% { transform: scale(1.1); box-shadow: 0 8px 42px -2px rgba(43, 212, 255, 1), 0 0 0 6px rgba(43, 212, 255, .18); }
}

/* ============ 外部播放器（后台粘贴 iframe 代码）============ */
/* 默认隐藏；当前歌曲是外链播放器时才显示，并收起本地音频才有的控件 */
.music-embed { display: none; margin-top: 12px; }
.music-embed iframe {
  display: block; width: 100%; border: 0; border-radius: 10px;
  background: rgba(10, 14, 40, .55); overflow: hidden;
}
.music-player.mode-embed .music-embed { display: block; }
/* 第三方播放器内部多为固定 330px 宽度，面板放宽一点避免歌名被裁切 */
.music-player.mode-embed .music-panel { width: 372px; max-width: calc(100vw - 40px); }
.music-player.mode-embed .music-progress,
.music-player.mode-embed .music-times,
.music-player.mode-embed .music-btn-play,
.music-player.mode-embed .music-vol { display: none; }
.music-player.mode-embed .music-controls { justify-content: center; margin-top: 10px; }
.music-player.mode-embed .music-list { margin-top: 10px; }
/* 外链模式下唱片不跟随播放状态旋转（无法获知 iframe 内部播放状态） */
.music-player.mode-embed .music-disc::after { opacity: 0; animation: none; }

/* ============ 2026-10-31 落地页检测优化 ============ */
/* 公告正文 + 展开全文 */
.news-body {
  grid-column: 1 / -1; font-size: 13.5px; line-height: 1.8; color: var(--txt-dim);
  border-top: 1px dashed var(--bd); padding-top: 10px; white-space: normal;
}
.news-more {
  grid-column: 1 / -1; justify-self: start;
  background: none; border: none; cursor: pointer; padding: 2px 0;
  font-size: 12.5px; color: var(--cyan); letter-spacing: 1px;
}
.news-more:hover { color: #fff; }
.news-more i { font-style: normal; font-size: 10px; margin-left: 3px; }

/* 移动端首屏：文字内容前置，压缩装饰占比，提高首屏主体内容占比 */
@media (max-width: 640px) {
  .zf-hero { min-height: auto; padding: 100px 5% 40px; }
  .zf-hero-crest { order: 2; margin-top: 8px; }
  .zf-crest-svg { width: min(190px, 48vw); }
  .zf-title { font-size: clamp(42px, 13vw, 64px); letter-spacing: 2px; }
  .zf-sub { font-size: 16px; }
  .zf-tagline { font-size: 13px; margin-bottom: 14px; }
  .zf-kicker { margin-bottom: 12px; }
  .zf-tags { margin-bottom: 16px; }
  .zf-cta { margin-bottom: 18px; gap: 10px; }
  .zf-btn { padding: 12px 20px; font-size: 14px; }
  .zf-cdbar { padding: 12px 14px; gap: 10px; }
  .zf-cdn { font-size: 20px; }
  .zf-cdu { min-width: 44px; }
  .stats { padding: 0 5% 36px; }
  .stats-inner { padding: 18px 12px; }
  .news-item { padding: 14px 14px; }
  .news-body { font-size: 13px; }
}

/* ============ 攻略导航（SEO 内链区） ============ */
.seo-links { padding: 40px 5% 48px; }
.seo-inner { max-width: 1180px; margin: 0 auto; }
.seo-head { margin-bottom: 20px; }
.seo-title { font-size: 20px; font-weight: 700; color: var(--gold); letter-spacing: 1px; margin-bottom: 6px; }
.seo-sub { font-size: 13px; color: var(--txt-mute); }
.seo-list {
  list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 10px;
}
.seo-list li { margin: 0; }
.seo-list a {
  display: block; padding: 12px 16px; font-size: 14px; color: var(--txt-dim);
  background: var(--panel); border: 1px solid var(--bd); border-radius: 8px;
  transition: all .2s;
}
.seo-list a:hover { color: var(--cyan); border-color: rgba(43, 212, 255, .4); transform: translateY(-1px); }
@media (max-width: 640px) {
  .seo-links { padding: 30px 5% 36px; }
  .seo-title { font-size: 17px; }
  .seo-list { grid-template-columns: 1fr; }
  .seo-list a { font-size: 13.5px; padding: 11px 14px; }
}

/* ===== 修复：攻略导航被星辰背景遮挡 =====
   .sky 是 position:fixed; z-index:0，其它板块都是 relative/z-index:1，
   唯独 .seo-links 是 static，结果被绘制在固定背景层下面整块不可见；
   :hover 的 transform 会临时提升图层，才出现"鼠标放上去才显示"的现象。 */
.seo-links { position: relative; z-index: 1; }

/* ===== 倒计时：后台未填「开服时间」时显示实时北京时间时钟 =====
   时钟只有 时:分:秒，所以隐藏第一格「天」以及它后面的分隔符 */
.zf-cdbar.cd-clock .zf-cdbar-clock > .zf-cdu:first-child,
.zf-cdbar.cd-clock .zf-cdbar-clock > .zf-cdu:first-child + .zf-cd-sep { display: none; }
/* 时钟模式下标题稍微提亮，和「北京时间」的语义匹配 */
.zf-cdbar.cd-clock .zf-cdbar-label { color: var(--gold-lt); }

/* ===== 倒计时：自动模式（每日循环，≤24 小时）也隐藏第一格「天」 ===== */
.zf-cdbar.cd-daily .zf-cdbar-clock > .zf-cdu:first-child,
.zf-cdbar.cd-daily .zf-cdbar-clock > .zf-cdu:first-child + .zf-cd-sep { display: none; }

/* ===== 侧边客服：收起时彻底隐藏面板（原来会残留半块面板在右边缘） =====
   旧实现是整体 translateX(calc(100% - 56px))：bar 宽 348 + right:20px，
   位移后残留的其实是「面板最左边 76px」，真正的标签被推出屏幕 → 观感是半块卡片卡在边上。
   改为：面板绝对定位到标签左侧，收起只让面板淡出/右移消失，标签按钮位置完全不动。 */
.side-bar { transition: none; }
.side-bar.collapsed { transform: translateY(-50%); }
.side-panel {
  position: absolute;
  right: calc(100% + 14px);
  top: 50%;
  transform: translateY(-50%);
  transition: opacity .26s ease, transform .32s cubic-bezier(.2, .8, .2, 1), visibility .32s;
}
.side-bar.collapsed .side-panel {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-50%) translateX(28px) scale(.96);
}

/* ===== 底部「在线客服」按钮：呼出态反馈（图标变 ✕、文案变「收起客服」） ===== */
.chat-fab-icon .fab-i-close { display: none; }
.chat-widget.is-open .chat-fab-icon .fab-i-chat { display: none; }
.chat-widget.is-open .chat-fab-icon .fab-i-close { display: block; }
.chat-widget.is-open .chat-fab-dot { opacity: 0; }
.chat-widget.is-open .chat-fab-bubble { opacity: 0; visibility: hidden; }
.chat-widget.is-open .chat-fab {
  background: linear-gradient(135deg, #5b34d8, #1794bd);
  box-shadow: 0 6px 18px -10px rgba(0, 0, 0, .9);
}
.chat-widget.is-open .chat-fab:hover { transform: translateY(-3px) scale(1.04); }

/* ===== 手机端客服面板：改成底部卡片，底部按钮也能呼出/收起 =====
   原来 @media (max-width:640px) 里 .side-bar{display:none}，导致手机上点按钮毫无反应。
   这里放到文件最后，确保覆盖上面以及更早媒体查询里的规则。 */
@media (max-width: 640px) {
  .side-bar {
    display: block;
    left: 12px;
    right: 12px;
    top: auto;
    bottom: 86px;
    transform: none;
    pointer-events: none;
  }
  .side-bar.collapsed { transform: none; }
  .side-bar .side-tab,
  .side-bar .side-top { display: none; }
  .side-panel {
    position: static;
    width: 100%;
    max-height: 58vh;
    overflow-y: auto;
    transform: none;
    pointer-events: auto;
  }
  .side-bar.collapsed .side-panel {
    transform: translateY(18px) scale(.97);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }
}
