:root{
  --n:#00ff80;
  --b:#0000ff;
  --k:#000000;
  --w:#ffffff;
  --pale:#eafff5;
  --line:#2a2a2a;
}
html{scroll-behavior:smooth}
@media (prefers-reduced-motion: reduce){html{scroll-behavior:auto}}
*{box-sizing:border-box}
body{
  margin:0;
  overflow-x:hidden;
  background:var(--w);
  color:var(--k);
  font:400 17px/1.75 system-ui,-apple-system,"PingFang SC","Microsoft YaHei",sans-serif;
}
img{max-width:100%;height:auto;display:block}
h1,h2,h3{
  margin:0;
  font-family:"Cormorant Garamond","Libre Baskerville","Songti SC","SimSun",Georgia,serif;
  font-weight:700;
  line-height:1.02;
  letter-spacing:-.01em;
}
p{margin:0 0 1em}
a{color:var(--b)}
::selection{background:var(--n);color:var(--k)}
:focus-visible{outline:3px solid var(--b);outline-offset:2px}

/* 顶部：品牌居中，菜单分列两侧 */
.site-head{
  position:relative;
  z-index:30;
  display:grid;
  grid-template-columns:1fr auto 1fr;
  align-items:center;
  gap:10px;
  padding:10px 16px;
  background:var(--w);
  border-bottom:4px solid var(--k);
}
.navtoggle{
  position:absolute;
  width:1px;height:1px;
  opacity:0;
  pointer-events:none;
}
.brand{
  grid-column:2;
  font-family:"Cormorant Garamond","Songti SC","SimSun",Georgia,serif;
  font-size:30px;
  font-weight:700;
  line-height:1.1;
  color:var(--k);
  text-decoration:none;
  text-align:center;
  letter-spacing:.02em;
}
.site-head nav ol{
  display:flex;
  flex-wrap:wrap;
  gap:6px;
  margin:0;
  padding:0;
  list-style:none;
}
.nav-r ol{justify-content:flex-end}
.site-head nav a{
  display:inline-flex;
  align-items:center;
  min-height:44px;
  padding:0 14px;
  border:2px solid var(--k);
  border-radius:999px;
  background:var(--w);
  color:var(--k);
  font-size:16px;
  font-weight:700;
  text-decoration:none;
  white-space:nowrap;
}
.site-head nav a:hover{background:var(--k);color:var(--n)}
.nav-r li:last-child a{background:var(--k);color:var(--n)}
.nav-r li:last-child a:hover{background:var(--b);border-color:var(--b);color:var(--w)}
.navbtn{display:none}

/* 二级粘性锚点条 */
.anchorbar{
  position:sticky;
  top:0;
  z-index:25;
  overflow-x:auto;
  background:var(--k);
  border-bottom:4px solid var(--k);
}
.anchorbar ol{
  display:flex;
  min-width:max-content;
  margin:0;
  padding:0 8px;
  list-style:none;
}
.anchorbar a{
  display:flex;
  align-items:center;
  min-height:44px;
  padding:0 14px;
  border-right:1px solid var(--line);
  color:var(--w);
  font-size:16px;
  font-weight:700;
  text-decoration:none;
  white-space:nowrap;
}
.anchorbar a:hover,.anchorbar a:focus-visible{background:var(--n);color:var(--k)}

/* 版心 */
.shell{
  display:grid;
  grid-template-columns:minmax(0,1fr) 320px;
  align-items:start;
}
.post{min-width:0;border-right:4px solid var(--k);padding-bottom:8px}

/* 首屏 */
.hero{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:28px;
  min-height:70vh;
  padding:40px 32px;
  background-color:var(--n);
  background-image:radial-gradient(rgba(0,0,0,.55) 1.5px,transparent 1.5px);
  background-size:18px 18px;
  border-bottom:4px solid var(--k);
}
.hero-art{
  flex:0 0 auto;
  width:220px;
  height:220px;
  display:grid;
  place-items:center;
  padding:14px;
  background:var(--b);
  border:4px solid var(--k);
}
.hero-art .art-svg{width:100%;height:100%}
.hero-art .logo-art{width:100%;height:100%;object-fit:contain}
.hero-txt{
  flex:1 1 auto;
  min-width:0;
  text-align:right;
}
.kick{
  display:inline-block;
  margin-bottom:14px;
  padding:4px 10px;
  background:var(--b);
  color:var(--w);
  font-size:16px;
  font-weight:700;
  letter-spacing:.14em;
}
.hero h1{
  margin-left:auto;
  max-width:14ch;
  font-size:clamp(42px,7vw,92px);
  line-height:.94;
  text-align:right;
}

/* 导语 */
.lead-in{
  padding:34px 32px;
  border-bottom:4px solid var(--k);
}
.lead-in h2{font-size:clamp(26px,4vw,42px)}
.subtitle{
  max-width:60ch;
  margin:16px 0 0;
  padding-left:14px;
  border-left:8px solid var(--n);
  font-size:18px;
  font-weight:700;
  line-height:1.5;
}

/* 正文区块 */
.post > article{
  padding:36px 32px;
  border-bottom:4px solid var(--k);
  scroll-margin-top:88px;
}
.post > article:nth-of-type(even){background:#f2f4ff}
.post > article > h2{
  margin-bottom:18px;
  font-size:clamp(28px,4vw,44px);
}
.post > article > h2::after{
  content:"";
  display:block;
  width:64px;
  height:8px;
  margin-top:12px;
  background:var(--n);
}
.post > article h3{
  margin:24px 0 10px;
  font-size:22px;
  line-height:1.2;
}
.post > article p,
.post > article li{max-width:66ch}
.post > article ul,
.post > article ol{padding-left:1.3em}
.post > article a{font-weight:700}

/* 右侧目录 */
.side{
  position:sticky;
  top:60px;
  padding:26px 24px;
  background:var(--pale);
  border-left:4px solid var(--k);
  margin-left:-4px;
}
.side-t{
  margin-bottom:16px;
  font-size:24px;
}
.side-t::after{
  content:"";
  display:block;
  width:44px;
  height:6px;
  margin-top:8px;
  background:var(--b);
}
.side-list{margin:0;padding:0;list-style:none}
.side-list li{margin-bottom:8px}
.side-list a{
  display:flex;
  align-items:center;
  min-height:44px;
  padding:0 12px;
  border:2px solid var(--k);
  border-radius:10px;
  background:var(--w);
  color:var(--k);
  font-size:16px;
  font-weight:700;
  text-decoration:none;
}
.side-list a:hover{background:var(--n)}

/* 页脚 */
footer{
  background:var(--k);
  color:var(--w);
  border-top:4px solid var(--k);
}
.foot-grid{
  display:grid;
  grid-template-columns:1.1fr 1.3fr 1fr 1.6fr;
  gap:22px;
  padding:36px 32px;
}
footer dl{
  margin:0;
  padding:14px;
  border:2px solid var(--w);
  border-radius:10px;
}
footer dt{
  margin-bottom:10px;
  color:var(--n);
  font-size:16px;
  font-weight:700;
  letter-spacing:.08em;
}
footer dd{margin:0;font-size:16px;word-break:break-all}
.foot-list{margin:0;padding:0;list-style:none}
footer a{
  display:inline-flex;
  align-items:center;
  min-height:44px;
  color:var(--w);
  text-decoration:none;
  font-weight:700;
}
footer a:hover{color:var(--n);text-decoration:underline}
.foot-t{
  margin:0 0 10px;
  color:var(--n);
  font-size:16px;
  font-weight:700;
  letter-spacing:.08em;
}
.foot-sub form{
  display:flex;
  border:2px solid var(--w);
}
.foot-sub input{
  flex:1 1 auto;
  min-width:0;
  min-height:44px;
  padding:10px 12px;
  border:0;
  background:var(--w);
  color:var(--k);
  font:inherit;
  font-size:16px;
}
.foot-sub button{
  min-height:44px;
  padding:0 16px;
  border:0;
  border-left:2px solid var(--k);
  background:var(--n);
  color:var(--k);
  font:inherit;
  font-size:16px;
  font-weight:700;
  cursor:pointer;
}
.foot-sub button:hover{background:var(--b);color:var(--w)}
.copy{
  margin:0;
  padding:18px 16px;
  border-top:2px solid var(--n);
  text-align:center;
  font-size:16px;
}

/* 滚动出现 */
@media (prefers-reduced-motion: no-preference){
  .js .lead-in,
  .js .post > article,
  .js .foot-grid > *{opacity:0;transform:translateY(14px)}
  .js .in{opacity:1;transform:none}
}

/* 移动端 */
@media (max-width:900px){
  .site-head{
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    gap:8px;
    padding:10px 14px;
  }
  .brand{order:1;font-size:24px;text-align:left;margin-right:auto}
  .navbtn{
    order:2;
    display:inline-flex;
    align-items:center;
    min-height:44px;
    padding:0 16px;
    border:2px solid var(--k);
    border-radius:999px;
    background:var(--n);
    font-size:16px;
    font-weight:700;
    cursor:pointer;
  }
  .navtoggle:focus-visible ~ .navbtn{outline:3px solid var(--b);outline-offset:2px}
  .site-head nav{
    order:3;
    display:none;
    flex:1 0 100%;
    padding-top:6px;
  }
  .navtoggle:checked ~ nav{display:block}
  .site-head nav ol{flex-direction:column;gap:6px}
  .site-head nav a{width:100%;min-height:44px;justify-content:flex-start}
  .shell{grid-template-columns:1fr}
  .post{border-right:0}
  .hero{padding:28px 14px;gap:14px;min-height:64vh}
  .hero-art{width:104px;height:104px;padding:8px;border-width:3px}
  .kick{font-size:16px;letter-spacing:.1em}
  .lead-in{padding:26px 16px}
  .post > article{padding:28px 16px}
  .side{
    position:static;
    margin-left:0;
    border-left:0;
    border-top:4px solid var(--k);
  }
  .foot-grid{grid-template-columns:1fr 1fr;padding:28px 16px;gap:16px}
}
@media (max-width:480px){
  .foot-grid{grid-template-columns:1fr}
  .hero h1{font-size:clamp(38px,11vw,64px)}
}
</｜DSML｜ parameter>
</｜DSML｜ invoke>
</｜DSML｜ calls>

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