@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

.glass-effect {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.gradient-blue {
  background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
}

/* —— 首页轮播：限宽、限高，首屏能看到快捷导航/行情 —— */
.hbce-hero-wrap {
  background: #f8fafc;
  padding: 0.75rem 1.5rem 0.25rem;
  box-sizing: border-box;
}
@media (min-width: 1024px) {
  .hbce-hero-wrap { padding: 1rem 3rem 0.35rem; }
}
.hbce-hero {
  position: relative;
  max-width: 1440px;
  margin: 0 auto;
  width: 100%;
  height: clamp(240px, 34vh, 380px);
  min-height: 240px;
  max-height: 380px;
  color: #fff;
  overflow: hidden;
  background: #0f172a;
  border-radius: 1rem;
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.12);
}
.hbce-hero-slides {
  position: absolute;
  inset: 0;
}
.hbce-hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 1s ease, transform 6.5s ease;
  pointer-events: none;
}
.hbce-hero-slide.is-active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}
.hbce-hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 15, 30, 0.5) 0%, rgba(8, 15, 30, 0.22) 55%, rgba(8, 15, 30, 0.15) 100%),
    linear-gradient(180deg, rgba(8, 15, 30, 0.15) 0%, transparent 50%, rgba(8, 15, 30, 0.45) 100%);
}
.hbce-hero-caption {
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  bottom: 3.25rem;
  max-width: none;
  margin: 0;
  padding: 0 1.25rem;
}
@media (min-width: 1024px) {
  .hbce-hero-caption { padding: 0 2rem; bottom: 3.5rem; }
}
.hbce-hero-brand {
  margin: 0 0 0.25rem;
  font-size: clamp(0.95rem, 1.6vw, 1.2rem);
  font-weight: 800;
  letter-spacing: 0.1em;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.35);
}
.hbce-hero-slide-name {
  margin: 0;
  font-size: clamp(1.1rem, 2.2vw, 1.45rem);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.4);
}
.hbce-hero-controls {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 0.85rem;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 0.55rem;
}
.hbce-hero-nav {
  width: 2rem;
  height: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.35);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.2s ease;
}
.hbce-hero-nav:hover { background: rgba(29, 78, 216, 0.75); }
.hbce-hero-dots {
  display: flex;
  gap: 0.3rem;
  padding: 0.25rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.18);
}
.hbce-hero-dots button {
  appearance: none;
  border: 0;
  background: transparent;
  color: rgba(226, 232, 240, 0.75);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.hbce-hero-dots button.is-active,
.hbce-hero-dots button:hover {
  background: #1d4ed8;
  color: #fff;
}
.hbce-hero-variety-link {
  position: absolute;
  z-index: 3;
  right: 1.25rem;
  bottom: 1rem;
  display: none;
  align-items: center;
  gap: 0.35rem;
  color: rgba(226, 232, 240, 0.9);
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
}
.hbce-hero-variety-link:hover { color: #fff; text-decoration: underline; }
@media (min-width: 900px) {
  .hbce-hero-variety-link { display: inline-flex; }
}
@media (max-width: 640px) {
  .hbce-hero { height: 220px; border-radius: 0.75rem; }
  .hbce-hero-caption { bottom: 2.75rem; }
  .hbce-hero-dots button span { display: none; }
  .hbce-hero-dots button::after {
    content: "";
    display: block;
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 999px;
    background: currentColor;
  }
  .hbce-hero-dots button.is-active::after { background: #fff; }
}
.hover-card {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hover-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

@keyframes scroll-text {
  0% { transform: translateY(100%); }
  10% { transform: translateY(0); }
  90% { transform: translateY(0); }
  100% { transform: translateY(-100%); }
}

.announcement-item {
  animation: scroll-text 4s infinite;
}

.hbce-nav-scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom-color: #e2e8f0 !important;
}

/* 顶栏导航统一 */
.hbce-nav-menu {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  height: 40px;
}
.hbce-nav-menu .nav-dropdown {
  display: flex;
  align-items: center;
  height: 40px;
}
.hbce-nav-link,
.nav-dd-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  box-sizing: border-box;
  height: 40px;
  padding: 0 2px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
  color: #475569;
  border-bottom: 2px solid transparent;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.hbce-nav-link iconify-icon,
.nav-dd-trigger iconify-icon {
  width: 14px;
  height: 14px;
  font-size: 14px;
  line-height: 1;
}
.hbce-nav-link:hover,
.nav-dropdown:hover .nav-dd-trigger,
.nav-dropdown:focus-within .nav-dd-trigger {
  color: #1d4ed8;
}
.hbce-nav-link.is-active,
.nav-dd-trigger.is-active {
  color: #1d4ed8;
  border-bottom-color: #1d4ed8;
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  min-width: 100px;
  background: #1d4ed8;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 2px;
  padding: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.18s ease, visibility 0.18s ease;
  box-shadow: 0 10px 28px rgba(29, 78, 216, 0.28);
  z-index: 60;
}
.nav-dropdown-menu::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: -10px; height: 10px;
}

.group:hover .nav-dropdown-menu,
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.nav-dropdown-item {
  display: block;
  padding: 9px 10px;
  color: #fff;
  font-size: 0.875rem;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  transition: background 0.15s ease;
  white-space: nowrap;
}

.nav-dropdown-item:last-child {
  border-bottom: none;
}

.nav-dropdown-item:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

.nav-dropdown-item-active {
  font-weight: 600;
  background: rgba(255, 255, 255, 0.18);
}

.mobile-nav-dropdown-trigger[aria-expanded="true"] .mobile-nav-dropdown-icon {
  transform: rotate(180deg);
}

.home-section-menu-title {
  color: #1d4ed8;
  font-size: 1.125rem;
  font-weight: 700;
  padding-bottom: 0.5rem;
  margin-bottom: 0.75rem;
  border-bottom: 3px solid #1d4ed8;
}

.home-section-menu-list {
  background: #1d4ed8;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(29, 78, 216, 0.28);
}

.home-section-menu-item {
  display: block;
  padding: 12px 20px;
  color: #fff;
  font-size: 0.9375rem;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  transition: background 0.15s ease;
}

.home-section-menu-item:last-child {
  border-bottom: none;
}

.home-section-menu-item:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

.price-up { color: #dc2626; }
.price-down { color: #16a34a; }

::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: #f1f5f9; border-radius: 3px; }
::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #94a3b8; }

.hbce-prose img,
.hbce-prose--wide img,
.hbce-prose .art-body-img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  margin: 1rem auto;
  border-radius: 12px;
  object-fit: contain;
}
.hbce-detail-cover {
  display: block;
  width: 100%;
  max-height: none;
  height: auto;
  margin: 0 0 1.25rem;
  border-radius: 12px;
  object-fit: contain;
}
.hbce-image-gallery {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.hbce-image-gallery-item {
  margin: 0;
}
.hbce-image-gallery-item img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  object-fit: contain;
  background: #f8fafc;
}
.hbce-image-gallery-item figcaption {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: #64748b;
  text-align: center;
}
.hbce-prose p { margin-bottom: 1rem; line-height: 1.8; color: #475569; }
.hbce-prose h2, .hbce-prose h3 { color: #0f172a; font-weight: 700; margin: 1.5rem 0 0.75rem; }

/* 下载中心列表（红字文件名 + 日期 + 蓝色下载按钮） */
.hbce-download-list {
  max-width: 720px;
}
.hbce-download-item {
  padding: 0.25rem 0 1.25rem;
  margin-bottom: 1.25rem;
  border-bottom: 1px dashed #cbd5e1;
}
.hbce-download-item:last-child {
  margin-bottom: 0;
}
.hbce-download-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #dc2626;
  line-height: 1.5;
  margin-bottom: 0.45rem;
  word-break: break-all;
}
.hbce-download-date {
  font-size: 0.9375rem;
  color: #0f172a;
  margin-bottom: 0.85rem;
}
.hbce-download-btn {
  display: inline-block;
  padding: 0.45rem 1.15rem;
  background: #2563eb;
  color: #fff !important;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 4px;
  text-decoration: none !important;
  transition: background 0.15s ease;
}
.hbce-download-btn:hover {
  background: #1d4ed8;
  color: #fff !important;
}

.pagebar { text-align: center; padding: 2rem 0; }
.pagebar a {
  display: inline-block;
  padding: 0.5rem 0.875rem;
  margin: 0 0.25rem;
  border: 1px solid #e2e8f0;
  border-radius: 0.5rem;
  color: #334155;
  font-size: 0.875rem;
}
.pagebar a.current {
  background: #1d4ed8;
  color: #fff;
  border-color: #1d4ed8;
}

/* 上线品种 / 交易模式：居中分类栏 */
/* 上线品种：图一风格 Banner */
.hbce-variety-banner {
  margin-top: 4.5rem;
  background:
    linear-gradient(135deg, rgba(15, 23, 42, 0.72), rgba(30, 58, 138, 0.78)),
    linear-gradient(120deg, #1e3a8a 0%, #1e40af 45%, #0f172a 100%);
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
}
.hbce-variety-banner-inner {
  padding: 3.25rem 1.5rem 2.75rem;
  max-width: 900px;
}
.hbce-variety-banner-title {
  margin: 0;
  font-size: clamp(1.85rem, 3.5vw, 2.6rem);
  font-weight: 700;
  letter-spacing: 0.12em;
}
.hbce-variety-banner-line {
  width: 48px;
  height: 3px;
  background: #38bdf8;
  margin: 0.85rem auto 1rem;
}
.hbce-variety-banner-crumb {
  font-size: 0.8125rem;
  color: rgba(226, 232, 240, 0.9);
}
.hbce-variety-banner-crumb a {
  color: rgba(226, 232, 240, 0.95);
  text-decoration: none;
}
.hbce-variety-banner-crumb a:hover { color: #fff; text-decoration: underline; }

.hbce-variety-page {
  background: #eef1f5;
  min-height: 40vh;
}
.hbce-variety-tabs {
  position: relative;
  background: #fff;
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.06);
  border-bottom: 1px solid #e8edf3;
  z-index: 5;
}
.hbce-variety-tabs-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0 3.5rem;
  padding: 0 1.5rem;
}
.hbce-variety-tab {
  appearance: none;
  border: 0;
  background: transparent;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.15rem 0.25rem;
  font-size: 1rem;
  letter-spacing: 0.04em;
  color: #374151;
  cursor: pointer;
}
.hbce-variety-tab span {
  position: relative;
  display: inline-block;
  padding: 0.2rem 0.1rem 0.45rem;
}
.hbce-variety-tab span::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0;
  height: 3px;
  background: #38bdf8;
  transform: translateX(-50%);
  transition: width 0.2s ease;
}
.hbce-variety-tab:hover { color: #1d4ed8; }
.hbce-variety-tab:hover span::after { width: 72%; }
.hbce-variety-tab.is-active {
  color: #1f2937;
  font-weight: 600;
}
.hbce-variety-tab.is-active span::after {
  width: 100%;
  background: #38bdf8;
}
.hbce-variety-body-empty { min-height: 280px; }
.hbce-variety-body { min-height: 320px; }

/* 图一：品种图卡网格 */
.hbce-product-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
}
@media (min-width: 700px) {
  .hbce-product-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) {
  .hbce-product-grid { grid-template-columns: 1fr 1fr 1fr; gap: 2rem; }
}
.hbce-product-card {
  display: block;
  background: #fff;
  border: 1px solid #d8dee8;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
  transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
  overflow: hidden;
}
.hbce-product-card:hover {
  border-color: #bfdbfe;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
  transform: translateY(-4px);
}
.hbce-product-card.is-hidden { display: none !important; }
.hbce-product-cover {
  position: relative;
  aspect-ratio: 16 / 11;
  overflow: hidden;
  isolation: isolate;
}
.hbce-product-cover::before {
  content: "";
  position: absolute;
  inset: -8%;
  background-size: cover;
  background-position: center;
  transition: transform 0.45s ease;
  z-index: 0;
}
.hbce-product-card:hover .hbce-product-cover::before {
  transform: scale(1.06);
}
/* 暗角 + 光感，让封面更有景深 */
.hbce-product-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 55% at 50% 42%, transparent 0%, transparent 42%, rgba(2, 6, 23, 0.28) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.12) 0%, transparent 35%, rgba(2, 6, 23, 0.45) 100%),
    repeating-linear-gradient(
      -18deg,
      transparent 0,
      transparent 11px,
      rgba(255, 255, 255, 0.03) 11px,
      rgba(255, 255, 255, 0.03) 12px
    );
}
.hbce-product-cover--egg::before {
  background-image:
    linear-gradient(160deg, rgba(15, 23, 42, 0.28) 0%, rgba(15, 23, 42, 0.42) 100%),
    url('../images/variety/egg-fresh.png');
  background-size: cover;
  background-position: center;
}
.hbce-product-cover--egg2::before {
  background-image:
    radial-gradient(circle at 30% 25%, rgba(110, 231, 183, 0.45), transparent 40%),
    radial-gradient(circle at 70% 80%, rgba(4, 120, 87, 0.5), transparent 45%),
    linear-gradient(145deg, #022c22 0%, #065f46 40%, #0f766e 70%, #0f172a 100%);
}
.hbce-product-cover--corn::before {
  background-image:
    linear-gradient(160deg, rgba(15, 23, 42, 0.28) 0%, rgba(15, 23, 42, 0.42) 100%),
    url('../images/variety/corn.png');
  background-size: cover;
  background-position: center;
}
.hbce-product-cover--corn2::before {
  background-image:
    radial-gradient(circle at 28% 22%, rgba(253, 230, 138, 0.45), transparent 40%),
    radial-gradient(circle at 75% 78%, rgba(180, 83, 9, 0.5), transparent 46%),
    linear-gradient(145deg, #451a03 0%, #b45309 42%, #f59e0b 70%, #1c1917 100%);
}
.hbce-product-cover--wood::before {
  background-image:
    linear-gradient(160deg, rgba(15, 23, 42, 0.28) 0%, rgba(15, 23, 42, 0.42) 100%),
    url('../images/variety/wood-board.png');
  background-size: cover;
  background-position: center;
}
.hbce-product-cover--wood2::before {
  background-image:
    radial-gradient(circle at 26% 24%, rgba(214, 211, 209, 0.35), transparent 38%),
    radial-gradient(circle at 74% 78%, rgba(120, 53, 15, 0.45), transparent 48%),
    linear-gradient(145deg, #1c1917 0%, #44403c 36%, #92400e 62%, #292524 100%);
}
/* 后台封面图 */
.hbce-product-cover--photo::before {
  background-image:
    linear-gradient(160deg, rgba(15, 23, 42, 0.32) 0%, rgba(15, 23, 42, 0.48) 100%),
    var(--cover-img);
  background-size: cover;
  background-position: center;
}
/* 交易模式默认封面 */
.hbce-product-cover--bulk::before {
  background-image:
    linear-gradient(160deg, rgba(15, 23, 42, 0.35) 0%, rgba(29, 78, 216, 0.45) 100%),
    radial-gradient(circle at 30% 30%, rgba(147, 197, 253, 0.5), transparent 45%),
    linear-gradient(145deg, #0f172a 0%, #1e3a8a 45%, #1d4ed8 75%, #0f172a 100%);
}
.hbce-product-cover--local::before {
  background-image:
    linear-gradient(160deg, rgba(15, 23, 42, 0.35) 0%, rgba(5, 150, 105, 0.45) 100%),
    radial-gradient(circle at 70% 40%, rgba(110, 231, 183, 0.45), transparent 45%),
    linear-gradient(145deg, #022c22 0%, #065f46 45%, #059669 75%, #0f172a 100%);
}
.hbce-product-overlay {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(72%, 240px);
  padding: 1.35rem 1.1rem 1.2rem;
  background: rgba(8, 15, 30, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow:
    0 12px 32px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  text-align: center;
  color: #fff;
}
.hbce-product-overlay strong {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-indent: 0.18em;
  line-height: 1.25;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}
.hbce-product-overlay i {
  display: block;
  width: 42px;
  height: 2px;
  margin: 0.7rem auto 0.65rem;
  background: linear-gradient(90deg, transparent, #7dd3fc, transparent);
  box-shadow: 0 0 10px rgba(125, 211, 252, 0.55);
}
.hbce-product-overlay span {
  display: block;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-indent: 0.08em;
  color: rgba(226, 232, 240, 0.92);
}
.hbce-product-caption {
  text-align: center;
  padding: 1rem 0.75rem;
  font-size: 0.98rem;
  font-weight: 600;
  color: #1e293b;
  background: #fff;
  letter-spacing: 0.04em;
  border-top: 1px solid #f1f5f9;
}

/* 图二：详细介绍 */
.hbce-variety-detail-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem 1.25rem 3rem;
}
.hbce-variety-detail {
  background: #fff;
  border-top: 3px solid #38bdf8;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
  padding: 2.25rem 2rem 2.5rem;
  color: #475569;
  font-size: 0.975rem;
  line-height: 1.9;
}
.hbce-variety-detail p { margin: 0 0 1.15rem; }
.hbce-variety-detail p:last-child { margin-bottom: 0; }
.hbce-channel-back {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 1.25rem;
  color: #1d4ed8;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
}
.hbce-channel-back:hover { text-decoration: underline; }

/* 交易模式等仍可能用的旧卡片样式 */
.hbce-card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 768px) {
  .hbce-card-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) {
  .hbce-card-grid:not(.hbce-card-grid-2) { grid-template-columns: 1fr 1fr 1fr; }
}
.hbce-card-grid-2 {
  grid-template-columns: 1fr;
}
@media (min-width: 900px) {
  .hbce-card-grid-2 { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
.hbce-info-card {
  background: #fff;
  border: 1px solid #e8edf3;
  border-radius: 1rem;
  padding: 1.75rem 1.5rem;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.hbce-info-card:hover {
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
  transform: translateY(-2px);
}
.hbce-info-card.is-hidden { display: none !important; }
.hbce-info-card-lg { padding: 2rem 1.75rem; }
.hbce-info-card-icon {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 0.85rem;
  display: grid;
  place-items: center;
  font-size: 1.65rem;
  margin-bottom: 1.1rem;
}
.hbce-info-card-title {
  margin: 0 0 0.75rem;
  font-size: 1.125rem;
  font-weight: 700;
  color: #1e293b;
}
.hbce-info-card-desc {
  margin: 0 0 1rem;
  font-size: 0.9rem;
  line-height: 1.75;
  color: #64748b;
}
.hbce-info-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.hbce-info-card-tags li {
  font-size: 0.7rem;
  font-weight: 600;
  color: #1d4ed8;
  background: #eff6ff;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
}
.hbce-trade-card {
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
.hbce-trade-more {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #1d4ed8;
}
.hbce-trade-card:hover .hbce-trade-more {
  color: #1e40af;
}
.hbce-info-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}
.hbce-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.25rem;
  background: #1d4ed8;
  color: #fff !important;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 0.65rem;
  text-decoration: none !important;
}
.hbce-btn-primary:hover { background: #1e40af; }
.hbce-btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.25rem;
  background: #fff;
  color: #475569 !important;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 0.65rem;
  border: 1px solid #e2e8f0;
  text-decoration: none !important;
}
.hbce-btn-ghost:hover { background: #f8fafc; }
.hbce-service-anchor { scroll-margin-top: 6rem; }

/* 站内搜索弹层 */
.hbce-search-mask {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.hbce-search-panel {
  position: fixed;
  z-index: 90;
  left: 50%;
  top: 18%;
  transform: translateX(-50%);
  width: min(640px, calc(100vw - 2rem));
}
.hbce-search-panel-inner {
  background: #fff;
  border-radius: 1rem;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.22);
  padding: 1.25rem 1.35rem 1.1rem;
  border: 1px solid #e8edf3;
}
.hbce-search-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.85rem;
}
.hbce-search-panel-head h2 {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
}
.hbce-search-close {
  width: 2rem;
  height: 2rem;
  border: 0;
  border-radius: 0.5rem;
  background: #f1f5f9;
  color: #475569;
  display: grid;
  place-items: center;
  cursor: pointer;
  font-size: 1.15rem;
}
.hbce-search-close:hover { background: #e2e8f0; color: #0f172a; }
.hbce-search-form {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid #cbd5e1;
  border-radius: 0.75rem;
  padding: 0.35rem 0.35rem 0.35rem 0.9rem;
  background: #f8fafc;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.hbce-search-form:focus-within {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
  background: #fff;
}
.hbce-search-form-icon {
  font-size: 1.25rem;
  color: #94a3b8;
  flex-shrink: 0;
}
.hbce-search-form input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  outline: none;
  font-size: 0.95rem;
  color: #0f172a;
  padding: 0.55rem 0;
}
.hbce-search-submit {
  flex-shrink: 0;
  border: 0;
  border-radius: 0.55rem;
  background: #1d4ed8;
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.55rem 1.1rem;
  cursor: pointer;
}
.hbce-search-submit:hover { background: #1e40af; }
.hbce-search-hints { margin-top: 1.15rem; }
.hbce-search-hints-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: #94a3b8;
  margin-bottom: 0.55rem;
}
.hbce-search-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}
.hbce-search-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: #eff6ff;
  color: #1d4ed8 !important;
  font-size: 0.8125rem;
  font-weight: 500;
  text-decoration: none !important;
}
.hbce-search-chip:hover { background: #dbeafe; }
.hbce-search-tip {
  margin: 0.9rem 0 0;
  font-size: 0.75rem;
  color: #94a3b8;
}
body.hbce-search-open { overflow: hidden; }

.hbce-search-empty {
  margin: 0.35rem 0 0;
  font-size: 0.875rem;
  color: #94a3b8;
}

.hbce-search-alert {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(15, 23, 42, 0.35);
}
.hbce-search-alert-card {
  width: min(360px, 100%);
  background: #fff;
  border-radius: 1rem;
  padding: 1.5rem 1.35rem 1.25rem;
  text-align: center;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.25);
  border: 1px solid #e8edf3;
}
.hbce-search-alert-icon {
  width: 3rem;
  height: 3rem;
  margin: 0 auto 0.75rem;
  border-radius: 999px;
  background: #fff7ed;
  color: #ea580c;
  display: grid;
  place-items: center;
  font-size: 1.65rem;
}
.hbce-search-alert-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
}
.hbce-search-alert-msg {
  margin: 0 0 1.15rem;
  font-size: 0.875rem;
  line-height: 1.6;
  color: #64748b;
}
.hbce-search-alert-ok {
  border: 0;
  border-radius: 0.55rem;
  background: #1d4ed8;
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.55rem 1.5rem;
  cursor: pointer;
}
.hbce-search-alert-ok:hover { background: #1e40af; }

/* 正文内可点击文案（如版权声明「客户服务」） */
.hbce-inline-link {
  color: #1d4ed8;
  text-decoration: underline;
  font-weight: 500;
}
.hbce-inline-link:hover {
  color: #1e40af;
}

/* 首页快捷导航（轮播下、行情上） */
.hbce-quick-nav {
  background: #fff;
  padding: 2.25rem 0 2.5rem;
  border-bottom: 1px solid #eef2f7;
}
.hbce-quick-nav-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
@media (min-width: 1024px) {
  .hbce-quick-nav-inner { padding: 0 3rem; }
}
.hbce-quick-nav-title {
  margin: 0 0 1.75rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: #374151;
}
.hbce-quick-nav-title span {
  margin-left: 0.35rem;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: #9ca3af;
}
.hbce-quick-nav-row {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  justify-content: space-between;
  gap: 1rem 1.25rem;
}
.hbce-quick-nav-item {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
  padding: 0.35rem 0.15rem;
  transition: opacity 0.15s ease;
}
.hbce-quick-nav-item:hover { opacity: 0.85; }
.hbce-quick-nav-icon {
  flex-shrink: 0;
  font-size: 2rem;
  color: #1d4ed8 !important;
  line-height: 1;
}
.hbce-quick-nav-icon svg {
  color: inherit;
  fill: currentColor;
}
.hbce-quick-nav-text {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}
.hbce-quick-nav-text strong {
  font-size: 0.95rem;
  font-weight: 700;
  color: #1f2937;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.hbce-quick-nav-text em {
  font-style: normal;
  font-size: 0.75rem;
  color: #9ca3af;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
@media (max-width: 1100px) {
  .hbce-quick-nav-row {
    flex-wrap: wrap;
    justify-content: flex-start;
  }
  .hbce-quick-nav-item {
    flex: 1 1 calc(33.33% - 1rem);
    min-width: 160px;
  }
}
@media (max-width: 640px) {
  .hbce-quick-nav-item {
    flex: 1 1 100%;
  }
}

@media (max-width: 640px) {
  .hbce-variety-tabs-inner { gap: 0 1.5rem; padding: 0 1rem; }
  .hbce-variety-tab { font-size: 0.9375rem; padding: 1rem 0.15rem; }
  .hbce-search-panel { top: 12%; }
  .hbce-search-form { flex-wrap: wrap; padding: 0.55rem; }
  .hbce-search-submit { width: 100%; }
}
