

/* ============================================================
   ranking 专有：品牌榜单中心
   ============================================================ */

/* 全局去掉悬浮下划线 */
a:hover, a:focus, a:active {
  text-decoration: none !important;
}

/* ============================================================
   ranking 专有：品牌榜单中心
   ============================================================ */

:root {
    --white: #ffffff;
    --ranking-bg: #f5f8fc;
    --tag-bg: #eaf2fc;
    --tag-bg-hot: #d6e6f9;
    --tag-text: #4a5b6e;
    --shield-red: #e74c3c;
    --shield-orange: #e67e22;
    --shield-yellow: #f1c40f;
    --shield-gray: #95a5b6;
    --bar-color: #1e6dd8;
    --bar-bg: #dbe5f0;
    --chip-bg: #eaf2fc;
    --gold: #f5a623;
    --silver: #95a5b6;
    --bronze: #c98763;
}

/* ============ 顶部装饰标题（渐变 + 艺术化）============ */
.ranking-header {
    
  padding: 32px 0 28px;
  position: relative;
  overflow: hidden;
}
.ranking-header::before {
  content: '';
  position: absolute;
  left: -100px;
  top: -50px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
 
  pointer-events: none;
}
.ranking-header::after {
  content: '';
  position: absolute;
  right: -100px;
  bottom: -80px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
 
  pointer-events: none;
}
.ranking-header__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  position: relative;
  z-index: 1;
}
.ranking-header__deco {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.ranking-header__deco--r {
  flex-direction: row-reverse;
}
.deco-line {
  display: inline-block;
  width: 50px;
  height: 2px;
  background: linear-gradient(90deg, var(--portal-blue) 0%, var(--portal-blue-light) 100%);
  border-radius: 1px;
}
.deco-line--short {
  width: 16px;
  background: linear-gradient(90deg, transparent 0%, var(--portal-blue) 100%);
}
.ranking-header__deco--r .deco-line--short {
  background: linear-gradient(90deg, var(--portal-blue) 0%, transparent 100%);
}
.deco-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--portal-blue) 0%, #8b5cf6 100%);
  box-shadow: 0 0 0 4px rgba(30, 109, 216, .12);
}
.ranking-header__text {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.ranking-header__en {
  font-size: 11px;
  font-weight: 700;
  color: var(--portal-blue);
  letter-spacing: 4px;
  opacity: .8;
}
.ranking-header__title {
  margin: 0;
  font-size: 40px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--portal-blue) 0%, #45acd9 50%, #38bdf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  letter-spacing: 2px;
  text-align: center;
  white-space: nowrap;
  line-height: 1.2;
}
.ranking-header__sub {
  font-size: 12px;
  color: var(--portal-text-light);
  letter-spacing: 3px;
  margin-top: 2px;
}

/* ============ 主体 ============ */
.ranking-main {
  background: var(--ranking-bg);
  padding: 28px 0 48px;
}

/* ============ 热门标签 grid 5 列 ============ */
.ranking-tags {
  margin-bottom: 24px;
}
.ranking-tags__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  background: #fff;
  border: 1px solid var(--portal-border);
  border-radius: 12px;
  padding: 16px;
}
.ranking-tag {
  display: block;
  text-align: center;
  padding: 10px 8px;
  font-size: 14px;
  color: var(--tag-text);
  background: var(--tag-bg);
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  transition: all .2s ease;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ranking-tag:hover {
  background: var(--portal-blue);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(30, 109, 216, .25);
}
.ranking-tag--hot {
  background: var(--tag-bg-hot);
  color: var(--portal-blue);
  font-weight: 600;
}

/* ============ TOP 冠亚季军 ============ */
.top3 {
  margin-bottom: 32px;
}
.top3__inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  gap: 16px;
  align-items: end;
}
.top3__item {
  background: #fff;
  border: 1px solid var(--portal-border);
  border-radius: 14px;
  padding: 24px 20px 22px;
  text-align: center;
  position: relative;
  transition: transform .25s ease, box-shadow .25s ease;
}
.top3__item:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(30, 109, 216, .14);
}
.top3__item--1 {
  background: linear-gradient(180deg, #fffaeb 0%, #fff 100%);
  border: 2px solid var(--gold);
  padding: 30px 24px 26px;
  box-shadow: 0 4px 16px rgba(245, 166, 35, .15);
}
.top3__item--2 {
  border-color: #cbd5e1;
  background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
}
.top3__item--3 {
  border-color: #e0b08a;
  background: linear-gradient(180deg, #fbf3ec 0%, #fff 100%);
}

.top3__crown {
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .12);
}
.top3__crown svg {
  width: 22px;
  height: 22px;
}
.top3__item--1 .top3__crown {
  background: linear-gradient(135deg, #fbcc4d 0%, var(--gold) 100%);
  width: 52px;
  height: 52px;
  top: -22px;
}
.top3__item--1 .top3__crown svg { width: 26px; height: 26px; }
.top3__item--2 .top3__crown { background: linear-gradient(135deg, #cbd5e1 0%, var(--silver) 100%); }
.top3__item--3 .top3__crown { background: linear-gradient(135deg, #d8a17a 0%, var(--bronze) 100%); }

.top3__rank {
  font-size: 12px;
  font-weight: 800;
  color: var(--portal-text-light);
  letter-spacing: 1.5px;
  margin-bottom: 12px;
  font-style: italic;
}
.top3__item--1 .top3__rank { color: var(--gold); font-size: 14px; }

.top3__logo {
  display: block;
  width: 80px;
  height: 80px;
  margin: 0 auto 12px;
  border: 2px solid var(--portal-border);
  border-radius: 50%;
  overflow: hidden;
  background: #fff;
  transition: border-color .2s;
}
.top3__item--1 .top3__logo {
  width: 96px;
  height: 96px;
  border-color: var(--gold);
  border-width: 3px;
}
.top3__logo:hover { border-color: var(--portal-blue); }
.top3__logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.top3__logo-placeholder {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--portal-blue) 0%, var(--portal-blue-light) 100%);
  color: #fff;
  font-size: 28px;
  font-weight: 800;
}
.top3__item--1 .top3__logo-placeholder { font-size: 34px; }

.top3__name {
  display: block;
  font-size: 16px;
  font-weight: 700;
  color: var(--portal-text);
  text-decoration: none;
  margin-bottom: 4px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: color .2s;
}
.top3__item--1 .top3__name { font-size: 19px; }
.top3__name:hover { color: var(--portal-blue); }

.top3__cat {
  display: inline-block;
  font-size: 11px;
  color: var(--portal-text-light);
  background: var(--ranking-bg);
  padding: 2px 8px;
  border-radius: 10px;
  margin-bottom: 10px;
  max-width: 130px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.top3__stats {
  border-top: 1px dashed var(--portal-border);
  padding-top: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}
.top3__attention {
  font-size: 18px;
  font-weight: 800;
  color: var(--bar-color);
  font-style: italic;
  letter-spacing: .5px;
}
.top3__item--1 .top3__attention { font-size: 22px; }
.top3__label {
  font-size: 11px;
  color: var(--portal-text-light);
}

/* ============ 6 大行业组（双列布局，每组 1 列 10 行）============ */
.ranking-groups {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 32px;
}
.ranking-group {
  background: #fff;
  border: 1px solid var(--portal-border);
  border-radius: 12px;
  overflow: hidden;
  transition: box-shadow .25s ease;
}
.ranking-group:hover {
  box-shadow: 0 6px 20px rgba(30, 109, 216, .1);
}
.ranking-group__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 22px;
  background: linear-gradient(135deg, var(--portal-blue) 0%, var(--portal-blue-dark) 100%);
  color: #fff;
}
.ranking-group__head h3 {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  letter-spacing: .5px;
}
.ranking-group__more {
  font-size: 12px;
  color: #fff;
  text-decoration: none;
  opacity: .9;
  transition: opacity .2s;
}
.ranking-group__more:hover { opacity: 1; }

.ranking-group__list {
  display: flex;
  flex-direction: column;
}
.ranking-group__row {
  display: flex;
  align-items: center;
  gap: 23px;
  padding: 9px 20px;
  text-decoration: none;
  color: var(--portal-text);
  transition: background .2s;
  border-bottom: 1px solid var(--portal-border);
}
.ranking-group__row:last-child { border-bottom: 0; }
.ranking-group__row:hover { background: var(--ranking-bg); }

/* 盾形排名 */
.rank-shield {
  flex-shrink: 0;
  width: 28px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
  color: #fff;
  clip-path: polygon(0 0, 100% 0, 100% 70%, 50% 100%, 0 70%);
  letter-spacing: -.5px;
}
.rank-shield--red    { background: var(--shield-red); }
.rank-shield--orange { background: var(--shield-orange); }
.rank-shield--yellow { background: var(--shield-yellow); color: #5a4400; }
.rank-shield--gray   { background: var(--shield-gray); }

.ranking-group__logo {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
}
.ranking-group__logo-placeholder {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--portal-blue) 0%, var(--portal-blue-light) 100%);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}

.ranking-group__name {
  flex: 0 0 110px;
  width: 110px;
  font-size: 15px;
  font-weight: 600;
  color: var(--portal-blue-dark);
  background: var(--chip-bg);
  padding: 4px 10px;
  border-radius: 4px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: all .2s;
  text-align: center;
}
.ranking-group__row:hover .ranking-group__name {
  background: var(--portal-blue);
  color: #fff;
}

.ranking-group__attention {
  flex: 0 0 56px;
  width: 56px;
  font-size: 13px;
  font-weight: 700;
  color: var(--bar-color);
  font-style: italic;
  text-align: right;
  letter-spacing: .3px;
}

.ranking-group__bar {
  flex: 1 1 auto;
  min-width: 80px;
  max-width: 200px;
  height: 6px;
  background: var(--bar-bg);
  border-radius: 3px;
  overflow: hidden;
}
.ranking-group__bar-fill {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--portal-blue) 0%, var(--portal-blue-light) 100%);
  border-radius: 3px;
  transition: width .4s ease;
}

/* ============ 1x2 banner ============ */

.ranking-banner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 32px 0;
}
.ranking-banner__item {
  display: block;
  border-radius: 10px;
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
}
.ranking-banner__item:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(30, 109, 216, .12);
}
.ranking-banner__item img {
  display: block;
  width: 100%;
  height: auto;
}

/* ============ 双列资讯 ============ */
.ranking-news {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.news-col {
  background: #fff;
  border: 1px solid var(--portal-border);
  border-radius: 12px;
  overflow: hidden;
}
.news-col__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background: linear-gradient(to right, rgba(30, 109, 216, .06), transparent);
  border-bottom: 1px solid var(--portal-border);
}
.news-col__title {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: var(--portal-text);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.news-col__tag {
  display: inline-block;
  font-size: 11px;
  color: #fff;
  padding: 2px 8px;
  border-radius: 8px;
  font-weight: 700;
  letter-spacing: .5px;
}
.news-col__tag--blue { background: var(--portal-blue); }
.news-col__tag--orange { background: var(--accent-orange); }
.news-col__more {
  font-size: 12px;
  color: var(--portal-text-light);
  text-decoration: none;
  transition: color .2s;
}
.news-col__more:hover { color: var(--portal-blue); }
.news-list-compact {
  list-style: none;
  margin: 0;
  padding: 8px 0;
}
.news-list-compact li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 20px;
  font-size: 14px;
  border-bottom: 1px dashed var(--portal-border);
  transition: background .2s;
}
.news-list-compact li:last-child { border-bottom: 0; }
.news-list-compact li:hover { background: var(--ranking-bg); }
.news-date {
  flex-shrink: 0;
  font-size: 12px;
  color: var(--portal-text-light);
  font-style: italic;
  min-width: 38px;
}
.news-list-compact a {
  flex: 1;
  min-width: 0;
  color: var(--portal-text);
  text-decoration: none;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: color .2s;
}
.news-list-compact a:hover { color: var(--portal-blue); }
.news-arrow {
  flex-shrink: 0;
  color: var(--portal-text-light);
  font-size: 14px;
}

/* ============ 动画 ============ */
.top3__item,
.ranking-group {
  animation: fadeInUp .4s ease;
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ============ 响应式 ============ */
@media (max-width: 1100px) {
  .ranking-tags__grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 900px) {
  .top3__inner { grid-template-columns: 1fr; gap: 24px; }
  .top3__item--1 { order: -1; }
  .ranking-news { grid-template-columns: 1fr; }
  .ranking-tags__grid { grid-template-columns: repeat(3, 1fr); }
  .ranking-header__title { font-size: 24px; }
  .ranking-groups { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .ranking-main { padding: 20px 0 36px; }
  .ranking-header { padding: 22px 0 16px; }
  .ranking-header__title { font-size: 20px; letter-spacing: 1px; }
  .ranking-header__en { font-size: 10px; letter-spacing: 3px; }
  .ranking-header__sub { font-size: 11px; letter-spacing: 2px; }
  .ranking-header__inner { gap: 14px; }
  .deco-line { width: 30px; }
  .deco-line--short { width: 10px; }
  .ranking-tags__grid { padding: 12px; gap: 8px; }
  .ranking-tag { padding: 8px 6px; font-size: 12px; }
  .ranking-group__head { padding: 12px 16px; }
  .ranking-group__head h3 { font-size: 15px; }
  .ranking-group__row { padding: 8px 14px; gap: 8px; }
  .ranking-group__name { flex: 0 0 90px; width: 90px; font-size: 12px; }
  .ranking-group__attention { flex: 0 0 48px; width: 48px; font-size: 12px; }
  .ranking-banner { grid-template-columns: 1fr; }
  .top3__logo { width: 70px; height: 70px; }
  .top3__item--1 .top3__logo { width: 84px; height: 84px; }
}

@media (max-width: 480px) {
  .ranking-tags__grid { grid-template-columns: repeat(2, 1fr); }
  .ranking-header__title { font-size: 16px; }
  .ranking-header__en { font-size: 9px; letter-spacing: 2px; }
  .ranking-header__inner { gap: 10px; }
  .deco-line { width: 16px; }
  .deco-line--short { display: none; }
  .deco-dot { width: 6px; height: 6px; }
  .rank-shield { width: 24px; height: 28px; font-size: 12px; }
  .ranking-group__logo { width: 30px; height: 30px; }
  .ranking-group__name { flex: 0 0 70px; width: 70px; padding: 3px 6px; font-size: 11px; }
  .ranking-group__bar { display: none; }
  .ranking-group__attention { flex: 0 0 48px; width: 48px; font-size: 12px; }
  .ranking-group__name { flex: 0 0 70px; width: 70px; padding: 3px 6px; font-size: 11px; }
  .top3__crown { width: 38px; height: 38px; }
  .top3__item--1 .top3__crown { width: 44px; height: 44px; }
  .news-list-compact li { padding: 8px 14px; }
}
