/* 论坛风格 - 简洁知识站 */
*{margin:0;padding:0;box-sizing:border-box}
body{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Hiragino Sans GB","Microsoft YaHei",sans-serif;font-size:16px;color:#333;background:#f4f5f7;-webkit-text-size-adjust:100%;line-height:1.7}
a{color:#406599;text-decoration:none}
a:hover{color:#2b4a73}

/* 顶栏 */
.header{display:flex;align-items:center;justify-content:space-between;background:#fff;color:#333;padding:14px 16px;border-bottom:1px solid #e5e5e5;position:sticky;top:0;z-index:10}
.header .name{font-weight:700;font-size:18px;color:#222;letter-spacing:0.5px}
.header .wx-btn{background:#07c160;border:none;color:#fff;padding:6px 16px;border-radius:4px;font-size:13px;cursor:pointer}

/* 导航 */
.nav{display:flex;background:#fff;border-bottom:1px solid #e5e5e5}
.nav a{flex:1;text-align:center;padding:12px 0;font-size:16px;color:#666;border-bottom:2px solid transparent;transition:color 0.15s}
.nav a:hover{color:#333;text-decoration:none}
.nav a.active{color:#333;border-bottom-color:#406599;font-weight:600}

/* 内容区 */
.content{padding:14px 16px;max-width:720px;margin:0 auto}
.content h1{font-size:22px;margin:0 0 12px;padding-bottom:10px;border-bottom:1px solid #eee;color:#222}
.content h2{font-size:18px;margin:18px 0 8px;color:#222;padding-left:8px;border-left:3px solid #406599}
.content p{margin:8px 0;line-height:1.8;color:#444}
.content ul,.content ol{margin:8px 0 8px 20px}
.content li{margin:5px 0;line-height:1.8;color:#444}
.content hr{border:none;border-top:1px solid #eee;margin:16px 0}
.content pre{background:#f8f8f8;padding:12px 14px;border-radius:4px;overflow-x:auto;font-size:14px;margin:10px 0;border:1px solid #eee}
.content code{font-family:"SF Mono",Consolas,"Courier New",monospace;font-size:14px}
.content p code{background:#f0f0f0;padding:2px 6px;border-radius:3px;color:#c7254e}

/* 首页链接列表 */
.content .topic-list{list-style:none;margin:0;padding:0}
.content .topic-list li{border-bottom:1px solid #f0f0f0}
.content .topic-list li:last-child{border-bottom:none}
.content .topic-list a{display:block;padding:14px 0;color:#333;text-decoration:none}
.content .topic-list a:hover{background:#f8f9fa}
.content .topic-list .topic-title{display:block;font-size:16px;font-weight:500}
.content .topic-list .desc{display:block;font-size:14px;color:#999;margin-top:4px}

/* 表格 */
table{width:100%;border-collapse:collapse;font-size:15px;margin:10px 0;background:#fff;border-radius:4px;overflow:hidden}
th,td{padding:10px 12px;text-align:left;line-height:1.5}
th{background:#f8f9fa;font-weight:600;color:#555;border-bottom:2px solid #e8e8e8;font-size:14px}
td{border-bottom:1px solid #f0f0f0;color:#444}
tr:last-child td{border-bottom:none}
tr:hover td{background:#fafbfc}

/* 提示框 */
.tip,.warn,.note{padding:12px 14px;border-radius:4px;margin:12px 0;font-size:15px;line-height:1.7}
.tip{background:#f6ffed;border:1px solid #b7eb8f;color:#135200}
.warn{background:#fffbe6;border:1px solid #ffe58f;color:#614700}
.note{background:#e6f7ff;border:1px solid #91d5ff;color:#003a8c}
.tip strong,.warn strong,.note strong{display:block;margin-bottom:4px}

/* 微信弹窗 */
.wx-modal{display:none;position:fixed;top:0;left:0;width:100%;height:100%;background:rgba(0,0,0,0.5);z-index:999;justify-content:center;align-items:center;flex-direction:column}
.wx-modal.show{display:flex}
.wx-modal img{max-width:260px;border-radius:8px;box-shadow:0 4px 20px rgba(0,0,0,0.3)}
.wx-modal p{color:#fff;margin-top:10px;font-size:15px}
