/* 微聊公众号 · 站点样式（与主站同一套视觉语言：白卡 + 绿色主色 + 14px 圆角） */
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  background: #f4f6f8; color: #1f2937; font-size: 14px; line-height: 1.6;
}
a { color: #07a854; text-decoration: none; }
.wrap { max-width: 980px; margin: 0 auto; padding: 0 16px; }
/* 顶部导航 */
.mp-nav { background: #fff; border-bottom: 1px solid #eef1f4; position: sticky; top: 0; z-index: 20; }
.mp-nav-in { display: flex; align-items: center; height: 58px; gap: 14px; }
.mp-logo { display: flex; align-items: center; gap: 9px; font-weight: 700; font-size: 16px; color: #111827; }
.mp-logo i {
  width: 30px; height: 30px; border-radius: 9px; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #07c160, #059a4c); color: #fff; font-style: normal; font-size: 15px;
}
.mp-nav-links { margin-left: auto; display: flex; gap: 6px; align-items: center; }
.mp-nav-links a { padding: 7px 13px; border-radius: 9px; color: #4b5563; font-size: 13.5px; }
.mp-nav-links a:hover { background: #f2f5f8; }
.mp-nav-links a.primary { background: #07c160; color: #fff; }
/* 卡片 */
.card { background: #fff; border-radius: 14px; border: 1px solid #eef1f4; box-shadow: 0 1px 2px rgba(16,24,40,.04); padding: 22px; margin-bottom: 16px; }
.card h2 { font-size: 17px; margin-bottom: 4px; }
.card .sub { color: #8a94a6; font-size: 12.5px; margin-bottom: 16px; }
/* 表单 */
.field { margin-bottom: 15px; }
.field label { display: block; font-size: 13px; color: #374151; margin-bottom: 6px; font-weight: 500; }
.field .hint { color: #9aa3b2; font-size: 12px; margin-top: 5px; }
.input, select, textarea {
  width: 100%; height: 42px; border: 1px solid #e3e8ee; border-radius: 10px; padding: 0 12px;
  font-size: 14px; outline: none; background: #fff; color: #111827; font-family: inherit;
}
textarea { height: auto; padding: 10px 12px; line-height: 1.7; }
.input:focus, select:focus, textarea:focus { border-color: #07c160; box-shadow: 0 0 0 3px rgba(7,193,96,.12); }
.row { display: flex; gap: 10px; }
.row > * { flex: 1; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; height: 42px; padding: 0 20px;
  border-radius: 10px; border: 1px solid transparent; background: #07c160; color: #fff;
  font-size: 14.5px; font-weight: 600; cursor: pointer; font-family: inherit;
}
.btn:hover { background: #06ad56; }
.btn.block { width: 100%; }
.btn.ghost { background: #fff; color: #374151; border-color: #e3e8ee; font-weight: 500; }
.btn.ghost:hover { background: #f7f9fb; }
.btn.sm { height: 34px; padding: 0 13px; font-size: 13px; font-weight: 500; border-radius: 8px; }
.btn.gray { background: #eef1f4; color: #4b5563; }
.btn.danger { background: #ef4444; }
.tip { background: #f0fbf4; border: 1px solid #cdeedd; color: #087a45; border-radius: 10px; padding: 10px 12px; font-size: 13px; }
.err { background: #fef2f2; border: 1px solid #fecaca; color: #b91c1c; border-radius: 10px; padding: 10px 12px; font-size: 13px; }
.muted { color: #8a94a6; }
.steps { display: flex; gap: 8px; margin-bottom: 18px; }
.steps .s { flex: 1; height: 4px; border-radius: 2px; background: #e8ecf1; }
.steps .s.on { background: #07c160; }
/* 二维码 */
.qr-box { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 14px; border: 1px dashed #dfe5ec; border-radius: 12px; }
.qr-box canvas, .qr-box img { width: 200px; height: 200px; display: block; }
.qr-ok { display: flex; align-items: center; gap: 10px; padding: 12px; background: #f0fbf4; border-radius: 12px; }
.qr-ok img { width: 40px; height: 40px; border-radius: 8px; }
/* 文章卡片 */
.art { display: flex; gap: 12px; padding: 14px 0; border-bottom: 1px solid #f1f4f7; }
.art:last-child { border-bottom: 0; }
.art-main { flex: 1; min-width: 0; }
.art-title { font-size: 15.5px; font-weight: 600; color: #111827; line-height: 1.45; }
.art-desc { color: #6b7280; font-size: 13px; margin-top: 4px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.art-meta { color: #9aa3b2; font-size: 12px; margin-top: 8px; display: flex; gap: 10px; flex-wrap: wrap; }
.art-cover { width: 108px; height: 76px; border-radius: 10px; object-fit: cover; background: #eef1f4; flex-shrink: 0; }
.empty { text-align: center; color: #9aa3b2; padding: 40px 0; font-size: 13.5px; }

/* ===== 首页：主视觉 ===== */
.mp-hero {
  position: relative; overflow: hidden; border-radius: 18px; margin-bottom: 18px;
  background: linear-gradient(120deg, #07c160 0%, #04a85a 45%, #0a8f7a 100%);
  color: #fff; padding: 34px 30px 30px;
  box-shadow: 0 14px 40px -18px rgba(7,193,96,.75);
}
.mp-hero::after {
  content: ''; position: absolute; right: -70px; top: -70px; width: 260px; height: 260px;
  border-radius: 50%; background: rgba(255,255,255,.13);
}
.mp-hero::before {
  content: ''; position: absolute; right: 60px; bottom: -110px; width: 220px; height: 220px;
  border-radius: 50%; background: rgba(255,255,255,.08);
}
.mp-hero h1 { font-size: 27px; line-height: 1.35; margin-bottom: 8px; letter-spacing: .3px; }
.mp-hero .lead { font-size: 14px; opacity: .92; margin-bottom: 20px; max-width: 560px; }
.mp-hero .hero-actions { display: flex; gap: 10px; flex-wrap: wrap; position: relative; z-index: 2; }
.mp-hero .btn { background: #fff; color: #067a44; }
.mp-hero .btn:hover { background: #f2fff8; }
.mp-hero .btn.line { background: rgba(255,255,255,.16); color: #fff; border: 1px solid rgba(255,255,255,.45); }
.mp-hero .btn.line:hover { background: rgba(255,255,255,.26); }
.mp-hero .hero-stats { display: flex; gap: 26px; margin-top: 22px; position: relative; z-index: 2; }
.mp-hero .hero-stats b { font-size: 22px; display: block; line-height: 1.2; }
.mp-hero .hero-stats span { font-size: 12px; opacity: .8; }

/* 搜索条 */
.mp-search { display: flex; gap: 8px; margin: 0 0 18px; }
.mp-search input {
  flex: 1; height: 46px; border-radius: 12px; border: 1px solid #e3e8ee; padding: 0 16px;
  font-size: 14px; outline: none; background: #fff;
}
.mp-search input:focus { border-color: #07c160; box-shadow: 0 0 0 3px rgba(7,193,96,.12); }

/* 分区标题 */
.mp-sec { display: flex; align-items: center; margin: 22px 0 12px; }
.mp-sec h2 { font-size: 17px; }
.mp-sec .more { margin-left: auto; font-size: 12.5px; color: #8a94a6; }
.mp-sec .more:hover { color: #07a854; }

/* 分类 chips */
.mp-cats { display: flex; gap: 8px; flex-wrap: wrap; }
.mp-cats a {
  padding: 7px 15px; border-radius: 999px; background: #fff; border: 1px solid #e8ecf1;
  font-size: 13px; color: #4b5563;
}
.mp-cats a:hover { border-color: #9fe0bc; color: #06864a; background: #f7fdfa; }
.mp-cats a.on { background: #eafaf1; border-color: #07c160; color: #06864a; font-weight: 600; }

/* 文章卡片网格 */
.mp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.mp-post {
  display: flex; gap: 12px; background: #fff; border: 1px solid #eef1f4; border-radius: 14px;
  padding: 12px; color: inherit; transition: box-shadow .18s, transform .18s;
}
.mp-post:hover { transform: translateY(-2px); box-shadow: 0 10px 26px -16px rgba(16,24,40,.35); }
.mp-post .cover {
  width: 104px; height: 78px; border-radius: 10px; object-fit: cover; flex-shrink: 0;
  background: linear-gradient(135deg, #e9fbf1, #d6f5e4); display: flex; align-items: center;
  justify-content: center; color: #0a9a52; font-weight: 700; font-size: 20px;
}
.mp-post .body { min-width: 0; flex: 1; display: flex; flex-direction: column; }
.mp-post .t {
  font-size: 14.5px; font-weight: 600; color: #111827; line-height: 1.45;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.mp-post .d {
  color: #8a94a6; font-size: 12.5px; margin-top: 4px;
  display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden;
}
.mp-post .m { margin-top: auto; padding-top: 6px; color: #a8b0bd; font-size: 11.5px; display: flex; gap: 8px; align-items: center; }
.mp-post .m img { width: 18px; height: 18px; border-radius: 5px; object-fit: cover; }

/* 公众号卡片 */
.mp-acc { display: flex; gap: 12px; align-items: center; background: #fff; border: 1px solid #eef1f4;
  border-radius: 14px; padding: 13px 14px; color: inherit; transition: box-shadow .18s, transform .18s; }
.mp-acc:hover { transform: translateY(-2px); box-shadow: 0 10px 26px -16px rgba(16,24,40,.35); }
.mp-acc img { width: 46px; height: 46px; border-radius: 12px; object-fit: cover; background: #eef1f4; flex-shrink: 0; }
.mp-acc .n { font-size: 14.5px; font-weight: 600; color: #111827; }
.mp-acc .i { font-size: 12px; color: #8a94a6; margin-top: 3px; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.mp-acc .c { font-size: 11.5px; color: #a8b0bd; margin-top: 4px; }

/* CTA 横幅 */
.mp-cta {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 22px;
  background: linear-gradient(120deg, #f1fbf6, #e6f8ef); border: 1px solid #cdeedd;
  border-radius: 16px; padding: 20px 22px;
}
.mp-cta h3 { font-size: 16px; margin-bottom: 4px; }
.mp-cta p { color: #4b7c62; font-size: 13px; }

.qr-refresh { font-size: 12.5px; color: #07a854; margin-top: 2px; }
.qr-hint { font-size: 11.5px; color: #a8b0bd; margin-top: 4px; text-align: center; line-height: 1.6; }

.pick-row { display: flex; align-items: center; gap: 12px; padding: 12px; border: 1px solid #eceff3; border-radius: 12px; margin-bottom: 10px; color: inherit; }
.pick-row:hover { border-color: #07c160; background: #f7fdfa; }
.pick-row.off { opacity: .5; }
.pick-row img { width: 44px; height: 44px; border-radius: 12px; object-fit: cover; background: #eef1f4; }
.pick-n { font-size: 14.5px; font-weight: 600; color: #1f2937; }
.pick-i { font-size: 12px; color: #9aa3b2; margin-top: 3px; }
.pick-arrow { margin-left: auto; color: #c0c4cc; font-size: 20px; }
