@charset "UTF-8";
/*! normalize.css v3.0.2 | MIT License | git.io/normalize */
/**
 * 1. Set default font family to sans-serif.
 * 2. Prevent iOS text size adjust after orientation change, without disabling
 *    user zoom.
 */
html {
  font-family: sans-serif; /* 1 */
  -ms-text-size-adjust: 100%; /* 2 */
  -webkit-text-size-adjust: 100%; /* 2 */
}

/**
 * Remove default margin.
 */
body {
  margin: 0;
}

/* HTML5 display definitions
   ========================================================================== */
/**
 * Correct `block` display not defined for any HTML5 element in IE 8/9.
 * Correct `block` display not defined for `details` or `summary` in IE 10/11
 * and Firefox.
 * Correct `block` display not defined for `main` in IE 11.
 */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
menu,
nav,
section,
summary {
  display: block;
}

/**
 * 1. Correct `inline-block` display not defined in IE 8/9.
 * 2. Normalize vertical alignment of `progress` in Chrome, Firefox, and Opera.
 */
audio,
canvas,
progress,
video {
  display: inline-block; /* 1 */
  vertical-align: baseline; /* 2 */
}

/**
 * Prevent modern browsers from displaying `audio` without controls.
 * Remove excess height in iOS 5 devices.
 */
audio:not([controls]) {
  display: none;
  height: 0;
}

/**
 * Address `[hidden]` styling not present in IE 8/9/10.
 * Hide the `template` element in IE 8/9/11, Safari, and Firefox < 22.
 */
[hidden],
template {
  display: none;
}

/* Links
   ========================================================================== */
/**
 * Remove the gray background color from active links in IE 10.
 */
a {
  background-color: transparent;
}

/**
 * Improve readability when focused and also mouse hovered in all browsers.
 */
a:active,
a:hover {
  outline: 0;
}

/* Text-level semantics
   ========================================================================== */
/**
 * Address styling not present in IE 8/9/10/11, Safari, and Chrome.
 */
abbr[title] {
  border-bottom: 1px dotted;
}

/**
 * Address style set to `bolder` in Firefox 4+, Safari, and Chrome.
 */
b,
strong {
  font-weight: bold;
}

/**
 * Address styling not present in Safari and Chrome.
 */
dfn {
  font-style: italic;
}

/**
 * Address variable `h1`&'p' font-size and margin within `section` and `article`
 * contexts in Firefox 4+, Safari, and Chrome.
 */
h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

/**
 * Address styling not present in IE 8/9.
 */
mark {
  background: #ff0;
  color: #000;
}

/**
 * Address inconsistent and variable font size in all browsers.
 */
small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` affecting `line-height` in all browsers.
 */
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sup {
  top: -0.5em;
}

sub {
  bottom: -0.25em;
}

/* Embedded content
   ========================================================================== */
/**
 * Remove border when inside `a` element in IE 8/9/10.
 */
img {
  border: 0;
}

/**
 * Correct overflow not hidden in IE 9/10/11.
 */
svg:not(:root) {
  overflow: hidden;
}

/* Grouping content
   ========================================================================== */
/**
 * Address margin not present in IE 8/9 and Safari.
 */
figure {
  margin: 1em 40px;
}

/**
 * Address differences between Firefox and other browsers.
 */
hr {
  margin-top: 52px;
  margin-bottom: 42px;
  display: block;
  border: 0;
  text-align: center;
}

/**
 * Contain overflow in all browsers.
 */
pre {
  overflow: auto;
}

/**
 * Address odd `em`-unit font size rendering in all browsers.
 */
code,
kbd,
pre,
samp {
  font-family: monospace, monospace;
  font-size: 1em;
}

/* Forms
   ========================================================================== */
/**
 * Known limitation: by default, Chrome and Safari on OS X allow very limited
 * styling of `select`, unless a `border` property is set.
 */
/**
 * 1. Correct color not being inherited.
 *    Known issue: affects color of disabled elements.
 * 2. Correct font properties not being inherited.
 * 3. Address margins set differently in Firefox 4+, Safari, and Chrome.
 */
button,
input,
optgroup,
select,
textarea {
  color: inherit; /* 1 */
  font: inherit; /* 2 */
  margin: 0; /* 3 */
}

/**
 * Address `overflow` set to `hidden` in IE 8/9/10/11.
 */
button {
  overflow: visible;
}

/**
 * Address inconsistent `text-transform` inheritance for `button` and `select`.
 * All other form control elements do not inherit `text-transform` values.
 * Correct `button` style inheritance in Firefox, IE 8/9/10/11, and Opera.
 * Correct `select` style inheritance in Firefox.
 */
button,
select {
  text-transform: none;
}

/**
 * 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
 *    and `video` controls.
 * 2. Correct inability to style clickable `input` types in iOS.
 * 3. Improve usability and consistency of cursor style between image-type
 *    `input` and others.
 */
button,
html input[type=button],
input[type=reset],
input[type=submit] {
  -webkit-appearance: button; /* 2 */
  cursor: pointer; /* 3 */
}

/**
 * Re-set default cursor for disabled elements.
 */
button[disabled],
html input[disabled] {
  cursor: default;
}

/**
 * Remove inner padding and border in Firefox 4+.
 */
button::-moz-focus-inner,
input::-moz-focus-inner {
  border: 0;
  padding: 0;
}

/**
 * Address Firefox 4+ setting `line-height` on `input` using `!important` in
 * the UA stylesheet.
 */
input {
  line-height: normal;
}

/**
 * It's recommended that you don't attempt to style these elements.
 * Firefox's implementation doesn't respect box-sizing, padding, or width.
 *
 * 1. Address box sizing set to `content-box` in IE 8/9/10.
 * 2. Remove excess padding in IE 8/9/10.
 */
input[type=checkbox],
input[type=radio] {
  box-sizing: border-box; /* 1 */
  padding: 0; /* 2 */
}

/**
 * Fix the cursor style for Chrome's increment/decrement buttons. For certain
 * `font-size` values of the `input`, it causes the cursor style of the
 * decrement button to change from `default` to `text`.
 */
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Address `appearance` set to `searchfield` in Safari and Chrome.
 * 2. Address `box-sizing` set to `border-box` in Safari and Chrome
 *    (include `-moz` to future-proof).
 */
input[type=search] {
  -webkit-appearance: textfield; /* 1 */
  -moz-box-sizing: content-box;
  -webkit-box-sizing: content-box; /* 2 */
  box-sizing: content-box;
}

/**
 * Remove inner padding and search cancel button in Safari and Chrome on OS X.
 * Safari (but not Chrome) clips the cancel button when the search input has
 * padding (and `textfield` appearance).
 */
input[type=search]::-webkit-search-cancel-button,
input[type=search]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * Define consistent border, margin, and padding.
 */
fieldset {
  border: 1px solid #c0c0c0;
  margin: 0 2px;
  padding: 0.35em 0.625em 0.75em;
}

/**
 * 1. Correct `color` not being inherited in IE 8/9/10/11.
 * 2. Remove padding so people aren't caught out if they zero out fieldsets.
 */
legend {
  border: 0; /* 1 */
  padding: 0; /* 2 */
}

/**
 * Remove default vertical scrollbar in IE 8/9/10/11.
 */
textarea {
  overflow: auto;
}

/**
 * Don't inherit the `font-weight` (applied by a rule above).
 * NOTE: the default cannot safely be changed in Chrome and Safari on OS X.
 */
optgroup {
  font-weight: bold;
}

/* Tables
   ========================================================================== */
/**
 * Remove most spacing between table cells.
 */
table {
  border-collapse: collapse;
  border-spacing: 0;
}

td,
th {
  padding: 0;
}

sup {
  font-size: 0.6em;
  opacity: 0.6;
}

p {
  text-align: justify;
}

html {
  font-size: 16px;
  box-sizing: border-box;
}

body {
  padding: 0;
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft Yahei", "Helvetica Neue", Arial, sans-serif;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.5;
  color: rgba(0, 0, 0, 0.75);
  background: #fefefe;
  scroll-behavior: smooth;
  vertical-align: baseline;
}

img {
  max-width: 100%;
  height: auto;
  display: inline-block;
  vertical-align: middle;
}

a {
  color: rgba(0, 0, 0, 0.75);
  text-decoration: none;
}

h1 {
  font-size: 1.5rem;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft Yahei", "Helvetica Neue", Arial, sans-serif;
}

h2 {
  font-size: 1.4rem;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft Yahei", "Helvetica Neue", Arial, sans-serif;
}

h3 {
  font-size: 1.3rem;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft Yahei", "Helvetica Neue", Arial, sans-serif;
}

h4 {
  font-size: 1.2rem;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft Yahei", "Helvetica Neue", Arial, sans-serif;
}

h5 {
  font-size: 1.1rem;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft Yahei", "Helvetica Neue", Arial, sans-serif;
}

h6 {
  font-size: 1rem;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft Yahei", "Helvetica Neue", Arial, sans-serif;
}

.content-wrapper {
  padding: 0 20px;
}

.video-container {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  padding-top: 25px;
  height: 0;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.btn {
  display: inline-block;
  padding: 5px 10px;
  font-size: 14px;
  margin-top: 1em;
  color: rgba(0, 0, 0, 0.75);
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.75);
  text-decoration: none;
}

#content {
  margin: 0 auto;
  width: 90%;
  max-width: 1000px;
}

#primary.home {
  width: 72%;
  float: left;
  padding-right: 20px;
}

#primary {
  max-width: 850px;
  margin: 0 auto;
}

@media only screen and (max-width: 768px) {
  .site-header-inner, .content {
    width: 90%;
  }
  #secondary {
    display: none;
  }
  #primary.home {
    width: 100%;
  }
}
.header:before, .header:after {
  content: " ";
  display: table;
}
.header:after {
  clear: both;
}
.header {
  padding: 20px 20px;
}

@media only screen and (max-width: 768px) {
  .header {
    padding: 20px 0 0;
    text-align: center;
  }
}
#masthead {
  z-index: 9;
  top: 0;
  right: 0;
  left: 0;
  box-shadow: 0 0 1px rgba(0, 0, 0, 0.15);
}

.site-header-inner {
  height: 65px;
  line-height: 65px;
  max-width: 1000px;
  margin: 0 auto;
  width: 90%;
}

.site-title {
  text-align: left;
  display: inline-block;
  margin: 0 auto;
  font-weight: 400;
  font-size: 22px;
  color: rgba(0, 0, 0, 0.7);
}

#nav-top {
  float: right;
}
#nav-top .nav-top-items {
  list-style: none;
  padding-left: 0px;
  margin: 0 auto;
}
#nav-top .nav-top-items .menu-item {
  font-size: 16px;
  margin-left: 30px;
  display: inline-block;
}
#nav-top .nav-top-items .menu-item a {
  color: rgba(0, 0, 0, 0.6);
}

.posts {
  margin-bottom: 20px;
  border-bottom: 1px solid #eee;
}

.post {
  padding: 40px 0;
}
.post + .post {
  border-top: 1px solid #eee;
}
.post .post-excerpt img {
  padding-top: 0.5em;
}
.post .post-header .post-title {
  margin: 0 0 10px;
  line-height: 1.4;
  font-size: 1.3em;
  font-weight: 400;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft Yahei", "Helvetica Neue", Arial, sans-serif;
}
.post .post-header .post-link {
  display: inline-block;
  vertical-align: middle;
  transform: translateZ(0);
  backface-visibility: hidden;
  box-shadow: 0 0 1px transparent;
  position: relative;
  overflow: hidden;
}
.post .post-header .post-link.active:before, .post .post-header .post-link:active:before, .post .post-header .post-link:focus:before, .post .post-header .post-link:hover:before {
  right: 0;
  left: 0;
}
.post .post-time {
  color: #aaa;
  display: block;
  font-size: 14px;
  margin-bottom: 10px;
}
.post .post-excerpt p {
  margin: 0 0 16px;
}
.post .post-content {
  margin-bottom: 40px;
}
.post .post-content h1 {
  font-size: 1.3em;
  font-weight: 400;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft Yahei", "Helvetica Neue", Arial, sans-serif;
  margin-top: 1.2em;
}
.post .post-content h2 {
  font-size: 1.3em;
  font-weight: 400;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft Yahei", "Helvetica Neue", Arial, sans-serif;
  margin-top: 1.2em;
}
.post .post-content h3 {
  font-size: 1.3em;
  font-weight: 400;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft Yahei", "Helvetica Neue", Arial, sans-serif;
  margin-top: 1.2em;
}
.post .post-content h4 {
  font-size: 1.3em;
  font-weight: 400;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft Yahei", "Helvetica Neue", Arial, sans-serif;
  margin-top: 1.2em;
}
.post .post-content h5 {
  font-size: 1.3em;
  font-weight: 400;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft Yahei", "Helvetica Neue", Arial, sans-serif;
  margin-top: 1.2em;
}
.post .post-content h6 {
  font-size: 1.3em;
  font-weight: 400;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft Yahei", "Helvetica Neue", Arial, sans-serif;
  margin-top: 1.2em;
}
.post .post-content .headerlink:hover {
  border-bottom: 0;
}
.post .post-content .headerlink::before {
  margin-right: 5px;
  font-size: 1.1em;
  color: #4D89FB;
}
.post .post-content a {
  color: #4D89FB;
  word-break: break-all;
}
.post .post-content a:hover {
  border-bottom: 1px solid #4D89FB;
}
.post .post-content a.fancybox {
  border: 0;
}
.post .post-content blockquote {
  margin: 2em 0;
  padding-left: 10px;
  position: relative;
  color: rgba(0, 0, 0, 0.6);
  background-color: #fff;
  border-left: 2px solid #aaa;
}
.post .post-content blockquote p {
  margin: 0;
}
.post .post-content img {
  display: inline-block;
  max-width: 100%;
}
.post .post-content > table {
  max-width: 100%;
  margin: 10px 0;
  border-spacing: 0;
}
.post .post-content > table th, .post .post-content > table td {
  padding: 5px 15px;
  border: 1px double rgb(240.35, 240.35, 240.35);
  text-align: left;
}
.post .post-content code, .post .post-content pre {
  padding: 7px;
  font-size: 13px;
  font-family: "Open Sans", "PingFang SC", "Hiragino Sans GB", "Microsoft Yahei", "Microsoft Jhenghei", sans-serif;
  background: #F8F8F8;
}
.post .post-content code {
  padding: 3px 5px;
  color: #000;
}
.post .post-content .highlight {
  margin: 1em 0;
  overflow-x: auto;
  box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.125);
}
.post .post-content .highlight table {
  position: relative;
}
.post .post-content .highlight table::after {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  padding: 2px 7px;
  font-size: 13px;
  font-weight: bold;
  color: #cacaca;
  background: rgb(240.35, 240.35, 240.35);
  content: "Code";
}
.post .post-content .highlight.html > ::after {
  content: "HTML";
}
.post .post-content .highlight.js > ::after {
  content: "JavaScript";
}
.post .post-content .highlight.bash > ::after {
  content: "Bash";
}
.post .post-content .highlight.css > ::after {
  content: "CSS";
}
.post .post-content .highlight.scss > ::after {
  content: "Scss";
}
.post .post-content .highlight.java > ::after {
  content: "Java";
}
.post .post-content .highlight.xml > ::after {
  content: "XML";
}
.post .post-content .highlight.python > ::after {
  content: "Python";
}
.post .post-content .highlight.json > ::after {
  content: "JSON";
}
.post .post-content .highlight.swift > ::after {
  content: "Swift";
}
.post .post-content .highlight.ruby > ::after {
  content: "Ruby";
}
.post .post-content .highlight.php > ::after {
  content: "PHP";
}
.post .post-content .highlight.c > ::after {
  content: "C";
}
.post .post-content .highlight.cpp > ::after {
  content: "C++";
}
.post .post-content .highlight.scheme > ::after {
  content: "Scheme";
}
.post .post-content .highlight.objectivec > ::after {
  content: "Objective-C";
}
.post .post-content .highlight.yml > ::after {
  content: "YAML";
}
.post .post-content .highlight.stylus > ::after {
  content: "Stylus";
}
.post .post-content .highlight .code pre {
  margin: 0;
  padding: 30px 10px 10px;
}
.post .post-content .highlight .gutter {
  width: 10px;
  color: #cacaca;
}
.post .post-content .highlight .gutter pre {
  margin: 0;
  padding: 30px 7px 10px;
}
.post .post-content .highlight .line {
  height: 20px;
}
.post .post-content .highlight table, .post .post-content .highlight tr, .post .post-content .highlight td {
  margin: 0;
  padding: 0;
  width: 100%;
  border-collapse: collapse;
}
.post .post-content .highlight .code .comment,
.post .post-content .highlight .code .quote {
  color: #93a1a1;
}
.post .post-content .highlight .code .keyword,
.post .post-content .highlight .code .selector-tag,
.post .post-content .highlight .code .addition {
  color: #859900;
}
.post .post-content .highlight .code .number,
.post .post-content .highlight .code .string,
.post .post-content .highlight .code .meta .meta-string,
.post .post-content .highlight .code .literal,
.post .post-content .highlight .code .doctag,
.post .post-content .highlight .code .regexp {
  color: #2aa198;
}
.post .post-content .highlight .code .attribute,
.post .post-content .highlight .code .attr,
.post .post-content .highlight .code .variable,
.post .post-content .highlight .code .template-variable,
.post .post-content .highlight .code .class .title,
.post .post-content .highlight .code .type {
  color: #b58900;
}
.post .post-content .highlight .code .symbol,
.post .post-content .highlight .code .bullet,
.post .post-content .highlight .code .subst,
.post .post-content .highlight .code .meta,
.post .post-content .highlight .code .meta .keyword,
.post .post-content .highlight .code .selector-attr,
.post .post-content .highlight .code .selector-pseudo,
.post .post-content .highlight .code .link {
  color: #cb4b16;
}
.post .post-content .highlight .code .built_in,
.post .post-content .highlight .code .deletion {
  color: #dc322f;
}
.post .post-content .read-more .read-more-link {
  color: #4D89FB;
  font-size: 1.1em;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft Yahei", "Helvetica Neue", Arial, sans-serif;
}
.post .post-content .read-more .read-more-link:hover {
  border-bottom: 1px solid #4D89FB;
}
.post .post-footer {
  margin-top: 20px;
  border-top: 1px solid #eee;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft Yahei", "Helvetica Neue", Arial, sans-serif;
}
.post .post-footer .post-tags {
  padding: 15px 0;
}
.post .post-footer .post-tags a {
  margin-right: 5px;
  color: #4D89FB;
  word-break: break-all;
}
.post .post-footer .post-tags a::before {
  content: "#";
}
.post .post-footer .post-nav {
  margin: 1em 0;
}
.post .post-footer .post-nav:before, .post .post-footer .post-nav:after {
  content: " ";
  display: table;
}
.post .post-footer .post-nav:after {
  clear: both;
}
.post .post-footer .post-nav .prev,
.post .post-footer .post-nav .next {
  font-weight: 400;
  font-size: 16px;
  color: rgba(0, 0, 0, 0.75);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft Yahei", "Helvetica Neue", Arial, sans-serif;
  transition-property: transform;
  transition-timing-function: ease-out;
  transition-duration: 0.3s;
}
.post .post-footer .post-nav .prev {
  float: left;
}
.post .post-footer .post-nav .prev:hover {
  color: #4D89FB;
  transform: translateX(-4px);
}
.post .post-footer .post-nav .next {
  float: right;
}
.post .post-footer .post-nav .next:hover {
  color: #4D89FB;
  transform: translateX(4px);
}
.post .post-footer .post-nav .nav-mobile {
  display: none;
}
@media only screen and (max-width: 768px) {
  .post .post-footer .post-nav .nav-default {
    display: none;
  }
  .post .post-footer .post-nav .nav-mobile {
    display: inline;
  }
}

.pagination {
  padding-bottom: 1.2em;
}
.pagination:before, .pagination:after {
  content: " ";
  display: table;
}
.pagination:after {
  clear: both;
}
.pagination .prev,
.pagination .next {
  font-weight: 400;
  font-size: 16px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft Yahei", "Helvetica Neue", Arial, sans-serif;
  transition-property: transform;
  transition-timing-function: ease-out;
  transition-duration: 0.3s;
}
.pagination .prev {
  float: left;
}
.pagination .prev:hover {
  color: #4D89FB;
  transform: translateX(-4px);
}
.pagination .next {
  float: right;
}
.pagination .next:hover {
  color: #4D89FB;
  transform: translateX(4px);
}

#secondary {
  width: 19%;
  float: right;
  padding-top: 40px;
  color: rgba(0, 0, 0, 0.6);
}
#secondary ol, #secondary ul {
  list-style: none;
}

.widget-area {
  font-size: 14px;
}
.widget-area ul {
  padding-left: 0;
}
.widget-area h3 {
  margin-top: 0;
  color: #000;
}
.widget-area .widget-title {
  font-size: 16px;
  letter-spacing: 1px;
  padding-bottom: 5px;
  font-weight: 300;
  border-bottom: 1px solid #ddd;
}
.widget-area .category-list-item {
  line-height: 1.9;
}
.widget-area .category-list-item .category-list-link {
  color: rgba(0, 0, 0, 0.6);
}
.widget-area .category-list-item .category-list-count {
  padding-left: 5px;
  color: #999;
  font-size: 0.85em;
}
.widget-area .category-list-item .category-list-count:before {
  content: "(";
}
.widget-area .category-list-item .category-list-count:after {
  content: ")";
}

.widget-area + .widget-area {
  margin-top: 30px;
}

.widget_tags .tag-list-item {
  padding: 0 10px 7px 0;
  font-size: 14px;
  text-transform: uppercase;
  border: 1px solid #ff;
  display: inline-block;
  background: #fff;
}
.widget_tags .tag-list-item .tag-list-link {
  color: rgba(0, 0, 0, 0.6);
}
.widget_tags .tag-list-count {
  vertical-align: super;
  font-size: 0.6em;
  opacity: 0.6;
  top: -0.5em;
}

.footer {
  margin-top: 2em;
}

#colophon {
  width: 90%;
  margin: 30px auto 0;
  padding: 20px 0;
  border-top: 1px solid #e1e1e1;
  color: #aaa;
  font-size: 14px;
  max-width: 1000px;
  display: block;
  overflow: hidden;
}
#colophon a {
  color: #aaa;
}
#colophon .footer-author {
  margin: 0 4px;
}

.archive {
  margin: 2em 0px;
  line-height: 1.6;
}
.archive .archive-post + .collection-title {
  margin-top: 30px;
}
.archive .archive-title {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft Yahei", "Helvetica Neue", Arial, sans-serif;
}
.archive .archive-title.tag, .archive .archive-title.category {
  margin: 15px 0;
}
.archive .archive-title .archive-name {
  margin: 0;
  display: inline-block;
  font-weight: 400;
  font-size: 29px;
  line-height: 31px;
}
.archive .collection-title {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft Yahei", "Helvetica Neue", Arial, sans-serif;
  font-size: 29px;
}
.archive .collection-title .archive-year {
  margin: 18px 0;
  font-weight: 400;
  font-size: 29px;
  line-height: 34px;
}
.archive .archive-post {
  margin: 15px 0;
}
.archive .archive-post .archive-post-time {
  float: left;
  overflow: hidden;
  color: #aaa;
  font-size: 14px;
  line-height: 25px;
  display: block;
}
.archive .archive-post .archive-post-title {
  margin-left: 85px;
  display: block;
}
.archive .archive-post .archive-post-title .archive-post-link {
  color: rgb(51, 51, 51);
}
.archive .archive-post::first-child {
  margin-top: 20px;
}
.archive .archive-post:hover {
  transition: 0.2s ease-out;
  transform: translateX(4px);
}
.archive .archive-post:hover .archive-post-time {
  color: #4D89FB;
}
.archive .archive-post:hover .archive-post-title .archive-post-link {
  color: #4D89FB;
}

.tag-cloud {
  margin: 2em 0 3em;
  text-align: center;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft Yahei", "Helvetica Neue", Arial, sans-serif;
}
.tag-cloud .tag-cloud-title {
  display: inline-block;
  font-size: 18px;
  color: #4D89FB;
  border-bottom: 2px solid #4D89FB;
}
.tag-cloud .tag-cloud-tags {
  margin: 10px 0;
}
.tag-cloud .tag-cloud-tags a {
  display: inline-block;
  position: relative;
  margin: 5px 10px;
  word-wrap: break-word;
  transition-duration: 0.2s;
  transition-property: transform;
  transition-timing-function: ease-out;
}
.tag-cloud .tag-cloud-tags a:active, .tag-cloud .tag-cloud-tags a:focus, .tag-cloud .tag-cloud-tags a:hover {
  color: #4D89FB;
  transform: scale(1.1);
}

.categories {
  margin: 2em 0 3em;
  text-align: center;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft Yahei", "Helvetica Neue", Arial, sans-serif;
}
.categories .categories-title {
  display: inline-block;
  font-size: 18px;
  color: #4D89FB;
  border-bottom: 2px solid #4D89FB;
}
.categories .categories-tags {
  margin: 10px 0;
}
.categories .categories-tags .category-link {
  display: inline-block;
  position: relative;
  margin: 5px 10px;
  word-wrap: break-word;
  transition-duration: 0.2s;
  transition-property: transform;
  transition-timing-function: ease-out;
}
.categories .categories-tags .category-link .category-count {
  display: inline-block;
  position: relative;
  top: -8px;
  right: -2px;
  color: #4D89FB;
  font-size: 12px;
}
.categories .categories-tags .category-link:active, .categories .categories-tags .category-link:focus, .categories .categories-tags .category-link:hover {
  color: #4D89FB;
  transform: scale(1.1);
}

@font-face {
  font-family: "iconfont"; /* project id 96542 */
  src: url("//at.alicdn.com/t/font_8gx15cdpiaz41jor.eot");
  src: url("//at.alicdn.com/t/font_8gx15cdpiaz41jor.eot?#iefix") format("embedded-opentype"), url("//at.alicdn.com/t/font_8gx15cdpiaz41jor.woff") format("woff"), url("//at.alicdn.com/t/font_8gx15cdpiaz41jor.ttf") format("truetype"), url("//at.alicdn.com/t/font_8gx15cdpiaz41jor.svg#iconfont") format("svg");
}
.iconfont {
  font-family: "iconfont" !important;
  font-style: normal;
  -webkit-font-smoothing: antialiased;
  -webkit-text-stroke-width: 0.2px;
  -moz-osx-font-smoothing: grayscale;
  cursor: pointer;
}

.icon-linkedin:before {
  content: "\e60d";
  position: relative;
  top: -2px;
}

.icon-twitter:before {
  content: "\e600";
}

.icon-weibo:before {
  content: "\e602";
}

.icon-stack-overflow:before {
  content: "\e603";
  font-size: 0.85em;
  position: relative;
  top: -4px;
}

.icon-email:before {
  content: "\e605";
  position: relative;
  top: -2px;
}

.icon-facebook:before {
  content: "\e601";
  font-size: 0.95em;
  position: relative;
  top: -2px;
}

.icon-github:before {
  content: "\e606";
  position: relative;
  top: -3px;
}

.icon-rss:before {
  content: "\e604";
}

.icon-google:before {
  content: "\e609";
}

.icon-zhihu:before {
  content: "\e607";
  font-size: 0.9em;
  position: relative;
  top: -2px;
}

.icon-heart:before {
  content: "\e608";
}

.icon-right:before {
  content: "\e60a";
}

.icon-left:before {
  content: "\e60b";
}

.icon-up:before {
  content: "\e60c";
}

.icon-search:before {
  content: "\e60e";
}

.icon-close:before {
  content: "\e60f";
}

.back-to-top {
  display: none;
  position: fixed;
  right: 20px;
  bottom: 20px;
  transition-property: transform;
  transition-timing-function: ease-out;
  transition-duration: 0.3s;
  z-index: 10;
}
.back-to-top:hover {
  transform: translateY(-5px);
}

.menu-item-resume {
  position: relative;
  cursor: pointer;
}
.menu-item-resume .resume-nav-label {
  display: inline-block;
  padding: 0;
  cursor: pointer;
  color: rgba(0, 0, 0, 0.6);
  font-size: inherit;
  text-decoration: none;
}
.menu-item-resume .resume-nav-label::after {
  content: " ▾";
  font-size: 0.65em;
  opacity: 0.6;
}
.menu-item-resume .resume-lang-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  min-width: 90px;
  padding: 2px 0;
  z-index: 999;
  list-style: none;
  margin: 0;
}
.menu-item-resume .resume-lang-dropdown li {
  display: block;
  margin: 0;
  padding: 0;
  line-height: 1;
}
.menu-item-resume .resume-lang-dropdown li a {
  display: block;
  padding: 5px 12px;
  color: rgba(0, 0, 0, 0.6);
  text-decoration: none;
  white-space: nowrap;
  font-size: 0.82em;
}
.menu-item-resume .resume-lang-dropdown li a:hover {
  background: #f5f5f5;
  color: #4D89FB;
}
.menu-item-resume:hover .resume-lang-dropdown, .menu-item-resume:focus-within .resume-lang-dropdown, .menu-item-resume.active .resume-lang-dropdown {
  display: block;
}

body {
  font-family: "Smiley Sans Oblique", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft Yahei", "Helvetica Neue", Arial, sans-serif;
}

#masthead {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

#content {
  margin-top: 80px;
  overflow: hidden;
}

#primary.home {
  padding-top: 20px;
  float: none;
  width: 73%;
}

#secondary {
  position: fixed;
  top: 80px;
  right: 5%;
  width: 22%;
  max-width: 280px;
  max-height: calc(100vh - 100px);
  overflow-y: auto;
  z-index: 100;
  float: none;
  padding-top: 0;
}
#secondary::-webkit-scrollbar {
  width: 4px;
}
#secondary::-webkit-scrollbar-track {
  background: transparent;
}
#secondary::-webkit-scrollbar-thumb {
  background: #ddd;
  border-radius: 2px;
}
#secondary .widget-area {
  margin-bottom: 20px;
  padding: 15px 0;
}
#secondary .widget-area .widget-title {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid #e0e0e0;
}
#secondary .widget-area a {
  color: #666;
  font-size: 13px;
  line-height: 1.8;
}
#secondary .widget-area a:hover {
  color: #4D89FB;
}
#secondary .widget_tags .tag-list, #secondary .widget_tags .category-list, #secondary .widget_categories .tag-list, #secondary .widget_categories .category-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
#secondary .widget_tags .tag-list li, #secondary .widget_tags .category-list li, #secondary .widget_categories .tag-list li, #secondary .widget_categories .category-list li {
  display: inline-block;
  margin: 3px 5px;
}
#secondary .widget_tags .tag-list li a, #secondary .widget_tags .category-list li a, #secondary .widget_categories .tag-list li a, #secondary .widget_categories .category-list li a {
  display: inline-block;
  padding: 2px 0;
  background: transparent;
  border-radius: 0;
  border: none;
  font-size: 12px;
}
#secondary .widget_tags .tag-list li a:hover, #secondary .widget_tags .category-list li a:hover, #secondary .widget_categories .tag-list li a:hover, #secondary .widget_categories .category-list li a:hover {
  background: transparent;
  color: #4D89FB;
  border: none;
  text-decoration: underline;
}
#secondary .widget_tags .tag-list li .count, #secondary .widget_tags .category-list li .count, #secondary .widget_categories .tag-list li .count, #secondary .widget_categories .category-list li .count {
  font-size: 11px;
  color: #999;
  margin-left: 3px;
}

#primary {
  max-width: 1000px;
}

#primary.home {
  width: 73%;
  float: none;
  padding-right: 0;
}

@media (max-width: 1024px) {
  #secondary {
    position: static;
    width: 100%;
    max-width: none;
    margin-top: 30px;
  }
  #primary.home {
    width: 100%;
    float: none;
  }
}
@media (min-width: 769px) and (max-width: 1024px) {
  #content {
    width: 95%;
    padding: 0 10px;
  }
  #primary {
    width: 100%;
    padding: 0 20px;
    box-sizing: border-box;
  }
  #primary.home {
    width: 100%;
    padding: 0 20px;
  }
  .post {
    padding: 20px;
  }
}
@media (max-width: 768px) {
  #masthead {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    height: auto;
  }
  #content {
    margin-top: 60px;
    padding-top: 15px;
    width: 100%;
    padding-left: 0;
    padding-right: 0;
  }
  .site-header-inner {
    padding: 0 15px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    height: 48px;
    line-height: 48px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  .site-header-inner .site-title {
    font-size: 1.1em;
    margin: 0;
    text-align: left;
    line-height: 48px;
    flex-shrink: 0;
  }
  .site-header-inner .site-title a {
    color: #333;
    display: inline-block;
    padding: 0;
    font-weight: 500;
  }
  #nav-top {
    width: auto;
    float: none;
  }
  #nav-top .nav-top-items {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 2px;
    margin: 0;
    padding: 0;
    list-style: none;
  }
  #nav-top .nav-top-items .menu-item a {
    padding: 4px 8px;
    font-size: 13px;
    color: rgba(0, 0, 0, 0.6);
    text-decoration: none;
    border-radius: 4px;
    transition: color 0.2s;
    white-space: nowrap;
    display: inline-block;
    line-height: 1.4;
  }
  #nav-top .nav-top-items .menu-item a:hover, #nav-top .nav-top-items .menu-item a:active {
    color: #4D89FB;
  }
  #nav-top .nav-top-items .menu-item:last-child a {
    color: #999;
    font-size: 12px;
  }
  .menu-item-resume {
    position: relative;
  }
  .menu-item-resume .resume-nav-label {
    display: inline-block;
    padding: 4px 8px;
    font-size: 13px;
    color: rgba(0, 0, 0, 0.6);
    cursor: pointer;
    line-height: 1.4;
    border-radius: 4px;
  }
  .menu-item-resume .resume-nav-label::after {
    font-size: 0.6em;
    opacity: 0.5;
  }
  .menu-item-resume .resume-lang-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 2px);
    right: 0;
    left: auto;
    transform: none;
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    min-width: 100px;
    padding: 4px 0;
    z-index: 999;
  }
  .menu-item-resume .resume-lang-dropdown li {
    margin: 0;
    line-height: 1;
  }
  .menu-item-resume .resume-lang-dropdown li a {
    display: block;
    font-size: 13px;
    padding: 8px 14px;
    color: #555;
    white-space: nowrap;
  }
  .menu-item-resume .resume-lang-dropdown li a:hover, .menu-item-resume .resume-lang-dropdown li a:active {
    background: #f5f5f5;
    color: #4D89FB;
  }
  .menu-item-resume:hover .resume-lang-dropdown, .menu-item-resume:focus-within .resume-lang-dropdown, .menu-item-resume.active .resume-lang-dropdown {
    display: block;
  }
  .home #primary {
    width: 100%;
    padding: 0 15px;
    max-width: 100%;
    margin: 0 auto;
    float: none;
  }
  .home .posts {
    width: 100%;
  }
  .home .post {
    max-width: 100%;
    margin-bottom: 1.8em;
    padding: 0 0 1.2em 0;
    border-bottom: 1px solid #eee;
  }
  .home .post .post-header {
    margin-bottom: 0.8em;
  }
  .home .post .post-title {
    font-size: 1.2em;
    line-height: 1.5;
    margin-bottom: 0.4em;
    font-weight: 600;
  }
  .home .post .post-title a {
    display: block;
    padding: 3px 0;
    color: #333;
  }
  .home .post .post-time {
    display: inline-block;
    font-size: 0.8em;
    color: #999;
    margin-bottom: 0.3em;
  }
  .home .post .post-excerpt {
    font-size: 0.9em;
    line-height: 1.75;
    color: #555;
    margin-top: 0.6em;
  }
  .home .post .post-excerpt p {
    margin-bottom: 0.6em;
  }
  .home .post .post-excerpt p:last-child {
    margin-bottom: 0;
  }
  .toc-container {
    display: none;
  }
  #secondary {
    display: block;
    position: static;
    width: 100%;
    max-width: none;
    margin: 20px 0 0 0;
    padding: 15px;
    background: #fafafa;
    border-radius: 8px;
    box-sizing: border-box;
  }
  #secondary .widget-area {
    margin-bottom: 15px;
  }
  #secondary .widget-area .widget-title {
    font-size: 14px;
    color: #333;
    border-bottom: 1px solid #ddd;
    padding-bottom: 8px;
  }
  .post {
    padding: 15px 15px;
    max-width: 100%;
    box-sizing: border-box;
  }
  .post .post-header {
    margin-bottom: 1.2em;
    padding-bottom: 0.8em;
    border-bottom: 1px solid #eee;
  }
  .post .post-header .post-title {
    font-size: 1.35em;
    line-height: 1.4;
    word-wrap: break-word;
    color: #222;
    font-weight: 700;
    margin-bottom: 0.3em;
  }
  .post .post-content {
    font-size: 15px;
    line-height: 1.85;
    color: #333;
  }
  .post .post-content p {
    margin-bottom: 1.2em;
    text-align: justify;
  }
  .post .post-content h1, .post .post-content h2, .post .post-content h3, .post .post-content h4, .post .post-content h5, .post .post-content h6 {
    margin-top: 1.8em;
    margin-bottom: 0.8em;
    line-height: 1.4;
    font-weight: 600;
    color: #222;
  }
  .post .post-content h1 {
    font-size: 1.5em;
    font-weight: 700;
    border-bottom: 2px solid #333;
    padding-bottom: 0.3em;
    margin-top: 1.5em;
  }
  .post .post-content h2 {
    font-size: 1.3em;
    border-bottom: 1px solid #666;
    padding-bottom: 0.3em;
    color: #333;
  }
  .post .post-content h3 {
    font-size: 1.15em;
    border-left: 3px solid #666;
    padding-left: 0.5em;
    color: #444;
  }
  .post .post-content h4 {
    font-size: 1.05em;
    color: #555;
    font-style: italic;
  }
  .post .post-content ul, .post .post-content ol {
    margin-bottom: 1.2em;
    padding-left: 1.8em;
  }
  .post .post-content ul li, .post .post-content ol li {
    margin-bottom: 0.5em;
    line-height: 1.7;
  }
  .post .post-content blockquote {
    margin: 1.5em 0;
    padding: 1em 1.2em;
    border-left: 4px solid #4D89FB;
    background: rgba(77, 137, 251, 0.05);
    font-style: italic;
    line-height: 1.7;
  }
  .post .post-content blockquote p {
    margin-bottom: 0.5em;
  }
  .post .post-content blockquote p:last-child {
    margin-bottom: 0;
  }
  .post .post-content pre {
    padding: 12px;
    font-size: 13px;
    line-height: 1.6;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    background: #f8f8f8;
    border-radius: 4px;
    margin: 1.2em 0;
  }
  .post .post-content code {
    font-family: "SF Mono", Monaco, "Cascadia Code", "Roboto Mono", Consolas, "Courier New", monospace;
    background: rgba(0, 0, 0, 0.05);
    padding: 0.2em 0.4em;
    border-radius: 3px;
    font-size: 0.9em;
  }
  .post .post-content pre code {
    background: none;
    padding: 0;
  }
  .post .post-content img {
    margin: 1.5em 0;
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
  }
  .post .post-content table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 1.2em 0;
    font-size: 0.95em;
    line-height: 1.6;
  }
  .post .post-content table th, .post .post-content table td {
    padding: 8px 12px;
    border: 1px solid #ddd;
  }
  .post .post-content table th {
    background: #f5f5f5;
    font-weight: 600;
  }
  .post .post-content hr {
    margin: 2em 0;
    border: none;
    border-top: 1px solid #eee;
  }
  .post .post-content a {
    color: #4D89FB;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s;
  }
  .post .post-content a:hover {
    border-bottom-color: #4D89FB;
  }
  #primary {
    width: 100%;
    max-width: 100%;
    padding: 0 15px;
    margin: 0 auto;
    box-sizing: border-box;
    float: none;
  }
  #primary article {
    padding: 0;
  }
  .post-footer .post-nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .post-footer .post-nav .prev, .post-footer .post-nav .next {
    float: none;
    font-size: 14px;
    padding: 8px 0;
  }
  .post-footer .post-nav .prev:hover, .post-footer .post-nav .next:hover {
    transform: none;
  }
  .post-footer .post-nav .next {
    text-align: right;
  }
  .archive {
    margin: 0.5em 0 1.5em;
  }
  .archive #primary {
    padding: 0 15px;
  }
  .archive .archive-title {
    margin-bottom: 1em;
  }
  .archive .archive-title .archive-name {
    font-size: 1.6em;
    font-weight: 700;
    color: #222;
  }
  .archive .collection-title {
    margin-top: 1.5em;
  }
  .archive .collection-title .archive-year {
    font-size: 1.35em;
    font-weight: 600;
    margin: 20px 0 12px;
    color: #333;
    padding-bottom: 0.3em;
    border-bottom: 2px solid #4D89FB;
    display: inline-block;
  }
  .archive .archive-post {
    margin: 14px 0;
    padding: 0;
    line-height: 1.6;
  }
  .archive .archive-post .archive-post-time {
    float: none;
    display: inline-block;
    font-size: 0.85em;
    color: #888;
    margin-right: 12px;
    line-height: 1.5;
    min-width: 3.5em;
  }
  .archive .archive-post .archive-post-title {
    margin-left: 0;
    display: inline;
  }
  .archive .archive-post .archive-post-title .archive-post-link {
    font-size: 0.95em;
    line-height: 1.6;
    color: #444;
  }
  .archive .archive-post .archive-post-title .archive-post-link:hover {
    color: #4D89FB;
  }
  .categories {
    margin: 0.5em 0 2em;
  }
  .categories #primary {
    padding: 0 15px;
  }
  .categories .categories-title {
    font-size: 1.4em;
    font-weight: 700;
    color: #222;
    margin-bottom: 1em;
    padding-bottom: 0.3em;
    border-bottom: 2px solid #4D89FB;
    display: inline-block;
  }
  .categories .categories-tags {
    margin-top: 1em;
  }
  .categories .categories-tags .category-link {
    display: inline-block;
    margin: 6px;
    font-size: 0.95em;
    padding: 6px 12px;
    background: #f5f5f5;
    border-radius: 4px;
    line-height: 1.5;
    transition: all 0.2s;
  }
  .categories .categories-tags .category-link:active {
    transform: scale(0.95);
  }
  .categories .categories-tags .category-link .category-count {
    font-size: 0.75em;
    top: -4px;
    color: #4D89FB;
    margin-left: 4px;
  }
  .tag-cloud {
    margin: 0.5em 0 2em;
  }
  .tag-cloud #primary {
    padding: 0 15px;
  }
  .tag-cloud .tag-cloud-title {
    font-size: 1.4em;
    font-weight: 700;
    color: #222;
    margin-bottom: 1em;
    padding-bottom: 0.3em;
    border-bottom: 2px solid #4D89FB;
    display: inline-block;
  }
  .tag-cloud .tag-cloud-tags {
    margin-top: 1em;
    line-height: 2.2;
  }
  .tag-cloud .tag-cloud-tags a {
    display: inline-block;
    margin: 4px 6px;
    font-size: 0.95em;
    padding: 5px 10px;
    background: #f5f5f5;
    border-radius: 4px;
    line-height: 1.5;
    transition: all 0.2s;
  }
  .tag-cloud .tag-cloud-tags a:active {
    transform: scale(0.95);
  }
  #colophon {
    padding: 20px 15px;
    text-align: center;
    font-size: 0.85em;
    color: #666;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    margin: 20px auto 0;
  }
  #colophon .footer-author {
    display: inline;
  }
  #colophon .power-by {
    display: block;
    margin-top: 5px;
    font-size: 0.9em;
  }
  #colophon .site-stats {
    font-size: 0.8em;
    margin-top: 10px;
    display: block;
  }
  .pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
  }
  .pagination .prev, .pagination .next {
    float: none;
    font-size: 14px;
    padding: 8px 12px;
    background: #f5f5f5;
    border-radius: 4px;
  }
  .pagination .prev:hover, .pagination .next:hover {
    transform: none;
  }
  .pagination .prev:active, .pagination .next:active {
    background: #e8e8e8;
  }
  .back-to-top {
    width: 40px;
    height: 40px;
    bottom: 15px;
    right: 15px;
    font-size: 14px;
  }
}
@media (max-width: 480px) {
  body {
    font-size: 14px;
  }
  #content {
    margin-top: 56px;
    padding-top: 12px;
  }
  .site-header-inner {
    padding: 0 10px;
    height: 44px;
    line-height: 44px;
  }
  .site-header-inner .site-title {
    font-size: 1em;
    line-height: 44px;
  }
  #nav-top .nav-top-items {
    gap: 1px;
  }
  #nav-top .nav-top-items .menu-item a {
    padding: 3px 6px;
    font-size: 12px;
  }
  #nav-top .nav-top-items .menu-item:last-child a {
    font-size: 11px;
  }
  .menu-item-resume .resume-nav-label {
    padding: 3px 6px;
    font-size: 12px;
  }
  .home #primary {
    padding: 0 12px;
  }
  .home .post {
    margin-bottom: 1.5em;
    padding-bottom: 1em;
  }
  .home .post .post-title {
    font-size: 1.1em;
    line-height: 1.45;
    font-weight: 600;
  }
  .home .post .post-time {
    font-size: 0.8em;
  }
  .home .post .post-excerpt {
    font-size: 0.9em;
    line-height: 1.7;
  }
  .post {
    padding: 12px 12px;
  }
  .post .post-header {
    margin-bottom: 1em;
    padding-bottom: 0.6em;
  }
  .post .post-header .post-title {
    font-size: 1.25em;
    line-height: 1.35;
    font-weight: 700;
  }
  .post .post-content {
    font-size: 14.5px;
    line-height: 1.8;
  }
  .post .post-content p {
    margin-bottom: 1.1em;
  }
  .post .post-content h1, .post .post-content h2, .post .post-content h3, .post .post-content h4, .post .post-content h5, .post .post-content h6 {
    margin-top: 1.6em;
    margin-bottom: 0.7em;
  }
  .post .post-content h1 {
    font-size: 1.35em;
    border-bottom-width: 2px;
  }
  .post .post-content h2 {
    font-size: 1.2em;
    border-bottom-width: 1px;
  }
  .post .post-content h3 {
    font-size: 1.08em;
    border-left-width: 3px;
  }
  .post .post-content h4 {
    font-size: 1em;
  }
  .post .post-content ul, .post .post-content ol {
    padding-left: 1.6em;
    margin-bottom: 1.1em;
  }
  .post .post-content ul li, .post .post-content ol li {
    margin-bottom: 0.4em;
    line-height: 1.65;
  }
  .post .post-content blockquote {
    margin: 1.3em 0;
    padding: 0.8em 1em;
    line-height: 1.65;
  }
  .post .post-content pre {
    padding: 10px;
    font-size: 12px;
    line-height: 1.55;
    margin: 1em 0;
  }
  .post .post-content img {
    margin: 1.2em 0;
  }
  .post .post-content table {
    margin: 1em 0;
    font-size: 0.9em;
  }
  .post .post-content table th, .post .post-content table td {
    padding: 6px 10px;
  }
  #primary {
    padding: 0 12px;
  }
  #secondary {
    margin: 15px 0 0 0;
    padding: 12px;
  }
  .archive .archive-title .archive-name {
    font-size: 1.45em;
  }
  .archive .collection-title .archive-year {
    font-size: 1.25em;
    margin: 15px 0 10px;
  }
  .archive .archive-post {
    margin: 12px 0;
  }
  .archive .archive-post .archive-post-time {
    font-size: 0.8em;
  }
  .archive .archive-post .archive-post-title .archive-post-link {
    font-size: 0.92em;
  }
  .categories .categories-title, .categories .tag-cloud-title, .tag-cloud .categories-title, .tag-cloud .tag-cloud-title {
    font-size: 1.3em;
  }
  .categories .categories-tags .category-link, .categories .categories-tags a, .categories .tag-cloud-tags .category-link, .categories .tag-cloud-tags a, .tag-cloud .categories-tags .category-link, .tag-cloud .categories-tags a, .tag-cloud .tag-cloud-tags .category-link, .tag-cloud .tag-cloud-tags a {
    font-size: 0.9em;
    padding: 5px 10px;
    margin: 4px;
  }
  #colophon {
    padding: 15px 12px;
    font-size: 0.8em;
  }
  #colophon .power-by {
    font-size: 0.85em;
  }
  #colophon .site-stats {
    font-size: 0.75em;
  }
  .pagination {
    padding: 15px 10px;
  }
  .pagination .prev, .pagination .next {
    font-size: 14px;
    padding: 8px 12px;
    background: #f5f5f5;
    border-radius: 4px;
  }
  .pagination .prev:hover, .pagination .next:hover {
    transform: none;
  }
  .pagination .prev:active, .pagination .next:active {
    background: #e8e8e8;
  }
}
@media (max-width: 375px) {
  #content {
    margin-top: 52px;
    padding-top: 10px;
  }
  .site-header-inner {
    padding: 0 8px;
    height: 40px;
    line-height: 40px;
  }
  .site-header-inner .site-title {
    font-size: 0.9em;
    line-height: 40px;
  }
  #nav-top .nav-top-items {
    gap: 0;
  }
  #nav-top .nav-top-items .menu-item a {
    padding: 2px 5px;
    font-size: 11px;
  }
  #nav-top .nav-top-items .menu-item:last-child a {
    font-size: 10px;
  }
  .menu-item-resume .resume-nav-label {
    padding: 2px 5px;
    font-size: 11px;
  }
  .home #primary {
    padding: 0 10px;
  }
  .home .post {
    margin-bottom: 1.3em;
  }
  .home .post .post-title {
    font-size: 1.08em;
    line-height: 1.4;
  }
  .home .post .post-excerpt {
    font-size: 0.88em;
    line-height: 1.65;
  }
  .post {
    padding: 10px;
  }
  .post .post-header .post-title {
    font-size: 1.2em;
  }
  .post .post-content {
    font-size: 14px;
    line-height: 1.75;
  }
  .post .post-content p {
    margin-bottom: 1em;
  }
  .post .post-content h1 {
    font-size: 1.25em;
  }
  .post .post-content h2 {
    font-size: 1.12em;
  }
  .post .post-content h3 {
    font-size: 1.02em;
  }
  .post .post-content pre {
    padding: 8px;
    font-size: 12px;
    line-height: 1.5;
  }
  .post .post-content ul, .post .post-content ol {
    padding-left: 1.4em;
  }
  .post .post-content ul li, .post .post-content ol li {
    margin-bottom: 0.35em;
  }
  #primary,
  .archive #primary,
  .categories #primary,
  .tag-cloud #primary {
    padding: 0 10px;
  }
  .archive .archive-title .archive-name {
    font-size: 1.35em;
  }
  .archive .collection-title .archive-year {
    font-size: 1.15em;
  }
}
h1, h2, h3, h4, h5, h6 {
  font-family: "Smiley Sans Oblique", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft Yahei", "Helvetica Neue", Arial, sans-serif;
  font-weight: 600;
}

.post-title {
  font-family: "Smiley Sans Oblique", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft Yahei", "Helvetica Neue", Arial, sans-serif;
}

.post-content {
  line-height: 1.8;
  font-size: 16px;
}
.post-content p {
  margin-bottom: 1.5em;
  text-align: justify;
}
.post-content h1, .post-content h2, .post-content h3, .post-content h4, .post-content h5, .post-content h6 {
  margin-top: 2em;
  margin-bottom: 1em;
  line-height: 1.4;
}
.post-content h1 {
  font-size: 1.8em;
  font-weight: 700;
  border-bottom: 2px solid #333;
  padding-bottom: 0.3em;
  background: linear-gradient(transparent 60%, rgba(0, 0, 0, 0.05) 60%);
  display: inline-block;
}
.post-content h2 {
  font-size: 1.5em;
  font-weight: 600;
  border-bottom: 1px solid #666;
  padding-bottom: 0.3em;
  color: #333;
}
.post-content h3 {
  font-size: 1.3em;
  font-weight: 600;
  border-left: 3px solid #666;
  padding-left: 0.5em;
  color: #444;
}
.post-content h4 {
  font-size: 1.1em;
  font-weight: 500;
  color: #555;
  font-style: italic;
}
.post-content ul, .post-content ol {
  margin-bottom: 1.5em;
  padding-left: 2em;
}
.post-content ul li, .post-content ol li {
  margin-bottom: 0.5em;
}
.post-content blockquote {
  margin: 2em 0;
  padding: 1em 1.5em;
  border-left: 4px solid #4D89FB;
  background: rgba(77, 137, 251, 0.05);
  font-style: italic;
}
.post-content code {
  font-family: "SF Mono", Monaco, "Cascadia Code", "Roboto Mono", Consolas, "Courier New", monospace;
  background: rgba(0, 0, 0, 0.05);
  padding: 0.2em 0.4em;
  border-radius: 3px;
  font-size: 0.9em;
}
.post-content pre {
  margin: 1.5em 0;
  padding: 1em;
  background: #f8f8f8;
  border-radius: 5px;
  overflow-x: auto;
}
.post-content pre code {
  background: none;
  padding: 0;
}
.post-content img {
  max-width: 100%;
  height: auto;
  margin: 2em auto;
  display: block;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.post-excerpt {
  color: #666;
  font-size: 0.95em;
  line-height: 1.7;
  margin-top: 1em;
}
.post-excerpt p {
  margin-bottom: 0.8em;
}

.toc-container {
  position: fixed;
  top: 100px;
  right: 20px;
  width: 280px;
  max-height: calc(100vh - 200px);
  overflow-y: auto;
  padding: 10px;
  z-index: 100;
}
@media (max-width: 1200px) {
  .toc-container {
    display: none;
  }
}
.toc-container .toc-title {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 15px;
  padding-bottom: 8px;
  border-bottom: 1px solid #e0e0e0;
  color: #333;
}
.toc-container .toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.toc-container .toc-list li {
  margin: 10px 0;
  font-size: 13px;
  line-height: 1.7;
  text-align: left;
}
.toc-container .toc-list li a {
  color: #666;
  text-decoration: none;
  display: block;
  padding: 3px 0 3px 10px;
  transition: color 0.2s;
  border-left: 2px solid transparent;
}
.toc-container .toc-list li a:hover {
  color: #333;
  border-left-color: #999;
}
.toc-container .toc-list li.toc-h1 {
  font-weight: 600;
  font-size: 14px;
}
.toc-container .toc-list li.toc-h2 {
  font-weight: 500;
  padding-left: 10px;
}
.toc-container .toc-list li.toc-h3 {
  padding-left: 20px;
  font-size: 12px;
}
.toc-container .toc-list li.toc-h4 {
  padding-left: 30px;
  font-size: 11px;
}
.toc-container .toc-list li.active a {
  color: #333;
  font-weight: 600;
  border-left-color: #333;
}

.post {
  max-width: 1000px;
  margin: 0 auto;
  padding-left: 20px;
}
@media (min-width: 1200px) {
  .post {
    padding-right: 220px;
    padding-left: 40px;
    max-width: 1100px;
  }
}

.subscribe-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 12px;
  background: #ff6600;
  color: #fff;
  border-radius: 4px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  transition: all 0.3s;
}
.subscribe-btn:hover {
  background: #e65c00;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(255, 102, 0, 0.3);
}
.subscribe-btn svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.header-rss {
  margin-left: 15px;
}

.github-comments {
  margin-top: 3em;
  padding-top: 2em;
  border-top: 1px solid #e0e0e0;
}
.github-comments .comments-title {
  font-size: 1.3em;
  margin-bottom: 1em;
  color: #333;
}

.home .post {
  margin-bottom: 1em;
  max-width: 100%;
  padding: 0 0 1em 0;
  border-bottom: 1px solid #eee;
  border-top: none;
}
.home .post:last-child {
  border-bottom: none;
}
.home .post + .post {
  border-top: none;
}

.posts {
  border-bottom: none;
}

.post + .post {
  border-top: none;
}

.home .post .post-header {
  margin-bottom: 0.8em;
}
.home .post .post-title {
  margin-bottom: 0.5em;
  font-size: 1.3em;
  line-height: 1.4;
}
.home .post .post-title a {
  color: #333;
  transition: color 0.3s;
}
.home .post .post-title a:hover {
  color: #4D89FB;
}
.home .post .post-time {
  color: #999;
  font-size: 0.85em;
}

.post-excerpt {
  color: #666;
  font-size: 0.95em;
  line-height: 1.7;
  margin-top: 0.5em;
}

.reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, #4D89FB, rgb(148.2, 184.2, 252.6));
  z-index: 9999;
  transition: width 0.1s;
}

.post-content .note {
  margin: 1.5em 0;
  padding: 1em 1em 1em 3em;
  border-radius: 5px;
  position: relative;
}
.post-content .note:before {
  position: absolute;
  left: 1em;
  top: 1em;
  font-weight: bold;
}
.post-content .note.note-info {
  background: #e3f2fd;
  border-left: 4px solid #2196f3;
}
.post-content .note.note-info:before {
  content: "ℹ️";
}
.post-content .note.note-warning {
  background: #fff3e0;
  border-left: 4px solid #ff9800;
}
.post-content .note.note-warning:before {
  content: "⚠️";
}
.post-content .note.note-error {
  background: #ffebee;
  border-left: 4px solid #f44336;
}
.post-content .note.note-error:before {
  content: "❌";
}

html {
  scroll-behavior: smooth;
}

::selection {
  background: rgba(77, 137, 251, 0.3);
  color: inherit;
}

.post-content a {
  color: #4D89FB;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}
.post-content a:hover {
  border-bottom-color: #4D89FB;
}