/*
 * Prism warm solarized light -- higher contrast, warm tone
 */

code[class*="language-"],
pre[class*="language-"] {
  color: #3a2f28;              /* warm dark brown */
  background: none;
  text-shadow: none;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.98em;
  line-height: 1.55;
  tab-size: 4;
}

/* Code block */
pre[class*="language-"] {
  background: #fdf6e3;         /* solarized base3 */
  border: 1px solid #eee4c9;
  border-radius: 10px;
  padding: 1em 1.1em;
  margin: 0.8em 0;
  overflow: auto;
}

/* Inline */
:not(pre) > code[class*="language-"] {
  background: #f5edd8;
  border: 1px solid #e8dcc1;
  border-radius: 8px;
  padding: 0.15em 0.45em;
}

/* Selection */
pre[class*="language-"]::selection,
pre[class*="language-"] ::selection,
code[class*="language-"]::selection,
code[class*="language-"] ::selection {
  background: rgba(203, 75, 22, 0.25); /* solarized orange */
}

/* Comments */
.token.comment,
.token.prolog,
.token.doctype,
.token.cdata {
  color: #7a6f5d;              /* muted olive */
  font-style: italic;
}

/* Punctuation */
.token.punctuation { color: #6c5e52; }

/* Keywords */
.token.keyword,
.token.atrule {
  color: #b33f2f;              /* warm red */
  font-weight: 600;
}

/* Functions / classes */
.token.function,
.token.class-name {
  color: #8a4b08;              /* deep amber */
}

/* Strings */
.token.string,
.token.char,
.token.inserted {
  color: #2f6f4e;              /* warm teal */
}

/* Numbers / booleans */
.token.number,
.token.boolean,
.token.constant {
  color: #a14b1f;              /* burnt orange */
}

/* Properties / tags */
.token.property,
.token.tag,
.token.symbol,
.token.deleted {
  color: #a33621;
}

/* Operators */
.token.operator,
.token.entity,
.token.url {
  color: #5c5247;
  background: none;            /* remove default highlight */
}

/* Regex / variables */
.token.regex,
.token.variable {
  color: #7b341e;
}

/* Bold / italic */
.token.bold { font-weight: 700; }
.token.italic { font-style: italic; }
