/* 网页客服系统产品页 /channels/web
 * 设计稿:~/my/content/seo/product-pages/design(exports/sNN.png 为准,尺寸取自 build_page.py)
 * 所有类名带 cw- 前缀,避开 bulma 的 .tag/.button/.content 等同名类
 * 动效规则:只动 transform / opacity;只有 JS 给屏加了 cw-pending 才会先隐藏,JS 不执行时页面就是最终画面 */

.cw-page {
  --blue: #3273dc;
  --ink: #1f2329;
  --txt: #363636;
  --muted: #646a73;
  --sub: #8f959e;
  --soft: #f7f8fa;
  --line: #e3e9f5;
  --edge: #eceef2;
  --dark: #0e1626;
  --dark-sub: #9aa6bd;
  --surf: #18233a;
  --surf-edge: #2b3a58;
  color: var(--ink);
  padding-top: 70px;
  overflow-x: hidden;
}
/* 元素重置用 :where() 压到和单个类同级,写在前面,后面的 cw- 类规则才能覆盖 */
.cw-page *, .cw-page *::before, .cw-page *::after { box-sizing: border-box; }
.cw-page :where(h1, h2, h3, p, ul, ol, dl, dd) { margin: 0; padding: 0; }
.cw-page :where(ul, ol) { list-style: none; }
.cw-page :where(img) { display: block; max-width: 100%; height: auto; }
.cw-page :where(svg) { display: block; flex: none; }
.cw-page :where(i) { font-style: normal; }

.cw-wrap { max-width: 1200px; margin: 0 auto; }

/* ---------- 通用 ---------- */
.cw-tag {
  display: inline-block; padding: 6px 14px; border-radius: 999px; background: #eaf1fc;
  color: var(--blue); font-size: 14px; font-weight: 700; line-height: 1.5;
}
.cw-tag.is-dark { background: #1b2a47; color: #9cc0ff; }
.cw-h2 { font-size: 40px; font-weight: 900; line-height: 1.3; color: var(--ink); letter-spacing: 0; }
.cw-sub { font-size: 18px; line-height: 1.75; color: var(--muted); }

.cw-sec { padding: 110px 0 120px; background: #fff; }
.cw-sec.is-soft { background: var(--soft); }
.cw-sec.is-blue { background: #f2f6fd; }
.cw-sec.is-dark { background: var(--dark); }
.cw-sec.is-dark .cw-h2 { color: #fff; }
.cw-sec.is-dark .cw-sub { color: var(--dark-sub); }

.cw-head { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 16px; margin-bottom: 56px; }
.cw-head .cw-sub { max-width: 780px; }

.cw-btns { display: flex; flex-wrap: wrap; gap: 16px; padding-top: 12px; }
.cw-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 56px; padding: 0 34px; border-radius: 999px; border: 1.5px solid transparent;
  font-size: 17px; font-weight: 700; line-height: 1; cursor: pointer; white-space: nowrap;
  transition: background-color .2s, box-shadow .2s, transform .2s;
}
.cw-btn:hover { transform: translateY(-1px); }
.cw-btn.is-primary { background: var(--blue); color: #fff; }
.cw-btn.is-primary:hover { background: #2a65c8; color: #fff; box-shadow: 0 10px 24px rgba(50, 115, 220, .28); }
.cw-btn.is-outline { border-color: var(--blue); color: var(--blue); font-weight: 500; padding: 0 30px; }
.cw-btn.is-outline:hover { background: #eef4fe; color: var(--blue); }
.cw-btn.is-white { background: #fff; color: var(--blue); font-weight: 800; height: 58px; padding: 0 38px; }
.cw-btn.is-white:hover { color: var(--blue); box-shadow: 0 12px 28px rgba(9, 30, 80, .25); }
.cw-btn.is-ghost { border-color: rgba(255, 255, 255, .67); color: #fff; font-weight: 600; height: 58px; padding: 0 32px; }
.cw-btn.is-ghost:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.cw-btn.is-full { display: flex; width: 100%; height: 46px; font-size: 15px; }

/* 要点:蓝短线 + 标题 + 说明 */
.cw-points { display: flex; gap: 40px; margin-top: 56px; }
.cw-points li { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.cw-points.is-4 { padding: 0 10px; }
.cw-points.is-spread { padding: 0; justify-content: space-between; }
.cw-points.is-spread li { flex: 0 1 280px; }
.cw-points-bar { display: block; width: 28px; height: 3px; border-radius: 2px; background: var(--blue); }
.cw-points h3 { font-size: 18px; font-weight: 700; color: var(--ink); line-height: 1.5; }
.cw-points p { font-size: 15px; line-height: 1.7; color: var(--muted); }
.cw-points.is-dark .cw-points-bar { background: #5b8def; }
.cw-points.is-dark h3 { color: #fff; font-size: 17px; }
.cw-points.is-dark p { color: var(--dark-sub); font-size: 14px; }

/* 蓝勾列表 */
.cw-checks { display: flex; flex-direction: column; gap: 22px; padding-top: 14px; }
.cw-checks li { display: flex; gap: 14px; }
.cw-checks-icon { flex: none; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%; background: var(--blue); color: #fff; display: flex; align-items: center; justify-content: center; }
.cw-checks h3 { font-size: 18px; font-weight: 700; line-height: 1.5; color: var(--ink); }
.cw-checks p { font-size: 15px; line-height: 1.7; color: var(--muted); margin-top: 4px; }

.cw-avatar { flex: none; border-radius: 50%; color: #fff; display: inline-flex; align-items: center; justify-content: center; }
.cw-photo { flex: none; border-radius: 50%; object-fit: cover; }
.cw-chip {
  display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; border-radius: 999px;
  font-size: 11px; font-weight: 600; line-height: 1.4; white-space: nowrap;
}
.cw-chip.is-blue { background: #eaf1fc; color: var(--blue); }
.cw-chip.is-green { background: #e6f6ee; color: #1a8a5a; }
.cw-chip.is-amber { background: #fdf3e1; color: #b7791f; }
.cw-chip.is-gray { background: #f2f5fa; color: var(--muted); font-size: 12px; padding: 3px 10px; }
/* 手机外框:深色外壳 + 截图,尺寸照设计稿 phone()(屏宽 250,外壳边 9、圆角 35) */
.cw-device { display: block; width: 268px; padding: 9px; border-radius: 35px; background: #1f2329; box-shadow: 0 30px 60px rgba(31, 35, 41, .2); }
.cw-device img { width: 100%; border-radius: 28px; }
.cw-device.is-sm { width: 180px; padding: 6px; border-radius: 24px; }
.cw-device.is-sm img { border-radius: 18px; }

/* 网站截图外面那层浅灰底卡 */
.cw-shot-card { padding: 22px; border-radius: 24px; background: #f2f3f5; box-shadow: 0 30px 70px rgba(31, 35, 41, .14); }
.cw-shot-card img { width: 100%; border-radius: 12px; border: 1px solid #e4e6ea; }

/* 浅色格子 */
.cw-cell { display: flex; flex-direction: column; padding: 28px; border-radius: 22px; background: #fff; border: 1px solid var(--edge); }
.cw-cell h3 { font-size: 18px; font-weight: 700; line-height: 1.45; color: var(--ink); }
.cw-cell > p { font-size: 14px; line-height: 1.6; color: var(--muted); margin-top: 6px; }
.cw-cell-art { flex: 1; display: flex; align-items: center; justify-content: center; margin-top: 12px; min-height: 0; }

/* ---------- 首屏 ---------- */
.cw-hero { background: #fff; }
/* 设计稿 1440 宽里文案左边距 120,右边叠了手机的画面宽 740,比居中的 1200 栏整体偏右 */
.cw-hero-body { width: 1280px; margin-left: calc(50% - 600px); min-height: 830px; display: flex; align-items: center; justify-content: space-between; padding: 0 0 40px; }
.cw-hero-text { width: 540px; flex: none; display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.cw-hero-title { font-size: 52px; font-weight: 900; line-height: 1.24; color: var(--ink); }
.cw-hero-sub { font-size: 18px; line-height: 1.8; color: var(--muted); }
.cw-hero-note { font-size: 14px; color: var(--sub); }
.cw-hero-art { position: relative; width: 740px; flex: none; }
/* 画面 740×560:网站截图卡在 (0,30) 宽 614,手机在 (556,170) 宽 180;按比例写,窄一点的屏幕也能整体缩放 */
.cw-hero-art::before { content: ''; display: block; padding-top: 75.68%; }
.cw-hero-shot { position: absolute; left: 0; top: 5.36%; width: 82.97%; }
.cw-hero-art .cw-device { position: absolute; left: 75.14%; top: 30.36%; width: 24.32%; }

/* ---------- 放在谁网站上 ---------- */
.cw-themes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.cw-theme { padding: 12px; border-radius: 18px; background: #fff; box-shadow: 0 16px 40px rgba(31, 35, 41, .05); transition: transform .25s ease-out, box-shadow .25s ease-out; }
.cw-theme:hover { transform: translateY(-4px); box-shadow: 0 22px 48px rgba(31, 35, 41, .1); }
.cw-theme img { width: 100%; aspect-ratio: 360 / 228; object-fit: cover; border-radius: 10px; border: 1px solid #e8eaee; }
.cw-theme p { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 14px 4px 2px; }
.cw-theme strong { font-size: 15px; font-weight: 700; color: var(--ink); }
.cw-theme span { font-size: 14px; color: var(--muted); white-space: nowrap; }

/* ---------- 手机端 ---------- */
.cw-mobile .cw-head { margin-bottom: 64px; }
.cw-devices { display: flex; justify-content: center; gap: 110px; }
.cw-devices li { width: 320px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.cw-devices h3 { margin-top: 32px; font-size: 20px; font-weight: 800; line-height: 1.4; color: var(--ink); }
.cw-devices p { margin-top: 8px; font-size: 15px; line-height: 1.7; color: var(--muted); }

/* ---------- 左右分栏(欢迎语、主动邀请) ---------- */
.cw-split-body { display: flex; align-items: center; gap: 60px; }
.cw-split-text { width: 480px; flex: none; display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.cw-split-art { flex: 1; min-width: 0; display: flex; justify-content: center; }
.cw-welcome-img { width: 466px; }
.cw-split.is-invite .cw-split-body { gap: 40px; }
.cw-invite-art { position: relative; justify-content: flex-end; padding: 40px 0 0 60px; }
.cw-invite-shot { width: 684px; max-width: 100%; }
.cw-rule {
  position: absolute; left: 0; top: 0; display: flex; flex-direction: column; gap: 12px;
  padding: 16px 18px; border-radius: 16px; background: #fff; border: 1px solid #e6e8eb;
  box-shadow: 0 18px 40px rgba(31, 35, 41, .12);
}
.cw-rule-head { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: var(--blue); color: #fff; font-size: 13px; font-weight: 700; }
.cw-rule p { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); }
.cw-rule p svg { color: var(--blue); }
.cw-rule p strong { color: var(--ink); font-weight: 700; }

/* ---------- 消息类型 ---------- */
.cw-msg-grid { display: grid; grid-template-columns: 600px 290px 290px; grid-template-rows: 310px 310px; gap: 20px; justify-content: center; }
.cw-msg-grid .is-big { grid-row: span 2; }
.cw-msg-grid .is-big h3 { font-size: 26px; font-weight: 800; }
.cw-msg-grid .is-big > p { font-size: 16px; margin-top: 8px; }
.cw-cell-art.is-bottom { align-items: flex-end; }
.cw-msg-grid .is-big img { width: 560px; }

/* ---------- AI 机器人(桌面:1100×600 画布绝对定位;窄屏:改成竖排) ---------- */
.cw-ai { display: flex; justify-content: center; }
.cw-ai-stage { position: relative; width: 1100px; height: 600px; flex: none; }
.cw-ai-lines { position: absolute; left: 0; top: 0; width: 100%; height: 100%; overflow: visible; }
.cw-ai-stage > .cw-ai-group > *, .cw-ai-deco > i, .cw-ai-docs li { position: absolute; }
.cw-ai-stage .cw-ai-docs { position: static; }
.cw-ai-glow { width: 360px; height: 360px; border-radius: 50%; background: radial-gradient(circle, rgba(50, 115, 220, .28), rgba(50, 115, 220, 0) 70%); }
.cw-ai-ring { border-radius: 50%; border: 1px solid rgba(91, 141, 239, .22); }
.cw-ai-ring:nth-child(3) { border-color: rgba(91, 141, 239, .15); }
.cw-ai-ring:nth-child(4) { border-color: rgba(91, 141, 239, .08); }
.cw-ai-star { border-radius: 50%; }
.cw-ai-label { font-size: 13px; font-weight: 600; color: var(--dark-sub); white-space: nowrap; }
.cw-ai-label.is-blue { color: #9cc0ff; font-weight: 700; }
.cw-ai-label.is-orange { color: #f3c27a; font-weight: 700; }
.cw-ai-visitor { display: flex; align-items: center; gap: 10px; }
.cw-ai-bubble {
  width: 200px; height: 52px; padding: 0 18px; border-radius: 18px; display: flex; align-items: center;
  background: var(--surf); border: 1px solid var(--surf-edge); color: #fff; font-size: 14px; font-weight: 600;
}
.cw-ai-visitor.is-hand .cw-ai-bubble { border: 1.5px solid #e8a33d; }
.cw-ai-orb {
  width: 150px; height: 150px; border-radius: 50%; overflow: hidden; display: flex; align-items: center; justify-content: center;
  background:
    radial-gradient(circle at 28% 66%, #3273dc 0, rgba(50, 115, 220, .85) 22%, rgba(50, 115, 220, 0) 52%),
    radial-gradient(circle at 74% 30%, #7c5cff 0, rgba(124, 92, 255, .75) 20%, rgba(124, 92, 255, 0) 48%),
    radial-gradient(circle at 52% 88%, #2fd3c6 0, rgba(47, 211, 198, .6) 16%, rgba(47, 211, 198, 0) 42%),
    linear-gradient(160deg, #1b2b52, #0f1a33);
  border: 1.5px solid rgba(156, 192, 255, .4);
  box-shadow: 0 0 70px rgba(50, 115, 220, .8);
}
.cw-ai-orb::before { content: ''; position: absolute; left: 20%; top: 7%; width: 60%; height: 25%; border-radius: 50%; background: rgba(255, 255, 255, .22); }
.cw-ai-orb span { position: relative; font-family: Inter, "Helvetica Neue", Arial, sans-serif; font-size: 56px; font-weight: 700; letter-spacing: -1.5px; color: #fff; text-shadow: 0 0 18px rgba(156, 192, 255, .8); }
.cw-ai-spark { position: absolute; left: 106px; top: 36px; width: 19px; height: 19px; }
.cw-ai-name { width: 100px; text-align: center; font-size: 15px; font-weight: 700; color: #fff; }
.cw-ai-docs li {
  display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 12px; white-space: nowrap;
  background: var(--surf); border: 1px solid var(--surf-edge); color: #dbe5f7; font-size: 13px; font-weight: 600;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .33);
}
.cw-ai-docs svg { color: #9cc0ff; }
.cw-ai-caption { width: 180px; text-align: center; font-size: 13px; color: var(--dark-sub); }
.cw-ai-answer { display: flex; align-items: center; gap: 12px; }
.cw-ai-answer-bubble { width: 200px; padding: 13px 16px; border-radius: 16px; background: #e9effb; color: var(--ink); font-size: 13px; font-weight: 500; line-height: 1.5; }
.cw-ai-ok { width: 24px; height: 24px; border-radius: 50%; background: #22a06b; color: #fff; display: flex; align-items: center; justify-content: center; }
.cw-ai-hand-bubble {
  display: flex; align-items: center; gap: 10px; padding: 13px 16px; border-radius: 16px;
  background: var(--surf); border: 1.5px solid #e8a33d; color: #fff; font-size: 14px; font-weight: 600; white-space: nowrap;
}
.cw-ai-hand-bubble span { padding: 3px 10px; border-radius: 999px; background: #f3c27a; color: var(--ink); font-size: 12px; font-weight: 700; }
.cw-ai-agent { width: 92px; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.cw-ai-agent-icon { width: 72px; height: 72px; margin: 10px; border-radius: 50%; background: #e8a33d; color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 10px rgba(243, 194, 122, 0), 0 0 0 11px rgba(243, 194, 122, .2); }
.cw-ai-agent-name { font-size: 13px; font-weight: 600; color: #fff; margin-top: -8px; }
.cw-ai-summary { display: flex; flex-direction: column; gap: 10px; padding: 14px 16px; border-radius: 14px; background: #fff; box-shadow: 0 16px 40px rgba(0, 0, 0, .47); }
.cw-ai-summary-head { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--ink); }
.cw-ai-summary-head svg { color: var(--blue); }
.cw-ai-summary-row { display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--muted); }
.cw-ai-summary-row strong { font-weight: 600; color: var(--ink); }
.cw-ai-dot { display: none; }
@supports (offset-path: path("M0 0")) {
  .cw-ai-dot { display: block; position: absolute; left: 0; top: 0; width: 7px; height: 7px; margin: -3.5px 0 0 -3.5px; border-radius: 50%; background: #9cc0ff; opacity: 0; offset-rotate: 0deg; }
  .cw-ai-dot.is-hand { background: #f3c27a; width: 8px; height: 8px; }
}

/* ---------- 访客信息 ---------- */
.cw-desk { display: flex; align-items: flex-start; gap: 28px; padding: 36px 40px; border-radius: 28px; background: #f3f7fd; }
.cw-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 16px 40px rgba(31, 35, 41, .08); }
.cw-online { width: 420px; flex: none; padding: 22px 16px; }
.cw-online-head { display: flex; justify-content: space-between; align-items: center; padding: 0 0 4px; }
.cw-online-head p { display: flex; align-items: center; gap: 10px; }
.cw-online-head strong { font-size: 16px; font-weight: 800; }
.cw-online-head > span { font-size: 12px; color: var(--sub); }
.cw-online ul { display: flex; flex-direction: column; gap: 6px; margin-top: 2px; }
.cw-online li { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; border: 1px solid transparent; }
.cw-online li.is-sel { background: #eef4fe; border-color: #bcd2f5; }
.cw-online li > div { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.cw-online-name { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; }
.cw-online-name .cw-chip { padding: 2px 8px; }
.cw-online-page { font-size: 13px; color: var(--txt); }
.cw-online-meta { font-size: 12px; color: var(--sub); }
.cw-detail { flex: 1; min-width: 0; padding: 26px 30px; display: flex; flex-direction: column; gap: 16px; }
.cw-detail-head { display: flex; align-items: center; gap: 14px; }
.cw-detail-head > div { display: flex; flex-direction: column; gap: 4px; }
.cw-detail-name { display: flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 800; }
.cw-online-dot { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 600; color: #1a8a5a; }
.cw-online-dot::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #22a06b; }
.cw-detail-sub { font-size: 13px; color: var(--muted); }
.cw-detail hr { height: 1px; margin: 0; background: var(--line); border: 0; }
.cw-detail-sect { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; }
.cw-detail-sect span { font-size: 12px; font-weight: 400; color: var(--sub); }
.cw-detail-kv { display: flex; gap: 56px; }
.cw-detail-kv div { display: flex; flex-direction: column; gap: 4px; }
.cw-detail-kv dt { font-size: 12px; color: var(--sub); }
.cw-detail-kv dd { font-size: 14px; font-weight: 600; }
.cw-track { position: relative; display: flex; margin: 0 -40px; width: 640px; max-width: calc(100% + 80px); height: 120px; }
.cw-track::before { content: ''; position: absolute; left: 80px; right: 80px; top: 33px; height: 2px; background: #c9d6f2; }
.cw-track li { position: relative; flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px; }
.cw-track-node { width: 40px; height: 40px; margin: 14px 0 10px; border-radius: 50%; background: #fff; border: 1.5px solid #c9d6f2; color: var(--blue); display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 20px rgba(31, 35, 41, .06); }
.cw-track li.is-hot .cw-track-node { width: 52px; height: 52px; margin: 8px 0 10px; background: var(--blue); border-color: var(--blue); color: #fff; box-shadow: 0 0 0 12px rgba(50, 115, 220, .12), 0 8px 20px rgba(50, 115, 220, .33); }
.cw-track strong { font-size: 13px; font-weight: 700; }
.cw-track-time { font-size: 12px; color: var(--sub); }
.cw-track .cw-chip { padding: 1px 8px; }
.cw-detail-env { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.cw-detail-env strong { font-size: 13px; font-weight: 700; }

/* ---------- 离线留言 ---------- */
.cw-head-split { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: 52px; }
.cw-head-split > div { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.cw-daynight { position: relative; display: flex; height: 500px; border-radius: 28px; overflow: hidden; border: 1px solid var(--edge); box-shadow: 0 30px 70px rgba(31, 35, 41, .1); }
.cw-night { position: relative; width: 50%; background: linear-gradient(180deg, #1c2a4a, #0f1729); }
.cw-night-star { position: absolute; border-radius: 50%; background: #fff; }
.cw-time { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--ink); }
.cw-time svg { color: #e8a33d; }
.cw-time.is-night { position: absolute; left: 44px; top: 36px; color: #dbe5f7; }
.cw-time.is-night svg { color: #f3d38a; }
.cw-leave-form {
  position: absolute; left: 140px; top: 78px; width: 316px; display: flex; flex-direction: column; gap: 12px;
  padding: 22px; border-radius: 18px; background: #fff; box-shadow: 0 24px 60px rgba(0, 0, 0, .4);
}
.cw-leave-title { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 800; }
.cw-leave-title svg { color: var(--blue); }
.cw-leave-tip { font-size: 12px; line-height: 1.5; color: var(--sub); }
.cw-field { display: flex; flex-direction: column; gap: 6px; }
.cw-field > span { font-size: 12px; font-weight: 600; color: var(--muted); }
.cw-field p { display: flex; justify-content: space-between; align-items: center; padding: 10px 12px; border-radius: 10px; background: #f6f8fb; border: 1px solid var(--line); font-size: 13px; line-height: 1.6; color: var(--ink); }
.cw-field p svg { color: var(--sub); }
.cw-field p.is-area { min-height: 72px; align-items: flex-start; }
.cw-leave-submit { height: 40px; border-radius: 10px; background: var(--blue); color: #fff; font-size: 14px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.cw-seam {
  position: absolute; left: calc(50% - 26px); top: 224px; z-index: 2; width: 52px; height: 52px; border-radius: 50%;
  background: #fff; border: 1px solid var(--line); color: var(--blue); display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 30px rgba(31, 35, 41, .2);
}
.cw-day { width: 50%; display: flex; flex-direction: column; gap: 18px; padding: 36px 44px 36px 80px; background: #fff; }
.cw-inbox-title { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 800; margin-bottom: -8px; }
.cw-inbox-title span { font-size: 13px; font-weight: 600; color: var(--sub); }
.cw-inbox { display: flex; flex-direction: column; gap: 10px; }
.cw-inbox li { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px; border-radius: 14px; background: #fff; border: 1px solid var(--line); }
.cw-inbox li.is-sel { background: #eef4fe; border-color: #bcd2f5; }
.cw-inbox-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.cw-inbox-top > span { display: flex; align-items: center; gap: 8px; }
.cw-inbox-top strong { font-size: 14px; font-weight: 700; }
.cw-inbox-top .cw-chip { padding: 1px 8px; }
.cw-inbox-time { font-size: 12px; color: var(--sub); white-space: nowrap; }
.cw-unread-dot { width: 8px; height: 8px; border-radius: 50%; background: #f04438; }
.cw-inbox-msg { font-size: 13px; line-height: 1.5; color: var(--muted); }
.cw-reply { display: flex; justify-content: flex-end; }
.cw-reply span { padding: 11px 16px; border-radius: 16px; background: var(--blue); color: #fff; font-size: 13px; font-weight: 500; line-height: 1.5; }

/* ---------- 多语言 ---------- */
.cw-lang { display: flex; justify-content: center; align-items: center; gap: 40px; }
.cw-lang-col { display: flex; flex-direction: column; align-items: center; gap: 14px; min-width: 0; }
.cw-lang-label { font-size: 14px; font-weight: 700; color: var(--sub); }
.cw-lang-label.is-blue { color: var(--blue); }
.cw-win { background: #fff; border-radius: 18px; overflow: hidden; box-shadow: 0 24px 60px rgba(31, 35, 41, .12); padding-bottom: 16px; }
.cw-vwin { width: 330px; }
.cw-bwin { width: 520px; padding-bottom: 18px; }
.cw-win-head { display: flex; align-items: center; gap: 10px; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.cw-win-head > div { display: flex; flex-direction: column; gap: 2px; }
.cw-win-head strong { font-size: 15px; font-weight: 700; }
.cw-win-head > div span { font-size: 11px; color: var(--sub); }
.cw-win-head.is-split { justify-content: space-between; padding: 16px 20px; }
.cw-win-head.is-split p { display: flex; align-items: center; gap: 10px; }
.cw-auto-tr { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 600; color: #1a8a5a; white-space: nowrap; }
.cw-win-body { display: flex; flex-direction: column; gap: 12px; padding: 18px 16px; }
.cw-bwin .cw-win-body { gap: 14px; padding: 20px; }
.cw-msg { display: flex; }
.cw-msg.is-me { justify-content: flex-end; }
.cw-vwin .cw-msg span { max-width: 228px; padding: 10px 14px; border-radius: 16px; background: #f2f3f5; font-size: 13px; font-weight: 500; line-height: 1.5; }
.cw-vwin .cw-msg.is-me span { background: var(--ink); color: #fff; }
.cw-bmsg { gap: 10px; align-items: flex-start; }
.cw-bmsg p { display: flex; flex-direction: column; padding: 11px 14px; border-radius: 14px; background: #f2f3f5; max-width: 440px; }
.cw-bmsg.is-me p { background: #eaf1fc; }
.cw-bmsg p > span:first-child { font-size: 14px; font-weight: 500; line-height: 1.5; padding-bottom: 6px; border-bottom: 1px solid #d5dbe5; }
.cw-tr { display: block; font-size: 12px; color: var(--muted); padding-top: 6px; }
.cw-win-input { margin: 0 16px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); font-size: 13px; color: var(--sub); }
.cw-win-input.is-bench { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin: 0 20px; background: #f6f8fb; }
.cw-win-input.is-bench svg { color: var(--blue); }
.cw-lang-hub { width: 150px; flex: none; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.cw-lang-node { width: 84px; height: 84px; border-radius: 50%; background: var(--blue); color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 14px 36px rgba(50, 115, 220, .4); }
.cw-lang-hub strong { font-size: 14px; font-weight: 700; }
.cw-lang-arrow { color: #9db8ea; }

/* ---------- 接待与提醒 ---------- */
.cw-bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cw-bento .cw-cell > h3 { font-size: 20px; font-weight: 800; }
.cw-bento .is-wide { grid-column: span 2; height: 420px; }
.cw-bento .is-phone { grid-column: span 2; height: 420px; }
.cw-bento .is-wide, .cw-bento .is-phone { padding: 28px; }
.cw-screen { position: relative; display: flex; height: 270px; margin-top: 20px; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); background: #fff; }
.cw-screen-nav { width: 86px; flex: none; display: flex; flex-direction: column; gap: 16px; padding: 18px 14px; background: #f4f6fa; }
.cw-screen-nav li { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--muted); }
.cw-screen-nav li svg { color: var(--sub); }
.cw-screen-nav li.is-on, .cw-screen-nav li.is-on svg { color: var(--blue); }
.cw-screen-list { width: 200px; flex: none; display: flex; flex-direction: column; gap: 2px; padding: 10px 8px; border-right: 1px solid var(--line); }
.cw-screen-list li { display: flex; align-items: center; gap: 8px; padding: 9px 10px; border-radius: 10px; }
.cw-screen-list li.is-sel { background: #eef4fe; }
.cw-screen-list li > div { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.cw-screen-list p { display: flex; justify-content: space-between; align-items: center; gap: 4px; font-size: 11px; color: var(--muted); }
.cw-screen-list p strong { font-size: 12px; font-weight: 700; color: var(--ink); }
.cw-screen-list p:first-child span { font-size: 10px; color: var(--sub); }
.cw-badge { width: 15px; height: 15px; border-radius: 50%; background: #f04438; color: #fff; font-size: 9px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.cw-screen-chat { flex: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 90px 14px 14px; }
.cw-screen-chat span { padding: 8px 11px; border-radius: 12px; background: #f2f3f5; font-size: 12px; }
.cw-toast { position: absolute; left: 296px; top: 14px; width: 240px; display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 14px; background: #fff; box-shadow: 0 14px 30px rgba(31, 35, 41, .2); }
.cw-toast > div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.cw-toast strong { font-size: 13px; font-weight: 700; white-space: nowrap; }
.cw-toast > div span { font-size: 12px; color: var(--muted); }
.cw-push-icon { flex: none; width: 24px; height: 24px; border-radius: 6px; background: var(--blue); color: #fff; display: flex; align-items: center; justify-content: center; }
.cw-push-icon.is-lg { width: 32px; height: 32px; border-radius: 9px; }
.cw-phone {
  width: 196px; height: 262px; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 24px 10px;
  border-radius: 30px; border: 6px solid var(--ink); background: linear-gradient(180deg, #7a9be0, #2c4a8c); overflow: hidden;
}
.cw-phone-time { font-size: 34px; font-weight: 300; color: #fff; line-height: 1.2; }
.cw-phone-date { font-size: 11px; color: #e6eeff; margin-bottom: 14px; }
.cw-push { width: 176px; display: flex; align-items: center; gap: 8px; padding: 9px 10px; border-radius: 12px; background: rgba(255, 255, 255, .93); margin-bottom: 2px; }
.cw-push > div { flex: 1; min-width: 0; }
.cw-push p { display: flex; justify-content: space-between; font-size: 10px; color: var(--muted); line-height: 1.4; }
.cw-push p strong { font-size: 11px; font-weight: 700; color: var(--ink); }
.cw-push p span { font-size: 9px; color: var(--sub); }
.cw-bento .is-small { height: 236px; padding: 24px; }
.cw-bento .is-small > h3 { font-size: 17px; font-weight: 700; margin-top: 16px; }
.cw-bento .is-small > p { font-size: 13px; }
.cw-small-art { height: 96px; display: flex; align-items: center; gap: 10px; }
.cw-small-art.is-stack { flex-direction: column; align-items: stretch; justify-content: center; gap: 6px; }
.cw-small-art .cw-chip { font-size: 12px; padding: 5px 10px; }
.cw-muted-icon { color: var(--sub); }
.cw-group-card { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 12px; background: #fff; border: 1px solid var(--line); box-shadow: 0 6px 16px rgba(31, 35, 41, .08); }
.cw-group-card > span { display: flex; flex-direction: column; gap: 1px; }
.cw-group-card strong { font-size: 12px; font-weight: 700; }
.cw-group-card em { font-style: normal; font-size: 11px; color: var(--sub); }
.cw-input-mock { display: flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 10px; background: #fff; border: 1px solid var(--line); font-size: 13px; }
.cw-input-mock strong { font-weight: 600; }
.cw-caret { width: 1.5px; height: 14px; margin-left: -6px; background: var(--blue); }
.cw-suggest { display: flex; flex-direction: column; gap: 3px; padding: 9px 12px; border-radius: 10px; background: #eef4fe; font-size: 12px; color: var(--txt); }
.cw-suggest strong { font-size: 11px; font-weight: 700; color: var(--blue); }
.cw-hits { display: flex; flex-direction: column; gap: 6px; padding: 2px 4px; font-size: 12px; color: var(--muted); }
.cw-hits strong { color: var(--ink); font-weight: 700; }
.cw-hits mark { padding: 0 3px; border-radius: 3px; background: #fde7b0; color: #9a5b00; font-weight: 700; }
.cw-stars { font-size: 24px; color: #f5b93a; letter-spacing: 1px; line-height: 1.2; }
.cw-quote { font-size: 12px; color: var(--muted); margin-top: 4px; }

/* ---------- 接入 ---------- */
.cw-install { display: flex; justify-content: space-between; align-items: center; gap: 40px; }
.cw-install-text { width: 460px; flex: none; display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.cw-install-text .cw-sub { font-size: 17px; line-height: 1.7; }
.cw-steps { display: flex; flex-direction: column; padding-top: 20px; }
.cw-step { position: relative; display: flex; gap: 18px; padding-bottom: 38px; }
.cw-step:last-child { padding-bottom: 0; }
.cw-step:not(:last-child)::before { content: ''; position: absolute; left: 17px; top: 44px; bottom: 6px; width: 2px; background: var(--surf-edge); }
.cw-step-no { flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--blue); color: #fff; font-size: 15px; font-weight: 800; display: flex; align-items: center; justify-content: center; box-shadow: 0 0 20px rgba(50, 115, 220, .53); }
.cw-step > div { padding-top: 6px; }
.cw-step h3 { font-size: 19px; font-weight: 800; color: #fff; line-height: 1.4; }
.cw-step p { font-size: 14px; line-height: 1.6; color: var(--dark-sub); margin-top: 6px; }
.cw-code { width: 640px; min-width: 0; display: flex; flex-direction: column; gap: 16px; padding: 22px 24px; border-radius: 22px; background: var(--surf); border: 1px solid var(--surf-edge); box-shadow: 0 30px 80px rgba(0, 0, 0, .5); }
.cw-code-head { display: flex; justify-content: space-between; align-items: center; font-size: 13px; font-weight: 600; color: var(--dark-sub); }
.cw-code-dots { display: flex; gap: 6px; }
.cw-code-dots i { width: 10px; height: 10px; border-radius: 50%; background: #ff5f57; }
.cw-code-dots i:nth-child(2) { background: #febc2e; }
.cw-code-dots i:nth-child(3) { background: #28c840; }
.cw-code-copy { display: inline-flex; align-items: center; gap: 5px; padding: 5px 12px; border-radius: 8px; background: var(--blue); color: #fff; font-size: 12px; }
.cw-code-body { font-family: inherit; margin: 0; padding: 22px; border-radius: 14px; background: #0b1324; color: #cfd8ea; font-size: 15px; line-height: 30px; white-space: pre-wrap; word-break: break-all; overflow: visible; }
.cw-code-body code { padding: 0; background: none; color: inherit; font-size: inherit; font-family: inherit; }
.cw-code-body .t-tag { color: #7fb2ff; }
.cw-code-body .t-attr { color: #9ad3b8; }
.cw-code-body .t-str { color: #f3c27a; }
.cw-installed { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 14px 16px; border-radius: 14px; background: #16301f; border: 1px solid rgba(34, 197, 94, .27); }
.cw-installed p { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.cw-installed strong { font-size: 15px; font-weight: 800; color: #5ee08f; }
.cw-installed p > span:last-child { font-size: 13px; color: var(--dark-sub); }
.cw-lamp { position: relative; width: 22px; height: 22px; border-radius: 50%; background: rgba(34, 197, 94, .2); display: flex; align-items: center; justify-content: center; }
.cw-lamp i { width: 10px; height: 10px; border-radius: 50%; background: #22c55e; }
.cw-first-msg { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .1); color: #fff; font-size: 12px; font-weight: 600; white-space: nowrap; }
.cw-platforms { margin-top: 56px; }
.cw-platforms-label { font-size: 14px; font-weight: 700; color: #9cc0ff; margin-bottom: 16px; }
.cw-platforms ul { display: grid; grid-template-columns: repeat(5, 1fr); gap: 22px; }
.cw-platforms li { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 16px; background: var(--surf); border: 1px solid var(--surf-edge); }
.cw-platform-logo { flex: none; width: 46px; height: 46px; border-radius: 12px; background: #fff; color: var(--blue); display: flex; align-items: center; justify-content: center; }
.cw-platform-logo img { width: 30px; height: 30px; }
.cw-platforms li > span:last-child { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.cw-platforms strong { font-size: 14px; font-weight: 700; color: #fff; }
.cw-platforms em { font-style: normal; font-size: 12px; color: var(--dark-sub); }
.cw-install-note { margin-top: 56px; text-align: center; font-size: 15px; color: var(--dark-sub); }

/* ---------- 怎么选:真正的 <table>,最后一列(合从)浅蓝高亮 ---------- */
.cw-sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.cw-compare { background: #fff; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; box-shadow: 0 16px 40px rgba(31, 35, 41, .06); }
.cw-compare table { width: 100%; border-collapse: separate; border-spacing: 0; table-layout: fixed; }
.cw-compare th, .cw-compare td { padding: 20px 24px; text-align: left; vertical-align: top; font-size: 15px; line-height: 1.6; border-bottom: 1px solid var(--line); }
.cw-compare tbody tr:last-child th, .cw-compare tbody tr:last-child td { border-bottom: 0; }
.cw-compare thead th { font-weight: 700; color: var(--ink); }
.cw-compare thead th:first-child { width: 160px; }
.cw-compare tbody th { font-weight: 700; color: var(--ink); }
.cw-compare td { color: var(--muted); }
.cw-compare .is-ours { background: #eef4fe; }
.cw-compare thead .is-ours { color: var(--blue); }
.cw-compare td.is-ours { color: var(--ink); font-weight: 600; }
.cw-compare-sum { margin-top: 32px; text-align: center; font-size: 17px; font-weight: 600; line-height: 1.7; color: var(--ink); }
.cw-fits-title { margin-top: 72px; text-align: center; font-size: 24px; font-weight: 800; line-height: 1.4; color: var(--ink); }
.cw-fits { margin-top: 32px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cw-fits li { padding: 24px; border-radius: 20px; background: #fff; border: 1px solid var(--edge); }
.cw-fits-icon { width: 44px; height: 44px; border-radius: 12px; background: #eaf1fc; color: var(--blue); display: flex; align-items: center; justify-content: center; }
.cw-fits h4 { margin: 16px 0 0; font-size: 17px; font-weight: 700; line-height: 1.4; color: var(--ink); }
.cw-fits p { margin-top: 6px; font-size: 14px; line-height: 1.7; color: var(--muted); }

/* ---------- 常见问题 ---------- */
.cw-faq-body { display: flex; align-items: flex-start; gap: 100px; }
.cw-faq-side { width: 380px; flex: none; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.cw-ask { width: 360px; max-width: 100%; margin-top: 24px; display: flex; flex-direction: column; gap: 16px; padding: 24px; border-radius: 20px; background: var(--soft); border: 1px solid var(--edge); }
.cw-ask-head { display: flex; align-items: center; gap: 12px; }
.cw-ask-head p { display: flex; flex-direction: column; gap: 3px; }
.cw-ask-head strong { font-size: 16px; font-weight: 700; }
.cw-ask-head span { font-size: 12px; color: var(--sub); }
.cw-ask-text { font-size: 14px; line-height: 1.7; color: var(--muted); }
.cw-faq-list { flex: 1; min-width: 0; }
.cw-qa { border-bottom: 1px solid var(--line); }
.cw-qa summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 4px; cursor: pointer; list-style: none; }
.cw-qa summary::-webkit-details-marker { display: none; }
.cw-qa summary h3 { font-size: 18px; font-weight: 700; line-height: 1.5; color: var(--ink); }
.cw-qa[open] summary { padding-bottom: 12px; }
.cw-qa.is-closing summary { padding-bottom: 22px; }
/* 加号:竖线展开时转 90° 和横线重合,变成减号 */
.cw-qa-icon { position: relative; flex: none; width: 20px; height: 20px; color: var(--sub); transition: color .25s; }
.cw-qa-icon::before, .cw-qa-icon::after { content: ''; position: absolute; left: 3px; right: 3px; top: 9px; height: 2px; border-radius: 1px; background: currentColor; }
.cw-qa-icon::after { transition: transform .25s ease-out; transform: rotate(90deg); }
.cw-qa[open] .cw-qa-icon { color: var(--blue); }
.cw-qa[open] .cw-qa-icon::after { transform: rotate(0deg); }
.cw-qa.is-closing .cw-qa-icon { color: var(--sub); }
.cw-qa.is-closing .cw-qa-icon::after { transform: rotate(90deg); }
.cw-qa-answer { overflow: hidden; }
.cw-qa-answer p { padding: 0 4px 22px; font-size: 15px; line-height: 1.75; color: var(--muted); }

/* ---------- 相关文章 ---------- */
.cw-related { padding: 80px 0 90px; }
.cw-related-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 24px; }
.cw-related-title { font-size: 28px; font-weight: 800; line-height: 1.3; color: var(--ink); }
.cw-related-all { font-size: 15px; font-weight: 600; color: var(--blue); white-space: nowrap; }
.cw-related-all:hover { color: #2a65c8; }
.cw-related-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 20px; }
.cw-related-list a { display: block; height: 100%; padding: 18px 22px; border-radius: 14px; background: #fff; border: 1px solid var(--edge); font-size: 16px; font-weight: 600; line-height: 1.6; color: var(--ink); transition: border-color .2s, color .2s; }
.cw-related-list a:hover { border-color: #bcd2f5; color: var(--blue); }

/* ---------- 收尾 ---------- */
.cw-closing { position: relative; overflow: hidden; background: linear-gradient(135deg, #3f86ef 0%, #3273dc 50%, #2457b8 100%); }
.cw-closing-light { position: absolute; border-radius: 50%; pointer-events: none; }
.cw-closing-light.is-a { left: calc(50% - 880px); top: -260px; width: 620px; height: 620px; background: rgba(255, 255, 255, .06); }
.cw-closing-light.is-b { left: calc(50% + 140px); top: 60px; width: 560px; height: 560px; background: radial-gradient(circle, rgba(127, 178, 255, .4), rgba(127, 178, 255, 0) 70%); }
.cw-closing-body { position: relative; height: 620px; display: flex; align-items: center; justify-content: space-between; }
.cw-closing-text { width: 640px; display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.cw-closing-title { font-size: 52px; font-weight: 900; line-height: 1.25; color: #fff; }
.cw-closing-sub { font-size: 19px; color: #dbe7ff; }
.cw-closing-art { align-self: flex-start; margin: 28px 60px 0 0; width: 400px; }

/* 页面最底部的更新日期 */
.cw-updated { margin: 0; padding: 20px 16px; text-align: center; font-size: 13px; color: var(--sub); background: #fff; }

/* ---------- 动效(只在 JS 加了 cw-pending / cw-play 后生效) ---------- */
@keyframes cwRise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes cwPop { from { opacity: 0; transform: scale(.92); } to { opacity: 1; transform: none; } }
@keyframes cwFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes cwFromLeft { from { opacity: 0; transform: translateX(-16px); } to { opacity: 1; transform: none; } }
@keyframes cwFromRight { from { opacity: 0; transform: translateX(16px); } to { opacity: 1; transform: none; } }
@keyframes cwDrop { from { opacity: 0; transform: translateY(-12px); } to { opacity: 1; transform: none; } }
@keyframes cwFloat { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
@keyframes cwFlow { 0% { offset-distance: 0%; opacity: 0; } 12% { opacity: 1; } 88% { opacity: 1; } 100% { offset-distance: 100%; opacity: 0; } }
@keyframes cwBreath { 0%, 100% { opacity: .55; transform: scale(1); } 50% { opacity: 1; transform: scale(1.06); } }
@keyframes cwPulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.06); } }
@keyframes cwRipple { from { opacity: .8; transform: scale(1); } to { opacity: 0; transform: scale(2.4); } }
@keyframes cwHalo { 0%, 100% { opacity: .5; transform: scale(.9); } 50% { opacity: 1; transform: scale(1.1); } }

.cw-pending .cw-rise, .cw-pending .cw-pop, .cw-pending .cw-ai-visitor, .cw-pending .cw-ai-answer,
.cw-pending .cw-ai-hand-bubble, .cw-pending .cw-ai-agent, .cw-pending .cw-ai-summary, .cw-pending .cw-track-node,
.cw-pending .cw-seam, .cw-pending .cw-inbox li.is-sel, .cw-pending .cw-reply, .cw-pending .cw-msg, .cw-pending .cw-tr,
.cw-pending .cw-toast, .cw-pending .cw-push, .cw-pending .cw-step, .cw-pending .cw-lamp i, .cw-pending .cw-first-msg { opacity: 0; }

.cw-play .cw-rise { animation: cwRise .45s ease-out both; }
.cw-play .cw-pop { animation: cwPop .4s ease-out both; }
/* AI:访客从左依次滑入,答复从右,交接卡最后;光点沿连线流动;AI 球光晕呼吸 */
.cw-play .cw-ai-visitor { animation: cwFromLeft .5s ease-out both; }
.cw-play .cw-ai-answer, .cw-play .cw-ai-hand-bubble, .cw-play .cw-ai-agent { animation: cwFromRight .5s ease-out both; }
.cw-play .cw-ai-summary { animation: cwRise .45s ease-out both; }
.cw-play .cw-ai-dot { animation: cwFlow 2.4s linear infinite; }
.cw-play .cw-ai-glow { animation: cwBreath 4s ease-in-out infinite; }
/* 访客信息:轨迹节点从左到右点亮,当前页光圈呼吸 */
.cw-play .cw-track-node { animation: cwPop .35s ease-out both; }
.cw-play .cw-track li.is-hot::after { content: ''; position: absolute; left: 50%; top: 0; width: 68px; height: 68px; margin-left: -34px; border-radius: 50%; background: rgba(50, 115, 220, .12); animation: cwHalo 2s ease-in-out .9s infinite both; }
.cw-track li.is-hot .cw-track-node { position: relative; z-index: 1; }
/* 离线留言:留言卡 → 箭头从左滑到右 → 第一条留言 → 回复 */
.cw-play .cw-seam { animation: cwFromLeft .45s ease-out .55s both; }
.cw-play .cw-inbox li.is-sel { animation: cwFade .4s ease-out .9s both; }
.cw-play .cw-reply { animation: cwPop .4s ease-out 1.2s both; transform-origin: right center; }
/* 多语言:两边消息按对话顺序出现,译文慢一拍;翻译节点轻微脉动 */
.cw-play .cw-msg { animation: cwRise .35s ease-out both; }
.cw-play .cw-tr { animation: cwFloat .4s ease-out both; }
.cw-play .cw-lang-node { animation: cwPulse 1.6s ease-in-out infinite; }
/* 接待与提醒:桌面通知从右滑入,推送从上往下依次落下 */
.cw-play .cw-toast { animation: cwFromRight .4s ease-out .5s both; }
.cw-play .cw-push { animation: cwDrop .4s ease-out both; }
/* 接入:三步依次出现 → 代码卡 → 绿灯亮起一圈扩散 → 第一条咨询 */
.cw-play .cw-step { animation: cwRise .45s ease-out both; }
.cw-play .cw-lamp i { animation: cwFade .3s ease-out 1.1s both; }
.cw-play .cw-lamp::after { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #22c55e; opacity: 0; animation: cwRipple .9s ease-out 1.15s both; }
.cw-play .cw-first-msg { animation: cwPop .4s ease-out 1.6s both; }

@media (prefers-reduced-motion: reduce) {
  .cw-page *, .cw-page *::before, .cw-page *::after { animation: none !important; transition: none !important; }
  .cw-ai-dot { display: none !important; }
}

/* ---------- 中等宽度:定宽块改成弹性 ---------- */
@media (max-width: 1400px) {
  .cw-hero-body { width: auto; margin: 0 auto; max-width: 1304px; padding: 0 32px 40px; gap: 32px; }
  .cw-hero-text { width: auto; flex: 1; }
  .cw-hero-art { width: auto; flex: 1.3; }
}
@media (max-width: 1100px) {
  .cw-hero-title { font-size: 44px; }
}

@media (max-width: 1240px) {
  .cw-wrap { padding: 0 32px; }
  .cw-split-text, .cw-install-text, .cw-faq-side { width: auto; flex: 1; }
  .cw-split-art { flex: 1.2; }
  .cw-msg-grid { grid-template-columns: 2fr 1fr 1fr; }
  .cw-msg-grid .is-big img { width: 100%; }
  .cw-desk { padding: 28px; }
  .cw-online { width: 360px; }
  .cw-vwin { width: 300px; }
  .cw-bwin { width: 460px; }
  .cw-code { flex: 1.3; }
  .cw-platforms ul { gap: 14px; }
  .cw-faq-body { gap: 56px; }
  .cw-closing-text { width: auto; flex: 1; }
  .cw-closing-art { margin-right: 0; }
}

/* AI 分流图 1100 宽,放不下就改竖排:访客的咨询 → AI → 直接答 → 转给你 */
@media (max-width: 1160px) {
  .cw-ai-stage { width: 100%; max-width: 560px; height: auto; display: flex; flex-direction: column; gap: 32px; }
  .cw-ai-lines, .cw-ai-deco, .cw-ai-dot { display: none !important; }
  .cw-ai-stage > .cw-ai-group > *, .cw-ai-docs li { position: static !important; }
  .cw-ai-group { display: flex; flex-direction: column; gap: 12px; }
  .cw-ai-bubble { width: auto; flex: 1; }
  .cw-ai-group.is-center { align-items: center; gap: 14px; padding: 12px 0; }
  .cw-ai-stage .cw-ai-group .cw-ai-orb { position: relative !important; left: 0 !important; top: 0 !important; }
  .cw-ai-docs { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
  .cw-ai-answer-bubble { width: auto; flex: 1; }
  .cw-ai-group.is-handoff { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 12px 16px; }
  .cw-ai-group.is-handoff .cw-ai-label { grid-column: 1 / -1; }
  .cw-ai-hand-bubble { justify-self: start; }
  .cw-ai-agent { grid-row: span 2; }
  .cw-ai-summary { width: 100%; }
  .cw-points.is-5 { flex-wrap: wrap; row-gap: 32px; }
  .cw-points.is-5 li { flex: 1 1 28%; }
}

@media (max-width: 1080px) {
  .cw-fits { grid-template-columns: repeat(2, 1fr); }
  .cw-devices { gap: 24px; }
  .cw-devices li { width: auto; flex: 1; min-width: 0; }
  .cw-devices .cw-device { width: 100%; max-width: 268px; }
  .cw-desk { flex-direction: column; align-items: stretch; }
  .cw-online { width: auto; }
  .cw-lang { flex-direction: column; gap: 24px; }
  .cw-lang-hub { flex-direction: row; width: auto; }
  .cw-lang-arrow { transform: rotate(90deg); }
  .cw-install { flex-direction: column; align-items: stretch; }
  .cw-code { width: 100%; }
  .cw-platforms ul { grid-template-columns: repeat(3, 1fr); }
  .cw-bento { grid-template-columns: repeat(2, 1fr); }
  .cw-bento .is-wide, .cw-bento .is-phone { grid-column: span 2; height: auto; }
  .cw-phone { margin: 8px 0; }
}

/* ---------- 手机:全部单列 ---------- */
@media (max-width: 768px) {
  .cw-page { padding-top: 52px; }
  .cw-wrap { padding: 0 16px; }
  .cw-br { display: none; }
  .cw-h2 { font-size: 28px; }
  .cw-sub { font-size: 16px; line-height: 1.7; }
  .cw-sec { padding: 64px 0 72px; }
  .cw-head { margin-bottom: 32px; gap: 12px; }
  .cw-points, .cw-points.is-spread { flex-direction: column; gap: 24px; margin-top: 36px; padding: 0; }
  .cw-points.is-5 li, .cw-points.is-spread li { flex: none; }
  .cw-checks h3 { font-size: 17px; }

  .cw-hero-body { flex-direction: column; align-items: stretch; min-height: 0; padding: 40px 16px 48px; gap: 36px; }
  .cw-hero-text { gap: 18px; }
  .cw-hero-title { font-size: 34px; }
  .cw-hero-sub { font-size: 16px; }
  /* 手机上不叠手机:下面「手机端」一屏已经讲了 */
  .cw-hero-art { flex: none; }
  .cw-hero-art::before, .cw-hero-art .cw-device { display: none; }
  .cw-hero-shot { position: static; width: 100%; padding: 10px; border-radius: 16px; }
  .cw-btns { gap: 12px; padding-top: 6px; }
  .cw-btn { height: 50px; padding: 0 24px; font-size: 16px; }
  .cw-btn.is-white, .cw-btn.is-ghost { height: 50px; padding: 0 24px; }

  .cw-themes { grid-template-columns: 1fr; gap: 16px; }
  /* 三部手机横向滑动,每部 240 宽,露出下一部提示可滑 */
  .cw-mobile .cw-head { margin-bottom: 32px; }
  .cw-devices { justify-content: flex-start; gap: 16px; margin: 0 -16px; padding: 0 16px 8px; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .cw-devices::-webkit-scrollbar { display: none; }
  .cw-devices li { flex: none; width: 240px; scroll-snap-align: center; }
  .cw-devices .cw-device { width: 100%; padding: 8px; border-radius: 32px; }
  .cw-devices .cw-device img { border-radius: 25px; }
  .cw-devices h3 { margin-top: 20px; font-size: 18px; }
  .cw-devices p { font-size: 14px; }

  .cw-split-body { flex-direction: column; align-items: stretch; gap: 36px; }
  .cw-split-art { flex: none; }
  .cw-welcome-img { width: 100%; max-width: 380px; }
  .cw-invite-art { padding: 64px 0 0; justify-content: center; }
  .cw-invite-shot { width: 100%; padding: 10px; border-radius: 16px; }
  .cw-rule { left: 0; top: 0; padding: 12px 14px; gap: 8px; }
  .cw-rule p { font-size: 13px; }

  .cw-msg-grid { display: flex; flex-direction: column; gap: 14px; }
  .cw-cell { padding: 22px; }
  .cw-msg-grid .cw-cell { min-height: 0; }
  .cw-msg-grid .cw-cell-art { margin-top: 18px; }
  .cw-msg-grid .is-big h3 { font-size: 22px; }

  .cw-ai-label { margin-top: 4px; }
  .cw-ai-hand-bubble { white-space: normal; }
  .cw-ai-group.is-handoff { grid-template-columns: 1fr; }
  .cw-ai-agent { grid-row: auto; flex-direction: row; width: auto; }
  .cw-ai-agent-icon { width: 52px; height: 52px; margin: 0; }
  .cw-ai-agent-name { margin: 0; }

  .cw-desk { padding: 12px; border-radius: 20px; gap: 14px; }
  .cw-online { padding: 16px 10px; }
  .cw-online li { padding: 10px; }
  .cw-detail { padding: 20px 16px; }
  .cw-detail-kv { gap: 24px; }
  .cw-track { width: auto; max-width: none; margin: 0 -8px; }
  .cw-track::before { left: 12.5%; right: 12.5%; }
  .cw-track strong { font-size: 12px; text-align: center; }

  .cw-head-split { flex-direction: column; align-items: flex-start; gap: 12px; margin-bottom: 32px; }
  .cw-daynight { flex-direction: column; height: auto; border-radius: 20px; }
  .cw-night, .cw-day { width: 100%; }
  .cw-night { padding: 70px 16px 36px; }
  .cw-time.is-night { left: 20px; top: 26px; }
  .cw-night-star { display: none; }
  .cw-leave-form { position: relative; left: auto; top: auto; width: 100%; max-width: 340px; margin: 0 auto; }
  /* 窄屏昼夜上下排,箭头卡在两块中间、朝下 */
  .cw-seam { position: relative; left: auto; top: auto; width: 44px; height: 44px; margin: -22px auto; transform: rotate(90deg); }
  .cw-play .cw-seam { animation: none; }
  .cw-day { padding: 36px 16px 28px; }

  .cw-vwin, .cw-bwin { width: 100%; max-width: 358px; }
  .cw-lang-col { width: 100%; }
  .cw-bmsg p { max-width: 100%; }
  .cw-win-head.is-split { flex-wrap: wrap; gap: 8px; padding: 14px 16px; }
  .cw-bwin .cw-win-body { padding: 16px; }
  .cw-win-input.is-bench { margin: 0 16px; font-size: 12px; }

  .cw-bento { display: flex; flex-direction: column; gap: 14px; }
  .cw-bento .is-small { height: auto; }
  /* 窄屏只留会话列表,桌面通知浮在列表上方 */
  .cw-screen { height: auto; }
  .cw-screen-nav, .cw-screen-chat { display: none; }
  .cw-screen-list { width: 100%; padding-top: 78px; border-right: 0; }
  .cw-toast { left: 10px; right: 10px; top: 10px; width: auto; }

  .cw-install-text .cw-sub { font-size: 16px; }
  .cw-code { padding: 16px; gap: 12px; border-radius: 18px; }
  .cw-code-body { padding: 16px; font-size: 13px; line-height: 24px; }
  .cw-installed { flex-direction: column; align-items: flex-start; }
  .cw-platforms { margin-top: 40px; }
  .cw-platforms ul { grid-template-columns: 1fr; gap: 10px; }
  .cw-install-note { margin-top: 36px; font-size: 14px; }

  /* 对比表横向可滑,第一列固定 */
  .cw-compare { overflow-x: auto; border-radius: 16px; -webkit-overflow-scrolling: touch; }
  .cw-compare table { min-width: 620px; }
  .cw-compare th, .cw-compare td { padding: 14px 12px; font-size: 14px; }
  .cw-compare thead th:first-child { width: 92px; }
  .cw-compare thead th:first-child, .cw-compare tbody th { position: sticky; left: 0; z-index: 1; background: #fff; box-shadow: 1px 0 0 var(--line); }
  .cw-compare-sum { margin-top: 24px; font-size: 16px; text-align: left; }
  .cw-fits-title { margin-top: 48px; font-size: 20px; }
  .cw-fits { grid-template-columns: 1fr; gap: 12px; margin-top: 20px; }
  .cw-fits li { padding: 20px; }

  .cw-related { padding: 56px 0 64px; }
  .cw-related-head { flex-direction: column; gap: 8px; }
  .cw-related-title { font-size: 24px; }
  .cw-related-list { grid-template-columns: 1fr; gap: 10px; }
  .cw-related-list a { padding: 14px 16px; font-size: 15px; }

  .cw-faq-body { flex-direction: column; gap: 28px; }
  .cw-faq-side { width: 100%; }
  .cw-ask { width: 100%; margin-top: 8px; }
  .cw-faq-list { width: 100%; }
  .cw-qa summary { padding: 18px 2px; }
  .cw-qa[open] summary { padding-bottom: 10px; }
  .cw-qa summary h3 { font-size: 16px; }
  .cw-qa-answer p { font-size: 14px; padding-bottom: 18px; }

  .cw-closing-body { height: auto; flex-direction: column; align-items: stretch; padding: 64px 16px 0; gap: 36px; }
  .cw-closing-title { font-size: 32px; }
  .cw-closing-sub { font-size: 16px; }
  .cw-closing-art { align-self: center; width: 300px; max-width: 86%; margin: 0 0 -80px; }
  .cw-closing-light.is-a { left: -240px; }
  .cw-closing-light.is-b { left: 10%; top: 50%; }
}
