@view-transition{navigation:auto}::view-transition-old(gallery-art),::view-transition-new(gallery-art){animation-duration:.62s;animation-timing-function:cubic-bezier(.22,.68,.22,1)}
.site-footer{--line:#2c313b;--ink:#f2f1ef;--ink-2:#a9b0bb;--ink-3:#767d89;--brand:#faca2a;--ease:cubic-bezier(.22,.61,.36,1)}
.site-footer{border-top:1px solid rgba(255,255,255,.05);background:rgba(17,18,22,.7);position:relative;z-index:2}
/* 水平内边距写进 .foot-in 自身：详情页只抽 FOOTER-CSS 区间，.wrap 的 padding 在那之外，抽不到就会贴边 */
.foot-in{padding-top:48px;padding-bottom:40px;display:grid;
  grid-template-columns:1fr 320px 1fr;align-items:flex-start;width:100%}
.foot-brand{justify-self:start;max-width:320px;min-width:0}
.foot-nav{justify-self:center;min-width:0}
.foot-svc{justify-self:end;max-width:320px;min-width:0}
.site-footer .wrap{max-width:1440px;margin-left:auto;margin-right:auto;
  padding-left:32px;padding-right:32px;box-sizing:border-box}
.foot-in h3{margin:-2px 0 16px;font-size:17px;font-weight:600;letter-spacing:.01em;color:rgba(242,241,239,.96)}
.foot-in p{margin:0 0 16px;font-size:15px;line-height:1.8;color:#c3c9d3}
.foot-in a{color:rgba(255,255,255,.7);transition:color .18s var(--ease)}
.foot-in a:hover{color:#fff}
/* 品牌介绍限宽 320px，避免长行拉满整列；pretty 防止末行只剩两三个字 */
.foot-brand p{max-width:320px;text-wrap:pretty}
.foot-head{display:flex;align-items:center;gap:11px;margin-bottom:12px}
.foot-head img{height:38px;width:auto;display:block}
.foot-name{margin:0;font-size:19px;font-weight:700;letter-spacing:.01em;color:#f2f1ef;white-space:nowrap}
.foot-tagline{margin:0 0 12px;font-size:16px;line-height:1.6;color:#e3e7ec}
/* 服务说明限宽 300px，让它自然折成 2-3 行，而不是一行拉满 */
.foot-svc p{max-width:300px}
.foot-svc .foot-links a{text-decoration:underline;text-underline-offset:3px;
  text-decoration-color:rgba(211,216,223,.45)}
.foot-svc .foot-links a:hover{text-decoration-color:var(--brand)}
.foot-links{list-style:none;margin:0;padding:0;display:grid;gap:12px 24px}
.foot-links.two-col{grid-template-columns:repeat(2,max-content);gap:16px 40px;justify-content:center}
.foot-links a{font-size:15px;line-height:1.45;display:inline-block;padding:2px 0}
.foot-bottom{border-top:1px solid rgba(255,255,255,.05);padding-top:22px;padding-bottom:38px;
  text-align:center;font-size:13px;line-height:2;color:#a9b0bb}
.foot-bottom p{margin:0}
/* 老站的四行式法定信息：公司+ICP / 公安 / 地址 / 友链，逐行居中 */
.foot-bottom .foot-row{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;
  gap:2px 22px;margin:0 0 2px}
.foot-bottom .foot-row:last-child{margin-bottom:0}
.foot-bottom a{color:inherit;transition:color .18s var(--ease)}
.foot-bottom a:hover{color:#fff}
.foot-police{display:inline-flex;align-items:center;gap:6px}
.foot-police svg{flex:none;opacity:.85}
.foot-mail{margin:0 0 18px;font-size:13px;line-height:1.7;color:#a9b0bb;overflow-wrap:anywhere}
.foot-mail a{color:rgba(255,255,255,.7)}
.foot-mail a:hover{color:#fff}
/* 页脚渐显：滚动到接近底部时才淡入。图片尚未加载完、页面高度偏短时，
   页脚不会抢在首屏出现。用滚动驱动动画，无 JS 定时器；不支持或系统偏好减少动态时直接显示。 */
@supports (animation-timeline: view()){
  @media (prefers-reduced-motion:no-preference){
    .site-footer{animation:foot-reveal linear both;animation-timeline:view();animation-range:entry 0% entry 100%}
  }
}
/* from 不取 0：即使滚动进度停在起点，页脚也只是半透明而不会整块消失 */
@keyframes foot-reveal{from{opacity:.12;transform:translate3d(0,16px,0)}to{opacity:1;transform:none}}
@media (max-width:900px){.foot-in{grid-template-columns:1fr 1fr;gap:36px 28px}
  .foot-brand{grid-column:1/-1;max-width:none}}
@media (max-width:640px){.foot-in{grid-template-columns:1fr;gap:32px}
  .foot-brand,.foot-nav,.foot-svc{justify-self:start;max-width:none}
  .foot-links.two-col{justify-content:start}
  .foot-bottom{padding-bottom:36px}}
/* 全站 .wrap 在 820px 下被置为 padding:0 16px，会连页脚的纵向内边距一起清掉；
   这里用 .site-footer 前缀提高特异性补回，横向仍交给 .wrap 的 16px。 */
@media (max-width:820px){
  .site-footer .foot-in{padding:44px 16px 32px}
  .site-footer .foot-bottom{padding:16px 16px 36px}
}
