:root,
.light-mode,
.dark-mode {
  --ft-void: #2E3440;
  --ft-night: #3B4252;
  --ft-steel: #434C5E;
  --ft-panel: rgba(46, 52, 64, 0.88);
  --ft-panel-strong: rgba(36, 41, 51, 0.94);
  --ft-rune: #88C0D0;
  --ft-rune-soft: rgba(136, 192, 208, 0.28);
  --ft-ice: #ECEFF4;
  --ft-silver: #CAD2DE;
  --ft-body: #C4CDD8;
  --ft-soft: #AEB8C6;
  --ft-muted: #8F98A8;
  --ft-faint: #6F7A8D;
  --ft-plague: #A3BE8C;
  --ft-danger: #81A1C1;
  --ft-border: rgba(136, 192, 208, 0.2);
  --ft-shadow: rgba(15, 19, 28, 0.5);
  --background-color-1: var(--ft-void);
  --background-color-1-transparent: rgba(46, 52, 64, 0.7);
  --background-color-2: var(--ft-night);
  --background-color-3: var(--ft-steel);
  --content-background-color: var(--ft-panel);
  --text-color-1: var(--ft-ice);
  --text-color-2: #E5E9F0;
  --text-color-3: var(--ft-body);
  --text-color-4: var(--ft-soft);
  --text-color-5: var(--ft-muted);
  --text-color-6: var(--ft-faint);
  --border-color: var(--ft-border);
  --primary-color: var(--ft-rune);
  --selection-color: var(--ft-rune);
  --shadow-color: rgba(0, 0, 0, 0.42);
  --shadow-hover-color: rgba(136, 192, 208, 0.16);
  --first-screen-font-color-light: var(--ft-ice);
  --first-screen-font-color-dark: var(--ft-ice);
  --box-border-radius: 6px;
  --scrollbar-color: rgba(136, 192, 208, 0.58);
  --scrollbar-background-color: rgba(46, 52, 64, 0.94);
  --toc-scrollbar-color: rgba(136, 192, 208, 0.12);
  --avatar-background-color: linear-gradient(135deg, #3B7486 0%, #2E5667 48%, #263E4D 100%);
  --keep-primary-color: var(--ft-rune);
  --keep-primary-background-color: rgba(136, 192, 208, 0.08);
  --keep-primary-border-color: rgba(136, 192, 208, 0.32);
  --keep-success-color: var(--ft-plague);
  --keep-success-background-color: rgba(163, 190, 140, 0.08);
  --keep-success-border-color: rgba(163, 190, 140, 0.28);
  --keep-warning-color: #EBCB8B;
  --keep-warning-background-color: rgba(235, 203, 139, 0.08);
  --keep-warning-border-color: rgba(235, 203, 139, 0.3);
  --keep-danger-color: #BF616A;
  --keep-danger-background-color: rgba(129, 161, 193, 0.08);
  --keep-danger-border-color: rgba(129, 161, 193, 0.28);
  --toolbar-foreground: #B9C4D0;
  --toolbar-background: #2A3340;
  --code-foreground: #D8DEE9;
  --code-background: rgba(43, 52, 66, 0.92);
  --highlight-background: #2B3442;
  --highlight-foreground: #D8DEE9;
  --highlight-comment: #8F98A8;
  --highlight-red: #BF616A;
  --highlight-orange: #D08770;
  --highlight-yellow: #EBCB8B;
  --highlight-green: #A3BE8C;
  --highlight-aqua: #8FBCBB;
  --highlight-blue: #88C0D0;
  --highlight-purple: #B48EAD;
  --highlight-gutter-color: #7E8998;
  --highlight-gutter-bg-color: #26303D;
  --highlight-deletion: rgba(191, 97, 106, 0.18);
  --highlight-addition: rgba(163, 190, 140, 0.16);
  --mac-toolbar-background-color: rgba(36, 41, 51, 0.96);
  --copyright-icon-bg-color: rgba(136, 192, 208, 0.08);
}

::selection {
  color: #2E3440;
  background: var(--ft-rune);
}

html {
  background: var(--ft-void);
}

body {
  color: var(--ft-body) !important;
  background:
    radial-gradient(circle at 12% 8%, rgba(136, 192, 208, 0.12), transparent 30rem),
    radial-gradient(circle at 88% 14%, rgba(129, 161, 193, 0.1), transparent 28rem),
    radial-gradient(circle at 76% 86%, rgba(163, 190, 140, 0.05), transparent 24rem),
    linear-gradient(180deg, #2E3440 0%, #3B4252 46%, #2E3440 100%) !important;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    linear-gradient(rgba(216, 222, 233, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(216, 222, 233, 0.03) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(to bottom, transparent, black 18%, black 78%, transparent);
  content: "";
}

body::after {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(46, 52, 64, 0.38), transparent 24%, transparent 76%, rgba(46, 52, 64, 0.38)),
    linear-gradient(180deg, rgba(46, 52, 64, 0.08), rgba(36, 41, 51, 0.58));
  content: "";
}

.page-container {
  background:
    radial-gradient(circle at 18% 16%, rgba(136, 192, 208, 0.08), transparent 28rem),
    radial-gradient(circle at 84% 28%, rgba(94, 129, 172, 0.08), transparent 30rem),
    linear-gradient(180deg, #2E3440 0%, #333B4A 42%, #2E3440 100%) !important;
}

.page-main-content {
  background:
    linear-gradient(110deg, transparent 0 44%, rgba(136, 192, 208, 0.03) 44.2%, transparent 44.8% 100%),
    linear-gradient(36deg, transparent 0 56%, rgba(129, 161, 193, 0.024) 56.2%, transparent 56.8% 100%) !important;
  background-size: 34rem 24rem, 28rem 22rem !important;
}

.page-main-content-middle {
  position: relative;
  flex: 1;
  isolation: isolate;
}

.page-main-content-middle::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 30% 20%, rgba(136, 192, 208, 0.055), transparent 24rem),
    radial-gradient(circle at 76% 80%, rgba(163, 190, 140, 0.035), transparent 22rem);
  content: "";
}

a,
.article-content a,
.markdown-body a {
  color: var(--ft-rune) !important;
  text-decoration-color: rgba(136, 192, 208, 0.42);
  text-underline-offset: 0.18em;
}

a:hover,
.article-content a:hover,
.markdown-body a:hover {
  color: var(--ft-ice) !important;
  text-shadow: 0 0 10px rgba(136, 192, 208, 0.28);
}

hr {
  border-color: var(--ft-border) !important;
}

.header-wrapper {
  background: linear-gradient(180deg, rgba(46, 52, 64, 0.58), rgba(46, 52, 64, 0.08)) !important;
  border-bottom: 1px solid var(--ft-border);
  box-shadow: none !important;
  backdrop-filter: blur(10px);
}

.header-wrapper .site-name {
  color: transparent !important;
  font-family: Georgia, "Times New Roman", "Microsoft YaHei", serif;
  letter-spacing: 0.05em !important;
  background: linear-gradient(180deg, #E5E9F0 0%, #88C0D0 100%);
  background-clip: text;
  -webkit-background-clip: text;
  text-shadow: none;
  filter: drop-shadow(0 0 8px rgba(136, 192, 208, 0.3)) drop-shadow(0 1px 0 rgba(0, 0, 0, 0.6));
}

.header-wrapper .logo-image img {
  border: 0;
  box-shadow: none;
  filter: drop-shadow(0 0 6px rgba(136, 192, 208, 0.4)) drop-shadow(0 0 14px rgba(136, 192, 208, 0.15));
}

.article-content-container .avatar-box img {
  border: 1px solid rgba(236, 239, 244, 0.34);
  box-shadow: 0 0 14px rgba(136, 192, 208, 0.14);
}

.header-wrapper .menu-item a,
.header-wrapper .drawer-menu-item a,
.header-wrapper .icon-item,
.header-wrapper .menu-item.search i {
  color: #AEB8C6 !important;
}

.header-wrapper .menu-item a:hover,
.header-wrapper .drawer-menu-item a:hover,
.header-wrapper .icon-item:hover,
.header-wrapper .menu-item.search:hover i {
  color: #D8DEE9 !important;
  text-shadow: 0 0 8px rgba(136, 192, 208, 0.35);
}

.header-wrapper .menu-item a.active,
.header-wrapper .drawer-menu-item a.active {
  color: #88C0D0 !important;
}

.header-wrapper .menu-item a:hover::after,
.header-wrapper .menu-item .active::after {
  height: 1px !important;
  background: linear-gradient(90deg, transparent, rgba(136, 192, 208, 0.65), transparent) !important;
  box-shadow: 0 0 6px rgba(136, 192, 208, 0.24);
}

.header-wrapper .menu-item.search {
  transition: text-shadow 0.25s ease;
}

.header-wrapper .menu-item.search:hover i {
  text-shadow: 0 0 10px rgba(136, 192, 208, 0.5);
}

.header-wrapper .menu-bar-middle,
.header-wrapper .menu-bar-middle::before,
.header-wrapper .menu-bar-middle::after {
  background: #AEB8C6 !important;
}

.header-drawer {
  background: rgba(46, 52, 64, 0.96) !important;
  border-bottom: 1px solid var(--ft-border);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.46);
  backdrop-filter: blur(12px);
}

.first-screen-container {
  position: relative;
  isolation: isolate;
  background-position: center top !important;
}

.first-screen-container::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 50% 46%, rgba(136, 192, 208, 0.07), transparent 26rem),
    radial-gradient(circle at 82% 18%, rgba(94, 129, 172, 0.05), transparent 24rem);
  content: "";
}

.first-screen-content .description {
  padding: 0 1rem;
  font-family: Georgia, "Times New Roman", "Microsoft YaHei", serif;
  text-shadow:
    0 0 6px rgba(136, 192, 208, 0.3),
    0 0 14px rgba(136, 192, 208, 0.15),
    0 2px 8px rgba(0, 0, 0, 0.35);
}

.first-screen-content .description .desc {
  color: transparent !important;
  background: linear-gradient(90deg, #B0C4CE, #D5E2E8 20%, #F0F4F6 50%, #D5E2E8 80%, #B0C4CE);
  background-clip: text;
  -webkit-background-clip: text;
  filter: drop-shadow(0 0 10px rgba(136, 192, 208, 0.3)) drop-shadow(0 0 24px rgba(136, 192, 208, 0.1));
  animation: ft-rune-pulse 4s ease-in-out infinite;
}

@keyframes ft-rune-pulse {
  0%, 100% {
    filter: drop-shadow(0 0 10px rgba(136, 192, 208, 0.3)) drop-shadow(0 0 24px rgba(136, 192, 208, 0.1));
  }
  50% {
    filter: drop-shadow(0 0 14px rgba(136, 192, 208, 0.45)) drop-shadow(0 0 30px rgba(136, 192, 208, 0.15));
  }
}

.first-screen-content .sc-icon-item i {
  color: var(--ft-ice) !important;
}

.first-screen-content .description .cursor {
  color: var(--ft-rune) !important;
  text-shadow: 0 0 8px rgba(136, 192, 208, 0.6), 0 0 16px rgba(136, 192, 208, 0.2);
}

.first-screen-content .sc-icon-item i {
  text-shadow: 0 0 10px rgba(136, 192, 208, 0.34);
  transition: color 0.25s ease, text-shadow 0.25s ease, transform 0.25s ease;
}

.first-screen-content .sc-icon-item:hover i {
  color: var(--ft-rune) !important;
  text-shadow: 0 0 14px rgba(136, 192, 208, 0.6), 0 0 28px rgba(136, 192, 208, 0.2);
  transform: translateY(-2px);
}

.home-content-container,
.archive-content-container,
.category-content-container,
.tag-content-container,
.page-template-container,
.post-page-container {
  background: transparent !important;
  box-shadow: none !important;
}

.archives-container,
.category-container,
.tag-container,
.tagcloud-container {
  background: transparent !important;
  box-shadow: none !important;
}

.page-main-content.is-home {
  margin-top: -4.5rem;
  padding-top: calc(var(--header-height) + 4.5rem);
  pointer-events: none;
}

.page-main-content.is-home .page-main-content-middle {
  padding-top: calc(var(--components-spacing) * 0.5);
}

.page-main-content.is-home .page-main-content-top,
.page-main-content.is-home .page-main-content-middle,
.page-main-content.is-home .page-main-content-bottom {
  pointer-events: auto;
}

.home-article-item,
.archive-list-container,
.category-list-container,
.tagcloud-content,
.page-template-content,
.local-search-container,
.paginator {
  color: var(--ft-body);
  background:
    linear-gradient(180deg, rgba(52, 59, 73, 0.82), rgba(39, 45, 56, 0.9)),
    linear-gradient(135deg, rgba(136, 192, 208, 0.028), transparent 46%) !important;
  border: 1px solid rgba(136, 192, 208, 0.16);
  box-shadow: 0 16px 36px rgba(15, 19, 28, 0.46), inset 0 1px 0 rgba(236, 239, 244, 0.045) !important;
  backdrop-filter: blur(8px);
}

.home-article-item {
  position: relative;
  background:
    linear-gradient(180deg, rgba(67, 76, 94, 0.86), rgba(53, 63, 80, 0.9)),
    linear-gradient(135deg, rgba(136, 192, 208, 0.06), transparent 52%),
    radial-gradient(circle at 86% 14%, rgba(136, 192, 208, 0.075), transparent 18rem) !important;
  border-color: rgba(136, 192, 208, 0.22);
  box-shadow: 0 14px 30px rgba(15, 19, 28, 0.34), inset 0 1px 0 rgba(236, 239, 244, 0.065) !important;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.home-article-item:not(:last-child)::after {
  position: absolute;
  bottom: -1.5rem;
  left: 15%;
  width: 70%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(136, 192, 208, 0.2) 30%, rgba(136, 192, 208, 0.28) 50%, rgba(136, 192, 208, 0.2) 70%, transparent);
  box-shadow: 0 0 6px rgba(136, 192, 208, 0.08);
  content: "";
}

.article-content-container {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none;
}

.archive-list-container {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none;
}

.category-list-container {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none;
}

.pc-post-toc,
.toc-container {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}

.post-tools-container {
  background: transparent !important;
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}

.post-tools-container .tools-list {
  background: transparent !important;
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
}

.side-tools-container {
  background: transparent !important;
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}

.side-tools-container .side-tools-list,
.side-tools-container .exposed-tools-list {
  background: transparent !important;
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
}

.archive-list-container .archive-item,
.category-container .category-name,
.tag-container .tag-name,
.category-list-container .category-list-content,
.tagcloud-content {
  color: var(--ft-body) !important;
}

.archive-list-container .archive-year,
.category-container .category-name,
.category-container .category-name i,
.tag-container .tag-name,
.tag-container .tag-name i,
.category-list-container .site-all-category-list-link {
  color: #D8DEE9 !important;
}

.archive-list-container .archive-year {
  color: #E5E9F0 !important;
  font-family: Georgia, "Times New Roman", "Microsoft YaHei", serif;
  letter-spacing: 0.04em;
  text-shadow: 0 0 10px rgba(136, 192, 208, 0.16);
}

.archive-list-container .article-list {
  padding-left: 1.5rem !important;
}

.archive-list-container .article-list .article-item {
  padding: 0.62rem 0.8rem 0.62rem 1.15rem !important;
  border-left-color: rgba(136, 192, 208, 0.2) !important;
  border-radius: 0 5px 5px 0;
}

.archive-list-container .article-list .article-item::before {
  left: -0.34rem !important;
  width: 0.5rem !important;
  height: 0.5rem !important;
  background: rgba(136, 192, 208, 0.5) !important;
  border: 1px solid rgba(216, 222, 233, 0.2);
  box-shadow: 0 0 10px rgba(136, 192, 208, 0.18);
}

.archive-list-container .article-list .article-item:hover {
  background: transparent !important;
}

.archive-list-container .article-list .article-item:hover::before {
  background: var(--ft-rune) !important;
  box-shadow: 0 0 14px rgba(136, 192, 208, 0.32);
}

.archive-list-container .article-list .article-date,
.archive-list-container .article-list .article-title,
.category-list-container .site-all-category-list-count,
.category-list-container .self-category-info .icon {
  color: var(--ft-soft) !important;
}

.archive-list-container .article-list .article-date {
  color: #9FB0C2 !important;
  font-variant-numeric: tabular-nums;
}

.archive-list-container .article-list .article-title {
  color: #C7D0DC !important;
}

.archive-list-container .article-list .article-item:hover .article-title,
.category-list-container .site-all-category-list-link:hover {
  color: var(--ft-rune) !important;
}

.category-list-container .self-category-info {
  padding: 0.55rem 0.75rem !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
}

.category-list-container .self-category-info:hover {
  background: transparent !important;
}

.category-list-container .self-category-info:hover .icon,
.category-list-container .self-category-info:hover .site-all-category-list-link,
.category-list-container .self-category-info:hover .site-all-category-list-count {
  color: var(--ft-rune) !important;
  text-shadow: 0 0 12px rgba(136, 192, 208, 0.22);
}

.category-list-container .site-all-category-list-child {
  border-left: 1px dashed rgba(136, 192, 208, 0.16);
}

.tagcloud-content {
  display: flex !important;
  flex-wrap: wrap;
  gap: 0.55rem;
  text-align: left !important;
}

.tagcloud-content .ft-tag-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0;
  padding: 0.4rem 0.8rem 0.4rem 0.9rem;
  color: #A8C8D6 !important;
  font-size: 0.9rem;
  text-decoration: none !important;
  text-shadow: none;
  background: rgba(136, 192, 208, 0.05) !important;
  border: 1px solid rgba(136, 192, 208, 0.18) !important;
  border-radius: 20px !important;
  box-shadow: inset 0 1px 0 rgba(236, 239, 244, 0.04);
  backdrop-filter: blur(4px);
  transition: color 0.25s ease, background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.tagcloud-content .ft-tag-pill:hover {
  color: var(--ft-ice) !important;
  text-shadow: 0 0 10px rgba(136, 192, 208, 0.3);
  background: rgba(136, 192, 208, 0.12) !important;
  border-color: rgba(136, 192, 208, 0.38) !important;
  box-shadow: 0 0 14px rgba(136, 192, 208, 0.14), 0 0 28px rgba(136, 192, 208, 0.05), inset 0 1px 0 rgba(236, 239, 244, 0.06);
  transform: translateY(-1px);
}

.ft-tag-pill .ft-tag-name {
  font-family: Georgia, "Times New Roman", "Microsoft YaHei", serif;
  letter-spacing: 0.02em;
}

.ft-tag-pill .ft-tag-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.25rem;
  height: 1.25rem;
  padding: 0 0.3rem;
  color: var(--ft-muted);
  font-size: 0.7rem;
  font-family: -apple-system, sans-serif;
  line-height: 1;
  background: rgba(136, 192, 208, 0.1);
  border-radius: 10px;
  transition: color 0.25s ease, background 0.25s ease;
}

.ft-tag-pill:hover .ft-tag-count {
  color: var(--ft-rune);
  background: rgba(136, 192, 208, 0.2);
}

.ft-category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(10rem, 1fr));
  gap: 0.7rem;
}

.ft-category-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.7rem 0.9rem;
  color: #A8C8D6 !important;
  text-decoration: none !important;
  background: rgba(136, 192, 208, 0.05) !important;
  border: 1px solid rgba(136, 192, 208, 0.18) !important;
  border-radius: 8px !important;
  box-shadow: inset 0 1px 0 rgba(236, 239, 244, 0.04);
  backdrop-filter: blur(4px);
  transition: color 0.25s ease, background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.ft-category-card:hover {
  color: var(--ft-ice) !important;
  text-shadow: 0 0 10px rgba(136, 192, 208, 0.3);
  background: rgba(136, 192, 208, 0.12) !important;
  border-color: rgba(136, 192, 208, 0.38) !important;
  box-shadow: 0 0 14px rgba(136, 192, 208, 0.12), 0 0 28px rgba(136, 192, 208, 0.04), inset 0 1px 0 rgba(236, 239, 244, 0.06);
  transform: translateY(-1px);
}

.ft-category-card .ft-category-name {
  font-family: Georgia, "Times New Roman", "Microsoft YaHei", serif;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
}

.ft-category-card .ft-category-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.35rem;
  height: 1.35rem;
  padding: 0 0.35rem;
  color: var(--ft-muted);
  font-size: 0.72rem;
  font-family: -apple-system, sans-serif;
  line-height: 1;
  background: rgba(136, 192, 208, 0.1);
  border-radius: 10px;
  transition: color 0.25s ease, background 0.25s ease;
}

.ft-category-card:hover .ft-category-count {
  color: var(--ft-rune);
  background: rgba(136, 192, 208, 0.2);
}

.friends-link-list {
  gap: 0.75rem !important;
}

.friends-link-list .link-type-title {
  margin-top: 0.8rem !important;
  color: #D8DEE9 !important;
  font-family: Georgia, "Times New Roman", "Microsoft YaHei", serif;
  font-size: 1.2rem !important;
  text-shadow: 0 0 10px rgba(136, 192, 208, 0.16);
}

.friends-link-list .link-type-title:first-child {
  margin-top: 0 !important;
}

.friends-link-list .link-type-title::before {
  background: linear-gradient(180deg, var(--ft-rune), rgba(136, 192, 208, 0.3)) !important;
  box-shadow: 0 0 8px rgba(136, 192, 208, 0.2);
}

.friends-link-list .link-type-title i {
  color: var(--ft-rune) !important;
}

.friends-link-list .friends-link-item {
  height: 4rem !important;
  overflow: hidden;
  background: rgba(136, 192, 208, 0.05) !important;
  border: 1px solid rgba(136, 192, 208, 0.18) !important;
  border-radius: 8px !important;
  box-shadow: inset 0 1px 0 rgba(236, 239, 244, 0.04) !important;
  backdrop-filter: blur(4px);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.friends-link-list .friends-link-item:hover {
  border-color: rgba(136, 192, 208, 0.38) !important;
  box-shadow: 0 0 14px rgba(136, 192, 208, 0.12), 0 0 28px rgba(136, 192, 208, 0.04), inset 0 1px 0 rgba(236, 239, 244, 0.06) !important;
  transform: translateY(-1px);
}

.friends-link-list .friends-link-item .avatar {
  width: 4rem !important;
  background: rgba(46, 52, 64, 0.6) !important;
}

.friends-link-list .friends-link-item .avatar img {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  filter: saturate(0.8) brightness(0.9);
  transition: filter 0.3s ease;
}

.friends-link-list .friends-link-item:hover .avatar img {
  filter: saturate(1) brightness(1);
}

.friends-link-list .friends-link-item:hover .avatar {
  box-shadow: inset 0 0 16px rgba(136, 192, 208, 0.12);
}

.friends-link-list .friends-link-item .avatar i.icon {
  color: var(--ft-muted) !important;
}

.friends-link-list .friends-link-item .details {
  padding: 0.5rem 0.8rem !important;
}

.friends-link-list .friends-link-item .details .name {
  color: #D8DEE9 !important;
  font-size: 0.95rem;
  font-family: Georgia, "Times New Roman", "Microsoft YaHei", serif;
}

.friends-link-list .friends-link-item .details .desc {
  margin-top: 0.2rem;
  color: var(--ft-muted) !important;
  font-size: 0.82rem;
}

.friends-link-list .friends-link-item:hover .details .name {
  color: var(--ft-ice) !important;
  text-shadow: 0 0 10px rgba(136, 192, 208, 0.3);
}

.friends-link-list .friends-link-item:hover .details .desc {
  color: var(--ft-soft) !important;
}

.friends-link-list + .page-template-content:empty,
.friends-link-list + .page-template-content:blank {
  display: none;
}

.friends-link-list + .page-template-content {
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

.ft-about-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem 1.5rem 1.5rem;
  margin-bottom: 1.8rem;
  text-align: center;
  background: rgba(136, 192, 208, 0.04);
  border: 1px solid rgba(136, 192, 208, 0.16);
  border-radius: 10px;
  box-shadow: inset 0 1px 0 rgba(236, 239, 244, 0.04);
}

.ft-about-avatar {
  width: 6rem;
  height: 6rem;
  margin-bottom: 1rem;
  overflow: hidden;
  border-radius: 50%;
  border: 2px solid rgba(136, 192, 208, 0.28);
  box-shadow: 0 0 20px rgba(136, 192, 208, 0.12), 0 0 40px rgba(136, 192, 208, 0.05);
}

.ft-about-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: rgba(46, 52, 64, 0.6) !important;
  border: 0 !important;
  border-radius: 50% !important;
  box-shadow: none !important;
  filter: saturate(0.85) brightness(0.95) drop-shadow(0 0 8px rgba(136, 192, 208, 0.2));
}

.ft-about-name {
  color: var(--ft-ice);
  font-size: 1.4rem;
  font-family: Georgia, "Times New Roman", "Microsoft YaHei", serif;
  letter-spacing: 0.08em;
  text-shadow: 0 0 12px rgba(136, 192, 208, 0.2);
}

.ft-about-signature {
  margin-top: 0.4rem;
  color: var(--ft-muted);
  font-size: 0.88rem;
  font-style: italic;
}

.ft-about-social {
  display: flex;
  gap: 0.6rem;
  margin-top: 1rem;
}

.ft-about-social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.7rem;
  color: var(--ft-soft) !important;
  font-size: 0.82rem;
  text-decoration: none !important;
  background: rgba(136, 192, 208, 0.05);
  border: 1px solid rgba(136, 192, 208, 0.16);
  border-radius: 16px;
  transition: color 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.ft-about-social-link:hover {
  color: var(--ft-ice) !important;
  background: rgba(136, 192, 208, 0.12);
  border-color: rgba(136, 192, 208, 0.36);
  text-shadow: 0 0 8px rgba(136, 192, 208, 0.25);
}

.ft-about-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.4rem;
}

.ft-about-tags .ft-tag-pill {
  cursor: default;
}

.page-template-content.keep-markdown-body,
.page-template-content.keep-markdown-body:hover {
  padding: 1.5rem !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none;
}

.ft-changelog {
  position: relative;
  padding-left: 1.2rem;
  border-left: 2px solid rgba(136, 192, 208, 0.18);
}

.ft-changelog-year {
  position: relative;
  margin-bottom: 0.8rem;
  margin-left: -1.2rem;
  padding-left: 1.6rem;
  color: #E5E9F0;
  font-size: 1.2rem;
  font-family: Georgia, "Times New Roman", "Microsoft YaHei", serif;
  letter-spacing: 0.04em;
  text-shadow: 0 0 10px rgba(136, 192, 208, 0.16);
}

.ft-changelog-year:not(:first-child) {
  margin-top: 1.5rem;
}

.ft-changelog-year::before {
  position: absolute;
  left: 1px;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 0.6rem;
  height: 0.6rem;
  background: var(--ft-rune);
  border: 2px solid rgba(216, 222, 233, 0.24);
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(136, 192, 208, 0.3);
  content: "";
}

.ft-changelog-item {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  padding: 0.4rem 0;
  transition: background 0.2s ease;
}

.ft-changelog-item:hover {
  background: rgba(136, 192, 208, 0.03);
  border-radius: 4px;
}

.ft-changelog-date {
  flex-shrink: 0;
  color: var(--ft-muted);
  font-size: 0.8rem;
  font-variant-numeric: tabular-nums;
  font-family: -apple-system, sans-serif;
}

.ft-changelog-tag {
  flex-shrink: 0;
  padding: 0.1rem 0.45rem;
  font-size: 0.68rem;
  font-family: -apple-system, sans-serif;
  line-height: 1.4;
  border-radius: 4px;
}

.ft-changelog-feat {
  color: var(--ft-rune);
  background: rgba(136, 192, 208, 0.1);
  border: 1px solid rgba(136, 192, 208, 0.22);
}

.ft-changelog-style {
  color: var(--ft-plague);
  background: rgba(163, 190, 140, 0.1);
  border: 1px solid rgba(163, 190, 140, 0.22);
}

.ft-changelog-fix {
  color: #EBCB8B;
  background: rgba(235, 203, 139, 0.1);
  border: 1px solid rgba(235, 203, 139, 0.22);
}

.ft-changelog-init {
  color: #B48EAD;
  background: rgba(180, 142, 173, 0.1);
  border: 1px solid rgba(180, 142, 173, 0.22);
}

.ft-changelog-text {
  color: var(--ft-body);
  font-size: 0.9rem;
}

.ft-changelog-item:hover .ft-changelog-text {
  color: #D8DEE9;
}

.home-article-item:hover,
.archive-list-container:hover,
.category-list-container:hover,
.tagcloud-content:hover,
.page-template-content:hover {
  border-color: rgba(136, 192, 208, 0.24);
  box-shadow: 0 16px 38px rgba(15, 19, 28, 0.56), 0 0 16px rgba(136, 192, 208, 0.055) !important;
}

.home-article-item:hover {
  border-color: rgba(136, 192, 208, 0.34);
  box-shadow: 0 18px 36px rgba(15, 19, 28, 0.4), 0 0 18px rgba(136, 192, 208, 0.1), 0 0 40px rgba(136, 192, 208, 0.05) !important;
  transform: translateY(-2px);
}

.archive-list-container:hover {
  border: 0 !important;
  box-shadow: none !important;
}

.category-list-container:hover {
  border: 0 !important;
  box-shadow: none !important;
}

.tagcloud-content,
.tagcloud-content:hover {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none;
}

.article-content-container:hover {
  border: 0 !important;
  box-shadow: none !important;
}

.home-article-item-top,
.article-content-top {
  position: relative;
  background: linear-gradient(135deg, rgba(136, 192, 208, 0.045), rgba(42, 48, 60, 0.9)) !important;
  border-bottom: 1px solid rgba(136, 192, 208, 0.13);
}

.home-article-item-top::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(46, 52, 64, 0.12) 0%, transparent 40%, rgba(46, 52, 64, 0.4) 100%),
    linear-gradient(135deg, rgba(136, 192, 208, 0.08), transparent 60%);
  content: "";
}

.article-content-top {
  background:
    linear-gradient(135deg, rgba(136, 192, 208, 0.055), rgba(53, 63, 80, 0.88)) !important;
}

.home-cover,
.post-cover {
  filter: saturate(0.72) contrast(1.08) brightness(0.82);
}

.article-content img,
.markdown-body img,
.keep-markdown-body img {
  background:
    linear-gradient(135deg, rgba(59, 116, 134, 0.32), rgba(38, 62, 77, 0.42)),
    #2E3440 !important;
  border: 1px solid rgba(136, 192, 208, 0.16);
  border-radius: 6px;
  box-shadow: 0 12px 28px rgba(15, 19, 28, 0.28), inset 0 1px 0 rgba(236, 239, 244, 0.04) !important;
}

.home-article-title,
.article-title,
.cover-article-title,
.archive-list-container .archive-title,
.category-list-container .category-title,
.tagcloud-content .tagcloud-title,
.page-template-content .page-template-title {
  color: #D8DEE9 !important;
  font-family: Georgia, "Times New Roman", "Microsoft YaHei", serif;
  letter-spacing: 0 !important;
  text-shadow: 0 0 8px rgba(136, 192, 208, 0.1);
}

.article-content-container .article-title {
  color: var(--ft-ice) !important;
  font-size: 1.9rem !important;
  line-height: 1.35 !important;
  text-shadow: 0 0 14px rgba(136, 192, 208, 0.18), 0 1px 0 rgba(0, 0, 0, 0.5);
}

.home-article-content,
.article-content,
.page-template-content,
.archive-list-container,
.category-list-container,
.tagcloud-content {
  color: var(--ft-body) !important;
}

.home-article-content,
.article-content p,
.article-content li,
.article-content td,
.article-content figcaption,
.page-template-content p,
.keep-markdown-body p,
.keep-markdown-body li,
.keep-markdown-body td {
  color: var(--ft-body) !important;
}

.article-content p,
.keep-markdown-body p {
  margin-bottom: 1em !important;
  line-height: 1.8 !important;
}

.article-content li,
.keep-markdown-body li {
  line-height: 1.8 !important;
}

.home-article-content,
.article-content figcaption,
.article-content .caption,
.keep-markdown-body figcaption,
.keep-markdown-body .caption {
  color: var(--ft-soft) !important;
}

.article-header-meta-info,
.article-meta-info,
.home-article-meta-info,
.meta-info,
.post-sticky-box,
.sticky-icon {
  color: var(--ft-muted) !important;
}

.article-header .author .name {
  color: #A8C8D6 !important;
  text-shadow: 0 0 10px rgba(136, 192, 208, 0.12);
}

.article-meta-info a,
.home-article-meta-info a,
.meta-info a {
  color: var(--ft-soft) !important;
}

.article-meta-info .article-category a,
.article-meta-info .article-tag a {
  padding: 0.08rem 0.4rem;
  color: var(--ft-soft) !important;
  background: rgba(136, 192, 208, 0.055);
  border: 1px solid rgba(136, 192, 208, 0.12);
  border-radius: 4px;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.article-meta-info .article-category a:hover,
.article-meta-info .article-tag a:hover {
  color: var(--ft-rune) !important;
  background: rgba(136, 192, 208, 0.1);
  border-color: rgba(136, 192, 208, 0.28);
}

.home-article-content {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 1.2rem 0 !important;
}

.home-read-more {
  color: var(--ft-muted) !important;
  font-size: 0.85rem;
  transition: color 0.25s ease;
}

.home-read-more i {
  color: var(--ft-muted) !important;
  transition: color 0.25s ease, transform 0.25s ease;
}

.home-read-more:hover {
  color: var(--ft-rune) !important;
}

.home-read-more:hover i {
  color: var(--ft-rune) !important;
  transform: translateX(3px);
}

.post-sticky-box {
  color: #2E3440 !important;
  background: linear-gradient(90deg, #88C0D0, #D8DEE9) !important;
  border: 1px solid rgba(236, 239, 244, 0.26);
  border-radius: 4px !important;
}

.article-header .author-label {
  color: var(--ft-soft) !important;
  background: rgba(46, 52, 64, 0.48) !important;
  border: 1px solid rgba(136, 192, 208, 0.22);
  border-radius: 4px !important;
  box-shadow: inset 0 0 0 1px rgba(236, 239, 244, 0.025);
}

.cover-article-title {
  background: rgba(46, 52, 64, 0.78) !important;
  border: 1px solid rgba(136, 192, 208, 0.18);
  backdrop-filter: blur(8px) !important;
}

.article-content h1,
.article-content h2,
.article-content h3,
.article-content h4,
.markdown-body h1,
.markdown-body h2,
.markdown-body h3,
.markdown-body h4 {
  border-color: rgba(136, 192, 208, 0.24) !important;
}

.article-content h1,
.markdown-body h1 {
  color: var(--ft-ice) !important;
  text-shadow: 0 0 12px rgba(136, 192, 208, 0.2);
}

.article-content h2,
.markdown-body h2 {
  padding-bottom: 0.35rem;
  color: #E5E9F0 !important;
  border-bottom: 1px solid rgba(136, 192, 208, 0.24);
  text-shadow: 0 0 10px rgba(136, 192, 208, 0.14);
}

.article-content h3,
.markdown-body h3 {
  color: #D8DEE9 !important;
  text-shadow: 0 0 8px rgba(136, 192, 208, 0.1);
}

.article-content h4,
.markdown-body h4 {
  color: var(--ft-soft) !important;
  text-shadow: none;
}

.article-content h5,
.markdown-body h5,
.article-content h6,
.markdown-body h6 {
  color: var(--ft-muted) !important;
  text-shadow: none;
}

.article-content blockquote,
.markdown-body blockquote {
  color: var(--ft-soft) !important;
  background: rgba(136, 192, 208, 0.045) !important;
  border-left: 4px solid var(--ft-rune) !important;
  box-shadow: inset 0 0 18px rgba(136, 192, 208, 0.06);
}

.article-content code,
.markdown-body code,
code {
  color: #D8DEE9 !important;
  background: rgba(46, 52, 64, 0.84) !important;
  border: 1px solid rgba(136, 192, 208, 0.22);
  border-radius: 4px;
}

.highlight,
figure.highlight,
pre {
  background: var(--highlight-background) !important;
  border: 1px solid rgba(136, 192, 208, 0.24);
  box-shadow: inset 0 0 24px rgba(136, 192, 208, 0.045);
}

.highlight-container {
  overflow: hidden;
  background: var(--highlight-background) !important;
  border: 1px solid rgba(136, 192, 208, 0.22);
  border-radius: 6px;
  box-shadow: 0 14px 28px rgba(15, 19, 28, 0.34), inset 0 1px 0 rgba(236, 239, 244, 0.06);
}

.highlight-container .code-tools-box {
  color: var(--ft-soft) !important;
  background:
    linear-gradient(180deg, #303A49, #2A3340) !important;
  border-bottom: 1px solid rgba(136, 192, 208, 0.18);
  border-radius: 0 !important;
}

.highlight-container .code-tools-box .code-lang,
.highlight-container .code-tools-box .tool i,
.highlight-container .code-tools-box .copy i,
.highlight-container .code-tools-box .fold i {
  color: var(--toolbar-foreground) !important;
}

.highlight-container .code-tools-box .copy:hover i,
.highlight-container .code-tools-box .fold:hover i {
  color: var(--ft-rune) !important;
}

.highlight-container figure.highlight,
.article-content figure.highlight,
.article-content .highlight,
.markdown-body figure.highlight,
.markdown-body .highlight,
.code-block {
  color: var(--highlight-foreground) !important;
  background: var(--highlight-background) !important;
  border-color: rgba(136, 192, 208, 0.2) !important;
  box-shadow: inset 0 0 22px rgba(136, 192, 208, 0.04) !important;
}

.highlight-container figure.highlight {
  width: 100%;
  background: var(--highlight-background) !important;
  border: 0 !important;
  box-shadow: none !important;
}

.highlight table,
.highlight tbody,
.highlight tr,
.highlight td,
.highlight th {
  background: transparent !important;
  border: 0 !important;
}

.highlight table {
  width: 100% !important;
}

.highlight .code {
  width: 100% !important;
  background: var(--highlight-background) !important;
}

.highlight .gutter,
.highlight .gutter pre {
  color: var(--highlight-gutter-color) !important;
  background: var(--highlight-gutter-bg-color) !important;
  border-right: 1px solid rgba(136, 192, 208, 0.16);
}

.highlight .code,
.highlight .code pre,
.highlight pre,
.highlight .line {
  color: var(--highlight-foreground) !important;
  background: var(--highlight-background) !important;
}

.highlight pre {
  border: 0 !important;
  box-shadow: none !important;
}

.highlight figcaption {
  color: var(--ft-soft) !important;
  background: var(--toolbar-background);
  border-bottom: 1px solid rgba(136, 192, 208, 0.16);
}

.article-content pre code,
.markdown-body pre code,
pre code {
  background: transparent !important;
  border: 0 !important;
}

.article-content table,
.markdown-body table,
.keep-markdown-body > table {
  overflow: hidden;
  color: var(--ft-body) !important;
  background: rgba(43, 49, 61, 0.72) !important;
  border: 1px solid rgba(136, 192, 208, 0.16) !important;
  border-collapse: collapse;
  border-radius: 6px;
  box-shadow: inset 0 1px 0 rgba(236, 239, 244, 0.04);
}

.article-content table th,
.markdown-body table th,
.keep-markdown-body > table th {
  color: #D8DEE9 !important;
  background:
    linear-gradient(180deg, rgba(67, 76, 94, 0.86), rgba(46, 52, 64, 0.88)) !important;
  border-color: rgba(136, 192, 208, 0.18) !important;
}

.article-content table td,
.markdown-body table td,
.keep-markdown-body > table td {
  color: var(--ft-body) !important;
  background: rgba(43, 49, 61, 0.52) !important;
  border-color: rgba(136, 192, 208, 0.14) !important;
}

.article-content table tr:nth-child(2n) td,
.markdown-body table tr:nth-child(2n) td,
.keep-markdown-body > table tr:nth-child(2n) td {
  background: rgba(36, 41, 51, 0.56) !important;
}

.article-content .mermaid,
.markdown-body .mermaid {
  color: var(--ft-body) !important;
  background:
    radial-gradient(circle at 20% 10%, rgba(136, 192, 208, 0.08), transparent 18rem),
    rgba(43, 49, 61, 0.82) !important;
  border: 1px solid rgba(136, 192, 208, 0.16);
  border-radius: 6px !important;
}

table,
th,
td {
  border-color: rgba(136, 192, 208, 0.2) !important;
}

th {
  color: #D8DEE9 !important;
  background: rgba(136, 192, 208, 0.07) !important;
}

.article-copyright-info-container {
  position: relative;
  overflow: hidden;
  color: var(--ft-body) !important;
  background: rgba(136, 192, 208, 0.04) !important;
  border: 1px solid rgba(136, 192, 208, 0.16);
  border-radius: 8px;
  box-shadow: inset 0 1px 0 rgba(236, 239, 244, 0.04);
  backdrop-filter: blur(4px);
}

.article-copyright-info-container .post-title {
  color: #D8DEE9 !important;
  font-family: Georgia, "Times New Roman", "Microsoft YaHei", serif;
}

.article-copyright-info-container .post-link {
  color: var(--ft-muted) !important;
  font-size: 0.85rem;
}

.article-copyright-info-container .bottom-item .type {
  color: var(--ft-muted) !important;
}

.article-copyright-info-container .bottom-item .content {
  color: var(--ft-soft) !important;
}

.article-copyright-info-container .bottom-item .content a {
  color: var(--ft-rune) !important;
  transition: color 0.2s ease, text-shadow 0.2s ease;
}

.article-copyright-info-container .bottom-item .content a:hover {
  color: var(--ft-ice) !important;
  text-shadow: 0 0 8px rgba(136, 192, 208, 0.3);
}

.article-copyright-info-container .copyright-bg {
  color: rgba(136, 192, 208, 0.06) !important;
}

.article-copyright-info-container .copy-copyright-info {
  color: var(--ft-muted) !important;
  background: rgba(136, 192, 208, 0.05) !important;
  border-left: 1px solid rgba(136, 192, 208, 0.14) !important;
  transition: color 0.2s ease, background 0.2s ease;
}

.article-copyright-info-container .copy-copyright-info:hover {
  color: var(--ft-rune) !important;
  background: rgba(136, 192, 208, 0.12) !important;
}

.article-copyright-info-container .copy-copyright-info i {
  color: inherit !important;
}

.post-bottom-tags-and-share {
  align-items: center;
  padding-top: 1rem;
  border-top: 1px solid rgba(136, 192, 208, 0.12);
}

.post-tags-box .tag-item {
  margin-bottom: 0.35rem;
  padding: 0.08rem 0.5rem;
  color: var(--ft-soft) !important;
  background: rgba(136, 192, 208, 0.055);
  border: 1px solid rgba(136, 192, 208, 0.14);
  border-radius: 5px;
}

.post-tags-box .tag-item .icon,
.post-tags-box .tag-item a {
  color: var(--ft-soft) !important;
}

.post-tags-box .tag-item:hover {
  background: rgba(136, 192, 208, 0.1);
  border-color: rgba(136, 192, 208, 0.28);
}

.post-tags-box .tag-item:hover .icon,
.post-tags-box .tag-item:hover a {
  color: var(--ft-rune) !important;
}

.post-share-container .share-list-wrap .share-item {
  color: var(--ft-soft) !important;
  background: rgba(36, 41, 51, 0.68) !important;
  border-color: rgba(136, 192, 208, 0.22) !important;
  box-shadow: inset 0 1px 0 rgba(236, 239, 244, 0.05);
}

.post-share-container .share-list-wrap .share-item:hover {
  color: #2E3440 !important;
  background: linear-gradient(180deg, #D8DEE9, #88C0D0) !important;
  border-color: rgba(216, 222, 233, 0.54) !important;
  box-shadow: 0 0 14px rgba(136, 192, 208, 0.24);
}

.article-nav .article-prev,
.article-nav .article-next {
  overflow: hidden;
  color: var(--ft-soft) !important;
  background: rgba(59, 76, 96, 0.28) !important;
  border: 1px solid rgba(136, 192, 208, 0.14) !important;
  border-radius: 6px !important;
  box-shadow: inset 0 1px 0 rgba(236, 239, 244, 0.035) !important;
  backdrop-filter: blur(4px);
}

.article-nav .article-prev:hover,
.article-nav .article-next:hover {
  background: rgba(80, 99, 122, 0.34) !important;
  border-color: rgba(136, 192, 208, 0.28) !important;
  box-shadow: 0 0 12px rgba(136, 192, 208, 0.07), inset 0 1px 0 rgba(236, 239, 244, 0.05) !important;
}

.article-nav a,
.article-nav .title,
.article-nav .post-nav-item,
.article-nav .post-nav-title-item,
.article-nav .arrow-icon {
  color: var(--ft-soft) !important;
}

.article-nav a:hover,
.article-nav a:hover .title,
.article-nav a:hover .post-nav-item,
.article-nav a:hover .post-nav-title-item,
.article-nav a:hover .arrow-icon {
  color: var(--ft-rune) !important;
}

.archive-list-container a,
.category-list-container a,
.tagcloud-content a,
.page-template-content a {
  color: var(--ft-rune) !important;
}

.archive-list-container,
.category-list-container,
.tagcloud-content,
.page-template-content,
.local-search-container {
  color: var(--ft-body) !important;
}

.archive-list-container .archive-item,
.category-list-container .category-item,
.tagcloud-content .tag-item,
.local-search-container .search-result,
.local-search-container .search-result-content {
  color: var(--ft-soft) !important;
}

.local-search-container .search-result-title,
.archive-list-container .archive-post-title {
  color: #D8DEE9 !important;
}

.category-list-container .site-all-category-list-link {
  color: #D8DEE9 !important;
}

.category-list-container .site-all-category-list-item:hover > .self-category-info .icon,
.category-list-container .site-all-category-list-item:hover > .self-category-info .site-all-category-list-link,
.category-list-container .site-all-category-list-item:hover > .self-category-info .site-all-category-list-count {
  color: var(--ft-rune) !important;
  text-shadow: 0 0 12px rgba(136, 192, 208, 0.22);
}

button,
.keep-button,
input[type="submit"] {
  color: #2E3440 !important;
  background: linear-gradient(180deg, #E5E9F0, #88C0D0) !important;
  border: 1px solid rgba(236, 239, 244, 0.38) !important;
  border-radius: 6px !important;
  box-shadow: 0 0 12px rgba(136, 192, 208, 0.14);
}

button:hover,
.keep-button:hover {
  color: #2E3440 !important;
  box-shadow: 0 0 18px rgba(136, 192, 208, 0.24);
}

.paginator a,
.page-number,
.extend {
  color: var(--ft-soft) !important;
  background: rgba(136, 192, 208, 0.06) !important;
  border: 1px solid rgba(136, 192, 208, 0.18) !important;
  border-radius: 6px !important;
  box-shadow: none;
}

.paginator a:hover,
.page-number:hover,
.extend:hover {
  color: var(--ft-rune) !important;
  background: rgba(136, 192, 208, 0.12) !important;
  border-color: rgba(136, 192, 208, 0.32) !important;
  box-shadow: 0 0 12px rgba(136, 192, 208, 0.08);
}

.paginator .page-number.current {
  color: var(--ft-ice) !important;
  background: rgba(136, 192, 208, 0.15) !important;
  border-color: rgba(136, 192, 208, 0.36) !important;
  box-shadow: 0 0 10px rgba(136, 192, 208, 0.1);
}

.paginator {
  padding: 0.7rem 1rem !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

.paginator .base-color-size,
.paginator .delimiter {
  color: var(--ft-muted) !important;
}

.paginator .page-number-input {
  color: #D8DEE9 !important;
  background: rgba(36, 41, 51, 0.62) !important;
  border-color: rgba(136, 192, 208, 0.2) !important;
}

.paginator .btn-wrap a.jump-btn {
  background: rgba(136, 192, 208, 0.06) !important;
  border: 1px solid rgba(136, 192, 208, 0.18) !important;
}

.paginator .btn-wrap a.jump-btn i {
  color: var(--ft-muted) !important;
}

.paginator .btn-wrap.allowed a.jump-btn {
  background: rgba(136, 192, 208, 0.1) !important;
  border-color: rgba(136, 192, 208, 0.3) !important;
}

.paginator .btn-wrap.allowed a.jump-btn i {
  color: var(--ft-rune) !important;
}

input,
textarea,
.local-search-input input {
  color: var(--ft-ice) !important;
  background: rgba(46, 52, 64, 0.86) !important;
  border: 1px solid rgba(136, 192, 208, 0.2) !important;
  border-radius: 6px !important;
}

input::placeholder,
textarea::placeholder {
  color: var(--ft-muted) !important;
}

.local-search-popover,
.search-pop-overlay {
  background: rgba(15, 19, 28, 0.6) !important;
  backdrop-filter: blur(4px);
}

.search-pop-overlay .search-popup {
  background:
    linear-gradient(180deg, rgba(52, 59, 73, 0.94), rgba(39, 45, 56, 0.96)) !important;
  border: 1px solid rgba(136, 192, 208, 0.2);
  border-radius: 10px !important;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 30px rgba(136, 192, 208, 0.06);
  backdrop-filter: blur(12px);
}

.search-pop-overlay .search-header {
  background: rgba(46, 52, 64, 0.8) !important;
  border-bottom: 1px solid rgba(136, 192, 208, 0.16);
  border-radius: 10px 10px 0 0 !important;
}

.search-pop-overlay .search-header .search-input-field-pre {
  color: var(--ft-muted) !important;
}

.search-pop-overlay .search-header .search-input {
  color: var(--ft-ice) !important;
  background: transparent !important;
  border: 0 !important;
}

.search-pop-overlay .search-header .search-input::placeholder {
  color: var(--ft-muted) !important;
}

.search-pop-overlay .search-header .close-popup-btn {
  color: var(--ft-muted) !important;
  transition: color 0.2s ease;
}

.search-pop-overlay .search-header .close-popup-btn:hover {
  color: var(--ft-rune) !important;
}

.search-pop-overlay #search-result {
  background: transparent;
}

.search-pop-overlay #search-result #no-result {
  color: rgba(136, 192, 208, 0.3) !important;
}

.search-pop-overlay .search-result-list li {
  border-bottom: 1px solid rgba(136, 192, 208, 0.1) !important;
}

.search-pop-overlay .search-result-list li:last-child {
  border-bottom: 0 !important;
}

.search-pop-overlay .search-result-list .search-result-title {
  color: #D8DEE9 !important;
  font-family: Georgia, "Times New Roman", "Microsoft YaHei", serif;
}

.search-pop-overlay .search-result-list .search-result-title::after {
  background: var(--ft-rune) !important;
  box-shadow: 0 0 8px rgba(136, 192, 208, 0.3);
}

.search-pop-overlay .search-result-list .search-result {
  color: var(--ft-soft) !important;
}

.search-pop-overlay .search-result-list .search-keyword {
  color: var(--ft-ice) !important;
  background: rgba(136, 192, 208, 0.15);
  border-bottom: 1px solid rgba(136, 192, 208, 0.4) !important;
  border-radius: 2px;
  padding: 0 0.15rem;
}

.search-pop-overlay .search-result-list a:hover {
  color: var(--ft-rune) !important;
}

.search-pop-overlay .search-result-list a:hover .search-result-title {
  color: var(--ft-rune) !important;
  text-shadow: 0 0 10px rgba(136, 192, 208, 0.2);
}

.toc-container,
.pc-post-toc {
  color: var(--ft-muted) !important;
}

.toc-container a,
.pc-post-toc a {
  color: var(--ft-muted) !important;
}

.toc-container a.active,
.toc-container a:hover,
.pc-post-toc a.active,
.pc-post-toc a:hover {
  color: var(--ft-rune) !important;
}

.side-tools-container .tool-item,
.post-tools-container .tool-item {
  color: var(--ft-soft) !important;
  background: rgba(46, 52, 64, 0.68) !important;
  border-color: rgba(136, 192, 208, 0.16) !important;
}

.side-tools-container .tools-item,
.post-tools-container .tools-item {
  color: var(--ft-soft) !important;
  background: rgba(46, 52, 64, 0.72) !important;
  border: 1px solid rgba(136, 192, 208, 0.16) !important;
  border-radius: 50% !important;
  box-shadow: 0 8px 18px rgba(15, 19, 28, 0.28), inset 0 1px 0 rgba(236, 239, 244, 0.04) !important;
}

.side-tools-container .tools-item:hover,
.post-tools-container .tools-item:hover {
  color: #2E3440 !important;
  background: linear-gradient(180deg, #D8DEE9, #88C0D0) !important;
  border-color: rgba(216, 222, 233, 0.42) !important;
}

.side-tools-container .tools-item i,
.post-tools-container .tools-item i {
  color: inherit !important;
}

.post-tools-container .tools-item.toggle-show-toc {
  width: 2.5rem !important;
  height: 2.5rem !important;
  color: var(--ft-soft) !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 50% !important;
  box-shadow: none !important;
}

.post-tools-container .tools-item.toggle-show-toc:hover {
  color: var(--ft-soft) !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

.post-tools-container .tools-item.toggle-show-toc i {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  box-sizing: border-box;
  color: var(--ft-soft) !important;
  background: rgba(59, 69, 87, 0.78);
  border: 1px solid rgba(136, 192, 208, 0.28);
  border-radius: 50%;
  box-shadow: 0 8px 18px rgba(15, 19, 28, 0.26), inset 0 1px 0 rgba(236, 239, 244, 0.08);
}

.post-tools-container .tools-item.toggle-show-toc:hover i {
  color: #2E3440 !important;
  background: linear-gradient(180deg, #D8DEE9, #88C0D0);
  border-color: rgba(216, 222, 233, 0.42);
}

.side-tools-container .tools-item.toggle-show-toc-tablet {
  width: 2.5rem !important;
  height: 2.5rem !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 50% !important;
  box-shadow: none !important;
}

.side-tools-container .tools-item.toggle-show-toc-tablet i {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  box-sizing: border-box;
  color: var(--ft-soft) !important;
  background: rgba(59, 69, 87, 0.78);
  border: 1px solid rgba(136, 192, 208, 0.28);
  border-radius: 50%;
  box-shadow: 0 8px 18px rgba(15, 19, 28, 0.26), inset 0 1px 0 rgba(236, 239, 244, 0.08);
}

.side-tools-container .tools-item.toggle-show-toc-tablet:hover i {
  color: #2E3440 !important;
  background: linear-gradient(180deg, #D8DEE9, #88C0D0);
  border-color: rgba(216, 222, 233, 0.42);
}

.footer {
  color: var(--ft-muted) !important;
  background: linear-gradient(180deg, transparent, rgba(46, 52, 64, 0.7));
  text-shadow: 0 1px 0 #000;
}

.footer a,
.footer .info-item {
  color: var(--ft-muted) !important;
}

.footer a:hover {
  color: var(--ft-rune) !important;
}

.pjax-progress-bar,
.progress-bar {
  background: linear-gradient(90deg, transparent, var(--ft-rune), var(--ft-plague), transparent) !important;
  box-shadow: 0 0 8px rgba(136, 192, 208, 0.36);
}

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: rgba(46, 52, 64, 0.94);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(136, 192, 208, 0.54), rgba(94, 129, 172, 0.5));
  border: 2px solid rgba(46, 52, 64, 0.94);
  border-radius: 6px;
}

.frost-snow {
  position: fixed;
  inset: 0;
  z-index: 1000;
  overflow: hidden;
  pointer-events: none;
}

.undead-companion {
  position: fixed;
  right: clamp(3.2rem, 5vw, 4.5rem);
  bottom: clamp(0.8rem, 2vh, 1.4rem);
  z-index: 999;
  width: clamp(5.6rem, 12vw, 9rem);
  aspect-ratio: 1;
  pointer-events: auto;
  cursor: pointer;
  opacity: 0.82;
  animation: undead-companion-float 7s ease-in-out infinite;
  transition: opacity 0.4s ease;
}

.undead-companion:hover {
  opacity: 1;
}

.undead-companion:hover img {
  filter:
    saturate(0.9)
    brightness(1.1)
    contrast(1.08)
    drop-shadow(0 0 1.2rem rgba(136, 192, 208, 0.5))
    drop-shadow(0 0 2.4rem rgba(136, 192, 208, 0.25));
  transition: filter 0.4s ease;
}

.undead-companion::before {
  position: absolute;
  inset: 12%;
  z-index: -1;
  background:
    radial-gradient(circle, rgba(136, 192, 208, 0.22), transparent 62%),
    radial-gradient(circle, rgba(163, 190, 140, 0.09), transparent 48%);
  filter: blur(0.4rem);
  content: "";
}

.undead-companion img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 8px;
  filter:
    saturate(0.82)
    brightness(0.92)
    contrast(1.05)
    drop-shadow(0 0 1rem rgba(136, 192, 208, 0.28))
    drop-shadow(0 0 1.7rem rgba(46, 52, 64, 0.8));
  transition: filter 0.6s ease, opacity 0.2s ease;
}

.undead-companion .fire-sprite {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-image: url('/images/ft/bone-dragon-fire-sprite.png');
  background-repeat: no-repeat;
  background-size: 2400% 100%;
  background-position: 0% 0%;
  pointer-events: none;
  opacity: 0;
  filter:
    saturate(0.9)
    brightness(1)
    drop-shadow(0 0 1.2rem rgba(136, 192, 208, 0.55))
    drop-shadow(0 0 2.4rem rgba(136, 192, 208, 0.25));
}

.undead-companion.breathing-fire > img {
  opacity: 0;
}

.undead-companion.breathing-fire .fire-sprite {
  opacity: 1;
  animation: ft-fire-breath 3s steps(23) forwards;
}

@keyframes ft-fire-breath {
  from { background-position: 0% 0%; }
  to { background-position: 100% 0%; }
}

.snow {
  position: absolute;
  top: -1rem;
  width: 0.42rem;
  height: 0.42rem;
  background: rgba(231, 241, 242, 0.78);
  border-radius: 50%;
  box-shadow: 0 0 0.55rem rgba(136, 192, 208, 0.28);
  animation-name: ft-snow-fall;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  transition: opacity 0.8s ease, box-shadow 0.8s ease, background 0.8s ease;
}

.snow:nth-child(5n + 1) {
  width: 0.25rem;
  height: 0.25rem;
  opacity: 0.48;
  animation-duration: 17s;
}

.snow:nth-child(5n + 2) {
  width: 0.36rem;
  height: 0.36rem;
  opacity: 0.68;
  animation-duration: 22s;
}

.snow:nth-child(5n + 3) {
  width: 0.52rem;
  height: 0.52rem;
  opacity: 0.38;
  animation-duration: 28s;
}

.snow:nth-child(5n + 4) {
  width: 0.18rem;
  height: 0.18rem;
  opacity: 0.72;
  animation-duration: 14s;
}

.snow:nth-child(5n) {
  width: 0.62rem;
  height: 0.62rem;
  opacity: 0.3;
  animation-duration: 32s;
}

.snow:nth-child(1) { left: 2%; animation-delay: -8s; }
.snow:nth-child(2) { left: 6%; animation-delay: -19s; }
.snow:nth-child(3) { left: 9%; animation-delay: -3s; }
.snow:nth-child(4) { left: 13%; animation-delay: -22s; }
.snow:nth-child(5) { left: 17%; animation-delay: -11s; }
.snow:nth-child(6) { left: 21%; animation-delay: -27s; }
.snow:nth-child(7) { left: 24%; animation-delay: -15s; }
.snow:nth-child(8) { left: 28%; animation-delay: -5s; }
.snow:nth-child(9) { left: 31%; animation-delay: -30s; }
.snow:nth-child(10) { left: 35%; animation-delay: -13s; }
.snow:nth-child(11) { left: 38%; animation-delay: -21s; }
.snow:nth-child(12) { left: 42%; animation-delay: -7s; }
.snow:nth-child(13) { left: 45%; animation-delay: -25s; }
.snow:nth-child(14) { left: 49%; animation-delay: -16s; }
.snow:nth-child(15) { left: 52%; animation-delay: -2s; }
.snow:nth-child(16) { left: 56%; animation-delay: -29s; }
.snow:nth-child(17) { left: 59%; animation-delay: -9s; }
.snow:nth-child(18) { left: 63%; animation-delay: -18s; }
.snow:nth-child(19) { left: 66%; animation-delay: -4s; }
.snow:nth-child(20) { left: 70%; animation-delay: -24s; }
.snow:nth-child(21) { left: 73%; animation-delay: -12s; }
.snow:nth-child(22) { left: 77%; animation-delay: -28s; }
.snow:nth-child(23) { left: 80%; animation-delay: -6s; }
.snow:nth-child(24) { left: 84%; animation-delay: -20s; }
.snow:nth-child(25) { left: 87%; animation-delay: -1s; }
.snow:nth-child(26) { left: 91%; animation-delay: -26s; }
.snow:nth-child(27) { left: 94%; animation-delay: -14s; }
.snow:nth-child(28) { left: 97%; animation-delay: -23s; }
.snow:nth-child(29) { left: 4%; animation-delay: -31s; }
.snow:nth-child(30) { left: 11%; animation-delay: -17s; }
.snow:nth-child(31) { left: 18%; animation-delay: -10s; }
.snow:nth-child(32) { left: 26%; animation-delay: -33s; }
.snow:nth-child(33) { left: 33%; animation-delay: -6s; }
.snow:nth-child(34) { left: 40%; animation-delay: -24s; }
.snow:nth-child(35) { left: 47%; animation-delay: -12s; }
.snow:nth-child(36) { left: 54%; animation-delay: -29s; }
.snow:nth-child(37) { left: 61%; animation-delay: -18s; }
.snow:nth-child(38) { left: 68%; animation-delay: -8s; }
.snow:nth-child(39) { left: 75%; animation-delay: -27s; }
.snow:nth-child(40) { left: 82%; animation-delay: -15s; }
.snow:nth-child(41) { left: 89%; animation-delay: -3s; }
.snow:nth-child(42) { left: 96%; animation-delay: -21s; }
.snow:nth-child(43) { left: 15%; animation-delay: -35s; }
.snow:nth-child(44) { left: 58%; animation-delay: -32s; }
.snow:nth-child(45) { left: 86%; animation-delay: -34s; }

@media (min-width: 801px) {
  .post-page-container.show-toc {
    align-items: flex-start;
    gap: 1.35rem;
  }

  .post-page-container.show-toc .pc-post-toc.right-toc {
    flex: 0 0 15rem;
    margin-left: 0;
    padding: 1.25rem 0.9rem !important;
    border-radius: 8px;
  }

  .post-page-container.show-toc .article-content-container {
    min-width: 0;
  }

  .post-tools.right-toc {
    z-index: 8;
  }

  .post-tools.right-toc .post-tools-container {
    padding-top: 0;
  }

  .post-tools.right-toc .tools-list {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
  }

  .post-tools.right-toc .tools-list .tools-item {
    margin-bottom: 0 !important;
  }
}

.click-spark {
  position: fixed;
  z-index: 1002;
  pointer-events: none;
  background: rgba(180, 220, 235, 0.95);
  border-radius: 50%;
  box-shadow: 0 0 6px rgba(136, 192, 208, 0.7), 0 0 12px rgba(136, 192, 208, 0.3);
  animation: click-spark-out 0.5s ease-out forwards;
}

@keyframes click-spark-out {
  0% {
    transform: translate(0, 0) scale(1);
    opacity: 0.9;
  }

  100% {
    transform: translate(var(--tx), var(--ty)) scale(0);
    opacity: 0;
  }
}

.ice-particle {
  position: fixed;
  z-index: 1002;
  pointer-events: none;
  background: radial-gradient(circle, rgba(200, 228, 240, 0.95), rgba(136, 192, 208, 0.7));
  border-radius: 50%;
  box-shadow: 0 0 6px rgba(136, 192, 208, 0.6), 0 0 12px rgba(136, 192, 208, 0.25);
  animation: ice-particle-burst ease-out forwards;
}

#particles-js {
  position: fixed;
  inset: 0;
  z-index: 1002;
  pointer-events: none;
  animation: particles-fade 4s ease-in forwards;
}

#twikoo .el-button {
  color: var(--ft-soft) !important;
  background: rgba(136, 192, 208, 0.055) !important;
  border: 1px solid rgba(136, 192, 208, 0.2) !important;
  border-radius: 6px !important;
  box-shadow: none !important;
  text-shadow: none !important;
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

#twikoo .el-button:hover,
#twikoo .el-button:focus {
  color: var(--ft-rune) !important;
  background: rgba(136, 192, 208, 0.1) !important;
  border-color: rgba(136, 192, 208, 0.36) !important;
  box-shadow: 0 0 12px rgba(136, 192, 208, 0.08) !important;
}

#twikoo .el-button.tk-preview {
  color: var(--ft-soft) !important;
  background: rgba(46, 52, 64, 0.34) !important;
}

#twikoo .el-button.tk-preview:hover,
#twikoo .el-button.tk-preview:focus {
  color: var(--ft-rune) !important;
  background: rgba(136, 192, 208, 0.09) !important;
}

#twikoo .el-button.tk-send,
#twikoo .el-button--primary {
  color: #2E3440 !important;
  background: linear-gradient(180deg, rgba(164, 210, 221, 0.92), rgba(136, 192, 208, 0.76)) !important;
  border-color: rgba(178, 222, 232, 0.38) !important;
  box-shadow: 0 0 14px rgba(136, 192, 208, 0.12) !important;
}

#twikoo .el-button.tk-send:hover,
#twikoo .el-button.tk-send:focus,
#twikoo .el-button--primary:hover,
#twikoo .el-button--primary:focus {
  color: #2E3440 !important;
  background: linear-gradient(180deg, rgba(180, 222, 232, 0.94), rgba(143, 199, 211, 0.82)) !important;
  border-color: rgba(200, 232, 240, 0.5) !important;
  box-shadow: 0 0 16px rgba(136, 192, 208, 0.18) !important;
}

#twikoo .el-button.is-disabled,
#twikoo .el-button.is-disabled:hover,
#twikoo .el-button.is-disabled:focus {
  color: rgba(196, 205, 216, 0.58) !important;
  background: rgba(136, 192, 208, 0.045) !important;
  border-color: rgba(136, 192, 208, 0.14) !important;
  box-shadow: none !important;
  cursor: not-allowed;
}

#twikoo .tk-preview span {
  color: inherit !important;
  background: transparent !important;
}

.category-list-container li.site-all-category-list-item:hover > .self-category-info i.icon,
.category-list-container li.site-all-category-list-item:hover > .self-category-info a.site-all-category-list-link,
.category-list-container li.site-all-category-list-item:hover > .self-category-info .site-all-category-list-count {
  color: var(--ft-rune) !important;
  text-shadow: 0 0 12px rgba(136, 192, 208, 0.22);
}

@keyframes particles-fade {
  0%, 60% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}

@keyframes ice-particle-burst {
  0% {
    transform: translate(0, 0) scale(1);
    opacity: 1;
  }

  70% {
    opacity: 0.7;
  }

  100% {
    transform: translate(var(--tx), var(--ty)) scale(0.2);
    opacity: 0;
  }
}

.frost-burst .snow {
  opacity: 0.92 !important;
  background: rgba(200, 225, 235, 0.9);
  box-shadow: 0 0 1rem rgba(136, 192, 208, 0.6), 0 0 2rem rgba(136, 192, 208, 0.2);
}

@keyframes ft-snow-fall {
  0% {
    transform: translate3d(0, -8vh, 0);
  }

  50% {
    transform: translate3d(2.8rem, 52vh, 0);
  }

  100% {
    transform: translate3d(-1.8rem, 108vh, 0);
  }
}

@keyframes undead-companion-float {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(-1.5deg);
  }

  50% {
    transform: translate3d(-0.25rem, -0.65rem, 0) rotate(1.5deg);
  }
}

@media (max-width: 800px) {
  body {
    background-attachment: scroll !important;
  }

  .frost-snow .snow:nth-child(n + 31) {
    display: none;
  }

  .undead-companion {
    width: 5rem;
    opacity: 0.66;
  }
}

@media (max-width: 500px) {
  .first-screen-content .description {
    font-size: 1.36rem !important;
    line-height: 1.7 !important;
  }

  .article-content-container .article-title {
    font-size: 1.4rem !important;
    line-height: 1.4 !important;
  }

  .article-content-container .article-content-bottom {
    padding-left: 0.6rem !important;
    padding-right: 0.6rem !important;
  }

  .article-content p,
  .keep-markdown-body p {
    line-height: 1.7 !important;
  }

  .home-article-item,
  .archive-list-container,
  .category-list-container,
  .tagcloud-content,
  .page-template-content {
    border-right: 0;
    border-left: 0;
    border-radius: 0 !important;
  }

  .frost-snow .snow:nth-child(n + 22) {
    display: none;
  }

  .undead-companion {
    right: 0.45rem;
    bottom: 0.55rem;
    width: 4.2rem;
    opacity: 0.54;
  }
}

@media (prefers-reduced-motion: reduce) {
  .snow {
    animation: none !important;
    opacity: 0.2;
  }

  .undead-companion {
    animation: none !important;
  }
}

/* ===== Full Moon BGM toggle (top-right) ===== */
.header-wrapper .menu-item.bgm-toggle,
.header-wrapper .icon-item.bgm-toggle {
  cursor: pointer;
  overflow: visible;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.header-wrapper .menu-item.bgm-toggle .bgm-icon,
.header-wrapper .icon-item.bgm-toggle .bgm-icon {
  display: inline-block;
  width: 1.55em;
  height: 1.55em;
  vertical-align: -0.37em;
  background-color: #AEB8C6;
  -webkit-mask: url('/images/clef.png') no-repeat center / contain;
  mask: url('/images/clef.png') no-repeat center / contain;
  transition: background-color 0.35s ease, transform 0.35s ease, filter 0.35s ease;
  will-change: filter, background-color;
}

.header-wrapper .menu-item.bgm-toggle:hover .bgm-icon,
.header-wrapper .icon-item.bgm-toggle:hover .bgm-icon,
.header-wrapper .menu-item.bgm-toggle .bgm-icon:hover,
.header-wrapper .icon-item.bgm-toggle .bgm-icon:hover {
  background-color: #ECEFF4 !important;
  filter:
    drop-shadow(0 0 3px rgba(236, 239, 244, 0.95))
    drop-shadow(0 0 12px rgba(136, 192, 208, 0.95))
    drop-shadow(0 0 24px rgba(136, 192, 208, 0.55)) !important;
}
.header-wrapper .menu-item.bgm-toggle.playing .bgm-icon,
.header-wrapper .icon-item.bgm-toggle.playing .bgm-icon {
  background-color: var(--ft-rune);
  animation: ft-moon-pulse 2.6s ease-in-out infinite;
}

@keyframes ft-moon-pulse {
  0%, 100% {
    filter:
      drop-shadow(0 0 4px rgba(236, 239, 244, 0.45))
      drop-shadow(0 0 6px rgba(136, 192, 208, 0.4));
    transform: scale(1);
  }
  50% {
    filter:
      drop-shadow(0 0 8px rgba(236, 239, 244, 0.6))
      drop-shadow(0 0 14px rgba(136, 192, 208, 0.75))
      drop-shadow(0 0 22px rgba(136, 192, 208, 0.3));
    transform: scale(1.08);
  }
}

@media (prefers-reduced-motion: reduce) {
  .header-wrapper .menu-item.bgm-toggle.playing .bgm-icon,
  .header-wrapper .icon-item.bgm-toggle.playing .bgm-icon {
    animation: none !important;
  }
}
