/* UAEC design tokens — 定稿值见 docs/design-tokens.md（安卓 color_* 体系）。勿在视图里写裸色值。 */
:root {
  /* brand & functional（两主题同值） */
  --brand: #F3B824;
  --brand-10: rgba(246, 204, 71, 0.10);
  --up: #18AE83;            /* 涨/收益正 fbt_sell_color */
  --down: #F10E38;          /* 跌/收益负 fbt_buy_color */
  --hint-green: #20845A;
  --hint-red: #E2483C;
  --hint-blue: #1E7AFD;
  --up-bg: rgba(40, 232, 152, 0.10);
  --down-bg: rgba(227, 86, 75, 0.15);

  /* greyscale — Light（color_system_bg_* / color_text_* ） */
  --bg-000: #FFFFFF;
  --bg-100: #F7F8F9;
  --bg-200: #F1F2F4;
  --bg-300: #DDDFE3;
  --text-head-1: #161A1D;
  --text-head-2: #596773;
  --text-head-3: #8C9BAB;
  --text-body-1: #434343;
  --text-body-2: #878787;
  --text-body-3: #A2A2A2;
  --text-disabled: #878787;
  --mask: rgba(0, 0, 0, 0.4);

  /* shape & spacing（4px 基准；卡片 12 / 控件 8 / 小件 4） */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-pill: 999px;
  --sp-1: 4px; --sp-2: 8px; --sp-3: 12px; --sp-4: 16px; --sp-5: 20px; --sp-6: 24px; --sp-8: 32px;

  --font: -apple-system, "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", sans-serif;
}

:root[data-theme="dark"] {
  --bg-000: #101214;
  --bg-100: #1D2125;
  --bg-200: #22272B;
  --bg-300: #2C333A;
  --text-head-1: #F7F8F9;
  --text-head-2: #A2A2A2;
  --text-head-3: #878787;
  --text-body-1: #A2A2A2;
  --text-body-2: #666666;
  --text-body-3: #434343;
  --text-disabled: #666666;
  --mask: rgba(0, 0, 0, 0.6);
}
