body {
  margin: 0;
}
html,
body,
.container {
  height: 100%;
  font-family: Hiragino Sans GB, Microsoft YaHei, WenQuanYi, Airal, sans-serif;
  color: var(--text);
}
.container {
  max-width: 840px;
  margin: 0 auto;
}
a {
  color: var(--ink);
  text-decoration: none;
}
.home {
  display: table;
  width: 100%;
  height: 100%;
}
.home .info {
  display: table-cell;
  vertical-align: middle;
  text-align: center;
}
.home .info .logo {
  font-size: 2.5em;
  font-weight: bold;
}
.home .info .subtitle {
  font-size: 14px;
  color: var(--muted);
}
.home .info .sns {
  margin: 1em auto;
}
.home .info .sns a {
  width: 55px;
  color: var(--muted);
  display: inline-block;
}
.home .info .sns a:hover {
  color: var(--ink);
}
.home .info footer {
  border: 0;
  color: var(--ink);
  padding: 0;
}
.page {
  margin: 0 20px;
  margin-bottom: 2em;
}
.page p {
  line-height: 1.5em;
}
.revision-history {
  margin: 32px 0;
}
.revision-history h2 {
  font-size: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}
.revision-intro {
  color: var(--muted);
  font-size: 13px;
}
.revision-entry {
  margin-top: 24px;
}
.revision-entry h3 {
  font-family: ui-monospace, monospace;
  font-size: 14px;
  font-weight: normal;
  color: var(--secondary);
}
.revision-entry ul {
  padding-left: 20px;
}
.revision-entry li {
  margin: 10px 0;
  line-height: 1.8;
  overflow-wrap: anywhere;
}
.revision-entry strong {
  font-weight: 500;
}
/* http://jmblog.github.com/color-themes-for-google-code-highlightjs */
/* Tomorrow Comment */
.highlight .comment,
.highlight .quote {
  color: #8e908c;
}
/* Tomorrow Red */
.highlight .variable,
.highlight .template-variable,
.highlight .tag,
.highlight .name,
.highlight .selector-id,
.highlight .selector-class,
.highlight .regexp,
.highlight .deletion {
  color: #c82829;
}
/* Tomorrow Orange */
.highlight .number,
.highlight .built_in,
.highlight .builtin-name,
.highlight .literal,
.highlight .type,
.highlight .params,
.highlight .meta,
.highlight .link {
  color: #f5871f;
}
/* Tomorrow Yellow */
.highlight .attribute {
  color: #eab700;
}
/* Tomorrow Green */
.highlight .string,
.highlight .symbol,
.highlight .bullet,
.highlight .addition {
  color: #718c00;
}
/* Tomorrow Blue */
.highlight .title,
.highlight .section {
  color: #4271ae;
}
/* Tomorrow Purple */
.highlight .keyword,
.highlight .selector-tag {
  color: #8959a8;
}
.highlight {
  display: block;
  overflow-x: auto;
  background: var(--surface);
  color: var(--text);
  padding: 0.5em;
}
.highlight .emphasis {
  font-style: italic;
}
.highlight .strong {
  font-weight: bold;
}
.header {
  margin-bottom: 1em;
  padding: 0 20px;
}
.header .blog-title {
  font-size: 16px;
  font-family: "Comic Sans MS", cursive, sans-serif;
  text-align: center;
  padding-top: 20px;
}
.header .subtitle {
  font-size: 16px;
  color: var(--muted);
  font-style: italic;
  text-align: right;
}
.header .menu {
  display: flex;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--ink);
  margin-top: 5px;
}
.header .menu .menu-item {
  font-size: 18px;
  font-family: Microsoft Yahei, "Comic Sans MS", cursive, sans-serif;
  margin-left: 0;
  margin-right: 40px;
  margin-top: 3px;
  margin-bottom: 5px;
  padding: 1.5px 0 0 0;
  float: none;
  display: inline-block;
}
.header .menu .menu-item-link {
  color: var(--muted);
}
.header .menu .menu-item-link:hover {
  color: var(--ink);
}
.post {
  padding: 0 20px;
  margin-bottom: 1.5em;
}
.post img {
  max-width: 100%;
}
.post table {
  border-collapse: collapse;
  border-spacing: 0;
}
.post table td,
.post table th {
  padding: 6px 13px;
  border: 1px solid var(--border);
}
.post hr {
  margin: 1.5em 0;
}
.post .post-content {
  text-align: justify;
}
.post .post-content a {
  border-bottom: 1px dotted;
}
.post .post-content a:hover {
  border-bottom: 1px solid;
}
.post .post-content ul,
.post .post-content ol {
  text-align: left;
}
.post .post-content ul li,
.post .post-content ol li {
  padding: 5px;
  line-height: 1.5em;
}
.post figure {
  margin: 0;
}
.post figure table {
  width: 100%;
}
.post figure table .code {
  border: 0;
  padding: 0;
}
.post figure .gutter {
  display: none;
}
.post blockquote {
  margin: 0;
  padding: 0 15px;
  color: var(--secondary);
  border-left: 4px solid var(--border);
}
.post pre {
  font-family: initial;
  margin: 0;
  padding: 0.5em 1.5em;
  overflow: auto;
  font-size: 85%;
  line-height: 1.8;
  background-color: var(--code-bg);
  border: 1px solid var(--border);
}
.post code {
  background: var(--code-bg);
  border: 1px solid var(--border);
  font-family: inherit;
  font-size: 90%;
  margin: 5px;
  padding: 0 5px;
}
.post p {
  line-height: 1.5em;
}
.post .post-footer {
  line-height: 1;
  min-height: 1em;
}
.post .post-footer .top {
  float: right;
  color: var(--secondary);
}
.post .post-footer .top:hover {
  color: var(--ink);
}
.post .post-footer .post-tag-list {
  display: inline-block;
  padding: 0;
  margin: 0 0 0.5em 0;
  color: var(--muted);
}
.post .post-footer .post-tag-list .post-tag-list-item {
  display: inline-block;
  margin: 0 1em 0 0;
}
.post .post-footer .post-tag-list .post-tag-list-item a {
  font-size: 85%;
}
.post .post-footer .post-tag-list .post-tag-list-item:before {
  content: '#';
}
.article-title {
  font-size: 1.5em;
  line-height: 1.2em;
  border-bottom: 1px solid var(--ink);
  text-align: center;
}
.file-title {
  font-size: 1.5em;
  line-height: 1.2em;
  border-bottom: 1px dashed var(--muted);
  text-align: center;
}
.archive {
  padding: 0 20px;
  margin-bottom: 1em;
}
.archive .post-archive {
  list-style: none;
  padding: 0;
}
.archive .post-archive .post-item {
  margin: 6px 0;
  line-height: 1.8;
}
.archive .post-archive .post-item .post-date {
  float: right;
}
@media screen and (max-width: 425px) {
  .archive .post-archive .post-item .post-date {
    float: none;
    margin-left: 0.5em;
    font-size: 90%;
    color: var(--muted);
  }
}
.archive .post-archive .post-item .post-title {
  border-bottom: 1px dotted;
}
.archive .post-archive .post-item .post-title:hover {
  border-bottom: 1px solid;
}
.page-nav {
  padding: 0 20px;
}
.page-nav .prev,
.page-nav .page-number {
  padding: 10px 20px 10px 0;
}
.page-nav .next {
  float: right;
}
.page-nav a {
  color: var(--secondary);
}
.page-nav a:hover {
  color: var(--ink);
}
footer {
  margin: 0.5em 20px 0 20px;
  border-top: 3px double var(--border);
  padding: 1em 0 1em 0;
  font-size: 80%;
  color: var(--muted);
}
footer .author {
  color: var(--ink);
}
/* Accessibility and migrated content behavior; preserve the original layout. */
.skip-link,
.migration-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}
.skip-link:focus {
  width: auto;
  height: auto;
  clip: auto;
  padding: 8px;
  background: var(--surface);
  z-index: 100;
}
.post-content figure.highlight {
  max-width: 100%;
  overflow-x: auto;
}
.post-content .MathJax_Display {
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
}
.post-content img,
.page-content img {
  max-width: 100%;
  height: auto;
  cursor: zoom-in;
}
#image-viewer {
  border: 0;
  padding: 2.5rem 1rem 1rem;
  max-width: 92vw;
  max-height: 92vh;
  background: var(--surface);
}
#image-viewer::backdrop {
  background: rgba(0,0,0,0.8);
}
#image-viewer img {
  display: block;
  max-width: calc(92vw - 34px);
  max-height: 80vh;
  object-fit: contain;
}
.image-viewer-close {
  position: absolute;
  top: 0.5rem;
  right: 0.75rem;
  cursor: pointer;
}
/* Visit counts use the same quiet metadata style as dates. */
.visit-counter {
  color: var(--muted);
  font-size: 12px;
}
.visit-value {
  font-variant-numeric: tabular-nums;
}
.post-views {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  column-gap: 12px;
  row-gap: 6px;
  margin: 0 0 24px;
  text-align: center;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
  font-variant-numeric: tabular-nums;
}
.post-meta-item {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  white-space: nowrap;
}
.post-meta-item::before {
  content: '·';
  margin-right: 8px;
  color: var(--border-strong);
}
.post-meta-item:first-child::before {
  content: none;
}
.archive .post-archive .post-item {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 20px;
}
.archive .post-archive .post-item .post-title {
  min-width: 0;
  overflow-wrap: anywhere;
}
.archive .post-archive .post-item .post-date {
  float: none;
  flex-shrink: 0;
}
footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 20px;
}
footer .site-views {
  font-size: inherit;
}
.visit-value.is-unavailable {
  font-size: 11px;
}
@media screen and (max-width: 600px) {
  .post-meta-item:last-child {
    flex-basis: 100%;
    justify-content: center;
  }
  .post-meta-item:last-child::before {
    content: none;
  }
  .archive .post-archive .post-item {
    flex-wrap: wrap;
    gap: 0;
    margin: 12px 0;
  }
  .archive .post-archive .post-item .post-title {
    flex-basis: 100%;
  }
  .archive .post-archive .post-item .post-date {
    margin-left: 16px;
    font-size: 12px;
    color: var(--muted);
  }
}
/* Search and article navigation follow the original monochrome theme. */
.header .menu .menu-item-link.is-active {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 5px;
}
.header .menu .search-menu-item {
  display: flex;
  align-items: center;
  margin-left: auto;
  margin-right: 0;
}
.search-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 24px;
}
.search-toggle svg {
  display: block;
}
.search-toggle,
.search-close,
.search-retry {
  font: inherit;
  cursor: pointer;
  color: var(--secondary);
  background: transparent;
  border: 0;
  padding: 0;
}
.search-toggle:hover,
.search-close:hover {
  color: var(--ink);
}
a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible {
  outline: 2px solid var(--secondary);
  outline-offset: 4px;
}
.search-dialog {
  box-sizing: border-box;
  width: 680px;
  max-width: calc(100vw - 40px);
  max-height: 85vh;
  max-height: calc(100dvh - 48px);
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--surface);
  color: var(--text);
  box-shadow: 0 12px 48px rgba(0,0,0,0.15);
}
.search-dialog::backdrop {
  background: rgba(0,0,0,0.35);
}
.search-dialog-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.search-dialog-heading h2 {
  margin: 0;
  font-size: 20px;
}
.search-close {
  font-size: 13px;
}
.search-form {
  margin-top: 24px;
}
.search-form label {
  display: block;
  margin-bottom: 8px;
  color: var(--secondary);
  font-size: 13px;
}
.search-form input {
  box-sizing: border-box;
  width: 100%;
  font: inherit;
  font-size: 16px;
  padding: 10px 12px;
  border: 1px solid var(--border-strong);
  border-radius: 3px;
  background: var(--surface);
  color: var(--ink);
}
#search-status {
  margin: 16px 0;
  font-size: 13px;
  color: var(--secondary);
}
.search-retry {
  text-decoration: underline;
}
.search-results {
  list-style: none;
  padding: 0;
  margin: 0;
}
.search-results li {
  border-top: 1px solid var(--border);
  padding: 16px 0;
}
.search-results a {
  font-size: 16px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}
.search-results a:hover {
  text-decoration: underline;
}
.search-results p {
  margin: 6px 0 0;
  color: var(--secondary);
  font-size: 13px;
  line-height: 1.7;
  overflow-wrap: anywhere;
}
.search-results mark {
  background: var(--mark-bg);
  color: inherit;
}
.article-toc {
  margin: 20px 0 24px;
  border: 0;
  padding: 0;
  font-size: 13px;
  line-height: 1.6;
}
.article-toc summary {
  cursor: pointer;
  color: var(--secondary);
  font-size: 12px;
  font-weight: 500;
}
.article-toc nav {
  max-height: 250px;
  overflow-y: auto;
  margin-top: 14px;
  border-left: 1px solid #e5e7e9;
  scrollbar-width: thin;
}
.article-toc .toc,
.article-toc .toc-child {
  list-style: none;
  margin: 0;
  padding: 0;
}
.article-toc .toc-item,
.article-toc .toc-child li {
  margin: 0;
  padding: 0;
}
.article-toc .toc-link {
  position: relative;
  display: block;
  margin-left: -1px;
  padding: 7px 10px 7px 14px;
  color: var(--muted);
  overflow-wrap: anywhere;
  text-decoration: none;
}
.article-toc .toc-child .toc-link {
  padding-left: 26px;
  font-size: 12px;
}
.article-toc .toc-child .toc-child .toc-link {
  padding-left: 38px;
}
.article-toc .toc-link:hover {
  color: var(--ink);
  background: #f6f7f8;
}
.article-toc .toc-link.is-current {
  color: var(--ink);
  font-weight: 500;
}
.article-toc .toc-link.is-current::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: #555d65;
  border-radius: 1px;
}
.article-toc .toc-link:focus-visible {
  outline-offset: -2px;
}
@media screen and (min-width: 1100px) {
  .container.article-with-toc {
    max-width: 1092px;
  }
  .article-with-toc .header,
  .article-with-toc footer {
    max-width: 800px;
  }
  .article-with-toc .post {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 220px;
    column-gap: 32px;
  }
  .article-with-toc .post > :not(.article-toc) {
    grid-column: 1;
    min-width: 0;
  }
  .article-with-toc .article-toc {
    grid-column: 2;
    grid-row: 1/span 8;
    align-self: start;
    position: sticky;
    top: 24px;
    margin: 20px 0 0;
    padding: 0;
  }
  .article-with-toc .article-toc summary {
    list-style: none;
    cursor: pointer;
  }
  .article-with-toc .article-toc summary::-webkit-details-marker {
    display: none;
  }
  .article-with-toc .article-toc nav {
    max-height: calc(100vh - 120px);
  }
}
.post-content h1,
.post-content h2,
.post-content h3 {
  scroll-margin-top: 20px;
}
.post-navigation {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px;
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}
.post-navigation a {
  display: flex;
  flex-direction: column;
  gap: 6px;
  overflow-wrap: anywhere;
  line-height: 1.6;
}
.article-navigation-label {
  font-size: 12px;
  color: var(--muted);
}
.article-navigation-title {
  font-size: 15px;
  color: var(--text);
}
.post-navigation a:hover .article-navigation-title {
  color: var(--ink);
  text-decoration: underline;
}
.article-next {
  grid-column: 2;
  text-align: right;
}
.article-actions {
  margin-top: 20px;
  text-align: right;
  font-size: 12px;
}
.article-actions a {
  color: var(--muted);
}
@media screen and (max-width: 720px) {
  .search-dialog {
    padding: 20px;
  }
  .post-navigation {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }
  .article-next {
    grid-column: auto;
    text-align: left;
  }
  .article-toc {
    padding: 0;
  }
  .post-content .MathJax {
    display: inline-block;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    vertical-align: middle;
  }
}
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}
/* Shared light palette for articles, navigation and dialogs. */
:root {
  color-scheme: light;
  --surface: #fff;
  --text: #444;
  --ink: #17191b;
  --secondary: #666;
  --muted: #808080;
  --border: #d3d6d9;
  --border-strong: #a4a9ae;
  --code-bg: #f7f7f7;
  --mark-bg: #f3e8bf;
}
html,
body {
  background: var(--surface);
}
.image-viewer-open {
  overflow: hidden;
}
#image-viewer {
  box-sizing: border-box;
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 4px;
}
#image-viewer img {
  cursor: zoom-out;
}
.image-viewer-close {
  border: 0;
  padding: 4px 8px;
  border-radius: 3px;
  font: inherit;
  font-size: 13px;
  color: var(--ink);
  background: var(--code-bg);
}
/* Keep diagrams and photographs in their original colors. */
.post-content img,
.page-content img {
  box-sizing: border-box;
}
.post-content a img,
.page-content a img {
  cursor: pointer;
}
/* Article typography: a quiet reading column with consistent spacing. */
.container.article-page {
  --article-width: clamp(620px, 62vw, 1000px);
  width: calc(var(--article-width) + 40px);
  max-width: 100%;
}
.article-page .post {
  margin-bottom: 40px;
}
.article-page .post-title .file-title {
  margin: 36px 0 14px;
  border: 0;
  font-size: 30px;
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: -0.02em;
  overflow-wrap: anywhere;
}
.article-page .post-views {
  margin-bottom: 32px;
  padding-bottom: 26px;
  border-bottom: 1px solid #eceef0;
  column-gap: 16px;
  row-gap: 8px;
  font-size: 12px;
  color: #858b91;
}
.article-page .post-content {
  min-width: 0;
  display: flow-root;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: 17px;
  line-height: 1.85;
  color: #3e4349;
  text-align: left;
  overflow-wrap: break-word;
}
.article-page .post-content p {
  margin: 0 0 1.25em;
  line-height: inherit;
}
.article-page .post-content p:empty {
  display: none;
}
.article-page .post-content > :first-child {
  margin-top: 0;
}
.article-page .post-content h1,
.article-page .post-content h2,
.article-page .post-content h3,
.article-page .post-content h4 {
  font-weight: 600;
  line-height: 1.5;
  color: #252b31;
  scroll-margin-top: 32px;
}
.article-page .post-content h1 {
  font-size: 25px;
  margin: 2em 0 0.75em;
}
.article-page .post-content h2 {
  font-size: 22px;
  margin: 1.8em 0 0.7em;
}
.article-page .post-content h3 {
  font-size: 19px;
  margin: 1.6em 0 0.65em;
}
.article-page .post-content h4 {
  font-size: 17px;
  margin: 1.5em 0 0.6em;
}
.article-page .post-content h1 + h2,
.article-page .post-content h2 + h3 {
  margin-top: 1em;
}
.article-page .post-content font[size] {
  font-size: inherit;
}
.article-page .post-content strong {
  font-weight: 600;
}
.article-page .post-content a {
  border-bottom-color: #b6bec5;
  text-underline-offset: 4px;
}
.article-page .post-content .headerlink {
  border: 0;
}
.article-page .post-content blockquote {
  margin: 1.5em 0;
  padding: 2px 0 2px 20px;
  border-left: 2px solid #d8dde1;
  color: #727a82;
}
.article-page .post-content blockquote p:last-child {
  margin-bottom: 0;
}
.article-page .post-content ul,
.article-page .post-content ol {
  padding-left: 1.5em;
  margin: 1.2em 0;
}
.article-page .post-content li {
  padding: 0 0 0 0.2em;
  margin: 0.45em 0;
  line-height: inherit;
}
.article-page .post-content li::marker {
  color: #9098a0;
}
.article-page .post-content li > p {
  margin-bottom: 0.6em;
}
.article-page .post-content li > ul,
.article-page .post-content li > ol {
  margin: 0.5em 0;
}
.article-page .post-content hr {
  margin: 2.2em 0;
  border: 0;
  border-top: 1px solid #e5e9ec;
}
.article-page .post-content img {
  display: block;
  float: none !important;
  max-width: 100%;
  height: auto;
  margin: 28px auto !important;
}
.article-page .post-content figure:not(.highlight) {
  margin: 28px 0;
}
.article-page .post-content figcaption {
  margin-top: 10px;
  text-align: center;
  font-size: 13px;
  line-height: 1.6;
  color: #7d858e;
}
.article-page .post-content .MathJax_Display,
.article-page .post-content .MathJax_SVG_Display,
.article-page .post-content mjx-container[display="true"] {
  margin: 1.6em 0 !important;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 4px 0 10px;
}
.article-page .post-content .MathJax_Display .MathJax {
  display: inline-block;
  max-width: none;
  overflow: visible;
}
.article-page .post-content pre,
.article-page .post-content code {
  font-family: "Cascadia Code", "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-variant-ligatures: none;
}
.article-page .post-content code {
  font-size: 0.87em;
  margin: 0;
  padding: 2px 5px;
  border: 0;
  border-radius: 3px;
  background: #f2f4f6;
}
.article-page .post-content pre {
  box-sizing: border-box;
  max-width: 100%;
  margin: 1.5em 0;
  padding: 18px 20px;
  border: 1px solid #e9ecef;
  border-radius: 5px;
  background: #f6f8fa;
  font-size: 14px;
  line-height: 1.75;
  text-align: left;
  tab-size: 4;
  white-space: pre;
  overflow-wrap: normal;
  overflow-x: auto;
}
.article-page .post-content pre code {
  padding: 0;
  border: 0;
  background: transparent;
  font-size: inherit;
  white-space: inherit;
}
.article-page .post-content figure.highlight {
  margin: 1.5em 0;
  padding: 0;
  border: 1px solid #e9ecef;
  border-radius: 5px;
  background: #f6f8fa;
  overflow-x: auto;
}
.article-page .post-content figure.highlight table {
  margin: 0;
  width: 100%;
  border: 0;
  font-size: inherit;
}
.article-page .post-content figure.highlight td {
  padding: 0;
  border: 0;
  background: transparent;
}
.article-page .post-content figure.highlight pre {
  max-width: none;
  margin: 0;
  border: 0;
  border-radius: 0;
  overflow: visible;
}
.article-page .post-content .article-table-scroll {
  max-width: 100%;
  margin: 1.5em 0;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: thin;
}
.article-page .post-content table {
  width: 100%;
  margin: 1.5em 0;
  font-size: 15px;
  line-height: 1.7;
  text-align: left;
}
.article-page .post-content .article-table-scroll > table {
  margin: 0;
}
.article-page .post-content th,
.article-page .post-content td {
  padding: 12px 16px;
  border: 1px solid #e2e7eb;
}
.article-page .post-content th {
  font-weight: 600;
  color: #3c454d;
  background: #f5f7f9;
}
.article-page .post-content tbody tr:nth-child(even) {
  background: #fafbfc;
}
.article-page .post-navigation {
  margin-top: 48px;
  padding-top: 24px;
  border-color: #e5e9ec;
}
@media screen and (min-width: 1100px) {
  .container.article-page.article-with-toc {
    width: calc(var(--article-width) + 292px);
    max-width: 100%;
  }
  .article-page.article-with-toc .header,
  .article-page.article-with-toc footer {
    max-width: var(--article-width);
  }
  .article-page.article-with-toc .article-toc {
    margin-top: 42px;
  }
}
@media screen and (max-width: 600px) {
  .article-page .post-title .file-title {
    margin-top: 28px;
    font-size: 25px;
  }
  .article-page .post-views {
    padding-bottom: 22px;
    margin-bottom: 26px;
    column-gap: 10px;
  }
  .article-page .post-content {
    font-size: 16px;
    line-height: 1.85;
  }
  .article-page .post-content h1 {
    font-size: 23px;
  }
  .article-page .post-content h2 {
    font-size: 20px;
  }
  .article-page .post-content h3 {
    font-size: 18px;
  }
  .article-page .post-content blockquote {
    padding-left: 14px;
  }
  .article-page .post-content img {
    margin-top: 22px !important;
    margin-bottom: 22px !important;
  }
  .article-page .post-content pre {
    padding: 14px 16px;
    font-size: 13px;
  }
  .article-page .post-content th,
  .article-page .post-content td {
    padding: 10px 12px;
  }
}
/* Shared navigation, footer and page states. */
.container {
  --article-width: clamp(620px, 62vw, 1000px);
  width: calc(var(--article-width) + 40px);
  max-width: 100%;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}
.page {
  margin-top: 30px;
  line-height: 1.85;
  color: #47515a;
}
.page p {
  line-height: inherit;
}
footer {
  align-items: baseline;
  margin-top: 36px;
  padding: 20px 0 28px;
  border-top: 1px solid #e5e9ed;
  font-size: 12px;
  line-height: 1.7;
  color: #89929a;
}
footer .author {
  color: #66717c;
}
footer .footer-meta {
  display: inline-flex;
  gap: 7px;
  align-items: baseline;
}
.footer-links {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 16px;
}
.rss-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #77828c;
}
.rss-link:hover {
  color: #26333e;
}
.page-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 28px 20px;
  padding: 0;
  font-size: 13px;
  line-height: 1.5;
}
.page-nav .prev,
.page-nav .next,
.page-nav .page-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-width: 36px;
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid transparent;
  border-radius: 4px;
  color: #6f7a84;
}
.page-nav a:hover {
  background: #f3f6f8;
  color: #27343f;
}
.page-nav .prev {
  margin-right: auto;
}
.page-nav .next {
  float: none;
  margin-left: auto;
}
.page-nav .current {
  background: #edf1f4;
  color: #2d3944;
  font-weight: 600;
}
.page-nav .is-disabled {
  color: #b4bcc3;
}
.pagination-status {
  display: none;
  color: #84909a;
  font-variant-numeric: tabular-nums;
}
.empty-state {
  padding: 64px 0 80px;
  color: #7e8992;
}
.empty-state h1 {
  margin: 0 0 14px;
  color: #37434e;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.5;
}
.empty-state p {
  margin: 0 0 22px;
  font-size: 15px;
  line-height: 1.85;
}
.empty-state .state-code {
  font-size: 13px;
  letter-spacing: 0.12em;
  color: #9aa4ad;
  margin-bottom: 12px;
}
.not-found {
  margin: 0 20px;
}
.state-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}
.state-link {
  display: inline-block;
  padding: 0;
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 14px;
  color: #536473;
  text-decoration: underline;
  text-underline-offset: 5px;
  cursor: pointer;
}
.state-link:hover {
  color: #253745;
}
.search-hint {
  margin-top: -4px;
  font-size: 13px;
  color: #89949d;
  line-height: 1.8;
}
.related-posts {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid #e5e9ec;
}
.related-posts h2 {
  margin: 0 0 16px;
  color: #7c8790;
  font-size: 13px;
  font-weight: 500;
}
.related-posts ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.related-posts li {
  margin: 0;
}
.related-posts a {
  display: inline-block;
  padding: 8px 0;
  color: #4b5965;
  font-size: 15px;
  line-height: 1.7;
  overflow-wrap: anywhere;
}
.related-posts a:hover {
  color: #27343f;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.related-posts + .post-navigation {
  margin-top: 28px;
}
@media screen and (max-width: 600px) {
  .page-nav {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 8px;
  }
  .page-nav .page-number,
  .page-nav .space {
    display: none;
  }
  .page-nav .prev {
    grid-column: 1;
    grid-row: 1;
    margin: 0;
    justify-self: start;
    padding: 8px 4px;
  }
  .page-nav .next {
    grid-column: 3;
    grid-row: 1;
    margin: 0;
    justify-self: end;
    padding: 8px 4px;
  }
  .page-nav .pagination-status {
    display: block;
    grid-column: 2;
    grid-row: 1;
    white-space: nowrap;
  }
  footer {
    align-items: flex-start;
    gap: 6px 16px;
    padding-top: 16px;
  }
  .footer-links {
    gap: 12px;
  }
  .empty-state {
    padding-top: 40px;
    padding-bottom: 56px;
  }
  .empty-state h1 {
    font-size: 22px;
  }
}
