/* Сгенерировано редактором тем (/admin/theme-editor), см. src/lib/themeEditor.ts.
   Руками не править: файл перезаписывается при следующем сохранении в админке.

   Тема здесь — это набор значений переменных, объявленных в globals.css.
   Порядок блоков важен: светлая, затем тёмная, затем опциональные скины —
   у всех селекторов одинаковая специфичность, поэтому выигрывает последний. */

/* light */
:root {
  --page: #fff1f4;
  --surface: #ffffff;
  --surface-muted: #f3f4f6;
  --surface-subtle: #f9fafb;
  --line: #e5e7eb;
  --line-subtle: #f3f4f6;
  --line-strong: #d1d5db;
  --line-accent: #ffc2cf;
  --ink: #111827;
  --ink-heading: #1f2937;
  --ink-strong: #374151;
  --ink-secondary: #4b5563;
  --ink-subtle: #6b7280;
  --ink-muted: #9ca3af;
  --ink-faint: #d1d5db;
  --ink-accent: #e11450;
  --ink-on-accent: #ffffff;
  --accent: #f9315c;
  --accent-strong: #e11450;
  --accent-deep: #bd0a44;
  --accent-light: #ff5c80;
  --accent-pale: #ff94ab;
  --accent-soft: #fff1f4;
  --accent-softer: #ffe0e6;
  --danger: #ef4444;
  --success: #16a34a;
}

/* dark */
html.dark {
  --page: #030712;
  --surface: #111827;
  --surface-muted: #1f2937;
  --surface-subtle: #1f2937;
  --line: #374151;
  --line-subtle: #1f2937;
  --line-strong: #4b5563;
  --ink: #f3f4f6;
  --ink-heading: #e5e7eb;
  --ink-strong: #d1d5db;
  --ink-secondary: #9ca3af;
  --ink-subtle: #9ca3af;
  --ink-muted: #6b7280;
  --ink-faint: #4b5563;
  --ink-accent: #ff5c80;
  --ink-on-accent: #ffffff;
  --accent: #f9315c;
  --accent-strong: #e11450;
  --accent-deep: #bd0a44;
  --accent-light: #ff5c80;
  --accent-pale: #ff94ab;
  --danger: #f87171;
  --success: #4ade80;
}

/* retro */
[data-theme="retro"] {
  --page: #0d0221;
  --surface: #1d0a3a;
  --surface-muted: #2a1152;
  --surface-subtle: #170729;
  --line: #6b2a94;
  --line-subtle: #3f1a5c;
  --line-strong: #8a3ab8;
  --line-accent: #6b2a94;
  --ink: #8ffcff;
  --ink-heading: #7cf0f5;
  --ink-strong: #6fe3ea;
  --ink-secondary: #5fd0d8;
  --ink-subtle: #52bcc4;
  --ink-muted: #479ea6;
  --ink-faint: #b8a8e0;
  --ink-accent: #ff6bd6;
  --ink-on-accent: #ffffff;
  --accent: #c220ab;
  --accent-strong: #a1188d;
  --accent-deep: #d43fb0;
  --accent-light: #ff8fe0;
  --accent-pale: #ffb3ef;
  --accent-soft: #2a1040;
  --accent-softer: #391656;
  --danger: #ff5f8f;
  --success: #5fffc4;
}

/* nature */
[data-theme="nature"] {
  --page: #16210f;
  --surface: #1f2e14;
  --surface-muted: #253519;
  --surface-subtle: #182410;
  --line: #3d5a2c;
  --line-subtle: #2c4020;
  --line-strong: #4f7238;
  --line-accent: #3d5a2c;
  --ink: #e8f0d8;
  --ink-heading: #dbe8c4;
  --ink-strong: #c7dba8;
  --ink-secondary: #aec98a;
  --ink-subtle: #93b56c;
  --ink-muted: #7a9c55;
  --ink-faint: #b9cf98;
  --ink-accent: #8aa63c;
  --ink-on-accent: #ffffff;
  --accent: #7c8f2e;
  --accent-strong: #69791f;
  --accent-deep: #6f8a2c;
  --accent-light: #b3c96a;
  --accent-pale: #c9d98a;
  --accent-soft: #2a3618;
  --accent-softer: #37461f;
  --danger: #d97757;
  --success: #8fd17a;
}

/* tech */
[data-theme="tech"] {
  --page: #000000;
  --surface: #001a00;
  --surface-muted: #002200;
  --surface-subtle: #000d00;
  --line: #005500;
  --line-subtle: #003300;
  --line-strong: #007700;
  --line-accent: #005500;
  --ink: #33ff33;
  --ink-heading: #2eea2e;
  --ink-strong: #29d029;
  --ink-secondary: #24b524;
  --ink-subtle: #1f9a1f;
  --ink-muted: #1a7f1a;
  --ink-faint: #66ff66;
  --ink-accent: #00e639;
  --ink-on-accent: #001a00;
  --accent: #00cc2e;
  --accent-strong: #00e639;
  --accent-deep: #00b82e;
  --accent-light: #66ff66;
  --accent-pale: #99ff99;
  --accent-soft: #001f00;
  --accent-softer: #002b00;
  --danger: #ff5555;
  --success: #33ff88;
}

/* sea */
[data-theme="sea"] {
  --page: #eef6fb;
  --surface: #ffffff;
  --surface-muted: #d8ecf6;
  --surface-subtle: #eaf4fa;
  --line: #b8def2;
  --line-subtle: #d8ecf6;
  --line-strong: #94cbe8;
  --line-accent: #a8d8ef;
  --ink: #0b3550;
  --ink-heading: #124a6e;
  --ink-strong: #1c5f88;
  --ink-secondary: #2b78a3;
  --ink-subtle: #4291b8;
  --ink-muted: #6aacc9;
  --ink-faint: #9dc9e0;
  --ink-accent: #1877b8;
  --ink-on-accent: #ffffff;
  --accent: #1f8fd6;
  --accent-strong: #1877b8;
  --accent-deep: #135f92;
  --accent-light: #4aa8e0;
  --accent-pale: #7ec3ea;
  --accent-soft: #e3f4fb;
  --accent-softer: #cdeaf7;
  --danger: #d9534f;
  --success: #2f9e79;
}

/* общее для всех тем */
body { font-family: var(--theme-font, inherit); }