html,
body,
label {
  cursor: var(--cursor-data) 3 3, default;
}
html,
body {
  position: static;
}
body {
  margin: 0;
  color: var(--theme-text);
  background-image: var(--body-background);
  background-color: var(--theme-background);
  background-attachment: fixed;
  background-position: 50% 0;
  background-repeat: no-repeat;
  background-size: cover;
  font-family: 'JetBrains Mono', 'Microsoft YaHei', '\5b8b\4f53', sans-serif;
}
main {
  height: 100vh;
  width: 100vw;
  overflow: auto;
  overflow: overlay;
  box-sizing: border-box;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--theme-text-light);
  margin-block-start: 0.33em;
  margin-block-end: 0.23em;
  padding-top: 0.2em;
  padding-bottom: 0.2em;
}
p {
  overflow: visible;
}
a {
  text-decoration: none;
}
a,
:is(strong,
em) > a {
  color: var(--theme-highlight);
  padding: 0 3px;
  transition-duration: 0.3s;
  transition-property: color, background-color, line-height, padding, border, opacity;
}
@media (min-width: 769px) {
  a:hover,
  :is(strong:hover,
  em) > a:hover {
    color: var(--theme-text-hover);
    background-color: var(--theme-highlight);
  }
  a:active,
  :is(strong:active,
  em) > a:active {
    color: var(--theme-text-hover);
    background-color: var(--theme-subcolor);
  }
}
a:has(code) {
  padding: unset;
}
button {
  background: var(--theme-bg-soft);
  color: var(--theme-text-light);
  font-family: 'JetBrains Mono';
  border: unset;
}
time {
  font-family: Bender;
}
code,
pre {
  font-family: 'JetBrains Mono';
}
code {
  margin: 0 !important;
  background-color: var(--theme-bg-soft-hover);
  padding: 0 3px !important;
}
pre {
  margin: 6px 0;
  background-color: transparent;
}
kbd {
  color: var(--theme-kbd-text);
  background-color: var(--theme-subcolor);
  box-shadow: 0 0.12em var(--theme-kbd-shadow);
  margin: 0 2px;
  border-radius: 2px;
  padding: 0 3px;
  font-family: 'JetBrains Mono';
}
em {
  font-family: Times, 'Times New Roman', 'FangSong', 'SimSun', serif;
}
strong em,
em strong {
  font-family: 'JetBrains Mono', 'Microsoft YaHei', '\5b8b\4f53', sans-serif;
}
:not(a) > :is(strong,
em) {
  color: var(--theme-light);
}
:not(a) > :is(strong em,
em strong) {
  color: var(--theme-stress);
}
blockquote {
  margin: 1em;
  border-left: var(--theme-highlight) solid 5px;
  padding: 3px 20px;
  background-color: var(--theme-bg-soft);
  transition: 0.3s;
}
blockquote blockquote {
  margin: 0;
  padding-right: 0;
}
blockquote:hover {
  background-color: var(--theme-bg-soft-hover);
}
li {
  margin-block-start: 0.2em;
  margin-block-end: 0.2em;
}
li blockquote {
  margin: 0;
  padding-right: 0;
}
table {
  border: 0;
  border-collapse: collapse;
}
table th {
  color: var(--theme-text-rev);
  background-color: var(--theme-bg-light);
  border: var(--theme-border-light) solid 1px;
  padding: 0 10px;
}
table td {
  padding: 0 8px;
  border: var(--theme-td-border) solid 1px;
}
table td:hover {
  background-color: var(--theme-td-hover);
}
figure:not(.highlight),
figcaption {
  text-align: center;
}
figcaption {
  font-style: italic;
}
a,
button,
input,
textarea {
  cursor: var(--cursor) 3 3, pointer;
}
input {
  cursor: var(--cursor) 3 3, text;
  user-select: none;
  font-family: 'JetBrains Mono', 'Microsoft YaHei', '\5b8b\4f53', sans-serif;
}
.task-list {
  padding-left: 1em;
}
.task-list li {
  display: block;
  margin-block: 0.5em;
}
.task-list li [type=checkbox] {
  display: none;
}
.task-list li::before {
  content: '';
  display: inline-block;
  position: relative;
  top: 3px;
  height: 0.9em;
  width: 0.9em;
  border-radius: 3px;
  background-color: var(--theme-bg-soft);
  border: 1px var(--theme-highlight) solid;
}
.task-list li[checked]::before {
  content: '\2713';
  line-height: 1em;
  text-align: center;
  color: var(--theme-text-light);
}
#cursor-outer {
  z-index: 65538;
  position: fixed;
  transform: translate3d(-50%, -50%, 0);
  height: 36px;
  width: 36px;
  border: 1px solid var(--theme-cursor);
  border-radius: 50%;
  pointer-events: none;
  transition-duration: 0.3s;
  transition-property: background-color, width, height;
}
#cursor-effect {
  z-index: 65538;
  position: fixed;
  transform: translate3d(-50%, -50%, 0) scale(0);
  height: 80px;
  width: 80px;
  border: 4px solid var(--theme-cursor);
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
}
.footnote--top {
  position: relative;
  display: inline-block;
}
.footnote--pop-ups,
.footnote--top:before {
  position: absolute;
  -webkit-transform: translate3d(0, 0, 0);
  -moz-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
  visibility: hidden;
  opacity: 0;
  z-index: 1000000;
  pointer-events: none;
  -webkit-transition: 0.3s ease;
  -moz-transition: 0.3s ease;
  transition: 0.3s ease;
  -webkit-transition-delay: 0s;
  -moz-transition-delay: 0s;
  transition-delay: 0s;
}
.footnote--top:before {
  transition-delay: 0s;
  content: '';
  background: 0 0;
  border: 6px solid transparent;
  bottom: 100%;
  margin-bottom: -11px;
  left: calc(50% - 6px);
  border-top-color: #3986ac;
}
.footnote--top:hover:before {
  visibility: visible;
  opacity: 1;
  -webkit-transition-delay: 0.1s;
  -moz-transition-delay: 0.1s;
  transition-delay: 0.1s;
  -webkit-transform: translateY(-8px);
  -moz-transform: translateY(-8px);
  transform: translateY(-8px);
  z-index: 1000001;
}
.footnote--top:hover .footnote--pop-ups {
  visibility: visible;
  opacity: 1;
  -webkit-transition-delay: 0.1s;
  -moz-transition-delay: 0.1s;
  transition-delay: 0.1s;
  -webkit-transform: translateX(-50%) translateY(-8px);
  -moz-transform: translateX(-50%) translateY(-8px);
  transform: translateX(-50%) translateY(-8px);
}
.footnote--pop-ups {
  border-radius: 4px;
  background-color: #3986ac;
  text-shadow: 0 -1px 0 #1a3c4d;
  width: 150px;
  white-space: normal;
  line-height: 1.4em;
  word-wrap: break-word;
  -webkit-transform: translateX(-50%);
  -moz-transform: translateX(-50%);
  transform: translateX(-50%);
  bottom: 100%;
  left: 50%;
  color: #fff;
  padding: 8px 10px;
  font-size: 12px;
  font-family: 'JetBrains Mono', 'Microsoft YaHei', '\5b8b\4f53', sans-serif;
  box-shadow: 4px 4px 8px #000;
}
.footnote--pop-ups code {
  background-color: #3986ac !important;
}
@media (min-width: 1200px) {
  .footnote--pop-ups {
    width: 200px;
  }
}
@media (min-width: 769px) {
  main {
    -ms-scrollbar-base-color: var(--theme-bar-color-2);
    -ms-scrollbar-track-color: var(--theme-bar-color-3);
    scrollbar-color: var(--theme-bar-color-0) var(--theme-bar-color-2);
    scrollbar-width: thin;
    scrollbar-gutter: stable;
  }
  ::-webkit-scrollbar {
    width: 6px;
    height: 6px;
  }
  ::-webkit-scrollbar-thumb {
    background-color: var(--theme-bar-color-2);
    border-radius: 0.25em;
  }
  ::-webkit-scrollbar-track {
    background-color: var(--theme-bar-color-3);
  }
  ::-webkit-scrollbar-thumb:hover {
    background-color: var(--theme-bar-color-1);
  }
  ::-webkit-scrollbar-thumb:window-inactive {
    background-color: var(--theme-bar-color-3);
  }
}
aside {
  scrollbar-width: none;
  height: 100vh;
  position: sticky;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-content: stretch;
  overflow-y: auto;
  overflow-x: hidden;
  color: var(--theme-text-light);
  padding: 0 20px;
}
aside::-webkit-scrollbar {
  display: none;
}
aside::-ms-scrollbar {
  display: none;
}
aside h1 {
  transition: 0.6s;
  font-family: BenderLight, sans-serif;
  margin-top: 0;
}
aside footer {
  color: var(--theme-unimportant);
  padding: 0 3px 30px 3px;
  font-family: Bender;
  font-weight: bold;
}
#logo {
  user-select: none;
  width: 100%;
  height: 5px;
  display: inline-block;
  margin-bottom: 100%;
  padding: 0;
}
#logo img {
  width: 100%;
}
#Dr {
  text-align: center;
  margin-bottom: 0;
}
#Dr a {
  color: var(--theme-text-light);
}
#total {
  font-family: BenderLight;
}
#total div {
  display: inline-block;
}
#navigation,
#total {
  background-color: var(--theme-bg-trans1);
}
#total-archives {
  color: var(--theme-text-light);
  box-sizing: border-box;
  width: 100%;
  border-left: 5px solid var(--theme-border-light);
  padding: 0 0 0 10px;
  display: inline-block;
  transition: 0.3s;
}
#total-archives .total-title {
  font-size: 23px;
  display: block;
}
#total-archives .total-number {
  font-weight: bolder;
  padding: 0 10px;
  transition: 0.3s;
}
@media (min-width: 769px) {
  #total-archives:hover {
    border-color: var(--theme-highlight);
    background-color: var(--theme-bg-soft-hover);
  }
  #total-archives:hover .total-number {
    color: var(--theme-highlight);
  }
}
#total-tags,
#total-categories,
#total-view {
  margin: 5px;
}
#aside-block {
  flex-grow: 2;
  margin-top: 1em;
}
#aside-block h1 {
  color: var(--theme-text-rev);
  background-color: var(--theme-text-light);
  margin: 0;
  padding: 0 10px;
  font-size: medium;
}
#total-archives .total-number {
  letter-spacing: 2px;
}
#toc-div {
  background: linear-gradient(var(--theme-bg-trans1), var(--theme-bg-trans1) calc(100% - 15px), transparent);
}
@media (min-width: 769px) {
  #toc-div:hover h1 {
    background-color: var(--theme-highlight);
  }
}
#description p {
  margin: unset;
  text-align: center;
}
.icp-title,
.icp-content {
  display: inline-block;
  padding: 0 5px;
  height: 18px;
  color: #000;
  font-size: small;
  font-weight: normal;
  font-family: sans-serif;
  line-height: 18px;
}
.icp-title {
  background-color: var(--theme-highlight);
}
.icp-content {
  margin: 0 10px 0 0;
  padding: 0 28px 0 5px;
  background-color: #fff;
}
#toc-div {
  display: block;
}
#toc-div .toc {
  padding: 10px;
  margin: unset;
  list-style: none;
}
#toc-div .toc-child {
  padding-left: 1em;
  list-style: none;
}
@media (min-width: 769px) {
  #toc-div .toc-child {
    display: none;
  }
}
#toc-div .toc-item {
  overflow: hidden;
  margin: 2px 0;
  white-space: nowrap;
}
#toc-div .has-active {
  display: block;
}
#toc-div .toc-link {
  display: inline-block;
  overflow-y: auto;
  width: 100%;
  position: relative;
  scrollbar-width: none;
}
#toc-div .toc-link::-webkit-scrollbar {
  display: none;
}
#toc-div .toc-link::-ms-scrollbar {
  display: none;
}
@media (min-width: 769px) {
  #toc-div .toc-link:hover .toc-number {
    display: none;
  }
}
#toc-div .active {
  background-color: var(--theme-highlight);
  color: var(--theme-text-hover);
}
#toc-div .active .toc-number {
  display: none;
}
[theme-mode=dark] pre code.hljs {
  display: block;
  overflow-x: auto;
  padding: 1em;
}
[theme-mode=dark] code.hljs {
  padding: 3px 5px;
}
[theme-mode=dark] .hljs {
  color: #abb2bf;
  background: #282c34;
}
[theme-mode=dark] .hljs-keyword,
[theme-mode=dark] .hljs-operator,
[theme-mode=dark] .hljs-pattern-match {
  color: #f92672;
}
[theme-mode=dark] .hljs-function,
[theme-mode=dark] .hljs-pattern-match .hljs-constructor {
  color: #61aeee;
}
[theme-mode=dark] .hljs-function .hljs-params {
  color: #a6e22e;
}
[theme-mode=dark] .hljs-function .hljs-params .hljs-typing {
  color: #fd971f;
}
[theme-mode=dark] .hljs-module-access .hljs-module {
  color: #7e57c2;
}
[theme-mode=dark] .hljs-constructor {
  color: #e2b93d;
}
[theme-mode=dark] .hljs-constructor .hljs-string {
  color: #9ccc65;
}
[theme-mode=dark] .hljs-comment,
[theme-mode=dark] .hljs-quote {
  color: #b18eb1;
  font-style: italic;
}
[theme-mode=dark] .hljs-doctag,
[theme-mode=dark] .hljs-formula {
  color: #c678dd;
}
[theme-mode=dark] .hljs-deletion,
[theme-mode=dark] .hljs-name,
[theme-mode=dark] .hljs-section,
[theme-mode=dark] .hljs-selector-tag,
[theme-mode=dark] .hljs-subst {
  color: #e06c75;
}
[theme-mode=dark] .hljs-literal {
  color: #56b6c2;
}
[theme-mode=dark] .hljs-addition,
[theme-mode=dark] .hljs-attribute,
[theme-mode=dark] .hljs-meta .hljs-string,
[theme-mode=dark] .hljs-regexp,
[theme-mode=dark] .hljs-string {
  color: #98c379;
}
[theme-mode=dark] .hljs-built_in,
[theme-mode=dark] .hljs-class .hljs-title,
[theme-mode=dark] .hljs-title.class_ {
  color: #e6c07b;
}
[theme-mode=dark] .hljs-attr,
[theme-mode=dark] .hljs-number,
[theme-mode=dark] .hljs-selector-attr,
[theme-mode=dark] .hljs-selector-class,
[theme-mode=dark] .hljs-selector-pseudo,
[theme-mode=dark] .hljs-template-variable,
[theme-mode=dark] .hljs-type,
[theme-mode=dark] .hljs-variable {
  color: #d19a66;
}
[theme-mode=dark] .hljs-bullet,
[theme-mode=dark] .hljs-link,
[theme-mode=dark] .hljs-meta,
[theme-mode=dark] .hljs-selector-id,
[theme-mode=dark] .hljs-symbol,
[theme-mode=dark] .hljs-title {
  color: #61aeee;
}
[theme-mode=dark] .hljs-emphasis {
  font-style: italic;
}
[theme-mode=dark] .hljs-strong {
  font-weight: 700;
}
[theme-mode=dark] .hljs-link {
  text-decoration: underline;
}
[theme-mode=light] pre code.hljs {
  display: block;
  overflow-x: auto;
  padding: 1em;
}
[theme-mode=light] code.hljs {
  padding: 3px 5px;
}
[theme-mode=light] .hljs {
  color: #383a42;
  background: #fafafa;
}
[theme-mode=light] .hljs-comment,
[theme-mode=light] .hljs-quote {
  color: #a0a1a7;
  font-style: italic;
}
[theme-mode=light] .hljs-doctag,
[theme-mode=light] .hljs-formula,
[theme-mode=light] .hljs-keyword {
  color: #a626a4;
}
[theme-mode=light] .hljs-deletion,
[theme-mode=light] .hljs-name,
[theme-mode=light] .hljs-section,
[theme-mode=light] .hljs-selector-tag,
[theme-mode=light] .hljs-subst {
  color: #e45649;
}
[theme-mode=light] .hljs-literal {
  color: #0184bb;
}
[theme-mode=light] .hljs-addition,
[theme-mode=light] .hljs-attribute,
[theme-mode=light] .hljs-meta .hljs-string,
[theme-mode=light] .hljs-regexp,
[theme-mode=light] .hljs-string {
  color: #50a14f;
}
[theme-mode=light] .hljs-attr,
[theme-mode=light] .hljs-number,
[theme-mode=light] .hljs-selector-attr,
[theme-mode=light] .hljs-selector-class,
[theme-mode=light] .hljs-selector-pseudo,
[theme-mode=light] .hljs-template-variable,
[theme-mode=light] .hljs-type,
[theme-mode=light] .hljs-variable {
  color: #986801;
}
[theme-mode=light] .hljs-bullet,
[theme-mode=light] .hljs-link,
[theme-mode=light] .hljs-meta,
[theme-mode=light] .hljs-selector-id,
[theme-mode=light] .hljs-symbol,
[theme-mode=light] .hljs-title {
  color: #4078f2;
}
[theme-mode=light] .hljs-built_in,
[theme-mode=light] .hljs-class .hljs-title,
[theme-mode=light] .hljs-title.class_ {
  color: #c18401;
}
[theme-mode=light] .hljs-emphasis {
  font-style: italic;
}
[theme-mode=light] .hljs-strong {
  font-weight: 700;
}
[theme-mode=light] .hljs-link {
  text-decoration: underline;
}
:root {
  --dark-cursor: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAYAAAAGBAMAAAAS4vJ7AAAAElBMVEX///////////////////////+65XQCAAAABXRSTlPUzXppDN7WmLAAAAAZSURBVAjXY3ASVGEwDQ1mYA0NAGEQGyQGAC9SA/00lbgwAAAAAElFTkSuQmCC");
  --light-cursor: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAYAAAAGCAYAAADgzO9IAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAACxMAAAsTAQCanBgAAABESURBVBhXYwACHiCuAuKzUAxig8QYMoH4PxoGiTFcQRKA4StMQAIrYAZikApvMA8BGkASN4D4KxALAvFzIJ7CwMAwGwDaihLfRIaxUAAAAABJRU5ErkJggg");
  --theme-adm-warning: #fe2;
  --theme-adm-note: #2bf;
  --theme-adm-success: #00c853;
  --theme-adm-failure: #c0392b;
  --theme-adm-detail: var(--theme-ex-header);
}
.social,
#about {
  text-shadow: 2px 2px 4px var(--theme-text-rev);
}
.navBlock > .navItemTitle {
  text-shadow: 1px 1px 2px var(--theme-text-rev), 1px 1px 2px var(--theme-text-rev);
}
[theme-mode=light] .navItemTitle {
  font-weight: bold;
}
@media (min-width: 769px) {
  [theme-mode=light] aside img:hover {
    background-color: var(--theme-bg-soft);
  }
}
[theme-mode=light] button {
  text-shadow: 0 0 10px #000;
}
@media (min-width: 769px) {
  [theme-mode=light] #color-mode:hover::after {
    transform: rotate(-90deg);
  }
}
[theme-mode=light] #color-mode::after {
  transform: rotate(-180deg);
  animation: clockwise 0.3s;
}
@-moz-keyframes clockwise {
  0% {
    transform: rotate(-270deg);
  }
  100% {
    transform: rotate(-180deg);
  }
}
@-webkit-keyframes clockwise {
  0% {
    transform: rotate(-270deg);
  }
  100% {
    transform: rotate(-180deg);
  }
}
@-o-keyframes clockwise {
  0% {
    transform: rotate(-270deg);
  }
  100% {
    transform: rotate(-180deg);
  }
}
@keyframes clockwise {
  0% {
    transform: rotate(-270deg);
  }
  100% {
    transform: rotate(-180deg);
  }
}
@media (min-width: 769px) {
  [theme-mode=dark] #color-mode:hover::after {
    filter: invert(1);
  }
}
#post-bg,
h1,
h2,
h3,
h4,
h5,
h6 {
  transition: 1s;
}
@property --theme-bg-trans1 {
  syntax: '<color>';
  inherits: true;
  initial-value: #fff;
}
#aside-block {
  transition: --theme-bg-trans1 1s;
}
:root[theme-mode=dark] {
  --cursor-data: var(--dark-cursor);
  --body-background: var(--dark-background);
  --theme-highlight: #2bf;
  --theme-subcolor: #fe2;
  --theme-stress: #c0392b;
  --theme-bar-color-0: #fe2;
  --theme-bar-color-1: rgba(255,238,34,0.667);
  --theme-bar-color-2: rgba(255,238,34,0.267);
  --theme-bar-color-3: rgba(255,238,34,0.133);
  --theme-kbd-shadow: #ba2;
  --theme-kbd-text: #000;
  --theme-cursor: #ccc;
  --theme-cursor-bg: rgba(255,255,255,0.533);
  --theme-text-hover: #000;
  --theme-text: #c4c4c4;
  --theme-text-light: #fff;
  --theme-text-rev: #000;
  --theme-background: #141516;
  --theme-bg-trans0: rgba(20,21,22,0.95);
  --theme-bg-trans1: rgba(20,21,22,0.8);
  --theme-bg-trans2: rgba(50,52,54,0.8);
  --theme-bg-hover: #000;
  --theme-bg-light: #fff;
  --theme-bg-soft: rgba(255,255,255,0.05);
  --theme-bg-soft-hover: rgba(255,255,255,0.1);
  --theme-ex-header: rgba(255,255,255,0.3);
  --theme-btn-bg: #d4d8dd;
  --theme-border: #fe2;
  --theme-border-light: #fff;
  --theme-border-soft: rgba(255,255,255,0.1);
  --theme-unimportant: #898989;
  --theme-unimportant-trans: rgba(137,137,137,0.4);
  --theme-unimportant-2: #535353;
  --theme-td-border: #2bf;
  --theme-td-hover: rgba(34,187,255,0.1);
  --theme-tag-bg: #313131;
  --theme-tag-count-bg: #494949;
  --theme-tag-border: #313131;
  --theme-loadingbar: #fff;
  --theme-loadingbar-fail: #f00;
  --theme-hide: #000;
}
:root[theme-mode=light] {
  --cursor-data: var(--light-cursor);
  --body-background: var(--light-background);
  --theme-highlight: #2bf;
  --theme-subcolor: #fe2;
  --theme-stress: #c0392b;
  --theme-bar-color-0: #fe2;
  --theme-bar-color-1: rgba(255,238,34,0.733);
  --theme-bar-color-2: rgba(255,238,34,0.533);
  --theme-bar-color-3: rgba(255,238,34,0.333);
  --theme-kbd-shadow: #ba2;
  --theme-kbd-text: #000;
  --theme-cursor: #333;
  --theme-cursor-bg: rgba(0,0,0,0.267);
  --theme-text-hover: #000;
  --theme-text: #222;
  --theme-text-light: #000;
  --theme-text-rev: #fff;
  --theme-background: #f4f5f6;
  --theme-bg-trans0: rgba(244,245,246,0.95);
  --theme-bg-trans1: rgba(244,245,246,0.8);
  --theme-bg-trans2: rgba(244,245,246,0.9);
  --theme-bg-hover: #fff;
  --theme-bg-light: #000;
  --theme-bg-soft: rgba(255,255,255,0.3);
  --theme-bg-soft-hover: rgba(255,255,255,0.6);
  --theme-ex-header: #c0c0c0;
  --theme-btn-bg: #2a272d;
  --theme-border: #fe2;
  --theme-border-light: #000;
  --theme-border-soft: rgba(0,0,0,0.1);
  --theme-unimportant: #767676;
  --theme-unimportant-trans: rgba(118,118,118,0.4);
  --theme-unimportant-2: #acacac;
  --theme-td-border: #2bf;
  --theme-td-hover: rgba(34,187,255,0.1);
  --theme-tag-bg: #cecece;
  --theme-tag-count-bg: #bababa;
  --theme-tag-border: #cecece;
  --theme-loadingbar: #000;
  --theme-loadingbar-fail: #f00;
  --theme-hide: #fff;
}
@media (max-width: 768px) {
  header {
    left: 0;
  }
  header .navContent {
    padding-left: 0;
  }
}
@media (max-width: 1023px) {
  main header {
    width: 428px;
    max-width: 100%;
    position: fixed;
  }
  nav {
    max-width: 428px;
    height: max-content;
    min-height: 100vh;
    background-color: var(--theme-bg-trans0);
    transform: translateX(-100%);
    transition: transform 0.6s;
    pointer-events: all;
  }
  .navItem {
    padding: 0.2em 4em;
  }
  .navContent {
    overflow-y: auto;
    width: 100%;
    transition: transform 0.6s;
  }
  .navBlock {
    padding: unset;
    box-sizing: border-box;
  }
  .navItemTitle {
    padding: 0 0.2em 5px 0.2em;
    color: var(--theme-text-light);
    border-bottom: 1px solid var(--theme-unimportant);
  }
  .active > div > .navItemTitle::before {
    border-color: var(--theme-highlight);
  }
  .expanded > nav {
    transform: translateX(0);
  }
  .navItemList {
    box-sizing: border-box;
  }
}
@media (min-width: 1024px) {
  header {
    width: 180px;
  }
  .navItem {
    width: 120px;
  }
  .navBlock {
    position: relative;
    padding: 6em 0;
  }
  .navItemTitle {
    color: var(--theme-text-light);
  }
  .navItemTitle::before {
    height: 100%;
    top: 0;
    box-sizing: border-box;
  }
}
@media (min-width: 1440px) {
  header {
    width: 240px;
  }
  .navItem {
    width: 150px;
  }
}
@media (min-width: 1912px) {
  header {
    width: 310px;
  }
}
header {
  pointer-events: none;
  top: 0;
  z-index: 15;
  height: 100%;
  font-family: Bender;
  display: inline;
  position: sticky;
}
nav {
  position: relative;
  height: 100%;
  white-space: nowrap;
  scrollbar-width: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
nav::-webkit-scrollbar {
  display: none;
}
nav::-ms-scrollbar {
  display: none;
}
nav li {
  display: block;
}
.navBlock {
  transition: unset;
  position: relative;
  height: 40px;
  line-height: 40px;
  display: inline-block;
  width: 100%;
}
.navBlock:hover {
  background-color: unset;
}
.navBlock:active {
  background: unset;
}
.navContent {
  overflow: visible;
  margin: unset;
  position: relative;
  padding: 0;
  pointer-events: all;
}
.navItem {
  overflow: visible;
  position: relative;
  margin: unset;
  transition: 0.6s;
}
.navItem .navItemTitle {
  transition: 0.3s;
  width: 100%;
  box-sizing: border-box;
  overflow-wrap: break-word;
  white-space: normal;
  position: relative;
  display: block;
}
.active > .navBlock > .navItemTitle {
  color: var(--theme-highlight);
}
.active > .navBlock > .navItemTitle::before {
  content: '';
  display: block;
  color: var(--theme-highlight);
  border-color: var(--theme-highlight);
  width: 100%;
  position: absolute;
  left: 0;
}
.navBtn {
  transition: transform 0.3s;
  pointer-events: all;
  display: none;
  position: fixed;
  top: 1em;
  font-size: 2em;
  z-index: 10;
}
.navBtnIcon {
  z-index: 10;
  width: 1em;
  height: 1em;
  display: block;
  position: relative;
}
.navBtnIconBar {
  position: absolute;
  top: 50%;
  width: 1em;
  height: 0.1em;
  background-color: var(--theme-btn-bg);
  text-indent: 101%;
  white-space: nowrap;
  overflow: hidden;
  transition: transform ease-in-out 0.3s;
  box-shadow: 0 0 5px var(--theme-bg-hover), 0 0 5px var(--theme-bg-hover);
  left: 0;
}
.navBtnIconBar:nth-child(1) {
  transform: translate(0, -350%);
}
.navBtnIconBar:nth-child(2) {
  transform: translate(0, -50%);
}
.navBtnIconBar:nth-child(3) {
  transform: translate(0, 250%);
}
.expanded .navBtnIconBar {
  box-shadow: unset;
}
.expanded .navBtnIconBar:nth-child(1) {
  transform: translate(0, -50%) rotateZ(45deg) scaleX(0.5) translate(-50%);
}
.expanded .navBtnIconBar:nth-child(3) {
  transform: translate(0, -50%) rotateZ(45deg) scaleX(0.5) translate(50%);
}
.expanded .navBtnIconBar:nth-child(2) {
  transform: translate(0, -50%) rotateZ(-45deg);
}
@media (max-width: 1023px) {
  .navBtn {
    display: block;
    left: 1em;
  }
  .hide-btn.navBtn {
    transform: translateY(-2em);
  }
}
.navItemList {
  display: none;
  overflow: visible;
  top: 0;
  text-align: left;
  background-color: var(--theme-background);
  padding: 0;
  width: 100%;
}
.navItemList .navItem {
  padding: unset;
  min-width: max-content;
  margin: 0;
}
.navItemList a {
  min-width: max-content;
  padding: 0;
  display: block;
  width: 100%;
  line-height: 40px;
}
.navItemList a:hover > .navItemTitle {
  color: var(--theme-text-hover);
}
@media (max-width: 1023px) {
  .navItemList {
    padding-left: 1em;
  }
  .expanded > .navItemList {
    display: inline-block;
  }
  .expanded > .navItemTitle::before {
    transform: rotate(135deg);
  }
}
@media (min-width: 1024px) {
  .navSecond {
    left: 0;
    transition: 0.3s;
    position: relative;
  }
  .navSecond:hover {
    transition: 0.3s;
  }
  .navSecond:hover::after {
    content: '';
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0;
  }
  .navItemList {
    position: absolute;
  }
  .navItem > div:hover > .navItemList {
    display: inline-block;
  }
}
@media (max-width: 768px) {
  main {
    padding: 0 12px;
  }
  article {
    border: none;
    width: 100%;
    max-height: none;
  }
  article #post-bg {
    padding: 10px 10px 0 10px;
  }
  .highlight,
  blockquote {
    margin: 1em 0;
  }
  aside {
    position: static;
    width: 100%;
    height: auto;
    padding: 0;
  }
  aside h1 {
    font-size: xx-large;
    text-align: center;
    margin: 0;
  }
  aside footer {
    text-align: center;
    padding: 10px 0;
    position: static;
  }
  #toc-div {
    z-index: 65534;
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 20vw;
    transform: translateX(100vw);
    background: var(--theme-bg-trans0);
    transition: 0.6s;
    height: 100vh;
    width: 80vw;
  }
  #toc-div .toc {
    margin-block: auto;
  }
  #toc-div.open {
    transform: translateX(0);
  }
  #paginator {
    margin: 20px 0 0 0;
  }
  #paginator a,
  #paginator span {
    margin: 5px 5px 0 0;
  }
  #post-index {
    margin: 0;
  }
  #logo {
    height: 0;
    margin: 0;
  }
  #logo img {
    opacity: 0.05;
    position: fixed;
    bottom: -50px;
    left: -46%;
    pointer-events: none;
  }
  #total {
    text-align: center;
    margin: 0;
  }
  #total .total-title {
    font-size: medium;
  }
  #total-archives {
    width: auto;
  }
  #total-archives .total-title {
    display: inline-block;
  }
  #post-index {
    margin: 16px 10px 0 10px;
  }
  #archive-flex {
    flex-direction: column;
  }
  #archive-aside {
    order: 1;
  }
  #Categories {
    margin: 10px;
  }
  #cursor-container {
    display: none;
  }
  #Archives {
    margin: 0;
  }
  #Archives time {
    color: var(--theme-text-light);
    padding: 0;
  }
  #Archives .control {
    width: 55px;
  }
}
@media (min-width: 769px) {
  main {
    display: flex;
    justify-content: space-between;
  }
  article {
    width: calc(95% - 212px);
  }
  #total-archives .total-number {
    font-size: 34px;
  }
  #to-index {
    display: none;
  }
  aside {
    top: 0;
    width: 170px;
  }
  aside h1 {
    font-size: xx-large;
  }
  aside img {
    transition: background-color 1s;
  }
  aside img:hover {
    background-color: var(--theme-bg-soft-hover);
  }
  #description p {
    font-size: small;
  }
  #archive-aside {
    position: sticky;
    max-width: 36%;
  }
}
@media (min-width: 1024px) {
  article {
    width: calc(100% - 412px);
  }
  aside {
    width: 190px;
  }
  aside h1 {
    font-size: 45px;
  }
  #total-archives .total-number {
    font-size: 40px;
  }
  #description p {
    font-size: medium;
  }
}
@media (min-width: 1440px) {
  article {
    width: calc(100% - 520px);
  }
  aside {
    width: 230px;
  }
  aside h1 {
    font-size: 50px;
  }
  #total-archives .total-title {
    font-size: 32px;
  }
  #total-archives .total-number {
    font-size: 48px;
  }
  #total-tags,
  #total-categories {
    font-size: 23px;
  }
  .recent-post img {
    width: 90%;
    margin: 0 auto;
    display: block;
    position: relative;
  }
}
@media (min-width: 1912px) {
  article {
    width: calc(95% - 630px);
  }
  aside {
    width: 270px;
  }
  aside h1 {
    font-size: 55px;
  }
  #total-archives .total-title {
    font-size: 37px;
  }
  #total-tags,
  #total-categories {
    font-size: 28px;
  }
  .search-pop-overlay .popup {
    left: 65%;
  }
  .recent-post img {
    width: 80%;
  }
}
@media (max-width: 1023px) {
  :is(.moving,
  .up) nav {
    overflow: visible;
  }
  .moving {
    pointer-events: none;
  }
  .moving .navBtn {
    pointer-events: none;
  }
  .moving .navContent {
    overflow: visible;
  }
  :is(.up,
  .moving) main {
    overflow: hidden;
  }
  .up article {
    margin-top: 50px;
  }
  .up .closed .navBtn {
    transform: translateY(-0.5em);
  }
  .up .closed .navContent {
    overflow: visible;
  }
}
@media (max-width: 768px) {
  .up article {
    margin-top: 60px;
  }
}
aside {
  order: -1;
}
@media (min-width: 769px) {
  aside {
    left: 0;
  }
}
@media (min-width: 992px) {
  aside {
    padding: 0 15px 0 25px;
  }
}
@media (min-width: 1440px) {
  aside {
    margin-right: 10px;
  }
}
@media (min-width: 1912px) {
  article {
    margin: 0 2.5%;
  }
}
header {
  order: 1;
}
@media (min-width: 769px) {
  header {
    left: 238px;
  }
  .navBtn {
    left: 1em;
  }
}
@media (max-width: 1023px) {
  .navItemTitle:not(:only-child)::before {
    content: '';
    display: inline-block;
    height: 6px;
    width: 6px;
    border-right: 2px solid var(--theme-highlight);
    border-top: 2px solid var(--theme-highlight);
    margin: 7px 7px 2px 2px;
    transform: rotate(45deg);
  }
}
@media (min-width: 1024px) {
  header {
    left: unset;
    right: 0;
  }
  .navContent {
    display: flex;
    flex-direction: column;
    transform: unset;
  }
  .navItem {
    align-self: end;
    padding-right: 1.2em;
  }
  .navItem .navItemTitle {
    padding-left: 4px;
  }
  .navBlock .navItemTitle:only-child::before {
    border-right: 4px solid;
  }
  .navContent .navBlock::before {
    content: '';
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    right: 2em;
  }
  .navContent .navBlock:hover > .navItemTitle {
    margin-left: -1em;
  }
  .navContent .navBlock > .navItemList {
    right: calc(100% + 2em);
  }
  .navItemList {
    right: 100%;
  }
  .navItemList .navItemTitle {
    text-align: right;
    padding-right: 0.8em;
    padding-left: 0.5em;
  }
  .navItemList::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: calc(100% + 1em);
    height: 100%;
  }
  a.navSecond > .navItemTitle {
    padding-right: 1em;
  }
  div.navSecond > .navItemTitle {
    padding-right: 2px;
  }
  .navSecond:not(a):hover {
    left: -0.8em;
  }
  .navSecond:hover::after {
    left: 0.8em;
  }
  .navItemTitle:not(:only-child)::after {
    box-sizing: border-box;
    content: '';
    display: inline-block;
    height: 6px;
    width: 6px;
    border-left: 2px solid var(--theme-highlight);
    border-bottom: 2px solid var(--theme-highlight);
    margin: 7px 2px 2px 7px;
    transform: rotate(45deg);
  }
}
@media (min-width: 1440px) {
  .navItem {
    padding-right: 2.25em;
  }
}
@media (min-width: 1912px) {
  .navItem {
    padding-right: 5.25em;
  }
}
#canvas-dust {
  z-index: -65536;
  pointer-events: none;
  position: fixed;
  top: 0;
  left: 0;
}
@media (max-width: 1023px) {
  .moving {
    pointer-events: none;
  }
  .moving .navBtn {
    pointer-events: none;
  }
  .moving .search-header,
  .moving .search-popup {
    transition: unset;
    pointer-events: none;
  }
  .moving .navContent {
    overflow: visible;
  }
  .up .search-popup {
    left: 100vw;
  }
  .up article {
    margin-top: 50px;
  }
  .up .closed .navBtn {
    transform: translateY(-0.5em);
  }
  .up .closed .navContent {
    overflow: visible;
  }
  .up #search-header {
    padding: 0.5em 2em 0 5em;
    animation: get-in-top 0.3s;
    position: absolute;
  }
  .up #search-header input {
    animation: none;
  }
  .up .search-popup {
    top: 55px;
    height: calc(100vh - 55px);
    background-color: var(--theme-bg-trans0);
    transform: translateX(100%);
  }
  #search-header {
    transition: unset;
    top: 0;
    width: 100%;
    box-sizing: border-box;
  }
  #search-header .navItemTitle {
    border-color: var(--theme-border-light);
  }
  .down.moving header:not(.expanded) #search-header {
    animation: get-out-top 0.3s;
  }
  .search-popup {
    left: 0;
    right: 0;
    transform: translateX(-100%);
  }
  .search-popup.open {
    transform: translateX(0);
  }
}
@media (max-width: 768px) {
  .up header:not(.expanded) #search-header {
    left: 100vw;
  }
  .up article {
    margin-top: 60px;
  }
}
@media (min-width: 769px) {
@-moz-keyframes get-out-top {
    0% {
      padding: 0.5em 2em 0 5em;
      left: calc(100vw - 238px);
      transform: translate(0, 0);
      position: absolute;
    }
    100% {
      padding: 0.5em 2em 0 5em;
      left: calc(100vw - 238px);
      position: absolute;
      transform: translate(0, -100%);
    }
}
@-webkit-keyframes get-out-top {
    0% {
      padding: 0.5em 2em 0 5em;
      left: calc(100vw - 238px);
      transform: translate(0, 0);
      position: absolute;
    }
    100% {
      padding: 0.5em 2em 0 5em;
      left: calc(100vw - 238px);
      position: absolute;
      transform: translate(0, -100%);
    }
}
@-o-keyframes get-out-top {
    0% {
      padding: 0.5em 2em 0 5em;
      left: calc(100vw - 238px);
      transform: translate(0, 0);
      position: absolute;
    }
    100% {
      padding: 0.5em 2em 0 5em;
      left: calc(100vw - 238px);
      position: absolute;
      transform: translate(0, -100%);
    }
}
@keyframes get-out-top {
    0% {
      padding: 0.5em 2em 0 5em;
      left: calc(100vw - 238px);
      transform: translate(0, 0);
      position: absolute;
    }
    100% {
      padding: 0.5em 2em 0 5em;
      left: calc(100vw - 238px);
      position: absolute;
      transform: translate(0, -100%);
    }
}
}
@media (max-width: 768px) {
@-moz-keyframes get-out-top {
    0% {
      padding: 0.5em 2em 0 5em;
      left: 100vw;
      transform: translate(0, 0);
      position: absolute;
    }
    100% {
      padding: 0.5em 2em 0 5em;
      left: 100vw;
      position: absolute;
      transform: translate(0, -100%);
    }
}
@-webkit-keyframes get-out-top {
    0% {
      padding: 0.5em 2em 0 5em;
      left: 100vw;
      transform: translate(0, 0);
      position: absolute;
    }
    100% {
      padding: 0.5em 2em 0 5em;
      left: 100vw;
      position: absolute;
      transform: translate(0, -100%);
    }
}
@-o-keyframes get-out-top {
    0% {
      padding: 0.5em 2em 0 5em;
      left: 100vw;
      transform: translate(0, 0);
      position: absolute;
    }
    100% {
      padding: 0.5em 2em 0 5em;
      left: 100vw;
      position: absolute;
      transform: translate(0, -100%);
    }
}
@keyframes get-out-top {
    0% {
      padding: 0.5em 2em 0 5em;
      left: 100vw;
      transform: translate(0, 0);
      position: absolute;
    }
    100% {
      padding: 0.5em 2em 0 5em;
      left: 100vw;
      position: absolute;
      transform: translate(0, -100%);
    }
}
}
@-moz-keyframes get-in-top {
  0% {
    padding: 0.5em 2em 0 5em;
    transform: translate(0, -100%);
  }
  100% {
    padding: 0.5em 2em 0 5em;
    transform: translate(0, 0);
  }
}
@-webkit-keyframes get-in-top {
  0% {
    padding: 0.5em 2em 0 5em;
    transform: translate(0, -100%);
  }
  100% {
    padding: 0.5em 2em 0 5em;
    transform: translate(0, 0);
  }
}
@-o-keyframes get-in-top {
  0% {
    padding: 0.5em 2em 0 5em;
    transform: translate(0, -100%);
  }
  100% {
    padding: 0.5em 2em 0 5em;
    transform: translate(0, 0);
  }
}
@keyframes get-in-top {
  0% {
    padding: 0.5em 2em 0 5em;
    transform: translate(0, -100%);
  }
  100% {
    padding: 0.5em 2em 0 5em;
    transform: translate(0, 0);
  }
}
#search-header {
  pointer-events: all;
  position: relative;
}
#search-header input {
  padding: unset;
  box-sizing: border-box;
  color: var(--theme-text-light);
  position: relative;
  font-size: 15px;
  height: 40px;
  background-color: unset;
  border: unset;
  outline: none;
  width: 100%;
}
#search-header input::placeholder {
  transition: 0.3s;
}
#search-header .navItemTitle {
  overflow: hidden;
}
#search-header .navItemTitle:hover {
  margin: unset;
}
#search-header .navItemTitle::before,
#search-header .navItemTitle::after {
  display: block;
  content: '';
  position: absolute;
}
#search-holder {
  display: none;
}
@media (min-width: 1024px) {
  #search-holder {
    height: 40px;
  }
}
@media (max-width: 1023px) {
  #search-holder {
    height: 2.82em;
  }
}
.search #search-holder {
  display: block;
}
main:not(.up) .search #search-header {
  position: absolute;
  top: 40px;
}
main:not(.up) .search #search-header input {
  animation: get-out 0.6s;
}
@media (min-width: 1024px) {
  .search-popup {
    background-color: var(--theme-bg-trans0);
  }
  #search-header .navItemTitle::before {
    z-index: -2;
  }
  #search-header .navItemTitle::after {
    top: 0;
    width: 0;
    height: 100%;
    transition: 0.3s;
    z-index: -1;
    background-color: var(--theme-highlight);
  }
  #search-header .navItemTitle:hover input::placeholder {
    transition: 0.3s;
    color: var(--theme-text-hover);
  }
  #search-header .navItemTitle:hover::after {
    transition: 0.3s;
    width: 100%;
    background-color: var(--theme-highlight);
  }
}
.search-popup {
  scrollbar-width: thin;
  pointer-events: all;
  z-index: 20;
  transition: transform 0.6s;
  overflow-wrap: anywhere;
  position: fixed;
  top: 90px;
  height: calc(100vh - 90px);
  width: 32%;
  padding: 0 0 0 1px;
  overflow-y: auto;
}
@media (max-width: 1023px) {
  .search-popup {
    width: 428px;
    max-width: 100%;
  }
}
#loading {
  font-family: 'JetBrains Mono';
  display: flex;
  justify-content: center;
}
#loading div {
  display: inline-block;
}
#loading p {
  animation: 2s loading infinite steps(4, jump-none);
  overflow-wrap: normal;
  overflow: hidden;
  display: table-caption;
}
#search-result {
  width: 100%;
}
#search-result .recent-post {
  font-family: 'JetBrains Mono';
  margin: 0;
  padding: 8px;
  border: none;
  border-top: 1px solid var(--theme-border-soft);
  border-bottom: 1px solid var(--theme-border-soft);
  overflow: hidden;
}
#search-result .recent-post p {
  margin: 0.5em;
  max-height: 40px;
  white-space: initial;
  overflow: hidden;
}
#search-result .recent-post b {
  color: var(--theme-text-light);
}
#search-result .recent-post:hover .search-keyword {
  color: var(--theme-subcolor);
  transition: 0.3s;
  background-color: unset;
}
#search-result .recent-post .search-keyword {
  background-color: var(--theme-highlight);
  color: var(--theme-text-light);
}
#search-result .recent-post .search-result-title {
  font-size: 1.1em;
}
#no-result p {
  text-align: center;
}
@media (min-width: 1024px) {
  .blur article,
  .blur aside,
  .blur #canvas-dust {
    filter: blur(0.8px);
  }
}
@-moz-keyframes loading {
  0% {
    width: calc(100% - 1.5em);
  }
  100% {
    width: 100%;
  }
}
@-webkit-keyframes loading {
  0% {
    width: calc(100% - 1.5em);
  }
  100% {
    width: 100%;
  }
}
@-o-keyframes loading {
  0% {
    width: calc(100% - 1.5em);
  }
  100% {
    width: 100%;
  }
}
@keyframes loading {
  0% {
    width: calc(100% - 1.5em);
  }
  100% {
    width: 100%;
  }
}
@media (max-width: 1023px) {
  .search .navItem:not(#search-header) {
    transform: translateX(-100%);
    pointer-events: none;
  }
}
@media (min-width: 769px) and (max-width: 1023px) {
  .up #search-header {
    left: calc(100vw - 238px);
  }
  .up .search-popup {
    left: calc(100vw - 238px);
    right: 0;
    transform: translateX(100%);
  }
  .up .search-popup.open {
    transform: translateX(0);
  }
  .navBtn {
    left: calc(238px + 1em);
  }
  header {
    clip-path: polygon(0 0, 0 100%, 100vw 100%, 100vw 0);
  }
}
@media (min-width: 1024px) {
  nav.search,
  nav.search-moving {
    overflow: hidden;
  }
  .search .navItem:not(#search-header) {
    transform: translateX(100%);
    pointer-event: none;
  }
  .search-popup {
    right: 0;
    transform: translateX(100%);
  }
  .search-popup.open {
    transform: translateX(-6px);
  }
  #search-header input {
    padding: 0 10px 0 0;
  }
  #search-header .navItemTitle {
    right: 10px;
  }
  #search-header .navItemTitle::before {
    border-right: 4px solid var(--theme-border-light);
    right: 0;
  }
  #search-header .navItemTitle::after {
    right: 0;
  }
}
.loading {
  --loadingbar: var(--theme-loadingbar);
}
.loading.fail {
  --loadingbar: var(--theme-loadingbar-fail);
}
.loading {
  opacity: 0;
  transition: opacity 0.3s;
}
.loading.reset .loadingBar {
  transition: unset;
}
.loading .loadingBar {
  z-index: 100;
  position: fixed;
  top: 0;
  border-bottom: 1px solid var(--loadingbar);
  width: 50%;
  transition: transform 0.6s;
}
.loading .loadingBar::before {
  width: 20px;
}
.loading .loadingBar::after {
  width: 1px;
}
.loading .left {
  left: 0;
  transform-origin: left;
}
.loading .left::before {
  box-shadow: 10px 0 15px 1px var(--loadingbar);
  right: 0;
}
.loading .left::after {
  box-shadow: 0.5px 0 8px 2px var(--loadingbar), 0.5px 0 2px 1px var(--loadingbar);
  right: 0;
}
.loading .right {
  right: 0;
  transform-origin: right;
}
.loading .right::before {
  box-shadow: -10px 0 15px 1px var(--loadingbar);
  left: 0;
}
.loading .right::after {
  box-shadow: -0.5px 0 8px 2px var(--loadingbar), -0.5px 0 2px 1px var(--loadingbar);
  left: 0;
}
.loadingBar::before,
.loadingBar::after {
  content: '';
  display: block;
  position: absolute;
  top: 0;
  height: 1px;
}
.pjax-out {
  pointer-events: none;
  position: absolute !important;
  animation: 0.6s pjax-animate-out;
}
.pjax-in {
  pointer-events: none;
  position: absolute !important;
  animation: 0.6s pjax-animate-in;
}
:is(#paginator,
.bottom-btn):is(.pjax-in,
.pjax-out) {
  visibility: hidden;
  pointer-events: none;
}
@-moz-keyframes pjax-animate-in {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@-webkit-keyframes pjax-animate-in {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@-o-keyframes pjax-animate-in {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@keyframes pjax-animate-in {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@-moz-keyframes pjax-animate-out {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
@-webkit-keyframes pjax-animate-out {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
@-o-keyframes pjax-animate-out {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
@keyframes pjax-animate-out {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
.admonition > .ex-header:nth-child(2) {
  margin-right: 2px;
}
.i-adm {
  display: inline-block;
  height: 20px;
  width: 20px;
  margin-right: 2px;
  background: var(--theme-text-light);
}
.i-note {
  mask-image: var(--adm-icon-note);
  -webkit-mask-image: var(--adm-icon-note);
}
.admonition.adm-note {
  --ex-color: var(--theme-adm-note);
}
.i-warning {
  mask-image: var(--adm-icon-warning);
  -webkit-mask-image: var(--adm-icon-warning);
}
.admonition.adm-warning {
  --ex-color: var(--theme-adm-warning);
}
.i-success {
  mask-image: var(--adm-icon-success);
  -webkit-mask-image: var(--adm-icon-success);
}
.admonition.adm-success {
  --ex-color: var(--theme-adm-success);
}
.i-failure {
  mask-image: var(--adm-icon-failure);
  -webkit-mask-image: var(--adm-icon-failure);
}
.admonition.adm-failure {
  --ex-color: var(--theme-adm-failure);
}
.admonition.adm-detail {
  --ex-color: var(--theme-adm-detail);
}

:root {
  --adm-icon-note: url('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2m3.1 5.07c.14 0 .28.05.4.16l1.27 1.27c.23.22.23.57 0 .78l-1 1-2.05-2.05 1-1c.1-.11.24-.16.38-.16m-1.97 1.74 2.06 2.06-6.06 6.06H7.07v-2.06l6.06-6.06Z"/></svg>');
  --adm-icon-success: url('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M21 7 9 19l-5.5-5.5 1.41-1.41L9 16.17 19.59 5.59 21 7Z"/></svg>');
  --adm-icon-warning: url('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M13 14h-2V9h2m0 9h-2v-2h2M1 21h22L12 2 1 21Z"/></svg>');
  --adm-icon-failure: url('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12 19 6.41Z"/></svg>');
}
.hide {
  transition: 0.1s;
  background: var(--theme-hide);
  padding: 5px;
}
.hide p {
  display: inline;
}
.hide code {
  box-sizing: border-box;
}
.hide:hover code {
  border: 1px solid var(--theme-border-soft);
}
.hide:not(:hover) {
  color: var(--theme-hide);
}
.hide:not(:hover) code {
  border: 1px solid transparent;
  background: var(--theme-hide);
}
.hide:not(:hover) strong,
.hide:not(:hover) em,
.hide:not(:hover) p,
.hide:not(:hover) i,
.hide:not(:hover) a {
  color: var(--theme-hide);
}
.hide:not(:hover) strong,
.hide:not(:hover) em,
.hide:not(:hover) p,
.hide:not(:hover) i,
.hide:not(:hover) a,
.hide:not(:hover) span {
  transition: 0.1s;
}
.link-card {
  --card-title: var(--theme-text-light);
  --card-text: var(--theme-text);
  --card-bg: var(--theme-bg-soft);
  --card-bg-hover: var(--theme-bg-soft-hover);
  --card-out: transparent;
  --card-out-hover: var(--theme-highlight);
  --card-border: var(--theme-text-light);
  --card-border-hover: var(--theme-highlight);
  --card-line: var(--theme-border-soft);
}
.link-card {
  display: inline-block;
  width: 320px;
  padding: unset;
  margin: 0.5em 1em;
  position: relative;
  z-index: 1;
}
.link-card:hover {
  background-color: var(--card-bg-hover);
}
.link-card:hover::before {
  --card-out: var(--card-out-hover);
}
.link-card:hover .link-main {
  border-left: 2px solid var(--card-border-hover);
}
.link-card img {
  max-height: 100%;
  max-width: 100%;
  display: block;
  border-bottom: 1px solid var(--card-line);
  margin-bottom: -1px;
}
.link-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  transition: --card-out 0.3s;
  box-shadow: 0 0 5px inset var(--card-out);
}
.link-main {
  transition: border-color 0.3s;
  background-color: var(--card-bg);
  border-left: 2px solid var(--card-border);
  display: flex;
  align-items: center;
  height: 4em;
  padding: 0.5em;
}
.link-main .link-ico {
  height: 50px;
  width: 50px;
}
.link-main .link-ico img {
  border-radius: 50%;
}
.link-main .link-ico.link-full {
  width: 100%;
  display: flex;
  justify-content: center;
}
.link-main .link-data {
  padding: 0 0.5em;
  width: calc(100% - 50px);
  box-sizing: border-box;
}
.link-main .link-data.link-full {
  width: 100%;
}
.link-main .link-title {
  color: var(--card-title);
  font-size: 1.2em;
}
.link-main .link-descr {
  color: var(--card-text);
  font-family: BenderLight, FangSong, sans-serif;
  min-height: 36px;
}
.link-main .link-descr.link-full {
  height: 54px;
  -webkit-line-clamp: 3;
}
.link-main.link-simple {
  min-height: 3em;
  height: max-content;
}
.link-background {
  position: relative;
  z-index: -1;
}
.expand-box {
  --ex-color: var(--theme-ex-header);
  margin: 1em;
  border-left: 5px solid;
  border-color: var(--ex-color);
}
.expand-box > .ex-header::before {
  content: '';
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--ex-color);
  opacity: 0.6;
}
.ex-header {
  position: relative;
  padding: 7px 0px 7px 8px;
  overflow: hidden;
  min-height: 20px;
  user-select: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--theme-text-light);
}
.ex-header:focus-visible {
  outline: #fff auto 1px;
}
.ex-title {
  z-index: 1;
  flex-grow: 1;
}
.i-status {
  font-style: normal;
  display: inline-block;
  width: 20px;
  height: 20px;
  margin-right: 5px;
}
.i-status::before {
  content: '';
  display: block;
  height: 6px;
  width: 6px;
  border-top: 2px solid var(--theme-text-light);
  border-right: 2px solid var(--theme-text-light);
  margin: 7px 7px 5px 5px;
}
.ex-content {
  position: relative;
  overflow-y: hidden;
  max-height: 0;
  padding-left: 20px;
  background-color: var(--theme-bg-soft);
}
.ex-content:hover {
  background-color: var(--theme-bg-soft-hover);
}
.open > .ex-content {
  transition: max-height 0.5s cubic-bezier(0.5, 0, 1, 0), background 0.3s;
  max-height: 10000px;
}
.open > div > .i-status {
  transform: rotate(135deg);
  transition: transform 0.2s ease;
}
.fold > .ex-content {
  transition: max-height 0.5s cubic-bezier(0, 1, 0, 1) -0.1s, background 0.3s;
  max-height: 0;
}
.fold > div > .i-status {
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}
#social-links {
  margin-top: 0.5em;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}
.social {
  padding: 0 3px;
  display: inline-block;
  height: 1.2em;
  font-size: 1.2em;
}
.social.img {
  padding: 0;
}
.social.img img {
  height: 1.2em;
}
.gt-container {
  box-sizing: border-box;
  font-size: 16px;
  -webkit-box-sizing: border-box;
}
.gt-container * {
  box-sizing: border-box;
  -webkit-box-sizing: border-box;
}
.gt-container a.is--active {
  color: var(--theme-unimportant-2);
  pointer-events: none;
}
.gt-container a.is--active:hover {
  background: unset;
  color: var(--theme-unimportant-2);
}
.gt-container .hide {
  display: none !important;
}
.gt-container .gt-svg {
  position: relative;
  top: -2px;
  display: inline-block;
  width: 1em;
  height: 1em;
  vertical-align: sub;
  transition: 0.3s;
}
.gt-container .gt-svg svg {
  width: 100%;
  height: 100%;
}
.gt-container .gt-ico {
  display: inline-block;
}
.gt-container.gt-ico-text {
  margin-left: 0.3125em;
}
.gt-container .gt-header-controls-tip:hover {
  color: var(--theme-text-hover);
}
.gt-container .gt-ico-github {
  position: relative;
  top: 4px;
}
.gt-container .gt-ico-github .gt-svg {
  width: 42px;
  height: 42px;
  fill: var(--theme-text);
}
.gt-container .gt-ico-github .gt-svg:hover {
  fill: var(--theme-text-hover);
}
.gt-container .gt-spinner {
  position: relative;
}
.gt-container .gt-spinner::before {
  position: absolute;
  top: 3px;
  box-sizing: border-box;
  margin-top: -0.1875em;
  margin-left: -0.375em;
  width: 0.75em;
  height: 0.75em;
  border: 1px solid var(--theme-text-hover);
  border-top-color: var(--theme-highlight);
  border-radius: 50%;
  content: '';
  animation: gt-kf-rotate 0.6s linear infinite;
  -webkit-box-sizing: border-box;
  -webkit-animation: gt-kf-rotate 0.6s linear infinite;
}
.gt-container .gt-loader {
  position: relative;
  display: inline-block;
  width: 1.75em;
  height: 1.75em;
  border: 1px solid var(--theme-unimportant);
  border-radius: 50%;
  font-style: normal;
  line-height: 1.75em;
  animation: ease gt-kf-rotate 1.5s infinite;
  -webkit-animation: ease gt-kf-rotate 1.5s infinite;
}
.gt-container .gt-loader:before {
  position: absolute;
  top: 0;
  left: 50%;
  display: block;
  margin-top: -0.1875em;
  margin-left: -0.1875em;
  width: 0.375em;
  height: 0.375em;
  border-radius: 50%;
  background-color: var(--theme-unimportant);
  content: '';
}
.gt-container .gt-avatar {
  display: inline-block;
  width: 3.125em;
  height: 3.125em;
}
.gt-container .gt-avatar-github {
  width: 3em;
  height: 3em;
}
.gt-container .gt-avatar-github:hover .gt-svg {
  fill: var(--theme-text-hover);
}
.gt-container .gt-btn:hover {
  border: 1px solid var(--theme-border);
  background-color: var(--theme-bg-soft-hover);
  color: var(--theme-subcolor);
  transition: 0.3s;
}
.gt-container .gt-btn.is--disable {
  opacity: 0.5;
  cursor: not-allowed;
}
.gt-container .gt-btn-text {
  font-weight: 400;
}
.gt-container .gt-btn-loading {
  position: relative;
  display: inline-block;
  margin-left: 0.5em;
  width: 0.75em;
  height: 1em;
  vertical-align: top;
}
.gt-container .gt-btn-login {
  margin-right: 0;
}
.gt-container .gt-error {
  margin: 0.625em;
  color: var(--theme-stress);
  text-align: center;
}
.gt-container .gt-initing {
  padding: 1.25em 0;
  text-align: center;
}
.gt-container .gt-initing-text {
  margin: 0.625em auto;
  font-size: 92%;
}
.gt-container .gt-no-init {
  padding: 1.25em 0;
  text-align: center;
}
.gt-container .gt-link {
  border-bottom: 1px dotted var(--theme-highlight);
}
.gt-container .gt-meta {
  position: relative;
  z-index: 10;
  margin: 1.25em 0;
  padding: 1em 0;
  border-bottom: 1px solid var(--theme-unimportant-2);
  font-size: 1em;
}
.gt-container .gt-meta:after {
  clear: both;
}
.gt-container .gt-counts {
  margin: 0 0.625em 0 0;
}
.gt-container .gt-user {
  float: right;
  margin: 0;
  font-size: 92%;
}
.gt-container .gt-user .gt-ico {
  margin: 0 0 0 0.3125em;
}
.gt-container .gt-user .gt-ico svg {
  fill: var(--theme-text);
}
.gt-container .gt-user-pic {
  margin-right: 0.5em;
  width: 16px;
  height: 16px;
  vertical-align: top;
}
.gt-container .gt-user-inner {
  display: inline-block;
}
.gt-container .gt-user-inner .gt-ico-arrdown .gt-svg {
  transform: rotate(180deg);
}
.gt-container .gt-user-inner.is--poping .gt-ico-arrdown .gt-svg {
  transform: rotate(0);
}
.gt-container .gt-version {
  color: var(--theme-text);
  font-size: small;
}
.gt-container .gt-copyright {
  margin: 0 0.7em 0.5em;
  padding-top: 0.5em;
  border-top: 1px solid var(--theme-unimportant-2);
}
.gt-container .gt-link-project {
  margin-right: 1px;
}
.gt-container .gt-popup {
  position: absolute;
  top: 2.4em;
  right: 0;
  display: inline-block;
  padding: 0.625em 0;
  border: 1px solid var(--theme-unimportant-2);
  background: var(--theme-background);
  font-size: 0.875em;
}
.gt-container .gt-popup .gt-action {
  position: relative;
  display: block;
  margin: 0.3em 0.7em;
  text-decoration: none;
  letter-spacing: 1px;
}
.gt-container .gt-popup .gt-action.is--active:before {
  position: absolute;
  top: 0.6em;
  left: -0.4em;
  width: 0.25em;
  height: 0.25em;
  background: var(--theme-highlight);
  content: '';
}
.gt-container .gt-header {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}
.gt-container .gt-header-comment {
  flex: 1;
  margin-left: 1.25em;
  -webkit-box-flex: 1;
  -ms-flex: 1;
}
.gt-container .gt-header-textarea:hover {
  border: 1px solid var(--theme-border);
  background-color: var(--theme-bg-soft-hover);
}
.gt-container .gt-header-preview {
  overflow: auto;
  padding: 0.75em;
  min-height: 72px;
  width: 100%;
  border: 1px solid var(--theme-border-light);
  border-radius: 5px;
  background-color: var(--theme-bg-soft);
  transition: 0.3s;
}
.gt-container .gt-header-preview:hover {
  padding: 0.75em;
  border: 1px solid var(--theme-border);
  border-radius: 5px;
  background-color: var(--theme-bg-soft-hover);
}
.gt-container .gt-header-preview p {
  width: fit-content;
}
.gt-container .gt-header-controls {
  position: relative;
  margin: 0.75em 0 0;
}
.gt-container .gt-header-controls:after {
  clear: both;
}
.gt-container.gt-input-focused {
  position: relative;
}
.gt-container.gt-input-focused:after {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0%;
  left: 0;
  z-index: 9999;
  background: var(--theme-background);
  content: '';
  opacity: 0.6;
}
.gt-container.gt-input-focused .gt-header-comment {
  z-index: 10000;
}
.gt-container:after {
  transition: 0.3s;
}
.gt-container .gt-comments {
  padding-top: 1.25em;
  padding-bottom: 1.25em;
}
.gt-container .gt-comments-null {
  text-align: center;
}
.gt-container .gt-comments-controls {
  margin: 1.25em 0;
  text-align: center;
}
.gt-container .gt-comment {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  padding: 0.625em 0;
}
.gt-container .gt-comment-content {
  flex: 1;
  overflow: auto;
  margin-left: 1.25em;
  padding: 0.75em 1em;
  padding-left: 20px;
  border-left: #fe2 solid 3px;
  background-color: var(--theme-bg-soft);
  color: var(--theme-text);
  transition: 0.3s;
  transition: 0.3s;
  -webkit-box-flex: 1;
  -ms-flex: 1;
}
.gt-container .gt-comment-content:hover {
  border-color: var(--theme-highlight);
  background-color: var(--theme-bg-soft-hover);
}
.gt-container .gt-comment-content::before {
  background: linear-gradient(180deg, transparent, var(--theme-bg-trans0));
}
.gt-container .gt-comment-content::after {
  background: var(--theme-bg-trans0);
}
.gt-container .gt-comment-content p {
  color: var(--theme-text-light);
}
.gt-container .gt-comment-block-1 {
  float: right;
  width: 2em;
  height: 1.375em;
}
.gt-container .gt-comment-block-2 {
  float: right;
  width: 4em;
  height: 1.375em;
}
.gt-container .gt-comment-text,
.gt-container .gt-comment-date {
  margin-left: 0.5em;
  color: var(--theme-text);
}
.gt-container .gt-comment-body .email-hidden-toggle a {
  display: inline-block;
  padding: 0 9px;
  height: 12px;
  border-radius: 1px;
  vertical-align: middle;
  font-weight: 600;
  font-size: 12px;
  line-height: 6px;
}
.gt-container .gt-comment-body .email-hidden-reply {
  display: none;
  white-space: pre-wrap;
}
.gt-container .gt-comment-body .email-hidden-reply .email-signature-reply {
  margin: 15px 0;
  padding: 0 15px;
  border-left: 4px solid var(--theme-border-light);
  color: var(--theme-unimportant-2);
}
.gt-container .gt-comment-body .email-hidden-reply.expanded {
  display: block;
}
a .gt-ico {
  fill: var(--theme-highlight);
}
a:hover .gt-ico {
  fill: var(--theme-text-hover);
}
@media (max-width: 479px) {
  .gt-container .gt-avatar {
    width: 2em;
    height: 2em;
  }
  .gt-container .gt-avatar-github {
    width: 1.875em;
    height: 1.875em;
  }
  .gt-container .gt-header-comment {
    margin-left: 0.875em;
  }
  .gt-container .gt-header-controls {
    margin: 0;
  }
  .gt-container .gt-header-controls-tip {
    display: none;
  }
  .gt-container .gt-header-controls .gt-btn {
    float: none;
    margin: 0.75em 0 0;
    width: 100%;
  }
  .gt-container .gt-comment-content {
    margin-left: 0.875em;
    padding: 0.625em 0.75em;
  }
}
.gt-container .gt-avatar img {
  width: 100%;
  height: auto;
  border-radius: 50%;
}
.gt-container .gt-btn {
  display: inline-block;
  padding: 0.75em 1.25em;
  outline: none;
  border: 1px solid var(--theme-border-light);
  border-radius: 5px;
  background-color: var(--theme-bg-soft);
  color: var(--theme-text-light);
  white-space: nowrap;
  font-size: 0.75em;
  line-height: 1;
  transition: 0.3s;
}
.gt-container .gt-header-textarea {
  display: block;
  box-sizing: border-box;
  padding: 0.75em;
  min-height: 5.125em;
  max-height: 15em;
  width: 100%;
  outline: none;
  border: 1px solid var(--theme-border-light);
  border-radius: 5px;
  background-color: var(--theme-bg-soft);
  color: var(--theme-text-light);
  word-wrap: break-word;
  font-size: 0.875em;
  font-family: 'JetBrains Mono', 'Microsoft YaHei', sans-serif;
  resize: vertical;
  transition: 0.3s;
  -webkit-box-sizing: border-box;
}
.gt-container .gt-header-controls-tip {
  vertical-align: sub;
  font-size: 0.875em;
}
.gt-container .gt-header-controls .gt-btn {
  float: right;
  margin-left: 1.25em;
}
.gt-container:after {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 100%;
  left: 0;
  content: '';
  opacity: 0;
}
.gt-container .gt-comment-header {
  position: relative;
  margin-bottom: 0.5em;
  font-size: 0.875em;
}
.gt-container .gt-meta:before,
.gt-container .gt-meta:after,
.gt-container .gt-header-controls:before,
.gt-container .gt-header-controls:after {
  display: table;
  content: ' ';
}
.gt-comment-like,
.gt-comment-reply {
  fill: var(--theme-highlight);
}
.gt-comment-like:hover,
.gt-comment-reply:hover {
  fill: var(--theme-text-hover);
}
.gt-container .gt-comment-like {
  height: 1.375em;
}
.gt-container .gt-comment-edit,
.gt-container .gt-comment-reply {
  position: absolute;
  height: 1.375em;
}
.gt-container .gt-comment-edit:hover {
  top: 0;
}
.gt-container .gt-comment-edit,
.gt-container .gt-comment-reply {
  top: 0;
  right: 0;
}
@-moz-keyframes gt-kf-rotate {
  0% {
    transform: rotate(0);
    -webkit-transform: rotate(0);
  }
  100% {
    transform: rotate(360deg);
    transform: rotate(360deg);
    -webkit-transform: rotate(360deg);
    -webkit-transform: rotate(360deg);
  }
}
@-webkit-keyframes gt-kf-rotate {
  0% {
    transform: rotate(0);
    -webkit-transform: rotate(0);
  }
  100% {
    transform: rotate(360deg);
    transform: rotate(360deg);
    -webkit-transform: rotate(360deg);
    -webkit-transform: rotate(360deg);
  }
}
@-o-keyframes gt-kf-rotate {
  0% {
    transform: rotate(0);
    -webkit-transform: rotate(0);
  }
  100% {
    transform: rotate(360deg);
    transform: rotate(360deg);
    -webkit-transform: rotate(360deg);
    -webkit-transform: rotate(360deg);
  }
}
@keyframes gt-kf-rotate {
  0% {
    transform: rotate(0);
    -webkit-transform: rotate(0);
  }
  100% {
    transform: rotate(360deg);
    transform: rotate(360deg);
    -webkit-transform: rotate(360deg);
    -webkit-transform: rotate(360deg);
  }
}
@-moz-keyframes gt-kf-rotate {
  0% {
    transform: rotate(0);
    -webkit-transform: rotate(0);
  }
  100% {
    transform: rotate(360deg);
    transform: rotate(360deg);
    -webkit-transform: rotate(360deg);
    -webkit-transform: rotate(360deg);
  }
}
@-webkit-keyframes gt-kf-rotate {
  0% {
    transform: rotate(0);
    -webkit-transform: rotate(0);
  }
  100% {
    transform: rotate(360deg);
    transform: rotate(360deg);
    -webkit-transform: rotate(360deg);
    -webkit-transform: rotate(360deg);
  }
}
@-o-keyframes gt-kf-rotate {
  0% {
    transform: rotate(0);
    -webkit-transform: rotate(0);
  }
  100% {
    transform: rotate(360deg);
    transform: rotate(360deg);
    -webkit-transform: rotate(360deg);
    -webkit-transform: rotate(360deg);
  }
}
@keyframes gt-kf-rotate {
  0% {
    transform: rotate(0);
    -webkit-transform: rotate(0);
  }
  100% {
    transform: rotate(360deg);
    transform: rotate(360deg);
    -webkit-transform: rotate(360deg);
    -webkit-transform: rotate(360deg);
  }
}
#valine {
  color: var(--theme-text-light);
  padding: 10px 0;
}
#valine * {
  line-height: normal;
}
#valine code {
  font-family: 'JetBrains Mono';
}
#valine .vwrap {
  background-color: var(--theme-bg-soft);
  transition: 0.3s;
}
#valine .vwrap:hover {
  background-color: var(--theme-bg-soft-hover);
  border-color: var(--theme-border);
}
#valine .vheader .vinput {
  line-height: 1;
  border-bottom-style: solid;
}
#valine .vheader .vinput:focus {
  color: var(--theme-highlight);
  border-bottom-color: var(--theme-border);
}
#valine .vicon:hover {
  background-color: unset;
}
#valine .vsubmit:hover {
  color: var(--theme-subcolor);
  border-color: var(--theme-border);
  background-color: var(--theme-bg-soft-hover);
}
#valine .vsys {
  background-color: transparent;
}
#valine .vmeta {
  margin: 3px 0 3px 3px;
}
#valine .vmeta .vat {
  transition: 0.3s;
  color: var(--theme-subcolor);
  padding-inline: 3px;
}
#valine .vmeta .vnick {
  margin-left: 3px;
}
#valine .vat:hover {
  color: var(--theme-text-rev);
  background-color: var(--theme-highlight);
}
#valine .vcontent {
  margin-left: 3px;
  color: var(--theme-text);
  border-left: var(--theme-subcolor) solid 3px;
  padding: 0.625em 0 0.625em 20px;
  background-color: var(--theme-bg-soft);
  transition: 0.3s;
}
#valine .vcontent:hover {
  border-color: var(--theme-highlight);
  background-color: var(--theme-bg-soft-hover);
}
#valine .vcontent::before {
  background: linear-gradient(180deg, transparent, var(--theme-bg-trans0));
}
#valine .vcontent::after {
  background: var(--theme-bg-trans0);
}
#valine .vcontent p {
  color: var(--theme-text-light);
}
#valine .vquote {
  margin-left: 3px;
}
#valine .vempty {
  display: none !important;
}
#valine a,
#valine button,
#valine .vicon,
#valine .vnick,
#valine .vat {
  cursor: var(--cursor-data) 3 3, pointer;
}
#valine a {
  color: var(--theme-highlight);
}
#valine a:hover {
  color: var(--theme-text-hover);
}
#veditor {
  color: var(--theme-text-light);
  font-family: 'JetBrains Mono';
}
#waline {
  --waline-theme-color: var(--theme-highlight);
  --waline-active-color: var(--theme-text-hover);
  --waline-color: var(--theme-text);
  --waline-bgcolor: var(--theme-bg-soft);
  --waline-bgcolor-hover: var(--theme-bg-soft-hover);
}
#waline button {
  transition: 0.3s;
}
#waline .wl-actions > :first-child {
  display: flex;
}
#waline a,
#waline .wl-action,
#waline .wl-sort li,
#waline .wl-text-number,
#waline button {
  user-select: none;
  cursor: var(--cursor-data) 3 3, pointer;
}
#waline .wl-btn {
  color: var(--theme-text-light);
  background: var(--theme-bg-soft);
  border: var(--theme-border-light) 1px solid;
  cursor: var(--cursor-data) 3 3, pointer;
}
#waline .wl-btn:hover {
  color: var(--theme-subcolor);
  border: var(--theme-border) 1px solid;
  background: var(--theme-bg-soft-hover);
}
#utterances {
  position: relative;
  box-sizing: border-box;
  width: 100%;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}
#utterances * {
  cursor: var(--cursor-data) 3 3, default !important;
}
#utterances a,
#utterances button,
#utterances svg,
#utterances [role="button"] {
  cursor: var(--cursor-data) 3 3, pointer !important;
}
#utterances input,
#utterances textarea {
  cursor: var(--cursor-data) 3 3, text !important;
}
.utterances-frame {
  color-scheme: light;
  position: absolute;
  left: 0;
  right: 0;
  width: 1px;
  min-width: 100%;
  max-width: 100%;
  height: 100%;
  border: 0;
  cursor: var(--cursor-data) 3 3, default !important;
}
#giscus * {
  cursor: var(--cursor-data) 3 3, default !important;
}
#giscus a,
#giscus button,
#giscus svg,
#giscus .giscus-button,
#giscus [role="button"] {
  cursor: var(--cursor-data) 3 3, pointer !important;
}
#giscus input,
#giscus textarea {
  cursor: var(--cursor-data) 3 3, text !important;
}
.giscus-frame {
  color-scheme: light;
  cursor: var(--cursor-data) 3 3, default !important;
}
.giscus-loading-message {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.625em;
  margin: 20px auto;
  padding: 1.25em 0;
  color: var(--theme-text);
  font-family: 'JetBrains Mono', 'Microsoft YaHei', sans-serif;
  text-align: center;
  animation: giscus-fade-in 0.3s ease;
}
.giscus-loader {
  position: relative;
  display: inline-block;
  width: 1.75em;
  height: 1.75em;
  border: 1px solid var(--theme-unimportant);
  border-radius: 50%;
  font-style: normal;
  line-height: 1.75em;
  animation: ease giscus-kf-rotate 1.5s infinite;
  -webkit-animation: ease giscus-kf-rotate 1.5s infinite;
}
.giscus-loader:before {
  position: absolute;
  top: 0;
  left: 50%;
  display: block;
  margin-top: -0.1875em;
  margin-left: -0.1875em;
  width: 0.375em;
  height: 0.375em;
  border-radius: 50%;
  background-color: var(--theme-unimportant);
  content: '';
}
.giscus-loading-text {
  margin: 0;
  font-size: 92%;
  color: var(--theme-text-light);
  letter-spacing: 0.02em;
}
.giscus-error-message {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35em;
  margin: 20px auto;
  padding: 0.25em 0;
  color: var(--theme-text-light);
  text-align: center;
  font-family: 'JetBrains Mono', 'Microsoft YaHei', sans-serif;
  animation: giscus-fade-in 0.3s ease;
}
.giscus-error-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25em;
}
.giscus-error-title {
  margin: 0;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--theme-highlight);
}
.giscus-error-message-text {
  margin: 0;
  color: var(--theme-unimportant);
  font-size: 92%;
}
.giscus-error-retry {
  padding: 0;
  outline: none;
  border: none;
  background: none;
  color: var(--theme-highlight);
  font-size: 92%;
  line-height: 1.35;
  letter-spacing: 0.02em;
  text-decoration: none;
  border-bottom: 1px dotted var(--theme-highlight);
  transition: 0.3s;
  cursor: var(--cursor-data) 3 3, pointer !important;
}
.giscus-error-retry:hover {
  color: var(--theme-text-hover);
  border-bottom-color: var(--theme-text-hover);
}
.giscus-error-retry:disabled {
  opacity: 0.5;
  border-bottom-color: var(--theme-unimportant);
  cursor: not-allowed !important;
}
@-moz-keyframes giscus-kf-rotate {
  0% {
    transform: rotate(0);
    -webkit-transform: rotate(0);
  }
  100% {
    transform: rotate(360deg);
    -webkit-transform: rotate(360deg);
  }
}
@-webkit-keyframes giscus-kf-rotate {
  0% {
    transform: rotate(0);
    -webkit-transform: rotate(0);
  }
  100% {
    transform: rotate(360deg);
    -webkit-transform: rotate(360deg);
  }
}
@-o-keyframes giscus-kf-rotate {
  0% {
    transform: rotate(0);
    -webkit-transform: rotate(0);
  }
  100% {
    transform: rotate(360deg);
    -webkit-transform: rotate(360deg);
  }
}
@keyframes giscus-kf-rotate {
  0% {
    transform: rotate(0);
    -webkit-transform: rotate(0);
  }
  100% {
    transform: rotate(360deg);
    -webkit-transform: rotate(360deg);
  }
}
@-moz-keyframes giscus-fade-in {
  0% {
    opacity: 0;
    transform: translateY(4px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
@-webkit-keyframes giscus-fade-in {
  0% {
    opacity: 0;
    transform: translateY(4px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
@-o-keyframes giscus-fade-in {
  0% {
    opacity: 0;
    transform: translateY(4px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes giscus-fade-in {
  0% {
    opacity: 0;
    transform: translateY(4px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
#comments {
  border-top: var(--theme-border) solid 2px;
}
.selector {
  margin-top: 2em;
  display: flex;
  justify-content: space-around;
  background: var(--theme-bg-soft);
  position: relative;
}
.selector::after {
  content: '';
  position: absolute;
  left: 0;
  top: 100%;
  height: 100%;
  width: 100%;
  background: linear-gradient(180deg, var(--theme-bg-soft), transparent);
}
.selector button {
  transition: 0.3s;
  height: 40px;
  flex-grow: 1;
  border-left: 1px solid var(--theme-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}
.selector button.active {
  background: transparent;
}
.selector button:hover:not(.active) {
  background: var(--theme-bg-soft-hover);
}
.selector button:last-child {
  border-right: 1px solid var(--theme-border);
}
.lg-container[role='dialog'] .lg-outer.lg-css3 * {
  cursor: var(--dark-cursor) 3 3, grab;
}
.lg-container {
  position: absolute;
  z-index: 65537;
}
.wiki-related {
  margin-top: 1.5rem;
  padding: 1rem;
  border-top: 1px solid var(--color-border, rgba(255,255,255,0.1));
}
.wiki-related-title {
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 0.8rem 0;
  color: var(--color-text, #fff);
}
.wiki-related-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0.6rem;
}
.wiki-related-card {
  display: block;
  padding: 0.6rem 0.8rem;
  border: 1px solid var(--color-border, rgba(255,255,255,0.1));
  border-radius: 4px;
  text-decoration: none;
  transition: all 0.2s;
}
.wiki-related-card:hover {
  border-color: var(--color-accent, #ff6b6b);
  background: rgba(255,107,107,0.05);
  transform: translateY(-1px);
}
.wiki-related-card-title {
  font-size: 0.85rem;
  color: var(--color-link, #4ecdc4);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
a[href].wiki-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 0 3px;
  border-radius: 3px;
  background: rgba(78,205,196,0.08);
  color: var(--color-link, #4ecdc4);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.15s;
}
a[href].wiki-link::before {
  content: "📚";
  font-size: 0.75em;
  opacity: 0.7;
}
a[href].wiki-link:hover {
  background: rgba(78,205,196,0.15);
  text-decoration: none;
}
a[href].wiki-link[title]:hover::after {
  content: attr(title);
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 8px;
  border-radius: 3px;
  background: var(--color-bg, #222);
  color: var(--color-text, #fff);
  font-size: 0.75rem;
  font-weight: 400;
  white-space: nowrap;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
#wiki-chat-fab {
  position: fixed;
  bottom: 140px;
  right: 24px;
  z-index: 99998;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--theme-highlight);
  color: var(--theme-background);
  box-shadow: 0 4px 14px rgba(0,0,0,0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
#wiki-chat-fab svg {
  width: 24px;
  height: 24px;
}
#wiki-chat-fab:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.35);
}
#wiki-chat-fab.wiki-chat-fab--active {
  background: var(--theme-stress);
}
#wiki-chat-panel {
  position: fixed;
  bottom: 0;
  right: 0;
  z-index: 99999;
  width: 360px;
  height: 100vh;
  max-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--theme-bg-trans0);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-left: 2px solid var(--theme-border);
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-family: BenderLight, sans-serif;
}
@media (max-width: 480px) {
  #wiki-chat-panel {
    width: 100vw;
    border-left: none;
    border-top: 2px solid var(--theme-border);
  }
}
#wiki-chat-panel.wiki-chat-panel--open {
  transform: translateX(0);
}
#wiki-chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: var(--theme-btn-bg);
  border-bottom: 1px solid var(--theme-border);
  flex-shrink: 0;
}
#wiki-chat-title {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--theme-highlight);
  font-size: 1em;
  font-weight: bold;
  letter-spacing: 0.05em;
}
#wiki-chat-title svg {
  stroke: var(--theme-highlight);
}
#wiki-chat-header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
#wiki-chat-header-actions button {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  color: var(--theme-unimportant-2);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.15s ease;
}
#wiki-chat-header-actions button:hover {
  color: var(--theme-highlight);
}
#wiki-chat-content {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  scrollbar-width: thin;
  scrollbar-color: var(--theme-border) transparent;
}
#wiki-chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  scrollbar-width: thin;
  scrollbar-color: var(--theme-border) transparent;
}
.wiki-chat-msg {
  display: flex;
}
.wiki-chat-msg--user {
  justify-content: flex-end;
}
.wiki-chat-msg--user .wiki-chat-bubble {
  background: var(--theme-highlight);
  color: var(--theme-background);
  border-radius: 16px 4px 16px 16px;
}
.wiki-chat-msg--bot {
  justify-content: flex-start;
}
.wiki-chat-msg--bot .wiki-chat-bubble {
  background: var(--theme-bg-soft);
  color: var(--theme-text);
  border: 1px solid var(--theme-border-soft);
  border-radius: 4px 16px 16px 16px;
}
.wiki-chat-bubble {
  max-width: 88%;
  padding: 10px 14px;
  font-size: 0.9em;
  line-height: 1.6;
  word-break: break-word;
}
.wiki-chat-bubble code {
  background: var(--theme-unimportant-trans);
  padding: 1px 5px;
  border-radius: 3px;
  font-size: 0.85em;
}
.wiki-chat-bubble pre {
  background: var(--theme-bg-soft);
  border: 1px solid var(--theme-border-soft);
  border-radius: 6px;
  padding: 10px 12px;
  overflow-x: auto;
  margin: 6px 0;
}
.wiki-chat-bubble pre code {
  background: transparent;
  padding: 0;
  font-size: 0.82em;
}
.wiki-chat-bubble ul,
.wiki-chat-bubble ol {
  margin: 6px 0;
  padding-left: 20px;
}
.wiki-chat-bubble li {
  margin: 2px 0;
}
.wiki-chat-bubble blockquote {
  border-left: 3px solid var(--theme-highlight);
  margin: 6px 0;
  padding: 4px 10px;
  background: var(--theme-unimportant-trans);
  border-radius: 0 4px 4px 0;
}
.wiki-chat-bubble a {
  color: var(--theme-highlight);
  text-decoration: underline;
}
.wiki-chat-bubble a:hover {
  color: var(--theme-stress);
}
.wiki-chat-bubble p {
  margin: 4px 0;
}
.wiki-chat-bubble h1,
.wiki-chat-bubble h2,
.wiki-chat-bubble h3,
.wiki-chat-bubble h4 {
  margin: 8px 0 4px;
  font-size: 1em;
  font-weight: bold;
}
.wiki-chat-typing .wiki-chat-bubble {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 12px 16px;
}
.wiki-typing-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--theme-highlight);
  opacity: 0.4;
  animation: wiki-typing-blink 1.2s infinite;
}
.wiki-typing-dot:nth-child(2) {
  animation-delay: 0.2s;
}
.wiki-typing-dot:nth-child(3) {
  animation-delay: 0.4s;
}
#wiki-chat-search-results {
  margin: 0 16px;
  padding: 10px 12px;
  background: var(--theme-bg-trans1);
  border: 1px solid var(--theme-border);
  border-left: 3px solid var(--theme-subcolor);
  border-radius: 4px;
  flex-shrink: 0;
  max-height: 160px;
  overflow-y: auto;
  scrollbar-width: thin;
}
.wiki-search-label {
  font-size: 0.78em;
  color: var(--theme-unimportant);
  margin-bottom: 6px;
  letter-spacing: 0.05em;
}
.wiki-search-list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.wiki-search-list li {
  margin-bottom: 6px;
}
.wiki-search-list li a {
  color: var(--theme-highlight);
  font-size: 0.88em;
  text-decoration: none;
}
.wiki-search-list li a:hover {
  color: var(--theme-subcolor);
  text-decoration: underline;
}
.wiki-search-list li p {
  margin: 2px 0 0 0;
  font-size: 0.78em;
  color: var(--theme-unimportant);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
#wiki-chat-input-area {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  padding: 12px 16px;
  border-top: 1px solid var(--theme-border-soft);
  flex-shrink: 0;
}
#wiki-chat-input {
  flex: 1;
  resize: none;
  border: 1px solid var(--theme-border);
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 0.9em;
  font-family: inherit;
  background: var(--theme-bg-soft);
  color: var(--theme-text);
  line-height: 1.5;
  max-height: 120px;
  outline: none;
  transition: border-color 0.2s ease;
}
#wiki-chat-input:focus {
  border-color: var(--theme-highlight);
}
#wiki-chat-input::placeholder {
  color: var(--theme-unimportant);
}
#wiki-chat-send {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: none;
  background: var(--theme-highlight);
  color: var(--theme-background);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s ease, transform 0.1s ease;
}
#wiki-chat-send:hover {
  background: var(--theme-subcolor);
}
#wiki-chat-send:active {
  transform: scale(0.92);
}
#wiki-chat-send:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
#wiki-chat-offline-tip {
  padding: 6px 16px 10px;
  font-size: 0.78em;
  color: var(--theme-unimportant);
  text-align: center;
  flex-shrink: 0;
}
#wiki-chat-login {
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.wiki-login-logo {
  margin-bottom: 4px;
}
.wiki-login-logo svg {
  stroke: var(--theme-highlight);
  filter: drop-shadow(0 0 6px var(--theme-highlight));
}
.wiki-login-title {
  font-size: 1.2em;
  font-weight: bold;
  color: var(--theme-highlight);
  letter-spacing: 0.08em;
  margin-bottom: 2px;
}
.wiki-login-subtitle {
  font-size: 0.82em;
  color: var(--theme-unimportant);
  margin-bottom: 12px;
}
.wiki-login-field {
  width: 100%;
  margin-bottom: 12px;
}
.wiki-login-field label {
  display: block;
  font-size: 0.8em;
  color: var(--theme-unimportant);
  margin-bottom: 4px;
  letter-spacing: 0.04em;
}
.wiki-login-field input[type="text"],
.wiki-login-field input[type="password"] {
  width: 100%;
  box-sizing: border-box;
  padding: 8px 12px;
  border: 1px solid var(--theme-border);
  border-radius: 6px;
  background: var(--theme-bg-soft);
  color: var(--theme-text);
  font-size: 0.9em;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.wiki-login-field input[type="text"]:focus,
.wiki-login-field input[type="password"]:focus {
  border-color: var(--theme-highlight);
  box-shadow: 0 0 0 2px rgba(34,187,255,0.15);
}
.wiki-login-field input[type="text"]::placeholder,
.wiki-login-field input[type="password"]::placeholder {
  color: var(--theme-unimportant);
}
.wiki-login-field textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 8px 12px;
  border: 1px solid var(--theme-border);
  border-radius: 6px;
  background: var(--theme-bg-soft);
  color: var(--theme-text);
  font-size: 0.9em;
  font-family: inherit;
  outline: none;
  resize: vertical;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.wiki-login-field textarea:focus {
  border-color: var(--theme-highlight);
  box-shadow: 0 0 0 2px rgba(34,187,255,0.15);
}
.wiki-login-field textarea::placeholder {
  color: var(--theme-unimportant);
}
.wiki-field-optional {
  color: var(--theme-unimportant-2);
  font-size: 0.85em;
}
.wiki-login-mode-btns {
  display: flex;
  gap: 6px;
  width: 100%;
}
.wiki-mode-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 8px 6px;
  border: 1px solid var(--theme-border);
  border-radius: 6px;
  background: var(--theme-bg-soft);
  color: var(--theme-unimportant);
  font-size: 0.78em;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.2s ease;
}
.wiki-mode-btn svg {
  flex-shrink: 0;
}
.wiki-mode-btn:hover {
  border-color: var(--theme-highlight);
  color: var(--theme-text);
}
.wiki-mode-btn.active {
  border-color: var(--theme-highlight);
  color: var(--theme-highlight);
  background: rgba(34,187,255,0.08);
  box-shadow: 0 0 0 1px var(--theme-highlight);
}
.wiki-login-submit {
  width: 100%;
  padding: 10px;
  border: 1px solid var(--theme-highlight);
  border-radius: 6px;
  background: transparent;
  color: var(--theme-highlight);
  font-size: 0.9em;
  font-family: inherit;
  font-weight: bold;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-top: 8px;
}
.wiki-login-submit:hover {
  background: var(--theme-highlight);
  color: var(--theme-background);
}
.wiki-login-submit:active {
  transform: scale(0.97);
}
.wiki-btn-danger {
  border-color: var(--theme-stress);
  color: var(--theme-stress);
}
.wiki-btn-danger:hover {
  background: var(--theme-stress);
  color: var(--theme-background);
}
.wiki-login-error {
  font-size: 0.82em;
  color: var(--theme-stress);
  text-align: center;
  min-height: 1.2em;
  margin-top: 4px;
}
#wiki-chat-settings {
  position: absolute;
  inset: 0;
  z-index: 10;
  background: var(--theme-bg-trans0);
  backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
}
.wiki-settings-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-bottom: 1px solid var(--theme-border);
  flex-shrink: 0;
}
.wiki-settings-title {
  color: var(--theme-highlight);
  font-weight: bold;
  letter-spacing: 0.05em;
}
.wiki-settings-title #wiki-settings-close {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px 8px;
  color: var(--theme-unimportant-2);
  font-size: 1.1em;
  transition: color 0.15s ease;
}
.wiki-settings-title #wiki-settings-close:hover {
  color: var(--theme-highlight);
}
.wiki-settings-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px 20px;
  scrollbar-width: thin;
}
.wiki-settings-actions {
  display: flex;
  gap: 8px;
  margin-top: 16px;
}
.wiki-settings-actions .wiki-login-submit {
  flex: 1;
  margin-top: 0;
}
[theme-mode=dark] #wiki-chat-panel {
  border-left-color: var(--theme-border);
}
[theme-mode=dark] .wiki-chat-msg--bot .wiki-chat-bubble {
  background: var(--theme-bg-soft);
  border-color: rgba(255,255,255,0.08);
}
[theme-mode=dark] .wiki-mode-btn.active {
  background: rgba(34,187,255,0.06);
}
#waifu {
  opacity: 0 !important;
  pointer-events: none !important;
}
#waifu-toggle {
  display: none !important;
}
#wiki-live2d-area {
  height: 300px;
  min-height: 300px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-top: 1px solid var(--theme-border-soft);
  background: linear-gradient(to bottom, rgba(0,0,0,0.05), transparent);
  position: relative;
  overflow: hidden;
}
@media (max-width: 480px) {
  #wiki-live2d-area {
    height: 200px;
    min-height: 200px;
  }
}
#wiki-live2d-area #waifu {
  opacity: 1 !important;
  pointer-events: auto !important;
  display: flex !important;
  position: relative;
  bottom: auto !important;
  right: auto !important;
  left: auto !important;
  top: auto !important;
  margin: 0 !important;
  width: 100%;
  height: 100%;
  transform: none !important;
  transition: none !important;
  z-index: 1;
  align-items: center;
  justify-content: center;
}
#wiki-live2d-area #waifu #live2d {
  width: 100% !important;
  height: 100% !important;
  max-width: 280px;
  max-height: 280px;
  cursor: default;
}
@media (max-width: 480px) {
  #wiki-live2d-area #waifu #live2d {
    max-width: 180px;
    max-height: 180px;
  }
}
#wiki-live2d-area #waifu #waifu-tips {
  display: none;
}
#wiki-live2d-area #waifu #waifu-tool {
  display: flex !important;
  opacity: 1 !important;
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  top: auto;
  right: auto;
  flex-direction: row;
  gap: 6px;
  background: rgba(0,0,0,0.25);
  border-radius: 16px;
  padding: 4px 10px;
  z-index: 10;
  transition: none;
}
#wiki-live2d-area #waifu #waifu-tool span {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 22px;
  width: 22px;
  margin: 0;
}
#wiki-live2d-area #waifu #waifu-tool svg {
  height: 16px;
  width: 16px;
  fill: var(--theme-highlight);
  cursor: pointer;
  transition: fill 0.2s;
}
#wiki-live2d-area #waifu #waifu-tool svg:hover {
  fill: var(--theme-stress);
}
.wiki-tts-controls {
  position: relative;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.wiki-tts-btn {
  font-size: 12px;
  padding: 3px 6px;
  border-radius: 8px;
  border: 1px solid var(--theme-border);
  background: transparent;
  color: var(--theme-unimportant);
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
  font-family: inherit;
  display: flex;
  align-items: center;
  gap: 2px;
}
.wiki-tts-btn:hover {
  color: var(--theme-color);
  border-color: var(--theme-color);
}
.wiki-tts-btn.on {
  color: var(--theme-highlight);
  border-color: var(--theme-highlight);
}
.wiki-tts-btn.speaking {
  animation: tts-pulse 0.8s infinite;
}
.wiki-tts-voice-name {
  font-size: 11px;
  max-width: 36px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.wiki-tts-popup {
  position: absolute;
  bottom: calc(100% + 4px);
  right: 0;
  left: auto;
  z-index: 100000;
  background: var(--theme-bg-trans);
  border: 1px solid var(--theme-border);
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
  min-width: 100px;
  overflow: hidden;
  backdrop-filter: blur(12px);
}
.wiki-tts-popup-header {
  padding: 6px 12px 4px;
  font-size: 11px;
  color: var(--theme-unimportant);
  border-bottom: 1px solid var(--theme-border);
  letter-spacing: 0.5px;
}
.wiki-tts-voice-list {
  padding: 4px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.wiki-tts-voice-item {
  font-size: 12px;
  padding: 5px 10px;
  border-radius: 6px;
  border: none;
  background: transparent;
  color: var(--theme-text);
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  transition: background 0.15s;
}
.wiki-tts-voice-item:hover {
  background: var(--theme-btn-bg);
}
.wiki-tts-voice-item.available {
  font-weight: 500;
}
#waifu-tool-chat,
#waifu-tool-info,
#waifu-tool-quit {
  display: none !important;
}
.wiki-chat-bubble a.wiki-link {
  position: relative;
  color: var(--theme-highlight);
  text-decoration: none;
  border-bottom: 1px dashed var(--theme-highlight);
  padding-left: 0;
  font-weight: 500;
  transition: all 0.15s ease;
}
.wiki-chat-bubble a.wiki-link:before {
  content: '📚';
  font-size: 0.7em;
  margin-right: 2px;
  vertical-align: middle;
  opacity: 0.8;
}
.wiki-chat-bubble a.wiki-link:hover {
  color: var(--theme-subcolor);
  border-bottom-color: var(--theme-subcolor);
  border-bottom-style: solid;
}
.wiki-graph-container {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  background: var(--color-bg);
}
.wiki-graph-toolbar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-bottom: 1px solid var(--color-border);
  flex-shrink: 0;
}
.wiki-graph-toolbar #wiki-graph-back {
  background: none;
  border: 1px solid var(--color-border);
  color: var(--color-text);
  border-radius: 4px;
  padding: 2px 10px;
  cursor: pointer;
  font-size: 13px;
}
.wiki-graph-toolbar #wiki-graph-back:hover {
  background: var(--theme-highlight);
  color: #fff;
}
.wiki-graph-toolbar .wiki-graph-title {
  font-weight: 600;
  color: var(--color-text);
  font-size: 14px;
}
.wiki-graph-toolbar .wiki-graph-stats {
  margin-left: auto;
  font-size: 12px;
  color: var(--color-text-secondary);
}
.wiki-graph-container canvas {
  flex: 1;
  cursor: grab;
}
.wiki-graph-container #wiki-graph-tooltip {
  position: absolute;
  background: rgba(0,0,0,0.85);
  color: #fff;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 12px;
  pointer-events: none;
  z-index: 100;
  max-width: 200px;
  line-height: 1.5;
}
.wiki-graph-container #wiki-graph-tooltip strong {
  color: var(--theme-highlight, #ff6b6b);
}
.wiki-graph-legend {
  display: flex;
  gap: 10px;
  padding: 6px 12px;
  font-size: 11px;
  border-top: 1px solid var(--color-border);
  flex-shrink: 0;
  color: var(--color-text-secondary);
}
.wiki-graph-legend span {
  white-space: nowrap;
}
.wiki-graph-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: var(--color-text-secondary);
  font-size: 14px;
}
.wiki-backlinks {
  margin-top: 2em;
  padding: 1em 1.2em;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  background: var(--color-code-bg, rgba(0,0,0,0.03));
}
.wiki-backlinks-title {
  margin: 0 0 0.3em;
  font-size: 15px;
  color: var(--color-text);
}
.wiki-backlinks-desc {
  margin: 0 0 0.5em;
  font-size: 13px;
  color: var(--color-text-secondary);
}
.wiki-backlinks-list {
  margin: 0;
  padding-left: 1.2em;
  font-size: 14px;
}
.wiki-backlinks-list li {
  margin-bottom: 0.3em;
}
.wiki-backlinks-list a {
  color: var(--theme-highlight);
  text-decoration: none;
}
.wiki-backlinks-list a:hover {
  text-decoration: underline;
}
.wiki-chat-save-knowledge {
  position: absolute;
  top: 4px;
  right: 4px;
  border: none;
  background: none;
  cursor: pointer;
  font-size: 14px;
  opacity: 0;
  transition: opacity 0.2s, transform 0.2s;
  padding: 2px;
  border-radius: 4px;
}
.wiki-chat-msg--bot {
  position: relative;
}
.wiki-chat-msg--bot:hover .wiki-chat-save-knowledge {
  opacity: 0.6;
}
.wiki-chat-msg--bot .wiki-chat-save-knowledge:hover {
  opacity: 1;
  transform: scale(1.2);
}
.wiki-chat-msg--bot .wiki-chat-save-knowledge:disabled {
  opacity: 0.4;
  cursor: default;
  transform: none;
}
#wiki-chat-feedback-btn {
  opacity: 0.7;
  transition: opacity 0.2s;
}
#wiki-chat-feedback-btn:hover {
  opacity: 1;
}
@-moz-keyframes wiki-typing-blink {
  0%, 80%, 100% {
    opacity: 0.4;
    transform: scale(1);
  }
  40% {
    opacity: 1;
    transform: scale(1.2);
  }
}
@-webkit-keyframes wiki-typing-blink {
  0%, 80%, 100% {
    opacity: 0.4;
    transform: scale(1);
  }
  40% {
    opacity: 1;
    transform: scale(1.2);
  }
}
@-o-keyframes wiki-typing-blink {
  0%, 80%, 100% {
    opacity: 0.4;
    transform: scale(1);
  }
  40% {
    opacity: 1;
    transform: scale(1.2);
  }
}
@keyframes wiki-typing-blink {
  0%, 80%, 100% {
    opacity: 0.4;
    transform: scale(1);
  }
  40% {
    opacity: 1;
    transform: scale(1.2);
  }
}
@-moz-keyframes tts-pulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(40,167,69,0.4);
  }
  50% {
    box-shadow: 0 0 0 4px rgba(40,167,69,0);
  }
}
@-webkit-keyframes tts-pulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(40,167,69,0.4);
  }
  50% {
    box-shadow: 0 0 0 4px rgba(40,167,69,0);
  }
}
@-o-keyframes tts-pulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(40,167,69,0.4);
  }
  50% {
    box-shadow: 0 0 0 4px rgba(40,167,69,0);
  }
}
@keyframes tts-pulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(40,167,69,0.4);
  }
  50% {
    box-shadow: 0 0 0 4px rgba(40,167,69,0);
  }
}
#wiki-tree {
  margin-top: 1rem;
  padding: 0.5rem;
  border-radius: 4px;
}
.wiki-tree-title {
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 0.5rem 0;
  color: var(--color-text, #fff);
}
.wiki-tree-group {
  margin-bottom: 0.5rem;
}
.wiki-tree-group.collapsed .wiki-tree-list {
  display: none;
}
.wiki-tree-group.collapsed .wiki-tree-toggle {
  transform: rotate(-90deg);
}
.wiki-tree-group-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-accent, #ff6b6b);
  cursor: pointer;
  padding: 0.3rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
}
.wiki-tree-group-title:hover {
  opacity: 0.8;
}
.wiki-tree-toggle {
  font-size: 0.7rem;
  transition: transform 0.2s;
}
.wiki-tree-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.wiki-tree-item {
  padding: 0.2rem 0 0.2rem 0.8rem;
  font-size: 0.8rem;
  line-height: 1.4;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}
.wiki-tree-item.current a {
  color: var(--color-accent, #ff6b6b);
  font-weight: 600;
}
.wiki-tree-item.current::before {
  content: "▸ ";
  color: var(--color-accent, #ff6b6b);
}
.wiki-tree-item a {
  color: var(--color-link, #4ecdc4);
  text-decoration: none;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
}
.wiki-tree-item a:hover {
  text-decoration: underline;
}
.wiki-tree-tag {
  font-size: 0.65rem;
  padding: 0 0.3rem;
  border-radius: 2px;
  background: rgba(255,255,255,0.1);
  color: var(--color-text-muted, #888);
  flex-shrink: 0;
}
#archive-flex {
  width: 100%;
  height: fit-content;
  min-height: 600px;
  box-sizing: border-box;
  display: flex;
  justify-content: stretch;
  position: relative;
}
#archive-aside {
  scrollbar-width: none;
  padding-bottom: 30px;
  overflow: auto;
  box-sizing: border-box;
  padding-top: 10px;
  top: 0;
  height: fit-content;
  display: flex;
  flex-grow: 1;
  flex-direction: column;
}
#archive-aside::-webkit-scrollbar {
  display: none;
}
#archive-aside::-ms-scrollbar {
  display: none;
}
@media (min-width: 769px) {
  #archive-aside {
    max-height: 100vh;
  }
}
#Archives,
#Categories,
#Tags {
  margin: 0 10px;
  background-color: var(--theme-bg-trans1);
  overflow-y: auto;
}
#Archives,
#Categories,
#Tags,
#Archives h1,
#Categories h1,
#Tags h1 {
  transition: 0.3s;
}
#Archives h1,
#Categories h1,
#Tags h1 {
  margin: 0;
  padding: 0 15px;
  color: var(--theme-text-rev);
  background-color: var(--theme-bg-light);
  font-size: medium;
  font-family: BenderLight;
}
@media (min-width: 769px) {
  #Archives:hover,
  #Categories:hover,
  #Tags:hover,
  #Archives:target,
  #Categories:target,
  #Tags:target {
    background-color: var(--theme-bg-trans2);
  }
  #Archives:hover h1,
  #Categories:hover h1,
  #Tags:hover h1,
  #Archives:target h1,
  #Categories:target h1,
  #Tags:target h1 {
    background-color: var(--theme-highlight);
  }
}
#Archives {
  margin-bottom: 30px;
  margin-top: 10px;
  flex-grow: 5;
  position: relative;
}
@media (min-width: 769px) {
  #Archives {
    min-height: calc(100vh - 40px);
  }
}
#Archives h2 {
  margin: 10px 0;
  font-size: large;
}
#Archives h2:before {
  content: '';
  display: inline-block;
  width: 5px;
  height: 15px;
  margin-right: 5px;
  background-color: var(--theme-subcolor);
}
#Archives time {
  color: var(--theme-text-light);
}
.categories,
.tags {
  display: inline-block;
}
#Archives-bg {
  box-sizing: border-box;
  padding: 10px;
  padding-bottom: 30px;
}
.article-item {
  padding-inline: 20px;
  display: flex;
  position: relative;
  margin-bottom: 15px;
}
.article-item::after {
  content: '';
  width: calc(100% - 30px);
  position: absolute;
  display: block;
  bottom: -5px;
  left: 15px;
  border-bottom: 1px var(--theme-unimportant-trans) solid;
}
#Categories {
  height: fit-content;
  overflow: visible;
  height: 50%;
  flex-grow: 1;
  margin-bottom: 20px;
}
#Categories p {
  text-align: center;
}
#Tags {
  height: fit-content;
  overflow: visible;
  height: 100%;
  flex-grow: 1;
}
#Tags p {
  text-align: center;
}
#navigation a {
  width: 100%;
  display: inline-block;
  padding: 6px 0;
  font-size: x-large;
  font-weight: 900;
  font-family: BenderLight;
  text-align: center;
}
.control-archive {
  width: 55px;
  display: inline-block;
}
.control-archive + a {
  width: calc(100% - 55px);
}
article {
  transition: margin 0.3s;
  box-sizing: border-box;
  position: relative;
  min-height: calc(100vh - 10px);
  height: fit-content;
  min-width: 1px;
}
article #post-content p,
article .recent-excerpt p {
  line-height: 150%;
}
.posts {
  margin-top: 10px;
  padding-bottom: 72px;
  width: 100%;
  min-height: calc(100vh - 82px);
}
.recent-post {
  background-color: var(--theme-bg-trans1);
  color: var(--theme-unimportant);
  display: block;
  margin-bottom: -1px;
  border: 1px solid var(--theme-unimportant);
  padding: 13px 15px;
  transition: 0.3s;
}
.recent-post .recent-info::after {
  transition: 0.3s;
}
.recent-post .categories,
.recent-post .tags {
  font-family: BenderLight, sans-serif;
}
.recent-post .categories {
  color: var(--theme-highlight);
  font-size: large;
  font-weight: bold;
  padding: 0 10px 0 0;
}
.recent-post .tags {
  font-size: small;
}
.recent-post .tags span {
  display: inline-block;
  padding: 0 5px 0 0;
}
.recent-post time {
  color: var(--theme-unimportant);
  display: inline-block;
  text-align: left;
  float: right;
}
.recent-post hr {
  color: var(--theme-unimportant);
  border-color: var(--theme-unimportant);
}
.recent-post img {
  width: 100%;
}
.recent-post h1 {
  font-family: sans-serif;
  color: var(--theme-text-light);
  margin: 0;
  padding: 15px 0 0 0;
}
@media (min-width: 769px) {
  .recent-post:hover {
    color: var(--theme-text-hover);
    background-color: var(--theme-highlight);
  }
  .recent-post:hover time,
  .recent-post:hover .categories {
    color: var(--theme-text-hover);
  }
  .recent-post:hover a,
  .recent-post:hover a:active {
    color: var(--theme-text-rev);
  }
  .recent-post:hover .recent-info::after {
    background-color: var(--theme-bg-hover);
  }
  .recent-post:hover .recent-excerpt a,
  .recent-post:hover a:hover {
    color: var(--theme-text-light);
  }
  .recent-post:hover hr {
    color: var(--theme-highlight);
    border-color: var(--theme-highlight);
  }
  .recent-post:hover figure table .gutter {
    background-color: var(--theme-border);
  }
  .recent-post:hover figure table .code {
    background-color: var(--theme-bg-trans1);
  }
  .recent-post:hover figure table .code,
  .recent-post:hover figure table .code:hover {
    color: var(--theme-text-light);
  }
  .recent-post:hover blockquote,
  .recent-post:hover blockquote:hover {
    color: var(--theme-text-light);
    border-color: var(--theme-border);
    background-color: var(--theme-bg-trans1);
  }
  .recent-post:hover .read-more {
    color: var(--theme-text-light);
    background-color: var(--theme-bg-hover);
  }
  .recent-post:hover .post-sticky {
    color: var(--theme-text-light);
    background-color: var(--theme-bg-hover);
    transition: 0.3s;
  }
}
.recent-info {
  min-height: 25px;
}
.recent-info:after {
  content: '';
  width: 13%;
  display: block;
  height: 5px;
  background-color: var(--theme-highlight);
  position: relative;
  bottom: -6px;
}
.recent-excerpt {
  margin: 12px 0 28px 0;
}
.post-sticky {
  background-color: var(--theme-highlight);
  color: var(--theme-text-rev);
  padding: 1px 2px;
  margin-right: 5px;
  transition: 0.3s;
}
.read-more {
  color: var(--theme-background);
  display: block;
  float: right;
  font-size: smaller;
  font-weight: 600;
  background-color: var(--theme-highlight);
  margin-top: -21px;
  padding: 3px 10px 3px 40px;
  font-family: BenderLight;
}
#paginator {
  width: 100%;
  user-select: none;
  margin: 20px 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  position: absolute;
  bottom: 0;
  left: 0;
}
#paginator a,
#paginator span {
  color: var(--theme-text-light);
  font-weight: bold;
  margin: 0 10px 0 0;
  border: 1px solid var(--theme-highlight);
  padding: 5px 10px;
}
#paginator a:last-child,
#paginator span:last-child {
  margin: 0;
}
@media (min-width: 769px) {
  #paginator a:hover {
    color: var(--theme-text-hover);
    background-color: var(--theme-highlight);
  }
}
#paginator .current {
  color: var(--theme-text-hover);
  background-color: var(--theme-highlight);
}
.category-list,
.tag-list {
  list-style: none;
  display: block;
  margin: 0;
}
.category-list {
  padding: 0;
}
.category-list-child {
  list-style-type: unset;
  padding-left: 15px;
}
.category-list-item {
  position: relative;
}
.category-list-item a:hover {
  background-color: var(--theme-bg-soft-hover);
}
@media (min-width: 769px) {
  .category-list-item:hover>a {
    color: var(--theme-highlight);
    border-left: var(--theme-highlight) solid 5px;
  }
  .category-list-item:hover span {
    color: var(--theme-text-light);
  }
}
.category-list-link {
  width: 100%;
  padding: 6px 40% 6px 10px;
  display: inline-block;
  box-sizing: border-box;
}
.category-list-link:before,
.category-list-link:after {
  color: var(--theme-highlight);
  content: '#';
  padding: 0 5px;
}
.category-list-count {
  padding: 6px 10px;
  position: absolute;
  right: 0;
}
.tag-list {
  padding: 10px;
}
.tag-list-item {
  position: relative;
  line-height: 23px;
  background-color: var(--theme-tag-bg);
  display: inline-block;
  margin: 5px;
  border: var(--theme-tag-border) solid 1px;
  border-radius: 3px;
}
.tag-list-item,
.tag-list-item a,
.tag-list-item span {
  transition: 0.3s;
}
@media (min-width: 769px) {
  .tag-list-item:hover {
    border-color: var(--theme-highlight);
  }
  .tag-list-item:hover a {
    color: var(--theme-text-hover);
    background-color: var(--theme-highlight);
  }
  .tag-list-item:hover span {
    background-color: var(--theme-tag-bg);
  }
  .tag-list-item:active {
    border-color: var(--theme-border);
  }
  .tag-list-item:active a {
    background-color: var(--theme-subcolor);
  }
}
.tag-list-link {
  color: var(--theme-text-light);
  padding: 3px 6px 3px 12px;
  display: table-cell;
  box-sizing: border-box;
}
.tag-list-link::after {
  content: '';
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}
.tag-list-count {
  width: 10px;
  padding: 3px 6px;
  color: var(--theme-text-light);
  background-color: var(--theme-tag-count-bg);
  display: table-cell;
  pointer-events: none;
  vertical-align: middle;
}
.bottom-btn {
  position: sticky;
  bottom: 0;
  z-index: 65536;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}
@media (max-width: 768px) {
  .bottom-btn {
    position: fixed;
    left: 0;
    width: 100vw;
  }
}
.bottom-btn div {
  position: absolute;
  right: 8px;
  bottom: 8px;
}
.bottom-btn a {
  position: absolute;
  overflow: hidden;
  display: block;
  right: 0;
  width: 40px;
  height: 40px;
  color: var(--theme-text-light);
  line-height: 40px;
  text-align: center;
  font-size: 40px;
  font-weight: 900;
  padding: 0;
  user-select: none;
}
.bottom-btn a:nth-last-child(1) {
  bottom: 0;
}
.bottom-btn a:nth-last-child(2) {
  bottom: 40px;
}
.bottom-btn a:nth-last-child(3) {
  bottom: 80px;
}
@media (min-width: 769px) {
  .bottom-btn a:hover {
    background-color: var(--theme-subcolor);
    color: var(--theme-text-hover);
  }
}
@media (min-width: 769px) {
  .i-top:hover {
    line-height: 30px;
  }
}
.i-color {
  display: flex;
}
@media (min-width: 769px) {
  .i-color:hover {
    line-height: 40px;
  }
  .i-color:hover::after {
    transform: rotate(90deg);
  }
}
.i-color::after {
  margin: auto;
  content: '';
  height: 16px;
  width: 16px;
  display: inline-block;
  border: 4px solid var(--theme-bg-light);
  border-radius: 50%;
  background: linear-gradient(45deg, transparent 10px, var(--theme-bg-light) 12px, var(--theme-bg-light));
  transition: transform 0.3s, filter 0.3s;
}
.i-index .tocBtnIconBar {
  background-color: var(--theme-text-light);
  width: 25px;
  position: absolute;
  top: 50%;
  width: 24px;
  height: 0.1em;
  text-indent: 101%;
  white-space: nowrap;
  overflow: hidden;
  transition: transform ease-in-out 0.3s;
  left: 8px;
}
.i-index .tocBtnIconBar:nth-child(1) {
  transform: translate(0, -250%);
}
.i-index .tocBtnIconBar:nth-child(2) {
  transform: translate(0, -50%);
}
.i-index .tocBtnIconBar:nth-child(3) {
  transform: translate(0, 150%);
}
.i-index.open .tocBtnIconBar:nth-child(1) {
  transform: translate(0, -50%) rotate(45deg) scaleX(1.2);
}
.i-index.open .tocBtnIconBar:nth-child(2) {
  transform: translate(0, -50%) translateX(-300%);
}
.i-index.open .tocBtnIconBar:nth-child(3) {
  transform: translate(0, -50%) rotate(-45deg) scaleX(1.2);
}
.gutter pre {
  margin: 6px 0;
  padding-top: 5px;
}
.code pre {
  margin: 6px 0;
}
.hljs span {
  line-height: 0;
}
.highlight {
  line-height: 20px;
  margin: 1em;
  overflow-x: hidden;
  border: unset;
}
.highlight table {
  display: block;
  overflow: auto;
}
.code-title {
  color: var(--theme-text-light);
  flex-grow: 1;
}
.highlight > .ex-content {
  padding-left: 0;
  background: unset;
}
.highlight > .ex-content:hover {
  background: unset;
}
.ex-header:not(:focus-visible)~.ex-content:not(:hover) > .code-copy:not(.copied,
:focus-visible) {
  opacity: 0;
}
.code-copy {
  position: absolute;
  top: 0.5em;
  right: 0.5em;
  height: 25px;
  width: 25px;
  border: 1px solid var(--theme-border-light);
  color: var(--theme-text-light);
  border-radius: 2px;
  transition: 0.3s;
}
.code-copy::before {
  content: '';
  position: absolute;
  top: 2px;
  right: 2px;
  height: 9px;
  width: 9px;
  border: 2px solid;
  border-radius: 2px;
}
.code-copy::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 2px;
  height: 9px;
  width: 9px;
  border: 2px solid;
  border-radius: 2px;
  clip-path: polygon(0 0, 4px 0, 4px 9px, 100% 9px, 100% 100%, 0 100%);
}
@media (min-width: 769px) {
  .code-copy:hover:not(.copied) {
    color: var(--theme-text-hover);
    border-color: var(--theme-subcolor);
    background: var(--theme-subcolor);
  }
}
@media (max-width: 768px) {
  .code-copy:active {
    color: var(--theme-subcolor);
  }
}
.code-copy.copied {
  border-color: var(--theme-subcolor);
  color: var(--theme-subcolor);
}
table td {
  border: 0;
}
table code {
  padding: 0 8px 5px 8px;
  background-color: transparent !important;
}
table .gutter {
  position: sticky;
  color: var(--theme-text-rev);
  text-align: right;
  background-color: var(--theme-highlight);
  left: 0;
  padding: 0 8px 5px 8px;
}
table .gutter,
table .gutter pre,
table .gutter span {
  user-select: none;
  pointer-events: none;
}
table .code {
  width: 100%;
  background-color: var(--theme-bg-soft);
  transition: 0.3s;
}
@media (min-width: 769px) {
  table .code:hover {
    background-color: var(--theme-bg-soft-hover);
  }
}
.MathJax {
  transform: translateZ(0);
}
.math.display {
  display: block;
  width: 100%;
  overflow: auto;
}
#post-content h1,
#post-content h2,
#post-content h3,
#post-content h4,
#post-content h5,
#post-content h6 {
  border-bottom: var(--theme-unimportant-trans) solid 1px;
  display: flex;
}
#post-content h1 {
  font-size: 1.75em;
}
#post-content h2 {
  font-size: 1.6em;
}
#post-content h3 {
  font-size: 1.45em;
}
#post-content h4 {
  font-size: 1.3em;
}
#post-content h5 {
  font-size: 1.15em;
}
#post-content h6 {
  font-size: 1em;
}
#post-bg {
  margin-top: 10px;
  width: 100%;
  box-sizing: border-box;
  padding: 20px 30px;
  background-color: var(--theme-bg-trans1);
  overflow-x: visible;
  min-height: calc(100vh - 20px);
  position: relative;
}
#post-bg img {
  max-width: 100%;
}
#post-title {
  flex-wrap: wrap;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}
#post-title h1 {
  display: inline-block;
  font-size: 2em;
}
#post-title hr {
  color: var(--theme-unimportant-2);
  position: relative;
}
#post-title hr:before {
  content: '';
  width: 13%;
  height: 3px;
  display: block;
  position: absolute;
  background-color: var(--theme-text-light);
  top: -3px;
  left: -1px;
}
#post-info {
  text-align: left;
}
#post-info time {
  color: var(--theme-highlight);
}
#post-info .control {
  display: inline-block;
  width: 90px;
}
#post-source span {
  color: var(--theme-subcolor);
  background-color: var(--theme-unimportant-2);
}
#post-content {
  padding-bottom: 1em;
}
#post-content table {
  width: 100%;
}
#post-content .footnote-ref:before {
  content: '';
  display: inline-block;
  margin-top: -60px;
  width: 1px;
  height: 60px;
  visibility: hidden;
}
#post-content .footnotes li:before {
  content: '';
  display: block;
  margin-top: -60px;
  height: 60px;
  visibility: hidden;
}
#post-content .headerlink {
  background-color: var(--theme-highlight);
  margin: 5px 7px 5px 0;
}
#post-content h1:target .headerlink,
#post-content h2:target .headerlink {
  background-color: var(--theme-subcolor);
}
#post-content h1 .headerlink,
#post-content h2 .headerlink {
  padding: 0 0 0 6px;
}
#post-content h3:target .headerlink,
#post-content h4:target .headerlink,
#post-content h5:target .headerlink,
#post-content h6:target .headerlink {
  background-color: var(--theme-subcolor);
}
#post-content h3 .headerlink,
#post-content h4 .headerlink,
#post-content h5 .headerlink,
#post-content h6 .headerlink {
  padding: 0 0 0 5px;
}
#reward {
  margin: 1em 0;
  color: var(--theme-text-rev);
  text-align: center;
  background-color: var(--theme-bg-soft);
}
#reward:hover {
  background-color: var(--theme-bg-soft-hover);
}
#reward summary {
  background-color: var(--theme-subcolor);
}
#reward div {
  width: 45%;
  margin: 0;
  padding: 20px 0;
  display: inline-block;
}
#reward span {
  color: var(--theme-highlight);
  padding-right: 10px;
}
#reward img {
  width: 80%;
  max-width: 280px;
  padding: 0 20px;
}
#pages {
  padding: 5px;
  display: flex;
  justify-content: center;
  border-top: var(--theme-border) solid 2px;
}
.footer-link {
  padding: 5px;
  width: 50%;
  align-self: center;
  height: 100%;
  position: relative;
}
#docs-home {
  margin-bottom: 30px;
}
.docs-section-title {
  color: var(--theme-highlight);
  font-size: 1.1rem;
  font-weight: bold;
  padding: 0 0 12px 0;
  margin: 0 0 10px 0;
  border-bottom: 2px solid var(--theme-highlight);
}
.docs-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
  margin-bottom: 8px;
}
.docs-card {
  background-color: var(--theme-bg-trans1);
  border: 1px solid var(--theme-unimportant);
  padding: 14px 16px;
  display: block;
  transition: 0.3s;
  position: relative;
}
.docs-card:hover {
  background-color: var(--theme-highlight);
  border-color: var(--theme-highlight);
}
.docs-card:hover .docs-card-title,
.docs-card:hover .docs-card-desc {
  color: var(--theme-text-hover);
}
.docs-card:hover .docs-card-icon {
  color: var(--theme-text-hover);
}
.docs-card .docs-card-icon {
  font-size: 1.4rem;
  margin-bottom: 6px;
  display: block;
}
.docs-card .docs-card-title {
  color: var(--theme-text-light);
  font-weight: bold;
  font-size: 0.95rem;
  margin-bottom: 4px;
  line-height: 1.3;
}
.docs-card .docs-card-desc {
  color: var(--theme-unimportant);
  font-size: 0.8rem;
  line-height: 1.4;
  margin: 0;
}
.posts-title {
  color: var(--theme-highlight);
  font-size: 1.1rem;
  font-weight: bold;
  padding: 0 0 12px 0;
  margin: 20px 0 10px 0;
  border-bottom: 2px solid var(--theme-highlight);
}
.footer-credit {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: center;
  margin-top: 200px;
}
.footer-credit .footer-line {
  text-align: center;
  width: 100%;
}
.footer-credit .footer-line a {
  font-family: BenderLight !important;
  font-size: 24px !important;
  color: #2bf;
  text-decoration: none;
  padding: 6px 0 !important;
  display: inline;
}
.footer-credit .footer-line a span {
  display: inline-block;
  text-align: center;
  line-height: 39px;
  height: 39px;
  white-space: nowrap;
  font-family: BenderLight !important;
  font-size: 24px !important;
  padding: 0;
}
.footer-credit .footer-line a:hover {
  background: #2bf;
  color: #fff !important;
}
.footer-credit .footer-line a:hover span {
  color: #fff !important;
}
.footer-credit .footer-line span {
  font-size: 24px !important;
}
.footer-credit .footer-line:nth-child(2) {
  margin: 39px 0;
}
#wiki-login-page {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  background: #06060c;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}
#wiki-login-page #wiki-login-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
#wiki-login-page .wiki-login-scanlines {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background: repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0,255,200,0.02) 2px, rgba(0,255,200,0.02) 4px);
  animation: scanline-move 10s linear infinite;
}
#wiki-login-page .wiki-login-grid {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background-image: linear-gradient(rgba(0,255,200,0.025) 1px, transparent 1px), linear-gradient(90deg, rgba(0,255,200,0.025) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at center, #000 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 20%, transparent 70%);
}
#wiki-login-page .wiki-login-container {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 420px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}
#wiki-login-page .wiki-login-brand {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}
#wiki-login-page .wiki-login-brand-icon {
  width: 64px;
  height: 64px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0fa;
  animation: brand-pulse 3s ease-in-out infinite;
}
#wiki-login-page .wiki-login-brand-icon::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,255,170,0.12), rgba(0,200,255,0.08));
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  border: 1px solid rgba(0,255,170,0.3);
}
#wiki-login-page .wiki-login-brand-icon::after {
  content: '';
  position: absolute;
  inset: 3px;
  background: linear-gradient(135deg, rgba(0,255,170,0.06), rgba(0,200,255,0.04));
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}
#wiki-login-page .wiki-login-brand-icon svg {
  width: 28px;
  height: 28px;
  position: relative;
  z-index: 1;
  stroke: #0fa;
}
#wiki-login-page .wiki-login-brand-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: #fff;
  margin: 0;
  letter-spacing: 4px;
  text-shadow: 0 0 20px rgba(0,255,170,0.3), 0 0 40px rgba(0,255,170,0.1);
  font-family: 'BenderLight', monospace;
}
#wiki-login-page .wiki-login-brand-subtitle {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.35);
  margin: 0;
  letter-spacing: 6px;
  text-transform: uppercase;
  font-family: 'BenderLight', monospace;
}
#wiki-login-page .wiki-login-card {
  width: 100%;
  background: rgba(6,10,18,0.94);
  backdrop-filter: blur(30px);
  border: 1px solid rgba(0,255,170,0.1);
  position: relative;
  overflow: visible;
  box-shadow: 0 0 0 1px rgba(0,255,170,0.03), 0 12px 48px rgba(0,0,0,0.7), 0 0 100px rgba(0,255,170,0.03);
  padding: 2rem;
}
#wiki-login-page .wiki-login-card::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 24px;
  right: 24px;
  height: 1px;
  background: linear-gradient(90deg, transparent, #0fa, transparent);
  opacity: 0.5;
}
#wiki-login-page .wiki-login-card::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 24px;
  right: 24px;
  height: 1px;
  background: linear-gradient(90deg, transparent, #0c8, transparent);
  opacity: 0.3;
}
#wiki-login-page .wiki-login-card .wiki-card-corner {
  position: absolute;
  width: 12px;
  height: 12px;
  border-color: rgba(0,255,170,0.35);
  border-style: solid;
  transition: all 0.3s ease;
}
#wiki-login-page .wiki-login-card .wiki-card-corner--tl {
  top: -1px;
  left: -1px;
  border-width: 2px 0 0 2px;
}
#wiki-login-page .wiki-login-card .wiki-card-corner--tr {
  top: -1px;
  right: -1px;
  border-width: 2px 2px 0 0;
}
#wiki-login-page .wiki-login-card .wiki-card-corner--bl {
  bottom: -1px;
  left: -1px;
  border-width: 0 0 2px 2px;
}
#wiki-login-page .wiki-login-card .wiki-card-corner--br {
  bottom: -1px;
  right: -1px;
  border-width: 0 2px 2px 0;
}
#wiki-login-page .wiki-login-card:hover .wiki-card-corner {
  width: 20px;
  height: 20px;
  border-color: rgba(0,255,170,0.6);
}
#wiki-login-page .wiki-login-field {
  margin-bottom: 1.25rem;
  position: relative;
}
#wiki-login-page .wiki-login-field:last-child {
  margin-bottom: 0;
}
#wiki-login-page .wiki-login-label {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.68rem;
  color: rgba(0,255,170,0.55);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 0.5rem;
  font-weight: 500;
  font-family: 'BenderLight', monospace;
}
#wiki-login-page .wiki-login-label svg {
  opacity: 0.4;
  stroke: rgba(0,255,170,0.6);
}
#wiki-login-page .wiki-login-field input[type="text"],
#wiki-login-page .wiki-login-field input[type="password"] {
  width: 100%;
  padding: 0.75rem 1rem;
  background: rgba(0,0,0,0.55);
  border: 1px solid rgba(0,255,170,0.12);
  border-radius: 0;
  color: #e0fff0;
  font-size: 0.9rem;
  font-family: 'BenderLight', monospace;
  outline: none;
  transition: all 0.3s ease;
  box-sizing: border-box;
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}
#wiki-login-page .wiki-login-field input[type="text"]::placeholder,
#wiki-login-page .wiki-login-field input[type="password"]::placeholder {
  color: rgba(255,255,255,0.18);
  font-family: 'BenderLight', monospace;
}
#wiki-login-page .wiki-login-field input[type="text"]:focus,
#wiki-login-page .wiki-login-field input[type="password"]:focus {
  border-color: rgba(0,255,170,0.4);
  box-shadow: 0 0 0 1px rgba(0,255,170,0.08), inset 0 0 24px rgba(0,255,170,0.03);
  background: rgba(0,0,0,0.75);
  color: #fff;
}
#wiki-login-page .wiki-login-field-line {
  position: absolute;
  bottom: 0;
  left: 10px;
  right: 10px;
  height: 1px;
  background: linear-gradient(90deg, transparent, #0fa, transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}
#wiki-login-page .wiki-login-field input:focus ~ .wiki-login-field-line {
  opacity: 0.5;
}
#wiki-login-page .wiki-login-mode-tabs {
  display: flex;
  gap: 0;
  background: rgba(0,0,0,0.45);
  border: 1px solid rgba(0,255,170,0.08);
  padding: 0.2rem;
  position: relative;
}
#wiki-login-page .wiki-login-mode-tabs::before {
  content: '';
  position: absolute;
  top: -1px;
  left: -1px;
  width: 6px;
  height: 6px;
  border-top: 1px solid rgba(0,255,170,0.25);
  border-left: 1px solid rgba(0,255,170,0.25);
}
#wiki-login-page .wiki-login-mode-tabs::after {
  content: '';
  position: absolute;
  bottom: -1px;
  right: -1px;
  width: 6px;
  height: 6px;
  border-bottom: 1px solid rgba(0,255,170,0.25);
  border-right: 1px solid rgba(0,255,170,0.25);
}
#wiki-login-page .wiki-mode-tab {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  padding: 0.55rem 0.15rem;
  background: transparent;
  border: none;
  color: rgba(255,255,255,0.35);
  font-size: 0.65rem;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  font-family: 'BenderLight', monospace;
  letter-spacing: 1px;
  text-transform: uppercase;
}
#wiki-login-page .wiki-mode-tab::before {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid transparent;
  transition: all 0.3s ease;
}
#wiki-login-page .wiki-mode-tab:hover {
  color: rgba(255,255,255,0.65);
  background: rgba(0,255,170,0.03);
}
#wiki-login-page .wiki-mode-tab.active {
  color: #0fa;
  background: rgba(0,255,170,0.07);
}
#wiki-login-page .wiki-mode-tab.active::before {
  border-color: rgba(0,255,170,0.2);
}
#wiki-login-page .wiki-mode-tab.active .wiki-mode-tab-icon svg {
  filter: drop-shadow(0 0 4px rgba(0,255,170,0.4));
  stroke: #0fa;
}
#wiki-login-page .wiki-mode-tab.active::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 25%;
  right: 25%;
  height: 1px;
  background: #0fa;
  box-shadow: 0 0 6px rgba(0,255,170,0.3);
}
#wiki-login-page .wiki-mode-tab-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}
#wiki-login-page .wiki-mode-tab-icon svg {
  width: 18px;
  height: 18px;
  stroke: rgba(255,255,255,0.35);
  transition: all 0.3s ease;
}
#wiki-login-page .wiki-mode-tab-text {
  font-size: 0.6rem;
  white-space: nowrap;
}
#wiki-login-page .wiki-login-submit {
  width: 100%;
  padding: 0.875rem;
  margin-top: 0.75rem;
  background: rgba(0,255,170,0.06);
  border: 1px solid rgba(0,255,170,0.2);
  border-radius: 0;
  color: #0fa;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 5px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  text-transform: uppercase;
  font-family: 'BenderLight', monospace;
  clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px);
}
#wiki-login-page .wiki-login-submit:hover {
  background: rgba(0,255,170,0.12);
  border-color: rgba(0,255,170,0.4);
  box-shadow: 0 0 20px rgba(0,255,170,0.1), inset 0 0 20px rgba(0,255,170,0.03);
  transform: translateY(-1px);
  color: #fff;
}
#wiki-login-page .wiki-login-submit:active {
  transform: translateY(0);
}
#wiki-login-page .wiki-login-submit .wiki-submit-glow {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(0,255,170,0.12), transparent);
  transform: translateX(-100%);
  transition: transform 0.8s ease;
}
#wiki-login-page .wiki-login-submit:hover .wiki-submit-glow {
  transform: translateX(100%);
}
#wiki-login-page .wiki-login-submit::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 6px;
  height: 6px;
  border-top: 1px solid #0fa;
  border-left: 1px solid #0fa;
  opacity: 0.4;
}
#wiki-login-page .wiki-login-submit::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 6px;
  height: 6px;
  border-bottom: 1px solid #0fa;
  border-right: 1px solid #0fa;
  opacity: 0.4;
}
#wiki-login-page .wiki-login-error {
  color: #f55;
  font-size: 0.78rem;
  text-align: center;
  min-height: 1.2rem;
  margin-top: -0.25rem;
  margin-bottom: 0.5rem;
  text-shadow: 0 0 8px rgba(255,85,85,0.25);
  animation: error-flicker 0.5s ease;
  font-family: 'BenderLight', monospace;
  letter-spacing: 1px;
}
#wiki-login-page .wiki-login-footer {
  font-size: 0.65rem;
  color: rgba(255,255,255,0.2);
  text-align: center;
  margin: 0;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-family: 'BenderLight', monospace;
}
@media (max-width: 480px) {
  #wiki-login-page .wiki-login-container {
    padding: 1rem;
    max-width: 100%;
  }
  #wiki-login-page .wiki-login-card {
    padding: 1.5rem;
  }
  #wiki-login-page .wiki-login-brand-title {
    font-size: 1.3rem;
  }
  #wiki-login-page .wiki-mode-tab-text {
    font-size: 0.55rem;
  }
  #wiki-login-page .wiki-login-brand-icon {
    width: 52px;
    height: 52px;
  }
}
@-moz-keyframes scanline-move {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 0 100vh;
  }
}
@-webkit-keyframes scanline-move {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 0 100vh;
  }
}
@-o-keyframes scanline-move {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 0 100vh;
  }
}
@keyframes scanline-move {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 0 100vh;
  }
}
@-moz-keyframes border-glow {
  0%, 100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}
@-webkit-keyframes border-glow {
  0%, 100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}
@-o-keyframes border-glow {
  0%, 100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}
@keyframes border-glow {
  0%, 100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}
@-moz-keyframes brand-pulse {
  0%, 100% {
    filter: drop-shadow(0 0 6px rgba(0,255,170,0.15));
  }
  50% {
    filter: drop-shadow(0 0 14px rgba(0,255,170,0.35));
  }
}
@-webkit-keyframes brand-pulse {
  0%, 100% {
    filter: drop-shadow(0 0 6px rgba(0,255,170,0.15));
  }
  50% {
    filter: drop-shadow(0 0 14px rgba(0,255,170,0.35));
  }
}
@-o-keyframes brand-pulse {
  0%, 100% {
    filter: drop-shadow(0 0 6px rgba(0,255,170,0.15));
  }
  50% {
    filter: drop-shadow(0 0 14px rgba(0,255,170,0.35));
  }
}
@keyframes brand-pulse {
  0%, 100% {
    filter: drop-shadow(0 0 6px rgba(0,255,170,0.15));
  }
  50% {
    filter: drop-shadow(0 0 14px rgba(0,255,170,0.35));
  }
}
@-moz-keyframes error-flicker {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}
@-webkit-keyframes error-flicker {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}
@-o-keyframes error-flicker {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}
@keyframes error-flicker {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}
.wiki-login-btn {
  position: fixed;
  top: 16px;
  right: 20px;
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: rgba(0,255,200,0.08);
  border: 1px solid rgba(0,255,200,0.2);
  color: #2bf;
  font-size: 0.8rem;
  font-family: 'BenderLight', monospace;
  letter-spacing: 1px;
  text-decoration: none;
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
  transition: all 0.3s ease;
}
.wiki-login-btn svg {
  stroke: #2bf;
  transition: all 0.3s ease;
}
.wiki-login-btn:hover {
  background: rgba(0,255,200,0.15);
  border-color: rgba(0,255,200,0.4);
  box-shadow: 0 0 15px rgba(0,255,200,0.1);
  color: #fff;
}
.wiki-login-btn:hover svg {
  stroke: #fff;
  filter: drop-shadow(0 0 4px rgba(0,255,200,0.5));
}
#wiki-scan-transition {
  position: fixed;
  inset: 0;
  z-index: 10000;
  pointer-events: none;
  overflow: hidden;
}
#wiki-scan-transition .wiki-scan-line {
  position: absolute;
  top: 0;
  right: -90px;
  width: 90px;
  height: 100%;
  background: linear-gradient(90deg, transparent 0%, rgba(0,255,200,0.03) 15%, rgba(0,255,200,0.18) 50%, rgba(0,255,200,0.03) 85%, transparent 100%);
  box-shadow: -15px 0 50px rgba(0,255,200,0.2), 15px 0 50px rgba(0,255,200,0.1), inset 0 0 40px rgba(0,255,200,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 3.6s cubic-bezier(0.22, 0, 0.28, 1);
}
#wiki-scan-transition .wiki-scan-line::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(180deg, transparent, #2bf, transparent);
  opacity: 0.6;
}
#wiki-scan-transition .wiki-scan-line::after {
  content: '';
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(180deg, transparent, #2bf, transparent);
  opacity: 0.4;
}
#wiki-scan-transition.active .wiki-scan-line {
  transform: translateX(-280vw);
}
#wiki-scan-transition .wiki-scan-preview {
  width: 72px;
  height: 78%;
  background: rgba(6,10,16,0.97);
  border: 1px solid rgba(0,255,200,0.2);
  border-radius: 3px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 8px 6px;
  box-shadow: 0 0 30px rgba(0,255,200,0.08), inset 0 0 20px rgba(0,255,200,0.02);
  position: relative;
}
#wiki-scan-transition .wiki-scan-msg {
  align-self: var(--a);
  width: var(--w);
  height: 7px;
  background: rgba(0,255,200,0.12);
  border-radius: 3px;
  animation: scan-msg-pulse 1.8s ease var(--d) infinite alternate;
}
#wiki-scan-transition .wiki-scan-input {
  margin-top: auto;
  height: 12px;
  border: 1px solid rgba(0,255,200,0.15);
  border-radius: 2px;
  position: relative;
  background: rgba(0,255,200,0.03);
}
#wiki-scan-transition .wiki-scan-cursor {
  position: absolute;
  left: 3px;
  top: 3px;
  bottom: 3px;
  width: 2px;
  background: #2bf;
  animation: cursor-blink 0.7s step-end infinite;
  box-shadow: 0 0 4px rgba(0,255,200,0.5);
}
#wiki-scan-transition .wiki-scan-datastream {
  position: absolute;
  left: 0;
  right: 0;
  top: var(--top);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,255,200,0.15), transparent);
  opacity: 0;
  animation: datastream-flow 2s linear var(--delay) infinite;
}
@-moz-keyframes scan-msg-pulse {
  from {
    opacity: 0.25;
    transform: scaleX(0.9);
  }
  to {
    opacity: 0.7;
    transform: scaleX(1);
  }
}
@-webkit-keyframes scan-msg-pulse {
  from {
    opacity: 0.25;
    transform: scaleX(0.9);
  }
  to {
    opacity: 0.7;
    transform: scaleX(1);
  }
}
@-o-keyframes scan-msg-pulse {
  from {
    opacity: 0.25;
    transform: scaleX(0.9);
  }
  to {
    opacity: 0.7;
    transform: scaleX(1);
  }
}
@keyframes scan-msg-pulse {
  from {
    opacity: 0.25;
    transform: scaleX(0.9);
  }
  to {
    opacity: 0.7;
    transform: scaleX(1);
  }
}
@-moz-keyframes cursor-blink {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
}
@-webkit-keyframes cursor-blink {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
}
@-o-keyframes cursor-blink {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
}
@keyframes cursor-blink {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
}
@-moz-keyframes datastream-flow {
  0% {
    opacity: 0;
    transform: translateX(100%);
  }
  20% {
    opacity: 1;
  }
  80% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateX(-100%);
  }
}
@-webkit-keyframes datastream-flow {
  0% {
    opacity: 0;
    transform: translateX(100%);
  }
  20% {
    opacity: 1;
  }
  80% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateX(-100%);
  }
}
@-o-keyframes datastream-flow {
  0% {
    opacity: 0;
    transform: translateX(100%);
  }
  20% {
    opacity: 1;
  }
  80% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateX(-100%);
  }
}
@keyframes datastream-flow {
  0% {
    opacity: 0;
    transform: translateX(100%);
  }
  20% {
    opacity: 1;
  }
  80% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateX(-100%);
  }
}
#wiki-login-page {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  background: #0a0a0f;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
/* Canvas 粒子背景 */
/* 扫描线 overlay */
/* 主内容容器 */
/* === 品牌区 === */
/* === 登录卡片 === */
/* === 表单字段 === */
/* === 模式切换标签 === */
/* === 提交按钮 === */
/* === 错误提示 === */
/* === 底部提示 === */
/* === 动画定义 === */
/* === 响应式 === */
}
#wiki-login-page #wiki-login-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}
#wiki-login-page .wiki-login-scanlines {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0,255,255,0.03) 2px, rgba(0,255,255,0.03) 4px);
  animation: scanline-move 8s linear infinite;
}
#wiki-login-page .wiki-login-container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 420px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}
#wiki-login-page .wiki-login-brand {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}
#wiki-login-page .wiki-login-brand-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(0,255,255,0.1), rgba(255,0,128,0.1));
  border: 1px solid rgba(0,255,255,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #2bf;
  font-size: 28px;
  animation: brand-pulse 3s ease-in-out infinite;
  box-shadow: 0 0 20px rgba(0,255,255,0.15), inset 0 0 20px rgba(0,255,255,0.05);
}
#wiki-login-page .wiki-login-brand-icon svg {
  width: 32px;
  height: 32px;
}
#wiki-login-page .wiki-login-brand-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: #fff;
  margin: 0;
  letter-spacing: 2px;
  text-shadow: 0 0 20px rgba(0,255,255,0.4), 0 0 40px rgba(0,255,255,0.2);
}
#wiki-login-page .wiki-login-brand-subtitle {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.5);
  margin: 0;
  letter-spacing: 4px;
  text-transform: uppercase;
}
#wiki-login-page .wiki-login-card {
  width: 100%;
  background: rgba(10,15,25,0.85);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(0,255,255,0.15);
  border-radius: 16px;
  padding: 2rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,0.5), 0 0 60px rgba(0,255,255,0.05);
/* 卡片发光边框动画 */
}
#wiki-login-page .wiki-login-card::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, #2bf, transparent, #fe2, transparent, #2bf);
  background-size: 400% 400%;
  border-radius: 18px;
  z-index: -1;
  animation: border-glow 6s ease infinite;
  opacity: 0.4;
}
#wiki-login-page .wiki-login-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(0,255,255,0.03) 0%, transparent 50%);
  pointer-events: none;
}
#wiki-login-page .wiki-login-field {
  margin-bottom: 1.25rem;
  position: relative;
}
#wiki-login-page .wiki-login-field:last-child {
  margin-bottom: 0;
}
#wiki-login-page .wiki-login-label {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  color: rgba(0,255,255,0.7);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 0.5rem;
  font-weight: 500;
}
#wiki-login-page .wiki-login-label svg {
  opacity: 0.6;
}
#wiki-login-page .wiki-login-field input[type="text"],
#wiki-login-page .wiki-login-field input[type="password"] {
  width: 100%;
  padding: 0.75rem 1rem;
  background: rgba(0,0,0,0.4);
  border: 1px solid rgba(0,255,255,0.2);
  border-radius: 8px;
  color: #fff;
  font-size: 0.9375rem;
  font-family: inherit;
  outline: none;
  transition: all 0.3s ease;
  box-sizing: border-box;
}
#wiki-login-page .wiki-login-field input[type="text"]::placeholder,
#wiki-login-page .wiki-login-field input[type="password"]::placeholder {
  color: rgba(255,255,255,0.25);
}
#wiki-login-page .wiki-login-field input[type="text"]:focus,
#wiki-login-page .wiki-login-field input[type="password"]:focus {
  border-color: #2bf;
  box-shadow: 0 0 0 3px rgba(0,255,255,0.1), 0 0 15px rgba(0,255,255,0.1);
  background: rgba(0,0,0,0.6);
}
#wiki-login-page .wiki-login-field textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  background: rgba(0,0,0,0.4);
  border: 1px solid rgba(0,255,255,0.2);
  border-radius: 8px;
  color: #fff;
  font-size: 0.9375rem;
  font-family: inherit;
  outline: none;
  transition: all 0.3s ease;
  box-sizing: border-box;
  resize: vertical;
  min-height: 80px;
}
#wiki-login-page .wiki-login-field textarea::placeholder {
  color: rgba(255,255,255,0.25);
}
#wiki-login-page .wiki-login-field textarea:focus {
  border-color: #2bf;
  box-shadow: 0 0 0 3px rgba(0,255,255,0.1), 0 0 15px rgba(0,255,255,0.1);
  background: rgba(0,0,0,0.6);
}
#wiki-login-page .wiki-login-field-line {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #2bf, transparent);
  transition: all 0.4s ease;
  border-radius: 1px;
}
#wiki-login-page .wiki-login-field input:focus + .wiki-login-field-line {
  left: 0;
  width: 100%;
}
#wiki-login-page .wiki-login-mode-tabs {
  display: flex;
  gap: 0.5rem;
  background: rgba(0,0,0,0.3);
  border-radius: 10px;
  padding: 0.25rem;
  border: 1px solid rgba(0,255,255,0.1);
}
#wiki-login-page .wiki-mode-tab {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  padding: 0.6rem 0.3rem;
  background: transparent;
  border: none;
  border-radius: 8px;
  color: rgba(255,255,255,0.5);
  font-size: 0.75rem;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
#wiki-login-page .wiki-mode-tab:hover {
  color: rgba(255,255,255,0.8);
  background: rgba(0,255,255,0.05);
}
#wiki-login-page .wiki-mode-tab.active {
  color: #2bf;
  background: rgba(0,255,255,0.1);
  box-shadow: 0 0 15px rgba(0,255,255,0.1);
}
#wiki-login-page .wiki-mode-tab.active .wiki-mode-tab-icon {
  filter: drop-shadow(0 0 6px rgba(0,255,255,0.5));
}
#wiki-login-page .wiki-mode-tab-icon {
  font-size: 1.25rem;
  transition: all 0.3s ease;
}
#wiki-login-page .wiki-mode-tab-text {
  font-size: 0.7rem;
  white-space: nowrap;
}
#wiki-login-page .wiki-login-submit {
  width: 100%;
  padding: 0.875rem;
  margin-top: 0.5rem;
  background: linear-gradient(135deg, rgba(0,255,255,0.15), rgba(0,200,255,0.1));
  border: 1px solid rgba(0,255,255,0.3);
  border-radius: 10px;
  color: #2bf;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 2px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  text-transform: uppercase;
}
#wiki-login-page .wiki-login-submit:hover {
  background: linear-gradient(135deg, rgba(0,255,255,0.25), rgba(0,200,255,0.2));
  border-color: #2bf;
  box-shadow: 0 0 25px rgba(0,255,255,0.2), 0 0 50px rgba(0,255,255,0.1);
  transform: translateY(-1px);
}
#wiki-login-page .wiki-login-submit:active {
  transform: translateY(0);
}
#wiki-login-page .wiki-login-submit .wiki-submit-glow {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(0,255,255,0.1), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}
#wiki-login-page .wiki-login-submit:hover .wiki-submit-glow {
  transform: translateX(100%);
}
#wiki-login-page .wiki-login-error {
  color: #f44;
  font-size: 0.8125rem;
  text-align: center;
  min-height: 1.2rem;
  margin-top: -0.5rem;
  margin-bottom: 0.5rem;
  text-shadow: 0 0 10px rgba(255,68,68,0.3);
  animation: error-flicker 0.5s ease;
}
#wiki-login-page .wiki-login-footer {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.3);
  text-align: center;
  margin: 0;
  letter-spacing: 1px;
}
@media (max-width: 480px) {
  #wiki-login-page .wiki-login-container {
    padding: 1rem;
    max-width: 100%;
  }
  #wiki-login-page .wiki-login-card {
    padding: 1.5rem;
    border-radius: 12px;
  }
  #wiki-login-page .wiki-login-brand-title {
    font-size: 1.5rem;
  }
  #wiki-login-page .wiki-mode-tab-text {
    font-size: 0.65rem;
  }
}
@-moz-keyframes scanline-move {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 0 100vh;
  }
}
@-webkit-keyframes scanline-move {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 0 100vh;
  }
}
@-o-keyframes scanline-move {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 0 100vh;
  }
}
@keyframes scanline-move {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 0 100vh;
  }
}
@-moz-keyframes border-glow {
  0%, 100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}
@-webkit-keyframes border-glow {
  0%, 100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}
@-o-keyframes border-glow {
  0%, 100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}
@keyframes border-glow {
  0%, 100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}
@-moz-keyframes brand-pulse {
  0%, 100% {
    box-shadow: 0 0 20px rgba(0,255,255,0.15), inset 0 0 20px rgba(0,255,255,0.05);
  }
  50% {
    box-shadow: 0 0 35px rgba(0,255,255,0.3), inset 0 0 30px rgba(0,255,255,0.1);
  }
}
@-webkit-keyframes brand-pulse {
  0%, 100% {
    box-shadow: 0 0 20px rgba(0,255,255,0.15), inset 0 0 20px rgba(0,255,255,0.05);
  }
  50% {
    box-shadow: 0 0 35px rgba(0,255,255,0.3), inset 0 0 30px rgba(0,255,255,0.1);
  }
}
@-o-keyframes brand-pulse {
  0%, 100% {
    box-shadow: 0 0 20px rgba(0,255,255,0.15), inset 0 0 20px rgba(0,255,255,0.05);
  }
  50% {
    box-shadow: 0 0 35px rgba(0,255,255,0.3), inset 0 0 30px rgba(0,255,255,0.1);
  }
}
@keyframes brand-pulse {
  0%, 100% {
    box-shadow: 0 0 20px rgba(0,255,255,0.15), inset 0 0 20px rgba(0,255,255,0.05);
  }
  50% {
    box-shadow: 0 0 35px rgba(0,255,255,0.3), inset 0 0 30px rgba(0,255,255,0.1);
  }
}
@-moz-keyframes error-flicker {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}
@-webkit-keyframes error-flicker {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}
@-o-keyframes error-flicker {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}
@keyframes error-flicker {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}
