/* Tokyo Night 亮色（白天全局）· 来源 highlight.js 官方样式，已去背景色随主题卡片 */
.hljs-comment,.hljs-meta{color:#9699a3}.hljs-deletion,.hljs-doctag,.hljs-regexp,.hljs-selector-attr,.hljs-selector-class,.hljs-selector-id,.hljs-selector-pseudo,.hljs-tag,.hljs-template-tag,.hljs-variable.language_{color:#8c4351}.hljs-link,.hljs-literal,.hljs-number,.hljs-params,.hljs-template-variable,.hljs-type,.hljs-variable{color:#965027}.hljs-attribute,.hljs-built_in{color:#8f5e15}.hljs-keyword,.hljs-property,.hljs-subst,.hljs-title,.hljs-title.class_,.hljs-title.class_.inherited__,.hljs-title.function_{color:#0f4b6e}.hljs-selector-tag{color:#33635c}.hljs-addition,.hljs-bullet,.hljs-quote,.hljs-string,.hljs-symbol{color:#485e30}.hljs-code,.hljs-formula,.hljs-section{color:#34548a}.hljs-attr,.hljs-char.escape_,.hljs-keyword,.hljs-name,.hljs-operator{color:#5a4a78}.hljs-punctuation{color:#343b58}.hljs{color:#565a6e}.hljs-emphasis{font-style:italic}.hljs-strong{font-weight:700}
/* Tokyo Night 暗色（夜间两态作用域化） */
html[data-theme="dark"] .hljs-comment, html[data-theme="dark"] .hljs-meta{color:#565f89}html[data-theme="dark"] .hljs-deletion, html[data-theme="dark"] .hljs-doctag, html[data-theme="dark"] .hljs-regexp, html[data-theme="dark"] .hljs-selector-attr, html[data-theme="dark"] .hljs-selector-class, html[data-theme="dark"] .hljs-selector-id, html[data-theme="dark"] .hljs-selector-pseudo, html[data-theme="dark"] .hljs-tag, html[data-theme="dark"] .hljs-template-tag, html[data-theme="dark"] .hljs-variable.language_{color:#f7768e}html[data-theme="dark"] .hljs-link, html[data-theme="dark"] .hljs-literal, html[data-theme="dark"] .hljs-number, html[data-theme="dark"] .hljs-params, html[data-theme="dark"] .hljs-template-variable, html[data-theme="dark"] .hljs-type, html[data-theme="dark"] .hljs-variable{color:#ff9e64}html[data-theme="dark"] .hljs-attribute, html[data-theme="dark"] .hljs-built_in{color:#e0af68}html[data-theme="dark"] .hljs-keyword, html[data-theme="dark"] .hljs-property, html[data-theme="dark"] .hljs-subst, html[data-theme="dark"] .hljs-title, html[data-theme="dark"] .hljs-title.class_, html[data-theme="dark"] .hljs-title.class_.inherited__, html[data-theme="dark"] .hljs-title.function_{color:#7dcfff}html[data-theme="dark"] .hljs-selector-tag{color:#73daca}html[data-theme="dark"] .hljs-addition, html[data-theme="dark"] .hljs-bullet, html[data-theme="dark"] .hljs-quote, html[data-theme="dark"] .hljs-string, html[data-theme="dark"] .hljs-symbol{color:#9ece6a}html[data-theme="dark"] .hljs-code, html[data-theme="dark"] .hljs-formula, html[data-theme="dark"] .hljs-section{color:#7aa2f7}html[data-theme="dark"] .hljs-attr, html[data-theme="dark"] .hljs-char.escape_, html[data-theme="dark"] .hljs-keyword, html[data-theme="dark"] .hljs-name, html[data-theme="dark"] .hljs-operator{color:#bb9af7}html[data-theme="dark"] .hljs-punctuation{color:#c0caf5}html[data-theme="dark"] .hljs{color:#9aa5ce}html[data-theme="dark"] .hljs-emphasis{font-style:italic}html[data-theme="dark"] .hljs-strong{font-weight:700}
@media (prefers-color-scheme: dark){
html[data-theme="auto"] .hljs-comment, html[data-theme="dark"] .hljs-meta{color:#565f89}html[data-theme="auto"] .hljs-deletion, html[data-theme="dark"] .hljs-doctag, html[data-theme="dark"] .hljs-regexp, html[data-theme="dark"] .hljs-selector-attr, html[data-theme="dark"] .hljs-selector-class, html[data-theme="dark"] .hljs-selector-id, html[data-theme="dark"] .hljs-selector-pseudo, html[data-theme="dark"] .hljs-tag, html[data-theme="dark"] .hljs-template-tag, html[data-theme="dark"] .hljs-variable.language_{color:#f7768e}html[data-theme="auto"] .hljs-link, html[data-theme="dark"] .hljs-literal, html[data-theme="dark"] .hljs-number, html[data-theme="dark"] .hljs-params, html[data-theme="dark"] .hljs-template-variable, html[data-theme="dark"] .hljs-type, html[data-theme="dark"] .hljs-variable{color:#ff9e64}html[data-theme="auto"] .hljs-attribute, html[data-theme="dark"] .hljs-built_in{color:#e0af68}html[data-theme="auto"] .hljs-keyword, html[data-theme="dark"] .hljs-property, html[data-theme="dark"] .hljs-subst, html[data-theme="dark"] .hljs-title, html[data-theme="dark"] .hljs-title.class_, html[data-theme="dark"] .hljs-title.class_.inherited__, html[data-theme="dark"] .hljs-title.function_{color:#7dcfff}html[data-theme="auto"] .hljs-selector-tag{color:#73daca}html[data-theme="auto"] .hljs-addition, html[data-theme="dark"] .hljs-bullet, html[data-theme="dark"] .hljs-quote, html[data-theme="dark"] .hljs-string, html[data-theme="dark"] .hljs-symbol{color:#9ece6a}html[data-theme="auto"] .hljs-code, html[data-theme="dark"] .hljs-formula, html[data-theme="dark"] .hljs-section{color:#7aa2f7}html[data-theme="auto"] .hljs-attr, html[data-theme="dark"] .hljs-char.escape_, html[data-theme="dark"] .hljs-keyword, html[data-theme="dark"] .hljs-name, html[data-theme="dark"] .hljs-operator{color:#bb9af7}html[data-theme="auto"] .hljs-punctuation{color:#c0caf5}html[data-theme="auto"] .hljs{color:#9aa5ce}html[data-theme="auto"] .hljs-emphasis{font-style:italic}html[data-theme="auto"] .hljs-strong{font-weight:700}
}
/* 补齐 v11 仍在使用的两个类名：php / go 的 function 与 class 关键字此前落回默认字色 */
.hljs-function,.hljs-class{color:#0f4b6e}
html[data-theme="dark"] .hljs-function, html[data-theme="dark"] .hljs-class{color:#7dcfff}
@media (prefers-color-scheme: dark){
html[data-theme="auto"] .hljs-function, html[data-theme="auto"] .hljs-class{color:#7dcfff}
}
