:root{
  --lime:#87ff71;
  --sun:#ffce5c;
  --ink:#192617;
  --deep:#101a10;
  --panel:#1e2f1d;
  --text:#e9f5e2;
  --muted:#a8bfa1;
  --rail:252px;
  --radius:28px;
}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{
  margin:0;
  background:var(--ink);
  color:var(--text);
  font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI","Noto Sans SC","PingFang SC","Microsoft YaHei",sans-serif;
  font-size:17px;
  line-height:1.7;
  letter-spacing:-0.015em;
  overflow-x:hidden;
}
a:focus-visible,button:focus-visible,input:focus-visible{outline:3px solid var(--sun);outline-offset:2px}

.skip{position:absolute;left:-9999px;top:8px;z-index:80;background:var(--sun);color:var(--ink);padding:10px 16px;border-radius:14px;font-weight:700;text-decoration:none}
.skip:focus{left:12px}

/* 左侧竖栏 */
.rail{
  position:fixed;inset:0 auto 0 0;width:var(--rail);
  display:flex;flex-direction:column;gap:22px;
  padding:22px 18px 26px;
  background:var(--deep);
  border-right:3px dashed rgba(135,255,113,.28);
  z-index:40;
  overflow-y:auto;
}
.rail::-webkit-scrollbar{width:6px}
.rail::-webkit-scrollbar-thumb{background:rgba(135,255,113,.35);border-radius:6px}
.mark{
  display:inline-flex;flex:0 0 auto;width:54px;height:54px;
  align-items:center;justify-content:center;
  border-radius:18px;background:var(--lime);
  transform:rotate(-6deg);
  box-shadow:6px 6px 0 rgba(255,206,92,.9);
  transition:transform .28s ease;
}
.mark:hover,.mark:focus-visible{transform:rotate(7deg) scale(1.06)}
.mark-core{width:22px;height:22px;background:var(--ink);clip-path:polygon(50% 0,100% 100%,0 100%)}

.rail-nav ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:5px}
.rail-nav li{opacity:0;animation:rise .5s ease forwards}
.rail-nav li:nth-child(1){animation-delay:.05s}
.rail-nav li:nth-child(2){animation-delay:.1s}
.rail-nav li:nth-child(3){animation-delay:.15s}
.rail-nav li:nth-child(4){animation-delay:.2s}
.rail-nav li:nth-child(5){animation-delay:.25s}
.rail-nav li:nth-child(6){animation-delay:.3s}
.rail-nav li:nth-child(7){animation-delay:.35s}
.rail-nav a{
  display:flex;align-items:center;gap:10px;
  min-height:44px;padding:9px 13px;
  border-radius:14px;border:2px solid transparent;
  color:var(--text);text-decoration:none;
  font-size:16px;font-weight:500;letter-spacing:-0.01em;
  transition:background .2s,color .2s,border-color .2s,transform .2s;
}
.rail-nav a::before{
  content:"";flex:0 0 auto;width:9px;height:9px;border-radius:50%;
  background:var(--sun);transition:transform .2s,background .2s;
}
.rail-nav a:hover,.rail-nav a:focus-visible{
  background:var(--lime);color:var(--ink);border-color:var(--ink);transform:translateX(4px);
}
.rail-nav a:hover::before,.rail-nav a:focus-visible::before{background:var(--ink);transform:scale(1.35)}

.finder{margin-top:auto;display:flex;flex-wrap:wrap;gap:8px}
.finder input{
  flex:1 1 100%;min-height:44px;padding:10px 14px;
  border-radius:14px;border:2px dashed rgba(255,206,92,.6);
  background:#0b140b;color:var(--text);font:inherit;font-size:16px;
}
.finder input::placeholder{color:var(--muted)}
.finder button{
  flex:1 1 100%;min-height:44px;border:0;border-radius:14px;
  background:var(--sun);color:var(--ink);font:inherit;font-weight:700;cursor:pointer;
  transition:transform .18s,background .18s;
}
.finder button:hover{background:var(--lime);transform:translateY(-2px)}

/* 主区域 */
.stage{margin-left:var(--rail);padding:0 clamp(16px,4vw,60px)}

.hero{
  position:relative;overflow:hidden;
  min-height:70vh;
  display:grid;grid-template-columns:minmax(140px,260px) 1fr;
  align-items:center;gap:clamp(16px,4vw,48px);
  padding:clamp(26px,6vh,64px) 0 clamp(26px,5vh,56px);
  border-bottom:3px dashed rgba(135,255,113,.25);
  background-image:radial-gradient(rgba(135,255,113,.2) 1.6px,transparent 1.8px);
  background-size:22px 22px;
}
.hero-copy{text-align:right}
.hero-copy h1{
  margin:0;
  font-size:clamp(27px,4.4vw,54px);
  line-height:1.14;letter-spacing:-0.035em;font-weight:700;
}
.hero-tag{
  display:inline-block;margin:16px 0 0;
  padding:3px 12px;border-radius:9px;
  background:var(--sun);color:var(--ink);
  font-size:clamp(15px,1.3vw,18px);font-weight:700;letter-spacing:-0.01em;
  transform:rotate(-1.6deg);
}
.subtitle{margin:10px 0 0;color:var(--muted);font-size:17px}

.hero-art{position:relative;aspect-ratio:1;width:100%}
.hero-art span{position:absolute;display:block}
.disc{top:4%;left:2%;width:62%;height:62%;border-radius:50%;background:var(--lime);mix-blend-mode:screen;animation:spin 20s linear infinite}
.tri{bottom:2%;right:0;width:54%;height:48%;background:var(--sun);clip-path:polygon(50% 0,100% 100%,0 100%);transform:rotate(12deg);animation:sway 7s ease-in-out infinite alternate}
.squiggle{top:50%;left:-4%;width:72%;height:28px;background:repeating-radial-gradient(circle at 50% 50%,var(--sun) 0 6px,transparent 6px 17px);transform:rotate(-24deg);opacity:.92}
.dots{bottom:6%;left:12%;width:38%;height:38%;background-image:radial-gradient(var(--lime) 2px,transparent 2.6px);background-size:14px 14px;opacity:.75}

/* 正文卡 */
.sheet{
  display:block;
  margin:clamp(24px,5vh,52px) 0;
  padding:clamp(18px,3.4vw,44px);
  background:var(--panel);
  border:2px dashed rgba(135,255,113,.34);
  border-radius:var(--radius);
  box-shadow:0 24px 46px -20px rgba(0,0,0,.8),0 0 0 1px rgba(255,255,255,.03) inset;
}
.sheet section{padding:clamp(20px,3vw,34px) 0;scroll-margin-top:26px}
.sheet section + section{border-top:2px dotted rgba(255,206,92,.32)}
.sheet section:first-child{padding-top:2px}
.sheet section > :last-child{margin-bottom:0}
.sheet h2{
  margin:0 0 12px;
  font-size:clamp(21px,2.4vw,30px);line-height:1.26;letter-spacing:-0.03em;font-weight:700;color:#fff;
}
.sheet h2::before{
  content:"";display:inline-block;width:13px;height:13px;margin-right:10px;
  background:var(--lime);clip-path:polygon(50% 0,100% 100%,0 100%);transform:translateY(-2px);
}
.sheet h3{margin:20px 0 8px;font-size:clamp(18px,1.7vw,21px);line-height:1.35;letter-spacing:-0.02em;color:#f3fbe9}
.sheet h4{margin:16px 0 6px;font-size:17px;color:var(--sun)}
.sheet p{margin:0 0 14px;color:#dbead3}
.sheet a{color:var(--sun);text-decoration:underline dotted;text-underline-offset:3px}
.sheet a:hover{color:var(--lime)}
.sheet strong{color:var(--lime);font-weight:600}
.sheet em{color:var(--sun);font-style:normal}
.sheet ul,.sheet ol{margin:0 0 14px;padding-left:1.35em;color:#dbead3}
.sheet li{margin:.35em 0}
.sheet li::marker{color:var(--lime)}
.sheet img{max-width:100%;height:auto;border-radius:18px;border:2px solid rgba(135,255,113,.4);margin:6px 0 14px}
.sheet blockquote{
  margin:18px 0;padding:14px 18px;
  border-left:6px solid var(--lime);border-radius:0 16px 16px 0;
  background:rgba(135,255,113,.09);color:#e9f7e2;
}
.sheet blockquote p:last-child{margin-bottom:0}
.sheet code{
  font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;
  font-size:.94em;padding:2px 6px;border-radius:6px;
  background:rgba(255,206,92,.16);color:var(--sun);
}
.sheet pre{
  margin:0 0 16px;padding:14px 16px;overflow-x:auto;
  border-radius:16px;border:2px dotted rgba(255,206,92,.4);background:#0c150c;
}
.sheet pre code{background:none;padding:0;color:#dbead3}
.sheet table{width:100%;border-collapse:collapse;margin:0 0 16px;font-size:16px}
.sheet th,.sheet td{padding:9px 11px;border-bottom:1px dotted rgba(135,255,113,.3);text-align:left;vertical-align:top}
.sheet th{color:var(--lime);font-weight:600}
.sheet hr{border:0;border-top:2px dotted rgba(255,206,92,.35);margin:24px 0}

/* 页脚 */
.base{
  margin-left:var(--rail);
  padding:26px clamp(16px,4vw,60px) 44px;
  text-align:center;
  border-top:2px dashed rgba(255,206,92,.25);
}
.base p{margin:0;font-weight:600;letter-spacing:-0.01em}
.base small{display:block;margin-top:6px;color:var(--muted);font-size:16px}

@keyframes spin{to{transform:rotate(360deg)}}
@keyframes sway{to{transform:rotate(-16deg)}}
@keyframes rise{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}

@media (max-width:860px){
  .rail{
    position:sticky;top:0;inset:auto;width:100%;height:auto;
    flex-direction:row;flex-wrap:wrap;align-items:center;gap:10px;
    padding:10px 12px;
    border-right:0;border-bottom:3px dashed rgba(135,255,113,.3);
    overflow:visible;
  }
  .mark{width:44px;height:44px;border-radius:14px;box-shadow:3px 3px 0 rgba(255,206,92,.9)}
  .mark-core{width:18px;height:18px}
  .rail-nav{flex:1 1 60%;min-width:0}
  .rail-nav ul{flex-direction:row;gap:4px;overflow-x:auto;padding-bottom:2px}
  .rail-nav ul::-webkit-scrollbar{display:none}
  .rail-nav a{white-space:nowrap;min-height:44px;padding:8px 12px;font-size:16px}
  .rail-nav a:hover,.rail-nav a:focus-visible{transform:none}
  .finder{flex:1 1 100%;margin-top:0;flex-wrap:nowrap;align-items:center}
  .finder input{flex:1 1 auto;min-height:42px}
  .finder button{flex:0 0 auto;min-height:42px;padding:0 16px}

  .stage{margin-left:0;padding:0 16px}
  .hero{min-height:0;grid-template-columns:1fr;gap:10px;padding:18px 0 26px}
  .hero-art{aspect-ratio:auto;height:92px;width:190px;max-width:100%}
  .disc{width:76px;height:76px;top:0;left:4px}
  .tri{width:74px;height:60px;bottom:0;right:auto;left:96px}
  .squiggle{width:96px;height:20px;top:8px;left:78px}
  .dots{width:56px;height:56px;bottom:0;left:24px;opacity:.55}
  .hero-copy h1{font-size:clamp(25px,7.4vw,34px)}
  .sheet{margin:22px 0;padding:18px 16px;border-radius:22px}
  .sheet section{scroll-margin-top:132px}
  .base{margin-left:0;padding:22px 16px 38px}
}

@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *{animation-duration:.001ms!important;animation-iteration-count:1!important;transition-duration:.001ms!important}
}

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