/* ============================================================
   Webisaurus Syntax Highlighter Themes (Prism.js)
   - Pure White Theme (Default / Light Mode)
   - True Black Theme (Dark Mode: OLED Black, Zero Blue Tint)
   ============================================================ */

/* Base Code Block Styling */
pre[class*='language-'],
code[class*='language-'] {
  background: var(--bg-code);
  color: var(--text-code);
  font-family: var(--font-code);
}

/* ------------------------------------------------------------
   White Light Theme Tokens
   ------------------------------------------------------------ */
.token.comment,
.token.prolog,
.token.doctype,
.token.cdata {
  color: #6e7681;
  font-style: italic;
}

.token.punctuation {
  color: #57606a;
}

.token.namespace {
  opacity: 0.7;
}

.token.property,
.token.tag,
.token.constant,
.token.symbol,
.token.deleted {
  color: #0550ae;
}

.token.boolean,
.token.number {
  color: #0550ae;
}

.token.selector,
.token.attr-name,
.token.string,
.token.char,
.token.builtin,
.token.inserted {
  color: #0a3069;
}

.token.operator,
.token.entity,
.token.url,
.language-css .token.string,
.style .token.string {
  color: #24292f;
}

.token.atrule,
.token.attr-value,
.token.keyword {
  color: #cf222e;
  font-weight: 600;
}

.token.function,
.token.class-name {
  color: #8250df;
}

.token.regex,
.token.important,
.token.variable {
  color: #953800;
}

.token.important,
.token.bold {
  font-weight: bold;
}

.token.italic {
  font-style: italic;
}

.token.entity {
  cursor: help;
}

/* ------------------------------------------------------------
   Black Dark Theme Tokens (OLED Pitch Black Compatible)
   ------------------------------------------------------------ */
[data-theme='dark'] .token.comment,
[data-theme='dark'] .token.prolog,
[data-theme='dark'] .token.doctype,
[data-theme='dark'] .token.cdata {
  color: #8b949e;
  font-style: italic;
}

[data-theme='dark'] .token.punctuation {
  color: #c9d1d9;
}

[data-theme='dark'] .token.property,
[data-theme='dark'] .token.tag,
[data-theme='dark'] .token.constant,
[data-theme='dark'] .token.symbol,
[data-theme='dark'] .token.deleted {
  color: #79c0ff;
}

[data-theme='dark'] .token.boolean,
[data-theme='dark'] .token.number {
  color: #79c0ff;
}

[data-theme='dark'] .token.selector,
[data-theme='dark'] .token.attr-name,
[data-theme='dark'] .token.string,
[data-theme='dark'] .token.char,
[data-theme='dark'] .token.builtin,
[data-theme='dark'] .token.inserted {
  color: #a5d6ff;
}

[data-theme='dark'] .token.operator,
[data-theme='dark'] .token.entity,
[data-theme='dark'] .token.url,
[data-theme='dark'] .language-css .token.string,
[data-theme='dark'] .style .token.string {
  color: #f0f6fc;
}

[data-theme='dark'] .token.atrule,
[data-theme='dark'] .token.attr-value,
[data-theme='dark'] .token.keyword {
  color: #ff7b72;
  font-weight: 600;
}

[data-theme='dark'] .token.function,
[data-theme='dark'] .token.class-name {
  color: #d2a8ff;
}

[data-theme='dark'] .token.regex,
[data-theme='dark'] .token.important,
[data-theme='dark'] .token.variable {
  color: #ffa657;
}
