/* ===== 视觉细节优化 ===== */

/* 滚动条变细 */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: rgba(200, 160, 180, 0.4);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(200, 160, 180, 0.6);
}

/* 选中文字淡粉高亮 */
::selection {
  background: rgba(255, 182, 193, 0.3);
  color: inherit;
}

/* 代码块圆角 + 浅粉背景 */
.entry-content code {
  background: rgba(255, 150, 175, 0.08);
  color: #d4587e;
  padding: 2px 6px;
  border-radius: 3px;
  font-size: 0.9em;
}
.entry-content pre {
  background: #faf5f7;
  border: 1px solid rgba(200, 160, 180, 0.15);
  border-radius: 8px;
  padding: 16px 20px;
  overflow-x: auto;
  line-height: 1.6;
}
.entry-content pre code {
  background: none;
  color: #333;
  padding: 0;
  border-radius: 0;
  font-size: 0.85em;
}

/* 分割线渐变淡出 */
hr {
  border: none;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(255, 150, 175, 0.25), transparent);
  margin: 2em 0;
}

/* 图片圆角 */
.el-image img,
.my-el-image img,
.entry-content img {
  border-radius: 8px;
}

/* ===== 目录侧边栏紧凑优化 ===== */
.toc-list {
  list-style: none !important;
}
.toc-list .toc-list {
  list-style: none !important;
}
.toc .toc-link {
  font-size: 13px;
  margin: 2px 0;
  padding: 2px 4px;
  line-height: 1.4;
}
.toc > .toc-list {
  max-height: 60vh;
}
.toc .toc-list .toc-list {
  padding-inline-start: 16px;
}
.toc .is-active-link {
  padding: 4px 6px !important;
}
