/* Генерира се от site.config.js (colors, fonts). Не редактирай този файл – редактирай конфигурацията. */html[data-theme="modern"], html[data-theme="modern"][data-scheme="light"] {
  --c-bg: #f8f8f6;
  --c-bg2: #f1f1ed;
  --c-surface: #ffffff;
  --c-surface2: #f2f2ee;
  --c-text: #1a1b1e;
  --c-muted: #5f6368;
  --c-border: #e1e2dc;
  --c-accent: #2563eb;
  --c-accent2: #f97316;
  --c-accentText: #ffffff;
  --c-link: #1d4ed8;
  --c-codeBg: #1b1f2e;
  --c-codeText: #e6e9f2;
  --c-note: #3b82f6;
  --c-tip: #10b981;
  --c-curious: #a855f7;
  --c-warning: #f59e0b;
  --c-danger: #ef4444;
  color-scheme: light;
}html[data-theme="modern"][data-scheme="dark"] {
  --c-bg: #111214;
  --c-bg2: #17181b;
  --c-surface: #1c1d21;
  --c-surface2: #25262b;
  --c-text: #eceeee;
  --c-muted: #9a9ea6;
  --c-border: #2e3036;
  --c-accent: #60a5fa;
  --c-accent2: #fb923c;
  --c-accentText: #111214;
  --c-link: #93c5fd;
  --c-codeBg: #0a0d14;
  --c-codeText: #e6e9f2;
  --c-note: #60a5fa;
  --c-tip: #34d399;
  --c-curious: #c084fc;
  --c-warning: #fbbf24;
  --c-danger: #f87171;
  color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
  html[data-theme="modern"]:not([data-scheme="light"]) {
    --c-bg: #111214;
    --c-bg2: #17181b;
    --c-surface: #1c1d21;
    --c-surface2: #25262b;
    --c-text: #eceeee;
    --c-muted: #9a9ea6;
    --c-border: #2e3036;
    --c-accent: #60a5fa;
    --c-accent2: #fb923c;
    --c-accentText: #111214;
    --c-link: #93c5fd;
    --c-codeBg: #0a0d14;
    --c-codeText: #e6e9f2;
    --c-note: #60a5fa;
    --c-tip: #34d399;
    --c-curious: #c084fc;
    --c-warning: #fbbf24;
    --c-danger: #f87171;
    color-scheme: dark;
  }
}html[data-theme="sketch"], html[data-theme="sketch"][data-scheme="light"] {
  --c-bg: #fffdf7;
  --c-bg2: #f8f4e8;
  --c-surface: #fffdf7;
  --c-surface2: #f6efdc;
  --c-text: #1e1e1e;
  --c-muted: #5c5c5c;
  --c-border: #1e1e1e;
  --c-accent: #e03131;
  --c-accent2: #1971c2;
  --c-accentText: #ffffff;
  --c-link: #1971c2;
  --c-codeBg: #1e1e1e;
  --c-codeText: #f5f1e6;
  --c-note: #1971c2;
  --c-tip: #2f9e44;
  --c-curious: #9c36b5;
  --c-warning: #f08c00;
  --c-danger: #e03131;
  color-scheme: light;
}html[data-theme="sketch"][data-scheme="dark"] {
  --c-bg: #121212;
  --c-bg2: #191919;
  --c-surface: #1c1c1c;
  --c-surface2: #262626;
  --c-text: #f1efe8;
  --c-muted: #b5b2a8;
  --c-border: #e8e6df;
  --c-accent: #ff6b6b;
  --c-accent2: #74c0fc;
  --c-accentText: #121212;
  --c-link: #74c0fc;
  --c-codeBg: #0b0b0b;
  --c-codeText: #f5f1e6;
  --c-note: #74c0fc;
  --c-tip: #69db7c;
  --c-curious: #da77f2;
  --c-warning: #ffa94d;
  --c-danger: #ff6b6b;
  color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
  html[data-theme="sketch"]:not([data-scheme="light"]) {
    --c-bg: #121212;
    --c-bg2: #191919;
    --c-surface: #1c1c1c;
    --c-surface2: #262626;
    --c-text: #f1efe8;
    --c-muted: #b5b2a8;
    --c-border: #e8e6df;
    --c-accent: #ff6b6b;
    --c-accent2: #74c0fc;
    --c-accentText: #121212;
    --c-link: #74c0fc;
    --c-codeBg: #0b0b0b;
    --c-codeText: #f5f1e6;
    --c-note: #74c0fc;
    --c-tip: #69db7c;
    --c-curious: #da77f2;
    --c-warning: #ffa94d;
    --c-danger: #ff6b6b;
    color-scheme: dark;
  }
}html[data-theme="iso"], html[data-theme="iso"][data-scheme="light"] {
  --c-bg: #f3f7f4;
  --c-bg2: #e7efe9;
  --c-surface: #ffffff;
  --c-surface2: #eef4ef;
  --c-text: #13211a;
  --c-muted: #4f6358;
  --c-border: #cfdcd3;
  --c-accent: #0d9488;
  --c-accent2: #f97316;
  --c-accentText: #ffffff;
  --c-link: #0f766e;
  --c-codeBg: #132520;
  --c-codeText: #e3f1ea;
  --c-note: #0ea5e9;
  --c-tip: #16a34a;
  --c-curious: #8b5cf6;
  --c-warning: #f59e0b;
  --c-danger: #dc2626;
  color-scheme: light;
}html[data-theme="iso"][data-scheme="dark"] {
  --c-bg: #0b1512;
  --c-bg2: #0f1b17;
  --c-surface: #13221d;
  --c-surface2: #1a2c26;
  --c-text: #e6f1ea;
  --c-muted: #99b3a6;
  --c-border: #243b33;
  --c-accent: #2dd4bf;
  --c-accent2: #fb923c;
  --c-accentText: #0b1512;
  --c-link: #5eead4;
  --c-codeBg: #081210;
  --c-codeText: #e3f1ea;
  --c-note: #38bdf8;
  --c-tip: #4ade80;
  --c-curious: #a78bfa;
  --c-warning: #fbbf24;
  --c-danger: #f87171;
  color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
  html[data-theme="iso"]:not([data-scheme="light"]) {
    --c-bg: #0b1512;
    --c-bg2: #0f1b17;
    --c-surface: #13221d;
    --c-surface2: #1a2c26;
    --c-text: #e6f1ea;
    --c-muted: #99b3a6;
    --c-border: #243b33;
    --c-accent: #2dd4bf;
    --c-accent2: #fb923c;
    --c-accentText: #0b1512;
    --c-link: #5eead4;
    --c-codeBg: #081210;
    --c-codeText: #e3f1ea;
    --c-note: #38bdf8;
    --c-tip: #4ade80;
    --c-curious: #a78bfa;
    --c-warning: #fbbf24;
    --c-danger: #f87171;
    color-scheme: dark;
  }
}

:root {
  --font-body: 'Roboto Variable', Roboto, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-heading: 'Roboto Variable', Roboto, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'Roboto Mono Variable', 'Roboto Mono', ui-monospace, Menlo, Consolas, monospace;
  --font-jp: 'Noto Sans JP', 'Hiragino Sans', 'Yu Gothic', Meiryo, sans-serif;
}
html[data-lang="jp"] { --font-body: 'Noto Sans JP', 'Hiragino Sans', 'Yu Gothic', Meiryo, sans-serif, 'Roboto Variable', Roboto, system-ui, -apple-system, 'Segoe UI', sans-serif; --font-heading: 'Noto Sans JP', 'Hiragino Sans', 'Yu Gothic', Meiryo, sans-serif, 'Roboto Variable', Roboto, system-ui, -apple-system, 'Segoe UI', sans-serif; }
