/* ============================================================
   澄溪博客模板 · blog.css
   纸白背景 / 墨黑文字 / 朱红强调，标题衬线，正文窄行宽。
   仅服务博客版式；网址收录等隐藏页面沿用 suifeng.css。
   ============================================================ */

:root {
  --bl-main: #b4472f;
  --bl-sub: #d98e5f;
  --bl-ink: #22252a;
  --bl-text: #34383f;
  --bl-muted: #8b9099;
  --bl-line: #ecebe7;
  --bl-bg: #fbfaf7;
  --bl-card: #ffffff;
  --bl-soft: #f4f2ec;
  --bl-radius: 10px;
  --bl-serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", Georgia, "Times New Roman", serif;
  --bl-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

body.bl-body {
  margin: 0;
  padding-top: 64px;
  background: var(--bl-bg);
  color: var(--bl-text);
  font: 15px/1.75 var(--bl-sans);
  -webkit-font-smoothing: antialiased;
}

body.bl-body a { color: inherit; text-decoration: none; }
body.bl-body img { max-width: 100%; }
body.bl-body ::selection { background: rgba(180, 71, 47, .18); }

.bl-main { min-height: 60vh; }

.bl-wrap {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* ---------------- 顶栏 ---------------- */
.bl-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 900;
  height: 64px;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--bl-line);
}
.bl-header-in {
  display: flex;
  align-items: center;
  gap: 26px;
  height: 64px;
}
.bl-logo { display: flex; align-items: center; gap: 10px; flex: none; }
.bl-logo-mark {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border-radius: 9px;
  background: linear-gradient(140deg, var(--bl-sub), var(--bl-main));
  color: #fff;
  font-family: var(--bl-serif);
  font-size: 19px;
  font-weight: 700;
}
.bl-logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.bl-logo-text b { font-family: var(--bl-serif); font-size: 17px; color: var(--bl-ink); letter-spacing: .5px; }
.bl-logo-text i { font-style: normal; font-size: 11px; color: var(--bl-muted); letter-spacing: .8px; }

.bl-nav { display: flex; align-items: center; gap: 4px; flex: none; }
.bl-nav > a,
.bl-nav-item > a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 8px 12px;
  border-radius: 7px;
  font-size: 14px;
  color: #4c5158;
  transition: .18s;
}
.bl-nav > a:hover,
.bl-nav-item > a:hover { color: var(--bl-main); background: var(--bl-soft); }
.bl-nav > a.on,
.bl-nav-item > a.on { color: var(--bl-main); font-weight: 600; }
.bl-caret {
  width: 0; height: 0;
  border: 4px solid transparent;
  border-top-color: currentColor;
  margin-top: 3px;
  opacity: .55;
}
.bl-nav-item { position: relative; }
.bl-drop {
  position: absolute;
  left: 0; top: calc(100% + 8px);
  min-width: 176px;
  padding: 8px;
  background: #fff;
  border: 1px solid var(--bl-line);
  border-radius: 10px;
  box-shadow: 0 14px 34px rgba(24, 28, 34, .12);
  display: none;
  z-index: 20;
}
.bl-nav-item:hover .bl-drop { display: block; }
.bl-drop::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: -10px;
  height: 10px;
}
.bl-drop a {
  display: block;
  padding: 7px 10px;
  border-radius: 6px;
  font-size: 13.5px;
  color: #565b63;
  white-space: nowrap;
}
.bl-drop a:hover { background: var(--bl-soft); color: var(--bl-main); }
.bl-drop a b { font-weight: 600; color: var(--bl-ink); }

.bl-search {
  margin-left: auto;
  display: flex;
  align-items: center;
  width: 216px;
  height: 36px;
  padding: 0 4px 0 12px;
  background: var(--bl-soft);
  border: 1px solid transparent;
  border-radius: 18px;
  transition: .2s;
}
.bl-search:focus-within { background: #fff; border-color: #dcd8cf; }
.bl-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 13px;
  color: var(--bl-ink);
}
.bl-search button {
  width: 28px; height: 28px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--bl-muted);
  cursor: pointer;
  font-size: 13px;
}
.bl-search button:hover { color: var(--bl-main); }

.bl-tools { display: flex; align-items: center; gap: 6px; flex: none; }
.bl-tool-btn {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #555a62;
  font-size: 16px;
  cursor: pointer;
  transition: .18s;
}
.bl-tool-btn:hover { background: var(--bl-soft); color: var(--bl-main); }
.bl-avatar {
  width: 28px; height: 28px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--bl-main);
  color: #fff;
  font-size: 13px;
}
.bl-user { position: relative; }
.bl-user-menu {
  position: absolute;
  right: 0; top: calc(100% + 10px);
  width: 196px;
  padding: 8px;
  background: #fff;
  border: 1px solid var(--bl-line);
  border-radius: 10px;
  box-shadow: 0 14px 34px rgba(24, 28, 34, .12);
  display: none;
  z-index: 30;
}
.bl-user-menu.on { display: block; }
.bl-user-head { padding: 8px 10px 10px; font-size: 12px; color: var(--bl-muted); border-bottom: 1px solid var(--bl-line); margin-bottom: 6px; }
.bl-user-head b { display: block; font-size: 14px; color: var(--bl-ink); margin-bottom: 2px; }
.bl-user-menu > a { display: block; padding: 7px 10px; border-radius: 6px; font-size: 13.5px; }
.bl-user-menu > a:hover { background: var(--bl-soft); color: var(--bl-main); }
.bl-user-acts { display: flex; gap: 8px; padding: 4px 6px 6px; }
.bl-user-acts a {
  flex: 1;
  text-align: center;
  padding: 6px 0;
  border-radius: 6px;
  font-size: 13px;
  background: var(--bl-soft);
}
.bl-user-acts a:first-child { background: var(--bl-main); color: #fff; }
.bl-burger { display: none; font-size: 18px; }

/* 移动端抽屉 */
.bl-mask {
  position: fixed;
  inset: 0;
  background: rgba(20, 22, 26, .42);
  z-index: 950;
  opacity: 0;
  visibility: hidden;
  transition: .22s;
}
.bl-mask.on { opacity: 1; visibility: visible; }
.bl-drawer {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: min(78vw, 320px);
  background: #fff;
  z-index: 960;
  transform: translateX(102%);
  transition: transform .24s ease;
  overflow-y: auto;
  padding-bottom: 30px;
}
.bl-drawer.on { transform: translateX(0); }
.bl-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  border-bottom: 1px solid var(--bl-line);
  font-family: var(--bl-serif);
  font-size: 16px;
}
.bl-drawer-head button { border: 0; background: transparent; font-size: 17px; color: var(--bl-muted); cursor: pointer; }
.bl-drawer-search {
  display: flex;
  gap: 8px;
  padding: 14px 18px 6px;
}
.bl-drawer-search input {
  flex: 1;
  min-width: 0;
  height: 36px;
  padding: 0 12px;
  border: 1px solid var(--bl-line);
  border-radius: 8px;
  background: #faf9f6;
  font-size: 13px;
  outline: 0;
}
.bl-drawer-search button {
  height: 36px;
  padding: 0 14px;
  border: 0;
  border-radius: 8px;
  background: var(--bl-main);
  color: #fff;
  font-size: 13px;
  cursor: pointer;
}
.bl-drawer > a {
  display: block;
  padding: 12px 18px;
  border-bottom: 1px solid #f5f3ee;
  font-size: 14.5px;
}
.bl-drawer > a.sub { padding-left: 32px; font-size: 13.5px; color: #60656d; }
.bl-drawer-group {
  padding: 14px 18px 6px;
  background: #faf9f6;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .6px;
  color: var(--bl-muted);
  border-bottom: 1px solid #f5f3ee;
}

/* ---------------- 公告 ---------------- */
.bl-notice {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 18px 0 0;
  padding: 10px 14px;
  background: #fff8f4;
  border: 1px solid #f3e2d8;
  border-radius: 8px;
  font-size: 13px;
}
.bl-notice-tag {
  flex: none;
  padding: 1px 8px;
  border-radius: 4px;
  background: var(--bl-main);
  color: #fff;
  font-size: 11px;
}
.bl-notice a { color: #7a5347; }
.bl-notice a:hover { color: var(--bl-main); }

/* ---------------- 首页精选 ---------------- */
.bl-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(0, .95fr);
  gap: 22px;
  margin-top: 26px;
}
.bl-featured {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 0;
  background: var(--bl-card);
  border: 1px solid var(--bl-line);
  border-radius: 14px;
  overflow: hidden;
  min-height: 268px;
}
.bl-featured-cover {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100%;
  background: linear-gradient(150deg, #efe9df, #e6ddd0);
  overflow: hidden;
}
.bl-featured-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.bl-featured:hover .bl-featured-cover img { transform: scale(1.03); }
.bl-featured-initial {
  font-family: var(--bl-serif);
  font-size: 68px;
  color: rgba(45, 38, 30, .30);
}
.bl-featured-flag {
  position: absolute;
  left: 12px; top: 12px;
  padding: 3px 9px;
  border-radius: 4px;
  background: var(--bl-main);
  color: #fff;
  font-size: 11px;
  letter-spacing: 1px;
}
.bl-featured-body {
  display: flex;
  flex-direction: column;
  padding: 22px 24px;
}
.bl-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 12px;
  font-size: 12px;
  color: var(--bl-muted);
}
.bl-cat {
  padding: 1px 7px;
  border-radius: 3px;
  background: #f6ede8;
  color: var(--bl-main);
  font-size: 11.5px;
}
a.bl-cat:hover { background: var(--bl-main); color: #fff; }
.bl-featured-title {
  margin: 12px 0 10px;
  font-family: var(--bl-serif);
  font-size: 25px;
  line-height: 1.45;
  font-weight: 700;
  color: var(--bl-ink);
}
.bl-featured-title a:hover { color: var(--bl-main); }
.bl-featured-desc {
  margin: 0 0 14px;
  font-size: 13.5px;
  line-height: 1.8;
  color: #6b7078;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.bl-readmore {
  margin-top: auto;
  font-size: 13px;
  color: var(--bl-main);
  font-weight: 600;
}
.bl-readmore span { transition: .2s; display: inline-block; }
.bl-readmore:hover span { transform: translateX(3px); }

.bl-feature-side {
  background: var(--bl-card);
  border: 1px solid var(--bl-line);
  border-radius: 14px;
  padding: 18px 20px;
}
.bl-feature-side h2 {
  margin: 0 0 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--bl-line);
  font-family: var(--bl-serif);
  font-size: 15px;
  color: var(--bl-ink);
  letter-spacing: 1px;
}
.bl-feature-side ul { margin: 0; padding: 0; list-style: none; }
.bl-feature-side li {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 8px 0;
  border-bottom: 1px dashed #efede7;
  font-size: 13.5px;
}
.bl-feature-side li:last-child { border-bottom: 0; }
.bl-feature-side li a {
  flex: 1;
  min-width: 0;
  color: #42474e;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.bl-feature-side li a:hover { color: var(--bl-main); }
.bl-feature-side li span { flex: none; font-size: 11.5px; color: #a9adb3; }

/* ---------------- 主体两栏 ---------------- */
.bl-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 36px;
  margin: 34px 0 56px;
  align-items: start;
}
.bl-feed { min-width: 0; }
.bl-sec-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding-bottom: 12px;
  margin-bottom: 4px;
  border-bottom: 2px solid var(--bl-ink);
}
.bl-sec-head h2 {
  margin: 0;
  font-family: var(--bl-serif);
  font-size: 19px;
  letter-spacing: 1px;
  color: var(--bl-ink);
}
.bl-sec-head a { font-size: 12.5px; color: var(--bl-muted); }
.bl-sec-head a:hover { color: var(--bl-main); }

.bl-post {
  display: grid;
  grid-template-columns: 232px minmax(0, 1fr);
  gap: 22px;
  padding: 22px 0;
  border-bottom: 1px solid var(--bl-line);
}
.bl-post-cover {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 16 / 10;
  border-radius: 9px;
  background: linear-gradient(150deg, #f1ece3, #e8e0d4);
  overflow: hidden;
}
.bl-post-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s; }
.bl-post:hover .bl-post-cover img { transform: scale(1.04); }
.bl-post-initial { font-family: var(--bl-serif); font-size: 38px; color: rgba(45, 38, 30, .28); }
.bl-post-body { display: flex; flex-direction: column; min-width: 0; }
.bl-post-title {
  margin: 8px 0 6px;
  font-family: var(--bl-serif);
  font-size: 19px;
  line-height: 1.5;
  font-weight: 700;
  color: var(--bl-ink);
}
.bl-post-title a:hover { color: var(--bl-main); }
.bl-post-desc {
  margin: 0 0 10px;
  font-size: 13.5px;
  line-height: 1.8;
  color: #70757d;
}
.bl-post-more { margin-top: auto; font-size: 12.5px; color: var(--bl-main); }
.bl-all-btn {
  display: block;
  margin: 26px auto 0;
  width: 210px;
  padding: 11px 0;
  text-align: center;
  border: 1px solid var(--bl-line);
  border-radius: 999px;
  font-size: 13.5px;
  color: #565b63;
  background: #fff;
  transition: .2s;
}
.bl-all-btn:hover { border-color: var(--bl-main); color: var(--bl-main); }
.bl-empty {
  padding: 60px 0;
  text-align: center;
  color: var(--bl-muted);
  font-size: 14px;
}

/* ---------------- 侧栏 ---------------- */
.bl-side { display: flex; flex-direction: column; gap: 18px; position: sticky; top: 84px; }
.bl-widget {
  background: var(--bl-card);
  border: 1px solid var(--bl-line);
  border-radius: 12px;
  padding: 18px 20px;
}
.bl-widget-title {
  margin: 0 0 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--bl-line);
  font-family: var(--bl-serif);
  font-size: 15px;
  letter-spacing: 1px;
  color: var(--bl-ink);
}
.bl-about { text-align: center; }
.bl-about-logo {
  width: 54px; height: 54px;
  margin: 2px auto 10px;
  display: grid; place-items: center;
  border-radius: 14px;
  background: linear-gradient(140deg, var(--bl-sub), var(--bl-main));
  color: #fff;
  font-family: var(--bl-serif);
  font-size: 24px;
}
.bl-about h3 {
  margin: 0 0 6px;
  font-family: var(--bl-serif);
  font-size: 16px;
  color: var(--bl-ink);
}
.bl-about p { margin: 0 0 12px; font-size: 12.8px; line-height: 1.8; color: #757a82; }
.bl-about-stats {
  display: flex;
  justify-content: center;
  gap: 22px;
  padding: 10px 0;
  border-top: 1px dashed var(--bl-line);
  border-bottom: 1px dashed var(--bl-line);
  font-size: 12px;
  color: var(--bl-muted);
}
.bl-about-stats b { display: block; font-family: var(--bl-serif); font-size: 18px; color: var(--bl-ink); }
.bl-about-more { display: inline-block; margin-top: 12px; font-size: 12.5px; color: var(--bl-main); }
.bl-about-more:hover { text-decoration: underline; }

.bl-rank { margin: 0; padding: 0; list-style: none; }
.bl-rank li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 7px 0;
  font-size: 13.5px;
  line-height: 1.6;
}
.bl-rank-num {
  flex: none;
  width: 18px; height: 18px;
  margin-top: 2px;
  display: grid; place-items: center;
  border-radius: 4px;
  background: #f2f0ea;
  font-size: 11px;
  color: #9a9ea5;
}
.bl-rank-num.hot { background: var(--bl-main); color: #fff; }
.bl-rank a { color: #4a4f57; }
.bl-rank a:hover { color: var(--bl-main); }

.bl-cat-list { display: flex; flex-wrap: wrap; gap: 8px; }
.bl-cat-list a {
  padding: 5px 12px;
  border-radius: 999px;
  background: #f6f4ef;
  font-size: 12.5px;
  color: #5d626a;
  transition: .18s;
}
.bl-cat-list a:hover,
.bl-cat-list a.on { background: var(--bl-main); color: #fff; }

.bl-widget-sub p { margin: 0 0 10px; font-size: 12.8px; color: #777c84; }
.bl-rss {
  display: inline-block;
  padding: 7px 16px;
  border-radius: 6px;
  background: var(--bl-main);
  color: #fff !important;
  font-size: 12.5px;
}
.bl-rss:hover { background: #9c3a26; }

.bl-links {
  margin: -20px 0 40px;
  padding: 14px 18px;
  background: #fff;
  border: 1px solid var(--bl-line);
  border-radius: 10px;
  font-size: 12.5px;
  color: var(--bl-muted);
}
.bl-links a { margin-right: 14px; color: #6a6f77; }
.bl-links a:hover { color: var(--bl-main); }

/* ---------------- 列表页头 / 面包屑 ---------------- */
.bl-crumb {
  padding: 18px 0 0;
  font-size: 12.5px;
  color: #9aa0a7;
}
.bl-crumb a { color: #7c828a; }
.bl-crumb a:hover { color: var(--bl-main); }
.bl-crumb i { margin: 0 7px; font-style: normal; color: #c8c9cb; }

.bl-page-head {
  position: relative;
  margin: 14px 0 22px;
  padding: 22px 24px;
  background: var(--bl-card);
  border: 1px solid var(--bl-line);
  border-radius: 12px;
}
.bl-page-head h1 {
  margin: 0 0 6px;
  font-family: var(--bl-serif);
  font-size: 25px;
  color: var(--bl-ink);
}
.bl-page-head p { margin: 0; font-size: 13px; color: var(--bl-muted); }
.bl-page-act {
  position: absolute;
  right: 22px; top: 50%;
  transform: translateY(-50%);
  padding: 7px 16px;
  border-radius: 999px;
  background: var(--bl-main);
  color: #fff;
  font-size: 12.5px;
}
.bl-page-act:hover { background: #9c3a26; }

/* ---------------- 文章详情 ---------------- */
.bl-art-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 38px;
  margin: 18px 0 60px;
  align-items: start;
}
.bl-article {
  min-width: 0;
  padding: 30px 38px 34px;
  background: var(--bl-card);
  border: 1px solid var(--bl-line);
  border-radius: 14px;
}
.bl-art-head { margin-bottom: 20px; }
.bl-art-head h1 {
  margin: 12px 0 10px;
  font-family: var(--bl-serif);
  font-size: 31px;
  line-height: 1.45;
  color: var(--bl-ink);
  letter-spacing: .3px;
}
.bl-art-lead {
  margin: 0;
  padding-left: 12px;
  border-left: 3px solid #e5d4c9;
  font-size: 14px;
  line-height: 1.85;
  color: #777c84;
}
.bl-art-cover { margin: 4px 0 24px; border-radius: 10px; overflow: hidden; }
.bl-art-cover img { display: block; width: 100%; }
.bl-art-content {
  font-size: 15.5px;
  line-height: 1.95;
  color: #33373d;
  overflow-wrap: break-word;
}
.bl-art-content p { margin: 0 0 1.15em; }
.bl-art-content h2 {
  margin: 1.7em 0 .7em;
  padding-left: 11px;
  border-left: 4px solid var(--bl-main);
  font-family: var(--bl-serif);
  font-size: 21px;
  line-height: 1.5;
  color: var(--bl-ink);
}
.bl-art-content h3 {
  margin: 1.4em 0 .6em;
  font-family: var(--bl-serif);
  font-size: 17.5px;
  color: var(--bl-ink);
}
.bl-art-content a { color: var(--bl-main); border-bottom: 1px solid rgba(180, 71, 47, .28); }
.bl-art-content img { border-radius: 8px; height: auto; }
.bl-art-content blockquote {
  margin: 1.3em 0;
  padding: 12px 18px;
  background: #faf8f3;
  border-left: 3px solid #dfd5c8;
  color: #6a6f76;
  font-size: 14.5px;
}
.bl-art-content pre {
  padding: 14px 16px;
  border-radius: 8px;
  background: #2b2e33;
  color: #e8e6e1;
  overflow: auto;
  font-size: 13px;
  line-height: 1.7;
}
.bl-art-content code { font-family: Consolas, Menlo, monospace; font-size: .92em; }
.bl-art-content ul, .bl-art-content ol { padding-left: 1.4em; }
.bl-art-content table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.bl-art-content th, .bl-art-content td { padding: 8px 10px; border: 1px solid var(--bl-line); }
.bl-art-content th { background: #faf8f3; }
.bl-art-source { margin-top: 22px; font-size: 12px; color: #a2a7ad; }
.bl-art-source a { color: #8d9299; border: 0; }
.bl-art-foot {
  display: flex;
  justify-content: space-between;
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid var(--bl-line);
  font-size: 13px;
}
.bl-art-foot a { color: var(--bl-main); }

/* 插件动作 / 上下篇 */
.bl-article .dtr-prevnext,
.bl-article .prevnext { display: flex; gap: 12px; margin-top: 18px; }
.bl-article .dtr-prevnext a,
.bl-article .prevnext a {
  flex: 1;
  padding: 12px 14px;
  border: 1px solid var(--bl-line);
  border-radius: 8px;
  font-size: 13px;
  background: #fff;
}
.bl-article .dtr-prevnext a:hover,
.bl-article .prevnext a:hover { border-color: var(--bl-main); color: var(--bl-main); }

/* 分页（复用 pager 片段） */
.bl-body .sf-pager { display: flex; justify-content: center; gap: 6px; margin: 26px 0 0; flex-wrap: wrap; }
.bl-body .sf-pager a,
.bl-body .sf-pager span {
  min-width: 34px;
  height: 34px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--bl-line);
  border-radius: 7px;
  background: #fff;
  font-size: 13px;
  color: #5b6068;
}
.bl-body .sf-pager a:hover { border-color: var(--bl-main); color: var(--bl-main); }
.bl-body .sf-pager .on,
.bl-body .sf-pager .active,
.bl-body .sf-pager .cur { background: var(--bl-main); border-color: var(--bl-main); color: #fff; }

/* ---------------- 页脚 ---------------- */
.bl-footer {
  margin-top: 30px;
  padding-top: 34px;
  background: #26282d;
  color: #b9bcc1;
}
.bl-footer-in {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) 1fr 1fr;
  gap: 34px;
  padding-bottom: 26px;
}
.bl-footer-logo {
  display: inline-block;
  margin-bottom: 10px;
  font-family: var(--bl-serif);
  font-size: 19px;
  color: #f3f1ec;
  letter-spacing: 1px;
}
.bl-footer-brand p { margin: 0 0 8px; font-size: 12.8px; line-height: 1.85; color: #9b9fa6; max-width: 380px; }
.bl-footer-note { color: #7f848c !important; font-size: 12px !important; }
.bl-footer-col h3 {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 600;
  color: #e9e6e0;
  letter-spacing: 1px;
}
.bl-footer-col a { display: block; padding: 4px 0; font-size: 12.8px; color: #9b9fa6; }
.bl-footer-col a:hover { color: #fff; }
.bl-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 20px;
  border-top: 1px solid #35383e;
  font-size: 12px;
  color: #7f848c;
}
.bl-footer-bottom a { color: #9ea2a9; }
.bl-entry { position: relative; }
.bl-entry summary {
  list-style: none;
  cursor: pointer;
  padding: 2px 8px;
  border-radius: 4px;
  color: #6f747c;
  font-size: 11.5px;
  transition: .2s;
}
.bl-entry summary::-webkit-details-marker { display: none; }
.bl-entry summary:hover { color: #c9ccd1; background: #31343a; }
.bl-entry-panel {
  position: absolute;
  right: 0; bottom: calc(100% + 10px);
  display: flex;
  gap: 4px 14px;
  flex-wrap: wrap;
  width: 250px;
  padding: 12px 14px;
  background: #2e3137;
  border: 1px solid #3c4047;
  border-radius: 8px;
  box-shadow: 0 10px 26px rgba(0, 0, 0, .3);
}
.bl-entry-panel a { font-size: 12px; color: #b3b7be; }
.bl-entry-panel a:hover { color: #fff; }

/* ---------------- 隐藏页（网址大全等）配色对齐 ---------------- */
.bl-body .sf-rank-hero {
  background: linear-gradient(135deg, #3a3e45 0%, #22252a 100%);
  border-radius: 14px;
}
.bl-body .sf-tag.on {
  background: var(--bl-main);
  border-color: var(--bl-main);
  color: #fff;
}
.bl-body .sf-panel { border-radius: 12px; }

/* ---------------- 响应式 ---------------- */
@media (max-width: 1020px) {
  .bl-nav { display: none; }
  .bl-burger { display: grid; }
  .bl-feature { grid-template-columns: 1fr; }
  .bl-layout,
  .bl-art-layout { grid-template-columns: 1fr; gap: 26px; }
  .bl-side { position: static; flex-direction: row; flex-wrap: wrap; }
  .bl-side .bl-widget { flex: 1 1 260px; }
  .bl-article { padding: 24px 22px 28px; }
  .bl-footer-in { grid-template-columns: 1fr 1fr; }
  .bl-footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 780px) {
  .bl-header, .bl-header-in { height: 58px; }
  body.bl-body { padding-top: 58px; }
  .bl-search { display: none; }
  .bl-logo-text i { display: none; }
  .bl-featured { grid-template-columns: 1fr; }
  .bl-featured-cover { aspect-ratio: 16 / 9; min-height: 0; }
  .bl-featured-title { font-size: 21px; }
  .bl-post { grid-template-columns: 132px minmax(0, 1fr); gap: 14px; padding: 18px 0; }
  .bl-post-title { font-size: 16.5px; margin-top: 6px; }
  .bl-post-desc { -webkit-line-clamp: 2; display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; }
  .bl-post-more { display: none; }
  .bl-art-head h1 { font-size: 24px; }
  .bl-art-content { font-size: 15px; }
  .bl-page-head { padding: 18px 18px; }
  .bl-page-head h1 { font-size: 21px; }
  .bl-page-act { position: static; transform: none; display: inline-block; margin-top: 10px; }
  .bl-footer-in { gap: 22px; }
  .bl-footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 520px) {
  .bl-wrap { padding: 0 14px; }
  .bl-feature { margin-top: 18px; }
  .bl-post { grid-template-columns: 118px minmax(0, 1fr); gap: 12px; padding: 16px 0; }
  .bl-post-cover { aspect-ratio: 1 / 1; }
  .bl-post-title { font-size: 15.5px; }
  .bl-post-desc { -webkit-line-clamp: 2; }
  .bl-article { padding: 20px 16px 24px; border-radius: 10px; }
  .bl-art-head h1 { font-size: 22px; }
  .bl-side { flex-direction: column; }
  .bl-side .bl-widget { flex: 1 1 auto; }
  .bl-footer-in { grid-template-columns: 1fr 1fr; }
  .bl-entry-panel { right: auto; left: 0; width: min(78vw, 250px); }
}
