/*
 * Nachtmodus. Wird nur geladen, wenn er gilt: für Gäste und "Wie mein Gerät" mit media="(prefers-color-scheme: dark)",
 * für Mitglieder mit der Wahl "Dunkel" immer (siehe layouts/app.blade.php). Tauscht nur Farbvariablen aus app.css.
 */
:root {
  color-scheme: dark;
  --bg: #16181c;
  --inverse: #2c3138;
  --ink: #e6e7e9;
  --ink-2: #d4d6d9;
  --muted: #b3b7bd;
  --muted-2: #a0a5ac;
  --line: #2e333a;
  --line-2: #454b54;
  --surface: #23272d;
  --accent: #006fa6;
  --accent-dark: #005a87;
  --accent-soft: #182a38;
  --link: #6cb8e6;
  --link-hover: #9fd0ef;
  --warn-bg: #3a2c14;
  --warn-line: #6b4f22;
  --warn-ink: #f3d3a6;

  /* Flächen und Rahmen */
  --c-fff: #1d2025;
  --c-fafaf8: #1a1d21;
  --c-f8f8f5: #1a1d21;
  --c-f6f6f3: #1a1d21;
  --c-f0f0ec: #2a2e34;
  --c-ecece8: #2a2e34;
  --c-ecece7: #2c3138;
  --c-e9e9e4: #2c3138;
  --c-b9bab3: #555b64;
  --c-b9bab4: #555b64;
  --c-8a8d92: #7d838b;
  --c-8a8d93: #7d838b;
  --c-9cc9e3: #3a85b8;
  --c-b7d6ea: #2f5f80;
  --c-cfe3ef: #2a4a60;
  --c-d5e6f0: #2a4a60;
  --c-e6f1f8: #173246;
  --c-eaf3f9: #173246;
  --c-eef4f8: #22303c;
  --c-e8f3ec: #1b3324;
  --c-e9f5ec: #1b3324;
  --c-e3d6f2: #4a3d5c;
  --c-f6f1fb: #241f2c;
  --c-fbf8fe: #221e29;
  --c-fff4e5: #3a2c14;
  --c-fde8e6: #3a1c19;
  --c-fdf3f2: #2e1a18;
  --c-f2c7c2: #6b2b25;
  --c-b42318: #e0675a;
  --c-c4392b: #d9584b;
  --c-a3291d: #a3291d;
  --c-8a1c13: #8a1c13;

  /* Schrift */
  --t-004f78: #9fd0ef;
  --t-1d6b3a: #7fcf9c;
  --t-1f5f3a: #7fcf9c;
  --t-7a1f14: #f4a79e;
  --t-7a4b00: #f3c77a;
  --t-8a1c13: #f4a79e;
  --t-8a2b1d: #f08c80;
  --t-8a3a00: #f0a868;
  --t-8a8e94: #80868e;
  --t-a3291d: #f08c80;
  --t-b0b2b6: #5f656d;
  --t-b42318: #f08c80;
  --t-b9bab3: #5f656d;
  --t-d6d8dc: #c3c6cb;
}

.site-footer { background: #0f1114; }
.logo .logo-light { display: none; }
.logo .logo-dark { display: block; }
.cta-band img { background: #fff; }

/* Code-Farben im Nachtmodus (überschreibt highlight-github, daher mit "html" davor) */
html .hljs { color: var(--ink); }
html .hljs-doctag, html .hljs-keyword, html .hljs-meta .hljs-keyword, html .hljs-template-tag, html .hljs-template-variable, html .hljs-type, html .hljs-variable.language_ { color: #ff7b72; }
html .hljs-title, html .hljs-title.class_, html .hljs-title.class_.inherited__, html .hljs-title.function_ { color: #d2a8ff; }
html .hljs-attr, html .hljs-attribute, html .hljs-literal, html .hljs-meta, html .hljs-number, html .hljs-operator, html .hljs-selector-attr, html .hljs-selector-class, html .hljs-selector-id, html .hljs-variable { color: #79c0ff; }
html .hljs-meta .hljs-string, html .hljs-regexp, html .hljs-string { color: #a5d6ff; }
html .hljs-built_in, html .hljs-symbol { color: #ffa657; }
html .hljs-code, html .hljs-comment, html .hljs-formula { color: #8b949e; }
html .hljs-name, html .hljs-quote, html .hljs-selector-pseudo, html .hljs-selector-tag { color: #7ee787; }
html .hljs-subst { color: var(--ink); }
html .hljs-section { color: #79c0ff; font-weight: 700; }
html .hljs-bullet { color: #f2cc60; }
html .hljs-addition { color: #aff5b4; background-color: #033a16; }
html .hljs-deletion { color: #ffdcd7; background-color: #67060c; }
