/*
 * Kilo Loco Xcode Theme — for highlight.js
 * Mapped from Kilo-Loco.xccolortheme
 *
 * Background: #120022 (deep purple-black)
 * Plain text: #ffffff
 * Keywords: #f100ff (bright magenta/purple)
 * Strings: #f9ec12 (bright yellow)
 * Numbers: #786dff (purple-blue)
 * Comments: #7f7f7f (gray)
 * Classes/Types (user): #2cff33 (bright green)
 * Classes/Types (system): #1eebff (bright cyan)
 * Functions (user): #22ff41 (bright green)
 * Functions (system): #1eebff (bright cyan)
 * Preprocessor/Macros: #e47c48 (orange)
 * Attributes: #2d44ab (blue)
 * URLs: #4164ff (bright blue)
 */

.hljs {
  background: #120022;
  color: #ffffff;
  padding: 1rem;
  border-radius: 8px;
  font-family: 'SF Mono', SFMono-Regular, ui-monospace, Menlo, Monaco, monospace;
  font-size: 0.875rem;
  line-height: 1.6;
}

/* Keywords: let, var, func, class, struct, if, else, return, import, etc. */
.hljs-keyword,
.hljs-selector-tag,
.hljs-built_in {
  color: #f100ff;
}

/* Strings */
.hljs-string,
.hljs-template-variable {
  color: #f9ec12;
}

/* Numbers and characters */
.hljs-number,
.hljs-literal {
  color: #786dff;
}

/* Comments */
.hljs-comment,
.hljs-quote {
  color: #7f7f7f;
  font-style: italic;
}

/* Types and classes (user-defined) */
.hljs-type,
.hljs-title.class_,
.hljs-title.class_.inherited__,
.hljs-title.function_ {
  color: #2cff33;
}

/* Built-in/system types and functions */
.hljs-title,
.hljs-variable.language_ {
  color: #1eebff;
}

/* Function calls */
.hljs-title.function.invoke__ {
  color: #1eebff;
}

/* Preprocessor / macros */
.hljs-meta,
.hljs-preprocessor {
  color: #e47c48;
}

/* Attributes */
.hljs-attr,
.hljs-attribute {
  color: #2d44ab;
}

/* Parameters */
.hljs-params {
  color: #ffffff;
}

/* Operators */
.hljs-operator {
  color: #ffffff;
}

/* Symbols, selectors */
.hljs-symbol,
.hljs-selector-id,
.hljs-selector-class {
  color: #2cff33;
}

/* URLs and links */
.hljs-link {
  color: #4164ff;
}

/* Property names */
.hljs-property {
  color: #1eebff;
}

/* Substrings in string interpolation */
.hljs-subst {
  color: #ffffff;
}

/* Deletion (diff) */
.hljs-deletion {
  color: #f85149;
}

/* Addition (diff) */
.hljs-addition {
  color: #2cff33;
}

/* Section headers */
.hljs-section {
  color: #f100ff;
  font-weight: bold;
}

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

/* Strong */
.hljs-strong {
  font-weight: bold;
}
