@font-face {
  font-family: zpix;
  src: url("https://cdn.jsdelivr.net/gh/viscose3977/zpix_for_obs@main/zpix.woff2");
}

/* 全站统一字体 */
:root {
  --main-font: "zpix", sans-serif;
  --wgw-page-font-size: 18px;
  --wgw-border-font-size: 10px;
  --wgw-scroll-track-font-size: 20px;
  --wgw-scroll-thumb-font-size: 24px;
  --wgw-divider-font-size: 20px;
  --wgw-title-mark-color: #ffeb3b;
  --wgw-title-mark-muted: #fff3a6;
}

html,
body,
button,
input,
select,
textarea,
code,
pre,
kbd,
samp,
.sidebar,
.chapter,
.menu-bar,
.nav-chapters,
.mobile-nav-chapters,
.search-wrapper,
.searchresults,
.content,
.content main {
  font-family: var(--main-font) !important;
}

body {
  font-family: var(--main-font) !important;
  font-size: var(--wgw-page-font-size);
  line-height: 1.75;
}

/* WGW主题：纯文字黑底风格 */
html.wgw-theme,
html.wgw-theme body {
  background: #000 !important;
  color: #fff !important;
}

html.wgw-theme body,
html.wgw-theme .content,
html.wgw-theme .content main,
html.wgw-theme .page,
html.wgw-theme .sidebar,
html.wgw-theme .sidebar-scrollbox,
html.wgw-theme .chapter,
html.wgw-theme .menu-bar,
html.wgw-theme .nav-chapters,
html.wgw-theme .mobile-nav-channels,
html.wgw-theme .right-drawer,
html.wgw-theme .search-wrapper,
html.wgw-theme .searchresults-outer,
html.wgw-theme .searchresults-header,
html.wgw-theme .searchresults,
html.wgw-theme .theme-popup,
html.wgw-theme .theme-popup ul,
html.wgw-theme .theme-popup li,
html.wgw-theme .theme-popup button {
  background: #000 !important;
  color: #fff !important;
  box-shadow: none !important;
}

html.wgw-theme p,
html.wgw-theme li,
html.wgw-theme summary,
html.wgw-theme label,
html.wgw-theme span,
html.wgw-theme div,
html.wgw-theme input,
html.wgw-theme button {
  color: #fff !important;
  font-family: var(--main-font) !important;
}

html.wgw-theme button:hover,
html.wgw-theme button:focus {
  background: #fff !important;
  color: #000 !important;
}

html.wgw-theme .menu-bar,
html.wgw-theme .sidebar,
html.wgw-theme .page,
html.wgw-theme .searchresults-outer,
html.wgw-theme .searchresults-header,
html.wgw-theme .searchresults,
html.wgw-theme .theme-popup,
html.wgw-theme .theme-popup ul,
html.wgw-theme .theme-popup li,
html.wgw-theme .theme-popup button {
  border: 0 !important;
}

html.wgw-theme .theme-popup {
  padding: 0.5em 0.8em !important;
}

html.wgw-theme .theme-popup button {
  padding: 0.3em 0.5em !important;
}

/* 代码块容器 */
html.wgw-theme pre {
  position: relative;
  background: #000 !important;
  color: #fff !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 1.5em !important;
  margin: 1.8em 0 !important;
  overflow: auto !important;
}

html.wgw-theme pre code {
  display: block;
  background: transparent !important;
  color: #fff !important;
  font-family: var(--main-font) !important;
}

html.wgw-theme code {
  color: #00e676 !important;
  background: rgba(0, 230, 118, 0.1) !important;
  padding: 0.1em 0.3em;
  border-radius: 3px;
  font-family: var(--main-font) !important;
}

html.wgw-theme pre code {
  color: #fff !important;
  background: transparent !important;
  padding: 0;
  border-radius: 0;
}

/* JS生成的代码块边框样式 */
html.wgw-theme .wgw-code-border {
  position: absolute;
  font-size: var(--wgw-border-font-size);
  line-height: 1;
  color: #fff;
  overflow: hidden;
  pointer-events: none;
  font-family: var(--main-font) !important;
  user-select: none;
}

html.wgw-theme .wgw-code-border-top {
  top: 0;
  left: 0;
  right: 0;
  height: var(--wgw-border-font-size);
  white-space: nowrap;
}

html.wgw-theme .wgw-code-border-bottom {
  bottom: 0;
  left: 0;
  right: 0;
  height: var(--wgw-border-font-size);
  white-space: nowrap;
}

html.wgw-theme .wgw-code-border-left {
  top: 0;
  left: 0;
  bottom: 0;
  width: var(--wgw-border-font-size);
  white-space: pre;
}

html.wgw-theme .wgw-code-border-right {
  top: 0;
  right: 0;
  bottom: 0;
  width: var(--wgw-border-font-size);
  white-space: pre;
}

/* 表格边框样式 */
html.wgw-theme .wgw-table-wrapper {
  position: relative;
  display: inline-block;
  margin: 1.8em 0;
  padding: 1.5em;
  background: #000;
  overflow: visible;
}

html.wgw-theme .wgw-table-wrapper table {
  margin: 0;
  border-collapse: collapse;
  border: 0;
  background: transparent;
}

html.wgw-theme .wgw-table-border {
  position: absolute;
  font-size: var(--wgw-border-font-size);
  line-height: 1;
  color: #fff;
  overflow: hidden;
  pointer-events: none;
  font-family: var(--main-font) !important;
  user-select: none;
  opacity: 1;
}

html.wgw-theme .wgw-table-border-top {
  top: 0;
  left: 0;
  right: 0;
  height: var(--wgw-border-font-size);
  white-space: nowrap;
}

html.wgw-theme .wgw-table-border-bottom {
  bottom: 0;
  left: 0;
  right: 0;
  height: var(--wgw-border-font-size);
  white-space: nowrap;
}

html.wgw-theme .wgw-table-border-left {
  top: 0;
  left: 0;
  bottom: 0;
  width: var(--wgw-border-font-size);
  white-space: pre;
}

html.wgw-theme .wgw-table-border-right {
  top: 0;
  right: 0;
  bottom: 0;
  width: var(--wgw-border-font-size);
  white-space: pre;
}

/* 表格内部分隔线 */
html.wgw-theme .wgw-table-divider {
  position: absolute;
  font-size: var(--wgw-border-font-size);
  line-height: 1;
  color: rgba(255, 255, 255, 0.2) !important;
  overflow: hidden;
  pointer-events: none;
  font-family: var(--main-font) !important;
  user-select: none;
}

html.wgw-theme .wgw-table-row-divider {
  left: var(--wgw-border-font-size);
  right: var(--wgw-border-font-size);
  height: var(--wgw-border-font-size);
  white-space: nowrap;
}

html.wgw-theme .wgw-table-col-divider {
  top: var(--wgw-border-font-size);
  bottom: var(--wgw-border-font-size);
  width: var(--wgw-border-font-size);
  white-space: pre;
}

/* 表头分隔线不透明 */
html.wgw-theme .wgw-table-header-divider {
  color: rgba(255, 255, 255, 1) !important;
}

/* 移除表格原生边框 */
html.wgw-theme table,
html.wgw-theme table th,
html.wgw-theme table td {
  border: 0 !important;
}

html.wgw-theme table th,
html.wgw-theme table td {
  padding: 0.5em 0.8em;
  color: #fff !important;
}

html.wgw-theme table th {
  font-weight: bold;
  background: transparent !important;
}

html.wgw-theme table tr {
  background: transparent !important;
}

/* 代码高亮基础样式 - 不包括事件语法的特殊高亮 */
html.wgw-theme .hljs,
html.wgw-theme .hljs-subst,
html.wgw-theme .hljs-brace,
html.wgw-theme .hljs-symbol,
html.wgw-theme .hljs-name {
  color: #fff !important;
  background: transparent !important;
}

/* 搜索框 - 根据实际HTML结构修复 */
html.wgw-theme .searchbar-outer {
  background: #000 !important;
  position: relative;
  padding: 0 !important;
  margin: 0.5em !important;
}

html.wgw-theme .search-wrapper {
  position: relative;
  background: #000;
  padding: calc(var(--wgw-border-font-size) + 0.5em) var(--wgw-border-font-size);
}

html.wgw-theme #mdbook-searchbar {
  position: relative;
  background: #000 !important;
  color: #fff !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0.5em 0.8em !important;
  font-family: var(--main-font) !important;
  width: 100%;
  z-index: 1;
}

/* 搜索框边框：顶部 */
html.wgw-theme .search-wrapper::before {
  content: "搜搜搜搜搜搜搜搜搜搜搜搜搜搜搜搜搜搜搜搜搜搜搜搜搜搜搜搜搜搜搜搜搜搜搜搜搜搜搜搜搜搜搜搜搜搜搜搜搜搜搜搜搜搜搜搜搜搜搜搜";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: var(--wgw-border-font-size);
  font-size: var(--wgw-border-font-size);
  line-height: 1;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  pointer-events: none;
  font-family: var(--main-font) !important;
  z-index: 0;
}

/* 搜索框边框：底部 */
html.wgw-theme .search-wrapper::after {
  content: "搜搜搜搜搜搜搜搜搜搜搜搜搜搜搜搜搜搜搜搜搜搜搜搜搜搜搜搜搜搜搜搜搜搜搜搜搜搜搜搜搜搜搜搜搜搜搜搜搜搜搜搜搜搜搜搜搜搜搜搜";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: var(--wgw-border-font-size);
  font-size: var(--wgw-border-font-size);
  line-height: 1;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  pointer-events: none;
  font-family: var(--main-font) !important;
  z-index: 0;
}

/* 搜索框边框：左侧 */
html.wgw-theme #mdbook-searchbar::before {
  content: "搜\A搜\A搜\A搜\A搜\A搜\A搜\A搜\A搜\A搜\A搜\A搜\A搜\A搜\A搜\A搜\A搜\A搜\A搜\A搜\A搜\A搜\A搜\A搜\A搜\A搜\A搜\A搜\A搜\A搜";
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: var(--wgw-border-font-size);
  font-size: var(--wgw-border-font-size);
  line-height: 1;
  color: #fff;
  white-space: pre;
  overflow: hidden;
  pointer-events: none;
  font-family: var(--main-font) !important;
  z-index: 0;
}

/* 搜索框边框：右侧 */
html.wgw-theme #mdbook-searchbar::after {
  content: "搜\A搜\A搜\A搜\A搜\A搜\A搜\A搜\A搜\A搜\A搜\A搜\A搜\A搜\A搜\A搜\A搜\A搜\A搜\A搜\A搜\A搜\A搜\A搜\A搜\A搜\A搜\A搜\A搜\A搜";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: var(--wgw-border-font-size);
  font-size: var(--wgw-border-font-size);
  line-height: 1;
  color: #fff;
  white-space: pre;
  overflow: hidden;
  pointer-events: none;
  font-family: var(--main-font) !important;
  z-index: 0;
}

/* 隐藏侧边栏原生滚动条 */
html.wgw-theme .sidebar-scrollbox {
  scrollbar-width: none;
  -ms-overflow-style: none;
  overflow-y: auto !important;
}

html.wgw-theme .sidebar-scrollbox::-webkit-scrollbar {
  display: none;
}

/* 侧边栏与主内容区布局 */
html.wgw-theme .sidebar {
  border-right: 0 !important;
}

html.wgw-theme .sidebar .chapter {
  list-style: none !important;
  padding-left: 1em !important;
  margin-left: 0.5em !important;
}

html.wgw-theme .sidebar .chapter li {
  list-style: none !important;
}

html.wgw-theme .sidebar .chapter li a {
  display: block;
  padding: 0.3em 0.8em;
  color: #fff !important;
  text-decoration: none !important;
}

html.wgw-theme .sidebar .chapter .spacer,
html.wgw-theme .sidebar .chapter strong {
  color: #ffeb3b !important;
}

html.wgw-theme .content main,
html.wgw-theme .searchresults {
  padding-right: 0;
}

html.wgw-theme .page {
  position: relative;
}

html.wgw-theme .sidebar-scrollbox {
  position: relative;
}

html.wgw-theme .content {
  position: relative;
}

html.wgw-theme #mdbook-body-container {
  position: relative;
}

html.wgw-theme #mdbook-sidebar-resize-handle {
  position: absolute;
  top: 0;
  right: calc(var(--sidebar-resize-indicator-width) * -1);
  width: calc(var(--sidebar-resize-indicator-width) + 20px);
  height: 100%;
  overflow: visible;
  z-index: 5;
  pointer-events: none;
}

html.wgw-theme #mdbook-sidebar-resize-handle .sidebar-resize-indicator {
  position: relative;
  z-index: 1;
  background: transparent !important;
  pointer-events: auto;
}

html.wgw-theme #mdbook-sidebar-resize-handle #wgw-divider {
  pointer-events: none;
}

/* MD标记替换为中文字符 */

/* 标题前添加"井"字 - 使用inline-block防止换行 */
html.wgw-theme h1::before {
  content: "井";
  font-size: 0.8em;
  font-weight: bold;
  font-style: italic;
  margin-right: 0.3em;
  color: var(--wgw-title-mark-color);
  font-family: var(--main-font) !important;
  display: inline-block;
  white-space: nowrap;
}

html.wgw-theme h2::before {
  content: "井井";
  font-size: 0.75em;
  font-weight: bold;
  font-style: italic;
  margin-right: 0.3em;
  color: var(--wgw-title-mark-color);
  font-family: var(--main-font) !important;
  display: inline-block;
  white-space: nowrap;
}

html.wgw-theme h3::before {
  content: "井井井";
  font-size: 0.7em;
  font-weight: bold;
  font-style: italic;
  margin-right: 0.3em;
  color: var(--wgw-title-mark-color);
  font-family: var(--main-font) !important;
  display: inline-block;
  white-space: nowrap;
}

html.wgw-theme h4::before {
  content: "井井井井";
  font-size: 0.65em;
  font-weight: bold;
  font-style: italic;
  margin-right: 0.3em;
  color: var(--wgw-title-mark-color);
  font-family: var(--main-font) !important;
  display: inline-block;
  white-space: nowrap;
}

html.wgw-theme h5::before {
  content: "井井井井井";
  font-size: 0.6em;
  font-weight: bold;
  font-style: italic;
  margin-right: 0.3em;
  color: var(--wgw-title-mark-color);
  font-family: var(--main-font) !important;
  display: inline-block;
  white-space: nowrap;
}

html.wgw-theme h6::before {
  content: "井井井井井井";
  font-size: 0.55em;
  font-weight: bold;
  font-style: italic;
  margin-right: 0.3em;
  color: var(--wgw-title-mark-color);
  font-family: var(--main-font) !important;
  display: inline-block;
  white-space: nowrap;
}

/* 标题文字保持白色，仅井高亮 */
html.wgw-theme h1,
html.wgw-theme h2,
html.wgw-theme h3,
html.wgw-theme h4,
html.wgw-theme h5,
html.wgw-theme h6,
html.wgw-theme h1 *,
html.wgw-theme h2 *,
html.wgw-theme h3 *,
html.wgw-theme h4 *,
html.wgw-theme h5 *,
html.wgw-theme h6 * {
  color: #fff !important;
}

/* 列表标记替换 - 使用inline-block防止换行 */
html.wgw-theme ul {
  list-style: none;
  padding-left: 2.5em;
}

html.wgw-theme ul > li {
  position: relative;
}

html.wgw-theme ul > li::before {
  content: "（点）";
  font-size: 0.6em;
  font-weight: bold;
  position: absolute;
  left: -3.2em;
  top: 0.2em;
  color: #4caf50;
  font-family: var(--main-font) !important;
  display: inline-block;
  width: 2.6em;
  white-space: nowrap;
}

html.wgw-theme ul ul > li::before {
  content: "（子）";
  font-size: 0.6em;
  position: absolute;
  left: -3.2em;
  top: 0.2em;
  color: #81c784;
  font-family: var(--main-font) !important;
  display: inline-block;
  width: 2.6em;
  white-space: nowrap;
}

/* 分割线替换 - 使用inline-block防止换行 */
html.wgw-theme hr {
  border: 0;
  height: var(--wgw-border-font-size);
  background: transparent;
  position: relative;
  margin: 1.5em 0;
  overflow: hidden;
}

html.wgw-theme hr::before {
  content: "分割线分割线分割线分割线分割线分割线分割线分割线分割线分割线分割线分割线分割线分割线分割线分割线分割线分割线分割线分割线分割线分割线分割线分割线分割线分割线分割线分割线分割线分割线";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  font-size: var(--wgw-border-font-size);
  line-height: 1;
  color: rgba(255, 255, 255, 0.45);
  white-space: nowrap;
  overflow: hidden;
  font-family: var(--main-font) !important;
  display: inline-block;
}

/* 高亮样式 */

/* 加粗文本高亮 */
html.wgw-theme strong,
html.wgw-theme b {
  color: #ff9800 !important;
  font-weight: bold;
}

html.wgw-theme h1 strong,
html.wgw-theme h2 strong,
html.wgw-theme h3 strong,
html.wgw-theme h4 strong,
html.wgw-theme h5 strong,
html.wgw-theme h6 strong,
html.wgw-theme h1 b,
html.wgw-theme h2 b,
html.wgw-theme h3 b,
html.wgw-theme h4 b,
html.wgw-theme h5 b,
html.wgw-theme h6 b {
  color: #fff !important;
}

/* 斜体文本高亮 */
html.wgw-theme em,
html.wgw-theme i {
  color: #03a9f4 !important;
  font-style: italic;
}

html.wgw-theme h1 em,
html.wgw-theme h2 em,
html.wgw-theme h3 em,
html.wgw-theme h4 em,
html.wgw-theme h5 em,
html.wgw-theme h6 em,
html.wgw-theme h1 i,
html.wgw-theme h2 i,
html.wgw-theme h3 i,
html.wgw-theme h4 i,
html.wgw-theme h5 i,
html.wgw-theme h6 i {
  color: #fff !important;
}

/* 下划线文本高亮 */
html.wgw-theme u {
  color: #e91e63 !important;
  text-decoration: underline;
}

/* WGW主题事件语法高亮 */
/* 事件名称 @[event_name] - 黄色 */
html.wgw-theme pre code.language-json .hljs-meta,
html.wgw-theme pre code:not([class*="language-"]) .hljs-meta {
  color: #ffd54f !important;
  font-weight: bold;
}

/* 字符串值 - 绿色 */
html.wgw-theme pre code.language-json .hljs-string,
html.wgw-theme pre code:not([class*="language-"]) .hljs-string {
  color: #81c784 !important;
}

/* 属性名 - 蓝色 */
html.wgw-theme pre code.language-json .hljs-attr,
html.wgw-theme pre code:not([class*="language-"]) .hljs-attr,
html.wgw-theme pre code.language-json .hljs-property,
html.wgw-theme pre code:not([class*="language-"]) .hljs-property {
  color: #4fc3f7 !important;
}

/* 数字和字面量 - 橙色 */
html.wgw-theme pre code.language-json .hljs-number,
html.wgw-theme pre code:not([class*="language-"]) .hljs-number,
html.wgw-theme pre code.language-json .hljs-literal,
html.wgw-theme pre code:not([class*="language-"]) .hljs-literal {
  color: #ff8a65 !important;
}

/* 注释 - 灰色 */
html.wgw-theme pre code.language-json .hljs-comment,
html.wgw-theme pre code:not([class*="language-"]) .hljs-comment {
  color: #757575 !important;
  font-style: italic;
}

/* 标点符号 - 浅灰 */
html.wgw-theme pre code.language-json .hljs-punctuation,
html.wgw-theme pre code:not([class*="language-"]) .hljs-punctuation {
  color: #e0e0e0 !important;
}

/* 代码块复制按钮中文化 */
html.wgw-theme pre .buttons {
  position: absolute;
  top: 0.3em;
  right: 0.3em;
  z-index: 4;
}

html.wgw-theme pre .clip-button {
  width: auto !important;
  min-width: 0 !important;
  min-height: 0 !important;
  height: auto !important;
  padding: 0.3em 0.45em !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: #000 !important;
  color: #fff !important;
  box-shadow: none !important;
  font-family: var(--main-font) !important;
  font-size: 1.1em !important;
  line-height: 1 !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  position: relative;
}

html.wgw-theme pre .clip-button i,
html.wgw-theme pre .clip-button svg {
  display: none !important;
}

html.wgw-theme pre .clip-button::before {
  content: attr(data-label);
  display: block;
}

html.wgw-theme pre .clip-button:hover,
html.wgw-theme pre .clip-button:focus {
  background: #000 !important;
  color: #fff !important;
}

html.wgw-theme pre .clip-button .tooltiptext,
html.wgw-theme pre .clip-button .tooltiptext::before,
html.wgw-theme pre .clip-button .tooltiptext::after {
  font-family: var(--main-font) !important;
}

html.wgw-theme pre .clip-button .tooltiptext::before {
  content: "复制成功";
  color: #fff !important;
}

/* 正文超链接高亮 */
html.wgw-theme .content main p > a,
html.wgw-theme .content main li > a,
html.wgw-theme .content main blockquote p > a,
html.wgw-theme .content main td > a,
html.wgw-theme .content main th > a,
html.wgw-theme .searchresults .searchresults-outer a:not(.mobile-nav-chapters) {
  position: relative;
  color: #00e676 !important;
  text-decoration: none !important;
  display: inline-block;
  padding: 0 0.7em;
}

html.wgw-theme .content main p > a::before,
html.wgw-theme .content main li > a::before,
html.wgw-theme .content main blockquote p > a::before,
html.wgw-theme .content main td > a::before,
html.wgw-theme .content main th > a::before,
html.wgw-theme .searchresults .searchresults-outer a:not(.mobile-nav-chapters)::before,
html.wgw-theme .content main p > a::after,
html.wgw-theme .content main li > a::after,
html.wgw-theme .content main blockquote p > a::after,
html.wgw-theme .content main td > a::after,
html.wgw-theme .content main th > a::after,
html.wgw-theme .searchresults .searchresults-outer a:not(.mobile-nav-chapters)::after {
  position: absolute;
  top: 0;
  color: #fff !important;
  font-family: var(--main-font) !important;
  pointer-events: none;
}

html.wgw-theme .content main p > a::before,
html.wgw-theme .content main li > a::before,
html.wgw-theme .content main blockquote p > a::before,
html.wgw-theme .content main td > a::before,
html.wgw-theme .content main th > a::before,
html.wgw-theme .searchresults .searchresults-outer a:not(.mobile-nav-chapters)::before {
  content: "[";
  left: 0;
}

html.wgw-theme .content main p > a::after,
html.wgw-theme .content main li > a::after,
html.wgw-theme .content main blockquote p > a::after,
html.wgw-theme .content main td > a::after,
html.wgw-theme .content main th > a::after,
html.wgw-theme .searchresults .searchresults-outer a:not(.mobile-nav-chapters)::after {
  content: "]";
  right: 0;
}

html.wgw-theme .content main p > a:hover,
html.wgw-theme .content main li > a:hover,
html.wgw-theme .content main blockquote p > a:hover,
html.wgw-theme .content main td > a:hover,
html.wgw-theme .content main th > a:hover,
html.wgw-theme .searchresults .searchresults-outer a:not(.mobile-nav-chapters):hover {
  color: #66ffa6 !important;
  background: transparent !important;
}

/* 引用块高亮 */
html.wgw-theme blockquote {
  border-left: 4px solid #9c27b0 !important;
  padding-left: 1em;
  margin-left: 0;
  color: #ce93d8 !important;
  background: rgba(156, 39, 176, 0.05) !important;
}

html.wgw-theme blockquote p {
  color: #ce93d8 !important;
}

/* 隐藏原生导航按钮 - 由JS渲染 */
html.wgw-theme .mobile-nav-chapters,
html.wgw-theme .nav-chapters {
  display: none !important;
}

/* JS渲染的导航容器样式 */
.wgw-nav-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 30;
  font-size: 2.4em;
  line-height: 1;
  font-family: var(--main-font) !important;
  display: flex;
  align-items: center;
  gap: 0.15em;
}

.wgw-nav-bracket,
.wgw-nav-slash {
  color: #fff;
}

.wgw-nav-arrow {
  color: #ffeb3b;
  text-decoration: none;
  transition: color 0.2s;
}

.wgw-nav-arrow:hover {
  color: #fff176;
}

.wgw-nav-disabled {
  color: #666;
}

/* 特殊JSON / 事件语法高亮：所有主题通用 */
pre code.language-json,
pre code:not([class*="language-"]) {
  white-space: pre-wrap;
}

/* 事件名称 @[event_name] - 黄色 */
pre code.language-json .hljs-meta,
pre code:not([class*="language-"]) .hljs-meta {
  color: #ffd54f !important;
  font-weight: bold;
}

/* 字符串值 - 绿色 */
pre code.language-json .hljs-string,
pre code:not([class*="language-"]) .hljs-string {
  color: #81c784 !important;
}

/* 属性名 - 蓝色 */
pre code.language-json .hljs-attr,
pre code:not([class*="language-"]) .hljs-attr,
pre code.language-json .hljs-property,
pre code:not([class*="language-"]) .hljs-property {
  color: #4fc3f7 !important;
}

/* 数字和字面量 - 橙色 */
pre code.language-json .hljs-number,
pre code:not([class*="language-"]) .hljs-number,
pre code.language-json .hljs-literal,
pre code:not([class*="language-"]) .hljs-literal {
  color: #ff8a65 !important;
}

/* 注释 - 灰色 */
pre code.language-json .hljs-comment,
pre code:not([class*="language-"]) .hljs-comment {
  color: #757575 !important;
  font-style: italic;
}

/* 裸变量名 - 紫色 */
pre code.language-json .hljs-name,
pre code:not([class*="language-"]) .hljs-name {
  color: #ba68c8 !important;
}

/* 标点符号 - 浅灰 */
pre code.language-json .hljs-punctuation,
pre code:not([class*="language-"]) .hljs-punctuation {
  color: #e0e0e0 !important;
}
