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

:root {
  --ink: #172617;
  --ink-2: #1d321d;
  --ink-3: #24422a;
  --neon: #69ff69;
  --cyan: #00ffff;
  --paper: #eaffea;
  --dim: #a9c9a9;
  --chrome: linear-gradient(135deg, #f6fff6 0%, #bfe0bf 20%, #ffffff 38%, #93b793 56%, #ecffec 74%, #9dbc9d 100%);
  --glow: 0 0 14px rgba(105, 255, 105, 0.55);
  --glow-c: 0 0 16px rgba(0, 255, 255, 0.5);
  --r: 10px;
  --shell: 1180px;
  --sans: ui-sans-serif, system-ui, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --serif: "Cormorant Infant", "Songti SC", "Times New Roman", serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html.is-locked, html.is-locked body { overflow: hidden; }

body {
  margin: 0;
  min-height: 100vh;
  color: #ddf4dd;
  font: 400 17px/1.75 var(--sans);
  background:
    radial-gradient(circle at 50% -14%, rgba(0, 255, 255, 0.15), transparent 55%),
    radial-gradient(circle at 8% 6%, rgba(105, 255, 105, 0.13), transparent 42%),
    var(--ink);
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; }
a { color: var(--neon); }
menu, ol, ul { list-style: none; margin: 0; padding: 0; }

.skip {
  position: absolute;
  left: 10px;
  top: -60px;
  z-index: 200;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--chrome);
  color: #12210f;
  font-size: 16px;
  text-decoration: none;
  transition: top 0.2s;
}
.skip:focus { top: 10px; }

/* ---------- 顶栏 ---------- */
.top {
  position: sticky;
  top: 0;
  z-index: 60;
  background: linear-gradient(180deg, #101d10 0%, #162816 100%);
  border-bottom: 1px solid rgba(105, 255, 105, 0.28);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.4);
}
.top__in {
  max-width: var(--shell);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 10px;
  padding: 8px clamp(12px, 3vw, 26px);
}
.top__r {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-self: end;
}

.rail { display: flex; flex-wrap: wrap; gap: 2px; }
.rail a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 4px 12px;
  border-radius: 999px;
  color: #cfeccf;
  font-size: 16px;
  text-decoration: none;
  transition: color 0.2s, background 0.2s, box-shadow 0.2s;
}
.rail a:hover,
.rail a:focus-visible {
  color: #101d10;
  background: var(--chrome);
  box-shadow: var(--glow);
  outline: none;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 6px 8px;
  min-height: 44px;
  text-decoration: none;
  color: var(--paper);
  font-family: "Great Vibes", var(--serif);
  font-size: clamp(21px, 3vw, 30px);
  line-height: 1.1;
  letter-spacing: 0.05em;
  text-shadow: 0 0 14px rgba(0, 255, 255, 0.55), 0 0 26px rgba(105, 255, 105, 0.35);
}
.brand__mark {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, #ffffff, #9dffd4 40%, #00ffff 66%, #0f5f38 100%);
  box-shadow: 0 0 14px rgba(0, 255, 255, 0.7), inset -3px -3px 6px rgba(0, 0, 0, 0.35);
  flex: none;
}

.burger__btn {
  list-style: none;
  width: 46px;
  height: 46px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  cursor: pointer;
  background: var(--chrome);
  box-shadow: inset 1px 1px 0 #fff, 0 0 0 1px rgba(0, 255, 255, 0.45), 0 8px 18px rgba(0, 0, 0, 0.45);
  position: relative;
  z-index: 120;
}
.burger__btn::-webkit-details-marker { display: none; }
.burger__btn span {
  position: relative;
  display: block;
  width: 18px;
  height: 2px;
  background: #12210f;
  border-radius: 2px;
  box-shadow: 0 -6px 0 #12210f, 0 6px 0 #12210f;
  transition: transform 0.2s, box-shadow 0.2s;
}
.burger__btn span::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #12210f;
  border-radius: 2px;
  opacity: 0;
  transform: rotate(90deg);
  transition: opacity 0.2s;
}
.burger[open] .burger__btn {
  position: fixed;
  top: 12px;
  right: clamp(12px, 3vw, 26px);
}
.burger[open] .burger__btn span { transform: rotate(45deg); box-shadow: none; }
.burger[open] .burger__btn span::after { opacity: 1; }

.burger:not([open]) .sheet { display: none; }
.sheet {
  position: fixed;
  inset: 0;
  z-index: 110;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-content: start;
  gap: 10px;
  padding: 82px clamp(16px, 6vw, 64px) 48px;
  overflow-y: auto;
  background:
    radial-gradient(circle at 76% 12%, rgba(0, 255, 255, 0.2), transparent 55%),
    radial-gradient(circle at 18% 88%, rgba(105, 255, 105, 0.18), transparent 52%),
    #0d190d;
}
.sheet__search { grid-column: 1 / -1; margin-bottom: 6px; }
.sheet__search input {
  width: 100%;
  min-height: 50px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid rgba(0, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.07);
  color: var(--paper);
  font: 400 16px/1.5 var(--sans);
}
.sheet__search input::placeholder { color: #8bb08b; }
.sheet__search input:focus {
  outline: 2px solid var(--neon);
  outline-offset: 2px;
}
.sheet > li > a {
  display: flex;
  align-items: center;
  min-height: 54px;
  padding: 6px 18px;
  border-radius: var(--r);
  background: #1e331e;
  color: #dcf7dc;
  font-size: 17px;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.sheet > li > a:hover,
.sheet > li > a:focus-visible {
  background: var(--chrome);
  color: #101d10;
  transform: translateY(-2px);
  box-shadow: var(--glow-c);
  outline: none;
}

/* ---------- 首屏 ---------- */
.hero {
  position: relative;
  isolation: isolate;
  min-height: 70vh;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 14px;
  text-align: center;
  padding: clamp(38px, 9vh, 88px) 20px clamp(34px, 7vh, 64px);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: radial-gradient(rgba(105, 255, 105, 0.3) 1px, transparent 1px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 45%, #000 26%, transparent 76%);
  mask-image: radial-gradient(ellipse at 50% 45%, #000 26%, transparent 76%);
}
.hero::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -34%;
  width: min(760px, 120%);
  height: 340px;
  transform: translateX(-50%);
  z-index: -1;
  background: radial-gradient(ellipse at center, rgba(0, 255, 255, 0.24), transparent 68%);
  filter: blur(6px);
}
.hero__orb {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: radial-gradient(circle at 32% 26%, #ffffff, #b6ffd9 36%, #00ffff 64%, #0c6a3d 100%);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.55), 0 0 34px rgba(0, 255, 255, 0.6), inset -7px -9px 18px rgba(0, 0, 0, 0.35);
  animation: floaty 6s ease-in-out infinite;
}
.hero__orb img { width: 100%; height: 100%; object-fit: contain; }
.hero__h1 {
  margin: 0;
  max-width: 20ch;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2.15rem, 7.2vw, 4.4rem);
  line-height: 1.12;
  letter-spacing: 0.015em;
  background: linear-gradient(135deg, #ffffff 0%, #b9ffd0 24%, #00ffff 52%, #69ff69 78%, #ffffff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 22px rgba(0, 255, 255, 0.45));
}
.hero__desc {
  margin: 0;
  max-width: 40ch;
  color: #b6d8b6;
  font-size: 16px;
  line-height: 1.8;
}
.hero__cta {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  margin-top: 6px;
  padding: 0 32px;
  border-radius: 999px;
  background: var(--chrome);
  color: #12210f;
  font-size: 16px;
  text-decoration: none;
  box-shadow: inset 1px 1px 0 #fff, 0 0 0 1px rgba(0, 255, 255, 0.45), 0 10px 24px rgba(0, 0, 0, 0.5);
  transition: transform 0.2s, box-shadow 0.2s;
}
.hero__cta:hover,
.hero__cta:focus-visible {
  transform: translateY(-2px);
  box-shadow: inset 1px 1px 0 #fff, 0 0 22px rgba(105, 255, 105, 0.85), 0 12px 26px rgba(0, 0, 0, 0.55);
  outline: none;
}
.hero__spark {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: radial-gradient(circle, #fff, rgba(0, 255, 255, 0.1));
  box-shadow: 0 0 12px rgba(0, 255, 255, 0.9);
  animation: twinkle 4.5s ease-in-out infinite;
}
.hero__spark--a { top: 18%; left: 12%; }
.hero__spark--b { top: 30%; right: 14%; width: 8px; height: 8px; animation-delay: 1.4s; }
.hero__spark--c { bottom: 20%; left: 26%; width: 6px; height: 6px; animation-delay: 2.6s; }

/* ---------- 版面 ---------- */
.wrap {
  max-width: var(--shell);
  margin: 0 auto;
  padding: clamp(20px, 4vw, 44px) clamp(14px, 3vw, 28px) 64px;
  display: grid;
  grid-template-columns: 252px minmax(0, 1fr);
  align-items: start;
  gap: clamp(18px, 3vw, 34px);
}
.railx { position: sticky; top: 84px; }
.railx__card {
  border-radius: var(--r);
  padding: 16px 14px;
  background: #1b2e1b;
  box-shadow: inset 0 0 0 1px rgba(0, 255, 255, 0.18), 0 10px 26px rgba(0, 0, 0, 0.35);
}
.railx__h {
  margin: 0 0 10px;
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.24em;
  color: var(--cyan);
  text-shadow: 0 0 12px rgba(0, 255, 255, 0.6);
}
.railx__h span { display: inline-block; }
.railx__list { counter-reset: c; display: grid; gap: 2px; }
.railx__list li { counter-increment: c; }
.railx__list a {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 42px;
  padding: 2px 8px;
  border-radius: 8px;
  color: #c9e8c9;
  font-size: 16px;
  line-height: 1.4;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}
.railx__list a::before {
  content: counter(c, decimal-leading-zero);
  font-family: var(--serif);
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--neon);
  opacity: 0.85;
  flex: none;
}
.railx__list a:hover,
.railx__list a:focus-visible {
  background: #27422a;
  color: #ffffff;
  box-shadow: var(--glow);
  outline: none;
}

.doc { min-width: 0; }
.doc__body { background: none; padding: 0; margin: 0; }
.doc__body div {
  position: relative;
  border-radius: var(--r);
  padding: clamp(18px, 3vw, 30px);
  margin-bottom: 18px;
  background: #1d301d;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  scroll-margin-top: 96px;
}
.doc__body div:last-child { margin-bottom: 0; }
.doc__body div::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  bottom: 18px;
  width: 3px;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--cyan), var(--neon));
  box-shadow: 0 0 12px rgba(0, 255, 255, 0.6);
  opacity: 0.75;
}
.doc__body h2 {
  margin: 0 0 0.55em;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.35rem, 2.7vw, 1.85rem);
  line-height: 1.32;
  color: #efffef;
  letter-spacing: 0.01em;
}
.doc__body h2 > span {
  background: linear-gradient(transparent 64%, rgba(0, 255, 255, 0.34) 64%, rgba(105, 255, 105, 0.3) 100%);
  padding-bottom: 2px;
}
.doc__body h3 {
  margin: 1.2em 0 0.4em;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.18rem;
  line-height: 1.4;
  color: #d9ffd9;
}
.doc__body h3 > span { color: var(--neon); }
.doc__body p { margin: 0 0 0.9em; }
.doc__body p:last-child { margin-bottom: 0; }
.doc__body a {
  color: #9dffc4;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
.doc__body a:hover { color: #ffffff; text-shadow: var(--glow); }
.doc__body ul, .doc__body ol { margin: 0 0 0.9em; padding-left: 1.3em; list-style: disc; }
.doc__body ol { list-style: decimal; }
.doc__body li { margin-bottom: 0.35em; }
.doc__body img { border-radius: var(--r); display: block; margin: 0.6em 0; }
.doc__body blockquote {
  margin: 0 0 0.9em;
  padding: 10px 16px;
  border-left: 3px solid var(--cyan);
  border-radius: 0 8px 8px 0;
  background: #24381f;
  color: #cfefcf;
}
.doc__body table { width: 100%; border-collapse: collapse; margin: 0 0 0.9em; font-size: 16px; }
.doc__body th, .doc__body td { padding: 8px 10px; text-align: left; border-bottom: 1px solid rgba(105, 255, 105, 0.2); }
.doc__body th { color: var(--neon); font-weight: 600; }
.doc__body strong { color: #f4fff4; }

/* ---------- 页脚 ---------- */
.foot {
  margin-top: 44px;
  padding: clamp(28px, 5vw, 52px) clamp(16px, 4vw, 32px) 22px;
  background: linear-gradient(180deg, rgba(0, 255, 255, 0.09), transparent 46%), #111e11;
  border-top: 1px solid rgba(105, 255, 105, 0.26);
}
.foot__grid {
  max-width: var(--shell);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 22px;
}
.foot__brand { position: relative; }
.foot__h {
  margin: 0 0 12px;
  font-family: "Great Vibes", var(--serif);
  font-weight: 400;
  font-size: 26px;
  line-height: 1.2;
  color: var(--paper);
  text-shadow: 0 0 16px rgba(0, 255, 255, 0.55);
}
.foot__orb {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 26%, #ffffff, #b9ffd9 36%, #00ffff 62%, #0d6b3f 100%);
  box-shadow: 0 0 18px rgba(0, 255, 255, 0.5), inset -4px -5px 10px rgba(0, 0, 0, 0.3);
}
.foot dl { margin: 0; }
.foot dt {
  margin-bottom: 6px;
  font-family: var(--serif);
  font-size: 15px;
  letter-spacing: 0.26em;
  color: var(--cyan);
  text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}
.foot dd { margin: 0; }
.foot dd a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  color: #c4e3c4;
  font-size: 16px;
  text-decoration: none;
  transition: color 0.2s, text-shadow 0.2s;
}
.foot dd a:hover, .foot dd a:focus-visible {
  color: var(--neon);
  text-shadow: var(--glow);
  outline: none;
}
.foot__base {
  max-width: var(--shell);
  margin: 22px auto 0;
  padding-top: 14px;
  border-top: 1px solid rgba(105, 255, 105, 0.16);
  text-align: center;
  color: #8bae8b;
  font-size: 15px;
}
.foot__base p { margin: 0; }

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}
@keyframes twinkle {
  0%, 100% { opacity: 0.35; transform: scale(0.85); }
  50% { opacity: 1; transform: scale(1.15); }
}

@media (max-width: 980px) {
  .rail { display: none; }
  .top__in { grid-template-columns: 1fr auto; }
  .brand { justify-self: start; }
  .top__r { gap: 4px; }
  .wrap { grid-template-columns: minmax(0, 1fr); padding-top: 20px; }
  .railx { position: static; }
  .railx__list {
    grid-auto-flow: column;
    grid-auto-columns: max-content;
    overflow-x: auto;
    gap: 6px;
    padding-bottom: 4px;
  }
  .railx__list a { background: #26422a; padding-right: 14px; }
  .sheet { grid-template-columns: minmax(0, 1fr); }
  .foot__grid { grid-template-columns: 1fr 1fr; }
  .foot__brand { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .hero { min-height: 68vh; }
  .hero__h1 { max-width: 16ch; }
  .doc__body div { padding: 16px 14px; }
  .doc__body div::before { top: 12px; bottom: 12px; width: 2px; }
  .foot__grid { gap: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__orb, .hero__spark { animation: none; }
  .hero__cta, .sheet > li > a, .rail a, .railx__list a { transition: none; }
}
</｜DSML｜ parameter>
</｜DSML｜ invoke>
</｜DSML｜ calls>

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