/* .hero-slides 高度由图片自然撑开，不再固定 */

.feature-band {
  padding: 16px 0 28px
}

.feature-card {
  min-height: 96px
}

.floating-bar {
  right: 20px;
  top: 50%;
  width: 64px;
  padding: 0;
  gap: 0;
  border: 1px solid rgba(38, 49, 45, .18) !important;
  border-radius: 18px;
  background: rgba(255, 255, 255, .97) !important;
  box-shadow: 0 16px 40px rgba(31, 41, 38, .14) !important;
  backdrop-filter: blur(12px);
  overflow: visible;
  opacity: 0;
  transform: translate(10px, -50%);
  pointer-events: none;
  display: flex !important;
  flex-direction: column;
  align-items: stretch;
  transition: opacity .25s, transform .25s
}

.floating-bar.is-visible {
  opacity: 1;
  transform: translate(0, -50%);
  pointer-events: auto
}

.floating-head {
  display: none
}

.floating-action {
  position: relative;
  right: auto;
  top: auto;
  width: 62px;
  height: 58px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #46534f;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  overflow: visible;
  opacity: 1;
  transform: none;
  pointer-events: auto;
  transition: color .2s
}

.floating-action+.floating-action {
  border-top: 1px solid rgba(38, 49, 45, .11)
}

.floating-action::before {
  content: "";
  position: absolute;
  inset: 0;
  background: transparent;
  z-index: 0;
  transition: background .2s;
  pointer-events: none
}

.phone-action::before {
  border-radius: 17px 17px 0 0
}

.top-action::before {
  border-radius: 0 0 17px 17px
}

.floating-action:hover,
.floating-action:focus-visible {
  background: transparent !important;
  color: #d9573e;
  transform: none;
  border-radius: 0 !important
}

.floating-action:hover::before,
.floating-action:focus-visible::before {
  background: #fff0ea
}

.floating-action .icon {
  position: relative !important;
  z-index: 1;
  right: auto !important;
  top: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  width: 20px !important;
  height: 20px !important;
  border-radius: 0 !important;
  background: currentColor !important;
  color: inherit !important;
  box-shadow: none !important;
  opacity: 1 !important;
  transform: none !important;
  display: block !important
}

.floating-action .icon,
.floating-action b {
  z-index: 1
}

.floating-action b {
  display: block;
  margin: 0;
  padding: 0;
  background: transparent !important;
  color: inherit;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  opacity: 1;
  transform: none
}

.floating-action>span.icon {
  position: relative !important;
  inset: auto !important
}

.floating-action .floating-icon,
.floating-action .floating-label {
  all: unset
}

.wechat-action:hover,
.wechat-action:focus-visible {
  background: transparent !important;
  color: #2f8f9d
}

.wechat-action:hover::before,
.wechat-action:focus-visible::before {
  background: #e8f7f8
}

.message-action:hover,
.message-action:focus-visible {
  background: transparent !important;
  color: #3c8f72
}

.message-action:hover::before,
.message-action:focus-visible::before {
  background: #eef8f3
}

.top-action:hover,
.top-action:focus-visible {
  background: transparent !important;
  color: #4b5563
}

.top-action:hover::before,
.top-action:focus-visible::before {
  background: #f2f4f7
}

.wechat-popover {
  right: 76px;
  top: 62px;
  width: 204px;
  border: 1px solid rgba(38, 49, 45, .08);
  border-radius: 16px;
  background: #fff;
  padding: 14px;
  text-align: center;
  box-shadow: 0 18px 48px rgba(31, 41, 38, .16);
  pointer-events: auto
}

.wechat-popover:after {
  content: none !important;
  display: none !important
}

.wechat-popover img {
  width: 128px;
  height: 128px;
  margin: auto;
  border-radius: 12px;
  padding: 6px;
  background: #fff8f3;
  border: 1px solid rgba(38, 49, 45, .08)
}

.wechat-popover strong {
  display: block;
  margin-top: 8px;
  color: #1f2926;
  font-size: 14px
}

.wechat-popover span {
  display: block;
  margin-top: 4px;
  color: #6f746f;
  font-size: 12px;
  line-height: 1.5
}

.hero-arrow {
  top: 50% !important;
  width: 72px !important;
  height: 72px !important;
  padding: 0 !important;
  border-radius: 50%;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 0 !important;
  line-height: 0 !important;
  transform: translateY(-50%) !important
}

.hero-arrow:hover {
  transform: translateY(-50%) scale(1.04) !important
}

.hero-arrow::before {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  display: block;
  width: 28px;
  height: 28px;
  background: currentColor;
  transform-origin: center;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpolyline points='15 6 9 12 15 18' fill='none' stroke='black' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpolyline points='15 6 9 12 15 18' fill='none' stroke='black' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat
}

.hero-prev {
  left: clamp(34px, 4.8vw, 76px) !important
}

.hero-next {
  right: clamp(34px, 4.8vw, 76px) !important
}

.hero-next::before {
  transform: scaleX(-1)
}

.carousel-btn {
  top: 50% !important;
  width: 60px !important;
  height: 60px !important;
  padding: 0 !important;
  border-radius: 50%;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 0 !important;
  line-height: 0 !important;
  transform: translateY(-50%) !important
}

.carousel-btn:hover {
  transform: translateY(-50%) scale(1.04) !important
}

.carousel-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  display: block;
  width: 24px;
  height: 24px;
  background: currentColor;
  transform-origin: center;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpolyline points='15 6 9 12 15 18' fill='none' stroke='black' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpolyline points='15 6 9 12 15 18' fill='none' stroke='black' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat
}

.carousel-btn.prev {
  left: -30px !important
}

.carousel-btn.next {
  right: -30px !important
}

.carousel-btn.next::before {
  transform: scaleX(-1)
}

.flow-panel {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 26px;
  overflow: visible;
  border-color: rgba(47, 143, 157, .14);
  background: linear-gradient(135deg, #fffdf8, #f7fbfb);
  padding: 34px 38px
}

.flow-panel:before {
  content: "";
  position: absolute;
  left: 70px;
  right: 70px;
  top: 50%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(242, 107, 79, .28), rgba(47, 143, 157, .28), transparent)
}

.flow-item {
  min-height: 128px;
  border-color: rgba(38, 49, 45, .08);
  box-shadow: 0 12px 34px rgba(38, 49, 45, .06)
}

.flow-item i {
  position: absolute;
  right: -32px;
  top: 50%;
  width: 30px;
  height: 11px;
  /* margin-top: -9px; */
  font-size: 0;
  line-height: 0;
  color: transparent;
  pointer-events: none
}

.flow-item i:before,
.flow-item i:after {
  content: "";
  position: absolute;
  left: 1px;
  right: 8px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #f26b4f, #2f8f9d)
}

.flow-item i:before {
  top: 4px
}

.flow-item i:after {
  bottom: 4px
}

.flow-item i {
  background: linear-gradient(135deg, transparent 50%, #2f8f9d 52%, #2f8f9d 58%, transparent 60%) right 1px center/12px 12px no-repeat, linear-gradient(45deg, transparent 50%, #2f8f9d 52%, #2f8f9d 58%, transparent 60%) right 1px center/12px 12px no-repeat
}

.rank-panel>a>span.hot {
  position: relative;
  overflow: visible
}

.rank-panel>a>span.hot::after {
  content: "";
  position: absolute;
  right: -11px;
  top: -13px;
  width: 18px;
  height: 18px;
  background: #f97316;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 2c1.7 2.2 2.7 4.1 2.7 6.2 0 1.7-.8 3.1-2 4 1.8-.1 3.3-1.1 4.3-2.6.7 1.2 1.2 2.6 1.2 4.2 0 3.8-3 7-6.8 7S4.6 17.6 4.6 13.8c0-3.7 2.1-6.4 5-8.9.8 1.2 1.5 2.8 1.6 4.3 0-2.2.5-4.4.8-7.2Z'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 2c1.7 2.2 2.7 4.1 2.7 6.2 0 1.7-.8 3.1-2 4 1.8-.1 3.3-1.1 4.3-2.6.7 1.2 1.2 2.6 1.2 4.2 0 3.8-3 7-6.8 7S4.6 17.6 4.6 13.8c0-3.7 2.1-6.4 5-8.9.8 1.2 1.5 2.8 1.6 4.3 0-2.2.5-4.4.8-7.2Z'/%3E%3C/svg%3E") center/contain no-repeat;
  pointer-events: none;
  filter: drop-shadow(0 1px 0 rgba(255, 255, 255, .9)) drop-shadow(0 0 6px rgba(249, 115, 22, .16))
}

.mobile-contact-bar a,
.mobile-contact-bar button {
  min-width: 0
}

.mobile-contact-bar span:not(.icon) {
  position: static;
  margin: 0;
  padding: 0;
  color: inherit;
  font-size: 12px;
  opacity: 1;
  transform: none
}

.mobile-contact-bar .icon {
  background: currentColor
}

@media(max-width:1100px) {
  /* .hero-slides 高度由图片自然撑开 */

  .flow-panel {
    grid-template-columns: repeat(3, 1fr);
    gap: 22px 28px
  }

  .flow-panel:before,
  .flow-item i {
    display: none
  }
}

@media(max-width:820px) {
  .hero-slider {
    padding-top: 64px
  }

  /* .hero-slides 高度由图片自然撑开 */

  .hero-content {
    padding-top: 72px
  }

  .hero-content h1 {
    font-size: 42px;
    margin: 14px 0 22px
  }

  .feature-band {
    padding: 10px 0 18px;
    margin-top: -8px
  }

  .feature-grid {
    gap: 10px
  }

  .feature-card {
    min-height: 72px;
    padding: 12px;
    gap: 10px;
    border-radius: 16px
  }

  .feature-card>span {
    width: 42px;
    height: 42px;
    border-radius: 12px
  }

  .feature-card h3 {
    font-size: 14px;
    line-height: 1.2
  }

  .feature-card p {
    display: none
  }

  .flow-panel {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    padding: 20px;
    overflow: hidden
  }

  .flow-item {
    min-height: 104px;
    padding: 14px 12px
  }

  .filter-strip {
    position: relative;
    top: auto
  }

  .floating-bar {
    display: none !important
  }

  .mobile-contact-bar {
    display: grid
  }

  .card,
  .news-row,
  .featured-news,
  .featured-article {
    border-radius: 14px
  }

  .hero-arrow,
  .carousel-btn {
    display: none !important
  }
}

@media(max-width:560px) {
  /* .hero-slides 高度由图片自然撑开 */

  .hero-content h1 {
    font-size: 34px
  }

  .hero-content span {
    padding: 5px 12px;
    font-size: 12px
  }

  .feature-grid {
    grid-template-columns: 1fr 1fr
  }

  .feature-card {
    min-height: 70px
  }

  .feature-card h3 {
    font-size: 13px
  }

  .flow-panel {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 16px
  }

  .flow-item {
    min-height: 92px;
    padding: 12px
  }
}