/* 聚汇账本 · 换账手记（notes/）栏目专用样式 */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { font-size: 16px; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif; line-height: 1.6; color: #333; background-color: #f5f7fa; min-height: 100vh; }
img { max-width: 100%; height: auto; }
a { color: #1976D2; }
.container { max-width: 750px; margin: 0 auto; padding: 0 15px; }

/* 头部 */
header { background: linear-gradient(135deg, #2196F3 0%, #1976D2 100%); color: #fff; padding: 15px 0; position: sticky; top: 0; z-index: 1000; box-shadow: 0 2px 10px rgba(33, 150, 243, .3); }
.header-content { display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 1.4rem; font-weight: bold; display: flex; align-items: center; gap: 8px; text-decoration: none; color: #fff; }
.header-contact { background: rgba(255, 255, 255, .2); padding: 6px 12px; border-radius: 20px; font-size: .85rem; color: #fff; text-decoration: none; }

/* 导航 */
.nav { background: #fff; border-bottom: 1px solid #eee; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.nav-list { display: flex; list-style: none; padding: 0 15px; gap: 5px; }
.nav-list li a { display: block; padding: 12px 14px; color: #666; text-decoration: none; white-space: nowrap; font-size: .9rem; }
.nav-list li a:hover, .nav-list li a.active { color: #2196F3; border-bottom: 2px solid #2196F3; }

/* 面包屑 */
.breadcrumb { padding: 12px 15px; background: #fff; font-size: .85rem; color: #666; }
.breadcrumb a { color: #2196F3; text-decoration: none; }

/* 文章页头 */
.hero { background: linear-gradient(150deg, #1f3b66 0%, #2196F3 100%); color: #fff; padding: 34px 0 30px; }
.hero-tag { display: inline-block; background: rgba(255, 255, 255, .18); padding: 5px 14px; border-radius: 20px; font-size: .78rem; letter-spacing: .04em; margin-bottom: 12px; }
.hero h1 { font-size: 1.62rem; line-height: 1.42; margin-bottom: 10px; font-weight: 700; }
.hero-subtitle { font-size: .95rem; opacity: .9; line-height: 1.6; }
.hero-meta { margin-top: 16px; font-size: .78rem; opacity: .85; display: flex; flex-wrap: wrap; gap: 6px 16px; }

/* 区块 */
.section { padding: 34px 0; }
.section-white { background: #fff; }
.section-gray { background: #f5f7fa; }
.section-title { text-align: center; font-size: 1.4rem; color: #333; margin-bottom: 24px; }
.section-title::after { content: ''; display: block; width: 60px; height: 3px; background: #2196F3; margin: 12px auto 0; border-radius: 2px; }

/* 正文 */
.article-body h2 { font-size: 1.22rem; color: #223; margin: 30px 0 14px; padding-left: 11px; border-left: 4px solid #2196F3; line-height: 1.5; }
.article-body h2:first-child { margin-top: 0; }
.article-body h3 { font-size: 1.02rem; color: #223; margin: 20px 0 8px; }
.article-body p { font-size: .97rem; color: #444; line-height: 1.9; margin-bottom: 14px; text-indent: 2em; }
.article-body ul, .article-body ol { padding-left: 1.4em; margin: 0 0 16px; }
.article-body li { font-size: .95rem; color: #444; line-height: 1.85; margin-bottom: 8px; }
.article-body strong { color: #1976D2; font-weight: 600; }
.article-body a { color: #1976D2; }

/* 导语 */
.lede { background: #fff; border-radius: 12px; padding: 20px 22px; margin-bottom: 22px; box-shadow: 0 2px 8px rgba(0, 0, 0, .05); border-left: 4px solid #2196F3; }
.lede p { font-size: .97rem; line-height: 1.9; color: #444; margin: 0; text-indent: 2em; }
.lede p + p { margin-top: 10px; }

/* 表格 */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 18px 0 20px; border-radius: 10px; border: 1px solid #e6ebf2; background: #fff; }
.table-wrap table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: .88rem; }
.table-wrap caption { caption-side: top; text-align: left; padding: 12px 14px; font-size: .8rem; color: #7a8595; border-bottom: 1px solid #eef2f7; }
.table-wrap th, .table-wrap td { padding: 11px 14px; text-align: left; border-bottom: 1px solid #eef2f7; color: #444; line-height: 1.6; }
.table-wrap thead th { background: #eef5fd; color: #1b4b7f; font-weight: 600; white-space: nowrap; }
.table-wrap tbody th { font-weight: 600; color: #223; white-space: nowrap; }
.table-wrap tbody tr:last-child th, .table-wrap tbody tr:last-child td { border-bottom: none; }

/* 提示框 */
.tip-box { background: #E8F5E9; border-left: 4px solid #07C160; padding: 15px 18px; border-radius: 0 8px 8px 0; margin: 20px 0; }
.tip-box h3 { font-size: .98rem; color: #07a552; margin-bottom: 8px; }
.tip-box p, .tip-box li { font-size: .9rem; color: #475; line-height: 1.75; margin-bottom: 5px; text-indent: 0; }
.tip-box ul { padding-left: 1.2em; margin: 6px 0 0; }
.warn-box { background: #FEF0F0; border-left: 4px solid #e05353; padding: 15px 18px; border-radius: 0 8px 8px 0; margin: 20px 0; }
.warn-box h3 { font-size: .98rem; color: #c33; margin-bottom: 8px; }
.warn-box p, .warn-box li { font-size: .9rem; color: #5a4444; line-height: 1.75; margin-bottom: 5px; text-indent: 0; }
.warn-box ul { padding-left: 1.2em; margin: 6px 0 0; }

/* 编号步骤 */
.step-list { display: flex; flex-direction: column; gap: 14px; margin: 18px 0 20px; }
.step-item { display: flex; align-items: flex-start; gap: 13px; background: #fff; border: 1px solid #eef2f7; border-radius: 10px; padding: 16px 18px; }
.step-num { width: 32px; height: 32px; background: #2196F3; color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: bold; font-size: .9rem; flex-shrink: 0; }
.step-text h4 { font-size: .97rem; color: #223; margin-bottom: 4px; }
.step-text p { font-size: .89rem; color: #555; line-height: 1.7; margin: 0; text-indent: 0; }

/* FAQ */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 2px 8px rgba(0, 0, 0, .05); }
.faq-question { padding: 16px 18px; font-weight: bold; color: #223; display: flex; justify-content: space-between; align-items: center; gap: 10px; cursor: pointer; font-size: .95rem; }
.faq-answer { padding: 0 18px 16px; font-size: .9rem; color: #555; line-height: 1.8; display: none; }
.faq-item.active .faq-answer { display: block; }
.arrow { transition: transform .3s; font-size: .8rem; flex-shrink: 0; }
.faq-item.active .arrow { transform: rotate(180deg); }

/* 相关阅读 / 上下篇 */
.related-links { background: #fff; border-radius: 12px; padding: 22px; box-shadow: 0 2px 8px rgba(0, 0, 0, .05); }
.related-links h3 { font-size: 1.05rem; color: #223; margin-bottom: 10px; }
.related-links a { display: block; padding: 11px 0; color: #1976D2; text-decoration: none; border-bottom: 1px solid #f1f4f8; font-size: .93rem; }
.related-links a:last-child { border-bottom: none; }
.pager { display: flex; gap: 12px; margin-top: 26px; }
.pager a { flex: 1; background: #fff; border: 1px solid #e6ebf2; border-radius: 10px; padding: 14px 16px; text-decoration: none; color: #223; }
.pager a span { display: block; font-size: .76rem; color: #8a95a5; margin-bottom: 4px; }
.pager a b { font-size: .92rem; font-weight: 600; color: #1976D2; }

/* 栏目首页卡片 */
.post-grid { display: flex; flex-direction: column; gap: 16px; }
.post-card { display: block; background: #fff; border-radius: 12px; padding: 20px 22px; text-decoration: none; color: inherit; box-shadow: 0 2px 8px rgba(0, 0, 0, .05); transition: transform .25s, box-shadow .25s; border-top: 3px solid #2196F3; }
.post-card:hover { transform: translateY(-3px); box-shadow: 0 8px 22px rgba(0, 0, 0, .1); }
.post-card .num { font-size: .75rem; color: #2196F3; letter-spacing: .06em; }
.post-card h3 { font-size: 1.08rem; color: #223; margin: 6px 0 8px; line-height: 1.5; }
.post-card p { font-size: .88rem; color: #666; line-height: 1.7; }
.post-card .kw { display: inline-block; margin-top: 10px; font-size: .76rem; color: #1976D2; background: #eef5fd; padding: 3px 10px; border-radius: 4px; }

/* 简介块 */
.intro-block { background: #fff; border-radius: 12px; padding: 22px; margin-bottom: 22px; box-shadow: 0 2px 8px rgba(0, 0, 0, .05); }
.intro-block p { font-size: .94rem; color: #555; line-height: 1.85; margin-bottom: 10px; text-indent: 2em; }
.intro-block p:last-child { margin-bottom: 0; }

/* 底部 */
footer { background: #1a1a1a; color: #999; padding: 30px 0 20px; }
.footer-content { text-align: center; }
.footer-logo { font-size: 1.3rem; color: #fff; margin-bottom: 15px; }
.footer-links { margin-bottom: 20px; }
.footer-links a { color: #999; text-decoration: none; margin: 0 8px; font-size: .85rem; }
.footer-info { font-size: .8rem; line-height: 1.8; }
.footer-info p { margin-bottom: 5px; }

/* 浮动按钮 */
.float-buttons { position: fixed; bottom: 20px; right: 20px; display: flex; flex-direction: column; gap: 10px; z-index: 999; }
.float-btn { width: 50px; height: 50px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; color: #fff; text-decoration: none; box-shadow: 0 4px 12px rgba(0, 0, 0, .2); }
.float-btn.service { background: #4CAF50; }
.float-btn.top { background: #2196F3; }

@media (max-width: 480px) {
  .hero h1 { font-size: 1.34rem; }
  .hero { padding: 26px 0 24px; }
  .article-body h2 { font-size: 1.12rem; }
  .article-body p { font-size: .94rem; line-height: 1.85; }
  .lede { padding: 16px 18px; }
  .table-wrap table { font-size: .84rem; }
  .pager { flex-direction: column; }
  .footer-links a { display: inline-block; margin: 0 6px 8px; }
}
