/* =======================================================
   基础导入（来自 themes/myhui/source/css/_base）
   ======================================================= */
.anchorjs-link {
  text-decoration: none !important;
  transition: opacity 0.2s ease-in-out;
}
.markdown-body h1:hover > .anchorjs-link,
h2:hover > .anchorjs-link,
h3:hover > .anchorjs-link,
h4:hover > .anchorjs-link,
h5:hover > .anchorjs-link,
h6:hover > .anchorjs-link {
  opacity: 1;
}
#board {
  position: relative;
  margin-top: -2rem;
  padding: 3rem 0;
  background-color: var(--board-bg-color);
  transition: background-color 0.2s ease-in-out;
  border-radius: 0.5rem;
  z-index: 3;
  -webkit-box-shadow: 0 12px 15px 0 rgba(0,0,0,0.24), 0 17px 50px 0 rgba(0,0,0,0.19);
  box-shadow: 0 12px 15px 0 rgba(0,0,0,0.24), 0 17px 50px 0 rgba(0,0,0,0.19);
}
.code-widget {
  display: inline-block;
  background-color: transparent;
  font-size: 0.75rem;
  line-height: 1;
  font-weight: bold;
  padding: 0.3rem 0.1rem 0.1rem 0.1rem;
  position: absolute;
  right: 0.45rem;
  top: 0.15rem;
  z-index: 1;
}
.code-widget-light {
  color: #999;
}
.code-widget-dark {
  color: #bababa;
}
.copy-btn {
  cursor: pointer;
  user-select: none;
  -webkit-appearance: none;
  outline: none;
}
.copy-btn > i {
  font-size: 0.75rem !important;
  font-weight: 400;
  margin-right: 0.15rem;
  opacity: 0;
  transition: opacity 0.2s ease-in-out;
}
.markdown-body pre:hover > .copy-btn > i {
  opacity: 0.9;
}
.markdown-body pre:hover > .copy-btn,
.markdown-body pre:not(:hover) > .copy-btn {
  outline: none;
}
.license-box {
  background-color: rgba(27,31,35,0.05);
  transition: background-color 0.2s ease-in-out;
  border-radius: 4px;
  font-size: 0.9rem;
  overflow: hidden;
  padding: 1.25rem;
  position: relative;
  z-index: 1;
}
.license-box .license-icon {
  position: absolute;
  top: 50%;
  left: 100%;
}
.license-box .license-icon::after {
  content: "\e8e4";
  font-size: 12.5rem;
  line-height: 1;
  opacity: 0.1;
  position: relative;
  left: -0.85em;
  bottom: 0.5em;
  z-index: -1;
}
.license-box .license-title {
  margin-bottom: 1rem;
}
.license-box .license-title div:nth-child(1) {
  line-height: 1.2;
  margin-bottom: 0.25rem;
}
.license-box .license-title div:nth-child(2) {
  color: var(--sec-text-color);
  font-size: 0.8rem;
}
.license-box .license-meta {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
}
.license-box .license-meta .license-meta-item {
  align-items: center;
  justify-content: center;
  margin-right: 1.5rem;
}
.license-box .license-meta .license-meta-item div:nth-child(1) {
  color: var(--sec-text-color);
  font-size: 0.8rem;
  font-weight: normal;
}
.license-box .license-meta .license-meta-item i.iconfont {
  font-size: 1rem;
}
@media (max-width: 575px) and (min-width: 425px) {
  .license-box .license-meta .license-meta-item {
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    font-size: 0.8rem;
    flex: 0 0 50%;
    max-width: 50%;
    margin-right: 0;
  }
  .license-box .license-meta .license-meta-item div:nth-child(1) {
    margin-right: 0.5rem;
  }
  .license-box .license-meta .license-meta-date {
    order: -1;
  }
}
@media (max-width: 424px) {
  .license-box::after {
    top: -65px;
  }
  .license-box .license-meta {
    flex-direction: column;
    align-items: flex-start;
  }
  .license-box .license-meta .license-meta-item {
    display: flex;
    flex-wrap: wrap;
    font-size: 0.8rem;
  }
  .license-box .license-meta .license-meta-item div:nth-child(1) {
    margin-right: 0.5rem;
  }
}
.footer-inner {
  padding: 3rem 0 1rem 0;
  text-align: center;
}
.footer-inner > div:not(:first-child) {
  margin: 0.25rem 0;
  font-size: 0.85rem;
}
.footer-inner .statistics {
  display: flex;
  flex-direction: row;
  justify-content: center;
}
.footer-inner .statistics > span {
  flex: 1;
  margin: 0 0.25rem;
}
.footer-inner .statistics > *:nth-last-child(2):first-child {
  text-align: right;
}
.footer-inner .statistics > *:nth-last-child(2):first-child ~ * {
  text-align: left;
}
.footer-inner .beian {
  display: flex;
  flex-direction: row;
  justify-content: center;
}
.footer-inner .beian > * {
  margin: 0 0.25rem;
}
.footer-inner .beian-police {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: left;
}
.footer-inner .beian-police img {
  margin-right: 3px;
  width: 1rem;
  height: 1rem;
  margin-bottom: 0.1rem;
}
@media (max-width: 424px) {
  .footer-inner .statistics {
    flex-direction: column;
  }
  .footer-inner .statistics > *:nth-last-child(2):first-child {
    text-align: center;
  }
  .footer-inner .statistics > *:nth-last-child(2):first-child ~ * {
    text-align: center;
  }
  .footer-inner .beian {
    flex-direction: column;
  }
  .footer-inner .beian .beian-police {
    justify-content: center;
  }
  .footer-inner .beian > *:nth-last-child(2):first-child {
    text-align: center;
  }
  .footer-inner .beian > *:nth-last-child(2):first-child ~ * {
    text-align: center;
  }
}
sup > a::before,
.footnote-text::before {
  display: block;
  content: "";
  margin-top: -5rem;
  height: 5rem;
  width: 1px;
  visibility: hidden;
}
sup > a::before,
.footnote-text::before {
  display: inline-block;
}
.footnote-item::before {
  display: block;
  content: "";
  margin-top: -5rem;
  height: 5rem;
  width: 1px;
  visibility: hidden;
}
.footnote-list ol {
  list-style-type: none;
  counter-reset: sectioncounter;
  padding-left: 0.5rem;
  font-size: 0.95rem;
}
.footnote-list ol li:before {
  font-family: "Helvetica Neue", monospace, "Monaco";
  content: "[" counter(sectioncounter) "]";
  counter-increment: sectioncounter;
}
.footnote-list ol li+li {
  margin-top: 0.5rem;
}
.footnote-text {
  padding-left: 0.5em;
}
.navbar {
/* 导航栏整体外观 */
  background-color: transparent;
  font-size: 0.875rem;
  box-shadow: 0 2px 5px 0 rgba(0,0,0,0.16), 0 2px 10px 0 rgba(0,0,0,0.12);
  -webkit-box-shadow: 0 2px 5px 0 rgba(0,0,0,0.16), 0 2px 10px 0 rgba(0,0,0,0.12);
/* 网站标题 / Logo */
/* 小屏菜单按钮三条线（汉堡菜单） */
/* =======================================================
     🌟 导航链接（普通链接 + hover 状态）
     ======================================================= */
/* =======================================================
     🔸 菜单按钮（折叠按钮样式）
     ======================================================= */
/* =======================================================
     🔸 滚动时导航栏动画（scrolling-navbar）
     ======================================================= */
/* =======================================================
     🔹 下拉菜单样式（Dropdown Menu）
     ======================================================= */
/* PC 端 hover 弹出子菜单 */
/* =======================================================
     🔸 汉堡菜单动画（Animated Icon）
     ======================================================= */
}
.navbar .navbar-brand {
  color: var(--navbar-text-color);
}
.navbar .navbar-toggler .animated-icon span {
  background-color: var(--navbar-text-color);
}
.navbar .nav-item .nav-link {
  display: block;
  color: var(--navbar-text-color);
  transition: color 0.2s ease-in-out, background-color 0.2s ease-in-out;
/* 图标设置 */
}
.navbar .nav-item .nav-link:hover {
  color: var(--link-hover-color);
}
.navbar .nav-item .nav-link:focus {
  color: var(--navbar-text-color);
}
.navbar .nav-item .nav-link i {
  font-size: 0.875rem;
  line-height: inherit;
}
.navbar .nav-item .nav-link i:only-child {
  margin: 0 0.2rem;
}
.navbar .navbar-toggler {
  border-width: 0;
  outline: 0;
}
.navbar.scrolling-navbar {
  will-change: background, padding;
  -webkit-transition: background 0.5s ease-in-out, padding 0.5s ease-in-out;
  transition: background 0.5s ease-in-out, padding 0.5s ease-in-out;
}
@media (min-width: 600px) {
  .navbar.scrolling-navbar {
    padding-top: 12px;
    padding-bottom: 12px;
  }
  .navbar.scrolling-navbar .navbar-nav > li {
    -webkit-transition-duration: 1s;
    transition-duration: 1s;
  }
}
.navbar.scrolling-navbar.top-nav-collapse {
  padding-top: 5px;
  padding-bottom: 5px;
}
.navbar .dropdown-menu {
  font-size: 0.875rem;
  color: var(--navbar-text-color);
  background-color: rgba(0,0,0,0.3);
  border: none;
  min-width: 8rem;
  -webkit-transition: background 0.5s ease-in-out, padding 0.5s ease-in-out;
  transition: background 0.5s ease-in-out, padding 0.5s ease-in-out;
}
@media (max-width: 991.98px) {
  .navbar .dropdown-menu {
    text-align: center;
  }
}
.navbar .dropdown-item {
  color: var(--navbar-text-color);
}
.navbar .dropdown-item:hover,
.navbar .dropdown-item:focus {
  color: var(--link-hover-color);
  background-color: rgba(0,0,0,0.1);
}
@media (min-width: 992px) {
  .navbar .dropdown:hover > .dropdown-menu {
    display: block;
  }
  .navbar .dropdown > .dropdown-toggle:active {
    pointer-events: none;
  }
  .navbar .dropdown-menu {
    top: 95%;
  }
}
.navbar .animated-icon {
  width: 30px;
  height: 20px;
  position: relative;
  margin: 0;
  transform: rotate(0deg);
  transition: 0.5s ease-in-out;
  cursor: pointer;
/* 展开动画状态 */
}
.navbar .animated-icon span {
  display: block;
  position: absolute;
  height: 3px;
  width: 100%;
  border-radius: 9px;
  opacity: 1;
  left: 0;
  transform: rotate(0deg);
  transition: 0.25s ease-in-out;
  background: #fff;
}
.navbar .animated-icon span:nth-child(1) {
  top: 0;
}
.navbar .animated-icon span:nth-child(2) {
  top: 10px;
}
.navbar .animated-icon span:nth-child(3) {
  top: 20px;
}
.navbar .animated-icon.open span:nth-child(1) {
  top: 11px;
  transform: rotate(135deg);
}
.navbar .animated-icon.open span:nth-child(2) {
  opacity: 0;
  left: -60px;
}
.navbar .animated-icon.open span:nth-child(3) {
  top: 11px;
  transform: rotate(-135deg);
}
.navbar .dropdown-collapse,
.top-nav-collapse,
.navbar-col-show {
  background-color: var(--navbar-bg-color);
}
@media (max-width: 767px) {
  .navbar {
    font-size: 1rem;
    line-height: 2.5rem;
  }
}
.banner-text {
  color: var(--subtitle-color);
  max-width: calc(960px - 6rem);
  width: 80%;
  overflow-wrap: break-word;
}
.banner-text .typed-cursor {
  margin: 0 0.2rem;
}
@media (max-width: 767px) {
  #subtitle,
  .typed-cursor {
    font-size: 1.5rem;
  }
}
@media (max-width: 575px) {
  .banner-text {
    font-size: 0.9rem;
  }
  #subtitle,
  .typed-cursor {
    font-size: 1.35rem;
  }
}
#color-toggle-icon .icon-sun {
  display: block;
}
#color-toggle-icon .icon-dark {
  display: none;
}
html[data-user-color-scheme='dark'] #color-toggle-icon .icon-sun {
  display: none;
}
html[data-user-color-scheme='dark'] #color-toggle-icon .icon-dark {
  display: block;
}
#color-toggle-icon {
  width: 22px;
  height: 22px;
  vertical-align: middle;
  transition: transform 0.4s ease, opacity 0.3s ease;
}
#color-toggle-btn:hover #color-toggle-icon {
  transform: rotate(25deg);
}
#color-toggle-icon .fill-grad {
  fill: url("#nav-gradient");
}
#color-toggle-icon .fill-base {
  fill: var(--navbar-text-color);
  transition: fill 0.3s ease;
}
#color-toggle-icon g {
  transition: opacity 0.4s ease;
}
html[data-user-color-scheme='light'] #color-toggle-icon .icon-sun {
  opacity: 1;
}
html[data-user-color-scheme='light'] #color-toggle-icon .icon-dark {
  opacity: 0;
}
html[data-user-color-scheme='dark'] #color-toggle-icon .icon-sun {
  opacity: 0;
}
html[data-user-color-scheme='dark'] #color-toggle-icon .icon-dark {
  opacity: 1;
}
.modal-dialog .modal-content {
  background-color: var(--board-bg-color);
  border: 0;
  border-radius: 0.125rem;
  -webkit-box-shadow: 0 5px 11px 0 rgba(0,0,0,0.18), 0 4px 15px 0 rgba(0,0,0,0.15);
  box-shadow: 0 5px 11px 0 rgba(0,0,0,0.18), 0 4px 15px 0 rgba(0,0,0,0.15);
}
.modal-dialog .modal-content .modal-header {
  border-bottom-color: var(--line-color);
  transition: border-bottom-color 0.2s ease-in-out;
}
.close {
  color: var(--text-color);
}
.close:hover {
  color: var(--link-hover-color);
}
.close:focus {
  outline: 0;
}
.modal-dialog .modal-content .modal-header {
  border-top-left-radius: 0.125rem;
  border-top-right-radius: 0.125rem;
  border-bottom: 1px solid #dee2e6;
}
.md-form {
  position: relative;
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
}
.md-form input[type] {
  -webkit-box-sizing: content-box;
  box-sizing: content-box;
  background-color: transparent;
  border: none;
  border-bottom: 1px solid #ced4da;
  border-radius: 0;
  outline: none;
  -webkit-box-shadow: none;
  box-shadow: none;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out;
}
.md-form input[type]:focus:not([readonly]) {
  border-bottom: 1px solid #4285f4;
  -webkit-box-shadow: 0 1px 0 0 #4285f4;
  box-shadow: 0 1px 0 0 #4285f4;
}
.md-form input[type]:focus:not([readonly]) + label {
  color: #4285f4;
}
.md-form input[type].valid,
.md-form input[type]:focus.valid {
  border-bottom: 1px solid #00c851;
  -webkit-box-shadow: 0 1px 0 0 #00c851;
  box-shadow: 0 1px 0 0 #00c851;
}
.md-form input[type].valid + label,
.md-form input[type]:focus.valid + label {
  color: #00c851;
}
.md-form input[type].invalid,
.md-form input[type]:focus.invalid {
  border-bottom: 1px solid #f44336;
  -webkit-box-shadow: 0 1px 0 0 #f44336;
  box-shadow: 0 1px 0 0 #f44336;
}
.md-form input[type].invalid + label,
.md-form input[type]:focus.invalid + label {
  color: #f44336;
}
.md-form input[type].validate {
  margin-bottom: 2.5rem;
}
.md-form input[type].form-control {
  height: auto;
  padding: 0.6rem 0 0.4rem 0;
  margin: 0 0 0.5rem 0;
  color: var(--text-color);
  background-color: transparent;
  border-radius: 0;
}
.md-form label {
  font-size: 0.8rem;
  position: absolute;
  top: -1rem;
  left: 0;
  color: #757575;
  cursor: text;
  transition: color 0.2s ease-out;
}
.modal-open[style] {
  padding-right: 0 !important;
  overflow: auto;
}
.modal-open[style] #navbar[style] {
  padding-right: 1rem !important;
}
#nprogress .bar {
  height: 3px !important;
  background-color: #29d !important;
}
#nprogress .peg {
  box-shadow: 0 0 14px #29d, 0 0 8px #29d !important;
}
@media (max-width: 575px) {
  #nprogress .bar {
    display: none;
  }
}
.noscript-warning {
  background-color: #f55;
  color: #fff;
  font-family: sans-serif;
  font-size: 1rem;
  font-weight: bold;
  position: fixed;
  left: 0;
  bottom: 0;
  text-align: center;
  width: 100%;
  z-index: 99;
}
.pagination {
  margin-top: 3rem;
  justify-content: center;
}
.pagination .space {
  align-self: flex-end;
}
.pagination .page-number,
.pagination .current,
.pagination .extend {
  outline: 0;
  border: 0;
  background-color: transparent;
  font-size: 0.9rem;
  padding: 0.5rem 0.75rem;
  line-height: 1.25;
  border-radius: 0.125rem;
}
.pagination .page-number {
  margin: 0 0.05rem;
}
.pagination .page-number:hover,
.pagination .current {
  transition: background-color 0.2s ease-in-out;
  background-color: var(--link-hover-bg-color);
}
.qr-trigger {
  cursor: pointer;
  position: relative;
}
.qr-trigger:hover .qr-img {
  display: block;
  transition: all 0.3s;
}
.qr-img {
  max-width: 12rem;
  position: absolute;
  right: -5.25rem;
  z-index: 99;
  display: none;
  border-radius: 0.2rem;
  background-color: transparent;
  box-shadow: 0 0 20px -5px rgba(158,158,158,0.2);
}
#scroll-top-button {
  position: fixed;
  z-index: 99;
  background: var(--board-bg-color);
  transition: background-color 0.2s ease-in-out, bottom 0.3s ease;
  border-radius: 6px;
  width: 44px;
  height: 44px;
  bottom: -60px;
  outline: none;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 5px 0 rgba(0,0,0,0.16), 0 2px 10px 0 rgba(0,0,0,0.12);
  cursor: pointer;
}
#scroll-top-button .icon {
  width: 28px;
  height: 28px;
  fill: currentColor;
  display: block;
  margin: auto;
  transform-origin: center center;
  transition: fill 0.3s ease, transform 0.3s ease;
}
#scroll-top-button:hover .icon {
  animation: scroll-top 1s ease-in-out infinite alternate;
  fill: url("#nav-gradient");
}
#scroll-top-button:active .icon {
  animation: none;
  transform: scale(0.92);
}
html[data-user-color-scheme="dark"] #scroll-top-button {
  background: #1e293b;
  color: #f8fafc;
}
html[data-user-color-scheme="dark"] #scroll-top-button:hover .icon {
  fill: url("#nav-gradient");
}
@-moz-keyframes scroll-top {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-6px);
  }
}
@-webkit-keyframes scroll-top {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-6px);
  }
}
@-o-keyframes scroll-top {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-6px);
  }
}
@keyframes scroll-top {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-6px);
  }
}
#local-search-result .search-list-title {
  border-left: 3px solid #0d47a1;
}
#local-search-result .search-list-content {
  padding: 0 1.25rem;
}
#local-search-result .search-word {
  color: #ff4500;
}
#toc {
  visibility: hidden;
}
.toc-header {
  margin-bottom: 0.5rem;
  font-weight: bold;
  line-height: 1.2;
}
.toc-header,
.toc-header > i {
  font-size: 1.25rem;
}
.toc-body {
  max-height: 75vh;
  overflow-y: auto;
  overflow: -moz-scrollbars-none;
  -ms-overflow-style: none;
}
.toc-body ol {
  list-style: none;
  padding-inline-start: 1rem;
}
.toc-body::-webkit-scrollbar {
  display: none;
}
.tocbot-list {
  position: relative;
}
.tocbot-list ol {
  list-style: none;
  padding-left: 1rem;
}
.tocbot-list a {
  font-size: 0.95rem;
}
.tocbot-link {
  color: var(--text-color);
}
.tocbot-active-link {
  font-weight: bold;
  color: var(--link-hover-color);
}
.tocbot-is-collapsed {
  max-height: 0;
}
.tocbot-is-collapsible {
  overflow: hidden;
  transition: all 0.3s ease-in-out;
}
.toc-list-item {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.toc-list-item.is-active-li::before {
  height: 1rem;
  margin: 0.25rem 0;
  visibility: visible;
}
.toc-list-item::before {
  width: 0.15rem;
  height: 0.2rem;
  position: absolute;
  left: 0.25rem;
  content: "";
  border-radius: 2px;
  margin: 0.65rem 0;
  background: var(--link-hover-color);
  visibility: hidden;
  transition: height 0.1s ease-in-out, margin 0.1s ease-in-out, visibility 0.1s ease-in-out;
}
.sidebar {
  position: -webkit-sticky;
  position: sticky;
  top: 2rem;
  padding: 3rem 0;
}
html {
  font-size: 16px;
  letter-spacing: 0.02em;
}
html,
body {
  height: 100%;
  font-family: var(--font-family-sans-serif);
  overflow-wrap: break-word;
}
body {
  transition: color 0.2s ease-in-out, background-color 0.2s ease-in-out;
  background-color: var(--body-bg-color);
  color: var(--text-color);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body a {
  color: var(--text-color);
  text-decoration: none;
  cursor: pointer;
  transition: color 0.2s ease-in-out, background-color 0.2s ease-in-out;
}
body a:hover {
  color: var(--link-hover-color);
  text-decoration: none;
  transition: color 0.2s ease-in-out, background-color 0.2s ease-in-out;
}
code {
  color: inherit;
}
table {
  font-size: inherit;
  color: var(--post-text-color);
}
img[lazyload] {
  object-fit: cover;
}
*[align="left"] {
  text-align: left;
}
*[align="center"] {
  text-align: center;
}
*[align="right"] {
  text-align: right;
}
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-thumb {
  background-color: var(--scrollbar-color);
  border-radius: 6px;
}
::-webkit-scrollbar-thumb:hover {
  background-color: var(--scrollbar-hover-color);
}
::-webkit-scrollbar-corner {
  background-color: transparent;
}
label {
  margin-bottom: 0;
}
i.iconfont {
  font-size: 1em;
  line-height: 1;
}
:root {
  --color-mode: "light";
  --body-bg-color: #eee;
  --board-bg-color: #fff;
  --text-color: #3c4858;
  --sec-text-color: #718096;
  --post-text-color: #2c3e50;
  --post-heading-color: #1a202c;
  --post-link-color: #0366d6;
  --link-hover-color: #30a9de;
  --link-hover-bg-color: #f8f9fa;
  --line-color: #eaecef;
  --navbar-bg-color: #3D85C6;
  --navbar-text-color: #fff;
  --subtitle-color: #fff;
  --scrollbar-color: #c4c6c9;
  --scrollbar-hover-color: #a6a6a6;
  --button-bg-color: transparent;
  --button-hover-bg-color: #f2f3f5;
  --highlight-bg-color: #f6f8fa;
  --inlinecode-bg-color: rgba(175,184,193,0.2);
  --fold-title-color: #3c4858;
  --fold-border-color: #eaecef;
}
@media (prefers-color-scheme: dark) {
  :root {
    --color-mode: "dark";
  }
  :root:not([data-user-color-scheme]) {
    --body-bg-color: #181c27;
    --board-bg-color: #252d38;
    --text-color: #c4c6c9;
    --sec-text-color: #a7a9ad;
    --post-text-color: #c4c6c9;
    --post-heading-color: #c4c6c9;
    --post-link-color: #1589e9;
    --link-hover-color: #30a9de;
    --link-hover-bg-color: #364151;
    --line-color: #435266;
    --navbar-bg-color: #1f3144;
    --navbar-text-color: #d0d0d0;
    --subtitle-color: #d0d0d0;
    --scrollbar-color: #687582;
    --scrollbar-hover-color: #9da8b3;
    --button-bg-color: transparent;
    --button-hover-bg-color: #46647e;
    --highlight-bg-color: #303030;
    --inlinecode-bg-color: rgba(99,110,123,0.4);
    --fold-title-color: #c4c6c9;
    --fold-border-color: #435266;
  }
  :root:not([data-user-color-scheme]) img {
    -webkit-filter: brightness(0.9);
    filter: brightness(0.9);
    transition: filter 0.2s ease-in-out;
  }
  :root:not([data-user-color-scheme]) .license-box {
    background-color: rgba(62,75,94,0.35);
    transition: background-color 0.2s ease-in-out;
  }
  :root:not([data-user-color-scheme]) .gt-comment-admin .gt-comment-content {
    background-color: transparent;
    transition: background-color 0.2s ease-in-out;
  }
}
@media not print {
  [data-user-color-scheme="dark"] {
    --body-bg-color: #181c27;
    --board-bg-color: #252d38;
    --text-color: #c4c6c9;
    --sec-text-color: #a7a9ad;
    --post-text-color: #c4c6c9;
    --post-heading-color: #c4c6c9;
    --post-link-color: #1589e9;
    --link-hover-color: #30a9de;
    --link-hover-bg-color: #364151;
    --line-color: #435266;
    --navbar-bg-color: #1f3144;
    --navbar-text-color: #d0d0d0;
    --subtitle-color: #d0d0d0;
    --scrollbar-color: #687582;
    --scrollbar-hover-color: #9da8b3;
    --button-bg-color: transparent;
    --button-hover-bg-color: #46647e;
    --highlight-bg-color: #303030;
    --inlinecode-bg-color: rgba(99,110,123,0.4);
    --fold-title-color: #c4c6c9;
    --fold-border-color: #435266;
  }
  [data-user-color-scheme="dark"] img {
    -webkit-filter: brightness(0.9);
    filter: brightness(0.9);
    transition: filter 0.2s ease-in-out;
  }
  [data-user-color-scheme="dark"] .license-box {
    background-color: rgba(62,75,94,0.35);
    transition: background-color 0.2s ease-in-out;
  }
  [data-user-color-scheme="dark"] .gt-comment-admin .gt-comment-content {
    background-color: transparent;
    transition: background-color 0.2s ease-in-out;
  }
}
@media print {
  :root {
    --color-mode: "light";
  }
}
.fade-in-up {
  -webkit-animation-name: fade-in-up;
  animation-name: fade-in-up;
}
.hidden-mobile {
  display: block;
}
.visible-mobile {
  display: none;
}
@media (max-width: 575px) {
  .hidden-mobile {
    display: none;
  }
  .visible-mobile {
    display: block;
  }
}
.nomargin-x {
  margin-left: 0 !important;
  margin-right: 0 !important;
}
.nopadding-x {
  padding-left: 0 !important;
  padding-right: 0 !important;
}
@media (max-width: 767px) {
  .nopadding-x-md {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}
.flex-center {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  height: 100%;
}
.hover-with-bg {
  display: inline-block;
  line-height: 1;
}
.hover-with-bg:hover {
  background-color: var(--link-hover-bg-color);
  transition-duration: 0.2s;
  transition-timing-function: ease-in-out;
  border-radius: 0.2rem;
}
@-moz-keyframes fade-in-up {
  from {
    opacity: 0;
    -webkit-transform: translate3d(0, 100%, 0);
    transform: translate3d(0, 100%, 0);
  }
  to {
    opacity: 1;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}
@-webkit-keyframes fade-in-up {
  from {
    opacity: 0;
    -webkit-transform: translate3d(0, 100%, 0);
    transform: translate3d(0, 100%, 0);
  }
  to {
    opacity: 1;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}
@-o-keyframes fade-in-up {
  from {
    opacity: 0;
    -webkit-transform: translate3d(0, 100%, 0);
    transform: translate3d(0, 100%, 0);
  }
  to {
    opacity: 1;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}
@keyframes fade-in-up {
  from {
    opacity: 0;
    -webkit-transform: translate3d(0, 100%, 0);
    transform: translate3d(0, 100%, 0);
  }
  to {
    opacity: 1;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}
@-moz-keyframes scroll-down {
  0% {
    opacity: 0.8;
    top: 0;
  }
  50% {
    opacity: 0.4;
    top: -1em;
  }
  100% {
    opacity: 0.8;
    top: 0;
  }
}
@-webkit-keyframes scroll-down {
  0% {
    opacity: 0.8;
    top: 0;
  }
  50% {
    opacity: 0.4;
    top: -1em;
  }
  100% {
    opacity: 0.8;
    top: 0;
  }
}
@-o-keyframes scroll-down {
  0% {
    opacity: 0.8;
    top: 0;
  }
  50% {
    opacity: 0.4;
    top: -1em;
  }
  100% {
    opacity: 0.8;
    top: 0;
  }
}
@keyframes scroll-down {
  0% {
    opacity: 0.8;
    top: 0;
  }
  50% {
    opacity: 0.4;
    top: -1em;
  }
  100% {
    opacity: 0.8;
    top: 0;
  }
}
@-moz-keyframes scroll-top {
  0% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
  50% {
    -webkit-transform: translateY(-0.35rem);
    transform: translateY(-0.35rem);
  }
  100% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
}
@-webkit-keyframes scroll-top {
  0% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
  50% {
    -webkit-transform: translateY(-0.35rem);
    transform: translateY(-0.35rem);
  }
  100% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
}
@-o-keyframes scroll-top {
  0% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
  50% {
    -webkit-transform: translateY(-0.35rem);
    transform: translateY(-0.35rem);
  }
  100% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
}
@keyframes scroll-top {
  0% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
  50% {
    -webkit-transform: translateY(-0.35rem);
    transform: translateY(-0.35rem);
  }
  100% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
}
@media print {
  header,
  footer,
  .side-col,
  #scroll-top-button,
  .post-prevnext,
  #comments {
    display: none !important;
  }
  .markdown-body a:not([href^='#']):not([href^='javascript:']):not(.print-no-link)::after {
    content: ' (' attr(href) ')';
    font-size: 0.8rem;
    color: var(--post-text-color);
    opacity: 0.8;
  }
  .markdown-body > h1,
  .markdown-body h2 {
    border-bottom-color: transparent !important;
  }
  .markdown-body > h1,
  .markdown-body h2,
  .markdown-body h3,
  .markdown-body h4,
  .markdown-body h5,
  .markdown-body h6 {
    margin-top: 1.25em !important;
    margin-bottom: 0.25em !important;
  }
  .markdown-body [data-anchorjs-icon]::after {
    display: none;
  }
  .markdown-body figure.highlight table,
  .markdown-body figure.highlight tbody,
  .markdown-body figure.highlight tr,
  .markdown-body figure.highlight td.code,
  .markdown-body figure.highlight td.code pre {
    width: 100% !important;
    display: block !important;
  }
  .markdown-body figure.highlight pre > code {
    white-space: pre-wrap;
  }
  .markdown-body figure.highlight .gutter,
  .markdown-body figure.highlight .code-widget {
    display: none !important;
  }
  .post-metas a {
    text-decoration: none;
  }
}
@media not print {
  #seo-header {
    display: none;
  }
}
.index-card {
  margin-bottom: 2.5rem;
}
.index-img img {
  display: block;
  width: 100%;
  height: 10rem;
  object-fit: cover;
  box-shadow: 0 5px 11px 0 rgba(0,0,0,0.18), 0 4px 15px 0 rgba(0,0,0,0.15);
  border-radius: 0.25rem;
  background-color: transparent;
}
.index-info {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}
.index-header {
  color: var(--text-color);
  font-size: 1.5rem;
  font-weight: bold;
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 0.25rem;
}
.index-header .index-pin {
  color: var(--text-color);
  font-size: 1.5rem;
  margin-right: 0.15rem;
}
.index-btm {
  color: var(--sec-text-color);
}
.index-btm a {
  color: var(--sec-text-color);
}
.index-excerpt {
  color: var(--sec-text-color);
  margin: 0.5rem 0;
  height: calc(1.4rem * 3);
  overflow: hidden;
  display: flex;
}
.index-excerpt > div {
  width: 100%;
  line-height: 1.4rem;
  word-break: break-word;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}
.index-excerpt__noimg {
  height: auto;
  max-height: calc(1.4rem * 3);
}
@media (max-width: 767px) {
  .index-info {
    padding-top: 1.25rem;
  }
  .index-header {
    font-size: 1.25rem;
    white-space: normal;
    overflow: hidden;
    word-break: break-word;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }
  .index-header .index-pin {
    font-size: 1.25rem;
  }
  .index-excerpt {
    height: auto;
    max-height: calc(1.4rem * 3);
    margin: 0.25rem 0;
  }
}
#valine.v[data-class=v] .status-bar,
#valine.v[data-class=v] .veditor,
#valine.v[data-class=v] .vinput,
#valine.v[data-class=v] .vbtn,
#valine.v[data-class=v] p,
#valine.v[data-class=v] pre code {
  color: var(--text-color);
}
#valine.v[data-class=v] .vinput::placeholder {
  color: var(--sec-text-color);
}
#valine.v[data-class=v] .vicon {
  fill: var(--text-color);
}
.gt-container .gt-comment-content:hover {
  -webkit-box-shadow: none;
  box-shadow: none;
}
.gt-container .gt-comment-body {
  color: var(--text-color) !important;
  transition: color 0.2s ease-in-out;
}
#remark-km423lmfdslkm34-back {
  z-index: 1030;
}
#remark-km423lmfdslkm34-node {
  z-index: 1031;
}
.markdown-body .highlight pre,
.markdown-body pre {
  padding: 1.45rem 1rem;
}
.markdown-body pre code.hljs {
  padding: 0;
}
.markdown-body pre[class*="language-"] {
  padding-top: 1.45rem;
  padding-bottom: 1.45rem;
  padding-right: 1rem;
  line-height: 1.5;
  margin-bottom: 1rem;
}
.markdown-body .code-wrapper {
  position: relative;
  border-radius: 4px;
  margin-bottom: 1rem;
}
.markdown-body .hljs,
.markdown-body .highlight pre,
.markdown-body .code-wrapper pre,
.markdown-body figure.highlight td.gutter {
  transition: color 0.2s ease-in-out, background-color 0.2s ease-in-out;
  background-color: var(--highlight-bg-color);
}
pre[class*=language-].line-numbers {
  position: initial;
}
figure {
  margin: 1rem 0;
}
figure.highlight {
  position: relative;
}
figure.highlight table {
  border: 0;
  margin: 0;
  width: auto;
  border-radius: 4px;
}
figure.highlight td {
  border: 0;
  padding: 0;
}
figure.highlight tr {
  border: 0;
}
figure.highlight td.code {
  width: 100%;
}
figure.highlight td.gutter {
  display: table-cell;
  position: -webkit-sticky;
  position: sticky;
  left: 0;
  z-index: 1;
}
figure.highlight td.gutter pre {
  text-align: right;
  padding: 0 0.75rem;
  border-radius: initial;
  border-right: 1px solid #999;
}
figure.highlight td.gutter pre span.line {
  color: #999;
}
figure.highlight td.code > pre {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}
.markdown-body {
  font-size: 1rem;
  line-height: 1.6;
  font-family: var(--font-family-sans-serif);
  margin-bottom: 2rem;
  color: var(--post-text-color);
}
.markdown-body > h1,
.markdown-body h2 {
  border-bottom-color: var(--line-color);
}
.markdown-body > h1,
.markdown-body h2,
.markdown-body h3,
.markdown-body h4,
.markdown-body h5,
.markdown-body h6 {
  color: var(--post-heading-color);
  transition: color 0.2s ease-in-out, border-bottom-color 0.2s ease-in-out;
  font-weight: bold;
  margin-bottom: 0.75em;
  margin-top: 2em;
}
.markdown-body > h1::before,
.markdown-body h2::before,
.markdown-body h3::before,
.markdown-body h4::before,
.markdown-body h5::before,
.markdown-body h6::before {
  display: block;
  content: "";
  margin-top: -5rem;
  height: 5rem;
  width: 1px;
  visibility: hidden;
}
.markdown-body > h1:focus,
.markdown-body h2:focus,
.markdown-body h3:focus,
.markdown-body h4:focus,
.markdown-body h5:focus,
.markdown-body h6:focus {
  outline: none;
}
.markdown-body a {
  color: var(--post-link-color);
}
.markdown-body strong {
  font-weight: bold;
}
.markdown-body code {
  tab-size: 4;
  background-color: var(--inlinecode-bg-color);
  transition: background-color 0.2s ease-in-out;
}
.markdown-body table tr {
  background-color: var(--board-bg-color);
  transition: background-color 0.2s ease-in-out;
}
.markdown-body table tr:nth-child(2n) {
  background-color: var(--board-bg-color);
  transition: background-color 0.2s ease-in-out;
}
.markdown-body table th,
.markdown-body table td {
  border-color: var(--line-color);
  transition: border-color 0.2s ease-in-out;
}
.markdown-body pre {
  font-size: 85% !important;
}
.markdown-body pre .mermaid {
  text-align: center;
}
.markdown-body pre .mermaid > svg {
  min-width: 100%;
}
.markdown-body p > img,
.markdown-body p > a > img,
.markdown-body figure > img,
.markdown-body figure > a > img {
  max-width: 90%;
  margin: 1.5rem auto;
  display: block;
  box-shadow: 0 5px 11px 0 rgba(0,0,0,0.18), 0 4px 15px 0 rgba(0,0,0,0.15);
  border-radius: 4px;
  background-color: transparent;
}
.markdown-body blockquote {
  color: var(--sec-text-color);
}
.markdown-body details {
  cursor: pointer;
}
.markdown-body details summary {
  outline: none;
}
hr,
.markdown-body hr {
  background-color: initial;
  border-top: 1px solid var(--line-color);
  transition: border-top-color 0.2s ease-in-out;
}
.markdown-body hr {
  height: 0;
  margin: 2rem 0;
}
.markdown-body figcaption.image-caption {
  font-size: 0.8rem;
  color: var(--post-text-color);
  opacity: 0.65;
  line-height: 1;
  margin: -0.75rem auto 2rem;
  text-align: center;
}
.markdown-body figcaption:not(.image-caption) {
  display: none;
}
.post-content,
post-custom {
  box-sizing: border-box;
  padding-left: 10%;
  padding-right: 10%;
}
@media (max-width: 767px) {
  .post-content,
  post-custom {
    padding-left: 2rem;
    padding-right: 2rem;
  }
  .page-content,
  .post-content {
    overflow: hidden;
  }
}
@media (max-width: 424px) {
  .post-content,
  post-custom {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .page-content,
  .post-content {
    overflow: hidden;
  }
  .anchorjs-link-left {
    opacity: 0 !important;
  }
}
.page-content strong,
.post-content strong {
  font-weight: bold;
}
.page-content > *:nth-child(2),
.post-content > *:nth-child(2) {
  margin-top: 0;
}
.page-content img,
.post-content img {
  object-fit: cover;
  max-width: 100%;
}
.post-metas {
  display: flex;
  flex-wrap: wrap;
  font-size: 0.9rem;
}
.post-meta > *:not(.hover-with-bg) {
  margin-right: 0.2rem;
}
.post-prevnext {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  font-size: 0.9rem;
  margin-left: -0.35rem;
  margin-right: -0.35rem;
}
.post-prevnext .post-prev,
.post-prevnext .post-next {
  display: flex;
  padding-left: 0;
  padding-right: 0;
}
.post-prevnext .post-prev i,
.post-prevnext .post-next i {
  font-size: 1.5rem;
}
.post-prevnext .post-prev a,
.post-prevnext .post-next a {
  display: flex;
  align-items: center;
}
.post-prevnext .post-prev .hidden-mobile,
.post-prevnext .post-next .hidden-mobile {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  text-overflow: ellipsis;
  overflow: hidden;
}
@media (max-width: 575px) {
  .post-prevnext .post-prev .hidden-mobile,
  .post-prevnext .post-next .hidden-mobile {
    display: none;
  }
}
.post-prevnext .post-prev:hover i,
.post-prevnext .post-prev:active i,
.post-prevnext .post-next:hover i,
.post-prevnext .post-next:active i {
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
  -webkit-animation-delay: 0.1s;
  animation-delay: 0.1s;
  -webkit-animation-timing-function: ease-in-out;
  animation-timing-function: ease-in-out;
  -webkit-animation-iteration-count: infinite;
  animation-iteration-count: infinite;
  -webkit-animation-fill-mode: forwards;
  animation-fill-mode: forwards;
  -webkit-animation-direction: alternate;
  animation-direction: alternate;
}
.post-prevnext .post-prev:hover i,
.post-prevnext .post-prev:active i {
  -webkit-animation-name: post-prev-anim;
  animation-name: post-prev-anim;
}
.post-prevnext .post-next:hover i,
.post-prevnext .post-next:active i {
  -webkit-animation-name: post-next-anim;
  animation-name: post-next-anim;
}
.post-prevnext .post-next {
  justify-content: flex-end;
}
.post-prevnext .fa-chevron-left {
  margin-right: 0.5rem;
}
.post-prevnext .fa-chevron-right {
  margin-left: 0.5rem;
}
#seo-header {
  color: var(--post-heading-color);
  font-weight: bold;
  margin-top: 0.5em;
  margin-bottom: 0.75em;
  border-bottom-color: var(--line-color);
  border-bottom-style: solid;
  border-bottom-width: 2px;
  line-height: 1.5;
}
.custom,
#comments {
  margin-top: 2rem;
}
#comments noscript {
  display: block;
  text-align: center;
  padding: 2rem 0;
}
.visitors {
  font-size: 0.8em;
  padding: 0.45rem;
  float: right;
}
a.fancybox:hover {
  text-decoration: none;
}
mjx-container,
.mjx-container {
  overflow-x: auto;
  overflow-y: hidden !important;
  padding: 0.5em 0;
}
mjx-container:focus,
.mjx-container:focus,
mjx-container svg:focus,
.mjx-container svg:focus {
  outline: none;
}
.mjx-char {
  line-height: 1;
}
.katex-block {
  overflow-x: auto;
}
.katex,
.mjx-mrow {
  white-space: pre-wrap !important;
}
.footnote-ref [class*=hint--][aria-label]:after {
  max-width: 12rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
@-moz-keyframes post-prev-anim {
  0% {
    -webkit-transform: translateX(0);
    transform: translateX(0);
  }
  50% {
    -webkit-transform: translateX(-0.35rem);
    transform: translateX(-0.35rem);
  }
  100% {
    -webkit-transform: translateX(0);
    transform: translateX(0);
  }
}
@-webkit-keyframes post-prev-anim {
  0% {
    -webkit-transform: translateX(0);
    transform: translateX(0);
  }
  50% {
    -webkit-transform: translateX(-0.35rem);
    transform: translateX(-0.35rem);
  }
  100% {
    -webkit-transform: translateX(0);
    transform: translateX(0);
  }
}
@-o-keyframes post-prev-anim {
  0% {
    -webkit-transform: translateX(0);
    transform: translateX(0);
  }
  50% {
    -webkit-transform: translateX(-0.35rem);
    transform: translateX(-0.35rem);
  }
  100% {
    -webkit-transform: translateX(0);
    transform: translateX(0);
  }
}
@keyframes post-prev-anim {
  0% {
    -webkit-transform: translateX(0);
    transform: translateX(0);
  }
  50% {
    -webkit-transform: translateX(-0.35rem);
    transform: translateX(-0.35rem);
  }
  100% {
    -webkit-transform: translateX(0);
    transform: translateX(0);
  }
}
@-moz-keyframes post-next-anim {
  0% {
    -webkit-transform: translateX(0);
    transform: translateX(0);
  }
  50% {
    -webkit-transform: translateX(0.35rem);
    transform: translateX(0.35rem);
  }
  100% {
    -webkit-transform: translateX(0);
    transform: translateX(0);
  }
}
@-webkit-keyframes post-next-anim {
  0% {
    -webkit-transform: translateX(0);
    transform: translateX(0);
  }
  50% {
    -webkit-transform: translateX(0.35rem);
    transform: translateX(0.35rem);
  }
  100% {
    -webkit-transform: translateX(0);
    transform: translateX(0);
  }
}
@-o-keyframes post-next-anim {
  0% {
    -webkit-transform: translateX(0);
    transform: translateX(0);
  }
  50% {
    -webkit-transform: translateX(0.35rem);
    transform: translateX(0.35rem);
  }
  100% {
    -webkit-transform: translateX(0);
    transform: translateX(0);
  }
}
@keyframes post-next-anim {
  0% {
    -webkit-transform: translateX(0);
    transform: translateX(0);
  }
  50% {
    -webkit-transform: translateX(0.35rem);
    transform: translateX(0.35rem);
  }
  100% {
    -webkit-transform: translateX(0);
    transform: translateX(0);
  }
}
.fold {
  margin: 1rem 0;
  border: 0.5px solid var(--fold-border-color);
  position: relative;
  clear: both;
  border-radius: 0.125rem;
}
.fold .fold-title {
  color: var(--fold-title-color);
  padding: 0.5rem 0.75rem;
  font-size: 0.9rem;
  font-weight: bold;
  border-radius: 0.125rem;
}
.fold .fold-title:not(.collapsed) > .fold-arrow {
  transform: rotate(90deg);
  transform-origin: center center;
}
.fold .fold-title .fold-arrow {
  display: inline-block;
  margin-right: 0.35rem;
  transition: transform 0.3s ease-out;
}
.fold .fold-content {
  padding: 1rem 1rem;
}
.fold .fold-content > *:last-child {
  margin-bottom: 0;
}
.fold-default,
.fold-secondary {
  background-color: rgba(187,187,187,0.25);
}
.fold-primary {
  background-color: rgba(183,160,224,0.25);
}
.fold-info {
  background-color: rgba(160,197,228,0.25);
}
.fold-success {
  background-color: rgba(174,220,174,0.25);
}
.fold-warning {
  background-color: rgba(248,214,166,0.25);
}
.fold-danger {
  background-color: rgba(236,169,167,0.25);
}
.fold-light {
  background-color: rgba(254,254,254,0.25);
}
.note {
  padding: 0.75rem;
  border-left: 0.35rem solid;
  border-radius: 0.25rem;
  margin: 1.5rem 0;
  color: var(--text-color);
  transition: color 0.2s ease-in-out;
  font-size: 0.9rem;
}
.note a {
  color: var(--text-color);
  transition: color 0.2s ease-in-out;
}
.note *:last-child {
  margin-bottom: 0;
}
.note-default,
.note-secondary {
  background-color: rgba(187,187,187,0.25);
  border-color: #777;
}
.note-primary {
  background-color: rgba(183,160,224,0.25);
  border-color: #6f42c1;
}
.note-success {
  background-color: rgba(174,220,174,0.25);
  border-color: #5cb85c;
}
.note-danger {
  background-color: rgba(236,169,167,0.25);
  border-color: #d9534f;
}
.note-warning {
  background-color: rgba(248,214,166,0.25);
  border-color: #f0ad4e;
}
.note-info {
  background-color: rgba(160,197,228,0.25);
  border-color: #428bca;
}
.note-light {
  background-color: rgba(254,254,254,0.25);
  border-color: #0f0f0f;
}
.label {
  display: inline;
  border-radius: 3px;
  font-size: 85%;
  margin: 0;
  padding: 0.2em 0.4em;
  color: var(--text-color);
  transition: color 0.2s ease-in-out;
}
.label-default,
.label-secondary {
  background-color: rgba(187,187,187,0.25);
}
.label-primary {
  background-color: rgba(183,160,224,0.25);
}
.label-info {
  background-color: rgba(160,197,228,0.25);
}
.label-success {
  background-color: rgba(174,220,174,0.25);
}
.label-warning {
  background-color: rgba(248,214,166,0.25);
}
.label-danger {
  background-color: rgba(236,169,167,0.25);
}
.markdown-body .btn {
  border: 1px solid var(--line-color);
  background-color: var(--button-bg-color);
  color: var(--text-color);
  transition: color 0.2s ease-in-out, background 0.2s ease-in-out, border-color 0.2s ease-in-out;
  border-radius: 0.25rem;
  display: inline-block;
  font-size: 0.875em;
  line-height: 2;
  padding: 0 0.75rem;
  margin-bottom: 1rem;
}
.markdown-body .btn:hover {
  background-color: var(--button-hover-bg-color);
  text-decoration: none;
}
.group-image-container {
  margin: 1.5rem auto;
}
.group-image-container img {
  margin: 0 auto;
  border-radius: 3px;
  background-color: transparent;
  box-shadow: 0 3px 9px 0 rgba(0,0,0,0.15), 0 3px 9px 0 rgba(0,0,0,0.15);
}
.group-image-row {
  margin-bottom: 0.5rem;
  display: flex;
  justify-content: center;
}
.group-image-wrap {
  flex: 1;
  display: flex;
  justify-content: center;
}
.group-image-wrap:not(:last-child) {
  margin-right: 0.25rem;
}
input[type=checkbox] {
  margin: 0 0.2em 0.2em 0;
  vertical-align: middle;
}
.list-group a ~ p.h5 {
  margin-top: 1rem;
}
.list-group-item {
  display: flex;
  background-color: transparent;
  border: 0;
}
.list-group-item time {
  flex: 0 0 5rem;
}
.list-group-item .list-group-item-title {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
@media (max-width: 575px) {
  .list-group-item {
    font-size: 0.95rem;
    padding: 0.5rem 0.75rem;
  }
  .list-group-item time {
    flex: 0 0 4rem;
  }
}
.list-group-item-action {
  color: var(--text-color);
}
.list-group-item-action:focus,
.list-group-item-action:hover {
  color: var(--link-hover-color);
  background-color: var(--link-hover-bg-color);
}
.about-avatar {
  position: relative;
  margin: -8rem auto 1rem;
  width: 10rem;
  height: 10rem;
  z-index: 3;
}
.about-avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: transparent;
  object-fit: cover;
  box-shadow: 0 2px 5px 0 rgba(0,0,0,0.16), 0 2px 10px 0 rgba(0,0,0,0.12);
}
.about-info > div {
  margin-bottom: 0.5rem;
}
.about-name {
  font-size: 1.75rem;
  font-weight: bold;
}
.about-intro {
  font-size: 1rem;
}
.about-icons > a:not(:last-child) {
  margin-right: 0.5rem;
}
.about-icons > a > i {
  font-size: 1.5rem;
}
.about-icon-img {
  width: 30px;
  height: 30px;
  vertical-align: middle;
  margin: 0 6px;
  border-radius: 4px;
  object-fit: contain;
}
.qr-trigger {
  position: relative;
  display: inline-block;
  margin: 0 6px;
  cursor: pointer;
}
.qr-img {
  display: none;
  position: absolute;
  top: 50px;
  left: 50%;
  transform: translateX(-50%);
  width: 180px;
  height: 180px;
  background: #fff;
  border: 1px solid #ddd;
  z-index: 100;
}
.qr-trigger:hover .qr-img {
  display: block;
}
.category-bar .category-list {
  max-height: 85vh;
  overflow-y: auto;
  overflow-x: hidden;
}
.category-bar .category-list::-webkit-scrollbar {
  display: none;
}
.category-bar .category-list > .category-sub > a {
  font-weight: bold;
  font-size: 1.2rem;
}
.category-bar .category-list .category-item-action i {
  margin: 0;
}
.category-bar .category-list .category-subitem.list-group-item {
  padding-left: 0.5rem;
  padding-right: 0;
}
.category-bar .category-list .category-collapse .category-post-list {
  margin-top: 0.25rem;
  margin-bottom: 0.5rem;
}
.category-bar .category-list .category-collapse .category-post {
  font-size: 0.9rem;
  line-height: 1.75;
}
.category-bar .category-list .category-item-action:hover {
  background-color: initial;
}
.category-bar .list-group-item {
  padding: 0;
}
.category-bar .list-group-item.active {
  color: var(--link-hover-color);
  background-color: initial;
  font-weight: bold;
  font-family: "iconfont";
  font-style: normal;
  -webkit-font-smoothing: antialiased;
}
.category-bar .list-group-item.active::before {
  content: "\e61f";
  font-weight: initial;
  margin-right: 0.25rem;
}
.category-bar .list-group-count {
  margin-left: 0.2rem;
  margin-right: 0.2rem;
  font-size: 0.9em;
}
.category-bar .list-group-item-action:focus,
.category-bar .list-group-item-action:hover {
  background-color: initial;
}
.category-chains {
  display: flex;
  flex-wrap: wrap;
}
.category-chains > *:not(:last-child) {
  margin-right: 1em;
}
.category:not(:last-child) {
  margin-bottom: 1rem;
}
.category .category-item,
.category .category-subitem {
  font-weight: bold;
  display: flex;
  align-items: center;
}
.category .category-item {
  font-size: 1.25rem;
}
.category .category-subitem {
  font-size: 1.1rem;
}
.category .category-collapse {
  padding-left: 1.25rem;
  width: 100%;
}
.category .category-count {
  font-size: 0.9rem;
  font-weight: initial;
  min-width: 1.3em;
  line-height: 1.3em;
  display: flex;
  align-items: center;
}
.category .category-count i {
  padding-right: 0.25rem;
}
.category .category-count span {
  width: 2rem;
}
.category .category-post {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.category .category-item-action:not(.collapsed) > i {
  transform: rotate(90deg);
  transform-origin: center center;
}
.category .category-item-action i {
  transition: transform 0.3s ease-out;
  display: inline-block;
  margin-left: 0.25rem;
}
.category .category-item-action .category:hover {
  z-index: 1;
  color: var(--link-hover-color);
  text-decoration: none;
  background-color: var(--link-hover-bg-color);
}
.category .row {
  margin-left: 0;
  margin-right: 0;
}
.tagcloud {
  padding: 1rem 5%;
}
.tagcloud a {
  display: inline-block;
  padding: 0.5rem;
}
.tagcloud a:hover {
  color: var(--link-hover-color) !important;
}
.links .card {
  box-shadow: none;
  min-width: 33%;
  background-color: transparent;
  border: 0;
}
.links .card-body {
  margin: 1rem 0;
  padding: 1rem;
  border-radius: 0.3rem;
  display: block;
  width: 100%;
  height: 100%;
}
.links .card-body:hover .link-avatar {
  transform: scale(1.1);
}
.links .card-content {
  display: flex;
  flex-wrap: nowrap;
  width: 100%;
  height: 3.5rem;
}
.link-avatar {
  flex: none;
  width: 3rem;
  height: 3rem;
  margin-right: 0.75rem;
  object-fit: cover;
  transition-duration: 0.2s;
  transition-timing-function: ease-in-out;
}
.link-avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: transparent;
  object-fit: cover;
}
.link-text {
  flex: 1;
  display: grid;
  flex-direction: column;
  line-height: 1.5;
}
.link-title {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--text-color);
  font-weight: bold;
}
.link-intro {
  max-height: 2rem;
  font-size: 0.85rem;
  line-height: 1.2;
  color: var(--sec-text-color);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  text-overflow: ellipsis;
  overflow: hidden;
}
@media (max-width: 767px) {
  .links {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  .links .card {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}
@media (min-width: 768px) {
  .link-text:only-child {
    margin-left: 1rem;
  }
}
/* =======================================================
   📁 themes/myhui/layout/index.ejs
   首页文章卡片（昼夜两套 + 丝滑悬浮 + 阳光反光 · 无模糊高性能版）
   ======================================================= */
.index-card {
  position: relative;
  padding: 50px 20px;
  margin-bottom: 20px;
  border-radius: 12px;
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  color: #fff;
/* ✅ 性能优化 */
  isolation: isolate;
  will-change: transform, box-shadow, opacity;
  transform: translateZ(0);
  backface-visibility: hidden;
/* ✅ 丝滑惯性动画 */
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.45s cubic-bezier(0.22, 1, 0.36, 1), border 0.4s ease, background-color 0.4s ease;
}
/* ========================
   白天模式：通透玻璃 + 柔亮反光
   ======================== */
html[data-user-color-scheme='light'] .index-card.has-img {
  background-color: rgba(255,255,255,0.04); /* 极轻玻璃层 */
  border: 1px solid rgba(255,255,255,0.18);
  filter: saturate(1.05) brightness(1.03);
  box-shadow: inset 0 1px rgba(255,255,255,0.3), 0 4px 15px rgba(0,0,0,0.06);
/* 柔和外阴影 */
}
/* ========================
   夜间模式：深玻璃 + 折光刀刃感
   ======================== */
html[data-user-color-scheme='dark'] .index-card.has-img {
  background-color: rgba(0,0,0,0.55); /* 深玻璃层（无模糊） */
  border: 1px solid rgba(255,255,255,0.1);
  filter: contrast(1.08) brightness(0.94);
  box-shadow: inset 0 1px 2px rgba(255,255,255,0.1), 0 8px 22px rgba(0,0,0,0.45), 0 0 0 1px rgba(255,255,255,0.05);
/* 刀刃边 */
  color: #eaeaea;
}
/* ========================
   悬停：丝滑上浮 + 柔光增强（无卡顿）
   ======================== */
.index-card:hover {
  transform: translateY(-5px) scale(1.01);
  box-shadow: 0 14px 30px rgba(0,0,0,0.16), 0 0 0 1px rgba(255,255,255,0.08);
  transition-timing-function: cubic-bezier(0.25, 1, 0.5, 1);
}
/* ========================
   阳光反光层（纯 GPU 光效）
   ======================== */
.index-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
/* 光扫层 */
  background: linear-gradient(115deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.25) 50%, rgba(255,255,255,0) 100%);
  mask-image: linear-gradient(to right, transparent, #000 15%, #000 85%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 15%, #000 85%, transparent);
  transform: translateX(-120%);
  transition: opacity 0.3s ease;
  will-change: transform, opacity;
}
/* 悬停扫光动画 */
.index-card:hover::before {
  opacity: 1;
  animation: sunlightSweep 1.6s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}
/* ========================
   无封面图卡片
   ======================== */
.index-card.no-cover {
  background-color: rgba(249,249,249,0.95);
  border: 1px solid rgba(0,0,0,0.05);
  color: #111;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}
html[data-user-color-scheme='dark'] .index-card.no-cover {
  background-color: rgba(25,25,25,0.65);
  border: 1px solid rgba(255,255,255,0.06);
  color: #f1f1f1;
  box-shadow: 0 4px 15px rgba(0,0,0,0.4);
}
/* ========================
   内容区
   ======================== */
.card-content {
  max-width: 900px;
  width: 100%;
  position: relative;
  z-index: 2;
  transition: opacity 0.3s ease;
}
/* =======================================================
   📁 themes/myhui/layout/index.ejs
   首页文章标题 / 摘要 / Meta 信息栏
   ======================================================= */
/* 标题链接 */
.post-title-link {
  color: #222;
  text-decoration: none;
  transition: color 0.3s ease;
}
.post-title-link:hover {
  color: #1e90ff; /* 悬停变蓝色 */
}
/* 摘要 */
.index-excerpt {
  color: #000;
  text-decoration: none;
  transition: opacity 0.3s ease;
}
.index-card:hover .index-excerpt {
  opacity: 0.85; /* 悬停时摘要变浅 */
}
/* 元信息栏（日期 / 分类 / 标签） */
.post-meta-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  margin-top: 10px;
  color: inherit;
}
.post-meta {
  display: flex;
  align-items: center;
}
.post-meta i {
  margin-right: 4px;
}
.post-meta a {
  margin-right: 6px;
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}
.post-meta a:hover {
  color: #1e90ff;
}
/* =======================================================
   📁 themes/myhui/layout/_partials/post/meta-top.ejs
   文章详情页顶部 meta 样式（作者 / 日期 / 字数 / 阅读时间）
   ======================================================= */
.post-meta-center {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  transition: color 0.25s ease;
}
.post-meta-item {
  display: inline-flex;
  align-items: center;
  cursor: default;
  transition: all 0.25s ease;
}
.post-meta-item:hover {
  color: transparent;
  background: linear-gradient(90deg, #30a9de, #06f);
  -webkit-background-clip: text;
  background-clip: text;
}
/* 图标样式 */
.post-meta-icon {
  width: 1em;
  height: 1em;
  margin-right: 0.4em;
  vertical-align: -0.15em;
  fill: currentColor;
  font-weight: 700;
  transition: fill 0.25s ease;
}
.post-meta-item:hover .post-meta-icon {
  fill: url("#nav-gradient");
}
/* 颜色适配 */
html[data-user-color-scheme='light'] .post-meta-center {
  color: #fff;
}
html[data-user-color-scheme='dark'] .post-meta-center {
  color: rgba(200,200,200,0.9);
}
/* =======================================================
   📁 themes/myhui/layout/index.ejs
   首页文章列表：右下角 meta 图标（日期 / 分类 / 标签）
   ======================================================= */
.post-meta {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: inherit;
  transition: all 0.3s ease;
}
html[data-user-color-scheme='light'] .post-meta {
  color: rgba(255,255,255,0.95);
}
html[data-user-color-scheme='dark'] .post-meta {
  color: rgba(200,200,200,0.9);
}
.post-meta:hover {
  color: transparent;
  background: linear-gradient(90deg, #30a9de, #06f);
  -webkit-background-clip: text;
  background-clip: text;
}
.index-meta-icon {
  width: 1em;
  height: 1em;
  fill: currentColor;
  flex-shrink: 0;
}
.post-meta time {
  color: inherit;
}
/* =======================================================
   📁 themes/myhui/layout/_partials/navbar.ejs
   导航栏相关样式
   ======================================================= */
/* 导航内图标基类 */
.navbar .nav-icon {
  width: 1.05em;
  height: 1.05em;
  margin-right: 3px;
  vertical-align: -0.12em;
  line-height: 1;
  display: inline-block;
}
/* 图标颜色层 */
.navbar .nav-icon .fill-base {
  fill: currentColor;
  opacity: 1;
  transition: opacity 0.25s ease;
}
.navbar .nav-icon .fill-grad {
  fill: url("#nav-gradient");
  opacity: 0;
  transition: opacity 0.25s ease;
}
/* 导航项 */
.navbar .nav-link {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 0.9rem;
  padding: 0.35rem 0.55rem;
  color: #fff;
  transition: color 0.25s ease;
}
/* hover 渐变 */
.navbar .nav-link:hover .nav-text {
  background: linear-gradient(90deg, #30a9de, #06f);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.navbar .nav-link:hover .nav-icon .fill-base {
  opacity: 0;
}
.navbar .nav-link:hover .nav-icon .fill-grad {
  opacity: 1;
}
/* 下拉菜单 */
.navbar .dropdown-menu {
  background: #f4f4f4;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 0.4rem 0.3rem;
  min-width: 160px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
}
.navbar .dropdown-item {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0.45rem 0.75rem;
  color: #333;
  font-size: 0.9rem;
  transition: all 0.25s ease;
  border-radius: 6px;
}
.navbar .dropdown-item:hover {
  background: #e9e9e9;
}
.navbar .dropdown-item:hover .nav-text {
  background: linear-gradient(90deg, #30a9de, #06f);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.navbar .dropdown-item:hover .nav-icon .fill-base {
  opacity: 0;
}
.navbar .dropdown-item:hover .nav-icon .fill-grad {
  opacity: 1;
}
/* 普通菜单项间距 */
.navbar .navbar-nav .nav-item + .nav-item {
  margin-left: 2px;
}
/* 工具区按钮间距 */
.navbar .navbar-nav #search-btn,
.navbar .navbar-nav #color-toggle-btn {
  margin-left: 20px;
}
.navbar .navbar-nav #search-btn + #color-toggle-btn {
  margin-left: 8px;
}
/* 移动端适配 */
@media (max-width: 991.98px) {
  .navbar .navbar-nav #search-btn,
  .navbar .navbar-nav #color-toggle-btn,
  .navbar .navbar-nav #search-btn + #color-toggle-btn {
    margin-left: 0;
  }
}
/* 夜间模式按钮图标 */
#color-toggle-icon {
  width: 1.1em;
  height: 1.1em;
  vertical-align: -0.15em;
  line-height: 1;
  display: inline-block;
  fill: currentColor;
}
#color-toggle-icon .fill-base {
  fill: currentColor;
  opacity: 1;
  transition: opacity 0.25s ease;
}
#color-toggle-icon .fill-grad {
  fill: url("#nav-gradient");
  opacity: 0;
  transition: opacity 0.25s ease;
}
#color-toggle-btn .nav-link:hover #color-toggle-icon .fill-base {
  opacity: 0;
}
#color-toggle-btn .nav-link:hover #color-toggle-icon .fill-grad {
  opacity: 1;
}
/* =======================================================
   📁 themes/myhui/layout/index.ejs
   首页头部统计区（头像 + 数据统计）
   ======================================================= */
.homepage-header {
  text-align: center;
  margin: -1em auto 2em auto;
}
.site-stats {
  display: flex;
  justify-content: center;
  margin-top: 1.5em;
  gap: 3em;
}
.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #666;
  text-decoration: none;
  transition: color 0.3s;
}
.stat-item:hover {
  color: #06f;
}
.stat-top {
  display: flex;
  align-items: center;
  gap: 6px;
}
.stat-icon {
  width: 20px;
  height: 20px;
  fill: currentColor;
}
.stat-label {
  font-size: 0.9em;
}
.stat-value {
  font-size: 1.2em;
  font-weight: bold;
  margin-top: 6px;
}
/* 手机适配 */
@media screen and (max-width: 768px) {
  .site-stats {
    gap: 1.5em;
  }
  .stat-icon {
    width: 16px;
    height: 16px;
  }
  .stat-label {
    font-size: 0.8em;
  }
  .stat-value {
    font-size: 1em;
  }
}
/* =======================================================
   📁 themes/myhui/layout/layout.ejs
   整个页面除A4纸+导航栏以外的黑白夜控制
   ======================================================= */
/* —— 全局默认（浅色） —— */
html,
body {
  background: #fff;
}
/* —— 暗色：强制把两边背景变深 —— */
html[data-user-color-scheme="dark"] body {
  background: #0f172a !important;
}
html[data-user-color-scheme="dark"] #web_bg,
html[data-user-color-scheme="dark"] .web_bg,
html[data-user-color-scheme="dark"] .body-bg,
html[data-user-color-scheme="dark"] .site-bg {
  background: #0f172a !important;
}
html[data-user-color-scheme="dark"] #web_bg::before,
html[data-user-color-scheme="dark"] .web_bg::before,
html[data-user-color-scheme="dark"] .body-bg::before,
html[data-user-color-scheme="dark"] .site-bg::before {
  background: transparent !important;
  opacity: 1 !important;
}
@-moz-keyframes sunlightSweep {
  0% {
    transform: translateX(-120%);
    opacity: 0.1;
  }
  35% {
    opacity: 0.35;
  }
  100% {
    transform: translateX(120%);
    opacity: 0;
  }
}
@-webkit-keyframes sunlightSweep {
  0% {
    transform: translateX(-120%);
    opacity: 0.1;
  }
  35% {
    opacity: 0.35;
  }
  100% {
    transform: translateX(120%);
    opacity: 0;
  }
}
@-o-keyframes sunlightSweep {
  0% {
    transform: translateX(-120%);
    opacity: 0.1;
  }
  35% {
    opacity: 0.35;
  }
  100% {
    transform: translateX(120%);
    opacity: 0;
  }
}
@keyframes sunlightSweep {
  0% {
    transform: translateX(-120%);
    opacity: 0.1;
  }
  35% {
    opacity: 0.35;
  }
  100% {
    transform: translateX(120%);
    opacity: 0;
  }
}
