/* ===== 暗色模式变量 ===== */
:root {
  --bg-primary: #0f172a;
  --bg-secondary: #1a2332;
  --bg-card: #1e293b;
  --bg-card-hover: #273548;
  --bg-input: #1e293b;
  --bg-overlay: rgba(0, 0, 0, 0.65);
  --bg-tag: #1e293b;
  --bg-tag-hover: #334155;
  --bg-sidebar: #0f172a;
  --bg-sidebar-hover: #1e293b;
  --bg-sidebar-active: rgba(56, 189, 248, 0.08);
  --bg-modal: #1e293b;

  --border-primary: #334155;
  --border-light: #475569;
  --border-accent: #38bdf8;

  --text-primary: #e2e8f0;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --text-inverse: #0f172a;

  --accent: #38bdf8;
  --accent-hover: #7dd3fc;
  --accent-soft: rgba(56, 189, 248, 0.12);
  --accent-border: rgba(56, 189, 248, 0.3);

  --highlight: #fbbf24;
  --highlight-soft: rgba(251, 191, 36, 0.12);

  --success: #34d399;
  --danger: #ef4444;

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.5);
  --shadow-card: 0 2px 8px rgba(0, 0, 0, 0.25);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --sidebar-width: 260px;
  --header-height: 60px;

  --transition-fast: 150ms ease;
  --transition-normal: 250ms ease;

  --font-body: 'Inter', 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', 'Consolas', 'Courier New', monospace;
  --font-chem: 'STIX Two Text', 'Times New Roman', serif;
}
