/* 全站统一 footer —— 严格以 msc 首页 footer 前两行为唯一参照（首页除外）
   要点：透明背景(透出页面水印)、字号/字重/字距与首页一致、随主题(var)自适应 */
.footer {
  width: 100%;
  box-sizing: border-box;
  background: transparent !important;   /* 不盖水印，随页面背景（明/暗）自适应 */
  border: none !important;
  text-align: center;
  padding: 32px 40px;
  line-height: 1.6;
}

.footer-brand {
  font-size: 14px;
  font-weight: 500;
  color: #666666;            /* 与首页 footer-brand 字面一致 */
  margin-bottom: 6px;
}

.footer-copy {
  font-size: 12px;
  color: #666666;            /* 与首页 footer-copy 字面一致 */
  opacity: 0.7;
}

/* 暗色模式：与首页 --text-secondary(#888) 一致，随 body.dark 自适应 */
body.dark .footer-brand,
body.dark .footer-copy {
  color: #888888;
}

/* 确保 footer 落在 body 底部（SPA 动态插入时） */
.footer:last-child {
  margin-top: auto;
}

@media (max-width: 768px) {
  .footer {
    padding: 24px 20px;
  }
}

/* 版本号行 —— 与首页/chat 页 footer 一致 */
.footer-version {
  margin-top: 8px;
  font-size: 9px;
  font-weight: 500;
  color: #666666;
  opacity: 0.5;
}

body.dark .footer-version {
  color: #888888;
}

@media (max-width: 768px) {
  .footer-version {
    font-size: 8px;
  }
}
