:root {
  --bg: #0f2a44;
  --bg-soft: #13324f;
  --surface: rgba(255, 255, 255, 0.08);
  --surface-solid: #17395a;
  --surface-strong: rgba(255, 255, 255, 0.14);
  --text: #eef4fb;
  --text-soft: #b8c9dc;
  --text-dim: #8fa6bd;
  --accent: #ff8a5c;
  --accent-2: #ffc46b;
  --accent-3: #6fd3ff;
  --line: rgba(255, 255, 255, 0.14);
  --shadow: 0 18px 48px rgba(0, 0, 0, 0.32);
  --shadow-soft: 0 8px 24px rgba(0, 0, 0, 0.22);
  --radius: 20px;
  --radius-sm: 12px;
  --radius-lg: 28px;
  --maxw: 1180px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  min-height: 100vh;
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.85;
  color: var(--text);
  background:
    radial-gradient(1200px 600px at 12% -8%, rgba(111, 211, 255, 0.18), transparent 60%),
    radial-gradient(900px 520px at 92% 4%, rgba(255, 138, 92, 0.16), transparent 62%),
    linear-gradient(180deg, #0b2136 0%, var(--bg) 38%, #0c2438 100%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

a {
  color: var(--accent-3);
  text-decoration: none;
  transition: color 0.25s var(--ease), opacity 0.25s var(--ease);
}

a:hover,
a:focus-visible {
  color: var(--accent-2);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--accent-2);
  outline-offset: 3px;
  border-radius: 6px;
}

::selection {
  background: rgba(255, 196, 107, 0.35);
  color: #fff;
}

/* ============ 布局容器 ============ */
header > div,
main > section,
main > nav,
main > article,
footer {
  width: 100%;
  max-width: var(--maxw);
  margin-left: auto;
  margin-right: auto;
}

main {
  display: block;
  padding: 0 20px 40px;
}

/* ============ 页头 / 导航 ============ */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  margin-bottom: 8px;
  background: rgba(11, 33, 54, 0.62);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  backdrop-filter: blur(18px) saturate(150%);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}

header > div {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 22px;
  padding: 14px 20px;
}

header > div > a[aria-label] {
  font-size: 1.18rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #fff;
  padding: 6px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(255, 138, 92, 0.95), rgba(255, 196, 107, 0.92));
  color: #17263a;
  box-shadow: 0 8px 22px rgba(255, 138, 92, 0.28);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
  white-space: nowrap;
}

header > div > a[aria-label]:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 12px 28px rgba(255, 138, 92, 0.42);
  color: #17263a;
}

header nav {
  flex: 1 1 320px;
}

header nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}

header nav a {
  display: inline-block;
  padding: 6px 12px;
  font-size: 0.92rem;
  color: var(--text-soft);
  border-radius: 999px;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), transform 0.25s var(--ease);
}

header nav a:hover,
header nav a:focus-visible {
  color: #fff;
  background: var(--surface-strong);
  transform: translateY(-1px);
}

header form[role="search"] {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 1 320px;
  min-width: 220px;
}

header form[role="search"] label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

header form[role="search"] input[type="search"] {
  flex: 1 1 auto;
  min-width: 0;
  padding: 9px 16px;
  font-size: 0.9rem;
  color: var(--text);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--line);
  border-radius: 999px;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

header form[role="search"] input[type="search"]::placeholder {
  color: var(--text-dim);
}

header form[role="search"] input[type="search"]:focus {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(111, 211, 255, 0.6);
  box-shadow: 0 0 0 4px rgba(111, 211, 255, 0.16);
  outline: none;
}

header form[role="search"] button {
  flex: 0 0 auto;
  padding: 9px 18px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #17263a;
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), filter 0.25s var(--ease);
}

header form[role="search"] button:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(255, 138, 92, 0.35);
  filter: brightness(1.05);
}

header form[role="search"] button:active {
  transform: translateY(0);
}

/* ============ 通用区块 ============ */
main > section {
  position: relative;
  margin-top: 30px;
  padding: 34px 30px;
  background: var(--surface);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  animation: rise 0.7s var(--ease) both;
}

main > section:nth-of-type(1) {
  margin-top: 22px;
}

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

/* 首个 Hero 区块：渐变 Banner */
main > section[aria-labelledby="hero-title"] {
  padding: 52px 40px;
  background:
    radial-gradient(700px 320px at 88% 0%, rgba(255, 196, 107, 0.28), transparent 60%),
    radial-gradient(600px 300px at 6% 100%, rgba(111, 211, 255, 0.26), transparent 62%),
    linear-gradient(135deg, rgba(23, 57, 90, 0.92) 0%, rgba(15, 42, 68, 0.86) 48%, rgba(36, 72, 108, 0.9) 100%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

main > section[aria-labelledby="hero-title"]::before {
  content: "";
  position: absolute;
  inset: -40% -10% auto auto;
  width: 420px;
  height: 420px;
  background: conic-gradient(from 120deg, rgba(255, 138, 92, 0.35), rgba(111, 211, 255, 0.28), transparent 70%);
  filter: blur(60px);
  opacity: 0.7;
  pointer-events: none;
  animation: floatGlow 14s ease-in-out infinite alternate;
}

@keyframes floatGlow {
  from {
    transform: translate3d(0, 0, 0) rotate(0deg);
  }
  to {
    transform: translate3d(-40px, 30px, 0) rotate(24deg);
  }
}

main > section[aria-labelledby="hero-title"] h1 {
  position: relative;
  margin: 0 0 18px;
  font-size: clamp(1.7rem, 3.4vw, 2.7rem);
  line-height: 1.32;
  font-weight: 800;
  letter-spacing: 0.01em;
  background: linear-gradient(120deg, #ffffff 10%, #ffe6c2 52%, #a9e6ff 96%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.18);
}

main > section[aria-labelledby="hero-title"] p {
  position: relative;
  max-width: 76ch;
  color: var(--text-soft);
  font-size: 1.02rem;
}

main > section[aria-labelledby="hero-title"] p:last-child {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  align-items: center;
  margin-top: 26px;
  color: var(--text-dim);
}

main > section[aria-labelledby="hero-title"] p:last-child a {
  display: inline-block;
  padding: 10px 22px;
  font-weight: 600;
  color: #17263a;
  background: linear-gradient(135deg, #ffe1a8, var(--accent));
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(255, 138, 92, 0.26);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), filter 0.3s var(--ease);
}

main > section[aria-labelledby="hero-title"] p:last-child a:nth-child(2) {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  border: 1px solid var(--line);
  box-shadow: none;
}

main > section[aria-labelledby="hero-title"] p:last-child a:nth-child(3) {
  background: transparent;
  color: var(--accent-3);
  border: 1px solid rgba(111, 211, 255, 0.5);
  box-shadow: none;
}

main > section[aria-labelledby="hero-title"] p:last-child a:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 32px rgba(255, 138, 92, 0.34);
  filter: brightness(1.04);
  color: #17263a;
}

main > section[aria-labelledby="hero-title"] p:last-child a:nth-child(2):hover {
  color: #fff;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.26);
}

main > section[aria-labelledby="hero-title"] p:last-child a:nth-child(3):hover {
  color: var(--accent-2);
  box-shadow: 0 14px 28px rgba(111, 211, 255, 0.18);
}

/* ============ 标题层级 ============ */
main h2 {
  position: relative;
  margin: 0 0 20px;
  padding-bottom: 12px;
  font-size: clamp(1.3rem, 2.2vw, 1.7rem);
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: 0.01em;
  color: #fff;
}

main h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 64px;
  height: 4px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2), transparent);
}

main h3 {
  margin: 26px 0 10px;
  font-size: clamp(1.02rem, 1.5vw, 1.16rem);
  font-weight: 700;
  line-height: 1.6;
  color: #ffe6c2;
}

main h3:first-of-type {
  margin-top: 6px;
}

main p {
  margin: 0 0 14px;
  color: var(--text-soft);
}

main strong {
  color: #fff;
  font-weight: 700;
}

main blockquote {
  margin: 16px 0;
  padding: 16px 20px;
  color: var(--text);
  background: linear-gradient(135deg, rgba(111, 211, 255, 0.1), rgba(255, 138, 92, 0.08));
  border-left: 4px solid var(--accent-2);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

main blockquote:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-soft);
}

main blockquote p {
  margin: 0;
  color: var(--text);
}

/* ============ 文章卡片 ============ */
main > section[aria-labelledby="articles-title"] {
  display: block;
}

main > section[aria-labelledby="articles-title"] article {
  position: relative;
  margin: 0 0 18px;
  padding: 22px 24px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.14);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease), background 0.35s var(--ease);
  overflow: hidden;
}

main > section[aria-labelledby="articles-title"] article::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, var(--accent), var(--accent-3));
  opacity: 0;
  transition: opacity 0.35s var(--ease);
}

main > section[aria-labelledby="articles-title"] article:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 196, 107, 0.45);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.28);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.05));
}

main > section[aria-labelledby="articles-title"] article:hover::before {
  opacity: 1;
}

main > section[aria-labelledby="articles-title"] article h3 {
  margin-top: 0;
  color: #fff;
}

main > section[aria-labelledby="articles-title"] article h3 + p {
  font-size: 0.86rem;
  color: var(--text-dim);
  letter-spacing: 0.02em;
}

main > section[aria-labelledby="articles-title"] article p:last-child {
  margin-bottom: 0;
}

main > section[aria-labelledby="articles-title"] article p:last-child a {
  display: inline-block;
  padding: 7px 18px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--accent-2);
  border: 1px solid rgba(255, 196, 107, 0.45);
  border-radius: 999px;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), transform 0.3s var(--ease);
}

main > section[aria-labelledby="articles-title"] article p:last-child a:hover {
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
  color: #17263a;
  transform: translateX(3px);
}

/* ============ FAQ 折叠 ============ */
main > section[aria-labelledby="faq-title"] details {
  margin: 0 0 12px;
  padding: 4px 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

main > section[aria-labelledby="faq-title"] details:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(111, 211, 255, 0.4);
}

main > section[aria-labelledby="faq-title"] details[open] {
  background: linear-gradient(160deg, rgba(111, 211, 255, 0.1), rgba(255, 138, 92, 0.06));
  border-color: rgba(255, 196, 107, 0.42);
  box-shadow: var(--shadow-soft);
}

main > section[aria-labelledby="faq-title"] summary {
  position: relative;
  padding: 14px 30px 14px 0;
  font-weight: 600;
  color: #fff;
  cursor: pointer;
  list-style: none;
  transition: color 0.25s var(--ease);
}

main > section[aria-labelledby="faq-title"] summary::-webkit-details-marker {
  display: none;
}

main > section[aria-labelledby="faq-title"] summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  line-height: 22px;
  text-align: center;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--accent-2);
  border: 1px solid rgba(255, 196, 107, 0.5);
  border-radius: 50%;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease);
}

main > section[aria-labelledby="faq-title"] details[open] summary::after {
  content: "−";
  transform: translateY(-50%) rotate(180deg);
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
  color: #17263a;
  border-color: transparent;
}

main > section[aria-labelledby="faq-title"] summary:hover {
  color: var(--accent-2);
}

main > section[aria-labelledby="faq-title"] details p {
  margin: 0 0 16px;
  padding-top: 4px;
  font-size: 0.95rem;
  color: var(--text-soft);
  animation: fadeIn 0.35s var(--ease);
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============ 联系信息 ============ */
main > section[aria-labelledby="contact-title"] p {
  line-height: 2;
}

main > section[aria-labelledby="contact-title"] p br {
  content: "";
}

/* ============ 网站地图 / 友情链接 ============ */
main > nav[aria-label="网站地图"],
main > section[aria-labelledby="links-title"] {
  width: 100%;
  max-width: var(--maxw);
  margin: 30px auto 0;
  padding: 30px;
  background: var(--surface);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  animation: rise 0.7s var(--ease) both;
}

main > nav[aria-label="网站地图"] h2,
main > section[aria-labelledby="links-title"] h2 {
  margin-top: 0;
}

main > nav[aria-label="网站地图"] ul,
main > section[aria-labelledby="links-title"] ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}

main > nav[aria-label="网站地图"] a,
main > section[aria-labelledby="links-title"] a {
  display: inline-block;
  padding: 8px 16px;
  font-size: 0.9rem;
  color: var(--text-soft);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  border-radius: 999px;
  transition: transform 0.28s var(--ease), background 0.28s var(--ease), color 0.28s var(--ease), border-color 0.28s var(--ease);
}

main > nav[aria-label="网站地图"] a:hover,
main > section[aria-labelledby="links-title"] a:hover {
  transform: translateY(-2px);
  color: #17263a;
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
  border-color: transparent;
}

/* ============ 页脚 ============ */
footer {
  margin-top: 40px;
  padding: 34px 20px 46px;
  text-align: center;
  color: var(--text-dim);
  font-size: 0.88rem;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.22));
}

footer p {
  margin: 6px 0;
  line-height: 1.9;
}

footer p:first-child {
  color: var(--text-soft);
  font-weight: 600;
}

footer a {
  color: var(--accent-3);
}

footer a:hover {
  color: var(--accent-2);
}

/* ============ 滚动动画（渐进增强） ============ */
@media (prefers-reduced-motion: no-preference) {
  main > section,
  main > nav[aria-label="网站地图"] {
    animation: rise 0.7s var(--ease) both;
  }

  main > section:nth-of-type(2) { animation-delay: 0.04s; }
  main > section:nth-of-type(3) { animation-delay: 0.08s; }
  main > section:nth-of-type(4) { animation-delay: 0.12s; }
  main > section:nth-of-type(5) { animation-delay: 0.16s; }
  main > section:nth-of-type(6) { animation-delay: 0.2s; }
  main > section:nth-of-type(7) { animation-delay: 0.24s; }
  main > section:nth-of-type(8) { animation-delay: 0.28s; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ============ 响应式：平板 ============ */
@media (max-width: 900px) {
  header > div {
    gap: 10px 16px;
    padding: 12px 16px;
  }

  header nav {
    order: 3;
    flex-basis: 100%;
  }

  header nav ul {
    justify-content: flex-start;
  }

  header form[role="search"] {
    flex: 1 1 200px;
    min-width: 0;
  }

  main {
    padding: 0 16px 32px;
  }

  main > section {
    padding: 26px 22px;
  }

  main > section[aria-labelledby="hero-title"] {
    padding: 40px 26px;
  }
}

/* ============ 响应式：手机 ============ */
@media (max-width: 600px) {
  body {
    font-size: 15px;
    line-height: 1.8;
  }

  header > div {
    padding: 10px 12px;
    gap: 8px 10px;
  }

  header > div > a[aria-label] {
    font-size: 1.02rem;
    padding: 5px 12px;
  }

  header nav ul {
    gap: 2px 4px;
  }

  header nav a {
    padding: 5px 9px;
    font-size: 0.84rem;
  }

  header form[role="search"] {
    flex-basis: 100%;
    order: 2;
  }

  header form[role="search"] input[type="search"] {
    padding: 8px 14px;
    font-size: 0.86rem;
  }

  header form[role="search"] button {
    padding: 8px 16px;
    font-size: 0.86rem;
  }

  main {
    padding: 0 12px 26px;
  }

  main > section {
    margin-top: 20px;
    padding: 22px 16px;
    border-radius: var(--radius);
  }

  main > section[aria-labelledby="hero-title"] {
    padding: 32px 18px;
  }

  main > section[aria-labelledby="hero-title"] p {
    font-size: 0.95rem;
  }

  main > section[aria-labelledby="hero-title"] p:last-child {
    gap: 8px 10px;
    margin-top: 20px;
  }

  main > section[aria-labelledby="hero-title"] p:last-child a {
    padding: 9px 16px;
    font-size: 0.88rem;
  }

  main h2 {
    padding-bottom: 10px;
    margin-bottom: 16px;
  }

  main h2::after {
    width: 48px;
    height: 3px;
  }

  main h3 {
    margin-top: 20px;
  }

  main > section[aria-labelledby="articles-title"] article {
    padding: 18px 16px;
    border-radius: var(--radius-sm);
  }

  main > section[aria-labelledby="faq-title"] details {
    padding: 2px 14px;
  }

  main > section[aria-labelledby="faq-title"] summary {
    padding: 12px 28px 12px 0;
    font-size: 0.94rem;
  }

  main > nav[aria-label="网站地图"],
  main > section[aria-labelledby="links-title"] {
    margin-top: 20px;
    padding: 22px 16px;
    border-radius: var(--radius);
  }

  main > nav[aria-label="网站地图"] a,
  main > section[aria-labelledby="links-title"] a {
    padding: 7px 12px;
    font-size: 0.84rem;
  }

  footer {
    padding: 26px 14px 36px;
    font-size: 0.82rem;
  }
}

/* ============ 大屏增强 ============ */
@media (min-width: 1280px) {
  main > section[aria-labelledby="hero-title"] {
    padding: 64px 56px;
  }

  main > section {
    padding: 40px 38px;
  }
}

/* ============ 暗色模式（浅色系统偏好下的自适应） ============ */
@media (prefers-color-scheme: light) {
  :root {
    --bg: #eef3f9;
    --bg-soft: #e3ecf6;
    --surface: rgba(255, 255, 255, 0.72);
    --surface-solid: #ffffff;
    --surface-strong: rgba(15, 42, 68, 0.08);
    --text: #16324c;
    --text-soft: #3d5a76;
    --text-dim: #6b8299;
    --line: rgba(15, 42, 68, 0.12);
    --shadow: 0 18px 48px rgba(23, 57, 90, 0.16);
    --shadow-soft: 0 8px 24px rgba(23, 57, 90, 0.12);
  }

  body {
    background:
      radial-gradient(1200px 600px at 12% -8%, rgba(111, 211, 255, 0.35), transparent 60%),
      radial-gradient(900px 520px at 92% 4%, rgba(255, 138, 92, 0.22), transparent 62%),
      linear-gradient(180deg, #f6faff 0%, var(--bg) 40%, #eaf1f9 100%);
    background-attachment: fixed;
  }

  header {
    background: rgba(255, 255, 255, 0.7);
  }

  header > div > a[aria-label] {
    color: #fff;
  }

  header nav a {
    color: var(--text-soft);
  }

  header nav a:hover,
  header nav a:focus-visible {
    color: #16324c;
  }

  header form[role="search"] input[type="search"] {
    background: rgba(255, 255, 255, 0.85);
    color: var(--text);
  }

  header form[role="search"] input[type="search"]:focus {
    background: #fff;
  }

  main > section[aria-labelledby="hero-title"] {
    background:
      radial-gradient(700px 320px at 88% 0%, rgba(255, 196, 107, 0.45), transparent 60%),
      radial-gradient(600px 300px at 6% 100%, rgba(111, 211, 255, 0.45), transparent 62%),
      linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(240, 247, 255, 0.85) 50%, rgba(255, 246, 236, 0.9) 100%);
    border-color: rgba(15, 42, 68, 0.12);
    box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  }

  main > section[aria-labelledby="hero-title"] h1 {
    background: linear-gradient(120deg, #16324c 8%, #b5522a 52%, #1a6f96 96%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: none;
  }

  main > section[aria-labelledby="hero-title"] p {
    color: var(--text-soft);
  }

  main > section[aria-labelledby="hero-title"] p:last-child a:nth-child(2) {
    background: rgba(15, 42, 68, 0.08);
    color: #16324c;
  }

  main > section[aria-labelledby="hero-title"] p:last-child a:nth-child(2):hover {
    color: #16324c;
  }

  main > section[aria-labelledby="hero-title"] p:last-child a:nth-child(3) {
    color: #1a6f96;
    border-color: rgba(26, 111, 150, 0.45);
  }

  main h2,
  main > section[aria-labelledby="articles-title"] article h3,
  main > section[aria-labelledby="faq-title"] summary,
  main strong {
    color: #16324c;
  }

  main h3 {
    color: #a8502a;
  }

  main > section[aria-labelledby="articles-title"] article {
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.6));
    box-shadow: 0 6px 18px rgba(23, 57, 90, 0.08);
  }

  main > section[aria-labelledby="articles-title"] article:hover {
    background: linear-gradient(160deg, #ffffff, rgba(255, 255, 255, 0.85));
  }

  main > section[aria-labelledby="faq-title"] details {
    background: rgba(255, 255, 255, 0.7);
  }

  main > section[aria-labelledby="faq-title"] details:hover {
    background: rgba(255, 255, 255, 0.92);
  }

  main > section[aria-labelledby="faq-title"] details[open] {
    background: linear-gradient(160deg, rgba(111, 211, 255, 0.18), rgba(255, 138, 92, 0.12));
  }

  main > nav[aria-label="网站地图"] a,
  main > section[aria-labelledby="links-title"] a {
    background: rgba(255, 255, 255, 0.75);
    color: var(--text-soft);
  }

  footer {
    background: linear-gradient(180deg, transparent, rgba(23, 57, 90, 0.06));
  }

  footer p:first-child {
    color: #16324c;
  }
}

/* 手动暗色模式优先 */
@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
  }
}

@media (prefers-color-scheme: light) {
  :root {
    color-scheme: light;
  }
}