:root{
  --bg:#f7faf9;
  --surface:#ffffff;
  --surface-2:#f0f7f4;
  --text:#18312a;
  --muted:#5d746c;
  --brand:#0aa36a;
  --brand-dark:#087c51;
  --brand-soft:#dff6ec;
  --border:#dce9e3;
  --shadow:0 10px 30px rgba(16, 53, 42, 0.08);
}

body.theme-emerald{
  background:linear-gradient(180deg,#f8fbfa 0%, #f4f8f7 100%);
}

body.theme-emerald .nav{
  background:rgba(255,255,255,0.92);
  border-bottom:1px solid var(--border);
}

body.theme-emerald .nav-inner{
  min-height:78px;
}

body.theme-emerald .brand-badge{
  border-radius:50%;
  box-shadow:var(--shadow);
}

body.theme-emerald .card{
  border-radius:22px;
}

body.theme-emerald .btn{
  border-radius:999px;
}

body.theme-emerald .kicker{
  border-radius:999px;
}

body.theme-emerald .hero-main{
  background:
    radial-gradient(circle at top right, rgba(10,163,106,0.12), transparent 35%),
    linear-gradient(180deg,#ffffff 0%, #f8fcfa 100%);
}

body.theme-emerald .stat-box{
  border-radius:18px;
}

body.theme-emerald.site-home .hero-grid{
  grid-template-columns:1.15fr 0.85fr;
}

body.theme-emerald.site-wiki-show .term-layout{
  grid-template-columns:320px 1fr;
}

body.theme-emerald .sidebar-card,
body.theme-emerald .main-term-card{
  border-radius:22px;
}

body.theme-emerald .page-card,
body.theme-emerald .quick-card,
body.theme-emerald .category-card,
body.theme-emerald .term-card{
  transition:transform .18s ease, box-shadow .18s ease;
}

body.theme-emerald .page-card:hover,
body.theme-emerald .quick-card:hover,
body.theme-emerald .category-card:hover,
body.theme-emerald .term-card:hover{
  transform:translateY(-2px);
}