@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&family=VT323&display=swap');

:root{
  --lime:#80ff00;
  --green:#00ff00;
  --ink:#1f2617;
  --deep:#161c10;
  --rail:132px;
  --tick:30px;
  --pixel:'Press Start 2P','Courier New',monospace;
  --body:VT323,'Courier New','PingFang SC','Microsoft YaHei',monospace;
}

*,*::before,*::after{box-sizing:border-box;border-radius:0}
html{scroll-behavior:smooth;overflow-x:hidden}
body{
  margin:0;
  max-width:100%;
  background:var(--ink);
  color:#e8ffd2;
  font-family:var(--body);
  font-size:19px;
  line-height:1.62;
  padding:var(--tick) 0 0 var(--rail);
  overflow-x:hidden;
  overflow-wrap:break-word;
  -webkit-text-size-adjust:100%;
}
@supports (overflow-x:clip){
  html,body{overflow-x:clip}
  .article{overflow-x:clip}
}
img{display:block;max-width:100%;height:auto}
a{color:inherit}
p{margin:0 0 14px}

/* ---- 满屏噪点 + 扫描线 ---- */
body::before{
  content:"";
  position:fixed;
  inset:0;
  z-index:59;
  pointer-events:none;
  opacity:.15;
  background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='140' height='140'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/></filter><rect width='140' height='140' filter='url(%23n)'/></svg>");
  background-size:140px 140px;
}
body::after{
  content:"";
  position:fixed;
  inset:0;
  z-index:60;
  pointer-events:none;
  mix-blend-mode:multiply;
  background:repeating-linear-gradient(180deg,rgba(31,38,23,.26) 0 1px,rgba(0,0,0,0) 1px 3px);
}

/* ---- 跳过 ---- */
.skip{
  position:absolute;
  left:-999px;
  top:0;
  z-index:80;
  background:var(--green);
  color:var(--ink);
  padding:12px 16px;
  font-size:16px;
}
.skip:focus{left:8px;top:calc(var(--tick) + 6px)}

/* ---- 顶部细条 ---- */
.ticker{
  position:fixed;
  top:0;left:0;right:0;
  max-width:100vw;
  height:var(--tick);
  z-index:70;
  display:flex;
  align-items:center;
  overflow:hidden;
  background:var(--lime);
  color:var(--ink);
  border-bottom:2px solid var(--ink);
}
.ticker-in{
  display:flex;
  flex:0 0 auto;
  align-items:center;
  white-space:nowrap;
  font-family:var(--pixel);
  font-size:9px;
  letter-spacing:.14em;
  animation:slide 26s linear infinite;
  will-change:transform;
}
.ticker-in span{padding:0 14px}
.ticker-in i{font-style:normal;color:var(--ink);opacity:.7}

@keyframes slide{
  from{transform:translateX(0)}
  to{transform:translateX(-50%)}
}

/* ---- 左侧竖排导航 ---- */
.rail{
  position:fixed;
  left:0;top:var(--tick);bottom:0;
  width:var(--rail);
  z-index:55;
  display:flex;
  flex-direction:column;
  gap:10px;
  padding:12px 10px 20px;
  background:var(--deep);
  border-right:3px solid var(--lime);
  overflow-y:auto;
  overflow-x:hidden;
}
.brand{
  display:grid;
  place-items:center;
  width:46px;height:46px;
  flex:0 0 auto;
  background:var(--lime);
  color:var(--ink);
  text-decoration:none;
  border:2px solid var(--ink);
  box-shadow:4px 4px 0 var(--green);
  transform:rotate(-5deg);
}
.brand .mark{font-family:var(--pixel);font-size:16px;line-height:1}
.rail-list{
  list-style:none;
  margin:6px 0 0;
  padding:0;
  display:flex;
  flex-direction:column;
  gap:6px;
  min-width:0;
}
.rail-list a{
  display:flex;
  align-items:center;
  gap:8px;
  min-height:42px;
  padding:9px 8px;
  font-size:16px;
  line-height:1.25;
  text-decoration:none;
  color:#ddffb6;
  border:2px solid transparent;
  transition:background .12s linear,color .12s linear,transform .12s linear;
}
.rail-list .n{
  font-family:var(--pixel);
  font-size:8px;
  color:var(--green);
}
.rail-list a:hover,
.rail-list a:focus-visible{
  background:var(--lime);
  color:var(--ink);
  border-color:var(--ink);
  transform:translateX(3px);
}
.rail-list a:hover .n,
.rail-list a:focus-visible .n{color:var(--ink)}

/* ---- 首屏 ---- */
.hero{
  position:relative;
  min-height:70vh;
  max-width:100%;
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:30px;
  padding:56px 34px;
  overflow:hidden;
  background:
    linear-gradient(180deg,rgba(0,255,0,.10),rgba(31,38,23,0) 70%),
    repeating-linear-gradient(135deg,rgba(128,255,0,.055) 0 12px,rgba(0,0,0,0) 12px 24px),
    var(--ink);
  border-bottom:6px solid var(--lime);
}
.hero-txt{
  max-width:640px;
  min-width:0;
  text-align:right;
  margin-left:auto;
  z-index:2;
  overflow-wrap:break-word;
}
.hero h1{
  margin:0 0 18px;
  font-family:var(--pixel);
  font-size:clamp(21px,4.4vw,44px);
  line-height:1.32;
  letter-spacing:.02em;
  color:var(--lime);
  overflow-wrap:anywhere;
  text-shadow:4px 4px 0 rgba(0,255,0,.35),8px 8px 0 rgba(0,0,0,.45);
  filter:saturate(150%);
}
.hero .lead{
  margin:0 0 0 auto;
  max-width:46ch;
  font-size:18px;
  color:#cbe8ae;
  overflow-wrap:break-word;
}
.hero-art{
  flex:0 0 auto;
  max-width:calc(100% - 8px);
  z-index:2;
  transform:rotate(-6deg);
  border:3px solid var(--lime);
  background:var(--green);
  box-shadow:10px 10px 0 rgba(0,255,0,.28);
  will-change:transform;
}
.hero-art img{
  width:200px;height:200px;
  max-width:100%;
  object-fit:cover;
  filter:saturate(160%) contrast(1.05);
}
.hero-mark{
  display:grid;
  place-items:center;
  width:170px;height:170px;
  font-family:var(--pixel);
  font-size:64px;
  color:var(--ink);
  background:var(--green);
}
.stk{
  position:absolute;
  z-index:3;
  font-family:var(--pixel);
  font-size:11px;
  padding:9px 11px;
  background:var(--green);
  color:var(--ink);
  box-shadow:5px 5px 0 var(--ink);
  mix-blend-mode:screen;
  animation:jitter 2.6s steps(3) infinite;
}
.s1{top:16%;left:5%;transform:rotate(-13deg)}
.s2{bottom:14%;left:24%;transform:rotate(8deg);background:var(--lime);animation-delay:.4s}
.s3{top:12%;right:8%;transform:rotate(11deg);animation-delay:.9s}

@keyframes jitter{
  0%,100%{translate:0 0}
  33%{translate:-2px 2px}
  66%{translate:2px -1px}
}

/* ---- 正文骨架 ---- */
.wrap{
  max-width:100%;
  display:grid;
  grid-template-columns:minmax(0,1fr) 296px;
  align-items:start;
  border-bottom:3px solid var(--lime);
}
.body-area{min-width:0;max-width:100%}
.article{min-width:0;max-width:100%;overflow-wrap:break-word}
.article section{
  position:relative;
  max-width:100%;
  padding:46px 34px;
  scroll-margin-top:calc(var(--tick) + 24px);
}
.article section:nth-child(odd){
  background:var(--lime);
  color:var(--ink);
}
.article section:nth-child(even){
  background:var(--ink);
  color:#e8ffd2;
  border-top:3px solid var(--lime);
  border-bottom:3px solid var(--lime);
}
.article section > *{max-width:min(72ch,100%)}
.article h2{
  margin:0 0 8px;
  font-family:var(--pixel);
  font-size:clamp(15px,2vw,20px);
  line-height:1.5;
  letter-spacing:.02em;
  overflow-wrap:anywhere;
}
.article h3{
  margin:26px 0 8px;
  font-family:var(--pixel);
  font-size:13px;
  line-height:1.6;
  overflow-wrap:anywhere;
}
.article p{font-size:19px;line-height:1.68}
.article p.subtitle{
  font-size:16px;
  letter-spacing:.14em;
  opacity:.72;
  margin-bottom:20px;
}
.article a{
  text-decoration:underline;
  text-decoration-thickness:3px;
  text-underline-offset:3px;
  overflow-wrap:anywhere;
}
.article ul,.article ol{padding-left:22px;margin:0 0 16px}
.article li{margin:0 0 8px}
.article strong{background:var(--green);color:var(--ink);padding:0 3px}
.article blockquote{
  margin:20px 0;
  padding:14px 18px;
  background:rgba(0,255,0,.14);
  border-left:6px solid var(--green);
}
.article img,.article video,.article iframe{max-width:100%;height:auto}
.article pre{
  max-width:100%;
  overflow-x:auto;
  padding:12px 14px;
  background:rgba(0,0,0,.26);
  font-family:var(--body);
  font-size:17px;
}
.article table{
  display:block;
  max-width:100%;
  overflow-x:auto;
  border-collapse:collapse;
}
.article code{overflow-wrap:anywhere}

/* ---- 右侧栏 ---- */
.side{
  position:sticky;
  top:calc(var(--tick) + 18px);
  max-width:100%;
  min-width:0;
  padding:26px 20px 34px;
  background:var(--deep);
  border-left:3px solid var(--lime);
  color:#ddffb6;
}
.side h2{
  margin:0 0 4px;
  font-family:var(--pixel);
  font-size:13px;
  line-height:1.6;
  color:var(--lime);
}
.side .subtitle{
  margin:0 0 14px;
  font-size:16px;
  letter-spacing:.16em;
  opacity:.6;
}
.side-list{list-style:none;margin:0;padding:0;min-width:0}
.side-list a{
  display:block;
  padding:11px 4px;
  min-height:40px;
  font-size:16px;
  text-decoration:none;
  overflow-wrap:anywhere;
  border-bottom:2px dashed rgba(128,255,0,.32);
  transition:color .12s linear,padding-left .12s linear;
}
.side-list a:hover,
.side-list a:focus-visible{color:var(--lime);padding-left:9px}

/* ---- 页脚 ---- */
.foot{
  max-width:100%;
  background:var(--lime);
  color:var(--ink);
  padding:30px 26px 26px;
}
.sub-form{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:10px;
  padding-bottom:22px;
  border-bottom:3px solid var(--ink);
}
.sub-form label{
  font-family:var(--pixel);
  font-size:11px;
  letter-spacing:.14em;
}
.sub-form input{
  flex:1 1 180px;
  min-width:0;
  max-width:100%;
  min-height:42px;
  padding:8px 12px;
  font-family:var(--body);
  font-size:18px;
  color:var(--ink);
  background:#f2ffdf;
  border:3px solid var(--ink);
}
.sub-form input:focus-visible{outline:3px solid var(--green);outline-offset:2px}
.sub-form button{
  min-height:42px;
  padding:10px 22px;
  font-family:var(--pixel);
  font-size:11px;
  letter-spacing:.1em;
  color:var(--lime);
  background:var(--ink);
  border:3px solid var(--ink);
  cursor:pointer;
}
.sub-form button:hover{background:var(--green);color:var(--ink)}
.ends{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding-top:18px;
}
.ends address{
  font-style:normal;
  font-family:var(--pixel);
  font-size:12px;
  letter-spacing:.08em;
}
.ends .copy{margin:6px 0 0;font-size:16px}
.end-links{
  list-style:none;
  display:flex;
  flex-wrap:wrap;
  gap:4px 10px;
  margin:0;
  padding:0;
  min-width:0;
}
.end-links a{
  display:inline-block;
  padding:10px 4px;
  font-size:16px;
  text-decoration:none;
  border-bottom:2px solid transparent;
}
.end-links a:hover,
.end-links a:focus-visible{border-bottom-color:var(--ink)}

/* ---- 平板 ---- */
@media (max-width:1000px){
  .wrap{grid-template-columns:minmax(0,1fr)}
  .side{
    position:static;
    border-left:0;
    border-top:3px solid var(--lime);
  }
  .side-list{display:flex;flex-wrap:wrap;gap:0 16px}
  .side-list a{border-bottom:0;padding:11px 0}
}

/* ---- 手机 ---- */
@media (max-width:880px){
  body{padding:0;padding-top:calc(var(--tick) + 64px)}
  .rail{
    top:var(--tick);bottom:auto;left:0;right:0;
    width:auto;
    height:58px;
    flex-direction:row;
    align-items:center;
    gap:8px;
    padding:6px 8px;
    border-right:0;
    border-bottom:3px solid var(--lime);
    overflow-x:auto;
    overflow-y:hidden;
  }
  .brand{width:42px;height:42px;box-shadow:2px 2px 0 var(--green)}
  .rail-list{flex-direction:row;gap:6px}
  .rail-list a{white-space:nowrap;padding:9px 10px}
  .rail-list a:hover{transform:none}
  .hero{min-height:auto;padding:34px 18px 44px;gap:18px}
  .hero h1{font-size:clamp(19px,6.6vw,30px);text-shadow:3px 3px 0 rgba(0,255,0,.35)}
  .hero-art img,.hero-mark{width:104px;height:104px}
  .hero-mark{font-size:38px}
  .s1{top:6%;left:34%}
  .s2{bottom:8%;left:44%}
  .s3{top:4%;right:4%}
  .article section{padding:32px 16px;scroll-margin-top:calc(var(--tick) + 76px)}
  .article p{font-size:18px}
  .foot{padding:24px 16px}
}

@media (max-width:560px){
  .hero{flex-wrap:wrap;justify-content:flex-end}
  .hero-txt{max-width:none}
  .hero .lead{font-size:17px}
  .hero-art{margin-left:auto}
  .stk{font-size:9px;padding:7px 9px}
  .ends{flex-direction:column;align-items:flex-start}
}

/* ---- 少动效 ---- */
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *{animation:none!important;transition:none!important}
  .hero-art{transform:none!important}
}
</style>

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