:root {
  --primary: #ff6b35;
  --primary-dark: #e55a2b;
  --primary-light: #ff8c5a;
  --secondary: #ff3d71;
  --accent: #7c5cff;
  --accent-light: #a78bfa;
  --bg: #faf9f7;
  --bg-alt: #f2f0ed;
  --card-bg: rgba(255, 255, 255, 0.72);
  --card-border: rgba(255, 255, 255, 0.6);
  --text: #1a1a2e;
  --text-secondary: #4a4a5a;
  --text-muted: #8a8a9a;
  --glass-bg: rgba(255, 255, 255, 0.55);
  --glass-border: rgba(255, 255, 255, 0.35);
  --shadow: 0 4px 24px rgba(26, 26, 46, 0.08);
  --shadow-lg: 0 12px 48px rgba(26, 26, 46, 0.12);
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f0f1a;
    --bg-alt: #1a1a2e;
    --card-bg: rgba(30, 30, 50, 0.72);
    --card-border: rgba(255, 255, 255, 0.08);
    --text: #eaeaf0;
    --text-secondary: #b0b0c0;
    --text-muted: #6a6a80;
    --glass-bg: rgba(30, 30, 50, 0.55);
    --glass-border: rgba(255, 255, 255, 0.1);
    --shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 12px 48px rgba(0, 0, 0, 0.4);
    --primary: #ff8c5a;
    --primary-dark: #ff6b35;
    --primary-light: #ffab8a;
  }
}

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

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

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.75;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  transition: background var(--transition), color var(--transition);
}

/* ========== 渐变背景光晕 ========== */
body::before {
  content: "";
  position: fixed;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background:
    radial-gradient(ellipse at 20% 20%, rgba(255, 107, 53, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 80%, rgba(124, 92, 255, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 50%, rgba(255, 61, 113, 0.04) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
  animation: bgFloat 20s ease-in-out infinite alternate;
}

@keyframes bgFloat {
  0% { transform: translate(0, 0) rotate(0deg); }
  100% { transform: translate(-2%, -2%) rotate(3deg); }
}

/* ========== 滚动动画 ========== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(32px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-24px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 107, 53, 0.2); }
  50% { box-shadow: 0 0 0 12px rgba(255, 107, 53, 0); }
}

/* ========== Header ========== */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--glass-bg);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--glass-border);
  transition: background var(--transition), box-shadow var(--transition);
}

header:hover {
  box-shadow: 0 4px 30px rgba(255, 107, 53, 0.06);
}

header nav {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 4px;
  height: 64px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

header nav::-webkit-scrollbar {
  display: none;
}

header nav a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  transition: all var(--transition);
  position: relative;
}

header nav a::after {
  content: "";
  position: absolute;
  bottom: 4px;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: 2px;
  transition: all var(--transition);
  transform: translateX(-50%);
}

header nav a:hover {
  color: var(--primary);
  background: rgba(255, 107, 53, 0.08);
}

header nav a:hover::after {
  width: 60%;
}

header nav a:first-child {
  color: var(--primary);
  font-weight: 700;
  font-size: 15px;
}

/* ========== Main ========== */
main {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px 80px;
}

article {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* ========== H1 渐变 Banner ========== */
article > h1 {
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin: 0 -24px;
  padding: 80px 48px 72px;
  background: linear-gradient(135deg, #ff6b35 0%, #ff3d71 40%, #7c5cff 100%);
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
  animation: fadeInUp 0.8s ease-out both;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
}

article > h1::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

article > h1::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 60px;
  background: var(--bg);
  clip-path: ellipse(75% 100% at 50% 100%);
  transition: background var(--transition);
}

/* ========== H1 下方首段 ========== */
article > h1 + p {
  font-size: 17px;
  line-height: 1.9;
  color: var(--text-secondary);
  max-width: 820px;
  margin: 0 auto 8px;
  padding: 0 8px;
  text-align: center;
  animation: fadeInUp 0.8s ease-out 0.15s both;
}

/* ========== Section 通用卡片 ========== */
article > section {
  background: var(--card-bg);
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  margin-top: 32px;
  box-shadow: var(--shadow);
  transition: all var(--transition);
  animation: fadeInUp 0.7s ease-out both;
  animation-timeline: view();
  animation-range: entry 0% entry 30%;
  position: relative;
  overflow: hidden;
}

article > section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent));
  opacity: 0;
  transition: opacity var(--transition);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

article > section:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
  border-color: rgba(255, 107, 53, 0.15);
}

article > section:hover::before {
  opacity: 1;
}

/* ========== Section 标题 ========== */
article > section > h2 {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 2px solid transparent;
  border-image: linear-gradient(90deg, var(--primary), var(--secondary), transparent) 1;
  border-image-slice: 1;
  position: relative;
  letter-spacing: -0.01em;
}

article > section > h2::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 26px;
  background: linear-gradient(180deg, var(--primary), var(--secondary));
  border-radius: 3px;
  margin-right: 12px;
  vertical-align: middle;
  position: relative;
  top: -2px;
}

/* ========== H3 标题 ========== */
article > section h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
  margin: 24px 0 10px;
  padding-left: 14px;
  position: relative;
  transition: color var(--transition);
}

article > section h3::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 18px;
  background: linear-gradient(180deg, var(--primary), var(--secondary));
  border-radius: 2px;
  transition: height var(--transition);
}

article > section h3:hover {
  color: var(--primary);
}

article > section h3:hover::before {
  height: 22px;
}

/* ========== 段落 ========== */
article > section p {
  color: var(--text-secondary);
  font-size: 15.5px;
  line-height: 1.9;
  margin-bottom: 14px;
}

article > section p:last-child {
  margin-bottom: 0;
}

/* ========== 链接 ========== */
article a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
  position: relative;
  transition: color var(--transition);
}

article a::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transition: width var(--transition);
}

article a:hover {
  color: var(--primary-dark);
}

article a:hover::after {
  width: 100%;
}

/* ========== 嵌套 article (新闻/文章卡片) ========== */
article > section > article {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 24px 26px;
  margin-bottom: 16px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

article > section > article::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--primary), var(--secondary));
  border-radius: 0 3px 3px 0;
  transform: scaleY(0);
  transition: transform var(--transition);
  transform-origin: top;
}

article > section > article:hover {
  transform: translateX(6px);
  box-shadow: var(--shadow);
  border-color: rgba(255, 107, 53, 0.2);
}

article > section > article:hover::before {
  transform: scaleY(1);
}

article > section > article h3 {
  font-size: 16.5px;
  margin: 0 0 8px;
  padding-left: 0;
}

article > section > article h3::before {
  display: none;
}

article > section > article h3:hover {
  color: var(--primary);
}

article > section > article p {
  font-size: 14.5px;
  margin-bottom: 6px;
}

article > section > article p:first-of-type {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.02em;
}

article > section > article p:first-of-type::before {
  content: "🕐 ";
  font-size: 12px;
}

article > section > article p:last-child {
  margin-bottom: 0;
  margin-top: 10px;
}

article > section > article p:last-child a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  padding: 6px 16px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  border-radius: 20px;
  transition: all var(--transition);
  box-shadow: 0 2px 12px rgba(255, 107, 53, 0.25);
}

article > section > article p:last-child a::after {
  display: none;
}

article > section > article p:last-child a::before {
  content: "→";
  transition: transform var(--transition);
}

article > section > article p:last-child a:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 107, 53, 0.35);
  color: #fff;
}

article > section > article p:last-child a:hover::before {
  transform: translateX(4px);
}

/* ========== FAQ 定义列表 ========== */
article > section dl {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

article > section dt {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  padding: 16px 20px 16px 48px;
  background: var(--glass-bg);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  position: relative;
  transition: all var(--transition);
  user-select: none;
}

article > section dt::before {
  content: "Q";
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  border-radius: 6px;
  transition: all var(--transition);
}

article > section dt:hover {
  border-color: rgba(255, 107, 53, 0.3);
  box-shadow: 0 4px 16px rgba(255, 107, 53, 0.1);
  transform: translateX(4px);
}

article > section dt:hover::before {
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 2px 12px rgba(255, 107, 53, 0.3);
}

article > section dd {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.85;
  padding: 16px 20px 16px 48px;
  margin-top: -6px;
  margin-bottom: 4px;
  background: transparent;
  border-left: 3px solid transparent;
  border-image: linear-gradient(180deg, var(--primary-light), transparent) 1;
  border-image-slice: 1;
  animation: fadeIn 0.4s ease-out both;
  position: relative;
}

article > section dd::before {
  content: "A";
  position: absolute;
  left: 16px;
  top: 18px;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-alt);
  color: var(--primary);
  font-size: 12px;
  font-weight: 800;
  border-radius: 6px;
  transition: all var(--transition);
}

/* ========== 有序列表 (HowTo) ========== */
article > section ol {
  counter-reset: step;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 16px 0;
}

article > section ol li {
  counter-increment: step;
  position: relative;
  padding: 18px 20px 18px 64px;
  background: var(--glass-bg);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.75;
  transition: all var(--transition);
}

article > section ol li::before {
  content: counter(step);
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  border-radius: 50%;
  box-shadow: 0 2px 10px rgba(255, 107, 53, 0.25);
  transition: all var(--transition);
}

article > section ol li:hover {
  transform: translateX(6px);
  border-color: rgba(255, 107, 53, 0.25);
  box-shadow: 0 4px 16px rgba(255, 107, 53, 0.1);
}

article > section ol li:hover::before {
  transform: translateY(-50%) scale(1.12);
  box-shadow: 0 4px 16px rgba(255, 107, 53, 0.4);
}

/* ========== 无序列表 (网站地图/友情链接) ========== */
article > section ul {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 10px;
  margin: 16px 0;
}

article > section ul li {
  position: relative;
}

article > section ul li a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: var(--glass-bg);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-size: 14.5px;
  font-weight: 500;
  transition: all var(--transition);
  text-decoration: none;
}

article > section ul li a::after {
  display: none;
}

article > section ul li a::before {
  content: "✦";
  color: var(--primary);
  font-size: 11px;
  transition: transform var(--transition);
}

article > section ul li a:hover {
  background: rgba(255, 107, 53, 0.08);
  border-color: rgba(255, 107, 53, 0.25);
  color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(255, 107, 53, 0.1);
}

article > section ul li a:hover::before {
  transform: rotate(90deg) scale(1.2);
}

/* ========== 面包屑导航 ========== */
#breadcrumb nav ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  list-style: none;
  counter-reset: none;
  padding: 0;
}

#breadcrumb nav ol li {
  counter-increment: none;
  padding: 0;
  background: none;
  border: none;
  border-radius: 0;
  display: flex;
  align-items: center;
  font-size: 14px;
}

#breadcrumb nav ol li::before {
  display: none;
}

#breadcrumb nav ol li + li::before {
  content: "›";
  display: inline-flex;
  align-items: center;
  margin: 0 8px;
  color: var(--text-muted);
  font-size: 16px;
  width: auto;
  height: auto;
  background: none;
  border-radius: 0;
  position: static;
  transform: none;
  box-shadow: none;
}

#breadcrumb nav ol li a {
  color: var(--text-muted);
  font-weight: 500;
  padding: 4px 8px;
  border-radius: 6px;
  transition: all var(--transition);
}

#breadcrumb nav ol li a::after {
  display: none;
}

#breadcrumb nav ol li a:hover {
  color: var(--primary);
  background: rgba(255, 107, 53, 0.08);
}

#breadcrumb nav ol li:last-child a {
  color: var(--primary);
  font-weight: 600;
}

/* ========== 联系信息 ========== */
#contact p {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 8px 0;
  border-bottom: 1px dashed var(--card-border);
  font-size: 15px;
}

#contact p:last-child {
  border-bottom: none;
}

#contact p strong {
  color: var(--primary);
}

/* ========== EEAT 信息 ========== */
#eeat p {
  padding: 6px 0;
  font-size: 14.5px;
}

#eeat p:first-of-type::before {
  content: "✍️ ";
}

#eeat p:nth-of-type(2)::before {
  content: "✅ ";
}

/* ========== Footer ========== */
footer {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 48px 24px;
  background: linear-gradient(180deg, transparent, rgba(255, 107, 53, 0.04));
  border-top: 1px solid var(--card-border);
  margin-top: 40px;
}

footer p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.8;
}

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

footer p:last-child {
  font-size: 13px;
  letter-spacing: 0.05em;
  background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 600;
}

/* ========== 滚动条美化 ========== */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-alt);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--primary-light), var(--primary));
  border-radius: 4px;
  border: 2px solid var(--bg-alt);
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, var(--primary), var(--primary-dark));
}

/* ========== 选中文字 ========== */
::selection {
  background: rgba(255, 107, 53, 0.25);
  color: var(--text);
}

/* ========== 响应式 ========== */
@media (max-width: 900px) {
  article > h1 {
    padding: 64px 32px 56px;
    margin: 0 -20px;
  }

  article > section {
    padding: 32px 28px;
    border-radius: var(--radius);
  }
}

@media (max-width: 768px) {
  body {
    font-size: 15px;
  }

  header nav {
    padding: 0 16px;
    height: 56px;
    gap: 2px;
  }

  header nav a {
    font-size: 13px;
    padding: 6px 10px;
  }

  main {
    padding: 0 16px 60px;
  }

  article > h1 {
    font-size: clamp(24px, 7vw, 34px);
    padding: 52px 24px 48px;
    margin: 0 -16px;
    border-radius: 0;
  }

  article > h1::after {
    height: 40px;
    clip-path: ellipse(85% 100% at 50% 100%);
  }

  article > h1 + p {
    font-size: 15.5px;
    padding: 0 4px;
  }

  article > section {
    padding: 26px 20px;
    margin-top: 24px;
    border-radius: var(--radius);
  }

  article > section > h2 {
    font-size: 20px;
    padding-bottom: 12px;
    margin-bottom: 16px;
  }

  article > section > h2::before {
    width: 4px;
    height: 20px;
    margin-right: 10px;
  }

  article > section h3 {
    font-size: 16.5px;
  }

  article > section p {
    font-size: 15px;
  }

  article > section > article {
    padding: 18px 18px;
    border-radius: var(--radius-sm);
  }

  article > section > article h3 {
    font-size: 15.5px;
  }

  article > section dt {
    font-size: 15px;
    padding: 14px 16px 14px 42px;
  }

  article > section dt::before {
    left: 12px;
    width: 22px;
    height: 22px;
    font-size: 11px;
  }

  article > section dd {
    font-size: 14.5px;
    padding: 14px 16px 14px 42px;
  }

  article > section dd::before {
    left: 12px;
    top: 16px;
    width: 22px;
    height: 22px;
    font-size: 11px;
  }

  article > section ol li {
    padding: 16px 16px 16px 56px;
    font-size: 14.5px;
  }

  article > section ol li::before {
    left: 14px;
    width: 28px;
    height: 28px;
    font-size: 13px;
  }

  article > section ul {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 8px;
  }

  article > section ul li a {
    padding: 10px 14px;
    font-size: 14px;
  }

  footer {
    padding: 36px 16px;
  }

  footer p {
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  article > h1 {
    padding: 44px 20px 40px;
    font-size: 22px;
  }

  article > section {
    padding: 22px 16px;
  }

  article > section > h2 {
    font-size: 18px;
  }

  article > section ul {
    grid-template-columns: 1fr;
  }

  #breadcrumb nav ol {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  #breadcrumb nav ol li + li::before {
    display: none;
  }
}

/* ========== 打印样式 ========== */
@media print {
  header,
  footer,
  body::before {
    display: none;
  }

  article > section {
    box-shadow: none;
    border: 1px solid #ddd;
    break-inside: avoid;
  }

  article > h1 {
    background: none;
    color: #000;
    padding: 20px 0;
    margin: 0;
  }

  article > h1::after {
    display: none;
  }
}

/* ========== 减少动画偏好 ========== */
@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 (prefers-contrast: high) {
  :root {
    --card-bg: rgba(255, 255, 255, 0.95);
    --glass-bg: rgba(255, 255, 255, 0.9);
    --text: #000;
    --text-secondary: #222;
  }

  article > section {
    border-width: 2px;
  }
}

/* ========== 焦点可见性 ========== */
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ========== 加载动画 ========== */
@keyframes contentReveal {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

article > section:nth-child(1) { animation-delay: 0.05s; }
article > section:nth-child(2) { animation-delay: 0.1s; }
article > section:nth-child(3) { animation-delay: 0.15s; }
article > section:nth-child(4) { animation-delay: 0.2s; }
article > section:nth-child(5) { animation-delay: 0.25s; }
article > section:nth-child(6) { animation-delay: 0.3s; }
article > section:nth-child(7) { animation-delay: 0.35s; }
article > section:nth-child(8) { animation-delay: 0.4s; }
article > section:nth-child(9) { animation-delay: 0.45s; }
article > section:nth-child(10) { animation-delay: 0.5s; }

/* ========== 平滑滚动偏移 ========== */
[id] {
  scroll-margin-top: 80px;
}

/* ========== 毛玻璃增强 ========== */
@supports (backdrop-filter: blur(1px)) {
  header {
    background: var(--glass-bg);
  }

  article > section {
    background: var(--card-bg);
  }
}

@supports not (backdrop-filter: blur(1px)) {
  header {
    background: var(--bg);
  }

  article > section {
    background: var(--bg-alt);
  }
}