/**
 * 闲鱼运营助手 - 设计令牌
 * Design Tokens for Xianyu Assistant
 */

:root {
  /* ===== 品牌色彩 ===== */
  --color-primary: #FFE033;          /* 闲鱼黄 */
  --color-primary-light: #FFF176;
  --color-primary-dark: #F9A825;
  
  /* ===== 背景色 ===== */
  --color-bg-primary: #0D0D0D;       /* 主背景 */
  --color-bg-secondary: #1A1A1A;     /* 卡片背景 */
  --color-bg-tertiary: #252525;      /* 输入框背景 */
  --color-bg-elevated: rgba(255, 255, 255, 0.05); /* 玻璃效果 */
  
  /* ===== 文字色彩 ===== */
  --color-text-primary: #FFFFFF;
  --color-text-secondary: rgba(255, 255, 255, 0.7);
  --color-text-tertiary: rgba(255, 255, 255, 0.5);
  --color-text-disabled: rgba(255, 255, 255, 0.3);
  
  /* ===== 功能色 ===== */
  --color-success: #4CAF50;
  --color-warning: #FF9800;
  --color-error: #F44336;
  --color-info: #2196F3;
  
  /* ===== 边框 ===== */
  --color-border: rgba(255, 255, 255, 0.1);
  --color-border-hover: rgba(255, 255, 255, 0.2);
  
  /* ===== 间距系统 ===== */
  --spacing-xs: 4px;
  --spacing-sm: 8px;
  --spacing-md: 16px;
  --spacing-lg: 24px;
  --spacing-xl: 32px;
  --spacing-xxl: 48px;
  
  /* ===== 圆角 ===== */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  
  /* ===== 字体 ===== */
  --font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 
                 'Helvetica Neue', Arial, 'PingFang SC', 'Hiragino Sans GB',
                 'Microsoft YaHei', sans-serif;
  
  --font-size-xs: 12px;
  --font-size-sm: 14px;
  --font-size-md: 16px;
  --font-size-lg: 18px;
  --font-size-xl: 20px;
  --font-size-xxl: 24px;
  --font-size-display: 32px;
  
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  
  /* ===== 行高 ===== */
  --line-height-tight: 1.2;
  --line-height-normal: 1.5;
  --line-height-relaxed: 1.75;
  
  /* ===== 阴影 ===== */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 20px rgba(255, 224, 51, 0.3);
  
  /* ===== 动画 ===== */
  --transition-fast: 150ms ease;
  --transition-normal: 250ms ease;
  --transition-slow: 350ms ease;
  --transition-spring: 350ms cubic-bezier(0.34, 1.56, 0.64, 1);
  
  /* ===== 安全区域 ===== */
  --safe-area-top: env(safe-area-inset-top, 0px);
  --safe-area-bottom: env(safe-area-inset-bottom, 0px);
  --safe-area-left: env(safe-area-inset-left, 0px);
  --safe-area-right: env(safe-area-inset-right, 0px);
  
  /* ===== 布局 ===== */
  --navbar-height: 56px;
  --header-height: 56px;
}
