/* ============================================================
   千秋谷 官网样式 v5
   淡白玻璃 · 灰黑字 · 石青绿（#95c194）· 宋体标题
   深色页面基底（MC 背景图模糊），导航与卡片为淡白玻璃对比层
   动效红线：纯色快过渡，无膨胀 / 无雾光 / 无弹性回弹
   ============================================================ */

/* ---------- 主题变量 ---------- */
:root {
  /* 石青绿 #95c194  ×  芡食白 #E2E1E4 高级感配色 */
  --paper: #101812;
  --paper-2: #16201a;
  --ink: #E2E1E4;                              /* 芡食白：标题/主文字 */
  --ink-soft: rgba(149, 193, 148, 0.88);        /* 石青绿：模块正文 */
  --ink-faint: rgba(149, 193, 148, 0.55);       /* 石青绿：次级/标签 */
  --brand: #95c194;                             /* 石青绿：主色 */
  --brand-deep: #6f9a6e;                        /* 深石青绿 */
  --blue-light: #b9d4b7;
  --cyan: #cddccc;
  --amber: #d9c39a;                             /* 柔和米金（点缀） */
  --moss: #a8cba6;
  --tint: rgba(149, 193, 148, 0.12);
  --tint-strong: rgba(149, 193, 148, 0.22);
  --gold-tint: rgba(217, 195, 154, 0.14);
  --hot-border: rgba(217, 195, 154, 0.32);
  --glass: rgba(28, 44, 34, 0.5);
  --glass-strong: rgba(32, 52, 40, 0.68);
  --glass-border: rgba(149, 193, 148, 0.18);
  --glass-border-strong: rgba(149, 193, 148, 0.34);
  --edge: rgba(149, 193, 148, 0.16);
  --brand-shadow: rgba(111, 154, 110, 0.3);
  --sec-stroke: rgba(149, 193, 148, 0.5);
  --spot-color: rgba(149, 193, 148, 0.2);
  --bar-grad: linear-gradient(90deg, rgba(149, 193, 148, 0.2), rgba(205, 220, 204, 0.28));
  --row-hover: rgba(149, 193, 148, 0.08);
  --sel: rgba(149, 193, 148, 0.3);
  --aurora1: radial-gradient(circle, rgba(149, 193, 148, 0.4), transparent 65%);
  --aurora2: radial-gradient(circle, rgba(185, 212, 183, 0.3), transparent 65%);
  --aurora3: radial-gradient(circle, rgba(205, 220, 204, 0.18), transparent 65%);
  --footer-bg: linear-gradient(180deg, rgba(16, 24, 18, 0.97), #0b100c);
  --footer-border: rgba(149, 193, 148, 0.1);
  --footer-ink: #E2E1E4;
  --footer-soft: #a9c4a7;
  --footer-faint: #6f8f79;
  --footer-hover: #b9d4b7;
  --shadow-sm: 0 2px 10px -4px rgba(0, 0, 0, 0.4), 0 10px 28px -12px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 14px 40px -16px rgba(0, 0, 0, 0.5), 0 6px 16px -8px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 36px 80px -28px rgba(0, 0, 0, 0.62), 0 12px 30px -14px rgba(0, 0, 0, 0.42);
  --radius-lg: 16px;
  --radius-xl: 20px;
  --font-head: "Songti SC", "Noto Serif CJK SC", "Source Han Serif SC", "STZhongsong", "SimSun", serif;
  --font-body: -apple-system, "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --spring: cubic-bezier(0.22, 1, 0.36, 1);  /* 与 --ease 同曲线：全站禁弹性回弹，保留变量名兼容 */
  --grain: 0.03;
  --btn-hover-ink: #E2E1E4;
  /* 浅色底按钮的悬停雾光：变灰变暗 */
  --mist-dark: rgba(22, 34, 26, 0.28);
  --ghost-hover-ink: #E2E1E4;
}

/* ---------- 基础 ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background-color: var(--paper);
  color: var(--ink);
  line-height: 1.75;
  min-height: 100vh;
  overflow-x: hidden;
  transition: background-color 0.6s var(--ease), color 0.6s var(--ease);
  -webkit-font-smoothing: antialiased;
}
/* 石青绿调模糊背景：MC 背景图 + 模糊 + 暗角聚焦（无绿白遮罩） */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image: url("/image/backgroud.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: blur(4px) saturate(105%);
  transform: scale(1.1);   /* 模糊边缘溢出补全 */
}
/* 摄影级暗角：边缘轻微压暗，首屏文字更聚焦 */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(120% 90% at 50% 30%, transparent 42%, rgba(8, 12, 9, 0.4) 100%);
}

/* 环境光斑（品牌蓝辉光） */
.aurora {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.aurora i {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.38;
  will-change: transform;
}
.aurora i:nth-child(1) {
  width: 700px; height: 700px;
  left: -180px; top: -220px;
  background: var(--aurora1);
  animation: drift1 30s ease-in-out infinite alternate;
}
.aurora i:nth-child(2) {
  width: 620px; height: 620px;
  right: -160px; top: 8%;
  background: var(--aurora2);
  animation: drift2 36s ease-in-out infinite alternate;
}
.aurora i:nth-child(3) {
  width: 760px; height: 760px;
  left: 14%; bottom: -300px;
  background: var(--aurora3);
  animation: drift3 42s ease-in-out infinite alternate;
}
@keyframes drift1 { to { transform: translate(80px, 60px) scale(1.1); } }
@keyframes drift2 { to { transform: translate(-60px, 90px) scale(0.94); } }
@keyframes drift3 { to { transform: translate(70px, -70px) scale(1.06); } }

/* 颗粒质感 */
.grain {
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: var(--grain);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.6'/%3E%3C/svg%3E");
  background-size: 140px 140px;
  mix-blend-mode: overlay;
}


::selection { background: var(--sel); }

/* 键盘焦点可见性（无障碍） */
:focus-visible {
  outline: 2px solid var(--brand-deep);
  outline-offset: 2px;
  border-radius: 4px;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
h1, h2, h3, .serif { font-family: var(--font-head); font-weight: 700; }

.shell {
  position: relative;
  z-index: 3;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

main { padding-top: 118px; }

/* ---------- 导航 ---------- */
.navbar {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  width: min(1120px, calc(100% - 32px));
  background: linear-gradient(180deg, rgba(248, 250, 248, 0.92), rgba(238, 243, 238, 0.86));
  -webkit-backdrop-filter: blur(24px) saturate(170%);
  backdrop-filter: blur(24px) saturate(170%);
  border: 1px solid rgba(90, 100, 92, 0.12);
  border-radius: 999px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.85),
    0 1px 2px rgba(22, 34, 26, 0.08),
    0 14px 36px -14px rgba(22, 34, 26, 0.3);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), background 0.6s var(--ease);
}
.navbar.hide { transform: translateX(-50%) translateY(-140%); }

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 58px;
  padding: 0 14px 0 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-family: var(--font-head);
  font-size: 1.22rem;
  font-weight: 700;
  letter-spacing: 3px;
  color: #2a302b;
}
.brand-mark {
  width: 32px; height: 32px;
  border-radius: 10px;
  display: grid; place-items: center;
  background: linear-gradient(140deg, var(--brand-deep), var(--brand));
  color: #fff;
  font-family: var(--font-head);
  font-size: 1rem;
  box-shadow: 0 6px 16px var(--brand-shadow), inset 0 1px 0 rgba(255,255,255,.28);
  letter-spacing: 0;
}

.nav-links { position: relative; z-index: 0; display: flex; align-items: stretch; gap: 2px; }

/* 滑动活动指示器（蓝色胶囊，随点击滑动到目标按钮） */
.nav-indicator {
  position: absolute;
  top: 4px; bottom: 4px; left: 0;
  width: 0;
  border-radius: 999px;
  background: linear-gradient(140deg, var(--brand-deep), var(--brand));
  box-shadow: 0 6px 18px var(--brand-shadow);
  z-index: 0;
  transition: left 0.5s var(--spring), width 0.5s var(--spring);
  pointer-events: none;
}

.nav-links a {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  padding: 8px 15px;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 500;
  color: #3a403b;
  transition: color 0.3s var(--ease);
}
/* 悬停淡底：与选中气泡完全同尺寸（同一基准行内同缩 4px） */
.nav-links a::before {
  content: "";
  position: absolute;
  top: 4px; bottom: 4px; left: 0; right: 0;
  border-radius: 999px;
  background: var(--tint);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}
.nav-links a:hover { color: #1c211d; }
.nav-links a:hover::before { opacity: 1; }
.nav-links a.active {
  color: #1c211d;
  font-weight: 600;   /* 桌面端活动态由底部指示器呈现 */
}

.nav-actions { display: flex; align-items: center; gap: 8px; }

.icon-btn {
  position: relative;
  width: 34px; height: 34px;
  border-radius: 9px;
  border: none;             /* 去掉圆形灰圈 */
  background: transparent;
  color: #3a403b;
  display: grid; place-items: center;
  cursor: pointer;
  overflow: hidden;
  transition: color 0.3s var(--ease), background 0.3s var(--ease);
}
.icon-btn:hover { color: #1c211d; background: var(--tint); }
.icon-btn svg { width: 18px; height: 18px; position: relative; }

.menu-toggle { display: none; }

/* ---------- 按钮（干净快速纯色过渡，无雾光展开、无弹性） ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 30px;
  border: none;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.96rem;
  font-weight: 600;
  letter-spacing: 1px;
  color: #14211a;
  background: #95c194;                          /* 石青绿主色 */
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.42),
    0 1px 2px rgba(22, 34, 26, 0.12),
    0 14px 30px -12px rgba(111, 154, 110, 0.55);
  cursor: pointer;
  transition: background 0.14s var(--ease), color 0.14s var(--ease), box-shadow 0.2s var(--ease);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}
/* 悬停：背景平滑过渡到亮石青绿，无膨胀 */
.btn:hover {
  background: #b3d4b2;
  color: #14211a;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.48),
    0 1px 2px rgba(22, 34, 26, 0.12),
    0 18px 38px -14px rgba(111, 154, 110, 0.62);
}
.btn:active { transition-duration: 0.06s; background: #7fa87e; }
.btn svg { width: 17px; height: 17px; }

/* 幽灵按钮：石青描边半透明底 */
.btn.ghost {
  background: rgba(149, 193, 148, 0.08);
  color: #2a302b;
  border: 1px solid var(--glass-border-strong);
  box-shadow: var(--shadow-sm);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
.btn.ghost:hover {
  background: rgba(149, 193, 148, 0.18);
  border-color: var(--brand);
  color: #1c211d;
  box-shadow: var(--shadow-md);
}

.btn.small { padding: 9px 20px; border-radius: 999px; font-size: 0.86rem; }

/* ---------- 通用玻璃卡片（双层玻璃：渐变白底 + 内亮线 + 品牌色柔影） ---------- */
.card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.6), rgba(240, 244, 240, 0.2)),
    rgba(240, 244, 240, 0.86);
  -webkit-backdrop-filter: blur(28px) saturate(175%);
  backdrop-filter: blur(28px) saturate(175%);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: var(--radius-lg);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.85),
    inset 0 -1px 0 rgba(90, 100, 92, 0.05),
    0 1px 2px rgba(22, 34, 26, 0.1),
    0 24px 48px -24px rgba(22, 34, 26, 0.3);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.5s var(--ease);
}
.card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.72);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    inset 0 -1px 0 rgba(90, 100, 92, 0.05),
    0 2px 4px rgba(22, 34, 26, 0.1),
    0 32px 64px -28px rgba(22, 34, 26, 0.36);
}

/* ---------- 分区标题（编辑式） ---------- */
.section { padding: 116px 0 8px; }

.section-head { display: flex; align-items: flex-end; gap: 22px; margin-bottom: 46px; }
.section-head.left { justify-content: flex-start; }
.section-head.center { justify-content: center; text-align: center; flex-direction: column; align-items: center; gap: 8px; }

.sec-index {
  font-family: var(--font-head);
  font-size: 4.2rem;
  line-height: 1;
  font-weight: 700;
  color: #ffffff;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.5);
  user-select: none;
  transform: translateY(-6px);
}
.section-head h2 { font-size: clamp(1.65rem, 3vw, 2.2rem); letter-spacing: 3px; color: #E2E1E4; }
.section-head .sub { margin-top: 6px; color: #ffffff; font-size: 0.95rem; }
/* 模块一：连接服务器 —— 标题与副标题颜色互换 */
#module-connect .section-head h2 { color: #ffffff; }
#module-connect .section-head .sub { color: #E2E1E4; }
/* 模块二/三：标题与副标题颜色互换 */
#module-feature .section-head h2 { color: #ffffff; }
#module-feature .section-head .sub { color: #E2E1E4; }
#module-data .section-head h2 { color: #ffffff; }
#module-data .section-head .sub { color: #E2E1E4; }
/* 02/03 序号再上移 */
#module-feature .sec-index,
#module-data .sec-index { transform: translateY(-14px); }

.section-head::after {
  content: "";
  flex: 1;
  height: 1px;
  margin-bottom: 10px;
  background: linear-gradient(90deg, var(--glass-border-strong), transparent);
}

/* 滚动入场：跳跃式浮现（弹簧回弹） */
.reveal {
  opacity: 0;
  transform: scale(0.8) translateY(48px);
  transition: opacity 0.75s var(--spring), transform 0.75s var(--spring);
}
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }
.reveal.d4 { transition-delay: 0.32s; }
.reveal.d5 { transition-delay: 0.40s; }

/* 分块模块：整体跳跃浮现 */
.module-jump {
  opacity: 0;
  transform: scale(0.9) translateY(60px);
  transition: opacity 0.9s var(--spring), transform 0.9s var(--spring);
}
.module-jump.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .module-jump { opacity: 1; transform: none; transition: none; }
  * { animation-duration: 0.01ms !important; }
}

/* ---------- 主页 Hero（极简首屏：只呈现千秋谷） ---------- */
/* 首页 main 去掉顶部留白，hero 占满视口实现真正居中 */
main.home { padding-top: 0; }
.hero {
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 0 0 8vh;   /* 底部留白，内容重心上移 */
  position: relative;
}

/* 子页面紧凑版首屏 */
.hero.compact {
  min-height: auto;
  display: block;
  padding: 44px 0 16px;
}

.hero-title {
  font-size: clamp(4.5rem, 14vw, 9.5rem);
  line-height: 1.05;
  color: #E2E1E4;
  text-shadow: 0 3px 20px rgba(10, 13, 20, 0.55);
  display: flex;
  justify-content: center;
  gap: 0.16em;
}
/* 主页大标题：不再用"父级渐变抠字"（background-clip:text + 逐字 span + 透明淡入
   在部分内核下会整行渲染失效→大字消失），直接高亮纯色 + 柔和投影，稳定可见 */
/* 开场序列：字符模糊聚焦分段滑入 + 光扫 + 分割线 + 文案时序浮现 */
.hero-inner { position: relative; }

.hero .char {
  display: inline-block;
  opacity: 0;
  will-change: transform, opacity, filter;
  transition: opacity 0.7s var(--spring), transform 0.7s var(--spring), filter 0.7s var(--spring);
}
.hero .char:nth-child(odd) { transform: translateY(-110px); filter: blur(10px); }
.hero .char:nth-child(even) { transform: translateY(110px); filter: blur(10px); }
.hero.in .char { opacity: 1; transform: translateY(0); filter: blur(0); }
.hero.in .char:nth-child(1) { transition-delay: 0.08s; }
.hero.in .char:nth-child(2) { transition-delay: 0.24s; }
.hero.in .char:nth-child(3) { transition-delay: 0.40s; }
/* 入场完成后交给滚动视差（禁用 transition 避免逐帧动画） */
.hero.parallax .char { transition: none; }

/* 分割线：字符落定后从中心展开 */
.title-rule {
  width: 0;
  height: 1px;
  margin: 36px auto 0;
  background: linear-gradient(90deg, transparent, var(--brand), transparent);
  transition: width 0.7s var(--spring);
}
.hero.in .title-rule { width: 132px; transition-delay: 0.6s; }

/* 光扫：一道青光掠过标题 */
.title-sweep {
  position: absolute;
  top: 4%; bottom: 4%; left: 0;
  width: 55%;
  pointer-events: none;
  opacity: 0;
  background: linear-gradient(100deg, transparent, rgba(156, 229, 237, 0.3), rgba(255, 255, 255, 0.42), rgba(156, 229, 237, 0.3), transparent);
  mix-blend-mode: screen;
  transform: translateX(-130%) skewX(-16deg);
}
.hero.in .title-sweep { animation: titleSweep 1.05s var(--ease) 0.66s forwards; }
@keyframes titleSweep {
  0% { opacity: 0; transform: translateX(-130%) skewX(-16deg); }
  12% { opacity: 1; }
  100% { opacity: 0; transform: translateX(360%) skewX(-16deg); }
}

/* 文案与提示：时序淡入 */
.hero .hero-slogan {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.hero.in .hero-slogan { opacity: 1; transform: none; transition-delay: 0.9s; }
.hero .scroll-hint { opacity: 0; transition: opacity 1s var(--ease); }
.hero.in .scroll-hint { opacity: 1; transition-delay: 1.2s; }

.hero.compact .hero-title {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  gap: 0;
  margin-right: 0;
}
/* 子页面标题：左右文字各占一半，"·"固定在正中心 */
.hero.compact .hero-title {
  display: flex;
  align-items: baseline;
  justify-content: center;
  width: 100%;
}
.hero.compact .hero-title .t-l,
.hero.compact .hero-title .t-r {
  flex: 1;
  letter-spacing: 8px;
  white-space: nowrap;
}
.hero.compact .hero-title .t-l { text-align: right; margin-right: 18px; }
.hero.compact .hero-title .t-r { text-align: left; margin-left: 18px; }
.hero.compact .hero-title .t-dot {
  flex-shrink: 0;
  color: var(--brand);
  font-size: 0.7em;
  transform: translateY(-0.08em);
}

.hero-slogan {
  margin-top: 26px;
  margin-right: -10px;   /* 抵消 letter-spacing 末字空隙，保证视觉居中 */
  display: inline-flex;
  align-items: center;
  gap: 20px;
  font-size: clamp(1rem, 2.2vw, 1.3rem);
  color: #E2E1E4;
  letter-spacing: 10px;
  text-shadow: 0 2px 12px rgba(10, 13, 20, 0.5);
}
/* 副标语两侧细线装饰 */
.hero-slogan::before,
.hero-slogan::after {
  content: "";
  width: 46px;
  height: 1px;
  flex-shrink: 0;
  background: linear-gradient(90deg, transparent, rgba(226, 225, 228, 0.5));
}
.hero-slogan::after { background: linear-gradient(270deg, transparent, rgba(226, 225, 228, 0.5)); }
.hero.compact .hero-slogan {
  margin-top: 14px;
  margin-right: -5px;
  letter-spacing: 5px;
}
.hero.compact .hero-slogan::before,
.hero.compact .hero-slogan::after { width: 30px; }

/* 下滑提示 */
.scroll-hint {
  position: absolute;
  left: 50%;
  bottom: 34px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: #E2E1E4;
  font-size: 0.78rem;
  letter-spacing: 4px;
  animation: hintFloat 2.4s ease-in-out infinite;
  cursor: pointer;
  user-select: none;
}
.scroll-hint:hover { color: #ffffff; }
.scroll-hint .mouse {
  width: 26px; height: 42px;
  border: 1.5px solid currentColor;
  border-radius: 14px;
  position: relative;
}
.scroll-hint .mouse::after {
  content: "";
  position: absolute;
  left: 50%; top: 8px;
  width: 4px; height: 8px;
  margin-left: -2px;
  border-radius: 2px;
  background: var(--brand);
  animation: wheel 1.8s ease-in-out infinite;
}
@keyframes wheel {
  0% { opacity: 1; transform: translateY(0); }
  70% { opacity: 0; transform: translateY(13px); }
  100% { opacity: 0; transform: translateY(13px); }
}
@keyframes hintFloat { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 6px); } }

.hero-actions { margin-top: 34px; display: flex; gap: 14px; flex-wrap: wrap; }

/* 连接模块（首屏之下的第一块） */
.conn-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 20px;
  align-items: stretch;
}
.conn-grid .status-strip {
  margin-top: 0;
  grid-template-columns: 1fr 1fr;
  align-content: stretch;
}
.conn-grid .status-item { flex-direction: column; align-items: flex-start; justify-content: center; }
.conn-cta { display: flex; gap: 12px; margin-top: 18px; flex-wrap: wrap; }

/* 连接面板 */
.conn-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.62), rgba(240, 244, 240, 0.22)),
    rgba(240, 244, 240, 0.88);
  -webkit-backdrop-filter: blur(30px) saturate(180%);
  backdrop-filter: blur(30px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.52);
  border-radius: var(--radius-xl);
  padding: 30px 30px 24px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.85),
    inset 0 -1px 0 rgba(90, 100, 92, 0.05),
    0 1px 2px rgba(22, 34, 26, 0.1),
    0 28px 56px -26px rgba(22, 34, 26, 0.32);
  position: relative;
  overflow: hidden;
}
.conn-card::before {
  content: "";
  position: absolute;
  top: 0; left: 10%; right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--edge), transparent);
}
.conn-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.88rem;
  color: #2a302b;
  font-weight: 600;
  letter-spacing: 2px;
  margin-bottom: 16px;
}
.conn-status { font-size: 0.8rem; color: #2f7a4f; display: inline-flex; align-items: center; gap: 6px; }
.conn-status::before {
  content: "";
  width: 6px; height: 6px; border-radius: 50%;
  background: currentColor;
}
.conn-status.off { color: var(--amber); }

.conn-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 14px;
  margin-bottom: 10px;
  border-radius: 14px;
  background: rgba(250, 252, 250, 0.7);
  border: 1px solid rgba(90, 100, 92, 0.12);
}
.conn-row .tag {
  flex-shrink: 0;
  font-size: 0.72rem;
  padding: 3px 10px;
  border-radius: 999px;
  letter-spacing: 1px;
  color: #2f6b46;
  background: var(--tint);
  border: 1px solid var(--tint-strong);
}
.conn-row .mono {
  font-family: "SF Mono", Consolas, "Courier New", monospace;
  font-size: 0.98rem;
  font-weight: 600;
  flex: 1;
  word-break: break-all;
  color: #2a302b;
}
.conn-row .lbl { flex: 1; font-size: 0.9rem; color: #4a514c; }
.conn-row.hot .tag { color: var(--amber); background: var(--gold-tint); border-color: var(--hot-border); }

.copy-btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 15px;
  border-radius: 999px;
  border: 1px solid var(--glass-border-strong);
  color: #3a403b;
  font-size: .82rem;
  cursor: pointer;
  background: transparent;
  transition: background .14s var(--ease), color .14s var(--ease), border-color .2s var(--ease);
}
.copy-btn:hover {
  background: rgba(149, 193, 148, 0.18);
  color: #1c211d;
  border-color: var(--brand);
}
.copy-btn.ok { color: #14211a; background: var(--moss); border-color: var(--moss); }
.copy-btn svg { width: 14px; height: 14px; }

.conn-meta {
  margin-top: 8px;
  padding: 0 6px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 0.8rem;
  color: #4a514c;
}
.conn-meta b { color: #2a302b; font-weight: 600; }

/* 状态条 */
.status-strip {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 14px;
}
.status-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
}
.status-item .ico {
  width: 40px; height: 40px;
  border-radius: 12px;
  display: grid; place-items: center;
  background: rgba(149, 193, 148, 0.18);
  color: #2a302b;
  flex-shrink: 0;
  border: 1px solid rgba(111, 154, 110, 0.28);
}
.status-item .ico svg { width: 19px; height: 19px; }
.status-item .label { font-size: 0.78rem; color: #4a514c; letter-spacing: 1px; }
.status-item .value { font-size: 1.06rem; font-weight: 700; font-family: var(--font-head); margin-top: 1px; color: #1c211d; }
.status-item .value .on { color: #2f7a4f; }
.status-item .value .off { color: #b07c34; }

/* ---------- 特色（编辑式列表） ---------- */
.feature-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }

/* 特色卡片：图片背景 + 文字（无灰色遮罩层） */
.feature-card {
  position: relative;
  min-height: 240px;
  border-radius: var(--radius-lg);
  background-size: cover;
  background-position: center;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  border: none;   /* 去掉 .card 基类的浅色边框，避免白条 */
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
/* 图片放大并下移，盖住底部可能露出的白边 */
.feature-card::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0; bottom: -6px;
  background-image: inherit;
  background-size: cover;
  background-position: center;
  z-index: 0;
  transition: transform 0.5s var(--ease);
}
.feature-card:hover::before { transform: scale(1.04); }
.feature-card-body {
  position: relative;
  z-index: 1;
  padding: 20px 22px;
  width: 100%;
  pointer-events: none;   /* 让鼠标事件始终落在卡片本身，offsetX/offsetY 相对卡片 */
}
.feature-card h3 {
  font-size: 1.15rem;
  letter-spacing: 2px;
  color: #E2E1E4;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}
.feature-card p {
  margin-top: 6px;
  font-size: 0.86rem;
  color: rgba(185, 212, 183, 0.95);
  line-height: 1.6;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.6);
}
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--glass-border-strong);
}

/* 特色板块底部说明小字 */
.feature-note {
  margin-top: 18px;
  text-align: center;
  font-size: 0.8rem;
  color: var(--ink-faint);
  letter-spacing: 1px;
}

/* ---------- 数据一览 ---------- */
.data-section { padding-top: 122px; }

.data-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
@media (max-width: 960px) {
  .data-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .data-grid { grid-template-columns: 1fr; }
}
.data-card { padding: 28px 30px; position: relative; overflow: hidden; }
.data-card .d-title {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #2a302b;
  letter-spacing: 1px;
}
.data-card .d-title svg { width: 17px; height: 17px; color: #2f7a4f; }
.data-card .d-value { margin-top: 12px; font-size: 2.5rem; font-weight: 700; font-family: var(--font-head); letter-spacing: 1px; font-variant-numeric: tabular-nums; color: #1c211d; }
.data-card .d-unit { font-size: 0.82rem; color: #4a514c; font-weight: 400; margin-left: 5px; }
.data-card .d-desc { margin-top: 4px; font-size: 0.82rem; color: #4a514c; }
.data-card .d-top { margin-top: 16px; padding-top: 12px; border-top: 1px dashed rgba(90, 100, 92, 0.3); }
.data-card .d-top .row {
  display: grid;
  grid-template-columns: 22px 1fr auto;
  align-items: center;
  gap: 8px;
  padding: 3px 0;
  font-size: 0.86rem;
  position: relative;
}
.data-card .d-top .row .n { color: #3a403b; position: relative; z-index: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.data-card .d-top .row > em { font-style: normal; color: #4a514c; font-weight: 700; font-size: 0.78rem; }
.data-card .d-top .row .v { font-weight: 600; font-family: var(--font-head); position: relative; z-index: 1; color: #1c211d; }
.data-card .d-top .row .bar {
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  height: 100%;
  width: var(--w, 0%);
  border-radius: 4px;
  background: var(--bar-grad);
  z-index: 0;
}

/* ---------- 排行榜页 ---------- */
.board-tabs {
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 36px;
}
.board-tab {
  padding: 9px 20px;
  border-radius: 999px;
  border: 1px solid rgba(90, 100, 92, 0.2);
  background: rgba(250, 252, 250, 0.7);
  color: #2a302b;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.35s var(--ease);
}
.board-tab:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); color: #1c211d; border-color: #2f7a4f; }
.board-tab.active {
  background: linear-gradient(135deg, #6f9a6e, #95c194);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 8px 22px var(--brand-shadow);
}

.board-panel { display: none; }
.board-panel.active { display: block; animation: fadeUp 0.5s var(--ease); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

.board-card { padding: 8px 28px; }
.board-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 4px 14px;
  border-bottom: 1px solid rgba(90, 100, 92, 0.12);
}
.board-head h3 { font-size: 1.15rem; letter-spacing: 2px; color: #1c211d; }
.board-head .meta { font-size: 0.8rem; color: #4a514c; }

.board-row {
  display: grid;
  grid-template-columns: 52px 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 12px 6px;
  border-bottom: 1px dashed rgba(90, 100, 92, 0.2);
  transition: background 0.3s var(--ease), transform 0.3s var(--ease);
}
.board-row:hover { background: rgba(149, 193, 148, 0.1); transform: translateX(5px); }
.board-row:last-child { border-bottom: none; }
.board-rank {
  position: relative;
  width: 40px; height: 40px;
  border-radius: 12px;
  display: grid; place-items: center;
  overflow: hidden;
  background: rgba(250, 252, 250, 0.7);
  border: 1px solid rgba(90, 100, 92, 0.14);
}
.board-rank img {
  position: relative;
  z-index: 2;
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
/* 前三名：彩色描边圈（替代数字徽章） */
.board-row.r1 .board-rank { border: 2px solid #f0b429; box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.25); }
.board-row.r2 .board-rank { border: 2px solid #c3c9d4; }
.board-row.r3 .board-rank { border: 2px solid #d69d6c; }
.board-name { font-weight: 600; font-size: 0.98rem; color: #1c211d; }
.board-score { font-family: var(--font-head); font-weight: 700; font-size: 1.02rem; color: #2f7a4f; font-variant-numeric: tabular-nums; }
.board-score small { font-size: 0.74rem; color: #6b726d; font-family: var(--font-body); font-weight: 400; margin-left: 5px; }

.board-empty { text-align: center; padding: 70px 20px; color: #4a514c; }
.board-empty svg { width: 42px; height: 42px; margin: 0 auto 14px; opacity: 0.45; }

/* ---------- 关于页 ---------- */
.info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.info-item {
  padding: 14px 18px;
  overflow-wrap: break-word;
  word-break: break-all;
}
.info-item .k { font-size: 0.74rem; color: #4a514c; letter-spacing: 1px; }
.info-item .v { margin-top: 5px; font-size: 0.98rem; font-weight: 700; font-family: var(--font-head); color: #1c211d; overflow-wrap: break-word; word-break: break-all; }
.info-item .v.pending { color: #6b726d; font-weight: 400; font-size: 0.9rem; }
/* 种子卡片：加宽 + 种子与按钮同行 */
.info-item.seed-card { grid-column: span 2; }
.seed-line {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 5px;
}
.info-item.seed-card .v {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 0.92rem;
  letter-spacing: 0.5px;
  flex: 1;
  min-width: 0;
}
.seed-copy {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border-radius: 999px;
  border: 1px solid rgba(111, 154, 110, 0.3);
  background: rgba(149, 193, 148, 0.14);
  color: #2f6b46;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s var(--ease);
  white-space: nowrap;
}
.seed-copy:hover { background: rgba(149, 193, 148, 0.24); border-color: #6f9a6e; }
/* 服务器硬件：合并大卡片，占满整行且与其他卡片等宽 */
.hw-card {
  grid-column: 1 / -1;
  max-width: none;
}
.hw-list { margin-top: 10px; display: flex; flex-direction: column; gap: 0; }
.hw-row {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 8px 0;
  border-bottom: 1px dashed rgba(90, 100, 92, 0.16);
}
.hw-row:last-child { border-bottom: none; }
.hw-k {
  flex-shrink: 0;
  min-width: 56px;
  font-size: 0.82rem;
  color: #4a514c;
  font-weight: 600;
  letter-spacing: 1px;
}
.hw-v {
  font-size: 0.96rem;
  color: #1c211d;
  font-weight: 600;
  font-family: var(--font-head);
  word-break: break-word;
}

.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.team-card { padding: 28px; text-align: center; }
.team-avatar {
  position: relative;
  width: 72px; height: 72px;
  margin: 0 auto;
  border-radius: 14px;
  overflow: hidden;
  display: grid; place-items: center;
  background: linear-gradient(140deg, var(--brand-deep), var(--brand));
  color: #fff;
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 700;
  box-shadow: 0 12px 28px var(--brand-shadow), inset 0 1px 0 rgba(255,255,255,.24);
}
.team-avatar img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 14px;
}
/* fallback: img 加载失败时显示首字母 */
.team-avatar.fallback::after {
  content: attr(data-init);
  position: absolute; inset: 0;
  display: grid; place-items: center;
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
}
.team-card h3 { margin-top: 16px; font-size: 1.1rem; letter-spacing: 1px; color: #1c211d; }
.team-card .role {
  display: inline-block;
  margin-top: 9px;
  padding: 4px 15px;
  border-radius: 999px;
  font-size: 0.8rem;
  background: rgba(149, 193, 148, 0.16);
  color: #2f6b46;
  font-weight: 600;
  letter-spacing: 1px;
  border: 1px solid rgba(111, 154, 110, 0.3);
}

.rules-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; }

/* ---------- 相册 ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.gallery-card {
  margin: 0;
  overflow: visible !important;
  position: relative;
  background: rgba(240, 244, 240, 0.9);
  border: 1px solid rgba(90, 100, 92, 0.12);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm), inset 0 1px 0 rgba(255,255,255,.6);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.5s var(--ease);
  cursor: zoom-in;
}
.gallery-card > img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
  border-radius: var(--radius-lg);
  transition: transform 0.5s var(--ease);
}
.gallery-card:hover img { transform: scale(1.05); }
.gallery-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(149, 193, 148, 0.4);
}
/* 左上角玩家头像角标（方形，无白边）；外层容器定位，支持多作者并排 */
.gal-ava {
  position: absolute;
  top: 10px; left: 10px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  z-index: 5;
}
.gal-badge {
  position: relative;
  width: 42px; height: 42px;
  border-radius: 8px;
  border: 2px solid rgba(20, 30, 24, 0.7);
  box-shadow: 0 2px 10px rgba(0,0,0,0.35);
  background: transparent;
  cursor: default;
  transition: transform 0.3s var(--ease);
}
.gal-ava.multi .gal-badge { width: 38px; height: 38px; }
.gal-badge img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
/* hover 显示玩家 id（白底黑字，显示在头像上方） */
.gal-badge::after {
  content: attr(data-player);
  position: absolute;
  left: 50%;
  top: -8px;
  transform: translate(-50%, -100%);
  background: #ffffff;
  color: #1c211d;
  padding: 4px 12px;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 6px 18px rgba(0,0,0,0.18), 0 0 0 1px rgba(90,100,92,0.12);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease);
}
.gal-badge:hover::after { opacity: 1; }
.gal-badge:hover { transform: scale(1.1); }

/* ---------- 相册 Lightbox（点击放大 + 缩放） ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(10, 14, 12, 0.92);
  backdrop-filter: blur(6px);
}
.lightbox.open { display: flex; }
.lb-stage {
  max-width: 92vw;
  max-height: 88vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lb-img {
  max-width: 92vw;
  max-height: 88vh;
  object-fit: contain;
  cursor: grab;
  user-select: none;
  transition: transform 0.05s linear;
  will-change: transform;
}
.lb-close {
  position: absolute;
  top: 18px; right: 22px;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.12);
  color: #fff;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  display: grid; place-items: center;
  transition: all 0.3s var(--ease);
}
.lb-close:hover { background: rgba(255,255,255,0.28); transform: scale(1.1); }
.lb-info {
  position: absolute;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: #fff;
  text-align: center;
}
.lb-player { font-size: 1.05rem; font-weight: 700; letter-spacing: 1px; }
.lb-hint { font-size: 0.78rem; color: rgba(255,255,255,0.6); }
.rule-card { padding: 24px; display: flex; gap: 16px; align-items: flex-start; }
.rule-num {
  flex-shrink: 0;
  width: 42px; height: 42px;
  border-radius: 13px;
  display: grid; place-items: center;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.05rem;
  color: #fff;
  background: linear-gradient(140deg, var(--brand-deep), var(--brand));
  box-shadow: 0 8px 18px var(--brand-shadow);
}
.rule-card h3 { font-size: 1rem; letter-spacing: 1px; color: #1c211d; }
.rule-card p { margin-top: 6px; font-size: 0.86rem; color: #4a514c; }

/* 赞助玩家：紧凑小方块 */
.supporter-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.supporter-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  row-gap: 12px;
  column-gap: 12px;
}
/* 最后一行不满员：左侧顺序排布，不用 space-between 甩到两端 */
.supporter-row.short { justify-content: flex-start; }
.supporter-card {
  flex: 0 0 auto;
  width: 120px;
  padding: 14px 10px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease);
}
.supporter-card.in {
  opacity: 1;
  transform: translateY(0);
}
.sup-avatar {
  width: 46px; height: 46px;
  border-radius: 12px;
  overflow: hidden;
  flex-shrink: 0;
  border: 1px solid rgba(90, 100, 92, 0.14);
}
.sup-avatar img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.sup-name {
  font-size: 0.8rem;
  color: #1c211d;
  font-weight: 600;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
/* 联系 */
.contact-card {
  padding: 46px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.contact-card::before {
  content: "";
  position: absolute;
  inset: -60% 10% auto 10%;
  height: 80%;
  background: radial-gradient(60% 100% at 50% 100%, var(--tint), transparent 70%);
}
.contact-card > * { position: relative; }
.contact-card h3 { font-size: 1.45rem; letter-spacing: 3px; color: #1c211d; }
.contact-card .sub { margin-top: 10px; color: #4a514c; font-size: 0.92rem; }
.qq-line {
  margin: 26px auto 0;
  max-width: 420px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-radius: 16px;
  background: rgba(250, 252, 250, 0.7);
  border: 1px dashed rgba(90, 100, 92, 0.22);
}
.qq-line .qq-num {
  flex: 1;
  font-family: var(--font-head);
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: 3px;
  color: #2f6b46;
}
.contact-card .btn { margin-top: 26px; }

/* ---------- 占位页（地图/相册/历程） ---------- */
.placeholder { text-align: center; padding: 66px 30px 76px; }
.placeholder-icon {
  width: 92px; height: 92px;
  margin: 0 auto;
  border-radius: 26px;
  display: grid; place-items: center;
  background: var(--tint);
  color: var(--brand);
  border: 1px solid var(--tint-strong);
}
.placeholder-icon svg { width: 42px; height: 42px; }
.placeholder h2 { margin-top: 28px; font-size: 1.6rem; letter-spacing: 4px; }
.placeholder .p-desc { margin-top: 14px; color: var(--ink-soft); max-width: 560px; margin-left: auto; margin-right: auto; font-size: 0.94rem; }
.placeholder .p-note {
  margin: 28px auto 0;
  max-width: 620px;
  padding: 16px 22px;
  border-radius: 14px;
  background: var(--glass);
  border: 1px dashed var(--glass-border-strong);
  font-size: 0.84rem;
  color: var(--ink-faint);
  text-align: left;
  line-height: 1.9;
}
.placeholder .p-note code { background: var(--tint); color: var(--brand); padding: 1px 7px; border-radius: 6px; font-size: 0.8rem; }

/* 地图 iframe */
.map-frame {
  width: 100%;
  height: min(76vh, 720px);
  border: 1px solid var(--glass-border-strong);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--glass);
}
.map-frame iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- 发展历程时间轴（横向自动播放） ---------- */
.tl-wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 10px 0 6px;
  position: relative;
}
/* 自动播放控制区 */
.tl-control {
  display: flex;
  justify-content: center;
  margin-bottom: 22px;
}
.tl-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 22px;
  border-radius: 999px;
  border: 1px solid rgba(90, 100, 92, 0.18);
  background: rgba(240, 244, 240, 0.92);
  color: #2a302b;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s var(--ease);
  box-shadow: var(--shadow-sm);
}
.tl-toggle:hover { border-color: var(--brand); color: #2f6b46; }
.tl-toggle svg { width: 16px; height: 16px; transition: transform 0.4s var(--ease); }
/* 图标切换：旋转动画 */
.tl-toggle .tl-pause-icon { display: flex; }
.tl-toggle .tl-play-icon { display: none; }
.tl-toggle .tl-pause-icon,
.tl-toggle .tl-play-icon { align-items: center; justify-content: center; }
.tl-toggle.paused .tl-pause-icon { display: none; }
.tl-toggle.paused .tl-play-icon { display: flex; animation: tlSpin 0.4s var(--ease); }
.tl-toggle:not(.paused) .tl-pause-icon { animation: tlSpin 0.4s var(--ease); }
@keyframes tlSpin {
  from { transform: rotate(0deg) scale(0.6); opacity: 0.4; }
  to { transform: rotate(360deg) scale(1); opacity: 1; }
}
/* 自动播放按钮文字：随内容自适应宽度，播放态时按钮紧凑不显得空 */
.tl-toggle-label { display: inline-block; overflow: hidden; white-space: nowrap; vertical-align: bottom; }

/* 滚动容器：隐藏滚动条 */
.tl-track {
  position: relative;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(270px, 1fr);
  gap: 0;
  padding: 44px 10px 30px;
  overflow-x: auto;
  scroll-snap-type: none;
  scrollbar-width: none;
  scroll-behavior: auto;
}
.tl-track::-webkit-scrollbar { display: none; }
/* 横向主轴线已移除（保留各节点圆点） */
.tl-node {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 12px;

}
/* 节点锚点圆点 */
.tl-dot {
  width: 16px; height: 16px;
  border-radius: 50%;
  background: linear-gradient(140deg, var(--brand-deep), var(--brand));
  border: 3px solid #eef4ee;
  box-shadow: 0 0 0 2px rgba(149,193,148,.4);
  margin-bottom: 18px;
  z-index: 1;
  flex-shrink: 0;
}
.tl-node.major .tl-dot {
  width: 20px; height: 20px;
  background: linear-gradient(140deg, #6f9a6e, #95c194);
  box-shadow: 0 0 0 4px rgba(149,193,148,.22);
}
/* 节点卡片 */
.tl-card {
  width: 100%;
  background: rgba(240, 244, 240, 0.92);
  border: 1px solid rgba(90, 100, 92, 0.12);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm), inset 0 1px 0 rgba(255,255,255,.6);
  padding: 18px 20px 20px;
  text-align: left;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.5s var(--ease);
}
.tl-node:hover .tl-card {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(149, 193, 148, 0.4);
}
.tl-date {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 700;
  color: #2f6b46;
  letter-spacing: 0.5px;
}
.tl-range { font-size: 0.82rem; color: #6b726d; font-weight: 600; }
.tl-title {
  margin-top: 6px;
  font-size: 1.02rem;
  color: #1c211d;
  letter-spacing: 1px;
  font-family: var(--font-head);
}
.tl-desc {
  margin-top: 8px;
  font-size: 0.85rem;
  line-height: 1.7;
  color: #4a514c;
}
.tl-hl {
  color: #2f6b46;
  font-style: normal;
  font-weight: 700;
}
/* 底部圆球进度条（替代滚动条） */
/* 拖拽平移 */
.tl-track { cursor: grab; user-select: none; }
.tl-track.dragging { cursor: grabbing; }
.tl-track.dragging * { pointer-events: none; }
@media (max-width: 720px) {
  .tl-track { grid-auto-columns: minmax(250px, 86vw); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
}

/* ---------- 页脚 ---------- */
.footer {
  margin-top: 148px;
  padding: 64px 0 54px;
  background: rgba(240, 244, 240, 0.92);
  border-top: 1px solid rgba(90, 100, 92, 0.12);
  color: #4a514c;
}
.footer-inner { text-align: center; }
.footer-brand { font-family: var(--font-head); font-size: 1.18rem; letter-spacing: 5px; color: #2a302b; }
.footer-links { margin-top: 18px; display: flex; justify-content: center; flex-wrap: wrap; gap: 24px; }
.footer-links a { font-size: 0.86rem; color: #4a514c; transition: color 0.3s var(--ease); }
.footer-links a:hover { color: #2f7a4f; }
.footer-copy { margin-top: 20px; font-size: 0.8rem; color: #6b726d; }
.footer-copy .sep { margin: 0 8px; opacity: 0.5; }
.footer-copy a { color: #4a514c; transition: color 0.3s var(--ease); }
.footer-copy a:hover { color: #2f7a4f; }
.footer-copy .police-link { display: inline-flex; align-items: center; gap: 4px; vertical-align: middle; }
.footer-copy .police-link img { height: 15px; width: auto; display: block; }

/* 回到顶部 */
#to-top {
  position: fixed;
  right: 26px;
  bottom: 30px;
  z-index: 90;
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(90, 100, 92, 0.18);
  background: rgba(240, 244, 240, 0.92);
  color: #3a403b;
  display: grid; place-items: center;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(40, 60, 46, 0.16), inset 0 1px 0 rgba(255,255,255,0.6);
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: all 0.4s var(--ease);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}
#to-top.show { opacity: 1; transform: none; pointer-events: auto; }
#to-top:hover { color: #2f6b46; transform: translateY(-3px); border-color: #6f9a6e; }
#to-top svg { width: 19px; height: 19px; }

/* ---------- 移动端 ---------- */
@media (max-width: 900px) {
  main { padding-top: 96px; }
  .menu-toggle { display: grid; }

  .nav-links {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    left: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding: 14px;
    background: var(--glass-strong);
    -webkit-backdrop-filter: blur(24px) saturate(170%);
    backdrop-filter: blur(24px) saturate(170%);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    transform: translateY(-12px);
    pointer-events: none;
    transition: all 0.35s var(--ease);
  }
  .nav-links.open { opacity: 1; transform: none; pointer-events: auto; }
  .nav-links a { padding: 12px 16px; text-align: center; }
  /* 移动端：隐藏滑动指示器，活动项用自带蓝色胶囊 */
  .nav-indicator { display: none; }
  .nav-links a.active { background: linear-gradient(140deg, var(--brand-deep), var(--brand)); box-shadow: 0 6px 18px var(--brand-shadow); }

  .hero { padding: 44px 0 20px; }
  .hero-grid { grid-template-columns: 1fr; gap: 30px; }
  .hero-title { letter-spacing: 8px; }

  .section { padding: 64px 0 4px; }
  .data-section { padding-top: 70px; }

  .feature-list { grid-template-columns: 1fr; }
  .feature-card { min-height: 200px; }

  .board-card { padding: 4px 18px; }
  .board-row { grid-template-columns: 46px 1fr auto; gap: 10px; }
  .contact-card { padding: 34px 20px; }
  .footer { margin-top: 84px; }

  .section-head::after { display: none; }
}

/* ---------- 滚动进度条 ---------- */
#scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  z-index: 200;
  background: linear-gradient(90deg, var(--brand-deep), var(--brand), var(--cyan));
  box-shadow: 0 0 12px var(--brand-shadow);
  pointer-events: none;
}



/* ---------- 卡片聚光跟随（Linear/Stripe 式高级反馈） ---------- */
.card { position: relative; overflow: hidden; }
.card .spot {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  border-radius: inherit;
  opacity: 0;
  transition: opacity 0.45s var(--ease);
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), var(--spot-color), transparent 72%);
  mix-blend-mode: screen;
}
.card:hover .spot { opacity: 1; }

/* 页脚链接下划线动效（导航已用滑动指示器+白雾，不再用下划线） */
.footer-links a { position: relative; }
.footer-links a::after {
  content: "";
  position: absolute;
  left: 50%; bottom: -3px;
  width: 0; height: 1.5px;
  background: var(--brand);
  transform: translateX(-50%);
  transition: width 0.35s var(--ease);
}
.footer-links a:hover::after { width: 60%; }

/* 触屏设备不显示自定义指针 */
@media (pointer: coarse) {
  html.has-cursor, html.has-cursor * { cursor: auto !important; }
}

/* 自定义鼠标指针：image/zz.png（已镜像，热点为左上角） */
body, body * {
  cursor: url("/image/zz.png") 0 0, auto;
}
body a, body button, body [role="button"], body input[type="button"], body [onclick],
body a:hover, body button:hover, body .btn, body .copy-btn, body .board-tab {
  cursor: url("/image/zz.png") 0 0, pointer;
}

/* 连接模块移动端 */
@media (max-width: 900px) {
  .conn-grid { grid-template-columns: 1fr; }
  .conn-grid .status-strip { grid-template-columns: 1fr 1fr; }
  .hero { min-height: calc(100vh - 96px); }
  .hero-title { letter-spacing: 10px; margin-right: -10px; font-size: clamp(3.4rem, 16vw, 5.5rem); }
  .hero-slogan { letter-spacing: 5px; }
}

/* 头像：64×64 全身纹理（Mojang textures / littleskin / 任意来源）用 background 精确裁头部。
   头部在 64×64 图的 (8,8)-(16,16)，background-size:800% 把图铺成 8×8 网格（每格=容器），
   定位到左上第 1 格即头部；随容器尺寸自适应，无需 canvas/CORS。 */
.headskin {
  display: block;
  width: 100%;
  height: 100%;
  background-repeat: no-repeat;
  background-size: 800% 800%;
  background-position: 14.2857% 14.2857%;
  image-rendering: pixelated;
}



/* ---------- 玩法攻略外链卡（首页模块四） ---------- */
.guide-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px;
  margin-top: 34px;
}
.guide-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px 22px 20px;
  text-decoration: none;
  color: inherit;
}
.guide-ico {
  width: 46px; height: 46px;
  border-radius: 13px;
  display: grid; place-items: center;
  color: #fff;
  background: linear-gradient(140deg, var(--brand-deep), var(--brand));
  box-shadow: 0 8px 18px var(--brand-shadow), inset 0 1px 0 rgba(255,255,255,.24);
}
.guide-ico svg { width: 24px; height: 24px; }
.guide-card h3 { font-size: 1.04rem; letter-spacing: .5px; color: #1c211d; margin: 2px 0 0; }
.guide-card p { font-size: .88rem; color: #4a514c; line-height: 1.65; margin: 0; flex: 1; }
.guide-go {
  margin-top: auto;
  display: inline-flex; align-items: center; gap: 5px;
  font-size: .84rem; font-weight: 600; color: var(--brand-deep);
  transition: gap .25s var(--ease);
}
.guide-go em { font-style: normal; }
.guide-card:hover { border-color: rgba(149,193,148,.5); }
.guide-card:hover .guide-go { gap: 8px; }

/* 关于页 联系我们+意见箱 双卡 */
.contact-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 18px;
  max-width: 1040px;
  margin: 0 auto;
  align-items: stretch;
}
.contact-2 .contact-card { height: 100%; }

/* 首页入服手册横幅 */
.handbook {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px 18px;
  padding: 18px 26px;
  border-radius: var(--radius-lg);
  text-decoration: none;
  color: inherit;
  border: 1px solid rgba(149,193,148,.35);
  background:
    linear-gradient(100deg, rgba(255,255,255,.75), rgba(228,240,228,.35)),
    rgba(255,255,255,.55);
  box-shadow: 0 10px 26px rgba(10,20,14,.08);
}
.handbook:hover { border-color: var(--brand); transform: translateY(-2px); }
.hb-ico {
  width: 52px; height: 52px; flex-shrink: 0;
  display: grid; place-items: center;
  border-radius: 15px;
  color: #fff;
  background: linear-gradient(140deg, #d9a94e, #e8c877);
  box-shadow: 0 8px 18px rgba(217,169,78,.35), inset 0 1px 0 rgba(255,255,255,.3);
}
.hb-ico svg { width: 28px; height: 28px; }
.hb-txt { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.hb-txt strong { font-size: 1.12rem; letter-spacing: 1px; color: #1c211d; }
.hb-txt em { font-style: normal; font-size: .88rem; color: #6b726d; }
.hb-go {
  margin-left: auto;
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .92rem; font-weight: 600; color: #2f6b46;
  background: rgba(149,193,148,.16);
  border: 1px solid rgba(149,193,148,.4);
  padding: 9px 18px; border-radius: 999px;
  transition: gap .25s var(--ease), background .25s var(--ease);
}
.hb-go em { font-style: normal; }
.handbook:hover .hb-go { gap: 10px; background: rgba(149,193,148,.28); }

/* 相册投稿横幅（绿色相机版，复用 handbook 结构） */
.handbook.alt .hb-ico {
  background: linear-gradient(140deg, var(--brand-deep), var(--brand));
  box-shadow: 0 8px 18px var(--brand-shadow), inset 0 1px 0 rgba(255,255,255,.24);
}

/* ============================================================
   卡片留白压缩与 MC 贴图元素（v174）
   ============================================================ */

/* 关于页 游戏规则 = 在线文档入口（双栏：书本封面 + 说明与入口） */
.rules-doc {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 30px;
  align-items: center;
  padding: 24px 30px 24px 22px;
  text-align: left;
}
.rd-art {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 8px 4px 4px;
}
.rd-cover {
  width: 92px; height: 110px;
  border-radius: 10px;
  display: grid; place-items: center;
  background: linear-gradient(165deg, #f6f8f4, #dfe8db);
  border: 1px solid rgba(90, 100, 92, 0.16);
  box-shadow: var(--shadow-sm), inset 0 1px 0 rgba(255, 255, 255, 0.7);
}
.rd-cover img { width: 52px; height: 52px; }
.rd-art em {
  font-style: normal;
  font-size: 0.74rem;
  letter-spacing: 2px;
  color: #6b726d;
}
.rd-body h3 { font-size: 1.3rem; letter-spacing: 2px; color: #1c211d; margin: 0; }
.rd-upd {
  font-size: 0.76rem;
  color: #6b726d;
  letter-spacing: 1px;
  font-weight: 400;
  font-family: var(--font-body);
}
.rd-tt { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.rd-body > p { margin: 10px 0 0; font-size: 0.9rem; color: #4a514c; line-height: 1.75; max-width: 600px; }
.rd-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 20px; }
.rd-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.rd-chips span {
  font-size: 0.78rem;
  color: #2f6b46;
  background: rgba(149, 193, 148, 0.14);
  border: 1px solid rgba(111, 154, 110, 0.32);
  padding: 4px 12px;
  border-radius: 999px;
}
.rules-doc .btn { margin: 0; }

/* MC 物品贴图放大为像素风（各组件小图标与水印统一用） */
img.mcpx, .gd-ico img, .d-ic img, .d-ic, .dw, .hb-ico img, .rd-cover img {
  image-rendering: pixelated;
  image-rendering: crisp-edges;
}

/* 首页入服手册：书本图标块 */
.handbook .hb-ico img { width: 30px; height: 30px; }

/* 玩法攻略：2×2 双栏，横向「贴图块 + 标题正文」，消除四连模板感与大留白 */
.guide-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.guide-card {
  flex-direction: row;
  align-items: flex-start;
  gap: 18px;
  padding: 24px 24px 20px;
  text-align: left;
}
.gd-ico {
  flex: 0 0 auto;
  width: 48px; height: 48px;
  margin-top: 2px;
  border-radius: 14px;
  display: grid; place-items: center;
  background: linear-gradient(140deg, var(--brand-deep), var(--brand));
  box-shadow: 0 10px 22px var(--brand-shadow), inset 0 1px 0 rgba(255, 255, 255, 0.28);
}
.gd-ico img { width: 30px; height: 30px; }
.gd-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.guide-card h3 { margin: 0; }
.guide-card p { flex: none; margin-top: 6px; }
.guide-go { margin-top: 14px; }

/* 数据一览：标题小图标 + 右下角淡印 */
.data-card .d-title,
.data-card .d-value,
.data-card .d-desc,
.data-card .d-top { position: relative; z-index: 1; }
.data-card .d-title { gap: 10px; }
.dw {
  position: absolute;
  right: 12px; bottom: 8px;
  width: 64px; height: 64px;
  opacity: 0.07;
  pointer-events: none;
  z-index: 0;
}
.d-ic { display: inline-flex; }
.d-ic img { width: 18px; height: 18px; }
.data-card .d-title svg { width: 17px; height: 17px; }

/* 管理团队：横向名片式（头像 + 名号 + 分工说明），去掉居中大空白 */
.team-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.team-card {
  display: flex;
  flex-direction: column;
  padding: 24px;
  text-align: left;
}
.tm-head { display: flex; align-items: center; gap: 18px; }
.tm-head .team-avatar { margin: 0; }
.tm-id { min-width: 0; }
.tm-id h3 { margin-top: 0; }
.tm-id .role { margin-top: 8px; }
.tm-bio {
  flex: 1;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px dashed rgba(90, 100, 92, 0.24);
  font-size: 0.86rem;
  color: #4a514c;
  line-height: 1.8;
}

/* 关于页 联系卡片：要点补位，压掉底部留白 */
.ct-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 22px; }
.ct-chips span {
  font-size: 0.78rem;
  color: #2f6b46;
  background: rgba(149, 193, 148, 0.14);
  border: 1px solid rgba(111, 154, 110, 0.32);
  padding: 4px 13px;
  border-radius: 999px;
}
.ct-note {
  margin: 22px auto 0;
  max-width: 360px;
  font-size: 0.84rem;
  color: #6b726d;
  line-height: 1.9;
}
.ct-note b { color: #2f6b46; font-weight: 600; }

/* 新元素移动端收起 */
@media (max-width: 760px) {
  .guide-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .rules-doc { grid-template-columns: 1fr; text-align: center; justify-items: center; gap: 18px; }
  .rd-row { justify-content: center; }
}

/* 相册图查看器：禁止图片原生拖拽（拖拽应为自定义平移，而非把图拖走） */
.lb-img, .gallery-card > img, .gal-badge img, .gal-badge {
  -webkit-user-drag: none;
  user-drag: none;
}
.lb-img {
  touch-action: none;   /* 触屏拖图平移，不触发页面滚动/缩放手势 */
  cursor: grab;
}
.lb-img:active { cursor: grabbing; }

/* 查看大图时的加载提示（顶部胶囊，原图就绪自动隐藏） */
.lb-load {
  position: absolute;
  top: 20px; left: 50%;
  transform: translate(-50%, -8px);
  z-index: 6;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 18px;
  border-radius: 999px;
  background: rgba(14, 20, 16, 0.72);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #E2E1E4;
  font-size: 0.84rem;
  letter-spacing: 1px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.lb-load.show { opacity: 1; transform: translate(-50%, 0); }
.lb-load i {
  width: 13px; height: 13px;
  border-radius: 50%;
  border: 2px solid rgba(226, 225, 228, 0.28);
  border-top-color: var(--brand);
  animation: lbSpin 0.8s linear infinite;
}
@keyframes lbSpin { to { transform: rotate(360deg); } }
