/** light theme **/
/** dark theme **/
/*! normalize.css v8.0.0 | MIT License | github.com/necolas/normalize.css */
/* Document
   ========================================================================== */
/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
@import "_lib/looper.css";
@import "../fonts/iconfont/iconfont.css";
@import "_lib/tocbot.css";
html {
  line-height: 1.15;
  /* 1 */
  -webkit-text-size-adjust: 100%;
  /* 2 */
}
/* Sections
   ========================================================================== */
/**
 * Remove the margin in all browsers.
 */
body {
  margin: 0;
}
/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
  font-size: 2em;
  margin: 0.67em 0;
}
/* Grouping content
   ========================================================================== */
/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
  box-sizing: content-box;
  /* 1 */
  height: 0;
  /* 1 */
  overflow: visible;
  /* 2 */
}
/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
  font-family: monospace, monospace;
  /* 1 */
  font-size: 1em;
  /* 2 */
}
/* Text-level semantics
   ========================================================================== */
/**
 * Remove the gray background on active links in IE 10.
 */
a {
  background-color: transparent;
}
/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
  border-bottom: none;
  /* 1 */
  text-decoration: underline;
  /* 2 */
  text-decoration: underline dotted;
  /* 2 */
}
/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
  font-weight: bolder;
}
/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
  font-family: monospace, monospace;
  /* 1 */
  font-size: 1em;
  /* 2 */
}
/**
 * Add the correct font size in all browsers.
 */
small {
  font-size: 80%;
}
/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}
sub {
  bottom: -0.25em;
}
sup {
  top: -0.5em;
}
/* Embedded content
   ========================================================================== */
/**
 * Remove the border on images inside links in IE 10.
 */
img {
  border-style: none;
}
/* Forms
   ========================================================================== */
/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  /* 1 */
  font-size: 100%;
  /* 1 */
  line-height: 1.15;
  /* 1 */
  margin: 0;
  /* 2 */
}
/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
  overflow: visible;
}
/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
  text-transform: none;
}
/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button;
}
/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}
/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type="button"]-moz-focusring,
[type="reset"]-moz-focusring,
[type="submit"]-moz-focusring {
  outline: 1px dotted ButtonText;
}
/**
 * Correct the padding in Firefox.
 */
fieldset {
  padding: 0.35em 0.75em 0.625em;
}
/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *    `fieldset` elements in all browsers.
 */
legend {
  box-sizing: border-box;
  /* 1 */
  color: inherit;
  /* 2 */
  display: table;
  /* 1 */
  max-width: 100%;
  /* 1 */
  padding: 0;
  /* 3 */
  white-space: normal;
  /* 1 */
}
/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
  vertical-align: baseline;
}
/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
  overflow: auto;
}
/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type="checkbox"],
[type="radio"] {
  box-sizing: border-box;
  /* 1 */
  padding: 0;
  /* 2 */
}
/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto;
}
/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type="search"] {
  -webkit-appearance: textfield;
  /* 1 */
  outline-offset: -2px;
  /* 2 */
}
/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}
/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
  -webkit-appearance: button;
  /* 1 */
  font: inherit;
  /* 2 */
}
/* Interactive
   ========================================================================== */
/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
  display: block;
}
/*
 * Add the correct display in all browsers.
 */
summary {
  display: list-item;
}
/* Misc
   ========================================================================== */
/**
 * Add the correct display in IE 10+.
 */
template {
  display: none;
}
/**
 * Add the correct display in IE 10.
 */
[hidden] {
  display: none;
}
html {
  font-family: 'PingFang SC', 'Microsoft Jhenghei', Lantinghei SC, PingFang SC, Seguo UI, Microsoft Yahei, Arial;
}
html::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
html::-webkit-scrollbar-thumb {
  height: 40px;
  background-color: #eee;
  border-radius: 16px;
}
html::-webkit-scrollbar-thumb:hover {
  background-color: #ddd;
}
body {
  font-size: 11pt;
  font-weight: normal;
  line-height: 2em;
  overflow: overlay;
  background-color: #FCFCFC;
  color: #161209;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease, opacity 0.2s ease;
  min-width: 1200px;
}
body:before {
  content: "";
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0.05;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}
a {
  color: #161209;
  text-decoration: none;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease, opacity 0.2s ease;
  cursor: pointer;
}
a:hover {
  color: #2d96bd;
  text-decoration: none;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease, opacity 0.2s ease;
}
p {
  font-size: 18px;
  line-height: 200%;
}
.wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
  width: 100%;
}
.navbar {
  height: 5rem;
  line-height: 5rem;
  width: 100%;
}
.navbar .container {
  width: auto;
  max-width: 1200px;
  text-align: center;
  padding-left: 1em;
  padding-right: 1em;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
}
.navbar-fixed-top {
  top: 0;
  border-width: 0 0 1px;
  position: fixed;
  right: 0;
  left: 0;
  z-index: 1030;
  background: #B2F4FF;
  height: 80px;
  background: #FFFFFF;
  box-shadow: 0px 0px 12px 0px rgba(207, 207, 207, 0.6);
  -webkit-box-shadow: 0px 0px 12px 0px rgba(207, 207, 207, 0.6);
}
.main {
  max-width: 1400px;
  flex-grow: 1;
  flex-shrink: 0;
  flex-basis: auto;
  display: flex;
  flex-direction: column;
  margin-top: 90px;
  background-color: #FCFCFC;
  backdrop-filter: blur(6px);
}
.main .container {
  padding-left: 1em;
  padding-right: 1em;
  height: 100%;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.footer {
  height: 4rem;
  width: 100%;
  text-align: center;
  line-height: 4rem;
}
.footer p {
  font-size: 14px;
}
.section {
  width: 100%;
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  gap: 100px;
}
article {
  width: 960px;
}
.navbar-header {
  margin-left: 2em;
  font-size: 1.5em;
  font-weight: 700;
}
.navbar-header .logo-wrapper {
  margin-right: 0.8em;
  float: left;
}
.navbar-header .logo {
  margin-top: 18px;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  flex-direction: row;
  gap: 20px;
  font-size: 1.5em;
  line-height: 2em;
}
.navbar-header .logo img {
  vertical-align: middle;
  width: 270px;
  height: auto;
  display: inline-block;
  margin: 0 auto;
  -webkit-transition: all ease 0.4s;
  transition: all ease 0.4s;
  cursor: pointer;
}
.navbar-header .logo img:hover {
  position: relative;
  -webkit-transform: translateY(-5px);
  transform: translateY(-5px);
  cursor: pointer;
}
.navbar-header .menu {
  text-align: center;
  margin: 0 auto;
  padding: 0 0.5em;
  display: inline-block;
}
.navbar-header .menu .menu-item {
  position: relative;
  display: inline-block;
  margin: 0 0.8em;
}
.navbar-header .menu .menu-item a {
  display: block;
}
.navbar-right {
  text-transform: uppercase;
  font-size: 16px;
  font-weight: 900;
  display: flex;
  gap: 2em;
}
.navbar-right a {
  text-transform: uppercase;
  font-size: 16px;
  font-weight: 900;
}
.footer {
  margin-top: 200px;
}
.footer .copyright .copyright-item {
  margin: 0.5em;
}
.footer .copyright .copyright-item .iconfont {
  margin-right: 0.2em;
}
.section h2 {
  text-align: center;
}
.section .ads {
  width: 100%;
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}
.section .ads .ads-items {
  width: 100%;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  gap: 100px;
}
.section .ads .ads-items > * {
  flex: 0 0 300px;
}
.section .ads .ads-items img {
  max-width: 100%;
}
.section .recs {
  width: 100%;
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}
.section .recs ul {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  /* 列间距 */
  list-style: none;
  padding: 0;
}
.section .recs li {
  flex: 0 0 calc(33.33% - 14px);
  /* 三列布局（33.33% - 间隙补偿） */
  box-sizing: border-box;
  /* 包含 padding 和 border */
  min-width: 300px;
  /* 允许内容收缩 */
  text-align: center;
}
.section .recs a {
  margin-right: 20px;
  padding-left: 24px;
  background: url(data:image/gif;base64,R0lGODlhDQAFAKIAAKOjo6GhoampqYSEhJWVlZ2dnZmZmXx8fCH5BAAAAAAALAAAAAANAAUAAAMVKLfcB6PIScsZJuttLvlgSByK4wQJADs=) no-repeat 2px 9px;
}
.pagination {
  display: flex;
  flex-direction: row;
  justify-content: center;
  list-style: none;
  white-space: nowrap;
  width: 100%;
  padding-top: 2em;
}
.pagination a {
  color: #2d96bd;
}
.pagination a:hover {
  color: #000;
}
.dark-theme .pagination a {
  color: #a9a9b3;
}
.dark-theme .pagination a:hover {
  color: #fff;
}
.pagination li {
  padding: 0 1em;
}
/** Profile **/
.profile-container {
  justify-content: center;
  align-items: center;
}
.intro {
  text-align: center;
}
.intro .avatar {
  padding: 10px;
}
.intro .avatar img {
  width: 128px;
  height: auto;
  display: inline-block;
  -webkit-border-radius: 100%;
  border-radius: 100%;
  -webkit-box-shadow: 0 0 0 0.3618em rgba(0, 0, 0, 0.05);
  box-shadow: 0 0 0 0.3618em rgba(0, 0, 0, 0.05);
  margin: 0 auto;
  -webkit-transition: all ease 0.4s;
  -moz-transition: all ease 0.4s;
  -o-transition: all ease 0.4s;
  transition: all ease 0.4s;
  cursor: pointer;
}
.intro .avatar img:hover {
  position: relative;
  -webkit-transform: translateY(-0.75em);
  -moz-transform: translateY(-0.75em);
  -ms-transform: translateY(-0.75em);
  -o-transform: translateY(-0.75em);
  transform: translateY(-0.75em);
  cursor: pointer;
}
.nickname {
  font-size: 2em;
  font-weight: normal;
}
.links a {
  padding: 0 5px;
}
.links a:hover {
  background-color: transparent;
}
.links .iconfont {
  font-size: 2em;
}
/** intro **/
.intro-container {
  justify-content: center;
  align-items: center;
}
.intro {
  display: flex;
  text-align: center;
  gap: 20px;
}
.intro .banner img {
  width: 760px;
  height: auto;
  margin-left: -30px;
}
.intro .intro-right {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding-bottom: 100px;
  gap: 10px;
}
.intro .intro-right .small-banner img {
  width: 270px;
  height: auto;
}
.intro .intro-right .description {
  font-weight: 600;
  font-size: 1.25em;
  color: #333333;
}
.intro .intro-right .big_entry {
  margin-top: 80px;
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  gap: 20px;
}
.intro .intro-right .big_entry a {
  display: block;
  padding: 10px 20px;
  font-weight: bold;
  line-height: 40px;
  font-size: 24px;
  background: linear-gradient(180deg, #A4F2FF 0%, rgba(26, 221, 255, 0.12) 100%);
  border-radius: 20px;
  border: 1px solid #1ADDFF;
  color: #2B2E30;
}
.intro .intro-right .message p {
  font-size: 14px;
  color: red;
}
.archive {
  width: 60%;
  margin: 0 auto;
}
.archive .archive-year {
  position: relative;
  margin: 2em 0;
}
.archive .archive-year .archive-year-trigger {
  margin-bottom: 1em;
}
.archive .archive-year .archive-year-content {
  margin-left: 2em;
}
.archive .archive-item {
  display: flex;
  justify-content: space-between;
  margin: 1em 0;
}
.archive .archive-item .archive-item-date {
  color: #a9a9b3;
}
.dark-theme .archive .archive-item .archive-item-date {
  color: #87878d;
}
.categories-card {
  margin: 0 auto;
  margin-top: 3em;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-direction: row;
  flex-wrap: wrap;
  padding: 0 2.5em;
}
.categories-card .card-item {
  font-size: 14px;
  text-align: left;
  display: flex;
  align-items: flex-start;
  margin-top: 2em;
  min-height: 16em;
  padding: 0 2%;
  position: relative;
}
.categories-card .card-item .categories {
  overflow: hidden;
}
.tag-cloud {
  margin: 2em auto;
  padding: 0 2em;
  text-align: center;
}
.tag-cloud a {
  display: inline-block;
  margin: 10px;
  color: #2d96bd;
}
.tag-cloud a:hover {
  color: #ef3982;
}
.dark-theme .tag-cloud a {
  color: #eee;
}
.dark-theme .tag-cloud a:hover {
  color: #fff;
}
.page {
  padding-top: 50px;
  display: flex;
  align-items: center;
  flex-direction: column;
}
.page .post-content {
  width: 960px;
  margin: 0;
  padding-top: 0;
}
.post-wrap {
  margin-top: 40px;
  margin-bottom: 40px;
  width: 960px;
}
.post-header {
  text-align: center;
  padding: 0;
  border-bottom: 1px solid #e8e8e8;
}
.post-header .post-title {
  margin: 0;
  font-size: 1.8em;
  font-weight: bold;
  color: #161209;
}
.post-header .post-meta {
  color: #a9a9b3;
  font-size: 0.9em;
  line-height: 400%;
}
.post-header .post-meta span {
  display: inline-block;
  margin: 0.5em;
}
.post-header .post-meta a {
  color: #2d96bd;
}
.post-header .post-meta a:hover {
  color: #ef3982;
}
.dark-theme .post-header .post-meta a {
  color: #eee;
}
.dark-theme .post-header .post-meta a:hover {
  color: #fff;
}
.post-content {
  padding: 1em 0;
}
.post-content h2,
.post-content h3,
.post-content h4,
.post-content h5,
.post-content h6 {
  padding-top: 0.8em;
  padding-bottom: 0.3em;
}
.post-content h1 {
  font-size: 1.8em;
  margin: 0.8em 0;
}
.post-content h2 {
  font-size: 1.6em;
}
.post-content h3 {
  font-size: 1.4em;
}
.post-copyright {
  margin-top: 5rem;
  border-top: 1px solid #e8e8e8;
  border-bottom: 1px solid #e8e8e8;
}
.post-copyright .copyright-item {
  margin: 5px 0;
}
.dark-theme .post-copyright {
  border-top: 1px solid #909196;
  border-bottom: 1px solid #909196;
}
code,
pre {
  font-size: 0.9em;
  background: #f8f5ec;
  padding: 0.2em 0.4em;
  border-radius: 3px;
  color: #c7254e;
}
.dark-theme code,
.dark-theme pre {
  background: #787575;
  color: #fffe28;
}
pre {
  padding: 1em;
  overflow-x: auto;
}
pre code {
  padding: 0;
  background: none;
}
.post-tags {
  padding: 1rem 0 1rem;
  display: flex;
  justify-content: space-between;
}
.post-nav {
  padding: 1rem 0;
  display: flex;
  justify-content: space-between;
  border-top: 1px solid #e8e8e8;
}
.post-nav .prev,
.post-nav .next {
  max-width: 40%;
}
.dark-theme .post-nav {
  border-top: 1px solid #909196;
}
.post-toc {
  position: absolute;
  width: 200px;
  margin-left: 800px;
  padding: 10px;
  font-family: 'PingFang SC', 'Microsoft Jhenghei', Lantinghei SC, PingFang SC, Seguo UI, Microsoft Yahei, Arial;
  border-left: 1px solid #e8e8e8;
  word-wrap: break-word;
  box-sizing: border-box;
  top: 50px;
}
.post-toc .toc-title {
  margin: 0 10px;
  font-size: 20px;
  font-weight: 400;
  text-transform: uppercase;
}
.post-toc .toc-content {
  padding: 0 10px;
}
.dark-theme .post-toc {
  border-left: 1px solid #909196;
}
/* mobile phone and smart portable devices */
@media screen and (max-width: 479px) {
  .main {
    padding-top: 40pt;
  }
  .navbar {
    display: none;
  }
  .navbar-mobile {
    display: block !important;
    position: fixed;
    width: 100%;
    z-index: 100;
    transition: all 0.6s ease 0s;
  }
  .navbar-mobile .container {
    padding: 0;
    margin: 0;
    line-height: 5.5em;
    background: #FCFCFC;
  }
  .navbar-mobile .container .navbar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding-right: 1em;
    padding-left: 1em;
    box-sizing: border-box;
    position: relative;
  }
  .navbar-mobile .container .navbar-header .menu-toggle {
    cursor: pointer;
    line-height: 5.5em;
    padding: auto 2em;
  }
  .navbar-mobile .container .navbar-header .menu-toggle span {
    display: block;
    background: #000;
    width: 36px;
    height: 2px;
    border-radius: 3px;
    transition: 0.25s margin 0.25s, 0.25s transform;
  }
  .dark-theme .navbar-mobile .container .navbar-header .menu-toggle span {
    background: #a9a9b3;
  }
  .navbar-mobile .container .navbar-header .menu-toggle span:nth-child(1) {
    margin-bottom: 8px;
  }
  .navbar-mobile .container .navbar-header .menu-toggle span:nth-child(3) {
    margin-top: 8px;
  }
  .navbar-mobile .container .navbar-header .menu-toggle.active span {
    transition: 0.25s margin, 0.25s transform 0.25s;
  }
  .navbar-mobile .container .navbar-header .menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(4px, 6px);
  }
  .navbar-mobile .container .navbar-header .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  .navbar-mobile .container .navbar-header .menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -10px);
  }
  .navbar-mobile .container .menu {
    text-align: center;
    background: #ffffff;
    border-top: 1px solid #000000;
    padding-top: 1em;
    padding-bottom: 1em;
    display: none;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1), 0px 4px 8px rgba(0, 0, 0, 0.1);
  }
  .navbar-mobile .container .menu a {
    display: inline-block;
    margin: 0 1em;
    line-height: 2.5em;
  }
  .navbar-mobile .container .menu.active {
    display: block;
    white-space: nowrap;
    box-sizing: border-box;
    overflow-x: auto;
  }
  .dark-theme .navbar-mobile .container .menu {
    background: #292a2d;
    border-top: 2px solid #87878d;
  }
  .dark-theme .navbar-mobile .container {
    background: #292a2d !important;
  }
  .archive {
    width: 90%;
  }
  .archive .archive-item .archive-item-date {
    display: none;
  }
  #dynamic-to-top {
    display: none !important;
  }
  .footer {
    height: 3rem;
    width: 100%;
    text-align: center;
    line-height: 1.5rem;
    padding-top: 2em;
  }
  .post-warp {
    padding-top: 6em;
  }
  .post-warp .archive-item-date {
    display: none;
  }
  .categories .categories-card .card-item {
    width: 100%;
    display: flex;
    min-height: 0;
  }
  .categories .categories-card .card-item .categories {
    overflow: hidden;
  }
}
/* iPads (portrait and landscape) */
@media screen and (max-width: 1023px) {
  .navbar-mobile {
    display: none;
  }
}
/* Desktops and laptops */
@media screen and (min-width: 1024px) {
  .navbar-mobile {
    display: none;
  }
}
/* post toc Style */
@media screen and (max-width: 1279px) {
  .post-toc {
    display: none;
  }
}
