@charset "UTF-8";
/* 全局排版样式 */
/* 基本字体设置 */
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  font-size: 16px;
  line-height: 1.6;
  color: #333;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* 全局标题样式 */
h1, h2, h3, h4, h5, h6 {
  margin-top: 1.5em;
  margin-bottom: 0.5em;
  font-weight: 600;
  line-height: 1.25;
}

h1 {
  font-size: 2em;
}

h2 {
  font-size: 1.75em;
}

h3 {
  font-size: 1.5em;
}

h4 {
  font-size: 1.25em;
}

h5 {
  font-size: 1.1em;
}

h6 {
  font-size: 1em;
}

/* 段落间距 */
p {
  margin-top: 0;
  margin-bottom: 1.25em;
}

/* 链接样式 */
a {
  color: #0366d6;
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  text-decoration: underline;
  color: #0078ff;
}

/* 列表样式 */
ul, ol {
  padding-left: 1.5em;
  margin-bottom: 1.25em;
}

li {
  margin-bottom: 0.5em;
}

/* 代码样式 */
code, pre {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
}

/* 行内代码 */
:not(pre) > code {
  padding: 0.2em 0.4em;
  background-color: rgba(27, 31, 35, 0.05);
  border-radius: 3px;
}

/* 块级代码 */
pre {
  padding: 1em;
  overflow: auto;
  line-height: 1.45;
  background-color: #f6f8fa;
  border-radius: 3px;
}

/* 引用块 */
blockquote {
  margin: 0 0 1.25em;
  padding: 0 1em;
  color: #6a737d;
  border-left: 0.25em solid #dfe2e5;
}

/* 水平线 */
hr {
  height: 0.25em;
  padding: 0;
  margin: 1.5em 0;
  background-color: #e1e4e8;
  border: 0;
}

/* 表格样式 */
table {
  display: block;
  width: 100%;
  overflow: auto;
  margin-bottom: 1.25em;
  border-spacing: 0;
  border-collapse: collapse;
}

table th,
table td {
  padding: 0.4em 0.8em;
  border: 1px solid #dfe2e5;
}

table tr {
  background-color: #fff;
  border-top: 1px solid #c6cbd1;
}

table tr:nth-child(2n) {
  background-color: #f6f8fa;
}

/* 深色模式调整 */
@media (prefers-color-scheme: dark) {
  body {
    color: #e6e6e6;
    background-color: #1f1f1f;
  }

  a {
    color: #58a6ff;
  }

  a:hover {
    color: #79b8ff;
  }

  :not(pre) > code {
    background-color: rgba(240, 246, 252, 0.15);
    color: #e2e2e2;
  }

  pre {
    background-color: #2a2a2a;
    color: #e6e6e6;
  }

  blockquote {
    color: #a0a0a0;
    border-left-color: #4a4a4a;
  }

  hr {
    background-color: #4a4a4a;
  }

  table tr {
    background-color: #1f1f1f;
    border-top-color: #4a4a4a;
  }

  table tr:nth-child(2n) {
    background-color: #2a2a2a;
  }

  table th,
  table td {
    border-color: #4a4a4a;
  }
}
th,
tbody {
  --background-color: #f5f5f5;
}

@media (prefers-color-scheme: dark) {
  body,
  a,
  th,
  tbody {
    --main-text-color: white;
    --main-background-color: #222;
    --background-color: #444;
  }
}
* {
  margin: 0;
  padding: 0;
  font-family: Courier New, Courier, monospace;
}

html,
body {
  height: 100%;
  background-color: var(--main-background-color);
  color: var(--main-text-color);
}

a {
  text-decoration: none;
  color: var(--main-text-color);
}

a:hover {
  color: #aaa;
}

blockquote {
  margin: 15px;
  padding-left: 15px;
  border-left: 2px solid #888;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  line-height: normal;
  margin: 5px 0;
  text-indent: 0;
}

h2 {
  font-size: 1.3em;
}

hr {
  margin: 10px;
  border: 1px solid #eee;
}

img {
  max-width: 700px;
}

ol,
ul {
  margin-left: 35px;
}

p {
  margin-bottom: 5px;
}

table {
  width: 100%;
}

tbody tr:hover {
  background-color: var(--background-color);
}

td {
  padding: 8px;
  border-bottom: 1px solid #ddd;
}

th {
  padding: 8px;
  border-bottom: 1px solid #ccc;
  background: var(--background-color);
}

a.reversefootnote {
  display: none;
}

.container-wrapper {
  width: 100%;
  margin: 0 auto;
  max-width: 1100px;
  padding: 0 1rem;
  box-sizing: border-box;
}

.container-header {
  width: 100%;
  padding: 1rem 0;
  border-bottom: solid 1px #aaa;
  overflow: hidden;
  margin-bottom: 2rem;
}

.container-main {
  width: 100%;
  margin: 2rem auto;
  overflow: hidden;
  min-height: calc(100vh - 280px);
  line-height: 1.6;
  font-size: 16px;
}

.container-footer {
  padding: 1.5rem 0;
  border-top: solid 1px #aaa;
  overflow: hidden;
  margin-top: 3rem;
  color: #777;
  font-size: 0.9rem;
}

/* 媒体查询：在小屏幕上恢复原来的宽度 */
@media (max-width: 1024px) {
  .container-wrapper {
    max-width: 800px;
  }

  .container-main {
    margin: 1rem auto;
  }
}
/* 深色模式适配 */
@media (prefers-color-scheme: dark) {
  .container-wrapper {
    color: #e6e6e6;
  }

  .container-header {
    border-bottom-color: #444;
  }

  .container-footer {
    border-top-color: #444;
    color: #999;
  }
}
.float-left {
  float: left;
}

.float-right {
  float: right;
}

.float-center {
  text-align: center;
}

.header-info {
  display: block;
  position: relative;
  margin: 10px;
}

.header-info-name {
  font-size: 2em;
  font-weight: bold;
}

.header-info-desc {
  font-size: 0.9em;
}

.header-main-nav {
  margin: 0;
  list-style: none;
}

.header-main-nav-item {
  display: block;
  position: relative;
  float: left;
  line-height: 24px;
  margin: 0 10px;
}

.footer-copyright {
  overflow: hidden;
}

.footer-copyright-text {
  display: block;
  position: relative;
  font-size: 14px;
}

.page-title {
  text-align: center;
}

.page-author {
  display: none;
}

.page-content p {
  line-height: 20px;
}

.page-content img {
  display: block;
  margin: 10px auto;
}

.container-page {
  max-width: calc(100% - 280px);
  width: 100%;
  box-sizing: border-box;
}
@media (max-width: 1024px) {
  .container-page {
    max-width: 100%;
  }
}

.posts-list-item {
  display: block;
  position: relative;
  line-height: 24px;
  margin: 5px 0;
  overflow: hidden;
}

.posts-list-item-name {
  width: calc(100% - 100px);
  font-weight: 300;
}

.list-pagination {
  margin: 20px 0 10px 0;
  text-align: center;
}

/* 文章列表页面容器 */
.container-posts {
  padding-left: 20px;
  padding-right: 20px;
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
  margin: 0;
}

/* 在小屏幕上恢复全宽 */
@media (max-width: 1024px) {
  .container-posts {
    max-width: 100%;
  }
}
.post-title {
  text-align: center;
  margin-bottom: 2rem;
}
.post-title h1 {
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1.3;
}

.post-content {
  overflow-x: auto;
}
.post-content kbd, .post-content sub, .post-content sup, .post-content i, .post-content em, .post-content strong, .post-content b, .post-content del, .post-content mark, .post-content ins, .post-content u {
  display: inline;
}
.post-content p {
  line-height: 1.8;
  margin-bottom: 1.5rem;
  font-size: 1rem;
}
.post-content h1, .post-content h2, .post-content h3, .post-content h4, .post-content h5, .post-content h6 {
  margin-top: 2.5rem;
  margin-bottom: 1.2rem;
  line-height: 1.4;
  font-weight: 600;
  color: #333;
  position: relative;
}
.post-content h1:hover .heading-anchor, .post-content h2:hover .heading-anchor, .post-content h3:hover .heading-anchor, .post-content h4:hover .heading-anchor, .post-content h5:hover .heading-anchor, .post-content h6:hover .heading-anchor {
  opacity: 1;
}
.post-content h1.highlight-heading, .post-content h2.highlight-heading, .post-content h3.highlight-heading, .post-content h4.highlight-heading, .post-content h5.highlight-heading, .post-content h6.highlight-heading {
  animation: heading-highlight 1.5s ease-out;
}
.post-content h1 .heading-anchor, .post-content h2 .heading-anchor, .post-content h3 .heading-anchor, .post-content h4 .heading-anchor, .post-content h5 .heading-anchor, .post-content h6 .heading-anchor {
  position: absolute;
  left: -1.5rem;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0;
  transition: opacity 0.2s ease;
}
.post-content h1 .heading-anchor svg, .post-content h2 .heading-anchor svg, .post-content h3 .heading-anchor svg, .post-content h4 .heading-anchor svg, .post-content h5 .heading-anchor svg, .post-content h6 .heading-anchor svg {
  fill: var(--text-color-light);
  vertical-align: middle;
}
.post-content h1 .heading-anchor:hover svg, .post-content h2 .heading-anchor:hover svg, .post-content h3 .heading-anchor:hover svg, .post-content h4 .heading-anchor:hover svg, .post-content h5 .heading-anchor:hover svg, .post-content h6 .heading-anchor:hover svg {
  fill: var(--link-color);
}
.post-content h1 {
  font-size: 2rem;
  border-bottom: 1px solid #eaecef;
  padding-bottom: 0.3em;
}
.post-content h2 {
  font-size: 1.75rem;
  border-bottom: 1px solid #eaecef;
  padding-bottom: 0.3em;
}
.post-content h3 {
  font-size: 1.5rem;
}
.post-content h4 {
  font-size: 1.25rem;
}
.post-content h5 {
  font-size: 1.1rem;
}
.post-content h6 {
  font-size: 1rem;
  color: #666;
}
.post-content ul, .post-content ol {
  margin-bottom: 1.5rem;
  padding-left: 2rem;
}
.post-content ul li, .post-content ol li {
  line-height: 1.7;
  margin-bottom: 0.5rem;
}
.post-content blockquote {
  border-left: 4px solid #dfe2e5;
  padding: 0 1rem;
  margin: 0 0 1.5rem;
  color: #6a737d;
}
.post-content blockquote p {
  margin-bottom: 0.75rem;
}
.post-content hr {
  height: 2px;
  background-color: #eaecef;
  border: none;
  margin: 2rem 0;
}
.post-content code {
  padding: 0.2em 0.4em;
  font-size: 0.9em;
  border-radius: 3px;
}
.post-content pre {
  margin-bottom: 1.5rem;
}

@media (prefers-color-scheme: dark) {
  .post-content h1, .post-content h2, .post-content h3, .post-content h4, .post-content h5 {
    color: #e6e6e6;
    border-bottom-color: #444;
  }
  .post-content h6 {
    color: #b0b0b0;
  }
  .post-content blockquote {
    border-left-color: #4a4a4a;
    color: #a0a0a0;
  }
  .post-content hr {
    background-color: #444;
  }

  h1 .heading-anchor svg, h2 .heading-anchor svg, h3 .heading-anchor svg, h4 .heading-anchor svg, h5 .heading-anchor svg, h6 .heading-anchor svg {
    fill: var(--text-color-light-dark);
  }
  h1 .heading-anchor:hover svg, h2 .heading-anchor:hover svg, h3 .heading-anchor:hover svg, h4 .heading-anchor:hover svg, h5 .heading-anchor:hover svg, h6 .heading-anchor:hover svg {
    fill: var(--link-color-dark);
  }

  @keyframes heading-highlight {
    0% {
      background-color: rgba(255, 255, 0, 0.2);
    }
    100% {
      background-color: transparent;
    }
  }
}
.post-content img {
  display: block;
  margin: 1.5rem auto;
  max-width: 100%;
  height: auto;
}

.post-info {
  line-height: 1.6;
  margin: 2rem 0;
  border-top: 1px solid #eaecef;
  padding-top: 1rem;
  font-size: 0.9rem;
  color: #666;
}

.post-category,
.post-tag {
  margin: 0 5px;
  display: inline-block;
  background-color: #f1f8ff;
  border-radius: 3px;
  padding: 0.2em 0.5em;
  font-size: 0.85rem;
  color: #0366d6;
}
.post-category:hover,
.post-tag:hover {
  background-color: #deeffe;
  text-decoration: none;
}

@media (prefers-color-scheme: dark) {
  .post-info {
    border-top-color: #444;
    color: #aaa;
  }

  .post-category,
  .post-tag {
    background-color: #2a343e;
    color: #79b8ff;
  }
  .post-category:hover,
  .post-tag:hover {
    background-color: #274059;
  }
}
@keyframes heading-highlight {
  0% {
    background-color: rgba(255, 255, 0, 0.4);
  }
  100% {
    background-color: transparent;
  }
}
.highlight {
  --border-color: #ccc;
  --box-background-color: #eee;
  --box-shadow: rgba(0, 0, 0, 0.1);
  --text-color: #333;
}

.highlighter-rouge {
  --background-color-rouge: #eee;
  --text-color-rouge: #333;
}

@media (prefers-color-scheme: dark) {
  .highlight {
    --border-color: darkgrey;
    --box-background-color: #111;
    --box-shadow: #888;
    --text-color: #e6e6e6;
  }

  .highlighter-rouge {
    --background-color-rouge: #444;
    --text-color-rouge: #e6e6e6;
  }
}
.highlight > pre,
pre.highlight {
  line-height: 1.5;
  margin: 10px 0;
  padding: 8px;
  border: 1px solid var(--border-color);
  overflow-x: auto;
  font-size: 14px;
  text-indent: 0px;
  background-color: var(--box-background-color);
  box-shadow: 3px 3px var(--box-shadow);
  color: var(--text-color);
}

.highlighter-rouge {
  font-size: 14px;
  background-color: var(--background-color-rouge);
  color: var(--text-color-rouge);
}

/* 隐藏行号 */
.highlight table td.gutter,
.highlight table td.rouge-gutter,
.highlight .lineno {
  display: none !important;
}

@media screen and (max-width: 768px) {
  /* reset default styles */
  img {
    width: 100%;
    max-width: 300px;
  }

  /* Posts list */
  .list-pagination {
    margin: 10px 0 5px 0;
  }

  /* Footer */
  .footer-copyright .float-left,
  .footer-copyright .float-right {
    float: none;
  }
}
.print-post-author {
  display: none;
}

@media print {
  /* Header */
  .container-header {
    display: none;
  }

  /* Footer */
  .container-footer {
    display: none;
  }

  /* Post */
  .post-title {
    text-align: center;
  }

  .post-author {
    display: block;
    text-align: center;
  }

  .post-info {
    display: none;
  }

  /* Highlight */
  pre.highlight {
    overflow-x: hidden;
    word-wrap: break-word;
    white-space: pre-wrap;
  }
}
.task-list-item {
  list-style: none;
}

.task-list-item-checkbox {
  position: relative;
  right: 15px;
}

code.language-mermaid {
  display: block;
  text-align: center;
}

/* 代码块容器样式 */
.code-container {
  position: relative;
  overflow: visible;
  margin-bottom: 1.5em;
}

/* 复制按钮样式 */
.copy-button {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  padding: 0.25rem 0.5rem;
  font-size: 0.75rem;
  line-height: 1;
  background-color: rgba(255, 255, 255, 0.1);
  color: #e2e2e2;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
  opacity: 0;
}

/* 鼠标悬停时显示按钮 */
.code-container:hover .copy-button {
  opacity: 1;
}

/* 按钮悬停和点击效果 */
.copy-button:hover {
  background-color: rgba(255, 255, 255, 0.2);
  color: white;
}

.copy-button:active {
  background-color: rgba(255, 255, 255, 0.3);
  transform: scale(0.98);
}

/* 为了适应深色/浅色主题 */
@media (prefers-color-scheme: light) {
  .copy-button {
    background-color: rgba(0, 0, 0, 0.05);
    color: #333;
    border-color: rgba(0, 0, 0, 0.1);
  }

  .copy-button:hover {
    background-color: rgba(0, 0, 0, 0.1);
    color: black;
  }
}
/* 移动设备上始终显示按钮 */
@media (max-width: 768px) {
  .copy-button {
    opacity: 0.8;
    top: 0.3rem;
    right: 0.3rem;
    padding: 0.2rem 0.4rem;
    font-size: 0.7rem;
  }
}
/* 确保代码区域有足够的右侧边距，以防按钮遮挡代码 */
pre.highlight code {
  padding-right: 2.5rem;
  display: block;
}

/* 包含文章和目录的外层容器 */
.post-with-toc-container {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  position: relative;
  max-width: 100%;
}
@media (max-width: 1024px) {
  .post-with-toc-container {
    flex-direction: column;
  }
}

/* 确保文章容器宽度合适 */
.post-with-toc-container .container-post {
  flex: 1;
  max-width: calc(100% - 280px);
  width: 100%;
  box-sizing: border-box;
}
@media (max-width: 1024px) {
  .post-with-toc-container .container-post {
    max-width: 100%;
  }
}

/* 目录占位符，用于保持文章布局 */
.toc-placeholder {
  width: 260px;
  margin-left: 20px;
}
@media (max-width: 1024px) {
  .toc-placeholder {
    display: none;
  }
}

/* 目录容器样式 - 使用固定定位 */
.toc-container {
  position: fixed;
  /* 固定定位，始终保持在视口内 */
  right: calc((100vw - min(1100px, 95vw)) / 2);
  /* 动态计算右侧位置 */
  top: 9rem;
  max-height: calc(100vh - 14rem);
  /* 最大高度为视口高度减去上下边距 */
  overflow-y: auto;
  width: 260px;
  padding: 1.2rem;
  border-left: 1px solid rgba(0, 0, 0, 0.1);
  font-size: 0.9rem;
  box-sizing: border-box;
  z-index: 100;
  /* 确保目录始终位于其他内容之上 */
  background-color: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(5px);
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.toc-container:hover {
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}
@media (max-width: 1024px) {
  .toc-container {
    display: none;
    /* 在小屏幕上隐藏固定目录 */
  }
}
.toc-container::-webkit-scrollbar {
  width: 4px;
}
.toc-container::-webkit-scrollbar-track {
  background: #f1f1f1;
}
.toc-container::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 4px;
}
.toc-container::-webkit-scrollbar-thumb:hover {
  background: #555;
}

.toc-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #333;
  position: sticky;
  top: 0;
  background-color: inherit;
  padding: 0.25rem 0 0.75rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  z-index: 2;
}

.toc-list {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0 0;
}
.toc-list ol, .toc-list ul {
  padding-left: 1.2rem;
  list-style: none;
  margin: 0.5rem 0;
  border-left: 1px solid rgba(0, 0, 0, 0.05);
}
.toc-list li {
  margin-bottom: 0.6rem;
  line-height: 1.4;
  position: relative;
}
.toc-list li a {
  color: #555;
  text-decoration: none;
  display: block;
  padding: 0.25rem 0.5rem;
  transition: all 0.2s ease;
  border-radius: 4px;
}
.toc-list li a:hover {
  color: #000;
  background-color: rgba(0, 0, 0, 0.03);
  text-decoration: none;
}
.toc-list li.active > a {
  color: #0366d6;
  font-weight: 500;
  background-color: rgba(3, 102, 214, 0.05);
  border-left: 2px solid #0366d6;
  margin-left: -2px;
}

/* 适应深色模式 */
@media (prefers-color-scheme: dark) {
  .toc-container {
    border-left-color: rgba(255, 255, 255, 0.1);
    background-color: rgba(30, 30, 30, 0.97);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  }
  .toc-container:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  }
  .toc-container::-webkit-scrollbar-track {
    background: #2d2d2d;
  }
  .toc-container::-webkit-scrollbar-thumb {
    background: #666;
  }
  .toc-container::-webkit-scrollbar-thumb:hover {
    background: #888;
  }

  .toc-title {
    color: #eee;
    border-bottom-color: rgba(255, 255, 255, 0.1);
  }

  .toc-list li a {
    color: #bbb;
  }
  .toc-list li a:hover {
    color: #fff;
    border-bottom-color: #fff;
  }
  .toc-list li.active > a {
    color: #4dabf7;
  }
}
/* 首页容器样式，与文章页面保持一致 */
.sidebar-placeholder {
  width: 260px;
  margin-left: 20px;
}
@media (max-width: 1024px) {
  .sidebar-placeholder {
    display: none;
  }
}

/* 首页布局与文章页面一致 */
.homepage-container {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  position: relative;
  max-width: 100%;
}
@media (max-width: 1024px) {
  .homepage-container {
    flex-direction: column;
  }
}

/* 代码块样式调整 */
/* 隐藏行号 */
.highlight .lineno {
  display: none !important;
}

.highlight .table-wrapper {
  border-spacing: 0;
  margin: 0;
  padding: 0;
  width: 100%;
}

/* 移除行号背景和边框 */
.highlight .gutter {
  display: none !important;
}

/* 移除源代码前面的额外空间 */
.highlight .code {
  padding-left: 0 !important;
  border-left: 0 !important;
}

/* 确保高亮代码块宽度占满容器 */
.highlight pre.highlight {
  width: 100%;
  box-sizing: border-box;
}

/* Markdown 元素样式 */
/* 键盘按键样式 */
kbd {
  display: inline-block;
  margin: 0 0.1em;
  padding: 0.1em 0.6em;
  font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
  font-size: 11px;
  line-height: 1.4;
  color: #242729;
  text-shadow: 0 1px 0 #FFF;
  background-color: #e1e3e5;
  border: 1px solid #adb3b9;
  border-radius: 3px;
  box-shadow: 0 1px 0 rgba(12, 13, 14, 0.2), 0 0 0 2px #FFF inset;
  white-space: nowrap;
  vertical-align: middle;
}

/* 深色模式下的样式 */
@media (prefers-color-scheme: dark) {
  kbd {
    color: #d4d4d4;
    text-shadow: 0 1px 0 #000;
    background-color: #3a3a3a;
    border-color: #5a5a5a;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.2), 0 0 0 2px #2d2d2d inset;
  }
}
/* 代码块内的 kbd 标签样式 */
pre code kbd {
  font-size: inherit;
  font-family: inherit;
  padding: 0.1em 0.3em;
}

/* 替代方案：为用户定义一个类，如果HTML标签不起作用 */
.kbd {
  display: inline-block;
  margin: 0 0.1em;
  padding: 0.1em 0.6em;
  font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
  font-size: 11px;
  line-height: 1.4;
  color: #242729;
  text-shadow: 0 1px 0 #FFF;
  background-color: #e1e3e5;
  border: 1px solid #adb3b9;
  border-radius: 3px;
  box-shadow: 0 1px 0 rgba(12, 13, 14, 0.2), 0 0 0 2px #FFF inset;
  white-space: nowrap;
  vertical-align: middle;
}

@media (prefers-color-scheme: dark) {
  .kbd {
    color: #d4d4d4;
    text-shadow: 0 1px 0 #000;
    background-color: #3a3a3a;
    border-color: #5a5a5a;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.2), 0 0 0 2px #2d2d2d inset;
  }
}
/* 添加全局样式 */
html {
  scrollbar-gutter: stable;
}
