/* ===== 页脚固定在视口底部 ===== */
.page-footer.footnote {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  margin: 0;
  padding: 0.6rem 1rem;
  background: var(--card);
  border-top: 1px solid var(--block-border);
  font-size: 0.82rem;
  color: var(--text-p3);
}

/* ===== 页脚信息一行排列 ===== */
.footer-info {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
}

.footer-item {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  padding: 0 0.9rem;
}

.footer-item a:hover {
  text-decoration: underline !important;
  opacity: 0.8;
}

.footer-divider {
  width: 1px;
  height: 12px;
  background: var(--block-border);
  flex-shrink: 0;
}

/* 移动端：窄屏自动换行，去掉分隔线 */
@media (max-width: 640px) {
  .footer-info {
    flex-direction: column;
    gap: 0.2rem;
  }
  .footer-divider {
    display: none;
  }
  .footer-item {
    padding: 0;
  }
}

/* 防止内容被固定footer遮挡 */
body {
  padding-bottom: 50px;
}
