/* 展会详情页分区（参展商名录 / 市场机会 / 推荐展会） */
.wzsc-bar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: #fff;
  border: 1px solid var(--wz-line);
  border-radius: 14px;
  box-shadow: 0 1px 2px rgba(30, 35, 44, 0.03);
  margin-bottom: 1rem;
  overflow: hidden;
}

.wzsc-bar-inner {
  display: flex;
  gap: 0.15rem;
  padding: 0 0.55rem;
  overflow-x: auto;
  scrollbar-width: none;
}

.wzsc-bar-inner::-webkit-scrollbar {
  display: none;
}

.wzsc-tab {
  flex: 0 0 auto;
  padding: 0.85rem 0.75rem;
  font-size: 14px;
  line-height: 1.4;
  color: var(--wz-muted);
  background: none;
  border: 0;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.15s ease;
}

.wzsc-tab:hover {
  color: var(--wz-ink);
}

.wzsc-tab.is-on {
  color: var(--wz-ink);
  font-weight: 650;
  border-bottom-color: var(--wz-accent);
}

.wzsc-tab-num {
  color: var(--wz-muted);
  font-weight: 400;
  font-variant-numeric: tabular-nums;
}

.wzsc-zone {
  width: 100%;
}

.wzsc-below {
  margin-top: 1.5rem;
}

/* 与上方主内容同宽同左边缘：不再叠加 wz-wrap 的 2rem 收窄 */
.wzsc-below-inner {
  width: 100%;
  max-width: none;
  margin-inline: 0;
  padding-bottom: 0.5rem;
}

.wzsc-panel[hidden] {
  display: none;
}

.wzsc-card {
  background: #fff;
  border: 1px solid var(--wz-line);
  border-radius: 14px;
  padding: 1.25rem 1.35rem 1.35rem;
  margin-bottom: 1rem;
  box-shadow: 0 1px 2px rgba(30, 35, 44, 0.03);
}

.wzsc-card-wide {
  grid-column: 1 / -1;
}

.wzsc-head {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-wrap: wrap;
  margin-bottom: 0.95rem;
}

.wzsc-head h2 {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0;
}

.wzsc-month {
  font-size: 11px;
  line-height: 1.6;
  padding: 1px 7px;
  border-radius: 4px;
  color: #55637a;
  background: #f1f4fa;
  font-variant-numeric: tabular-nums;
}

.wzsc-head-link {
  margin-left: auto;
  font-size: 13px;
  color: var(--wz-accent);
  text-decoration: none;
  white-space: nowrap;
}

.wzsc-head-link:hover {
  text-decoration: underline;
}

/* 搜索 */
.wzsc-search {
  margin-bottom: 0.85rem;
}

.wzsc-search-box {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  background: #f4f6fb;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.5rem 0.95rem;
  color: #7b8698;
}

.wzsc-search-box:focus-within {
  background: #fff;
  border-color: #b9c6f7;
  box-shadow: 0 0 0 3px rgba(77, 107, 254, 0.08);
}

.wzsc-search-box input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  font-size: 14px;
  color: var(--wz-ink);
  outline: none;
  height: 24px;
}

.wzsc-search-box input::placeholder {
  color: #93a0b2;
}

.wzsc-search-clear {
  font-size: 18px;
  line-height: 1;
  color: #8b97a9;
  text-decoration: none;
  padding: 0 0.15rem;
}

.wzsc-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* 筛选胶囊 */
.wzsc-chips {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  overflow-x: auto;
  padding-bottom: 0.35rem;
  margin-bottom: 0.6rem;
  scrollbar-width: none;
}

.wzsc-chips::-webkit-scrollbar {
  display: none;
}

.wzsc-chip {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.34rem 0.85rem;
  font-size: 12.5px;
  line-height: 1.6;
  color: #4a5567;
  background: #fff;
  border: 1px solid #dde3ef;
  border-radius: 999px;
  text-decoration: none;
  white-space: nowrap;
}

.wzsc-chip span {
  color: #8a96a8;
  font-variant-numeric: tabular-nums;
  font-size: 11px;
}

.wzsc-chip:hover {
  border-color: #b9c6f7;
  color: var(--wz-accent);
}

.wzsc-chip.is-on {
  color: var(--wz-accent);
  border-color: var(--wz-accent);
  background: #eef2ff;
  font-weight: 600;
}

.wzsc-chip.is-on span {
  color: var(--wz-accent);
}

.wzsc-chip-reset {
  padding: 0.34rem 0.6rem;
  margin-left: auto;
  color: #6c7a8d;
}

/* 展商行 */
.wzsc-list {
  border-top: 1px solid #eff2f8;
}

/* 展商卡片网格（参考站布局：双列卡片 + 居中分页） */
.wzsc-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.wzsc-card-item {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 1rem 1.1rem;
  background: #fff;
  border: 1px solid #eef1f8;
  border-radius: 10px;
  text-decoration: none;
  color: inherit;
  min-width: 0;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.wzsc-card-item:hover {
  border-color: #c3cffa;
  box-shadow: 0 4px 14px -8px rgba(77, 107, 254, 0.35);
}

.wzsc-card-item .wzsc-logo {
  width: 76px;
  height: 56px;
  flex: 0 0 76px;
  border-radius: 6px;
  border: 1px solid #f0f2f8;
}

.wzsc-card-item .wzsc-row-body strong {
  font-size: 14.5px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.wzsc-card-item .wzsc-row-arrow {
  display: none;
}

.wzsc-row {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.85rem 0.15rem;
  border-bottom: 1px solid #eff2f8;
  text-decoration: none;
  color: inherit;
}

.wzsc-row:hover {
  background: #f8faff;
}

.wzsc-logo {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 50px;
  flex: 0 0 72px;
  border-radius: 6px;
  background: #fff;
  overflow: hidden;
}

.wzsc-logo-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-size: 15px;
  font-weight: 650;
  color: #5d73c4;
  background: #f2f5fd;
}

.wzsc-logo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #fff;
  opacity: 0;
  transition: opacity 0.15s ease;
}

.wzsc-logo.has-logo img {
  opacity: 1;
}

.wzsc-logo img[hidden] {
  display: none;
}

.wzsc-logo.has-logo .wzsc-logo-fallback {
  visibility: hidden;
}

.wzsc-row-body {
  flex: 1;
  min-width: 0;
}

.wzsc-row-body strong {
  display: block;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.45;
  color: #1d2b45;
  overflow-wrap: anywhere;
}

.wzsc-row-body small {
  display: block;
  margin-top: 0.2rem;
  font-size: 12px;
  color: #7c8899;
  font-variant-numeric: tabular-nums;
}

.wzsc-row-arrow {
  flex: 0 0 auto;
  color: #b3bccb;
  font-size: 18px;
  line-height: 1;
}

/* 分页（居中，参考站样式） */
.wzsc-pager-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1.4rem;
}

.wzsc-pager-total,
.wzsc-pager-pages {
  font-size: 12.5px;
  color: #8b97a9;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.wzsc-pager {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.wzsc-pager a,
.wzsc-pager span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 30px;
  height: 30px;
  padding: 0 0.4rem;
  border-radius: 7px;
  font-size: 12.5px;
  color: #4a5567;
  text-decoration: none;
  border: 1px solid #e2e8f3;
  font-variant-numeric: tabular-nums;
}

.wzsc-pager a:hover {
  border-color: #b9c6f7;
  color: var(--wz-accent);
}

.wzsc-pager .is-current {
  background: var(--wz-accent);
  border-color: var(--wz-accent);
  color: #fff;
  font-weight: 600;
}

.wzsc-pager [aria-disabled="true"] {
  color: #c3cbd8;
  border-color: #eef1f6;
}

.wzsc-gap {
  border: 0 !important;
  color: #a7b1c0 !important;
}

/* 空状态 */
.wzsc-empty {
  text-align: center;
  padding: 2.4rem 1.25rem 2.6rem;
}

.wzsc-empty-inline {
  padding: 1.8rem 0.5rem 1.6rem;
}

.wzsc-empty-mark {
  font-size: 30px;
  color: #c3ccdb;
  margin-bottom: 0.5rem;
}

.wzsc-empty h2 {
  font-size: 17px;
  font-weight: 650;
  margin: 0 0 0.45rem;
}

.wzsc-empty h3 {
  font-size: 15px;
  font-weight: 650;
  margin: 0 0 0.4rem;
}

.wzsc-empty p {
  font-size: 13px;
  color: #7c8899;
  margin: 0 auto 1.1rem;
  max-width: 32rem;
  line-height: 1.7;
}

/* 市场机会 */
.wzsc-market {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  align-items: start;
}

.wzsc-market .wzsc-card {
  margin-bottom: 0;
  height: auto;
  align-self: start;
}

.wzsc-metric {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem 1rem;
  margin: 0;
}

.wzsc-metric dt {
  font-size: 12px;
  color: #7c8899;
}

.wzsc-metric dd {
  margin: 0.15rem 0 0;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #1d2b45;
  font-variant-numeric: tabular-nums;
}

.wzsc-metric dd em {
  font-style: normal;
  font-size: 12px;
  font-weight: 500;
  color: #7c8899;
  margin-left: 2px;
}

.wzsc-lead {
  font-size: 13.5px;
  line-height: 1.8;
  color: #4d5a6d;
  margin: 0 0 0.8rem;
}

.wzsc-lead strong {
  color: #1d2b45;
  font-variant-numeric: tabular-nums;
}

.wzsc-progress {
  height: 8px;
  border-radius: 999px;
  background: #eef1f7;
  overflow: hidden;
}

.wzsc-progress span {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #6b85ff, #4d6bfe);
}

.wzsc-note {
  margin: 0.7rem 0 0;
  font-size: 11.5px;
  line-height: 1.7;
  color: #8b97a9;
}

.wzsc-bars {
  list-style: none;
  margin: 0;
  padding: 0;
}

.wzsc-bars li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 42% auto;
  align-items: center;
  gap: 0.6rem;
  padding: 0.32rem 0;
  font-size: 12.5px;
}

.wzsc-bar-label {
  color: #3f4b5e;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wzsc-bar-track {
  height: 6px;
  border-radius: 999px;
  background: #eef1f7;
  overflow: hidden;
}

.wzsc-bar-track span {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: #9aaeff;
}

.wzsc-bar-num {
  color: #7c8899;
  font-variant-numeric: tabular-nums;
  min-width: 2.4rem;
  text-align: right;
}

.wzsc-ranks {
  list-style: none;
  margin: 0;
  padding: 0;
}

.wzsc-ranks li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.42rem 0;
  border-top: 1px solid #f3f5fa;
  font-size: 13px;
}

.wzsc-ranks li:first-child {
  border-top: 0;
}

.wzsc-rank-name {
  color: #3f4b5e;
  overflow-wrap: anywhere;
}

.wzsc-rank-num {
  color: #7c8899;
  font-variant-numeric: tabular-nums;
}

.wzsc-facts {
  list-style: none;
  margin: 0;
  padding: 0;
}

.wzsc-facts li {
  position: relative;
  padding: 0.4rem 0 0.4rem 0.95rem;
  font-size: 13px;
  line-height: 1.75;
  color: #3f4b5e;
}

.wzsc-facts li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.95rem;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #b7c4f5;
}

.wzsc-facts a {
  color: var(--wz-accent);
  text-decoration: none;
}

.wzsc-facts a:hover {
  text-decoration: underline;
}

.wzsc-fact-date {
  margin-left: 0.4rem;
  font-size: 11.5px;
  color: #8b97a9;
  font-variant-numeric: tabular-nums;
}

/* 推荐展会 */
.wzsc-rec-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.wzsc-rec {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  padding: 0.75rem;
  border: 1px solid #eef1f8;
  border-radius: 10px;
  text-decoration: none;
  color: inherit;
  min-width: 0;
  background: #fff;
}

.wzsc-rec:hover {
  border-color: #b9c6f7;
  background: #f9fbff;
}

.wzsc-rec-logo {
  flex: 0 0 64px;
  width: 64px;
  height: 46px;
  border-radius: 6px;
  background: #f4f7fd;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wzsc-rec-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.wzsc-rec-body {
  min-width: 0;
}

.wzsc-rec-body strong {
  display: block;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.5;
  color: #1d2b45;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.wzsc-rec-body small {
  display: block;
  margin-top: 0.25rem;
  font-size: 11.5px;
  color: #7c8899;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

/* 底部固定操作 */
.wzsc-sticky {
  display: none;
}

@media (max-width: 1100px) {
  .wzsc-rec-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 860px) {
  .wzsc-market {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 767px) {
  /* 移动端把名录提到展位卡片之前，避免首屏只能看到统计数字 */
  .wzsc-layout {
    display: flex;
    flex-direction: column;
  }

  .wzsc-main {
    order: 1;
  }

  .wzsc-aside {
    order: 2;
  }

  .wzsc-below {
    padding: 0;
  }

  .wzsc-below-inner {
    width: 100%;
    padding: 0 0.75rem;
  }

  .wzsc-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.6rem;
  }

  .wzsc-card-item {
    padding: 0.8rem 0.85rem;
    gap: 0.75rem;
  }

  .wzsc-card-item .wzsc-logo {
    width: 62px;
    height: 46px;
    flex-basis: 62px;
  }

  .wzsc-card-item .wzsc-row-body strong {
    font-size: 13px;
  }

  .wzsc-bar {
    position: static;
    border-radius: 12px;
    margin-bottom: 0.85rem;
  }

  .wzsc-bar-inner {
    padding: 0 0.35rem;
  }

  .wzsc-tab {
    padding: 0.78rem 0.62rem;
    font-size: 13.5px;
  }

  .wzsc-card {
    padding: 1rem 0.95rem 1.1rem;
    border-radius: 12px;
  }

  .wzsc-head h2 {
    font-size: 16px;
  }

  .wzsc-row {
    gap: 0.7rem;
    padding: 0.7rem 0;
  }

  .wzsc-logo {
    width: 62px;
    height: 44px;
    flex-basis: 62px;
  }

  .wzsc-row-body strong {
    font-size: 13px;
  }

  .wzsc-row-body small {
    font-size: 11px;
  }

  .wzsc-metric dd {
    font-size: 19px;
  }

  .wzsc-bars li {
    grid-template-columns: minmax(0, 1fr) 34% auto;
    font-size: 11.5px;
  }

  .wzsc-pager-wrap {
    justify-content: center;
    gap: 0.6rem;
  }

  .wzsc-pager-wrap p {
    width: 100%;
    text-align: center;
    font-size: 11px;
  }

  .wzsc-pager a,
  .wzsc-pager span {
    min-width: 28px;
    height: 29px;
    font-size: 12px;
  }

  .wzsc-sticky {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 45;
    display: flex;
    gap: 0.6rem;
    padding: 0.6rem 0.9rem calc(0.6rem + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, 0.97);
    border-top: 1px solid var(--wz-line);
  }

  .wzsc-sticky-btn {
    flex: 1;
    min-height: 42px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    background: #fff;
    color: var(--wz-accent);
    border: 1px solid var(--wz-accent);
    cursor: pointer;
  }

  .wzsc-sticky-btn-primary {
    background: var(--wz-accent);
    color: #fff;
  }

  body.wz-page {
    padding-bottom: 68px;
  }
}

@media (max-width: 390px) {
  .wzsc-chips {
    gap: 0.35rem;
  }

  .wzsc-chip {
    padding: 0.3rem 0.7rem;
    font-size: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .wzsc-tab,
  .wzsc-row,
  .wzsc-rec {
    transition: none;
  }
}
