body {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center; /* For horizontal alignment */
  padding-top: 5em;
  padding-bottom: 8em;
  font-family: Inter var, system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica Neue, Arial, Noto Sans, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, Noto Color Emoji;
  color: #1a202c;
}
div#content {
  width: 40em;
  max-width: 90%;
}
h1#title {
  margin-bottom: 0;
}
div#menu-outer {
  margin-top: 0.5em;
}
nav#menu-inner a,
nav#menu-inner span {
  margin-right: 1em;
  font-weight: 520;
}
nav#menu-inner span {
  color: #1a202c;
  text-decoration: none;
}
nav#menu-inner a {
  color: #394867;
  text-decoration: underline;
}
div#content-outer {
  margin-top: 2em;
}
div#content-outer div#content-inner div#paginator {
  margin-top: 4em;
}
div#content-outer div#content-inner div#paginator a {
  color: #394867;
  margin-right: 1em;
}
div#content-outer div#content-inner div#paginator span {
  color: #394867;
  margin-right: 1em;
}
div.post-item {
  width: 100%;
  margin-bottom: 1em;
}
div.post-item .post-item-title {
  width: 100%;
  display: flex;
  justify-content: space-between;
  margin-top: 0;
  margin-bottom: 0.5em;
}
div.post-item .post-item-title span.reprint {
  font-size: 0.8em;
  line-height: 1.5;
}
div.post-item .post-item-title a {
  flex: 1;
  color: #19202b;
  font-size: 1.2em;
  font-weight: 500;
  text-decoration: none;
}
div.post-item .post-item-title a[target='_blank'] {
  position: relative;
  color: #00f;
}
div.post-item .post-item-title a[target='_blank']::after {
  content: '↗';
  font-size: 12px;
  position: absolute;
}
time {
  color: #b9bfcc;
}
div#bottom-inner {
  margin-top: 8em;
}
div#bottom-inner hr {
  background: #ccc;
  height: 1px;
  border: none;
}
div#bottom-inner div {
  display: flex;
  height: 2em;
  justify-content: space-between;
  align-items: center;
}
div#bottom-inner div a {
  color: #19202b;
}
div#bottom-inner div #hexo {
  float: right;
}
div#bottom-inner div img {
  width: 1em;
  height: 1em;
  margin-left: 1em;
  margin-top: 3px;
}
img {
  max-width: 100%;
}
aside a {
  color: #394867;
}
aside li {
  margin-top: 0.5em;
  margin-bottom: 0.5em;
}
@media (max-width: 768px) {
  body {
    padding-top: 2em;
    padding-bottom: 4em;
  }
  div#content {
    width: 95%;
    max-width: 95%;
  }
  h1#title {
    font-size: 1.8em;
  }
  div#menu-outer {
    margin-top: 0.3em;
  }
  nav#menu-inner a,
  nav#menu-inner span {
    margin-right: 0.5em;
    font-size: 0.9em;
  }
  div#content-outer {
    margin-top: 1.5em;
  }
  div#content-outer div#content-inner div#paginator {
    margin-top: 2em;
  }
  div#content-outer div#content-inner div#paginator a,
  div#content-outer div#content-inner div#paginator span {
    margin-right: 0.5em;
    font-size: 0.9em;
  }
  div.post-item {
    margin-bottom: 0.8em;
  }
  div.post-item .post-item-title {
    margin-bottom: 0.3em;
  }
  div.post-item .post-item-title a {
    font-size: 1.1em;
  }
  div.post-item .post-item-title a[target='_blank'] {
    position: relative;
    color: #00f;
  }
  div.post-item .post-item-title a[target='_blank']::after {
    content: '↗';
    font-size: 12px;
    position: absolute;
  }
  div#bottom-inner {
    margin-top: 4em;
  }
  div#bottom-inner div {
    height: 1.5em;
    font-size: 0.9em;
  }
}
@media (max-width: 480px) {
  body {
    padding-top: 1.5em;
    padding-bottom: 3em;
  }
  div#content {
    width: 98%;
    max-width: 98%;
  }
  h1#title {
    font-size: 1.5em;
  }
  nav#menu-inner a,
  nav#menu-inner span {
    margin-right: 0.3em;
    font-size: 0.85em;
  }
  div#content-outer {
    margin-top: 1em;
  }
  div.post-item .post-item-title a {
    font-size: 1em;
  }
  div.post-item .post-item-title a[target='_blank'] {
    position: relative;
    color: #00f;
  }
  div.post-item .post-item-title a[target='_blank']::after {
    content: '↗';
    font-size: 12px;
    position: absolute;
  }
  div#bottom-inner {
    margin-top: 3em;
  }
  div#bottom-inner div {
    height: 1.2em;
    font-size: 0.8em;
  }
}
#post,
#page {
  color: #1a202c;
}
#post p,
#page p {
  text-align: justify;
}
#post a,
#page a {
  color: #113cfc;
}
#post ol,
#page ol,
#post ul,
#page ul {
  padding-inline-start: 1.5em;
}
#post img,
#page img {
  display: block;
  margin: auto;
}
#post table,
#page table {
  border-collapse: collapse;
  margin: 25px 0;
  font-size: 0.9em;
  corner-radius: 2em;
  width: 100%;
}
#post table thead tr,
#page table thead tr {
  background-color: #ccc;
  color: #fff;
  text-align: left;
}
#post table tbody tr:nth-of-type(even),
#page table tbody tr:nth-of-type(even) {
  background-color: #f3f3f3;
}
#post table tbody tr:last-of-type,
#page table tbody tr:last-of-type {
  border-bottom: 1px solid #f3f3f3;
}
#post table th,
#page table th,
#post table td,
#page table td {
  padding: 12px 15px;
}
#post blockquote,
#page blockquote {
  background: #f9f9f9;
  border-left: 0.35em solid #ccc;
  margin: 1.5em 10px;
  padding: 0.5em 10px;
}
#post blockquote p,
#page blockquote p {
  display: inline;
}
#post blockquote.pullquote,
#page blockquote.pullquote {
  background: none;
  border-left: none;
  text-align: left;
  width: 45%;
  margin: 0;
  padding: 0;
  font-size: 1.1em;
  font-family: font-serif;
  color: #394867;
}
#post blockquote.pullquote.left,
#page blockquote.pullquote.left {
  margin-right: 1em;
  float: left;
}
#post blockquote.pullquote.right,
#page blockquote.pullquote.right {
  margin-left: 1em;
  float: right;
}
#post hr,
#page hr {
  background: #ccc;
  height: 1px;
  border: none;
}
#post .video-container,
#page .video-container {
  position: relative;
  padding-top: 56.25%;
  height: 0;
  overflow: hidden;
}
#post .video-container iframe,
#page .video-container iframe,
#post .video-container object,
#page .video-container object,
#post .video-container embed,
#page .video-container embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  margin-top: 0;
}
#post .tags-categories,
#page .tags-categories {
  margin-top: 5rem;
  display: flex;
  justify-content: space-between;
}
#post .tags-categories .post-tags a,
#page .tags-categories .post-tags a {
  color: #394867;
}
#post .tags-categories .post-categories a,
#page .tags-categories .post-categories a {
  color: #394867;
}
#post p code,
#page p code {
  background: #f3f3f3;
  padding: 0.2em 0.2em;
}
@media (max-width: 768px) {
  #post p,
  #page p {
    font-size: 0.95em;
    line-height: 1.6;
  }
  #post h1,
  #page h1,
  #post h2,
  #page h2,
  #post h3,
  #page h3,
  #post h4,
  #page h4,
  #post h5,
  #page h5,
  #post h6,
  #page h6 {
    font-size: 1.1em;
    margin-top: 1.2em;
    margin-bottom: 0.8em;
  }
  #post h1,
  #page h1 {
    font-size: 1.4em;
  }
  #post h2,
  #page h2 {
    font-size: 1.3em;
  }
  #post h3,
  #page h3 {
    font-size: 1.2em;
  }
  #post ol,
  #page ol,
  #post ul,
  #page ul {
    padding-inline-start: 1em;
    font-size: 0.95em;
  }
  #post li,
  #page li {
    margin-bottom: 0.3em;
  }
  #post table,
  #page table {
    font-size: 0.8em;
    margin: 15px 0;
  }
  #post table th,
  #page table th,
  #post table td,
  #page table td {
    padding: 8px 10px;
  }
  #post blockquote,
  #page blockquote {
    margin: 1em 5px;
    padding: 0.3em 8px;
    font-size: 0.9em;
  }
  #post blockquote.pullquote,
  #page blockquote.pullquote {
    width: 100%;
    float: none;
    margin: 1em 0;
    font-size: 1em;
  }
  #post .video-container,
  #page .video-container {
    margin: 1em 0;
  }
  #post div.post-tags,
  #page div.post-tags {
    font-size: 0.9em;
  }
  #post p code,
  #page p code {
    padding: 0.15em 0.15em;
    font-size: 0.9em;
  }
}
@media (max-width: 480px) {
  #post p {
    font-size: 0.9em;
    line-height: 1.5;
  }
  #post h1 {
    font-size: 1.3em;
  }
  #post h2 {
    font-size: 1.2em;
  }
  #post h3 {
    font-size: 1.1em;
  }
  #post ol,
  #post ul {
    padding-inline-start: 0.8em;
    font-size: 0.9em;
  }
  #post table {
    font-size: 0.75em;
  }
  #post table th,
  #post table td {
    padding: 6px 8px;
  }
  #post blockquote {
    margin: 0.8em 3px;
    padding: 0.25em 6px;
    font-size: 0.85em;
  }
  #post div.post-tags {
    font-size: 0.85em;
  }
  #post p code {
    padding: 0.1em 0.1em;
    font-size: 0.85em;
  }
}
#post {
  color: #1a202c;
}
#post p {
  text-align: justify;
}
#post a {
  color: #113cfc;
}
#post ol,
#post ul {
  padding-inline-start: 1.5em;
}
#post img {
  display: block;
  margin: auto;
}
#post table {
  border-collapse: collapse;
  margin: 25px 0;
  font-size: 0.9em;
  corner-radius: 2em;
  width: 100%;
}
#post table thead tr {
  background-color: #ccc;
  color: #fff;
  text-align: left;
}
#post table tbody tr:nth-of-type(even) {
  background-color: #f3f3f3;
}
#post table tbody tr:last-of-type {
  border-bottom: 1px solid #f3f3f3;
}
#post table th,
#post table td {
  padding: 12px 15px;
}
#post blockquote {
  background: #f9f9f9;
  border-left: 0.35em solid #ccc;
  margin: 1.5em 10px;
  padding: 0.5em 10px;
}
#post blockquote p {
  display: inline;
}
#post blockquote.pullquote {
  background: none;
  border-left: none;
  text-align: left;
  width: 45%;
  margin: 0;
  padding: 0;
  font-size: 1.1em;
  font-family: font-serif;
  color: #394867;
}
#post blockquote.pullquote.left {
  margin-right: 1em;
  float: left;
}
#post blockquote.pullquote.right {
  margin-left: 1em;
  float: right;
}
#post hr {
  background: #ccc;
  height: 1px;
  border: none;
}
#post .video-container {
  position: relative;
  padding-top: 56.25%;
  height: 0;
  overflow: hidden;
}
#post .video-container iframe,
#post .video-container object,
#post .video-container embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  margin-top: 0;
}
#post div.post-tags a {
  color: #394867;
}
#post p code {
  background: #f3f3f3;
  padding: 0.2em 0.2em;
}
@media (max-width: 768px) {
  #post p {
    font-size: 0.95em;
    line-height: 1.6;
  }
  #post h1,
  #post h2,
  #post h3,
  #post h4,
  #post h5,
  #post h6 {
    font-size: 1.1em;
    margin-top: 1.2em;
    margin-bottom: 0.8em;
  }
  #post h1 {
    font-size: 1.4em;
  }
  #post h2 {
    font-size: 1.3em;
  }
  #post h3 {
    font-size: 1.2em;
  }
  #post ol,
  #post ul {
    padding-inline-start: 1em;
    font-size: 0.95em;
  }
  #post li {
    margin-bottom: 0.3em;
  }
  #post table {
    font-size: 0.8em;
    margin: 15px 0;
  }
  #post table th,
  #post table td {
    padding: 8px 10px;
  }
  #post blockquote {
    margin: 1em 5px;
    padding: 0.3em 8px;
    font-size: 0.9em;
  }
  #post blockquote.pullquote {
    width: 100%;
    float: none;
    margin: 1em 0;
    font-size: 1em;
  }
  #post .video-container {
    margin: 1em 0;
  }
  #post div.post-tags {
    font-size: 0.9em;
  }
  #post p code {
    padding: 0.15em 0.15em;
    font-size: 0.9em;
  }
}
@media (max-width: 480px) {
  #post p {
    font-size: 0.9em;
    line-height: 1.5;
  }
  #post h1 {
    font-size: 1.3em;
  }
  #post h2 {
    font-size: 1.2em;
  }
  #post h3 {
    font-size: 1.1em;
  }
  #post ol,
  #post ul {
    padding-inline-start: 0.8em;
    font-size: 0.9em;
  }
  #post table {
    font-size: 0.75em;
  }
  #post table th,
  #post table td {
    padding: 6px 8px;
  }
  #post blockquote {
    margin: 0.8em 3px;
    padding: 0.25em 6px;
    font-size: 0.85em;
  }
  #post div.post-tags {
    font-size: 0.85em;
  }
  #post p code {
    padding: 0.1em 0.1em;
    font-size: 0.85em;
  }
}
#post pre[class*='language-'].line-numbers {
  position: relative;
  padding-left: 3.8em;
  counter-reset: linenumber;
  line-height: $line-height-code-block;
}
#post pre[class*='language-'].line-numbers > code {
  position: relative;
  line-height: $line-height-code-block;
  white-space: inherit;
  word-wrap: normal;
  word-break: normal;
  overflow-wrap: normal;
}
#post pre[class*='language-'].line-numbers .line-numbers-rows {
  position: absolute;
  top: 0;
  left: -3.8em;
  width: 3em;
  letter-spacing: -1px;
  font-size: 100%;
  pointer-events: none;
  user-select: none;
}
#post pre[class*='language-'].line-numbers .line-numbers-rows > span {
  display: block;
  counter-increment: linenumber;
  pointer-events: none;
}
#post pre[class*='language-'].line-numbers .line-numbers-rows > span:before {
  display: block;
  padding-right: 0.8em;
  color: var(--hlnumber-color);
  content: counter(linenumber);
  text-align: right;
}
pre[class*='language-'] .token {
  color: primary-color;
}
pre[class*='language-'] .token.class-name {
  color: #0076ff;
}
pre[class*='language-'] .token.function {
  color: #52006a;
}
pre[class*='language-'] .token.comment,
pre[class*='language-'] .token.prolog,
pre[class*='language-'] .token.doctype,
pre[class*='language-'] .token.cdata {
  color: rgba(149,165,166,0.8);
}
pre[class*='language-'] .token.punctuation {
  color: code-primary-color;
}
pre[class*='language-'] .token.namespace {
  opacity: 0.7;
}
pre[class*='language-'] .token.property {
  color: #52006a;
}
pre[class*='language-'] .token.tag {
  color: #52006a;
}
pre[class*='language-'] .token.string {
  color: rgba(149,165,166,0.8);
}
pre[class*='language-'] .token.selector {
  color: #52006a;
}
pre[class*='language-'] .token.attr-name {
  color: #ff0078;
}
pre[class*='language-'] .token.entity,
pre[class*='language-'] .token.url,
pre[class*='language-'] .language-css .token.string,
pre[class*='language-'] .style .token.string {
  color: rgba(149,165,166,0.8);
}
pre[class*='language-'] .token.attr-value {
  color: rgba(149,165,166,0.8);
}
pre[class*='language-'] .token.keyword,
pre[class*='language-'] .token.control,
pre[class*='language-'] .token.directive,
pre[class*='language-'] .token.unit {
  color: #ff0078;
}
pre[class*='language-'] .token.statement,
pre[class*='language-'] .token.regex,
pre[class*='language-'] .token.atrule {
  color: #52006a;
}
pre[class*='language-'] .token.placeholder,
pre[class*='language-'] .token.variable {
  color: #52006a;
}
pre[class*='language-'] .token.deleted {
  text-decoration: line-through;
}
pre[class*='language-'] .token.inserted {
  border-bottom: 1px dotted #202746;
  text-decoration: none;
}
pre[class*='language-'] .token.italic {
  font-style: italic;
}
pre[class*='language-'] .token.important,
pre[class*='language-'] .token.bold {
  font-weight: bold;
}
pre[class*='language-'] .token.important {
  color: #ff0078;
}
pre[class*='language-'] .token.entity {
  cursor: help;
}
pre[class*='language-'] pre > code.highlight {
  outline: 0.4em solid #c94922;
  outline-offset: 0.4em;
}
#post pre[class*='language-']::-webkit-scrollbar-thumb {
  background: var(--hlscrollbar-bg);
}
#post pre[class*='language-']:not(.line-numbers) {
  padding: 10px 20px;
}
#post pre[class*='language-'] .caption {
  font-size: 0.85em;
  color: rgba(149,165,166,0.8);
  line-height: 1em;
  margin-bottom: 1em;
}
#post pre[class*='language-'] .caption a {
  padding: 0.5em !important;
}
#post pre,
#page pre {
  min-height: 1.5rem;
  background: #f7f7f7;
}
#post pre,
#page pre,
#post code,
#page code {
  overflow: auto;
  font-size: 0.9em;
  font-family: JetBrains Mono, SFMono-Regular, Menlo, Monaco, Consolas, Liberation Mono, Courier New, monospace !important;
  border-radius: 0.3em;
}
@media (max-width: 768px) {
  #post pre,
  #page pre,
  #post code,
  #page code {
    font-size: 0.85em;
    line-height: 1.4;
  }
  #post pre,
  #page pre {
    padding: 8px 12px;
    margin: 1em 0;
  }
  #post pre[class*='language-']:not(.line-numbers),
  #page pre[class*='language-']:not(.line-numbers) {
    padding: 8px 12px;
  }
  #post pre[class*='language-'] .caption,
  #page pre[class*='language-'] .caption {
    font-size: 0.8em;
    margin-bottom: 0.8em;
  }
}
@media (max-width: 480px) {
  #post pre,
  #post code {
    font-size: 0.8em;
    line-height: 1.3;
  }
  #post pre {
    padding: 6px 10px;
    margin: 0.8em 0;
  }
  #post pre[class*='language-']:not(.line-numbers) {
    padding: 6px 10px;
  }
  #post pre[class*='language-'] .caption {
    font-size: 0.75em;
    margin-bottom: 0.6em;
  }
}
.prism-copy-btn {
  position: absolute;
  top: 5px;
  right: 5px;
  padding: 2px 8px;
  background: rgba(255,255,255,0.2);
  border: none;
  border-radius: 3px;
  color: #000;
  cursor: pointer;
  font-size: 12px;
  opacity: 0.3;
  transition: all 0.3s;
}
pre:hover .prism-copy-btn {
  background: rgba(0,0,0,0.2);
  opacity: 1;
  color: #fff;
}
.prism-copy-btn:hover {
  background: rgba(0,0,0,0.2);
}
.prism-copy-btn:active {
  background: rgba(0,0,0,0.3);
}
#post {
  position: relative;
}
#anchor-sidebar-container {
  position: fixed;
  top: 185px;
  right: 100px;
  max-height: calc(100vh - 120px);
  width: fit-content;
  padding: 16px;
  overflow-y: auto;
  z-index: 999;
  transition: all 0.3s ease;
border-h
  opacity: 1;
}
#anchor-sidebar-container::before {
  content: '';
  position: absolute;
  left: 0;
  top: 20%; /* 控制边框起始位置 */
  height: 60%; /* 控制边框高度 */
  width: 1px;
  background: rgba(0,0,0,0.141);
}
#anchor-sidebar-container.active {
  opacity: 1;
}
#anchor-sidebar-container .anchor-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
#anchor-sidebar-container .anchor-list .anchor-item {
  border-left: 3px solid transparent;
  transition: all 0.2s ease;
}
#anchor-sidebar-container .anchor-list .anchor-item a {
  display: block;
  color: #555;
  text-decoration: none;
  font-size: 0.92rem;
  line-height: 1.5;
  transition: all 0.2s ease;
}
#anchor-sidebar-container .anchor-list .anchor-item a:hover {
  color: $color-accent;
}
#anchor-sidebar-container .anchor-list .anchor-item.level-1 {
  padding-left: 0;
}
#anchor-sidebar-container .anchor-list .anchor-item.level-2 {
  padding-left: 15px;
}
#anchor-sidebar-container .anchor-list .anchor-item.level-3 {
  padding-left: 30px;
}
#anchor-sidebar-container .anchor-list .anchor-item.level-4 {
  padding-left: 45px;
}
#anchor-sidebar-container .anchor-list .anchor-item.active a {
  color: #000;
}
#anchor-sidebar-container .scroll-top-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 15px;
  padding: 8px;
  background: #f8f9fa;
  border-radius: 6px;
  color: #666;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
}
#anchor-sidebar-container .scroll-top-btn:hover {
  background: $color-accent;
  color: #fff;
}
#anchor-sidebar-container .scroll-top-btn:hover .fa {
  color: #fff;
}
#anchor-sidebar-container .scroll-top-btn .fa {
  margin-right: 6px;
  color: #888;
}
@media (max-width: 1300px) {
  #anchor-sidebar {
    display: none;
  }
}
