:root {
  --body-bg-color: #eee;
  --content-bg-color: #fff;
  --card-bg-color: #f5f5f5;
  --text-color: #555;
  --blockquote-color: #666;
  --link-color: #555;
  --link-hover-color: #222;
  --brand-color: #fff;
  --brand-hover-color: #fff;
  --table-row-odd-bg-color: #f9f9f9;
  --table-row-hover-bg-color: #f5f5f5;
  --menu-item-bg-color: #f5f5f5;
  --theme-color: #222;
  --btn-default-bg: #fff;
  --btn-default-color: #555;
  --btn-default-border-color: #555;
  --btn-default-hover-bg: #222;
  --btn-default-hover-color: #fff;
  --btn-default-hover-border-color: #222;
  --highlight-background: #fff;
  --highlight-foreground: #4d4d4c;
  --highlight-gutter-background: #ededed;
  --highlight-gutter-foreground: #5e5e5d;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --body-bg-color: #282828;
    --content-bg-color: #333;
    --card-bg-color: #555;
    --text-color: #ccc;
    --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: #222;
    --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: #2d2d2d;
    --highlight-foreground: #ccc;
    --highlight-gutter-background: #3c3c3c;
    --highlight-gutter-foreground: #bcbcbc;
    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: #262a30;
  color: #eee;
}
html,
body {
  height: 100%;
}
body {
  background: var(--body-bg-color);
  box-sizing: border-box;
  color: var(--text-color);
  font-family: Noto Sans TC, '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: Noto Serif TC, Noto Sans TC, '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;
}
p {
  margin: 0 0 20px;
}
a {
  border-bottom: 1px solid #999;
  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: 2px;
  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: all 0.4s;
  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: Tomorrow
  Author: Chris Kempson (http://chriskempson.com)
  License: ~ MIT (or more permissive) [via base16-schemes-source]
  Maintainer: @highlightjs/core-team
  Version: 2021.09.0
*/
/*
  WARNING: DO NOT EDIT THIS FILE DIRECTLY.

  This theme file was auto-generated from the Base16 scheme tomorrow
  by the Highlight.js Base16 template builder.

  - https://github.com/highlightjs/base16-highlightjs
*/
/*
base00  #ffffff  Default Background
base01  #e0e0e0  Lighter Background (Used for status bars, line number and folding marks)
base02  #d6d6d6  Selection Background
base03  #8e908c  Comments, Invisibles, Line Highlighting
base04  #969896  Dark Foreground (Used for status bars)
base05  #4d4d4c  Default Foreground, Caret, Delimiters, Operators
base06  #282a2e  Light Foreground (Not often used)
base07  #1d1f21  Light Background (Not often used)
base08  #c82829  Variables, XML Tags, Markup Link Text, Markup Lists, Diff Deleted
base09  #f5871f  Integers, Boolean, Constants, XML Attributes, Markup Link Url
base0A  #eab700  Classes, Markup Bold, Search Text Background
base0B  #718c00  Strings, Inherited Class, Markup Code, Diff Inserted
base0C  #3e999f  Support, Regular Expressions, Escape Characters, Markup Quotes
base0D  #4271ae  Functions, Methods, Attribute IDs, Headings
base0E  #8959a8  Keywords, Storage, Selector, Markup Italic, Diff Changed
base0F  #a3685a  Deprecated, Opening/Closing Embedded Language Tags, e.g. <?php ?>
*/
pre code.hljs {
  display: block;
  overflow-x: auto;
  padding: 1em
}
code.hljs {
  padding: 3px 5px
}
.hljs {
  color: #4d4d4c;
  background: #ffffff
}
.hljs::selection,
.hljs ::selection {
  background-color: #d6d6d6;
  color: #4d4d4c
}
/* purposely do not highlight these things */
.hljs-formula,
.hljs-params,
.hljs-property {
  
}
/* base03 - #8e908c -  Comments, Invisibles, Line Highlighting */
.hljs-comment {
  color: #8e908c
}
/* base04 - #969896 -  Dark Foreground (Used for status bars) */
.hljs-tag {
  color: #969896
}
/* base05 - #4d4d4c -  Default Foreground, Caret, Delimiters, Operators */
.hljs-subst,
.hljs-punctuation,
.hljs-operator {
  color: #4d4d4c
}
.hljs-operator {
  opacity: 0.7
}
/* base08 - Variables, XML Tags, Markup Link Text, Markup Lists, Diff Deleted */
.hljs-bullet,
.hljs-variable,
.hljs-template-variable,
.hljs-selector-tag,
.hljs-name,
.hljs-deletion {
  color: #c82829
}
/* base09 - Integers, Boolean, Constants, XML Attributes, Markup Link Url */
.hljs-symbol,
.hljs-number,
.hljs-link,
.hljs-attr,
.hljs-variable.constant_,
.hljs-literal {
  color: #f5871f
}
/* base0A - Classes, Markup Bold, Search Text Background */
.hljs-title,
.hljs-class .hljs-title,
.hljs-title.class_ {
  color: #eab700
}
.hljs-strong {
  font-weight: bold;
  color: #eab700
}
/* base0B - Strings, Inherited Class, Markup Code, Diff Inserted */
.hljs-code,
.hljs-addition,
.hljs-title.class_.inherited__,
.hljs-string {
  color: #718c00
}
/* base0C - Support, Regular Expressions, Escape Characters, Markup Quotes */
/* guessing */
.hljs-built_in,
.hljs-doctag,
.hljs-quote,
.hljs-keyword.hljs-atrule,
.hljs-regexp {
  color: #3e999f
}
/* base0D - Functions, Methods, Attribute IDs, Headings */
.hljs-function .hljs-title,
.hljs-attribute,
.ruby .hljs-property,
.hljs-title.function_,
.hljs-section {
  color: #4271ae
}
/* base0E - Keywords, Storage, Selector, Markup Italic, Diff Changed */
/* .hljs-selector-id, */
/* .hljs-selector-class, */
/* .hljs-selector-attr, */
/* .hljs-selector-pseudo, */
.hljs-type,
.hljs-template-tag,
.diff .hljs-meta,
.hljs-keyword {
  color: #8959a8
}
.hljs-emphasis {
  color: #8959a8;
  font-style: italic
}
/* base0F - Deprecated, Opening/Closing Embedded Language Tags, e.g. <?php ?> */
/*
  prevent top level .keyword and .string scopes
  from leaking into meta by accident
*/
.hljs-meta,
.hljs-meta .hljs-keyword,
.hljs-meta .hljs-string {
  color: #a3685a
}
/* for v10 compatible themes */
.hljs-meta .hljs-keyword,
.hljs-meta-keyword {
  font-weight: bold
}
@media (prefers-color-scheme: dark) {
pre code.hljs {
  display: block;
  overflow-x: auto;
  padding: 1em
}
code.hljs {
  padding: 3px 5px
}
/*!
  Theme: Tomorrow Night
  Author: Chris Kempson (http://chriskempson.com)
  License: ~ MIT (or more permissive) [via base16-schemes-source]
  Maintainer: @highlightjs/core-team
  Version: 2021.09.0
*/
/*
  WARNING: DO NOT EDIT THIS FILE DIRECTLY.

  This theme file was auto-generated from the Base16 scheme tomorrow-night
  by the Highlight.js Base16 template builder.

  - https://github.com/highlightjs/base16-highlightjs
*/
/*
base00  #2d2d2d  Default Background
base01  #393939  Lighter Background (Used for status bars, line number and folding marks)
base02  #515151  Selection Background
base03  #999999  Comments, Invisibles, Line Highlighting
base04  #b4b7b4  Dark Foreground (Used for status bars)
base05  #cccccc  Default Foreground, Caret, Delimiters, Operators
base06  #e0e0e0  Light Foreground (Not often used)
base07  #ffffff  Light Background (Not often used)
base08  #f2777a  Variables, XML Tags, Markup Link Text, Markup Lists, Diff Deleted
base09  #f99157  Integers, Boolean, Constants, XML Attributes, Markup Link Url
base0A  #ffcc66  Classes, Markup Bold, Search Text Background
base0B  #99cc99  Strings, Inherited Class, Markup Code, Diff Inserted
base0C  #66cccc  Support, Regular Expressions, Escape Characters, Markup Quotes
base0D  #6699cc  Functions, Methods, Attribute IDs, Headings
base0E  #cc99cc  Keywords, Storage, Selector, Markup Italic, Diff Changed
base0F  #a3685a  Deprecated, Opening/Closing Embedded Language Tags, e.g. <?php ?>
*/
pre code.hljs {
  display: block;
  overflow-x: auto;
  padding: 1em
}
code.hljs {
  padding: 3px 5px
}
.hljs {
  color: #cccccc;
  background: #2d2d2d
}
.hljs::selection,
.hljs ::selection {
  background-color: #515151;
  color: #cccccc
}
/* purposely do not highlight these things */
.hljs-formula,
.hljs-params,
.hljs-property {
  
}
/* base03 - #999999 -  Comments, Invisibles, Line Highlighting */
.hljs-comment {
  color: #999999
}
/* base04 - #b4b7b4 -  Dark Foreground (Used for status bars) */
.hljs-tag {
  color: #b4b7b4
}
/* base05 - #cccccc -  Default Foreground, Caret, Delimiters, Operators */
.hljs-subst,
.hljs-punctuation,
.hljs-operator {
  color: #cccccc
}
.hljs-operator {
  opacity: 0.7
}
/* base08 - Variables, XML Tags, Markup Link Text, Markup Lists, Diff Deleted */
.hljs-bullet,
.hljs-variable,
.hljs-template-variable,
.hljs-selector-tag,
.hljs-name,
.hljs-deletion {
  color: #f2777a
}
/* base09 - Integers, Boolean, Constants, XML Attributes, Markup Link Url */
.hljs-symbol,
.hljs-number,
.hljs-link,
.hljs-attr,
.hljs-variable.constant_,
.hljs-literal {
  color: #f99157
}
/* base0A - Classes, Markup Bold, Search Text Background */
.hljs-title,
.hljs-class .hljs-title,
.hljs-title.class_ {
  color: #ffcc66
}
.hljs-strong {
  font-weight: bold;
  color: #ffcc66
}
/* base0B - Strings, Inherited Class, Markup Code, Diff Inserted */
.hljs-code,
.hljs-addition,
.hljs-title.class_.inherited__,
.hljs-string {
  color: #99cc99
}
/* base0C - Support, Regular Expressions, Escape Characters, Markup Quotes */
/* guessing */
.hljs-built_in,
.hljs-doctag,
.hljs-quote,
.hljs-keyword.hljs-atrule,
.hljs-regexp {
  color: #66cccc
}
/* base0D - Functions, Methods, Attribute IDs, Headings */
.hljs-function .hljs-title,
.hljs-attribute,
.ruby .hljs-property,
.hljs-title.function_,
.hljs-section {
  color: #6699cc
}
/* base0E - Keywords, Storage, Selector, Markup Italic, Diff Changed */
/* .hljs-selector-id, */
/* .hljs-selector-class, */
/* .hljs-selector-attr, */
/* .hljs-selector-pseudo, */
.hljs-type,
.hljs-template-tag,
.diff .hljs-meta,
.hljs-keyword {
  color: #cc99cc
}
.hljs-emphasis {
  color: #cc99cc;
  font-style: italic
}
/* base0F - Deprecated, Opening/Closing Embedded Language Tags, e.g. <?php ?> */
/*
  prevent top level .keyword and .string scopes
  from leaking into meta by accident
*/
.hljs-meta,
.hljs-meta .hljs-keyword,
.hljs-meta .hljs-string {
  color: #a3685a
}
/* for v10 compatible themes */
.hljs-meta .hljs-keyword,
.hljs-meta-keyword {
  font-weight: bold
}
}
.highlight:hover .copy-btn,
.code-container:hover .copy-btn {
  opacity: 1;
}
.code-container {
  position: relative;
}
.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-color: #eee;
  background-image: linear-gradient(#fcfcfc, #eee);
  border: 1px solid #d5d5d5;
  border-radius: 3px;
  font-size: 0.8125em;
  right: 4px;
  top: 8px;
}
.expand-btn {
  bottom: 0;
  color: var(--highlight-foreground);
  cursor: pointer;
  display: none;
  left: 0;
  right: 0;
  position: absolute;
  text-align: center;
}
.fold-cover {
  background-image: linear-gradient(to top, var(--highlight-background) 0, rgba(0,0,0,0) 100%);
  bottom: 0;
  display: none;
  height: 50px;
  left: 0;
  right: 0;
  position: absolute;
}
.highlight-fold {
  max-height: 500px;
  overflow-y: hidden !important;
}
.highlight-fold .expand-btn,
.highlight-fold .fold-cover {
  display: block;
}
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,
pre figcaption {
  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,
pre figcaption a {
  color: var(--highlight-foreground);
  float: right;
}
figure.highlight figcaption a:hover,
pre .caption a:hover,
pre figcaption 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;
}
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 {
  -moz-user-select: none;
  -ms-user-select: none;
  -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,
pre figcaption {
  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 6 Free';
  font-weight: 900;
}
.blockquote-center::after {
  border-bottom: 1px solid #ccc;
  bottom: -20px;
  text-align: right;
  content: '\f10e';
  font-family: 'Font Awesome 6 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: 1fr 1fr;
  margin-bottom: 20px;
  padding: 1rem;
}
@media (max-width: 767px) {
  .post-body .link-grid {
    grid-template-columns: 1fr;
  }
}
.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;
  background: #f9f9f9;
  border: initial;
  border-left: 3px solid #eee;
}
.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:not(.no-icon) {
  padding-left: 2.5em;
}
.post-body .note:not(.no-icon)::before {
  font-size: 1.5em;
  left: 0.3em;
  position: absolute;
  top: calc(50% - 1em);
}
.post-body .note.default {
  background: #f7f7f7;
  border-left-color: #777;
}
@media (prefers-color-scheme: dark) {
  .post-body .note.default {
    background: #3c3c3c;
  }
}
.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.default:not(.no-icon)::before {
  content: '\f0a9';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  color: #777;
}
.post-body .note.primary {
  background: #f5f0fa;
  border-left-color: #6f42c1;
}
@media (prefers-color-scheme: dark) {
  .post-body .note.primary {
    background: #3c3b3c;
  }
}
.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.primary:not(.no-icon)::before {
  content: '\f055';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  color: #6f42c1;
}
.post-body .note.info {
  background: #eef7fa;
  border-left-color: #428bca;
}
@media (prefers-color-scheme: dark) {
  .post-body .note.info {
    background: #3b3c3c;
  }
}
.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.info:not(.no-icon)::before {
  content: '\f05a';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  color: #428bca;
}
.post-body .note.success {
  background: #eff8f0;
  border-left-color: #5cb85c;
}
@media (prefers-color-scheme: dark) {
  .post-body .note.success {
    background: #3b3c3b;
  }
}
.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.success:not(.no-icon)::before {
  content: '\f058';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  color: #5cb85c;
}
.post-body .note.warning {
  background: #fdf8ea;
  border-left-color: #f0ad4e;
}
@media (prefers-color-scheme: dark) {
  .post-body .note.warning {
    background: #3d3c3b;
  }
}
.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.warning:not(.no-icon)::before {
  content: '\f06a';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  color: #f0ad4e;
}
.post-body .note.danger {
  background: #fcf1f2;
  border-left-color: #d9534f;
}
@media (prefers-color-scheme: dark) {
  .post-body .note.danger {
    background: #3d3c3c;
  }
}
.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 .note.danger:not(.no-icon)::before {
  content: '\f056';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  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(--content-bg-color);
  display: flex;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin: 0;
  padding: 0;
  position: -webkit-sticky;
  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: center;
}
.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: 0;
}
.brand:hover {
  color: var(--brand-hover-color);
}
.site-title {
  font-family: Noto Serif TC, Noto Sans TC, 'PingFang SC', 'Microsoft YaHei', sans-serif;
  font-size: 1.375em;
  font-weight: normal;
  line-height: 1.5;
  margin: 0;
}
.site-subtitle {
  color: #ddd;
  font-size: 0.8125em;
  margin: 10px 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: #ccc;
  border-radius: 10px;
  color: var(--content-bg-color);
  font-weight: bold;
  line-height: 1;
  margin-left: 0.35em;
  padding: 2px 5px;
  text-shadow: 1px 1px 0 rgba(0,0,0,0.1);
}
.use-motion .menu-item {
  visibility: hidden;
}
.book-mark-link {
  border-bottom: 0;
  position: fixed;
  top: -10px;
  transition: top 0.3s;
  right: 30px;
}
@media (max-width: 991px) {
  .book-mark-link {
    right: 20px;
  }
}
@media (max-width: 991px) {
  .book-mark-link {
    display: none;
  }
}
.book-mark-link::before {
  color: #ccc;
  font-size: 32px;
  line-height: 1;
  content: '\f02e';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
}
.book-mark-link:hover,
.book-mark-link-fixed {
  top: -2px;
}
@media (max-width: 991px) {
  .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: all 0.2s ease-out;
    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;
    transition: all 0.2s ease-in-out;
  }
  .links-of-author a::before {
    background: #0d583d;
    display: inline-block;
    margin-right: 3px;
    transform: translateY(-2px);
    border-radius: 50%;
    content: ' ';
    height: 4px;
    width: 4px;
  }
  .links-of-blogroll-item {
    display: inline-block;
    padding: 2px 10px;
  }
  .links-of-blogroll-item a {
    box-sizing: border-box;
    display: inline-block;
    max-width: 280px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .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;
}
.cc-license .cc-opacity {
  border-bottom: 0;
  opacity: 0.7;
}
.cc-license .cc-opacity:hover {
  opacity: 0.9;
}
.cc-license img {
  display: inline-block;
}
.site-author-image {
  border: 1px solid #eee;
  max-width: 120px;
  padding: 2px;
  border-radius: 50%;
}
.site-author-name {
  color: var(--text-color);
  font-weight: 600;
  margin: 0;
}
.site-description {
  color: #999;
  font-size: 0.8125em;
  margin-top: 0;
}
.links-of-author a {
  font-size: 0.8125em;
}
.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-blogroll {
  font-size: 0.8125em;
}
.links-of-blogroll-title {
  font-size: 0.875em;
  font-weight: 600;
}
.links-of-blogroll-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.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: var(--text-color);
  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: #fc6423;
}
.sidebar-toc-active .sidebar-nav-toc,
.sidebar-overview-active .sidebar-nav-overview {
  border-bottom-color: #fc6423;
  color: #fc6423;
  transition-delay: 0.2s;
}
.sidebar-toc-active .sidebar-nav-toc:hover,
.sidebar-overview-active .sidebar-nav-overview:hover {
  color: #fc6423;
}
.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);
  }
}
.sidebar-toggle {
  bottom: 61px;
  height: 16px;
  padding: 5px;
  width: 16px;
  background: #222;
  cursor: pointer;
  opacity: 0.6;
  position: fixed;
  z-index: 30;
  left: 30px;
}
@media (max-width: 991px) {
  .sidebar-toggle {
    left: 20px;
  }
}
.sidebar-toggle:hover {
  opacity: 0.8;
}
@media (max-width: 991px) {
  .sidebar-toggle {
    opacity: 0.8;
  }
}
.sidebar-toggle:hover .toggle-line {
  background: #fc6423;
}
@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);
}
.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: #fc6423;
  color: #fc6423;
}
.post-toc .nav .active-current > a {
  color: #fc6423;
}
.post-toc .nav .active-current > a:hover {
  color: #fc6423;
}
.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: 1em;
  font-weight: 600;
}
.site-state-item-name {
  color: #999;
  font-size: 0.8125em;
}
.sidebar-post-related {
  font-size: 0.8125em;
  padding: 18px 0 0 0;
}
.popular-posts {
  margin: 0;
  padding: 1em 0;
  text-align: left;
}
.popular-posts .popular-posts-item {
  display: block;
}
.popular-posts .popular-posts-item .popular-posts-link {
  border-bottom: 0;
  display: block;
  padding: 5px 20px;
  transition: background 0.2s ease-in-out;
}
.popular-posts .popular-posts-item .popular-posts-link:hover {
  background: var(--menu-item-bg-color);
}
.popular-posts .popular-posts-item .popular-posts-time {
  color: #999;
}
.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: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 0 auto;
  width: calc(100% - 20px);
}
@media (max-width: 767px) {
  .footer-inner {
    width: auto;
  }
}
@media (min-width: 1200px) {
  .footer-inner {
    width: 1160px;
  }
}
@media (min-width: 1600px) {
  .footer-inner {
    width: 73%;
  }
}
.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: #3399b1;
  display: inline-block;
  margin: 0 5px;
  animation: icon-animate 1.33s ease-in-out infinite;
}
.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);
  }
}
.back-to-top {
  font-size: 12px;
  align-items: center;
  bottom: -100px;
  color: #fff;
  display: flex;
  height: 26px;
  transition: bottom 0.2s ease-in-out;
  background: #222;
  cursor: pointer;
  opacity: 0.6;
  position: fixed;
  z-index: 30;
  left: 30px;
}
.back-to-top span {
  margin-right: 8px;
}
.back-to-top .fa {
  text-align: center;
  width: 26px;
}
@media (max-width: 991px) {
  .back-to-top {
    left: 20px;
  }
}
.back-to-top:hover {
  opacity: 0.8;
}
@media (max-width: 991px) {
  .back-to-top {
    opacity: 0.8;
  }
}
.back-to-top:hover {
  color: #fc6423;
}
.back-to-top.back-to-top-on {
  bottom: 30px;
}
.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: center;
}
.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: #ccc;
  border-radius: 10px;
  color: var(--content-bg-color);
  font-weight: bold;
  line-height: 1;
  margin-left: 0.35em;
  padding: 2px 5px;
  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: Noto Sans TC, Noto Sans TC, '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-all;
  }
}
@media (max-width: 991px) {
  .post-body {
    text-align: justify-all;
  }
}
.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 6 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 img + figcaption,
.post-body .fancybox + 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 .post-edit-link {
  border-bottom: 0;
  color: #bbb;
  float: right;
  font-size: 1.25em;
  margin-left: -1.2em;
  transition: color 0.2s ease-in;
}
@media (max-width: 567px) {
  .posts-expand .post-title .post-edit-link {
    margin-left: initial;
  }
}
.posts-expand .post-title .post-edit-link:hover {
  color: #fc6423;
}
.posts-expand .post-title-link {
  border-bottom: 0;
  color: var(--link-color);
  display: inline-block;
  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: Noto Sans TC, Noto Sans TC, '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-copyright ul {
  list-style: none;
  overflow: hidden;
  padding: 0.5em 1em;
  position: relative;
  background: var(--card-bg-color);
  border-left: 3px solid #ff2a2a;
  margin: 1em 0 0;
}
.post-copyright ul::after {
  content: '\f25e';
  font-family: 'Font Awesome 6 Brands';
  font-size: 200px;
  opacity: 0.1;
  position: absolute;
  right: -50px;
  top: -150px;
}
.post-tags {
  margin-top: 40px;
  text-align: center;
}
.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: #fc6423;
  cursor: pointer;
  line-height: 2;
  padding: 0 15px;
  border: 2px solid #fc6423;
  border-radius: 2px;
  outline: 0;
  transition: all 0.2s ease-in-out;
  vertical-align: text-top;
}
.reward-container button:hover {
  background: #fc6423;
  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: #ccc;
  border-radius: 10px;
  color: var(--content-bg-color);
  font-weight: bold;
  line-height: 1;
  margin-left: 0.35em;
  padding: 2px 5px;
  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 6 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;
  }
}
.gt-header a,
.gt-comments a,
.gt-popup a {
  border-bottom: 0;
}
.gt-container .gt-popup .gt-action.is--active::before {
  top: 0.7em;
}
@media (prefers-color-scheme: dark) {
  .gt-container .gt-header-textarea {
    background-color: var(--card-bg-color) !important;
  }
}
.search-active {
  overflow: hidden;
}
.search-pop-overlay {
  background: rgba(0,0,0,0);
  display: flex;
  height: 100%;
  left: 0;
  position: fixed;
  top: 0;
  transition: visibility 0.4s, background 0.4s;
  visibility: hidden;
  width: 100%;
  z-index: 40;
}
.search-active .search-pop-overlay {
  background: rgba(0,0,0,0.3);
  visibility: visible;
}
.search-popup {
  background: var(--card-bg-color);
  border-radius: 5px;
  height: 80%;
  margin: auto;
  transform: scale(0);
  transition: transform 0.4s;
  width: 700px;
}
.search-active .search-popup {
  transform: scale(1);
}
@media (max-width: 767px) {
  .search-popup {
    border-radius: 0;
    height: 100%;
    width: 100%;
  }
}
.search-popup .search-icon,
.search-popup .popup-btn-close {
  color: #999;
  font-size: 18px;
  padding: 0 10px;
}
.search-popup .popup-btn-close {
  cursor: pointer;
}
.search-popup .popup-btn-close:hover .fa {
  color: #222;
}
.search-popup .search-header {
  background: #eee;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
  display: flex;
  padding: 5px;
}
@media (prefers-color-scheme: dark) {
  .search-popup .search-header {
    background: #666;
  }
}
.search-popup input.search-input {
  background: transparent;
  border: 0;
  outline: 0;
  width: 100%;
}
.search-popup input.search-input::-webkit-search-cancel-button {
  display: none;
}
.search-popup .search-result-container {
  height: calc(100% - 55px);
  overflow: auto;
  padding: 5px 25px;
}
.search-popup .search-result-container hr {
  margin: 5px 0 10px;
}
.search-popup .search-result-container hr:first-child {
  display: none;
}
.search-popup .search-result-list {
  margin: 0 5px;
  padding: 0;
}
.search-popup a.search-result-title {
  font-weight: bold;
}
.search-popup p.search-result {
  border-bottom: 1px dashed #ccc;
  padding: 5px 0;
}
.search-popup .search-input-container {
  flex-grow: 1;
  padding: 2px;
}
.search-popup .no-result {
  display: flex;
}
.search-popup .search-result-list {
  width: 100%;
}
.search-popup .search-result-icon {
  color: #ccc;
  margin: auto;
}
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;
}
header.header {
  background: var(--content-bg-color);
  border-radius: initial;
  box-shadow: 0 2px 2px 0 rgba(0,0,0,0.12), 0 3px 1px -2px rgba(0,0,0,0.06), 0 1px 5px 0 rgba(0,0,0,0.12);
}
@media (max-width: 991px) {
  header.header {
    border-radius: initial;
  }
}
.main {
  align-items: stretch;
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
  width: calc(100% - 20px);
}
@media (max-width: 767px) {
  .main {
    width: auto;
  }
}
@media (min-width: 1200px) {
  .main {
    width: 1160px;
  }
}
@media (min-width: 1600px) {
  .main {
    width: 73%;
  }
}
@media (max-width: 991px) {
  .main {
    display: block;
    width: auto;
  }
}
.main-inner {
  border-radius: initial;
  box-sizing: border-box;
  width: calc(100% - 252px);
}
@media (max-width: 991px) {
  .main-inner {
    border-radius: initial;
    width: 100%;
  }
}
.footer-inner {
  padding-left: 252px;
}
@media (max-width: 991px) {
  .footer-inner {
    padding-left: 0;
    padding-right: 0;
    width: auto;
  }
}
.column {
  width: 240px;
}
@media (max-width: 991px) {
  .column {
    width: auto;
  }
}
.site-brand-container {
  background: var(--theme-color);
}
@media (max-width: 991px) {
  .site-nav-on .site-brand-container {
    box-shadow: 0 0 16px rgba(0,0,0,0.5);
  }
}
.site-meta {
  padding: 20px 0;
}
@media (min-width: 768px) and (max-width: 991px) {
  .site-nav-toggle,
  .site-nav-right {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
}
.site-nav-toggle .toggle,
.site-nav-right .toggle {
  color: #fff;
}
.site-nav-toggle .toggle .toggle-line,
.site-nav-right .toggle .toggle-line {
  background: #fff;
}
@media (min-width: 768px) and (max-width: 991px) {
  .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 .menu-item {
  display: block;
  margin: 0;
}
.menu .menu-item a {
  padding: 5px 20px;
  transition-property: background-color;
  display: flex;
  align-items: center;
}
.menu .menu-item a .badge {
  margin-left: auto;
}
@media (max-width: 991px) {
  .menu .menu-item.menu-item-search {
    display: none;
  }
}
.sub-menu {
  margin: 0;
  padding: 6px 0;
}
.sub-menu .menu-item {
  display: inline-block;
}
.sub-menu .menu-item a {
  background: transparent;
  margin: 5px 10px;
  padding: initial;
}
.sub-menu .menu-item a:hover {
  background: transparent;
  color: #fc6423;
}
.sub-menu .menu-item-active {
  border-bottom-color: #fc6423;
  color: #fc6423;
}
.sub-menu .menu-item-active:hover {
  border-bottom-color: #fc6423;
}
@media (min-width: 992px) {
  .sidebar {
    position: -webkit-sticky;
    position: sticky;
    top: 12px;
  }
  .sidebar-toggle {
    display: none;
  }
  .sidebar-inner {
    background: var(--content-bg-color);
    border-radius: initial;
    box-shadow: 0 2px 2px 0 rgba(0,0,0,0.12), 0 3px 1px -2px rgba(0,0,0,0.06), 0 1px 5px 0 rgba(0,0,0,0.12), 0 -1px 0.5px 0 rgba(0,0,0,0.09);
    box-sizing: border-box;
    color: var(--text-color);
    margin-top: 12px;
    max-height: calc(100vh - 24px);
    visibility: hidden;
  }
  .site-state-item {
    padding: 0 10px;
  }
  .sidebar .sidebar-button {
    border-bottom: 1px dotted #ccc;
    border-top: 1px dotted #ccc;
  }
  .sidebar .sidebar-button button {
    border: 0;
    color: #fc6423;
    display: block;
    width: 100%;
  }
  .sidebar .sidebar-button button:hover {
    background: none;
    border: 0;
    color: #e34603;
  }
  .links-of-author {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }
  .links-of-author-item {
    margin: 5px 0 0;
  }
  .links-of-author-item a {
    box-sizing: border-box;
    display: inline-block;
    max-width: 100%;
    overflow: hidden;
    padding: 0 5px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .links-of-author-item a {
    border-bottom: 0;
    border-radius: 4px;
    display: block;
  }
  .links-of-author-item a:hover {
    background: var(--body-bg-color);
  }
  .links-of-blogroll-item {
    display: inline-block;
    max-width: 100%;
    margin: 5px 0 0;
  }
  .links-of-blogroll-item a {
    box-sizing: border-box;
    display: inline-block;
    max-width: 100%;
    overflow: hidden;
    padding: 0 5px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}
.main-inner .sub-menu,
.main-inner .post-block,
.main-inner .tabs-comment,
.main-inner > .comments,
.main-inner .comment-position .comments,
.main-inner .pagination {
  background: var(--content-bg-color);
  border-radius: initial;
  box-shadow: 0 2px 2px 0 rgba(0,0,0,0.12), 0 3px 1px -2px rgba(0,0,0,0.06), 0 1px 5px 0 rgba(0,0,0,0.12);
}
.main-inner .post-block:not(:first-child):not(:first-child) {
  border-radius: initial;
  box-shadow: 0 2px 2px 0 rgba(0,0,0,0.12), 0 3px 1px -2px rgba(0,0,0,0.06), 0 1px 5px 0 rgba(0,0,0,0.12), 0 -1px 0.5px 0 rgba(0,0,0,0.09);
  margin-top: 12px;
}
@media (min-width: 768px) and (max-width: 991px) {
  .main-inner .post-block:not(:first-child):not(:first-child) {
    margin-top: 10px;
  }
}
@media (max-width: 767px) {
  .main-inner .post-block:not(:first-child):not(:first-child) {
    margin-top: 8px;
  }
}
.main-inner .tabs-comment,
.main-inner > .comments,
.main-inner .comment-position .comments,
.main-inner .pagination {
  border-radius: initial;
  box-shadow: 0 2px 2px 0 rgba(0,0,0,0.12), 0 3px 1px -2px rgba(0,0,0,0.06), 0 1px 5px 0 rgba(0,0,0,0.12), 0 -1px 0.5px 0 rgba(0,0,0,0.09);
  margin-top: 12px;
}
@media (min-width: 768px) and (max-width: 991px) {
  .main-inner .tabs-comment,
  .main-inner > .comments,
  .main-inner .comment-position .comments,
  .main-inner .pagination {
    margin-top: 10px;
  }
}
@media (max-width: 767px) {
  .main-inner .tabs-comment,
  .main-inner > .comments,
  .main-inner .comment-position .comments,
  .main-inner .pagination {
    margin-top: 8px;
  }
}
.post-block,
.comments {
  padding: 40px;
}
.post-eof {
  display: none;
}
.pagination {
  border-top: initial;
  padding: 10px 0;
}
.post-body h1,
.post-body h2 {
  border-bottom: 1px solid #eee;
}
.post-body h3 {
  border-bottom: 1px dotted #eee;
}
@media (min-width: 768px) and (max-width: 991px) {
  .main-inner {
    padding: 10px;
  }
  .posts-expand .post-button {
    margin-top: 20px;
  }
  .post-block {
    padding: 20px;
  }
  .comments {
    padding: 10px 20px;
  }
}
@media (max-width: 767px) {
  .main-inner {
    padding: 8px;
  }
  .posts-expand .post-button {
    margin: 12px 0;
  }
  .post-block {
    padding: 12px;
  }
  .comments {
    padding: 10px 12px;
  }
}
@media (min-width: 992px) and (max-width: 991px) {
  .sidebar {
    display: none;
  }
}
/* blog 改造css */
:root {
  --body-bg-color: #eee;
  --content-bg-color: rgba(220, 220, 218, 0.45);
  --card-bg-color: #f5f5f5;
  --text-color: #333;
  --blockquote-color: #666;
  --link-color: #555;
  --link-hover-color: #222;
  --brand-color: #fff;
  --brand-hover-color: #fff;
  --table-row-odd-bg-color: #f9f9f9;
  --table-row-hover-bg-color: #f5f5f5;
  --menu-item-bg-color: #f5f5f5;
  --theme-color: #222;
  --btn-default-bg: #222;
  --btn-default-color: #ccc;
  --btn-default-border-color: #555;
  --btn-default-hover-bg: #333;
  --btn-default-hover-color: #ccc;
  --btn-default-hover-border-color: #666;
  --highlight-background: #e7e5e4;
  --highlight-foreground: #444;
  --highlight-gutter-background: #f5f5f5;
  --highlight-gutter-foreground: #555;
  color-scheme: light;
  --gitalk-background: #ccc;
  --post-edit-icon-color: #ddd;
  --post-meta-text-color: #666;
  --site-link-text-shadow: #05050530 1px 1px 0.1em;
  --vanta-birds-bg-color: radial-gradient(
    #e9f5f5 5%,
    #b3b4b6 75%,
    #8c8b99 100%
  );
  --vanta-birds-bg-opacity: 1;
}
@media (prefers-color-scheme: dark) {
  :root {
    --body-bg-color: #282828;
    --content-bg-color: rgba(30, 30, 30, 0.85);
    --card-bg-color: #555;
    --text-color: #ccc;
    --blockquote-color: #777;
    --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: #222;
    --btn-default-bg: #222;
    --btn-default-color: #ccc;
    --btn-default-border-color: #555;
    --btn-default-hover-bg: #333;
    --btn-default-hover-color: #ccc;
    --btn-default-hover-border-color: #666;
    --highlight-background: #323131;
    --highlight-foreground: #fff;
    --highlight-gutter-background: #1c1b1b;
    --highlight-gutter-foreground: #e8e8e8;
    color-scheme: dark;
    --gitalk-background: #404040;
    --post-edit-icon-color: #555;
    --post-meta-text-color: #999;
    --site-link-text-shadow: #050505 1px 1px 0.1em;
    --vanta-birds-bg-color: radial-gradient(
      #232325 5%,
      #151618 75%,
      #050505 100%
    );
    --vanta-birds-bg-opacity: 0.3;
  }
  /* 黑夜模式 圖片亮度調整 (原為透明度改為亮度) */
  img {
    opacity: 1;
    filter: brightness(75%);
  }
  img:hover {
    opacity: 1;
    filter: brightness(90%);
  }
}

body.bk-dark-mode-on img {
  opacity: 1;
  filter: brightness(75%);
}
body.bk-dark-mode-on img:hover {
  opacity: 1;
  filter: brightness(90%);
}

/* 主視覺 副顏色調整 */
:root {
  --secondary-theme-color: cornflowerblue;
}

/* 全頁面卷軸條 調整 (新樣式 兼容性) */
@supports (scrollbar-width: auto) {
  .scroller {
    scrollbar-width: thin;
    scrollbar-color: var(--blockquote-color) var(--highlight-background);
  }
}

/* 全頁面卷軸條 調整 (舊樣式 兼容性) */
::-webkit-scrollbar {
  width: 12px; /* width of the entire scrollbar */
  height: 12px; /* width of the entire scrollbar */
}

::-webkit-scrollbar-track {
  background: var(--highlight-background); /* color of the tracking area */
}

::-webkit-scrollbar-thumb {
  background-color: var(--blockquote-color); /* color of the scroll thumb */
  border-radius: 20px; /* roundness of the scroll thumb */
  border: 2px solid var(--highlight-gutter-background); /* creates padding around scroll thumb */
}

/* 圖片(img) 懸浮時放大效果 */
img:hover {
  transform: scale(1.01);
  transition: 0.6s ease-in-out;
}

/* 文字反白時的 背景顏色 和 文字的顏色 */
::selection {
  background: var(--secondary-theme-color);
  color: #151515;
  text-shadow: #00000000 0em 0em 0em;
}
::-webkit-selection {
  background: var(--secondary-theme-color);
  color: #151515;
  text-shadow: #00000000 0em 0em 0em;
}
::-moz-selection {
  background: var(--secondary-theme-color);
  color: #151515;
  text-shadow: #00000000 0em 0em 0em;
}

/* 全站行高 */
body {
  background: var(--body-bg-color);
  color: var(--text-color);
}

/* 無序標籤 */
ul {
  margin-top: 0;
  margin-bottom: 0;
}

/* 分隔線 */
hr {
  background-image: repeating-linear-gradient(
    -45deg,
    #ddd,
    #ddd 4px,
    transparent 4px,
    transparent 8px
  );
  border: 0;
  height: 3px;
  margin: 40px 0;
}

/* 表格 */
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;
}

/* 全站超連結 陰影樣式 底線取消 */
a:not(.btn, .bmc-btn, .post-title-link) {
  border-bottom: 1px none #999;
  text-shadow: var(--site-link-text-shadow);
  &:hover {
    color: var(--secondary-theme-color);
    text-shadow: transparent 0em 0em 0em;
    transform: translateY(-0.125em) scale(1);
    transition: 0.5s;
  }
}

/* 網站標題 字體 */
.site-title {
  font-family: Kanit;
}

/* 網站副標題 文字粗細 */
.site-subtitle {
  font-weight: lighter;
}

/* 回到最上方按鈕 默認位置*/
.back-to-top {
  left: calc(95lvw - 3.5rem);
  border-radius: 4px;
}

/* 回到最上方按鈕 顯示時位置*/
.back-to-top.back-to-top-on {
  bottom: 2rem;
}

/* 回到最上方按鈕 百分數*/
.back-to-top > span {
  width: 2.375rem;
  text-align: right;
  margin-right: 0px;
  order: -1;
  direction: rtl;
}

/* 側邊欄開關 */
.sidebar-toggle {
  left: calc(95lvw - 1.125rem);
  bottom: 4rem;
  border-radius: 4px;
  rotate: 180deg;
}

/* 載入百分比位置調整 */
.pace .pace-progress {
  top: calc(100svh - 5rem) !important;
}

/* div 內文字置中 */
.text-center {
  text-align: center;
}

/* 列表裡出現的段落 底部距離移除 */
li > p {
  margin-bottom: 0px;
}

/* 文章內文，背景透明 (blog首頁 每個文章樣式是連續堆疊的)*/
.main-inner .sub-menu,
.main-inner .post-block,
.main-inner .tabs-comment,
.main-inner > .comments,
.main-inner .comment-position .comments,
.main-inner .pagination,
.main-inner .post-block:not(:first-child):not(:first-child) {
  border-radius: 0.1rem;
  background: transparent;
  backdrop-filter: blur(10px) brightness(99%) grayscale(50%);
}

/* h1 標題 文章頁面 文章內文*/
.post-body h1,
.posts-expand .post-title {
  border-bottom: 0px solid transparent;
  font-family: Kanit, "Arial Black", sans-serif;
  font-size: 1.75em;
  letter-spacing: 1px;
  word-spacing: 2px;
  font-weight: 700;
  font-variant-caps: capitalize;
  overflow-wrap: break-word;
  text-align: center;
  text-shadow: 2px 8px 6px rgba(0, 0, 0, 0.2),
    0px -5px 35px rgba(255, 255, 255, 0.3), 2px 2px 4px rgba(206, 105, 137, 0) !important;
}

/* 文章頁面 底線 */
.posts-expand .post-title-link {
  text-decoration: none 0rem;
  color: var(--text-color);
  &:hover {
    color: var(--secondary-theme-color);
  }
  &:hover::before {
    background: var(--secondary-theme-color);
  }
}

/* 文章頁數 數字的背景 修正白天模式看不見 */
.pagination .page-number.current {
  background: var(--text-color);
}
/* 文章頁數 數字的上邊線 去除 */
.pagination .prev,
.pagination .next,
.pagination .page-number {
  border-top: 0px;
}

/* 標籤頁面(page-Tags)，取消超連結 的上級偽類內容 */
.tag-cloud-tags a::after {
  content: "";
}

/* 包含標題 最外容器 */
.tag-cloud {
  min-height: 75lvh;
  display: flex;
  flex-direction: column;
  margin: -2.5rem 0 0 0;
}

/* 標籤頁面(page-Tags) 容器樣式 */
.tag-cloud-tags {
  height: 100%;
  list-style: none;
  overflow: hidden;
  padding: 1rem;
  margin: auto 2rem;
  font-family: Kanit;
  letter-spacing: 1px;
}

/* 標籤頁面(page-Tags) 樣式, 底色 */
.tag-cloud-tags a {
  background: #151515;
  border-radius: 3px 0 0 3px;
  color: #aaa;
  text-shadow: none;
  display: inline-block;
  height: 1em;
  line-height: 1em;
  margin: 0em 1em 0.5rem 0.2em;
  padding: 0.5em 0.5em 0.5em 0;
  position: relative;
  text-decoration: none;
}

/* 標籤頁面(page-Tags) 前(#)號 */
.tag-cloud-tags a::before {
  font-family: FontAwesome;
  content: "\23";
  display: inline-block;
  padding-right: 3px;
  padding-left: 0.5rem;
  color: #777;
  font-size: 0.75em;
}

/* 標籤頁面(page-Tags) 後箭頭 */
.tag-cloud-tags a::after {
  height: 0;
  width: 0;
  font-size: inherit !important;
  background: transparent;
  border-bottom: 1em solid #151515;
  border-right: calc(0.5em + 0px) solid transparent;
  border-top: 1em solid #151515;
  position: absolute;
  top: 0px;
  bottom: 0px;
  right: calc(-0.5em + 1px);
}

/* 標籤頁面(page-Tags) 懸浮色 */
.tag-cloud-tags a:hover {
  background-color: var(--secondary-theme-color);
  color: white !important;
  box-shadow: 4px 8px 8px -4px #050505;
  transform: translateY(-2px);
}

/* 標籤頁面(page-Tags) 後箭頭 懸浮色 */
.tag-cloud-tags a:hover::after {
  border-bottom-color: var(--secondary-theme-color);
  border-top-color: var(--secondary-theme-color);
  transition: 0.5s;
}

/* 標籤頁面(page-Tags) #號 懸浮色 */
.tag-cloud-tags a:hover::before {
  color: #ddd;
}

/* 分類頁面(page-Category)，取消超連結 的上級偽類內容 */
.category-list-link::after {
  content: "" !important;
}

/* 總體與標題的距離 */
.category-all-page {
  margin: -2.5rem 0 0 0;
}

/* 分類頁面(page-Category) 計數徽章(Badge)*/
.category-all-page .category-list-count {
  font-size: 0.75rem;
  background: var(--menu-item-bg-color);
  border-radius: 25%;
  color: var(--link-color);
  padding: 2px 2px;
  margin: 0 0 0 0;
  display: inline-block;
  text-align: center;
  vertical-align: 10%;
  line-height: 1rem;
  height: 1rem;
  min-width: 1rem;
  text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.4);
}

/* 分類表單 整體樣式 */
.category-all-page .category-all {
  width: fit-content;
  max-width: 80%;
  margin: 3em auto;
  font-family: Kanit;
}

/* 第一層 大層樣式 */
.category-all-page .category-list {
  margin-left: 1.5em;
}

/* 第一層 文字樣式 */
.category-all-page .category-list > li > a {
  font-size: 1.5em;
  font-weight: 700;
  background: transparent;
  background: linear-gradient(
    0deg,
    rgba(0, 0, 0, 0) 10%,
    var(--blockquote-color) 10%,
    var(--blockquote-color) 20%,
    rgba(0, 0, 0, 0) 20%
  );
  text-align: center;
  margin-right: 0.25em;
  transition: all 0.4s;
  &:hover {
    background: transparent;
    background: linear-gradient(
      0deg,
      rgba(0, 0, 0, 0) 10%,
      var(--secondary-theme-color) 10%,
      var(--secondary-theme-color) 20%,
      rgba(0, 0, 0, 0) 20%
    );
  }
}

/* 第二層 大層樣式 */
.category-all-page .category-list > li > ul {
  margin-left: 1.5em;
  font-size: 1.25em;
  line-height: 1.25em;
  color: var(--blockquote-color);
}

/* 第二層 文字樣式 */
.category-all-page .category-list > li > ul > li > a {
  font-size: 1em;
  margin-right: 0.2em;
}

/* 檔案頁面(Archive) 關閉 Keep on posting */
.archive .collection-title {
  display: none !important;
}

/* 檔案頁面(Archive) 計數徽章(Badge) */
.posts-collapse .post-content .collection-year .collection-year-count {
  font-family: Kanit;
  font-size: 0.75rem;
  background: var(--menu-item-bg-color);
  border-radius: 25%;
  color: var(--link-color);
  padding: 2px 2px;
  display: inline-block;
  text-align: center;
  vertical-align: 20%;
  line-height: 1rem;
  height: 1rem;
  min-width: 1rem;
  text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.4);
}

/* 檔案頁面(Archive) 分類下小標題 副標顏色 */
.posts-collapse .post-content .collection-header small {
  color: var(--blockquote-color);
}

/*  檔案頁面(Archive) 年份大標題 */
.posts-collapse .post-content .collection-year {
  margin: 1.5em 0 -0.25em 0;
  font-family: Kanit;
  font-size: 2.5em;
  line-height: 1em;
  font-weight: 700;
  margin-right: 0.25em;
}

/*  檔案頁面(Archive) 月份時間 */
.posts-collapse .post-content time {
  position: relative;
  float: right;
  top: 1em;
  color: var(--blockquote-color);
}

/* ------------------------ */
/* 文章內文，文字元素排版     */
/* ------------------------ */

/* 文章內文 h1 標題 */
.post-body h1 {
  width: fit-content;
  max-width: 90%;
  margin: 0 auto;
  margin-top: 30px;
  margin-bottom: 15px;
  padding-left: 1.5em;
  /* border-bottom: 3px solid var(--text-color); */
  /* text-emphasis: "⯌";
      text-emphasis-color: var(--post-meta-text-color);
      text-emphasis-position: under right; */
}

/* 文章內文 h2標題底線顏色 */
.post-body h2 {
  width: fit-content;
  max-width: 90%;
  padding-left: 0.5em;
  margin-left: 0.5em;
  margin-inline-start: 0;
  /* box-shadow: 24px 0px 16px -24px inset hsla(0, 0%, 50%, 0.8); */
  border-left: 0.75em solid var(--blockquote-color);
  border-bottom: 3px solid var(--blockquote-color);
}

/* 文章內文 h3 次標題底線顏色 */
.post-body h3 {
  border-bottom: 1px dotted var(--post-meta-text-color);
  margin-inline-start: 0.375rem;
  margin-inline-end: 0.375rem;
}

/* ------------------------ */
/* 文章頭部，meta元素樣式調整 */
/* ------------------------ */

/* 編輯文章的鋼筆，懸浮時變色 和大小調整*/
.posts-expand .post-title .post-edit-link {
  font-size: 24px;
  color: var(--post-edit-icon-color);
  text-shadow: #05050580 0em 0em 0.1em;
  &:hover {
    color: var(--secondary-theme-color) !important;
  }
}

/* 文章內文 頭部標題 */
.posts-expand h1.post-title {
  font-family: Kanit, sans-serif !important;
  font-weight: 400;
}

/* 文章標題 資訊部分*/
.posts-expand .post-header {
  margin-bottom: 3rem;
}

/* 文章標題 資訊部分*/
.posts-expand .post-meta-container {
  color: var(--blockquote-color);
}

/* 文章標題 不算子人數在最後面(小螢幕排版破壞)*/
#busuanzi_container_page_pv.post-meta-item {
  order: 1;
}

/* ------------------------ */
/* 文章內文，內容邊界距離調整 */
/* ------------------------ */

/* 大螢幕 */
.main-inner {
  padding: 0px;
}
.post-block {
  padding: 40px 2lvw;
}
.comments {
  padding: 40px 8lvw;
  margin: 5px;
}

/* 中螢幕 */
@media (min-width: 768px) and (max-width: 991px) {
  .main-inner {
    padding: 0px 1lvw;
  }
  .post-block {
    padding: 40px 1rem;
  }
}

/* 小螢幕 */
@media (max-width: 767px) {
  .main-inner {
    padding: 0px 0lvw;
  }
  .post-block {
    padding: 40px 1rem;
  }
}
/* ------------------------ */
/* 文章內文，圖片與超連結調整 */
/* ------------------------ */

/* 圖片元素(MD語法) 延伸到文章最邊緣 */
.post-body > figure:has(img) {
  margin-bottom: 20px;
  width: calc(100% + 2rem);
  height: auto;
  margin-inline: -1rem -1rem;
  /* overflow: hidden; */
  & img {
    max-height: 90svh;
    max-width: 100%;
    object-fit: cover;
  }
}

/* 圖片元素 非群組圖片 包裹img的連結 */
.post-body > a:not([data-fancybox="group"]):has(img) {
  display: block;
  width: calc(100% + 2rem);
  height: auto;
  margin-inline: -1rem -1rem;
  max-height: 90svh;
}

/* 其餘爆版狀況 強制隱藏 */
.post-body .fancybox,
.post-body .video-container {
  overflow: hidden;
}

/* 文章內文，超連結偽元素 icon || 排除btn, fancybox, headerlink tag-cloud*/
.post-body a:not(.btn, .fancybox, .headerlink, [href*="/tags/"])::after {
  font-family: FontAwesome;
  content: "\f08e";
  display: inline-block;
  padding-right: 3px;
  padding-left: 3px;
  filter: brightness(50%);
  color: var(--secondary-theme-color);
  font-size: 0.75em;
  text-shadow: #00000000 0em 0em 0em;
  vertical-align: bottom;
}

/* 文章內文，超連結樣式 &懸浮顏色 */
.post-body a:hover {
  color: var(--secondary-theme-color);
  text-shadow: 2px 8px 6px rgba(0, 0, 0, 0.2),
    0px -5px 35px rgba(255, 255, 255, 0.3), 2px 2px 4px rgba(206, 105, 137, 0),
    0px -5px 35px -5px var(--secondary-theme-color);
}

/* 文章內文，超連結偽元素 icon 懸浮效果 || 排除btn, fancybox, headerlink tag-cloud*/
.post-body a:not(.btn, .fancybox, .headerlink, [href*="/tags/"]):hover::after {
  filter: brightness(100%);
  color: #eee;
  text-shadow: var(--secondary-theme-color) 0em 0em 0.5em,
    var(--secondary-theme-color) 0em 0em 0.2em,
    var(--secondary-theme-color) 0em 0em 0.2em,
    var(--secondary-theme-color) 0em 0em 0.2em;
  transform: translateY(-0.25em) scale(1.1);
  transition: 0.5s;
}

/* ------------------------ */
/* 文章內文，tag 插件樣式調整 */
/* ------------------------ */

/* 文章內文，引文部分 間距減掉線寬*/
.post-body blockquote:not(.blockquote-center) {
  border-left: 3px solid var(--blockquote-color);
  width: fit-content;
  max-width: 90%;
  border-radius: 0 4px 4px 0;
  box-shadow: 16px 0px 12px -16px inset hsla(0, 0%, 50%, 0.4),
    12px 0px 10px -16px hsla(0, 0%, 50%, 0.4),
    0px 12px 10px -16px hsla(0, 0%, 50%, 0.4),
    0px -12px 10px -16px hsla(0, 0%, 50%, 0.4);
  /* background-color: hsla(0, 0%, 50%, 0.1); */
  padding: 0.25rem calc(1rem - 3px);
  margin-inline-start: 0.5rem;
  margin-inline-end: 0.5rem;
  & p {
    margin-inline-start: 0rem;
    margin-bottom: 0px;
  }
}

/* 置中引言 修正無內容時 排版壞掉 和線寬顏色變動 */
.blockquote-center {
  min-height: 1rem;
  &::before {
    border-top: 1px solid var(--blockquote-color);
  }
  &::after {
    border-bottom: 1px solid var(--blockquote-color);
  }
}

/* 文章內文，按鈕(btn) icon後面留空*/
.post-body .btn > i::before {
  padding: 0 0.25em 0 0;
}

/* 文章內文，切換標籤(Tab)，取消超連結 的上級偽類內容 */
.post-body .nav-tabs li a::after {
  content: "" !important;
}

/* 文章內文，連結群組(Link Grid)，取消超連結 的上級偽類內容 */
.post-body .link-grid a::after {
  content: "" !important;
}

/* 文章內文，筆記(Note)，flat樣式 無(none)筆記文字顏色改為黑色 */
/* .post-body .note:not(.default, .primary, .info, .success, .warning, .danger) {
  color: #bbb;
} */

/* 文章內文，筆記(Note)，無(none)背景色與文字顏色 */
.post-body .note {
  background: #f9f9f9;
  border: initial;
  border-left: 3px solid #333;
  color: #333 !important;
}
@media (prefers-color-scheme: dark) {
  .post-body .note {
    background: #3c3c3c;
    border: initial;
    border-left: 3px solid #eee;
    color: #ccc !important;
  }
}

/* 文章內文，筆記(Note)，flat樣式 展開(summary)按鈕圖案放大 */
.post-body .note summary::marker {
  font-size: 1.25em;
  line-height: 1em;
}

/* 文章內文，筆記(Note)，標題取消裝飾 並且改為inline 與按鈕並排 */
.post-body .note h2,
.post-body .note h3,
.post-body .note h4,
.post-body .note h5,
.post-body .note h6 {
  display: inline;
  border: initial;
}

/* 文章內文，筆記(Note)，Icon 改為對齊第一行 */
.post-body .note:not(.no-icon)::before {
  top: calc(20px - 0.5em);
  line-height: inherit;
}

/* 文章內文，代碼塊(Highlight) */
.post-body figure.highlight {
  background: var(--highlight-background);
  color: var(--highlight-foreground);
  line-height: 1.6em;
  margin: 0 auto 20px;
  margin-inline-start: -1lvw;
  margin-inline-end: -1lvw;
  box-shadow: 0em 3px 0.5em -3px var(--highlight-background);
}

/* 文章內文，代碼塊(Highlight) 前方數字標籤*/
.post-body figure.highlight .gutter pre {
  padding-left: 0.4em;
  padding-right: 0.4em;
  margin-right: -2.5em;
}

/* 文章內文，代碼塊(Highlight) 前方數字標籤底線*/
.post-body figure.highlight .gutter pre span::after {
  content: "";
  display: inline-block;
  position: relative;
  top: calc(0.5em + 1px);
  right: 2em;
  height: 1em;
  width: 2.5em;
  background-image: linear-gradient(
    transparent calc(100% - 2px),
    var(--highlight-background) 2px
  );
  background-size: 100% 100%;
}

/* 文章內文，切換標籤(Tab) 樣式*/
.post-body .tabs .tab-content,
.tabs-comment .tab-content {
  border: 1px solid #777;
  border-radius: 0 0 0 0;
  border-top-color: transparent;
  background: none;
}
@media (max-width: 413px) {
  .post-body .tabs .tab-content,
  .tabs-comment .tab-content {
    border-radius: 0 0 0 0;
    border-top-color: #777;
  }
}

/* 文章內文，切換標籤(Tab) 樣式 啟動時 大螢幕*/
.post-body .tabs ul.nav-tabs li.tab.active,
.post-body .tabs-comment ul.nav-tabs li.tab.active {
  border-top-color: var(--secondary-theme-color);
  border-top-width: 0.5em;
  border-left-color: #777;
  border-left-width: 1px;
  border-right-color: #777;
  border-right-width: 1px;
}
.post-body .tabs ul.nav-tabs li.tab.active a {
  color: var(--text-color);
  font-weight: 800;
}

/* 文章內文，切換標籤(Tab) 樣式 啟動時 小螢幕*/
@media (max-width: 413px) {
  .post-body .tabs ul.nav-tabs li.tab.active,
  .post-body .tabs-comment ul.nav-tabs li.tab.active {
    border-top-color: #777;
    border-top-width: 1px;
    border-bottom-color: #777;
    border-bottom-width: 1px;
    border-left-color: var(--secondary-theme-color);
    border-left-width: 0.5em;
    border-right-color: var(--secondary-theme-color);
    border-right-width: 0.5em;
  }
}

/* 文章內文，切換標籤(Tab) 樣式 非啟動 大螢幕*/
.post-body .tabs ul.nav-tabs li.tab,
.post-body .tabs ul.nav-tabs li.tab:not(.active),
.post-body .tabs-comment ul.nav-tabs li.tab:not(.active) {
  border-bottom-color: #777;
  background: var(--highlight-background);
  opacity: 0.8;
}
/* 文章內文，切換標籤(Tab) 樣式 非啟動 小螢幕*/
@media (max-width: 413px) {
  .post-body .tabs ul.nav-tabs li.tab,
  .post-body .tabs ul.nav-tabs li.tab:not(.active),
  .post-body .tabs-comment ul.nav-tabs li.tab:not(.active) {
    border-bottom-color: transparent;
  }
}

/* ------------------------- */
/* 文章底部，版權與標籤樣式調整 */
/* ------------------------- */

/* 文章內文底部 版權聲明 延伸到最邊緣 */
.post-footer .post-copyright {
  margin-inline: -1rem -1rem;
  & li {
    font-size: 0.875em;
    line-height: 1.875em;
  }
}

/* 文章下標籤(Tags) 容器樣式 */
.post-tags {
  list-style: none;
  overflow: hidden;
}

/* 文章下標籤(Tags) 樣式, 底色 */
.post-tags a {
  background: #151515;
  color: #bbb;
  text-shadow: none !important;
  display: inline-block;
  height: 1em;
  line-height: 1em;
  margin: 0em 1em 0em 1em;
  padding: 0.5em 0.3em 0.5em 0.7em;
  position: relative;
  text-decoration: none;
  transition: color 0.2s;
}

/* 文章下標籤(Tags) 後箭頭 */
.post-tags a::after {
  content: "";
  background: transparent;
  border-bottom: 1em solid transparent;
  border-left: calc(1em + 0px) solid #151515;
  border-top: 1em solid transparent;
  position: absolute;
  top: 0px;
  bottom: 0px;
  right: calc(-1em + 0px);
}

/* 文章下標籤(Tags) 懸浮色 */
.post-tags a:hover {
  background-color: var(--secondary-theme-color);
  color: #eee !important;
}

/* 文章下標籤(Tags) 後箭頭 懸浮色 */
.post-tags a:hover::after {
  border-left-color: var(--secondary-theme-color);
  transition: 0.5s;
}

/* 文章底部評論區(gitalk) */
.gitalk-container {
  background: var(--gitalk-background) !important;
  border-radius: 0.75rem !important;
}

.menu .menu-item a {
  font-family: Kanit;
  font-size: 0.875rem;
  font-weight: 400;
}

/* 選單按鈕，懸浮時變色 */
.toggle:hover .toggle-line {
  background: var(--secondary-theme-color);
}

/* 搜尋放大鏡，懸浮時變色 */
.popup-trigger:hover > i {
  color: var(--secondary-theme-color);
}

/* 回到最頂端按鈕，懸浮時變色 */
.back-to-top:hover {
  color: var(--secondary-theme-color);
}

/* 菜單(Menu) 計數徽章(Badge) 白天模式改色 */
.menu-item .badge {
  font-family: Kanit;
  font-size: 0.75rem;
  background: var(--menu-item-bg-color);
  border-radius: 25%;
  outline-color: #000;
  color: var(--link-color);
  padding: 2px 2px;
  display: inline-block;
  text-align: center;
  vertical-align: 20%;
  line-height: 1rem;
  height: 1rem;
  min-width: 1rem;
  text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.4);
}

/* 次級菜單(Sub Menu) 啟用時的顏色*/
.sub-menu .menu-item .menu-item-active {
  color: var(--secondary-theme-color);
  font-weight: bold;
  font-size: 0.875em;
}

/* 次級菜單(Sub Menu) 超連結懸浮顏色*/
.sub-menu .menu-item a:hover {
  color: var(--secondary-theme-color);
}

/* 次級菜單(Sub Menu) "關於"的icon*/
.sub-menu a[href="/about/"] {
  margin: 0px 0px;
}
.sub-menu a[href="/about/"] > i {
  font-size: 1.25em !important;
  margin: 0px 0px;
}

/* 網站作者名 文字大小 */
.site-author-name {
  color: #ccc;
  font-size: 1.5rem;
  font-family: Kanit;
}

/* 網站狀態 計數 */
.site-state-item-count {
  font-size: 1.125rem;
  font-family: Kanit;
}

/* 側邊欄 大螢幕時 */
@media (min-width: 992px) {
  /* 內陰影和圓角 */
  .sidebar-inner {
    color: #ccc;
    box-shadow: inset 0em 0em 0.5em #080808;
    border-radius: 0.75rem;
    background: #151515;
  }
}

/* 側邊欄 小螢幕時 */
@media (max-width: 991px) {
  /* 側邊攔，內容物置中 */
  .sidebar {
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: linear-gradient(
      0deg,
      #151515f0 10%,
      #222222f0 40%,
      #222222f0 60%,
      #151515f0 90%
    );
  }

  /* 縮小後取消內陰影和圓角 */
  .sidebar .sidebar-inner {
    color: #ccc;
    box-shadow: inset 0em 0em 0em #080808;
    border-radius: 0rem;
  }

  /* 側邊攔，按鈕 */
  .links-of-author a {
    /* 底下的線段顏色 */
    border-bottom-color: transparent;
    /* 奇怪的邊界 */
    margin-bottom: 0px;
    margin-right: 0px;
  }

  /* 側邊攔，按鈕上奇怪的紅點點 */
  .links-of-author a::before {
    background: none;
    display: inline-block;
    margin-right: 0px;
    transform: translateY(0px);
    border-radius: 50%;
    content: "";
    height: 0px;
    width: 0px;
  }

  /* 側邊攔，按鈕大小 */
  .links-of-author span {
    height: 40px;
    vertical-align: bottom;
  }
  .links-of-author a {
    font-size: 1.25em;
    padding-right: 2px;
    padding-left: 2px;
    vertical-align: bottom;
  }
}

/* 內文 TOC 導航欄 */
.sidebar-nav li {
  color: #eee;
  font-weight: 800;
}
.sidebar-nav li:hover {
  color: var(--secondary-theme-color);
  font-weight: 800;
}

.sidebar-panel a {
  color: #bbb;
}

.post-toc .nav .active > a {
  border-bottom-color: var(--secondary-theme-color);
  color: var(--secondary-theme-color);
}
.post-toc .nav .active-current > a {
  color: var(--secondary-theme-color);
}
.post-toc .nav .active-current > a:hover {
  color: var(--secondary-theme-color);
}

.sidebar-toc-active .sidebar-nav-toc,
.sidebar-overview-active .sidebar-nav-overview {
  border-bottom-color: var(--secondary-theme-color);
  color: var(--secondary-theme-color);
}
.sidebar-toc-active .sidebar-nav-toc:hover,
.sidebar-overview-active .sidebar-nav-overview:hover {
  color: var(--secondary-theme-color);
}

/* 頁腳(footer) 容器 */
.footer-inner {
  color: var(--text-color);
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  padding-top: 1.5rem;
}

/* 頁腳(footer) copy right 版權資訊 */
.footer-inner .copyright {
  line-height: 1em;
  width: calc(100% - 0rem);
  padding: 0 8lvw;
  font-size: 1.125em;
}

/* 頁腳(footer) copy right 版權資訊-年分 */
.footer-inner .copyright span[itemprop="copyrightYear"] {
  font-family: Kanit;
}

/* 頁腳(footer) copy right 版權資訊-作者 + 英文 */
.footer-inner .copyright span.author::after {
  content: "Reprinted please specify the source";
  display: inline-block;
  line-height: 2em;
  padding-left: 0.5em;
  font-size: 1.125em;
  font-family: Kanit;
  font-weight: 200;
}

/* 頁腳(footer) 全站字數 */
.footer-inner .wordcount {
  margin-right: 0.25rem;
  line-height: 2em;
  font-family: Kanit;
}

/* 頁腳(footer) 全站字數 圖案 */
.footer-inner .wordcount .post-meta-item .post-meta-item-icon i::before {
  content: "\f1c2";
}

/* 頁腳(footer) 全站字數 文字 */
.footer-inner .wordcount .post-meta-item .post-meta-item-icon + span {
  display: none;
}

/* 頁腳(footer) 全站訪客數 前分隔線 */
.footer-inner .busuanzi-count #busuanzi_container_site_uv::before {
  content: "|";
  margin: 0 0.5em;
}

/* 頁腳(footer) 全站瀏覽數 */
.footer-inner .busuanzi-count {
  margin-left: 0.25rem;
  line-height: 2em;
  font-family: Kanit;
}

/* 頁腳(footer) Hexo Hexo-NexT資訊 */
.footer-inner .powered-by {
  font-family: Kanit;
  font-size: 0.75em;
  color: #555;
  line-height: 1.5em;
  width: calc(100% - 0rem);
  & a {
    color: var(--text-color) !important;
    font-size: 1.375em !important;
  }
  & a:hover {
    color: var(--secondary-theme-color) !important;
  }
}

/* 頁腳(footer) Hexo Hexo-NexT資訊 */
/* @media (max-width: 991px) {
  .footer-inner .powered-by {
    
  }
} */

/* tags 插件用css */
/* CSS 參考來源 */
/* https://codepen.io/kevinpowell/pen/BapvMve */

/* ----------- */
/* 卡片基本設定 */
/* ----------- */

/* 卡片容器外框 (卷軸) */
#bk-link-card-template {
  padding: 0 0 2rem 0;
  display: flex;
  height: var(--height);
}

/* 卡片卷軸定位用 (卡片間距) */
.bk-link-card-scrollor {
  padding: 0 2rem;
  height: 6rem;
  width: 6rem;
}

/* 卡片主體 */
.bk-link-card {
  height: 3rem;
  padding: 3rem 0 0;
  overflow: hidden;
  position: relative;
  z-index: 1;
}

/* 卡片背景 */
.bk-link-card-bg {
  border-radius: 0.5rem;
  position: relative;
  top: -6rem;
  transition: 250ms ease-in-out;
  transition-property: opacity, transform;
}

/* 卡片背景-裡面*/
.bk-link-card-bg-inner {
  height: 6rem;
  width: 6rem;
  background-color: #666;
  box-shadow: inset #606060 0 0 0 3px, inset black 0px 12px 12px -8px,
    inset black 0px -12px 12px -8px;
  border-radius: 0.5rem;
  transition: 500ms ease-in 300ms;
  transition-property: background-color;
}

/* 卡片背景 偽元素 投影 */
.bk-link-card-bg-inner::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 100%;
  height: 100%;
  opacity: 0.5;
  border-radius: 5px;
  box-shadow: rgba(0, 0, 0, 0.5) 0px 24px 16px -8px;
  transition: opacity 300ms ease-in-out;
}

/* 卡片背景 懸浮效果 漸變 */
.bk-link-card:hover + .bk-link-card-bg {
  background: linear-gradient(
    rgb(0 0 0 / 0),
    rgb(0 0 0 / 0.1) 30%,
    rgb(0 0 0 / 0.5) 50%,
    rgb(0 0 0 / 0.8)
  );
}

/* 卡片背景-裡面 懸浮效果 作用時取消外框 背景 */
.bk-link-card:hover + .bk-link-card-bg > .bk-link-card-bg-inner {
  background-color: transparent;
  box-shadow: inset #444 0 0 0 0px;
}

/* 連結圖標 */
.bk-link-card-icon {
  /* background-color: red; */
  position: absolute;
  height: 5.6rem;
  width: 5.6rem;
  right: 0.2rem;
  top: 0.2rem;
  transition: ease-in-out 1s;
  transition-property: opacity, transform, filter;
  filter: blur(0px);
}

/* 卡片內容(伸縮部分) */
.bk-link-card-body {
  height: 6rem;
  width: 6rem;
  padding: 1rem 0 0;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  align-items: center;
}

/* 卡片內容(伸縮部分) 懸浮效果 作用時產生背景漸變 */
/* .bk-link-card:hover .bk-link-card-body {
  background: linear-gradient(
    rgb(0 0 0 / 0),
    rgb(0 0 0 / 0.5) 15%,
    rgb(0 0 0 / 0.8) 50%,
    rgb(0 0 0 / 1)
  );
} */

/* 卡片內容(伸縮部分) 標題 */
.bk-link-card-title {
  position: relative;
  cursor: pointer;
  margin: 0 0;
  padding: 0.5em 0 0;
  width: max-content;
  font-family: sans-serif;
  font-weight: bold;
  font-size: 1.1em;
  line-height: 0.9em;
  letter-spacing: 4px;
  text-shadow: #fffcf2fa 0em 0em 0.5em !important;
  color: #eee !important;
  background-color: transparent;
  border-color: transparent;
  transition: ease-in 600ms;
  transition-property: opacity, scale, transform;
  transition-delay: 600ms;
}

/* 卡片內容(伸縮部分) 標題 懸浮效果 */
.bk-link-card:hover .bk-link-card-title {
  letter-spacing: 2px;
  scale: 1;
  opacity: 1;
}

/* 卡片內容(伸縮部分) 標題 懸浮效果 作用在標題本身 */
.bk-link-card-title:hover {
  color: #eee !important;
  text-shadow: #fffcf2fa 0em 0em 0.5em !important;
}

/* 卡片內容(伸縮部分) 標題 前偽元素 */
/* .bk-link-card-title::before {
  font-family: FontAwesome;
  content: "\f2f6";
  display: inline-block;
  padding-right: 3px;
  padding-left: 3px;
  filter: brightness(50%);
  color: var(--secondary-theme-color);
  font-size: 0.25em;
  text-shadow: #00000000 0em 0em 0em;
  vertical-align: bottom;
} */

/* 卡片內容(伸縮部分) 副標題 容器 */
.bk-link-card-subtitle {
  margin: 0.25rem 0 0;
  height: 1.5rem;
  display: grid;
  place-items: center;
}

/* 卡片內容(伸縮部分) 副標題 */
.bk-link-card-subtitle div {
  color: hsla(0, 0%, 80%, 0.8);
  vertical-align: middle;
  font-size: 0.625em;
  line-height: 1.25em;
  text-align: center;
}

/* ----------- */
/* 變形動畫部分 */
/* ----------- */

@media (hover: hover), (prefers-reduced-motion: no-preference) {
  /* 卡片內容 變形前位置 */
  .bk-link-card-body {
    padding: 0rem 0 0;
    transform: scale(1.2);
    transform: translateY(-50%);
    transition: transform 400ms ease;
  }

  /* 卡片標題 變形前位置 */
  .bk-link-card-title {
    transform: translateY(-20%);
    scale: 1.2;
    opacity: 0;
  }

  /* 卡片背景 懸浮效果 3D變形 旋轉*/
  .bk-link-card:hover + .bk-link-card-bg {
    transform: perspective(250px) rotateX(50deg) rotateY(2deg) rotateZ(1deg)
      translateY(15%);
  }

  /* 卡片背景 偽元素 投影 懸浮效果 */
  .bk-link-card:hover + .bk-link-card-bg .bk-link-card-bg-inner::after {
    opacity: 1;
  }

  /* 連結圖標 懸浮效果  */
  .bk-link-card:hover .bk-link-card-icon {
    transform: scale(0.45) translateY(-15%) rotateZ(10deg);
    filter: blur(4px);
  }

  /* 卡片內容 懸浮效果  */
  .bk-link-card:hover .bk-link-card-body {
    transform: translateY(-20%);
    transition-delay: 1200ms;
  }

  /* 卡片內容(除了標題) 變形前位置 */
  .bk-link-card-body > *:not(.bk-link-card-title) {
    opacity: 0;
    transition: opacity 800ms linear 800ms;
  }

  /* 卡片內容(除了標題) 懸浮效果 */
  .bk-link-card:hover .bk-link-card-body > *:not(.bk-link-card-title) {
    opacity: 1;
  }

  /* 卡片標題 下畫線(偽元素) 變形前位置 */
  .bk-link-card-title::after {
    content: "";
    position: absolute;
    left: -0.25rem;
    top: 100%;
    height: 2px;
    width: calc(100% + 0.5rem);
    background: #eee;
    transform: scaleX(0);
    transition: transform 200ms ease;
    transform-origin: center;
  }

  /* 卡片標題 下畫線(偽元素) 懸浮效果 */
  .bk-link-card-scrollor:hover .bk-link-card-title::after {
    transition: transform 1600ms ease 1600ms;
    transform: scaleX(1);
  }
}

/* source: Play and Pause in Infinite Slider with CSS Only */
/* https://www.youtube.com/watch?v=mF9yOwlunWk&ab_channel=LunDev */

.infinite-slider {
  width: 100%;
  height: calc(2rem + var(--height));
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, #000 10% 90%, transparent);
}

.infinite-slider .list {
  display: flex;
  left: calc(100% - calc(var(--width) * var(--quantity)) + 3rem);
  min-width: calc(var(--width) * var(--quantity));
  position: relative;
}
.infinite-slider .list .item {
  /* width: var(--width); */
  height: var(--height);
  position: absolute;
  left: 100%;
  animation: autoRun 20s linear infinite;
  animation-delay: calc((20s / var(--quantity)) * (var(--position) - 1));
  transition: filter 0.5s;
}
.infinite-slider .list .item img {
  width: 100%;
}

@keyframes autoRun {
  from {
    left: 100%;
  }
  to {
    left: calc(var(--width) * -1);
  }
}

.infinite-slider:hover .item {
  animation-play-state: paused !important;
  filter: opacity(0.1) blur(2px);
}
.infinite-slider .item:hover {
  filter: opacity(1) blur(0px);
}

body.bk-light-mode-on {
  --body-bg-color: #eee;
  --content-bg-color: rgba(220, 220, 218, 0.45);
  --card-bg-color: #f5f5f5;
  --text-color: #333;
  --blockquote-color: #666;
  --link-color: #555;
  --link-hover-color: #222;
  --brand-color: #fff;
  --brand-hover-color: #fff;
  --table-row-odd-bg-color: #f9f9f9;
  --table-row-hover-bg-color: #f5f5f5;
  --menu-item-bg-color: #f5f5f5;
  --theme-color: #222;
  --btn-default-bg: #222;
  --btn-default-color: #ccc;
  --btn-default-border-color: #555;
  --btn-default-hover-bg: #333;
  --btn-default-hover-color: #ccc;
  --btn-default-hover-border-color: #666;
  --highlight-background: #e7e5e4;
  --highlight-foreground: #444;
  --highlight-gutter-background: #f5f5f5;
  --highlight-gutter-foreground: #555;
  color-scheme: light;
  --gitalk-background: #ccc;
  --post-edit-icon-color: #ddd;
  --post-meta-text-color: #666;
  --site-link-text-shadow: #cccccc30 1px 1px 0.1em;
  --vanta-birds-bg-color: radial-gradient(
    #e9f5f5 5%,
    #b3b4b6 75%,
    #8c8b99 100%
  );
  --vanta-birds-bg-opacity: 1;
}

/* 白天模式 圖片亮度調整 (原為透明度改為亮度) */
body.bk-light-mode-on img {
  opacity: 1;
  filter: brightness(100%);
}
body.bk-light-mode-on img:hover {
  opacity: 1;
  filter: brightness(100%);
}

body.bk-dark-mode-on {
  --body-bg-color: #282828;
  --content-bg-color: rgba(30, 30, 30, 0.85);
  --card-bg-color: #555;
  --text-color: #ccc;
  --blockquote-color: #777;
  --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: #222;
  --btn-default-bg: #222;
  --btn-default-color: #ccc;
  --btn-default-border-color: #555;
  --btn-default-hover-bg: #333;
  --btn-default-hover-color: #ccc;
  --btn-default-hover-border-color: #666;
  --highlight-background: #323131;
  --highlight-foreground: #fff;
  --highlight-gutter-background: #1c1b1b;
  --highlight-gutter-foreground: #e8e8e8;
  color-scheme: dark;
  --gitalk-background: #404040;
  --post-edit-icon-color: #555;
  --post-meta-text-color: #999;
  --site-link-text-shadow: #050505 1px 1px 0.1em;
  --vanta-birds-bg-color: radial-gradient(
    #232325 5%,
    #151618 75%,
    #050505 100%
  );
  --vanta-birds-bg-opacity: 0.3;
}

/* 黑夜模式 圖片亮度調整 (原為透明度改為亮度) */
body.bk-dark-mode-on img {
  opacity: 1;
  filter: brightness(75%);
}
body.bk-dark-mode-on img:hover {
  opacity: 1;
  filter: brightness(90%);
}

/*  按鈕外包裝 */
.bk-DKM-btn-container {
  width: 100%;
  height: 3rem;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}

/* <!-- 
█████████████████████████████████████████████████████████████████████████
/* bk-DKM-animed 動畫處理 基本設定 */

/* 按鈕外圍裝飾 大小由容器內容決定 */
.bk-DKM-animed-outer {
  width: fit-content;
  height: fit-content;
  border-radius: 4rem;
  box-shadow: 0 0 0 3px var(--post-edit-icon-color),
    0 0 4px 4px var(--btn-default-bg);
  background-color: var(--post-edit-icon-color);
}

/* 按鈕大小設定 排版設定*/
.bk-DKM-animed {
  --bk-btns-outer-w: 5rem;
  --bk-btns-outer-h: 1.75rem;
  --bk-circle-size: 1.25rem;
  width: var(--bk-btns-outer-w);
  height: var(--bk-btns-outer-h);
  border-radius: 4rem;
  position: relative;
  display: flex;
  justify-content: space-between;
  box-shadow: inset 0 0 5px 0px rgba(0, 0, 0, 0.5),
    0 0 7px 0px rgba(255, 255, 255, 0.5);
}

/* 按鈕裝飾 內陰影 外陰影 */
.bk-DKM-animed.bk-DKM-dark,
.bk-DKM-animed.bk-DKM-light {
  box-shadow: inset 0 0 5px 0px rgba(0, 0, 0, 0.5),
    inset 0 0 5px 0px rgba(0, 0, 0, 0.5), inset 0 0 14px 0px rgba(0, 0, 0, 0.5),
    0 0 7px 0px rgba(255, 255, 255, 0.5);
}

/* 按鈕內 文字(Font Awesome) 排版*/
.bk-DKM-animed > i {
  position: relative;
  line-height: 2rem;
  color: var(--link-hover-color);
}

/* 按鈕指示器 圓球的容器 */
.bk-DKM-animed > span.bk-DKM-animed-circle {
  position: absolute;
  width: var(--bk-btns-outer-w);
  height: var(--bk-btns-outer-h);
  text-align: center;
  overflow: hidden;
}

/* 按鈕 可點擊部分*/
/* 陽光與星星 裝飾動畫 的容器 */
.bk-DKM-animed > div.bk-DKM-animed-sun,
.bk-DKM-animed > div.bk-DKM-animed-moon {
  width: var(--bk-circle-size);
  height: var(--bk-circle-size);
  margin: 0.25rem;
  z-index: 3;
  cursor: pointer;
}

/* 圓球　偽元素 基礎狀態設定 */
/* before = Mask = 遮罩 = 陰影 */
/* after = Circle = 太陽 = 月亮 */
.bk-DKM-animed > span:before,
.bk-DKM-animed > span:after {
  content: "";
  position: absolute;
  top: calc(50% - calc(var(--bk-circle-size) / 2));
  left: calc(50% - calc(var(--bk-circle-size) / 2));
  width: var(--bk-circle-size);
  height: var(--bk-circle-size);
  border-radius: 50%;
  transition: 0.8s ease-in-out transform 0.4s, 0.6s ease-in-out background-color,
    0.6s ease-in-out opacity 0.6s, 0.8s ease-in-out scale 0.4s;
}

/* bk-DKM-animed 動畫部分 */
/* Mask */
/* 基礎設定 */
.bk-DKM-animed > span:before {
  background-color: var(--post-edit-icon-color);
  opacity: 0;
  scale: 1.125;
  z-index: 2;
}

/* Circle */
/* 基礎設定 */
.bk-DKM-animed > span:after {
  background-color: var(--link-color);
  z-index: 1;
}

/* Mask */
/* bk-DKM-light 啟動時 */
.bk-DKM-animed.bk-DKM-light > span:before {
  transform: translate(0rem, 0rem);
  opacity: 0;
}

/* Circle */
/* bk-DKM-light 啟動時 */
.bk-DKM-animed.bk-DKM-light > span:after {
  scale: 1.125;
  transform: translate(calc(-1rem - (var(--bk-circle-size) / 3)), 0);
}

/* Mask */
/* bk-DKM-dark 啟動時 */
.bk-DKM-animed.bk-DKM-dark > span:before {
  opacity: 1;
  scale: 0.85;
  transform: translate(
    calc(1rem + (var(--bk-circle-size) / 2.4)),
    calc(0rem - (var(--bk-circle-size) / 6))
  );
}

/* Circle */
/* bk-DKM-dark 啟動時 */
.bk-DKM-animed.bk-DKM-dark > span:after {
  transform: translate(calc(1rem + (var(--bk-circle-size) / 2.4)), 0);
}

/* 按鈕內 文字(Font Awesome) 基本設定*/
.bk-DKM-animed > i {
  opacity: 0.2;
  transition: 0.4s ease-in 0s;
  transform: translateY(2px) translateX(1px) rotate(180deg);
}

/* 按鈕內 文字(Font Awesome) 旋轉*/
/* bk-DKM-auto 啟動時 */
.bk-DKM-animed.bk-DKM-auto > i {
  opacity: 1;
  transform: translateY(-2px) translateX(1px) rotate(0deg);
  animation: flicker-4 12s linear infinite both;
}
/* Mask Circle 關閉 */
/* bk-DKM-auto 啟動時 */
.bk-DKM-animed.bk-DKM-auto > span:after,
.bk-DKM-animed.bk-DKM-auto > span:before {
  opacity: 0;
}
/* bk-DKM-animed 結束 */

/* 陽光與星星　偽元素 基礎狀態設定 */
.bk-DKM-animed > div > span {
  position: relative;
  width: var(--bk-circle-size);
  height: var(--bk-circle-size);
  text-align: center;
  overflow: hidden;
}

/* bk-DKM-animed-sun 動畫部分 */
/* Sun Light 陽光*/
/* 基礎設定 */
.bk-DKM-animed div.bk-DKM-animed-sun > span::after,
.bk-DKM-animed div.bk-DKM-animed-sun > span::before {
  content: "";
  position: absolute;
  top: calc(1.25rem - var(--bk-circle-size) / 1);
  left: calc(0.675rem - var(--bk-circle-size) / 1);
  width: var(--bk-circle-size);
  height: var(--bk-circle-size);
  border-radius: 50%;
  transition: all 0s 0.4s;
  background-color: var(--body-bg-color);
  scale: 0;
  opacity: 0;
}

/* 動畫部分 時間設定 */
/* bk-DKM-light 啟動時 */
.bk-DKM-animed.bk-DKM-light div.bk-DKM-animed-sun > span::after,
.bk-DKM-animed.bk-DKM-light div.bk-DKM-animed-sun > span::before {
  transition: 0.4s ease-in background-color 1s, 0.2s ease-in opacity 0s,
    0.2s ease-in scale 1s;
}

/* 內圈實心部分 */
/* bk-DKM-light 啟動時 */
.bk-DKM-animed.bk-DKM-light div.bk-DKM-animed-sun > span::after {
  scale: 0.8;
  opacity: 1;
  box-shadow: 0 0 8px 0px rgb(255, 255, 250), 0 0 8px 0px rgb(255, 255, 250),
    0 0 8px 0px rgb(255, 255, 255), 0 0 8px 0px rgb(255, 255, 255),
    inset 0 0 8px 0px rgb(255, 255, 250), inset 0 0 8px 0px rgb(255, 255, 250);
}

/* 內圈發光部分 */
/* bk-DKM-light 啟動時 */
.bk-DKM-animed.bk-DKM-light div.bk-DKM-animed-sun > span::before {
  scale: 1;
  opacity: 1;
  background-color: var(--link-color);
}
/* bk-DKM-animed-sun 結束 */

/* bk-DKM-animed-moon 動畫部分 */
/* Moon & Star 星星 */
/* 基礎設定 */
.bk-DKM-animed div.bk-DKM-animed-moon > span::after {
  --bk-star-size: 0.625rem;
  font-family: FontAwesome;
  content: "\f005";
  font-size: var(--bk-star-size);
  color: var(--link-color);
  width: var(--bk-circle-size);
  height: var(--bk-circle-size);
  position: absolute;
  left: calc(50% - calc(var(--bk-circle-size) / 2));
}

/* 動畫部分 初始狀態與時間設定 */
.bk-DKM-animed div.bk-DKM-animed-moon > span::after {
  opacity: 0;
  scale: 0.8;
  transform: translate(
    calc(0rem - var(--bk-star-size) / 2),
    calc(-0.5rem - (var(--bk-star-size) / 1))
  );
  transition: 0.8s ease-in-out background-color, 0.6s ease-in-out 0.4s;
}

/* bk-DKM-dark 啟動時 */
.bk-DKM-animed.bk-DKM-dark div.bk-DKM-animed-moon > span::after {
  opacity: 1;
  scale: 1;
  transform: translate(
    calc(0rem - (var(--bk-star-size) / 1.5)),
    calc(0.125rem - (var(--bk-star-size) / 1.5))
  );
}
/* bk-DKM-animed-moon 結束 */

/* 與按鈕互動時的效果 */
.bk-DKM-animed div.bk-DKM-animed-sun:active,
.bk-DKM-animed div.bk-DKM-animed-moon:active,
.bk-DKM-animed div.bk-DKM-animed-sun:active ~ span.bk-DKM-animed-circle,
.bk-DKM-animed div.bk-DKM-animed-moon:active ~ span.bk-DKM-animed-circle {
  scale: 1.05;
  opacity: 0.5;
  transform: translate(0, -0.1rem);
}

/* ----------------------------------------------
 * Generated by Animista on 2024-6-1 13:33:17
 * Licensed under FreeBSD License.
 * See http://animista.net/license for more info. 
 * w: http://animista.net, t: @cssanimista
 * ---------------------------------------------- */

/**
 * ----------------------------------------
 * animation flicker-4
 * ----------------------------------------
 */

@keyframes flicker-4 {
  0%,
  100% {
    opacity: 1;
  }
  31.98% {
    opacity: 1;
  }
  32% {
    opacity: 0;
  }
  32.8% {
    opacity: 0;
  }
  32.82% {
    opacity: 1;
  }
  34.98% {
    opacity: 1;
  }
  35% {
    opacity: 0;
  }
  35.7% {
    opacity: 0;
  }
  35.72% {
    opacity: 1;
  }
  36.98% {
    opacity: 1;
  }
  37% {
    opacity: 0;
  }
  37.6% {
    opacity: 0;
  }
  37.62% {
    opacity: 1;
  }
  67.98% {
    opacity: 1;
  }
  68% {
    opacity: 0;
  }
  68.4% {
    opacity: 0;
  }
  68.42% {
    opacity: 1;
  }
  95.98% {
    opacity: 1;
  }
  96% {
    opacity: 0;
  }
  96.7% {
    opacity: 0;
  }
  96.72% {
    opacity: 1;
  }
  98.98% {
    opacity: 1;
  }
  99% {
    opacity: 0;
  }
  99.6% {
    opacity: 0;
  }
  99.62% {
    opacity: 1;
  }
}

/* 3D 鳥群背景(vanta) 樣式 */
#vanta-js-birds-bg {
  display: flex;
  height: 100lvh;
  width: 100lvw;
  position: fixed;
  inset: 0px;
  z-index: -1;
  opacity: var(--vanta-birds-bg-opacity);
  mix-blend-mode: screen;
  /* filter: blur(2px); */
}

/* 3D 鳥群背景(vanta) 邊緣暗角 */
#vanta-js-birds-overlay {
  display: flex;
  height: 100lvh;
  width: 100lvw;
  position: fixed;
  inset: 0px;
  z-index: -1;
  background: var(--vanta-birds-bg-color);
}

@media (prefers-color-scheme: dark) {
  /* 3D 鳥群背景(vanta) 樣式 黑暗模式*/
  #vanta-js-birds-bg {
    opacity: var(--vanta-birds-bg-opacity);
  }

  /* 3D 鳥群背景(vanta) 邊緣暗角 黑暗模式*/
  #vanta-js-birds-overlay {
    background: var(--vanta-birds-bg-color);
  }
}

@font-face {
  font-family: fa-icon-solid;
  font-style: normal;
  font-weight: 900;
  src: url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/webfonts/fa-solid-900.eot");
  src: url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/webfonts/fa-solid-900.eot?#iefix")
      format("embedded-opentype"),
    url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/webfonts/fa-solid-900.woff2")
      format("woff2"),
    url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/webfonts/fa-solid-900.woff")
      format("woff"),
    url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/webfonts/fa-solid-900.ttf")
      format("truetype"),
    url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/webfonts/fa-solid-900.svg#fontawesome")
      format("svg");
}

.alertbox {
  position: relative;
  padding: 20px 20px 20px 32px;
  margin: 20px 0;
}
.alertbox.alertbox-exclamation {
  border-left: 4px #fc0 solid;
  background-color: rgba(255, 204, 0, 0.2);
}
.alertbox.alertbox-question {
  border-left: 4px #d0f solid;
  background-color: rgba(221, 0, 255, 0.2);
}
.alertbox.alertbox-warning {
  border-left: 4px #e22500 solid;
  background-color: rgba(226, 37, 0, 0.2);
}
.alertbox.alertbox-info {
  border-left: 4px #0088e0 solid;
  background-color: rgba(0, 136, 224, 0.2);
}
.alertbox.alertbox-success {
  border-left: 4px #00bb1c solid;
  background-color: rgba(0, 187, 28, 0.2);
}
.alertbox.alertbox-note {
  border-left: 4px #cdcdcd solid;
  background-color: rgba(205, 205, 205, 0.2);
}
.alertbox::before {
  position: absolute;
  width: 2.5rem;
  height: 2.5rem;
  top: -0.75rem;
  left: -1.25rem;
  display: block;
  border-radius: 50%;
  content: "";
  background: var(--card-bg-color);
  mask-image: linear-gradient(#000 50%, transparent 0);
}
[data-theme="dark"] .alertbox::before {
  background: #333;
}
.alertbox::after {
  position: absolute;
  display: block;
  top: -0.5rem;
  left: -1rem;
  font-family: fa-icon-solid;
  font-size: 2em;
  line-height: 1em;
}
.alertbox.alertbox-exclamation::after {
  color: #fc0;
  content: "\f06a";
}
.alertbox.alertbox-question::after {
  color: #d0f;
  content: "\f059";
}
.alertbox.alertbox-warning::after {
  color: #e22500;
  content: "\f057";
}
.alertbox.alertbox-info::after {
  color: #0088e0;
  content: "\f05a";
}
.alertbox.alertbox-success::after {
  color: #00bb1c;
  content: "\f058";
}
.alertbox.alertbox-note::after {
  color: #cdcdcd;
  content: "\f35a";
}
.alertbox * {
  margin: 0 !important;
}
li > .alertbox {
  margin: 12px;
}
li > .alertbox::before {
  top: -17px;
}

