/* ========================================
   Syntax Highlighting — warm iBooks palette
   ======================================== */

/* Light mode */
.token.comment,
.token.prolog,
.token.doctype,
.token.cdata {
  color: #a09585;
  font-style: italic;
}

.token.punctuation {
  color: #7a6e63;
}

.token.property,
.token.tag,
.token.boolean,
.token.number,
.token.constant,
.token.symbol,
.token.deleted {
  color: #9b5a3c;
}

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

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

.token.atrule,
.token.attr-value,
.token.keyword {
  color: #6b5a8e;
}

.token.function,
.token.class-name {
  color: #8b5e3c;
}

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

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

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

/* Dark mode */
[data-theme="dark"] .token.comment,
[data-theme="dark"] .token.prolog,
[data-theme="dark"] .token.doctype,
[data-theme="dark"] .token.cdata {
  color: #706660;
  font-style: italic;
}

[data-theme="dark"] .token.punctuation {
  color: #9a8e83;
}

[data-theme="dark"] .token.property,
[data-theme="dark"] .token.tag,
[data-theme="dark"] .token.boolean,
[data-theme="dark"] .token.number,
[data-theme="dark"] .token.constant,
[data-theme="dark"] .token.symbol,
[data-theme="dark"] .token.deleted {
  color: #d4896a;
}

[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: #8fb868;
}

[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: #c4a882;
}

[data-theme="dark"] .token.atrule,
[data-theme="dark"] .token.attr-value,
[data-theme="dark"] .token.keyword {
  color: #a992c8;
}

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

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