:root {
  --body-bg-color: #fff;
  --content-bg-color: #f5f5f5;
  --card-bg-color: #f5f5f5;
  --text-color: #555;
  --selection-bg: #262a30;
  --selection-color: #eee;
  --blockquote-color: #666;
  --link-color: #555;
  --link-hover-color: #222;
  --brand-color: #222;
  --brand-hover-color: #222;
  --table-row-odd-bg-color: #f9f9f9;
  --table-row-hover-bg-color: #f5f5f5;
  --menu-item-bg-color: #ddd;
  --theme-color: #05060b;
  --btn-default-bg: transparent;
  --btn-default-color: var(--link-color);
  --btn-default-border-color: var(--link-color);
  --btn-default-hover-bg: transparent;
  --btn-default-hover-color: var(--link-hover-color);
  --btn-default-hover-border-color: var(--link-hover-color);
  --highlight-background: #1c1b1b;
  --highlight-foreground: #fff;
  --highlight-gutter-background: #323131;
  --highlight-gutter-foreground: #e8e8e8;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --body-bg-color: #282828;
    --content-bg-color: #333;
    --card-bg-color: #555;
    --text-color: #ccc;
    --selection-bg: #bbb;
    --selection-color: #333;
    --blockquote-color: #bbb;
    --link-color: #ccc;
    --link-hover-color: #eee;
    --brand-color: #ddd;
    --brand-hover-color: #ddd;
    --table-row-odd-bg-color: #282828;
    --table-row-hover-bg-color: #363636;
    --menu-item-bg-color: #555;
    --theme-color: #05060b;
    --btn-default-bg: #222;
    --btn-default-color: #ccc;
    --btn-default-border-color: #555;
    --btn-default-hover-bg: #666;
    --btn-default-hover-color: #ccc;
    --btn-default-hover-border-color: #666;
    --highlight-background: #1c1b1b;
    --highlight-foreground: #fff;
    --highlight-gutter-background: #323131;
    --highlight-gutter-foreground: #e8e8e8;
    color-scheme: dark;
  }
  img {
    opacity: 0.75;
  }
  img:hover {
    opacity: 0.9;
  }
  iframe {
    color-scheme: light;
  }
}
html {
  line-height: 1.15; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
}
body {
  margin: 0;
}
main {
  display: block;
}
h1 {
  font-size: 2em;
  margin: 0.67em 0;
}
hr {
  box-sizing: content-box; /* 1 */
  height: 0; /* 1 */
  overflow: visible; /* 2 */
}
pre {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}
a {
  background: transparent;
}
abbr[title] {
  border-bottom: none; /* 1 */
  text-decoration: underline; /* 2 */
  text-decoration: underline dotted; /* 2 */
}
b,
strong {
  font-weight: bolder;
}
code,
kbd,
samp {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}
small {
  font-size: 80%;
}
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}
sub {
  bottom: -0.25em;
}
sup {
  top: -0.5em;
}
img {
  border-style: none;
}
button,
input,
optgroup,
select,
textarea {
  font-family: inherit; /* 1 */
  font-size: 100%; /* 1 */
  line-height: 1.15; /* 1 */
  margin: 0; /* 2 */
}
button,
input {
/* 1 */
  overflow: visible;
}
button,
select {
/* 1 */
  text-transform: none;
}
button,
[type='button'],
[type='reset'],
[type='submit'] {
  -webkit-appearance: button;
}
button::-moz-focus-inner,
[type='button']::-moz-focus-inner,
[type='reset']::-moz-focus-inner,
[type='submit']::-moz-focus-inner {
  border-style: none;
  padding: 0;
}
button:-moz-focusring,
[type='button']:-moz-focusring,
[type='reset']:-moz-focusring,
[type='submit']:-moz-focusring {
  outline: 1px dotted ButtonText;
}
fieldset {
  padding: 0.35em 0.75em 0.625em;
}
legend {
  box-sizing: border-box; /* 1 */
  color: inherit; /* 2 */
  display: table; /* 1 */
  max-width: 100%; /* 1 */
  padding: 0; /* 3 */
  white-space: normal; /* 1 */
}
progress {
  vertical-align: baseline;
}
textarea {
  overflow: auto;
}
[type='checkbox'],
[type='radio'] {
  box-sizing: border-box; /* 1 */
  padding: 0; /* 2 */
}
[type='number']::-webkit-inner-spin-button,
[type='number']::-webkit-outer-spin-button {
  height: auto;
}
[type='search'] {
  outline-offset: -2px; /* 2 */
  -webkit-appearance: textfield; /* 1 */
}
[type='search']::-webkit-search-decoration {
  -webkit-appearance: none;
}
::-webkit-file-upload-button {
  font: inherit; /* 2 */
  -webkit-appearance: button; /* 1 */
}
details {
  display: block;
}
summary {
  display: list-item;
}
template {
  display: none;
}
[hidden] {
  display: none;
}
::selection {
  background: var(--selection-bg);
  color: var(--selection-color);
}
html,
body {
  height: 100%;
}
body {
  background: var(--body-bg-color);
  box-sizing: border-box;
  color: var(--text-color);
  font-family: Lato, 'PingFang SC', 'Microsoft YaHei', sans-serif;
  font-size: 1em;
  line-height: 2;
  min-height: 100%;
  position: relative;
  transition: padding 0.2s ease-in-out;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: Lato, 'PingFang SC', 'Microsoft YaHei', sans-serif;
  font-weight: bold;
  line-height: 1.5;
  margin: 30px 0 15px;
}
h1 {
  font-size: 1.5em;
}
h2 {
  font-size: 1.375em;
}
h3 {
  font-size: 1.25em;
}
h4 {
  font-size: 1.125em;
}
h5 {
  font-size: 1em;
}
h6 {
  font-size: 0.875em;
}
a {
  border-bottom: 1px solid #ccc;
  color: var(--link-color);
  cursor: pointer;
  outline: 0;
  text-decoration: none;
  overflow-wrap: break-word;
}
a:hover {
  border-bottom-color: var(--link-hover-color);
  color: var(--link-hover-color);
}
iframe,
img,
video,
embed {
  display: block;
  margin-left: auto;
  margin-right: auto;
  max-width: 100%;
}
hr {
  background-image: repeating-linear-gradient(-45deg, #ddd, #ddd 4px, transparent 4px, transparent 8px);
  border: 0;
  height: 3px;
  margin: 40px 0;
}
blockquote {
  border-left: 4px solid #ddd;
  color: var(--blockquote-color);
  margin: 0;
  padding: 0 15px;
}
blockquote cite::before {
  content: '-';
  padding: 0 5px;
}
dt {
  font-weight: bold;
}
dd {
  margin: 0;
  padding: 0;
}
.table-container {
  overflow: auto;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
  font-size: 0.875em;
  margin: 0 0 20px;
  width: 100%;
}
tbody tr:nth-of-type(odd) {
  background: var(--table-row-odd-bg-color);
}
tbody tr:hover {
  background: var(--table-row-hover-bg-color);
}
caption,
th,
td {
  padding: 8px;
}
th,
td {
  border: 1px solid #ddd;
  border-bottom: 3px solid #ddd;
}
th {
  font-weight: 700;
  padding-bottom: 10px;
}
td {
  border-bottom-width: 1px;
}
.btn {
  background: var(--btn-default-bg);
  border: 2px solid var(--btn-default-border-color);
  border-radius: 0;
  color: var(--btn-default-color);
  display: inline-block;
  font-size: 0.875em;
  line-height: 2;
  padding: 0 20px;
  transition: background-color 0.2s ease-in-out;
}
.btn:hover {
  background: var(--btn-default-hover-bg);
  border-color: var(--btn-default-hover-border-color);
  color: var(--btn-default-hover-color);
}
.btn + .btn {
  margin: 0 0 8px 8px;
}
.btn .fa-fw {
  text-align: left;
  width: 1.285714285714286em;
}
.toggle {
  line-height: 0;
}
.toggle .toggle-line {
  background: #fff;
  display: block;
  height: 2px;
  left: 0;
  position: relative;
  top: 0;
  transition: 0.4s;
  transition-property: left, opacity, top, transform, width;
  width: 100%;
}
.toggle .toggle-line:first-child {
  margin-top: 1px;
}
.toggle .toggle-line:not(:first-child) {
  margin-top: 4px;
}
.toggle.toggle-arrow :first-child {
  left: 50%;
  top: 2px;
  transform: rotate(45deg);
  width: 50%;
}
.toggle.toggle-arrow :last-child {
  left: 50%;
  top: -2px;
  transform: rotate(-45deg);
  width: 50%;
}
.toggle.toggle-close :nth-child(2) {
  opacity: 0;
}
.toggle.toggle-close :first-child {
  top: 6px;
  transform: rotate(45deg);
}
.toggle.toggle-close :last-child {
  top: -6px;
  transform: rotate(-45deg);
}
pre code.hljs {
  display: block;
  overflow-x: auto;
  padding: 1em
}
code.hljs {
  padding: 3px 5px
}
/*!
  Theme: StackOverflow Dark
  Description: Dark theme as used on stackoverflow.com
  Author: stackoverflow.com
  Maintainer: @Hirse
  Website: https://github.com/StackExchange/Stacks
  License: MIT
  Updated: 2021-05-15

  Updated for @stackoverflow/stacks v0.64.0
  Code Blocks: /blob/v0.64.0/lib/css/components/_stacks-code-blocks.less
  Colors: /blob/v0.64.0/lib/css/exports/_stacks-constants-colors.less
*/
.hljs {
  /* var(--highlight-color) */
  color: #ffffff;
  /* var(--highlight-bg) */
  background: #1c1b1b
}
.hljs-subst {
  /* var(--highlight-color) */
  color: #ffffff
}
.hljs-comment {
  /* var(--highlight-comment) */
  color: #999999
}
.hljs-keyword,
.hljs-selector-tag,
.hljs-meta .hljs-keyword,
.hljs-doctag,
.hljs-section {
  /* var(--highlight-keyword) */
  color: #88aece
}
.hljs-attr {
  /* var(--highlight-attribute); */
  color: #88aece
}
.hljs-attribute {
  /* var(--highlight-symbol) */
  color: #c59bc1
}
.hljs-name,
.hljs-type,
.hljs-number,
.hljs-selector-id,
.hljs-quote,
.hljs-template-tag {
  /* var(--highlight-namespace) */
  color: #f08d49
}
.hljs-selector-class {
  /* var(--highlight-keyword) */
  color: #88aece
}
.hljs-string,
.hljs-regexp,
.hljs-symbol,
.hljs-variable,
.hljs-template-variable,
.hljs-link,
.hljs-selector-attr {
  /* var(--highlight-variable) */
  color: #b5bd68
}
.hljs-meta,
.hljs-selector-pseudo {
  /* var(--highlight-keyword) */
  color: #88aece
}
.hljs-built_in,
.hljs-title,
.hljs-literal {
  /* var(--highlight-literal) */
  color: #f08d49
}
.hljs-bullet,
.hljs-code {
  /* var(--highlight-punctuation) */
  color: #cccccc
}
.hljs-meta .hljs-string {
  /* var(--highlight-variable) */
  color: #b5bd68
}
.hljs-deletion {
  /* var(--highlight-deletion) */
  color: #de7176
}
.hljs-addition {
  /* var(--highlight-addition) */
  color: #76c490
}
.hljs-emphasis {
  font-style: italic
}
.hljs-strong {
  font-weight: bold
}
.hljs-formula,
.hljs-operator,
.hljs-params,
.hljs-property,
.hljs-punctuation,
.hljs-tag {
  /* purposely ignored */
  
}
.highlight:hover .copy-btn,
.code-container:hover .copy-btn {
  opacity: 1;
}
.code-container {
  position: relative;
}
.code-lang {
  font-size: 40px;
  line-height: 1;
  opacity: 0.1;
  pointer-events: none;
  position: absolute;
  right: 5px;
}
.copy-btn {
  color: #333;
  cursor: pointer;
  line-height: 1.6;
  opacity: 0;
  padding: 2px 6px;
  position: absolute;
  transition: opacity 0.2s ease-in-out;
  background: #fff;
  border: 0;
  font-size: 0.8125em;
  right: 0;
  top: 0;
}
code,
kbd,
figure.highlight,
pre {
  background: var(--highlight-background);
  color: var(--highlight-foreground);
}
figure.highlight,
pre {
  line-height: 1.6;
  margin: 0 auto 20px;
}
figure.highlight figcaption,
pre .caption {
  background: var(--highlight-gutter-background);
  color: var(--highlight-foreground);
  display: flow-root;
  font-size: 0.875em;
  line-height: 1.2;
  padding: 0.5em;
}
figure.highlight figcaption a,
pre .caption a {
  color: var(--highlight-foreground);
  float: right;
}
figure.highlight figcaption a:hover,
pre .caption a:hover {
  border-bottom-color: var(--highlight-foreground);
}
pre,
code {
  font-family: consolas, Menlo, monospace, 'PingFang SC', 'Microsoft YaHei';
}
code {
  border-radius: 3px;
  font-size: 0.875em;
  padding: 2px 4px;
  overflow-wrap: break-word;
}
kbd {
  border: 2px solid #ccc;
  border-radius: 0.2em;
  box-shadow: 0.1em 0.1em 0.2em rgba(0,0,0,0.1);
  font-family: inherit;
  padding: 0.1em 0.3em;
  white-space: nowrap;
}
figure.highlight {
  overflow: auto;
  position: relative;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  figure.highlight {
    color-scheme: dark;
  }
}
figure.highlight pre {
  border: 0;
  margin: 0;
  padding: 10px 0;
}
figure.highlight table {
  border: 0;
  margin: 0;
  width: auto;
}
figure.highlight td {
  border: 0;
  padding: 0;
}
figure.highlight .gutter {
  -webkit-user-select: none;
  user-select: none;
}
figure.highlight .gutter pre {
  background: var(--highlight-gutter-background);
  color: var(--highlight-gutter-foreground);
  padding-left: 10px;
  padding-right: 10px;
  text-align: right;
}
figure.highlight .code pre {
  padding-left: 10px;
  width: 100%;
}
figure.highlight .marked {
  background: rgba(0,0,0,0.3);
}
pre .caption {
  margin-bottom: 10px;
}
.gist table {
  width: auto;
}
.gist table td {
  border: 0;
}
pre {
  overflow: auto;
  padding: 10px;
}
pre code {
  background: none;
  padding: 0;
  text-shadow: none;
}
.blockquote-center {
  border-left: 0;
  margin: 40px 0;
  padding: 0;
  position: relative;
  text-align: center;
}
.blockquote-center::before,
.blockquote-center::after {
  left: 0;
  line-height: 1;
  opacity: 0.6;
  position: absolute;
  width: 100%;
}
.blockquote-center::before {
  border-top: 1px solid #ccc;
  text-align: left;
  top: -20px;
  content: '\f10d';
  font-family: 'Font Awesome 7 Free';
  font-weight: 900;
}
.blockquote-center::after {
  border-bottom: 1px solid #ccc;
  bottom: -20px;
  text-align: right;
  content: '\f10e';
  font-family: 'Font Awesome 7 Free';
  font-weight: 900;
}
.blockquote-center p,
.blockquote-center div {
  text-align: center;
}
.group-picture {
  margin-bottom: 20px;
}
.group-picture .group-picture-row {
  display: flex;
  gap: 3px;
  margin-bottom: 3px;
}
.group-picture .group-picture-column {
  flex: 1;
}
.group-picture .group-picture-column img {
  height: 100%;
  margin: 0;
  object-fit: cover;
  width: 100%;
}
.post-body .label {
  color: #555;
  padding: 0 2px;
}
.post-body .label.default {
  background: #f0f0f0;
}
.post-body .label.primary {
  background: #efe6f7;
}
.post-body .label.info {
  background: #e5f2f8;
}
.post-body .label.success {
  background: #e7f4e9;
}
.post-body .label.warning {
  background: #fcf6e1;
}
.post-body .label.danger {
  background: #fae8eb;
}
.post-body .link-grid {
  display: grid;
  grid-gap: 1.5rem;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  margin-bottom: 20px;
  padding: 1rem;
}
.post-body .link-grid .link-grid-container {
  border: solid #ddd;
  box-shadow: 1rem 1rem 0.5rem rgba(0,0,0,0.5);
  min-height: 5rem;
  min-width: 0;
  padding: 0.5rem;
  position: relative;
  transition: background 0.3s;
}
.post-body .link-grid .link-grid-container:hover {
  animation: next-shake 0.5s;
  background: var(--card-bg-color);
}
.post-body .link-grid .link-grid-container:active {
  box-shadow: 0.5rem 0.5rem 0.25rem rgba(0,0,0,0.5);
  transform: translate(0.2rem, 0.2rem);
}
.post-body .link-grid .link-grid-container .link-grid-image {
  border: 1px solid #ddd;
  border-radius: 50%;
  box-sizing: border-box;
  height: 5rem;
  padding: 3px;
  position: absolute;
  width: 5rem;
}
.post-body .link-grid .link-grid-container p {
  margin: 0 1rem 0 6rem;
}
.post-body .link-grid .link-grid-container p:first-of-type {
  font-size: 1.2em;
}
.post-body .link-grid .link-grid-container p:last-of-type {
  font-size: 0.8em;
  line-height: 1.3rem;
  opacity: 0.7;
}
.post-body .link-grid .link-grid-container a {
  border: 0;
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
}
@keyframes next-shake {
  0% {
    transform: translate(1pt, 1pt) rotate(0deg);
  }
  10% {
    transform: translate(-1pt, -2pt) rotate(-1deg);
  }
  20% {
    transform: translate(-3pt, 0pt) rotate(1deg);
  }
  30% {
    transform: translate(3pt, 2pt) rotate(0deg);
  }
  40% {
    transform: translate(1pt, -1pt) rotate(1deg);
  }
  50% {
    transform: translate(-1pt, 2pt) rotate(-1deg);
  }
  60% {
    transform: translate(-3pt, 1pt) rotate(0deg);
  }
  70% {
    transform: translate(3pt, 1pt) rotate(-1deg);
  }
  80% {
    transform: translate(-1pt, -1pt) rotate(1deg);
  }
  90% {
    transform: translate(1pt, 2pt) rotate(0deg);
  }
  100% {
    transform: translate(1pt, -2pt) rotate(-1deg);
  }
}
.post-body .note {
  border-radius: 3px;
  margin-bottom: 20px;
  padding: 1em;
  position: relative;
  border: 1px solid #eee;
  border-left-width: 5px;
}
.post-body .note summary {
  cursor: pointer;
  outline: 0;
}
.post-body .note summary p {
  display: inline;
}
.post-body .note h2,
.post-body .note h3,
.post-body .note h4,
.post-body .note h5,
.post-body .note h6 {
  border-bottom: initial;
  margin: 0;
  padding-top: 0;
}
.post-body .note :first-child {
  margin-top: 0;
}
.post-body .note :last-child {
  margin-bottom: 0;
}
.post-body .note.default {
  border-left-color: #777;
}
.post-body .note.default h2,
.post-body .note.default h3,
.post-body .note.default h4,
.post-body .note.default h5,
.post-body .note.default h6 {
  color: #777;
}
.post-body .note.primary {
  border-left-color: #6f42c1;
}
.post-body .note.primary h2,
.post-body .note.primary h3,
.post-body .note.primary h4,
.post-body .note.primary h5,
.post-body .note.primary h6 {
  color: #6f42c1;
}
.post-body .note.info {
  border-left-color: #428bca;
}
.post-body .note.info h2,
.post-body .note.info h3,
.post-body .note.info h4,
.post-body .note.info h5,
.post-body .note.info h6 {
  color: #428bca;
}
.post-body .note.success {
  border-left-color: #5cb85c;
}
.post-body .note.success h2,
.post-body .note.success h3,
.post-body .note.success h4,
.post-body .note.success h5,
.post-body .note.success h6 {
  color: #5cb85c;
}
.post-body .note.warning {
  border-left-color: #f0ad4e;
}
.post-body .note.warning h2,
.post-body .note.warning h3,
.post-body .note.warning h4,
.post-body .note.warning h5,
.post-body .note.warning h6 {
  color: #f0ad4e;
}
.post-body .note.danger {
  border-left-color: #d9534f;
}
.post-body .note.danger h2,
.post-body .note.danger h3,
.post-body .note.danger h4,
.post-body .note.danger h5,
.post-body .note.danger h6 {
  color: #d9534f;
}
.post-body .tabs {
  margin-bottom: 20px;
}
.post-body .tabs,
.tabs-comment {
  padding-top: 10px;
}
.post-body .tabs ul.nav-tabs,
.tabs-comment ul.nav-tabs {
  background: var(--body-bg-color);
  display: flex;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin: 0;
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 5;
}
@media (max-width: 413px) {
  .post-body .tabs ul.nav-tabs,
  .tabs-comment ul.nav-tabs {
    display: block;
    margin-bottom: 5px;
  }
}
.post-body .tabs ul.nav-tabs li.tab,
.tabs-comment ul.nav-tabs li.tab {
  border-bottom: 1px solid #ddd;
  border-left: 1px solid transparent;
  border-right: 1px solid transparent;
  border-radius: 0 0 0 0;
  border-top: 3px solid transparent;
  flex-grow: 1;
  list-style-type: none;
}
@media (max-width: 413px) {
  .post-body .tabs ul.nav-tabs li.tab,
  .tabs-comment ul.nav-tabs li.tab {
    border-bottom: 1px solid transparent;
    border-left: 3px solid transparent;
    border-right: 1px solid transparent;
    border-top: 1px solid transparent;
  }
}
@media (max-width: 413px) {
  .post-body .tabs ul.nav-tabs li.tab,
  .tabs-comment ul.nav-tabs li.tab {
    border-radius: 0;
  }
}
.post-body .tabs ul.nav-tabs li.tab a,
.tabs-comment ul.nav-tabs li.tab a {
  border-bottom: initial;
  display: block;
  line-height: 1.8;
  padding: 0.25em 0.75em;
  text-align: center;
  transition: all 0.2s ease-out;
}
.post-body .tabs ul.nav-tabs li.tab a i[class^='fa'],
.tabs-comment ul.nav-tabs li.tab a i[class^='fa'] {
  width: 1.285714285714286em;
}
.post-body .tabs ul.nav-tabs li.tab.active,
.tabs-comment ul.nav-tabs li.tab.active {
  border-bottom-color: transparent;
  border-left-color: #ddd;
  border-right-color: #ddd;
  border-top-color: #fc6423;
}
@media (max-width: 413px) {
  .post-body .tabs ul.nav-tabs li.tab.active,
  .tabs-comment ul.nav-tabs li.tab.active {
    border-bottom-color: #ddd;
    border-left-color: #fc6423;
    border-right-color: #ddd;
    border-top-color: #ddd;
  }
}
.post-body .tabs ul.nav-tabs li.tab.active a,
.tabs-comment ul.nav-tabs li.tab.active a {
  cursor: default;
}
.post-body .tabs .tab-content,
.tabs-comment .tab-content {
  border: 1px solid #ddd;
  border-radius: 0 0 0 0;
  border-top-color: transparent;
}
@media (max-width: 413px) {
  .post-body .tabs .tab-content,
  .tabs-comment .tab-content {
    border-radius: 0;
    border-top-color: #ddd;
  }
}
.post-body .tabs .tab-content .tab-pane,
.tabs-comment .tab-content .tab-pane {
  padding: 20px 20px 0;
}
.post-body .tabs .tab-content .tab-pane:not(.active),
.tabs-comment .tab-content .tab-pane:not(.active) {
  display: none;
}
.pagination .prev,
.pagination .next,
.pagination .page-number,
.pagination .space {
  display: inline-block;
  margin: -1px 10px 0;
  padding: 0 10px;
}
@media (max-width: 767px) {
  .pagination .prev,
  .pagination .next,
  .pagination .page-number,
  .pagination .space {
    margin: 0 5px;
  }
}
.pagination .page-number.current {
  background: #ccc;
  border-color: #ccc;
  color: var(--content-bg-color);
}
.pagination {
  border-top: 1px solid #eee;
  margin: 120px 0 0;
  text-align: left;
}
.pagination .prev,
.pagination .next,
.pagination .page-number {
  border-bottom: 0;
  border-top: 1px solid #eee;
  transition: border-color 0.2s ease-in-out;
}
.pagination .prev:hover,
.pagination .next:hover,
.pagination .page-number:hover {
  border-top-color: var(--link-hover-color);
}
@media (max-width: 767px) {
  .pagination {
    border-top: 0;
  }
  .pagination .prev,
  .pagination .next,
  .pagination .page-number {
    border-bottom: 1px solid #eee;
    border-top: 0;
  }
  .pagination .prev:hover,
  .pagination .next:hover,
  .pagination .page-number:hover {
    border-bottom-color: var(--link-hover-color);
  }
}
.pagination .space {
  margin: 0;
  padding: 0;
}
.comments {
  margin-top: 60px;
  overflow: hidden;
}
.comment-button-group {
  display: flex;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  justify-content: center;
  margin: 1em 0;
}
.comment-button-group .comment-button {
  margin: 0.1em 0.2em;
}
.comment-button-group .comment-button.active {
  background: var(--btn-default-hover-bg);
  border-color: var(--btn-default-hover-border-color);
  color: var(--btn-default-hover-color);
}
.comment-position {
  display: none;
}
.comment-position.active {
  display: block;
}
.tabs-comment {
  margin-top: 4em;
  padding-top: 0;
}
.tabs-comment .comments {
  margin-top: 0;
  padding-top: 0;
}
.headband {
  background: var(--theme-color);
  height: 3px;
}
@media (max-width: 991px) {
  .headband {
    display: none;
  }
}
.site-brand-container {
  display: flex;
  flex-shrink: 0;
  padding: 0 10px;
}
.use-motion .column,
.use-motion .site-brand-container .toggle {
  opacity: 0;
}
.site-meta {
  flex-grow: 1;
  text-align: center;
}
@media (max-width: 767px) {
  .site-meta {
    text-align: center;
  }
}
.custom-logo-image {
  margin-top: 20px;
}
@media (max-width: 991px) {
  .custom-logo-image {
    display: none;
  }
}
.brand {
  border-bottom: 0;
  color: var(--brand-color);
  display: inline-block;
  padding: 2px 1px;
}
.brand:hover {
  color: var(--brand-hover-color);
}
.site-title {
  font-family: Lato, 'PingFang SC', 'Microsoft YaHei', sans-serif;
  font-size: 1.375em;
  font-weight: normal;
  line-height: 1.5;
  margin: 0;
}
.site-subtitle {
  color: #999;
  font-size: 0.8125em;
  margin: 10px 0;
}
.use-motion .site-title,
.use-motion .site-subtitle,
.use-motion .custom-logo-image {
  opacity: 0;
  position: relative;
  top: -10px;
}
.site-nav-toggle,
.site-nav-right {
  display: none;
}
@media (max-width: 767px) {
  .site-nav-toggle,
  .site-nav-right {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
}
.site-nav-toggle .toggle,
.site-nav-right .toggle {
  color: var(--text-color);
  padding: 10px;
  width: 22px;
}
.site-nav-toggle .toggle .toggle-line,
.site-nav-right .toggle .toggle-line {
  background: var(--text-color);
  border-radius: 1px;
}
@media (max-width: 767px) {
  .site-nav {
    --scroll-height: 0;
    height: 0;
    overflow: hidden;
    transition: 0.2s ease-in-out;
    transition-property: height, visibility;
    visibility: hidden;
  }
  body:not(.site-nav-on) .site-nav .animated {
    animation: none;
  }
  body.site-nav-on .site-nav {
    height: var(--scroll-height);
    visibility: unset;
  }
}
.menu {
  margin: 0;
  padding: 1em 0;
  text-align: center;
}
.menu-item {
  display: inline-block;
  list-style: none;
  margin: 0 10px;
}
@media (max-width: 767px) {
  .menu-item {
    display: block;
    margin-top: 10px;
  }
  .menu-item.menu-item-search {
    display: none;
  }
}
.menu-item a {
  border-bottom: 0;
  display: block;
  font-size: 0.8125em;
  transition: border-color 0.2s ease-in-out;
}
.menu-item a:hover,
.menu-item a.menu-item-active {
  background: var(--menu-item-bg-color);
}
.menu-item i[class^='fa'] {
  margin-right: 8px;
}
.menu-item .badge {
  background: #fff;
  border-radius: 10px;
  color: #555;
  font-weight: bold;
  line-height: 1;
  margin-left: 0.35em;
  padding: 1px 4px;
  text-shadow: 1px 1px 0 rgba(0,0,0,0.1);
}
.use-motion .menu-item {
  visibility: hidden;
}
.sidebar {
  left: -320px;
}
.sidebar-active .sidebar {
  left: 0;
}
.sidebar {
  background: #222;
  bottom: 0;
  box-shadow: inset 0 2px 6px #000;
  max-height: 100vh;
  overflow-y: auto;
  position: fixed;
  top: 0;
  transition: 0.2s ease-out;
  transition-property: left, right;
  width: 320px;
  z-index: 20;
}
.sidebar a {
  border-bottom-color: #555;
  color: #999;
}
.sidebar a:hover {
  border-bottom-color: #eee;
  color: #eee;
}
.links-of-author:not(:first-child) {
  margin-top: 15px;
}
.links-of-author a {
  border-bottom-color: #555;
  display: inline-block;
  margin-bottom: 10px;
  margin-right: 10px;
  vertical-align: middle;
}
.links-of-author a::before {
  background: #78146c;
  display: inline-block;
  margin-right: 3px;
  transform: translateY(-2px);
  border-radius: 50%;
  content: ' ';
  height: 4px;
  width: 4px;
}
.links-of-blogroll-item {
  padding: 0 5px;
}
.popular-posts .popular-posts-item .popular-posts-link:hover {
  background: none;
}
.sidebar-dimmer {
  background: #000;
  height: 100%;
  left: 0;
  opacity: 0;
  position: fixed;
  top: 0;
  transition: visibility 0.4s, opacity 0.4s;
  visibility: hidden;
  width: 100%;
  z-index: 10;
}
.sidebar-active .sidebar-dimmer {
  opacity: 0.7;
  visibility: visible;
}
.sidebar-inner {
  color: #999;
  padding: 18px 10px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.sidebar-toggle {
  bottom: 61px;
  height: 16px;
  padding: 5px;
  width: 16px;
  background: #222;
  cursor: pointer;
  opacity: 0.8;
  position: fixed;
  z-index: 30;
  left: 30px;
}
@media (max-width: 991px) {
  .sidebar-toggle {
    left: 20px;
  }
}
.sidebar-toggle:hover {
  opacity: 1;
}
@media (max-width: 991px) {
  .sidebar-toggle {
    opacity: 1;
  }
}
.sidebar-toggle:hover .toggle-line {
  background: #87daff;
}
@media (any-hover: hover) {
  body:not(.sidebar-active) .sidebar-toggle:hover :first-child {
    left: 50%;
    top: 2px;
    transform: rotate(45deg);
    width: 50%;
  }
  body:not(.sidebar-active) .sidebar-toggle:hover :last-child {
    left: 50%;
    top: -2px;
    transform: rotate(-45deg);
    width: 50%;
  }
}
.sidebar-active .sidebar-toggle :nth-child(2) {
  opacity: 0;
}
.sidebar-active .sidebar-toggle :first-child {
  top: 6px;
  transform: rotate(45deg);
}
.sidebar-active .sidebar-toggle :last-child {
  top: -6px;
  transform: rotate(-45deg);
}
.sidebar-nav {
  font-size: 0.875em;
  height: 0;
  margin: 0;
  overflow: hidden;
  padding-left: 0;
  pointer-events: none;
  transition: 0.2s ease-in-out;
  transition-property: height, visibility;
  visibility: hidden;
}
.sidebar-nav-active .sidebar-nav {
  height: calc(2em + 1px);
  pointer-events: unset;
  visibility: unset;
}
.sidebar-nav li {
  border-bottom: 1px solid transparent;
  color: #666;
  cursor: pointer;
  display: inline-block;
  transition: 0.2s ease-in-out;
  transition-property: border-bottom-color, color;
}
.sidebar-nav li.sidebar-nav-overview {
  margin-left: 10px;
}
.sidebar-nav li:hover {
  color: #f5f5f5;
}
.sidebar-toc-active .sidebar-nav-toc,
.sidebar-overview-active .sidebar-nav-overview {
  border-bottom-color: #87daff;
  color: #87daff;
  transition-delay: 0.2s;
}
.sidebar-toc-active .sidebar-nav-toc:hover,
.sidebar-overview-active .sidebar-nav-overview:hover {
  color: #87daff;
}
.sidebar-panel-container {
  align-items: start;
  display: grid;
  flex: 1;
  overflow-x: hidden;
  overflow-y: auto;
  padding-top: 0;
  transition: padding-top 0.2s ease-in-out;
}
.sidebar-nav-active .sidebar-panel-container {
  padding-top: 20px;
}
.sidebar-panel {
  animation: deactivate-sidebar-panel 0.2s ease-in-out;
  grid-area: 1/1;
  height: 0;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
  transform: translateY(0);
  transition: 0.2s ease-in-out;
  transition-delay: 0s;
  transition-property: opacity, transform, visibility;
  visibility: hidden;
}
.sidebar-nav-active .sidebar-panel,
.sidebar-overview-active .sidebar-panel.post-toc-wrap {
  transform: translateY(-20px);
}
.sidebar-overview-active:not(.sidebar-nav-active) .sidebar-panel.post-toc-wrap {
  transition-delay: 0s, 0.2s, 0s;
}
.sidebar-overview-active .sidebar-panel.site-overview-wrap,
.sidebar-toc-active .sidebar-panel.post-toc-wrap {
  animation-name: activate-sidebar-panel;
  height: auto;
  opacity: 1;
  pointer-events: unset;
  transform: translateY(0);
  transition-delay: 0.2s, 0.2s, 0s;
  visibility: unset;
}
.sidebar-panel.site-overview-wrap {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  justify-content: flex-start;
}
@keyframes deactivate-sidebar-panel {
  from {
    height: var(--inactive-panel-height, 0);
  }
  to {
    height: var(--active-panel-height, 0);
  }
}
@keyframes activate-sidebar-panel {
  from {
    height: var(--inactive-panel-height, auto);
  }
  to {
    height: var(--active-panel-height, auto);
  }
}
.post-toc {
  font-size: 0.875em;
}
.post-toc ol {
  list-style: none;
  margin: 0;
  padding: 0 2px 0 10px;
  text-align: left;
}
.post-toc ol > :last-child {
  margin-bottom: 5px;
}
.post-toc ol > ol {
  padding-left: 0;
}
.post-toc ol a {
  transition: all 0.2s ease-in-out;
}
.post-toc .nav-item {
  line-height: 1.8;
  overflow: hidden;
  text-overflow: ellipsis;
}
.post-toc .nav .nav-child {
  --height: 0;
  height: 0;
  opacity: 0;
  overflow: hidden;
  transition-property: height, opacity, visibility;
  transition: 0.2s ease-in-out;
  visibility: hidden;
}
.post-toc .nav .active > .nav-child {
  height: var(--height, auto);
  opacity: 1;
  visibility: unset;
}
.post-toc .nav .active > a {
  border-bottom-color: #87daff;
  color: #87daff;
}
.post-toc .nav .active-current > a {
  color: #87daff;
}
.post-toc .nav .active-current > a:hover {
  color: #87daff;
}
.site-author-image {
  border: 2px solid #333;
  max-width: 96px;
  padding: 2px;
}
.site-author-name {
  color: #f5f5f5;
  font-weight: normal;
  margin: 5px 0 0;
}
.site-description {
  color: #999;
  font-size: 1em;
  margin-top: 5px;
}
.site-state {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  line-height: 1.4;
}
.site-state-item {
  padding: 0 15px;
}
.site-state-item a {
  border-bottom: 0;
  display: block;
}
.site-state-item-count {
  display: block;
  font-size: 1.25em;
  font-weight: 600;
}
.site-state-item-name {
  color: inherit;
  font-size: 0.875em;
}
.sidebar .sidebar-button:not(:first-child) {
  margin-top: 15px;
}
.sidebar .sidebar-button button {
  background: transparent;
  color: #fc6423;
  cursor: pointer;
  line-height: 2;
  padding: 0 15px;
  border: 1px solid #fc6423;
  border-radius: 4px;
}
.sidebar .sidebar-button button:hover {
  background: #fc6423;
  color: #fff;
}
.sidebar .sidebar-button button i[class^='fa'] {
  margin-right: 5px;
}
.links-of-author a {
  font-size: 0.8125em;
}
.links-of-author i[class^='fa'] {
  margin-right: 2px;
}
.cc-license .cc-opacity {
  border-bottom: 0;
  opacity: 0.7;
}
.cc-license .cc-opacity:hover {
  opacity: 0.9;
}
.cc-license img {
  display: inline-block;
}
.links-of-blogroll {
  font-size: 0.8125em;
}
.links-of-blogroll-title {
  font-size: 0.875em;
  font-weight: 600;
}
.links-of-blogroll-list {
  list-style: none;
  gap: 5px;
  margin: 5px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  flex-direction: column;
}
.links-of-blogroll-item {
  max-width: 100%;
}
.links-of-blogroll-item a {
  box-sizing: border-box;
  display: inline-block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.footer {
  color: #999;
  font-size: 0.875em;
  padding: 20px 0;
  transition: 0.2s ease-in-out;
  transition-property: left, right;
}
.footer.footer-fixed {
  bottom: 0;
  left: 0;
  position: absolute;
  right: 0;
}
.footer-inner {
  box-sizing: border-box;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 0 auto;
  width: 700px;
}
@media (max-width: 767px) {
  .footer-inner {
    width: auto;
  }
}
@media (min-width: 1200px) {
  .footer-inner {
    width: 800px;
  }
}
@media (min-width: 1600px) {
  .footer-inner {
    width: 900px;
  }
}
.use-motion .footer {
  opacity: 0;
}
.languages {
  display: inline-block;
  font-size: 1.125em;
  position: relative;
}
.languages .lang-select-label span {
  margin: 0 0.5em;
}
.languages .lang-select {
  height: 100%;
  left: 0;
  opacity: 0;
  position: absolute;
  top: 0;
  width: 100%;
}
.with-love {
  color: #f00;
  display: inline-block;
  margin: 0 5px;
}
.busuanzi-count #busuanzi_container_site_uv {
  display: none;
}
.busuanzi-count #busuanzi_container_site_pv {
  display: none;
}
@keyframes icon-animate {
  0%, 100% {
    transform: scale(1);
  }
  10%, 30% {
    transform: scale(0.9);
  }
  20%, 40%, 60%, 80% {
    transform: scale(1.1);
  }
  50%, 70% {
    transform: scale(1.1);
  }
}
@media (max-width: 567px) {
  .main-inner {
    padding: initial !important;
  }
  .posts-expand .post-header {
    margin-bottom: 10px !important;
  }
  .post-block {
    margin-top: initial !important;
    padding: 8px 18px 8px !important;
  }
  .post-body h1,
  .post-body h2,
  .post-body h3,
  .post-body h4,
  .post-body h5,
  .post-body h6 {
    margin: 20px 0 8px;
  }
  .post-body .note h1,
  .post-body .tabs .tab-content .tab-pane h1,
  .post-body .note h2,
  .post-body .tabs .tab-content .tab-pane h2,
  .post-body .note h3,
  .post-body .tabs .tab-content .tab-pane h3,
  .post-body .note h4,
  .post-body .tabs .tab-content .tab-pane h4,
  .post-body .note h5,
  .post-body .tabs .tab-content .tab-pane h5,
  .post-body .note h6,
  .post-body .tabs .tab-content .tab-pane h6 {
    margin: 0 5px;
  }
  .post-body > p {
    margin: 0 0 10px;
  }
  .post-body .note > p,
  .post-body .tabs .tab-content .tab-pane > p {
    padding: 0 5px;
  }
  .post-body img,
  .post-body video {
    margin-bottom: 10px !important;
  }
  .post-body figure:not(.highlight) figcaption {
    margin: -5px auto 15px !important;
  }
  .post-body .note {
    margin-bottom: 10px !important;
    padding: 10px !important;
  }
  .post-body .tabs .tab-content .tab-pane {
    padding: 10px 10px 0 !important;
  }
  .post-eof {
    margin: 40px auto 20px !important;
  }
  .pagination {
    margin-top: 40px;
  }
}
.back-to-top {
  font-size: 12px;
  align-items: center;
  bottom: -100px;
  color: #fff;
  display: flex;
  height: 26px;
  transition: 0.2s ease-in-out;
  transition-property: bottom;
  background: #222;
  cursor: pointer;
  opacity: 0.8;
  position: fixed;
  z-index: 30;
  left: 30px;
}
.back-to-top span {
  margin-right: 8px;
  display: none;
}
.back-to-top .fa {
  text-align: center;
  width: 26px;
}
@media (max-width: 991px) {
  .back-to-top {
    left: 20px;
  }
}
.back-to-top:hover {
  opacity: 1;
}
@media (max-width: 991px) {
  .back-to-top {
    opacity: 1;
  }
}
.back-to-top:hover {
  color: #87daff;
}
.back-to-top.back-to-top-on {
  bottom: 30px;
}
.reading-progress-bar {
  --progress: 0;
  background: #37c6c0;
  height: 3px;
  position: fixed;
  z-index: 50;
  width: var(--progress);
  left: 0;
  top: 0;
}
.rtl.post-body p,
.rtl.post-body a,
.rtl.post-body h1,
.rtl.post-body h2,
.rtl.post-body h3,
.rtl.post-body h4,
.rtl.post-body h5,
.rtl.post-body h6,
.rtl.post-body li,
.rtl.post-body ul,
.rtl.post-body ol {
  direction: rtl;
  font-family: UKIJ Ekran;
}
.rtl.post-title {
  font-family: UKIJ Ekran;
}
.post-button {
  margin-top: 40px;
  text-align: left;
}
.use-motion .post-block,
.use-motion .pagination,
.use-motion .comments {
  visibility: hidden;
}
.use-motion .post-header {
  visibility: hidden;
}
.use-motion .post-body {
  visibility: hidden;
}
.use-motion .collection-header {
  visibility: hidden;
}
.posts-collapse .post-content {
  margin-bottom: 35px;
  margin-left: 35px;
  position: relative;
}
@media (max-width: 767px) {
  .posts-collapse .post-content {
    margin-left: 0;
    margin-right: 0;
  }
}
.posts-collapse .post-content .collection-title {
  font-size: 1.125em;
  position: relative;
}
.posts-collapse .post-content .collection-title::before {
  background: #999;
  border: 1px solid #fff;
  margin-left: -6px;
  margin-top: -4px;
  position: absolute;
  top: 50%;
  border-radius: 50%;
  content: ' ';
  height: 10px;
  width: 10px;
}
.posts-collapse .post-content .collection-year {
  font-size: 1.5em;
  font-weight: bold;
  margin: 60px 0;
  position: relative;
}
.posts-collapse .post-content .collection-year .collection-year-count {
  font-size: 0.75em;
  background: #fff;
  border-radius: 10px;
  color: #555;
  font-weight: bold;
  line-height: 1;
  margin-left: 0.35em;
  padding: 1px 4px;
  text-shadow: 1px 1px 0 rgba(0,0,0,0.1);
}
.posts-collapse .post-content .collection-year::before {
  background: #bbb;
  margin-left: -4px;
  margin-top: -4px;
  position: absolute;
  top: 50%;
  border-radius: 50%;
  content: ' ';
  height: 8px;
  width: 8px;
}
.posts-collapse .post-content .collection-header {
  display: block;
  margin-left: 20px;
}
.posts-collapse .post-content .collection-header small {
  color: #bbb;
  margin-left: 5px;
}
.posts-collapse .post-content .post-header {
  border-bottom: 1px dashed #ccc;
  margin: 30px 2px 0;
  padding-left: 15px;
  position: relative;
  transition: border 0.2s ease-in-out;
}
.posts-collapse .post-content .post-header::before {
  background: #bbb;
  border: 1px solid #fff;
  left: -6px;
  position: absolute;
  top: 0.75em;
  transition: background 0.2s ease-in-out;
  border-radius: 50%;
  content: ' ';
  height: 6px;
  width: 6px;
}
.posts-collapse .post-content .post-header:hover {
  border-bottom-color: #666;
}
.posts-collapse .post-content .post-header:hover::before {
  background: #222;
}
.posts-collapse .post-content .post-meta-container {
  display: inline;
  font-size: 0.75em;
  margin-right: 10px;
}
.posts-collapse .post-content .post-title {
  display: inline;
}
.posts-collapse .post-content .post-title a {
  border-bottom: 0;
  color: var(--link-color);
}
.posts-collapse .post-content .post-title .fa {
  font-size: 0.875em;
  margin-left: 5px;
}
.posts-collapse .post-content::before {
  background: #f5f5f5;
  content: ' ';
  height: 100%;
  margin-left: -2px;
  position: absolute;
  top: 1.25em;
  width: 4px;
}
.post-body {
  font-family: Lato, 'PingFang SC', 'Microsoft YaHei', sans-serif;
  overflow-wrap: break-word;
}
@media (min-width: 1200px) {
  .post-body {
    font-size: 1.125em;
  }
}
@media (min-width: 992px) {
  .post-body {
    text-align: justify;
  }
}
@media (max-width: 991px) {
  .post-body {
    text-align: left;
  }
}
.post-body h1 .header-anchor,
.post-body h2 .header-anchor,
.post-body h3 .header-anchor,
.post-body h4 .header-anchor,
.post-body h5 .header-anchor,
.post-body h6 .header-anchor,
.post-body h1 .headerlink,
.post-body h2 .headerlink,
.post-body h3 .headerlink,
.post-body h4 .headerlink,
.post-body h5 .headerlink,
.post-body h6 .headerlink {
  border-bottom-style: none;
  color: inherit;
  float: right;
  font-size: 0.875em;
  margin-left: 10px;
  opacity: 0;
}
.post-body h1 .header-anchor::before,
.post-body h2 .header-anchor::before,
.post-body h3 .header-anchor::before,
.post-body h4 .header-anchor::before,
.post-body h5 .header-anchor::before,
.post-body h6 .header-anchor::before,
.post-body h1 .headerlink::before,
.post-body h2 .headerlink::before,
.post-body h3 .headerlink::before,
.post-body h4 .headerlink::before,
.post-body h5 .headerlink::before,
.post-body h6 .headerlink::before {
  content: '\f0c1';
  font-family: 'Font Awesome 7 Free';
  font-weight: 900;
}
.post-body h1:hover .header-anchor,
.post-body h2:hover .header-anchor,
.post-body h3:hover .header-anchor,
.post-body h4:hover .header-anchor,
.post-body h5:hover .header-anchor,
.post-body h6:hover .header-anchor,
.post-body h1:hover .headerlink,
.post-body h2:hover .headerlink,
.post-body h3:hover .headerlink,
.post-body h4:hover .headerlink,
.post-body h5:hover .headerlink,
.post-body h6:hover .headerlink {
  opacity: 0.5;
}
.post-body h1:hover .header-anchor:hover,
.post-body h2:hover .header-anchor:hover,
.post-body h3:hover .header-anchor:hover,
.post-body h4:hover .header-anchor:hover,
.post-body h5:hover .header-anchor:hover,
.post-body h6:hover .header-anchor:hover,
.post-body h1:hover .headerlink:hover,
.post-body h2:hover .headerlink:hover,
.post-body h3:hover .headerlink:hover,
.post-body h4:hover .headerlink:hover,
.post-body h5:hover .headerlink:hover,
.post-body h6:hover .headerlink:hover {
  opacity: 1;
}
.post-body .exturl .fa {
  font-size: 0.875em;
  margin-left: 4px;
}
.post-body figure:not(.highlight) {
  margin: 0 auto 20px;
}
.post-body figure:not(.highlight) figcaption {
  color: #999;
  font-size: 0.875em;
  font-weight: bold;
  line-height: 1;
  margin: -15px auto 15px;
  text-align: center;
}
.post-body iframe,
.post-body img,
.post-body video,
.post-body embed {
  margin-bottom: 20px;
}
.post-body .video-container {
  height: 0;
  margin-bottom: 20px;
  overflow: hidden;
  padding-top: 75%;
  position: relative;
  width: 100%;
}
.post-body .video-container iframe,
.post-body .video-container object,
.post-body .video-container embed {
  height: 100%;
  left: 0;
  margin: 0;
  position: absolute;
  top: 0;
  width: 100%;
}
.post-gallery {
  display: flex;
  min-height: 200px;
}
.post-gallery .post-gallery-image {
  flex: 1;
}
.post-gallery .post-gallery-image:not(:first-child) {
  clip-path: polygon(40px 0, 100% 0, 100% 100%, 0 100%);
  margin-left: -20px;
}
.post-gallery .post-gallery-image:not(:last-child) {
  margin-right: -20px;
}
.post-gallery .post-gallery-image img {
  height: 100%;
  object-fit: cover;
  opacity: 1;
  width: 100%;
}
.posts-expand .post-gallery {
  margin-bottom: 60px;
}
.posts-collapse .post-gallery {
  margin: 15px 0;
}
.posts-expand .post-header {
  font-size: 1.125em;
  margin-bottom: 60px;
  text-align: center;
}
.posts-expand .post-title {
  font-size: 1.5em;
  font-weight: normal;
  margin: initial;
  overflow-wrap: break-word;
}
.posts-expand .post-title-link {
  border-bottom: 0;
  color: var(--link-color);
  display: inline-block;
  max-width: 100%;
  position: relative;
}
.posts-expand .post-title-link::before {
  background: var(--link-color);
  bottom: 0;
  content: '';
  height: 2px;
  left: 0;
  position: absolute;
  transform: scaleX(0);
  transition: transform 0.2s ease-in-out;
  width: 100%;
}
.posts-expand .post-title-link:hover::before {
  transform: scaleX(1);
}
.posts-expand .post-title-link .fa {
  font-size: 0.875em;
  margin-left: 5px;
}
.post-sticky-flag {
  display: inline-block;
  margin-right: 8px;
  transform: rotate(30deg);
}
.posts-expand .post-meta-container {
  color: #999;
  font-family: Lato, 'PingFang SC', 'Microsoft YaHei', sans-serif;
  font-size: 0.75em;
  margin-top: 3px;
}
.posts-expand .post-meta-container .post-description {
  font-size: 0.875em;
  margin-top: 2px;
}
.posts-expand .post-meta-container time {
  border-bottom: 1px dashed #999;
}
.post-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
:not(.post-meta-break) + .post-meta-item::before {
  content: '|';
  margin: 0 0.5em;
}
.post-meta-item-icon {
  margin-right: 3px;
}
@media (max-width: 991px) {
  .post-meta-item-text {
    display: none;
  }
}
.post-meta-break {
  flex-basis: 100%;
  height: 0;
}
#busuanzi_container_page_pv {
  display: none;
}
.post-nav {
  border-top: 1px solid #eee;
  display: flex;
  gap: 30px;
  justify-content: space-between;
  margin-top: 1em;
  padding: 10px 5px 0;
}
.post-nav-item {
  flex: 1;
}
.post-nav-item a {
  border-bottom: 0;
  display: block;
  font-size: 0.875em;
  line-height: 1.6;
}
.post-nav-item a:active {
  top: 2px;
}
.post-nav-item .fa {
  font-size: 0.75em;
}
.post-nav-item:first-child .fa {
  margin-right: 5px;
}
.post-nav-item:last-child {
  text-align: right;
}
.post-nav-item:last-child .fa {
  margin-left: 5px;
}
.post-footer {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.post-eof {
  background: #ccc;
  height: 1px;
  margin: 80px auto 60px;
  width: 8%;
}
.post-block:last-of-type .post-eof {
  display: none;
}
.post-tags {
  margin-top: 40px;
  text-align: left;
}
.post-tags a {
  display: inline-block;
  font-size: 0.8125em;
}
.post-tags a:not(:last-child) {
  margin-right: 10px;
}
.social-like {
  border-top: 1px solid #eee;
  font-size: 0.875em;
  margin-top: 1em;
  padding-top: 1em;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
.social-like a {
  border-bottom: none;
}
.reward-container {
  margin: 1em 0 0;
  padding: 1em 0;
  text-align: center;
}
.reward-container button {
  background: transparent;
  color: #87daff;
  cursor: pointer;
  line-height: 2;
  padding: 0 15px;
  border: 2px solid #87daff;
  border-radius: 2px;
  outline: 0;
  vertical-align: text-top;
}
.reward-container button:hover {
  background: #87daff;
  color: #fff;
}
.post-reward {
  display: none;
  padding-top: 20px;
}
.post-reward.active {
  display: block;
}
.post-reward div {
  display: inline-block;
}
.post-reward div span {
  display: block;
}
.post-reward img {
  display: inline-block;
  margin: 0.8em 2em 0;
  max-width: 100%;
  width: 180px;
}
@keyframes next-roll {
  from {
    transform: rotateZ(30deg);
  }
  to {
    transform: rotateZ(-30deg);
  }
}
.category-all-page .category-all-title {
  text-align: center;
}
.category-all-page .category-all {
  margin-top: 20px;
}
.category-all-page .category-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.category-all-page .category-list-item {
  margin: 5px 10px;
}
.category-all-page .category-list-count {
  font-size: 0.75em;
  background: #fff;
  border-radius: 10px;
  color: #555;
  font-weight: bold;
  line-height: 1;
  margin-left: 0.35em;
  padding: 1px 4px;
  text-shadow: 1px 1px 0 rgba(0,0,0,0.1);
}
.category-all-page .category-list-child {
  padding-left: 10px;
}
.event-list hr {
  background: #222;
  margin: 20px 0 45px;
}
.event-list hr::after {
  background: #222;
  color: #fff;
  content: 'NOW';
  display: inline-block;
  font-weight: bold;
  padding: 0 5px;
}
.event-list .event {
  --event-background: #222;
  --event-foreground: #bbb;
  --event-title: #fff;
  background: var(--event-background);
  padding: 15px;
}
.event-list .event .event-summary {
  border-bottom: 0;
  color: var(--event-title);
  margin: 0;
  padding: 0 0 0 35px;
  position: relative;
}
.event-list .event .event-summary::before {
  animation: dot-flash 1s alternate infinite ease-in-out;
  background: var(--event-title);
  left: 0;
  margin-top: -6px;
  position: absolute;
  top: 50%;
  border-radius: 50%;
  content: ' ';
  height: 12px;
  width: 12px;
}
.event-list .event:nth-of-type(odd) .event-summary::before {
  animation-delay: 0.5s;
}
.event-list .event:not(:last-child) {
  margin-bottom: 20px;
}
.event-list .event .event-relative-time {
  color: var(--event-foreground);
  display: inline-block;
  font-size: 12px;
  font-weight: normal;
  padding-left: 12px;
}
.event-list .event .event-details {
  color: var(--event-foreground);
  display: block;
  line-height: 18px;
  padding: 6px 0 6px 35px;
}
.event-list .event .event-details::before {
  color: var(--event-foreground);
  display: inline-block;
  margin-right: 9px;
  width: 14px;
  font-family: 'Font Awesome 7 Free';
  font-weight: 900;
}
.event-list .event .event-details.event-location::before {
  content: '\f041';
}
.event-list .event .event-details.event-duration::before {
  content: '\f017';
}
.event-list .event .event-details.event-description::before {
  content: '\f024';
}
.event-list .event-past {
  --event-background: #f5f5f5;
  --event-foreground: #999;
  --event-title: #222;
}
@keyframes dot-flash {
  from {
    opacity: 1;
    transform: scale(1);
  }
  to {
    opacity: 0;
    transform: scale(0.8);
  }
}
ul.breadcrumb {
  font-size: 0.75em;
  list-style: none;
  margin: 1em 0;
  padding: 0 2em;
  text-align: center;
}
ul.breadcrumb li {
  display: inline;
}
ul.breadcrumb li:not(:first-child)::before {
  content: '/\00a0';
  font-weight: normal;
  padding: 0.5em;
}
ul.breadcrumb li:last-child {
  font-weight: bold;
}
.tag-cloud {
  text-align: center;
}
.tag-cloud a {
  display: inline-block;
  margin: 10px;
}
.tag-cloud-0 {
  border-bottom-color: #aaa;
  color: #aaa;
}
.tag-cloud-1 {
  border-bottom-color: #9a9a9a;
  color: #9a9a9a;
}
.tag-cloud-2 {
  border-bottom-color: #8b8b8b;
  color: #8b8b8b;
}
.tag-cloud-3 {
  border-bottom-color: #7c7c7c;
  color: #7c7c7c;
}
.tag-cloud-4 {
  border-bottom-color: #6c6c6c;
  color: #6c6c6c;
}
.tag-cloud-5 {
  border-bottom-color: #5d5d5d;
  color: #5d5d5d;
}
.tag-cloud-6 {
  border-bottom-color: #4e4e4e;
  color: #4e4e4e;
}
.tag-cloud-7 {
  border-bottom-color: #3e3e3e;
  color: #3e3e3e;
}
.tag-cloud-8 {
  border-bottom-color: #2f2f2f;
  color: #2f2f2f;
}
.tag-cloud-9 {
  border-bottom-color: #202020;
  color: #202020;
}
.tag-cloud-10 {
  border-bottom-color: #111;
  color: #111;
}
@media (prefers-color-scheme: dark) {
  .tag-cloud-0 {
    border-bottom-color: #555;
    color: #555;
  }
  .tag-cloud-1 {
    border-bottom-color: #646464;
    color: #646464;
  }
  .tag-cloud-2 {
    border-bottom-color: #737373;
    color: #737373;
  }
  .tag-cloud-3 {
    border-bottom-color: #828282;
    color: #828282;
  }
  .tag-cloud-4 {
    border-bottom-color: #929292;
    color: #929292;
  }
  .tag-cloud-5 {
    border-bottom-color: #a1a1a1;
    color: #a1a1a1;
  }
  .tag-cloud-6 {
    border-bottom-color: #b0b0b0;
    color: #b0b0b0;
  }
  .tag-cloud-7 {
    border-bottom-color: #c0c0c0;
    color: #c0c0c0;
  }
  .tag-cloud-8 {
    border-bottom-color: #cfcfcf;
    color: #cfcfcf;
  }
  .tag-cloud-9 {
    border-bottom-color: #dedede;
    color: #dedede;
  }
  .tag-cloud-10 {
    border-bottom-color: #eee;
    color: #eee;
  }
}
mark.search-keyword {
  background: transparent;
  border-bottom: 1px dashed #ff2a2a;
  color: #ff2a2a;
  font-weight: bold;
}
.use-motion .animated {
  animation-fill-mode: none;
  visibility: inherit;
}
.use-motion .sidebar .animated {
  animation-fill-mode: both;
}
hr {
  height: 2px;
  margin: 20px 0;
}
.btn {
  padding: 0 10px;
}
.headband {
  display: none;
}
@media (max-width: 767px) {
  .pagination {
    margin: 80px 0 0;
    text-align: center;
  }
}
.footer {
  background: var(--content-bg-color);
  color: var(--text-color);
  padding: 10px 0;
}
@media (max-width: 767px) {
  .footer-inner {
    text-align: center;
  }
}
.column {
  background: var(--content-bg-color);
}
header.header {
  align-items: center;
  display: flex;
  padding: 20px 0;
}
@media (max-width: 767px) {
  header.header {
    display: block;
    padding: 10px 0;
  }
}
.site-meta {
  line-height: normal;
}
@media (max-width: 767px) {
  .site-meta .brand {
    display: block;
  }
}
.site-meta .site-title {
  font-weight: bolder;
}
.logo-line {
  background: var(--brand-color);
  display: block;
  height: 2px;
  margin: 0 auto;
  width: 75%;
}
@media (max-width: 767px) {
  .logo-line {
    display: none;
  }
}
.use-motion .logo-line:first-of-type {
  transform: scaleX(0);
  transform-origin: left;
}
.use-motion .logo-line:last-of-type {
  transform: scaleX(0);
  transform-origin: right;
}
.site-subtitle {
  display: none;
}
.site-nav {
  flex-grow: 1;
}
@media (max-width: 767px) {
  .site-nav {
    padding: 0 10px 0;
  }
}
@media (max-width: 767px) {
  .main-menu {
    padding-top: 10px;
  }
}
.menu {
  padding: 0;
}
.menu .menu-item {
  margin: 0;
}
@media (max-width: 767px) {
  .menu .menu-item {
    margin-top: 5px;
  }
}
.menu .menu-item a {
  border-radius: 2px;
  padding: 0 10px;
  transition-property: background;
}
@media (max-width: 767px) {
  .menu .menu-item a {
    text-align: left;
    display: flex;
    align-items: center;
  }
  .menu .menu-item a .badge {
    margin-left: auto;
  }
}
.posts-expand.index .post-header {
  text-align: left;
}
@media (max-width: 767px) {
  .posts-expand.index .post-header {
    text-align: center;
  }
}
.posts-expand.index .post-meta-container {
  margin-top: 5px;
}
.posts-expand.index .post-meta {
  justify-content: flex-start;
}
@media (max-width: 767px) {
  .posts-expand.index .post-meta {
    justify-content: center;
  }
}
.posts-expand .post-eof {
  display: none;
}
.posts-expand .post-block:not(:first-of-type) {
  margin-top: 120px;
}
.posts-expand .post-header {
  margin-bottom: 20px;
}
.posts-expand .post-tags a {
  background: var(--content-bg-color);
  border-bottom: 0;
  padding: 1px 5px;
}
.posts-expand .post-tags a:hover {
  background: var(--menu-item-bg-color);
}
.posts-expand .post-nav {
  margin-top: 40px;
}
.post-button {
  margin-top: 20px;
}
.post-button .btn {
  background: none;
  border: 0;
  border-bottom: 2px solid var(--btn-default-border-color);
  padding: 0;
  transition-property: border;
}
.post-button .btn:hover {
  border-bottom-color: var(--btn-default-hover-border-color);
}
header.header {
  margin: 0 auto;
  width: 700px;
}
@media (max-width: 767px) {
  header.header {
    width: auto;
  }
}
@media (min-width: 1200px) {
  header.header {
    width: 800px;
  }
}
@media (min-width: 1600px) {
  header.header {
    width: 900px;
  }
}
.main-inner {
  margin: 0 auto;
  width: 700px;
  padding-bottom: 80px;
}
@media (max-width: 767px) {
  .main-inner {
    width: auto;
  }
}
@media (min-width: 1200px) {
  .main-inner {
    width: 800px;
  }
}
@media (min-width: 1600px) {
  .main-inner {
    width: 900px;
  }
}
@media (max-width: 767px) {
  .main-inner {
    padding-left: 20px;
    padding-right: 20px;
  }
}
.post-block:first-of-type {
  padding-top: 80px;
}
@media (max-width: 767px) {
  .post-block:first-of-type {
    padding-top: 60px;
  }
}
@media (min-width: 1200px) {
  .sidebar-dimmer {
    display: none;
  }
  .sidebar-active {
    padding-left: 320px;
  }
  .sidebar-active .footer-fixed {
    left: 320px;
  }
}
.sub-menu {
  margin: 10px 0;
}
.sub-menu .menu-item {
  display: inline-block;
}

/* Self-hosted Latin fonts (source/fonts/, latin subset, variable weight).
   Noto Serif SC for headings comes from /fonts/display.css, built by
   scripts/signal-fonts.js; body text uses the system Chinese font. */
@font-face {
  font-family: "Big Shoulders Display";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/big-shoulders-display.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 300 700;
  font-display: swap;
  src: url("/fonts/cormorant-garamond-italic.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url("/fonts/jetbrains-mono.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --void: #05060b;
  --ink: #0c0f19;
  --ink-2: #121626;
  --line: rgba(150, 170, 255, .13);
  --line-2: rgba(150, 170, 255, .26);
  --fg: #e7eaf4;
  --text: #cfd4e3;
  --mute: #7f88a3;
  --cyan: #7cecff;
  --violet: #a88bff;
  --heat: #ffb067;
  --green: #7dffb2;
  --rose: #ff7e9d;
  --f-display: "Big Shoulders Display", "Arial Narrow", Impact, sans-serif;
  --f-poem: "Cormorant Garamond", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --f-cn-display: "Noto Serif SC", "Songti SC", "SimSun", serif;
  --f-body: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", "Source Han Sans SC", sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, "Cascadia Code", Consolas, monospace;
  --gut: max(16px, env(safe-area-inset-left, 0px));
  --gutr: max(16px, env(safe-area-inset-right, 0px));
  --header-h: 60px;
  --header-top: env(safe-area-inset-top, 0px);
  --post-w: 760px;

  /* NexT's own palette, pointed at the SIGNAL tokens. */
  --body-bg-color: var(--void);
  --content-bg-color: var(--void);
  --card-bg-color: var(--ink);
  --text-color: var(--text);
  --blockquote-color: var(--mute);
  --link-color: var(--cyan);
  --link-hover-color: #fff;
  --brand-color: var(--fg);
  --brand-hover-color: #fff;
  --menu-item-bg-color: rgba(124, 236, 255, .06);
  --theme-color: var(--cyan);
  --selection-bg: var(--violet);
  --selection-color: var(--void);
  --table-row-odd-bg-color: rgba(150, 170, 255, .035);
  --table-row-hover-bg-color: rgba(124, 236, 255, .06);
  --btn-default-bg: transparent;
  --btn-default-color: var(--fg);
  --btn-default-border-color: var(--line-2);
  --btn-default-hover-bg: rgba(124, 236, 255, .06);
  --btn-default-hover-color: #fff;
  --btn-default-hover-border-color: var(--cyan);
  --highlight-background: #080a12;
  --highlight-foreground: #cfd4e3;
  --highlight-gutter-background: #080a12;
  --highlight-gutter-foreground: #3c4460;
  color-scheme: dark;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + var(--header-top) + 16px);
  background: var(--void);
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  background: var(--void);
  color: var(--text);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: var(--violet);
  color: var(--void);
}

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

::-webkit-scrollbar {
  width: 8px;
  height: 8px;
  background: var(--void);
}

::-webkit-scrollbar-thumb {
  border-radius: 4px;
  background: rgba(150, 170, 255, .22);
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(150, 170, 255, .36);
}

/* ───── Pointer ─────
   signal-cursor.js draws the cursor itself: a phosphor dot on a canvas.
   Before it has seen the mouse move, or if it never loads, the system
   cursor shows, redrawn to match (source/images/cursor/): a slim arrow,
   corner brackets that lock onto anything clickable, and an I-beam over
   text. Mouse only. Components that want the clickable cursor use
   var(--cursor-pointer, pointer), which falls back to the system hand
   everywhere else. */
@media (hover: hover) and (pointer: fine) {
  :root {
    --cursor-default: url("/images/cursor/arrow.svg") 4 3, auto;
    --cursor-pointer: url("/images/cursor/lock.svg") 16 16, pointer;
    --cursor-text: url("/images/cursor/beam.svg") 16 16, text;
  }

  html {
    cursor: var(--cursor-default);
  }

  :is(p, li, dt, dd, td:not(.gutter), th, blockquote, figcaption, pre, code, kbd, h1, h2, h3, h4, h5, h6, input:not([type]), input[type="text"], input[type="search"], textarea) {
    cursor: var(--cursor-text);
  }

  /* Listed after the text rule, so a link inside a paragraph, or a heading
     inside a link, takes the clickable cursor. */
  :is(a, button:not(:disabled), [role="button"]:not(img), summary, label[for], select, input[type="checkbox"], input[type="radio"], input[type="submit"], .copy-btn),:is(a, button:not(:disabled), [role="button"]:not(img), summary, .copy-btn) *,.back-to-top.back-to-top-on {
    cursor: var(--cursor-pointer);
  }

  html.signal-cursor-on,html.signal-cursor-on * {
    cursor: none !important;
  }
}

.signal-cursor {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 2147483647;
  pointer-events: none;
}

@media print {
  .signal-cursor {
    display: none;
  }
}

.signal-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.signal-grain {
  position: fixed;
  inset: 0;
  z-index: 55;
  pointer-events: none;
  opacity: .07;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ───── Header: a thin instrument bar ───── */
.headband {
  display: none;
}

.column {
  background: none;
}

header.header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 50;
  display: flex;
  width: auto;
  max-width: none;
  min-height: var(--header-h);
  box-sizing: border-box;
  align-items: center;
  gap: 20px;
  margin: 0;
  padding: var(--header-top) var(--gutr) 0 var(--gut);
  border-bottom: 1px solid transparent;
  background: linear-gradient(to bottom, rgba(5, 6, 11, .85), rgba(5, 6, 11, 0));
  font: 12px var(--f-mono);
  letter-spacing: .08em;
  transition: background .3s ease, border-color .3s ease, left .2s ease-out;
}

header.header.is-scrolled,.site-nav-on header.header {
  border-bottom-color: var(--line);
  background: rgba(5, 6, 11, .9);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.site-brand-container {
  display: contents;
}

.site-meta {
  order: 1;
  flex: none;
  text-align: left;
}

.site-meta .brand {
  display: block;
  padding: 0;
  color: var(--fg);
}

.logo-line,.site-subtitle {
  display: none !important;
}

.site-title {
  font: 900 22px/1 var(--f-display);
  letter-spacing: .06em;
  text-transform: uppercase;
}

.site-title em {
  color: var(--cyan);
  font-style: normal;
}

.site-nav {
  order: 2;
  flex: none;
}

.main-menu {
  display: flex;
  gap: 18px;
  margin: 0 0 0 12px;
  padding: 0;
}

.main-menu .menu-item {
  display: block;
  margin: 0;
}

.main-menu .menu-item a {
  position: relative;
  display: block;
  padding: 6px 2px;
  border: 0;
  background: none !important;
  color: var(--mute);
  font: 13px var(--f-body);
  letter-spacing: .14em;
  transition: color .2s ease;
}

.main-menu .menu-item a:hover,.main-menu .menu-item a[aria-current] {
  color: var(--fg);
}

.main-menu .menu-item a[aria-current]::after {
  content: "";
  position: absolute;
  right: 2px;
  bottom: 0;
  left: 2px;
  height: 1px;
  background: var(--cyan);
}

.site-nav-right {
  order: 3;
  display: flex;
  align-items: center;
  gap: 18px;
  margin-left: auto;
}

.site-nav-toggle {
  order: 4;
  display: none;
}

.site-nav-toggle .toggle {
  box-sizing: content-box;
  width: 20px;
  padding: 12px 0 12px 12px;
  border: 0;
  background: none;
  cursor: var(--cursor-pointer, pointer);
}

.site-nav-toggle .toggle .toggle-line {
  background: var(--fg);
}

.signal-rip {
  color: var(--mute);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.signal-rip b {
  color: var(--cyan);
  font-weight: 400;
}

/* JMP: a 札记 row is under the mouse and the readout shows its address. */
.signal-rip.is-jump [data-signal-rip-label] {
  color: var(--rose);
}

.global-search-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border: 1px solid var(--line-2);
  border-radius: 3px;
  background: rgba(255, 255, 255, .03);
  color: var(--fg);
  font: 12px var(--f-mono);
  letter-spacing: .08em;
  cursor: var(--cursor-pointer, pointer);
  transition: border-color .2s ease;
}

.global-search-trigger:hover,.global-search-trigger:focus-visible {
  border-color: var(--cyan);
}

.global-search-trigger > i {
  display: none;
}

.global-search-trigger kbd {
  padding: 1px 5px;
  border: 1px solid var(--line-2);
  border-radius: 2px;
  background: none;
  color: var(--mute);
  font: 11px var(--f-mono);
  box-shadow: none;
}

@media (max-width: 980px) {
  .signal-rip {
    display: none;
  }
}

@media (max-width: 767px) {
  .site-nav-toggle {
    display: block;
  }

  .global-search-trigger kbd {
    display: none;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    height: auto;
    max-height: 0;
    overflow: hidden;
    visibility: hidden;
    border-bottom: 1px solid transparent;
    background: rgba(5, 6, 11, .96);
    transition: max-height .3s ease, visibility .3s;
  }

  body.site-nav-on .site-nav {
    height: auto;
    max-height: 320px;
    visibility: visible;
    border-bottom-color: var(--line);
  }

  .main-menu {
    flex-direction: column;
    gap: 0;
    margin: 0;
    padding: 6px var(--gutr) 14px var(--gut);
  }

  .main-menu .menu-item a {
    padding: 12px 0;
    font-size: 15px;
  }
}

/* ───── Page shell ───── */
.main {
  padding-bottom: 0;
}

.main-inner {
  width: auto;
  max-width: 920px;
  box-sizing: border-box;
  margin: 0 auto;
  padding: calc(var(--header-h) + var(--header-top) + 56px) var(--gutr) 80px var(--gut);
}

.main-inner.signal-index {
  max-width: none;
  padding: 0;
}

/* Mist resets .main-inner padding with !important on phones; keep pages clear of the fixed header. */
@media (max-width: 567px) {
  .main-inner {
    padding-top: calc(var(--header-h) + var(--header-top) + 36px) !important;
  }

  .main-inner.signal-index {
    padding-top: 0 !important;
  }
}

.post-block:first-of-type {
  padding-top: 0;
}

.main-inner > .post-block,.posts-expand .post-block {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
}

/* ───── Footer: Coda ───── */
.footer {
  margin-top: 40px;
  padding: 0;
  border-top: 1px solid var(--line);
  background: none;
  color: var(--mute);
}

.footer-inner {
  display: flex;
  width: auto;
  flex-direction: row;
  max-width: 1240px;
  box-sizing: border-box;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 16px;
  margin: 0 auto;
  padding: 40px var(--gutr) calc(32px + env(safe-area-inset-bottom, 0px)) var(--gut);
  overflow: hidden;
  font: 12px/1.8 var(--f-mono);
  text-align: left;
}

@media (max-width: 767px) {
  .footer-inner {
    padding-bottom: calc(88px + env(safe-area-inset-bottom, 0px));
  }
}

.footer-inner a {
  border-bottom: 1px solid var(--line-2);
  color: var(--mute);
}

.footer-inner a:hover {
  color: var(--fg);
}

.signal-coda {
  order: -2;
  flex: 0 0 100%;
  min-width: 0;
}

.signal-coda-sign {
  order: -1;
  margin-right: auto;
  color: var(--fg);
  font: italic 500 18px var(--f-poem);
}

/* The harmonograph rings out at the end of every page (source/js/signal.js). */
.signal-coda-stage {
  position: relative;
}

.signal-coda-trace {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  display: block;
  width: min(440px, 36vw);
  height: 100%;
  pointer-events: none;
}

.signal-coda-readout {
  position: absolute;
  top: calc(100% + 26px);
  right: 0;
  color: var(--mute);
  font: 11px/1.8 var(--f-mono);
  letter-spacing: .1em;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.signal-coda-readout b {
  color: var(--cyan);
  font-weight: 400;
}

@media (max-width: 820px) {
  .signal-coda-stage {
    padding-top: 150px;
  }

  .signal-coda-trace {
    top: 0;
    right: 50%;
    bottom: auto;
    width: min(360px, 100%);
    height: 230px;
    transform: translateX(50%);
  }

  .signal-coda-readout {
    top: 0;
    right: 0;
  }
}

.signal-coda-mark {
  color: transparent;
  font: 900 clamp(90px, 26vw, 380px)/.8 var(--f-display);
  white-space: nowrap;
  -webkit-text-stroke: 1px var(--line-2);
  user-select: none;
}

/* Only the home page ends on the full Coda. Elsewhere the outlined SILEN1
   would repeat the hero and outweigh short pages, so the footer keeps the
   harmonograph beside the uptime, then the credits. */
body:not(:has(.signal-index)) :is(.signal-coda-mark, .signal-coda-readout) {
  display: none;
}

body:not(:has(.signal-index)) .signal-coda-stage {
  height: 120px;
  padding-top: 0;
}

body:not(:has(.signal-index)) .signal-coda-trace {
  right: auto;
  left: 0;
  width: min(260px, 70vw);
  height: 120px;
  transform: none;
}

@media (min-width: 821px) {
  body:not(:has(.signal-index)) .signal-coda {
    position: relative;
  }

  body:not(:has(.signal-index)) .signal-coda-stage {
    position: absolute;
    top: 0;
    right: 0;
    width: min(260px, 30vw);
  }

  body:not(:has(.signal-index)) .blog-runtime {
    min-height: 120px;
    max-width: calc(100% - min(260px, 30vw) - 40px);
    box-sizing: border-box;
    align-content: center;
    margin: 0 0 8px;
    padding: 0;
    border: 0;
  }
}

.footer .with-love {
  color: var(--violet);
  animation: none;
}

.footer .copyright,.footer .busuanzi-count,.footer .powered-by {
  margin: 0;
}

.footer .busuanzi-count .post-meta-item {
  margin-right: 10px;
}

.blog-runtime {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 18px;
  margin: 24px 0 14px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-variant-numeric: tabular-nums;
}

.blog-runtime-label {
  color: var(--mute);
  font: 500 13px var(--f-body);
  letter-spacing: .2em;
}

.blog-runtime time {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
}

.blog-runtime-value {
  min-width: 1.1em;
  color: var(--fg);
  font: 900 clamp(22px, 2.4vw, 30px)/1 var(--f-display);
  text-align: right;
}

.blog-runtime-value[data-runtime-seconds] {
  color: var(--cyan);
}

.blog-runtime-unit {
  margin: 0 12px 0 4px;
  color: var(--mute);
  font: 500 12px var(--f-body);
}

.blog-runtime-since {
  color: var(--mute);
  font: italic 500 16px var(--f-poem);
  letter-spacing: 0;
}

/* ───── NexT widgets ───── */
.reading-progress-bar {
  top: calc(var(--header-h) + var(--header-top));
  z-index: 51;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--violet));
}

.back-to-top,.sidebar-toggle {
  box-sizing: border-box;
  border: 1px solid var(--line-2);
  border-radius: 3px;
  background: rgba(12, 15, 25, .92);
  color: var(--mute);
  font: 12px var(--f-mono);
  opacity: 1;
}

.back-to-top:hover,.sidebar-toggle:hover {
  border-color: var(--cyan);
  color: var(--fg);
}

.sidebar-toggle .toggle-line {
  background: currentColor;
}

.back-to-top {
  width: auto;
  height: 34px;
  gap: 6px;
  padding: 0 10px;
}

.back-to-top span {
  margin-right: 0;
}

.back-to-top .fa {
  display: none;
}

.back-to-top::before {
  content: "\2191  TOP";
  letter-spacing: .08em;
  white-space: pre;
}

.sidebar-toggle {
  bottom: 72px;
  width: 34px;
  height: 34px;
  padding: 9px 8px;
}

/* ───── Sidebar: only the post's table of contents ───── */
/* Pages without a TOC have nothing to open. */
body:not(:has(.post-toc)) .sidebar-toggle,.sidebar:not(:has(.post-toc)) {
  display: none;
}

.sidebar {
  border-right: 1px solid var(--line);
  background: var(--ink);
  box-shadow: none;
  color: var(--mute);
}

.sidebar-inner {
  padding: calc(var(--header-h) + var(--header-top) + 24px) 20px 24px;
  color: var(--mute);
  text-align: left;
}

.sidebar-toc-title {
  margin: 0 0 12px;
  color: var(--mute);
  font: 11px var(--f-mono);
  letter-spacing: .2em;
  text-transform: uppercase;
}

/* Wide screens: a slim rail in the left margin, always shown, while the
   text stays centred. NexT would push the page right by 320px. */
@media (min-width: 1200px) {
  .sidebar-active {
    padding-left: 0;
  }

  .sidebar,.sidebar-active .sidebar {
    --rail: min(220px, calc((100vw - var(--post-w)) / 2 - 72px));
    top: calc(var(--header-h) + var(--header-top) + 56px);
    bottom: auto;
    left: calc((100vw - var(--post-w)) / 2 - var(--rail) - 40px);
    width: var(--rail);
    max-height: calc(100vh - var(--header-h) - var(--header-top) - 170px);
    border: 0;
    background: none;
    transition: none;
  }

  .sidebar-inner {
    padding: 0;
  }

  .sidebar-toggle,.sidebar-dimmer {
    display: none;
  }
}

.sidebar a {
  border-bottom: 0;
  color: var(--mute);
}

.sidebar a:hover {
  color: var(--fg);
}

.post-toc .nav-item {
  line-height: 1.6;
}

.post-toc .nav .nav-child {
  padding-left: 12px;
}

/* NexT sizes an open sub-list for one line per item; in the narrow rail
   long titles wrap, so let it take its natural height. */
.post-toc .nav .active > .nav-child {
  height: auto;
}

.post-toc .nav-item a {
  display: block;
  padding: 4px 0 4px 12px;
  border-left: 1px solid var(--line);
  color: var(--mute);
  font-size: 13px;
  text-align: left;
  transition: color .2s ease, border-color .2s ease;
}

.post-toc .nav-item a:hover,.post-toc .nav .active > a {
  border-left-color: var(--cyan);
  color: var(--fg);
}

.post-toc .nav .active-current > a {
  color: var(--cyan);
}

.post-toc .nav-number {
  font-family: var(--f-mono);
  font-size: 11px;
}

/* The floating buttons step aside while reading: they hide on the way
   down and come back on the way up or at the end of the page
   (signal.js sets .signal-chrome-hidden). */
.back-to-top,.sidebar-toggle {
  transition: bottom .25s ease, transform .25s ease, opacity .25s ease;
}

@media (max-width: 1199px) {
  .signal-chrome-hidden .back-to-top,.signal-chrome-hidden body:not(.sidebar-active) .sidebar-toggle {
    opacity: 0;
    pointer-events: none;
    transform: translateY(16px);
  }
}

/* On phones they move to the right edge, clear of where lines start. */
@media (max-width: 767px) {
  .back-to-top,.sidebar-toggle {
    right: max(16px, env(safe-area-inset-right, 0px));
    left: auto;
    width: 44px;
    height: 44px;
  }

  .back-to-top {
    justify-content: center;
    padding: 0;
  }

  .back-to-top::before {
    content: "\2191";
    font-size: 16px;
    letter-spacing: 0;
  }

  .back-to-top.back-to-top-on {
    bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  }

  .sidebar-toggle {
    display: flex;
    bottom: calc(68px + env(safe-area-inset-bottom, 0px));
    align-items: center;
    justify-content: center;
    padding: 0 12px;
    color: var(--fg);
  }

  .sidebar-toggle-icon {
    display: block;
    width: 20px;
  }

  /* NexT turns the lines into a cross with :first-child / :last-child,
     which also catch this wrapper once it is a block; keep it upright. */
  .sidebar-active .sidebar-toggle .sidebar-toggle-icon {
    top: 0;
    transform: none;
  }
}

.pagination {
  margin: 40px 0 0;
  padding: 0;
  border-top: 0;
  text-align: left;
}

.pagination .page-number,.pagination .prev,.pagination .next,.pagination .space {
  display: inline-block;
  min-width: 36px;
  margin: 0 6px 6px 0;
  padding: 6px 10px;
  border: 1px solid var(--line-2);
  border-radius: 2px;
  background: none;
  color: var(--mute);
  font: 12px var(--f-mono);
  text-align: center;
}

.pagination .page-number:hover,.pagination .prev:hover,.pagination .next:hover {
  border-color: var(--cyan);
  color: var(--fg);
}

.pagination .page-number.current {
  border-color: var(--fg);
  background: var(--fg);
  color: var(--void);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,*::before,*::after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
  }
}

.signal-inner {
  max-width: 1240px;
  margin: 0 auto;
}

.signal-section {
  padding-right: var(--gutr);
  padding-left: var(--gut);
}

.signal-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px 24px;
  margin-bottom: 36px;
}

.signal-h2 {
  margin: 0;
  color: var(--fg);
  font: 900 clamp(46px, 7vw, 100px)/1.08 var(--f-cn-display);
  letter-spacing: .06em;
}

.signal-h2 small {
  display: block;
  margin-top: 12px;
  color: var(--mute);
  font: italic 500 clamp(20px, 2.4vw, 30px)/1.3 var(--f-poem);
  letter-spacing: 0;
}

.signal-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--mute);
  font: 12px var(--f-mono);
  letter-spacing: .22em;
  text-transform: uppercase;
}

.signal-eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--cyan);
}

.signal-count {
  color: var(--mute);
  font: 12px var(--f-mono);
  letter-spacing: .1em;
}

.signal-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.signal-chip {
  padding: 6px 12px;
  border: 1px solid var(--line-2);
  border-radius: 2px;
  background: none;
  color: var(--mute);
  font: 12px var(--f-mono);
  letter-spacing: .06em;
  cursor: var(--cursor-pointer, pointer);
}

.signal-chip:hover {
  color: var(--fg);
}

.signal-chip[aria-pressed="true"] {
  border-color: var(--fg);
  background: var(--fg);
  color: var(--void);
}

.signal-more {
  border-bottom: 1px solid var(--line-2);
  color: var(--mute);
  font: 12px var(--f-mono);
  letter-spacing: .08em;
}

.signal-more:hover {
  border-bottom-color: var(--cyan);
  color: var(--fg);
}

.signal-empty {
  margin: 0;
  padding: 32px 0;
  color: var(--mute);
  font-size: 15px;
}

/* ───── Hero ───── */
/* One screen, never pinned: the wordmark scatters into dust as it scrolls
   away, so the page keeps its own scrolling rhythm. */
.signal-hero {
  position: relative;
  height: 100vh;
  height: 100svh;
}

.signal-hero-stage {
  position: relative;
  height: 100%;
  overflow: hidden;
}

.signal-hero-canvas {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  /* Let the scattered dust thin out instead of ending on a hard edge. */
  -webkit-mask-image: linear-gradient(to bottom, #000 72%, transparent);
  mask-image: linear-gradient(to bottom, #000 72%, transparent);
}

/* Slogan on the left, the newest entry across from it on the right;
   stacked on phones. */
.signal-hero-copy {
  position: absolute;
  right: 0;
  bottom: calc(env(safe-area-inset-bottom, 0px) + 10vh);
  left: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px 48px;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 var(--gutr) 0 var(--gut);
  pointer-events: none;
}

.signal-hero-title {
  margin: 0;
  color: var(--fg);
  font: italic 500 clamp(40px, 6.4vw, 92px)/1.02 var(--f-poem);
  letter-spacing: -.01em;
}

/* The newest entry, one tap from the first screen. */
.signal-hero-latest {
  display: inline-flex;
  max-width: 360px;
  flex-direction: column;
  gap: 6px;
  margin-bottom: .6em;
  border: 0;
  color: var(--fg);
  pointer-events: auto;
}

/* Keep clear of the scroll hint once the copy reaches the screen edge. */
@media (max-width: 1340px) {
  .signal-hero-latest {
    margin-right: 32px;
  }
}

@media (max-width: 760px) {
  .signal-hero-latest {
    margin-bottom: 0;
  }
}

.signal-hero-latest-meta {
  color: var(--mute);
  font: 12px var(--f-mono);
  letter-spacing: .12em;
}

.signal-hero-latest-title {
  border-bottom: 1px solid var(--line-2);
  font: 500 17px/1.5 var(--f-body);
  transition: border-color .2s ease;
}

.signal-hero-latest:hover .signal-hero-latest-title {
  border-bottom-color: var(--cyan);
}

.signal-hero-title span {
  padding-right: .08em;
  background: linear-gradient(90deg, var(--cyan), var(--violet));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.signal-scroll-hint {
  position: absolute;
  right: calc(var(--gutr) + 10px);
  bottom: calc(env(safe-area-inset-bottom, 0px) + 10vh);
  width: 1px;
  height: 70px;
  overflow: hidden;
  background: var(--line-2);
}

.signal-scroll-hint::after {
  content: "";
  position: absolute;
  top: -30px;
  left: 0;
  width: 1px;
  height: 30px;
  background: var(--cyan);
  animation: signal-drip 2s infinite;
}

@keyframes signal-drip {
  to {
    top: 70px;
  }
}

/* ───── 疆域: layout follows the number of categories ───── */
.signal-realms {
  position: relative;
  padding-top: 120px;
  padding-bottom: 40px;
}

.signal-realm-grid {
  max-width: 1240px;
  margin: 0 auto;
}

.signal-realm {
  position: relative;
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--ink);
}

.signal-realm-emblem {
  position: relative;
  min-height: 0;
  border-right: 1px solid var(--line);
  background: radial-gradient(120% 90% at 30% 50%, rgba(124, 236, 255, .06), transparent 60%);
}

.signal-realm-emblem canvas {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.signal-realm-info {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 14px;
  padding: 28px 30px;
}

.signal-realm-index {
  color: var(--cyan);
  font: 12px var(--f-mono);
  letter-spacing: .14em;
}

.signal-realm h3 {
  margin: 0;
  color: var(--fg);
  font: 900 clamp(72px, 10vw, 150px)/.82 var(--f-display);
  letter-spacing: .02em;
}

.signal-realm-epithet {
  margin: 0;
  color: var(--fg);
  font: italic 500 26px/1.2 var(--f-poem);
}

.signal-realm-desc {
  max-width: 40ch;
  margin: 0;
  color: var(--mute);
  font: italic 500 19px/1.45 var(--f-poem);
}

.signal-realm dl {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 6px 18px;
  margin: 6px 0 0;
  font: 12px var(--f-mono);
}

.signal-realm dt {
  color: var(--mute);
  letter-spacing: .1em;
}

.signal-realm dd {
  margin: 0;
  overflow: hidden;
  color: var(--fg);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.signal-realm-enter {
  align-self: flex-start;
  margin-top: auto;
  padding: 9px 16px;
  border: 1px solid var(--line-2);
  color: var(--fg);
  font: 12px var(--f-mono);
  letter-spacing: .1em;
  transition: border-color .2s ease, background .2s ease;
}

.signal-realm-enter:hover {
  border-color: var(--cyan);
  background: rgba(124, 236, 255, .06);
  color: var(--fg);
}

.signal-realm-enter.is-empty {
  color: var(--mute);
}

.signal-realms[data-mode="solo"] .signal-realm-grid {
  display: grid;
}

.signal-realms[data-mode="solo"] .signal-realm {
  grid-template-columns: 1.25fr 1fr;
  height: min(560px, 72vh);
}

.signal-realms[data-mode="pair"] .signal-realm-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.signal-realms[data-mode="pair"] .signal-realm,.signal-realms[data-mode="track"] .signal-realm {
  grid-template-rows: 240px auto;
}

.signal-realms[data-mode="pair"] .signal-realm-emblem,.signal-realms[data-mode="track"] .signal-realm-emblem {
  border-right: 0;
  border-bottom: 1px solid var(--line);
}

@media (min-width: 821px) {
  .signal-realms[data-mode="track"] {
    padding: 0;
  }

  .signal-realms[data-mode="track"] .signal-realms-stage {
    position: sticky;
    top: 0;
    display: flex;
    height: 100vh;
    flex-direction: column;
    justify-content: center;
    gap: 28px;
    overflow: hidden;
  }

  .signal-realms[data-mode="track"] .signal-head {
    width: min(1240px, calc(100% - var(--gut) - var(--gutr)));
    box-sizing: border-box;
    margin: 0 auto;
    padding: 0;
  }

  .signal-realms[data-mode="track"] .signal-realm-grid {
    display: flex;
    max-width: none;
    gap: 24px;
    margin: 0;
    padding-left: max(var(--gut), calc((100% - 1240px) / 2));
    will-change: transform;
  }

  .signal-realms[data-mode="track"] .signal-realm {
    flex: 0 0 min(520px, 78vw);
    height: min(460px, 60vh);
    grid-template-rows: 200px auto;
  }

  .signal-realms[data-mode="track"] .signal-realm h3 {
    font-size: clamp(56px, 6vw, 88px);
  }
}

@media (max-width: 820px) {
  .signal-realms[data-mode] .signal-realm {
    height: auto;
    grid-template-columns: 1fr;
    grid-template-rows: 240px auto;
  }

  .signal-realms[data-mode] .signal-realm-emblem {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .signal-realms[data-mode] .signal-realm-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .signal-realm-info {
    padding: 24px 20px;
  }
}

/* ───── 札记 ───── */
.signal-codex {
  padding-top: 120px;
  padding-bottom: 80px;
}

.signal-index > .signal-codex:first-of-type {
  padding-top: calc(var(--header-h) + var(--header-top) + 80px);
}

.signal-seglist {
  border-top: 1px solid var(--line);
}

.signal-seg {
  position: relative;
  display: grid;
  grid-template-columns: 120px 96px minmax(0, 1fr) 170px 64px;
  align-items: baseline;
  gap: 20px;
  padding: 26px 8px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.signal-seg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(124, 236, 255, .07), transparent 70%);
  opacity: 0;
  transition: opacity .4s ease;
}

.signal-seg:hover::before,.signal-seg:focus-within::before {
  opacity: 1;
}

.signal-seg > * {
  position: relative;
}

/* Decoration only: set back so the date and title lead. */
.signal-seg-addr {
  color: #4b5372;
  font: 12px var(--f-mono);
}

/* With a mouse the address gets a breakpoint gutter: pointing at a row
   sets a breakpoint and lights the address, while source/js/signal.js
   sends the header readout to it. */
@media (hover: hover) {
  .signal-seg-addr {
    padding-left: 16px;
    transition: color .2s ease;
  }

  .signal-seg-addr::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 7px;
    height: 7px;
    margin-top: -4px;
    border-radius: 50%;
    background: var(--rose);
    box-shadow: 0 0 10px var(--rose);
    opacity: 0;
    transform: scale(.4);
    transition: opacity .18s ease, transform .18s ease;
  }

  .signal-seg:hover .signal-seg-addr,.signal-seg:focus-within .signal-seg-addr {
    color: var(--cyan);
  }

  .signal-seg:hover .signal-seg-addr::before,.signal-seg:focus-within .signal-seg-addr::before {
    opacity: 1;
    transform: none;
  }
}

.signal-seg time {
  color: var(--mute);
  font: 12px var(--f-mono);
  font-variant-numeric: tabular-nums;
}

.signal-seg h3 {
  margin: 0;
  font: 700 clamp(21px, 2.3vw, 28px)/1.35 var(--f-cn-display);
}

.signal-seg-link {
  position: static;
  border: 0;
  color: var(--fg);
  transition: color .3s ease;
}

.signal-seg-link::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}

.signal-seg:hover .signal-seg-link {
  color: #fff;
}

.signal-seg-link:focus-visible {
  outline: 0;
}

.signal-seg-link:focus-visible::after {
  outline: 2px solid var(--cyan);
  outline-offset: -2px;
}

.signal-seg p {
  max-width: 58ch;
  margin: 6px 0 0;
  color: var(--mute);
  font-size: 14.5px;
}

.signal-seg-tags {
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 8px;
  font: 12px var(--f-mono);
}

.signal-seg-tags a {
  border: 0;
  color: var(--violet);
}

.signal-seg-tags a:hover {
  color: #fff;
}

.signal-seg-tags .signal-seg-realm {
  padding: 0 6px;
  border: 1px solid var(--line-2);
  color: var(--fg);
}

.signal-seg-size {
  color: var(--mute);
  font: 12px var(--f-mono);
  text-align: right;
}

.signal-codex-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  margin-top: 20px;
}

.signal-codex-foot .pagination {
  margin-right: auto;
}

.signal-codex-foot .pagination {
  margin: 0;
}

@media (max-width: 860px) {
  .signal-seg {
    grid-template-columns: 1fr auto;
    gap: 6px 14px;
    padding: 22px 4px;
  }

  .signal-seg-main {
    grid-column: 1 / -1;
  }
}

/* ───── 远征: route graph (also on /learning-paths/) ───── */
.signal-odyssey {
  padding-top: 100px;
  padding-bottom: 100px;
}

.route-graph {
  overflow-x: auto;
  border: 1px solid var(--line);
  background:linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 40px 40px,linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 40px 40px,var(--ink);
}

.route-graph:empty {
  display: none;
}

.route-svg {
  display: block;
  width: 100%;
  height: auto;
}

.route-node rect {
  fill: var(--ink-2);
  stroke: var(--line-2);
  stroke-width: 1;
  transition: stroke .2s ease, fill .2s ease;
}

.route-node.is-published:hover rect,.route-node.is-published:focus rect {
  fill: #151b2e;
  stroke: var(--cyan);
}

.route-node.is-published rect.route-bar {
  fill: var(--cyan);
  stroke: none;
}

.route-node.is-planned rect.route-bar {
  fill: var(--heat);
  stroke: none;
}

.route-node text {
  fill: var(--fg);
  font: 500 16px var(--f-body);
}

.route-svg.is-narrow .route-node text {
  font-size: 14px;
}

.route-node.is-planned text {
  fill: var(--mute);
}

.route-node text.route-addr,.route-svg.is-narrow .route-node text.route-addr {
  fill: var(--mute);
  font: 11px var(--f-mono);
}

.route-edge {
  fill: none;
  stroke: var(--violet);
  stroke-width: 1.5;
  stroke-dasharray: var(--len);
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 1.1s cubic-bezier(.6, 0, .2, 1);
}

.route-svg.is-hidden .route-edge {
  stroke-dashoffset: var(--len);
}

.route-label {
  fill: var(--mute);
  font: 11px var(--f-mono);
}

.route-svg marker path {
  fill: var(--violet);
}

.signal-legend {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-top: 14px;
  color: var(--mute);
  font: 12px var(--f-mono);
}

.signal-legend i {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 6px;
  vertical-align: -1px;
}

.signal-legend .is-published {
  background: var(--cyan);
}

.signal-legend .is-planned {
  background: var(--heat);
}

.signal-legend .signal-more {
  margin-left: auto;
}

/* 远征 before any series has enough steps to draw: one line per route. */
.signal-route-list {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.signal-route-list li {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 8px 24px;
  margin: 0;
  padding: 20px 4px;
  border-bottom: 1px solid var(--line);
}

.signal-route-name {
  color: var(--fg);
  font: 900 28px/1 var(--f-display);
  letter-spacing: .03em;
}

.signal-route-steps {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 12px;
}

.signal-route-steps a {
  border-bottom: 1px solid var(--line-2);
  color: var(--text);
}

.signal-route-steps a:hover {
  border-bottom-color: var(--cyan);
  color: var(--fg);
}

.signal-route-steps .is-planned {
  color: var(--mute);
}

.signal-route-steps i {
  color: var(--mute);
  font: normal 12px var(--f-mono);
}

@media (max-width: 640px) {
  .signal-route-list li {
    grid-template-columns: 1fr auto;
  }

  .signal-route-steps {
    grid-column: 1 / -1;
    grid-row: 2;
  }
}

/* ───── 年鉴 ───── */
.signal-almanac {
  padding-top: 100px;
  padding-bottom: 140px;
}

.signal-registers {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 36px;
  border: 1px solid var(--line);
}

.signal-register {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 22px 20px;
  border-right: 1px solid var(--line);
}

.signal-register:last-child {
  border-right: 0;
}

.signal-register-name {
  color: var(--cyan);
  font: 12px var(--f-mono);
  letter-spacing: .1em;
}

.signal-register-value {
  margin: 10px 0 6px;
  overflow: hidden;
  color: var(--fg);
  font: 900 clamp(40px, 6vw, 84px)/1 var(--f-display);
  font-variant-numeric: tabular-nums;
  text-overflow: ellipsis;
}

.signal-register-label {
  color: var(--mute);
  font: italic 500 20px var(--f-poem);
}

/* Watch: hovering a register shows its value in hex and binary. Space is
   kept for it so nothing moves; touch screens never show it. */
.signal-register-watch {
  display: none;
}

@media (hover: hover) {
  .signal-register {
    transition: background-color .2s ease;
  }

  .signal-register:hover {
    background: var(--ink);
  }

  .signal-register-watch {
    display: block;
    margin-top: 12px;
    color: #4b5372;
    font: 11px/1.6 var(--f-mono);
    letter-spacing: .04em;
    font-variant-numeric: tabular-nums;
    overflow-wrap: anywhere;
    opacity: 0;
    transform: translateY(-4px);
    transition: opacity .2s ease, transform .2s ease;
  }

  .signal-register-watch b {
    color: var(--cyan);
    font-weight: 400;
  }

  .signal-register:hover .signal-register-watch {
    opacity: 1;
    transform: none;
  }
}

.signal-spectrum {
  margin-top: 32px;
}

.signal-spectrum-bar {
  display: flex;
  height: 44px;
  margin-top: 14px;
  border: 1px solid var(--line);
}

.signal-spectrum-bar a {
  border: 0;
  border-right: 1px solid var(--void);
  background: var(--c);
  transition: filter .2s ease;
}

.signal-spectrum-bar a:hover {
  filter: brightness(1.3);
}

.signal-spectrum-keys {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin-top: 12px;
  font: 12px var(--f-mono);
}

.signal-spectrum-keys a {
  border: 0;
  color: var(--mute);
}

.signal-spectrum-keys a:hover {
  color: var(--fg);
}

.signal-spectrum-keys i {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 6px;
  vertical-align: -1px;
  background: var(--c);
}

@media (max-width: 760px) {
  .signal-registers {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .signal-register:nth-child(2) {
    border-right: 0;
  }

  .signal-register:nth-child(-n+2) {
    border-bottom: 1px solid var(--line);
  }
}

/* About 40 Chinese characters a line; --post-w also places the TOC rail. */
.main-inner.post {
  max-width: var(--post-w);
}

.posts-expand .post-header {
  margin-bottom: 44px;
  text-align: left;
}

.posts-expand .post-title {
  margin: 0 0 22px;
  color: var(--fg);
  font: 900 clamp(34px, 5vw, 62px)/1.2 var(--f-cn-display);
  text-wrap: balance;
}

.posts-expand .post-title-link {
  border: 0;
  color: var(--fg);
}

.posts-expand .post-title-link::before {
  background: var(--cyan);
}

.post-meta-container {
  margin-top: 0;
}

.posts-expand .post-meta,.post-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 4px 16px;
  color: var(--mute);
  font: 12px var(--f-mono);
}

.post-meta-item {
  margin: 0;
}

.post-meta-item::before,.post-meta-item-icon {
  display: none;
}

.post-meta a {
  border-bottom: 1px solid var(--line-2);
  color: var(--cyan);
}

.posts-expand .post-meta-container time {
  border-bottom: 0;
}

/* Reading time and tags (source/_data/post-meta.njk). */
.post-meta .post-meta-tags {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0 10px;
}

.post-meta .post-meta-tags a {
  border-bottom: 0;
  color: var(--violet);
}

.post-meta .post-meta-tags a:hover {
  color: #fff;
}

.posts-expand .post-header .post-description {
  max-width: 60ch;
  font-family: var(--f-body);
  margin: 26px 0 0;
  padding-left: 18px;
  border-left: 2px solid var(--violet);
  color: var(--mute);
  font-size: 18px;
  line-height: 1.7;
  text-align: left;
}

/* ───── Body ───── */
.post-body {
  color: var(--text);
  font-family: var(--f-body);
  font-size: 16.5px;
  line-height: 1.9;
}

.post-body p {
  margin: 0 0 1.1em;
}

.post-body a {
  border-bottom: 1px solid rgba(124, 236, 255, .3);
  color: var(--cyan);
}

.post-body a:hover {
  border-bottom-color: var(--cyan);
  color: #fff;
}

.post-body h1,.post-body h2,.post-body h3,.post-body h4,.post-body h5,.post-body h6 {
  padding: 0;
  border: 0;
  color: var(--fg);
  font-family: var(--f-cn-display);
  font-weight: 700;
  line-height: 1.4;
}

.post-body h2 {
  margin: 52px 0 14px;
  font-size: 26px;
}

/* The address is decoration; the empty alt keeps screen readers from
   reading it out before every heading. */
.post-body h2[data-loc]::before {
  content: attr(data-loc);
  content: attr(data-loc) / "";
  display: block;
  margin-bottom: 4px;
  color: var(--cyan);
  font: 11px var(--f-mono);
  letter-spacing: .1em;
}

.post-body h3 {
  margin: 36px 0 12px;
  font-size: 20px;
}

.post-body h4 {
  margin: 28px 0 10px;
  padding-left: 11px;
  border-left: 2px solid var(--cyan);
  font-size: 17px;
}

.post-body h5 {
  color: #bec5e4;
  font-size: 16px;
}

.post-body h6 {
  color: var(--mute);
  font-size: 15px;
  letter-spacing: .04em;
}

.post-body .headerlink {
  border: 0;
}

.post-body .headerlink::before {
  color: var(--mute);
}

.post-body ul,.post-body ol {
  padding-left: 1.4em;
}

.post-body li::marker {
  color: var(--mute);
}

.post-body blockquote {
  margin: 24px 0;
  padding: 2px 0 2px 18px;
  border-left: 2px solid var(--line-2);
  background: none;
  color: var(--mute);
}

.post-body hr {
  height: 1px;
  margin: 40px 0;
  border: 0;
  background: var(--line);
}

.post-body img {
  border: 1px solid var(--line);
}

.post-body table {
  border: 1px solid var(--line);
  font-size: 14.5px;
}

.post-body th {
  border-color: var(--line);
  background: var(--ink-2);
  color: var(--fg);
  font: 600 12px var(--f-mono);
  letter-spacing: .06em;
}

.post-body td {
  border-color: var(--line);
}

.post-body :not(pre) > code {
  padding: 1px 6px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--ink-2);
  color: #d6dbf0;
  font: .86em var(--f-mono);
  overflow-wrap: anywhere;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

/* ───── Code blocks ───── */
.post-body figure.highlight,.post-body .post-code-container {
  max-width: 100%;
  box-sizing: border-box;
  margin: 24px 0;
  border: 1px solid var(--line-2);
  border-radius: 0;
  background: #080a12;
  box-shadow: none;
}

.post-body .code-container {
  position: relative;
  padding-top: 36px;
}

.post-body .code-container::before {
  content: "";
  position: absolute;
  top: 35px;
  right: 0;
  left: 0;
  height: 1px;
  background: var(--line);
}

.post-body figure.highlight .table-container,.post-body pre {
  overflow-x: auto;
}

.post-body pre,.post-body .highlight pre,.post-body .highlight .gutter pre,.post-body .highlight .code pre {
  background: #080a12;
  font: 13.5px/1.75 var(--f-mono);
  tab-size: 2;
}

.post-body .highlight .gutter pre {
  color: #3c4460;
}

/* Chinese in code: a fixed two-column cell, so boxes drawn with │ ─ line up
   (alignWideChars in scripts/post-render-enhancements.js). NexT's utils.js
   renames span classes in code to hljs-*, so .wide arrives as .hljs-wide. */
.post-body .highlight .wide,.post-body .highlight .hljs-wide {
  display: inline-block;
  width: 2ch;
  text-align: center;
}

/* Blocks without line numbers: shell sessions and plain output. */
.post-body .highlight td.code:first-child pre,.post-body .highlight td.output pre {
  padding-left: 16px;
}

/* Shell sessions (scripts/post-render-enhancements.js): a $ prompt instead
   of line numbers, and the output in the same frame, a step quieter. The
   prompt is generated content, so copying leaves it out. */
.post-body .terminal .line.cmd::before {
  content: "$ ";
  color: var(--cyan);
}

.post-body .terminal tr:has(+ tr) td.code pre {
  padding-bottom: 0;
}

.post-body .terminal td.output pre {
  padding-top: 4px;
  color: #9aa3bf;
}

.post-body figure.highlight .table-container.is-clipped {
  -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 56px), transparent);
  mask-image: linear-gradient(to right, #000 calc(100% - 56px), transparent);
}

/* Same address (source/js/post-enhancements.js): the address or name under
   the mouse, and every other place in the post's code that holds it.
   Highlight styles take literal colours, not the tokens. */
::highlight(signal-same) {
  background-color: rgba(124, 236, 255, .16);
  color: #e7eaf4;
}

::highlight(signal-here) {
  background-color: rgba(124, 236, 255, .34);
  color: #fff;
}

.post-body .highlight table,.post-body .highlight td {
  border: 0;
  background: none;
}

.post-body .code-lang {
  top: 0 !important;
  right: auto !important;
  left: 14px;
  max-width: calc(100% - 120px);
  height: 36px;
  overflow: hidden;
  padding: 0;
  border: 0;
  background: none;
  color: var(--mute);
  font: 11px/36px var(--f-mono) !important;
  letter-spacing: .1em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
  opacity: 1 !important;
}

.post-body .copy-btn {
  top: 6px;
  right: 8px;
  z-index: 4;
  display: inline-flex;
  min-width: 0;
  min-height: 0;
  align-items: center;
  padding: 3px 10px;
  border: 1px solid var(--line-2);
  border-radius: 2px;
  background: none !important;
  color: var(--fg) !important;
  font: 11px var(--f-mono);
  opacity: .85;
}

/* Text labels instead of Font Awesome glyphs, so the button reads even when the icon CDN is slow. */
.post-body .copy-btn i {
  display: none;
}

.post-body .copy-btn::before {
  content: "COPY";
  letter-spacing: .08em;
}

.post-body .copy-btn:has(.fa-check-circle)::before {
  content: "COPIED";
  color: var(--green);
}

.post-body .copy-btn:has(.fa-times-circle)::before {
  content: "FAILED";
  color: var(--rose);
}

.post-body .copy-btn:hover,.post-body .copy-btn:focus-visible {
  border-color: var(--cyan);
  opacity: 1;
}

.post-body .post-code-container > pre {
  margin: 0;
  padding: 46px 16px 16px;
}

@media (any-hover: none), (pointer: coarse) {
  .post-body .copy-btn {
    min-height: 30px;
    opacity: 1;
  }
}

/* ───── Alerts and the stale notice ───── */
.markdown-alert,.post-stale-notice {
  --alert-color: var(--cyan);
  margin: 24px 0;
  padding: 14px 18px;
  border: 1px solid rgba(124, 236, 255, .4);
  border-color: color-mix(in srgb, var(--alert-color) 45%, transparent);
  border-radius: 0;
  background: var(--ink);
  box-shadow: none;
  color: var(--text);
  font-size: 15px;
}

.markdown-alert p {
  margin: 6px 0;
}

.markdown-alert .markdown-alert-title {
  display: block;
  margin: 0 0 4px;
  color: var(--alert-color);
  font: 600 12px var(--f-mono);
  letter-spacing: .14em;
}

.markdown-alert .markdown-alert-title span {
  display: none;
}

.markdown-alert .markdown-alert-body > :first-child {
  margin-top: 0;
}

.markdown-alert .markdown-alert-body > :last-child {
  margin-bottom: 0;
}

.markdown-alert-note {
  --alert-color: var(--cyan);
}

.markdown-alert-note .markdown-alert-title::before {
  content: "NOTE · ";
}

.markdown-alert-tip {
  --alert-color: var(--green);
}

.markdown-alert-tip .markdown-alert-title::before {
  content: "TIP · ";
}

.markdown-alert-important {
  --alert-color: var(--violet);
}

.markdown-alert-important .markdown-alert-title::before {
  content: "IMPORTANT · ";
}

.markdown-alert-warning {
  --alert-color: var(--heat);
}

.markdown-alert-warning .markdown-alert-title::before {
  content: "WARNING · ";
}

.markdown-alert-caution {
  --alert-color: var(--rose);
}

.markdown-alert-caution .markdown-alert-title::before {
  content: "CAUTION · ";
}

.post-stale-notice {
  --alert-color: var(--heat);
  display: block;
  margin: 0 0 30px;
}

.post-stale-notice::before {
  content: "STALE · 时效提示";
  display: block;
  margin-bottom: 4px;
  color: var(--heat);
  font: 600 12px var(--f-mono);
  letter-spacing: .14em;
}

.post-stale-notice-icon {
  display: none;
}

.post-stale-notice p {
  margin: 0;
}

.post-stale-notice em {
  font-style: normal;
}

/* ───── Post footer ───── */
/* Reading order at the end of a post: tags, then where to go next
   (previous / next, related), then the discussion. */
.post-footer {
  display: flex;
  flex-direction: column;
  margin-top: 20px;
}

.post-footer > .signal-eof {
  order: 0;
}

.post-footer > .post-tags {
  order: 1;
}

.post-footer > .post-nav {
  order: 2;
}

.post-footer > .related-posts-section {
  order: 3;
}

.post-footer > .post-community {
  order: 4;
}

/* Hidden entrance: a hair brighter than the page until pointed at. */
.signal-eof {
  margin: 36px 0 0;
  font: 11px var(--f-mono);
  letter-spacing: .2em;
}

.signal-eof a,.posts-expand .post-body .signal-eof a {
  color: var(--ink-2);
  border: 0;
  text-decoration: none;
  transition: color .4s, text-shadow .4s;
}

.signal-eof a:hover,.signal-eof a:focus-visible {
  color: var(--cyan);
  text-shadow: 0 0 12px rgba(124, 236, 255, .45);
}

.post-tags {
  margin-top: 44px;
  font: 12px var(--f-mono);
}

.post-tags a,.posts-expand .post-tags a {
  margin: 0 10px 6px 0;
  padding: 0;
  border: 0;
  background: none;
  color: var(--violet);
  font-size: 12px;
}

.post-tags a:hover {
  color: #fff;
}

.post-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 28px;
  padding-top: 0;
  border-top: 0;
}

.post-nav-item {
  min-width: 0;
}

.post-nav-item a {
  display: block;
  padding: 14px 16px;
  border: 1px solid var(--line);
  background: var(--ink);
  color: var(--fg);
  font-size: 14.5px;
  line-height: 1.5;
  transition: border-color .2s ease;
}

.post-nav-item a:hover {
  border-color: var(--cyan);
  color: #fff;
}

.post-nav-item:last-child a {
  text-align: right;
}

.post-nav-item i {
  color: var(--cyan);
}

.related-posts-section,.post-community {
  margin-top: 64px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.related-posts-heading,.post-community-heading {
  margin-bottom: 16px;
}

.related-posts-heading h2,.post-community-heading h2 {
  margin: 4px 0 0;
  padding: 0;
  border: 0;
  color: var(--fg);
  font: 700 22px/1.4 var(--f-cn-display);
}

.related-posts-kicker,.post-community-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--mute);
  font: 12px var(--f-mono);
  letter-spacing: .22em;
}

.related-posts-kicker::before,.post-community-kicker::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--cyan);
}

.related-posts-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.related-post-card {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 130px;
  flex-direction: column;
  padding: 16px;
  border: 1px solid var(--line) !important;
  background: var(--ink);
  color: var(--fg) !important;
  transition: border-color .2s ease;
}

.related-post-card:hover {
  border-color: var(--cyan) !important;
}

.related-post-card h3 {
  margin: 8px 0 12px;
  color: var(--fg);
  font: 500 15px/1.5 var(--f-body);
}

.related-post-card time {
  margin-top: auto;
  color: var(--mute);
  font: 11px var(--f-mono);
}

.related-post-reason {
  overflow: hidden;
  color: var(--cyan);
  font: 11px var(--f-mono);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.related-post-arrow {
  position: absolute;
  right: 14px;
  bottom: 12px;
  color: var(--cyan);
}

.post-community-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.post-community-intro {
  margin: 0 0 22px;
  color: var(--mute);
  font-size: 14px;
}

.post-error-report {
  display: inline-flex;
  min-height: 40px;
  box-sizing: border-box;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid var(--line-2) !important;
  border-radius: 2px;
  background: none;
  color: var(--fg) !important;
  font: 12px var(--f-mono);
  letter-spacing: .06em;
}

.post-error-report:hover {
  border-color: var(--cyan) !important;
  background: rgba(124, 236, 255, .06);
}

.giscus,.giscus-frame {
  width: 100%;
}

@media (max-width: 900px) {
  .related-posts-grid {
    grid-template-columns: 1fr;
  }

  .related-post-card {
    min-height: 110px;
  }
}

@media (max-width: 767px) {
  .post-body {
    font-size: 16px;
  }

  .post-nav {
    grid-template-columns: 1fr;
  }

  .post-community-heading {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* ───── Image zoom ───── */
.post-image-zoomable {
  cursor: zoom-in;
}

.image-zoom-overlay {
  position: fixed;
  inset: 0;
  z-index: 2147483646;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(5, 6, 11, .94);
  opacity: 0;
  transition: opacity .18s ease;
}

.image-zoom-overlay.is-open {
  opacity: 1;
}

.image-zoom-figure {
  display: grid;
  max-width: min(94vw, 1440px);
  max-height: 92dvh;
  margin: 0;
  place-items: center;
}

.image-zoom-figure img {
  max-width: 100%;
  max-height: calc(92dvh - 44px);
  object-fit: contain;
  border: 1px solid var(--line);
}

.image-zoom-figure figcaption {
  margin-top: 10px;
  color: var(--mute);
  font-size: 13px;
  text-align: center;
}

.image-zoom-close {
  position: fixed;
  top: calc(14px + env(safe-area-inset-top, 0px));
  right: calc(14px + env(safe-area-inset-right, 0px));
  z-index: 1;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  background: var(--ink);
  color: var(--fg);
  font-size: 1.6em;
  line-height: 1;
  cursor: var(--cursor-pointer, pointer);
}

body.image-zoom-open {
  overflow: hidden;
}

.page .post-header,.posts-collapse .collection-title {
  margin-bottom: 40px;
  text-align: left;
}

.collection-title {
  padding: 0;
  border: 0;
}

.collection-title::before {
  display: none;
}

.page .post-title,.posts-collapse .collection-title .collection-header {
  margin: 0;
  color: var(--fg);
  font: 900 clamp(40px, 6vw, 72px)/1.1 var(--f-cn-display);
  letter-spacing: .04em;
}

/* One page head everywhere, like the home sections: a Chinese title, an
   English italic subtitle, then one plain line. */
.page .post-title .post-title-sub,.archive-page-header h1 small {
  display: block;
  margin-top: 10px;
  color: var(--mute);
  font: italic 500 22px var(--f-poem);
  letter-spacing: 0;
}

.main-inner.page .post-header .post-description,.archive-page-header p {
  max-width: none;
  margin: 18px 0 0;
  padding: 0;
  border: 0;
  color: var(--mute);
  font: 15px/1.7 var(--f-body);
}

/* NexT prints 分类 / 标签 here. Chinese is never set in italic, so the
   visible subtitle is the English word, in the poem italic. */
.posts-collapse .collection-title .collection-header small {
  display: block;
  margin-top: 10px;
  color: var(--mute);
  font-size: 0;
  letter-spacing: 0;
}

.posts-collapse .collection-title .collection-header small::after {
  font: italic 500 22px var(--f-poem);
}

.category .collection-title .collection-header small::after {
  content: "realm";
}

.tag .collection-title .collection-header small::after {
  content: "tag";
}

/* ───── Category / tag post lists ───── */
.posts-collapse .post-content {
  margin-left: 0;
  padding-left: 0;
  border-left: 0;
}

.posts-collapse .post-content::before {
  display: none;
}

.posts-collapse .post-content .collection-year {
  margin: 36px 0 0;
  padding: 0 0 10px;
  border-bottom: 1px solid var(--line);
}

.posts-collapse .post-content .collection-year::before {
  display: none;
}

.posts-collapse .post-content .collection-year .collection-header {
  color: var(--cyan);
  font: 12px var(--f-mono);
  letter-spacing: .2em;
}

.posts-collapse .post-content .post-header {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);
  align-items: baseline;
  gap: 16px;
  margin: 0;
  padding: 16px 4px;
  border-bottom: 1px solid var(--line);
}

.posts-collapse .post-content .post-header::before {
  display: none;
}

.posts-collapse .post-content .post-meta-container {
  color: var(--mute);
  font: 12px var(--f-mono);
}

.posts-collapse .post-content .post-title {
  margin: 0;
  font: 700 18px/1.5 var(--f-cn-display);
}

.posts-collapse .post-content .post-title a {
  border: 0;
  color: var(--fg);
}

.posts-collapse .post-content .post-title a:hover {
  color: #fff;
}

.posts-collapse .post-content .post-title a::before {
  display: none;
}

/* ───── Tag cloud & category list ───── */
.tag-cloud,.category-all-page {
  text-align: left;
}

/* NexT centres this line and draws the count as a badge; match the
   tag page instead. */
.tag-cloud-title,.category-all-page .category-all-title {
  margin-bottom: 18px;
  color: var(--mute);
  font: 12px var(--f-mono);
  letter-spacing: .1em;
  text-align: left;
}

.tag-cloud-tags {
  text-align: left;
}

.tag-cloud-tags a {
  display: inline-block;
  margin: 6px 14px 6px 0;
  border: 0;
  color: var(--violet);
  font-family: var(--f-mono);
}

.tag-cloud-tags a::before {
  content: "#";
  color: var(--mute);
}

.tag-cloud-tags a:hover {
  color: #fff;
}

.category-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.category-list-item {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin: 0;
  padding: 18px 4px;
  border-bottom: 1px solid var(--line);
}

.category-all-page .category-list-link {
  border: 0;
  color: var(--fg);
  font: 900 40px/1 var(--f-display);
  letter-spacing: .03em;
}

.category-all-page .category-list-item {
  margin: 0;
}

.category-all-page .category-list-count {
  padding: 0;
  border-radius: 0;
  background: none;
  color: var(--cyan);
  font: 12px var(--f-mono);
}

.category-list-count::before {
  content: "ENTRIES ";
  color: var(--mute);
}

.category-list-child {
  padding-left: 20px;
}

/* ───── Archive tree (themes/next/layout/archive.njk) ───── */
.archive-accordion .archive-block {
  padding: 0;
}

.archive-page-header {
  margin-bottom: 40px;
  text-align: left;
}

.archive-page-header h1 {
  margin: 8px 0 10px;
  color: var(--fg);
  font: 900 clamp(40px, 6vw, 72px)/1.1 var(--f-cn-display);
  letter-spacing: .04em;
}

/* Years and months are plain rules over one list, like the category
   pages; no boxes inside boxes. */
.archive-tree {
  display: grid;
  gap: 8px;
}

.archive-year,.archive-month {
  overflow: hidden;
  border: 0;
  background: none;
}

.archive-year > summary,.archive-month > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: var(--cursor-pointer, pointer);
  list-style: none;
}

.archive-year > summary::-webkit-details-marker,.archive-month > summary::-webkit-details-marker {
  display: none;
}

/* A chevron that turns down when open; a rotated + read as "close". */
.archive-year > summary::after,.archive-month > summary::after {
  content: "\203A";
  width: 20px;
  margin-left: 12px;
  color: var(--mute);
  font: 18px/1 var(--f-mono);
  text-align: center;
  transition: transform .2s ease;
}

.archive-year[open] > summary::after,.archive-month[open] > summary::after {
  transform: rotate(90deg);
}

.archive-year > summary {
  padding: 16px 4px 12px;
  border-bottom: 1px solid var(--line);
}

.archive-year-name {
  margin-right: auto;
  color: var(--fg);
  font: 900 34px/1 var(--f-display);
}

.archive-panel-count {
  color: var(--mute);
  font: 12px var(--f-mono);
}

.archive-months {
  display: grid;
  gap: 0;
  padding: 0;
}

.archive-month > summary {
  padding: 14px 4px 8px;
}

.archive-month-name {
  margin-right: auto;
  color: var(--text);
  font: 12px var(--f-mono);
  letter-spacing: .1em;
}

.archive-post-list {
  margin: 0;
  padding: 0 0 8px;
  list-style: none;
}

.archive-post-list li {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  align-items: baseline;
  gap: 12px;
  padding: 10px 4px;
  border-top: 1px solid var(--line);
}

.archive-post-list time {
  color: var(--mute);
  font: 12px var(--f-mono);
  font-variant-numeric: tabular-nums;
}

.archive-post-list a {
  overflow: hidden;
  border: 0;
  color: var(--fg);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.archive-post-list a:hover {
  color: var(--cyan);
}

/* ───── Learning paths ───── */
.learning-paths-intro {
  margin: 0 0 28px;
}

.learning-paths-intro p {
  display: none;
}

.learning-paths-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: var(--mute);
  font: 12px var(--f-mono);
}

.learning-paths-stats strong {
  color: var(--cyan);
  font-weight: 400;
}

.learning-path-grid {
  display: grid;
  gap: 28px;
}

.learning-path-card {
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--ink);
}

.learning-path-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
}

.learning-path-card-header h2 {
  margin: 0;
  padding: 0;
  border: 0;
  color: var(--fg);
  font: 700 22px/1.3 var(--f-cn-display);
}

.learning-path-card-index {
  color: var(--cyan);
  font: 12px var(--f-mono);
  letter-spacing: .14em;
}

.learning-path-card-count {
  color: var(--mute);
  font: 12px var(--f-mono);
}

.learning-path-card .route-graph {
  border-width: 0 0 1px;
}

.learning-path-steps {
  margin: 0;
  padding: 6px 20px 14px;
  list-style: none;
}

.learning-path-step {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.learning-path-step:last-child {
  border-bottom: 0;
}

.learning-path-step-number {
  color: var(--cyan);
  font: 12px/1.9 var(--f-mono);
}

.learning-path-step-number::before {
  content: "#";
  color: var(--mute);
}

.learning-path-step-title {
  border: 0;
  color: var(--fg);
  font-weight: 500;
}

.learning-path-step-title:hover {
  color: var(--cyan);
}

.learning-path-step-date {
  display: block;
  color: var(--mute);
  font: 11px var(--f-mono);
}

.learning-path-step-description {
  margin: 4px 0 0;
  color: var(--mute);
  font-size: 14px;
  line-height: 1.7;
}

.learning-paths-empty {
  padding: 28px 0;
  color: var(--mute);
}

/* ───── 404 (source/404.md) ───── */
.not-found-page {
  max-width: 640px;
  margin: 20px 0;
  text-align: left;
}

.not-found-code {
  display: block;
  color: transparent;
  font: 900 clamp(110px, 24vw, 220px)/.85 var(--f-display);
  -webkit-text-stroke: 1px var(--line-2);
}

.not-found-page h1 {
  margin: 18px 0 12px;
  color: var(--fg);
  font: 900 clamp(30px, 4vw, 44px)/1.25 var(--f-cn-display);
}

.not-found-page p {
  color: var(--mute);
  line-height: 1.8;
}

.not-found-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.not-found-actions button,.not-found-actions a {
  display: inline-flex;
  min-height: 44px;
  box-sizing: border-box;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border: 1px solid var(--line-2) !important;
  border-radius: 2px;
  background: none;
  color: var(--fg) !important;
  font: 13px var(--f-mono);
  cursor: var(--cursor-pointer, pointer);
}

.not-found-actions button {
  border-color: var(--fg) !important;
  background: var(--fg);
  color: var(--void) !important;
}

.not-found-actions a:hover {
  border-color: var(--cyan) !important;
}

@media (max-width: 767px) {
  .posts-collapse .post-content .post-header {
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 10px;
  }

  .archive-post-list li {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 8px;
  }

  .not-found-actions {
    display: grid;
  }
}

/* ───── 暗室 ───── */
.diary-intro {
  color: var(--mute);
}

.diary-feed {
  margin-top: 32px;
}

.diary-entry {
  padding: 24px 0 28px;
  border-top: 1px solid var(--line);
}

.diary-row {
  display: flex;
  gap: 20px;
  align-items: baseline;
  margin-bottom: 12px;
}

.diary-body > :last-child {
  margin-bottom: 0;
}

.diary-addr,.diary-row time {
  color: var(--mute);
  font: 12px var(--f-mono);
}

.diary-addr {
  color: var(--violet);
}

.diary-empty {
  margin-top: 48px;
  color: var(--mute);
  font: 12px var(--f-mono);
}

html.blog-intro-pending {
  overflow: hidden;
}

html.blog-intro-pending .main,html.blog-intro-pending .footer {
  opacity: 0;
}

.blog-intro {
  position: fixed;
  inset: 0;
  z-index: 2147483647;
  overflow: hidden;
  background: #05060b;
  clip-path: inset(0 0 0 0);
  transition: clip-path .7s cubic-bezier(.8, 0, .2, 1);
  cursor: var(--cursor-pointer, pointer);
}

.blog-intro[hidden] {
  display: none;
}

.blog-intro.is-leaving {
  clip-path: inset(50% 0 50% 0);
  pointer-events: none;
}

.blog-intro-canvas {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.blog-intro-skip {
  position: absolute;
  right: max(24px, env(safe-area-inset-right, 0px));
  bottom: calc(env(safe-area-inset-bottom, 0px) + 22px);
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(150, 170, 255, .26);
  border-radius: 50%;
  background: none;
  color: #7f88a3;
  cursor: var(--cursor-pointer, pointer);
}

.blog-intro-skip:hover,.blog-intro-skip:focus-visible {
  border-color: #7cecff;
  color: #e7eaf4;
}

.global-search-modal {
  position: fixed;
  inset: 0;
  z-index: 2147483647;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 14vh var(--gutr) 24px var(--gut);
  opacity: 0;
  transition: opacity .18s ease;
}

.global-search-modal.is-open {
  opacity: 1;
}

.global-search-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 6, 11, .75);
}

.global-search-panel {
  position: relative;
  display: flex;
  width: min(680px, 100%);
  max-height: min(72vh, 640px);
  overflow: hidden;
  flex-direction: column;
  border: 1px solid var(--line-2);
  background: var(--ink);
  box-shadow: 0 30px 120px rgba(0, 0, 0, .6);
  transform: translateY(-10px) scale(.98);
  transition: transform .25s cubic-bezier(.2, .8, .2, 1);
}

.global-search-modal.is-open .global-search-panel {
  transform: none;
}

.global-search-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 12px 12px 18px;
  border-bottom: 1px solid var(--line);
}

.global-search-header > i {
  display: none;
}

.global-search-label {
  color: var(--cyan);
  font: 14px var(--f-mono);
  white-space: nowrap;
}

.global-search-input {
  min-width: 0;
  flex: 1;
  padding: 6px 0;
  border: 0;
  background: none;
  color: var(--fg);
  font: 15px var(--f-mono);
  outline: none;
}

.global-search-input::placeholder {
  color: var(--mute);
}

.global-search-input::-webkit-search-cancel-button {
  display: none;
}

.global-search-close {
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid var(--line-2);
  border-radius: 2px;
  background: none;
  color: var(--mute);
  font-size: 1.2em;
  line-height: 1;
  cursor: var(--cursor-pointer, pointer);
}

.global-search-close:hover {
  border-color: var(--cyan);
  color: var(--fg);
}

.global-search-status {
  padding: 8px 18px;
  border-bottom: 1px solid var(--line);
  color: var(--mute);
  font: 11px var(--f-mono);
  letter-spacing: .06em;
}

.global-search-results {
  min-height: 120px;
  margin: 0;
  padding: 6px 0;
  overflow-y: auto;
  list-style: none;
}

.global-search-result {
  margin: 0;
}

.global-search-result.is-active,.global-search-result:hover {
  background: rgba(124, 236, 255, .08);
  box-shadow: inset 2px 0 var(--cyan);
}

.global-search-result-link {
  position: relative;
  display: block;
  padding: 12px 40px 12px 18px;
  border: 0 !important;
  color: inherit !important;
}

.global-search-result h3 {
  margin: 0 0 6px;
  color: var(--fg);
  font: 500 16px/1.45 var(--f-body);
}

.global-search-result p {
  display: -webkit-box;
  margin: 6px 0 0;
  overflow: hidden;
  color: var(--mute);
  font-size: 13px;
  line-height: 1.65;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.global-search-result > a > i {
  position: absolute;
  top: 16px;
  right: 16px;
  color: var(--mute);
}

.global-search-result.is-active > a > i,.global-search-result:hover > a > i {
  color: var(--cyan);
}

.global-search-result-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
  font: 11px var(--f-mono);
}

.global-search-result-meta span {
  color: var(--violet);
}

.global-search-result-meta small {
  margin-right: 4px;
  color: var(--mute);
}

.global-search-result mark {
  padding: 0 1px;
  background: rgba(124, 236, 255, .22);
  color: var(--cyan);
}

.global-search-empty {
  display: grid;
  min-height: 120px;
  place-content: center;
  color: var(--mute);
  font-size: 14px;
  text-align: center;
}

.global-search-empty i {
  margin-bottom: 8px;
  font-size: 1.3em;
}

.global-search-empty p {
  margin: 0;
}

.global-search-footer {
  display: flex;
  gap: 16px;
  padding: 10px 18px;
  border-top: 1px solid var(--line);
  color: var(--mute);
  font: 11px var(--f-mono);
}

.global-search-footer span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.global-search-footer kbd {
  padding: 1px 5px;
  border: 1px solid var(--line-2);
  border-radius: 2px;
  background: none;
  color: var(--mute);
  font: 11px var(--f-mono);
  box-shadow: none;
}

body.global-search-open {
  overflow: hidden;
}

@media (max-width: 767px) {
  .global-search-modal {
    padding: calc(10px + env(safe-area-inset-top, 0px)) calc(10px + env(safe-area-inset-right, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) calc(10px + env(safe-area-inset-left, 0px));
  }

  .global-search-panel {
    max-height: calc(100dvh - 20px);
  }

  .global-search-input {
    font-size: 16px;
  }

  .global-search-footer {
    display: none;
  }
}
