/*
 * 文章同步助手引流落地页（与官网功能表述一致，样式参考 wechatsync.com）
 */
html body .document-wechatsync-page {
  --ws-green: #07c160;
  --ws-green-d: #06a050;
  --ws-blue: #1677ff;
  --ws-slate: #0f172a;
  --ws-card: rgba(255, 255, 255, 0.92);
  --ws-border: rgba(15, 23, 42, 0.08);
  --ws-muted: rgba(15, 23, 42, 0.62);
  --ws-zip-panel-bg: #eef2f6;
  --ws-zip-card-bg: #ffffff;
  --ws-zip-card-border: #e5e7eb;
  --ws-zip-orng: #d97706;
  --ws-zip-hl: #059669;
  --ws-zip-violet: #6366f1;
  --ws-zip-badge-ring: #ffffff;
}

html.dark body .document-wechatsync-page,
html body.dark .document-wechatsync-page {
  --ws-card: rgba(30, 41, 59, 0.75);
  --ws-border: rgba(148, 163, 184, 0.16);
  --ws-muted: rgba(248, 250, 252, 0.7);
  --ws-slate: #f8fafc;
  --ws-zip-panel-bg: #0c1017;
  --ws-zip-card-bg: #141b26;
  --ws-zip-card-border: rgba(248, 250, 252, 0.1);
  --ws-zip-orng: #fbbf24;
  --ws-zip-hl: #34d399;
  --ws-zip-violet: #818cf8;
  --ws-zip-badge-ring: #141b26;
}

html body .document-wechatsync-page .document-wechatsync {
  max-width: 58rem;
  margin: 0 auto;
  padding: 0 0 2.5rem;
}

/* Hero */
html body .document-wechatsync-page .document-ws-hero {
  position: relative;
  text-align: center;
  padding: 2.25rem 1rem 2rem;
  border-radius: 16px;
  margin-bottom: 1.5rem;
  background: linear-gradient(165deg, #ecfdf5 0%, #f0fdf4 38%, #ffffff 100%);
  border: 1px solid rgba(7, 193, 96, 0.18);
  box-shadow: 0 12px 40px rgba(7, 193, 96, 0.08);
  overflow: hidden;
}

html.dark body .document-wechatsync-page .document-ws-hero,
html body.dark .document-wechatsync-page .document-ws-hero {
  background: linear-gradient(165deg, rgba(6, 78, 59, 0.45) 0%, rgba(15, 23, 42, 0.9) 55%, rgba(15, 23, 42, 0.95) 100%);
  border-color: rgba(52, 211, 153, 0.22);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

html body .document-wechatsync-page .document-ws-hero__badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ws-green);
  background: rgba(7, 193, 96, 0.12);
  border: 1px solid rgba(7, 193, 96, 0.25);
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  margin-bottom: 0.75rem;
}

html body .document-wechatsync-page .document-ws-hero__title {
  font-size: clamp(1.35rem, 3.2vw, 1.85rem);
  font-weight: 800;
  line-height: 1.25;
  color: var(--ws-slate);
  margin: 0 0 0.75rem;
  letter-spacing: -0.02em;
}

html body .document-wechatsync-page .document-ws-hero__title em {
  font-style: normal;
  color: var(--ws-green);
}

html body .document-wechatsync-page .document-ws-hero__lead {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--ws-muted);
  max-width: 40rem;
  margin: 0 auto 1.25rem;
}

html body .document-wechatsync-page .document-ws-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  margin-bottom: 0.35rem;
}

html body .document-wechatsync-page .document-ws-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.55rem 1.15rem;
  border-radius: 10px;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s;
  cursor: pointer;
  line-height: 1.3;
  box-sizing: border-box;
}

html body .document-wechatsync-page .document-ws-btn--primary {
  background: var(--ws-green);
  color: #fff;
  box-shadow: 0 4px 14px rgba(7, 193, 96, 0.35);
}

html body .document-wechatsync-page .document-ws-btn--primary:hover {
  background: var(--ws-green-d);
  color: #fff;
  box-shadow: 0 6px 20px rgba(7, 193, 96, 0.45);
}

html body .document-wechatsync-page .document-ws-btn--secondary {
  background: #fff;
  color: var(--ws-slate);
  border-color: var(--ws-border);
}

html.dark body .document-wechatsync-page .document-ws-btn--secondary,
html body.dark .document-wechatsync-page .document-ws-btn--secondary {
  background: rgba(15, 23, 42, 0.5);
  color: #f1f5f9;
  border-color: var(--ws-border);
}

html body .document-wechatsync-page .document-ws-btn--secondary:hover {
  border-color: var(--ws-green);
  color: var(--ws-green);
}

html body .document-wechatsync-page .document-ws-btn--ghost {
  background: transparent;
  color: var(--ws-blue);
  border-color: rgba(22, 119, 255, 0.35);
}

html body .document-wechatsync-page .document-ws-btn--ghost:hover {
  background: rgba(22, 119, 255, 0.06);
}

html body .document-wechatsync-page .document-ws-hero__meta {
  font-size: 0.78rem;
  color: var(--ws-muted);
  margin: 0.85rem 0 0;
}

html body .document-wechatsync-page .document-ws-hero__meta a {
  color: var(--ws-green);
  text-decoration: none;
}

html body .document-wechatsync-page .document-ws-hero__meta a:hover {
  text-decoration: underline;
}

/* 开始使用 + ZIP 安装教程（对齐官网版式） */
html body .document-wechatsync-page .document-ws-install {
  margin-bottom: 1.75rem;
  padding: 1.65rem 1.25rem 1.5rem;
  border-radius: 16px;
  background: var(--ws-card);
  border: 1px solid var(--ws-border);
  text-align: center;
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.04);
}

html.dark body .document-wechatsync-page .document-ws-install,
html body.dark .document-wechatsync-page .document-ws-install {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}

html body .document-wechatsync-page .document-ws-install__title {
  font-size: clamp(1.25rem, 2.8vw, 1.5rem);
  font-weight: 800;
  color: var(--ws-slate);
  margin: 0 0 0.5rem;
  letter-spacing: -0.02em;
}

html body .document-wechatsync-page .document-ws-install__lead {
  font-size: 0.9rem;
  color: var(--ws-muted);
  margin: 0 0 1.1rem;
  line-height: 1.6;
  max-width: 28rem;
  margin-left: auto;
  margin-right: auto;
}

/* ZIP 教程独立浅/深底面板 */
html body .document-wechatsync-page .document-ws-zip-panel {
  margin-top: 0;
  padding: 1.6rem 1.15rem 1.5rem;
  border-radius: 14px;
  background: var(--ws-zip-panel-bg);
  border: 1px solid var(--ws-zip-card-border);
  text-align: left;
}

html body .document-wechatsync-page .document-ws-install__subtitle {
  font-size: 1.08rem;
  font-weight: 800;
  color: var(--ws-slate);
  margin: 0 0 1.35rem;
  text-align: center;
  letter-spacing: -0.015em;
}

html body .document-wechatsync-page .document-ws-zip-steps {
  counter-reset: wszip;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  align-items: stretch;
}

@media screen and (max-width: 900px) {
  html body .document-wechatsync-page .document-ws-zip-steps {
    grid-template-columns: 1fr;
  }
}

html body .document-wechatsync-page .document-ws-zip-step {
  position: relative;
  margin-top: 0.35rem;
  padding: 1.2rem 1.15rem 1.25rem;
  border-radius: 14px;
  border: 1px solid var(--ws-zip-card-border);
  background: var(--ws-zip-card-bg);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
}

html.dark body .document-wechatsync-page .document-ws-zip-step,
html body.dark .document-wechatsync-page .document-ws-zip-step {
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
}

html body .document-wechatsync-page .document-ws-zip-step::before {
  counter-increment: wszip;
  content: counter(wszip);
  position: absolute;
  left: 1rem;
  top: -0.5rem;
  width: 1.65rem;
  height: 1.65rem;
  line-height: 1.65rem;
  text-align: center;
  font-size: 0.82rem;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(145deg, var(--ws-zip-violet) 0%, #7c3aed 100%);
  border-radius: 50%;
  box-shadow:
    0 0 0 3px var(--ws-zip-badge-ring),
    0 4px 12px rgba(99, 102, 241, 0.35);
  z-index: 1;
}

html body .document-wechatsync-page .document-ws-zip-step__t {
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--ws-slate);
  margin: 0.15rem 0 0.55rem;
  letter-spacing: -0.01em;
}

html body .document-wechatsync-page .document-ws-zip-step__d {
  font-size: 0.84rem;
  color: var(--ws-muted);
  line-height: 1.65;
  margin: 0 0 0.4rem;
}

html body .document-wechatsync-page .document-ws-zip-step__d:last-child {
  margin-bottom: 0;
}

html body .document-wechatsync-page .document-ws-zip-step__d--muted {
  margin-top: 0.35rem;
  font-size: 0.8rem;
  opacity: 0.95;
}

html body .document-wechatsync-page .document-ws-zip-step__strong {
  font-weight: 800;
  color: var(--ws-slate);
}

html body .document-wechatsync-page .document-ws-zip-step__hl {
  font-weight: 800;
  color: var(--ws-zip-hl);
}

html body .document-wechatsync-page .document-ws-zip-step__warn {
  font-size: 0.8rem;
  line-height: 1.55;
  color: var(--ws-zip-orng);
  margin: 0.55rem 0 0;
  padding: 0.55rem 0.65rem;
  border-radius: 8px;
  background: rgba(217, 119, 6, 0.08);
  border: 1px solid rgba(217, 119, 6, 0.2);
}

html.dark body .document-wechatsync-page .document-ws-zip-step__warn,
html body.dark .document-wechatsync-page .document-ws-zip-step__warn {
  background: rgba(251, 191, 36, 0.08);
  border-color: rgba(251, 191, 36, 0.22);
}

html body .document-wechatsync-page .document-ws-zip-step__hint {
  font-size: 0.78rem;
  color: var(--ws-muted);
  margin: 0.55rem 0 0;
  line-height: 1.55;
}

html body .document-wechatsync-page .document-ws-zip-step__hint code {
  font-size: 0.74rem;
  padding: 0.15rem 0.4rem;
  border-radius: 6px;
  background: rgba(15, 23, 42, 0.06);
  border: 1px solid var(--ws-zip-card-border);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

html.dark body .document-wechatsync-page .document-ws-zip-step__hint code,
html body.dark .document-wechatsync-page .document-ws-zip-step__hint code {
  background: rgba(0, 0, 0, 0.35);
}

html body .document-wechatsync-page .document-ws-copy-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
  padding: 0.5rem 0.55rem 0.5rem 0.75rem;
  border-radius: 10px;
  background: rgba(15, 23, 42, 0.04);
  border: 1px solid var(--ws-zip-card-border);
}

html.dark body .document-wechatsync-page .document-ws-copy-row,
html body.dark .document-wechatsync-page .document-ws-copy-row {
  background: rgba(0, 0, 0, 0.35);
  border-color: rgba(248, 250, 252, 0.12);
}

html body .document-wechatsync-page .document-ws-copy-row__code {
  flex: 1;
  min-width: 0;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.8rem;
  color: var(--ws-slate);
  word-break: break-all;
}

html body .document-wechatsync-page .document-ws-copy-btn {
  flex-shrink: 0;
  font-size: 0.74rem;
  font-weight: 700;
  padding: 0.32rem 0.65rem;
  border-radius: 8px;
  border: 1px solid rgba(99, 102, 241, 0.5);
  background: rgba(99, 102, 241, 0.14);
  color: #4f46e5;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, transform 0.12s;
}

html.dark body .document-wechatsync-page .document-ws-copy-btn,
html body.dark .document-wechatsync-page .document-ws-copy-btn {
  color: #e0e7ff;
  border-color: rgba(129, 140, 248, 0.55);
  background: rgba(99, 102, 241, 0.28);
}

html body .document-wechatsync-page .document-ws-copy-btn:hover {
  background: rgba(99, 102, 241, 0.24);
  transform: translateY(-1px);
}

html.dark body .document-wechatsync-page .document-ws-copy-btn:hover,
html body.dark .document-wechatsync-page .document-ws-copy-btn:hover {
  background: rgba(99, 102, 241, 0.38);
}

@media screen and (max-width: 480px) {
  html body .document-wechatsync-page .document-ws-install {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  html body .document-wechatsync-page .document-ws-zip-panel {
    padding-left: 0.85rem;
    padding-right: 0.85rem;
  }
}

/* Stats */
html body .document-wechatsync-page .document-ws-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.65rem;
  margin-bottom: 1.75rem;
}

@media screen and (max-width: 520px) {
  html body .document-wechatsync-page .document-ws-stats {
    grid-template-columns: 1fr;
  }
}

html body .document-wechatsync-page .document-ws-stat {
  text-align: center;
  padding: 1rem 0.65rem;
  border-radius: 12px;
  background: var(--ws-card);
  border: 1px solid var(--ws-border);
}

html body .document-wechatsync-page .document-ws-stat__num {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--ws-green);
  line-height: 1.2;
  margin-bottom: 0.2rem;
}

html body .document-wechatsync-page .document-ws-stat__label {
  font-size: 0.8rem;
  color: var(--ws-muted);
}

/* Section */
html body .document-wechatsync-page .document-ws-section {
  margin-bottom: 1.75rem;
}

html body .document-wechatsync-page .document-ws-section__title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ws-slate);
  margin: 0 0 0.85rem;
  padding-bottom: 0.45rem;
  border-bottom: 1px solid var(--ws-border);
}

html body .document-wechatsync-page .document-ws-section__lead {
  font-size: 0.88rem;
  color: var(--ws-muted);
  margin: -0.35rem 0 1rem;
  line-height: 1.55;
}

/* Scenarios */
html body .document-wechatsync-page .document-ws-scenarios {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.65rem;
}

@media screen and (max-width: 900px) {
  html body .document-wechatsync-page .document-ws-scenarios {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 520px) {
  html body .document-wechatsync-page .document-ws-scenarios {
    grid-template-columns: 1fr;
  }
}

html body .document-wechatsync-page .document-ws-scenario {
  padding: 0.85rem 0.9rem;
  border-radius: 10px;
  background: var(--ws-card);
  border: 1px solid var(--ws-border);
  font-size: 0.86rem;
}

html body .document-wechatsync-page .document-ws-scenario__t {
  font-weight: 700;
  color: var(--ws-slate);
  margin-bottom: 0.35rem;
  font-size: 0.9rem;
}

html body .document-wechatsync-page .document-ws-scenario__d {
  color: var(--ws-muted);
  line-height: 1.5;
  margin: 0;
}

/* Steps */
html body .document-wechatsync-page .document-ws-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
  counter-reset: wsstep;
}

@media screen and (max-width: 720px) {
  html body .document-wechatsync-page .document-ws-steps {
    grid-template-columns: 1fr;
  }
}

html body .document-wechatsync-page .document-ws-step {
  position: relative;
  padding: 1rem 1rem 1rem 2.75rem;
  border-radius: 12px;
  background: var(--ws-card);
  border: 1px solid var(--ws-border);
}

html body .document-wechatsync-page .document-ws-step::before {
  counter-increment: wsstep;
  content: counter(wsstep);
  position: absolute;
  left: 0.85rem;
  top: 0.95rem;
  width: 1.55rem;
  height: 1.55rem;
  line-height: 1.55rem;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 800;
  color: #fff;
  background: var(--ws-green);
  border-radius: 50%;
}

html body .document-wechatsync-page .document-ws-step__t {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--ws-slate);
  margin: 0 0 0.4rem;
}

html body .document-wechatsync-page .document-ws-step__d {
  font-size: 0.84rem;
  color: var(--ws-muted);
  line-height: 1.55;
  margin: 0;
}

/* Features row */
html body .document-wechatsync-page .document-ws-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.65rem;
}

@media screen and (max-width: 720px) {
  html body .document-wechatsync-page .document-ws-features {
    grid-template-columns: 1fr;
  }
}

html body .document-wechatsync-page .document-ws-feature {
  padding: 0.9rem 1rem;
  border-radius: 10px;
  border: 1px solid var(--ws-border);
  background: var(--ws-card);
}

html body .document-wechatsync-page .document-ws-feature__t {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--ws-slate);
  margin: 0 0 0.35rem;
}

html body .document-wechatsync-page .document-ws-feature__d {
  font-size: 0.82rem;
  color: var(--ws-muted);
  line-height: 1.55;
  margin: 0;
}

/* Platform groups（图标网格，对齐官网分区） */
html body .document-wechatsync-page .document-ws-platforms {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

html body .document-wechatsync-page .document-ws-pgroup--icons {
  position: relative;
  padding: 1.15rem 0.85rem 0.95rem;
  border-radius: 14px;
  border: 1px solid var(--ws-border);
  background: rgba(255, 255, 255, 0.65);
}

html.dark body .document-wechatsync-page .document-ws-pgroup--icons,
html body.dark .document-wechatsync-page .document-ws-pgroup--icons {
  background: var(--ws-card);
}

html body .document-wechatsync-page .document-ws-pgroup__ribbon {
  position: absolute;
  left: 0.85rem;
  top: -0.52rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 0.22rem 0.55rem;
  border-radius: 6px;
  line-height: 1.2;
  border: 1px solid transparent;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

html body .document-wechatsync-page .document-ws-pgroup--social .document-ws-pgroup__ribbon {
  background: linear-gradient(180deg, #ede9fe 0%, #ddd6fe 100%);
  color: #5b21b6;
  border-color: rgba(91, 33, 182, 0.18);
}

html body .document-wechatsync-page .document-ws-pgroup--tech .document-ws-pgroup__ribbon {
  background: linear-gradient(180deg, #e0f2fe 0%, #bae6fd 100%);
  color: #0369a1;
  border-color: rgba(3, 105, 161, 0.2);
}

html body .document-wechatsync-page .document-ws-pgroup--news .document-ws-pgroup__ribbon {
  background: linear-gradient(180deg, #fef9c3 0%, #fde68a 100%);
  color: #b45309;
  border-color: rgba(180, 83, 9, 0.22);
}

html body .document-wechatsync-page .document-ws-pgroup--cms .document-ws-pgroup__ribbon {
  background: linear-gradient(180deg, #ffedd5 0%, #fed7aa 100%);
  color: #c2410c;
  border-color: rgba(194, 65, 12, 0.22);
}

html.dark body .document-wechatsync-page .document-ws-pgroup--social .document-ws-pgroup__ribbon,
html body.dark .document-wechatsync-page .document-ws-pgroup--social .document-ws-pgroup__ribbon {
  background: rgba(91, 33, 182, 0.35);
  color: #e9d5ff;
  border-color: rgba(167, 139, 250, 0.35);
}

html.dark body .document-wechatsync-page .document-ws-pgroup--tech .document-ws-pgroup__ribbon,
html body.dark .document-wechatsync-page .document-ws-pgroup--tech .document-ws-pgroup__ribbon {
  background: rgba(3, 105, 161, 0.38);
  color: #bae6fd;
  border-color: rgba(56, 189, 248, 0.35);
}

html.dark body .document-wechatsync-page .document-ws-pgroup--news .document-ws-pgroup__ribbon,
html body.dark .document-wechatsync-page .document-ws-pgroup--news .document-ws-pgroup__ribbon {
  background: rgba(180, 83, 9, 0.38);
  color: #fde68a;
  border-color: rgba(251, 191, 36, 0.35);
}

html.dark body .document-wechatsync-page .document-ws-pgroup--cms .document-ws-pgroup__ribbon,
html body.dark .document-wechatsync-page .document-ws-pgroup--cms .document-ws-pgroup__ribbon {
  background: rgba(194, 65, 12, 0.38);
  color: #fdba74;
  border-color: rgba(251, 146, 60, 0.35);
}

html body .document-wechatsync-page .document-ws-pgrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(5.1rem, 1fr));
  gap: 0.45rem;
}

@media screen and (max-width: 400px) {
  html body .document-wechatsync-page .document-ws-pgrid {
    grid-template-columns: repeat(3, 1fr);
  }
}

html body .document-wechatsync-page .document-ws-pcell {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-decoration: none;
  padding: 0.55rem 0.28rem 0.45rem;
  min-height: 5.1rem;
  border-radius: 10px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: #fff;
  box-sizing: border-box;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

html.dark body .document-wechatsync-page .document-ws-pcell,
html body.dark .document-wechatsync-page .document-ws-pcell {
  background: rgba(15, 23, 42, 0.55);
  border-color: rgba(148, 163, 184, 0.18);
}

html body .document-wechatsync-page .document-ws-pcell:hover {
  border-color: rgba(7, 193, 96, 0.42);
  box-shadow: 0 6px 18px rgba(7, 193, 96, 0.12);
  transform: translateY(-1px);
}

html body .document-wechatsync-page .document-ws-pcell__icon-wrap {
  width: 4.5rem;
  height: 2.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.35rem;
  flex-shrink: 0;
}

/* 与 wechatsync.com 首页 .platform-logo 尺寸一致（本地 assets/wechatsync-platforms） */
html body .document-wechatsync-page .document-ws-pcell__icon {
  max-width: 52px;
  max-height: 42px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

/* Markdown 单色 SVG（ bundled markdown.svg ）深色模式下反色 */
html.dark body .document-wechatsync-page .document-ws-pcell__icon--mono,
html body.dark .document-wechatsync-page .document-ws-pcell__icon--mono {
  filter: brightness(0) invert(1);
  opacity: 0.92;
}

html body .document-wechatsync-page .document-ws-pcell__name {
  font-size: 0.66rem;
  line-height: 1.25;
  color: var(--ws-muted);
  text-align: center;
  width: 100%;
  word-break: break-word;
  hyphens: auto;
}

html body .document-wechatsync-page .document-ws-pgroup__footnote {
  margin: 0.65rem 0 0;
  padding: 0 0.15rem;
  font-size: 0.76rem;
  line-height: 1.55;
  color: var(--ws-muted);
}

/* Use cases intro line */
html body .document-wechatsync-page .document-ws-audience {
  font-size: 0.88rem;
  color: var(--ws-muted);
  text-align: center;
  margin: 0 0 1rem;
}

/* Code blocks */
html body .document-wechatsync-page .document-ws-codeblock {
  margin: 0.5rem 0 0;
  padding: 0.75rem 0.9rem;
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.06);
  border: 1px solid var(--ws-border);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.72rem;
  line-height: 1.55;
  overflow-x: auto;
  color: var(--ws-slate);
  white-space: pre-wrap;
  word-break: break-word;
}

html.dark body .document-wechatsync-page .document-ws-codeblock,
html body.dark .document-wechatsync-page .document-ws-codeblock {
  background: rgba(0, 0, 0, 0.35);
  color: #e2e8f0;
}

html body .document-wechatsync-page .document-ws-devcard {
  padding: 1rem 1.1rem;
  border-radius: 12px;
  border: 1px solid var(--ws-border);
  background: var(--ws-card);
  margin-bottom: 0.65rem;
}

html body .document-wechatsync-page .document-ws-devcard:last-child {
  margin-bottom: 0;
}

html body .document-wechatsync-page .document-ws-devcard__t {
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--ws-slate);
  margin: 0 0 0.35rem;
}

html body .document-wechatsync-page .document-ws-devcard__d {
  font-size: 0.82rem;
  color: var(--ws-muted);
  line-height: 1.55;
  margin: 0 0 0.35rem;
}

html body .document-wechatsync-page .document-ws-devcard__link {
  font-size: 0.8rem;
}

html body .document-wechatsync-page .document-ws-devcard__link a {
  color: var(--ws-green);
  text-decoration: none;
  font-weight: 600;
}

html body .document-wechatsync-page .document-ws-devcard__link a:hover {
  text-decoration: underline;
}

/* Markdown feature list */
html body .document-wechatsync-page .document-ws-list {
  margin: 0;
  padding-left: 1.15rem;
  font-size: 0.86rem;
  color: var(--ws-muted);
  line-height: 1.65;
}

html body .document-wechatsync-page .document-ws-list li {
  margin-bottom: 0.35rem;
}

html body .document-wechatsync-page .document-ws-list strong {
  color: var(--ws-slate);
}

/* FAQ */
html body .document-wechatsync-page .document-ws-faq {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

html body .document-wechatsync-page .document-ws-faq__item {
  padding: 0.75rem 0.9rem;
  border-radius: 10px;
  border: 1px solid var(--ws-border);
  background: var(--ws-card);
}

html body .document-wechatsync-page .document-ws-faq__q {
  font-weight: 700;
  font-size: 0.86rem;
  color: var(--ws-slate);
  margin: 0 0 0.35rem;
}

html body .document-wechatsync-page .document-ws-faq__a {
  font-size: 0.82rem;
  color: var(--ws-muted);
  line-height: 1.55;
  margin: 0;
}

/* CTA bottom */
html body .document-wechatsync-page .document-ws-cta {
  text-align: center;
  padding: 1.75rem 1.25rem;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(7, 193, 96, 0.12) 0%, rgba(22, 119, 255, 0.08) 100%);
  border: 1px solid rgba(7, 193, 96, 0.22);
  margin-top: 0.5rem;
}

html body .document-wechatsync-page .document-ws-cta__text {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ws-slate);
  margin: 0 0 1rem;
}

html body .document-wechatsync-page .document-ws-disclaimer {
  font-size: 0.78rem;
  color: var(--ws-muted);
  line-height: 1.55;
  margin: 1.5rem 0 0;
  padding: 0.85rem 1rem;
  border-radius: 10px;
  background: rgba(15, 23, 42, 0.03);
  border: 1px dashed var(--ws-border);
}

html.dark body .document-wechatsync-page .document-ws-disclaimer,
html body.dark .document-wechatsync-page .document-ws-disclaimer {
  background: rgba(255, 255, 255, 0.04);
}

/* Optional WordPress content */
html body .document-wechatsync-page .document-ws-prose {
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--ws-border);
  font-size: 0.92rem;
  line-height: 1.75;
  color: var(--ws-muted);
}

html body .document-wechatsync-page .document-ws-prose > *:first-child {
  margin-top: 0;
}
