/* 全站统一悬浮按钮组：首页 / 副页 / 静态页共用，改样式只改这一处
   配合 js/floating.js（副页与静态页）与 js/app.js（首页）使用，参数必须一致 */
#footer-tools{position:fixed;right:16px;bottom:20px;z-index:999;display:flex;flex-direction:column;gap:8px;align-items:center;transition:transform .35s cubic-bezier(.2,.8,.3,1);will-change:transform}
#footer-tools.collapsed{transform:translateX(calc(100% + 24px))}
#footer-tools>a,#footer-tools>button{width:40px;height:40px;padding:0;margin:0!important;border:none;border-radius:50%;display:flex;align-items:center;justify-content:center;background:var(--bg-card,#fff);color:var(--text-primary,#334155);box-shadow:0 2px 8px rgba(15,23,42,.15);text-decoration:none;cursor:pointer;transition:background .2s,color .2s,transform .2s}
@media (hover:hover){#footer-tools>a:hover,#footer-tools>button:hover{color:#f1404b;transform:translateY(-1px)}}
#footer-tools .iconfont{font-size:17px;line-height:1}
#footer-tools .mode-ico{font-size:17px}
#footer-tools>a svg{width:18px;height:18px;display:block}
/* 回顶：默认不显示，滚动超过 400px 才出现（js 加 .on） */
#footer-tools .go-up{display:none}
#footer-tools .go-up.on{display:flex !important}
body.night #footer-tools>a,body.night #footer-tools>button,.io-black-mode #footer-tools>a,.io-black-mode #footer-tools>button{background:var(--bg-card,#1e293b);color:var(--text-primary,#cbd5e1)}
/* 二维码弹层（微信 / 公众号） */
.jx-qr-pop{position:fixed;z-index:1000;display:none;background:var(--bg-card,#fff);border:1px solid rgba(15,23,42,.08);border-radius:12px;padding:8px;box-shadow:0 8px 24px rgba(15,23,42,.18)}
.jx-qr-pop-title{font-size:13px;color:var(--text-secondary,#475569);text-align:center;margin-bottom:6px}
.jx-qr-pop img{width:150px;height:150px;object-fit:contain;display:block;border-radius:8px;background:#fff}
body.night .jx-qr-pop,.io-black-mode .jx-qr-pop{background:#1e293b;border-color:#334155}
body.night .jx-qr-pop-title,.io-black-mode .jx-qr-pop-title{color:#94a3b8}
/* 点击反馈统一：子页面没引 app.css，系统蓝色高亮只能在这里兜住；
   统一改为 0.9 缩放 + 按压阴影，首页/副页/静态页手感一致 */
/* 全局兜底：subpage 没引 app.css，链接/按钮/卡片点击时的系统蓝色高亮在这里一次性关掉 */
*,*::before,*::after{-webkit-tap-highlight-color:transparent!important}
a,button,input,select,textarea,label{-webkit-tap-highlight-color:transparent!important;-webkit-touch-callout:none;outline:none!important}
#footer-tools,#footer-tools>a,#footer-tools>button{-webkit-tap-highlight-color:transparent!important;-webkit-touch-callout:none;outline:none!important;user-select:none}
#footer-tools>a,#footer-tools>button{transition:background .18s,color .18s,transform .18s,box-shadow .18s}
#footer-tools>a:active,#footer-tools>button:active{transform:scale(.9);background:#e2e8f0;box-shadow:0 1px 4px rgba(15,23,42,.16)}
body.night #footer-tools>a:active,body.night #footer-tools>button:active,
.io-black-mode #footer-tools>a:active,.io-black-mode #footer-tools>button:active{background:#334155}
@media (hover:none){#footer-tools>a:hover,#footer-tools>button:hover{color:inherit;transform:none}}
@media (max-width:767px){#footer-tools{right:10px;bottom:calc(20px + env(safe-area-inset-bottom,0px))}}
@media (prefers-reduced-motion:reduce){#footer-tools{transition:none}}
