footer.unified-footer{margin:0;padding:42px 0 30px;border-top:1px solid #e9ded1;background:#f7f3ec;color:#71685f;font:14px/1.7 -apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;text-align:left}
.unified-footer *{box-sizing:border-box}
footer.unified-footer div{max-width:none}
.unified-footer-inner{width:min(100%,1620px);margin:0 auto;padding:0 32px}
.unified-footer-top,.unified-footer-bottom{display:flex;align-items:center;justify-content:space-between;gap:20px}
.unified-footer-brand{display:inline-flex;align-items:center;gap:10px;color:#241d18!important;font-size:22px;font-weight:800;text-decoration:none!important;white-space:nowrap}
.unified-footer-brand img{display:block;width:38px;height:38px;object-fit:contain}
.unified-footer nav{display:flex;align-items:center;flex-wrap:wrap;gap:10px 28px;margin:0;padding:0;font-size:14px}
.unified-footer a{color:#71685f;text-decoration:none}
.unified-footer a:hover{color:#e65c31}
.unified-footer-company{margin:28px 0 30px!important;color:#82786e;font-size:13px;line-height:1.8}
.unified-footer-bottom{padding-top:20px;border-top:1px solid #e4d8ca;color:#82786e;font-size:13px}
.unified-footer-bottom a{white-space:nowrap}
:root[data-theme=dark] footer.unified-footer{background:#241c18;border-color:#4a3930;color:#bdaea1}
:root[data-theme=dark] .unified-footer-brand{color:#fff9f1!important}
:root[data-theme=dark] .unified-footer a,:root[data-theme=dark] .unified-footer-company,:root[data-theme=dark] .unified-footer-bottom{color:#bdaea1}
:root[data-theme=dark] .unified-footer-bottom{border-color:#4a3930}
/* 开放 API 文档页深色时也会有 data-theme=dark（见该页 <head> 的同步脚本），说明块要跟着变深 */
:root[data-theme=dark] .api-doc-meta{background:#2b211c;border-color:#4a3930;color:#bdaea1}
:root[data-theme=dark] .api-doc-meta a{color:#ff9562}
.api-doc-meta{margin:50px 0 32px;padding:18px 20px;border:1px solid #e9ded1;border-radius:14px;background:#faf7f2;color:#71685f;font-size:13px;line-height:1.7}
.api-doc-meta p{margin:5px 0}

/* ===========================================================
   手机端页脚（2026-11-13）
   品牌一行；协议链接摊成 44px 高的行列表（沿用站内 .service-links 的分隔线写法）；
   主体信息与备案号各自成行，底部留出 safe-area。
   =========================================================== */
@media(max-width:700px){
  footer.unified-footer{
    padding:30px 0 calc(24px + env(safe-area-inset-bottom,0px));
    font-size:13px;
  }
  .unified-footer-inner{
    padding-left:max(16px,env(safe-area-inset-left,0px));
    padding-right:max(16px,env(safe-area-inset-right,0px));
  }
  .unified-footer-top{display:block}
  .unified-footer-brand{min-height:44px;font-size:19px;gap:9px}
  .unified-footer-brand img{width:32px;height:32px}

  .unified-footer nav{
    display:block;margin:14px 0 0;font-size:13.5px;
    border-top:1px solid #e4d8ca;
  }
  .unified-footer nav a{
    display:flex;align-items:center;justify-content:space-between;
    min-height:44px;padding:4px 0;
    border-bottom:1px solid #e4d8ca;
    color:#5f564e;font-weight:600;
  }
  .unified-footer nav a:after{content:"›";color:#b7a899;font-size:17px;font-weight:400;padding-left:12px}

  .unified-footer-company{
    margin:18px 0 0!important;font-size:12px;line-height:1.75;
    overflow-wrap:anywhere;
  }
  .unified-footer-bottom{
    display:block;margin-top:18px;padding-top:16px;font-size:12px;line-height:1.75;
  }
  .unified-footer-bottom span{display:block;overflow-wrap:anywhere}
  .unified-footer-bottom a{display:inline-flex;align-items:center;min-height:44px;white-space:nowrap}
  /* 开放 API 文档页脚里的说明块链接 */
  .api-doc-meta a{display:inline-block;min-height:30px}

  :root[data-theme=dark] .unified-footer nav,
  :root[data-theme=dark] .unified-footer nav a{border-color:#4a3930}
  :root[data-theme=dark] .unified-footer nav a{color:#d6c4b4}
  :root[data-theme=dark] .unified-footer nav a:after{color:#8a7466}

  .api-doc-meta{margin:34px 0 24px;padding:15px 16px;font-size:12.5px;border-radius:12px}
}

/* 平板/折叠屏（701–900）页脚仍是横排，但链接点击区补到 44px */
@media(min-width:701px) and (max-width:900px){
  .unified-footer nav a,.unified-footer-bottom a{display:inline-flex;align-items:center;min-height:44px}
  footer.unified-footer{padding-bottom:calc(30px + env(safe-area-inset-bottom,0px))}
}
