


@font-face {
  font-family: 'Noto Serif SC'; /* 你给字体起的名字 */
  src: url('/noto-serif-sc-v35-chinese-simplified_latin-regular.woff2') format('woff2'); /* 路径必须准确 */
  font-weight: normal;
  font-style: normal;
  font-display: swap; /* 性能核心：字体加载前先显示系统字体，防止白屏 */
}












body 
{
    width: 86%;
    max-width: 800px;
    margin: 100px auto 30px !important;
    
    font-family:  "Noto Serif SC", serif;
    font-size: 16px;
    cursor: default;
}
::selection
{
    background-color: #000;
    color: white;
}




/* 高雅列表：极简、对齐、秩序感 */

/* 通用列表重置 */
.article-content ul, 
.article-content ol {
  padding-left: 0;
  margin: 2rem 0;
  list-style: none; /* 去除默认符号 */
}

.article-content li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
  color: #333;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* 无序列表：使用极细的水平短线 (Em Dash) 代替圆点 */
.article-content ul > li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.75rem; /* 垂直居中于第一行文字 */
  width: 0.6rem;
  height: 1px;
  background-color: #000;
  transition: width 0.3s ease;
}

/* 有序列表：使用带有衬线感的古雅数字，并配以极细斜杠 */
.article-content ol {
  counter-reset: custom-counter;
}

.article-content ol > li {
  counter-increment: custom-counter;
}

.article-content ol > li::before {
  content: counter(custom-counter, decimal-leading-zero) " /";
  position: absolute;
  left: 0;
  font-family: "Georgia", serif; /* 衬线体数字更具高级感 */
  font-size: 0.75rem;
  font-weight: 300;
  color: #999;
  letter-spacing: 1px;
}

/* 嵌套列表：进一步缩进并淡化处理，保持视觉呼吸感 */
.article-content li > ul,
.article-content li > ol {
  margin: 0.8rem 0 0.5rem 0.5rem;
  padding-left: 1rem;
  border-left: 1px solid #eee; /* 极淡的引导线 */
}

.article-content li > ul li::before {
  width: 0.3rem; /* 嵌套层级短线变短 */
  background-color: #999;
}






/* 高雅比例 - 纯粹字号控制 */

.article-content h2 {
  font-size: 2rem;      /* 32px - 核心视觉点 */
  margin: 2.5rem 0 1.2rem;
}

.article-content h3 {
  font-size: 1.5rem;    /* 24px - 章节引导 */
  margin: 2rem 0 1rem;
}

.article-content h4 {
  font-size: 1.25rem;   /* 20px - 小节区分 */
  margin: 1.5rem 0 0.8rem;
}

.article-content h5 {
  font-size: 1rem;      /* 16px - 与正文同号，靠字重(Bold)区分 */
  margin: 1.2rem 0 0.6rem;
}

/* 统一字重，确保黑白灰阶的纯净 */
.article-content h2, 
.article-content h3, 
.article-content h4, 
.article-content h5 {
  font-weight: 700;
  color: #000;
  line-height: 1.3;
}








.article-content > p
{
    line-height: 1.7em;
    margin: 20px 0;
}

.article-content blockquote
{
    border-left: 2px solid #000;
    padding-left: calc(1em - 1px);
}

.article-content em 
{
    border-bottom: 1px solid black;
    font-style: normal;
}





/* 定义淡入并向上微移的动画 */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(15px); /* 从下方15px处开始 */
  }
  to {
    opacity: 1;
    transform: translateY(0);    /* 回到原位 */
  }
}


/* 如果你想让列表项也有顺序淡出的“流体感”，可以加这一段 */
.article-content > * {
  animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* 简单的延迟效果：让段落和标题逐个显现 */
.article-content > *:nth-child(1) { animation-delay: 0.1s; }
.article-content > *:nth-child(2) { animation-delay: 0.2s; }
.article-content > *:nth-child(3) { animation-delay: 0.3s; }
.article-content > *:nth-child(n+4) { animation-delay: 0.4s; }


















  .neobrutalism-toc ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
  }
  
  .neobrutalism-toc li ul {
    padding-left: calc(1em - 2px) !important;
    margin: 0.25rem 0 !important;
    border-left: 2px solid #000;
  }

  .neobrutalism-toc li {
    margin: 0.5rem 0 !important;
  }

  .neobrutalism-toc a {
    display: block;
    color: black !important;
    text-decoration: none;
    padding: 2px 0;
  }

  .neobrutalism-toc a:hover {
    text-decoration: underline !important;
  }
  /* 强制按钮在目录打开时呈现被按下的状态 */
  .toc-active {
    transform: translate(4px, 4px) !important;
    box-shadow: none !important;
    background-color: #fde047 !important; /* 强制背景变黄 (tailwind yellow-300) */
  }

  /* Hugo 目录默认样式 */
  .neobrutalism-toc ul { list-style: none !important; padding: 0 !important; margin: 0 !important; }
  .neobrutalism-toc li ul { padding-left: 1.5rem !important; margin: 0.25rem 0 !important; border-left: 2px solid #000; }
  .neobrutalism-toc li { margin: 0.5rem 0 !important; }
  .neobrutalism-toc a { display: block; color: black !important; text-decoration: none; padding: 2px 0; }
  .neobrutalism-toc a:hover { text-decoration: underline !important; }













p code 
{
  background-color: #000000;
  color: white;
  border-radius: 4px ;
  padding: 4px;
}







p a 
{
  color: #d6b925;
  font-weight: bold;
}



html {
  scroll-behavior: smooth;
}