/* ===================================
 *  syntax.css — 代码高亮（黑白配色）
 * =================================== */

.highlight { background: var(--color-code-bg); }
.highlight .c  { color: #888; font-style: italic; }  /* Comment */
.highlight .c1 { color: #888; font-style: italic; }  /* Comment.Single */
.highlight .cm { color: #888; font-style: italic; }  /* Comment.Multiline */
.highlight .cp { color: #555; }                      /* Comment.Preproc */
.highlight .cs { color: #555; font-style: italic; }  /* Comment.Special */

.highlight .k  { font-weight: 700; }                 /* Keyword */
.highlight .kc { font-weight: 700; }                 /* Keyword.Constant */
.highlight .kd { font-weight: 700; }                 /* Keyword.Declaration */
.highlight .kp { font-weight: 700; }                 /* Keyword.Pseudo */
.highlight .kr { font-weight: 700; }                 /* Keyword.Reserved */
.highlight .kt { font-weight: 700; }                 /* Keyword.Type */

.highlight .s  { color: #333; }                      /* Literal.String */
.highlight .s1 { color: #333; }                      /* Literal.String.Single */
.highlight .s2 { color: #333; }                      /* Literal.String.Double */
.highlight .sb { color: #333; }                      /* Literal.String.Backtick */
.highlight .sc { color: #333; }                      /* Literal.String.Char */
.highlight .sd { color: #666; font-style: italic; }  /* Literal.String.Doc */

.highlight .m  { color: #222; }                      /* Literal.Number */
.highlight .mf { color: #222; }                      /* Literal.Number.Float */
.highlight .mh { color: #222; }                      /* Literal.Number.Hex */
.highlight .mi { color: #222; }                      /* Literal.Number.Integer */
.highlight .mo { color: #222; }                      /* Literal.Number.Oct */

.highlight .na { color: #444; }                      /* Name.Attribute */
.highlight .nb { color: #444; }                      /* Name.Builtin */
.highlight .nc { font-weight: 700; }                 /* Name.Class */
.highlight .no { color: #444; }                      /* Name.Constant */
.highlight .nd { font-weight: 700; }                 /* Name.Decorator */
.highlight .ni { font-weight: 700; }                 /* Name.Entity */
.highlight .nf { font-weight: 700; }                 /* Name.Function */
.highlight .nl { font-weight: 700; }                 /* Name.Label */
.highlight .nn { font-weight: 700; }                 /* Name.Namespace */
.highlight .nt { font-weight: 700; }                 /* Name.Tag */
.highlight .nv { color: #444; }                      /* Name.Variable */
.highlight .nx { color: #333; }                      /* Name.Other */

.highlight .o  { font-weight: 700; }                 /* Operator */
.highlight .ow { font-weight: 700; }                 /* Operator.Word */

.highlight .gd { background: #fdd; }                 /* Generic.Deleted */
.highlight .ge { font-style: italic; }               /* Generic.Emph */
.highlight .gr { color: #c00; }                      /* Generic.Error */
.highlight .gh { font-weight: 700; }                 /* Generic.Heading */
.highlight .gi { background: #dfd; }                 /* Generic.Inserted */
.highlight .gs { font-weight: 700; }                 /* Generic.Strong */
.highlight .gu { font-weight: 700; }                 /* Generic.Subheading */
.highlight .w  { color: #bbb; }                      /* Text.Whitespace */
