@media screen and (max-device-width:900px) {

  .qr_code_pc,
  .content-rNDG .avatar-jpIv {
    display: none;
  }

}

.hljs,.vditor-reset table tr {
  background: var(--sidebar-background-color) !important;
}

.hljs-keyword,
.hljs-selector-tag,
.hljs-subst,.vditor-reset pre > code  {

  color: inherit !important;
}

#content {
  max-width: 95%;
  margin-left: auto !important;
  margin-right: auto !important;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  letter-spacing: .034em;
  line-height: 1.6;
  padding-top: 0.3rem;
}

#content p {
  margin-left: 10px;
}

#content img {
  margin-top: 5px;
  margin-bottom: 5px;
  letter-spacing: .034em;
  line-height: 1.6;
  text-align: center;
  outline: 0;
  max-width: 100%;
  filter: brightness(.8);
  border-color: rgb(8, 154, 228);
  border-width: 1.9958px;
  border-top-width: 1.9958px;
  border-right-width: 1.9958px;
  border-bottom-width: 1.9958px;
  border-left-width: 1.9958px;
  border-style: solid;
}

.qr_code_pc {
  right: 100px;
  position: absolute;
  width: 140px;
  top: 100px;
  z-index: 99999;
}
.language-echarts{

  color:var(--secondary-text-color) !important;
  background: #fff !important;
}
.vditor-reset {
  color: var(--primary-text-color) !important;
}

.shang_box {
  overflow: hidden;
  text-align: center;
  margin: 20px 0;
  position: relative;
  height: 150px;
}

.shang_box .zhifubao {
  display: inline-block;
  position: absolute;
  left: 50%;
  margin-left: -1500px;
}

.shang_box .weixin {
  display: inline-block;
  position: absolute;
  left: 50%;
  margin-left: 1400px;
}

.shang_box img {
  height: 150px;
}

.shang_box .shang_pic {
  display: inline-block;
  line-height: 150px;
}

.shang_box .shang_pic img {
  width: 50px;
  cursor: pointer;
  height: 50px;
}

.vditor-reset iframe.iframe__video {
  height: 400px;
  margin: auto;
  width: 100%;
}

.article-outline {
  --article-fab-size: 42px;
  --article-fab-gap: 10px;
  --article-fab-right: max(14px, env(safe-area-inset-right, 0px));
  --article-fab-bottom: max(16px, env(safe-area-inset-bottom, 0px));
  position: fixed;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 90;
  max-height: 70vh;
  pointer-events: none;
}

.article-outline-toggle,
.article-outline-panel,
.article-outline-backdrop {
  pointer-events: auto;
}

.article-outline-toggle,
.article-outline-header,
.article-outline-backdrop {
  display: none;
}

.article-outline-panel {
  max-height: 70vh;
}

.article-outline-list {
  list-style: none;
  margin: 0;
  padding: 10px 8px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 70vh;
  overflow-y: auto;
  overflow-x: hidden;
  border-radius: 12px;
  background: transparent;
  transition: background 0.2s ease, box-shadow 0.2s ease, padding 0.2s ease;
  -webkit-overflow-scrolling: touch;
}

.article-outline:hover .article-outline-list,
.article-outline:focus-within .article-outline-list {
  background: var(--sidebar-background-color, #2f2f2f);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
  padding: 12px 14px;
}

.article-outline-item {
  display: flex;
  align-items: center;
  gap: 0;
  text-decoration: none;
  color: var(--secondary-text-color, #aaa);
  line-height: 1.3;
  transition: color 0.15s ease;
}

.article-outline:hover .article-outline-item,
.article-outline:focus-within .article-outline-item {
  gap: 10px;
}

.article-outline-bar {
  flex-shrink: 0;
  display: block;
  height: 3px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.22);
  transition: background 0.15s ease, width 0.15s ease;
}

.article-outline-item[data-level="1"] .article-outline-bar { width: 18px; }
.article-outline-item[data-level="2"] .article-outline-bar { width: 15px; }
.article-outline-item[data-level="3"] .article-outline-bar { width: 12px; }
.article-outline-item[data-level="4"] .article-outline-bar { width: 10px; }
.article-outline-item[data-level="5"] .article-outline-bar { width: 8px; }
.article-outline-item[data-level="6"] .article-outline-bar { width: 6px; }

.article-outline-text {
  display: block;
  max-width: 0;
  opacity: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: var(--secondary-font-size, 13px);
  transition: max-width 0.22s ease, opacity 0.18s ease;
}

.article-outline:hover .article-outline-text,
.article-outline:focus-within .article-outline-text {
  max-width: 220px;
  opacity: 1;
}

.article-outline-item:hover,
.article-outline-item.active {
  color: var(--primary-text-color, #fff);
}

.article-outline-item:hover .article-outline-bar,
.article-outline-item.active .article-outline-bar {
  background: var(--primary-text-color, #fff);
}

.article-outline-item.active .article-outline-bar {
  width: 22px !important;
}

.article-outline-list::-webkit-scrollbar {
  width: 4px;
}

.article-outline-list::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.18);
  border-radius: 4px;
}

.article-header {
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  white-space: normal;
  padding-top: calc(var(--padding-small) + 2px);
  padding-bottom: calc(var(--padding-small) + 2px);
}

.article-header__title {
  flex: 1 1 auto;
  min-width: 0;
  margin-right: 0 !important;
}

.article-header__aside {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 12px;
  min-width: 0;
  margin-left: auto;
}

.article-header__actions {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.article-header__actions .article-action-btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-height: 30px;
  height: 30px;
  padding: 0 10px;
  font-size: var(--secondary-font-size, 13px);
  line-height: 1 !important;
  white-space: nowrap;
  vertical-align: middle;
}

.article-header__actions .article-action-btn > * {
  line-height: 1;
}

.article-header__actions .article-action-btn .icon-VKRw,
.article-header__actions .article-action-btn .icon-VKRw svg {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 14px !important;
  height: 14px !important;
  flex-shrink: 0;
  line-height: 0;
}

.article-header__actions .article-action-btn .icon-VKRw svg {
  display: block;
}

.article-header__actions .article-action-btn__label {
  display: inline-block;
  line-height: 1;
}

.article-header__actions .article-action-btn[data-action="delete"] {
  color: var(--danger-color, #e74c3c);
}

.article-header__actions .article-action-btn[data-action="delete"] .icon-VKRw {
  color: inherit;
}

.article-header__actions .article-action-btn[data-action="edit"] {
  color: var(--primary-text-color, #ddd);
}

.article-header__actions .article-action-btn[data-action="edit"]:hover {
  color: var(--accent-color, #1988e0);
  border-color: var(--accent-color, #1988e0);
}

.article-header__actions .article-action-btn[data-action="delete"]:hover {
  color: #fff;
  background: var(--danger-color, #e74c3c);
  border-color: var(--danger-color, #e74c3c);
}

.article-header__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 12px;
  min-width: 0;
  margin-left: 0;
}

.article-header__tags {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
  min-width: 0;
}

.article-header__author {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  color: var(--secondary-text-color, #999);
  font-size: var(--secondary-font-size, 13px);
}

.article-header__author-name {
  max-width: 12em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.article-header__date {
  flex-shrink: 0;
  color: var(--secondary-text-color, #999);
  font-size: var(--secondary-font-size, 13px);
  white-space: nowrap;
}

.article-header .avatar-jpIv {
  flex-shrink: 0;
}

@media screen and (max-width: 900px) {
  .article-header {
    align-items: flex-start;
    gap: 10px;
    padding: 10px 12px 12px;
  }

  .article-header__title {
    flex: 1 1 100%;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    white-space: normal;
    line-height: 1.35;
    font-size: clamp(15px, 4.3vw, var(--head-font-size, 18px));
    padding-right: 0;
  }

  .article-header__aside {
    width: 100%;
    margin-left: 0;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
  }

  .article-header__actions {
    order: 2;
    margin-left: auto;
  }

  .article-header__actions .article-action-btn {
    min-width: 30px;
    padding: 0 8px;
  }

  .article-header__actions .article-action-btn__label {
    display: none;
  }

  .article-header__meta {
    width: auto;
    flex: 1 1 auto;
    margin-left: 0;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 8px;
    order: 1;
  }

  .article-header__tags {
    flex: 1 1 auto;
    min-width: 0;
  }

  .article-header__author {
    flex: 0 1 auto;
    max-width: 100%;
    margin-left: auto;
    padding: 4px 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
  }

  .article-header__author-name {
    max-width: 8em;
  }

  .article-header__date {
    font-size: 12px;
  }
}

@media screen and (max-width: 900px) {
  .article-outline {
    right: var(--article-fab-right);
    top: auto;
    bottom: calc(var(--article-fab-bottom) + var(--article-fab-size) + var(--article-fab-gap));
    transform: none;
    max-height: none;
  }

  .article-outline-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: var(--article-fab-size);
    height: var(--article-fab-size);
    border: 0;
    border-radius: 50%;
    padding: 0;
    cursor: pointer;
    color: var(--accent-color, #d69d00);
    background: var(--sidebar-background-color, #2f2f2f);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.28);
  }

  .article-outline-toggle svg {
    width: 18px;
    height: 18px;
  }

  .article-outline.is-open .article-outline-toggle {
    opacity: 0;
    pointer-events: none;
  }

  .article-outline-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.22s ease;
    z-index: -1;
  }

  .article-outline.is-open .article-outline-backdrop {
    opacity: 1;
    pointer-events: auto;
  }

  .article-outline-panel {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    max-height: min(62vh, 480px);
    transform: translateY(105%);
    transition: transform 0.28s ease;
    background: var(--sidebar-background-color, #2f2f2f);
    border-radius: 16px 16px 0 0;
    box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.35);
    z-index: 2;
    overflow: hidden;
    pointer-events: none;
  }

  .article-outline.is-open .article-outline-panel {
    transform: translateY(0);
    pointer-events: auto;
  }

  .article-outline-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px 10px;
    font-size: var(--primary-font-size, 14px);
    font-weight: 600;
    color: var(--primary-text-color, #fff);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .article-outline-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 8px;
    padding: 0;
    cursor: pointer;
    font-size: 22px;
    line-height: 1;
    color: var(--secondary-text-color, #aaa);
    background: transparent;
  }

  .article-outline-list {
    max-height: calc(min(62vh, 480px) - 52px);
    padding: 8px 12px 16px;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .article-outline:hover .article-outline-list,
  .article-outline:focus-within .article-outline-list {
    padding: 8px 12px 16px;
    background: transparent;
    box-shadow: none;
  }

  .article-outline-item {
    gap: 0;
    padding: 10px 8px;
    border-radius: 8px;
  }

  .article-outline-item[data-level="2"] { padding-left: 16px; }
  .article-outline-item[data-level="3"] { padding-left: 28px; }
  .article-outline-item[data-level="4"] { padding-left: 40px; }
  .article-outline-item[data-level="5"] { padding-left: 52px; }
  .article-outline-item[data-level="6"] { padding-left: 64px; }

  .article-outline-bar {
    display: none;
  }

  .article-outline-text {
    max-width: none;
    opacity: 1;
    white-space: normal;
    word-break: break-word;
    line-height: 1.45;
  }

  .article-outline-item.active {
    background: rgba(255, 255, 255, 0.06);
    color: var(--accent-color, #d69d00);
  }
}

@media screen and (max-width: 719px) {
  .article-outline {
    --article-fab-size: 36px;
    --article-fab-gap: 8px;
    --article-fab-right: max(12px, env(safe-area-inset-right, 0px));
    --article-fab-bottom: max(14px, env(safe-area-inset-bottom, 0px));
  }

  .article-outline-toggle svg {
    width: 16px;
    height: 16px;
  }
}

.vp-back-to-top-button {
  --article-fab-size: 42px;
  --article-fab-right: max(14px, env(safe-area-inset-right, 0px));
  --article-fab-bottom: max(16px, env(safe-area-inset-bottom, 0px));
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
  position: fixed !important;
  bottom: var(--article-fab-bottom);
  right: var(--article-fab-right);
  inset-inline-end: var(--article-fab-right);
  z-index: 100;
  width: var(--article-fab-size);
  height: var(--article-fab-size);
  border-radius: 50%;
  color: var(--accent-color);
  box-shadow: 2px 2px 10px 4px var(--card-shadow);
  opacity: 0;
}

.vp-back-to-top-button .vp-scroll-progress {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.vp-back-to-top-button .back-to-top-icon {
  position: relative;
  z-index: 1;
  display: block;
  width: 54%;
  height: 54%;
  flex-shrink: 0;
  overflow: visible;
  border-radius: 0;
  fill: currentColor;
}

.vp-back-to-top-button:hover {
  color: var(--accent-color);
}

.vp-back-to-top-button:focus {
  outline: 0;
}

.vp-scroll-progress circle {
  opacity: .9;
  fill: none;
  stroke: currentColor;
  transform: rotate(-90deg);
  transform-origin: 50% 50%;
  r: 42%;
  stroke-dasharray: 0% 314.1593%;
  stroke-width: 3px;
}

@media (max-width: 719px) {
  .vp-back-to-top-button {
    --article-fab-size: 36px;
    --article-fab-right: max(12px, env(safe-area-inset-right, 0px));
    --article-fab-bottom: max(14px, env(safe-area-inset-bottom, 0px));
  }

  .vp-scroll-progress circle {
    stroke-width: 2.5px;
  }
}

/* Help page · 小红书风格 */
.help-xhs {
  max-width: 680px;
  padding: 8px 16px 32px;
  line-height: 1.75;
  font-size: 15px;
  color: var(--primary-text-color, #333);
}

.help-xhs > p:first-child {
  margin-top: 0;
}

.help-xhs h2 {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 28px 0 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid rgba(255, 36, 66, 0.15);
  font-size: 1.15em;
  font-weight: 600;
  line-height: 1.4;
  color: var(--primary-text-color, #222);
}

.help-xhs h2::before {
  content: "";
  flex: 0 0 4px;
  width: 4px;
  height: 1.1em;
  border-radius: 4px;
  background: linear-gradient(180deg, #ff6b81, #ff2442);
}

.help-xhs blockquote {
  margin: 16px 0;
  padding: 14px 16px;
  border: none;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(255, 36, 66, 0.06) 0%, rgba(255, 107, 129, 0.08) 100%);
  box-shadow: 0 2px 12px rgba(255, 36, 66, 0.06);
  color: var(--primary-text-color, #444);
}

.help-xhs blockquote p {
  margin: 0;
  line-height: 1.65;
}

.help-xhs blockquote strong {
  color: #ff2442;
  font-weight: 600;
}

.help-xhs hr {
  margin: 24px 0;
  border: none;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 36, 66, 0.2), transparent);
}

.help-xhs ol,
.help-xhs ul {
  margin: 12px 0;
  padding-left: 1.4em;
}

.help-xhs li {
  margin: 8px 0;
  padding-left: 4px;
}

.help-xhs ol li::marker {
  color: #ff2442;
  font-weight: 600;
}

.help-xhs table {
  width: 100%;
  margin: 14px 0;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 12px;
  overflow: hidden;
  font-size: 14px;
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.06);
}

.help-xhs thead th {
  padding: 10px 12px;
  text-align: left;
  background: linear-gradient(135deg, #ff6b81, #ff2442);
  color: #fff;
  font-weight: 600;
}

.help-xhs tbody td {
  padding: 10px 12px;
  border-bottom: 1px solid rgba(127, 127, 127, 0.12);
  background: var(--background-color, #fff);
}

.help-xhs tbody tr:last-child td {
  border-bottom: none;
}

.help-xhs pre:not(.help-mermaid) {
  margin: 14px 0;
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(127, 127, 127, 0.08);
  border: 1px solid rgba(127, 127, 127, 0.12);
  overflow-x: auto;
}

.help-xhs pre code {
  font-size: 13px;
  line-height: 1.6;
  color: var(--primary-text-color, #333);
  background: transparent !important;
}

.help-xhs .help-mermaid {
  margin: 18px 0;
  padding: 20px 12px;
  border-radius: 16px;
  background: var(--background-color, #fff);
  border: 1px solid rgba(255, 36, 66, 0.12);
  box-shadow: 0 4px 20px rgba(255, 36, 66, 0.08);
  text-align: center;
  overflow-x: auto;
}

.help-xhs a {
  color: #ff2442;
  text-decoration: none;
  border-bottom: 1px dashed rgba(255, 36, 66, 0.35);
}

.help-xhs a:hover {
  color: #e01f3d;
  border-bottom-color: #e01f3d;
}

.help-xhs strong {
  font-weight: 600;
  color: var(--primary-text-color, #222);
}

[data-theme="night"] .help-xhs blockquote {
  background: linear-gradient(135deg, rgba(255, 36, 66, 0.12) 0%, rgba(255, 107, 129, 0.08) 100%);
}

[data-theme="night"] .help-xhs .help-mermaid {
  background: rgba(255, 255, 255, 0.04);
}