:root{
  --ink:#192617;
  --ink-2:#0f1a0e;
  --lime:#87ff71;
  --sun:#ffce5c;
  --bone:#f4fae9;
  --paper:#16220f;
  --pad:clamp(16px,4vw,46px);
  --maxw:1180px;
  --r:28px;
}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{
  margin:0;
  background-color:var(--ink);
  background-image:radial-gradient(rgba(135,255,113,.17) 1.2px,transparent 1.4px);
  background-size:26px 26px;
  background-attachment:fixed;
  color:var(--bone);
  font-family:"Space Grotesk","Archivo",system-ui,-apple-system,"PingFang SC","Hiragino Sans GB","Microsoft YaHei",sans-serif;
  font-size:17px;
  line-height:1.68;
  overflow-x:hidden;
  -webkit-font-smoothing:antialiased;
}
a{color:inherit;text-decoration:none}
img{display:block;max-width:100%;height:auto}
h1,h2,h3{line-height:1.2;letter-spacing:-.02em;margin:0}
p{margin:0 0 1em}
ul,ol{margin:0;padding:0;list-style:none}
[id]{scroll-margin-top:28px}

/* 顶栏 */
.hd{
  position:static;
  z-index:40;
  background:rgba(15,26,14,.95);
  border-bottom:3px dashed rgba(135,255,113,.55);
  -webkit-backdrop-filter:blur(7px);
  backdrop-filter:blur(7px);
}
.hd-in{
  max-width:var(--maxw);
  margin:0 auto;
  padding:10px var(--pad);
  display:flex;
  align-items:center;
  gap:10px;
}
.mark{
  flex:0 0 auto;
  width:46px;
  height:46px;
  display:grid;
  place-items:center;
  background:var(--lime);
  color:var(--ink);
  font-weight:700;
  font-size:17px;
  border:3px solid var(--ink);
  outline:3px solid var(--sun);
  outline-offset:2px;
  clip-path:polygon(12% 0,100% 0,100% 88%,88% 100%,0 100%,0 12%);
  transition:transform .18s ease,background .18s ease;
}
.mark:hover{transform:rotate(-8deg) scale(1.05);background:var(--sun)}
.mark-glyph{letter-spacing:-.05em}
.mark-img{width:100%;height:100%;object-fit:cover}

.anchors{flex:1 1 auto;min-width:0}
.anchors p{
  display:flex;
  flex-wrap:wrap;
  gap:6px;
  margin:0;
  justify-content:flex-start;
  scrollbar-width:none;
}
.anchors p::-webkit-scrollbar{display:none}
.anchors a{
  display:inline-flex;
  align-items:center;
  min-height:44px;
  padding:10px 14px;
  font-size:16px;
  font-weight:500;
  border:2px solid rgba(135,255,113,.42);
  border-radius:999px;
  color:var(--bone);
  white-space:nowrap;
  transition:transform .16s ease,background .16s ease,color .16s ease,border-color .16s ease;
}
.anchors a:hover,.anchors a:focus-visible{
  background:var(--lime);
  border-color:var(--ink);
  color:var(--ink);
  transform:rotate(-2.5deg) translateY(-2px);
}
.anchors a.on{background:var(--sun);border-color:var(--ink);color:var(--ink)}

/* 容器 */
.wrap{
  max-width:var(--maxw);
  margin:0 auto;
  padding:clamp(22px,4vw,44px) var(--pad) 0;
}
.split{
  display:grid;
  grid-template-columns:minmax(0,1fr) 312px;
  gap:clamp(20px,3.4vw,42px);
  align-items:start;
}

/* 头图区 */
.lead{margin-bottom:clamp(22px,4vw,40px)}
.hero{
  position:relative;
  overflow:hidden;
  min-height:60vh;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  gap:clamp(16px,3vw,30px);
  padding:clamp(26px,5vw,54px) clamp(18px,3.4vw,44px) clamp(22px,3.6vw,40px);
  border:5px solid var(--ink);
  outline:4px solid var(--lime);
  border-radius:var(--r);
  background:linear-gradient(160deg,#20301c 0%,#132012 60%,#0d170c 100%);
  border-bottom-width:14px;
  border-bottom-color:var(--sun);
}
.hero-ghost{
  position:absolute;
  inset:auto -8% auto auto;
  top:-.12em;
  right:-2%;
  margin:0;
  font-family:"Archivo",system-ui,sans-serif;
  font-weight:700;
  font-size:clamp(70px,15vw,190px);
  line-height:.86;
  letter-spacing:-.05em;
  color:transparent;
  -webkit-text-stroke:2px rgba(135,255,113,.5);
  transform:rotate(-5deg);
  pointer-events:none;
  white-space:nowrap;
  will-change:transform;
}
.hero-tri{
  position:absolute;
  left:6%;
  top:12%;
  width:clamp(52px,9vw,104px);
  height:clamp(52px,9vw,104px);
  background:var(--sun);
  clip-path:polygon(50% 0,100% 100%,0 100%);
  transform:rotate(14deg);
  mix-blend-mode:screen;
}
.hero-dot{
  position:absolute;
  left:32%;
  bottom:26%;
  width:clamp(58px,10vw,124px);
  height:clamp(58px,10vw,124px);
  border-radius:50%;
  background-image:radial-gradient(var(--lime) 2.4px,transparent 2.6px);
  background-size:13px 13px;
  opacity:.85;
}
.hero-txt{position:relative;text-align:right}
.hero h1{
  font-size:clamp(2.1rem,6.4vw,4.1rem);
  font-weight:700;
  margin-left:auto;
  max-width:16em;
  text-shadow:4px 4px 0 rgba(25,38,23,.85);
}
.hero-media{
  position:relative;
  border-radius:var(--r);
  overflow:hidden;
  border:4px solid var(--lime);
  transform:rotate(-.8deg);
}
.hero-media:empty{display:none}
.hero-img{width:100%;height:clamp(190px,32vh,340px);object-fit:cover}

/* 正文 */
.stream{min-width:0}
.prose{
  background:var(--bone);
  color:var(--paper);
  border:5px solid var(--lime);
  border-radius:var(--r);
  border-bottom:14px solid var(--sun);
  padding:clamp(18px,3.4vw,42px);
  box-shadow:10px 10px 0 rgba(0,0,0,.4);
}
.prose>*:first-child{margin-top:0}
.prose p,.prose li{font-size:17px;line-height:1.75}
.prose section{
  padding:clamp(16px,3vw,30px) 0;
  border-bottom:3px dashed rgba(25,38,23,.28);
}
.prose section:first-child{padding-top:0}
.prose section:last-child{border-bottom:0;padding-bottom:0}
.prose h2{
  font-size:clamp(1.35rem,3.1vw,1.95rem);
  font-weight:700;
  margin:0 0 .7em;
  display:flex;
  align-items:baseline;
  gap:.55em;
  color:var(--ink);
}
.prose h2::before{
  content:"";
  flex:0 0 auto;
  width:14px;
  height:14px;
  background:var(--lime);
  border:3px solid var(--ink);
  transform:rotate(45deg) translateY(1px);
}
.prose h2>span,.prose h3>span{
  display:inline-block;
  background:linear-gradient(transparent 58%,var(--sun) 58%);
  padding:0 .12em;
  transform:rotate(-.7deg);
}
.prose h3{
  font-size:1.14rem;
  margin:1.3em 0 .55em;
  color:var(--ink);
}
.prose h3::first-letter{color:#1c6b2c}
.prose a{
  color:var(--ink);
  border-bottom:3px solid var(--lime);
  font-weight:500;
  transition:background .16s ease,color .16s ease;
}
.prose a:hover{background:var(--sun);border-bottom-color:var(--ink)}
.prose blockquote{
  margin:1.2em 0;
  padding:.7em 1em;
  border-left:8px solid var(--sun);
  background:rgba(135,255,113,.28);
  border-radius:0 var(--r) var(--r) 0;
}
.prose blockquote p:last-child{margin-bottom:0}
.prose ul,.prose ol{padding-left:0;margin:0 0 1em}
.prose ul li,.prose ol li{
  position:relative;
  padding-left:1.4em;
  margin-bottom:.5em;
}
.prose ul li::before{
  content:"";
  position:absolute;
  left:.2em;
  top:.62em;
  width:8px;
  height:8px;
  background:var(--lime);
  border:2px solid var(--ink);
  border-radius:50%;
}
.prose ol{counter-reset:n}
.prose ol li{counter-increment:n}
.prose ol li::before{
  content:counter(n,decimal-leading-zero);
  position:absolute;
  left:0;
  top:0;
  font-size:13px;
  font-weight:700;
  color:#3d6b32;
}
.prose time{
  font-size:15px;
  font-weight:600;
  letter-spacing:.04em;
  color:#41582f;
  border-bottom:2px dotted var(--sun);
}
.prose hr{border:0;border-top:3px dashed rgba(25,38,23,.3);margin:1.6em 0}
.prose strong{background:var(--lime);padding:0 .12em}

/* 侧栏 */
.side{position:relative;min-width:0}
.side-card{
  position:sticky;
  top:118px;
  background:var(--sun);
  color:var(--ink);
  border:4px solid var(--ink);
  border-radius:var(--r);
  border-bottom:12px solid var(--ink);
  padding:22px 18px 18px;
  transform:rotate(-1.4deg);
  box-shadow:9px 9px 0 rgba(0,0,0,.42);
}
.side-t{
  font-size:1.12rem;
  font-weight:700;
  margin:0 0 .8em;
  display:flex;
  align-items:center;
  gap:.5em;
}
.side-t>span{
  display:inline-flex;
  align-items:center;
  gap:.4em;
  background:var(--ink);
  color:var(--sun);
  padding:.18em .6em;
  border-radius:999px;
}
.wing{
  width:10px;
  height:10px;
  background:var(--lime);
  clip-path:polygon(50% 0,100% 100%,0 100%);
}
.side-list li+li{margin-top:4px}
.side-list a{
  display:flex;
  align-items:center;
  gap:.6em;
  min-height:42px;
  padding:7px 10px;
  font-size:16px;
  font-weight:600;
  border-radius:999px;
  border:2px dashed rgba(25,38,23,.35);
  transition:background .16s ease,transform .16s ease,border-color .16s ease;
}
.side-list a em{
  font-style:normal;
  font-size:12px;
  font-weight:700;
  letter-spacing:.06em;
  background:var(--ink);
  color:var(--lime);
  padding:2px 6px;
  border-radius:6px;
}
.side-list a:hover{background:var(--bone);border-color:var(--ink);transform:translateX(-4px)}

/* 页脚 */
.ft{
  margin-top:clamp(30px,6vw,66px);
  border-top:5px solid var(--lime);
  background:var(--ink-2);
  padding:clamp(24px,4vw,44px) var(--pad) 0;
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:18px;
}
.fcol{
  margin:0;
  font-size:16px;
  line-height:1.55;
  color:#d3e8c4;
  border-top:3px dotted rgba(135,255,113,.4);
  padding-top:10px;
}
.fcol small{
  display:block;
  font-size:15px;
  letter-spacing:.12em;
  color:var(--sun);
  margin-bottom:4px;
}
.fbot{
  grid-column:1/-1;
  display:block;
  text-align:center;
  font-size:15px;
  color:#8fae83;
  border-top:2px dotted rgba(135,255,113,.3);
  padding:22px 0 26px;
}

/* 响应式 */
@media (min-width:880px){
  .hd{position:sticky;top:0}
  .anchors p{justify-content:flex-end}
  [id]{scroll-margin-top:120px}
}
@media (max-width:879px){
  .split{grid-template-columns:minmax(0,1fr)}
  .side-card{position:static;transform:none;margin-top:6px}
  .anchors p{flex-wrap:nowrap;overflow-x:auto;padding-bottom:4px}
  .hero{min-height:0}
  .hero-ghost{font-size:clamp(58px,17vw,120px);opacity:.9}
  .hero-dot{display:none}
  .ft{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:520px){
  body{font-size:16px}
  .hd-in{padding:8px 14px}
  .hero-txt{text-align:left}
  .hero{border-radius:22px}
  .prose{border-radius:22px;box-shadow:6px 6px 0 rgba(0,0,0,.42)}
  .prose h2{display:block}
  .prose h2::before{display:none}
  .ft{grid-template-columns:minmax(0,1fr)}
}

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

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