:root {
  --background: hsl(0 0% 100%);
  --foreground: hsl(240 10% 3.9%);
  --card: hsl(0 0% 100%);
  --card-foreground: hsl(240 10% 3.9%);
  --primary: hsl(142.1 76.2% 36.3%);
  --primary-foreground: hsl(355.7 100% 97.3%);
  --secondary: hsl(240 4.8% 95.9%);
  --secondary-foreground: hsl(240 5.9% 10%);
  --muted: hsl(240 4.8% 95.9%);
  --muted-foreground: hsl(240 3.8% 46.1%);
  --border: hsl(240 5.9% 90%);
  --ring: hsl(142.1 76.2% 36.3%);
  --header-bg: hsl(0 0% 100% / 0.85);
  --footer-bg: hsl(0 0% 100% / 0.78);
  --orb-a: hsla(145, 80%, 78%, 0.26);
  --orb-b: hsla(210, 90%, 82%, 0.24);
  --radius: 12px;
  --shadow: 0 1px 2px rgba(15, 23, 42, 0.03), 0 8px 24px rgba(15, 23, 42, 0.05);
}

body.dark {
  --background: hsl(222.2 84% 4.9%);
  --foreground: hsl(210 40% 98%);
  --card: hsl(224 34% 10% / 0.85);
  --card-foreground: hsl(210 40% 96%);
  --primary: hsl(142.1 70.6% 45.3%);
  --primary-foreground: hsl(144.9 80.4% 10%);
  --secondary: hsl(217.2 32.6% 17.5%);
  --secondary-foreground: hsl(210 40% 98%);
  --muted: hsl(215 20% 16%);
  --muted-foreground: hsl(215 20.2% 65.1%);
  --border: hsl(217.2 24% 21%);
  --ring: hsl(142.4 71.8% 29.2%);
  --header-bg: hsl(223 40% 10% / 0.75);
  --footer-bg: hsl(223 36% 11% / 0.7);
  --orb-a: hsla(157, 80%, 28%, 0.23);
  --orb-b: hsla(258, 80%, 32%, 0.21);
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.26), 0 10px 28px rgba(0, 0, 0, 0.22);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'PingFang SC', 'Microsoft YaHei', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--background);
  color: var(--foreground);
  min-height: 100vh;
  position: relative;
}

.bgOrb {
  position: fixed;
  border-radius: 999px;
  filter: blur(40px);
  z-index: 0;
  pointer-events: none;
  transition: background 0.3s ease;
}

.orbA {
  width: 420px;
  height: 420px;
  background: var(--orb-a);
  top: -140px;
  left: -120px;
}

.orbB {
  width: 360px;
  height: 360px;
  background: var(--orb-b);
  top: 22vh;
  right: -120px;
}

.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 14px;
  position: relative;
  z-index: 1;
}

.card {
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--card-foreground);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.pageShell {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 20px 0 28px;
}

.siteHeader {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(10px);
  background: var(--header-bg);
  border-bottom: 1px solid var(--border);
}

.siteHeaderInner {
  height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.brand {
  font-weight: 800;
  font-size: 18px;
  color: var(--foreground);
  text-decoration: none;
}

.siteNav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.siteNav a {
  color: var(--muted-foreground);
  text-decoration: none;
  font-size: 14px;
  padding: 8px 12px;
  border-radius: 10px;
  border: 1px solid transparent;
  transition: all 0.2s ease;
}

.siteNav a:hover {
  background: var(--secondary);
  border-color: var(--border);
  color: var(--foreground);
}

.themeToggle {
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--foreground);
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  cursor: pointer;
  position: relative;
}

.themeIcon {
  position: absolute;
  font-size: 15px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.themeSun {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}

.themeMoon {
  opacity: 0;
  transform: rotate(-90deg) scale(0.8);
}

body.dark .themeSun {
  opacity: 0;
  transform: rotate(90deg) scale(0.8);
}

body.dark .themeMoon {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}

.pageHeader {
  padding: 18px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}

.pageBadge {
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: hsl(142 76% 28%);
  background: hsl(142 54% 92%);
  border: 1px solid hsl(142 42% 84%);
  border-radius: 999px;
  padding: 3px 10px;
}

body.dark .pageBadge {
  color: hsl(140 65% 74%);
  background: hsl(141 40% 20%);
  border-color: hsl(142 36% 30%);
}

.pageTitle {
  margin: 10px 0 6px;
  font-size: clamp(22px, 3.2vw, 30px);
  line-height: 1.2;
}

.pageDesc {
  margin: 0;
  color: var(--muted-foreground);
  font-size: 14px;
}

.healthCard {
  min-width: 230px;
  border: 1px solid var(--border);
  background: var(--secondary);
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 13px;
}

.siteFooter {
  border-top: 1px solid var(--border);
  background: var(--footer-bg);
  backdrop-filter: blur(8px);
  margin-top: 20px;
}

.siteFooterInner {
  min-height: 64px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  font-size: 13px;
  color: var(--muted-foreground);
}

.siteFooterInner a {
  color: var(--foreground);
  text-decoration: none;
}

.siteFooterInner a:hover {
  text-decoration: underline;
}

@media (max-width: 920px) {
  .siteNav {
    display: none;
  }

  .pageHeader {
    flex-direction: column;
  }

  .healthCard {
    width: 100%;
    min-width: 0;
  }

  .siteFooterInner {
    flex-direction: column;
    justify-content: center;
    text-align: center;
    padding: 12px 0;
  }
}
