/* Highlight.js 亮色字体暗黑主题 */
.hljs {
    display: block;
    overflow-x: auto;
    padding: 1em;
    background: #000000; /* 纯黑背景 */
    color: #ffffff; /* 纯白基础文本 */
    border-radius: 6px;
    font-family: 'Fira Code', 'Consolas', 'Monaco', 'Andale Mono', monospace;
    line-height: 1.5;
}

/* 语法高亮颜色 - 亮色系 */
.hljs-keyword,
.hljs-selector-tag,
.hljs-literal {
    color: #569cd6; /* 亮蓝色 */
}

.hljs-title,
.hljs-section {
    color: #4ec9b0; /* 青绿色 */
}

.hljs-string,
.hljs-meta .hljs-string {
    color: #ce9178; /* 橙红色 */
}

.hljs-number,
.hljs-regexp {
    color: #b5cea8; /* 浅绿色 */
}

.hljs-comment,
.hljs-quote {
    color: #6a9955; /* 暗绿色 */
    font-style: italic;
}

.hljs-built_in,
.hljs-builtin-name {
    color: #dcdcaa; /* 浅黄色 */
}

.hljs-type,
.hljs-class .hljs-title {
    color: #4fc1ff; /* 亮天蓝色 */
}

.hljs-attr,
.hljs-variable,
.hljs-template-variable {
    color: #9cdcfe; /* 浅蓝色 */
}

.hljs-tag {
    color: #808080; /* 灰色 */
}

.hljs-name {
    color: #569cd6; /* 亮蓝色 */
}

.hljs-attribute {
    color: #9cdcfe; /* 浅蓝色 */
}

.hljs-selector-id,
.hljs-selector-class {
    color: #d7ba7d; /* 金色 */
}

.hljs-doctag,
.hljs-strong {
    font-weight: bold;
}

.hljs-emphasis {
    font-style: italic;
}

/* 行号样式（可选） */
.hljs-ln-numbers {
    color: #858585;
    text-align: right;
    border-right: 1px solid #444;
    padding-right: 0.8em;
}

.hljs-ln-code {
    padding-left: 1em;
}
.hljs-tag .hljs-attr, .hljs-tag .hljs-name{
    color: white;
}
