@import url('https://fonts.googleapis.com/css2?family=Archivo:wght@300;400;500;600;700&family=Space+Grotesk:wght@300;400;500;600;700&display=swap');

:root{
  --ink:#1f2617;
  --deep:#0b1007;
  --neon:#80ff00;
  --lime:#00ff00;
  --paper:#eeffd9;
  --muted:#a9c493;
  --line:rgba(128,255,0,.3);
  --glass:rgba(128,255,0,.09);
  --rail:176px;
  --r:10px;
}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{
  margin:0;padding-left:var(--rail);overflow-x:hidden;
  font-family:"Archivo","Space Grotesk",system-ui,-apple-system,"PingFang SC","Microsoft YaHei",sans-serif;
  font-size:17px;line-height:1.7;color:var(--paper);
  background:
    radial-gradient(58% 38% at 88% -4%,rgba(0,255,0,.2),transparent 62%),
    radial-gradient(48% 42% at -6% 96%,rgba(128,255,0,.14),transparent 60%),
    var(--deep);
  background-attachment:fixed;
}
a{color:inherit}
img{max-width:100%}
h1,h2,h3{font-family:"Archivo","Space Grotesk",system-ui,sans-serif;font-weight:700;letter-spacing:-.01em}

/* ---------- 左侧固定栏 ---------- */
.topbar{
  position:fixed;top:0;left:0;bottom:0;width:var(--rail);z-index:80;
  display:flex;flex-direction:column;gap:16px;padding:16px 14px 20px;
  background:linear-gradient(180deg,#161e10,#0a0e07);
  border-right:2px solid var(--neon);
  box-shadow:8px 0 0 rgba(0,255,0,.1);
  overflow-y:auto;
}
.mark{
  display:inline-flex;align-items:center;justify-content:center;
  min-height:46px;min-width:46px;padding:6px;
  border:2px solid var(--neon);border-radius:12px;
  background:rgba(128,255,0,.14);color:var(--neon);
  text-decoration:none;transform:rotate(-3deg);
  box-shadow:3px 3px 0 rgba(0,255,0,.32);
  transition:transform .18s ease,box-shadow .18s ease;
}
.mark:hover{transform:rotate(2deg) scale(1.05);box-shadow:1px 1px 0 rgba(0,255,0,.5)}
.mark img{width:26px;height:26px;object-fit:contain;display:block}
.glyph{font-size:20px;font-weight:700;line-height:1}

.navrail{flex:1 1 auto;min-height:0}
.navrail p{margin:0;display:flex;flex-direction:column;gap:8px}
.navrail a{
  display:flex;align-items:center;min-height:40px;padding:8px 12px;
  font-size:16px;font-weight:600;line-height:1.25;text-decoration:none;
  border:1.5px solid var(--line);border-radius:999px;
  background:rgba(128,255,0,.06);color:#e6ffcd;
  transition:background .18s ease,color .18s ease,transform .18s ease,border-color .18s ease;
}
.navrail a:hover,.navrail a:focus-visible{
  background:var(--neon);color:#10160a;border-color:var(--neon);
  transform:translateX(3px) rotate(-1.5deg);
}

.find{display:flex;flex-direction:column;gap:6px;margin-top:auto}
.find input{
  width:100%;min-height:40px;padding:0 10px;
  font-family:inherit;font-size:16px;color:#f2ffe0;
  border:1.5px solid var(--line);border-radius:var(--r);
  background:rgba(0,0,0,.4);
}
.find input::placeholder{color:var(--muted)}
.find input:focus{outline:2px solid var(--neon);outline-offset:1px}
.find button{
  min-height:40px;padding:0 10px;cursor:pointer;
  font-family:inherit;font-size:16px;font-weight:700;letter-spacing:.08em;
  color:#10160a;border:0;border-radius:var(--r);
  background:var(--neon);transform:rotate(-1deg);
  transition:background .16s ease,transform .16s ease;
}
.find button:hover{background:var(--lime);transform:rotate(1deg)}

/* ---------- 头部大图区 ---------- */
.hero{
  position:relative;overflow:hidden;
  display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);
  gap:clamp(16px,3vw,40px);align-items:center;
  min-height:45vh;padding:clamp(20px,3vw,40px);
  border-bottom:3px solid var(--neon);
  background:
    radial-gradient(90% 70% at 78% 8%,rgba(0,255,0,.22),transparent 62%),
    linear-gradient(120deg,#1a2312,#0e1309);
}
.hero::after{
  content:"";position:absolute;left:-12%;right:-12%;bottom:-58px;height:120px;
  background:var(--neon);opacity:.15;transform:rotate(-2.4deg);pointer-events:none;
}
.hero-media{
  position:relative;z-index:2;margin:0;display:flex;align-items:center;justify-content:center;
  height:clamp(210px,40vh,400px);
  border:2px solid var(--neon);border-radius:var(--r);overflow:hidden;
  background:linear-gradient(135deg,#223012,#0d1208);
  transform:rotate(-1.6deg);
  box-shadow:10px 10px 0 rgba(0,255,0,.2);
}
.hero-pic{width:100%;height:100%;object-fit:cover;display:block;filter:saturate(150%) contrast(1.05)}
.hero-copy{position:relative;z-index:2}
.hero-copy h1{
  margin:0 0 14px;font-size:clamp(30px,4.6vw,56px);line-height:1.04;
  color:var(--neon);text-wrap:balance;
  text-shadow:2px 2px 0 rgba(0,0,0,.6),0 0 22px rgba(128,255,0,.3);
  rotate:-1deg;
}
.lead{margin:0;max-width:46ch;font-size:17px;color:#d7f0bb}

.stick{position:absolute;z-index:3;pointer-events:none;mix-blend-mode:screen}
.stick.a{
  width:88px;height:88px;right:7%;top:8%;border-radius:50%;
  background:radial-gradient(circle at 35% 32%,var(--lime),rgba(0,255,0,0) 70%);
  animation:jitter var(--d,1.8s) steps(2,end) infinite;
}
.stick.b{
  width:56px;height:56px;left:44%;bottom:5%;border-radius:12px;
  border:3px solid rgba(128,255,0,.72);background:rgba(128,255,0,.12);
  rotate:var(--r,-9deg);
}
.stick.c{
  width:124px;height:13px;left:5%;top:11%;border-radius:2px;
  background:var(--neon);opacity:.7;rotate:var(--r,8deg);
}
@keyframes jitter{
  0%,100%{transform:translate(0,0)}
  25%{transform:translate(2px,-2px)}
  50%{transform:translate(-2px,1px)}
  75%{transform:translate(1px,2px)}
}

/* ---------- 跑马灯色带 ---------- */
.tape{
  overflow:hidden;background:var(--neon);color:#10160a;
  border-bottom:2px solid #0c1108;rotate:-.6deg;margin:-8px 0 4px;
}
.tape-run{
  display:flex;width:max-content;
  font-size:15px;font-weight:700;letter-spacing:.16em;line-height:1.6;
  padding:5px 0;animation:slide 26s linear infinite;
}
.tape-run span{padding:0 20px;white-space:nowrap}
@keyframes slide{from{transform:translateX(0)}to{transform:translateX(-50%)}}

/* ---------- 正文 + 侧栏 ---------- */
.wrap{padding:0 clamp(14px,3vw,34px)}
.body{
  display:grid;grid-template-columns:minmax(0,1fr) 286px;
  gap:clamp(18px,2.4vw,34px);padding:clamp(20px,3vw,40px) 0;
}
.lede{min-width:0}
.lede>section{
  position:relative;margin:0 0 26px;padding:clamp(18px,2.4vw,30px);
  border:1.5px solid var(--line);border-radius:var(--r);
  background:linear-gradient(155deg,rgba(128,255,0,.1),rgba(255,255,255,.035));
  backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);
  box-shadow:0 18px 40px rgba(0,0,0,.34);
  scroll-margin-top:26px;
  animation:rise .55s both;
  transition:border-color .2s ease,rotate .25s ease,box-shadow .2s ease;
}
.lede>section:nth-child(2n){rotate:-.35deg}
.lede>section:nth-child(2n+1){rotate:.3deg}
.lede>section:hover{rotate:0deg;border-color:rgba(128,255,0,.6);box-shadow:0 20px 46px rgba(0,0,0,.45)}
.lede>section:nth-child(1){animation-delay:.02s}
.lede>section:nth-child(2){animation-delay:.07s}
.lede>section:nth-child(3){animation-delay:.12s}
.lede>section:nth-child(4){animation-delay:.17s}
.lede>section:nth-child(5){animation-delay:.22s}
.lede>section:nth-child(6){animation-delay:.27s}
.lede>section:nth-child(7){animation-delay:.32s}
@keyframes rise{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:none}}

.lede h2{
  display:inline-block;margin:0 0 14px;padding-bottom:6px;
  font-size:clamp(22px,2.6vw,30px);line-height:1.22;color:#f5ffe4;
  border-bottom:4px solid var(--neon);
}
.lede h3{margin:22px 0 8px;font-size:19px;color:var(--neon)}
.lede p{margin:0 0 12px}
.lede ul,.lede ol{margin:0 0 14px;padding-left:22px}
.lede li{margin:0 0 6px}
.lede li::marker{color:var(--neon)}
.lede a{color:var(--lime);text-underline-offset:3px;text-decoration-color:rgba(128,255,0,.5)}
.lede a:hover{color:#fff;background:rgba(0,255,0,.16)}
.lede strong,.lede b{color:var(--neon)}
.lede blockquote{
  margin:16px 0;padding:12px 16px;border-left:4px solid var(--neon);
  background:rgba(0,255,0,.07);border-radius:0 var(--r) var(--r) 0;
}
.lede table{width:100%;border-collapse:collapse;font-size:16px;margin:0 0 14px}
.lede th,.lede td{border:1px solid var(--line);padding:8px 10px;text-align:left}
.lede th{background:rgba(128,255,0,.12);color:var(--neon)}
.lede img{height:auto;border-radius:8px;border:1px solid var(--line)}
.lede hr{border:0;border-top:1.5px dashed var(--line);margin:20px 0}

.rail{position:sticky;top:24px;align-self:start;display:flex;flex-direction:column;gap:14px}
.card{
  padding:16px;border:1.5px solid var(--line);border-radius:var(--r);
  background:linear-gradient(160deg,rgba(128,255,0,.14),rgba(255,255,255,.03));
  backdrop-filter:blur(9px);-webkit-backdrop-filter:blur(9px);
  box-shadow:4px 4px 0 rgba(0,255,0,.16);
}
.card.about{rotate:1.2deg}
.card.up{rotate:-1.4deg;padding:10px}
.rail h2{
  margin:0 0 6px;font-size:17px;letter-spacing:.05em;color:var(--neon);
}
.subtitle{margin:0;font-size:16px;line-height:1.5;color:#dcf5c4;word-break:break-word}
.jump{
  display:flex;align-items:center;justify-content:center;
  min-height:44px;padding:8px 12px;text-decoration:none;
  font-size:16px;font-weight:700;letter-spacing:.06em;
  border:1.5px solid var(--neon);border-radius:999px;
  color:var(--neon);background:rgba(0,255,0,.08);
  transition:background .18s ease,color .18s ease,transform .18s ease;
}
.jump:hover{background:var(--neon);color:#10160a;transform:translateY(-2px)}

/* ---------- 页脚 ---------- */
.foot{
  display:grid;grid-template-columns:1.3fr 1fr 1fr 1.2fr;
  gap:16px 18px;padding:34px clamp(14px,3vw,34px);
  border-top:2px solid var(--neon);
  background:linear-gradient(0deg,#131a0e,#0b0f08);
}
.foot section{min-width:0}
.foot .mark{width:46px;margin-bottom:10px}
.foot p{margin:0 0 8px;display:flex;flex-wrap:wrap;gap:4px 12px;font-size:16px}
.foot .f-col p{flex-direction:column;gap:2px;align-items:flex-start}
.foot a.f-name,.f-name{color:#e6ffcd;font-weight:700}
.foot a:not(.mark):not(.jump){
  display:inline-flex;align-items:center;min-height:40px;padding:2px 2px;
  text-decoration:none;color:#d9f3c0;border-bottom:1px dashed rgba(128,255,0,.35);
}
.foot a:not(.mark):not(.jump):hover{color:var(--neon);border-bottom-style:solid}
.f-end{display:flex;flex-direction:column;gap:10px;align-items:flex-start;justify-content:space-between}
.copy{color:var(--muted);font-size:15px;letter-spacing:.04em}
.f-end .jump{width:100%;max-width:160px}

/* ---------- 移动端 ---------- */
@media (max-width:880px){
  body{padding-left:0}
  .topbar{
    position:sticky;top:0;left:auto;bottom:auto;width:100%;
    flex-direction:row;flex-wrap:wrap;align-items:center;gap:10px;
    padding:10px 12px;border-right:0;border-bottom:2px solid var(--neon);
    background:linear-gradient(180deg,#141c0f,#0b1007);
    box-shadow:0 6px 0 rgba(0,255,0,.12);
  }
  .mark{flex:0 0 auto;min-height:44px}
  .navrail{order:3;flex:1 1 100%;min-width:0;overflow-x:auto;overflow-y:hidden;scrollbar-width:none}
  .navrail::-webkit-scrollbar{display:none}
  .navrail p{flex-direction:row;gap:8px;padding:2px 0 4px}
  .navrail a{white-space:nowrap;min-height:40px;padding:8px 14px}
  .find{order:2;flex:1 1 130px;flex-direction:row;gap:6px;margin-top:0}
  .find button{padding:0 12px;min-width:56px}

  .hero{grid-template-columns:1fr;min-height:0;padding:18px 16px 26px;gap:18px}
  .hero-copy{order:-1}
  .hero-media{height:clamp(180px,46vw,300px);transform:rotate(-1.2deg);box-shadow:6px 6px 0 rgba(0,255,0,.2)}
  .lead{max-width:none}
  .stick.a{width:64px;height:64px;right:5%;top:5%}
  .stick.b{display:none}

  .wrap{padding:0 14px}
  .body{grid-template-columns:1fr;padding:18px 0 30px}
  .lede>section{scroll-margin-top:150px}
  .rail{position:static;display:grid;grid-template-columns:1fr 1fr;gap:12px}
  .card.up{padding:8px}

  .foot{grid-template-columns:1fr 1fr;gap:14px 16px;padding:24px 14px 30px}
  .f-end{grid-column:1 / -1;flex-direction:row;align-items:center;justify-content:space-between;gap:12px}
  .f-end .jump{width:auto}
}

@media (max-width:420px){
  .hero-copy h1{font-size:29px}
  .rail{grid-template-columns:1fr}
}

@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  .tape-run,.stick.a,.lede>section{animation:none}
  .lede>section{opacity:1}
  *{transition:none!important}
}

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