/* Portal overrides – loaded after pages.css */

/* CommonBanner：与镜像站一致，宽 100% 高度随图；PC/手机各显一张 */
.CommonBanner.section > img.pc,
.portal-embed-preview .CommonBanner.section > img.pc {
  width: 100%;
  height: auto;
  display: block;
  position: static;
  object-fit: initial;
}

.CommonBanner.section > img.mb,
.portal-embed-preview .CommonBanner.section > img.mb {
  width: 100%;
  height: auto;
  display: none;
  position: static;
  object-fit: initial;
}

@media all and (max-width: 720px) {
  .CommonBanner.section > img.pc,
  .portal-embed-preview .CommonBanner.section > img.pc {
    display: none;
  }

  .CommonBanner.section > img.mb,
  .portal-embed-preview .CommonBanner.section > img.mb {
    display: block;
  }
}

/* 询盘提交成功/失败提示 */
.portal-inquiry-toast {
  position: fixed;
  left: 50%;
  top: 50%;
  z-index: 999999;
  max-width: min(92vw, 480px);
  padding: 16px 22px;
  border-radius: 10px;
  color: #fff;
  font-size: 15px;
  line-height: 1.5;
  text-align: center;
  pointer-events: none;
  transform: translate(-50%, -50%);
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.25);
  animation: portal-inquiry-toast-in 0.2s ease;
}

.portal-inquiry-toast.is-success {
  background: rgba(22, 101, 52, 0.94);
}

.portal-inquiry-toast.is-error {
  background: rgba(185, 28, 28, 0.94);
}

.portal-inquiry-toast.is-hide {
  opacity: 0;
  transition: opacity 0.2s ease;
}

@keyframes portal-inquiry-toast-in {
  from {
    opacity: 0;
    transform: translate(-50%, -46%);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
}

/* 新闻 / YouTube 列表分页箭头：禁用时弱化 */
.Pages .swiper-btn.disabled {
  opacity: 0.35;
  pointer-events: none;
}

.Pages .swiper-btn.disabled a {
  cursor: default;
}

/* Parameter 表格斑马纹：奇数行 #cee7f3、偶数行白底（背景在 tr，避免内联 span 盖色） */
.Fpspt-table table tbody tr.odd {
  background-color: #cee7f3;
}

.Fpspt-table table tbody tr.even {
  background-color: #fff;
}

.Fpspt-table table tbody tr.odd td,
.Fpspt-table table tbody tr.even td {
  background-color: transparent !important;
}

/* Parameter Tab / Swiper：React 用 button 替代 javascript: 链接 */
.Fpspt-muen button {
  width: 180px;
  height: 56px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 28px;
  background-color: #f4f4f4;
  margin-right: 15px;
  border: none;
  padding: 0 12px;
  font: inherit;
  color: inherit;
  cursor: pointer;
  transition: all 0.4s ease;
}

.Fpspt-muen button:last-child {
  margin-right: 0;
}

.Fpspt-muen button.active {
  background-color: #541b86;
  color: #fff;
}

.swiper-btn > button.icon {
  width: 40px;
  height: 40px;
  font-size: 14px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 100px;
  background-color: #fff;
  color: #541b86;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all 0.4s ease;
}

.swiper-btn > button.icon:hover {
  background-color: #541b86;
  color: #fff;
}

.Fpspt-swiper .swiper-btn > button.icon {
  background-color: #f4f4f4;
  color: #999;
}

.Fpspt-swiper .swiper-btn > button.icon:hover {
  background-color: #541b86;
  color: #fff;
}

@media (max-width: 680px) {
  .Fpspt-muen button {
    flex: 1;
    width: auto;
  }
}

/* Features 特色图标：正方形容器裁成正圆（非圆角方框） */
.Fpsac-list .list .img {
  aspect-ratio: 1 / 1;
  border-radius: 50% !important;
  box-sizing: border-box;
}

.Fpsac-list .list .img img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* Download list: Rehab / First Aid pill – equal tabs, no extra gray bar */
.Dlaps .Fpscp-overflow {
  display: flex;
  justify-content: center;
}

.Dlaps .Fpscp-muen {
  display: inline-flex;
  width: auto !important;
  max-width: 100%;
  border-radius: 28px;
  overflow: hidden;
  background-color: #f4f4f4;
}

.Dlaps .Fpscp-muen a {
  flex: 1 1 0;
  min-width: 140px;
  margin-right: 0 !important;
  padding: 0 40px !important;
  height: 56px;
  box-sizing: border-box;
  white-space: nowrap;
}

.Dlaps .Fpscp-muen a:last-child {
  margin-right: 0 !important;
  margin-bottom: 0 !important;
}

@media screen and (max-width: 768px) {
  .Dlaps .Fpscp-muen {
    border-radius: 5px;
    width: fit-content !important;
  }

  .Dlaps .Fpscp-muen a {
    min-width: 110px;
    padding: 0 24px !important;
    height: 40px;
    border-radius: 5px;
  }
}

.Dlaps .Fpscp-muen a.active {
  background-color: #541b86;
  color: #fff;
}

.Fpscp-muen a.active,
.Fpscp-muen a.active:hover {
  background-color: #541b86 !important;
  color: #fff !important;
}

/* Product line tabs：对齐镜像站 pages.css（80px 左右内边距 + 紫底选中） */
.Fpscp.section .Fpscp-overflow {
  display: flex;
  justify-content: center;
  width: 100%;
}

.Fpscp.section .Fpscp-muen {
  display: inline-flex;
  flex-wrap: nowrap !important;
  width: fit-content !important;
  max-width: 100%;
  border-radius: 28px;
  overflow: hidden;
  background-color: #f4f4f4;
}

.Fpscp.section .Fpscp-muen a {
  flex: 0 0 auto;
  margin: 0 !important;
  padding: 0 80px !important;
  height: 56px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 28px;
  box-sizing: border-box;
  white-space: nowrap;
  color: #333;
  text-decoration: none;
  transition: all 0.4s ease;
}

.Fpscp.section .Fpscp-muen a:hover {
  color: #541b86;
}

.Fpscp.section .Fpscp-muen a.active,
.Fpscp.section .Fpscp-muen a.active:hover {
  background-color: #541b86 !important;
  color: #fff !important;
}

.Fpscp.section .Fpscp-muen[data-portal-pl-tabs] {
  max-width: none;
  overflow: visible;
}

.Fpscp.section .Fpscp-muen[data-portal-pl-tabs],
.Fpscp.section .Fpscp-muen[data-portal-pl-tabs].wow {
  visibility: visible !important;
  opacity: 1 !important;
  animation: none !important;
  transform: none !important;
}

@media screen and (min-width: 1001px) {
  .Fpscp.section .Fpscp-overflow {
    overflow: visible;
  }

  .Fpscp.section .Fpscp-muen[data-portal-pl-tabs] {
    width: fit-content !important;
    max-width: none !important;
    overflow: visible !important;
  }

  .Fpscp.section .Fpscp-muen[data-portal-pl-tabs] a {
    padding-left: clamp(14px, 1.8vw, 80px) !important;
    padding-right: clamp(14px, 1.8vw, 80px) !important;
  }
}

@media screen and (max-width: 1590px) {
  .Fpscp.section .Fpscp-muen:not([data-portal-pl-tabs]) a {
    padding: 0 55px !important;
  }
}

@media screen and (max-width: 1000px) {
  .Fpscp.section > .contain {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
    box-sizing: border-box;
  }

  .Fpscp.section .Fpscp-overflow {
    display: flex;
    justify-content: flex-start;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
  }

  .Fpscp.section .Fpscp-muen[data-portal-pl-tabs] {
    display: flex;
    flex-wrap: nowrap !important;
    align-items: stretch;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0;
    box-sizing: border-box;
    border-radius: 5px;
    overflow-x: scroll !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x;
    overscroll-behavior-x: contain;
    scroll-behavior: smooth;
    scrollbar-width: none;
  }

  .Fpscp.section .Fpscp-muen[data-portal-pl-tabs]::-webkit-scrollbar {
    display: none;
  }

  .Fpscp.section .Fpscp-muen[data-portal-pl-tabs] a {
    flex: 0 0 auto;
    touch-action: pan-x;
    padding: 0 20px !important;
    height: 40px;
    border-radius: 5px;
  }

  .Fpscp.section .Fpscp-muen[data-portal-pl-tabs] a.active,
  .Fpscp.section .Fpscp-muen[data-portal-pl-tabs] a.active:hover {
    border-radius: 5px;
  }
}

@media screen and (max-width: 640px) {
  .Fpscp.section .Fpscp-muen[data-portal-pl-tabs] a {
    padding: 0 14px !important;
    font-size: 14px;
  }
}

@media screen and (max-width: 768px) {
  .Dlaps .Fpscp-muen a.active {
    border-radius: 5px;
  }
}

.Header-lang-menu {
  border: none;
  background: transparent;
  cursor: pointer;
  font: inherit;
  color: inherit;
  padding: 0;
}

/* 滚动后顶栏白底（common.js HeaderFn 去掉 Lucency；勿与 Lucency 同时强制白底） */
@media (min-width: 1100px) {
  body.noGap:not(.Lucency):not(.bodyMouse):not(.bodySearch) .Header {
    background: #fff !important;
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.1) !important;
  }

  body.noGap:not(.Lucency):not(.bodyMouse):not(.bodySearch) .Header-logo img.s {
    opacity: 0 !important;
  }

  body.noGap:not(.Lucency):not(.bodyMouse):not(.bodySearch) .Header-logo img.h {
    opacity: 1 !important;
  }
}

/* 产品线顶栏产品图：统一尺寸容器（覆盖 pages.css 各断点 margin/width） */
.Fpscp-list.flex {
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px 32px;
  margin-right: 0 !important;
  margin-bottom: 0 !important;
}

.Fpscp-list .list {
  box-sizing: border-box;
  flex: 0 0 auto;
  width: 160px;
  max-width: 200px;
  margin: 0 !important;
  padding: 0 !important;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.Fpscp-list .list .img,
.Fpscp-list-swiper .list .img {
  width: 100%;
  height: 133px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
}

.Fpscp-list .list .img img,
.Fpscp-list-swiper .list .img img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

.Fpscp-list .list .title {
  width: 100%;
  margin-top: 28px;
}

@media (min-width: 769px) {
  .Fpscp-list .list .title {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

@media (max-width: 1000px) {
  .Fpscp-list.flex {
    gap: 16px 20px;
  }

  .Fpscp-list .list {
    width: calc((100% - 40px) / 3);
    max-width: 180px;
  }

  .Fpscp-list .list .img,
  .Fpscp-list-swiper .list .img {
    height: 100px;
  }
}

@media (max-width: 640px) {
  .Fpscp-list.flex {
    gap: 12px 16px;
  }

  .Fpscp-list .list {
    width: calc((100% - 16px) / 2);
    max-width: none;
  }

  .Fpscp-list .list .img,
  .Fpscp-list-swiper .list .img {
    height: 88px;
  }

  .Fpscp-list .list .title {
    font-size: 14px;
    margin-top: 16px;
    white-space: normal;
    line-height: 1.35;
  }
}

/* 产品线 >5 个产品：Swiper + 左右箭头 */
.Fpscp-list-swiper {
  position: relative;
  padding: 0 56px;
  --fpscp-pl-img-h: 133px;
}

.Fpscp-list-swiper .swiper-container {
  overflow: hidden;
}

.Fpscp-list-swiper .swiper-slide {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  height: auto;
  box-sizing: border-box;
}

.Fpscp-list-swiper .list {
  margin: 0 !important;
  padding: 0 !important;
  width: 100%;
  max-width: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-sizing: border-box;
}

.Fpscp-list-swiper .list .title {
  width: 100%;
  margin-top: 28px;
}

.Fpscp-list-swiper .swiper-btn {
  position: absolute;
  z-index: 4;
  top: calc(var(--fpscp-pl-img-h) / 2);
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  min-width: 40px;
  min-height: 40px;
  max-width: 40px;
  max-height: 40px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: #fff;
  color: #541b86;
  cursor: pointer;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.08);
  transition: all 0.4s ease;
  box-sizing: border-box;
  padding: 0;
  overflow: hidden;
}

.Fpscp-list-swiper .swiper-btn > button.icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  min-height: 40px;
  border-radius: 50%;
  line-height: 1;
  flex-shrink: 0;
}

.Fpscp-list-swiper .swiper-btn:hover {
  background-color: #541b86;
  color: #fff;
}

.Fpscp-list-swiper .swiper-btn.prev {
  left: 0;
}

.Fpscp-list-swiper .swiper-btn.next {
  right: 0;
}

.Fpscp-list-swiper .swiper-btn.next .icon {
  transform: rotate(180deg);
}

.Fpscp-list-swiper .swiper-button-disabled {
  opacity: 0.35;
  pointer-events: none;
}

@media (max-width: 1000px) {
  .Fpscp-list-swiper {
    --fpscp-pl-img-h: 100px;
    padding: 0 44px;
  }

  .Fpscp-list-swiper .swiper-btn,
  .Fpscp-list-swiper .swiper-btn > button.icon {
    width: 36px;
    height: 36px;
    min-width: 36px;
    min-height: 36px;
    max-width: 36px;
    max-height: 36px;
    font-size: 12px;
  }
}

@media (max-width: 640px) {
  .Fpscp-list-swiper {
    --fpscp-pl-img-h: 88px;
    padding: 0 36px;
  }

  .Fpscp-list-swiper .list .title {
    font-size: 14px;
    margin-top: 16px;
    white-space: normal;
    line-height: 1.35;
  }

  .Fpscp-list-swiper .swiper-btn,
  .Fpscp-list-swiper .swiper-btn > button.icon {
    width: 32px;
    height: 32px;
    min-width: 32px;
    min-height: 32px;
    max-width: 32px;
    max-height: 32px;
    font-size: 12px;
  }
}

/* 导航 Products 下拉：产品名称可点击 */
a.HeaderPro-title {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

a.HeaderPro-title:hover {
  color: #541b86;
}

/* 覆盖 common.css：避免 contain/item 被 space-between 和 flex:1 拉满留白 */
.HeaderPro--solution .contain,
.HeaderPro--products .contain {
  justify-content: center !important;
}

.HeaderPro--solution .HeaderPro-item,
.HeaderPro--products .HeaderPro-item {
  flex: 0 0 auto !important;
}

.HeaderPro--solution .HeaderPro-img-item,
.HeaderPro--products .HeaderPro-img-item {
  flex: 0 1 auto !important;
  padding-right: 0 !important;
}

/* 顶栏 Products / Solution mega 下拉配图：镜像基准 260×150，大屏固定、窄屏随列宽缩小 */
.HeaderPro--solution,
.HeaderPro--products {
  --header-pro-card-w: 260px;
  --header-pro-img-h: 150px;
}

.HeaderPro-img-item .img {
  width: 100%;
  max-width: var(--header-pro-card-w);
  height: auto;
  aspect-ratio: 260 / 150;
  max-height: var(--header-pro-img-h);
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f4f4f4;
  overflow: hidden;
  border-radius: 10px;
}

.HeaderPro-img-item .img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.HeaderPro-img-item .text {
  max-width: var(--header-pro-card-w);
  text-align: left;
  width: 100%;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 悬停加粗不换行、不撑开列宽 */
.HeaderPro-img-item:hover .text {
  font-family: inherit;
  font-weight: 700;
}

/* Products 配图左对齐，卡片宽不超过镜像基准 */
.HeaderPro--products .HeaderPro-img {
  justify-content: flex-start;
  gap: 22px;
}

.HeaderPro--products .HeaderPro-item {
  align-items: flex-start;
  padding: 0;
  box-sizing: border-box;
}

.HeaderPro--solution .HeaderPro-img-item,
.HeaderPro--products .HeaderPro-img-item {
  flex: 0 1 auto !important;
  width: min(100%, var(--header-pro-card-w));
  max-width: var(--header-pro-card-w);
  padding-right: 0 !important;
  box-sizing: border-box;
}

/* Solution / Products 下拉：统一配图尺寸，收紧上下留白 */
@media (min-width: 1100px) {
  .HeaderPro--solution,
  .HeaderPro--products {
    --header-pro-card-w: 260px;
    --header-pro-card-gap: 22px;
    --header-pro-visible-cards: 5;
    --header-pro-scroll-w: calc(
      var(--header-pro-visible-cards) * var(--header-pro-card-w) +
        (var(--header-pro-visible-cards) - 1) * var(--header-pro-card-gap)
    );
    --header-pro-line-gap: 32px;
    --header-pro-col-padding: 0px;
    --header-pro-row-gap: var(--header-pro-card-gap);
    --header-pro-pager-inset: 56px;
    --header-pro-img-h: 150px;
    --header-pro-title-row-h: 27px;
    --header-pro-title-gap: 30px;
    --header-pro-pager-btn-size: 36px;
    --header-pro-pager-btn-row-size: 40px;
    --header-pro-arrow-img-offset: calc(
      var(--header-pro-img-h) / 2 - var(--header-pro-pager-btn-size) / 2
    );
    padding: 24px 0;
  }

  .HeaderPro--solution .HeaderPro-item,
  .HeaderPro--products .HeaderPro-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Solution：≤5 子卡片按分类列展示；>5 子卡片每张带分类标题，一屏 5 张 + 箭头 */
@media (min-width: 1100px) {
  .HeaderPro--solution .contain {
    justify-content: center !important;
  }

  .HeaderPro--solution .contain.flex,
  .HeaderPro--solution .contain.flex.header-pro-row {
    display: grid !important;
    grid-template-columns: repeat(var(--header-pro-cols, 1), max-content);
    flex-wrap: nowrap !important;
    justify-content: center !important;
    align-items: flex-start;
    gap: var(--header-pro-card-gap);
    padding: 0 20px;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
  }

  .HeaderPro--solution .HeaderPro-item {
    flex: unset !important;
    width: auto;
    min-width: 0;
    max-width: none;
    align-items: stretch;
    overflow: hidden;
  }

  .HeaderPro--solution .HeaderPro-title {
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .HeaderPro--solution .HeaderPro-title--placeholder {
    visibility: hidden;
    pointer-events: none;
    user-select: none;
  }

  .HeaderPro--solution .HeaderPro-title--placeholder::before {
    content: "\00a0";
    visibility: hidden;
  }

  .HeaderPro--solution .HeaderPro-img {
    display: grid;
    grid-template-columns: repeat(var(--header-pro-sub-cols, 1), max-content);
    gap: var(--header-pro-card-gap);
    width: max-content;
    max-width: 100%;
  }

  .HeaderPro--solution .HeaderPro-img-item {
    flex: 0 1 auto !important;
    width: min(100%, var(--header-pro-card-w));
    max-width: var(--header-pro-card-w);
    min-width: 0;
    padding-right: 0 !important;
    box-sizing: border-box;
    overflow: hidden;
  }

  .HeaderPro--solution .HeaderPro-solution-pager {
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: var(--header-pro-card-gap);
    padding: 0 20px;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
    --header-pro-arrow-row-img-offset: 90px;
  }

  .HeaderPro--solution .HeaderPro-solution-pager.contain {
    width: 100%;
    max-width: 100%;
  }

  .HeaderPro--solution .HeaderPro-solution-scroll {
    flex: 1 1 auto;
    min-width: 0;
    width: 100%;
    max-width: none;
    flex-wrap: nowrap !important;
    align-items: flex-start;
    justify-content: flex-start;
    gap: var(--header-pro-card-gap);
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  /* >5 子卡片：视口最多一屏 5 张，窄屏时卡片等比缩小以完整显示 */
  .HeaderPro--solution .HeaderPro-solution-scroll.HeaderPro-solution-scroll--subcards {
    flex: 1 1 auto;
    min-width: 0;
    width: min(100%, var(--header-pro-scroll-w));
    max-width: var(--header-pro-scroll-w);
    justify-content: flex-start;
  }

  .HeaderPro--solution .HeaderPro-solution-scroll::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
  }

  /* >5 子卡片翻页：视口内 5 等分，最大 260px，同分类仅首张显示标题 */
  .HeaderPro--solution .HeaderPro-solution-scroll--subcards .HeaderPro-item--subcard {
    flex: 0 0
      calc(
        (100% - (var(--header-pro-visible-cards) - 1) * var(--header-pro-card-gap)) /
          var(--header-pro-visible-cards)
      ) !important;
    width: calc(
      (100% - (var(--header-pro-visible-cards) - 1) * var(--header-pro-card-gap)) /
        var(--header-pro-visible-cards)
    );
    min-width: 0;
    max-width: var(--header-pro-card-w);
  }

  .HeaderPro--solution .HeaderPro-item--subcard .HeaderPro-img {
    display: block;
    grid-template-columns: none;
    width: 100%;
    max-width: 100%;
  }

  .HeaderPro--solution .HeaderPro-item--subcard .HeaderPro-img-item {
    width: 100%;
    max-width: 100%;
  }

  .HeaderPro--solution .HeaderPro-item--subcard .HeaderPro-img-item .img,
  .HeaderPro--solution .HeaderPro-item--subcard .HeaderPro-img-item .text {
    max-width: 100%;
  }

  .HeaderPro--solution .HeaderPro-solution-scroll--subcards .HeaderPro-item {
    flex: 0 0
      calc(
        (100% - (var(--header-pro-visible-cards) - 1) * var(--header-pro-card-gap)) /
          var(--header-pro-visible-cards)
      ) !important;
    width: calc(
      (100% - (var(--header-pro-visible-cards) - 1) * var(--header-pro-card-gap)) /
        var(--header-pro-visible-cards)
    );
    min-width: 0;
    max-width: var(--header-pro-card-w);
  }

  .HeaderPro--solution .HeaderPro-pager-btn--row,
  .HeaderPro--products .HeaderPro-pager-btn--row {
    position: static;
    transform: none;
    flex-shrink: 0;
    align-self: flex-start;
    margin-top: var(--header-pro-arrow-row-img-offset);
    width: var(--header-pro-pager-btn-row-size);
    height: var(--header-pro-pager-btn-row-size);
    border: none;
    padding: 0;
    font: inherit;
    line-height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 100px;
    background-color: #fff;
    color: #541b86;
    cursor: pointer;
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
  }

  .HeaderPro--solution .HeaderPro-pager-btn--row:hover,
  .HeaderPro--products .HeaderPro-pager-btn--row:hover {
    background-color: #541b86;
    color: #fff;
  }

  .HeaderPro--solution .HeaderPro-pager-btn--row.next .icon,
  .HeaderPro--products .HeaderPro-pager-btn--row.next .icon {
    transform: rotate(180deg);
  }
}

/* Products 下拉：≤5 列居中聚拢；>5 翻页一屏 5 列 */
@media (min-width: 1100px) {
  .HeaderPro--products .contain.flex,
  .HeaderPro--products .contain.flex.header-pro-row {
    flex-wrap: nowrap !important;
    justify-content: center !important;
    align-items: flex-start;
    gap: var(--header-pro-card-gap);
    padding: 0 20px;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
  }

  .HeaderPro--products .HeaderPro-item {
    flex: 0 0 auto !important;
    min-width: 0;
    width: auto;
    max-width: none;
    padding: 0;
    box-sizing: border-box;
  }

  .HeaderPro--products .HeaderPro-title {
    max-width: 100%;
    white-space: normal;
    line-height: 1.3;
  }

  .HeaderPro--products .HeaderPro-img {
    display: flex;
    flex-wrap: nowrap;
    gap: var(--header-pro-card-gap);
    width: max-content;
    max-width: 100%;
    justify-content: flex-start;
  }

  .HeaderPro--products .HeaderPro-img-item {
    flex: 0 1 auto !important;
    width: min(100%, var(--header-pro-card-w));
    max-width: var(--header-pro-card-w);
    min-width: 0;
    padding-right: 0;
    box-sizing: border-box;
  }

  .HeaderPro--products .HeaderPro-products-pager {
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: var(--header-pro-card-gap);
    padding: 0 20px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    --header-pro-arrow-row-img-offset: 90px;
  }

  .HeaderPro--products .HeaderPro-products-pager.contain {
    width: 100%;
    max-width: 100%;
  }

  .HeaderPro--products .HeaderPro-products-scroll {
    flex: 1 1 auto;
    min-width: 0;
    width: min(100%, var(--header-pro-scroll-w));
    max-width: var(--header-pro-scroll-w);
    flex-wrap: nowrap;
    align-items: flex-start;
    justify-content: flex-start;
    gap: var(--header-pro-card-gap);
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .HeaderPro--products .HeaderPro-products-scroll::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
  }

  .HeaderPro--products .HeaderPro-products-scroll .HeaderPro-item {
    flex: 0 0
      calc(
        (100% - (var(--header-pro-visible-cards) - 1) * var(--header-pro-card-gap)) /
          var(--header-pro-visible-cards)
      ) !important;
    width: calc(
      (100% - (var(--header-pro-visible-cards) - 1) * var(--header-pro-card-gap)) /
        var(--header-pro-visible-cards)
    );
    min-width: 0;
    max-width: none;
    padding: 0;
    box-sizing: border-box;
  }

  .HeaderPro--products .HeaderPro-img.header-pro-scroll {
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    justify-content: flex-start;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
    gap: var(--header-pro-card-gap);
    width: 100%;
    max-width: 100%;
  }

  .HeaderPro--products .HeaderPro-img.header-pro-scroll::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
  }

  .HeaderPro--products .HeaderPro-img.header-pro-scroll .HeaderPro-img-item {
    flex: 0 0 calc((100% - 4 * var(--header-pro-card-gap)) / 5) !important;
    width: calc((100% - 4 * var(--header-pro-card-gap)) / 5);
    min-width: 0;
    max-width: calc((100% - 4 * var(--header-pro-card-gap)) / 5);
    padding-right: 0;
    scroll-snap-align: start;
  }
}

/* 首页 indPro：随页面滚动切换分类，隐藏列表内滚动条 */
@media (min-width: 1101px) {
  .indPro-list {
    overflow-y: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .indPro-list::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
  }
}

/* 后台 iframe 预览：不跑 Three.js 粒子，减轻 CPU */
.portal-embed-preview #indNum-canvas canvas,
.portal-embed-preview .Footer-canvas canvas {
  display: none !important;
}

/* 后台 iframe 预览：窄栏内内容自适应，避免横向裁切 */
.portal-embed-preview .Container,
.portal-embed-preview .Container .container {
  max-width: 100%;
  box-sizing: border-box;
}

.portal-embed-preview .Container img,
.portal-embed-preview .container img,
.portal-embed-preview img {
  max-width: 100% !important;
}

.portal-embed-preview .Container img:not([width]):not([style*="width"]),
.portal-embed-preview .container img:not([width]):not([style*="width"]),
.portal-embed-preview img:not([width]):not([style*="width"]) {
  width: auto !important;
  height: auto !important;
}

.portal-embed-preview .Container img[width],
.portal-embed-preview .container img[width],
.portal-embed-preview img[width],
.portal-embed-preview .Container img[data-img-width],
.portal-embed-preview .container img[data-img-width],
.portal-embed-preview img[data-img-width],
.portal-embed-preview .Container img[style*="width"],
.portal-embed-preview .container img[style*="width"],
.portal-embed-preview img[style*="width"] {
  height: auto !important;
}

.portal-embed-preview .container .reference {
  position: static !important;
  right: auto !important;
  bottom: auto !important;
  display: block;
  margin-top: 12px;
}

.portal-embed-preview .container .image {
  max-width: 100%;
}

.portal-embed-preview .Sousr-cont,
.portal-embed-preview .Sousr-content {
  max-width: 100%;
  box-sizing: border-box;
}

.portal-embed-preview .Sousr-list {
  flex-wrap: wrap;
  justify-content: center;
}

.portal-embed-preview [style*="text-align:center"] img,
.portal-embed-preview p[style*="text-align:center"] img {
  max-width: 100%;
}

/* 后台预览：居中段落勿用 100vw，避免 iframe 内横向滚动 */
.portal-embed-preview .Newzt-cont .cont-l .recover .news-align-viewport,
.portal-embed-preview .Newzt-cont .cont-l .recover .site-align-viewport,
.portal-embed-preview .Newzt-cont .cont-l .recover :is(p, h1, h2, h3, h4, h5, h6, div)[style*="text-align"],
.portal-embed-preview .Newxq-content.recover .news-align-viewport,
.portal-embed-preview .Newxq-content.recover .site-align-viewport,
.portal-embed-preview .Newxq-content.recover :is(p, h1, h2, h3, h4, h5, h6, div)[style*="text-align"],
.portal-embed-preview .Fpsct-content.recover .news-align-viewport,
.portal-embed-preview .Fpsct-content.recover .site-align-viewport,
.portal-embed-preview .Fpsct-content.recover :is(p, h1, h2, h3, h4, h5, h6, div)[style*="text-align"],
.portal-embed-preview .privacy-content .news-align-viewport,
.portal-embed-preview .privacy-content .site-align-viewport,
.portal-embed-preview .privacy-content :is(p, h1, h2, h3, h4, h5, h6, div)[style*="text-align"],
.portal-embed-preview .Container > .container.recover .news-align-viewport,
.portal-embed-preview .Container > .container.recover .site-align-viewport,
.portal-embed-preview .Container > .container.recover :is(p, h1, h2, h3, h4, h5, h6, div)[style*="text-align"],
.portal-embed-preview .Container .container .recover .news-align-viewport,
.portal-embed-preview .Container .container .recover .site-align-viewport,
.portal-embed-preview .Container .container .recover :is(p, h1, h2, h3, h4, h5, h6, div)[style*="text-align"],
.portal-embed-preview .Container p[style*="text-align: center"],
.portal-embed-preview .Container p[style*="text-align:center"],
.portal-embed-preview .Container div[style*="text-align: center"],
.portal-embed-preview .Container div[style*="text-align:center"] {
  width: 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  box-sizing: border-box;
}

/* 预览模式：居中/居右/居左段落内的图片对齐 */

/* 通用：任何带 text-align 的块级元素内图片自动对齐（覆盖所有容器层级） */
.portal-embed-preview p[style*="text-align:center"] img,
.portal-embed-preview p[style*="text-align: center"] img,
.portal-embed-preview div[style*="text-align:center"] img,
.portal-embed-preview div[style*="text-align: center"] img,
.portal-embed-preview h1[style*="text-align:center"] img,
.portal-embed-preview h1[style*="text-align: center"] img,
.portal-embed-preview h2[style*="text-align:center"] img,
.portal-embed-preview h2[style*="text-align: center"] img,
.portal-embed-preview h3[style*="text-align:center"] img,
.portal-embed-preview h3[style*="text-align: center"] img {
  display: block !important;
  max-width: 100% !important;
}

.portal-embed-preview [style*="text-align:center"] img,
.portal-embed-preview [style*="text-align: center"] img {
  display: block !important;
  max-width: 100% !important;
}

/* 居中 */
.portal-embed-preview [style*="text-align:center"] img,
.portal-embed-preview [style*="text-align: center"] img {
  margin-left: auto !important;
  margin-right: auto !important;
}

/* 图片自身带有 text-align 属性时也居中（Tiptap image node 直接设置 textAlign） */
.portal-embed-preview img[style*="text-align:center"],
.portal-embed-preview img[style*="text-align: center"] {
  display: block !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* 居右 — 父级 text-align:right 包含 img
   Tiptap TextAlign 输出 text-align: right（有空格），EditorImage 输出 text-align:right（无空格）
   两种都要覆盖 */
.portal-embed-preview p[style*="text-align:right"] img,
.portal-embed-preview p[style*="text-align: right"] img,
.portal-embed-preview div[style*="text-align:right"] img,
.portal-embed-preview div[style*="text-align: right"] img,
.portal-embed-preview h1[style*="text-align:right"] img,
.portal-embed-preview h1[style*="text-align: right"] img,
.portal-embed-preview h2[style*="text-align:right"] img,
.portal-embed-preview h2[style*="text-align: right"] img,
.portal-embed-preview h3[style*="text-align:right"] img,
.portal-embed-preview h3[style*="text-align: right"] img,
.portal-embed-preview [style*="text-align:right"] img,
.portal-embed-preview [style*="text-align: right"] img {
  display: block !important;
  max-width: 100% !important;
  margin-left: auto !important;
  margin-right: 0 !important;
}

/* 图片自身带有 text-align:right 属性（Tiptap image node/EditorImage） */
.portal-embed-preview img[style*="text-align:right"],
.portal-embed-preview img[style*="text-align: right"] {
  display: block !important;
  max-width: 100% !important;
  margin-left: auto !important;
  margin-right: 0 !important;
}

/* 居左 — 父级 text-align:left 包含 img */
.portal-embed-preview p[style*="text-align:left"] img,
.portal-embed-preview p[style*="text-align: left"] img,
.portal-embed-preview div[style*="text-align:left"] img,
.portal-embed-preview div[style*="text-align: left"] img,
.portal-embed-preview h1[style*="text-align:left"] img,
.portal-embed-preview h1[style*="text-align: left"] img,
.portal-embed-preview h2[style*="text-align:left"] img,
.portal-embed-preview h2[style*="text-align: left"] img,
.portal-embed-preview h3[style*="text-align:left"] img,
.portal-embed-preview h3[style*="text-align: left"] img,
.portal-embed-preview [style*="text-align:left"] img,
.portal-embed-preview [style*="text-align: left"] img {
  display: block !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: auto !important;
}

/* 图片自身带有 text-align:left 属性 */
.portal-embed-preview img[style*="text-align:left"],
.portal-embed-preview img[style*="text-align: left"] {
  display: block !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: auto !important;
}

/* 确保 center 优先级最高（不与 right/left 互串） */
.portal-embed-preview [style*="text-align:center"] img,
.portal-embed-preview [style*="text-align: center"] img {
  margin-left: auto !important;
  margin-right: auto !important;
}

.portal-embed-preview body,
.portal-embed-preview .Container {
  overflow-x: hidden;
}

/* 用户开启「减少动态效果」时用静态点阵，不依赖 Three.js */
@media (prefers-reduced-motion: reduce) {
  #indNum-canvas canvas,
  #Footer-canvas canvas {
    display: none !important;
  }
}

/* Ecmlb 播放按钮：React 用 button 替代 javascript: 链接 */
.Ecmlb-list .list .img .show .btn {
  border: none;
  background: transparent;
  padding: 0;
  cursor: pointer;
  line-height: 0;
}

/* 新闻详情：不用列表页 64% 窄栏，正文占 contain 全宽（对齐静态站 Newxq 阅读区） */
.Newzt.news-detail .Newzt-cont .cont-l,
.portal-embed-preview .Newzt.news-detail .Newzt-cont .cont-l {
  width: 100%;
  max-width: 100%;
}

.Newzt.news-detail .recover img:not([width]):not([style*="width"]),
.Newzt.news-detail .recover video,
.Newxq-content.recover img:not([width]):not([style*="width"]),
.Newxq-content.recover video {
  max-width: 100%;
  height: auto;
  width: auto;
}

.Newzt.news-detail .recover img[width],
.Newzt.news-detail .recover img[style*="width"],
.Newxq-content.recover img[width],
.Newxq-content.recover img[style*="width"] {
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.Newzt.news-detail .recover img[style*="text-align: center"],
.Newzt.news-detail .recover img[style*="text-align:center"],
.Newxq-content.recover img[style*="text-align: center"],
.Newxq-content.recover img[style*="text-align:center"] {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.Newzt.news-detail .recover img[style*="text-align: right"],
.Newzt.news-detail .recover img[style*="text-align:right"],
.Newxq-content.recover img[style*="text-align: right"],
.Newxq-content.recover img[style*="text-align:right"] {
  display: block;
  margin-left: auto;
  margin-right: 0;
}

/* 全站富文本：产品 / 方案 / 隐私等按页面内容区全宽（非预览窄窗） */
.Fpsct-content.recover,
.privacy-content,
.Container > .container.recover,
.Container .container .recover,
.Sousr-content .recover {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.Fpsct-content.recover img:not([width]):not([style*="width"]),
.Fpsct-content.recover video,
.privacy-content img:not([width]):not([style*="width"]),
.privacy-content video,
.Container > .container.recover img:not([width]):not([style*="width"]),
.Container > .container.recover video,
.Container .container .recover img:not([width]):not([style*="width"]),
.Container .container .recover video,
.Sousr-content.recover img:not([width]):not([style*="width"]),
.Sousr-content.recover video {
  max-width: 100%;
  height: auto;
  width: auto;
}

.Fpsct-content.recover img[width],
.Fpsct-content.recover img[style*="width"],
.privacy-content img[width],
.privacy-content img[style*="width"],
.Container > .container.recover img[width],
.Container > .container.recover img[style*="width"],
.Container .container .recover img[width],
.Container .container .recover img[style*="width"],
.Sousr-content.recover img[width],
.Sousr-content.recover img[style*="width"] {
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.Fpsct-content.recover img[style*="text-align: center"],
.Fpsct-content.recover img[style*="text-align:center"],
.privacy-content img[style*="text-align: center"],
.privacy-content img[style*="text-align:center"],
.Container > .container.recover img[style*="text-align: center"],
.Container > .container.recover img[style*="text-align:center"],
.Container .container .recover img[style*="text-align: center"],
.Container .container .recover img[style*="text-align:center"] {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.Fpsct-content.recover img[style*="text-align: right"],
.Fpsct-content.recover img[style*="text-align:right"],
.privacy-content img[style*="text-align: right"],
.privacy-content img[style*="text-align:right"],
.Container > .container.recover img[style*="text-align: right"],
.Container > .container.recover img[style*="text-align:right"],
.Container .container .recover img[style*="text-align: right"],
.Container .container .recover img[style*="text-align:right"] {
  display: block;
  margin-left: auto;
  margin-right: 0;
}

.Container > .container.recover p[style*="text-align: center"],
.Container > .container.recover p[style*="text-align:center"],
.Container > .container.recover p[style*="text-align: right"],
.Container > .container.recover p[style*="text-align:right"],
.Container > .container.recover p[style*="text-align: left"],
.Container > .container.recover p[style*="text-align:left"] {
  width: 100%;
  max-width: 100%;
}

.Container > .container.recover p[style*="text-align: center"] img,
.Container > .container.recover p[style*="text-align:center"] img,
.Container .container .recover p[style*="text-align: center"] img,
.Container .container .recover p[style*="text-align:center"] img {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.Container > .container.recover p[style*="text-align: right"] img,
.Container > .container.recover p[style*="text-align:right"] img,
.Container .container .recover p[style*="text-align: right"] img,
.Container .container .recover p[style*="text-align:right"] img {
  display: block;
  margin-left: auto;
  margin-right: 0;
}

.Fpsct-content.recover p:empty,
.Fpsct-content.recover p:has(> br:only-child),
.privacy-content p:empty,
.privacy-content p:has(> br:only-child),
.Container > .container.recover p:empty,
.Container > .container.recover p:has(> br:only-child),
.Container .container .recover p:empty,
.Container .container .recover p:has(> br:only-child) {
  min-height: 30px;
}

/* 新闻正文：空行段落保留行高 */
.Newzt-cont .cont-l .recover p:empty,
.Newzt-cont .cont-l .recover p:has(> br:only-child),
.Newxq-content.recover p:empty,
.Newxq-content.recover p:has(> br:only-child) {
  min-height: 30px;
}

/* 新闻正文：居中块相对浏览器视口（突破 64% 正文列 / Newxq 内栏） */
.Newzt-cont .cont-l .recover .news-align-viewport,
.Newzt-cont .cont-l .recover .site-align-viewport,
.Newzt-cont .cont-l .recover :is(p, h1, h2, h3, h4, h5, h6, div)[style*="text-align: center"],
.Newzt-cont .cont-l .recover :is(p, h1, h2, h3, h4, h5, h6, div)[style*="text-align:center"],
.Newxq-content.recover .news-align-viewport,
.Newxq-content.recover .site-align-viewport,
.Newxq-content.recover :is(p, h1, h2, h3, h4, h5, h6, div)[style*="text-align: center"],
.Newxq-content.recover :is(p, h1, h2, h3, h4, h5, h6, div)[style*="text-align:center"] {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  box-sizing: border-box;
}

.Container {
  overflow-x: clip;
}

/* 富文本：双栏 / 三栏图组 */
.recover .xft-media-row,
.portal-embed-preview .xft-media-row {
  display: grid;
  gap: 12px;
  width: 100%;
  margin: 1em 0;
}

.recover .xft-media-row--2,
.portal-embed-preview .xft-media-row--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.recover .xft-media-row--3,
.portal-embed-preview .xft-media-row--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.recover .xft-media-row__cell,
.portal-embed-preview .xft-media-row__cell {
  min-width: 0;
}

.recover .xft-media-row__cell img,
.recover .xft-media-row__cell video,
.recover .xft-media-row__cell .xft-video-embed,
.portal-embed-preview .xft-media-row__cell img,
.portal-embed-preview .xft-media-row__cell video,
.portal-embed-preview .xft-media-row__cell .xft-video-embed {
  width: 100%;
  max-width: 100%;
  margin: 0;
}

.recover .xft-media-row__cell img[width],
.recover .xft-media-row__cell img[style*="width"],
.recover .xft-media-row__cell img[data-img-width],
.portal-embed-preview .xft-media-row__cell img[width],
.portal-embed-preview .xft-media-row__cell img[style*="width"],
.portal-embed-preview .xft-media-row__cell img[data-img-width] {
  max-width: 100%;
  height: auto;
}

@media (max-width: 640px) {
  .recover .xft-media-row--2,
  .recover .xft-media-row--3,
  .portal-embed-preview .xft-media-row--2,
  .portal-embed-preview .xft-media-row--3 {
    grid-template-columns: 1fr;
  }
}

/* 富文本：正文内视频 */
.recover .xft-video-file,
.portal-embed-preview .xft-video-file {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  margin: 1em 0;
}

.recover .xft-video-embed,
.portal-embed-preview .xft-video-embed {
  position: relative;
  width: 100%;
  margin: 1em 0;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
}

.recover .xft-video-embed iframe,
.portal-embed-preview .xft-video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
