/* ============================================================
   LongerMC · 全站样式表
   设计语言：Minecraft OreUI（Bedrock 界面体系）
   - 令牌取自 minecraft.net 官方组件库（mc-components）：
     core / vanilla 灰绿阶梯、#171615 硬边、inset 斜面、#1157be 焦点色
   - 直角、2px 硬边、6px 斜面高光、像素等宽字
   ============================================================ */

@font-face{
  font-family:'Press Start 2P';
  src:url('/assets/fonts/press-start-2p.woff2') format('woff2');
  font-weight:400;
  font-style:normal;
  font-display:swap;
}

/* ------------------------------------------------------------
   1. 设计令牌（OreUI）
   ------------------------------------------------------------ */
:root{
  /* 中性阶梯：core-grey / off-black / off-white */
  --bg:#171615;
  --panel:#262423;
  --panel-2:#3d3938;
  --line-2:#6b6562;

  /* 绿色阶梯：core-green / vanilla-green */
  --grass:#6cc349;
  --grass-2:#86d562;
  --grass-3:#52a535;
  --grass-ink:#2a641c;

  /* 强调色 */
  --gold:#ffc42b;
  --torch:#ffa41f;
  --diamond:#4ad5ff;
  --red:#ff481b;

  /* 外链身份色：主站 www.longer.xin 的蓝 + 横幅青→紫渐变（按像素分 5 段）
     只用在指向主站、QQ 群、Discord 的元素上，不作为本站主题色 */
  --www:#00aeec;
  --www-2:#5cccf5;
  /* Discord 品牌紫（同样只用于外链） */
  --discord:#5865f2;
  --discord-2:#8b95ff;

  /* 文本 */
  --text:#fcf5f1;
  --text-2:#d0c5c0;
  --muted:#aba09c;
  --muted-2:#6b6562;

  --pixel:'Press Start 2P',ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;
  --mono:ui-monospace,SFMono-Regular,"SF Mono",Menlo,Consolas,"Liberation Mono",monospace;
  --sans:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Hiragino Sans GB","Microsoft YaHei","Noto Sans SC",sans-serif;

  /* OreUI 形状：硬边 2px + 斜面 inset + 无圆角 */
  --ore-border:2px solid #171615;
  --ore-focus:0 0 0 2px #1157be,0 0 0 3px #fff;
  --shadow-card:inset 0 2px 0 rgba(255,255,255,.06),inset 0 -2px 0 rgba(0,0,0,.3);
  --shadow-card-hover:inset 0 2px 0 rgba(255,255,255,.1),inset 0 -2px 0 rgba(0,0,0,.36);
  --ease:cubic-bezier(.22,.68,.3,1);
  --nav-h:72px;
}

/* ------------------------------------------------------------
   2. 重置与基础
   ------------------------------------------------------------ */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0;border-radius:0}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%;scroll-padding-top:90px}

body{
  font-family:var(--sans);
  color:var(--text);
  line-height:1.75;
  min-height:100vh;
  display:flex;
  flex-direction:column;
  overflow-x:hidden;
  background-color:var(--bg);
  background-image:
    radial-gradient(900px 520px at 84% -6%,rgba(108,195,73,.09),transparent 62%),
    radial-gradient(760px 460px at 4% 4%,rgba(107,101,98,.1),transparent 60%),
    linear-gradient(rgba(252,245,241,.022) 1px,transparent 1px),
    linear-gradient(90deg,rgba(252,245,241,.022) 1px,transparent 1px);
  background-size:auto,auto,32px 32px,32px 32px;
  background-attachment:fixed;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}

main{flex:1 0 auto;width:100%;position:relative;z-index:1}
img,svg{max-width:100%}
a{color:inherit}
button{font:inherit;color:inherit;background:none;border:0}
code{font-family:var(--mono)}
[hidden]{display:none !important}

::selection{background:rgba(108,195,73,.4);color:#fff}

:focus-visible{outline:2px solid #1157be;outline-offset:2px;box-shadow:0 0 0 1px #fff}

.svg-sprite{position:absolute;width:0;height:0;overflow:hidden;pointer-events:none}
.icon{width:20px;height:20px;display:block;flex:none;shape-rendering:crispEdges}

.sr-only{
  position:absolute !important;width:1px;height:1px;padding:0;margin:-1px;
  overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0;
}

/* 跳到主要内容 */
.skip-link{
  position:absolute;left:-9999px;top:0;z-index:300;
  padding:12px 20px;background:var(--grass);color:#171615;
  font-weight:800;text-decoration:none;border:var(--ore-border);
}
.skip-link:focus{left:12px;top:12px}

/* 滚动条：OreUI 冷灰轨道 */
::-webkit-scrollbar{width:12px;height:12px}
::-webkit-scrollbar-track{background:#171615;border-left:1px solid #262423}
::-webkit-scrollbar-thumb{background:#4a4544;border:2px solid #171615}
::-webkit-scrollbar-thumb:hover{background:#6b6562}

/* 滚动进度 */
.scroll-progress{
  position:fixed;left:0;right:0;top:0;height:3px;z-index:120;
  background:#0d0c0b;pointer-events:none;
}
.scroll-progress span{
  display:block;height:100%;width:100%;
  background:linear-gradient(180deg,#86d562,#52a535);
  transform:scaleX(0);transform-origin:0 50%;
}

/* 顶部声明公告条 */
.announce{
  position:relative;z-index:110;
  background-color:var(--panel);
  background-image:
    repeating-conic-gradient(rgba(255,196,43,.055) 0% 25%,transparent 0% 50%),
    linear-gradient(180deg,#332f1c 0%,#262423 100%);
  background-size:12px 12px,auto;
  border-bottom:2px solid #171615;
  box-shadow:inset 0 2px 0 rgba(255,196,43,.18),inset 0 -2px 0 rgba(0,0,0,.3);
}
.announce::before{
  content:'';position:absolute;left:0;top:0;bottom:0;width:4px;
  background:var(--gold);
}
.announce-inner{
  max-width:1220px;margin:0 auto;padding:10px 28px;
  display:flex;align-items:center;gap:14px;
  font-size:12.5px;line-height:1.7;color:var(--text-2);
}
.announce-badge{
  flex:none;padding:5px 8px;
  font-family:var(--pixel);font-size:8px;line-height:1;
  color:#171615;background:var(--gold);
  border:1px solid #171615;
  box-shadow:inset 0 2px 0 rgba(255,255,255,.45),inset 0 -2px 0 rgba(0,0,0,.25);
}
.announce p{min-width:0}
.announce b{color:#ffd953;font-weight:700}
.announce a{
  margin-left:6px;color:var(--gold);font-weight:700;white-space:nowrap;
  text-decoration:none;border-bottom:2px solid rgba(255,196,43,.45);
  transition:color .18s,border-color .18s;
}
.announce a:hover{color:#fff27a;border-color:#fff27a}

/* ------------------------------------------------------------
   3. 通用文字与标签
   ------------------------------------------------------------ */
.hl{color:var(--grass-2)}
.kicker{
  display:inline-flex;align-items:center;gap:10px;
  font-family:var(--pixel);font-size:9px;line-height:1.6;
  color:var(--grass-2);
  margin-bottom:18px;
}
.kicker::before{content:'';width:22px;height:4px;background:var(--grass);flex:none;box-shadow:inset 0 1px 0 rgba(255,255,255,.4)}
.kicker--plain{color:var(--muted);margin-bottom:12px}
.kicker--plain::before{background:var(--muted-2)}

.notice{
  margin-top:18px;padding:14px 18px;font-size:14px;color:var(--text-2);
  background:var(--panel);border:2px solid #171615;
  box-shadow:var(--shadow-card);
}
.notice code{color:var(--grass-2)}

/* 状态灯 */
.dot{
  display:inline-block;width:8px;height:8px;flex:none;
  background:#6b6562;
  box-shadow:inset 0 0 0 1px rgba(0,0,0,.5);
}
.dot.on{
  background:var(--grass-2);
  box-shadow:inset 0 0 0 1px rgba(0,0,0,.35),0 0 10px rgba(134,213,98,.7);
  animation:pulse 2s infinite;
}
.dot.off{
  background:var(--red);
  box-shadow:inset 0 0 0 1px rgba(0,0,0,.35),0 0 10px rgba(255,72,27,.55);
}
@keyframes pulse{0%,100%{opacity:1}50%{opacity:.4}}

/* ------------------------------------------------------------
   4. 按钮（OreUI：2px 硬边 + 6px 斜面）
   ------------------------------------------------------------ */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:9px;
  padding:13px 24px;
  font-size:14px;font-weight:800;font-family:var(--sans);letter-spacing:.03em;
  color:#fff;text-decoration:none;cursor:pointer;white-space:nowrap;
  background:var(--grass-3);
  border:var(--ore-border);
  box-shadow:
    inset 0 6px 0 rgba(255,255,255,.16),
    inset 0 -6px 0 var(--grass-ink);
  transition:background .12s var(--ease),box-shadow .12s var(--ease),color .12s;
}
.btn .icon{width:17px;height:17px}
.btn:hover{
  background:linear-gradient(0deg,rgba(255,255,255,.16),rgba(255,255,255,.16)),var(--grass-3);
}
.btn:active{
  background:var(--grass-ink);
  box-shadow:none;
  transform:translateY(2px);
}
.btn:focus-visible{outline:2px solid #1157be;outline-offset:-2px;box-shadow:var(--ore-focus)}
.btn-ghost{
  color:var(--text);
  background:var(--panel-2);
  border-color:#171615;
  box-shadow:inset 0 6px 0 rgba(255,255,255,.08),inset 0 -6px 0 #171615;
}
.btn-ghost:hover{
  background:linear-gradient(0deg,rgba(255,255,255,.1),rgba(255,255,255,.1)),var(--panel-2);
}
.btn-ghost:active{background:#171615;box-shadow:none}
.btn-gold-ghost{
  color:#171615;
  background:var(--gold);
  border-color:#171615;
  box-shadow:inset 0 6px 0 rgba(255,255,255,.4),inset 0 -6px 0 #b87918;
}
.btn-gold-ghost:hover{
  background:linear-gradient(0deg,rgba(255,255,255,.22),rgba(255,255,255,.22)),var(--gold);
}
.btn-gold-ghost:active{background:#db9f21;box-shadow:none;color:#171615}
/* 预留：金色强调按钮（当前页面未使用，供后续金色主题区复用） */
.btn-sm{
  padding:9px 16px;font-size:12.5px;
  box-shadow:inset 0 3px 0 rgba(255,255,255,.18),inset 0 -3px 0 var(--grass-ink);
}
.btn-sm .icon{width:14px;height:14px}
.btn-lg{
  padding:16px 30px;font-size:15.5px;letter-spacing:.04em;
  box-shadow:inset 0 6px 0 rgba(255,255,255,.18),inset 0 -6px 0 var(--grass-ink);
}
.btn-lg .icon{width:18px;height:18px}
.btn-ghost.btn-lg{box-shadow:inset 0 6px 0 rgba(255,255,255,.08),inset 0 -6px 0 #171615}
.btn-block{width:100%}

.icon-btn{
  width:34px;height:34px;display:grid;place-items:center;
  color:var(--text-2);cursor:pointer;
  background:var(--panel-2);border:2px solid #171615;
  box-shadow:inset 0 2px 0 rgba(255,255,255,.1),inset 0 -2px 0 rgba(0,0,0,.3);
  transition:background .18s,color .18s;
}
.icon-btn:hover{
  color:#fff;
  background:linear-gradient(0deg,rgba(255,255,255,.12),rgba(255,255,255,.12)),var(--panel-2);
}
.icon-btn:active{background:#171615;box-shadow:none}
.icon-btn .icon{width:16px;height:16px}
.icon-btn.is-spinning .icon{animation:spin .9s linear infinite}
@keyframes spin{to{transform:rotate(360deg)}}

/* 复制成功状态 */
.is-copied{color:var(--grass-2) !important;border-color:var(--grass-2) !important}
.is-failed{color:var(--red) !important;border-color:var(--red) !important}

.copy-mini{
  width:22px;height:22px;display:inline-grid;place-items:center;
  vertical-align:-4px;margin-left:4px;cursor:pointer;
  color:#171615;background:var(--grass-2);
  border:1px solid #171615;
  transition:background .18s,color .18s;
}
.copy-mini:hover{background:#a0e081}
.copy-mini .icon{width:12px;height:12px}

/* ------------------------------------------------------------
   5. 导航（OreUI 顶部栏）
   ------------------------------------------------------------ */
.nav{
  position:sticky;top:0;z-index:100;
  background:rgba(23,22,21,.94);
  -webkit-backdrop-filter:blur(10px);
  backdrop-filter:blur(10px);
  border-bottom:2px solid #000;
  box-shadow:inset 0 -2px 0 rgba(255,255,255,.05);
  transition:background .25s,box-shadow .25s;
}
.nav.scrolled{
  background:#171615;
  box-shadow:inset 0 -2px 0 rgba(108,195,73,.22),0 6px 18px -12px #000;
}
.nav-inner{
  max-width:1220px;height:var(--nav-h);margin:0 auto;padding:0 28px;
  display:flex;align-items:center;justify-content:space-between;gap:18px;
}

.brand{display:flex;align-items:center;gap:11px;text-decoration:none;color:var(--text);flex:none}
.brand-logo{
  width:38px;height:38px;flex:none;display:block;object-fit:cover;
  border:2px solid #000;
  box-shadow:inset 0 0 0 1px rgba(252,245,241,.14);
  filter:brightness(.94) saturate(1.05);
}
.brand-text{display:flex;flex-direction:column;gap:5px;line-height:1}
.brand-name{font-family:var(--pixel);font-size:10px;color:var(--text)}
.brand-name em{font-style:normal;color:var(--grass-2)}
.brand-sub{font-family:var(--mono);font-size:8px;letter-spacing:2.6px;color:var(--muted-2)}

.nav-links{display:flex;gap:2px;margin-left:auto;margin-right:auto}
.nav-links a{
  position:relative;padding:10px 14px;font-size:13.5px;color:var(--muted);
  text-decoration:none;white-space:nowrap;
  border:2px solid transparent;
  transition:color .18s,background .18s,border-color .18s;
}
.nav-links a:hover{color:var(--text);background:var(--panel);border-color:#000}
.nav-links a.active{
  color:#fff;background:var(--grass-3);border-color:#000;
  box-shadow:inset 0 2px 0 rgba(255,255,255,.2),inset 0 -2px 0 var(--grass-ink);
}

.nav-actions{display:flex;align-items:center;gap:14px;flex:none}
.nav-actions > .btn{min-width:98px}
.nav-live{display:inline-flex;align-items:center;gap:7px;font-size:12px;color:var(--muted);font-family:var(--mono);letter-spacing:.3px}
.nav-live .dot{width:7px;height:7px}

/* ------------------------------------------------------------
   6. Hero
   ------------------------------------------------------------ */
.hero{
  position:relative;overflow:hidden;
  display:flex;align-items:flex-end;
  min-height:clamp(560px,92vh,900px);
  padding:150px 0 215px;
  scroll-margin-top:0;
  /* 全幅背景图占位：放入 /assets/img/hero.jpg 即自动生效，缺失时降级为渐变 */
  background:
    linear-gradient(180deg,rgba(10,13,10,.5) 0%,rgba(10,13,10,.18) 42%,rgba(13,12,11,.86) 82%,var(--bg) 100%),
    url('/assets/img/hero.jpg') center 32%/cover no-repeat,
    radial-gradient(1100px 560px at 72% 12%,rgba(108,195,73,.16),transparent 62%),
    linear-gradient(180deg,#141a12 0%,#101310 100%);
}
.hero-inner{
  position:relative;z-index:3;
  width:100%;max-width:1220px;margin:0 auto;padding:0 28px;
}

.hero-copy{position:relative;z-index:2;min-width:0}

.eyebrow{
  display:inline-flex;align-items:center;gap:12px;flex-wrap:wrap;
  font-family:var(--pixel);font-size:8px;
  color:var(--muted);margin-bottom:22px;
}
.eyebrow-brand{color:var(--grass-2)}
.eyebrow-div{width:22px;height:2px;background:var(--line-2)}

.hero h1{
  font-size:clamp(38px,5.8vw,72px);
  line-height:1.14;
  font-weight:900;
  letter-spacing:-.015em;
  margin-bottom:22px;
  max-width:820px;
  text-shadow:3px 3px 0 rgba(0,0,0,.65),0 2px 24px rgba(0,0,0,.4);
}
.hero h1 .hl{
  color:var(--grass-2);
  text-shadow:3px 3px 0 rgba(0,0,0,.65),0 0 40px rgba(108,195,73,.28);
}
.hero-lede{
  max-width:560px;
  font-size:16px;line-height:1.95;color:var(--text-2);
  text-shadow:1px 1px 0 rgba(0,0,0,.5);
  text-wrap:pretty;
}
.hero-lede span{display:block}

/* 地址卡片：OreUI 深灰面板 */
.ip-card{
  position:relative;
  display:flex;align-items:center;gap:14px;
  max-width:520px;margin-top:30px;padding:14px 15px 14px 18px;
  background:var(--panel);
  border:2px solid #171615;
  box-shadow:
    inset 0 2px 0 rgba(255,255,255,.07),
    inset 0 -2px 0 rgba(0,0,0,.3);
}
.ip-card::before{
  content:'';position:absolute;left:0;top:0;bottom:0;width:4px;
  background:var(--grass-3);
}
.ip-icon{
  width:42px;height:42px;flex:none;display:grid;place-items:center;
  color:var(--grass-2);
  background:#171615;
  border:2px solid #3d3938;
  box-shadow:inset 0 2px 0 rgba(255,255,255,.06);
}
.ip-icon .icon{width:19px;height:19px}
.ip-body{display:flex;flex-direction:column;gap:5px;flex:1;min-width:0}
.ip-label{
  font-family:var(--pixel);font-size:7px;line-height:1;
  color:var(--muted);
}
.ip-value{
  font-family:var(--mono);font-size:clamp(14px,1.7vw,17px);
  color:#fff;letter-spacing:.3px;line-height:1.3;word-break:break-all;
}
.ip-copy{
  display:inline-flex;align-items:center;justify-content:center;gap:6px;flex:none;cursor:pointer;
  min-width:68px;
  padding:8px 12px;font-size:12px;font-weight:800;
  color:#fff;background:var(--grass-3);
  border:2px solid #171615;
  box-shadow:inset 0 3px 0 rgba(255,255,255,.18),inset 0 -3px 0 var(--grass-ink);
  transition:background .15s,color .15s,box-shadow .15s;
}
.ip-copy:hover{
  background:linear-gradient(0deg,rgba(255,255,255,.18),rgba(255,255,255,.18)),var(--grass-3);
}
.ip-copy:active{background:var(--grass-ink);box-shadow:none}
.ip-copy .icon{width:13px;height:13px}

/* 地址下方的版本提示 */
.ip-hint{
  display:flex;align-items:center;gap:8px;
  margin-top:12px;font-size:12.5px;color:var(--muted);
}
.ip-hint::before{content:'';width:6px;height:6px;flex:none;background:var(--grass);}

.hero-actions{display:flex;align-items:center;flex-wrap:wrap;gap:16px;margin-top:26px}

.hero-quiet-link{
  font-size:13px;font-weight:700;color:var(--text-2);
  text-decoration:none;
  border-bottom:2px solid var(--line-2);
  padding-bottom:2px;
  transition:color .18s,border-color .18s;
  text-shadow:1px 1px 0 rgba(0,0,0,.5);
}
.hero-quiet-link:hover{color:#fff;border-color:var(--grass-2)}

.hero-live{
  display:flex;align-items:center;gap:10px;flex-wrap:wrap;
  margin-top:26px;font-size:12.5px;color:var(--muted);
}
.hero-live b{color:var(--grass-2);font-family:var(--mono);font-size:14px}
.live-sep{width:1px;height:12px;background:var(--line-2)}
.live-count{display:inline-flex;align-items:baseline;gap:5px}

/* 通用微动效（浮动 / 火花；404 页与誓言卡共用） */
.bob{transform-box:view-box}
.bob-a{animation:bob 7s ease-in-out infinite}
.bob-b{animation:bob 5.6s ease-in-out infinite;animation-delay:-1.6s}
.bob-c{animation:bob 6.4s ease-in-out infinite;animation-delay:-3.2s}
.bob-d{animation:bob 6.8s ease-in-out infinite;animation-delay:-4.4s}
@keyframes bob{0%,100%{transform:translateY(0)}50%{transform:translateY(-13px)}}
.sparks rect{animation:spark 3.2s steps(2,jump-none) infinite}
.sparks rect:nth-child(2){animation-delay:-.7s}
.sparks rect:nth-child(3){animation-delay:-1.4s}
.sparks rect:nth-child(4){animation-delay:-2.1s}
.sparks--gold rect:nth-child(2){animation-delay:-1s}
.sparks--gold rect:nth-child(3){animation-delay:-2.4s}
@keyframes spark{0%,100%{opacity:.2}50%{opacity:1}}

/* 地面剪影：像素树与火把 */
.terra-prop{position:absolute;z-index:1;pointer-events:none;filter:brightness(.3)}
.terra-prop--tree1{left:8.6%;bottom:44%;width:42px}
.terra-prop--tree2{left:47.2%;bottom:51.6%;width:38px;opacity:.92}
.terra-prop--tree3{left:84%;bottom:44.2%;width:40px;opacity:.88}
.terra-prop--t1{left:28.8%;bottom:46.8%;width:15px;filter:none}
.terra-prop--t2{left:65.8%;bottom:40.2%;width:13px;filter:none}
.terra-glow{
  position:absolute;z-index:0;width:64px;height:64px;pointer-events:none;
  background:radial-gradient(circle,rgba(255,196,43,.2),transparent 60%);
  animation:spark 3.2s steps(2,jump-none) infinite;
}
.terra-glow--t1{left:26.9%;bottom:calc(46.8% + 14px)}
.terra-glow--t2{left:64%;bottom:calc(40.2% + 12px);animation-delay:-1.6s}

/* 像素地形 */
.terrain{
  position:absolute;left:0;right:0;bottom:-1px;z-index:2;
  height:180px;pointer-events:none;
}
.terrain .terra-hills{display:block;width:100%;height:100%}

/* ------------------------------------------------------------
   7. 区块
   ------------------------------------------------------------ */
.section{
  position:relative;
  width:100%;max-width:1220px;
  margin:0 auto;padding:100px 28px;
  scroll-margin-top:84px;
}
.section + .section{border-top:0}
.section + .section::before{
  content:'';position:absolute;top:0;left:0;right:0;height:2px;
  background:repeating-linear-gradient(90deg,rgba(108,195,73,.4) 0 14px,transparent 14px 28px);
  opacity:.55;pointer-events:none;
}

/* 区块氛围：规则偏红石调 / 小游戏偏末地紫调 */
.section--rules{
  background:radial-gradient(620px 260px at 92% 0%,rgba(255,72,27,.06),transparent 62%);
}
.section--coming{
  background:
    radial-gradient(620px 280px at 4% 0%,rgba(139,92,246,.08),transparent 62%),
    radial-gradient(520px 240px at 96% 82%,rgba(74,213,255,.05),transparent 62%);
}

.section-head{margin-bottom:46px;max-width:820px}
.section-head h2{
  font-size:clamp(30px,4.6vw,50px);
  font-weight:900;line-height:1.22;letter-spacing:-.015em;
  text-shadow:2px 2px 0 rgba(0,0,0,.45);
}
.section-head p{margin-top:15px;color:var(--text-2);font-size:15.5px;line-height:1.9}

/* ------------------------------------------------------------
   8. 状态控制台（OreUI 面板）
   ------------------------------------------------------------ */
.console{
  position:relative;
  background:linear-gradient(180deg,#2f2b2a 0%,#262423 100%);
  border:2px solid #171615;
  box-shadow:
    inset 0 2px 0 rgba(255,255,255,.08),
    inset 0 -2px 0 rgba(0,0,0,.35),
    0 24px 44px -30px #000;
}
.console::before{
  content:'';position:absolute;top:0;left:0;right:0;height:3px;
  background:var(--grass-3);
}

.console-updated{font-size:11px;color:var(--muted);letter-spacing:.2px}
.console-updated.is-error{color:#ff6d3a}

.server-tools{display:inline-flex;align-items:center;gap:10px}

.server-entry{
  display:grid;grid-template-columns:auto minmax(0,1fr) auto;
  gap:18px;align-items:center;
  padding:24px 26px;
  border-bottom:2px solid #171615;
}
.server-icon{
  width:60px;height:60px;flex:none;
  border:2px solid #171615;
  box-shadow:inset 0 0 0 2px rgba(252,245,241,.08);
  overflow:hidden;
}
.server-icon img{width:100%;height:100%;object-fit:cover;display:block}
.server-meta{min-width:0}
.server-name{
  display:flex;align-items:center;gap:8px;flex-wrap:wrap;
  font-size:18px;font-weight:900;letter-spacing:.2px;color:#fff;
}
.version-pill{
  font-family:var(--pixel);font-size:7px;line-height:1;
  padding:5px 8px;color:#171615;background:var(--grass-2);
  border:1px solid #171615;
  box-shadow:inset 0 2px 0 rgba(255,255,255,.4),inset 0 -2px 0 rgba(0,0,0,.2);
}
.edition-pill{
  font-family:var(--mono);font-size:9.5px;letter-spacing:1.4px;
  padding:4px 8px;color:var(--diamond);
  border:1px solid #2b4a54;background:rgba(74,213,255,.08);
}
.server-motd{
  margin-top:6px;font-size:13.5px;color:var(--muted);
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
}
.server-addr{
  display:flex;align-items:center;gap:7px;
  margin-top:8px;font-size:11.5px;color:var(--muted);
}
.server-addr .icon{width:13px;height:13px;color:var(--grass)}
.server-addr code{font-size:12px;letter-spacing:.2px}
.server-side{
  display:flex;flex-direction:column;align-items:flex-end;gap:8px;
}
.server-state{
  display:inline-flex;align-items:center;gap:8px;
  font-size:13px;font-weight:700;color:var(--text-2);white-space:nowrap;
}
.ping-bars{display:flex;align-items:flex-end;gap:2px;height:16px}
.ping-bars i{width:3px;background:#4a4544;transition:background .3s}
.ping-bars i:nth-child(1){height:4px}
.ping-bars i:nth-child(2){height:7px}
.ping-bars i:nth-child(3){height:10px}
.ping-bars i:nth-child(4){height:13px}
.ping-bars i:nth-child(5){height:16px}
.ping-bars.on i{background:var(--grass-2)}
.ping-bars.off i{background:#8f1f0b}

.stat-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}
.stat{
  position:relative;display:block;text-align:left;
  padding:22px 26px;min-width:0;
  background:rgba(252,245,241,.015);
}
.stat + .stat{border-left:2px solid #171615}
.stat-top{display:flex;align-items:center;justify-content:space-between;gap:10px}
.stat-label{font-size:12px;letter-spacing:.6px;color:var(--muted)}
.stat-index{font-family:var(--pixel);font-size:7px;color:var(--muted-2)}
.stat-value{
  font-family:var(--mono);font-size:26px;font-weight:700;
  line-height:1.4;color:#fff;margin-top:8px;
  overflow:hidden;text-overflow:ellipsis;
}
.stat-value--ip code{font-size:14px;color:var(--grass-2);letter-spacing:.2px;word-break:break-all}
.stat-note{font-family:var(--mono);font-size:10.5px;letter-spacing:.4px;color:var(--muted);margin-top:6px}

/* 状态卡左侧饰条 */
.stat::before{
  content:'';position:absolute;left:0;top:0;bottom:0;width:3px;
  background:var(--grass-3);
  opacity:.4;transition:opacity .2s;
}
.stat:hover::before{opacity:1}

.stat-copy{cursor:pointer;transition:background .18s}
.stat-copy:hover{background:rgba(108,195,73,.07)}
.stat-copy:hover .stat-note{color:var(--grass-2)}
.stat-copy:hover .stat-value--ip code{color:#fff}

/* 在线玩家 */
.players-panel{padding:22px 26px 24px;border-top:2px solid #171615}
.panel-title{
  display:flex;align-items:center;gap:10px;
  font-size:12px;letter-spacing:.6px;color:var(--muted);
  margin-bottom:14px;
}
.panel-count{font-family:var(--mono);font-size:10.5px;color:var(--muted)}
.player-list{display:flex;flex-wrap:wrap;gap:8px}
.player-chip{
  display:inline-flex;align-items:center;gap:8px;
  padding:6px 11px 6px 7px;font-size:13px;color:var(--text-2);
  background:#171615;
  border:2px solid #3d3938;
  transition:border-color .18s,background .18s,color .18s;
}
.player-chip:hover{border-color:var(--grass-3);color:#fff}
.player-avatar{
  position:relative;width:20px;height:20px;flex:none;display:block;overflow:hidden;
  background:#262423;
  box-shadow:inset 0 0 0 1px #000;
}
.player-avatar .pixel-head{position:absolute;inset:0;width:100%;height:100%;display:block;shape-rendering:crispEdges}
.player-avatar img{
  position:absolute;inset:0;width:100%;height:100%;display:block;
  object-fit:cover;image-rendering:pixelated;
}

/* ------------------------------------------------------------
   9. 生存服特色 Bento
   ------------------------------------------------------------ */
.bento{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:16px}

.feature{
  position:relative;overflow:hidden;
  padding:26px;
  background:linear-gradient(180deg,#2b2827 0%,#262423 100%);
  border:2px solid #171615;
  box-shadow:var(--shadow-card);
  transition:border-color .2s,box-shadow .2s,background .2s;
}
.feature::before{
  content:'';position:absolute;top:0;left:0;right:0;height:4px;z-index:1;
  background:var(--grass-3);
  transition:background .2s;
}
.feature:has(.icon-tile--gold)::before{background:var(--gold)}
.feature:has(.icon-tile--diamond)::before{background:var(--diamond)}
.feature:has(.icon-tile--torch)::before{background:var(--torch)}
.feature:hover{
  border-color:#000;
  box-shadow:var(--shadow-card-hover);
  background:linear-gradient(180deg,#332f2e 0%,#2b2827 100%);
}

.feature--wide{grid-column:span 4;display:flex;flex-direction:column;justify-content:center;padding:32px}
.feature--sm{grid-column:span 2;display:flex;flex-direction:column}

.feature h3{font-size:18px;font-weight:900;letter-spacing:-.01em;margin-bottom:9px}
.feature p{font-size:13.5px;line-height:1.9;color:var(--muted)}
.feature--wide h3{font-size:21px}
.feature-meta{
  display:flex;align-items:center;gap:8px;
  margin-top:auto;padding-top:18px;
  border-top:2px solid #171615;
  font-family:var(--mono);font-size:10.5px;letter-spacing:.4px;
  color:var(--muted);
}
.feature-meta::before{content:'';width:5px;height:5px;flex:none;background:var(--grass)}
.feature:hover .feature-meta{color:var(--text-2)}

.icon-tile{
  width:54px;height:54px;display:grid;place-items:center;
  margin-bottom:18px;
  color:var(--grass-2);
  background:linear-gradient(180deg,#20241d 0%,#171615 100%);
  border:2px solid #3d3938;
  box-shadow:inset 0 2px 0 rgba(255,255,255,.08),inset 0 -2px 0 rgba(0,0,0,.4);
  transition:transform .2s var(--ease),border-color .2s,color .2s;
}
.icon-tile .icon{width:26px;height:26px}
.icon-tile--gold{
  color:#ffd953;border-color:#6d5620;
  background:linear-gradient(180deg,#262011 0%,#1d1a12 100%);
}
.icon-tile--diamond{
  color:var(--diamond);border-color:#2b4a54;
  background:linear-gradient(180deg,#122229 0%,#0f1a20 100%);
}
.icon-tile--torch{
  color:var(--torch);border-color:#6b4a20;
  background:linear-gradient(180deg,#271d10 0%,#1d1710 100%);
}
.feature:hover .icon-tile{transform:translateY(-3px)}
.feature:hover .icon-tile--gold{border-color:#b87918}
.feature:hover .icon-tile--diamond{border-color:#3f7fa0}
.feature:hover .icon-tile--torch{border-color:#a5722f}

.ticks{list-style:none;display:flex;flex-wrap:wrap;gap:8px 16px;margin-top:18px}
.ticks li{display:inline-flex;align-items:center;gap:6px;font-family:var(--mono);font-size:11.5px;color:var(--text-2)}
.ticks .icon{width:12px;height:12px;color:var(--grass)}

/* 特色速览：一行纯文本 */
.feature-line{
  display:flex;flex-wrap:wrap;align-items:center;justify-content:center;
  gap:10px 30px;
  margin-top:18px;padding:16px 24px;
  background:rgba(252,245,241,.015);
  border:2px solid #171615;
  font-size:13.5px;line-height:1.7;color:var(--muted);
}
.feature-line span{display:inline-flex;align-items:center;gap:9px}
.feature-line span::before{content:'';width:6px;height:6px;flex:none;background:var(--grass);opacity:.8}
.feature--copy .feature-meta{margin-top:2px}

.feature--copy{
  display:flex;flex-direction:column;justify-content:space-between;
  background:
    linear-gradient(180deg,rgba(108,195,73,.14) 0%,rgba(23,22,21,.2) 55%),
    linear-gradient(180deg,#2b2827 0%,#262423 100%);
  border-color:#3c8527;
}
.feature--copy h3{font-size:16.5px}
.feature-ip{
  display:block;margin:16px 0 18px;
  font-family:var(--mono);font-size:13px;color:var(--grass-2);
  padding:9px 11px;
  background:#171615;
  border:2px solid #3d3938;
  word-break:break-all;
}

/* ------------------------------------------------------------
   9.1 服务器介绍（插件卡片）
   ------------------------------------------------------------ */
.plugin-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}

.plugin{
  position:relative;display:flex;flex-direction:column;
  padding:24px 26px 22px;
  background:linear-gradient(180deg,#2b2827 0%,#262423 100%);
  border:2px solid #171615;
  box-shadow:var(--shadow-card);
  transition:border-color .2s,box-shadow .2s;
}
.plugin:hover{
  border-color:#3c8527;
  box-shadow:var(--shadow-card-hover);
}

.plugin-top{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}
.plugin .icon-tile{margin-bottom:0}
.plugin-num{
  padding:5px 8px;
  font-family:var(--pixel);font-size:8px;line-height:1;
  color:var(--grass-2);
  border:2px solid #3c8527;
  background:#171615;
}
.plugin h3{font-size:17px;font-weight:900;letter-spacing:-.01em;margin-bottom:8px}
.plugin p{font-size:13.5px;line-height:1.9;color:var(--muted);margin-bottom:16px}
.plugin p code{
  padding:1px 6px;font-size:12px;color:var(--grass-2);
  background:#171615;
  border:1px solid #3c8527;
}
.plugin-meta{
  display:flex;align-items:center;gap:8px;
  margin-top:auto;padding-top:14px;
  border-top:2px solid #171615;
  font-family:var(--mono);font-size:11px;letter-spacing:.4px;
  color:var(--muted);
}
.plugin-meta::before{content:'';width:5px;height:5px;flex:none;background:var(--grass)}

/* ------------------------------------------------------------
   9.2 服务器基本规则
   ------------------------------------------------------------ */
.rules{
  position:relative;
  background:linear-gradient(180deg,#2b2827 0%,#262423 100%);
  border:2px solid #171615;
  box-shadow:inset 0 2px 0 rgba(255,255,255,.07),inset 0 -2px 0 rgba(0,0,0,.35);
}
.rules::before{
  content:'';display:block;height:4px;
  background:#b42d10;
}
.rules::after{
  content:'';position:absolute;inset:0;pointer-events:none;
  background:radial-gradient(460px 200px at 92% 0%,rgba(255,72,27,.07),transparent 70%);
}
.rules-bar{
  display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;
  padding:12px 18px;
  border-bottom:2px solid #171615;
  background:#171615;
}
.rules-title{
  display:inline-flex;align-items:center;gap:9px;
  font-family:var(--pixel);font-size:8px;line-height:1.6;
  color:var(--muted);
}
.rules-title .icon{width:14px;height:14px;color:#ff6d3a}
.rules-count{font-family:var(--mono);font-size:11px;letter-spacing:.3px;color:var(--muted)}

.rule-list{list-style:none}
.rule{
  position:relative;display:flex;align-items:center;gap:16px;
  padding:15px 20px;min-width:0;
  transition:background .18s,box-shadow .18s;
  box-shadow:inset 3px 0 0 #8f1f0b;
}
.rule + .rule{border-top:2px solid #171615}
.rule:hover{background:rgba(255,72,27,.06);box-shadow:inset 3px 0 0 var(--red)}
.rule-num{
  flex:none;width:34px;height:34px;display:grid;place-items:center;
  font-family:var(--pixel);font-size:9px;line-height:1;
  color:#ff6d3a;
  background:#171615;
  border:2px solid #8f1f0b;
  transition:color .18s,border-color .18s;
}
.rule-main{flex:1;min-width:0}
.rule-head{display:flex;align-items:center;gap:8px;margin-bottom:3px}
.rule-icon{width:15px;height:15px;color:#ff6d3a;opacity:.9;transition:color .18s,opacity .18s}
.rule-cat{
  font-family:var(--mono);font-size:10.5px;letter-spacing:1.5px;
  color:var(--muted);
}
.rule p{font-size:14px;line-height:1.85;color:var(--text-2)}
.rule:hover .rule-num{color:#ff925b;border-color:var(--red)}
.rule:hover .rule-icon{color:#ff925b;opacity:1}

/* ------------------------------------------------------------
   9.3 非营利声明（金色主题）
   ------------------------------------------------------------ */
.section--gold{
  background:
    radial-gradient(680px 300px at 82% 10%,rgba(255,196,43,.1),transparent 65%),
    radial-gradient(520px 260px at 6% 92%,rgba(255,196,43,.05),transparent 60%);
}
.kicker--gold{color:var(--gold)}
.kicker--gold::before{background:var(--gold)}
.hl--gold{
  color:var(--gold);
  text-shadow:2px 2px 0 rgba(0,0,0,.45),0 0 40px rgba(255,196,43,.25);
}
.gold{color:var(--gold)}

.pledge{
  position:relative;
  display:grid;grid-template-columns:minmax(0,1fr) 220px;gap:26px;
  padding:32px 34px 30px;
  background:linear-gradient(180deg,#332e1d 0%,#262423 100%);
  border:2px solid #171615;
  box-shadow:inset 0 2px 0 rgba(255,196,43,.16),inset 0 -2px 0 rgba(0,0,0,.35);
}
.pledge::before{
  content:'';position:absolute;top:0;left:0;right:0;height:4px;
  background:var(--gold);
}
.pledge-body{min-width:0;order:1}
.pledge-item{
  display:flex;align-items:flex-start;gap:14px;
  padding:15px 18px;
  background:#171615;
  border:2px solid #4a3c18;
  transition:border-color .2s,background .2s;
}
.pledge-item + .pledge-item{margin-top:12px}
.pledge-item:hover{border-color:#b87918;background:#1d1a12}
.pledge-item p{font-size:13.5px;line-height:1.9;color:var(--text-2)}
.pledge-item b{color:#ffd953;font-weight:800}
.pledge-cube{
  flex:none;width:30px;height:30px;display:grid;place-items:center;margin-top:2px;
  font-family:var(--pixel);font-size:8px;line-height:1;color:#171615;
  background:var(--gold);
  border:2px solid #171615;
  box-shadow:
    inset 0 2px 0 rgba(255,255,255,.55),
    inset 0 -2px 0 rgba(0,0,0,.22);
}
.pledge-art{position:relative;display:grid;place-items:center;min-height:230px;order:2}
.pledge-art img{
  width:100%;max-width:200px;height:auto;
  filter:drop-shadow(0 20px 24px rgba(0,0,0,.55));
  animation:bob 7s ease-in-out infinite;
}
.pledge-spark{
  position:absolute;width:5px;height:5px;background:#ffd953;opacity:.75;
  animation:spark 3.2s steps(2,jump-none) infinite;
}
.pledge-spark--b{animation-delay:-1.1s;width:4px;height:4px}
.pledge-spark--c{animation-delay:-2.2s;width:6px;height:6px;opacity:.5}
.pledge-meta{
  margin-top:22px;padding-top:18px;
  border-top:2px solid #171615;
  font-family:var(--mono);font-size:12px;line-height:2.1;letter-spacing:.4px;
  color:var(--muted);
}
.pledge-meta p:first-child{color:var(--text-2)}

/* 声明区上方的分隔线用金色 */
.section--gold.section::before{
  background:repeating-linear-gradient(90deg,rgba(255,196,43,.45) 0 14px,transparent 14px 28px);
}

/* ------------------------------------------------------------
   10. 小游戏
   ------------------------------------------------------------ */
.games{display:grid;grid-template-columns:1.16fr 1fr;gap:16px;align-items:stretch}
.games-side{display:grid;grid-template-rows:1fr 1fr;gap:16px;min-width:0}
.game{
  position:relative;display:flex;flex-direction:column;min-width:0;
  background:linear-gradient(180deg,#2b2827 0%,#262423 100%);
  border:2px solid #171615;
  box-shadow:var(--shadow-card);
  transition:border-color .2s,box-shadow .2s;
}
/* 顶部色条保留各游戏的色彩身份（床=红 / 空岛=蓝 / 传送门=紫） */
.game::before{content:'';display:block;height:4px;flex:none}
.game--bed::before{background:linear-gradient(90deg,#8f1f0b,#e2635b)}
.game--sky::before{background:linear-gradient(90deg,#0d2942,#66bcd9)}
.game--portal::before{background:linear-gradient(90deg,#2a1d3e,#c084fc)}
.game:hover{border-color:#3c8527;box-shadow:var(--shadow-card-hover)}
.game--featured{display:flex;flex-direction:column}
.game--row{display:flex;flex-direction:column}
.game--row .game-body{padding:20px 22px;justify-content:center}
.game--row .game-body h3{font-size:17px}
.game--row .game-body p{font-size:13px;line-height:1.8}
.game--row .game-tags{margin-top:14px;padding-top:0}

.game-tag{
  display:inline-flex;align-items:center;gap:6px;
  margin-left:auto;
  padding:5px 9px;font-size:11px;font-weight:800;letter-spacing:.5px;
  color:#171615;
  background:var(--gold);
  border:2px solid #171615;
  box-shadow:inset 0 2px 0 rgba(255,255,255,.45),inset 0 -2px 0 rgba(0,0,0,.2);
}
.game-tag i{width:6px;height:6px;background:#171615;animation:pulse 2.2s infinite}
.game-tag--later{color:var(--text-2);background:#262423;border-color:#6b6562}
.game-tag--later i{background:var(--muted-2);animation:none}
.game-title-row .game-tag{flex:none}

.game-body{padding:24px;display:flex;flex-direction:column;flex:1;min-width:0}
.game-title-row{display:flex;align-items:baseline;gap:10px;flex-wrap:wrap;margin-bottom:9px}
.game-body h3{font-size:21px;font-weight:900;letter-spacing:-.01em}
.game-sub{font-family:var(--pixel);font-size:7px;line-height:1;color:var(--muted);white-space:nowrap}
.game-body p{font-size:13.5px;line-height:1.9;color:var(--muted);text-wrap:pretty}

.game-specs{
  list-style:none;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));
  margin-top:18px;border:2px solid #171615;background:#171615;
}
.game-specs li{padding:10px 12px;border-left:2px solid #3d3938;min-width:0}
.game-specs li:first-child{border-left:0}
.game-specs span{display:block;font-family:var(--mono);font-size:9.5px;letter-spacing:1px;color:var(--muted);margin-bottom:3px}
.game-specs b{font-size:12.5px;font-weight:700;color:var(--text-2)}

.game-foot{
  display:flex;align-items:center;justify-content:space-between;gap:12px;
  margin-top:20px;padding-top:16px;
  border-top:2px solid #171615;
}
.game-status{display:inline-flex;align-items:center;gap:7px;font-family:var(--mono);font-size:10.5px;letter-spacing:.4px;color:var(--gold)}
.game-status i{width:6px;height:6px;background:var(--gold);animation:pulse 2.2s infinite}
.game-link{
  display:inline-flex;align-items:center;gap:7px;
  font-size:12.5px;font-weight:800;color:var(--grass-2);
  text-decoration:none;transition:color .18s,gap .18s;
}
.game-link .icon{width:13px;height:13px}
.game-link:hover{color:#fff;gap:10px}
.game-tags{display:flex;flex-wrap:wrap;gap:6px;margin-top:14px}
.game-tags span{
  padding:4px 8px;font-family:var(--mono);font-size:10px;
  color:var(--muted);border:1px solid #3d3938;background:rgba(252,245,241,.02);
}

/* 小游戏：计划进度条 */
.road-progress{
  margin-top:26px;max-width:660px;
  padding:15px 18px 14px;
  background:#171615;
  border:2px solid #3d3938;
  box-shadow:inset 0 2px 0 rgba(255,255,255,.05);
}
.road-head{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-bottom:10px}
.road-title{font-family:var(--pixel);font-size:7.5px;line-height:1;color:var(--muted)}
.road-note{font-family:var(--mono);font-size:10.5px;color:var(--text-2)}
.road-bar{display:flex;gap:4px;height:14px}
.road-bar i{position:relative;flex:1;background:#2f2a3d;border:1px solid #4b3f63}
.road-bar i::after{
  content:'';position:absolute;inset:3px;
  background:repeating-linear-gradient(90deg,rgba(139,92,246,.45) 0 4px,transparent 4px 8px);
}
.road-bar i.is-live{background:#1f2b1b;border-color:#3c8527}
.road-bar i.is-live::after{background:linear-gradient(180deg,#86d562,#52a535)}
.road-legend{display:flex;flex-wrap:wrap;gap:6px 16px;margin-top:11px}
.road-legend span{display:inline-flex;align-items:center;gap:6px;font-family:var(--mono);font-size:10px;color:var(--muted)}
.road-legend i{width:6px;height:6px;flex:none;background:rgba(139,92,246,.8)}
.road-legend span:first-child i{background:var(--grass)}

/* 小游戏：规格图标与行卡底行 */
.game-specs b{display:flex;align-items:center;gap:6px}
.spec-ico{width:12px;height:12px;flex:none;color:var(--gold)}
.game-row-foot{
  display:flex;align-items:center;justify-content:space-between;gap:8px 12px;flex-wrap:wrap;
  margin-top:15px;padding-top:12px;
  border-top:2px solid #171615;
}
.game-prio{display:inline-flex;align-items:center;gap:7px;font-family:var(--mono);font-size:10px;color:var(--muted)}
.prio-bars{display:inline-flex;gap:3px}
.prio-bars i{width:9px;height:5px;background:var(--gold)}
.prio-bars i.off{background:#3d3938}
.game-status--purple{color:#c084fc}
.game-status--purple i{background:#c084fc}
.game-link--purple{color:#c084fc}
.game-link--purple:hover{color:#e9d5ff}

/* 小游戏：卡片 hover 动效 */
.game:hover{border-color:#3c8527}
.game--sky:hover{border-color:#1e6eea}
.game--portal:hover{border-color:#7a3fb0}
.game--featured .game-tag{animation:splash 1.6s steps(1,jump-none) infinite}
@keyframes splash{
  0%,100%{background:var(--gold)}
  50%{background:#fff27a}
}

/* 小游戏：区块漂浮像素 */
.coming-pixel{
  position:absolute;z-index:0;width:8px;height:8px;pointer-events:none;
  animation:floaty 7s ease-in-out infinite;
}
.coming-pixel--a{top:64px;right:60px;background:#8b5cf6;opacity:.5;box-shadow:18px 28px 0 rgba(139,92,246,.4);animation-delay:-2s}
.coming-pixel--b{top:200px;right:180px;width:6px;height:6px;background:var(--diamond);opacity:.35;box-shadow:24px -20px 0 rgba(74,213,255,.3);animation-delay:-4.2s}
.coming-pixel--c{bottom:130px;left:36px;width:5px;height:5px;background:var(--grass-2);opacity:.3;animation-delay:-1.2s}
@keyframes floaty{0%,100%{transform:translateY(0)}50%{transform:translateY(-12px)}}

/* ------------------------------------------------------------
   10.5 全宽加入横幅（背景图占位：/assets/img/banner-join.jpg）
   ------------------------------------------------------------ */
.banner{
  position:relative;overflow:hidden;
  border-top:2px solid #000;border-bottom:2px solid #000;
  padding:104px 28px;
  background:
    linear-gradient(180deg,rgba(10,13,10,.74) 0%,rgba(10,13,10,.42) 50%,rgba(10,13,10,.82) 100%),
    url('/assets/img/banner-join.jpg') center 40%/cover no-repeat,
    radial-gradient(1100px 480px at 50% 110%,rgba(108,195,73,.18),transparent 62%),
    linear-gradient(180deg,#15200f 0%,#0f150c 100%);
}
.banner-inner{
  max-width:1220px;margin:0 auto;
  display:flex;flex-direction:column;align-items:center;
  text-align:center;
}
.banner-inner .kicker{justify-content:center}
.banner h2{
  font-size:clamp(30px,4.6vw,52px);
  font-weight:900;line-height:1.2;letter-spacing:-.015em;
  text-shadow:3px 3px 0 rgba(0,0,0,.6);
}
.banner p{margin-top:14px;font-size:15px;color:var(--text-2);text-shadow:1px 1px 0 rgba(0,0,0,.5)}
.banner-actions{display:flex;align-items:center;justify-content:center;gap:14px;flex-wrap:wrap;margin-top:32px}
.banner-ip{
  font-family:var(--mono);font-size:16px;color:#fff;letter-spacing:.3px;
  padding:14px 18px;
  background:rgba(23,22,21,.85);
  border:2px solid #3d3938;
  word-break:break-all;
}

/* ------------------------------------------------------------
   11. 加入步骤
   ------------------------------------------------------------ */
.steps{
  list-style:none;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));
  border:2px solid #171615;
  background:linear-gradient(180deg,#2b2827 0%,#262423 100%);
  box-shadow:var(--shadow-card);
}
.step{
  position:relative;overflow:hidden;
  padding:26px 24px 28px;min-width:0;
  transition:background .2s;
}
.step + .step{border-left:2px solid #171615}
.step-top{display:flex;align-items:center;gap:12px;margin-bottom:18px;position:relative;z-index:1}
.step-ico{
  flex:none;width:38px;height:38px;display:grid;place-items:center;
  color:var(--grass-2);
  background:#171615;
  border:2px solid #3d3938;
  transition:color .18s,border-color .18s;
}
.step-ico .icon{width:19px;height:19px}
.step-ghost{
  position:absolute;right:8px;bottom:-14px;z-index:0;
  font-family:var(--pixel);font-size:72px;line-height:1;
  color:rgba(108,195,73,.07);pointer-events:none;
  transition:color .25s;
}
.step h3,.step p{position:relative;z-index:1}
.step:hover{background:rgba(108,195,73,.06)}
.step:hover .step-ico{color:#fff;border-color:#3c8527}
.step:hover .step-ghost{color:rgba(108,195,73,.12)}
.step-num{
  flex:none;width:40px;height:40px;display:grid;place-items:center;
  font-family:var(--pixel);font-size:10px;line-height:1;color:#171615;
  background:var(--grass-2);
  border:2px solid #171615;
  box-shadow:
    inset 0 3px 0 rgba(255,255,255,.45),
    inset 0 -3px 0 rgba(0,0,0,.2);
}
.step-line{flex:1;height:2px;background:repeating-linear-gradient(90deg,#3d3938 0 6px,transparent 6px 12px)}
.step:last-child .step-line{opacity:0}
.step h3{font-size:15.5px;font-weight:800;margin-bottom:7px}
.step p{font-size:13px;line-height:1.9;color:var(--muted)}
.step code{
  padding:1px 6px;font-size:12px;color:var(--grass-2);
  background:#171615;
  border:1px solid #3c8527;
}
.inline-ip{display:inline-flex;align-items:center;white-space:nowrap;max-width:100%}
.inline-ip code{overflow-wrap:anywhere}

.join-cta{
  position:relative;overflow:hidden;
  display:flex;align-items:center;justify-content:space-between;gap:26px;
  margin-top:20px;padding:30px 32px;
  background:
    radial-gradient(560px 200px at 88% 0%,rgba(108,195,73,.16),transparent 70%),
    linear-gradient(180deg,#2b2827 0%,#262423 100%);
  border:2px solid #3c8527;
  box-shadow:var(--shadow-card);
}
.join-cta::before{
  content:'';position:absolute;left:0;top:0;bottom:0;width:4px;
  background:var(--grass-3);
}
.join-cta h3{font-size:21px;font-weight:900;letter-spacing:-.01em}
.join-cta p{margin-top:6px;font-size:13px;color:var(--muted)}
.join-cta-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;flex:none}
.join-cta-actions .btn{min-width:190px}
.join-cta-ip{
  font-size:13px;color:var(--text-2);
  padding:11px 13px;
  background:#171615;
  border:2px solid #3d3938;
  word-break:break-all;
}

/* ------------------------------------------------------------
   12. 页脚
   ------------------------------------------------------------ */
.footer{
  position:relative;flex-shrink:0;
  margin-top:44px;
  border-top:2px solid #000;
  background:linear-gradient(180deg,#1d1b1a 0%,#0d0c0b 100%);
  padding:56px 28px 26px;
}
.footer::before{
  content:'';position:absolute;top:0;left:0;right:0;height:3px;
  background:repeating-linear-gradient(90deg,rgba(108,195,73,.4) 0 8px,transparent 8px 18px);
}
.footer-inner{
  max-width:1220px;margin:0 auto;
  display:grid;grid-template-columns:1.5fr .7fr 1fr;gap:44px;
}
.footer-brand p{max-width:360px;margin-top:16px;font-size:13.5px;line-height:1.9;color:var(--muted)}
.footer-status{
  display:inline-flex;align-items:center;gap:8px;margin-top:18px;
  padding:7px 10px;font-family:var(--mono);font-size:10.5px;color:var(--muted);
  border:1px solid #3d3938;background:#171615;
}
.footer-status .dot{width:6px;height:6px;background:var(--grass)}
.footer-status--gold{
  color:#ffd953;border-color:#4a3c18;background:#1d1a12;
}
.footer-status--gold i{
  width:6px;height:6px;flex:none;
  background:var(--gold);
}
.footer-col{display:flex;flex-direction:column;align-items:flex-start;gap:9px}
.footer-col h4{
  font-family:var(--pixel);font-size:8px;line-height:1.4;
  color:var(--muted);margin-bottom:7px;
}
.footer-col a{
  font-size:13px;color:var(--muted);text-decoration:none;
  transition:color .18s;
}
.footer-col a:hover{color:var(--grass-2)}
.footer-kv{font-size:12.5px;color:var(--muted);font-family:var(--mono)}
.footer-kv b{display:inline-block;min-width:34px;margin-right:8px;color:var(--muted);font-family:var(--sans);font-weight:600}
.footer-top-link{margin-top:8px;font-family:var(--mono);font-size:11.5px}
.footer-bottom{
  max-width:1220px;margin:42px auto 0;padding-top:20px;
  border-top:2px solid #262423;
  display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;
  font-size:11.5px;line-height:1.8;color:var(--muted);
}

/* ------------------------------------------------------------
   12.1 外链：主站 / QQ 群 / Discord
   蓝色与青→紫渐变来自主站，Discord 紫只出现在这两处
   ------------------------------------------------------------ */

.blue-link{
  color:var(--www-2);text-decoration:none;
  border-bottom:2px solid rgba(0,174,236,.5);
  transition:color .18s,border-color .18s;
}
.blue-link:hover{
  color:#fff;border-color:var(--www);
}

.nav-home,.community-join{
  display:inline-flex;align-items:center;gap:6px;flex:none;
  padding:8px 12px;
  font-size:12.5px;font-weight:800;line-height:1;white-space:nowrap;
  color:var(--www-2);text-decoration:none;
  background:#171615;
  border:2px solid rgba(0,174,236,.5);
  box-shadow:inset 0 2px 0 rgba(255,255,255,.06);
  transition:color .18s,background .18s,border-color .18s;
}
.nav-home .icon,.community-join .icon{width:13px;height:13px}
.nav-home:hover,.community-join:hover{
  color:#fff;background:#0a2c3b;border-color:var(--www);
}

.live-qq{color:var(--muted);text-decoration:none;transition:color .18s}
.live-qq code{color:var(--text-2);font-size:12.5px;letter-spacing:.3px;transition:color .18s}
.live-qq:hover,.live-qq:hover code{color:var(--www-2)}

.community{
  position:relative;
  display:flex;align-items:center;gap:18px;
  margin-top:14px;padding:18px 20px 18px 24px;
  background:linear-gradient(180deg,#2b2827 0%,#262423 100%);
  border:2px solid #171615;
  box-shadow:var(--shadow-card);
  scroll-margin-top:110px;
}
.community::before{
  content:'';position:absolute;left:0;top:0;bottom:0;width:4px;
  background:var(--www);
}
.community-ico{
  width:40px;height:40px;flex:none;display:grid;place-items:center;
  color:var(--www-2);
  background:#171615;
  border:2px solid rgba(0,174,236,.4);
}
.community-ico .icon{width:19px;height:19px}
.community-text{flex:1;min-width:0}
.community-text h3{font-size:15px;font-weight:800;line-height:1.5}
.community-text p{margin-top:3px;font-size:13px;line-height:1.8;color:var(--muted)}
.community-actions{display:flex;align-items:center;gap:10px;flex:none}
.community-num{display:flex;flex-direction:column;gap:6px;margin-right:4px}
.community-num code{font-size:16px;line-height:1.1;letter-spacing:.6px;color:#fff}
.community .ip-copy{color:#fff;background:#0a2c3b;border-color:rgba(0,174,236,.5);box-shadow:inset 0 3px 0 rgba(255,255,255,.1),inset 0 -3px 0 #06202b}
.community .ip-copy:hover{background:linear-gradient(0deg,rgba(255,255,255,.14),rgba(255,255,255,.14)),#0a2c3b}
.community-discord{
  color:var(--discord-2);
  background:#171615;
  border-color:rgba(88,101,242,.55);
}
.community-discord:hover{
  color:#fff;background:#1d2140;border-color:var(--discord);
}

.footer-site{
  display:inline-flex;align-items:center;gap:10px;flex-wrap:wrap;
  margin-top:14px;padding:9px 12px;max-width:360px;
  text-decoration:none;
  border:2px solid rgba(0,174,236,.45);
  background:#171615;
  transition:border-color .2s var(--ease),background .2s var(--ease);
}
.footer-site:hover{
  border-color:var(--www);
  background:#0a2c3b;
}
.footer-site-ico{
  width:9px;height:9px;flex:none;
  background:var(--www);
}
.footer-site-text{display:flex;flex-direction:column;gap:3px;min-width:0}
.footer-site-text b{font-size:12.5px;font-weight:700;color:var(--text-2)}
.footer-site-text code{font-family:var(--mono);font-size:11px;color:#7fe3ff;letter-spacing:.3px}
.footer-site .icon{width:15px;height:15px;flex:none;color:#7fe3ff;transition:transform .2s var(--ease)}
.footer-site:hover .icon{transform:translateX(2px)}

.footer-brand .footer-qq,.footer-brand .footer-discord{
  display:flex;align-items:center;gap:8px;flex-wrap:wrap;
  margin-top:10px;font-size:12.5px;color:var(--muted);
}
.footer-qq .icon,.footer-discord .icon{width:14px;height:14px;flex:none;color:var(--muted)}
.footer-qq a{
  font-family:var(--mono);color:var(--text-2);text-decoration:none;
  border-bottom:2px solid rgba(0,174,236,.5);
  transition:color .18s,border-color .18s;
}
.footer-qq a:hover{color:#7fe3ff;border-color:#7fe3ff}
.footer-discord a{
  font-family:var(--mono);font-size:11.5px;color:var(--text-2);text-decoration:none;
  border-bottom:2px solid rgba(88,101,242,.6);
  transition:color .18s,border-color .18s;
}
.footer-discord a:hover{color:var(--discord-2);border-color:var(--discord-2)}

/* ------------------------------------------------------------
   13. 回到顶部 / 移动端快捷栏
   ------------------------------------------------------------ */
.to-top{
  position:fixed;right:22px;bottom:22px;z-index:90;
  width:44px;height:44px;display:grid;place-items:center;
  color:#171615;cursor:pointer;
  background:var(--grass-2);
  border:2px solid #171615;
  box-shadow:
    inset 0 3px 0 rgba(255,255,255,.45),
    inset 0 -3px 0 rgba(0,0,0,.22);
  opacity:0;visibility:hidden;transform:translateY(12px);
  transition:opacity .22s,transform .22s,visibility .22s,background .18s;
}
.to-top .icon{width:16px;height:16px;transform:rotate(-90deg)}
.to-top.show{opacity:1;visibility:visible;transform:none}
.to-top:hover{background:#a0e081}
.to-top:active{background:var(--grass-3);box-shadow:none}

.hotbar{display:none;transform:translateY(130%);opacity:0;pointer-events:none;transition:transform .28s var(--ease),opacity .28s var(--ease)}
.hotbar.show{transform:none;opacity:1;pointer-events:auto}

/* ------------------------------------------------------------
   14. 动效
   ------------------------------------------------------------ */
.js .reveal{
  opacity:0;transform:translateY(22px);
  transition:opacity .6s var(--ease),transform .6s var(--ease);
}
.js .reveal.in{opacity:1;transform:none}
.bento .feature:nth-child(1){transition-delay:0s}
.bento .feature:nth-child(2){transition-delay:.06s}
.bento .feature:nth-child(3){transition-delay:.12s}
.bento .feature:nth-child(4),.steps .step:nth-child(2){transition-delay:.18s}
.bento .feature:nth-child(5),.steps .step:nth-child(3){transition-delay:.24s}
.steps .step:nth-child(4){transition-delay:.3s}

/* ------------------------------------------------------------
   15. 404 页面
   ------------------------------------------------------------ */
.page-404 .nav-links{opacity:.9}
.page-404{padding-bottom:0}
.err-wrap{
  position:relative;overflow:hidden;
  flex:1 0 auto;width:100%;
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  padding:clamp(60px,9vh,110px) 24px 90px;
  text-align:center;
}
.err-glow{
  position:absolute;top:-10%;left:50%;transform:translateX(-50%);
  width:820px;height:620px;pointer-events:none;
  background:radial-gradient(circle,rgba(108,195,73,.16),transparent 64%);
}
.err-scene{position:relative;z-index:1;margin-bottom:6px}
.err-code-row{
  position:relative;z-index:1;
  display:flex;align-items:center;justify-content:center;gap:clamp(4px,2vw,22px);
}
.err-mini-cube{
  width:clamp(52px,8vw,86px);height:auto;flex:none;
  filter:drop-shadow(0 14px 14px rgba(0,0,0,.5));
}
.err-mini-cube--left{margin-top:26px}
.err-mini-cube--right{margin-top:-18px}
.err-code{
  font-family:var(--pixel);
  font-size:clamp(58px,15vw,132px);
  line-height:1.05;
  color:var(--grass-2);
  text-shadow:
    5px 5px 0 rgba(0,0,0,.7),
    10px 10px 0 rgba(0,0,0,.25);
}
.err-kicker{
  display:inline-flex;align-items:center;gap:9px;
  margin:18px 0 16px;
  font-family:var(--pixel);font-size:8px;color:var(--muted);
}
.err-kicker .dot{background:var(--red);animation:none}
.err-title{
  position:relative;z-index:1;
  font-size:clamp(24px,4vw,36px);font-weight:900;letter-spacing:-.015em;
  text-shadow:2px 2px 0 rgba(0,0,0,.45);
}
.err-desc{
  position:relative;z-index:1;
  max-width:520px;margin-top:14px;
  color:var(--text-2);font-size:14.5px;line-height:1.95;
}
.err-actions{
  position:relative;z-index:1;
  display:flex;gap:13px;flex-wrap:wrap;justify-content:center;
  margin-top:32px;
}
.err-ip{
  position:relative;z-index:1;
  margin-top:28px;
  font-family:var(--mono);font-size:12px;letter-spacing:.6px;color:var(--muted);
}
.err-ip code{color:var(--text-2)}

/* ------------------------------------------------------------
   16. 无障碍：减少动效
   ------------------------------------------------------------ */
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  .js .reveal{opacity:1;transform:none;transition:none}
  *,*::before,*::after{
    animation-duration:.001ms !important;
    animation-iteration-count:1 !important;
    transition-duration:.001ms !important;
  }
  .feature:hover,.game:hover,.btn:active,.to-top:active{transform:none}
}

/* ------------------------------------------------------------
   17. 响应式
   ------------------------------------------------------------ */
@media (max-width:1080px){
  .nav-links a{padding:10px 10px;font-size:13px}
  .hero-inner{gap:24px}
  .footer-inner{grid-template-columns:1.4fr .7fr 1fr;gap:30px}
}

@media (max-width:980px){
  .hero{padding:110px 0 190px;min-height:640px}
  .hero-inner{max-width:660px;margin:0;padding:0 28px}
  .hero h1{font-size:clamp(36px,7vw,58px)}
  .hero-lede{max-width:600px}
  .bento{grid-template-columns:repeat(4,minmax(0,1fr))}
  .feature--wide{grid-column:span 4}
  .feature--sm{grid-column:span 4}
  .games{grid-template-columns:1fr}
  .games-side{grid-template-columns:1fr 1fr;grid-template-rows:none}
  .terrain{height:148px}
  .steps{grid-template-columns:repeat(2,minmax(0,1fr))}
  .step:nth-child(3){border-left:0;border-top:2px solid #171615}
  .step:nth-child(4){border-top:2px solid #171615}
  .join-cta{flex-direction:column;align-items:flex-start}
  .pledge{grid-template-columns:1fr;gap:20px}
  .pledge-art{display:none}
  .footer-inner{grid-template-columns:1fr 1fr;gap:32px}
  .footer-brand{grid-column:span 2}
}

@media (max-width:860px){
  :root{--nav-h:64px}
  body{padding-bottom:78px;background-attachment:scroll}
  .nav-inner{padding:0 18px}
  .nav-links{display:none}
  .nav-live{display:none}
  .nav-actions{margin-left:auto}
  .section{padding:76px 20px}
  .section-head{margin-bottom:32px}
  .hero{padding:96px 0 160px}
  .hero-inner{padding:0 20px}
  .server-tools{gap:8px}
  .announce-inner{padding:9px 20px;gap:10px}
  .announce-badge{padding:4px 6px;font-size:7px}
  .server-entry{grid-template-columns:auto minmax(0,1fr);gap:14px;padding:20px}
  .server-side{grid-column:1 / -1;flex-direction:row;align-items:center;justify-content:space-between}
  .stat-grid{grid-template-columns:1fr}
  .stat + .stat{border-left:0;border-top:2px solid #171615}
  .stat{padding:18px 20px}
  .stat-value{font-size:23px}
  .players-panel{padding:20px}
  /* 移动端无顶部导航可用，快捷栏常驻：忽略 .show 隐藏态 */
  .hotbar{
    display:flex;position:fixed;left:12px;right:12px;bottom:12px;z-index:95;
    padding:6px;
    background:#1d1b1a;
    border:2px solid #000;
    box-shadow:0 10px 24px -6px rgba(0,0,0,.85),inset 0 2px 0 rgba(255,255,255,.07);
    transform:none;opacity:1;pointer-events:auto;
  }
  .hotbar a{
    flex:1;display:flex;flex-direction:column;align-items:center;gap:5px;
    padding:7px 2px 5px;font-size:10px;color:var(--muted);text-decoration:none;
    border:2px solid transparent;
    transition:background .18s,color .18s,border-color .18s;
  }
  .hotbar a .icon{width:20px;height:20px;color:var(--muted);transition:color .18s}
  .hotbar a:hover,.hotbar a:active{background:#262423;color:var(--text)}
  .hotbar a.active{background:var(--grass-3);color:#fff;border-color:#000}
  .hotbar a.active .icon{color:#fff}
  .to-top{bottom:86px;right:16px;width:40px;height:40px}
  .footer{padding:44px 20px 24px}
  .community{flex-wrap:wrap}
  .community-actions{width:100%;padding-left:58px}
}

@media (max-width:720px){
  .brand-sub{display:none}
  .brand-name{font-size:9px}
  .brand-logo{width:32px;height:32px}
  .hero{padding:72px 0 150px}
  .eyebrow{font-size:9px;gap:9px;margin-bottom:16px}
  .hero h1{font-size:clamp(30px,8.4vw,44px);margin-bottom:16px}
  .hero-lede{font-size:14px;line-height:1.9}
  .ip-card{margin-top:24px;padding:12px 12px 12px 15px}
  .ip-icon{display:none}
  .ip-label{font-size:6.5px}
  .ip-value{font-size:13.5px}
  .ip-copy{padding:7px 9px;font-size:11px}
  .hero-actions{gap:10px}
  .hero-actions .btn{flex:1;min-width:0;padding:12px 14px;font-size:13px}
  .hero-quiet-link{flex-basis:100%;text-align:center}
  .hero-live{margin-top:20px;font-size:12px}
  .cube-gold{display:none}
  .terra-prop--tree1,.terra-prop--tree3{display:none}
  .terra-prop--tree2{width:34px}
  .terra-prop--t1,.terra-prop--t2{width:18px}
  .terra-glow{width:44px;height:44px}
  .terrain{height:120px}
  .section{padding:62px 16px}
  .section-head h2{font-size:clamp(23px,7vw,32px)}
  .section-head p{font-size:13.5px}
  .banner{padding:72px 20px}
  .banner-ip{width:100%}
  .console-updated{font-size:10px}
  .server-icon{width:52px;height:52px}
  .server-name{font-size:16px}
  .server-motd{font-size:12.5px}
  .bento{grid-template-columns:1fr;gap:14px}
  .feature--wide,.feature--sm{grid-column:span 1}
  .feature--wide{padding:26px}
  .plugin-grid{grid-template-columns:1fr;gap:14px}
  .plugin{padding:22px 20px 20px}
  .announce-inner{flex-wrap:wrap;row-gap:6px;font-size:12px;line-height:1.7}
  .announce a{margin-left:0;white-space:normal}
  .rules-bar{padding:11px 14px}
  .rule{gap:12px;padding:14px 16px}
  .rule-num{width:30px;height:30px;font-size:8px}
  .rule p{font-size:13.5px}
  .rule-icon{width:14px;height:14px}
  .rule-cat{font-size:10px;letter-spacing:1px}
  .step-ghost{font-size:46px;bottom:-10px;right:6px}
  .pledge{padding:24px 20px 22px}
  .pledge-item{padding:13px 14px}
  .pledge-item p{font-size:13px}
  .pledge-meta{font-size:11px}
  .games{grid-template-columns:1fr}
  .games-side{grid-template-columns:1fr}
  .game-specs li{padding:9px 10px}
  .game-row-foot{margin-top:12px;padding-top:10px}
  .road-legend{gap:5px 12px}
  .coming-pixel{display:none}
  .steps{grid-template-columns:1fr}
  .step + .step{border-left:0;border-top:2px solid #171615}
  .step{padding:22px 20px}
  .step-line{display:none}
  .join-cta{padding:24px 20px;gap:18px}
  .join-cta h3{font-size:18px}
  .join-cta-actions{width:100%}
  .join-cta-ip{width:100%}
  .join-cta-actions .btn{width:100%}
  .footer-inner{grid-template-columns:1fr;gap:30px}
  .footer-brand{grid-column:span 1}
  .footer-bottom{flex-direction:column;gap:6px;font-size:11px}
  .err-desc{font-size:13.5px}
  .err-actions .btn{width:100%}
  .err-actions{width:100%;max-width:340px}
  .community{gap:14px;padding:18px 16px 18px 20px}
  .community-ico{width:34px;height:34px}
  .community-text h3{font-size:14.5px}
  .community-text p{font-size:12.5px}
  .community-actions{padding-left:0;flex-wrap:wrap}
  .community-num{flex:1 0 auto}
}

@media (max-width:420px){
  .brand-name{font-size:8px}
  .brand-logo{width:30px;height:30px}
  .nav-actions .btn{padding:8px 10px;font-size:11.5px}
  .nav-actions .btn .icon{display:none}
  .ip-card{flex-wrap:wrap}
  .ip-copy{width:100%;justify-content:center}
  .hero h1{font-size:clamp(27px,9vw,38px)}
  .hero-live .live-sep{display:none}
  .server-entry{padding:18px 16px}
  .stat{padding:16px 18px}
  .players-panel{padding:18px 16px}
  .player-chip{font-size:12px}
  .step{padding:20px 17px}
  .step-ghost{font-size:38px;bottom:-8px;right:5px}
  .footer{padding:40px 16px 22px}
  .nav-home{padding:8px 9px}
  .nav-home .icon{display:none}
  .community .ip-copy{width:auto}
}

/* 打印 */
@media print{
  .nav,.hotbar,.to-top,.scroll-progress,.terrain,.announce,.pledge-art,.step-ghost,.terra-prop,.terra-glow,.coming-pixel{display:none !important}
  .rules::after{display:none}
  body{background:#fff;color:#000}
  .section{padding:20px 0;border:0}
  .console,.feature,.plugin,.game,.steps,.join-cta,.rules,.pledge{box-shadow:none}
}

/* ------------------------------------------------------------
   18. 浅色模式（覆盖层）
   深色为基准样式，首次访问默认深色；<html data-theme="light|dark">
   表示实际外观，<html data-theme-pref="light|system|dark"> 表示用户偏好（含跟随系统）。
   切换逻辑见 js/theme.js。
   只覆盖颜色与贴图，形状 / 间距 / 字号沿用上面的深色规则。
   约定：
   - --grass-2 在浅底上作强调文字，故换成深绿；仅有的几个
     “绿底 + 深字”组件在下方单独改为白字
   - 金色保持亮色（作为底色使用），金色文字单独用 --gold-ink
   ------------------------------------------------------------ */
:root[data-theme="light"]{
  /* 中性阶梯 */
  --bg:#f4efe9;
  --panel:#fffdfb;
  --panel-2:#e7dfd7;
  --line-2:#b9aea5;

  /* 绿色阶梯：浅底上加深保证对比 */
  --grass:#4f9a34;
  --grass-2:#2f7a1e;
  --grass-3:#3f8a28;
  --grass-ink:#2a641c;

  /* 强调色（浅底加深） */
  --torch:#b46a00;
  --diamond:#0b7ea0;
  --red:#d63a10;

  /* 文本 */
  --text:#1d1b1a;
  --text-2:#453f3b;
  --muted:#6c635e;
  --muted-2:#9a9089;

  /* 金色文字（金色作为底色时仍用 --gold） */
  --gold-ink:#8a5e00;

  /* 外链身份色：浅底加深 */
  --www:#0076a3;
  --www-2:#0076a3;
  --discord:#4b57d6;
  --discord-2:#4652c9;

  --ore-border:2px solid #171615;
  --ore-focus:0 0 0 2px #1157be,0 0 0 3px #fff;
  --shadow-card:inset 0 2px 0 rgba(255,255,255,.9),inset 0 -2px 0 rgba(0,0,0,.12);
  --shadow-card-hover:inset 0 2px 0 rgba(255,255,255,.9),inset 0 -2px 0 rgba(0,0,0,.18);
}

html[data-theme="light"]{
  color-scheme:light;
}

/* 基础 */
html[data-theme="light"] body{
  background-image:
    radial-gradient(900px 520px at 84% -6%,rgba(63,138,40,.07),transparent 62%),
    radial-gradient(760px 460px at 4% 4%,rgba(23,22,21,.05),transparent 60%),
    linear-gradient(rgba(23,22,21,.035) 1px,transparent 1px),
    linear-gradient(90deg,rgba(23,22,21,.035) 1px,transparent 1px);
}
html[data-theme="light"] ::selection{background:rgba(108,195,73,.35);color:#171615}
html[data-theme="light"] ::-webkit-scrollbar-track{background:#e7dfd7;border-left-color:#d8cec5}
html[data-theme="light"] ::-webkit-scrollbar-thumb{background:#c3b8ae;border-color:#e7dfd7}
html[data-theme="light"] ::-webkit-scrollbar-thumb:hover{background:#a89d93}

html[data-theme="light"] .scroll-progress{background:#ddd3c9}
html[data-theme="light"] .scroll-progress span{background:linear-gradient(180deg,#52a535,#2f7a1e)}

/* 顶部声明条：浅金调 */
html[data-theme="light"] .announce{
  background:
    repeating-conic-gradient(rgba(255,196,43,.09) 0% 25%,transparent 0% 50%),
    linear-gradient(180deg,#fdf6e0 0%,#f7eedd 100%);
  box-shadow:inset 0 2px 0 rgba(255,196,43,.4),inset 0 -2px 0 rgba(0,0,0,.1);
}
html[data-theme="light"] .announce b,
html[data-theme="light"] .announce a{color:var(--gold-ink)}
html[data-theme="light"] .announce a{border-bottom-color:rgba(138,94,0,.5)}
html[data-theme="light"] .announce a:hover{color:#6d4a00;border-bottom-color:#6d4a00}

/* 状态灯 */
html[data-theme="light"] .dot{background:#b9aea5}
html[data-theme="light"] .dot.on{box-shadow:inset 0 0 0 1px rgba(0,0,0,.35),0 0 10px rgba(79,154,52,.55)}
html[data-theme="light"] .dot.off{box-shadow:inset 0 0 0 1px rgba(0,0,0,.35),0 0 10px rgba(214,58,16,.45)}

/* 按钮 */
html[data-theme="light"] .btn-ghost{
  color:var(--text);
  box-shadow:inset 0 6px 0 rgba(255,255,255,.7),inset 0 -6px 0 #cfc4ba;
}
html[data-theme="light"] .btn-ghost:active{background:#d8cec5;color:var(--text)}
html[data-theme="light"] .icon-btn{
  color:var(--text-2);
  box-shadow:inset 0 2px 0 rgba(255,255,255,.7),inset 0 -2px 0 rgba(0,0,0,.12);
}
html[data-theme="light"] .icon-btn:hover{color:var(--text)}
html[data-theme="light"] .icon-btn:active{background:#d8cec5;box-shadow:none}
html[data-theme="light"] .copy-mini{color:#fff}
html[data-theme="light"] .copy-mini:hover{background:#2f7a1e}

/* 主题切换按钮：按用户偏好显示 浅色 / 跟随系统 / 深色 对应图标 */
.theme-ico{display:none}
html[data-theme-pref="light"] .theme-ico--sun,
html[data-theme-pref="system"] .theme-ico--monitor,
html[data-theme-pref="dark"] .theme-ico--moon{display:block}

/* 导航 */
html[data-theme="light"] .nav{
  background:rgba(252,248,244,.94);
  border-bottom-color:#171615;
  box-shadow:inset 0 -2px 0 rgba(0,0,0,.08);
}
html[data-theme="light"] .nav.scrolled{
  background:#f4efe9;
  box-shadow:inset 0 -2px 0 rgba(63,138,40,.35),0 6px 18px -12px rgba(0,0,0,.4);
}
html[data-theme="light"] .nav-links a:hover{border-color:#171615}
html[data-theme="light"] .nav-links a.active{
  color:#fff;
  box-shadow:inset 0 2px 0 rgba(255,255,255,.25),inset 0 -2px 0 var(--grass-ink);
}

/* Hero：hero.jpg 是明亮的服内实景，浅色模式改用白纱压底 + 深字 */
html[data-theme="light"] .hero{
  background:
    linear-gradient(180deg,rgba(247,242,236,.6) 0%,rgba(247,242,236,.4) 40%,rgba(244,239,233,.92) 80%,var(--bg) 100%),
    url('/assets/img/hero.jpg') center 32%/cover no-repeat,
    linear-gradient(180deg,#f7f2ec 0%,#eae3da 100%);
}
html[data-theme="light"] .hero h1{text-shadow:0 1px 0 rgba(255,255,255,.6),0 2px 18px rgba(255,255,255,.35)}
html[data-theme="light"] .hero h1 .hl{text-shadow:0 1px 0 rgba(255,255,255,.6),0 0 34px rgba(79,154,52,.25)}
html[data-theme="light"] .hero-lede,
html[data-theme="light"] .hero-quiet-link{text-shadow:none}
html[data-theme="light"] .hero-quiet-link:hover{color:var(--text)}
html[data-theme="light"] .ip-card{
  background:var(--panel);
  box-shadow:inset 0 2px 0 rgba(255,255,255,.9),inset 0 -2px 0 rgba(0,0,0,.12);
}
html[data-theme="light"] .ip-icon{
  background:#efe8e1;
  border-color:#cfc4ba;
  box-shadow:inset 0 2px 0 rgba(255,255,255,.8);
}
html[data-theme="light"] .ip-value{color:var(--text)}

/* 地面剪影：浅底上用中灰投影 */
html[data-theme="light"] .terra-prop{filter:brightness(.55) saturate(.9)}

/* 区块标题 */
html[data-theme="light"] .section-head h2{text-shadow:0 1px 0 rgba(255,255,255,.7)}

/* 状态控制台 */
html[data-theme="light"] .console{
  background:linear-gradient(180deg,#fffdfb 0%,#f7f1ea 100%);
  box-shadow:inset 0 2px 0 rgba(255,255,255,.9),inset 0 -2px 0 rgba(0,0,0,.14),0 24px 44px -30px rgba(0,0,0,.35);
}
html[data-theme="light"] .console-updated.is-error{color:var(--red)}
html[data-theme="light"] .server-entry{border-bottom-color:#171615}
html[data-theme="light"] .server-name{color:var(--text)}
html[data-theme="light"] .version-pill{color:#fff;background:var(--grass-2)}
html[data-theme="light"] .edition-pill{
  color:var(--diamond);
  background:rgba(11,126,160,.08);
}
html[data-theme="light"] .stat{background:rgba(23,22,21,.02)}
html[data-theme="light"] .stat-value{color:var(--text)}
html[data-theme="light"] .stat-copy:hover .stat-value--ip code{color:var(--grass-3)}
html[data-theme="light"] .player-chip{
  background:#f2ebe4;
  border-color:#cfc4ba;
  box-shadow:inset 0 2px 0 rgba(255,255,255,.8);
}
html[data-theme="light"] .player-chip:hover{color:var(--text)}
html[data-theme="light"] .player-avatar{background:#e7dfd7;box-shadow:inset 0 0 0 1px rgba(0,0,0,.25)}

/* 生存服特色 */
html[data-theme="light"] .feature{
  background:linear-gradient(180deg,#fffdfb 0%,#f7f1ea 100%);
}
html[data-theme="light"] .feature:hover{
  background:linear-gradient(180deg,#fffdfb 0%,#f2ece4 100%);
}
html[data-theme="light"] .icon-tile{
  background:linear-gradient(180deg,#eef7e7 0%,#dfeed4 100%);
  border-color:#b9cfa8;
  box-shadow:inset 0 2px 0 rgba(255,255,255,.8),inset 0 -2px 0 rgba(0,0,0,.08);
}
html[data-theme="light"] .icon-tile--gold{
  color:#8a5e00;border-color:#dcc27e;
  background:linear-gradient(180deg,#fdf3d6 0%,#f7ead0 100%);
}
html[data-theme="light"] .icon-tile--diamond{
  color:var(--diamond);border-color:#9cc4d2;
  background:linear-gradient(180deg,#e6f4f9 0%,#dceef5 100%);
}
html[data-theme="light"] .icon-tile--torch{
  color:var(--torch);border-color:#d9b98a;
  background:linear-gradient(180deg,#fdf0dd 0%,#f7e8d0 100%);
}
html[data-theme="light"] .feature-line{background:rgba(23,22,21,.02)}
html[data-theme="light"] .feature--copy{
  background:
    linear-gradient(180deg,rgba(108,195,73,.14) 0%,rgba(255,253,251,.4) 55%),
    linear-gradient(180deg,#f4f8ef 0%,#f7f1ea 100%);
}
html[data-theme="light"] .feature-ip{
  background:#f2ebe4;
  border-color:#cfc4ba;
  color:var(--grass-2);
}

/* 插件卡片 */
html[data-theme="light"] .plugin{background:linear-gradient(180deg,#fffdfb 0%,#f7f1ea 100%)}
html[data-theme="light"] .plugin-num{
  color:var(--grass-2);
  background:#f2ebe4;
}
html[data-theme="light"] .plugin p code{
  background:#f2ebe4;
  border-color:#3f8a28;
}

/* 规则 */
html[data-theme="light"] .rules{background:linear-gradient(180deg,#fffdfb 0%,#f7f1ea 100%)}
html[data-theme="light"] .rules-bar{
  background:#f2ebe4;
  border-bottom-color:#171615;
}
html[data-theme="light"] .rules-title{color:var(--muted)}
html[data-theme="light"] .rules-title .icon{color:var(--red)}
html[data-theme="light"] .rule-num{color:var(--red);background:#f2ebe4}
html[data-theme="light"] .rule:hover .rule-num{color:var(--red)}
html[data-theme="light"] .rule:hover .rule-icon{color:var(--red)}

/* 非营利声明 */
html[data-theme="light"] .pledge{
  background:linear-gradient(180deg,#fdf6e0 0%,#f7f1ea 100%);
  box-shadow:inset 0 2px 0 rgba(255,196,43,.35),inset 0 -2px 0 rgba(0,0,0,.12);
}
html[data-theme="light"] .pledge-item{
  background:#fffdf7;
  border-color:#e6d5a3;
}
html[data-theme="light"] .pledge-item:hover{background:#fdf3d6;border-color:#d3b96a}
html[data-theme="light"] .pledge-item b{color:var(--gold-ink)}
html[data-theme="light"] .kicker--gold,
html[data-theme="light"] .hl--gold,
html[data-theme="light"] .gold{color:var(--gold-ink)}
html[data-theme="light"] .hl--gold{text-shadow:none}

/* 小游戏卡片 */
html[data-theme="light"] .game{background:linear-gradient(180deg,#fffdfb 0%,#f7f1ea 100%)}
html[data-theme="light"] .game-tag--later{color:var(--text-2);background:#e7dfd7;border-color:#a89d93}
html[data-theme="light"] .game-specs{
  background:#f2ebe4;
  border-color:#171615;
}
html[data-theme="light"] .game-specs li{border-left-color:#d8cec5}
html[data-theme="light"] .game-tags span{
  border-color:#cfc4ba;
  background:rgba(23,22,21,.02);
}
html[data-theme="light"] .game-status,
html[data-theme="light"] .spec-ico{color:var(--gold-ink)}
html[data-theme="light"] .game-status i{background:var(--gold-ink)}
html[data-theme="light"] .game-status--purple,
html[data-theme="light"] .game-link--purple{color:#7c3aed}
html[data-theme="light"] .game-status--purple i{background:#7c3aed}
html[data-theme="light"] .game-link:hover{color:var(--grass-3)}
html[data-theme="light"] .game-link--purple:hover{color:#6d28d9}
html[data-theme="light"] .road-progress{
  background:#f2ebe4;
  border-color:#cfc4ba;
  box-shadow:inset 0 2px 0 rgba(255,255,255,.8);
}
html[data-theme="light"] .road-bar i{background:#efe6f7;border-color:#c9b3e6}
html[data-theme="light"] .road-bar i.is-live{background:#e2efdb;border-color:#3f8a28}
html[data-theme="light"] .road-legend i{background:rgba(124,58,237,.65)}
html[data-theme="light"] .prio-bars i{background:var(--gold-ink)}
html[data-theme="light"] .prio-bars i.off{background:#cfc4ba}

/* 加入横幅：明亮的 banner-join.jpg，浅色模式改白纱 + 深字 */
html[data-theme="light"] .banner{
  background:
    linear-gradient(180deg,rgba(247,242,236,.62) 0%,rgba(247,242,236,.38) 45%,rgba(244,239,233,.88) 100%),
    url('/assets/img/banner-join.jpg') center 40%/cover no-repeat,
    linear-gradient(180deg,#f7f2ec 0%,#eee7dd 100%);
}
html[data-theme="light"] .banner h2{text-shadow:0 1px 0 rgba(255,255,255,.7)}
html[data-theme="light"] .banner p{text-shadow:none}
html[data-theme="light"] .banner-ip{
  color:var(--text);
  background:rgba(255,253,251,.85);
  border-color:#cfc4ba;
}

/* 加入步骤 */
html[data-theme="light"] .steps{background:linear-gradient(180deg,#fffdfb 0%,#f7f1ea 100%)}
html[data-theme="light"] .step-ico{
  background:#f2ebe4;
  border-color:#cfc4ba;
}
html[data-theme="light"] .step:hover .step-ico{color:var(--grass-3)}
html[data-theme="light"] .step-ghost{color:rgba(47,122,30,.08)}
html[data-theme="light"] .step:hover .step-ghost{color:rgba(47,122,30,.14)}
html[data-theme="light"] .step-num{color:#fff}
html[data-theme="light"] .step-line{background:repeating-linear-gradient(90deg,#cfc4ba 0 6px,transparent 6px 12px)}
html[data-theme="light"] .step code{
  background:#f2ebe4;
  border-color:#3f8a28;
}
html[data-theme="light"] .join-cta{
  background:
    radial-gradient(560px 200px at 88% 0%,rgba(108,195,73,.14),transparent 70%),
    linear-gradient(180deg,#f4f8ef 0%,#f7f1ea 100%);
}
html[data-theme="light"] .join-cta-ip{
  background:#f2ebe4;
  border-color:#cfc4ba;
}

/* 页脚 */
html[data-theme="light"] .footer{
  background:linear-gradient(180deg,#faf5ef 0%,#efe8e0 100%);
  border-top-color:#171615;
}
html[data-theme="light"] .footer-brand p{color:var(--muted)}
html[data-theme="light"] .footer-status{
  border-color:#cfc4ba;
  background:#f2ebe4;
}
html[data-theme="light"] .footer-status--gold{
  color:var(--gold-ink);
  border-color:#e6d5a3;
  background:#fdf3d6;
}
html[data-theme="light"] .footer-bottom{border-top-color:#ddd3c9}
html[data-theme="light"] .blue-link{border-bottom-color:rgba(0,118,163,.5)}
html[data-theme="light"] .blue-link:hover{color:var(--text)}

/* 外链（主站蓝 / Discord 紫） */
html[data-theme="light"] .nav-home,
html[data-theme="light"] .community-join{
  background:#fffdfb;
  border-color:rgba(0,118,163,.55);
}
html[data-theme="light"] .nav-home:hover,
html[data-theme="light"] .community-join:hover{
  color:#006b93;
  background:#e6f4f9;
  border-color:var(--www);
}
html[data-theme="light"] .community{background:linear-gradient(180deg,#fffdfb 0%,#f7f1ea 100%)}
html[data-theme="light"] .community-ico{
  background:#e6f4f9;
  border-color:rgba(0,118,163,.45);
}
html[data-theme="light"] .community-num code{color:var(--text)}
html[data-theme="light"] .community-discord{
  background:#fffdfb;
  border-color:rgba(75,87,214,.55);
}
html[data-theme="light"] .community-discord:hover{
  color:var(--discord);
  background:#eceefc;
  border-color:var(--discord);
}
html[data-theme="light"] .community .ip-copy{color:#fff}
html[data-theme="light"] .footer-site{
  background:#fffdfb;
  border-color:rgba(0,118,163,.45);
}
html[data-theme="light"] .footer-site:hover{background:#e6f4f9}
html[data-theme="light"] .footer-site-text b{color:var(--text-2)}
html[data-theme="light"] .footer-site-text code,
html[data-theme="light"] .footer-site .icon{color:#0076a3}
html[data-theme="light"] .footer-qq a:hover{color:#0076a3;border-color:#0076a3}
html[data-theme="light"] .footer-discord a:hover{color:var(--discord);border-color:var(--discord)}

/* 回到顶部 / 移动端快捷栏 */
html[data-theme="light"] .to-top{color:#fff}
html[data-theme="light"] .to-top:hover{background:#2f7a1e}
html[data-theme="light"] .to-top:active{background:var(--grass-ink)}
html[data-theme="light"] .hotbar a{
  color:var(--muted);
}
html[data-theme="light"] .hotbar a:hover,
html[data-theme="light"] .hotbar a:active{background:#e7dfd7;color:var(--text)}
html[data-theme="light"] .hotbar a.active{background:var(--grass-3);color:#fff;border-color:#171615}
html[data-theme="light"] .hotbar a.active .icon{color:#fff}

/* 404 页 */
html[data-theme="light"] .err-glow{background:radial-gradient(circle,rgba(108,195,73,.18),transparent 64%)}
html[data-theme="light"] .err-code{
  color:var(--grass-3);
  text-shadow:3px 3px 0 rgba(255,255,255,.8),6px 6px 0 rgba(23,22,21,.12);
}
html[data-theme="light"] .err-title{text-shadow:0 1px 0 rgba(255,255,255,.7)}
