/* highlight.js — fire theme (always dark background) */

pre:has(.hljs) {
  background-color: #0d0d10;
  color: #cbd5e1;
}

[data-theme="dark"] pre:has(.hljs) {
  background-color: #0d0d10;
  color: #cbd5e1;
}

.hljs {
  color: #cbd5e1;
  background: transparent;
}

/* Keywords: const, let, if, class, return … */
.hljs-keyword,
.hljs-selector-tag,
.hljs-tag {
  color: #f97316;
}

/* Strings and attribute values */
.hljs-string,
.hljs-attr,
.hljs-attribute {
  color: #38bdf8;
}

/* Numbers and boolean literals */
.hljs-number,
.hljs-literal {
  color: #fbbf24;
}

/* Function/class names, built-ins */
.hljs-title,
.hljs-title.class_,
.hljs-title.function_,
.hljs-built_in {
  color: #fb923c;
}

/* Comments */
.hljs-comment {
  color: #6b7280;
  font-style: italic;
}

/* Variables and parameters */
.hljs-variable,
.hljs-params {
  color: #cbd5e1;
}

/* Operators and punctuation */
.hljs-operator,
.hljs-punctuation {
  color: #94a3b8;
}

/* Meta / imports / decorators */
.hljs-meta,
.hljs-meta .hljs-keyword {
  color: #38bdf8;
}

/* Type annotations */
.hljs-type {
  color: #fb923c;
}

/* Diff deletions */
.hljs-deletion {
  color: #f87171;
  background: rgba(248, 113, 113, 0.1);
}

/* Diff additions */
.hljs-addition {
  color: #4ade80;
  background: rgba(74, 222, 128, 0.1);
}

/* Section / selector */
.hljs-section,
.hljs-selector-class,
.hljs-selector-id {
  color: #fb923c;
}

/* Symbol / bullet */
.hljs-symbol,
.hljs-bullet,
.hljs-link {
  color: #38bdf8;
}

/* Emphasis */
.hljs-emphasis {
  font-style: italic;
}

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