::-webkit-scrollbar {
  width: 4px;
  height: 4px;
  background-color: #fafafa;
}

::-webkit-scrollbar-track {
  background-color: #fafafa;
}

::-webkit-scrollbar-thumb {
  border-radius: 3px;
  background-color: #bcbcbc;
}

::-webkit-scrollbar-thumb:hover {
  border-radius: 3px;
  background-color: #cb3340;
}

::selection {
  background: #cb3340;
  color: #fff;
}

::-moz-selection {
  background: #cb3340;
  color: #fff;
}

.share,
.post-author,
footer,
.post-footer,
.site-logo {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  cursor: default;
}

body,
a,
p,
textarea,
.author-bio,
.author-name,
.entry-preview-content,
.post-author-bio,
.post-author-name,
.post-content,
.post-excerpt,
.post-header,
.post-title,
.read-next-title,
.site-footer,
.x-separated-list {
  font-family: var(--gh-font-body, "Open Sans", -apple-system, "Helvetica Neue", Helvetica, "Nimbus Sans L", Arial, "Liberation Sans", "PingFang SC", "Hiragino Sans GB", "Source Han Sans CN", "Source Han Sans SC", "Microsoft YaHei", "Wenquanyi Micro Hei", "WenQuanYi Zen Hei", "ST Heiti", SimHei, "WenQuanYi Zen Hei Sharp", sans-serif);
}

body {
  font-size: 16px;
  min-height: 100vh;
  height: auto;
}

p {
  word-break: break-word;
  letter-spacing: -0.05px;
  vertical-align: baseline;
}

.post-content p {
  text-align: justify;
}

.post-content {
  text-justify: inter-character;
  text-spacing-trim: normal;
  text-autospace: normal;
}

.post-content p,
.post-excerpt {
  word-break: auto-phrase;
}

p img {
  margin: 0 auto;
  display: block;
}

h1,
h2 a,
h3,
h4 {
  font-family: var(--gh-font-heading, "Open Sans", -apple-system, "Helvetica Neue", Helvetica, "Nimbus Sans L", Arial, "Liberation Sans", "PingFang SC", "Hiragino Sans GB", "Source Han Sans CN", "Source Han Sans SC", "Microsoft YaHei", "Wenquanyi Micro Hei", "WenQuanYi Zen Hei", "ST Heiti", SimHei, "WenQuanYi Zen Hei Sharp", sans-serif);
  font-weight: 600;
}

blockquote {
  font-style: normal !important;
  color: #909090;
  font-family: var(--gh-font-body, "Open Sans", -apple-system, "Helvetica Neue", Helvetica, "Nimbus Sans L", Arial, "Liberation Sans", "PingFang SC", "Hiragino Sans GB", "Source Han Sans CN", "Source Han Sans SC", "Microsoft YaHei", "Wenquanyi Micro Hei", "WenQuanYi Zen Hei", "ST Heiti", SimHei, "WenQuanYi Zen Hei Sharp", sans-serif);
  font-size: 18px;
}

blockquote:before {
  content: "";
  position: absolute;
  left: -30px;
  margin-top: -13px;
  opacity: 0.1;
  width: 70px;
  height: 56px;
  background-image: url("https://img.wusen.me/quote.svg");
}

.container {
  max-width: 540px;
}

.post-template .container {
  max-width: 680px;
}

.site-footer {
  background-image: none;
}

.site-footer a {
  font-weight: normal !important;
}

.footer-links {
  margin-top: -40px;
}

#trigger {
  height: 32px;
}

#sociallinks {
  height: 20px;
  width: auto;
  margin-bottom: 5px;
  margin-top: 37px;
}

#f {
  color: #aaa;
  margin-bottom: -7px;
}

#rsslink {
  width: 18px;
  height: 18px;
  margin-bottom: -2px;
  margin-right: 8px;
  background-image: url("https://img.wusen.me/srss.svg");
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0.3;
  display: inline-block;
  line-height: 9px;
}

#rsslink:hover {
  background-position: -17px 0;
  opacity: 1;
}

.expbig {
  transform: scaleY(0.25);
  height: 60px;
}

.exp {
  width: 100%;
  height: 60px;
  transform-origin: bottom;
  background: rgba(13, 13, 13, 0.95);
  background: linear-gradient(135deg, rgba(13, 13, 13, 0.95) 0%, rgba(26, 26, 26, 0.96) 17%, rgba(28, 28, 28, 0.97) 39%, rgba(8, 8, 8, 1) 100%);
  border-radius: 2px;
  margin-bottom: 23px;
}

#monolith {
  margin-top: 0;
}

#announcement-bar-root {
  font-family: var(--gh-font-body, "Open Sans", -apple-system, "Helvetica Neue", Helvetica, "Nimbus Sans L", Arial, "Liberation Sans", "PingFang SC", "Hiragino Sans GB", "Source Han Sans CN", "Source Han Sans SC", "Microsoft YaHei", "Wenquanyi Micro Hei", "WenQuanYi Zen Hei", "ST Heiti", SimHei, "WenQuanYi Zen Hei Sharp", sans-serif);
}

#announcement-bar-root .gh-announcement-bar,
.gh-announcement-bar {
  min-height: 42px !important;
  padding: 10px 20px !important;
  background: #fbfbfb !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06) !important;
  box-shadow: none !important;
  color: #777 !important;
  font-size: 14px !important;
  line-height: 22px !important;
}

#announcement-bar-root .gh-announcement-bar-content,
.gh-announcement-bar-content {
  max-width: 680px !important;
  margin: 0 auto !important;
  font-weight: 400 !important;
}

#announcement-bar-root .gh-announcement-bar a,
.gh-announcement-bar a {
  color: #333 !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.18) !important;
}

#announcement-bar-root .gh-announcement-bar-close,
.gh-announcement-bar-close {
  opacity: 0.45 !important;
}

#announcement-bar-root .gh-announcement-bar-close:hover,
.gh-announcement-bar-close:hover {
  opacity: 0.75 !important;
}

.post-author,
.post-footer,
.share,
.x-separated-list,
.footer-link .x-separated-list,
.x-separated-list-meta {
  display: none;
}

.post-excerpt {
  font-style: normal !important;
  display: block;
  max-height: 165px;
  text-align: left;
  color: #333;
  position: relative;
  -webkit-tap-highlight-color: transparent;
  tap-highlight-color: transparent;
}

.post-list .post-title a,
.post-list .post-excerpt {
  -webkit-tap-highlight-color: transparent;
  tap-highlight-color: transparent;
}

.post-list .post-excerpt:hover,
.post-list .post-excerpt:active,
.post-list .post-excerpt:focus {
  color: #333;
  opacity: 1;
}

.post-list .post-excerpt::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 42%;
  height: 28px;
  background: linear-gradient(to right, rgba(251, 251, 251, 0) 0%, rgba(251, 251, 251, 0.88) 62%, #fbfbfb 100%);
  pointer-events: none;
  transition: width 180ms ease;
}

.post-list .post-excerpt:hover::after {
  width: 24%;
}

.post-list .post-header {
  margin-bottom: 10px;
  height: auto !important;
}

.post-list .post-title {
  font-size: 20px;
}

.post-list .post-title,
.post-list .post-excerpt {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  cursor: pointer;
}

.post-content img {
  display: block;
  width: 100%;
  padding: 0;
  margin-top: 30px;
  border-radius: 3px;
}

.post-content figure,
.post-content .kg-card,
.post-content .kg-image-card {
  width: 100%;
  margin: 30px 0;
  margin-inline: 0;
}

.post-content figure img,
.post-content .kg-card img,
.post-content .kg-image {
  margin-top: 0;
}

.kg-width-wide {
  width: min(100vw - 40px, 920px);
  max-width: none;
  margin-left: 50%;
  transform: translateX(-50%);
}

.kg-width-full {
  width: 100vw;
  max-width: none;
  margin-left: 50%;
  transform: translateX(-50%);
}

.kg-width-full img {
  width: 100%;
}

.post-content .kg-width-wide {
  width: min(100vw - 40px, 920px);
  max-width: none;
  margin: 30px 0 30px 50%;
  transform: translateX(-50%);
}

.post-content .kg-width-full {
  width: 100vw;
  max-width: none;
  margin: 30px 0 30px 50%;
  transform: translateX(-50%);
}

.post-content .kg-width-wide img,
.post-content .kg-width-full img {
  width: 100%;
}

.site-logo img {
  max-height: 65px !important;
  margin-bottom: 0 !important;
}

.read-next-label {
  font-style: normal;
}

.pagination {
  font-style: normal;
}

.post-comments {
  margin: 0 0 60px;
  padding-top: 30px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.post-comments .ghost-display {
  --gh-accent-color: #cb3340 !important;
  padding-bottom: 36px !important;
  font-family: var(--gh-font-body, "Open Sans", -apple-system, "Helvetica Neue", Helvetica, "Nimbus Sans L", Arial, "Liberation Sans", "PingFang SC", "Hiragino Sans GB", "Source Han Sans CN", "Source Han Sans SC", "Microsoft YaHei", "Wenquanyi Micro Hei", "WenQuanYi Zen Hei", "ST Heiti", SimHei, "WenQuanYi Zen Hei Sharp", sans-serif) !important;
}

.post-comments .ghost-display [data-testid="title"] {
  font-size: 24px !important;
  line-height: 1.25 !important;
  font-weight: 600 !important;
  letter-spacing: 0 !important;
}

.post-comments .ghost-display [data-testid="count"] {
  font-size: 14px !important;
  line-height: 22px !important;
}

.post-comments .ghost-display [data-testid="cta-box"] {
  padding-top: 28px !important;
  padding-bottom: 34px !important;
}

.post-comments .ghost-display [data-testid="cta-box"] h1 {
  margin-bottom: 8px !important;
  font-size: 22px !important;
  line-height: 1.3 !important;
  font-weight: 600 !important;
  letter-spacing: 0 !important;
}

.post-comments .ghost-display [data-testid="cta-box"] p {
  margin-bottom: 24px !important;
  font-size: 15px !important;
  line-height: 24px !important;
}

.post-comments .ghost-display button {
  border-radius: 3px !important;
  font-size: 14px !important;
  line-height: 1 !important;
  font-weight: 600 !important;
  letter-spacing: 0 !important;
}

.post-comments .ghost-display [data-testid="signup-button"] {
  padding: 12px 18px !important;
  background-color: #cb3340 !important;
}

.post-comments .ghost-display [data-testid="signin-button"] {
  color: #cb3340 !important;
}

.post-comments .ghost-display [data-testid="comment-component"] {
  margin-bottom: 26px !important;
}

.post-comments .ghost-display [data-testid="comment-component"] h4 {
  font-size: 14px !important;
  line-height: 21px !important;
  font-weight: 600 !important;
}

.post-comments .ghost-display [data-testid="comment-content"] {
  font-size: 16px !important;
  line-height: 26px !important;
}

.post-comments .ghost-display [data-testid="like-button"],
.post-comments .ghost-display [data-testid="reply-button"] {
  font-size: 13px !important;
  line-height: 18px !important;
}

.site-header:after,
.container:after,
.site-footer:after {
  background-color: rgba(0, 0, 0, 0);
  content: "";
}

.post {
  -webkit-animation: fade-in-bottom 0.5s cubic-bezier(0.165, 0.840, 0.440, 1.000) 0.2s both;
  animation: fade-in-bottom 0.5s cubic-bezier(0.165, 0.840, 0.440, 1.000) 0.2s both;
}

@media (prefers-color-scheme: dark) {
  html {
    background-color: rgba(9, 9, 8, 1);
  }

  body {
    background-color: rgba(9, 9, 8, 1);
    background-image: linear-gradient(rgba(15, 15, 13, 0.81), rgba(9, 9, 8, 1));
    background-attachment: fixed;
    color: rgba(246, 246, 246, 0.66);
  }

  .post-excerpt {
    color: rgba(255, 255, 255, 0.66);
  }

  .post-list .post-excerpt::after {
    background: linear-gradient(to right, rgba(9, 9, 8, 0) 0%, rgba(9, 9, 8, 0.88) 62%, rgba(9, 9, 8, 1) 100%);
  }

  #announcement-bar-root .gh-announcement-bar,
  .gh-announcement-bar {
    background: rgba(9, 9, 8, 1) !important;
    border-bottom-color: rgba(255, 255, 255, 0.08) !important;
    color: rgba(255, 255, 255, 0.66) !important;
  }

  #announcement-bar-root .gh-announcement-bar a,
  .gh-announcement-bar a {
    color: rgba(255, 255, 255, 0.86) !important;
    border-bottom-color: rgba(255, 255, 255, 0.24) !important;
  }

  .post-comments {
    border-top-color: rgba(255, 255, 255, 0.1);
  }

  .post-comments .ghost-display {
    --gh-accent-color: #cb3340 !important;
  }

  .post-comments .ghost-display [data-testid="signup-button"] {
    background-color: #cb3340 !important;
  }

  .post-comments .ghost-display [data-testid="signin-button"] {
    color: #ff6b74 !important;
  }

  .post-title,
  h1,
  h2,
  h3,
  h4,
  a,
  .post-content a {
    color: rgba(255, 255, 255, 0.86);
  }

  a:hover {
    color: rgba(255, 255, 255, 0.74);
  }

  ::-webkit-scrollbar-track {
    background-color: #282828;
  }

  ::-webkit-scrollbar-thumb {
    border-radius: 3px;
    background-color: #525252;
  }
}

@-webkit-keyframes fade-in-bottom {
  0% {
    -webkit-transform: translateY(50px);
    transform: translateY(50px);
    opacity: 0;
  }

  100% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes fade-in-bottom {
  0% {
    -webkit-transform: translateY(50px);
    transform: translateY(50px);
    opacity: 0;
  }

  100% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
    opacity: 1;
  }
}

@media (min-width: 768px) {
  blockquote {
    font-size: 19px;
    padding-bottom: 15px;
    padding-top: 16px;
    margin-left: 26px;
  }

  blockquote:before {
    left: 0;
    margin-top: -9px;
  }

  .post-title {
    font-size: 35px;
  }

  .post-excerpt {
    max-height: 180px;
  }
}
