:root{--bg:#f7f8fa;--card:#fff;--ink:#1f2430;--sub:#5f6875;--brand:#21459f;--brand2:#3b82f6;--line:#e5e8ee;--ok:#15803d}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Hiragino Sans GB","Microsoft YaHei",sans-serif;background:var(--bg);color:var(--ink);font-size:16.5px;line-height:1.8}
a{color:var(--brand);text-decoration:none}
a:hover{text-decoration:underline}
.xsite{background:#16385f;border-bottom:1px solid rgba(255,255,255,.08)}
.xsite-in{max-width:1080px;margin:0 auto;padding:0 20px;height:36px;display:flex;align-items:center;gap:6px;overflow:auto}
.xsite-lab{font-size:11px;color:rgba(255,255,255,.5);margin-right:4px;letter-spacing:.06em;white-space:nowrap}
.xsite-in a,.xsite-cur{display:inline-flex;align-items:center;height:25px;padding:0 12px;border-radius:13px;font-size:12.5px;white-space:nowrap;color:rgba(255,255,255,.82);text-decoration:none}
.xsite-in a:hover{background:rgba(255,255,255,.14);color:#fff;text-decoration:none}
.xsite-cur{background:#fff;color:#16385f;font-weight:600}
.site-head{background:var(--card);border-bottom:1px solid var(--line);position:sticky;top:0;z-index:10}
.site-head .wrap{display:flex;align-items:center;justify-content:space-between;gap:12px;height:60px}
.brand{font-weight:800;font-size:17px;color:var(--ink);letter-spacing:-.02em;text-decoration:none}
.brand span{font-weight:500;color:var(--sub);font-size:13px;margin-left:4px}
.site-nav{display:flex;gap:4px;overflow:auto}
.site-nav a{padding:7px 12px;border-radius:8px;font-size:14px;color:var(--sub);white-space:nowrap}
.site-nav a:hover{background:var(--bg);color:var(--brand);text-decoration:none}
.wrap{max-width:760px;margin:0 auto;padding:0 20px}
main{padding:26px 0 60px}
.crumbs{font-size:13.5px;color:var(--sub);margin-bottom:14px}
article{background:var(--card);border:1px solid var(--line);border-radius:14px;padding:30px 34px;box-shadow:0 1px 3px rgba(0,0,0,.04)}
article h1{font-size:27px;line-height:1.35;margin:0 0 8px;letter-spacing:-.02em}
article h2{font-size:20px;margin:30px 0 10px;padding-left:11px;border-left:4px solid var(--brand)}
article h3{font-size:16.5px;margin:20px 0 6px;color:var(--brand)}
article p{margin:10px 0}
article ul,article ol{padding-left:22px}
article li{margin:5px 0}
article table{width:100%;border-collapse:collapse;font-size:14.5px;margin:14px 0}
article th,article td{border:1px solid var(--line);padding:9px 11px;text-align:left}
article th{background:#f0f3f9;font-weight:700}
article code{background:#eef1f6;padding:1px 6px;border-radius:5px;font-size:.92em}
article blockquote{margin:14px 0;padding:10px 16px;background:#f0f7ff;border-left:3px solid var(--brand2);color:#31405c;border-radius:0 8px 8px 0}
.meta{color:var(--sub);font-size:13.5px;margin:0 0 18px}
.tip{background:#fffbeb;border:1px solid #fde68a;border-radius:10px;padding:12px 15px;font-size:15px;margin:14px 0}
.cta{background:linear-gradient(135deg,#21459f,#3b82f6);color:#fff;border-radius:14px;padding:22px 26px;margin:20px 0;display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}
.cta p{margin:0;font-size:15px}
.cta strong{font-size:16px}
.btn{background:#fff;color:var(--brand);padding:11px 20px;border-radius:10px;font-weight:700;font-size:15px;white-space:nowrap}
.btn:hover{text-decoration:none;background:#eef3ff}
.related{background:var(--card);border:1px solid var(--line);border-radius:14px;padding:20px 26px;margin-top:20px}
.related h2{font-size:16px;margin:0 0 10px;border:0;padding:0}
.related ul{margin:0;padding-left:20px}
.related li{margin:7px 0}
.site-foot{border-top:1px solid var(--line);background:var(--card);padding:22px 0;color:var(--sub);font-size:13.5px}
.site-foot a{color:var(--sub)}
/* 列表页 */
.post-list{display:grid;gap:14px}
.post-card{background:var(--card);border:1px solid var(--line);border-radius:14px;padding:20px 24px;box-shadow:0 1px 3px rgba(0,0,0,.04)}
.post-card h2{font-size:19px;margin:0 0 6px;border:0;padding:0}
.post-card h2 a{color:var(--ink)}
.post-card h2 a:hover{color:var(--brand)}
.post-card p{margin:0 0 8px;color:var(--sub);font-size:14.5px}
.post-card .tag{font-size:12px;background:#eef3ff;color:var(--brand);padding:2px 9px;border-radius:999px;margin-right:6px}
.hero-list{background:var(--card);border:1px solid var(--line);border-radius:14px;padding:26px 30px;margin-bottom:18px}
.hero-list h1{font-size:24px;margin:0 0 8px}
.hero-list p{color:var(--sub);margin:0}
@media(max-width:620px){
  body{font-size:16px}
  article{padding:22px 18px;border-radius:12px}
  article h1{font-size:22px}
  .wrap{padding:0 14px}
  .site-head .wrap{height:54px}
  .brand span{display:none}
}
/* 作者署名区块（2026-09-18 加，E-E-A-T 信号） */
.author-box{display:flex;gap:14px;align-items:flex-start;background:#f7f9fc;border:1px solid var(--line);border-left:3px solid var(--brand2);border-radius:0 10px 10px 0;padding:14px 18px;margin:22px 0 4px}
.author-avatar{flex:0 0 42px;width:42px;height:42px;border-radius:50%;background:linear-gradient(135deg,#21459f,#3b82f6);color:#fff;font-weight:700;font-size:15px;display:flex;align-items:center;justify-content:center;letter-spacing:.5px}
.author-body{margin:0}
.author-name{margin:0 0 4px!important;font-weight:700;font-size:14.5px;color:var(--ink)}
.author-desc{margin:0!important;color:var(--sub);font-size:13.5px;line-height:1.65}
@media(max-width:620px){
  .author-box{padding:12px 14px;gap:11px}
  .author-avatar{flex:0 0 36px;width:36px;height:36px;font-size:13px}
  .author-desc{font-size:13px}
}

/* 手机端横向滚动兜底（2026-09-28） */
html, body { overflow-x: clip; }

/* 兄弟站外推位（2026-10-19）：浅黄高亮 + 外链箭头 */
.xsite a.xsite-ext,.xsite-ext{color:#ffd66e;background:rgba(255,214,110,.14)}
.xsite a.xsite-ext:hover,.xsite-ext:hover{background:rgba(255,214,110,.3);color:#ffe49a}
