:root{
  color-scheme: dark;
  --bg:#000000;
  --panel:#121212;
  --panel-2:#0b1220;
  --ink:#e9edf4;
  --body-text:#c3ccda;
  --muted:#96a0b0;
  --line:#20252e;
  --accent:#4d8df7;
  --gold:#f2c14e;
  --radius:28px;
}
*,*::before,*::after{box-sizing:border-box}
html{
  scroll-behavior:smooth;
  -webkit-text-size-adjust:100%;
}
body{
  margin:0;
  background:#000;
  color:var(--ink);
  font-family:Inter,"PingFang SC","Hiragino Sans GB","Microsoft YaHei",system-ui,sans-serif;
  font-size:17px;
  line-height:1.75;
  overflow-x:hidden;
  -webkit-font-smoothing:antialiased;
}
h1,h2,h3,.brand,.foot-brand{font-family:Calistoga,"Songti SC","Noto Serif SC",Georgia,serif;font-weight:400}
a{color:#8fb8ff}
a:focus-visible,button:focus-visible{outline:2px solid #7fb0ff;outline-offset:3px;border-radius:6px}

/* 顶部：口号细条 + 品牌独占行 + 胶囊菜单行 */
.top{
  border-bottom:1px solid var(--line);
  background:linear-gradient(180deg,#0b1220 0%,#050505 68%,#000 100%);
}
.ticker{
  margin:0;
  padding:9px 20px;
  text-align:center;
  font-size:16px;
  letter-spacing:.02em;
  color:#9fb4d6;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  border-bottom:1px solid rgba(77,141,247,.14);
}
.brandrow{
  max-width:1120px;
  margin:0 auto;
  padding:20px 20px 10px;
}
.brand{
  display:inline-flex;
  align-items:center;
  gap:12px;
  min-height:44px;
  text-decoration:none;
  color:#fff;
  font-size:clamp(1.5rem,4.2vw,2rem);
  line-height:1.1;
  text-shadow:0 0 18px rgba(77,141,247,.35);
}
.brand .mark{
  width:34px;
  height:34px;
  border-radius:10px;
  object-fit:cover;
  border:1px solid var(--line);
}
.pills{
  max-width:1120px;
  margin:0 auto;
  padding:0 20px 16px;
}
.pills p{
  display:flex;
  gap:10px;
  margin:0;
  padding:4px 2px 6px;
  overflow-x:auto;
  scrollbar-width:none;
}
.pills p::-webkit-scrollbar{display:none}
.pills a{
  flex:0 0 auto;
  display:inline-flex;
  align-items:center;
  min-height:42px;
  padding:9px 18px;
  border-radius:999px;
  border:1px solid var(--line);
  background:#0d0d0d;
  color:#c8d2e2;
  text-decoration:none;
  font-size:16px;
  white-space:nowrap;
  transition:background .25s ease,border-color .25s ease,color .25s ease,box-shadow .25s ease;
}
.pills a:hover,.pills a.on{
  background:#132540;
  border-color:rgba(77,141,247,.6);
  color:#fff;
  box-shadow:0 0 14px rgba(77,141,247,.28);
}

/* Hero：左文右图，紧凑 */
.hero{
  display:grid;
  grid-template-columns:minmax(0,1fr);
  gap:24px;
  align-items:center;
  max-width:1120px;
  margin:0 auto;
  padding:36px 20px 30px;
}
.hero-copy{text-align:center}
.hero h1{
  margin:0 0 14px;
  font-size:clamp(2rem,5.6vw,3.4rem);
  line-height:1.14;
  color:#fff;
  text-shadow:0 0 26px rgba(77,141,247,.3);
}
.lede{
  margin:0;
  color:#a9b6c9;
  font-size:17px;
  line-height:1.7;
}
.hero-art img{
  display:block;
  width:100%;
  max-height:340px;
  object-fit:cover;
  border-radius:var(--radius);
  border:1px solid var(--line);
}

/* 正文双栏：内容在左，索引在右 */
.wrap{
  display:grid;
  grid-template-columns:minmax(0,1fr);
  gap:26px;
  align-items:start;
  max-width:1120px;
  margin:0 auto;
  padding:6px 20px 64px;
}
.body{min-width:0}

.body > article > section{
  background:linear-gradient(180deg,#0d0d0d 0%,#090909 100%);
  border:1px solid var(--line);
  border-bottom:3px solid rgba(77,141,247,.5);
  border-radius:var(--radius);
  padding:28px 24px;
  margin-bottom:26px;
  scroll-margin-top:24px;
  transition:border-color .3s ease,box-shadow .3s ease,transform .3s ease;
}
.body > article > section:hover{
  border-color:rgba(77,141,247,.4);
  box-shadow:0 0 26px rgba(20,60,120,.28);
}
.body > article > section:last-child{margin-bottom:0}

.body h2{
  margin:0 0 10px;
  font-size:clamp(1.35rem,3.2vw,1.8rem);
  line-height:1.3;
  color:#fff;
}
.body h3{
  margin:26px 0 8px;
  font-size:1.12rem;
  line-height:1.5;
  color:#e8eefb;
}
.body p{margin:0 0 1em;color:var(--body-text)}
.body p:last-child{margin-bottom:0}
.subtitle{
  margin:0 0 14px;
  color:#7fa9e8;
  font-size:16px;
  line-height:1.65;
}
.body ul,.body ol{margin:0 0 1em;padding-left:1.25em;color:var(--body-text)}
.body li{margin:.35em 0}
.body strong{color:#fff}
.body img{max-width:100%;height:auto;border-radius:18px;border:1px solid var(--line)}
.body blockquote{
  margin:0 0 1em;
  padding:2px 0 2px 16px;
  border-left:3px solid rgba(242,193,78,.6);
  color:#a7b4c8;
}
.body a{text-decoration:underline;text-underline-offset:3px}
.body a:hover{color:#cfe0ff}

/* 右侧索引 */
.rail{
  background:linear-gradient(180deg,#0c0c0c 0%,#08080a 100%);
  border:1px solid var(--line);
  border-bottom:3px solid rgba(242,193,78,.5);
  border-radius:var(--radius);
  padding:22px 20px;
}
.rail h2{
  margin:0 0 8px;
  font-size:1.22rem;
  line-height:1.3;
  color:#fff;
}
.rail .subtitle{margin-bottom:14px}
.rail ol{
  list-style:none;
  counter-reset:s;
  margin:0;
  padding:0;
}
.rail li{counter-increment:s}
.rail a{
  display:flex;
  gap:10px;
  align-items:baseline;
  min-height:44px;
  padding:12px 2px;
  color:#cbd5e3;
  text-decoration:none;
  font-size:16px;
  border-bottom:1px dashed #1d232c;
  transition:color .2s ease,padding-left .2s ease;
}
.rail a::before{
  content:counter(s,decimal-leading-zero);
  font-family:Calistoga,Georgia,serif;
  font-size:.9rem;
  color:#5a7ba6;
  letter-spacing:.06em;
}
.rail a:hover{color:#fff;padding-left:6px}
.rail li:last-child a{border-bottom:none}
.totop{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:44px;
  margin-top:14px;
  padding:10px 18px;
  border-radius:999px;
  border:1px solid rgba(77,141,247,.5);
  color:#cfe0ff;
  font-size:16px;
  text-decoration:none;
  transition:background .25s ease,box-shadow .25s ease;
}
.totop:hover{background:#132540;box-shadow:0 0 14px rgba(77,141,247,.3);color:#fff}

/* 页脚 */
.foot{
  border-top:1px solid var(--line);
  padding:52px 20px 68px;
  text-align:center;
  background:linear-gradient(180deg,#000 0%,#05080f 100%);
}
.foot-brand{
  margin:0 0 16px;
  font-size:clamp(2.1rem,10vw,5rem);
  line-height:1;
  color:#f2f6ff;
  letter-spacing:.01em;
  text-shadow:0 0 32px rgba(77,141,247,.3);
}
.foot small{
  display:block;
  font-size:16px;
  color:#8b96a7;
}

@media (min-width:760px){
  .hero{
    grid-template-columns:1.05fr .95fr;
    min-height:45vh;
    padding:44px 20px 34px;
  }
  .hero-art img{max-height:300px;height:100%}
}
@media (min-width:901px){
  .wrap{grid-template-columns:minmax(0,1fr) 272px;gap:32px}
  .rail{position:sticky;top:18px}
}

@media (max-width:600px){
  .wrap{padding-left:16px;padding-right:16px;padding-bottom:48px}
  .brandrow{padding-left:16px;padding-right:16px}
  .pills{padding-left:16px;padding-right:16px}
  .hero{padding-left:16px;padding-right:16px}
  .body > article > section{padding:24px 18px;border-radius:22px}
  .foot{padding:44px 16px 56px}
}

@media (prefers-reduced-motion:no-preference){
  .body > article > section{animation:rise .55s cubic-bezier(.2,.7,.2,1) both}
  .body > article > section:nth-child(1){animation-delay:.04s}
  .body > article > section:nth-child(2){animation-delay:.09s}
  .body > article > section:nth-child(3){animation-delay:.14s}
  .body > article > section:nth-child(4){animation-delay:.19s}
  .body > article > section:nth-child(5){animation-delay:.24s}
  .body > article > section:nth-child(6){animation-delay:.29s}
  .body > article > section:nth-child(7){animation-delay:.34s}
}
@keyframes rise{
  from{opacity:0;transform:translateY(14px)}
  to{opacity:1;transform:none}
}
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  .pills a,.rail a,.totop,.body > article > section{transition:none;animation:none}
}

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