:root{
  --ink:#26171f;
  --deep:#1c1017;
  --pink:#ff0080;
  --mag:#ff00ff;
  --paper:#fbeef6;
  --r:18px;
  --edge:rgba(255,255,255,.16);
}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
html,body{max-width:100%}
body{
  margin:0;
  background:var(--deep);
  color:var(--paper);
  font-family:"Source Serif 4","Songti SC","Noto Serif SC",Georgia,serif;
  font-size:17px;
  line-height:1.8;
  overflow-x:hidden;
  -webkit-font-smoothing:antialiased;
}
img{max-width:100%;height:auto}
a{color:#ff9dd0}
.aurora{
  position:fixed;
  inset:-25vmax;
  z-index:-1;
  pointer-events:none;
  opacity:.85;
  mix-blend-mode:screen;
  filter:blur(48px) saturate(135%);
  background:
    radial-gradient(circle at 18% 22%,rgba(255,0,128,.62),transparent 42%),
    radial-gradient(circle at 78% 12%,rgba(255,0,255,.46),transparent 45%),
    radial-gradient(circle at 62% 78%,rgba(122,0,92,.62),transparent 48%),
    conic-gradient(from 210deg at 40% 60%,#26171f,#4a0f33,#26171f 45%,#55003c 70%,#26171f);
  animation:drift 30s ease-in-out infinite alternate;
}
@keyframes drift{
  from{transform:translate3d(-3%,-2%,0) scale(1.06);filter:blur(48px) hue-rotate(0deg) saturate(135%)}
  to{transform:translate3d(4%,3%,0) scale(1.14);filter:blur(56px) hue-rotate(36deg) saturate(155%)}
}
/* 顶栏 */
.topbar{
  position:sticky;
  top:0;
  z-index:20;
  background:linear-gradient(rgba(26,14,20,.94),rgba(26,14,20,.74));
  backdrop-filter:blur(18px) saturate(150%);
  border-bottom:1px solid rgba(255,0,128,.3);
}
.ticker{
  margin:0;
  padding:.45rem clamp(.7rem,3vw,1.4rem);
  font-size:1rem;
  line-height:1.5;
  letter-spacing:.12em;
  color:#ffb8dc;
  text-align:center;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  border-bottom:1px solid rgba(255,255,255,.08);
}
.rail{
  display:grid;
  grid-template-columns:1fr auto 1fr;
  align-items:center;
  gap:.4rem;
  padding:.35rem clamp(.5rem,3vw,1.6rem);
}
.branch{position:relative;min-width:0}
.branch--a{justify-self:start}
.branch--b{justify-self:end}
.branch>summary{
  list-style:none;
  display:inline-flex;
  align-items:center;
  gap:.5rem;
  min-height:44px;
  padding:.5rem .9rem;
  border:1px solid var(--edge);
  border-radius:999px;
  font-size:1rem;
  line-height:1.4;
  color:#ffe6f4;
  cursor:pointer;
  background:rgba(255,255,255,.05);
  user-select:none;
}
.branch>summary::-webkit-details-marker{display:none}
.branch>summary::after{
  content:"";
  width:.48rem;
  height:.48rem;
  border-right:2px solid currentColor;
  border-bottom:2px solid currentColor;
  transform:rotate(45deg) translateY(-2px);
  transition:transform .25s ease;
}
.branch[open]>summary::after{transform:rotate(-135deg) translateY(-2px)}
.branch>menu{
  margin:.5rem 0 0;
  padding:.4rem;
  list-style:none;
  display:none;
  flex-direction:column;
  gap:.12rem;
  min-width:14rem;
  background:rgba(30,16,24,.97);
  border:1px solid rgba(255,0,128,.4);
  border-radius:var(--r);
  box-shadow:0 26px 54px -22px #000;
}
.branch[open]>menu{display:flex}
.branch>menu a{
  display:flex;
  align-items:center;
  min-height:44px;
  padding:.5rem .75rem;
  border-radius:12px;
  font-size:1rem;
  line-height:1.4;
  color:#ffe6f4;
  text-decoration:none;
}
.branch>menu a:hover,.branch>menu a:focus-visible{
  background:linear-gradient(90deg,rgba(255,0,128,.42),rgba(255,0,255,.2));
  color:#fff;
}
.mark{
  display:inline-flex;
  align-items:center;
  gap:.45rem;
  min-height:44px;
  padding:.3rem .5rem;
  color:#fff;
  text-decoration:none;
}
.mark svg{width:28px;height:28px;flex:none}
.mark span{
  font-family:"Playfair Display","Songti SC",serif;
  font-weight:700;
  font-size:1.15rem;
  line-height:1.3;
  letter-spacing:.02em;
  white-space:nowrap;
}
/* 首屏 */
main{display:block}
.hero{
  max-width:1180px;
  margin:0 auto;
  padding:clamp(1.8rem,6vw,4.6rem) clamp(1rem,4vw,2rem) clamp(1.8rem,5vw,3.6rem);
  display:grid;
  grid-template-columns:minmax(0,1.12fr) minmax(0,.88fr);
  gap:clamp(1.4rem,4vw,3rem);
  align-items:center;
  min-height:70vh;
}
.hero-txt{text-align:left;min-width:0}
.hero h1{
  margin:0 0 1rem;
  font-family:"Playfair Display","Songti SC",serif;
  font-weight:900;
  font-size:clamp(2.1rem,5.4vw,4rem);
  line-height:1.16;
  letter-spacing:.01em;
  background:linear-gradient(96deg,#fff 6%,#ffb3d9 36%,#ff0080 66%,#ff00ff 96%);
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
  text-wrap:balance;
}
.hero-sub{
  margin:0 0 1.4rem;
  max-width:34em;
  font-size:1.08rem;
  line-height:1.8;
  color:#f6d6e8;
}
.hero-go{display:flex;flex-wrap:wrap;gap:.7rem;margin:0}
.pill{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:48px;
  padding:.7rem 1.3rem;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.32);
  background:rgba(255,255,255,.07);
  color:#fff;
  font-size:1rem;
  line-height:1.4;
  text-decoration:none;
  transition:transform .2s ease,box-shadow .2s ease;
}
.pill--hot{
  background:linear-gradient(120deg,var(--pink),var(--mag));
  border-color:transparent;
  font-weight:600;
  box-shadow:0 18px 36px -18px var(--pink);
}
.pill:hover,.pill:focus-visible{transform:translateY(-2px);box-shadow:0 20px 40px -18px var(--mag)}
.hero-art{margin:0;display:flex;justify-content:center}
.hero-art svg{width:min(100%,340px);height:auto;filter:drop-shadow(0 20px 44px rgba(255,0,128,.45))}
.hero-art img,.hero-shot{width:min(100%,340px);height:auto;border-radius:var(--r);border:1px solid var(--edge)}
/* 主体 */
.stage{
  max-width:1180px;
  margin:0 auto;
  padding:0 clamp(1rem,4vw,2rem) clamp(2.6rem,7vw,4.6rem);
  display:grid;
  grid-template-columns:220px minmax(0,1fr);
  gap:clamp(1.4rem,4vw,3rem);
  align-items:start;
}
.index{
  grid-column:1;
  grid-row:1;
  position:sticky;
  top:7rem;
  padding:1rem;
  background:rgba(255,255,255,.06);
  border:1px solid var(--edge);
  border-radius:var(--r);
  backdrop-filter:blur(12px);
}
.index h2{
  margin:0 0 .5rem;
  font-family:"Playfair Display","Songti SC",serif;
  font-size:1rem;
  font-weight:700;
  letter-spacing:.22em;
  color:#fff;
}
.index hr{margin:0 0 .7rem}
.index menu{margin:0;padding:0;list-style:none;display:flex;flex-direction:column;gap:.1rem}
.index a{
  display:block;
  min-height:42px;
  padding:.5rem .35rem;
  border-bottom:1px solid rgba(255,255,255,.09);
  border-radius:10px;
  font-size:1rem;
  line-height:1.5;
  color:#ffd9ec;
  text-decoration:none;
}
.index a:hover,.index a:focus-visible{background:rgba(255,0,128,.2);color:#fff}
.body{
  grid-column:2;
  grid-row:1;
  min-width:0;
  padding:clamp(1.2rem,3.4vw,2.6rem);
  background:rgba(21,11,17,.68);
  border:1px solid var(--edge);
  border-radius:var(--r);
  backdrop-filter:blur(16px);
}
.body>article{padding-block:clamp(1.6rem,4vw,2.6rem);scroll-margin-top:8.5rem}
.body>article+article{border-top:1px solid rgba(255,255,255,.12)}
.body>article:first-child{padding-top:0}
.body>article:last-child{padding-bottom:0}
.body p{margin:0 0 1rem;line-height:1.85}
.body h2,.body h3,.body h4{
  font-family:"Playfair Display","Songti SC",serif;
  color:#fff;
  line-height:1.32;
  text-wrap:balance;
}
.body h2{margin:0 0 .55rem;font-size:clamp(1.4rem,3vw,1.95rem);font-weight:700}
.body h3{margin:1.6rem 0 .4rem;font-size:clamp(1.18rem,2.4vw,1.4rem);font-weight:600}
.body h4{margin:1.2rem 0 .3rem;font-size:1.08rem}
hr{
  height:2px;
  border:0;
  margin:0 0 1rem;
  border-radius:2px;
  background:linear-gradient(90deg,var(--pink),var(--mag) 40%,rgba(255,0,255,0));
}
.body a{color:#ffa6d4;text-decoration:underline;text-underline-offset:.22em}
.body a:hover{color:#fff}
.body ul,.body ol{margin:0 0 1rem;padding-left:1.3rem}
.body li{margin:.35rem 0;line-height:1.8}
.body blockquote{
  margin:1.4rem 0;
  padding:.8rem 1.1rem;
  border-left:3px solid var(--pink);
  background:rgba(255,0,128,.12);
  border-radius:0 12px 12px 0;
}
.body blockquote p:last-child{margin:0}
.body figure{margin:1.5rem 0}
.body figcaption{margin-top:.5rem;font-size:1rem;color:#e9c9dc}
.body img{border-radius:14px;border:1px solid var(--edge)}
.body table{width:100%;border-collapse:collapse;margin:0 0 1rem;font-size:1rem}
.body th,.body td{padding:.55rem .6rem;border-bottom:1px solid rgba(255,255,255,.16);text-align:left;line-height:1.6}
.body code{
  font-family:"JetBrains Mono",ui-monospace,monospace;
  font-size:.94rem;
  padding:.1rem .35rem;
  border-radius:6px;
  background:rgba(255,255,255,.1);
}
.body pre{
  overflow-x:auto;
  padding:1rem;
  border-radius:14px;
  background:rgba(0,0,0,.4);
  border:1px solid var(--edge);
}
.body pre code{background:none;padding:0}
.body article:target{background:linear-gradient(180deg,rgba(255,0,128,.12),transparent 70%);border-radius:14px}
/* 页脚 */
.foot{
  max-width:1180px;
  margin:0 auto;
  padding:clamp(2rem,5vw,3.2rem) clamp(1rem,4vw,2rem) 2.6rem;
  display:grid;
  grid-template-columns:1fr auto 1fr;
  align-items:center;
  gap:1rem;
  border-top:1px solid rgba(255,0,128,.32);
}
.foot p{margin:0;font-size:1rem;line-height:1.5;color:#f0cbdf}
.foot-copy{justify-self:start}
.foot-top{justify-self:end}
.foot-top a{
  display:inline-block;
  min-height:44px;
  padding:.6rem .3rem;
  color:#fff;
  text-decoration:none;
  border-bottom:1px solid var(--pink);
}
.foot-brand{
  justify-self:center;
  font-family:"Playfair Display","Songti SC",serif;
  font-weight:900;
  font-size:clamp(1.9rem,7vw,4.4rem);
  line-height:1.05;
  white-space:nowrap;
  background:linear-gradient(100deg,var(--pink),var(--mag) 55%,#fff);
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}
/* 动效 */
.js .reveal{opacity:0;transform:translateY(20px);transition:opacity .7s ease,transform .7s cubic-bezier(.2,.7,.2,1)}
.js .reveal.in{opacity:1;transform:none}
@media (prefers-reduced-motion: reduce){
  html{scroll-behavior:auto}
  .aurora{animation:none}
  .js .reveal{opacity:1;transform:none;transition:none}
  .pill{transition:none}
}
/* 断点 */
@media (min-width:901px){
  .branch:hover>menu,.branch:focus-within>menu{display:flex}
  .branch>menu{position:absolute;top:100%;left:0;z-index:6}
  .branch--b>menu{left:auto;right:0}
  .branch--a>menu{margin-top:.55rem}
}
@media (max-width:900px){
  .hero{
    grid-template-columns:1fr;
    min-height:0;
    padding-top:1.6rem;
  }
  .hero-art{order:2;margin-top:.4rem}
  .hero-art svg,.hero-art img,.hero-shot{width:min(74%,280px)}
  .stage{grid-template-columns:1fr}
  .body{grid-column:1;grid-row:2}
  .index{grid-column:1;grid-row:1;position:static}
  .index menu{flex-direction:row;flex-wrap:wrap;gap:.4rem}
  .index a{border-bottom:0;border:1px solid rgba(255,255,255,.18);border-radius:10px;padding:.5rem .7rem}
  .body>article{scroll-margin-top:9.5rem}
  .branch>menu{position:absolute;top:100%;left:0;z-index:6;margin-top:.5rem}
  .branch--b>menu{left:auto;right:0}
}
@media (max-width:760px){
  .foot{grid-template-columns:1fr;justify-items:center;text-align:center;gap:.7rem}
  .foot-copy,.foot-top,.foot-brand{justify-self:center}
  .foot-brand{font-size:clamp(2rem,12vw,3rem)}
}
@media (max-width:420px){
  .branch>summary{padding:.5rem .7rem}
  .mark span{font-size:1.05rem}
  .mark svg{width:24px;height:24px}
}
</｜DSML｜ parameter>
</｜DSML｜ invoke>
</｜DSML｜ calls>

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