/* ============================================================
   多姿态官网 · 支持与信任类页面共用样式 v1
   仅 /free.html /status.html /faq.html /changelog.html /trust.html 引用
   以 /assets/css/style.css 为基底，不修改全局样式，避免影响 229 个内页
   ============================================================ */

:root {
  --p-soft: #FFF4EC;
  --p-line: #F3DCCB;
}

/* ---------- 通用排版 ---------- */
/* 导语框已有下边距，正文 section 不再叠 76px 顶部留白 */
.section--support { padding-top: 34px; }
.support-body { max-width: 900px; margin: 0 auto; }
.support-body > section { margin-bottom: 46px; }
.support-body > section:last-child { margin-bottom: 0; }

.sec-title {
  display: flex; align-items: baseline; gap: 12px;
  margin: 0 0 8px;
  font-size: 23px; font-weight: 800; color: var(--text);
  letter-spacing: -.01em;
}
.sec-title .idx {
  flex: none;
  font-size: 12px; font-weight: 800; letter-spacing: .1em;
  color: var(--primary-dark);
  background: var(--p-soft); border: 1px solid var(--p-line);
  padding: 4px 9px; border-radius: 6px;
}
.sec-lead { margin: 0 0 20px; color: var(--text-light); font-size: 15px; line-height: 1.85; }

.prose p { color: var(--text-body); line-height: 1.95; font-size: 15px; margin-bottom: 14px; }
.prose p:last-child { margin-bottom: 0; }
.prose strong { color: var(--text); font-weight: 700; }
.prose a { color: var(--primary-dark); text-decoration: underline; text-underline-offset: 3px; }
.prose a:hover { color: var(--accent); }

.page-lead {
  max-width: 780px; margin: -26px auto 44px;
  padding: 22px 26px;
  background: var(--bg-card); border: 1px solid var(--border);
  border-left: 4px solid var(--primary);
  border-radius: 12px; box-shadow: var(--shadow);
  color: var(--text-body); font-size: 15px; line-height: 1.9;
}
.page-lead p { margin: 0; }

/* ---------- 诚实声明 / 提示块 ---------- */
.notice {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 20px 22px; margin-bottom: 28px;
  background: var(--p-soft);
  border: 1px dashed var(--primary);
  border-radius: 12px;
}
.notice .n-icon {
  flex: none; width: 30px; height: 30px; border-radius: 8px;
  display: grid; place-items: center;
  background: var(--grad); color: #fff; font-size: 16px; font-weight: 800;
}
.notice h3 { margin: 0 0 6px; font-size: 15.5px; color: var(--text); font-weight: 700; }
.notice p { margin: 0; color: #7A4E32; font-size: 14px; line-height: 1.85; }
.notice p + p { margin-top: 8px; }

.callout {
  padding: 18px 20px; margin: 20px 0;
  background: var(--bg-soft); border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--text-body); font-size: 14.5px; line-height: 1.9;
}
.callout strong { color: var(--text); }

.meta-note {
  margin-top: 22px; padding-top: 14px;
  border-top: 1px dashed var(--border);
  color: var(--text-muted); font-size: 13px; line-height: 1.8;
}

/* ---------- 卡片栅格 ---------- */
.card-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.card-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }

.mini-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 20px 22px;
  box-shadow: var(--shadow);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.mini-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); border-color: var(--p-line); }
.mini-card h3 { margin: 0 0 8px; font-size: 16px; color: var(--text); font-weight: 700; }
.mini-card h3 a { color: inherit; }
.mini-card h3 a:hover { color: var(--primary-dark); }
.mini-card p { margin: 0; color: var(--text-light); font-size: 14px; line-height: 1.8; }
.mini-card .mini-url { display: inline-block; margin-top: 10px; font-size: 12.5px; color: var(--primary-dark); }
.mini-card .card-tag {
  display: inline-block; margin-bottom: 10px; padding: 3px 10px;
  border-radius: 999px; font-size: 11.5px; font-weight: 700;
  background: var(--p-soft); color: var(--primary-dark);
}
.mini-card .card-tag.tag-alt { background: #EEF2FF; color: #4F46E5; }

/* ---------- 编号步骤 ---------- */
.step-list { list-style: none; counter-reset: st; }
.step-list li {
  position: relative; counter-increment: st;
  padding: 0 0 20px 48px; margin: 0;
  border-left: 1px dashed var(--p-line);
  margin-left: 15px;
}
.step-list li:last-child { border-left-color: transparent; padding-bottom: 0; }
.step-list li::before {
  content: counter(st);
  position: absolute; left: -15px; top: 0;
  width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--grad); color: #fff; font-size: 13px; font-weight: 800;
}
.step-list h3 { margin: 2px 0 6px; font-size: 15.5px; color: var(--text); }
.step-list p { margin: 0; color: var(--text-light); font-size: 14px; line-height: 1.8; }

/* ---------- 业务自查表 ---------- */
.biz-table-wrap {
  border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow);
}
.biz-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.biz-table th {
  background: var(--bg-soft); color: var(--text); font-weight: 700;
  text-align: left; padding: 13px 18px; font-size: 13px;
  border-bottom: 1px solid var(--border);
}
.biz-table td { padding: 14px 18px; border-bottom: 1px solid var(--border); color: var(--text-body); vertical-align: middle; }
.biz-table tr:last-child td { border-bottom: none; }
.biz-table tbody tr:hover { background: #FFFBF7; }
.biz-table .b-name { font-weight: 700; color: var(--text); white-space: nowrap; }
.biz-table .b-name small { display: block; font-weight: 400; color: var(--text-muted); font-size: 12px; margin-top: 3px; }
.biz-table a { color: var(--primary-dark); font-size: 13px; }
.biz-table a:hover { text-decoration: underline; }
.biz-table .b-status {
  display: inline-block; padding: 4px 10px; border-radius: 999px;
  background: #F1F5F9; color: #64748B; font-size: 12px; font-weight: 600;
  white-space: nowrap;
}

/* ---------- FAQ 折叠 ---------- */
.faq-group { margin-bottom: 34px; }
.faq-group:last-child { margin-bottom: 0; }
.faq-group h2 {
  display: flex; align-items: center; gap: 10px;
  margin: 0 0 14px; font-size: 18px; color: var(--text); font-weight: 800;
}
.faq-group h2::before {
  content: ""; width: 4px; height: 18px; border-radius: 3px; background: var(--grad);
}
.q-list { display: grid; gap: 10px; }
.q-item {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 11px; overflow: hidden;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.q-item[open] { border-color: var(--p-line); box-shadow: var(--shadow); }
.q-item summary {
  cursor: pointer; list-style: none;
  display: flex; align-items: center; gap: 12px;
  padding: 15px 18px; font-size: 14.5px; font-weight: 600; color: var(--text);
}
.q-item summary::-webkit-details-marker { display: none; }
.q-item summary::before {
  content: "Q"; flex: none;
  width: 22px; height: 22px; border-radius: 6px;
  display: grid; place-items: center;
  background: var(--p-soft); color: var(--primary-dark);
  font-size: 11.5px; font-weight: 800;
}
.q-item summary::after {
  content: "+"; margin-left: auto; flex: none;
  color: var(--primary); font-size: 20px; font-weight: 400; line-height: 1;
  transition: transform .2s ease;
}
.q-item[open] summary::after { transform: rotate(45deg); }
.q-item .q-answer {
  padding: 0 18px 17px 52px;
  color: var(--text-body); font-size: 14px; line-height: 1.9;
}
.q-item .q-answer p { margin: 0 0 8px; }
.q-item .q-answer p:last-child { margin: 0; }
.q-item .q-answer a { color: var(--primary-dark); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- 更新日志时间线 ---------- */
.timeline { position: relative; padding-left: 30px; }
.timeline::before {
  content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px;
  width: 2px; background: linear-gradient(180deg, var(--primary), var(--p-line));
}
.tl-item { position: relative; padding-bottom: 26px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content: ""; position: absolute; left: -30px; top: 7px;
  width: 16px; height: 16px; border-radius: 50%;
  background: #fff; border: 4px solid var(--primary);
  box-sizing: border-box;
}
.tl-item.tl-old::before { border-color: #CBD5E1; }
.tl-head { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-bottom: 7px; }
.tl-head h3 { margin: 0; font-size: 16px; color: var(--text); font-weight: 700; }
.tl-badge {
  padding: 3px 9px; border-radius: 999px; font-size: 11.5px; font-weight: 700;
  background: var(--p-soft); color: var(--primary-dark);
}
.tl-item.tl-old .tl-badge { background: #F1F5F9; color: #64748B; }
.tl-body { color: var(--text-light); font-size: 14px; line-height: 1.85; }
.tl-body p { margin: 0 0 6px; }
.tl-body p:last-child { margin: 0; }
.tl-body ul { margin: 6px 0 0 18px; padding: 0; }
.tl-body li { margin-bottom: 4px; }

/* ---------- 键值信息 ---------- */
.kv-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 24px; }
.kv-row {
  display: flex; gap: 12px; padding: 13px 0;
  border-bottom: 1px dashed var(--border); font-size: 14px;
}
.kv-row .k { flex: none; width: 88px; color: var(--text-muted); }
.kv-row .v { color: var(--text-body); font-weight: 600; word-break: break-all; }
.kv-row a { color: var(--primary-dark); }

/* ---------- 底部 CTA ---------- */
.support-cta {
  margin-top: 46px; padding: 34px 30px;
  border-radius: 18px; text-align: center;
  background: linear-gradient(135deg, #FFF4EC 0%, #FDF0F6 100%);
  border: 1px solid var(--p-line);
}
.support-cta h2 { margin: 0 0 8px; font-size: 21px; color: var(--text); font-weight: 800; }
.support-cta p { margin: 0 0 20px; color: var(--text-light); font-size: 14.5px; line-height: 1.8; }
.cta-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.cta-links a {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 20px; border-radius: 9px;
  font-size: 14px; font-weight: 700; text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease;
}
.cta-links a:hover { transform: translateY(-2px); }
.cta-links .cta-main { background: var(--grad); color: #fff; box-shadow: 0 6px 18px rgba(232, 131, 74, .26); }
.cta-links .cta-sec { background: #fff; color: var(--primary-dark); border: 1px solid var(--p-line); }

/* ---------- 页脚新增链接列（静态页面自带） ---------- */
.footer-col .trust-links a { color: #BBB3C9; }
.footer-col .trust-links a:hover { color: #fff; }

/* ---------- 响应式 ---------- */
@media (max-width: 960px) {
  .card-grid.cols-3 { grid-template-columns: repeat(2, 1fr); }
  .biz-table-wrap { overflow-x: auto; }
  .biz-table { min-width: 620px; }
}
@media (max-width: 640px) {
  .section--support { padding-top: 24px; }
  .support-body > section { margin-bottom: 36px; }
  .sec-title { font-size: 20px; flex-wrap: wrap; gap: 8px; }
  .page-lead { margin: -18px 12px 32px; padding: 18px; font-size: 14px; }
  .card-grid, .card-grid.cols-3, .kv-grid { grid-template-columns: 1fr; }
  .notice { padding: 16px; gap: 12px; }
  .q-item .q-answer { padding: 0 16px 16px 16px; }
  .support-cta { padding: 26px 18px; }
  .cta-links a { flex: 1 1 auto; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  .mini-card, .cta-links a, .q-item, .q-item summary::after { transition: none !important; }
}
