/* highlight.js 代码高亮配色（本地内置，不依赖 CDN）
   只定义 token 颜色：代码块的背景、圆角、内边距沿用站内既有样式，
   避免 atom-one 主题自带的 padding/background 与卡片样式叠加。
   默认深色（share.html 等没有 data-theme 的页面同样生效），
   html[data-theme="light"] 下切换为浅色配色。 */

.hljs { color: #abb2bf; }
.hljs-comment,
.hljs-quote { color: #5c6370; font-style: italic; }
.hljs-doctag,
.hljs-formula,
.hljs-keyword { color: #c678dd; }
.hljs-deletion,
.hljs-name,
.hljs-section,
.hljs-selector-tag,
.hljs-subst { color: #e06c75; }
.hljs-literal { color: #56b6c2; }
.hljs-addition,
.hljs-attribute,
.hljs-meta .hljs-string,
.hljs-regexp,
.hljs-string { color: #98c379; }
.hljs-attr,
.hljs-number,
.hljs-selector-attr,
.hljs-selector-class,
.hljs-selector-pseudo,
.hljs-template-variable,
.hljs-type,
.hljs-variable { color: #d19a66; }
.hljs-bullet,
.hljs-link,
.hljs-meta,
.hljs-selector-id,
.hljs-symbol,
.hljs-title { color: #61aeee; }
.hljs-built_in,
.hljs-class .hljs-title,
.hljs-title.class_ { color: #e6c07b; }
.hljs-emphasis { font-style: italic; }
.hljs-strong { font-weight: 700; }
.hljs-link { text-decoration: underline; }

html[data-theme="light"] .hljs { color: #383a42; }
html[data-theme="light"] .hljs-comment,
html[data-theme="light"] .hljs-quote { color: #a0a1a7; }
html[data-theme="light"] .hljs-doctag,
html[data-theme="light"] .hljs-formula,
html[data-theme="light"] .hljs-keyword { color: #a626a4; }
html[data-theme="light"] .hljs-deletion,
html[data-theme="light"] .hljs-name,
html[data-theme="light"] .hljs-section,
html[data-theme="light"] .hljs-selector-tag,
html[data-theme="light"] .hljs-subst { color: #e45649; }
html[data-theme="light"] .hljs-literal { color: #0184bb; }
html[data-theme="light"] .hljs-addition,
html[data-theme="light"] .hljs-attribute,
html[data-theme="light"] .hljs-meta .hljs-string,
html[data-theme="light"] .hljs-regexp,
html[data-theme="light"] .hljs-string { color: #50a14f; }
html[data-theme="light"] .hljs-attr,
html[data-theme="light"] .hljs-number,
html[data-theme="light"] .hljs-selector-attr,
html[data-theme="light"] .hljs-selector-class,
html[data-theme="light"] .hljs-selector-pseudo,
html[data-theme="light"] .hljs-template-variable,
html[data-theme="light"] .hljs-type,
html[data-theme="light"] .hljs-variable { color: #986801; }
html[data-theme="light"] .hljs-bullet,
html[data-theme="light"] .hljs-link,
html[data-theme="light"] .hljs-meta,
html[data-theme="light"] .hljs-selector-id,
html[data-theme="light"] .hljs-symbol,
html[data-theme="light"] .hljs-title { color: #4078f2; }
html[data-theme="light"] .hljs-built_in,
html[data-theme="light"] .hljs-class .hljs-title,
html[data-theme="light"] .hljs-title.class_ { color: #c18401; }
