/* ===== Fluid 主题脚注徽章化 ===== */

/* 1. 正文中的脚注引用 → 蓝紫色圆角徽章 */
#board .post-content sup.footnote-ref,
#board .post-content sup.footnote-ref a.footnote-ref {
  display: inline-block;
  min-width: 18px;
  height: 18px;
  line-height: 18px;
  padding: 0 5px;
  margin: 0 2px;
  text-align: center;
  font-size: 11px !important;
  font-weight: bold;
  color: #667eea !important;
  background: rgba(102, 126, 234, 0.12);
  border: 1px solid rgba(102, 126, 234, 0.35);
  border-radius: 9px;
  text-decoration: none !important;
  cursor: pointer;
  transition: all 0.2s ease;
  vertical-align: super;
}
#board .post-content sup.footnote-ref a.footnote-ref:hover {
  background: #667eea;
  color: #ffffff !important;
  box-shadow: 0 2px 6px rgba(102, 126, 234, 0.4);
  transform: translateY(-1px);
}

/* 2. 文末脚注区域整体卡片化 */
#board .post-content section.footnotes {
  margin-top: 2em;
  padding: 14px 18px;
  background: rgba(102, 126, 234, 0.04);
  border: 1px solid rgba(102, 126, 234, 0.15);
  border-radius: 10px;
}
#board .post-content hr.footnotes-sep {
  display: none; /* 隐藏默认分隔线，用卡片边框代替 */
}

/* 3. 脚注列表编号 → 徽章 */
#board .post-content ol.footnotes-list {
  padding-left: 4px;
  list-style: none; /* 去掉默认数字，改用伪元素徽章 */
  counter-reset: fn-badge;
}
#board .post-content li.footnote-item {
  counter-increment: fn-badge;
  margin: 6px 0;
  font-size: 0.9em;
  color: #6b7280;
}
#board .post-content li.footnote-item::before {
  content: counter(fn-badge);
  display: inline-block;
  min-width: 18px;
  height: 18px;
  line-height: 18px;
  padding: 0 5px;
  margin-right: 8px;
  text-align: center;
  font-size: 11px;
  font-weight: bold;
  color: #667eea;
  background: rgba(102, 126, 234, 0.12);
  border: 1px solid rgba(102, 126, 234, 0.35);
  border-radius: 9px;
}

/* 4. 返回引用处的箭头 → 绿色徽章 */
#board .post-content a.footnote-backref {
  display: inline-block;
  min-width: 18px;
  height: 18px;
  line-height: 18px;
  padding: 0 5px;
  margin-left: 6px;
  text-align: center;
  font-size: 11px;
  color: #42b883 !important;
  background: rgba(66, 184, 131, 0.12);
  border: 1px solid rgba(66, 184, 131, 0.35);
  border-radius: 9px;
  text-decoration: none !important;
}
#board .post-content a.footnote-backref:hover {
  background: #42b883;
  color: #ffffff !important;
}

/* 页脚播放器与主题融合 */
#footer-music .aplayer {
  background: rgba(255, 255, 255, 0.75) !important;
  border-radius: 10px !important;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08) !important;
  font-size: 12px !important;
}
#footer-music .aplayer .aplayer-pic {
  height: 60px !important;
  width: 60px !important;
}
#footer-music .aplayer .aplayer-info {
  height: 60px !important;
  padding: 8px 10px !important;
}
#footer-music .aplayer .aplayer-list ol li {
  height: 32px !important;
  line-height: 32px !important;
}

/* 隐藏页脚播放器的歌词区 */
#footer-music .aplayer .aplayer-lrc {
  display: none !important;
  height: 0 !important;
}