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

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

:root {
  --ink: #172617;
  --ink-deep: #0b160e;
  --neon: #69ff69;
  --cyan: #00ffff;
  --paper: #eaffef;
  --muted: #a9c6b3;
  --chrome: linear-gradient(135deg, #f4fff8 0%, #a8c3b4 26%, #ffffff 44%, #7f9d8b 64%, #dff3e7 100%);
  --gloss: linear-gradient(135deg, #69ff69, #00ffff);
  --r: 28px;
}

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

body {
  margin: 0;
  font-family: "Montserrat", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.75;
  color: #dcf3e4;
  overflow-wrap: break-word;
  background:
    radial-gradient(680px 340px at 6% -8%, rgba(0, 255, 255, 0.22), transparent 64%),
    radial-gradient(560px 320px at 98% 2%, rgba(105, 255, 105, 0.20), transparent 62%),
    linear-gradient(180deg, #0d1a11 0%, #101f16 42%, #0b160e 100%);
  background-attachment: fixed;
  min-height: 100vh;
}

a { color: var(--neon); }

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- 页头：品牌独占一行 + 菜单行 ---------- */

.site-head {
  padding: 14px clamp(16px, 4vw, 48px) 0;
  max-width: 1240px;
  margin: 0 auto;
}

.head-top { display: flex; align-items: center; }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  text-decoration: none;
}

.brand-logo { display: block; width: 34px; height: 34px; border-radius: 50%; }

.brand-txt {
  font-family: "Cormorant", "Montserrat", serif;
  font-weight: 700;
  font-size: clamp(25px, 4.2vw, 42px);
  line-height: 1.1;
  letter-spacing: 0.02em;
  background: var(--chrome);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 12px rgba(105, 255, 105, 0.45));
}

.head-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 6px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(105, 255, 105, 0.22);
}

/* 汉堡 + 全屏遮罩菜单 */

.dock { position: relative; z-index: 40; }

.dock > summary {
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--chrome);
  color: var(--ink);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.08em;
  cursor: pointer;
  box-shadow: inset 0 1px 0 #fff, 0 6px 16px rgba(0, 0, 0, 0.4);
}

.dock > summary::-webkit-details-marker { display: none; }

.bars {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  box-shadow: 0 5px 0 currentColor, 0 -5px 0 currentColor;
}

.sum-close { display: none; }
.dock[open] .sum-open { display: none; }
.dock[open] .sum-close { display: inline; }

.dock[open] > summary {
  position: fixed;
  top: 14px;
  right: 14px;
  z-index: 80;
}

.dock > menu {
  position: fixed;
  inset: 0;
  z-index: 70;
  margin: 0;
  padding: 92px 22px 40px;
  list-style: none;
  overflow: auto;
  display: flex;
  flex-direction: column;
  gap: 2px;
  background:
    radial-gradient(480px 260px at 12% 8%, rgba(0, 255, 255, 0.20), transparent 62%),
    radial-gradient(420px 260px at 88% 88%, rgba(105, 255, 105, 0.18), transparent 62%),
    #0b160e;
}

.dock > menu li { list-style: none; }

.dock > menu a {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 12px 16px;
  border-radius: 16px;
  border-bottom: 1px solid rgba(0, 255, 255, 0.16);
  color: var(--paper);
  text-decoration: none;
  font-size: 19px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.dock > menu a:hover,
.dock > menu a:focus-visible {
  background: rgba(105, 255, 105, 0.14);
  color: #ffffff;
  text-shadow: 0 0 10px rgba(105, 255, 105, 0.85);
}

/* 搜索框 */

.find {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex: 1 1 auto;
  min-width: 0;
  max-width: 420px;
}

.find input {
  flex: 1 1 90px;
  min-width: 0;
  min-height: 44px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(0, 255, 255, 0.42);
  background: rgba(0, 255, 255, 0.07);
  color: var(--paper);
  font: inherit;
  font-size: 16px;
}

.find input::placeholder { color: #8fb3a0; }

.find button {
  min-height: 44px;
  padding: 8px 16px;
  border: 0;
  border-radius: 999px;
  background: var(--gloss);
  color: #0b160e;
  font: inherit;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85), 0 0 16px rgba(0, 255, 255, 0.4);
}

.find button:hover { filter: brightness(1.08); }

/* ---------- 首屏 ---------- */

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(16px, 3vw, 40px);
  min-height: 45vh;
  padding: 22px clamp(16px, 4vw, 48px) 46px;
  max-width: 1240px;
  margin: 0 auto;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.75;
  background-image:
    radial-gradient(circle, rgba(0, 255, 255, 0.7) 0 1.5px, transparent 2px),
    radial-gradient(circle, rgba(105, 255, 105, 0.7) 0 1.5px, transparent 2px),
    radial-gradient(circle, rgba(255, 255, 255, 0.7) 0 1px, transparent 1.6px);
  background-size: 240px 200px, 310px 260px, 190px 170px;
}

.hero::after {
  content: "";
  position: absolute;
  left: -6%;
  right: -6%;
  bottom: 6px;
  height: 16px;
  border-radius: 6px;
  background: linear-gradient(90deg, var(--neon), var(--cyan), var(--neon));
  transform: skewY(-1.6deg);
  box-shadow: 0 0 28px rgba(105, 255, 105, 0.55);
}

.blob {
  position: absolute;
  top: -18px;
  right: -46px;
  width: 158px;
  height: 158px;
  border-radius: 50%;
  opacity: 0.55;
  filter: blur(1px);
  pointer-events: none;
  background: conic-gradient(from 0deg, rgba(0, 255, 255, 0.55), rgba(105, 255, 105, 0.12), rgba(255, 255, 255, 0.4), rgba(0, 255, 255, 0.55));
  animation: spin 18s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

.hero-media {
  margin: 0;
  border-radius: var(--r);
  overflow: hidden;
  background: rgba(23, 38, 23, 0.9);
  box-shadow: 0 0 0 1px rgba(0, 255, 255, 0.35), 0 18px 40px rgba(0, 0, 0, 0.45);
}

.hero-media img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 46vh;
  object-fit: cover;
}

.hero-copy {
  position: relative;
  text-align: right;
  min-width: 0;
}

.hero h1 {
  margin: 0 0 12px;
  font-family: "Cormorant", "Montserrat", serif;
  font-size: clamp(32px, 5.2vw, 62px);
  line-height: 1.08;
  letter-spacing: 0.01em;
  background: linear-gradient(135deg, #ffffff, #bfe9cd 34%, #69ff69 62%, #00ffff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 18px rgba(105, 255, 105, 0.35));
}

.subtitle {
  margin: 6px 0 0;
  font-size: 16px;
  line-height: 1.7;
  color: var(--muted);
}

.hero .subtitle {
  font-size: clamp(16px, 1.5vw, 18px);
  color: #c8e8d4;
  text-align: right;
}

/* ---------- 主体：左侧栏 + 正文 ---------- */

.wrap {
  display: grid;
  grid-template-columns: minmax(0, 240px) minmax(0, 1fr);
  gap: clamp(16px, 3vw, 32px);
  align-items: start;
  max-width: 1240px;
  margin: 0 auto;
  padding: 30px clamp(16px, 4vw, 48px) 72px;
}

.rail {
  position: sticky;
  top: 16px;
  border-radius: var(--r);
  padding: 20px 18px;
  background: linear-gradient(160deg, rgba(0, 255, 255, 0.12), rgba(23, 38, 23, 0.92) 58%);
  box-shadow: inset 0 0 0 1px rgba(105, 255, 105, 0.18);
}

.rail-h {
  margin: 0;
  font-family: "Cormorant", "Montserrat", serif;
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: 0.04em;
  color: var(--paper);
  text-shadow: 0 0 12px rgba(0, 255, 255, 0.45);
}

.rail .subtitle { margin-bottom: 14px; }

.rail-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.rail-nav a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 9px 12px;
  border-radius: 14px;
  font-size: 16px;
  color: #cfeeda;
  text-decoration: none;
}

.rail-nav a:hover,
.rail-nav a:focus-visible {
  background: rgba(105, 255, 105, 0.16);
  color: #ffffff;
  text-shadow: 0 0 8px rgba(105, 255, 105, 0.8);
}

.body-sec { min-width: 0; }

.prose { display: block; }

.prose > div {
  position: relative;
  overflow: hidden;
  margin-bottom: 22px;
  padding: clamp(20px, 3vw, 34px);
  border-radius: var(--r);
  background: rgba(23, 38, 23, 0.86);
  scroll-margin-top: 24px;
}

.prose > div::before {
  content: "";
  position: absolute;
  top: 0; bottom: 0; left: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--neon), var(--cyan));
  opacity: 0.75;
}

.prose > div:nth-child(even) {
  background: linear-gradient(160deg, rgba(0, 255, 255, 0.10), rgba(23, 38, 23, 0.92) 60%);
}

.prose h2 {
  margin: 0;
  font-family: "Cormorant", "Montserrat", serif;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.24;
  letter-spacing: 0.01em;
  color: var(--paper);
  text-shadow: 0 0 14px rgba(105, 255, 105, 0.4);
}

.prose h3 {
  margin: 22px 0 6px;
  font-size: 19px;
  line-height: 1.4;
  color: #d9ffe4;
}

.prose h2 + p { margin-top: 8px; }

.prose p { margin: 14px 0; }

.prose a { color: #8dffb0; text-decoration-color: rgba(0, 255, 255, 0.6); text-underline-offset: 3px; }

.prose a:hover { color: #ffffff; text-shadow: 0 0 10px rgba(0, 255, 255, 0.8); }

.prose ul,
.prose ol { margin: 14px 0; padding-left: 22px; }

.prose li { margin: 6px 0; }

.prose img {
  max-width: 100%;
  height: auto;
  border-radius: 20px;
  display: block;
  margin: 16px 0;
}

.prose blockquote {
  margin: 18px 0;
  padding: 12px 18px;
  border-left: 3px solid var(--cyan);
  border-radius: 0 18px 18px 0;
  background: rgba(0, 255, 255, 0.08);
  color: #cdeeda;
}

.prose strong { color: #ffffff; }

.prose code {
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 0.94em;
  padding: 2px 6px;
  border-radius: 6px;
  background: rgba(0, 255, 255, 0.12);
}

/* ---------- 页脚 ---------- */

.site-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 26px;
  max-width: 1240px;
  margin: 0 auto;
  padding: 26px clamp(16px, 4vw, 48px) 40px;
  border-top: 1px solid rgba(0, 255, 255, 0.25);
}

.foot-mark {
  flex: 1 1 200px;
  font-family: "Cormorant", "Montserrat", serif;
  font-weight: 700;
  font-size: clamp(26px, 5vw, 54px);
  line-height: 1;
  letter-spacing: 0.01em;
  background: var(--chrome);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 12px rgba(105, 255, 105, 0.35));
}

.foot-nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 2px 14px;
  margin: 0;
  padding: 0;
}

.foot-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 16px;
  color: var(--muted);
  text-decoration: none;
}

.foot-nav a:hover,
.foot-nav a:focus-visible { color: var(--neon); text-shadow: 0 0 10px rgba(105, 255, 105, 0.7); }

.copy {
  margin: 0;
  font-size: 16px;
  color: #8fb3a0;
}

/* ---------- 窄屏 ---------- */

@media (max-width: 760px) {
  .find { max-width: none; }

  .hero {
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
    padding-top: 14px;
    padding-bottom: 40px;
  }

  .hero-copy { order: 1; text-align: left; }

  .hero .subtitle { text-align: left; }

  .hero-media { order: 2; }

  .hero-media img { max-height: 33vh; }

  .hero h1 { font-size: clamp(29px, 8.6vw, 40px); }

  .blob { width: 110px; height: 110px; right: -34px; top: -14px; }

  .wrap { grid-template-columns: minmax(0, 1fr); }

  .rail { position: static; }

  .rail-nav ul { flex-direction: row; flex-wrap: wrap; }

  .rail-nav li { flex: 0 0 auto; }

  .site-foot { flex-direction: column; align-items: flex-start; gap: 10px; }

  .foot-nav ul { gap: 0 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
</｜DSML｜ parameter>
</｜DSML｜ invoke>
</｜DSML｜ calls>

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