/* =============================================================================
   Highlight.js theme — Void Gallery noir
   Monochrome ink scale + one brass tint, matching the site tokens in
   01-reset.css (hex fallbacks for safety). Background stays transparent so
   the .post-body pre panel supplies the surface.
   ============================================================================= */
.hljs {
    color: var(--text-secondary, #a4a49f);
    background: transparent;
}

/* Receded: comments and structure */
.hljs-comment,
.hljs-quote {
    color: var(--text-muted, #7c7c74);
    font-style: italic;
}

.hljs-operator,
.hljs-punctuation {
    color: var(--text-muted, #7c7c74);
}

/* Lit ink: keywords, types, definitions */
.hljs-keyword,
.hljs-doctag,
.hljs-formula,
.hljs-literal,
.hljs-built_in,
.hljs-type,
.hljs-selector-tag {
    color: var(--text-primary, #f2f2ef);
}

.hljs-title,
.hljs-title.class_,
.hljs-title.function_,
.hljs-section,
.hljs-name {
    color: var(--text-primary, #f2f2ef);
    font-weight: 600;
}

/* Brass: literal values */
.hljs-string,
.hljs-regexp,
.hljs-number,
.hljs-symbol,
.hljs-bullet,
.hljs-attribute,
.hljs-addition,
.hljs-char.escape_,
.hljs-meta .hljs-string {
    color: var(--accent-warm, #d6c9a8);
}

/* At-rest ink: identifiers */
.hljs-attr,
.hljs-variable,
.hljs-template-variable,
.hljs-property,
.hljs-params,
.hljs-selector-class,
.hljs-selector-attr,
.hljs-selector-pseudo,
.hljs-selector-id,
.hljs-meta,
.hljs-subst {
    color: var(--text-secondary, #a4a49f);
}

.hljs-deletion {
    color: var(--text-muted, #7c7c74);
    text-decoration: line-through;
}

.hljs-emphasis {
    font-style: italic;
}

.hljs-strong {
    font-weight: 600;
}

.hljs-link {
    text-decoration: underline;
}
