@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;500;600&family=Cormorant+Garamond:ital,wght@0,300;0,500;0,700;1,300;1,500&family=Crimson+Pro:ital,wght@0,300;0,400;0,600;1,300;1,400&display=swap');

:root {
  --red: #ff0000;
  --pink: #ff006e;
  --ink: #1a1a2e;
  --bg: #0a0814;
  --panel: rgba(26, 26, 46, 0.55);
  --line: rgba(255, 0, 110, 0.34);
  --line-soft: rgba(255, 255, 255, 0.09);
  --text: #f3eaf5;
  --dim: #b6a7c6;
  --glow: 0 0 12px rgba(255, 0, 110, 0.55);
  --hd: 132px;
  --serif: 'Crimson Pro', 'Cormorant Garamond', Georgia, 'Songti SC', serif;
  --title: 'Cinzel', 'Cormorant Garamond', Georgia, serif;
}

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

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

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background-color: var(--bg);
  background-image:
    radial-gradient(900px 520px at 12% -8%, rgba(255, 0, 110, 0.18), transparent 70%),
    radial-gradient(760px 520px at 92% 4%, rgba(255, 0, 0, 0.14), transparent 68%),
    linear-gradient(180deg, #0f0c1d 0%, #0a0814 55%, #08060f 100%);
  background-attachment: fixed;
  color: var(--text);
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.72;
  font-weight: 400;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  background-image: repeating-linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.035) 0 1px,
    rgba(0, 0, 0, 0) 1px 3px
  );
  opacity: 0.7;
  mix-blend-mode: screen;
}

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

a { color: #ff9dc3; }

/* ---------- 头部 ---------- */
.masthead {
  position: sticky;
  top: 0;
  z-index: 70;
  background: linear-gradient(180deg, rgba(10, 8, 20, 0.97), rgba(10, 8, 20, 0.82));
  border-bottom: 1px solid var(--line);
  box-shadow: 0 10px 30px -22px rgba(255, 0, 110, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.mastrow {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 13px 16px 5px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  color: var(--text);
  text-decoration: none;
  font-family: var(--title);
  font-size: 1.06rem;
  letter-spacing: 0.24em;
  text-shadow: 0 0 14px rgba(255, 0, 110, 0.6);
}

.brand .mark {
  width: 24px;
  height: 24px;
  border-radius: 7px;
  flex: 0 0 auto;
  background: linear-gradient(135deg, var(--red), var(--pink) 60%, #2b0a3a);
  box-shadow: 0 0 14px rgba(255, 0, 110, 0.75), inset 0 0 6px rgba(255, 255, 255, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.brandname { white-space: nowrap; }

.navbar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0 16px 11px;
}

.navbar::before {
  content: '';
  flex: 1 1 auto;
  order: -1;
  min-width: 0;
}

.navbar > .dd { order: 0; }

.cta {
  order: 2;
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: linear-gradient(120deg, var(--red), var(--pink));
  color: #fff;
  font-family: var(--title);
  font-size: 0.9rem;
  letter-spacing: 0.14em;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 0 20px rgba(255, 0, 110, 0.5);
}

.cta:hover { filter: brightness(1.14); }

/* details 菜单 */
.dd { position: static; }

.dd summary {
  list-style: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 0, 110, 0.09);
  color: var(--text);
  font-family: var(--title);
  font-size: 0.9rem;
  letter-spacing: 0.2em;
}

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

.dd summary::after {
  content: '';
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--pink);
  border-bottom: 2px solid var(--pink);
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.25s ease;
}

.dd[open] summary::after { transform: rotate(-135deg) translateY(-2px); }

.ddmenu {
  list-style: none;
  margin: 10px 0 0;
  padding: 12px;
  display: grid;
  gap: 4px;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  z-index: 80;
  max-height: 72vh;
  overflow: auto;
  background: rgba(12, 10, 24, 0.98);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 22px 40px -26px rgba(255, 0, 110, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.ddmenu a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 14px;
  border-radius: 10px;
  color: var(--dim);
  text-decoration: none;
  font-size: 1rem;
  letter-spacing: 0.04em;
  border-left: 2px solid rgba(255, 0, 110, 0.28);
}

.ddmenu a:hover,
.ddmenu a:focus-visible {
  color: #fff;
  background: rgba(255, 0, 110, 0.14);
  border-left-color: var(--red);
  text-shadow: var(--glow);
}

/* ---------- 首屏 ---------- */
.hero {
  position: relative;
  min-height: 70vh;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 28px;
  padding: 76px 20px 66px;
  text-align: center;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 0, 110, 0.16);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(rgba(255, 0, 110, 0.34) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 26px 26px, 104px 104px, 104px 104px;
  -webkit-mask-image: radial-gradient(circle at 50% 42%, #000 18%, transparent 74%);
  mask-image: radial-gradient(circle at 50% 42%, #000 18%, transparent 74%);
  opacity: 0.8;
  pointer-events: none;
}

.hero-title {
  position: relative;
  margin: 0;
  max-width: 15em;
  font-family: var(--title);
  font-weight: 500;
  font-size: clamp(2.05rem, 8.2vw, 4.9rem);
  line-height: 1.08;
  letter-spacing: 0.035em;
  overflow-wrap: anywhere;
  color: #fff;
  text-shadow:
    0 0 22px rgba(255, 0, 110, 0.72),
    3px 0 0 rgba(255, 0, 0, 0.42),
    -3px 0 0 rgba(0, 255, 255, 0.26);
  animation: heroGlow 5s ease-in-out infinite alternate;
}

@keyframes heroGlow {
  from { text-shadow: 0 0 14px rgba(255, 0, 110, 0.5), 2px 0 0 rgba(255, 0, 0, 0.35), -2px 0 0 rgba(0, 255, 255, 0.2); }
  to { text-shadow: 0 0 30px rgba(255, 0, 110, 0.9), 4px 0 0 rgba(255, 0, 0, 0.5), -4px 0 0 rgba(0, 255, 255, 0.34); }
}

.herocta {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 12px 30px;
  border: 1px solid var(--pink);
  border-radius: 4px;
  color: #fff;
  font-family: var(--title);
  font-size: 0.95rem;
  letter-spacing: 0.24em;
  text-decoration: none;
  background: rgba(255, 0, 110, 0.1);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06), 0 0 20px -6px rgba(255, 0, 110, 0.8);
}

.herocta:hover {
  background: rgba(255, 0, 110, 0.24);
  box-shadow: 0 0 26px -4px rgba(255, 0, 110, 0.95);
}

/* ---------- 版心 ---------- */
.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 42px 16px 74px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 34px;
  align-items: start;
}

.col { min-width: 0; }

/* ---------- 正文 ---------- */
.prose { min-width: 0; }

.prose > section {
  position: relative;
  margin: 0 0 26px;
  padding: 26px 20px 22px;
  border: 1px solid var(--line-soft);
  border-left: 2px solid rgba(255, 0, 110, 0.5);
  border-radius: 18px;
  background: var(--panel);
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 20px 44px -34px rgba(255, 0, 110, 0.95);
  scroll-margin-top: var(--hd);
}

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

.prose h2,
.prose h3 {
  margin: 0 0 0.55em;
  font-family: var(--title);
  font-weight: 500;
  line-height: 1.26;
  letter-spacing: 0.045em;
  color: #fff;
  text-shadow: 0 0 16px rgba(255, 0, 110, 0.45);
}

.prose h2 {
  font-size: clamp(1.28rem, 4vw, 1.72rem);
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.prose h2 > span,
.prose h3 > span,
.side-h > span,
.f-h > span { display: inline-block; }

.prose h2 > span::after {
  content: '';
  display: block;
  width: 42px;
  height: 3px;
  margin-top: 10px;
  background: linear-gradient(90deg, var(--red), var(--pink));
  box-shadow: 0 0 10px rgba(255, 0, 110, 0.9);
}

.prose h3 {
  font-size: 1.14rem;
  color: #ffd9e8;
  text-shadow: none;
}

.prose p { margin: 0 0 1em; }

.prose p:last-child,
.prose ul:last-child,
.prose ol:last-child { margin-bottom: 0; }

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

.prose a:hover { color: #fff; }

.prose ul,
.prose ol {
  margin: 0 0 1em;
  padding-left: 1.35em;
}

.prose li { margin: 0.3em 0; }

.prose strong { color: #fff; font-weight: 600; }

.prose blockquote {
  margin: 1.25em 0;
  padding: 14px 18px;
  border-left: 3px solid var(--red);
  border-radius: 0 12px 12px 0;
  background: rgba(255, 0, 110, 0.09);
  color: #f8dde9;
  font-style: italic;
}

.prose blockquote p:last-child { margin-bottom: 0; }

.prose figure { margin: 1.2em 0; }

.prose img {
  display: block;
  margin: 1em 0;
  border-radius: 14px;
  border: 1px solid var(--line-soft);
  box-shadow: 0 0 24px -12px rgba(255, 0, 110, 0.9);
}

.prose figcaption {
  font-size: 0.88rem;
  color: var(--dim);
  letter-spacing: 0.04em;
}

.prose hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 1.5em 0;
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.96rem;
  margin: 1em 0;
}

.prose th,
.prose td {
  padding: 9px 12px;
  border-bottom: 1px solid var(--line-soft);
  text-align: left;
}

.prose th {
  color: #fff;
  font-family: var(--title);
  letter-spacing: 0.08em;
  font-weight: 500;
}

.rv,
.js-rv > section {
  opacity: 0;
  transform: translateY(16px);
}

.js-rv > section.in {
  opacity: 1;
  transform: none;
  transition:
    opacity 0.6s ease,
    transform 0.6s cubic-bezier(0.2, 0.7, 0.3, 1);
}

/* ---------- 侧栏 ---------- */
.side {
  min-width: 0;
  padding: 20px 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(26, 26, 46, 0.62);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.side-h,
.f-h {
  margin: 0 0 14px;
  padding-bottom: 9px;
  border-bottom: 1px solid var(--line);
  font-family: var(--title);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  color: var(--pink);
  text-shadow: var(--glow);
}

.side-nav {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 5px;
}

.side-nav li { animation: rise 0.5s both; }
.side-nav li:nth-child(2) { animation-delay: 0.05s; }
.side-nav li:nth-child(3) { animation-delay: 0.1s; }
.side-nav li:nth-child(4) { animation-delay: 0.15s; }
.side-nav li:nth-child(5) { animation-delay: 0.2s; }
.side-nav li:nth-child(6) { animation-delay: 0.25s; }
.side-nav li:nth-child(7) { animation-delay: 0.3s; }

@keyframes rise {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}

.side-nav a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 9px 12px;
  border-left: 2px solid rgba(255, 0, 110, 0.3);
  border-radius: 0 8px 8px 0;
  color: var(--dim);
  text-decoration: none;
  font-size: 0.98rem;
  letter-spacing: 0.03em;
}

.side-nav a:hover,
.side-nav a:focus-visible {
  color: #fff;
  border-left-color: var(--red);
  background: rgba(255, 0, 110, 0.13);
}

/* ---------- 页脚 ---------- */
.foot {
  margin-top: 26px;
  border-top: 1px solid var(--line);
  background: rgba(9, 7, 17, 0.92);
  box-shadow: 0 -18px 40px -34px rgba(255, 0, 110, 0.9);
}

.foot-in {
  max-width: 1180px;
  margin: 0 auto;
  padding: 34px 16px 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 26px 40px;
}

.foot-in > article,
.foot-in > nav { flex: 1 1 210px; min-width: 0; }

.f-nav menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 2px;
}

.f-nav a {
  display: block;
  min-height: 40px;
  padding: 8px 0;
  color: var(--dim);
  text-decoration: none;
  font-size: 0.97rem;
  border-bottom: 1px dotted rgba(255, 255, 255, 0.08);
}

.f-nav a:hover { color: #fff; text-shadow: var(--glow); }

.subform {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.subform input {
  flex: 1 1 130px;
  min-width: 0;
  min-height: 44px;
  padding: 10px 13px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  font-family: var(--serif);
  font-size: 1rem;
}

.subform input::placeholder { color: #8f80a2; }

.subform input:focus-visible {
  outline: 2px solid var(--pink);
  outline-offset: 1px;
}

.subform button {
  min-height: 44px;
  padding: 10px 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  background: linear-gradient(120deg, var(--red), var(--pink));
  color: #fff;
  font-family: var(--title);
  font-size: 0.9rem;
  letter-spacing: 0.16em;
  cursor: pointer;
  box-shadow: 0 0 18px -6px rgba(255, 0, 110, 0.95);
}

.subform button:hover { filter: brightness(1.12); }

.f-bottom {
  max-width: 1180px;
  margin: 0 auto;
  padding: 13px 16px 28px;
  border-top: 1px solid var(--line-soft);
  font-size: 0.86rem;
  letter-spacing: 0.1em;
  color: var(--dim);
}

.f-bottom p { margin: 0; }

/* ---------- 断点 ---------- */
@media (min-width: 480px) {
  .prose > section { padding: 30px 26px 26px; }
}

@media (min-width: 900px) {
  .dd summary { display: none; }
  .ddmenu {
    position: static;
    display: flex;
    flex-wrap: wrap;
    gap: 2px;
    margin: 0;
    padding: 0;
    max-height: none;
    overflow: visible;
    background: transparent;
    border: 0;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .ddmenu a {
    min-height: 44px;
    padding: 9px 12px;
    border-left: 0;
    border-bottom: 2px solid transparent;
    border-radius: 8px 8px 0 0;
    font-size: 0.95rem;
  }
  .ddmenu a:hover,
  .ddmenu a:focus-visible {
    border-left-color: transparent;
    border-bottom-color: var(--red);
    background: rgba(255, 0, 110, 0.12);
  }
  .brand { font-size: 1.14rem; letter-spacing: 0.3em; }
  .navbar::before { display: none; }
  .navbar { justify-content: flex-start; }
}

@media (min-width: 960px) {
  .wrap {
    grid-template-columns: minmax(0, 1fr) 292px;
    gap: 42px;
    padding: 52px 22px 88px;
  }
  .side { position: sticky; top: calc(var(--hd) + 12px); }
  .prose > section { padding: 34px 34px 30px; }
  .hero { padding: 96px 24px 84px; }
}

@media (max-width: 420px) {
  :root { --hd: 122px; }
  body { font-size: 16.5px; }
  .navbar { gap: 8px; padding-left: 12px; padding-right: 12px; }
  .cta { padding: 10px 14px; font-size: 0.86rem; letter-spacing: 0.1em; }
  .dd summary { padding: 10px 13px; }
  .prose > section { padding: 22px 15px 18px; }
  .brand { letter-spacing: 0.16em; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  html { scroll-behavior: auto; }
  .js-rv > section,
  .hero-title { opacity: 1; transform: none; }
}
</｜DSML｜ parameter>
</｜DSML｜ invoke>
</｜DSML｜ calls>

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