/* CSS Custom Properties - sanfen-h5-native */
:root {
  /* Brand colors */
  --primary: #2563EB;
  --primary-dark: #1D4ED8;
  --primary-light: #EFF6FF;
  --primary-lighter: #DBEAFE;

  /* Semantic colors */
  --bg: #F8FAFC;
  --card: #FFFFFF;
  --text: #1E293B;
  --text-secondary: #64748B;
  --border: #E2E8F0;
  --up: #10B981;
  --down: #EF4444;
  --neutral: #94A3B8;
  --text-on-primary: #ffffff;
  --text-on-dark: #ffffff;

  /* Translucent / glass colors */
  --glass-bg: rgba(255, 255, 255, 0.9);
  --glass-border: rgba(255, 255, 255, 0.65);
  --toast-bg: rgba(31, 41, 55, 0.95);
  --skeleton-shine: #f1f5f9;
  --card-translucent-bg: rgba(255, 255, 255, 0.12);
  --card-translucent-border: rgba(255, 255, 255, 0.15);
  --up-light: #86EFAC;
  --down-light: #FCA5A5;
  --desktop-preview-bg: #e2e8f0;

  /* FAB gradient */
  --fab-start: #60A5FA;
  --fab-mid: #3B82F6;
  --fab-end: #1D4ED8;

  /* Spacing scale */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 12px;
  --space-lg: 16px;
  --space-xl: 24px;
  --space-2xl: 32px;

  /* Border radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-pill: 999px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 14px rgba(0, 0, 0, 0.06);
  --shadow-fab: 0 10px 24px -6px rgba(37, 99, 235, 0.55), 0 4px 8px -2px rgba(37, 99, 235, 0.25);
  --shadow-card: 0 2px 10px rgba(0, 0, 0, 0.1);
  --shadow-tab-bar: 0 6px 24px rgba(0, 0, 0, 0.08);

  /* Typography */
  --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-size-xs: 10px;
  --font-size-sm: 12px;
  --font-size-md: 13px;
  --font-size-base: 15px;
  --font-size-lg: 18px;
  --font-size-xl: 22px;
  --font-size-fab: 26px;
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;

  /* Layout */
  --app-max-width: 414px;
  --header-height: 64px;
  --tab-bar-height: 68px;
  --safe-top: env(safe-area-inset-top, constant(safe-area-inset-top, 24px));
  --safe-bottom: env(safe-area-inset-bottom, constant(safe-area-inset-bottom, 0px));

  /* Component sizes */
  --fab-size: 58px;
  --fab-offset: -26px;
  --icon-size-sm: 22px;

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 200ms ease;
}
