/* normalize.css v8.0.0 | MIT License | github.com/necolas/normalize.css */
html {
  line-height: 1.15 /* 1 */;
  -webkit-text-size-adjust: 100% /* 2 */;
}
body {
  margin: 0;
}
h1 {
  font-size: 2em;
  margin: 0.67em 0;
}
hr {
  box-sizing: content-box /* 1 */;
  height: 0 /* 1 */;
  overflow: visible /* 2 */;
}
pre {
  font-family: monospace, monospace /* 1 */;
  font-size: 1em /* 2 */;
}
a {
  background-color: transparent;
}
abbr[title] {
  border-bottom: none /* 1 */;
  text-decoration: underline /* 2 */;
  text-decoration: underline dotted /* 2 */;
}
b,
strong {
  font-weight: bolder;
}
code,
kbd,
samp {
  font-family: monospace, monospace /* 1 */;
  font-size: 1em /* 2 */;
}
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 /* 1 */;
  font-size: 100% /* 1 */;
  line-height: 1.15 /* 1 */;
  margin: 0 /* 2 */;
}
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 /* 1 */;
  color: inherit /* 2 */;
  display: table /* 1 */;
  max-width: 100% /* 1 */;
  padding: 0 /* 3 */;
  white-space: normal /* 1 */;
}
progress {
  vertical-align: baseline;
}
textarea {
  overflow: auto;
}
[type="checkbox"],
[type="radio"] {
  box-sizing: border-box /* 1 */;
  padding: 0 /* 2 */;
}
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto;
}
[type="search"] {
  -webkit-appearance: textfield /* 1 */;
  outline-offset: -2px /* 2 */;
}
[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}
::-webkit-file-upload-button {
  -webkit-appearance: button /* 1 */;
  font: inherit /* 2 */;
}
details {
  display: block;
}
summary {
  display: list-item;
}
template {
  display: none;
}
[hidden] {
  display: none;
}
@font-face {
  font-family: 'lanting';
  src: url("../fonts/lanting/lanting.eot"); /* IE9 */
  src: url("../fonts/lanting/lanting.eot?#iefix") format('embedded-opentype'), /* IE6-IE8 */ url("../fonts/lanting/lanting.woff2") format('woff2'), url("../fonts/lanting/lanting.woff") format('woff'), url("../fonts/lanting/lanting.ttf") format('truetype'); /* chrome, firefox, opera, Safari, Android, iOS 4.2+ */
  font-weight: 300;
  font-display: swap;
}
html {
  font-family: 'Microsoft Jhenghei', Lantinghei SC, 'lanting', 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: #fff;
  color: #161209;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease, opacity 0.2s ease;
}
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;
}
body.dark-theme {
  background-color: #292a2d;
  color: #a9a9b3;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease, opacity 0.2s ease;
}
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;
}
.dark-theme a {
  color: #a9a9b3;
  text-decoration: none;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease, opacity 0.2s ease;
}
.dark-theme a:hover {
  color: #fff;
  text-decoration: none;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease, opacity 0.2s ease;
}
.wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  width: 100%;
}
.navbar {
  height: 4rem;
  line-height: 4rem;
  width: 100%;
}
.navbar .container {
  width: auto;
  max-width: 1200px;
  text-align: center;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
}
.navbar .container .navbar-right {
  display: flex;
  flex-direction: row;
  align-items: center;
}
.main {
  flex-grow: 1;
  flex-shrink: 0;
  flex-basis: auto;
  display: flex;
  flex-direction: column;
}
.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;
}
@charset "utf-8";

/*input css begin*/
*{
    -webkit-tap-highlight-color: rgba(0,0,0,0);
}
/* input[type="checkbox"],input[type="radio"]{
    display: none;
    width: 0;
    height: 0;
    visibility: hidden;
} */
input[type="checkbox"]:checked + label:after{
    transition: all 0.3s ease-in;
}
input[type="checkbox"]:not(:checked) + label:after {
    transition: all 0.3s ease-out;
}
input[type="checkbox"]:checked + label,
input[type="checkbox"]:not(:checked) + label{
    transition: all 0.3s ease-in-out;
}
input[type="checkbox"]:checked + label:before,input[type="checkbox"]:checked + label i:before,input[type="checkbox"]:not(:checked) + label i:before,
input[type="checkbox"]:checked + label i:after,input[type="checkbox"]:not(:checked) + label i:after,input[type="checkbox"]:not(:checked) + label:before{
    transition: all 0.3s ease-in-out;
}
input[type="radio"]:checked + label:after,
input[type="radio"]:not(:checked) + label:after {
    transition: all 0.3s ease-in-out;
}
.switch_default[type="checkbox"]{
    display: none;
}
.switch_default + label{
     background-color: #e6e6e6;
     border-radius:7px;
     cursor: pointer;
     display: inline-block;
     height: 14px;
     position: relative;
     box-shadow: 0.2px 0.2px 1px 0.5px rgb(180,180,180);
     width: 30px;
 }
.switch_default + label:after{
    background-color: #fff;
    border-radius: 50%;
    content: "";
    height: 12px;
    left: 1px;
    position: absolute;
    top: .5px;
    width: 12px;
    box-shadow: 0.2px 0.2px 1px 0.5px rgb(180,180,180);
}
.switch_default:checked + label{
    background-color: #1ABC9C;
    box-shadow:none;
}
.switch_default:checked + label:after{
    left: 17px;
}

/*.switch_default + label{*/
/*    background-color: #e6e6e6;*/
/*    border-radius:12px;*/
/*    cursor: pointer;*/
/*    display: inline-block;*/
/*    height: 24px;*/
/*    position: relative;*/
/*    box-shadow: 0.2px 0.2px 1px 0.5px rgb(180,180,180);*/
/*    width: 52px;*/
/*}*/
/*.switch_default + label:after{*/
/*    background-color: #fff;*/
/*    border-radius: 50%;*/
/*    content: "";*/
/*    height: 22px;*/
/*    left: 1px;*/
/*    position: absolute;*/
/*    top: 1px;*/
/*    width: 22px;*/
/*    box-shadow: 0.2px 0.2px 1px 0.5px rgb(180,180,180);*/
/*}*/
/*.switch_default:checked + label{*/
/*    background-color: #1ABC9C;*/
/*    box-shadow:none;*/
/*}*/
/*.switch_default:checked + label:after{*/
/*    left: 29px;*/
/*}*/
@font-face {
  font-family: "iconfont"; /* Project id 4774321 */
  src: url('iconfont.eot?t=1733767290588'); /* IE9 */
  src: url('iconfont.eot?t=1733767290588#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('data:application/x-font-woff2;charset=utf-8;base64,d09GMgABAAAAAAkUAAsAAAAAD2wAAAjGAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHFQGYACDZAqRGI1pATYCJAMgCxIABCAFhGcHZRvmDCMR9oOTkiH7ywLb8Q0NaEkkKAoXQExhbduEubTBDoJCQz0y5t9KUF8o8H0jHvjfD3effJmJAFW0WiIkDmkJsaSWiCYhi6WwhlhIp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Xboamz9kaWBEaEJZJB363+C71zc+yra8+CoNjQ2spuHjnyNAKsXExL9UeMh681x2luDWnbBVlP/w4MOXRnaNUsPvvJQGD8Yc/hFYrt4M4TkP7in+/E34PMMdMjKlEiElZVCUWEyJC6WZFELKxkm2SC75H3lv9bulTO2ZMjtw/5v7j9NwJ/i8nxJ+lRAN/E5MR31+arKiKH+F78vWX7rj1UHep9ELvfG3rygS141daVdCtJHIpbGyzyX1MbtdzR0xWBVMvh9d3vOwgnAQDFGKRDrebTcHDalNDiXwPQP6153zZ+8Jfj2LpST6HDyLk/oB8tbGJeBZBPnhLU+fc7gppyJlCQabVXIDAb0ShmoQmFO73XprFrp9T0jF0BI6oMMZLaJDJjFxmFJtsZpdouRqMlir2bdFkqCTkQMGubwQjaWRhRq3eQsrB3IQPrZRR6fQ4lsP8yGh0LwYdrMhsmk1tiqDAKeAVFvOPSVJx+30xUg1Ja5o+lrJCCeZjipRdzLDWxRW5iKYUDT97C83A2ZoyHkPyXkTLIUsJ1HHnWFgPxdnNLDBWLkwJeByviHZ+5RL/fm4lqUCIi/7wp7+Ssf5iHiYB86R1pxJF05yaWwrwcFCRWtPA8SQHmmPcQsrNfRu7+QdbIhusoZuJU/dC/0X7Mep/dqPxR620iRTMsx8dkhhKRZ4GMYWk9CVVkxcd/qextj50p7A/YeHHByihl22wAAAA=') format('woff2'),
       url('iconfont.woff?t=1733767290588') format('woff'),
       url('iconfont.ttf?t=1733767290588') format('truetype'),
       url('iconfont.svg?t=1733767290588#iconfont') format('svg');
}

.iconfont {
  font-family: "iconfont" !important;
  font-size: 16px;
  font-style: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

.icon-gallery:before {
  content: "\e6c7";
}

.icon-github:before {
  content: "\e601";
}

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

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

.icon-blog:before {
  content: "\e69f";
}

.icon-bilibili:before {
  content: "\ea95";
}


.header-logo a {
  padding: 0;
}
.navbar .menu a {
  padding: 0 8px;
}
.navbar .menu .active {
  font-weight: 900;
  color: #161209;
}
.dark-theme .navbar .menu .active {
  color: #fff;
}
.navbar-header a:hover,
.navbar .menu a:hover {
  background-color: transparent;
}
header label {
  margin-left: 15px;
  position: relative;
  -webkit-transform: translateY(0.1em) translateX(0.5em);
}
.copyright {
  font-size: 14px;
}
.pagination {
  display: flex;
  flex-direction: row;
  justify-content: center;
  list-style: none;
  white-space: nowrap;
  width: 100%;
  padding-top: 2em;
}
.pagination a,
.pagination span {
  -webkit-font-smoothing: antialiased;
  font-size: 12px;
  color: #bfbfbf;
  letter-spacing: 0.1em;
  font-weight: 700;
  padding: 5px 5px;
  text-decoration: none;
  transition: 0.3s;
}
.pagination .page-number {
  padding-bottom: 3px;
  margin: 0 20px;
  box-sizing: border-box;
  position: relative;
  display: inline;
}
.pagination .page-number.disabled {
  display: none;
}
.pagination .page-number:hover a {
  color: #000;
}
.dark-theme .pagination .page-number:hover a {
  color: #fff;
}
.pagination .page-number:before,
.pagination .page-number:after {
  position: absolute;
  content: "";
  width: 0;
  height: 1px;
  background: #000;
  transition: 0.3s;
  bottom: 0px;
}
.dark-theme .pagination .page-number:before,
.dark-theme .pagination .page-number:after {
  background: #fff;
}
.pagination .page-number:before .current,
.pagination .page-number:after .current {
  width: 100%;
}
.pagination .page-number:before {
  left: 50%;
}
.pagination .page-number:after {
  right: 50%;
}
.pagination .page-number:hover:before,
.pagination .page-number:hover:after {
  width: 50%;
}
.pagination .page-number.current {
  color: #000;
}
.dark-theme .pagination .page-number.current {
  color: #fff;
}
.pagination .page-number.current:before,
.pagination .page-number.current:after {
  width: 60%;
}
.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;
}
.post-wrap {
  position: relative;
  width: 100%;
  max-width: 780px;
  margin: 0 auto;
  padding-top: 2rem;
}
.post-wrap .archive-item {
  margin-left: 2rem;
}
.archive-item-link {
  display: inline-block;
  text-decoration: none;
  overflow: hidden;
  white-space: nowrap;
}
.archive-item-link:hover {
  color: #2d96bd;
  background-color: transparent;
}
.dark-theme .archive-item-link {
  color: #a9a9b3;
  text-decoration: none;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease, opacity 0.2s ease;
}
.dark-theme .archive-item-link:hover {
  color: #fff;
  text-decoration: none;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease, opacity 0.2s ease;
}
.archive-item-date {
  float: right;
  text-align: right;
  color: #a9a9b3;
}
.dark-theme .archive-item-date {
  color: #87878d;
}
.post-wrap .categories-card {
  margin: 0 auto;
  margin-top: 1em;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-direction: row;
  flex-wrap: wrap;
  padding: 0 2.5em;
  line-height: 1.6em;
}
.post-wrap .categories-card .card-item {
  font-size: 14px;
  text-align: left;
  width: 45%;
  display: flex;
  align-items: flex-start;
  margin-top: 2em;
  min-height: 16em;
  padding: 0 2%;
  position: relative;
}
.post-wrap .categories-card .card-item .categories {
  overflow: hidden;
}
.tag-cloud-tags {
  margin: 10px 0;
  padding-top: 2em;
}
.tag-cloud-tags a {
  display: inline-block;
  position: relative;
  margin: 5px 10px;
  word-wrap: break-word;
  transition-duration: 0.3s;
  transition-property: transform;
  transition-timing-function: ease-out;
}
.tag-cloud-tags a:active,
.tag-cloud-tags a:focus,
.tag-cloud-tags a:hover {
  color: #2d96bd;
  transform: scale(1.1);
}
.dark-theme .tag-cloud-tags a:active,
.dark-theme .tag-cloud-tags a:focus,
.dark-theme .tag-cloud-tags a:hover {
  color: #fff;
}
.tag-cloud-tags a small {
  margin: 0 0.3em;
  color: #a9a9b3;
}
.dark-theme .tag-cloud-tags a small {
  color: #fff;
}
.page {
  padding-top: 0;
}
.page .post-content {
  margin: 0;
  padding-top: 0;
}
.gallery-container {
  padding: 20px;
}
.gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.gallery-item {
  flex: 1 1 calc(33.333% - 10px);
  box-sizing: border-box;
  min-width: 100px; /* Ensure a minimum width for each item */
}
.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
}
.gallery-image {
  cursor: pointer;
  transition: transform 0.3s ease;
}
.gallery-image.full-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  object-fit: contain;
  background-color: rgba(0,0,0,0.9);
  z-index: 1000;
}
.lazy {
  opacity: 0;
  transition: opacity 0.3s;
}
.lazy-loaded {
  opacity: 1;
}
@media (max-width: 768px) {
  .gallery-item {
    flex: 1 1 calc(33.333% - 10px);
    min-width: 100px;
  }
}
@media (max-width: 480px) {
  .gallery-item {
    flex: 1 1 calc(33.333% - 10px);
    min-width: 100px;
  }
}
.post-wrap p {
  font-size: 1em;
  margin: 1em 0 1em 0;
}
.post-wrap .post-header h1 {
  margin: 0 !important;
}
.post-wrap .post-title {
  font-size: 2em;
  line-height: 1.5em;
}
.post-wrap .post-meta {
  color: rgba(85,85,85,0.529) !important;
}
.dark-theme .post-wrap .post-meta {
  color: #87878d !important;
}
.post-wrap .post-meta a {
  color: #2d96bd;
}
.dark-theme .post-wrap .post-meta a {
  color: #eee;
}
.post-wrap .post-meta a:hover {
  color: #ef3982;
}
.dark-theme .post-wrap .post-meta a:hover {
  color: #fff;
}
.post-content {
  padding-top: 2rem;
  text-align: justify;
}
.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::before {
  content: "#";
  margin-right: 5px;
  color: #2d96bd;
}
.dark-theme .post-content h1::before {
  color: #eee;
}
.post-content h2::before {
  content: "#";
  margin-right: 5px;
  color: #2d96bd;
}
.dark-theme .post-content h2::before {
  color: #eee;
}
.post-content h3::before {
  content: "|";
  margin-right: 5px;
  color: #2d96bd;
}
.dark-theme .post-content h3::before {
  color: #eee;
}
.post-content h4::before {
  content: "*";
  margin-right: 5px;
  color: #2d96bd;
}
.dark-theme .post-content h4::before {
  color: #eee;
}
.post-content a {
  color: #2d96bd;
}
.dark-theme .post-content a {
  color: #eee;
}
.post-content a:hover {
  color: #ef3982;
}
.dark-theme .post-content a:hover:hover {
  color: #fff;
  text-decoration: underline;
}
.post-content code,
.post-content pre {
  padding: 7px;
  font-size: 13px;
  font-family: Consolas, Monaco, Menlo, Consolas, monospace;
}
.post-content code {
  padding: 3px 5px;
  border-radius: 4px;
}
.post-content figure.highlight {
  margin: 1em 0;
  overflow-x: auto;
  position: relative;
}
.post-content figure.highlight::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
.post-content figure.highlight::-webkit-scrollbar-thumb {
  width: 6px;
  background-color: #eee;
  border-radius: 2px;
}
.post-content figure.highlight table {
  position: relative;
}
.post-content figure.highlight table,
.post-content figure.highlight tr,
.post-content figure.highlight td {
  margin: 0;
  padding: 0;
  border: 0;
  width: 100%;
  border-collapse: collapse;
}
.post-content figure.highlight .code pre {
  margin: 0 10px;
}
.post-content figure.highlight .gutter {
  width: 10px;
  color: #d0d0d0;
}
.post-content figure.highlight .gutter pre {
  margin: 0;
}
.post-content ul {
  padding-left: 2em;
}
.post-content table {
  max-width: 100%;
  margin: 10px 0;
  border-spacing: 0;
}
.post-content table thead {
  background: #bce1ef;
}
.dark-theme .post-content table thead {
  background: #626262;
}
.post-content table th,
.post-content table td {
  padding: 5px 15px;
  border: 0.5px solid #e8e8e8;
}
.post-content .image-caption:not(:empty) {
  min-width: 20%;
  max-width: 80%;
  display: inline-block;
  padding: 10px;
  margin: 0 auto;
  border-bottom: 1px solid #d9d9d9;
  font-size: 14px;
  color: #969696;
  line-height: 1.7;
}
.post-content img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  overflow: hidden;
}
.post-content img[data-action="zoom"] {
  cursor: zoom-in;
}
.post-content .image-box .image-box-title {
  text-align: center;
  font-size: 0.7em;
  margin-top: 0.5em;
  margin-bottom: 1em;
  color: #a9a9b3;
}
.dark-theme .post-content .image-box .image-box-title {
  color: #87878d;
}
.post-content blockquote {
  font-size: 1rem;
  display: block;
  margin: 1em 0;
  padding: 1em 1.2em 1em 1.2em;
  position: relative;
  color: rgba(52,73,94,0.8);
  background-color: #e9f5fa;
  border-left: 2px solid #2d96bd;
}
.post-content blockquote p {
  margin: 0;
}
.post-content blockquote footer strong {
  margin-right: 0.5em;
}
.dark-theme .post-content blockquote {
  color: #a9a9b3;
  background-color: #3e3e3e;
  border-left: 2px solid #dcdcdc;
}
.post-content blockquote.pullquote {
  background-color: transparent;
  max-width: 45%;
  border: 0;
}
.post-content blockquote.pullquote.left {
  float: left;
  text-align: left;
}
.post-content blockquote.pullquote.right {
  float: right;
  text-align: right;
}
.post-copyright {
  margin-top: 5rem;
  border-top: 1px solid #e8e8e8;
  border-bottom: 1px solid #e8e8e8;
}
.post-copyright a {
  color: #2d96bd;
}
.dark-theme .post-copyright a {
  color: #eee;
}
.post-copyright a:hover {
  color: #ef3982;
}
.dark-theme .post-copyright a:hover {
  color: #fff;
}
.post-copyright .copyright-item {
  margin: 5px 0;
}
.post-copyright .lincese {
  font-weight: bold;
}
.dark-theme .post-copyright {
  border-top: 1px solid #909196;
  border-bottom: 1px solid #909196;
}
.post-content code,
.post-content pre {
  line-height: 1.7em;
  padding: 7px;
  font-size: 13px;
  font-family: Consolas, Monaco, Menlo, Consolas, monospace;
}
.post-content code {
  line-height: 1.7em;
  padding: 3px 5px;
  border-radius: 4px;
  color: #c7254e;
  background: #f8f5ec;
}
.dark-theme .post-content code {
  color: #fffe28;
  background: #787575;
}
.post-content h1 code,
.post-content h2 code,
.post-content h3 code,
.post-content h4 code,
.post-content h5 code {
  font-size: inherit;
}
.post-content figure.highlight {
  margin: 1em 0;
  overflow-x: auto;
  position: relative;
}
.post-content figure.highlight::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
.post-content figure.highlight::-webkit-scrollbar-thumb {
  width: 6px;
  background-color: #eee;
  border-radius: 2px;
}
.post-content figure.highlight figcaption {
  padding: 0 0.5em;
  text-align: right;
  font-size: 13px;
}
.post-content figure.highlight figcaption span {
  margin: 0 0.5em;
}
.post-content figure.highlight table {
  position: relative;
}
.post-content figure.highlight table,
.post-content figure.highlight tr,
.post-content figure.highlight td {
  margin: 0;
  padding: 0;
  border: 0;
  width: 100%;
  border-collapse: collapse;
}
.post-content figure.highlight .code pre {
  margin: 0 10px;
}
.post-content figure.highlight .gutter {
  width: 10px;
  color: #d0d0d0;
}
.post-content figure.highlight .gutter pre {
  margin: 0;
}
.post-tags {
  padding: 1rem 0 1rem;
  display: flex;
  justify-content: space-between;
}
.post-nav:before,
.post-nav:after {
  content: " ";
  display: table;
}
.post-nav a.prev,
.post-nav a.next {
  font-weight: 600;
  font-size: 16px;
  transition-property: transform;
  transition-timing-function: ease-out;
  transition-duration: 0.3s;
}
.post-nav a.prev {
  float: left;
}
.post-nav a.prev::before {
  content: "<";
  margin-right: 0.5em;
}
.post-nav a.prev:hover {
  transform: translateX(-4px);
}
.post-nav a.next {
  float: right;
}
.post-nav a.next::after {
  content: ">";
  margin-left: 0.5em;
}
.post-nav a.next:hover {
  transform: translateX(4px);
}
.post-nav a.prev::before,
.post-nav a.next::after {
  font-weight: bold;
}
.tag:not(:last-child) a::after {
  content: " / ";
}
.post-toc {
  position: fixed;
  top: 95px;
  right: 2em;
  width: 15rem;
  font-size: 0.75rem;
}
.post-toc .tocbot-list {
  max-height: 450px;
  max-width: 250px;
  overflow: auto;
  position: relative;
  padding-right: 0.875rem;
}
.post-toc .tocbot-list::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
.post-toc .tocbot-list::-webkit-scrollbar-thumb {
  width: 6px;
  background-color: #eee;
  border-radius: 2px;
}
.post-toc .tocbot-list ul {
  list-style: none;
  position: inherit;
  overflow: hidden;
}
.post-toc .tocbot-list ul li {
  margin-left: 0.25rem;
}
.post-toc .toc-link::before {
  background-color: #fff;
}
.post-toc .is-active-link::before {
  background-color: #2d96bd;
}
.post-toc .tocbot-list-menu {
  margin: 1rem 0.75rem;
  font-size: 0.75rem;
}
.post-toc .tocbot-list-menu a {
  display: block;
  margin: 0.375rem 0;
  color: #999;
  cursor: pointer;
}
.post-toc .tocbot-list-menu a:hover {
  color: #808080;
}
.toc{overflow-y:auto}.toc>.toc-list{overflow:hidden;position:relative}.toc>.toc-list li{list-style:none}.toc-list{margin:0;padding-left:10px}a.toc-link{color:currentColor;height:100%}.is-collapsible{max-height:1000px;overflow:hidden;transition:all 300ms ease-in-out}.is-collapsed{max-height:0}.is-position-fixed{position:fixed !important;top:0}.is-active-link{font-weight:700}.toc-link::before{background-color:#EEE;content:' ';display:inline-block;height:inherit;left:0;margin-top:-1px;position:absolute;width:2px}.is-active-link::before{background-color:#54BC4B}

@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: #fff;
  }
  .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;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    -webkit-transition: 0.25s margin 0.25s, 0.25s transform;
    -moz-transition: 0.25s margin 0.25s, 0.25s transform;
    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 {
    -webkit-transition: 0.25s margin, 0.25s transform 0.25s;
    -moz-transition: 0.25s margin, 0.25s transform 0.25s;
    transition: 0.25s margin, 0.25s transform 0.25s;
  }
  .navbar-mobile .container .navbar-header .menu-toggle.active span:nth-child(1) {
    -moz-transform: rotate(45deg) translate(4px, 6px);
    -ms-transform: rotate(45deg) translate(4px, 6px);
    -webkit-transform: rotate(45deg) translate(4px, 6px);
    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) {
    -moz-transform: rotate(-45deg) translate(8px, -10px);
    -ms-transform: rotate(-45deg) translate(8px, -10px);
    -webkit-transform: rotate(-45deg) translate(8px, -10px);
    transform: rotate(-45deg) translate(8px, -10px);
  }
  .navbar-mobile .container .menu {
    text-align: center;
    background: #fff;
    border-top: 1px solid #000;
    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;
  }
}
@media screen and (max-width: 1023px) {
  .navbar-mobile {
    display: none;
  }
}
@media screen and (min-width: 1024px) {
  .navbar-mobile {
    display: none;
  }
}
@media screen and (max-width: 1279px) {
  .post-toc {
    display: none;
  }
}
.highlight {
  background: #2b2b2b;
  color: #bababa;
}
.highlight .code .strong,
.highlight .code .emphasis {
  color: #a8a8a2;
}
.highlight .code .bullet,
.highlight .code .quote,
.highlight .code .link,
.highlight .code .number,
.highlight .code .regexp,
.highlight .code .literal {
  color: #6896ba;
}
.highlight .code .code,
.highlight .code .selector-class {
  color: #a6e22e;
}
.highlight .code .emphasis {
  font-style: italic;
}
.highlight .code .keyword,
.highlight .code .selector-tag,
.highlight .code .section,
.highlight .code .attribute,
.highlight .code .name,
.highlight .code .variable {
  color: #cb7832;
}
.highlight .code .params {
  color: #b9b9b9;
}
.highlight .code .string,
.highlight .code .subst,
.highlight .code .type,
.highlight .code .built_in,
.highlight .code .builtin-name,
.highlight .code .symbol,
.highlight .code .selector-id,
.highlight .code .selector-attr,
.highlight .code .selector-pseudo,
.highlight .code .template-tag,
.highlight .code .template-variable,
.highlight .code .addition {
  color: #e0c46c;
}
.highlight .code .comment,
.highlight .code .deletion,
.highlight .code .meta {
  color: #7f7f7f;
}
#u-search {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 60px 20px;
    z-index: 1001;
}


#u-search .modal {
    position: fixed;
    height: 80%;
    width: 100%;
    max-width: 640px;
    left: 50%;
    top: 0;
    margin: 64px 0px 0px -320px;
    background: #fff;
    z-index: 3;
    border-radius: 4px;
    overflow: hidden;
}

#u-search .modal-header {
    position: relative;
    width: 100%;
    height: 64px;
    z-index: 3;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    font-size: 16px;
    box-shadow: 0 1px 2px 0px rgba(0, 0, 0, 0.1);
    background: #fff;
    transition: all 0.28s ease;
    -moz-transition: all 0.28s ease;
    -webkit-transition: all 0.28s ease;
    -o-transition: all 0.28s ease;
}

#u-search .modal-header .container {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0px;
}

#u-search .modal-header .container .u-search-modal-form {
    display: flex;
    flex-direction: row;
    align-items: center;
    flex: 1;
}

#u-search .u-search-modal-form .form-submit-btn {
    width: 50px;
    height: 64px;
    background: none;
    border: none;
    outline: none;
    margin: 0 5px 0 5px;
}

#u-search .u-search-modal-form .form-submit-btn img {
    width: 33px;
    height: 33px;
}

#u-search .modal-header .container .u-search-modal-form .form-input {
    flex: 1;
    margin-right: 15px;
    border: none;
    padding: 10px 10px;
    outline: none;
}


#u-search .modal-header .modal-close {
    display: block;
    width: 55px;
    height: 64px;
    top: 0;
    right: 0;
    color: #000000;
    cursor: pointer;
    text-align: center;
    line-height: 64px;
    vertical-align: middle;
    transition: all 0.28s ease;
    -moz-transition: all 0.28s ease;
    -webkit-transition: all 0.28s ease;
    -o-transition: all 0.28s ease;
    z-index: 2;
    font-size: 22px;
}

#u-search .modal-header .search-loading {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: transparent;
    z-index: 1;

}

#u-search .modal-header .search-loading .search-loading-bar {
    transition: all 0.28s ease;
    -moz-transition: all 0.28s ease;
    -webkit-transition: all 0.28s ease;
    -o-transition: all 0.28s ease;
    position: relative;
    display: none;
    width: 0%;
    height: 100%;
    background: #2196f3;

}

#u-search .modal .modal-body {
    padding: 15px;
    height: calc(100% - 85px);
    overflow: auto;

}

#u-search .modal .modal-body::-webkit-scrollbar {
    width: 5px;
    height: 5px;
    /**/
}

#u-search .modal .modal-body::-webkit-scrollbar-track {
    background: rgb(239, 239, 239);
    border-radius: 2px;
}

#u-search .modal .modal-body::-webkit-scrollbar-thumb {
    background: #bfbfbf;
    border-radius: 10px;
}

#u-search .modal .modal-body::-webkit-scrollbar-thumb:hover {
    background: #333;
}

#u-search .modal .modal-body::-webkit-scrollbar-corner {
    background: #179a16;
}

#u-search .modal .modal-body .modal-results {
    list-style: none;
    padding-left: 0;
    margin: 0px;
}

#u-search .modal .modal-body .modal-results .result-item {
    padding: 15px;
}

#u-search .modal .modal-body .modal-results .result-item:hover {
    background: #e8f4fd;
}

#u-search .modal .modal-body .modal-results .result-item .result-item-detail {
    display: flex;
    flex-direction: column;
}

#u-search .modal .modal-body .modal-results .result-item .result-item-detail .title {
    color: #6e6e6e;
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 10px;
}

#u-search .modal .modal-body .modal-results .result-item .result-item-detail .content {
    display: block;
    white-space: inherit;
    word-break: break-all;
    text-overflow: ellipsis;
    font-size: 14px;
    color: rgba(85, 85, 85, 0.65);
    letter-spacing: 1px;
    user-select: none;
}

#u-search .search-keyword {
    color: #0c7cd5;
    text-decoration: underline;
    font-weight: bold;
    font-style: normal
}

#u-search .modal-body .no-result {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#u-search .modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1;
}

@media screen and (max-width: 680px) {
    #u-search {
        padding: 0px;
        display: none;
    }

    #u-search .modal {
        box-shadow: none;
        max-width: none;
        top: 0;
        left: 0;
        margin: 0;
        height: 100%;
        border-radius: 0;
    }

    #u-search .modal-header {
        border-radius: 0;
        padding: 0px;
    }
}

.modal-active {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}






/* 以下是搜索框 */
.search {
    margin-right: 6px;
    display: flex;
    flex-direction: row;
    align-items: center;
}

.search .form-search {
    padding: 10px 8px;
}

.search .form-search .input {
    display: block;
    line-height: 1.3;
    color: #555;
    background: #e8e8e8;
    padding: 5px 8px;
    box-shadow: none;
    box-sizing: border-box;
    font-size: 1rem;
    border-radius: 8px;
    border: none;
    outline: none;
}

.search .search-btn {
    width: 22px;
    height: 22px;
    line-height: 22px;
    margin-right: 5px;
}

.search .search-btn .search-btn-img {
    height: 100%;
    width: 100%;
}


/* 搜索框修改 */
@media screen and (max-width: 900px) {

    /* 此处添加了内容 */
    .mobile-title-hidden {
        transition: all 0.5s;
        transform: translateX(-300%);
    }

    /* 上面的是添加的内容 */
    .navbar-mobile-right {
        display: flex;
        flex-direction: row;
        align-items: center;
    }

    .search .search-btn {
        cursor: pointer;
    }

    .search .form-search {
        display: none;
    }

    :root {
        --background-color: white;
        --night-mode-background-color: #292a2d;
    }

    .mobile-search {
        transition: width 0.3s;
        position: absolute;
        top: 0px;
        left: 0px;
        right: 50px;
        padding-left: 15px;
        background: var(--background-color);
        height: 80px;
        display: flex;
        flex-direction: row;
        margin-right: 15px;
        box-sizing: border-box;
        max-width: 600px;
        /* 设置最大宽度为600px */
        width: 100%;
        /* 让宽度在小于900px时占满整个屏幕 */
    }

    /* Night Mode */
    body.dark-theme .mobile-search {
        background: var(--night-mode-background-color);
    }

    .mobile-search .form-search {
        display: block;
        flex: 1;
    }

    .mobile-search .input {
        width: 100%;
    }

    @media screen and (max-width: 900px) {
        .open-search {
            position: absolute;
            top: 0;
            right: 15px;
        }

        .mobile-search {
            width: 60%;
        }
    }


    .mobile-search .form-search {
        display: block;
        flex: 1;
    }

    .mobile-search .input {
        width: 100%;
    }

    /* 此处添加了内容 */
    .open-search {
        position: absolute;
        top: 0;
        right: 15px;
    }
}

