/* ===== 文章正文 Markdown · poetize (vditor-reset) 风格 ===== */
.article_content.vditor-reset {
  --articleFontColor: #1f1f1f;
  --articleGreyFontColor: #595a5a;
  --favoriteBg: #f7f9fe;
  --borderColor: rgba(0, 0, 0, .1);
  --themeBackground: #ff9800;
  --globalFont: "Georgia", "Times New Roman", serif;
  line-height: 1.8;
  color: var(--articleFontColor);
  font-family: var(--globalFont), serif !important;
}
html.dark .article_content.vditor-reset {
  --articleFontColor: #e4e4e4;
  --articleGreyFontColor: #d4d4d4;
  --favoriteBg: #1e1e1e;
  --borderColor: rgba(255, 255, 255, .1);
}
.article_content.vditor-reset p { line-height: 35px; font-size: 18px; margin: 0 0 1.4em; }
.article_content.vditor-reset ol,
.article_content.vditor-reset ul { padding: 0 10px 0 35px; color: var(--articleGreyFontColor); border-radius: 10px; }
.article_content.vditor-reset ol li,
.article_content.vditor-reset ul li { padding: 8px 0; letter-spacing: 1px; line-height: 28px; }
.article_content.vditor-reset h1,
.article_content.vditor-reset h2,
.article_content.vditor-reset h3,
.article_content.vditor-reset h4,
.article_content.vditor-reset h5,
.article_content.vditor-reset h6 {
  margin-top: 30px;
  margin-bottom: 20px;
  position: relative;
  color: var(--articleFontColor);
}
.article_content.vditor-reset h1 { text-align: center; font-size: 28px; }
.article_content.vditor-reset h2 { line-height: 35px; font-size: 25px; }
.article_content.vditor-reset h3 { padding-left: 20px; font-size: 22px; padding-bottom: 8px; }
.article_content.vditor-reset h4 { padding-left: 12px; font-size: 20px; }
.article_content.vditor-reset h5 { font-size: 18px; padding-left: 28px; }
.article_content.vditor-reset h6 { font-size: 16px; padding-left: 28px; }
.article_content.vditor-reset h2:before,
.article_content.vditor-reset h3:before,
.article_content.vditor-reset h4:before,
.article_content.vditor-reset h5:before,
.article_content.vditor-reset h6:before {
  content: "#";
  position: static;
  display: inline;
  margin-right: 10px;
  color: var(--themeBackground);
}
.article_content.vditor-reset a { position: relative; text-decoration: none; color: #425AEF; }
.article_content.vditor-reset a:hover { color: #7a6ff0; }
.article_content.vditor-reset a:after { content: ""; position: absolute; width: 100%; height: 1.5px; bottom: -2px; left: 0; background: currentColor; }
.article_content.vditor-reset blockquote {
  margin: 1.2em 0;
  padding: 10px 16px;
  border-left: 4px solid var(--themeBackground);
  background: var(--favoriteBg);
  color: var(--articleGreyFontColor);
  border-radius: 0 8px 8px 0;
}
.article_content.vditor-reset code:not(.hljs):not(.highlight-chroma):not([class*=language-]) {
  padding: 1px 4px;
  margin: 0;
  font-size: 85%;
  border-radius: 5px;
  font-family: unset;
  word-break: break-word;
  white-space: pre-wrap;
  background: var(--favoriteBg);
  color: #d63384;
}
.article_content.vditor-reset pre { margin: 1.6em 0; background: #282c34; color: #abb2bf; padding: 16px 18px; border-radius: 8px; overflow: auto; }
.article_content.vditor-reset pre > code { background: transparent; color: inherit; font-size: 14px; }
.article_content.vditor-reset img { max-width: 100%; border-radius: 5px; }
.article_content.vditor-reset table { margin: 10px 0; border-collapse: collapse; }
.article_content.vditor-reset table th { background-color: rgba(0, 0, 0, .1); }
.article_content.vditor-reset table tbody > tr:nth-child(2n) { background-color: var(--favoriteBg); }
.article_content.vditor-reset table td,
.article_content.vditor-reset table th { padding: 8px 16px; line-height: 1.5; font-size: 90%; text-align: center; white-space: normal; border: 1px solid var(--borderColor); }
.article_content.vditor-reset table tbody > tr { transition: all .28s ease; }
.article_content.vditor-reset mark { background-color: #fff3a3; color: inherit; padding: 0 2px; border-radius: 2px; }
.article_content.vditor-reset sub,
.article_content.vditor-reset sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; }
.article_content.vditor-reset sup { top: -.5em; }
.article_content.vditor-reset sub { bottom: -.2em; }
.article_content.vditor-reset hr { border: none; border-top: 1px solid var(--borderColor); margin: 24px 0; }
.article_content.vditor-reset kbd { padding: 2px 6px; font-size: 90%; line-height: 1; color: var(--articleFontColor); background-color: var(--favoriteBg); border: 1px solid var(--borderColor); box-shadow: inset 0 -1px 0 var(--borderColor); margin: 0 2px; }
.article_content.vditor-reset details { margin: 16px 0; padding: 8px 12px; background-color: var(--favoriteBg); border-radius: 4px; }
.article_content.vditor-reset summary { font-weight: 600; padding: 4px 0; }
.article_content.vditor-reset audio,
.article_content.vditor-reset video { border-radius: 5px; margin: 10px 0; outline: none; max-width: 100%; }
.article_content.vditor-reset iframe { border-radius: 5px; margin: 10px 0; }
.article_content.vditor-reset svg { max-width: 100%; height: auto; }
@media screen and (max-width: 700px) {
  .article_content.vditor-reset { font-size: 15px; }
  .article_content.vditor-reset p { font-size: 16px; line-height: 32px; }
  .article_content.vditor-reset h2 { font-size: 22px; }
  .article_content.vditor-reset h3 { font-size: 19px; }
  .article_content.vditor-reset h4 { font-size: 17px; }
  .article_content.vditor-reset h5 { font-size: 16px; }
  .article_content.vditor-reset ol,
  .article_content.vditor-reset ul { padding: 0 5px 0 25px; }
  .article_content.vditor-reset table td,
  .article_content.vditor-reset table th { padding: 6px 10px; }
  .article_content.vditor-reset pre > code { font-size: 13px; }
}
/* ===== 代码块优化（editor.md prettyprint -> 干净的诗人/dark 块，隐藏行号框） ===== */
.article_content.vditor-reset pre.prettyprint,
.article_content.vditor-reset pre.prettyprint.linenums {
  background: #1e1e1e !important;
  color: #d4d4d4 !important;
  padding: 16px 18px !important;
  border-radius: 8px !important;
  border: none !important;
  overflow-x: auto !important;
}
.article_content.vditor-reset pre.prettyprint ol.linenums {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important;
}
.article_content.vditor-reset pre.prettyprint ol.linenums li {
  list-style: none !important;
  background: transparent !important;
  color: inherit !important;
  padding: 0 !important;
  margin: 0 !important;
  line-height: 1.7 !important;
}
.article_content.vditor-reset pre.prettyprint code,
.article_content.vditor-reset pre.prettyprint code span {
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  font-size: 14px !important;
  font-family: Consolas, Monaco, "Courier New", monospace !important;
}
/* prettify tokens -- One Dark */
.article_content.vditor-reset pre.prettyprint .pln { color: #abb2bf !important; }
.article_content.vditor-reset pre.prettyprint .str { color: #98c379 !important; }
.article_content.vditor-reset pre.prettyprint .kwd { color: #c678dd !important; }
.article_content.vditor-reset pre.prettyprint .com { color: #5c6370 !important; font-style: italic; }
.article_content.vditor-reset pre.prettyprint .typ { color: #e5c07b !important; }
.article_content.vditor-reset pre.prettyprint .lit { color: #d19a66 !important; }
.article_content.vditor-reset pre.prettyprint .pun { color: #abb2bf !important; }
.article_content.vditor-reset pre.prettyprint .opn { color: #abb2bf !important; }
.article_content.vditor-reset pre.prettyprint .clo { color: #abb2bf !important; }
.article_content.vditor-reset pre.prettyprint .tag { color: #e06c75 !important; }
.article_content.vditor-reset pre.prettyprint .atn { color: #d19a66 !important; }
.article_content.vditor-reset pre.prettyprint .atv { color: #98c379 !important; }
.article_content.vditor-reset pre.prettyprint .dec { color: #c678dd !important; }
.article_content.vditor-reset pre.prettyprint .var { color: #e06c75 !important; }
.article_content.vditor-reset pre.prettyprint .fun { color: #61afef !important; }