/* 全局背景 */
@import url('https://cdn.jsdelivr.net/npm/lxgw-wenkai-webfont@1.1.0/style.css');

/* 修改主色调 */
:root {
  --main-color: #2e62ff;
}
body {
  background-color: var(--global-bg);
}
/* 文章卡片圆角与阴影 */
.post-card {
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
}

/* 封面图片圆角 */
.post-card .post-cover img {
  border-radius: var(--border-radius) var(--border-radius) 0 0;
}

.post-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-thumb {
  background: #c1c7cd;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #a0a6ad;
}

::selection {
  background: var(--main-color);
  color: #fff;
}
/* 针对 Firefox 的兼容写法 */
* {
  scrollbar-width: thin;          /* 让滚动条变细 */
  scrollbar-color: #ccc transparent; /* 滑块灰色，轨道透明 */
}