@charset "utf-8";
html{height: 100%;}
h1,h2,h3,h4,h5{
    color: black;
}

li {
  line-height: 2.2;
}
/*图片边距*/
img {
  margin: 10px;
}
/*代码段样式*/
pre {
  background-color: #f2f2f2;
  border: 1px solid #ccc;
  border-radius: 5px;
  padding: 10px;
  margin: 10px 0;
  font-family: "Courier New", monospace;
  font-size: 14px;
  line-height: 1.5;
  overflow-x: auto; 
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
}
/*表格样式*/
.mdui-table {
  border-collapse: collapse;
  width: 100%;
}
.mdui-table th,
.mdui-table td {
  border: 1px solid #ccc;
  padding: 8px;
  text-align: center;
}
.mdui-table th::after,
.mdui-table td::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  right: -1px;
  width: 1px;
  background-color: #ccc; 
}

/*a标签样式*/
.container a {
  text-decoration: none;
  color: inherit;
  font-family: Arial, sans-serif;
  color: #007bff;
  padding: 5px 10px;
  border-radius: 5px;
  background-color: #f2f2f2;
}
.container a:hover {
  color: #ff4500;
}

/*文章标题样式*/
.mdui-typo-title, .mdui-typo-title-opacity {
    font-size: 1em; 
}

/* === 文章目录侧栏 (2026-09-05 重排) === */
.mdui-container { max-width: 1560px; }
#main-drawer {
    width: 300px;
    background: #fbfcfd;
    border-right: 1px solid #e8ecef;
    padding: 8px 0;
}
@media (min-width: 1024px) {
    .mdui-drawer-body-left { padding-left: 300px; }
    #main-drawer { transform: none !important; left: 0; }
}
#main-drawer .toc-item {
    min-height: 0;
    padding: 0 16px;
    height: auto;
    line-height: 1.5;
}
#main-drawer .toc-item .mdui-list-item-content {
    padding: 7px 0;
    font-size: 13px;
    color: #4b5563;
    white-space: normal;
    text-overflow: unset;
    overflow: visible;
}
/* h1 = 文章标题 */
#main-drawer .toc-h1 .mdui-list-item-content {
    font-size: 14px;
    font-weight: 700;
    color: #0f766e;
}
/* h2 = 分区 */
#main-drawer .toc-h2 {
    border-left: 3px solid #99f6e4;
    margin: 2px 0;
}
#main-drawer .toc-h2:hover {
    background: #f0fdfa;
    border-left-color: #0d9488;
}
#main-drawer .toc-h2 .mdui-list-item-icon {
    color: #0d9488;
    font-size: 18px;
    margin-top: 8px;
}
/* h3 = 子节,缩进+弱化+藏图标 */
#main-drawer .toc-h3 {
    padding-left: 36px;
}
#main-drawer .toc-h3 .mdui-list-item-icon { display: none; }
#main-drawer .toc-h3 .mdui-list-item-content {
    font-size: 12px;
    color: #6b7280;
    padding: 4px 0;
}
/* 文章开始/结尾两项 */
#main-drawer > .mdui-list-item:not(.toc-item) .mdui-list-item-content {
    font-size: 13px;
    font-weight: 600;
    color: #0f766e;
}
/* === 目录侧栏结束 === */
/* ================= Geek Terminal Dark (2026-09-08) ================= */
html, body{ background:#060a09 !important; color:#b8c9c0 !important; }
body{ font-family:'JetBrains Mono', ui-monospace, 'PingFang SC', 'Microsoft YaHei', monospace !important; }
/* 极客等宽: 正文/标题/TOC/工具栏全量覆盖(不碰图标字体) */
article, article p, article li, article td, article th, article blockquote, article em, article strong, article a,
.mdui-typo, .mdui-list, .mdui-list-item-content, .mdui-drawer, .mdui-toolbar, .mdui-btn, .mdui-typo-headline, .mdui-typo-title, .mdui-tooltip{
  font-family:'JetBrains Mono', ui-monospace, 'PingFang SC', 'Microsoft YaHei', monospace !important;
}
.material-icons, .iconfont, .fa{ font-family:'Material Icons','iconfont','FontAwesome' !important; }
h1,h2,h3,h4,h5{ color:#3df5a6 !important; font-family:inherit; text-shadow:0 0 14px rgba(61,245,166,.25); }
h1:before,h2:before{ content:"## "; color:#2c5b46; text-shadow:none; }
p,li,td,div{ }
.container{ color:#b8c9c0; }
/* 顶栏 */
.appbar, .mdui-appbar, .mdui-toolbar, .mdui-color-theme,
.mdui-theme-primary-indigo .mdui-color-theme, body .mdui-color-theme{
  background:rgba(6,12,10,.92) !important;
  backdrop-filter:blur(14px);
  border-bottom:1px solid rgba(61,245,166,.18) !important;
  box-shadow:0 2px 20px rgba(0,0,0,.5) !important;
}
.mdui-toolbar a, .mdui-typo-headline, .mdui-typo-title{ color:#7ba591 !important; font-family:inherit; }
.mdui-toolbar a:hover{ color:#3df5a6 !important; text-shadow:0 0 12px rgba(61,245,166,.5); }
.mdui-toolbar .mdui-btn .mdui-icon{ color:#7ba591; }
.mdui-toolbar .mdui-btn:hover .mdui-icon{ color:#3df5a6; }
/* TOC 侧栏 */
#main-drawer{
  background:#070d0b !important;
  border-right:1px solid rgba(61,245,166,.16) !important;
}
#main-drawer .toc-item .mdui-list-item-content{ color:#7d948a !important; }
#main-drawer .toc-item:hover .mdui-list-item-content{ color:#bfe9d6 !important; }
#main-drawer .toc-h1 .mdui-list-item-content{ color:#3df5a6 !important; }
#main-drawer .toc-h2{ border-left:3px solid rgba(61,245,166,.25) !important; }
#main-drawer .toc-h2:hover{ background:rgba(61,245,166,.07) !important; border-left-color:#3df5a6 !important; }
#main-drawer .toc-h2 .mdui-list-item-icon{ color:#3df5a6 !important; }
#main-drawer .toc-h3 .mdui-list-item-content{ color:#6b8378 !important; }
#main-drawer > .mdui-list-item:not(.toc-item) .mdui-list-item-content{ color:#3df5a6 !important; }
#main-drawer .mdui-list-item-icon{ color:#7d948a !important; }
/* 代码块 */
pre{
  background:#0a120e !important; border:1px solid rgba(61,245,166,.22) !important;
  border-radius:6px !important; box-shadow:inset 0 2px 12px rgba(0,0,0,.5) !important;
  color:#9fd8bd !important; font-family:'JetBrains Mono',monospace !important;
}
code{ font-family:'JetBrains Mono',monospace !important; }
:not(pre)>code{ background:rgba(61,245,166,.10); color:#3df5a6; padding:1px 6px; border-radius:4px; }
code[class*=language-],pre[class*=language-]{ color:#9fd8bd !important; background:transparent !important; text-shadow:none !important; }
/* 表格 */
.mdui-table th,.mdui-table td{ border:1px solid rgba(61,245,166,.20) !important; color:#b8c9c0; }
.mdui-table{ background:transparent !important; }
.mdui-table-hoverable tbody tr:hover{ background:rgba(61,245,166,.06) !important; }
.mdui-table th{ background:rgba(61,245,166,.07); color:#3df5a6 !important; }
.mdui-table th::after,.mdui-table td::after{ background-color:rgba(61,245,166,.20) !important; }
/* 链接 */
.container a{ color:#3df5a6 !important; background:rgba(61,245,166,.07) !important; border-radius:4px; font-family:inherit; }
.container a:hover{ color:#7dffce !important; text-shadow:0 0 10px rgba(61,245,166,.5); }
/* 引用/分割线/图片 */
blockquote{ border-left:3px solid rgba(61,245,166,.4) !important; background:rgba(61,245,166,.05); color:#8aa89a; padding:10px 16px; border-radius:0 6px 6px 0; }
hr{ border-color:rgba(61,245,166,.15) !important; }
img{ border-radius:6px; box-shadow:0 0 0 1px rgba(61,245,166,.15); }
/* 底部按钮 */
.mdui-btn{ font-family:inherit !important; border-radius:6px !important; }
.mdui-btn.mdui-color-theme{
  background:rgba(61,245,166,.12) !important; color:#3df5a6 !important;
  border:1px solid rgba(61,245,166,.4) !important; text-shadow:0 0 10px rgba(61,245,166,.35);
}
.mdui-btn:not(.mdui-color-theme){ color:#7d948a !important; border:1px solid rgba(61,245,166,.18); }
/* 滚动条/选择 */
::-webkit-scrollbar{ width:9px; height:9px; }
::-webkit-scrollbar-track{ background:#060a09; }
::-webkit-scrollbar-thumb{ background:#14261e; border:1px solid rgba(61,245,166,.15); }
::selection{ background:rgba(61,245,166,.30); color:#eafff5; }
/*prism 代码上色*/
code[class*=language-],pre[class*=language-]{color:#000;background:0 0;text-shadow:0 1px #fff;font-family:Consolas,Monaco,'Andale Mono','Ubuntu Mono',monospace;font-size:1em;text-align:left;white-space:pre;word-spacing:normal;word-break:normal;word-wrap:normal;line-height:1.5;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-hyphens:none;-moz-hyphens:none;-ms-hyphens:none;hyphens:none}code[class*=language-] ::-moz-selection,code[class*=language-]::-moz-selection,pre[class*=language-] ::-moz-selection,pre[class*=language-]::-moz-selection{text-shadow:none;background:#b3d4fc}code[class*=language-] ::selection,code[class*=language-]::selection,pre[class*=language-] ::selection,pre[class*=language-]::selection{text-shadow:none;background:#b3d4fc}@media print{code[class*=language-],pre[class*=language-]{text-shadow:none}}pre[class*=language-]{padding:1em;margin:.5em 0;overflow:auto}:not(pre)>code[class*=language-],pre[class*=language-]{background:#f5f2f0}:not(pre)>code[class*=language-]{padding:.1em;border-radius:.3em;white-space:normal}.token.cdata,.token.comment,.token.doctype,.token.prolog{color:#708090}.token.punctuation{color:#999}.token.namespace{opacity:.7}.token.boolean,.token.constant,.token.deleted,.token.number,.token.property,.token.symbol,.token.tag{color:#905}.token.attr-name,.token.builtin,.token.char,.token.inserted,.token.selector,.token.string{color:#690}.language-css .token.string,.style .token.string,.token.entity,.token.operator,.token.url{color:#9a6e3a;background:hsla(0,0%,100%,.5)}.token.atrule,.token.attr-value,.token.keyword{color:#07a}.token.class-name,.token.function{color:#dd4a68}.token.important,.token.regex,.token.variable{color:#e90}.token.bold,.token.important{font-weight:700}.token.italic{font-style:italic}.token.entity{cursor:help}
/* premium pass 2026-09-13 */
::selection{background:rgba(61,245,166,.24);color:#eafff3}
html{scroll-behavior:smooth}
:focus-visible{outline:2px solid rgba(61,245,166,.55);outline-offset:2px;border-radius:4px}
.wl-article-inner a{text-underline-offset:3px}
#wl-progress{position:fixed;top:0;left:0;height:2px;width:0;z-index:9999;background:linear-gradient(90deg,#1f7a54,#3df5a6);box-shadow:0 0 10px rgba(61,245,166,.55);transition:width .12s linear;pointer-events:none}
.wl-article-inner h2{margin-top:2.1em}
.wl-article-inner img{transition:transform .5s cubic-bezier(.16,1,.3,1)}
.wl-reveal{opacity:0;transform:translateY(12px);filter:blur(4px)}
.wl-reveal.wl-in{opacity:1;transform:none;filter:none;transition:opacity .6s cubic-bezier(.16,1,.3,1),transform .6s cubic-bezier(.16,1,.3,1),filter .6s cubic-bezier(.16,1,.3,1)}
@media (prefers-reduced-motion:reduce){.wl-reveal{opacity:1!important;transform:none!important;filter:none!important}#wl-progress{display:none}}
