@import url('https://fonts.googleapis.com/css2?family=Cormorant+Infant:wght@300;400;500;600;700&family=Great+Vibes&display=swap');

:root{
  --mid:#1b3a8f;
  --glow:#6f9bff;
  --gold:#d8b26a;
  --text:#e4e4e4;
  --dim:#9098a6;
  --card:#0a0a0a;
  --line:#161616;
  color-scheme:dark;
}

*,*::before,*::after{box-sizing:border-box}

html{
  scroll-behavior:smooth;
  -webkit-text-size-adjust:100%;
  background:#000;
}

body{
  margin:0;
  width:100%;
  background:#000;
  color:var(--text);
  font-family:system-ui,-apple-system,"Segoe UI","PingFang SC","Hiragino Sans GB","Microsoft YaHei",sans-serif;
  font-size:16px;
  line-height:1.7;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
  max-width:100%;
}

@supports (overflow-x:clip){
  body{overflow-x:clip}
}

h1,h2,h3,p,ul,ol{margin:0}
ul,ol{padding:0;list-style:none}
a{color:inherit;text-decoration:none}
img{max-width:100%;height:auto}
i{font-style:normal}

a:focus-visible,
button:focus-visible{
  outline:1px solid var(--glow);
  outline-offset:3px;
  border-radius:4px;
}

.app{display:flex;min-height:100vh;max-width:100%}

/* 左侧固定竖排导航 */
.rail{
  position:fixed;
  inset:0 auto 0 0;
  width:214px;
  z-index:30;
  display:flex;
  flex-direction:column;
  gap:28px;
  padding:30px 20px;
  background:#000;
  border-right:1px solid #131313;
}

.brand{
  display:flex;
  align-items:center;
  gap:10px;
  min-height:44px;
  padding:0 4px;
  color:#fff;
  font-family:"Cormorant Infant","Songti SC","Noto Serif SC",serif;
  font-size:22px;
  letter-spacing:.08em;
}

.brand .mark{
  width:9px;height:9px;
  border-radius:50%;
  background:var(--gold);
  box-shadow:0 0 12px rgba(216,178,106,.8);
  flex:0 0 auto;
}

.nav{min-width:0}
.nav ul{display:flex;flex-direction:column;gap:1px;max-width:100%}

.nav a{
  display:flex;
  align-items:center;
  min-height:44px;
  padding:9px 12px;
  color:#c4c4c4;
  font-size:15px;
  letter-spacing:.02em;
  border-left:2px solid transparent;
  transition:color .25s,border-color .25s,background .25s;
}

.nav a:hover,
.nav a:focus-visible{
  color:#fff;
  border-left-color:var(--glow);
  background:#080d18;
  text-shadow:0 0 10px rgba(111,155,255,.6);
}

/* 主舞台 */
.stage{
  flex:1 1 auto;
  min-width:0;
  max-width:100%;
  margin-left:214px;
  display:flex;
  flex-direction:column;
}

.ticker{
  position:sticky;
  top:0;
  z-index:20;
  display:flex;
  align-items:center;
  min-height:40px;
  padding:8px 28px;
  background:#000;
  border-bottom:1px solid #101010;
  color:#8ea3cf;
  font-family:"Cormorant Infant",Georgia,serif;
  font-size:13px;
  letter-spacing:.3em;
  text-transform:uppercase;
  overflow:hidden;
  white-space:nowrap;
}

.ticker span{
  text-shadow:0 0 10px rgba(111,155,255,.35);
  overflow:hidden;
  text-overflow:ellipsis;
  max-width:100%;
}

.cols{
  display:grid;
  grid-template-columns:minmax(0,1fr) 232px;
  align-items:start;
  gap:30px;
  width:100%;
  max-width:1220px;
  padding:26px 28px 46px;
}

main{min-width:0;max-width:100%}
div{min-width:0;max-width:100%}

div > section{
  margin-top:20px;
  padding:30px;
  background:var(--card);
  border:1px solid var(--line);
  border-bottom:2px solid var(--mid);
  border-radius:28px;
  color:#d5d5d5;
  scroll-margin-top:84px;
  min-width:0;
  max-width:100%;
  transition:border-bottom-color .3s,box-shadow .3s;
}

div > section:hover{border-bottom-color:var(--glow);box-shadow:0 0 0 1px rgba(111,155,255,.1)}

div > section:first-child{margin-top:0}

div p{margin:0 0 1em}
div p:last-child{margin-bottom:0}
div ul,div ol{list-style:disc;padding-left:1.25em;margin:0 0 1.1em}
div ol{list-style:decimal}
div li{margin:.4em 0}
div strong{color:#fff}
div em{color:#cfd8e8}

div p,
div li,
div blockquote,
div h2,
div h3,
div a,
div td,
div th{
  overflow-wrap:break-word;
  word-break:break-word;
}

div a{
  color:#a9c2ff;
  text-decoration:underline;
  text-decoration-color:#35486f;
  text-underline-offset:3px;
}

div a:hover{color:#fff;text-shadow:0 0 10px rgba(111,155,255,.55)}

div img{border-radius:16px;border:1px solid var(--line);margin:.6em 0;max-width:100%;height:auto}

div blockquote{
  margin:1.2em 0;
  padding:12px 18px;
  background:#07080e;
  border-left:2px solid var(--glow);
  border-radius:0 16px 16px 0;
  color:#c6cedd;
}

div code,
div pre{
  font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;
  font-size:14px;
  background:#0e1016;
  border:1px solid var(--line);
  border-radius:8px;
  max-width:100%;
}

div code{padding:1px 5px;overflow-wrap:anywhere}
div pre{padding:14px;overflow-x:auto;margin:0 0 1.1em}
div pre code{padding:0;border:0;background:none}

div table{
  width:100%;
  max-width:100%;
  border-collapse:collapse;
  margin:0 0 1.1em;
  font-size:15px;
}

div th,
div td{
  padding:8px 10px;
  border:1px solid var(--line);
  text-align:left;
}

div h2,
div h3{
  display:flex;
  align-items:baseline;
  gap:12px;
  margin:1.8em 0 .7em;
  color:#fff;
  font-family:"Cormorant Infant","Songti SC","Noto Serif SC",serif;
  font-weight:500;
  line-height:1.35;
  letter-spacing:.01em;
}

div h2{font-size:clamp(21px,2.4vw,27px)}
div h3{font-size:clamp(18px,2vw,21px)}
div h2:first-child,
div h3:first-child{margin-top:0}

div h2::before,
div h3::before{
  content:"";
  flex:0 0 auto;
  width:6px;
  height:6px;
  border-radius:2px;
  background:var(--mid);
  box-shadow:0 0 10px var(--glow);
  transform:translateY(-4px);
}

div h2 > span,
div h3 > span{position:relative;padding-bottom:5px}

div h2 > span::after{
  content:"";
  position:absolute;
  left:0;right:0;bottom:0;
  height:1px;
  background:linear-gradient(90deg,var(--glow),transparent);
}

/* 首屏 */
.hero{
  display:flex;
  align-items:center;
  gap:26px;
  min-height:45vh;
  margin-top:0;
  padding:40px 34px;
  overflow:hidden;
  background:radial-gradient(130% 130% at 100% 0%,#0c1728 0%,#060606 58%,#000 100%);
  border:1px solid #16202f;
  border-bottom:2px solid var(--mid);
  border-radius:28px;
  scroll-margin-top:84px;
}

.hero-art{
  flex:0 0 auto;
  width:112px;
  max-width:35%;
  display:grid;
  place-items:center;
}

.hero-art img{
  width:100%;
  height:auto;
  border:0;
  margin:0;
  filter:drop-shadow(0 0 18px rgba(111,155,255,.45));
}

.hero-art i{
  display:block;
  width:76px;height:76px;
  border-radius:50%;
  background:radial-gradient(circle at 50% 50%,#12203c,#000 72%);
  box-shadow:0 0 0 1px #1b2a47,0 0 30px rgba(111,155,255,.2);
}

.hero-copy{
  margin-left:auto;
  min-width:0;
  max-width:37ch;
  text-align:right;
}

.badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  margin-bottom:16px;
  padding:5px 15px;
  max-width:100%;
  border:1px solid #26324a;
  border-radius:999px;
  color:var(--gold);
  font-family:"Cormorant Infant","Songti SC",serif;
  font-size:15px;
  letter-spacing:.12em;
  background:rgba(20,26,40,.45);
}

.badge::before{
  content:"";
  width:5px;height:5px;
  border-radius:50%;
  background:var(--gold);
  box-shadow:0 0 9px var(--gold);
  flex:0 0 auto;
}

h1{
  margin:0 0 14px;
  color:#fff;
  font-family:"Cormorant Infant","Songti SC","Noto Serif SC",serif;
  font-weight:500;
  font-size:clamp(29px,4.2vw,52px);
  line-height:1.18;
  letter-spacing:.02em;
  text-shadow:0 0 20px rgba(111,155,255,.28);
  overflow-wrap:break-word;
  word-break:break-word;
}

.lede{
  margin:0;
  color:#b4bfd2;
  font-size:16px;
  overflow-wrap:break-word;
}

/* 右侧推荐栏 */
.side{
  position:sticky;
  top:60px;
  padding:22px;
  background:#070707;
  border:1px solid #131313;
  border-bottom:2px solid var(--mid);
  border-radius:28px;
  min-width:0;
}

.side h2{
  margin:0 0 12px;
  color:#fff;
  font-family:"Cormorant Infant","Songti SC",serif;
  font-weight:500;
  font-size:19px;
  letter-spacing:.06em;
}

.side h2 > span{
  position:relative;
  display:inline-block;
  padding-bottom:6px;
}

.side h2 > span::after{
  content:"";
  position:absolute;
  left:0;
  width:100%;
  bottom:0;
  height:1px;
  background:linear-gradient(90deg,var(--glow),transparent);
}

.side a{
  display:flex;
  align-items:center;
  min-height:40px;
  padding:8px 2px;
  color:#a7a7a7;
  font-size:15px;
  border-bottom:1px solid #111;
  transition:color .25s,padding-left .25s;
}

.side li:last-child a{border-bottom:0}

.side a:hover,
.side a:focus-visible{
  color:#fff;
  padding-left:6px;
  text-shadow:0 0 10px rgba(111,155,255,.55);
}

/* 页脚 */
footer{
  display:grid;
  grid-template-columns:1.5fr 1fr minmax(110px,.7fr);
  gap:28px;
  margin-top:auto;
  padding:46px 28px 30px;
  border-top:1px solid #141414;
  min-width:0;
}

footer h2{
  margin:0 0 14px;
  color:#fff;
  font-family:"Cormorant Infant","Songti SC",serif;
  font-weight:500;
  font-size:20px;
  letter-spacing:.04em;
}

footer h2 > span{
  position:relative;
  display:inline-block;
  padding-bottom:6px;
}

footer h2 > span::after{
  content:"";
  position:absolute;
  left:0;
  width:100%;
  bottom:0;
  height:1px;
  background:linear-gradient(90deg,var(--glow),transparent);
}

.cta h2{
  font-size:clamp(28px,4.4vw,48px);
  line-height:1.1;
  text-shadow:0 0 22px rgba(111,155,255,.3);
}

.cta .jump{
  display:inline-flex;
  align-items:center;
  min-height:46px;
  padding:0 24px;
  border:1px solid #2a3b5e;
  border-radius:999px;
  color:#cfe0ff;
  font-size:15px;
  transition:background .25s,box-shadow .25s,color .25s;
}

.cta .jump:hover,
.cta .jump:focus-visible{
  background:#0d1729;
  color:#fff;
  box-shadow:0 0 24px rgba(111,155,255,.28);
}

.foot-nav li a{
  display:flex;
  align-items:center;
  min-height:40px;
  padding:6px 0;
  color:#adadad;
  font-size:15px;
  transition:color .25s;
}

.foot-nav li a:hover,
.foot-nav li a:focus-visible{color:#fff}

.foot-note{
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  color:#7d7d7d;
  font-size:14px;
}

.foot-note p{margin:0}

/* 滚动显现 */
@media (prefers-reduced-motion:no-preference){
  .reveal{
    opacity:0;
    transform:translateY(16px);
    transition:opacity .6s ease,transform .6s cubic-bezier(.2,.7,.2,1);
  }
  .reveal.in{opacity:1;transform:none}
}

@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *{transition:none!important;animation:none!important}
  .reveal{opacity:1!important;transform:none!important}
}

/* 移动端 */
@media (max-width:900px){
  .rail{
    position:sticky;
    inset:0 0 auto 0;
    width:auto;
    max-width:100%;
    min-width:0;
    flex-direction:row;
    align-items:center;
    gap:12px;
    padding:10px 16px;
    border-right:0;
    border-bottom:1px solid #131313;
  }

  .brand{font-size:19px;padding:0;flex:0 0 auto}

  .nav{flex:1 1 auto;min-width:0;max-width:100%;overflow:hidden}

  .nav ul{
    flex-direction:row;
    gap:2px;
    max-width:100%;
    overflow-x:auto;
    scrollbar-width:none;
    -webkit-overflow-scrolling:touch;
  }

  .nav ul::-webkit-scrollbar{display:none}

  .nav a{
    white-space:nowrap;
    min-height:44px;
    padding:10px 11px;
    border-left:0;
    border-bottom:2px solid transparent;
    font-size:15px;
  }

  .nav a:hover,
  .nav a:focus-visible{border-left-color:transparent;border-bottom-color:var(--glow)}

  .stage{margin-left:0}

  .ticker{position:static;padding:8px 16px;font-size:12px;letter-spacing:.22em}

  .cols{grid-template-columns:minmax(0,1fr);gap:22px;padding:18px 16px 34px}

  .hero{
    flex-direction:row;
    align-items:flex-start;
    gap:16px;
    min-height:45vh;
    padding:26px 20px;
    border-radius:24px;
  }

  .hero-art{width:64px;max-width:20%;margin-top:6px}
  .hero-art i{width:52px;height:52px}

  .hero-copy{max-width:100%;text-align:left;margin-left:0}

  h1{font-size:clamp(27px,7.4vw,38px);text-shadow:0 0 14px rgba(111,155,255,.22)}

  .badge{font-size:14px;margin-bottom:12px;padding:4px 12px}

  div > section{padding:22px 18px;border-radius:24px;scroll-margin-top:104px}

  .hero{scroll-margin-top:104px;border-radius:24px}

  div h2{gap:9px}
  div h2{font-size:20px}
  div h3{font-size:18px}

  div table{font-size:14px}
  div th,
  div td{padding:6px 8px}

  .side{position:static;border-radius:24px;padding:18px}

  footer{
    grid-template-columns:minmax(0,1fr);
    gap:24px;
    padding:34px 16px 26px;
  }

  .foot-note{order:3}
  .cta .jump{width:100%;justify-content:center}
}

@media (max-width:420px){
  .hero{flex-direction:column;padding:22px 16px}
  .hero-art{order:-1;width:52px;max-width:100%}
  .hero-art i{width:44px;height:44px}
  div > section{padding:18px 14px;border-radius:20px}
}

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