#postTopic {
  cursor: pointer;
  will-change: transform;
  transform: translateY(100%);
}
#postTopic p {
  color: var(--primary-text-color);
}
#postTopic.is-show-scrollToTop-tips {
  transition: transform 300ms linear 300ms;
  transform: translateY(-100%);
}
#postTopic.is-flash-scrollToTop-tips {
  transition: transform 300ms linear 900ms;
  transform: translateY(0);
}
#postTopic.is-switch-post-title {
  transition: none;
  transform: translateY(0);
}
#postTopic.is-show-post-title {
  transition: transform 300ms linear;
  transform: translateY(0);
}
#postTopic.is-hidden-topic-bar {
  transition: transform 100ms linear;
  transform: translateY(100%);
}
#postTopic.immediately-show {
  transition: none;
  transform: translateY(0);
}

.post-page .article-sidebar {
  position: sticky;
  top: 60px;
  height: fit-content;
  max-height: calc(100vh - 80px);
  overflow-y: auto;
}
.post-page .article-sidebar::-webkit-scrollbar {
  display: none;
}
.post-page .article-sidebar .toc {
  position: static;
  height: auto;
  max-height: none;
}
.post-page .article-sidebar .article-music-player {
  position: relative;
  right: auto;
  bottom: auto;
  width: 100%;
  max-width: 330px;
  margin-bottom: 1rem;
}
.post-page .article-graph-panel {
  margin-top: 1.5rem;
  padding: 0.75rem;
  border: 1px solid var(--border-line-color);
  border-radius: 6px;
  background: var(--second-bg-color);
}
.post-page .article-graph-panel h3 {
  margin-bottom: 0.5rem;
  color: var(--primary-text-color);
  font-size: 1rem;
}
.post-page .article-graph-canvas {
  height: 220px;
  overflow: hidden;
  cursor: grab;
  border-radius: 6px;
  background: var(--third-bg-color);
  touch-action: none;
}
.post-page .article-graph-canvas:active {
  cursor: grabbing;
}
.post-page .article-graph-canvas svg {
  display: block;
  width: 100%;
  height: 100%;
}
.post-page .article-graph-canvas .article-graph-edge {
  stroke: var(--border-line-color);
  stroke-width: 1.2;
}
.post-page .article-graph-canvas .article-graph-node {
  cursor: pointer;
}
.post-page .article-graph-canvas .article-graph-node circle {
  fill: var(--graph-post-color);
  stroke: var(--second-bg-color);
  stroke-width: 2;
}
.post-page .article-graph-canvas .article-graph-node.is-current circle {
  fill: #3273dc;
}
.post-page .article-graph-canvas .article-graph-node text {
  fill: var(--second-text-color);
  font-size: 10px;
  pointer-events: none;
}
.post-page .post-content code {
  border-radius: 4px;
  background: var(--third-bg-color);
}
.post-page .post-content figure.highlight {
  position: relative;
  margin: 1.5rem 0;
  overflow-x: auto;
  text-align: left;
  border: 1px solid var(--border-line-color);
  border-radius: 6px;
  background: var(--pre-code-bg-color);
}
.post-page .post-content figure.highlight table {
  width: 100%;
  margin: 0;
  border: 0;
  background: transparent;
}
.post-page .post-content figure.highlight pre {
  margin: 0;
  padding: 1rem 0;
  border: 0;
  background: transparent;
}
.post-page .post-content figure.highlight .gutter {
  width: 1%;
  padding: 0 1rem;
  user-select: none;
  color: var(--second-text-color);
  border-right: 1px solid var(--border-line-color);
}
.post-page .post-content figure.highlight .code {
  width: 99%;
  padding: 0 1rem;
}
.post-page .post-content figure.highlight .code-language {
  position: absolute;
  top: 0.5rem;
  right: 4.5rem;
  z-index: 1;
  padding: 0.1rem 0.5rem;
  color: var(--second-text-color);
  font-family: monospace;
  font-size: 0.75rem;
  line-height: 1.25;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-radius: 999px;
  background: var(--third-bg-color);
}
.post-page .post-content figure.highlight .copy-code {
  position: absolute;
  top: 0.5rem;
  right: 0.75rem;
  z-index: 1;
  padding: 0.1rem 0.5rem;
  color: var(--second-text-color);
  font-family: inherit;
  font-size: 0.75rem;
  line-height: 1.25;
  cursor: pointer;
  border: 0;
  border-radius: 999px;
  background: var(--third-bg-color);
}
.post-page .post-content figure.highlight .copy-code:hover {
  color: #3273dc;
}
.post-page .post-content figure.highlight .line {
  min-height: 1.5em;
}
.post-page .post-content .mermaid-diagram {
  position: relative;
  margin: 1.5rem 0;
  padding: 2.75rem 1rem 1rem;
  overflow-x: auto;
  text-align: center;
  border: 1px solid var(--border-line-color);
  border-radius: 6px;
  background: var(--pre-code-bg-color);
}
.post-page .post-content .mermaid-diagram svg {
  max-width: 100%;
}
.post-page .post-content .mermaid-diagram .mermaid-copy-menu {
  position: absolute;
  top: 0.5rem;
  right: 0.75rem;
  z-index: 2;
}
.post-page .post-content .mermaid-diagram .mermaid-copy-toggle,
.post-page .post-content .mermaid-diagram .mermaid-copy-option {
  padding: 0.35rem 0.6rem;
  color: var(--second-text-color);
  font-family: inherit;
  font-size: 0.75rem;
  line-height: 1.25;
  cursor: pointer;
  border: 0;
  background: var(--third-bg-color);
}
.post-page .post-content .mermaid-diagram .mermaid-copy-toggle:hover,
.post-page .post-content .mermaid-diagram .mermaid-copy-option:hover {
  color: #3273dc;
}
.post-page .post-content .mermaid-diagram .mermaid-error {
  margin-bottom: 0.75rem;
  color: #c0392b;
  font-weight: bold;
  text-align: left;
}
.post-page .post-content .mermaid-diagram .mermaid-source {
  margin: 0;
  padding: 1rem;
  overflow-x: auto;
  color: var(--second-text-color);
  text-align: left;
  border: 1px solid var(--border-line-color);
  border-radius: 6px;
  background: var(--third-bg-color);
}
.post-page .post-content .mermaid-diagram .mermaid-copy-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  padding: 0;
  border-radius: 999px;
}
.post-page .post-content .mermaid-diagram .mermaid-copy-toggle svg {
  width: 1rem;
  height: 1rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.75;
}
.post-page .post-content .mermaid-diagram .mermaid-copy-options {
  position: absolute;
  top: calc(100% + 0.35rem);
  right: 0;
  display: none;
  min-width: 10rem;
  padding: 0.25rem;
  text-align: left;
  border: 1px solid var(--border-line-color);
  border-radius: 6px;
  background: var(--pre-code-bg-color);
  box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.1);
}
.post-page .post-content .mermaid-diagram .mermaid-copy-menu.is-open .mermaid-copy-options {
  display: grid;
}
.post-page .post-content .mermaid-diagram .mermaid-copy-option {
  width: 100%;
  text-align: left;
  border-radius: 4px;
}
.post-page .post-content pre {
  padding: 0;
  background: transparent;
}
.post-page .post-content pre code {
  padding: 15px;
  border: 1px solid var(--border-line-color);
  background: var(--pre-code-bg-color);
}
.post-page .post-content .hljs,
.post-page .post-content figure.highlight {
  color: var(--second-text-color);
}
.post-page .post-content figure.highlight .comment {
  color: #6a737d;
}
.post-page .post-content figure.highlight .keyword,
.post-page .post-content figure.highlight .selector-tag,
.post-page .post-content figure.highlight .title {
  color: var(--code-keyword-color);
}
.post-page .post-content figure.highlight .string,
.post-page .post-content figure.highlight .attr,
.post-page .post-content figure.highlight .attribute {
  color: var(--code-string-color);
}
.post-page .post-content figure.highlight .number,
.post-page .post-content figure.highlight .literal,
.post-page .post-content figure.highlight .built_in {
  color: var(--code-number-color);
}
.post-page .post-content figure.highlight .title,
.post-page .post-content figure.highlight .function_,
.post-page .post-content figure.highlight .number {
  display: inline;
  margin: 0;
  padding: 0;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
}
.post-page .post-content img {
  display: block;
  margin: 0 auto;
  max-height: 500px;
  border-radius: 6px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.05);
  opacity: 0;
  will-change: opacity;
}
.post-page .post-content a {
  color: #3273dc;
}
.post-page .jump-container .button {
  max-width: calc(50% - 5px);
}
.post-page .jump-container .button span {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.post-page .comment-container {
  border-top: 1px solid var(--border-line-color);
}
.post-page .toc {
  position: sticky;
  top: 60px;
  margin-left: 0;
  margin-right: 0;
  padding-left: 15px;
  height: calc(100vh - 100px);
  overflow: auto;
  list-style: none !important;
  border-left: 1px solid var(--border-line-color);
}
.post-page .toc::-webkit-scrollbar {
  display: none;
}
.post-page .toc ol {
  margin-top: 5px;
  margin-left: 15px;
  list-style: none !important;
}
.post-page .toc .is-active span {
  color: #3273dc !important;
}
.post-page :target {
  padding-top: 60px;
  margin-top: -60px !important;
}