@import url('https://fonts.googleapis.com/css2?family=Chakra+Petch:wght@300;400;500;600;700&family=Russo+One&display=swap');
:root{
  --neon:#69ff69;
  --cyan:#00ffff;
  --ink:#172617;
  --edge:rgba(105,255,105,.34);
  --edge2:rgba(0,255,255,.3);
  --glass:linear-gradient(158deg,rgba(255,255,255,.1),rgba(105,255,105,.05) 55%,rgba(0,255,255,.06));
  --chrome:linear-gradient(158deg,#ffffff 0%,#d6ecf7 20%,#8ea6b5 42%,#f7feff 60%,#9fe0c5 82%,#e9ffff 100%);
  --glow:0 0 18px rgba(0,255,255,.45);
}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{
  margin:0;min-height:100vh;overflow-x:hidden;
  font-family:'Chakra Petch','PingFang SC','Hiragino Sans GB','Microsoft YaHei',system-ui,sans-serif;
  font-size:16px;line-height:1.78;color:#e8ffe8;
  background-color:#0b140b;
  background-image:
    radial-gradient(900px 460px at 10% -10%,rgba(105,255,105,.24),transparent 62%),
    radial-gradient(820px 430px at 92% 2%,rgba(0,255,255,.2),transparent 60%),
    linear-gradient(180deg,#172617 0%,#0c160c 55%,#070f07 100%);
  background-repeat:no-repeat;
}
img{display:block;max-width:100%;height:auto}
a{color:#9ff9ff;text-underline-offset:3px}
a:hover{color:#fff}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
h1,h2,h3{font-family:'Russo One','PingFang SC','Microsoft YaHei',system-ui,sans-serif;line-height:1.24;letter-spacing:.02em;margin:0 0 .5em}
h1,h2{background:var(--chrome);-webkit-background-clip:text;background-clip:text;color:transparent;filter:drop-shadow(0 0 10px rgba(0,255,255,.38))}
h1{font-size:clamp(1.85rem,6.2vw,3.4rem);word-break:break-word}
h2{font-size:clamp(1.3rem,3.4vw,1.75rem)}
.eyebrow{display:block;font-size:16px;letter-spacing:.3em;color:#7ffff0;text-shadow:0 0 10px rgba(0,255,255,.6);margin-bottom:.35em}
[id]{scroll-margin-top:120px}

/* ---------- 导航 ---------- */
.dock{
  position:sticky;top:0;z-index:60;display:flex;align-items:center;gap:10px;
  padding:8px 12px;background:rgba(16,30,16,.78);
  backdrop-filter:blur(14px) saturate(170%);
  border-bottom:1px solid var(--edge);
  box-shadow:0 1px 0 rgba(0,255,255,.28),0 12px 28px rgba(0,0,0,.5);
}
.brand{flex:0 0 auto;text-decoration:none;display:block}
.mark{
  display:grid;place-items:center;width:44px;height:44px;border-radius:12px;overflow:hidden;
  background:linear-gradient(145deg,#e8f9ff,#9fb6c4 40%,#5d707d 62%,#f0ffff);
  box-shadow:inset 0 1px 0 #fff,0 0 14px rgba(0,255,255,.55);
}
.mark img{width:100%;height:100%;object-fit:cover}
.mark svg{width:34px;height:34px}
.mark-sm{width:36px;height:36px;border-radius:10px}
.mark-sm svg{width:26px;height:26px}
.links{
  display:flex;gap:4px;flex:1 1 auto;min-width:0;margin:0;padding:2px;
  list-style:none;overflow-x:auto;scrollbar-width:none;
}
.links::-webkit-scrollbar{display:none}
.links li{flex:0 0 auto}
.links a{
  display:inline-flex;align-items:center;gap:6px;min-height:44px;padding:6px 11px;
  font-size:16px;line-height:1.2;color:#ceffd8;text-decoration:none;white-space:nowrap;
  border:1px solid transparent;border-radius:4px;transition:background .25s,color .25s,box-shadow .25s,transform .25s;
}
.links svg{width:13px;height:13px;opacity:.85;flex:0 0 auto}
.links a:hover,.links a:focus-visible{
  color:#0b140b;border-color:#eaffea;transform:translateY(-1px);
  background:linear-gradient(135deg,var(--neon),var(--cyan));box-shadow:var(--glow);
}
.find{display:none;align-items:center;gap:6px;flex:0 0 auto}
.find input{
  width:130px;min-height:40px;padding:6px 10px;font:inherit;font-size:16px;color:#eafff0;
  background:rgba(0,0,0,.35);border:1px solid var(--edge2);border-radius:4px;
}
.find input::placeholder{color:#8fd7c9}
.find button{
  display:grid;place-items:center;width:40px;height:40px;padding:0;cursor:pointer;
  color:#0b140b;border:1px solid #eaffea;border-radius:4px;
  background:linear-gradient(140deg,#e6feff,#69ff69 55%,#00ffff);
  box-shadow:var(--glow);
}
.find button svg{width:18px;height:18px}

/* ---------- 头图 ---------- */
.hero{
  position:relative;z-index:1;display:grid;align-content:center;gap:26px;
  min-height:100vh;min-height:100svh;padding:42px 18px 56px;overflow:hidden;
}
.hero-copy{position:relative;z-index:2;order:1;text-align:left}
.hero-copy h1{margin-bottom:.55em;text-shadow:none}
.hero-line{margin:0}
.cta{
  display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:10px 30px;
  font-family:'Russo One',sans-serif;font-size:16px;letter-spacing:.12em;text-decoration:none;
  color:#0b140b;border-radius:999px;border:1px solid #ffffff;
  background:linear-gradient(150deg,#ffffff,#69ff69 38%,#00ffff 72%,#ffffff);
  box-shadow:0 0 22px rgba(105,255,105,.6),inset 0 -3px 8px rgba(0,0,0,.18);
  transition:transform .25s,box-shadow .25s;
}
.cta:hover{transform:translateY(-2px) scale(1.02);box-shadow:0 0 32px rgba(0,255,255,.75)}
.hero-media{position:relative;z-index:2;order:2;margin:0}
.hero-img{
  width:100%;border-radius:4px;border:1px solid rgba(255,255,255,.5);
  box-shadow:0 0 0 1px rgba(0,255,255,.5),0 26px 60px rgba(0,0,0,.55),0 0 42px rgba(105,255,105,.3);
}
.orb{
  display:block;width:100%;aspect-ratio:4/3;border-radius:50%;
  background:radial-gradient(circle at 34% 28%,#ffffff,rgba(0,255,255,.6) 38%,rgba(105,255,105,.24) 68%,transparent 78%);
  filter:blur(.4px);opacity:.75;
}
.ghost{
  position:absolute;left:-4px;right:0;top:6vh;z-index:0;margin:0;
  font-family:'Russo One',sans-serif;font-size:clamp(3.2rem,17vw,14rem);line-height:.88;
  letter-spacing:-.02em;white-space:nowrap;overflow:hidden;
  color:transparent;-webkit-text-stroke:1px rgba(0,255,255,.34);opacity:.55;
  pointer-events:none;will-change:transform;
}
.hero::before,.hero::after{content:'';position:absolute;border-radius:50%;pointer-events:none;z-index:0}
.hero::before{
  width:210px;height:210px;right:-70px;top:12%;opacity:.5;
  background:radial-gradient(circle at 32% 26%,rgba(255,255,255,.9),rgba(0,255,255,.35) 44%,rgba(105,255,105,.05) 72%);
}
.hero::after{
  width:110px;height:110px;left:6%;bottom:10%;opacity:.4;
  background:radial-gradient(circle at 36% 30%,#fff,rgba(105,255,105,.55) 46%,transparent 74%);
}

/* ---------- 主体 ---------- */
main{
  display:grid;gap:24px;max-width:1180px;margin:0 auto;
  padding:8px 16px 64px;position:relative;z-index:2;
}
article{min-width:0;display:grid;gap:22px}
article > section{
  padding:24px 18px;border-radius:4px;border:1px solid var(--edge);
  background:var(--glass);backdrop-filter:blur(12px) saturate(140%);
  box-shadow:inset 0 0 0 1px rgba(0,255,255,.12),0 18px 44px rgba(0,0,0,.38);
}
article > section h2,article > section h3{margin-top:.1em}
article p{margin:0 0 1em}
article ul,article ol{margin:0 0 1.1em;padding-left:1.35em}
article li{margin:.3em 0}
article img{margin:1em 0;border-radius:4px;border:1px solid rgba(255,255,255,.35);box-shadow:0 14px 34px rgba(0,0,0,.45)}
article blockquote{
  margin:1.1em 0;padding:12px 16px;border-left:3px solid var(--cyan);border-radius:0 4px 4px 0;
  background:rgba(0,255,255,.08);color:#d6fff4;
}
article code{padding:.1em .35em;border-radius:3px;background:rgba(0,0,0,.45);font-size:15px}

/* ---------- 侧栏 ---------- */
.side{
  position:relative;padding:20px 16px;border-radius:4px;border:1px solid var(--edge2);
  background:linear-gradient(165deg,rgba(0,255,255,.1),rgba(255,255,255,.04));
  backdrop-filter:blur(12px);box-shadow:inset 0 0 0 1px rgba(105,255,105,.14);
}
.side h2{font-size:1.2rem}
.toc{list-style:none;margin:0 0 14px;padding:0;counter-reset:toc}
.toc li{counter-increment:toc;border-top:1px dashed rgba(105,255,105,.28)}
.toc li:first-child{border-top:0}
.toc a{
  display:flex;align-items:center;gap:8px;min-height:42px;padding:4px 2px;
  color:#d8ffe4;text-decoration:none;font-size:16px;
}
.toc a::before{
  content:counter(toc,decimal-leading-zero);font-family:'Russo One',sans-serif;font-size:13px;
  color:var(--cyan);text-shadow:0 0 8px rgba(0,255,255,.7);
}
.toc a:hover{color:#0b140b;background:linear-gradient(90deg,rgba(105,255,105,.85),rgba(0,255,255,.7))}
.totop{
  display:inline-flex;align-items:center;justify-content:center;width:100%;min-height:42px;
  font-size:16px;text-decoration:none;color:#0b140b;border-radius:999px;border:1px solid #fff;
  background:linear-gradient(150deg,#e9ffff,#69ff69 60%,#00ffff);
  box-shadow:0 0 16px rgba(0,255,255,.4);
}

/* ---------- 页脚 ---------- */
footer{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:26px 18px;
  padding:38px 16px 20px;border-top:1px solid var(--edge2);
  background:linear-gradient(180deg,rgba(105,255,105,.1),rgba(0,0,0,.55));
}
footer section{min-width:0}
footer h2{font-size:1.05rem;margin-bottom:.4em}
.flist{list-style:none;margin:0;padding:0}
.flist a{display:inline-flex;align-items:center;min-height:40px;color:#d6ffe0;text-decoration:none;font-size:16px}
.flist a:hover{color:var(--cyan)}
.fhost{word-break:break-all;color:#b7ffcb;margin:0}
.fbadge{margin:0}
.sub{display:flex;gap:8px;flex-wrap:wrap}
.sub input{
  flex:1 1 120px;min-width:0;min-height:42px;padding:8px 10px;font:inherit;font-size:16px;color:#eafff0;
  background:rgba(0,0,0,.4);border:1px solid var(--edge2);border-radius:4px;
}
.sub input::placeholder{color:#8fd7c9}
.sub button{
  min-height:42px;padding:8px 22px;font:inherit;font-size:16px;cursor:pointer;color:#0b140b;
  border:1px solid #fff;border-radius:999px;
  background:linear-gradient(150deg,#ffffff,#69ff69 55%,#00ffff);
  box-shadow:0 0 16px rgba(105,255,105,.5);
}
.fbar{
  grid-column:1/-1;padding-top:14px;border-top:1px solid rgba(105,255,105,.22);
  font-size:16px;color:#9fe6b6;letter-spacing:.06em;
}

/* ---------- 动效 ---------- */
.js article > section,.js .side,.js footer section{opacity:0;transform:translateY(18px)}
.js .in{opacity:1;transform:none;transition:opacity .6s ease,transform .6s cubic-bezier(.2,.7,.25,1)}
.js .links li{opacity:0;transform:translateY(-6px)}
.js .links li.in{opacity:1;transform:none;transition:opacity .45s ease,transform .45s ease}

@media (min-width:620px){
  .find{display:flex}
  .hero{padding:56px 26px 64px}
}
@media (min-width:900px){
  .hero{grid-template-columns:1fr 1.05fr;gap:44px;padding:0 clamp(20px,5vw,70px)}
  .hero-media{grid-column:1;grid-row:1}
  .hero-copy{grid-column:2;grid-row:1;order:2}
  .ghost{top:12vh;left:clamp(16px,4vw,56px)}
  .orb{aspect-ratio:1/1;max-height:60vh}
}
@media (min-width:1000px){
  main{grid-template-columns:minmax(0,1fr) 288px;align-items:start;padding-top:26px}
  .side{position:sticky;top:92px}
  article > section{padding:30px 28px}
}
@media (min-width:820px){
  footer{grid-template-columns:repeat(4,minmax(0,1fr));padding:44px 26px 22px}
}
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{animation:none!important;transition:none!important}
  .js article > section,.js .side,.js footer section,.js .links li{opacity:1;transform:none}
  .ghost{will-change:auto}
}

button[aria-expanded]{min-width:44px;min-height:44px}
