/* Sh2 API · 守岸人主题覆盖层（仅显示层；由 nginx sub_filter 注入，不触碰 API / 域名）
   Light = 海雾白 · 灯塔晨光   Dark = 黑海岸之夜
   只覆盖设计令牌（design tokens），不改布局、不加动效。 */

:root, html.light {
  --background: #f6fafd;
  --foreground: #0a1c2b;
  --card: #ffffff;
  --card-foreground: #0a1c2b;
  --popover: #ffffff;
  --popover-foreground: #0a1c2b;

  --primary: #0d6aa3;
  --primary-foreground: #ffffff;
  --secondary: #e9f2f9;
  --secondary-foreground: #0b4f78;
  --muted: #eef5fa;
  --muted-foreground: #4a6377;
  --accent: var(--primary);
  --accent-foreground: #ffffff;

  --destructive: #b42318;
  --destructive-foreground: #ffffff;
  --success: #0f7a55;
  --success-foreground: #ffffff;
  --warning: #b45309;
  --warning-foreground: #ffffff;
  --info: #0d6aa3;
  --info-foreground: #ffffff;
  --neutral: #64748b;
  --neutral-foreground: #ffffff;

  --border: #d9e6f0;
  --input: #d9e6f0;
  --ring: #2a8fc9;

  --sidebar-primary: #0d6aa3;
  --sidebar-primary-foreground: #ffffff;
  --sidebar-accent: var(--primary);
  --sidebar-accent-foreground: #ffffff;
  --sidebar-border: #d9e6f0;
  --sidebar-ring: #2a8fc9;

  --chart-1: #2a8fc9;
  --chart-2: #12a3a8;
  --chart-3: #7f8fe0;
  --chart-4: #b06bd8;
  --chart-5: #1f9d61;
}

html.dark, .dark {
  --background: #060d18;
  --foreground: #e8f2fb;
  --card: #0b1524;
  --card-foreground: #e8f2fb;
  --popover: #0e1a2c;
  --popover-foreground: #e8f2fb;

  --primary: #6cc8f5;
  --primary-foreground: #052030;
  --secondary: #14263c;
  --secondary-foreground: #a8d8f5;
  --muted: #101e31;
  --muted-foreground: #a6bccf;
  --accent: var(--primary);
  --accent-foreground: #052030;

  --destructive: #ff7a7a;
  --destructive-foreground: #2a0a0a;
  --success: #35c48d;
  --success-foreground: #04231a;
  --warning: #e8a33d;
  --warning-foreground: #2a1a04;
  --info: #4fb2e6;
  --info-foreground: #06202f;
  --neutral: #9fb3c8;
  --neutral-foreground: #0a1420;

  --border: #1b2c44;
  --input: #223752;
  --ring: #58b7e8;

  --sidebar-primary: #6cc8f5;
  --sidebar-primary-foreground: #052030;
  --sidebar-accent: var(--primary);
  --sidebar-accent-foreground: #052030;
  --sidebar-border: #16263d;
  --sidebar-ring: #58b7e8;

  --chart-1: #6cc8f5;
  --chart-2: #34c9c2;
  --chart-3: #9aa8ff;
  --chart-4: #d08ae8;
  --chart-5: #4fd08a;
}
