/* ============================================================
   手机版统一样式（2026-10-23 重写，去除重复规则）
   ============================================================ */
*{margin:0;padding:0;box-sizing:border-box;-webkit-tap-highlight-color:transparent}

body{font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Hiragino Sans GB","Microsoft YaHei",sans-serif;
     background:#f2f3f5;color:#333;font-size:15px;line-height:1.75;padding-bottom:76px}

/* 顶部导航 */
.header{position:sticky;top:0;z-index:20;height:48px;display:flex;align-items:center;justify-content:center;
        background:linear-gradient(180deg,#1f3a5f,#24456f);color:#fff;font-size:17px;font-weight:600;
        letter-spacing:1px;box-shadow:0 1px 6px rgba(0,0,0,.12)}
.header .back{position:absolute;left:10px;top:0;height:48px;width:44px;display:flex;align-items:center;
              color:#fff;text-decoration:none;font-size:20px}

/* 文章卡片区 */
.post{background:#fff;margin:10px 12px;border-radius:10px;padding:18px 16px;box-shadow:0 1px 4px rgba(0,0,0,.04)}
.post h1{font-size:20px;color:#1f2d3d;line-height:1.5;letter-spacing:.5px;margin-bottom:12px;font-weight:700}
.pmeta{font-size:12.5px;color:#9aa3b0;padding-bottom:12px;border-bottom:1px solid #f0f2f5;margin-bottom:14px}
.pmeta i{font-style:normal;margin:0 7px;color:#d8dce3}
.pbody{font-size:15.5px;line-height:1.85;color:#444;text-align:justify;word-wrap:break-word}
.pbody p{margin:0 0 14px}
.pbody img{max-width:100%;height:auto;display:block;margin:12px auto;border-radius:6px}
.pbody h2,.pbody h3,.pbody h4{font-size:16px;color:#1f3a5f;font-weight:600;margin:18px 0 8px;
        padding-left:10px;border-left:4px solid #d9482f;line-height:1.3}

/* 电话按钮 */
.cta{display:block;margin:16px 12px 6px;padding:14px;text-align:center;border-radius:10px;color:#fff;
     font-size:16px;font-weight:600;text-decoration:none;background:linear-gradient(135deg,#e15b3f,#c0392b);
     box-shadow:0 4px 12px rgba(192,57,43,.28)}

/* 底部导航 */
.tabbar{position:fixed;left:0;right:0;bottom:0;height:64px;display:flex;background:#2b2f36;
        box-shadow:0 -2px 10px rgba(0,0,0,.15);z-index:30;padding-bottom:env(safe-area-inset-bottom)}
.tabbar a{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;
          color:#b9bec7;text-decoration:none;font-size:12px}
.tabbar a.on{color:#fff}
.tabbar svg{width:23px;height:23px;display:block}

/* ---------- 带缩略图的文章卡片 ---------- */
.art-wrap{position:relative}
.art-tg{position:absolute;opacity:0;width:0;height:0;pointer-events:none}
.art-card{display:flex;gap:12px;background:#fff;border-radius:8px;margin-bottom:10px;padding:10px;
          box-shadow:0 1px 4px rgba(0,0,0,.05);cursor:pointer;text-decoration:none;align-items:center}
.art-card .thumb{flex:0 0 92px;width:92px;height:92px;object-fit:cover;border-radius:6px;display:block;background:#1b5e8c}
.art-card .txt{flex:1;min-width:0}
.art-card .tt{font-size:15.5px;color:#1f2d3d;line-height:1.45;font-weight:500;
              display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.art-card .desc{font-size:13px;color:#8a93a2;line-height:1.5;margin-top:6px;
                display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}

/* ---------- 全屏文章详情浮层 ---------- */
.art-panel{display:none}
.art-tg:checked ~ .art-panel{display:block;position:fixed;left:0;right:0;top:0;bottom:0;background:#f2f3f5;
        z-index:999;overflow-y:auto;-webkit-overflow-scrolling:touch}
.art-panel .bar{position:sticky;top:0;height:48px;display:flex;align-items:center;justify-content:center;
        background:linear-gradient(180deg,#1f3a5f,#24456f);color:#fff;font-size:17px;font-weight:600;
        box-shadow:0 1px 6px rgba(0,0,0,.12)}
.art-panel .bar label{position:absolute;left:10px;top:0;height:48px;width:70px;display:flex;align-items:center;
        font-size:15px;color:#fff;cursor:pointer}
.art-panel .inner{margin:10px 12px 80px;background:#fff;border-radius:10px;padding:18px 16px;
        box-shadow:0 1px 4px rgba(0,0,0,.04)}
.art-panel h1{font-size:20px;color:#1f2d3d;line-height:1.5;letter-spacing:.5px;margin-bottom:12px;font-weight:700}
.art-panel .meta{font-size:12.5px;color:#9aa3b0;padding-bottom:12px;border-bottom:1px solid #f0f2f5;margin-bottom:14px}
.art-panel .tx{font-size:15.5px;line-height:1.85;color:#444;text-align:justify}
.art-panel .tx p{margin:0 0 14px}
.art-panel .tx h2,.art-panel .tx h3{font-size:16px;color:#1f3a5f;font-weight:600;margin:18px 0 8px;
        padding-left:10px;border-left:4px solid #d9482f;line-height:1.3}

/* ---------- 原有 details 卡片（兼容） ---------- */
summary{list-style:none;outline:none}
summary::-webkit-details-marker{display:none}

/* ---------- 相册 ---------- */
.gal{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:12px}
.gal figure{background:#fff;border-radius:8px;overflow:hidden;margin:0}
.gal img{display:block;width:100%;height:118px;object-fit:cover;background:#eceef2}
.gal figcaption{font-size:12px;color:#5b6472;padding:7px 9px;line-height:1.45}
