/*!
 * WM Product Finder — worldmanufactures.com
 * 语义前缀 .wmw-，全部作用域在 #wmw 内，不影响站点原有样式
 */

#wmw {
  --wmw-navy: #062a42;
  --wmw-navy2: #0a3a58;
  --wmw-navy3: #12506f;
  --wmw-blue: #0e6aed;
  --wmw-blue-d: #0b56c4;
  --wmw-green: #3f9c35;
  --wmw-ink: #0d1b24;
  --wmw-muted: #5b7183;
  --wmw-line: #e3ebf2;
  --wmw-bg: #f6f9fc;
  --wmw-white: #fff;
  --wmw-r: 14px;
  --wmw-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  font-family: var(--wmw-font);
  -webkit-font-smoothing: antialiased;
  /* 组件内一律左对齐，避免被宿主页面（如居中 banner）继承 */
  text-align: left;
}

/* 元素重置用 :where() 降到零优先级，避免 ID 选择器压过下面的 .wmw-* 组件样式 */
#wmw, #wmw *, #wmw *::before, #wmw *::after { box-sizing: border-box; }
:where(#wmw) :where(button) { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
:where(#wmw) :where(a) { text-decoration: none; }
:where(#wmw) :where(ul) { margin: 0; padding: 0; list-style: none; }
#wmw p { margin: 0; max-width: none; text-align: inherit; }
:where(#wmw) :where(h3, h4, h5) { margin: 0; }
#wmw :focus-visible { outline: 3px solid #7fb3ff; outline-offset: 2px; }

/* ------------------------------------------------------------------ 启动按钮 */
.wmw-launcher {
  position: fixed; right: 24px; bottom: 24px; z-index: 2147483000;
  display: flex; align-items: center; gap: 9px;
  padding: 0 20px 0 16px; height: 54px;
  background: linear-gradient(135deg, var(--wmw-navy) 0%, var(--wmw-navy2) 100%);
  color: #fff; border-radius: 999px;
  box-shadow: 0 10px 28px rgba(6, 42, 66, .28), 0 2px 6px rgba(6, 42, 66, .18);
  font-size: 14.5px; font-weight: 600; letter-spacing: .01em;
  transition: transform .18s ease, box-shadow .18s ease;
}
.wmw-launcher:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(6, 42, 66, .34); }
.wmw-launcher:active { transform: translateY(0); }
.wmw-launcher svg { flex: none; }
.wmw-launcher .wmw-dot {
  width: 7px; height: 7px; border-radius: 50%; background: #5ee06a;
  box-shadow: 0 0 0 3px rgba(94, 224, 106, .22);
}

/* ------------------------------------------------------------------ 面板 */
.wmw-panel {
  position: fixed; right: 24px; bottom: 92px; z-index: 2147483001;
  width: 412px; max-width: calc(100vw - 32px);
  height: min(660px, calc(100vh - 130px));
  display: flex; flex-direction: column;
  background: var(--wmw-white); border-radius: 18px;
  box-shadow: 0 28px 70px rgba(6, 42, 66, .26), 0 4px 14px rgba(6, 42, 66, .10);
  overflow: hidden;
  opacity: 0; visibility: hidden; transform: translateY(14px) scale(.985);
  transition: opacity .2s ease, transform .22s cubic-bezier(.2, .9, .3, 1), visibility .2s;
}
.wmw-panel.wmw-open { opacity: 1; visibility: visible; transform: none; }

/* header */
.wmw-head {
  flex: none; display: flex; align-items: center; gap: 11px;
  padding: 15px 16px;
  background: linear-gradient(135deg, var(--wmw-navy) 0%, var(--wmw-navy2) 100%);
  color: #fff;
}
.wmw-head .wmw-avatar {
  width: 34px; height: 34px; flex: none; border-radius: 10px;
  background: rgba(255, 255, 255, .13);
  display: grid; place-items: center;
}
.wmw-head h3 { font-size: 15px; font-weight: 650; letter-spacing: -.01em; margin: 0; }
.wmw-head .wmw-sub { font-size: 11.5px; color: #9dbdd4; margin-top: 2px; letter-spacing: .01em; }
.wmw-close {
  margin-left: auto; width: 30px; height: 30px; border-radius: 8px;
  display: grid; place-items: center; color: #b9d0e0;
  transition: background .15s, color .15s;
}
.wmw-close:hover { background: rgba(255, 255, 255, .12); color: #fff; }

/* 滚动区 */
.wmw-body {
  flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain;
  padding: 16px 16px 6px; background: var(--wmw-bg);
  scrollbar-width: thin; scrollbar-color: #cbd8e3 transparent;
}
.wmw-body::-webkit-scrollbar { width: 7px; }
.wmw-body::-webkit-scrollbar-thumb { background: #cbd8e3; border-radius: 4px; }

/* 欢迎区 */
.wmw-hello { padding: 4px 2px 0; }
.wmw-hello h4 {
  margin: 0 0 6px; font-size: 16px; font-weight: 650;
  color: var(--wmw-ink); letter-spacing: -.015em;
}
.wmw-hello p { font-size: 13px; line-height: 1.62; color: var(--wmw-muted); }
.wmw-chips { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 13px; }
.wmw-chip {
  padding: 6px 11px; border-radius: 999px; font-size: 12.5px;
  background: #fff; color: var(--wmw-navy2); border: 1px solid var(--wmw-line);
  transition: border-color .15s, background .15s, transform .15s;
}
.wmw-chip:hover { border-color: #b9d3ef; background: #f2f8ff; transform: translateY(-1px); }

/* 消息气泡 */
.wmw-msg { margin-bottom: 14px; display: flex; }
.wmw-msg.wmw-me { justify-content: flex-end; }
.wmw-me .wmw-bubble {
  max-width: 84%; padding: 9px 14px; border-radius: 14px 14px 4px 14px;
  background: var(--wmw-blue); color: #fff; font-size: 13.5px; line-height: 1.5;
  box-shadow: 0 3px 10px rgba(14, 106, 237, .22);
  word-break: break-word;
}
.wmw-bot { display: block; }

/* 结果块 */
.wmw-res { animation: wmwIn .3s ease both; }
@keyframes wmwIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.wmw-lead {
  font-size: 12.5px; color: var(--wmw-muted); margin: 0 0 9px 2px;
  display: flex; align-items: center; gap: 6px; flex-wrap: wrap;
}
.wmw-lead b { color: var(--wmw-ink); font-weight: 650; }
.wmw-lead .wmw-tag {
  padding: 1px 7px; border-radius: 5px; font-size: 11px;
  background: #e8f0fb; color: var(--wmw-blue-d); font-weight: 600;
}

/* 品类卡 */
.wmw-cat {
  background: #fff; border: 1px solid var(--wmw-line); border-radius: var(--wmw-r);
  padding: 13px 14px; margin-bottom: 11px;
  box-shadow: 0 1px 2px rgba(9, 40, 62, .04);
}
.wmw-cat-top { display: flex; align-items: flex-start; gap: 9px; }
.wmw-cat-top h5 {
  margin: 0; font-size: 14.5px; font-weight: 650; color: var(--wmw-ink);
  line-height: 1.35; letter-spacing: -.01em; flex: 1;
}
.wmw-cat-top h5 a { color: inherit; }
.wmw-cat-top h5 a:hover { color: var(--wmw-blue); }
.wmw-rank-badge {
  flex: none; margin-top: 1px;
  font-size: 10.5px; font-weight: 700; letter-spacing: .04em;
  padding: 3px 7px; border-radius: 6px;
  background: #edf4ff; color: var(--wmw-blue-d); text-transform: uppercase;
}
.wmw-meta {
  margin-top: 4px; font-size: 11.5px; color: var(--wmw-muted);
  display: flex; gap: 8px; flex-wrap: wrap;
}
.wmw-meta { gap: 0; }
.wmw-meta span { white-space: nowrap; }
/* 分隔点挂在「前一个」元素末尾，换行时才不会跑到行首 */
.wmw-meta span:not(:last-child)::after {
  content: "·"; color: #c2cfdb; margin: 0 6px 0 2px;
}

/* 厂家列表 */
.wmw-cos { margin-top: 10px; border-top: 1px dashed var(--wmw-line); padding-top: 9px; }
.wmw-co {
  display: flex; gap: 8px; align-items: baseline;
  padding: 4px 0; font-size: 12.5px; line-height: 1.42;
}
.wmw-co .wmw-idx {
  flex: none; width: 15px; font-size: 11px; color: #a9bccb;
  font-variant-numeric: tabular-nums; padding-top: 1px;
}
.wmw-co .wmw-cbody { min-width: 0; flex: 1; }
.wmw-co .wmw-cname {
  color: var(--wmw-ink); font-weight: 550;
  display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.wmw-co .wmw-cname:hover { color: var(--wmw-blue); }
.wmw-co .wmw-cmeta {
  font-size: 11px; color: var(--wmw-muted); margin-top: 1px;
  display: flex; gap: 7px; flex-wrap: wrap; align-items: center;
}
.wmw-co .wmw-port-pill {
  display: inline-flex; align-items: center; gap: 3px;
  padding: 1px 6px; border-radius: 4px; font-size: 10.5px;
  background: #eef7ed; color: #2f7a28; font-weight: 550;
}
.wmw-more {
  margin-top: 8px; font-size: 12px; color: var(--wmw-blue);
  display: inline-flex; align-items: center; gap: 4px; font-weight: 550;
}
.wmw-more:hover { color: var(--wmw-blue-d); text-decoration: underline; }

/* 港口区块 */
.wmw-sec { margin-top: 12px; }
.wmw-sec-t {
  font-size: 11.5px; font-weight: 700; color: var(--wmw-navy2);
  letter-spacing: .04em; text-transform: uppercase;
  display: flex; align-items: center; gap: 6px; margin-bottom: 7px;
}
.wmw-ports { display: flex; flex-direction: column; gap: 6px; }
.wmw-port {
  display: flex; align-items: flex-start; gap: 7px;
  padding: 8px 10px; border-radius: 9px;
  background: #f4f9ff; border: 1px solid #dfebf8;
  font-size: 12.5px; line-height: 1.42;
}
.wmw-port .wmw-pnames { flex: 1; min-width: 0; }
.wmw-port .wmw-pname { font-weight: 600; color: var(--wmw-navy2); }
.wmw-port .wmw-pen {
  color: var(--wmw-muted); font-size: 10.5px; display: block; margin-top: 1px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.wmw-port .wmw-pcount {
  flex: none; font-size: 10.5px; color: #3f7fbf;
  background: #e3eefb; padding: 2px 6px; border-radius: 5px; font-weight: 600;
  white-space: nowrap; margin-top: 1px;
}
.wmw-port .wmw-pmain {
  flex: none; font-size: 9.5px; font-weight: 700; color: #fff; margin-top: 1px;
  background: var(--wmw-green); padding: 2px 5px; border-radius: 4px;
  letter-spacing: .03em;
}
.wmw-palt {
  font-size: 10.5px; color: #7b8fa1; padding: 5px 2px 0; line-height: 1.4;
}
.wmw-pnote {
  font-size: 11.5px; color: var(--wmw-muted); line-height: 1.55;
  margin-top: 6px; padding-left: 2px;
}

/* 货代区块 */
.wmw-fwds { display: flex; flex-direction: column; gap: 6px; }
.wmw-fwd {
  display: flex; align-items: center; gap: 9px;
  padding: 9px 10px; border-radius: 9px;
  background: #fff; border: 1px solid var(--wmw-line);
}
.wmw-fwd .wmw-fbody { min-width: 0; flex: 1; }
.wmw-fwd .wmw-fname {
  font-size: 12.5px; font-weight: 600; color: var(--wmw-ink);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.wmw-fwd .wmw-fscope { font-size: 11px; color: var(--wmw-muted); margin-top: 1px; }
.wmw-fwd .wmw-fcontact {
  font-size: 11px; color: var(--wmw-muted); margin-top: 3px;
  display: flex; gap: 8px; flex-wrap: wrap;
}
.wmw-fwd .wmw-fcontact a { color: var(--wmw-blue); }
.wmw-fbtn {
  flex: none; padding: 5px 10px; border-radius: 7px;
  background: #f0f6fd; color: var(--wmw-blue-d);
  font-size: 11.5px; font-weight: 600; white-space: nowrap;
  border: 1px solid #dae8f8; transition: background .15s;
}
.wmw-fbtn:hover { background: #e2eefc; }
.wmw-fwd-note {
  font-size: 10.5px; color: #93a6b6; margin-top: 7px; line-height: 1.5;
}

/* 空结果 */
.wmw-empty { background: #fff; border: 1px solid var(--wmw-line); border-radius: var(--wmw-rule, 14px); padding: 16px; }
.wmw-empty h5 { margin: 0 0 6px; font-size: 14px; color: var(--wmw-ink); font-weight: 650; }
.wmw-empty p { font-size: 12.5px; color: var(--wmw-muted); line-height: 1.6; }

/* 输入区 */
.wmw-foot {
  flex: none; padding: 11px 13px 13px; background: #fff;
  border-top: 1px solid var(--wmw-line);
}
.wmw-form {
  display: flex; align-items: center; gap: 8px;
  background: var(--wmw-bg); border: 1.5px solid var(--wmw-line);
  border-radius: 12px; padding: 4px 4px 4px 13px;
  transition: border-color .16s, background .16s;
}
.wmw-form:focus-within { border-color: #a8c8ef; background: #fff; }
.wmw-form input {
  flex: 1; min-width: 0; border: 0; background: transparent; outline: 0;
  font: inherit; font-size: 13.5px; color: var(--wmw-ink); padding: 8px 0;
}
.wmw-form input::placeholder { color: #9aabb9; }
.wmw-send {
  flex: none; width: 34px; height: 34px; border-radius: 9px;
  background: var(--wmw-blue); color: #fff; display: grid; place-items: center;
  transition: background .15s, transform .15s;
}
.wmw-send:hover { background: var(--wmw-blue-d); }
.wmw-send:active { transform: scale(.95); }
.wmw-send:disabled { background: #c3d2e0; cursor: not-allowed; }
.wmw-hint {
  font-size: 10.5px; color: #a3b3c1; text-align: center; margin-top: 7px;
}

/* loading */
.wmw-loading { display: flex; gap: 4px; padding: 8px 4px; }
.wmw-loading i {
  width: 6px; height: 6px; border-radius: 50%; background: #b8c9d8;
  animation: wmwB 1.1s infinite ease-in-out;
}
.wmw-loading i:nth-child(2) { animation-delay: .16s; }
.wmw-loading i:nth-child(3) { animation-delay: .32s; }
@keyframes wmwB { 0%, 70%, 100% { transform: translateY(0); opacity: .45; } 35% { transform: translateY(-5px); opacity: 1; } }

/* 手机端全屏 */
@media screen and (max-width: 560px) {
  .wmw-launcher { right: 16px; bottom: 16px; height: 50px; padding: 0 16px 0 13px; font-size: 13.5px; }
  .wmw-panel {
    right: 0; bottom: 0; width: 100vw; max-width: 100vw;
    height: 100dvh; height: 100vh; border-radius: 0;
  }
  .wmw-body { padding: 14px 13px 6px; }
}


/* ================================================================ 内嵌模式
   搜索卡嵌在页面指定位置（如首页 hero 右侧），结果向下展开 */
#wmw.wmw-inline { position: relative; width: 100%; }

.wmw-search-card {
  background: #fff;
  border-radius: 18px;
  padding: 22px 22px 18px;
  box-shadow: 0 24px 60px rgba(3, 22, 38, .30), 0 3px 10px rgba(3, 22, 38, .14);
}
.wmw-search-card > h3 {
  margin: 0 0 6px; font-size: 18px; font-weight: 700;
  color: var(--wmw-navy); letter-spacing: -.02em; line-height: 1.3;
}
.wmw-search-card > p {
  margin: 0 0 15px; font-size: 12.5px; line-height: 1.62; color: var(--wmw-muted);
}
.wmw-search-card .wmw-form {
  background: #f1f6fa; border: 1.5px solid #dbe6f0;
  padding: 5px 5px 5px 14px; border-radius: 11px;
}
.wmw-search-card .wmw-form:focus-within { background: #fff; border-color: #a8c8ef; }
.wmw-search-card .wmw-form input { padding: 9px 0; font-size: 13.5px; }
.wmw-search-card .wmw-chips { margin-top: 13px; }
.wmw-search-card .wmw-chip { font-size: 12px; padding: 5px 10px; }
.wmw-search-card .wmw-hint { text-align: left; margin-top: 11px; font-size: 10.5px; }

/* 结果区：直接长在搜索框下方，页面内容被推开（非浮层） */
#wmw.wmw-inline .wmw-panel {
  position: static; left: auto; right: auto; top: auto; bottom: auto;
  width: auto; height: auto; max-height: none;
  margin: 22px auto 0;
  background: transparent; box-shadow: none; border-radius: 0;
  overflow: visible;
  z-index: auto;
  opacity: 1; visibility: visible; transform: none; transition: none;
  display: none;
}
#wmw.wmw-inline .wmw-panel.wmw-open { display: block; }
#wmw.wmw-inline .wmw-head { display: none; }
#wmw.wmw-inline .wmw-body {
  background: transparent; overflow: visible;
  padding: 0; max-height: none;
}

/* 窄屏：hero 变单列时卡片与面板同宽，面板限制高度避免顶出屏幕 */
@media screen and (max-width: 1000px) {
  .wmw-search-card { padding: 18px 17px 15px; }
  .wmw-search-card > h3 { font-size: 16.5px; }
  #wmw.wmw-inline .wmw-panel { max-height: min(62vh, 520px); }
}


/* ---- hero 变体：搜索框直接坐在 banner 上，无白卡背景 ---- */
#wmw.wmw-hero .wmw-search-card {
  background: transparent; box-shadow: none; padding: 0; border-radius: 0;
}
#wmw.wmw-hero .wmw-form {
  background: #fff; border: 0; border-radius: 14px;
  padding: 8px 8px 8px 22px;
  box-shadow: 0 14px 40px rgba(2, 16, 28, .30), 0 2px 8px rgba(2, 16, 28, .16);
}
#wmw.wmw-hero .wmw-form input { padding: 13px 0; font-size: 16px; }
#wmw.wmw-hero .wmw-form input::placeholder { color: #93a6b6; font-size: 15px; }
#wmw.wmw-hero .wmw-send { width: 40px; height: 40px; border-radius: 10px; }
#wmw.wmw-hero .wmw-chips { justify-content: center; margin-top: 16px; }
#wmw.wmw-hero .wmw-chip {
  background: rgba(255, 255, 255, .10); color: #d5e5f1;
  border-color: rgba(255, 255, 255, .20); backdrop-filter: blur(2px);
}
#wmw.wmw-hero .wmw-chip:hover {
  background: rgba(255, 255, 255, .20); color: #fff; border-color: rgba(255, 255, 255, .34);
}
#wmw.wmw-hero .wmw-hint { text-align: center; color: #8fb0c7; margin-top: 14px; font-size: 11.5px; }
#wmw.wmw-hero .wmw-panel { top: calc(100% + 14px); }

@media screen and (max-width: 1000px) {
  #wmw.wmw-hero .wmw-form { padding: 6px 6px 6px 16px; }
  #wmw.wmw-hero .wmw-form input { font-size: 15px; padding: 11px 0; }
  #wmw.wmw-hero .wmw-chips { justify-content: flex-start; }
}


/* hero 变体：结果区在深色 banner 上，说明文字与标签改浅色 */
#wmw.wmw-hero .wmw-lead { color: #a7c3d7; margin-bottom: 12px; }
#wmw.wmw-hero .wmw-lead b { color: #fff; font-weight: 700; }
#wmw.wmw-hero .wmw-lead .wmw-tag {
  background: rgba(255, 255, 255, .14); color: #cfe4f3;
}
#wmw.wmw-hero .wmw-cat { box-shadow: 0 10px 30px rgba(2, 16, 28, .22); }


/* ================================================================ 聊天窗
   嵌在页面里的对话界面：消息区滚动 + 输入框固定底部 */
#wmw.wmw-chat { display: block; width: 100%; }

.wmw-chat-win {
  width: 100%; max-width: 760px; margin: 0 auto;
  height: min(470px, 60vh); min-height: 340px;
  display: flex; flex-direction: column;
  background: #fff; border-radius: 18px; overflow: hidden;
  box-shadow: 0 26px 64px rgba(3, 22, 38, .34), 0 4px 14px rgba(3, 22, 38, .16);
}

/* 顶部身份栏 */
.wmw-chat-head {
  flex: none; display: flex; align-items: center; gap: 10px;
  padding: 12px 16px; background: #fff;
  border-bottom: 1px solid var(--wmw-line);
}
.wmw-chat-avatar {
  width: 32px; height: 32px; flex: none; border-radius: 9px;
  background: linear-gradient(135deg, var(--wmw-navy) 0%, var(--wmw-navy3) 100%);
  display: grid; place-items: center;
}
.wmw-chat-name {
  font-size: 14px; font-weight: 650; color: var(--wmw-ink);
  letter-spacing: -.01em; line-height: 1.3;
}
.wmw-chat-status {
  font-size: 11px; color: var(--wmw-muted); margin-top: 1px;
  display: flex; align-items: center; gap: 5px;
}
.wmw-chat-status i {
  width: 6px; height: 6px; border-radius: 50%; background: #46c15a;
  box-shadow: 0 0 0 2.5px rgba(70, 193, 90, .18); flex: none;
}

/* 消息区 */
#wmw.wmw-chat .wmw-body { background: #f7fafc; padding: 15px 14px 14px; overflow-y: auto; min-height: 0; scroll-behavior: smooth; }
#wmw.wmw-chat .wmw-hello { padding: 2px 1px 0; text-align: left; }
#wmw.wmw-chat .wmw-hello h4 { font-size: 15px; margin: 0 0 5px; }
#wmw.wmw-chat .wmw-hello p {
  font-size: 12.5px; line-height: 1.62; margin: 0; max-width: none; text-align: left;
}
#wmw.wmw-chat .wmw-chips { margin-top: 12px; }

/* 「你会得到」三步说明：只在初始欢迎态出现，填掉消息区留白 */
.wmw-steps { margin-top: 14px; padding-top: 12px; border-top: 1px solid #edf2f7; display: grid; gap: 8px; }
.wmw-steps-t {
  font-size: 10.5px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase;
  color: var(--wmw-muted); margin-bottom: 1px;
}
.wmw-step { display: flex; align-items: flex-start; gap: 9px; }
.wmw-step b {
  flex: none; width: 17px; height: 17px; margin-top: 1px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(14, 106, 237, .1); color: var(--wmw-blue);
  font-size: 10.5px; font-weight: 700; line-height: 1;
}
#wmw.wmw-chat .wmw-step span { font-size: 12.2px; line-height: 1.5; color: #47606f; }

/* 助手回复：整块结果作为一条消息，左侧留出缩进 */
#wmw.wmw-chat .wmw-res { margin-bottom: 12px; }
#wmw.wmw-chat .wmw-lead { margin-bottom: 8px; }

/* 输入区固定底部 */
#wmw.wmw-chat .wmw-foot {
  flex: none; padding: 10px 12px 11px; background: #fff;
  border-top: 1px solid var(--wmw-line);
  position: relative;
}
/* 输入框上方一道渐隐，暗示消息区还能继续往下滚 */
#wmw.wmw-chat .wmw-foot::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: 22px;
  background: linear-gradient(to top, #fff, rgba(255, 255, 255, 0));
  pointer-events: none;
}
#wmw.wmw-chat .wmw-hint { margin-top: 6px; }

/* 首条欢迎语的语义化气泡 */
#wmw.wmw-chat .wmw-msg.wmw-bot .wmw-hello {
  background: #fff; border: 1px solid var(--wmw-line);
  border-radius: 4px 13px 13px 13px;
  padding: 12px 14px; box-shadow: 0 1px 2px rgba(9, 40, 62, .04);
}

@media screen and (max-width: 760px) {
  .wmw-chat-win { height: min(58vh, 460px); min-height: 320px; border-radius: 14px; }
  #wmw.wmw-chat .wmw-body { padding: 12px 11px 4px; }
}

/* 打印时隐藏 */
@media print {
  #wmw { display: none !important; }
}

/* 减少动效偏好 */
@media (prefers-reduced-motion: reduce) {
  #wmw *, #wmw *::before, #wmw *::after {
    animation-duration: .001ms !important; transition-duration: .001ms !important;
  }
}
