@charset "UTF-8";
html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
}

main {
  display: block;
}

h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

hr {
  box-sizing: content-box;
  height: 0;
  overflow: visible;
}

pre {
  font-family: monospace, monospace;
  font-size: 1em;
}

a {
  background-color: rgba(255, 255, 255, 0);
}

abbr[title] {
  border-bottom: none;
  text-decoration: underline;
  text-decoration: underline dotted;
}

b, strong {
  font-weight: bolder;
}

code, kbd, samp {
  font-family: monospace, monospace;
  font-size: 1em;
}

small {
  font-size: 80%;
}

sub, sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

img {
  border-style: none;
}

button, input, optgroup, select, textarea {
  font-family: inherit;
  font-size: 100%;
  line-height: 1.15;
  margin: 0;
}

button, input {
  overflow: visible;
}

button, select {
  text-transform: none;
}

button, [type=button], [type=reset], [type=submit] {
  -webkit-appearance: button;
}

button::-moz-focus-inner, [type=button]::-moz-focus-inner, [type=reset]::-moz-focus-inner, [type=submit]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

button:-moz-focusring, [type=button]:-moz-focusring, [type=reset]:-moz-focusring, [type=submit]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

fieldset {
  padding: 0.35em 0.75em 0.625em;
}

legend {
  box-sizing: border-box;
  color: inherit;
  display: table;
  max-width: 100%;
  padding: 0;
  white-space: normal;
}

progress {
  vertical-align: baseline;
}

textarea {
  overflow: auto;
}

[type=checkbox], [type=radio] {
  box-sizing: border-box;
  padding: 0;
}

[type=number]::-webkit-inner-spin-button, [type=number]::-webkit-outer-spin-button {
  height: auto;
}

[type=search] {
  -webkit-appearance: textfield;
  outline-offset: -2px;
}

[type=search]::-webkit-search-decoration {
  -webkit-appearance: none;
}

::-webkit-file-upload-button {
  -webkit-appearance: button;
  font: inherit;
}

details {
  display: block;
}

summary {
  display: list-item;
}

template {
  display: none;
}

[hidden] {
  display: none;
}

/*!
  Theme: GitHub
  Description: Light theme as seen on github.com
  Author: github.com
  Maintainer: @Hirse
  Updated: 2021-05-15

  Outdated base version: https://github.com/primer/github-syntax-light
  Current colors taken from GitHub's CSS
*/
@font-face {
  font-family: "source han serif cn";
  src: local("Source Han Serif CN"), local("Source Han Serif SC"), local("Songti SC"), url(/fonts/SourceHanSerifSC-Regular.woff2?v=1.0.77) format("woff2");
  font-display: swap;
  unicode-range: U+4E00-9FFF;
}
@font-face {
  font-family: "LXGWWenKai";
  font-display: swap;
  src: url(/fonts/LXGWWenKai-Regular.woff2?v=1.0.77) format("woff2");
  font-display: swap;
  unicode-range: U+4E00-9FFF;
}
@font-face {
  font-family: "source-serif";
  src: url(/fonts/SourceSerif4-Regular.ttf.woff2) format("woff2");
  unicode-range: U+0-7F, U+A0, U+B7, U+200A, U+2014, U+2018, U+2019, U+201C, U+201D, U+2022, U+2026, U+00B0, U+0043;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans Pro";
  src: url(/fonts/Source-Sans-Pro-Regular-2.woff2) format("woff2");
  font-display: swap;
}
html {
  min-width: 320px;
  scroll-behavior: smooth;
  overscroll-behavior: auto none;
}

* {
  -webkit-text-size-adjust: 100%;
}

a {
  text-decoration: none;
  color: rgb(0, 102, 204);
}
a:visited, a:active {
  color: rgb(0, 102, 204);
}

#back-to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 45px;
  height: 45px;
  z-index: 999;
  background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAYAAADDPmHLAAAAAXNSR0IArs4c6QAAA/dJREFUeF7tm1FyEzEQRJ2TAScDTgY3g6gqrtoK2B5bvZJa/fzFxzKZ6X7qke3k7cIrWoG36OkZ/gIA4RAAAACEKxA+PgkAAOEKhI9PAgBAuALh45MAABCuQPj4JAAAhCsQPj4JAADhCoSPTwIAQLgC4eOTAAAQrkD4+CQAAIQrED4+CQAA4QqEj08CAEC4AuHjkwAAEK5A+PgkAACEKxA+PgkAAOEKhI9PAgBAuALh45MAABCuQPj4JAAAhCsQPj4JAADhCoSPTwIAQLgC4eOTAAAQrcDXj+l/p6qQmADN9O+Xy+Vq/tX7n+//+JEGQhoAzfRfD0yOAiEJgHa628mvvGIgSAHgGfOjVkICAC3yP+/7Sgq0Z7ZPgp0BqOz7CgjtHUIDYct3CrsC8ErkP4JhyzTYEYAzzN/2XrAbAD37/lECbAnBLgCo9n0cBDsAcGbk3wNii8uhOwCzzD+CYX05dAZAse+/fXxGUP2E8FYi2ELgCMCtL3Oq+7s99zm+FXcISwjcAFBEfjO/nfz/vXpTxQ4CJwAU5lcM6v05VpdDFwB6T2Y77e3UVz/O7YXA5nuE1QE4Y99X7woREKwMgMKAe/u+AsL2l8NVAVCYX9n3FQjaM70rSNlLtefScysC0Cv2Wfu3F8olL4crATBz35dOy/tDvRCcBWe1/3+eWwUAxa7t3fdVEbeCYAUAHAVVALvEvWA2AKvu+2oa9PY/HYJZADjs+yoEvQk29XI4AwBFfI7a96MgmHY5HA2AwvzpsXmDit4kmALBaADsd+aDSFAA/sx3FtWEuvncaAD+dHQ8VJiOPns/ORy63kYC8OrpGCpIp/HH/96zEobBvjoAq+77KievQrAlAE20Z1aAu/lXSF6BYFsAqmIME6B6lDufe3b9DUvmYT/oIOA9CFz3fZWPyrugock3A4AmVoPgy+HPtqd+GlZ1T/TcvQMw1Pw2zywARFraljkegOvvKU75E3QAsGVI0zgAaHS0rQIAttZpGgcAjY62VQDA1jpN4wCg0dG2CgDYWqdpHAA0OtpWAQBb6zSNA4BGR9sqAGBrnaZxANDoaFsFAGyt0zQOABodbasAgK11msYBQKOjbRUAsLVO0zgAaHS0rQIAttZpGgcAjY62VQDA1jpN4wCg0dG2CgDYWqdpHAA0OtpWAQBb6zSNA4BGR9sqAGBrnaZxANDoaFsFAGyt0zQOABodbasAgK11msYBQKOjbRUAsLVO0zgAaHS0rQIAttZpGgcAjY62VQDA1jpN4wCg0dG2CgDYWqdpHAA0OtpWAQBb6zSNA4BGR9sqAGBrnaZxANDoaFsFAGyt0zQOABodbasAgK11msYBQKOjbZW/1R2EgeZ1ag0AAAAASUVORK5CYII=");
  background-size: 90% 90%;
  background-position: center;
  background-color: rgba(255, 255, 255, 0.7);
  border-radius: 6px;
  backdrop-filter: blur(6px);
  pointer-events: none;
  transform: translateY(100px);
  transition: all ease 0.3s;
  opacity: 0;
  box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 14px;
}
#back-to-top.visible {
  transform: translateY(0);
  pointer-events: all;
  opacity: 1;
}

body {
  margin: 0;
  text-rendering: optimizeLegibility;
  line-height: 1.5;
  font-family: SF Pro Text, SF Pro Icons, Helvetica Neue, Helvetica, Arial, sans-serif, serif;
  overscroll-behavior-y: none;
  font-size: 16px;
}

* {
  box-sizing: border-box;
}

.nav-header-pleaceholder {
  width: 100%;
  height: 65px;
  display: none;
  background-color: #fff;
}

.nav-header {
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: saturate(180%) blur(20px);
  transform: translateY(0);
  transition: transform 0.3s ease;
  z-index: 9;
  position: relative;
  top: 0;
  left: 0;
  right: 0;
  height: 65px;
}
.nav-header .header-inner {
  height: 100%;
  padding-left: min(3vw, 26px);
  padding-right: min(3vw, 26px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}
.nav-header .header-inner .title {
  flex: 0 0 auto;
  font-weight: bold;
  margin-right: 30px;
  width: 225px;
  height: 42px;
  background-image: url("/img/logo.svg");
  background-size: cover;
}
.nav-header .header-inner .right {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-header .header-inner .right .navItems .navItem {
  text-decoration: none;
  font-size: 15px;
  color: #575757;
}
.nav-header .header-inner .right .navItems .navItem:hover {
  opacity: 0.7;
}
.nav-header .header-inner .right .navItems .navItem:not(:last-child) {
  margin-right: 22px;
}
.nav-header .header-inner .right .navItems .navItem.active {
  font-weight: bold;
}
.nav-header .header-inner .right .buttonSet {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
}
.nav-header .header-inner .right .buttonSet .button {
  width: 25px;
  height: 25px;
  transition: opacity ease 0.3s;
}
.nav-header .header-inner .right .buttonSet .button:not(:last-child) {
  margin-right: 16px;
}
.nav-header .header-inner .right .buttonSet .button.toc {
  background-image: url("/img/icons/toc1.svg");
  background-size: contain;
  display: none;
  background-repeat: no-repeat;
  background-position: center;
  cursor: pointer;
}
.nav-header .header-inner .right .buttonSet .button.search {
  background-image: url("/img/icons/search.svg");
  background-size: cover;
}
.nav-header .header-inner .right .buttonSet .button.github {
  background-image: url("/img/icons/github.svg");
  background-size: cover;
}
.nav-header .header-inner .right .buttonSet .button.zh-CN {
  background-image: url("/img/icons/chinese.svg");
  background-size: cover;
  width: 30px;
  height: 30px;
}
.nav-header .header-inner .right .buttonSet .button.en {
  background-image: url("/img/icons/english.svg");
  background-size: cover;
  width: 30px;
  height: 30px;
}
.nav-header .header-inner .right .buttonSet .button.rss {
  background-image: url("/img/icons/rss.svg");
  background-size: cover;
  margin-right: 0;
}
.nav-header .header-inner .right .buttonSet .button.hdr-switch {
  background-image: url("/img/icons/hdr.svg");
  background-size: cover;
  cursor: pointer;
  position: relative;
}
.nav-header .header-inner .right .buttonSet .button.hdr-switch::after {
  content: "";
  display: block;
  width: 96%;
  height: 2px;
  position: absolute;
  top: 50%;
  left: 0;
  transform: rotate(37deg);
  background-color: #232323;
  transition: all ease-in-out 0.3s;
  border-radius: 2px;
  opacity: 1;
}
.nav-header .header-inner .right .buttonSet .button.hdr-switch.hdr_on {
  background: linear-gradient(90deg, #ff6ec4, #7873f5, #4ade80);
  -webkit-mask: url("/img/icons/hdr.svg") no-repeat center;
  mask: url("/img/icons/hdr.svg") no-repeat center;
  -webkit-mask-size: contain;
  mask-size: contain;
}
.nav-header .header-inner .right .buttonSet .button.hdr-switch.hdr_on::after {
  opacity: 0;
  transform: rotate(0);
}
.nav-header .header-inner .right .buttonSet .button:hover {
  opacity: 0.7;
}
.nav-header.hide {
  transform: translateY(0);
}

.post-cover-img-wrap {
  max-width: 100%;
  position: relative;
  background-size: cover;
  background-repeat: no-repeat;
  background-color: #fff;
}
.post-cover-img-wrap:before {
  content: "";
  display: block;
  width: 100%;
  padding-top: 42.85714286%;
}
.post-cover-img-wrap .cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 1;
  transition: opacity linear 0.3s;
}
.post-cover-img-wrap .cover-img.loading {
  opacity: 0;
}
.post-cover-img-wrap .cover-img.loaded {
  opacity: 1;
}
.post-cover-img-wrap .cover-img.cached {
  transition: none;
  opacity: 1;
}
.post-cover-img-wrap .copyright {
  display: flex;
  align-items: center;
  position: absolute;
  right: 5px;
  bottom: 5px;
  background-color: rgba(0, 0, 0, 0.0375);
  backdrop-filter: blur(10px);
  padding: 2px 4px;
  border-radius: 2px;
}
.post-cover-img-wrap .copyright .icon {
  display: inline-block;
  width: 20px;
  height: 20px;
  background-image: url("/img/icons/copyright.svg");
  background-size: cover;
}
.post-cover-img-wrap .copyright .icon.location {
  width: 15px;
  height: 15px;
  background-image: url("/img/icons/location.svg");
}
.post-cover-img-wrap .copyright .text {
  line-height: 20px;
  font-size: 12px;
  margin-left: 5px;
  color: #f3f5f7;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}
.post-cover-img-wrap .copyright.link .text:hover {
  text-decoration: underline;
  cursor: pointer;
}

#post {
  background-color: #fff;
  color: #232323;
  word-break: break-all;
}
#post .post-title .sub-title {
  font-size: 70%;
  color: #898989;
  margin-left: 0.5em;
}
#post h1,
#post h2,
#post h3,
#post h4,
#post h5,
#post h6 {
  font-family: SF Pro Text, SF Pro Icons, Helvetica Neue, Helvetica, Arial, sans-serif, serif;
}
#post h2,
#post h3 {
  width: fit-content;
}
#post h2::before,
#post h3::before {
  position: absolute;
  left: -0.3em;
  top: 50%;
  content: "";
  transform: translate(-50%, -25%);
  display: inline-block;
  width: 0.8em;
  height: 0.8em;
  background-image: url("/img/icons/link.svg");
  background-size: cover;
  transition: all ease-in-out 0.3s;
  opacity: 0;
}
#post h2,
#post h3 {
  cursor: pointer;
}
#post h2:hover,
#post h3:hover {
  opacity: 0.7;
  position: relative;
}
#post h2:hover::before,
#post h3:hover::before {
  opacity: 1;
  transform: translate(-50%, -50%);
}
#post img,
#post video {
  max-width: 100%;
}
#post iframe {
  border: none;
}
#post h2,
#post h3 {
  scroll-margin-top: 0.83em;
}
#post strong {
  font-family: SF Pro Text, SF Pro Icons, Helvetica Neue, Helvetica, Arial, sans-serif, serif;
}
#post .post-meta {
  font-family: SF Pro Text, SF Pro Icons, Helvetica Neue, Helvetica, Arial, sans-serif, serif;
  margin-top: -15px;
  display: flex;
  align-items: center;
  color: #666666;
  font-size: 13px;
}
#post .post-meta .date {
  line-height: 1.5;
}
#post .post-meta .categories {
  line-height: 1.5;
}
#post .post-meta .categories:not(:first-child) {
  margin-left: 10px;
}
#post .post-meta .categories .category-item {
  color: #666666;
}
#post .post-meta .categories .category-item:not(:first-child) {
  margin-left: 10px;
}
#post .post-meta .categories .category-item:hover {
  text-decoration: underline;
  color: #a7a2a2;
}
#post .post-meta .read-time {
  margin-left: 10px;
}
#post .post-meta .page-pv {
  display: none;
  margin-left: 10px;
}
#post .post-meta .page-pv span {
  margin-left: 5px;
}
#post a:not([class]):not(:has(.shared-link)) {
  word-break: break-all;
  text-decoration: underline;
  color: #232323;
}
#post a:not([class]):not(:has(.shared-link)):hover {
  opacity: 0.7;
}
#post hr {
  background-color: #f5f5f5;
  border: none;
  display: block;
  height: 2px;
  margin: 1.5rem 0;
}
#post .pswp-caption-content {
  display: none;
}
#post ol li::marker {
  font-family: SF Pro Text, SF Pro Icons, Helvetica Neue, Helvetica, Arial, sans-serif, serif;
}
#post ol li:has(strong:first-child)::marker {
  font-weight: bolder;
}
#post ol li:has(h3:first-child)::marker {
  font-weight: bold;
  font-size: 1.25em;
}
#post ol li:has(h3:first-child) h3::before {
  content: none;
}
#post ol li:has(h4:first-child)::marker {
  font-weight: bold;
}
#post table {
  width: 100%;
  border: 1px solid #d9d9d9;
  border-collapse: collapse;
  border-spacing: 0;
}
#post table thead tr {
  font-family: AvenirNext-Bold;
}
#post table thead tr,
#post table tr:nth-child(even) {
  background-color: #f3f5f7;
}
#post table td:not(:last-child),
#post table th:not(:last-child) {
  border-right: 1px solid #d9d9d9;
}
#post table th {
  border-bottom: 1px solid #d9d9d9;
}
#post table th {
  color: #363636;
  font-weight: bold;
}
#post table td,
#post table th {
  border: none;
  border-collapse: collapse;
  border-spacing: 0;
  padding: 0.5em 0.75em;
  vertical-align: top;
  text-align: left;
}
#post .message {
  background-color: #f5f5f5;
  border-radius: 4px;
  font-size: 0.9rem;
}
#post .message .message-body {
  border-color: #dbdbdb;
  border-radius: 4px;
  border-style: solid;
  border-width: 0 0 0 4px;
  color: #4a4a4a;
  padding: 1em 1.25em;
}
#post blockquote {
  margin-left: 0;
  margin-right: 0;
  background-color: #f5f5f5;
  border-radius: 4px;
  box-sizing: border-box;
  padding: min(3vw, 15px);
  border-left: 5px solid #dbdbdb;
}
#post blockquote p {
  margin-top: 0;
}
#post blockquote p:last-child {
  margin-bottom: 0;
}
#post figure.highlight {
  background-color: #f6f8fa;
  padding: 0;
  width: 100%;
  position: relative;
  margin: 1em 0 1em;
  border-radius: 4px;
  overflow: hidden;
  font-size: 14px;
  color: #24292e;
}
#post figure.highlight figcaption {
  font-family: SF Pro Text, SF Pro Icons, Helvetica Neue, Helvetica, Arial, sans-serif, serif;
  color: #555555;
  font-size: 12px;
  background-color: rgba(129, 139, 152, 0.12);
  padding: 0.35em 0;
}
#post figure.highlight figcaption span:first-child::before {
  content: "";
  display: inline-block;
  width: 35px;
  height: 20px;
  background-image: url("/img/icons/code.svg");
  background-size: 16px 16px;
  background-position: center;
  background-repeat: no-repeat;
  vertical-align: middle;
  margin-bottom: 1px;
  margin-right: 2px;
}
#post figure.highlight .copy-btn {
  content: "";
  width: calc(21px + 0.25em);
  height: calc(21px + 0.5em);
  position: absolute;
  top: 0;
  right: 0;
  padding-top: 0.5em;
  padding-right: 0.5em;
  background-image: url("/img/icons/copy.png");
  background-size: 14px 14px;
  background-position: 0 75%;
  background-repeat: no-repeat;
  cursor: pointer;
  background-color: #fafafa;
  transition: all ease-in-out 0.3s;
  -webkit-tap-highlight-color: transparent;
}
#post figure.highlight .copy-btn.copied {
  background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAACXBIWXMAAAWJAAAFiQFtaJ36AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAN0SURBVHgB7Zs7buJQFIYPtpGmmyzBrGDIDoiEaDM7CHTTBReAqAIVEiBBVhCyhJQjkMh0U3pWMCyBioZX/oMMIsQG7jXY15hPsvDjIvn/fR/nnmsnyCedTseczWYPy+Uyj0OT1MTWNM3Wdb1uWdZo+0KCfNButx8hvIbthiJCIpHolkola3NMkrRarScWTxEEJrzDhDve10mCZrOZx0+XoouZy+Vu+v3+b+EawG1+Op0OSd32fjTJZDJlkAToUCxU/zEpCO7LxM89tp+HyuJBFn11girTaDRMwzBeYEjGqwz6AvtiDViD/or7qkePy+OLN4DBiDX0qgkaxQAEagWva7EwoFqtjnjsd7sWCwMc3txOfhkGndieQ1weRkxSE8/Yft9/3E5+qgEc3mJs/A/xRVI70EkvFos83yvuGc+sIz0X2RiAic1LFGN7flgcmcqasDKAnzw7StEljWb7RBJo3OajOqvbhmsCHmSGBNFQfTJ0ITgdtxAaxscHuhzuBcuv+oDIZHOOwCRBtCils85BnCJBV64GUMy5GkAxRxUDnrHdYisgLgk02SqVFT4lGIbrlUql5hzayOHZMGEY1PAcag3YEb+iXC7bOH8XVE0IzQA38WvWJlAAhGLAPvFrHBNe6cwEbsAx4tegGXynMxOoASLikaHiWarw9FYU3wbw8hJ+RofKiYpHhqpHAeDLABaFdfZbtNcU9q195VQUz0gbsCsK+103E1QWz0gZ4CXKMaF+qJwbYYhnZAzo7RPlXOO1uILq4hmZUPjPoQLoE3p0JGGKZ4RrAHr9H3QiwhbPCBvg5N+lFiG2UUE8I9sJ1vyYoIp4xs8wKGWCSuIZv4GQkAmqiWd8h8LHmqCieDA+yWTokAmKil/NY042G/QyQVXxDO7530mnw7smqCyemc/n3ZMnRR0TivwqLcSbpCg8T+G3x86SFXYyusouum5P0kJPiwcFOjx+IFwrWfzmVf/YGADho8lkkqrVap/S7bExgLPMbueva4MUc64GUMxhA2y6EJw1CiH4PcGDOb6ogABH3ADDMHpBv5RwLhDb10X/o1mWtYqOKOKsY3sSZPXl6GAw+JvNZlEREhmKILjvVwQ6RZJg8+ksTHhnEzRNS+PwG0WHZ4j/RZJ8+WyOPzjUdT3DL1E7X2EqB/dZaLZvnGuQqfbbfACZ9gdvYn2P8QAAAABJRU5ErkJggg==");
}
#post figure.highlight:has(figcaption) .copy-btn {
  background-color: unset;
  width: 21px;
  height: 21px;
  padding-top: 0;
  padding-right: 0;
  top: 0.35em;
  right: 0.35em;
  background-position: center;
}
#post figure.highlight .gutter {
  text-align: right;
  position: sticky;
  left: 0;
  width: 0;
  display: none;
  border-right: none;
}
#post figure.highlight .gutter:has(span:nth-of-type(2)) {
  width: 30px;
  display: table-cell;
}
#post figure.highlight .gutter:has(span:nth-of-type(10)) {
  width: 35px;
}
#post figure.highlight .gutter:has(span:nth-of-type(100)) {
  width: 45px;
}
#post figure.highlight .gutter .line {
  color: #aaaaaa;
}
#post figure.highlight .code {
  white-space: nowrap;
  overflow-x: auto;
  scrollbar-gutter: stable;
  width: 200%;
}
#post figure.highlight .code .line:first-child:nth-last-child(2) {
  padding-right: 32px;
}
#post figure.highlight .code .line:last-of-type {
  padding-right: 1em;
}
#post figure.highlight pre {
  white-space: pre;
  word-wrap: normal;
  margin: 0;
  padding: 0;
}
#post figure.highlight pre .line {
  font-size: 12px;
}
#post figure.highlight table {
  width: 100%;
  border: none;
  table-layout: fixed;
}
#post figure.highlight .fold-toggle {
  display: none;
}
#post figure.highlight.folded {
  max-height: 120px;
  overflow-y: hidden;
}
#post figure.highlight.folded .fold-toggle {
  display: block;
}
#post figure.highlight .fold-toggle {
  cursor: pointer;
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 24px;
  background-color: #fff;
  background-image: url("/img/icons/up-down.svg");
  background-size: 24px 24px;
  background-repeat: no-repeat;
  background-position: center;
}
#post figure.highlight .fold-toggle::before {
  content: "";
  display: block;
  width: 100%;
  height: 30px;
  position: absolute;
  top: -30px;
  left: 0;
  background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgb(255, 255, 255));
}
#post figure.highlight .line {
  color: #24292e;
}
#post figure.highlight .doctag,
#post figure.highlight .keyword,
#post figure.highlight .meta .keyword,
#post figure.highlight .template-tag,
#post figure.highlight .template-variable,
#post figure.highlight .type,
#post figure.highlight .variable.language_ {
  /* prettylights-syntax-keyword */
  color: #d73a49;
}
#post figure.highlight .title,
#post figure.highlight .title.class_,
#post figure.highlight .title.class_.inherited__,
#post figure.highlight .title.function_ {
  /* prettylights-syntax-entity */
  color: #6f42c1;
}
#post figure.highlight .attr,
#post figure.highlight .attribute,
#post figure.highlight .literal,
#post figure.highlight .meta,
#post figure.highlight .number,
#post figure.highlight .operator,
#post figure.highlight .variable,
#post figure.highlight .selector-attr,
#post figure.highlight .selector-class,
#post figure.highlight .selector-id {
  /* prettylights-syntax-constant */
  color: #005cc5;
}
#post figure.highlight .regexp,
#post figure.highlight .string,
#post figure.highlight .meta .string {
  /* prettylights-syntax-string */
  color: #032f62;
}
#post figure.highlight .built_in,
#post figure.highlight .symbol {
  /* prettylights-syntax-variable */
  color: #e36209;
}
#post figure.highlight .comment,
#post figure.highlight .code,
#post figure.highlight .formula {
  /* prettylights-syntax-comment */
  color: #6a737d;
}
#post figure.highlight .name,
#post figure.highlight .quote,
#post figure.highlight .selector-tag,
#post figure.highlight .selector-pseudo {
  /* prettylights-syntax-entity-tag */
  color: #22863a;
}
#post figure.highlight .subst {
  /* prettylights-syntax-storage-modifier-import */
  color: #24292e;
}
#post figure.highlight .section {
  /* prettylights-syntax-markup-heading */
  color: #005cc5;
  font-weight: bold;
}
#post figure.highlight .bullet {
  /* prettylights-syntax-markup-list */
  color: #735c0f;
}
#post figure.highlight .emphasis {
  /* prettylights-syntax-markup-italic */
  color: #24292e;
  font-style: italic;
}
#post figure.highlight .strong {
  /* prettylights-syntax-markup-bold */
  color: #24292e;
  font-weight: bold;
}
#post figure.highlight .addition {
  /* prettylights-syntax-markup-inserted */
  color: #22863a;
  background-color: #f0fff4;
}
#post figure.highlight .deletion {
  /* prettylights-syntax-markup-deleted */
  color: #b31d28;
  background-color: #ffeef0;
}
#post figure.highlight .char.escape_,
#post figure.highlight .link,
#post figure.highlight .params,
#post figure.highlight .property,
#post figure.highlight .punctuation,
#post figure.highlight .tag {
  /* purposely ignored */
}
#post code {
  background-color: rgba(129, 139, 152, 0.12);
  padding: 0.2em 0.4em;
  border-radius: 2px;
  -webkit-text-size-adjust: 100%;
  font-size: 80%;
}
#post .tags {
  font-family: SF Pro Text, SF Pro Icons, Helvetica Neue, Helvetica, Arial, sans-serif, serif;
}
#post .tags .tag-item {
  background-color: #f5f5f5;
  padding: 4px 6px;
  font-size: 14px;
  font-weight: 500;
  color: #575757;
}
#post .tags .tag-item:hover {
  text-decoration: underline;
  color: #a7a2a2;
}
#post .tags .tag-item:not(:first-child) {
  margin-left: 10px;
}
#post .custom-img-grid {
  margin-top: 1em;
  margin-bottom: 1em;
  display: flex;
  justify-content: space-between;
}
#post .custom-img-grid .lazyload-outer-wrap {
  height: 100%;
  margin: 0;
}
#post .lazyload-outer-wrap .caption {
  font-family: SF Pro Text, SF Pro Icons, Helvetica Neue, Helvetica, Arial, sans-serif, serif;
}
#post .new-updates {
  background-color: #f5f9ff;
  padding: 0.5em;
  text-indent: 1em;
  font-size: 0.8em;
  position: relative;
}
#post .new-updates::before {
  position: absolute;
  top: 0;
  left: 0;
  content: "";
  display: block;
  width: 24px;
  height: 24px;
  background-image: url("/img/icons/new1.svg");
  background-size: cover;
}
#post .attachment-item {
  padding: 4px 6px;
  display: inline-flex;
  vertical-align: bottom;
  flex-direction: column;
  align-items: center;
  border-radius: 2px;
  border: solid 1px #f5f5f5;
  transition: all ease-in-out 0.3s;
}
#post .attachment-item .attachment-icon {
  margin-top: 2px;
  width: 35px;
  height: 35px;
  background-size: cover;
}
#post .attachment-item .attachment-icon.zip {
  background-image: url("/img/icons/ZIP.svg");
}
#post .attachment-item .attachment-icon.bin {
  background-image: url("/img/icons/binary.svg");
}
#post .attachment-item .attachment-size {
  margin-top: 4px;
  font-family: monospace;
  color: #232323;
  font-size: 11px;
}
#post .attachment-item .attachment-name {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  font-size: 12px;
}
#post .attachment-item:hover {
  box-shadow: rgba(100, 100, 111, 0.05) 0px 7px 29px 0px;
}
#post .commented-text {
  word-break: break-all;
  text-decoration: underline;
  text-decoration-style: dotted;
  position: relative;
}
#post .commented-text::before {
  content: "";
  position: absolute;
  border-width: 4px 6px 0 6px;
  border-style: solid;
  border-color: transparent;
  border-top-color: #575757;
  z-index: 99;
  opacity: 0;
  top: -5px;
  left: 50%;
  transform: translateX(-50%);
  transition: ease-in-out 0.3s;
}
#post .commented-text::after {
  content: attr(data-comment);
  position: absolute;
  background: #575757;
  text-align: center;
  color: #fff;
  border-radius: 5px;
  padding: 6px 8px;
  min-width: 80px;
  pointer-events: none;
  z-index: 99;
  opacity: 0;
  left: 50%;
  top: -5px;
  transform: translateX(-50%) translateY(-100%);
  font-size: 13px;
  transition: ease-in-out 0.3s;
  white-space: nowrap;
}
#post .commented-text:hover::before, #post .commented-text:hover::after {
  opacity: 1;
}

.post-nav-wrap {
  box-sizing: border-box;
  padding: 1em min(3vw, 15px);
  padding-top: calc(1em + 14px);
  background-color: #fff;
}
.post-nav-wrap .post-nav {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  align-items: baseline; /* 让元素对齐 */
}
.post-nav-wrap .post-nav .post-nav-item {
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  position: relative;
  color: #232323;
  text-decoration: underline;
}
.post-nav-wrap .post-nav .post-nav-item .nav-indicator-text {
  position: absolute;
  top: 0;
  left: 16px;
  transform: translateY(-100%);
  color: #898989;
  font-size: 12px;
  user-select: none;
  pointer-events: none;
  opacity: 0.75;
}
.post-nav-wrap .post-nav .post-nav-item .sub-title {
  font-size: 70%;
  color: #898989;
  margin-left: 0.5em;
}
.post-nav-wrap .post-nav .post-nav-item.prev::before {
  content: "";
  display: inline-block;
  width: 12px;
  height: 12px;
  background-image: url("/img/icons/prev.svg");
  background-size: cover;
  vertical-align: middle;
  margin-right: 4px;
}
.post-nav-wrap .post-nav .post-nav-item.next {
  margin-left: auto;
}
.post-nav-wrap .post-nav .post-nav-item.next::before {
  content: none;
}
.post-nav-wrap .post-nav .post-nav-item.next::after {
  content: "";
  display: inline-block;
  width: 12px;
  height: 12px;
  background-image: url("/img/icons/next.svg");
  background-size: cover;
  vertical-align: middle;
  margin-left: 4px;
}
.post-nav-wrap .post-nav .post-nav-item.next .nav-indicator-text {
  left: unset;
  right: 16px;
}

.copyright-desc {
  margin: 1em auto;
  padding: 0 min(3vw, 15px);
  font-size: 14px;
  color: #575757;
  text-align: center;
}

#archive .tag-list {
  font-family: SF Pro Text, SF Pro Icons, Helvetica Neue, Helvetica, Arial, sans-serif, serif;
  display: flex;
  flex-wrap: wrap;
  padding-left: 0;
}
#archive .tag-list .tag-list-item {
  list-style: none;
  background-color: #f5f5f5;
  padding: 4px 6px;
  font-size: 14px;
  color: rgb(0, 102, 204);
  margin-right: 10px;
  margin-bottom: 10px;
}
#archive .tag-list .tag-list-item .tag-list-link {
  color: inherit;
}
#archive .tag-list .tag-list-item .tag-list-link::before {
  content: "#";
  margin-right: 0.1em;
  text-decoration: none;
  display: inline-block;
}
#archive .tag-list .tag-list-item:hover {
  text-decoration: underline;
  color: #898989;
}
#archive .category-list {
  padding-left: 0;
  font-family: SF Pro Text, SF Pro Icons, Helvetica Neue, Helvetica, Arial, sans-serif, serif;
}
#archive .category-list .category-list-item {
  color: #232323;
  list-style: none;
  font-size: 16px;
  margin-bottom: 10px;
}
#archive .category-list .category-list-item .category-list-link {
  display: inline-block;
  min-width: 100px;
}
#archive .category-list .category-list-item .category-list-link:hover {
  color: #898989;
}
#archive .category-list .category-list-count {
  min-width: 40px;
  display: inline-block;
  text-align: center;
  margin-left: 20px;
  color: #575757;
  background-color: #f5f5f5;
  padding: 2px 10px;
}
#archive .archive-list {
  padding-left: 0;
  font-family: SF Pro Text, SF Pro Icons, Helvetica Neue, Helvetica, Arial, sans-serif, serif;
}
#archive .archive-list .archive-list-item {
  list-style: none;
  font-size: 16px;
  margin-bottom: 10px;
}
#archive .archive-list .archive-list-item .archive-list-link {
  display: inline-block;
  min-width: 100px;
}
#archive .archive-list .archive-list-item .archive-list-link:hover {
  color: #898989;
}
#archive .archive-list .archive-list-count {
  min-width: 40px;
  display: inline-block;
  text-align: center;
  margin-left: 20px;
  color: #575757;
  background-color: #f5f5f5;
  padding: 2px 10px;
}
#archive .post-item {
  display: block;
  padding: 20px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.0785);
}
#archive .post-item:last-child {
  border-bottom: none;
}
#archive .post-item .item-body {
  width: 100%;
  display: flex;
  justify-content: space-between;
}
#archive .post-item .title-excerpt {
  width: 0;
  flex: 1 1 auto;
  margin-right: 15px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
#archive .post-item .title {
  color: #232323;
  font-weight: bold;
  font-size: 24px;
  text-decoration: none;
  white-space: wrap;
}
#archive .post-item .title:hover {
  color: #232323;
}
#archive .post-item .title .sub-title {
  font-size: 70%;
  color: #898989;
  margin-left: 0.5em;
}
#archive .post-item .excerpt {
  cursor: text;
  margin: 0.5rem 0;
  color: #575757;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  /*! autoprefixer: ignore next */
  -webkit-box-orient: vertical;
  /*! autoprefixer: on */
  white-space: wrap;
}
#archive .post-item .post-meta {
  font-family: SF Pro Text, SF Pro Icons, Helvetica Neue, Helvetica, Arial, sans-serif, serif;
  color: #666666;
  font-size: 13px;
}
#archive .post-item .post-meta .categories:first-child {
  margin-left: -10px;
}
#archive .post-item .post-meta .categories .category-item {
  margin-left: 10px;
}
#archive .post-item .post-meta .read-time {
  margin-left: 10px;
}
#archive .post-item .cover-img {
  flex: 0 0 auto;
  width: 25%;
  height: fit-content;
  position: relative;
  border: 1px solid rgba(0, 0, 0, 0.15);
}
#archive .post-item .cover-img:before {
  content: "";
  display: block;
  width: 100%;
  padding-top: 75%;
}
#archive .post-item .cover-img img {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
#archive .two-columns {
  display: flex;
}
#archive .two-columns aside {
  width: 50%;
}

#archieve-h1 {
  margin-bottom: 0;
}

.posts-info-layout {
  display: flex;
}
.posts-info-layout .posts-wrap {
  width: 75%;
}
.posts-info-layout .info-wrap {
  width: 25%;
}
.posts-info-layout .info-wrap .site-info {
  padding: 18px 20px 0 20px;
}
.posts-info-layout .info-wrap .site-info.home {
  padding-top: 35px;
}
.posts-info-layout .info-wrap .site-info .info-row:not(:first-child) {
  margin-top: 10px;
}
.posts-info-layout .info-wrap .site-info .info-row:nth-child(2) {
  margin-top: 20px;
}
.posts-info-layout .info-wrap .site-info .info-row .logo {
  width: 36px;
  height: 36px;
  display: inline-block;
  margin: 0;
  vertical-align: middle;
  border-radius: 1px;
}
.posts-info-layout .info-wrap .site-info .info-row .site-name {
  margin-left: 10px;
  display: inline-block;
  line-height: 36px;
  color: #232323;
  font-size: 18px;
}
.posts-info-layout .info-wrap .site-info .info-row .author {
  display: flex;
  align-items: center;
}
.posts-info-layout .info-wrap .site-info .info-row .author .avatar {
  width: 5vw;
  height: 5vw;
  border-radius: 2px;
}
.posts-info-layout .info-wrap .site-info .info-row .author .name {
  margin-left: 10px;
  font-size: 18px;
}
.posts-info-layout .info-wrap .site-info .info-row.description {
  color: #232323;
  font-size: 16px;
}
.posts-info-layout .info-wrap .site-info .info-row.site-statisc {
  max-width: 75vw;
  margin-left: auto;
  margin-right: auto;
  font-size: 13px;
  display: flex;
  justify-content: space-between;
}
.posts-info-layout .info-wrap .site-info .info-row.site-statisc a {
  color: #232323;
}
.posts-info-layout .info-wrap .site-info .info-row.site-statisc a:hover {
  text-decoration: underline;
}
.posts-info-layout .info-wrap .site-info .info-row.about {
  margin-bottom: 10px;
  color: #0f730c;
  font-size: 14px;
}
.posts-info-layout .info-wrap .site-info .info-row.about a:hover {
  text-decoration: underline;
}
.posts-info-layout .info-wrap .site-info .info-row.about .about-this-site {
  display: inline-block;
  position: relative;
  bottom: 1px;
  white-space: nowrap;
  color: inherit;
  margin-right: 12px;
}
.posts-info-layout .info-wrap .site-info .info-row.about .about-this-site i.about-icon {
  width: 18px;
  height: 18px;
  background-image: url("/img/icons/about.svg");
  background-size: cover;
  display: inline-block;
  vertical-align: middle;
  margin-bottom: 2px;
  opacity: 0.7;
  margin-right: 2px;
}
.posts-info-layout .info-wrap .site-info .info-row.about .whats-new {
  margin-right: 0;
  display: inline-block;
  position: relative;
  bottom: 1px;
  white-space: nowrap;
  font-size: 14px;
  color: rgb(0, 102, 204);
}
.posts-info-layout .info-wrap .site-info .info-row.about .whats-new i.new-icon {
  width: 18px;
  height: 18px;
  background-image: url("/img/icons/new.svg");
  background-size: cover;
  display: inline-block;
  vertical-align: middle;
  margin-bottom: 2px;
  margin-right: 2px;
}

.section-title {
  padding-bottom: 8px;
  color: rgb(96, 96, 96);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  font-size: 20px;
}

.banner-bg {
  width: 100%;
  height: 28vw;
  position: absolute;
  z-index: -1;
  top: 65px;
  left: 0;
  background-color: #ffffff;
  background-image: url("/img/pattern-randomized.jpg");
  background-attachment: absolute;
  background-size: cover;
  opacity: 0.5;
}
.banner-bg::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  display: block;
  width: 100%;
  height: 35%;
  background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgb(255, 255, 255));
}

.page-body {
  width: 100%;
  display: flex;
  flex-wrap: nowrap;
}
.page-body .side-content {
  width: 0;
  flex: 1 1 auto;
  height: 100vh;
  position: sticky;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.page-body .side-content:first-child {
  order: 1;
}
.page-body .side-content:nth-child(2) {
  order: 3;
}

#content-outer {
  order: 2;
  width: 100%;
  flex: 0 0 auto;
  min-height: calc(100vh - 65px - 80px - 21.44px - 10px);
  max-width: max(1032px, 68vw);
  min-width: 50%;
  margin: 0 auto;
  padding-left: min(3vw, 26px);
  padding-right: min(3vw, 26px);
}
#content-outer.post-outer {
  max-width: max(65vw, 960px);
  padding: 0;
}
#content-outer.post-outer .content-inner {
  background-color: #fff;
}
#content-outer.post-outer #post {
  margin: 0 auto;
  padding: 0 min(3vw, 15px);
  padding-top: min(3vw - 6px, 9px);
}
#content-outer.post-outer #post h1:first-child {
  margin-top: 0;
}
#content-outer.post-outer #gitalk-container {
  padding: 0 min(3vw, 15px);
  background-color: #fff;
  min-height: 197px;
  border-top: solid 1px #f5f5f5;
}
#content-outer.post-outer #gitalk-container .gt-meta {
  margin-top: 0;
  border-bottom: none;
  padding-bottom: 0;
}
#content-outer.post-outer #gitalk-container .gt-container .gt-comment-content:hover {
  box-shadow: none;
}
#content-outer.post-outer #gitalk-container .gt-comment-text,
#content-outer.post-outer #gitalk-container .gt-comment-date {
  font-size: 0.83em;
}
#content-outer.post-outer #gitalk-container .gt-comments-null {
  display: none;
}
#content-outer.post-outer #gitalk-container .gt-btn {
  border-color: #232323;
  background-color: #232323;
}
#content-outer.post-outer #gitalk-container .gt-btn-preview {
  background-color: #fff;
  color: #232323;
}
#content-outer.post-outer #gitalk-container .gt-comment-username {
  color: #232323;
}
#content-outer.post-outer #gitalk-container .gt-comment:last-child {
  padding-bottom: max(1.35em, min(3vw, 26px));
}
#content-outer.post-outer #gitalk-container .user-mention {
  color: #232323;
}
#content-outer.post-outer #gitalk-container .gt-link-counts {
  color: #232323;
}
#content-outer.post-outer #gitalk-container .gt-btn {
  border-radius: 2px;
}
#content-outer.post-outer #gitalk-container .gt-ico-tip .gt-svg {
  margin-bottom: 6.5px;
  vertical-align: middle;
}
#content-outer.post-outer #gitalk-container .gt-ico-tip .gt-svg svg {
  fill: #898989;
}
#content-outer.post-outer #gitalk-container .gt-ico-heart .gt-svg svg,
#content-outer.post-outer #gitalk-container .gt-ico-reply .gt-svg svg {
  fill: #898989;
}
#content-outer.post-outer #gitalk-container .gt-header-textarea {
  border: none;
  border-radius: 2px;
}
#content-outer.post-outer #gitalk-container .gt-ico-text {
  color: #898989;
}

.posts-wrap {
  min-height: 320px;
}

.inline-block {
  display: inline-block;
}

#recent-posts .post-item {
  display: block;
  padding: 20px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.0785);
}
#recent-posts .post-item:last-child {
  border-bottom: none;
}
#recent-posts .post-item .item-body {
  width: 100%;
  display: flex;
  justify-content: space-between;
}
#recent-posts .post-item .title-excerpt {
  width: 0;
  flex: 1 1 auto;
  margin-right: 15px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
#recent-posts .post-item .title {
  color: #232323;
  font-weight: bold;
  font-size: 24px;
  text-decoration: none;
  white-space: wrap;
}
#recent-posts .post-item .title:hover {
  color: #232323;
}
#recent-posts .post-item .title .sub-title {
  font-size: 70%;
  color: #898989;
  margin-left: 0.5em;
}
#recent-posts .post-item .excerpt {
  cursor: text;
  margin: 0.5rem 0;
  color: #575757;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  /*! autoprefixer: ignore next */
  -webkit-box-orient: vertical;
  /*! autoprefixer: on */
  white-space: wrap;
}
#recent-posts .post-item .post-meta {
  font-family: SF Pro Text, SF Pro Icons, Helvetica Neue, Helvetica, Arial, sans-serif, serif;
  color: #666666;
  font-size: 13px;
}
#recent-posts .post-item .post-meta .categories:first-child {
  margin-left: -10px;
}
#recent-posts .post-item .post-meta .categories .category-item {
  margin-left: 10px;
}
#recent-posts .post-item .post-meta .read-time {
  margin-left: 10px;
}
#recent-posts .post-item .cover-img {
  flex: 0 0 auto;
  width: 25%;
  height: fit-content;
  position: relative;
  border: 1px solid rgba(0, 0, 0, 0.15);
}
#recent-posts .post-item .cover-img:before {
  content: "";
  display: block;
  width: 100%;
  padding-top: 75%;
}
#recent-posts .post-item .cover-img img {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#top-posts {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
#top-posts .post-item {
  display: block;
  margin-top: 20px;
  width: calc((100% - 40px) / 3);
  margin-right: 20px;
}
#top-posts .post-item .title-excerpt {
  margin-top: 15px;
}
#top-posts .post-item .title {
  color: #232323;
  font-weight: bold;
  font-size: 26px;
  text-decoration: none;
}
#top-posts .post-item .title:hover {
  color: #232323;
}
#top-posts .post-item .title .sub-title {
  font-size: 70%;
  color: #898989;
  margin-left: 0.5em;
}
#top-posts .post-item .excerpt {
  margin: 0.5rem 0;
  color: #575757;
  cursor: text;
}
#top-posts .post-item .post-meta {
  font-family: SF Pro Text, SF Pro Icons, Helvetica Neue, Helvetica, Arial, sans-serif, serif;
  font-size: 13px;
  color: #666666;
}
#top-posts .post-item .post-meta .date {
  display: inline;
}
#top-posts .post-item .post-meta .categories {
  display: inline;
}
#top-posts .post-item .post-meta .categories:first-child {
  margin-left: -10px;
}
#top-posts .post-item .post-meta .categories .category-item {
  display: inline;
  margin-left: 10px;
}
#top-posts .post-item .post-meta .read-time {
  display: inline;
  margin-left: 10px;
}
#top-posts .post-item .item-body {
  display: flex;
  justify-content: space-between;
  flex-direction: column;
}
#top-posts .post-item .cover-img {
  width: 100%;
  position: relative;
  border: 1px solid rgba(0, 0, 0, 0.15);
}
#top-posts .post-item .cover-img:before {
  content: "";
  display: block;
  width: 100%;
  padding-top: 52.07100592%;
}
#top-posts .post-item .cover-img img {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
#top-posts .post-item:first-child {
  margin-right: 0;
  width: 100%;
}
#top-posts .post-item:first-child .item-body {
  flex-direction: row;
}
#top-posts .post-item:first-child .cover-img {
  width: calc((100% - 40px) / 3 * 2 + 20px);
  flex: 0 0 auto;
}
#top-posts .post-item:first-child .title-excerpt {
  margin-left: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
}
#top-posts .post-item:first-child .title-excerpt .title {
  font-size: 32px;
}
#top-posts .post-item:first-child .title-excerpt .excerpt {
  font-size: 20px;
}
#top-posts .post-item:last-child {
  margin-right: 0;
}
#top-posts .post-item:not(:first-child) .excerpt {
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  /*! autoprefixer: ignore next */
  -webkit-box-orient: vertical;
  /*! autoprefixer: on */
}

.series-nav {
  background-color: #f5f5f5;
  width: calc(100% - min(6vw, 30px));
  margin: 1em auto;
  padding: 1em;
  padding-top: 0.65em;
  border-radius: 2px;
  display: none;
}
.series-nav .series-name {
  color: #575757;
  margin-bottom: 0.5em;
}
.series-nav .series-name .series-name-content {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
}
.series-nav .series-name .series-name-content:hover {
  opacity: 0.7;
}
.series-nav .series-name .dot {
  margin: 0 0.5em;
  display: inline-block;
  width: 4px;
  height: 4px;
  border-radius: 4px;
  background-color: #575757;
}
.series-nav .series-name .series-icon {
  display: inline-block;
  width: 13px;
  height: 13px;
  background-image: url("/img/icons/shelf.svg");
  background-size: cover;
  margin-right: 0.5em;
}
.series-nav .series-popup {
  max-height: calc(100% - 65px);
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: rgb(255, 255, 255);
  z-index: 999;
  padding: 15px 0;
  transform: translateY(125%);
  transition: transform cubic-bezier(0.32, 0.72, 0, 1) 0.5s;
  padding-bottom: 15px;
}
@supports (padding-bottom: constant(safe-area-inset-bottom)) or (padding-bottom: env(safe-area-inset-bottom)) {
  .series-nav .series-popup {
    padding-bottom: calc(15px + constant(safe-area-inset-bottom));
    padding-bottom: calc(15px + env(safe-area-inset-bottom));
  }
}
.series-nav .series-popup.visible {
  transform: translateY(0);
}
.series-nav .series-popup .popup-header {
  display: flex;
  justify-content: space-between;
  padding-bottom: 0.8em;
}
.series-nav .series-popup .popup-header span,
.series-nav .series-popup .popup-header a {
  width: 0;
  flex: 1 1 auto;
  text-align: center;
}
.series-nav .series-popup .popup-header .title {
  font-weight: 500;
  font: 15px;
}
.series-nav .series-popup .popup-header .details-link {
  outline: none;
  font: 14px;
  font-weight: bold;
  padding-right: min(3vw, 15px);
  text-align: right;
}
.series-nav .series-popup .popup-header .details-link a {
  color: #7d7bb0;
  text-align: right;
}
.series-nav .series-popup .popup-header .details-link a:hover {
  opacity: 0.7;
  text-decoration: underline;
  color: #7d7bb0;
}
.series-nav .series-popup .series-items .series-item-link {
  padding: 0.5em min(3vw, 15px);
  display: block;
  width: 100%;
  color: #575757;
  font-size: 13px;
}
.series-nav .series-popup .series-items .series-item-link .sub-title {
  font-size: 70%;
  color: #898989;
  margin-left: 0.5em;
}
.series-nav .series-popup .series-items .series-item-link.active {
  font-size: 14px;
  color: #232323;
  background-color: #f3f3f3;
  font-weight: bold;
}
.series-nav .series-popup .series-items .series-item-link.active:hover {
  background-color: #f3f3f3;
  color: #232323;
}
.series-nav .series-popup .series-items .series-item-link:hover {
  background-color: #f5f5f5;
  color: #575757;
}

#footer {
  padding: 0 26px;
  background-color: #fff;
  padding-left: min(3vw, 26px);
  padding-right: min(3vw, 26px);
}
#footer .footerInner {
  border-top: 1px solid rgba(0, 0, 0, 0.15);
  display: flex;
  justify-content: flex-end;
  padding: 20px 0;
}
#footer .footerInner .footerItems {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex-wrap: wrap;
}
#footer .footerInner .footerItem {
  display: inline-flex;
  align-items: center;
  color: #575757;
  -webkit-touch-callout: none;
}
#footer .footerInner .footerItem a {
  color: #575757;
}
#footer .footerInner .footerItem a:hover {
  text-decoration: underline;
}
#footer .footerInner .footerItem a:hover {
  color: #575757;
}
#footer .footerInner .footerItem:not(:last-child)::after {
  content: "";
  display: block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background-color: #575757;
  margin: 0 10px;
}

#paginator {
  margin: 10px 0 30px 0;
  display: flex;
  justify-content: space-evenly;
}
#paginator a {
  color: #575757;
}
#paginator a:hover {
  opacity: 0.7;
}
#paginator .page-number.current {
  color: #0f730c;
  font-weight: bold;
}

#toc {
  max-width: calc((100vw - max(65vw, 960px)) / 2);
  text-align: right;
  border-right: solid 1px #f5f5f5;
  max-height: 100vh;
  overflow-y: auto;
}
#toc .toc-title {
  color: #232323;
  padding: 0 15px;
  font-size: 16px;
  font-weight: bold;
}
#toc .toc-title::before {
  content: "";
  display: inline-block;
  width: 20px;
  height: 20px;
  background-image: url("/img/icons/toc.svg");
  background-size: cover;
  vertical-align: middle;
  margin-bottom: 4px;
}
#toc .toc-item-wrap .toc-item-link {
  padding: 0 15px;
  display: block;
  color: #333333;
  font-size: 14px;
  margin-top: 10px;
  position: relative;
}
#toc .toc-item-wrap .toc-item-link:hover {
  color: #777777;
}
#toc .toc-item-wrap .toc-sub-item-wrap {
  margin: 0;
  display: none;
  padding: 0 15px;
}
#toc .toc-item-wrap .toc-sub-item-wrap li {
  list-style: none;
}
#toc .toc-item-wrap .toc-sub-item-wrap .toc-sub-item-link {
  font-size: 12px;
  position: relative;
  color: #555555;
}
#toc .toc-item-wrap .toc-sub-item-wrap .toc-sub-item-link:hover {
  color: #777777;
}
#toc .toc-item-wrap .toc-sub-item-wrap .toc-sub-item-link.active {
  color: #232323;
  font-weight: bold;
}
#toc .toc-item-wrap.active .toc-item-link {
  font-weight: bold;
  color: #232323;
}
#toc .toc-item-wrap.active .toc-item-link::before {
  content: "";
  position: absolute;
  right: 7.5px;
  top: 0;
  width: 3px;
  height: 75%;
  background-color: #6e4a4a;
  transform: translateY(12.5%);
  border-radius: 1px;
}
#toc .toc-item-wrap.active .toc-sub-item-wrap {
  display: block;
}
#toc .toc-item-wrap:not(:last-child) .toc-sub-item-wrap li:last-child .toc-sub-item-link::after {
  content: "";
  position: absolute;
  right: 0;
  width: 100%;
  bottom: -9px;
  border-bottom: solid 0.5px #d8d8d8;
}
#toc.flat .toc-item-wrap .toc-sub-item-wrap {
  display: block;
}

.post-series {
  width: 100%;
  text-align: left;
  border-left: solid 1px #f5f5f5;
  max-height: 100vh;
  overflow-y: auto;
}
.post-series .series-title {
  color: #232323;
  padding: 0 15px;
  font-size: 16px;
  font-weight: bold;
}
.post-series .series-title:hover {
  color: #898989;
  text-decoration: underline;
}
.post-series .series-title::before {
  margin-right: 4px;
  content: "";
  display: inline-block;
  width: 13px;
  height: 13px;
  background-image: url("/img/icons/shelf.svg");
  background-size: cover;
  vertical-align: middle;
  margin-bottom: 4px;
}
.post-series .series-items .series-item-link {
  padding: 0 15px;
  display: block;
  color: #333333;
  font-size: 14px;
  margin-top: 10px;
  position: relative;
}
.post-series .series-items .series-item-link .sub-title {
  font-size: 70%;
  color: #898989;
  margin-left: 0.5em;
}
.post-series .series-items .series-item-link:hover {
  color: #777777;
}
.post-series .series-items .series-item-link.active {
  font-weight: bold;
  color: #232323;
}
.post-series .series-items .series-item-link.active::before {
  content: "";
  position: absolute;
  left: 7.5px;
  top: 0;
  width: 3px;
  height: 75%;
  background-color: #6e4a4a;
  transform: translateY(12.5%);
  border-radius: 1px;
}

.lazyload-outer-wrap .caption {
  color: #575757;
  font-size: 0.8em;
  margin-top: 0.2em;
}

#mask {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 99;
  pointer-events: none;
  transition: all ease 0.3s;
  opacity: 0;
}
#mask.visible {
  pointer-events: all;
  opacity: 1;
}

html[lang=en] #recent-posts .post-item .title-excerpt-text {
  min-height: 100px;
}
html[lang=en] #top-posts .post-item .title {
  font-size: 1.4em;
}
html[lang=en] .post-item .excerpt {
  font-family: "source-serif", "Source Sans Pro", serif;
}
html[lang=en] #post {
  font-family: "source-serif", "Source Sans Pro", serif;
}
html[lang=en] .gt-comment-body {
  font-family: "source-serif", "Source Sans Pro", serif;
}

html[lang=zh-CN] .post-item .excerpt {
  font-family: "source han serif cn", "source-serif", serif;
}
html[lang=zh-CN] #post {
  font-family: "source han serif cn", "source-serif", serif;
}
html[lang=zh-CN] .gt-comment-body {
  font-family: "source han serif cn", "source-serif", serif;
}

.fit-content {
  width: fit-content;
}

#related-posts {
  padding-left: min(3vw, 26px);
  padding-right: min(3vw, 26px);
  border-top: solid 1px #f5f5f5;
}
#related-posts .related-posts-title {
  margin: 1em 0;
  font-size: 1.2rem;
  font-weight: bold;
  color: #232323;
}

#page-donates {
  width: fit-content;
  margin: 1em auto;
  padding: 1em 2em;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  border-radius: 2px;
  background-color: #0f730c;
  color: #fff;
  outline: none;
  font-size: 0.8em;
  position: relative;
  user-select: none;
}
#page-donates #donate-modal {
  transition: all ease-in-out 0.3s;
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translate(-50%, calc(-100% - 20px));
  cursor: default;
  pointer-events: none;
  opacity: 0;
}
#page-donates #donate-modal .qr-code {
  width: 250px;
  height: 250px;
  object-fit: cover;
}
#page-donates #donate-modal.visible {
  transform: translate(-50%, -100%);
  opacity: 1;
  pointer-events: all;
}

.caption-link {
  text-decoration: underline;
  cursor: pointer;
}

.text-center {
  text-align: center;
}

.img-exif {
  font-family: SF Pro Text, SF Pro Icons, Helvetica Neue, Helvetica, Arial, sans-serif, serif;
}

.custom-checked-checkbox {
  width: 1em;
  height: 1em;
  background-image: url("/img/icons/checked-checkbox.svg");
  background-size: cover;
  display: inline-block;
}