:root{
  --acid:#80ff00;
  --neon:#00ff00;
  --ink:#1f2617;
  --ink2:#26301c;
  --ink3:#111708;
  --paper:#e9ffd4;
  --mute:#b6d195;
  --line:rgba(128,255,0,.35);
  --edge:10px;
}

*,*::before,*::after{box-sizing:border-box}

html{
  scroll-behavior:smooth;
  -webkit-text-size-adjust:100%;
}

body{
  margin:0;
  font-family:'Lexend','Source Sans 3',system-ui,-apple-system,'Noto Sans SC','PingFang SC','Microsoft YaHei',sans-serif;
  font-size:17px;
  line-height:1.65;
  color:var(--paper);
  background-color:var(--ink);
  background-image:
    radial-gradient(rgba(128,255,0,.15) 1px,transparent 1.6px),
    repeating-linear-gradient(0deg,rgba(0,255,0,.05) 0 1px,transparent 1px 4px);
  background-size:16px 16px,auto;
  overflow-x:hidden;
}

img{display:block;max-width:100%;height:auto}

a{
  color:var(--neon);
  text-decoration-thickness:2px;
  text-underline-offset:3px;
}

:focus-visible{outline:3px solid var(--acid);outline-offset:2px}

section[id]{scroll-margin-top:78px}

/* ---------- 顶部条 ---------- */
.top{
  position:relative;
  z-index:40;
  background:linear-gradient(180deg,#1b2214,#151a0f);
  border-bottom:3px solid var(--acid);
}

.topIn{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:1rem;
  max-width:1180px;
  margin:0 auto;
  padding:.7rem 1rem;
}

.brand{
  display:inline-flex;
  align-items:center;
  gap:.55rem;
  min-height:44px;
  color:var(--acid);
  font-weight:700;
  font-size:1.18rem;
  letter-spacing:-.02em;
  text-decoration:none;
  transform:rotate(-1.2deg);
  filter:saturate(140%);
}

.brand img{
  width:40px;
  height:40px;
  border-radius:9px;
  border:2px solid var(--acid);
}

.brand:hover{color:var(--neon);transform:rotate(1deg)}

.menu{position:relative}

.menu summary{
  display:flex;
  align-items:center;
  min-height:44px;
  padding:.4rem .9rem;
  list-style:none;
  cursor:pointer;
  border:2px solid var(--acid);
  border-radius:var(--edge);
  background:rgba(128,255,0,.1);
  color:var(--acid);
  font-weight:700;
  font-size:.98rem;
  user-select:none;
}

.menu summary::-webkit-details-marker{display:none}
.menu summary::after{content:"＋";margin-left:.45rem;font-size:1rem}
.menu[open] summary::after{content:"－"}

.menu menu{
  margin:0;
  padding:.5rem;
  list-style:none;
  position:absolute;
  right:0;
  top:calc(100% + .55rem);
  min-width:min(250px,72vw);
  display:grid;
  gap:.15rem;
  z-index:60;
  background:#10160b;
  border:2px solid var(--acid);
  border-radius:var(--edge);
  box-shadow:8px 8px 0 rgba(0,255,0,.22);
}

.menu menu a{
  display:flex;
  align-items:center;
  min-height:42px;
  padding:.4rem .7rem;
  border-radius:8px;
  color:var(--paper);
  font-size:.98rem;
  font-weight:500;
  text-decoration:none;
}

.menu menu a:hover,
.menu menu a:focus-visible{
  background:var(--neon);
  color:var(--ink);
}

/* 跑马灯口号条 */
.ticker{
  overflow:hidden;
  background:var(--acid);
  color:var(--ink);
  border-top:1px dashed rgba(0,255,0,.4);
}

.tickTrack{
  display:flex;
  width:max-content;
  padding:.22rem 0;
  animation:tick 28s linear infinite;
}

.tickTrack span{
  font-size:1rem;
  font-weight:700;
  letter-spacing:.16em;
  padding:0 1.1rem;
  white-space:nowrap;
}

.tickTrack span::after{content:"✳";margin-left:1.1rem;letter-spacing:0}

/* ---------- 粘性锚点条 ---------- */
.rail{
  position:sticky;
  top:0;
  z-index:30;
  background:var(--ink3);
  border-bottom:2px solid var(--acid);
  box-shadow:0 5px 0 rgba(128,255,0,.14);
}

.railIn{
  display:flex;
  gap:.28rem;
  max-width:1180px;
  margin:0 auto;
  padding:.42rem .9rem;
  overflow-x:auto;
  scrollbar-width:thin;
}

.railIn a{
  flex:none;
  display:inline-flex;
  align-items:center;
  min-height:42px;
  padding:.3rem .8rem;
  border:1px solid var(--line);
  border-radius:999px;
  color:#d9f3b8;
  font-size:.95rem;
  font-weight:600;
  text-decoration:none;
  white-space:nowrap;
  transition:transform .16s ease,background .16s ease,color .16s ease;
}

.railIn a:hover,
.railIn a:focus-visible{
  background:var(--neon);
  color:var(--ink);
  border-color:var(--acid);
  transform:rotate(-1.6deg);
}

/* ---------- 首屏 ---------- */
.hero{
  position:relative;
  isolation:isolate;
  overflow:hidden;
  min-height:100vh;
  display:flex;
  align-items:flex-end;
  padding:4.5rem 1.2rem 3rem;
  background:
    radial-gradient(120% 100% at 82% 18%,#3b4f22 0%,#1f2617 58%,#0d1208 100%);
  border-bottom:6px solid var(--acid);
}

.heroImg{
  position:absolute;
  inset:0;
  z-index:-2;
  width:100%;
  height:100%;
  object-fit:cover;
  filter:saturate(150%) contrast(1.05);
}

.hero::after{
  content:"";
  position:absolute;
  inset:0;
  z-index:-1;
  background:linear-gradient(200deg,rgba(0,255,0,.16),rgba(31,38,23,.4) 42%,rgba(12,17,8,.94));
  mix-blend-mode:multiply;
}

.heroTxt{
  max-width:780px;
  margin-left:auto;
  text-align:right;
}

.kicker{
  margin:0 0 .6rem;
  font-size:1rem;
  font-weight:700;
  letter-spacing:.22em;
  color:var(--acid);
  text-shadow:2px 2px 0 #0e130a;
}

.hero h1{
  margin:0 0 .9rem;
  font-size:clamp(2.1rem,8vw,5rem);
  line-height:1.02;
  letter-spacing:-.035em;
  color:var(--neon);
  text-shadow:4px 4px 0 #0e130a,9px 9px 0 rgba(128,255,0,.2);
  filter:saturate(160%);
}

.lede{
  margin:0;
  font-size:1.06rem;
  line-height:1.7;
  color:var(--paper);
  text-shadow:0 2px 8px rgba(0,0,0,.7);
}

/* ---------- 布局 ---------- */
.wrap{
  max-width:1180px;
  margin:0 auto;
  padding:3rem 1.2rem 4rem;
  display:grid;
  grid-template-columns:minmax(0,1fr) 288px;
  gap:2.4rem;
  align-items:start;
}

/* ---------- 正文 ---------- */
.post>section{
  background:linear-gradient(160deg,#28331c,#212a18);
  border:1px solid rgba(0,255,0,.18);
  border-bottom:5px solid var(--acid);
  border-radius:var(--edge);
  padding:1.5rem 1.2rem;
  margin:0 0 1.7rem;
  box-shadow:10px 10px 0 rgba(0,255,0,.08);
  animation:rise .55s both;
}

.post>section:nth-child(odd){transform:rotate(.32deg)}
.post>section:nth-child(even){transform:rotate(-.32deg)}
.post>section:nth-child(2){animation-delay:.06s}
.post>section:nth-child(3){animation-delay:.12s}
.post>section:nth-child(4){animation-delay:.18s}
.post>section:nth-child(5){animation-delay:.24s}
.post>section:nth-child(6){animation-delay:.3s}
.post>section:nth-child(7){animation-delay:.36s}

.post small{
  display:block;
  margin:0 0 .35rem;
  font-size:.8rem;
  font-weight:700;
  letter-spacing:.24em;
  color:var(--neon);
}

.post h2{
  margin:0 0 .9rem;
  font-size:clamp(1.45rem,4.2vw,2.05rem);
  line-height:1.16;
  letter-spacing:-.025em;
  color:var(--acid);
}

.post h3{
  margin:1.5rem 0 .6rem;
  font-size:1.2rem;
  line-height:1.35;
  color:var(--neon);
}

.post p{
  margin:0 0 1.05rem;
  font-size:1.06rem;
  line-height:1.82;
}

.post p:last-child{margin-bottom:0}

.post ul,.post ol{
  margin:0 0 1.05rem;
  padding-left:1.3rem;
  line-height:1.82;
}

.post li{margin:.25rem 0}
.post li::marker{color:var(--neon)}

.post strong{color:var(--neon)}

.post a{
  font-weight:600;
  text-decoration:underline wavy var(--acid) 2px;
}

.post a:hover{background:rgba(0,255,0,.14)}

.post img{
  border:3px solid var(--acid);
  border-radius:var(--edge);
  margin:1.1rem 0;
  box-shadow:9px 9px 0 rgba(0,255,0,.15);
}

.post blockquote{
  margin:1.2rem 0;
  padding:.8rem 1rem;
  border-left:6px solid var(--neon);
  background:rgba(0,255,0,.07);
  border-radius:0 var(--edge) var(--edge) 0;
  color:var(--paper);
}

.post blockquote p:last-child{margin-bottom:0}

.post hr{
  border:none;
  border-top:2px dashed var(--line);
  margin:1.4rem 0;
}

/* ---------- 侧栏 ---------- */
.side{
  position:sticky;
  top:78px;
  padding:1.1rem 1rem 1rem;
  background:#202912;
  border:2px dashed var(--line);
  border-radius:var(--edge);
  transform:rotate(-1.2deg);
  box-shadow:9px 9px 0 rgba(0,255,0,.12);
}

.stk{
  position:absolute;
  top:-17px;
  right:-11px;
  display:grid;
  place-items:center;
  width:38px;
  height:38px;
  border-radius:50%;
  background:var(--neon);
  color:var(--ink);
  border:2px solid var(--ink);
  font-size:1.1rem;
  animation:jit 3.4s ease-in-out infinite;
}

.side small{
  display:block;
  font-size:.8rem;
  font-weight:700;
  letter-spacing:.24em;
  color:var(--neon);
}

.side h2{
  margin:.2rem 0 .8rem;
  font-size:1.16rem;
  line-height:1.3;
  letter-spacing:-.02em;
  color:var(--acid);
}

.side ol{
  counter-reset:j;
  margin:0 0 1rem;
  padding:0;
  list-style:none;
  display:grid;
  gap:.1rem;
}

.side li{counter-increment:j}

.side li a{
  display:flex;
  align-items:center;
  gap:.55rem;
  min-height:42px;
  padding:.3rem .5rem;
  border-radius:8px;
  color:var(--paper);
  font-size:.98rem;
  text-decoration:none;
}

.side li a::before{
  content:counter(j,decimal-leading-zero);
  font-size:.8rem;
  font-weight:700;
  letter-spacing:.06em;
  color:var(--neon);
}

.side li a:hover{
  background:var(--neon);
  color:var(--ink);
}

.side li a:hover::before{color:var(--ink)}

.side .top{
  display:inline-flex;
  align-items:center;
  min-height:42px;
  padding:.25rem .85rem;
  border:2px solid var(--acid);
  border-radius:999px;
  color:var(--acid);
  font-size:.94rem;
  font-weight:700;
  text-decoration:none;
}

.side .top:hover{background:var(--acid);color:var(--ink)}

/* ---------- 页脚 ---------- */
footer{
  margin-top:2rem;
  border-top:5px solid var(--neon);
  background:linear-gradient(180deg,#151c0e,#0b1007);
}

footer section{
  max-width:1180px;
  margin:0 auto;
  padding:0 1.1rem;
}

.fcta{
  padding-top:3rem;
  padding-bottom:2.6rem;
  text-align:center;
}

.fcta small{
  display:block;
  font-size:.82rem;
  font-weight:700;
  letter-spacing:.26em;
  color:var(--neon);
}

.fcta h2{
  margin:.25rem 0 1.3rem;
  font-size:clamp(1.8rem,7vw,3.2rem);
  line-height:1.08;
  letter-spacing:-.035em;
  color:var(--acid);
  transform:rotate(-1.6deg);
  text-shadow:4px 4px 0 rgba(0,255,0,.2);
}

.btn{
  display:inline-flex;
  align-items:center;
  min-height:50px;
  padding:.6rem 1.7rem;
  border:3px solid var(--ink);
  border-radius:999px;
  background:var(--acid);
  color:var(--ink);
  font-weight:700;
  font-size:1.02rem;
  text-decoration:none;
  box-shadow:6px 6px 0 rgba(0,255,0,.5);
  transition:transform .16s ease,box-shadow .16s ease;
}

.btn:hover{
  transform:translate(-3px,-3px) rotate(-1deg);
  box-shadow:11px 11px 0 var(--neon);
}

.fcols{
  display:grid;
  grid-template-columns:1.3fr 1fr 1fr 1fr;
  gap:1.6rem;
  padding-top:2rem;
  padding-bottom:2.2rem;
  border-top:1px dashed rgba(0,255,0,.3);
}

.fcols h3{
  margin:0 0 .7rem;
  font-size:.95rem;
  letter-spacing:.14em;
  color:var(--acid);
}

.fmark{
  margin:0;
  color:var(--neon);
  font-size:1rem;
  letter-spacing:.4em;
}

.fcols ul{list-style:none;margin:0;padding:0;display:grid;gap:.05rem}

.fcols a{
  display:inline-flex;
  align-items:center;
  min-height:42px;
  color:var(--mute);
  font-size:.98rem;
  text-decoration:none;
}

.fcols a:hover{color:var(--neon);text-decoration:underline}

.legal{
  padding:1rem 1.1rem;
  border-top:1px solid rgba(128,255,0,.2);
  text-align:center;
  color:var(--mute);
  font-size:.95rem;
}

.legal p{margin:0}

/* ---------- 动效 ---------- */
@keyframes tick{
  from{transform:translateX(0)}
  to{transform:translateX(-50%)}
}

@keyframes rise{
  from{opacity:0;transform:translateY(16px)}
  to{opacity:1;transform:translateY(0)}
}

@keyframes jit{
  0%,100%{transform:rotate(-7deg) translateY(0)}
  50%{transform:rotate(-1deg) translateY(-4px)}
}

@media (prefers-reduced-motion:reduce){
  *{animation:none!important;transition:none!important}
  html{scroll-behavior:auto}
}

/* ---------- 平板 / 桌面 ---------- */
@media (min-width:861px){
  .menu summary{display:none}
  .menu menu{
    position:static;
    display:flex;
    flex-wrap:wrap;
    min-width:0;
    padding:0;
    gap:.16rem;
    border:none;
    background:none;
    box-shadow:none;
  }
  .menu menu a{padding:.35rem .7rem;color:#d9f3b8;font-weight:600}
}

@media (max-width:1080px){
  .wrap{grid-template-columns:minmax(0,1fr) 244px;gap:1.6rem}
}

/* ---------- 手机 ---------- */
@media (max-width:860px){
  body{font-size:17px}
  .topIn{padding:.65rem .9rem}
  .hero{min-height:100svh;padding:3.5rem 1rem 2.4rem}
  .heroTxt{max-width:none}
  .hero h1{font-size:clamp(1.95rem,9.4vw,3rem)}
  .lede{font-size:1rem}
  .wrap{
    grid-template-columns:1fr;
    gap:1.8rem;
    padding:2rem 1rem 3rem;
  }
  .side{position:static;transform:none;top:auto}
  .post>section{padding:1.25rem 1rem}
  .fcols{grid-template-columns:1fr 1fr;gap:1.2rem}
  .railIn{padding:.4rem .7rem}
}

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