/* AubeCode — coloration syntaxique, thème sombre (palette type VS Code Dark+).
   Écrit pour highlight.js v11 : couvre les scopes composés (.hljs-title.function_,
   .hljs-title.class_…) que les anciens thèmes vs/vs2015 laissaient en gris. */

.hljs { background: #1e1e1e; color: #d4d4d4; }

/* Commentaires et documentation */
.hljs-comment, .hljs-quote { color: #6a9955; font-style: italic; }
.hljs-doctag { color: #608b4e; }

/* Mots-clés, littéraux (True/None/null…), self/this */
.hljs-keyword, .hljs-literal, .hljs-symbol, .hljs-selector-tag { color: #569cd6; }
.hljs-variable.language_ { color: #569cd6; }

/* Décorateurs, directives, doctype */
.hljs-meta, .hljs-template-tag { color: #c586c0; }
.hljs-meta .hljs-keyword { color: #c586c0; }

/* Chaînes, échappements, regex, nombres */
.hljs-string, .hljs-meta .hljs-string { color: #ce9178; }
.hljs-char.escape_ { color: #d7ba7d; }
.hljs-regexp { color: #d16969; }
.hljs-number { color: #b5cea8; }

/* Fonctions (jaune), classes et types (turquoise) — le cœur de la lisibilité */
.hljs-title, .hljs-title.function_, .hljs-title.function_.invoke__ { color: #dcdcaa; }
.hljs-title.class_, .hljs-title.class_.inherited__ { color: #4ec9b0; }
.hljs-type, .hljs-built_in { color: #4ec9b0; }

/* Paramètres, variables, propriétés, attributs */
.hljs-params { color: #9cdcfe; }
.hljs-variable, .hljs-template-variable, .hljs-property,
.hljs-attr, .hljs-attribute { color: #9cdcfe; }

/* HTML / XML : balises et sélecteurs CSS */
.hljs-name { color: #569cd6; }
.hljs-tag { color: #808080; }
.hljs-tag .hljs-name { color: #569cd6; }
.hljs-selector-class, .hljs-selector-id,
.hljs-selector-attr, .hljs-selector-pseudo { color: #d7ba7d; }

/* Markdown et divers */
.hljs-section { color: #569cd6; font-weight: 700; }
.hljs-bullet { color: #6796e6; }
.hljs-link { color: #9cdcfe; text-decoration: underline; }
.hljs-emphasis { font-style: italic; }
.hljs-strong { font-weight: 700; }
.hljs-subst { color: #d4d4d4; }
.hljs-formula { color: #b5cea8; }
.hljs-operator, .hljs-punctuation { color: #d4d4d4; }

/* Diff */
.hljs-addition { color: #b5cea8; background: rgba(155, 185, 85, .15); }
.hljs-deletion { color: #ce9178; background: rgba(229, 83, 75, .18); }
