/* ==========================================================================
   花不弃庄园 · 设计令牌 (Design Tokens)
   配色/字号/圆角/阴影的唯一定义来源。详见 docs/H5-DESIGN-SPEC.md
   ========================================================================== */
:root{
  /* ---- 草木绿主色 ---- */
  --green-900:#3D5238;          /* 最深，标题压色 */
  --green-700:#4A6B47;          /* 主按钮/强调 */
  --green-500:#7BA05B;          /* 次级强调/图标 */
  --green-300:#A8C97F;          /* 标签底/高亮 */
  --green-100:#E4ECD3;          /* 浅绿卡片底 */

  /* ---- 暖意辅色 ---- */
  --terracotta:#D98E5A;         /* 价格/行动召唤 */
  --terracotta-d:#C2783F;       /* 价格按压态 */
  --sunny:#E8B86A;              /* 会员/福利 */

  /* ---- 大地中性 ---- */
  --cream:#FBF8F1;              /* 主背景（非纯白） */
  --linen:#EFE6D3;              /* 卡片底/分隔 */
  --wood:#C9A87C;               /* 描边/次级线 */
  --ink:#3D342A;                /* 正文（非纯黑） */
  --ink-60:rgba(61,52,42,.60);  /* 次要文字 */
  --ink-30:rgba(61,52,42,.30);  /* 占位/禁用 */
  --ink-10:rgba(61,52,42,.10);  /* 极淡分隔线 */

  /* ---- 反馈 ---- */
  --success:#7BA05B;
  --warn:#E8B86A;
  --danger:#C26B5A;

  /* ---- 圆角 ---- */
  --r-sm:10px;
  --r-md:16px;
  --r-lg:20px;
  --r-xl:28px;
  --r-pill:999px;

  /* ---- 阴影 ---- */
  --shadow-soft:0 8px 24px rgba(61,52,42,.08);
  --shadow-card:0 4px 16px rgba(61,52,42,.06);
  --shadow-fab:0 6px 18px rgba(217,142,90,.35);

  /* ---- 字体 ---- */
  --font-sans:"PingFang SC","HarmonyOS Sans SC","Microsoft YaHei",system-ui,-apple-system,sans-serif;
  --font-serif:"Songti SC","Noto Serif SC","Source Han Serif SC",serif;

  /* ---- 间距 ---- */
  --sp-1:4px; --sp-2:8px; --sp-3:12px; --sp-4:16px;
  --sp-5:20px; --sp-6:24px; --sp-8:32px; --sp-10:40px;

  /* ---- 页面 ---- */
  --page-pad:16px;
  --tabbar-h:56px;
  --safe-bottom:env(safe-area-inset-bottom, 0px);
}
