@import url('https://fonts.googleapis.com/css2?family=Kalam:wght@400;700&family=Patrick+Hand&display=swap');

:root {
  --pink: #ff0080;
  --magenta: #ff00ff;
  --ink: #26171f;
  --paper: #170d14;
  --card: rgba(38, 23, 31, .72);
  --line: rgba(255, 0, 128, .26);
  --txt: #f8ecf4;
  --dim: #cfb4c6;
  --r: 18px;
  --dock: 64px;
}

* { box-sizing: border-box; }

html {
  background: #120a10;
  scroll-behavior: smooth;
  scroll-padding-bottom: calc(var(--dock) + 16px);
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
  max-width: 100%;
}

body {
  margin: 0;
  padding-bottom: calc(var(--dock) + 20px);
  background: transparent;
  color: var(--txt);
  font-family: 'Kalam', 'Patrick Hand', 'LXGW WenKai', 'Kaiti SC', KaiTi, 'STKaiti', 'Songti SC', -apple-system, 'PingFang SC', 'Microsoft YaHei', sans-serif;
  font-size: 17px;
  line-height: 1.78;
  letter-spacing: .01em;
  overflow-x: hidden;
  max-width: 100%;
  position: relative;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(38% 42% at 14% 16%, rgba(255, 0, 128, .58), transparent 68%),
    radial-gradient(44% 38% at 84% 10%, rgba(255, 0, 255, .46), transparent 70%),
    radial-gradient(52% 50% at 70% 82%, rgba(255, 0, 128, .34), transparent 72%),
    radial-gradient(34% 36% at 22% 88%, rgba(255, 0, 255, .28), transparent 70%),
    conic-gradient(from 210deg at 50% 50%, #2b1421, #43122e, #2a1420, #170d14);
  filter: blur(44px) saturate(132%);
  animation: drift 28s ease-in-out infinite alternate, hue 34s linear infinite;
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 68px 68px;
  mix-blend-mode: screen;
  opacity: .5;
}

@keyframes drift {
  0% { transform: translate3d(-2%, -1%, 0) scale(1); }
  50% { transform: translate3d(2%, 2%, 0) scale(1.06); }
  100% { transform: translate3d(-1%, 3%, 0) scale(1.02); }
}

@keyframes hue {
  0% { filter: blur(44px) saturate(132%) hue-rotate(0deg); }
  50% { filter: blur(44px) saturate(150%) hue-rotate(22deg); }
  100% { filter: blur(44px) saturate(132%) hue-rotate(-14deg); }
}

h1, h2, h3 {
  font-family: 'Kalam', 'Patrick Hand', 'LXGW WenKai', 'Kaiti SC', KaiTi, 'STKaiti', serif;
  font-weight: 700;
  line-height: 1.28;
  margin: 0;
}

a { color: #ffb3d8; }

p { margin: 0 0 14px; }
p:last-child { margin-bottom: 0; }

hr {
  border: 0;
  height: 1px;
  margin: 10px 0 16px;
  background: linear-gradient(90deg, rgba(255, 0, 128, .78), rgba(255, 0, 255, .12) 70%, transparent);
}

ol, ul { margin: 0 0 14px; padding-left: 1.2em; }
li { margin-bottom: 6px; }

img { max-width: 100%; height: auto; display: block; }

/* ---- 角落标记 ---- */
.corner {
  position: fixed;
  top: 14px;
  left: 14px;
  z-index: 60;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  text-decoration: none;
  background: linear-gradient(142deg, var(--pink), var(--magenta) 82%);
  box-shadow: 0 12px 26px -12px rgba(255, 0, 128, .9), inset 0 0 0 1px rgba(255, 255, 255, .28);
}
.corner-img { width: 30px; height: 30px; object-fit: contain; }
.corner-txt {
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  letter-spacing: .04em;
  text-shadow: 0 1px 2px rgba(38, 23, 31, .5);
}

.skip {
  position: absolute;
  left: 14px;
  top: -60px;
  z-index: 70;
  padding: 12px 18px;
  border-radius: 12px;
  background: var(--ink);
  color: #fff;
  text-decoration: none;
  transition: top .2s ease;
}
.skip:focus { top: 12px; }

/* ---- 布局 ---- */
.wrap {
  width: 100%;
  max-width: 1120px;
  min-width: 0;
  margin: 0 auto;
  padding: 0 16px;
}

.stage { padding: 84px 0 8px; }

.hero {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3.2vw, 42px);
  min-height: clamp(220px, 45vh, 430px);
  padding-bottom: 12px;
  min-width: 0;
}

.hero-copy { flex: 1 1 56%; min-width: 0; text-align: right; }
.hero.no-art .hero-copy { flex: 1 1 100%; }

.eyebrow {
  margin: 0 0 8px;
  font-size: 16px;
  letter-spacing: .18em;
  color: #ffb8da;
  text-transform: none;
  text-shadow: 0 0 18px rgba(255, 0, 128, .5);
}

h1 {
  font-size: clamp(1.85rem, 5.2vw, 3rem);
  background: linear-gradient(96deg, #ffffff 8%, #ffd0e8 46%, #ff74c4 92%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 8px 24px rgba(38, 23, 31, .6));
  overflow-wrap: break-word;
}

h1::after {
  content: '';
  display: block;
  margin: 12px 0 0 auto;
  width: min(250px, 62%);
  height: 8px;
  border-radius: 12px 4px 14px 3px;
  background: linear-gradient(90deg, rgba(255, 0, 255, .72), rgba(255, 0, 128, .95));
  transform: rotate(-.9deg);
  box-shadow: 0 6px 16px -8px rgba(255, 0, 128, .9);
}

.hero-sub {
  margin: 16px 0 0;
  color: var(--dim);
  font-size: 16.5px;
}

.hero-art {
  flex: 0 1 40%;
  min-width: 0;
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 24px;
  overflow: hidden;
  background: rgba(38, 23, 31, .6);
  box-shadow: 0 34px 70px -34px rgba(255, 0, 128, .8), inset 0 0 0 1px rgba(255, 255, 255, .1);
}

.hero-art .slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.1s ease;
}
.hero-art .slide.is-on { opacity: 1; }

/* ---- 正文 + 侧栏 ---- */
.cols {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 262px;
  gap: 26px;
  align-items: start;
  padding: 18px 0 34px;
  min-width: 0;
}

.prose {
  min-width: 0;
  max-width: 100%;
  overflow-wrap: break-word;
  word-break: break-word;
}

.prose > section {
  position: relative;
  min-width: 0;
  max-width: 100%;
  margin: 0 0 22px;
  padding: 28px 24px;
  border-radius: var(--r);
  border: 1px solid var(--line);
  background: var(--card);
  backdrop-filter: blur(8px);
  box-shadow: 0 26px 50px -34px rgba(0, 0, 0, .95), inset 0 1px 0 rgba(255, 255, 255, .07);
  scroll-margin-bottom: 112px;
}

.prose > section:last-child { margin-bottom: 0; }

.prose h2, .rail h2, .foot h2 {
  font-size: clamp(1.32rem, 2.6vw, 1.6rem);
  color: #ffe9f4;
  letter-spacing: .015em;
  overflow-wrap: break-word;
}

.prose h2::after, .rail h2::after, .foot-cta h2::after {
  content: '';
  display: block;
  width: min(160px, 55%);
  height: 6px;
  margin-top: 6px;
  border-radius: 8px 3px 10px 2px;
  background: linear-gradient(90deg, rgba(255, 0, 128, .85), rgba(255, 0, 255, .1));
  transform: rotate(-.7deg);
}

.prose h3, .foot h3 {
  font-size: 1.14rem;
  margin: 20px 0 6px;
  color: #ffcfe6;
}

.prose p, .prose li { color: #f2e2ec; }

.prose a {
  color: #ffc0e0;
  text-decoration: underline wavy rgba(255, 0, 128, .55);
  text-underline-offset: 4px;
}
.prose a:hover { color: #fff; }

.prose strong { color: #fff; }

.prose blockquote {
  margin: 16px 0;
  padding: 10px 0 10px 16px;
  border-left: 3px solid var(--magenta);
  color: #ffd9ee;
  font-style: italic;
}

.prose ul, .prose ol { padding-left: 1.3em; }
.prose li::marker { color: var(--pink); }

.prose table {
  display: block;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  border-collapse: collapse;
  font-size: 16px;
}
.prose th, .prose td {
  padding: 8px 10px;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
  text-align: left;
}
.prose pre, .prose code {
  max-width: 100%;
  overflow-x: auto;
  font-family: ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;
  font-size: 15px;
}

.rail {
  position: sticky;
  top: 18px;
  min-width: 0;
  padding: 20px 18px;
  border-radius: var(--r);
  border: 1px solid rgba(255, 0, 255, .22);
  background: rgba(30, 17, 26, .8);
  backdrop-filter: blur(10px);
  box-shadow: 0 24px 46px -32px rgba(0, 0, 0, .9), inset 0 1px 0 rgba(255, 255, 255, .06);
}
.rail h2 { font-size: 1.2rem; }

.rail-nav ol { list-style: none; padding: 0; margin: 0 0 14px; }

.rail-nav a {
  display: block;
  padding: 9px 10px;
  min-height: 40px;
  border-radius: 12px;
  color: var(--dim);
  text-decoration: none;
  font-size: 16px;
  line-height: 1.5;
  border: 1px solid transparent;
  transition: color .2s ease, background .2s ease, border-color .2s ease;
}
.rail-nav a:hover,
.rail-nav a:focus-visible {
  color: #fff;
  background: rgba(255, 0, 128, .16);
  border-color: rgba(255, 0, 128, .4);
}

.to-top {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 12px;
  font-size: 16px;
  text-decoration: none;
  color: #fff;
  background: linear-gradient(120deg, rgba(255, 0, 128, .85), rgba(255, 0, 255, .7));
  box-shadow: 0 14px 26px -16px rgba(255, 0, 128, .95);
}

/* ---- 页脚 ---- */
.foot {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  width: 100%;
  max-width: 1120px;
  min-width: 0;
  margin: 24px auto 0;
  padding: 34px 16px calc(var(--dock) + 40px);
  border-top: 1px solid rgba(255, 0, 128, .22);
}

.foot section { min-width: 0; max-width: 100%; }

.foot-cta {
  grid-column: 1 / -1;
  min-width: 0;
  padding: 26px 22px;
  border-radius: 22px;
  background:
    radial-gradient(120% 160% at 8% 0%, rgba(255, 0, 128, .55), transparent 62%),
    radial-gradient(100% 140% at 92% 100%, rgba(255, 0, 255, .45), transparent 60%),
    rgba(38, 23, 31, .85);
  border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: 0 30px 60px -34px rgba(255, 0, 128, .8);
}

.foot-cta .foot-lead {
  margin: 6px 0 16px;
  color: #ffe4f2;
  letter-spacing: .1em;
}

.foot-btn {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 16px;
  text-decoration: none;
  color: #2a0d1c;
  background: linear-gradient(120deg, #fff, #ffd2ea);
  box-shadow: 0 16px 30px -18px rgba(0, 0, 0, .9);
}
.foot-btn:hover { background: linear-gradient(120deg, #ffe7f3, #ffffff); }

.foot h3 { margin: 0; font-size: 1.06rem; color: #ffd0e6; }

.foot-list { list-style: none; padding: 0; margin: 0; }

.foot-list a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 4px 0;
  font-size: 16px;
  color: var(--dim);
  text-decoration: none;
}
.foot-list a:hover { color: #fff; }

.foot-brand { margin: 0; color: #ffd9ec; }
.foot-host { margin: 4px 0 0; font-size: 15px; color: #a98ba0; word-break: break-all; }

.foot-fine {
  grid-column: 1 / -1;
  min-width: 0;
  padding-top: 10px;
  border-top: 1px dashed rgba(255, 255, 255, .14);
  font-size: 15px;
  color: #a98ba0;
}
.foot-fine p { margin: 0; }

/* ---- 底部导航条 ---- */
.dock {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 55;
  width: 100%;
  max-width: 100%;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
  background: rgba(23, 13, 20, .9);
  backdrop-filter: blur(16px);
  border-top: 1px solid rgba(255, 0, 128, .3);
  box-shadow: 0 -22px 44px -30px rgba(0, 0, 0, .95);
  overflow: hidden;
}

.dock ol {
  display: flex;
  gap: 4px;
  padding: 0 2px;
  list-style: none;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  flex: 1 1 auto;
  min-width: 0;
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
}
.dock ol::-webkit-scrollbar { display: none; }

.dock li { flex: 0 0 auto; margin: 0; }

.dock a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  padding: 0 13px;
  border-radius: 13px;
  font-size: 16px;
  color: var(--dim);
  text-decoration: none;
  white-space: nowrap;
  border: 1px solid transparent;
  transition: color .18s ease, background .18s ease, border-color .18s ease;
}

.dock a::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  opacity: .55;
  flex: 0 0 auto;
}

.dock a:hover,
.dock a:focus-visible { color: #fff; background: rgba(255, 0, 128, .18); }

.dock a.is-cur {
  color: #fff;
  background: linear-gradient(120deg, rgba(255, 0, 128, .85), rgba(255, 0, 255, .62));
  border-color: rgba(255, 255, 255, .24);
}
.dock a.is-cur::before { opacity: 1; background: #fff; }

.dock-cta {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 13px;
  font-size: 16px;
  text-decoration: none;
  white-space: nowrap;
  color: #2a0d1c;
  background: linear-gradient(120deg, #fff, #ffcfe8);
  margin-left: auto;
  margin-right: 4px;
}

/* ---- 动效 ---- */
.rv {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .7s ease, transform .7s ease;
}
.rv.on { opacity: 1; transform: none; }

/* ---- 断点 ---- */
@media (max-width: 900px) {
  .cols { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .rail { position: static; }
  .foot { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero { gap: 20px; }
  .hero-art { flex: 0 1 44%; }
}

@media (max-width: 700px) {
  body { font-size: 17px; }
  .stage { padding-top: 76px; }
  .hero {
    flex-direction: column-reverse;
    align-items: stretch;
    min-height: 0;
    gap: 16px;
  }
  .hero-copy { flex: 1 1 auto; text-align: right; }
  .hero-art { flex: 0 0 auto; width: 100%; aspect-ratio: 16 / 10; border-radius: 20px; }
  h1::after { width: min(200px, 70%); }
  .prose > section { padding: 22px 17px; }
  .dock { padding-left: 8px; padding-right: 8px; gap: 4px; }
  .dock ol { gap: 2px; }
  .dock a { padding: 0 10px; gap: 5px; }
  .dock-cta { padding: 0 12px; margin-right: 0; }
  .foot { padding-bottom: calc(var(--dock) + 34px); }
}

@media (max-width: 480px) {
  .dock a { padding: 0 9px; }
  .dock a::before { display: none; }
  .dock-cta { padding: 0 11px; }
}

@media (max-width: 420px) {
  .foot { grid-template-columns: minmax(0, 1fr); }
  .corner { width: 46px; height: 46px; }
  .corner-txt { font-size: 15px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  body::before { animation: none; }
  .rv { opacity: 1; transform: none; transition: none; }
  .hero-art .slide { transition: none; }
}
</｜DSML｜ parameter>
</｜DSML｜ invoke>
</｜DSML｜ calls>

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