/* ============================================================
   brand.css - 品牌页自包含样式（portal 红，零依赖 main.css）
   顶/底/导航通用段 100% 复制自 main.css（保证格式统一）
   ============================================================ */

:root {
  --portal-red: #d8302f;
  --portal-red-dark: #b32928;
  --portal-text: #333;
  --portal-text-mid: #666;
  --portal-text-light: #888;
  --portal-bg-light: #fafafa;
  --portal-bg-gray: #f5f5f5;
  --portal-border: #e5e5e5;
  --portal-border-light: #eee;
  --max-w: 1200px;
}
body{
    margin: 0px;
}

/* ============================================================
    .topbar
   ============================================================ */
.topbar {
  background: var(--portal-red);
  color: #fff;
  font-size: 12px;
  line-height: 1;
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 36px;
  gap: 16px;
}

.topbar__left {
  display: flex;
  align-items: center;
  gap: 18px;
  color: rgba(255,255,255,.85);
}

.topbar__date,
.topbar__weather {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.topbar__date svg,
.topbar__weather svg {
  width: 14px;
  height: 14px;
}

.topbar__welcome {
  color: rgba(255,255,255,.85);
}

.topbar__right {
  display: flex;
  align-items: center;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.topbar__right li {
  position: relative;
}

.topbar__right li a {
     text-decoration: none;
  display: inline-block;
  padding: 0 12px;
  color: rgba(255,255,255,.9);
  font-size: 12px;
  line-height: 36px;
  white-space: nowrap;
  transition: color .2s ease;
}

.topbar__right li a:hover {
  color: #fff;
}

.topbar__sep {
  width: 1px;
  height: 14px;
  background: rgba(255,255,255,.3);
  padding: 0 !important;
}

.topbar__cta {
  /* background: var(--portal-orange); */
  color: #fff !important;
  margin-left: 8px;
  padding: 0 14px !important;
  font-weight: 600;
}

.topbar__cta:hover {
  background: #ff8c1a;
  text-decoration: none !important;
}

/* ============================================================
   2. header .site-header
   ============================================================ */
.site-header {
  background: #fff;
  border-bottom: 1px solid var(--portal-border);
  padding: 22px 0;
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 32px;
}

.site-header__logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.site-header__logo img {
  
  display: block;
}

.site-header__search {
  flex: 1;
}

.search-box {
  border: 2px solid var(--portal-red);
  border-radius: 4px;
  overflow: hidden;
  background: #fff;
}

.search-box__tabs {
  display: flex;
  background: #fafafa;
  border-bottom: 1px solid var(--portal-border-light);
}

.search-box__tab {
  padding: 8px 18px;
  font-size: 13px;
  color: var(--portal-text-mid);
  cursor: pointer;
  border-right: 1px solid var(--portal-border-light);
  transition: all .2s ease;
  user-select: none;
}

.search-box__tab.active {
  background: var(--portal-red);
  color: #fff;
  font-weight: 600;
}

.search-box__tab:not(.active):hover {
  color: var(--portal-red);
  background: #fff5f5;
}

.search-box__form {
  display: flex;
  height: 42px;
}

.search-box__form input {
  flex: 1;
  border: none;
  padding: 0 16px;
  font-size: 14px;
  outline: none;
  background: transparent;
}

.search-box__form input::placeholder {
  color: #bbb;
}

.search-box__form button {
  background: var(--portal-red);
  color: #fff;
  border: none;
  padding: 0 24px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s ease;
}

.search-box__form button:hover {
  background: var(--portal-red-dark);
}

.search-box__form button svg {
  width: 16px;
  height: 16px;
}

.search-hot {
  margin-top: 8px;
  font-size: 12px;
  color: var(--portal-text-light);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.search-hot__label {
  font-weight: 600;
  color: var(--portal-text-mid);
}

.search-hot a {
      text-decoration: none;
  color: var(--portal-text-mid);
  transition: color .2s ease;
}

.search-hot a:hover {
  color: var(--portal-red);
}

.site-header__actions {
     margin-bottom: 23px;
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.btn-header-primary,
.btn-header-outline {
  display: inline-block;
  padding: 9px 22px;
  font-size: 13px;
  font-weight: 600;
  border-radius: 3px;
  text-align: center;
  transition: all .2s ease;
  white-space: nowrap;
}

.btn-header-primary {
      text-decoration: none;
  background: var(--portal-red);
  color: #fff;
  border: 1px solid var(--portal-red);
}

.btn-header-primary:hover {
  background: var(--portal-red-dark);
  color: #fff;
  border-color: var(--portal-red-dark);
}

.btn-header-outline {
    text-decoration: none;
  background: #fff;
  color: var(--portal-red);
  border: 1px solid var(--portal-red);
}

.btn-header-outline:hover {
  background: #fff5f5;
  color: var(--portal-red);
}

/* ============================================================
   3. 主导航 .main-nav
   ============================================================ */
.main-nav {
  background: #fff;
  border-bottom: 1px solid #61616129;
  box-shadow:  0px 5px 15px -3px #ff000029;
  margin-bottom: 20px;
}

.main-nav__inner {
     
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.main-nav__list {
      text-decoration: none;
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-nav__list li {
  position: relative;
}

.main-nav__list li a {
      text-decoration: none;
  display: block;
  padding: 0 22px;
  line-height: 48px;
  font-size: 20px;
  font-weight: 500;
  color: var(--portal-text);
  position: relative;
  transition: color .2s ease;
}

.main-nav__list li a span {
     
  position: relative;
}

.main-nav__list li a::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -3px;
  width: 0;
  height: 3px;
  background: var(--portal-red);
  transition: all .25s ease;
  transform: translateX(-50%);
}

.main-nav__list li a:hover {
  color: var(--portal-red);
}

.main-nav__list li a:hover::after,
.main-nav__list li.active a::after {
  width: 60%;
}

.main-nav__list li.active a {
      text-decoration: none;
  color: var(--portal-red);
  font-weight: 700;
}

.main-nav__extra {
      text-decoration: none;
  align-items: center;
  gap: 16px;
}

.main-nav__extra-item {
      text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  color: var(--portal-text-mid);
  padding: 6px 12px;
  border-radius: 3px;
  transition: all .2s ease;
}

.main-nav__extra-item svg {
  width: 14px;
  height: 14px;
}

.main-nav__live {
      text-decoration: none;
  color: var(--portal-red);
  background: #fff5f5;
}

.main-nav__live:hover {
  background: var(--portal-red);
  color: #fff;
}

.main-nav__rank:hover {
  color: var(--portal-red);
  background: var(--portal-bg-gray);
}

.main-nav__app:hover {
  color: var(--portal-red);
  background: var(--portal-bg-gray);
}

/* ============================================================
   15. 页脚 .footer-area
   ============================================================ */
.footer-area {
  background: #2c2c2c;
  color: rgba(255,255,255,.7);
  padding: 50px 0 0;
  font-size: 13px;
}

.footer-area__top {
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}

.footer-area h4 {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 14px;
  padding-left: 8px;
  border-left: 3px solid var(--portal-red);
}

.footer-area__top ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-area__top ul li {
      text-decoration: none;
  padding: 3px 0;
}

.footer-area__top ul li a {
      text-decoration: none;
  font-size: 13px;
  color: rgba(255,255,255,.65);
  transition: color .2s ease;
}

.footer-area__top ul li a:hover {
  color: #fff;
}

.footer-qr__list {
  display: flex;
  gap: 14px;
}

.footer-qr__item {
  text-align: center;
}

.footer-qr__img {
  width: 80px;
  height: 80px;
  background: #fff;
  border-radius: 4px;
  padding: 6px;
  margin-bottom: 6px;
}

.footer-qr__img svg {
  width: 100%;
  height: 100%;
  display: block;
}

.footer-qr__item span {
  display: block;
  font-size: 12px;
  color: rgba(255,255,255,.7);
}

.footer-qr__hint {
  margin: 14px 0 0;
  font-size: 12px;
  color: rgba(255,255,255,.5);
}

.footer-area__middle {
  padding: 24px 0;
  text-align: center;
  border-bottom: 1px solid rgba(255,255,255,.1);
}

.footer-area__brand {
  display: inline-flex;
  align-items: baseline;
  gap: 24px;
}

.footer-area__logo {
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  letter-spacing: .5px;
}

.footer-area__phone {
  font-size: 18px;
  color: #fff;
  font-weight: 600;
}

.footer-area__bottom {
  padding: 20px 0;
}

.copy-right__content {
  text-align: center;
  position: relative;
}

.copy-right__text {
  line-height: 1.6;
}

.copy-right__text--small {
  font-size: 11px;
  color: rgba(255,255,255,.4);
}

.copy-right__text a {
      text-decoration: none;
  color: rgba(255,255,255,.6);
  margin: 0 4px;
}

.copy-right__text a:hover {
  color: #fff;
}

.back-to-top {
  position: absolute;
  right: 0;
  bottom: 0;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.75);
  border: 1px solid rgba(255,255,255,.15);
  padding: 6px 14px;
  font-size: 12px;
  border-radius: 3px;
  cursor: pointer;
  transition: all .2s ease;
}

.back-to-top:hover {
  background: var(--portal-red);
  border-color: var(--portal-red);
  color: #fff;
}

.back-to-top svg {
  width: 12px;
  height: 12px;
}

/* ============================================================
   16. 通用工具类 (container / row / col-* / py-* / mt-*)
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 16px;
}

.row {
  display: flex;
  /*flex-wrap: wrap;*/
  margin: 0 -12px;
}

.row > [class*="col-"] {
  padding: 0 12px;
}

[class*="col-"] {
  width: 100%;
  flex: 0 0 100%;
  max-width: 100%;
}

.col-1  { flex: 0 0 8.333%;  max-width: 8.333%; }
.col-2  { flex: 0 0 16.667%; max-width: 16.667%; }
.col-3  { flex: 0 0 25%;     max-width: 25%; }
.col-4  { flex: 0 0 33.333%; max-width: 33.333%; }
.col-5  { flex: 0 0 41.667%; max-width: 41.667%; }
.col-6  { flex: 0 0 50%;     max-width: 50%; }
.col-7  { flex: 0 0 58.333%; max-width: 58.333%; }
.col-8  { flex: 0 0 66.667%; max-width: 66.667%; }
.col-9  { flex: 0 0 75%;     max-width: 75%; }
.col-10 { flex: 0 0 83.333%; max-width: 83.333%; }
.col-11 { flex: 0 0 91.667%; max-width: 91.667%; }
.col-12 { flex: 0 0 100%;    max-width: 100%; }

@media (min-width: 768px) {
  .col-md-3 { flex: 0 0 25%;     max-width: 25%; }
  .col-md-4 { flex: 0 0 33.333%; max-width: 33.333%; }
  .col-md-6 { flex: 0 0 50%;     max-width: 50%; }
  .col-md-12 { flex: 0 0 100%;   max-width: 100%; }
}

@media (min-width: 992px) {
  .col-lg-2  { flex: 0 0 16.667%; max-width: 16.667%; }
  .col-lg-3  { flex: 0 0 25%;     max-width: 25%; }
  .col-lg-4  { flex: 0 0 33.333%; max-width: 33.333%; }
  .col-lg-8  { flex: 0 0 66.667%; max-width: 66.667%; }
  .col-lg-12 { flex: 0 0 100%;    max-width: 100%; }
}

.g-2 > * { padding: 8px; }
.g-3 > * { padding: 12px; }
.g-4 > * { padding: 16px; }

.mt-3  { margin-top: 16px !important; }
.mt-40 { margin-top: 40px !important; }
.mt-60 { margin-top: 60px !important; }
.py-40 { padding: 24px 0 !important; }
.py-60 { padding-top: 40px !important; padding-bottom: 40px !important; }/* ============================================================
   品牌页专有：面包屑 / 数据 stat / 分类 tab / 排序条
   ============================================================ */

/* 面包屑 */
.breadcrumb {
  padding: 16px 0;
  font-size: 13px;
  color: var(--portal-text-light);
}
.breadcrumb a {
  color: var(--portal-text-light);
  text-decoration: none;
}
.breadcrumb a:hover { color: var(--portal-red); }
.breadcrumb__sep {
  margin: 0 6px;
  color: #ccc;
}

/* 数据 stat */
.brand-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}
.brand-stat {
  background: #fff;
  border: 1px solid var(--portal-border-light);
  border-radius: 6px;
  padding: 24px;
  text-align: center;
  transition: all .25s ease;
}
.brand-stat:hover {
  border-color: var(--portal-red);
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(216,48,47,.1);
}
.brand-stat__num {
  display: block;
  font-size: 36px;
  font-weight: 800;
  color: var(--portal-red);
  line-height: 1;
}
.brand-stat__label {
  display: block;
  font-size: 14px;
  color: var(--portal-text-light);
  margin-top: 8px;
}

/* 分类 tab */
.cat-tabs {
  background: #fff;
  border: 1px solid var(--portal-border-light);
  border-radius: 6px;
  padding: 16px;
  margin-bottom: 16px;
}
.cat-tabs__scroll {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.cat-tab {
  display: inline-block;
  padding: 6px 14px;
  font-size: 13px;
  background: #f5f5f5;
  color: var(--portal-text);
  border-radius: 4px;
  text-decoration: none;
  transition: all .2s ease;
}
.cat-tab:hover {
  background: rgba(216,48,47,.08);
  color: var(--portal-red);
}
.cat-tab.active {
  background: var(--portal-red);
  color: #fff;
}

/* 排序条 */
.sort-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  border: 1px solid var(--portal-border-light);
  border-radius: 6px;
  padding: 12px 16px;
  margin-bottom: 16px;
}
.sort-bar__count {
  font-size: 13px;
  color: var(--portal-text-light);
}
.sort-bar__opts { display: flex; gap: 8px; }
.sort-bar__opt {
  font-size: 13px;
  color: var(--portal-text);
  text-decoration: none;
  padding: 4px 10px;
  border-radius: 3px;
  transition: all .2s ease;
}
.sort-bar__opt:hover {
  background: rgba(216,48,47,.08);
  color: var(--portal-red);
}
.sort-bar__opt.active {
  background: var(--portal-red);
  color: #fff;
}

/* ============================================================
   品牌页专有：品牌卡片扩展
   ============================================================ */
.brands-logo {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}
@media (max-width: 991px) {
  .brands-logo { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 767px) {
  .brands-logo { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 480px) {
  .brands-logo { grid-template-columns: repeat(2, 1fr); }
}
.brands-logo__item {
  background: #fff;
  border: 1px solid var(--portal-border-light);
  border-radius: 4px;
  padding: 18px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  aspect-ratio: 16 / 10;
  transition: all .25s ease;
  text-decoration: none;
}
.brands-logo__item:hover {
  border-color: var(--portal-red);
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(216,48,47,.1);
}
.brands-logo__name {
  font-size: 14px;
  color: var(--portal-text);
  font-weight: 500;
  word-break: break-word;
}
.brands-logo__item:hover .brands-logo__name {
  color: var(--portal-red);
}
.brands-logo__company {
  font-size: 11px;
  color: var(--portal-text-light);
  margin-top: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}
.brands-logo__cat {
  display: inline-block;
  margin-top: 6px;
  font-size: 11px;
  color: var(--portal-text-light);
  background: #f5f5f5;
  padding: 2px 8px;
  border-radius: 2px;
}

/* ============================================================
   品牌页专有：分页
   ============================================================ */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
  margin: 32px 0;
  flex-wrap: wrap;
}
.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 12px;
  font-size: 14px;
  border-radius: 4px;
  background: #fff;
  border: 1px solid var(--portal-border-light);
  color: var(--portal-text);
  text-decoration: none;
  transition: all .2s ease;
}
.pagination a:hover {
  border-color: var(--portal-red);
  color: var(--portal-red);
}
.pagination .active {
  background: var(--portal-red);
  border-color: var(--portal-red);
  color: #fff;
}
.pagination .disabled {
  color: #ccc;
  cursor: not-allowed;
  pointer-events: none;
}

/* ============================================================
   品牌页专有：行业品牌榜
   ============================================================ */
.industry-rank {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}
.industry-rank__card {
  background: #fff;
  border: 1px solid var(--portal-border-light);
  border-radius: 6px;
  overflow: hidden;
}
.industry-rank__header {
  padding: 16px 20px;
  border-bottom: 1px solid var(--portal-border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.industry-rank__title {
  font-size: 18px;
  font-weight: 700;
  color: var(--portal-text);
  margin: 0;
}
.industry-rank__more {
  font-size: 12px;
  color: var(--portal-text-light);
  text-decoration: none;
}
.industry-rank__more:hover { color: var(--portal-red); }
.industry-rank__list {
  list-style: none;
  margin: 0;
  padding: 8px 0;
}
.industry-rank__item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 20px;
  font-size: 14px;
  transition: background .2s ease;
}
.industry-rank__item:hover { background: rgba(216,48,47,.04); }
.industry-rank__rank {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 24px;
  padding: 0 6px;
  font-size: 12px;
  font-weight: 700;
  border-radius: 3px;
  background: #f0f0f0;
  color: var(--portal-text-light);
  flex-shrink: 0;
}
.industry-rank__rank--gold {
  background: linear-gradient(135deg, #ffd700 0%, #ffb700 100%);
  color: #fff;
}
.industry-rank__rank--silver {
  background: linear-gradient(135deg, #c0c0c0 0%, #a8a8a8 100%);
  color: #fff;
}
.industry-rank__rank--bronze {
  background: linear-gradient(135deg, #cd7f32 0%, #b87333 100%);
  color: #fff;
}
.industry-rank__name {
  flex: 1;
  color: var(--portal-text);
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.industry-rank__name:hover { color: var(--portal-red); }
.industry-rank__score {
  font-size: 12px;
  color: var(--portal-red);
  flex-shrink: 0;
}

/* ============================================================
   品牌页响应式
   ============================================================ */
@media (max-width: 768px) {
  .topbar__welcome { display: none; }
  .site-header .container { flex-wrap: wrap; gap: 12px; }
  .site-header__search { order: 3; max-width: 100%; flex-basis: 100%; }
  .site-header__actions { order: 2; }
  .main-nav .container { overflow-x: auto; }
  .main-nav__list { flex-wrap: nowrap; }
  .main-nav__list li a { padding: 0 12px; font-size: 14px; }
  .footer-area__top { grid-template-columns: repeat(2, 1fr); }
  .brand-stats { grid-template-columns: 1fr; }
  .industry-rank { grid-template-columns: 1fr; }
}/* ============================================================
   品牌页专有：关键词云（b2b168 风格）
   ============================================================ */
.keyword-cloud {
  background: #fff;
  border: 1px solid var(--portal-border-light);
  border-radius: 6px;
  padding: 12px 16px;
  margin-bottom: 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
}
.keyword-cloud__label {
  font-size: 13px;
  font-weight: 600;
  color: var(--portal-text);
  flex-shrink: 0;
}
.keyword-cloud a {
  font-size: 13px;
  color: var(--portal-text-mid);
  text-decoration: none;
  padding: 4px 10px;
  border-radius: 3px;
  transition: all .2s ease;
}
.keyword-cloud a:hover {
  background: rgba(216,48,47,.08);
  color: var(--portal-red);
}

/* ============================================================
   品牌页专有：4 个行业专区（b2b168 风格）
   ============================================================ */
.zone {
  background: #fff;
  border: 1px solid var(--portal-border-light);
  border-radius: 6px;
  margin-bottom: 16px;
  overflow: hidden;
}
.zone__header {
  padding: 14px 20px;
  border-bottom: 1px solid var(--portal-border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(to right, rgba(216,48,47,.04), transparent);
}
.zone__title {
  font-size: 18px;
  font-weight: 700;
  color: var(--portal-text);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}
.zone__title-tag {
  display: inline-block;
  padding: 3px 10px;
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  background: var(--portal-red);
  border-radius: 3px;
}
.zone__more {
  font-size: 13px;
  color: var(--portal-text-light);
  text-decoration: none;
}
.zone__more:hover { color: var(--portal-red); }

.zone__keywords {
  padding: 10px 20px;
  background: #fafafa;
  border-bottom: 1px solid var(--portal-border-light);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  font-size: 12px;
}
.zone__label {
  color: var(--portal-text-mid);
  flex-shrink: 0;
}
.zone__keyword {
  color: var(--portal-text-mid);
  text-decoration: none;
  padding: 2px 8px;
  border-radius: 3px;
  transition: all .2s ease;
}
.zone__keyword:hover {
  background: rgba(216,48,47,.08);
  color: var(--portal-red);
}

.zone__body {
  display: grid;
  grid-template-columns: 1fr 240px;
  gap: 16px;
  padding: 16px 20px;
}
.zone__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.zone .brands-logo__item {
  padding: 10px 8px;
  aspect-ratio: auto;
  min-height: 56px;
}

.zone__premium {
  background: #fafafa;
  border: 1px solid var(--portal-border-light);
  border-radius: 4px;
  padding: 12px;
}
.zone__premium-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--portal-red);
  margin: 0 0 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--portal-border-light);
}
.zone__premium-card {
  display: block;
  padding: 8px;
  margin-bottom: 8px;
  background: #fff;
  border-radius: 3px;
  text-decoration: none;
  transition: all .2s ease;
}
.zone__premium-card:last-child { margin-bottom: 0; }
.zone__premium-card:hover {
  background: rgba(216,48,47,.04);
  transform: translateX(2px);
}
.zone__premium-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--portal-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.zone__premium-cat {
  font-size: 11px;
  color: var(--portal-text-light);
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 768px) {
  .zone__body {
    grid-template-columns: 1fr;
  }
  .zone__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}/* ============================================================
   品牌页专有：行业资讯（10 条紧凑新闻列表）
   ============================================================ */
.news-section {
  background: #fff;
  border: 1px solid var(--portal-border-light);
  border-radius: 6px;
  margin-bottom: 16px;
  overflow: hidden;
}
.news-section__header {
  padding: 14px 20px;
  border-bottom: 1px solid var(--portal-border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(to right, rgba(216,48,47,.04), transparent);
}
.news-section__title {
  font-size: 18px;
  font-weight: 700;
  color: var(--portal-text);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}
.news-section__title-tag {
  display: inline-block;
  padding: 3px 10px;
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  background: var(--portal-red);
  border-radius: 3px;
}
.news-section__more {
  font-size: 13px;
  color: var(--portal-text-light);
  text-decoration: none;
}
.news-section__more:hover { color: var(--portal-red); }

.news-list-compact {
  list-style: none;
  margin: 0;
  padding: 8px 0;
}

/* 左右两列布局（5 + 5） */
.news-list-compact--cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.news-list-compact--cols li:last-child,
.news-list-compact--cols li:nth-last-child(2) {
  border-bottom: none;
}

/* 资讯两列等宽布局（左品牌资讯 + 右行业资讯） */
.news-section-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
  margin-top: 25px;
}
.news-section-row .news-section {
  margin-bottom: 0;
}
@media (max-width: 768px) {
  .news-section-row {
    grid-template-columns: 1fr;
  }
}

/* li 右侧跳转箭头 */
.news-arrow {
  flex-shrink: 0;
  color: var(--portal-border);
  font-size: 14px;
  line-height: 1;
  transition: color .15s ease, transform .15s ease;
}
.news-list-compact li:hover .news-arrow {
  color: var(--portal-red);
  transform: translateX(2px);
}
.news-list-compact li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 20px;
  border-bottom: 1px dotted var(--portal-border-light);
  transition: background .2s ease;
}
.news-list-compact li:last-child { border-bottom: none; }
.news-list-compact li:hover { background: rgba(216,48,47,.02); }
.news-date {
  font-size: 12px;
  color: var(--portal-text-light);
  flex-shrink: 0;
  font-family: Consolas, Monaco, monospace;
  white-space: nowrap;
}
.news-list-compact li a {
  flex: 1;
  color: var(--portal-text);
  text-decoration: none;
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color .2s ease;
}
.news-list-compact li a:hover { color: var(--portal-red); }

@media (max-width: 480px) {
  .news-list-compact li {
    padding: 8px 12px;
    gap: 8px;
  }
  .news-date { width: auto; font-size: 11px; white-space: nowrap; }
  .news-list-compact li a { font-size: 13px; }
}/* ============================================================
   排名页专有：5 个 tab 切换（十大 / 热门 / 优选 / 新锐 / 地区）
   ============================================================ */
.rank-tabs {
  background: transparent;
  border: none;
  border-bottom: 2px solid var(--portal-border-light);
  padding: 0;
  margin-bottom: 28px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0;
}
.rank-tab {
  display: inline-block;
  padding: 16px 36px;
  font-size: 22px;
  font-weight: 600;
  background: transparent;
  color: var(--portal-text-mid);
  border-bottom: 4px solid transparent;
  margin-bottom: -2px;
  text-decoration: none;
  transition: all .2s ease;
  position: relative;
}
.rank-tab:hover {
  color: var(--portal-red);
  border-bottom-color: rgba(216,48,47,.3);
}
.rank-tab.active {
  background: transparent;
  color: var(--portal-red);
  border-bottom-color: var(--portal-red);
  font-weight: 800;
  font-size: 25px;
}
.rank-tab.active::before {
  content: '';
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 32px;
  height: 3px;
  background: var(--portal-red);
  border-radius: 2px;
}

/* 当前 tab 内容头部 */
.rank-content__header {
  text-align: center;
  padding: 32px 0 16px;
}
.rank-content__header h2 {
  font-size: 35px;
  font-weight: 700;
  color: var(--portal-text);
  margin: 0 0 8px;
  position: relative;
  display: inline-block;
}
.rank-content__header h2::after {
  content: '';
  display: block;
  width: 40px;
  height: 3px;
  background: var(--portal-red);
  margin: 12px auto 0;
}
.rank-content__header p {
  font-size: 14px;
  color: var(--portal-text-light);
  margin: 0;
}

/* ============================================================
   排名页专有：特色展示区（4 大卡 × 10 排行）
   ============================================================ */
.featured-ranks {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: 1fr;
  align-items: stretch;
  gap: 16px;
  margin-bottom: 24px;
}
.featured-rank-card {
  background: #fff;
  border: 1px solid var(--portal-border-light);
  border-radius: 6px;
  overflow: hidden;
  transition: all .25s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.featured-rank-card:hover {
  border-color: var(--portal-red);
  box-shadow: 0 6px 14px rgba(216,48,47,.08);
}
.featured-rank-header {
  padding: 14px 20px;
  border-bottom: 1px solid var(--portal-border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(to right, rgba(216,48,47,.04), transparent);
}
.featured-rank-header h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--portal-text);
  margin: 0;
}
.featured-rank-header a {
  font-size: 12px;
  color: var(--portal-text-light);
  text-decoration: none;
}
.featured-rank-header a:hover { color: var(--portal-red); }
.featured-rank-list {
  list-style: none;
  margin: 0;
  padding: 8px 0;
  flex: 1;                 /* 撑满 card 剩余高度（与同行最高 card 对齐）*/
}
.featured-rank-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  font-size: 20px;
  transition: background .2s ease;
}
.featured-rank-list li:hover { background: rgba(216,48,47,.02); }

.featured-rank-list li .rank-name {
  flex: 1;
  color: var(--portal-text);
  text-decoration: none;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.featured-rank-list li .rank-name:hover { color: var(--portal-red); }


.featured-rank-list .rank-score {
  flex-shrink: 0;
  font-size: 13px;
  font-weight: 700;
  color: var(--portal-red);
  font-family: Consolas, Monaco, monospace;
  min-width: 50px;
  text-align: right;
}
.rank-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  font-size: 12px;
  font-weight: 700;
  border-radius: 3px;
  background: #f0f0f0;
  color: var(--portal-text-light);
  flex-shrink: 0;
}
.rank-num.gold {
  background: linear-gradient(135deg, #ffd700 0%, #ffb700 100%);
  color: #fff;
}
.rank-num.silver {
  background: linear-gradient(135deg, #c0c0c0 0%, #a8a8a8 100%);
  color: #fff;
}
.rank-num.bronze {
  background: linear-gradient(135deg, #cd7f32 0%, #b87333 100%);
  color: #fff;
}
.featured-rank-list li a {
  flex: 1;
  color: var(--portal-text);
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color .2s ease;
}
.featured-rank-list li a:hover { color: var(--portal-red); }

/* ============================================================
   排名页专有：品牌网格（4 中等卡 × 10 排行）
   ============================================================ */
.brand-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}
.brand-card {
  background: #fff;
  border: 1px solid var(--portal-border-light);
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all .25s ease;
}
.brand-card:hover {
  border-color: var(--portal-red);
  box-shadow: 0 6px 14px rgba(216,48,47,.08);
}
.brand-card-header {
  padding: 12px 16px;
  border-bottom: 1px solid var(--portal-border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(to right, rgba(216,48,47,.04), transparent);
}
.brand-card-header h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--portal-text);
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.rank-badge {
  display: inline-block;
  padding: 2px 8px;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  background: var(--portal-red);
  border-radius: 3px;
  flex-shrink: 0;
  margin-left: 8px;
}
.brand-rank-list {
  list-style: none;
  margin: 0;
  padding: 8px 0;
  flex: 1;
}
.brand-rank-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  font-size: 15px;
  transition: background .2s ease;
}
.brand-rank-list li:hover { background: rgba(216,48,47,.02); }
.rank-num-sm {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  font-size: 11px;
  font-weight: 700;
  border-radius: 3px;
  background: #f0f0f0;
  color: var(--portal-text-light);
  flex-shrink: 0;
}
.brand-rank-list li a {
  flex: 1;
  color: var(--portal-text);
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color .2s ease;
}
.brand-rank-list li a:hover { color: var(--portal-red); }

/* 前 3 名金银铜 */
.brand-rank-list li .rank-num-sm.gold   { background: linear-gradient(135deg, #ffd700, #ffb700); color: #fff; }
.brand-rank-list li .rank-num-sm.silver { background: linear-gradient(135deg, #c0c0c0, #a8a8a8); color: #fff; }
.brand-rank-list li .rank-num-sm.bronze { background: linear-gradient(135deg, #cd7f32, #b87333); color: #fff; }

/* 中间品牌名（不撑满，留出空间给 chip + score） */
.brand-rank-list li .brand-name {
  flex: 1;
  color: var(--portal-text);
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color .2s ease;
}
.brand-rank-list li .brand-name:hover { color: var(--portal-red); }


/* 分数（最右，红色等宽数字） */
.brand-rank-list .brand-score {
  flex-shrink: 0;
  font-size: 13px;
  font-weight: 700;
  color: var(--portal-red);
  font-family: Consolas, Monaco, monospace;
  min-width: 28px;
  text-align: right;
}
.view-more {
  display: block;
  padding: 10px;
  text-align: center;
  font-size: 12px;
  color: var(--portal-text-light);
  background: #fafafa;
  border-top: 1px solid var(--portal-border-light);
  text-decoration: none;
  transition: all .2s ease;
}
.view-more:hover {
  background: var(--portal-red);
  color: #fff;
}

/* ============================================================
   排名页专有：全部榜单分类概览
   ============================================================ */
.all-ranks-overview {
  background: #fff;
  border: 1px solid var(--portal-border-light);
  border-radius: 6px;
  padding: 24px;
  margin-bottom: 24px;
}
.all-ranks-overview h3 {
  font-size: 25px;
  font-weight: 700;
  color: var(--portal-text);
  margin: 0 0 16px;
  text-align: center;
  position: relative;
}
.all-ranks-overview h3::after {
  content: '';
  display: block;
  width: 40px;
  height: 3px;
  background: var(--portal-red);
  margin: 12px auto 0;
}
.all-ranks-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}
.rank-category-card {
  display: block;
  padding: 24px 16px;
  text-align: center;
  background: #fafafa;
  border: 1px solid var(--portal-border-light);
  border-radius: 6px;
  text-decoration: none;
  transition: all .25s ease;
}
.rank-category-card:hover {
  background: #fff;
  border-color: var(--portal-red);
  transform: translateY(-3px);
  box-shadow: 0 6px 14px rgba(216,48,47,.1);
}
.rank-category-icon {
  width: 46px;
  height: 46px;
  margin: 0 auto 10px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--portal-red), #ff7a7a);
  box-shadow: 0 4px 10px rgba(216,48,47,.18);
}
/* 各分类图标轮换配色，避免千篇一律 */
.all-ranks-grid .rank-category-card:nth-child(6n+1) .rank-category-icon { background: linear-gradient(135deg,#d8302f,#ff7a7a); box-shadow: 0 4px 10px rgba(216,48,47,.18); }
.all-ranks-grid .rank-category-card:nth-child(6n+2) .rank-category-icon { background: linear-gradient(135deg,#2d8cf0,#5cadff); box-shadow: 0 4px 10px rgba(45,140,240,.18); }
.all-ranks-grid .rank-category-card:nth-child(6n+3) .rank-category-icon { background: linear-gradient(135deg,#19be6b,#5ee39b); box-shadow: 0 4px 10px rgba(25,190,107,.18); }
.all-ranks-grid .rank-category-card:nth-child(6n+4) .rank-category-icon { background: linear-gradient(135deg,#f5a623,#ffce6e); box-shadow: 0 4px 10px rgba(245,166,35,.18); }
.all-ranks-grid .rank-category-card:nth-child(6n+5) .rank-category-icon { background: linear-gradient(135deg,#7b5cff,#a98bff); box-shadow: 0 4px 10px rgba(123,92,255,.18); }
.all-ranks-grid .rank-category-card:nth-child(6n+6) .rank-category-icon { background: linear-gradient(135deg,#13c2c2,#5edbdb); box-shadow: 0 4px 10px rgba(19,194,194,.18); }
.rank-category-card h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--portal-text);
  margin: 0 0 4px;
}
.rank-category-card p {
  font-size: 12px;
  color: var(--portal-text-light);
  margin: 0;
}
.rank-category-card:hover h4 { color: var(--portal-red); }

/* ============================================================
   排名页响应式
   ============================================================ */
@media (max-width: 991px) {
  .featured-ranks { grid-template-columns: 1fr; }
  .brand-grid { grid-template-columns: repeat(2, 1fr); }
  .all-ranks-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 575px) {
  .brand-grid { grid-template-columns: 1fr; }
  .all-ranks-grid { grid-template-columns: repeat(2, 1fr); }
  .rank-tab { padding: 8px 14px; font-size: 13px; }
}



.ad-row {
  background: var(--portal-bg);
  padding: 16px 0;
  border-bottom: 1px solid var(--portal-border-light);
}

/* ============================================================
   通栏广告 2×2 banner
   ============================================================ */
.banner-2x2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 4px 0;
}
.banner-2x2__item {
  display: block;
  /*border-radius: 4px;*/
  overflow: hidden;
  /*aspect-ratio: 16 / 3;*/
  background: var(--portal-bg-gray);
  text-decoration: none;
}
.banner-2x2__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .35s ease, opacity .25s ease;
}
.banner-2x2__item:hover img {
  transform: scale(1.04);
  opacity: .92;
}