/* ============================================================================
 *  云村官网 · 全站样式
 *  配色：夜色主世界（深绿黑）+ 草方块绿 + 金锭金 + 钻石蓝
 *  结构：1 变量 / 2 重置 / 3 通用组件 / 4 导航 / 5 首屏 / 6 区块 / 7 卡片
 *        8 服务器 / 9 地图 / 10 时间线 / 11 团队 / 12 公告·规则·FAQ / 13 页脚 / 14 响应式
 * ==========================================================================*/

/* ============================ 1. 变量 ============================ */
:root {
  --bg: #080d0b;
  --bg-soft: #0d1512;
  --panel: #121c17;
  --panel-2: #16211c;
  --line: #24352c;
  --line-soft: #1b2822;
  --text: #e7f1ea;
  --text-dim: #a9bdb1;
  --muted: #7d9187;
  --green: #5fbf4f;
  --green-dark: #2f7a2a;
  --green-glow: rgba(95, 191, 79, .35);
  --gold: #f2b134;
  --blue: #4aa3ff;
  --purple: #c77dff;
  --teal: #4ecdc4;
  --orange: #ff8a3d;
  --red: #ff6b5e;
  --radius: 4px;
  --radius-lg: 10px;
  --shadow: 0 18px 40px -22px rgba(0, 0, 0, .9);
  --font: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Segoe UI", system-ui, -apple-system, sans-serif;
  --mono: "JetBrains Mono", "Cascadia Code", Consolas, "Courier New", monospace;
  --wrap: 1180px;
}

/* ============================ 2. 重置 ============================ */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 15.5px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed; inset: 0; z-index: -2;
  background:
    radial-gradient(900px 520px at 82% -8%, rgba(95, 191, 79, .16), transparent 62%),
    radial-gradient(760px 460px at 6% 8%, rgba(74, 163, 255, .12), transparent 60%),
    linear-gradient(180deg, #0a120e 0%, var(--bg) 42%, #070b09 100%);
}
body::after {
  content: "";
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  opacity: .32;
  background-image: linear-gradient(rgba(255, 255, 255, .03) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255, 255, 255, .03) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(circle at 50% 22%, #000 0%, transparent 78%);
  -webkit-mask-image: radial-gradient(circle at 50% 22%, #000 0%, transparent 78%);
}
img, svg { max-width: 100%; display: block; }
a { color: var(--green); text-decoration: none; }
a:hover { color: #7ee06b; }
h1, h2, h3, h4 { line-height: 1.28; margin: 0 0 .5em; font-weight: 800; letter-spacing: .01em; }
p { margin: 0 0 1em; }
code, kbd, .mono { font-family: var(--mono); }
::selection { background: var(--green); color: #06210a; }

.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
/* 防溢出：栅格/弹性子项允许收缩到小于内容宽度 */
.wrap > *, .grid > *, .split > *, .hero-grid > *, .footer-grid > * { min-width: 0; }
code { overflow-wrap: anywhere; }
.section { padding: 84px 0; position: relative; }
.section--tight { padding: 56px 0; }
.section + .section { border-top: 1px solid var(--line-soft); }
.dim { color: var(--text-dim); }
.muted { color: var(--muted); }
.center { text-align: center; }
.mb0 { margin-bottom: 0; }

/* ============================ 3. 通用组件 ============================ */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font: 600 12px/1 var(--mono); letter-spacing: .22em; text-transform: uppercase;
  color: var(--green); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--green); opacity: .8; }

.section-head { max-width: 760px; margin-bottom: 40px; }
.section-head h2 { font-size: clamp(24px, 3.4vw, 34px); }
.section-head .lead { color: var(--text-dim); font-size: 16px; margin: 0; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow::before { display: none; }

.btn {
  --btn-bg: var(--green); --btn-fg: #07230b; --btn-edge: #2c7024;
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 12px 22px; border: 0; border-radius: var(--radius);
  background: var(--btn-bg); color: var(--btn-fg);
  font: 800 15px/1 var(--font); letter-spacing: .02em; cursor: pointer;
  box-shadow: inset 0 -3px 0 var(--btn-edge), 0 10px 22px -14px #000;
  transition: transform .14s ease, filter .14s ease;
  text-align: center;
}
.btn:hover { transform: translateY(-2px); filter: brightness(1.07); color: var(--btn-fg); }
.btn:active { transform: translateY(0); }
.btn--ghost {
  --btn-bg: rgba(255, 255, 255, .04); --btn-fg: var(--text); --btn-edge: transparent;
  border: 1px solid var(--line); box-shadow: none;
}
.btn--ghost:hover { color: #fff; border-color: var(--green); background: rgba(95, 191, 79, .1); }
.btn--gold { --btn-bg: var(--gold); --btn-fg: #2a1c02; --btn-edge: #a97a12; }
.btn--sm { padding: 9px 15px; font-size: 13.5px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.tag {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px; border-radius: 999px;
  border: 1px solid var(--line); background: rgba(255, 255, 255, .035);
  font-size: 12.5px; color: var(--text-dim); white-space: nowrap;
}
.tag--green { border-color: rgba(95, 191, 79, .45); color: #9de88c; background: rgba(95, 191, 79, .1); }
.tag--gold { border-color: rgba(242, 177, 52, .45); color: #ffd782; background: rgba(242, 177, 52, .1); }
.tag--blue { border-color: rgba(74, 163, 255, .45); color: #9ccdff; background: rgba(74, 163, 255, .1); }
.tag--purple { border-color: rgba(199, 125, 255, .45); color: #ddb4ff; background: rgba(199, 125, 255, .1); }
.tag--teal { border-color: rgba(78, 205, 196, .45); color: #9df0e9; background: rgba(78, 205, 196, .1); }
.tag--orange { border-color: rgba(255, 138, 61, .45); color: #ffbf95; background: rgba(255, 138, 61, .1); }

.panel {
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.panel-pad { padding: 22px 24px; }

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

.ic {
  display: inline-grid; place-items: center; width: 44px; height: 44px;
  border-radius: var(--radius); background: rgba(95, 191, 79, .1);
  border: 1px solid rgba(95, 191, 79, .28); font-size: 21px; margin-bottom: 14px;
}

.status-pill {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 14px; border-radius: 999px;
  border: 1px solid var(--line); background: rgba(255, 255, 255, .04);
  font: 600 13px/1 var(--mono); letter-spacing: .04em;
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--muted); flex: none; }
.dot--on { background: #57e04b; box-shadow: 0 0 0 0 rgba(87, 224, 75, .7); animation: pulse 2.1s infinite; }
.dot--off { background: var(--red); }
.dot--beta { background: var(--gold); }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(87, 224, 75, .55); }
  70% { box-shadow: 0 0 0 9px rgba(87, 224, 75, 0); }
  100% { box-shadow: 0 0 0 0 rgba(87, 224, 75, 0); }
}

/* 公告提示条（演示数据） */
.notice-bar {
  background: linear-gradient(90deg, rgba(242, 177, 52, .16), rgba(242, 177, 52, .04));
  border-bottom: 1px solid rgba(242, 177, 52, .3); color: #ffe0a3;
  font-size: 13.5px; padding: 9px 0;
}
.notice-bar .wrap { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.notice-bar b { color: var(--gold); }
.notice-bar button {
  margin-left: auto; background: none; border: 1px solid rgba(242, 177, 52, .4);
  color: #ffe0a3; border-radius: 999px; padding: 3px 12px; font-size: 12.5px; cursor: pointer;
}
.notice-bar button:hover { background: rgba(242, 177, 52, .16); }

/* ============================ 4. 导航 ============================ */
.nav {
  position: sticky; top: 0; z-index: 60;
  background: rgba(8, 13, 11, .78);
  backdrop-filter: blur(14px) saturate(1.3);
  border-bottom: 1px solid var(--line-soft);
}
.nav .wrap { display: flex; align-items: center; gap: 18px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 11px; color: var(--text); font-weight: 800; }
.brand:hover { color: var(--text); }
.brand img { width: 32px; height: 32px; image-rendering: pixelated; }
.brand .brand-name { font-size: 17px; letter-spacing: .04em; }
.brand .brand-sub { display: block; font: 600 9.5px/1.4 var(--mono); letter-spacing: .18em; color: var(--muted); }
.nav-links { display: flex; align-items: center; gap: 4px; margin-left: auto; flex-wrap: wrap; }
.nav-links a {
  position: relative; padding: 8px 12px; border-radius: var(--radius);
  color: var(--text-dim); font-size: 14.5px; font-weight: 600;
}
.nav-links a:hover { color: var(--text); background: rgba(255, 255, 255, .05); }
.nav-links a[aria-current="page"] { color: var(--text); background: rgba(95, 191, 79, .14); }
.nav-links a[aria-current="page"]::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px; background: var(--green);
}
.nav-cta { margin-left: 10px; }
.nav-toggle {
  display: none; margin-left: auto; width: 42px; height: 38px;
  background: rgba(255, 255, 255, .04); border: 1px solid var(--line);
  border-radius: var(--radius); color: var(--text); cursor: pointer; font-size: 17px;
}

/* ============================ 5. 首屏 ============================ */
.hero { position: relative; overflow: hidden; padding: 76px 0 68px; }
.hero-art {
  position: absolute; inset: auto 0 -2px 0; height: 66%; z-index: -1;
  opacity: .55; pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, .45) 30%, #000 72%);
  mask-image: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, .45) 30%, #000 72%);
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 44px; align-items: center; }
.hero h1 { font-size: clamp(32px, 5.4vw, 58px); margin-bottom: 16px; letter-spacing: -.01em; }
.hero h1 .grad {
  background: linear-gradient(100deg, #8ff27a 0%, var(--green) 42%, var(--blue) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero .lead { font-size: 17px; color: var(--text-dim); max-width: 620px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 26px; }

.ip-box {
  display: flex; align-items: stretch; gap: 0; margin: 8px 0 4px;
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  background: #0b120f; max-width: 520px;
}
.ip-box .ip-label {
  display: grid; place-items: center; padding: 0 13px; background: rgba(95, 191, 79, .12);
  border-right: 1px solid var(--line); font: 700 11.5px/1 var(--mono); letter-spacing: .14em; color: #9de88c;
}
.ip-box .ip-value {
  flex: 1; min-width: 0; padding: 13px 14px; font: 700 16px/1.2 var(--mono);
  color: #fff; letter-spacing: .02em; overflow-wrap: anywhere;
}
.ip-box .ip-copy {
  border: 0; border-left: 1px solid var(--line); padding: 0 18px; cursor: pointer;
  background: rgba(95, 191, 79, .16); color: #b9f0ac; font: 700 13px/1 var(--font);
}
.ip-box .ip-copy:hover { background: rgba(95, 191, 79, .3); color: #fff; }
.ip-box .ip-copy.done { background: var(--green); color: #06210a; }

/* 首屏右侧状态卡 */
.hero-card { padding: 24px; }
.hero-card h3 { font-size: 15px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-family: var(--mono); }
.hero-card .online-num { font: 800 46px/1 var(--mono); color: var(--green); letter-spacing: -.02em; }
.hero-card .online-num small { font-size: 17px; color: var(--muted); font-weight: 700; }
.bar { height: 6px; border-radius: 999px; background: rgba(255, 255, 255, .07); overflow: hidden; margin: 12px 0 18px; }
.bar > i { display: block; height: 100%; background: linear-gradient(90deg, var(--green-dark), var(--green)); transition: width .6s ease; }
.kv { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 6px 14px; font-size: 14px; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; text-align: right; color: var(--text); font-weight: 600; overflow-wrap: anywhere; }

/* 跑马灯式装饰方块 */
.pixel-strip { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.pixel-strip img { width: 34px; height: 34px; image-rendering: pixelated; opacity: .9; animation: bob 4.2s ease-in-out infinite; }
.pixel-strip img:nth-child(2n) { animation-delay: .6s; }
.pixel-strip img:nth-child(3n) { animation-delay: 1.2s; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }

/* ============================ 6. 区块小件 ============================ */
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1px; background: var(--line-soft); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.stat { background: var(--panel); padding: 22px 20px; text-align: center; }
.stat b { display: block; font: 800 30px/1.1 var(--mono); color: var(--green); }
.stat span { display: block; margin-top: 8px; font-size: 13.5px; color: var(--muted); }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 34px; align-items: center; }
.split--wide { grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); }

/* 小组件：小节标题 / 群卡片头部 */
.sub-head {
  font: 700 13px/1.5 var(--mono); letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted); margin: 0 0 14px;
}
.mini-head {
  font: 700 11.5px/1.5 var(--mono); letter-spacing: .16em; text-transform: uppercase;
  color: var(--muted); margin: 0 0 10px;
}
.group-head { display: flex; gap: 18px; align-items: flex-start; }
.group-head .qr {
  width: 132px; height: 132px; flex: none; border-radius: 8px;
  border: 1px solid var(--line); background: #fff;
}
.world-tags { display: flex; flex-wrap: wrap; gap: 8px; }

/* ============================ 7. 卡片 ============================ */
.card {
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 22px; transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.card:hover { transform: translateY(-4px); border-color: rgba(95, 191, 79, .45); box-shadow: 0 24px 44px -26px rgba(0, 0, 0, .95); }
.card h3 { font-size: 17.5px; }
.card p { margin: 0; color: var(--text-dim); font-size: 14.5px; }
.card--flat:hover { transform: none; }
.list { list-style: none; margin: 0; padding: 0; }
.list li { position: relative; padding-left: 22px; margin-bottom: 9px; color: var(--text-dim); font-size: 14.5px; }
.list li::before { content: ""; position: absolute; left: 3px; top: .62em; width: 8px; height: 8px; background: rgba(95, 191, 79, .5); border: 1px solid var(--green); border-radius: 1px; }
.list--check li::before { background: var(--green); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .35); }

/* 特色格 */
.feature { display: flex; gap: 15px; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: linear-gradient(180deg, var(--panel-2), var(--panel)); }
.feature .ic { margin: 0; flex: none; width: 40px; height: 40px; font-size: 19px; }
.feature h3 { font-size: 15.5px; margin-bottom: 4px; }
.feature p { margin: 0; font-size: 14px; color: var(--text-dim); }

/* ============================ 8. 服务器卡 ============================ */
.server-card { position: relative; padding: 0; overflow: hidden; }
.server-card .sc-top { display: flex; align-items: center; gap: 12px; padding: 18px 22px; border-bottom: 1px solid var(--line-soft); background: rgba(255, 255, 255, .02); }
.server-card .sc-bar { width: 5px; height: 40px; border-radius: 3px; background: var(--green); flex: none; }
.server-card h3 { margin: 0; font-size: 18px; }
.server-card .sc-body { padding: 20px 22px 22px; }
.server-card .sc-desc { color: var(--text-dim); font-size: 14.5px; }
.sc-meta { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin: 18px 0; }
.sc-meta div { background: rgba(255, 255, 255, .025); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 10px 12px; min-width: 0; }
.sc-meta em { display: block; font-style: normal; font-size: 11.5px; letter-spacing: .12em; color: var(--muted); font-family: var(--mono); text-transform: uppercase; }
.sc-meta strong { font-size: 13.5px; font-weight: 700; overflow-wrap: anywhere; }
.sc-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }

/* 地图页 */
.map-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 16px; }
.map-tabs:empty { display: none; margin: 0; }
.map-tab {
  display: flex; flex-direction: column; gap: 2px; text-align: left;
  padding: 11px 15px; border: 1px solid var(--line); border-radius: var(--radius);
  background: rgba(255, 255, 255, .03); color: var(--text-dim); cursor: pointer;
  font-family: var(--font); font-size: 14px; font-weight: 700; transition: .15s ease;
}
.map-tab small { font-weight: 500; font-size: 11.5px; color: var(--muted); letter-spacing: .06em; }
.map-tab:hover { color: var(--text); border-color: rgba(95, 191, 79, .4); }
.map-tab[aria-pressed="true"] { background: rgba(95, 191, 79, .14); border-color: var(--green); color: #fff; }
.map-stage { position: relative; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: #0a100d; }
.map-stage iframe { display: block; width: 100%; height: min(74vh, 720px); border: 0; background: #0a100d; }
.map-fallback { padding: 46px 24px; text-align: center; }
.map-note { display: flex; gap: 12px; align-items: flex-start; margin-top: 16px; padding: 14px 16px; border: 1px dashed var(--line); border-radius: var(--radius); color: var(--text-dim); font-size: 14px; }
.map-note span:first-child { font-size: 18px; line-height: 1.4; }

/* ============================ 9. 时间线 ============================ */
.timeline { position: relative; margin: 0; padding: 6px 0 6px 0; list-style: none; }
.timeline::before { content: ""; position: absolute; left: 9px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(180deg, var(--green), rgba(95, 191, 79, .06)); }
.timeline li { position: relative; padding: 0 0 26px 42px; }
.timeline li::before {
  content: ""; position: absolute; left: 2px; top: 6px; width: 16px; height: 16px;
  background: var(--panel); border: 2px solid var(--green); border-radius: 3px;
  transform: rotate(45deg); box-shadow: 0 0 0 4px rgba(8, 13, 11, .9);
}
.timeline li[data-type="update"]::before { border-color: var(--blue); }
.timeline li[data-type="event"]::before { border-color: var(--gold); }
.timeline li[data-type="tech"]::before { border-color: var(--purple); }
.timeline .tl-date { font: 700 12.5px/1 var(--mono); letter-spacing: .1em; color: var(--muted); }
.timeline h3 { margin: 8px 0 6px; font-size: 17px; }
.timeline p { margin: 0; color: var(--text-dim); font-size: 14.5px; }
.timeline li[data-last="1"]::before { background: var(--green); border-color: var(--green); animation: pulse 2.4s infinite; }

/* ============================ 10. 团队 ============================ */
.org-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; align-items: start; }
.org-card { position: relative; border-top: 3px solid var(--green); }
.org-card .org-role { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 6px; }
.org-card .org-role h3 { margin: 0; font-size: 18px; }
.org-card .org-en { font: 700 10.5px/1 var(--mono); letter-spacing: .2em; color: var(--muted); }
.org-card .org-count { font-size: 12.5px; color: var(--muted); }
.org-card .org-duty { margin-top: 14px; }
.org-card .org-duty h4 { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); font-family: var(--mono); margin-bottom: 8px; }
.member { display: flex; align-items: center; gap: 11px; padding: 9px 11px; border: 1px solid var(--line-soft); border-radius: var(--radius); background: rgba(255, 255, 255, .022); margin-bottom: 8px; }
.member .avatar { width: 32px; height: 32px; border-radius: 3px; background: linear-gradient(135deg, rgba(95, 191, 79, .3), rgba(74, 163, 255, .25)); display: grid; place-items: center; font: 800 14px/1 var(--mono); color: #cdf5c4; flex: none; }
.member b { font-size: 14.5px; display: block; }
.member small { color: var(--muted); font-size: 12.5px; }

.flow { display: grid; gap: 12px; }
.flow-step { display: flex; gap: 14px; align-items: flex-start; }
.flow-step .n { width: 30px; height: 30px; flex: none; display: grid; place-items: center; border-radius: 50%; background: rgba(95, 191, 79, .14); border: 1px solid rgba(95, 191, 79, .4); color: #9de88c; font: 800 13px/1 var(--mono); }
.flow-step h4 { margin: 2px 0 3px; font-size: 15px; }
.flow-step p { margin: 0; font-size: 14px; color: var(--text-dim); }

/* ============================ 11. 公告 / 规则 / FAQ ============================ */
.news-item { border: 1px solid var(--line); border-radius: var(--radius-lg); background: linear-gradient(180deg, var(--panel-2), var(--panel)); overflow: hidden; }
.news-item + .news-item { margin-top: 14px; }
.news-item > summary { display: flex; align-items: center; gap: 14px; padding: 18px 20px; cursor: pointer; list-style: none; }
.news-item > summary::-webkit-details-marker { display: none; }
.news-item > summary:hover { background: rgba(255, 255, 255, .03); }
.news-item .n-date { font: 700 12.5px/1 var(--mono); color: var(--muted); flex: none; }
.news-item .n-title { font-weight: 800; font-size: 16px; flex: 1; min-width: 0; }
.news-item .n-arrow { color: var(--muted); transition: transform .2s ease; }
.news-item[open] .n-arrow { transform: rotate(90deg); }
.news-body { padding: 0 20px 20px; border-top: 1px solid var(--line-soft); color: var(--text-dim); font-size: 14.5px; }
.news-body ul { margin: 12px 0 0; padding-left: 20px; }
.news-body li { margin-bottom: 8px; }

.codeblock {
  background: #0a100d; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 13px 15px; font: 600 13.5px/1.7 var(--mono); color: #b9f0ac;
  overflow-x: auto; white-space: pre-wrap; word-break: break-word;
}
.kbd { display: inline-block; padding: 1px 7px; border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 3px; background: rgba(255, 255, 255, .05); font: 600 12.5px/1.5 var(--mono); color: var(--text); }

.rule-card { border-left: 3px solid var(--green); }
.faq details { border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255, 255, 255, .022); margin-bottom: 10px; }
.faq summary { cursor: pointer; padding: 14px 18px; font-weight: 700; font-size: 15px; list-style: none; display: flex; gap: 10px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "?"; display: grid; place-items: center; width: 20px; height: 20px; flex: none; border-radius: 3px; background: rgba(95, 191, 79, .16); color: var(--green); font: 800 12px/1 var(--mono); }
.faq details[open] summary { color: #fff; }
.faq .faq-a { padding: 0 18px 16px 48px; color: var(--text-dim); font-size: 14.5px; }

/* 表格 */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-lg); }
table { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 540px; }
th, td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--line-soft); }
th { background: rgba(255, 255, 255, .035); font: 700 12px/1.5 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: rgba(255, 255, 255, .022); }
td .mono { color: #b9f0ac; }

/* ============================ 12. 页脚 ============================ */
.footer { border-top: 1px solid var(--line-soft); background: #070b09; padding: 52px 0 26px; margin-top: 20px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 30px; }
.footer h4 { font: 700 12px/1 var(--mono); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: 9px; }
.footer a { color: var(--text-dim); font-size: 14px; }
.footer a:hover { color: var(--green); }
.footer-bottom { margin-top: 34px; padding-top: 20px; border-top: 1px solid var(--line-soft); display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center; justify-content: space-between; color: var(--muted); font-size: 13px; }

/* 回到顶部 */
.to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 70;
  width: 44px; height: 44px; border-radius: var(--radius);
  border: 1px solid var(--line); background: rgba(18, 28, 23, .92); color: var(--text);
  cursor: pointer; font-size: 17px; display: grid; place-items: center;
  opacity: 0; pointer-events: none; transition: opacity .2s ease, transform .2s ease;
}
.to-top.show { opacity: 1; pointer-events: auto; }
.to-top:hover { transform: translateY(-3px); border-color: var(--green); }

/* 小提示 toast */
.toast {
  position: fixed; left: 50%; bottom: 34px; transform: translate(-50%, 20px);
  background: var(--green); color: #06210a; font-weight: 800; font-size: 14px;
  padding: 11px 22px; border-radius: 999px; z-index: 90; opacity: 0;
  transition: opacity .2s ease, transform .2s ease; pointer-events: none;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* 滚动出现 */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .55s ease, transform .55s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .pixel-strip img, .dot--on { animation: none; }
  html { scroll-behavior: auto; }
}

/* ============================ 13. 响应式 ============================ */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .nav-toggle { display: grid; place-items: center; }
  .nav-links {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; flex-wrap: nowrap; align-items: stretch; gap: 2px;
    padding: 12px 20px 18px; margin: 0;
    background: #0a120e; border-bottom: 1px solid var(--line);
    box-shadow: 0 26px 40px -22px rgba(0, 0, 0, .95);
    backdrop-filter: blur(14px);
    max-height: 0; overflow: hidden; padding-block: 0;
    transition: max-height .25s ease, padding .25s ease;
  }
  .nav-links.open { max-height: 520px; padding-block: 12px 18px; }
  .nav-links a { padding: 12px; }
  .nav-cta { margin: 8px 0 0; }
  .nav-cta .btn { width: 100%; }
  .grid--3, .grid--2, .split, .split--wide { grid-template-columns: minmax(0, 1fr); }
  .section { padding: 62px 0; }
}
@media (max-width: 560px) {
  body { font-size: 15px; }
  .wrap { width: min(100% - 28px, var(--wrap)); }
  .grid--4, .grid--3 { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ip-box { flex-wrap: wrap; }
  .ip-box .ip-copy { width: 100%; border-left: 0; border-top: 1px solid var(--line); padding: 11px; }
  .hero { padding: 52px 0 46px; }
  .news-item > summary { flex-wrap: wrap; gap: 8px; }
  .group-head { flex-direction: column; align-items: stretch; }
  .group-head .qr { width: 170px; height: 170px; }
}
