/* ============ 复北排行 全站样式（参照目标站蓝色系设计） ============ */
:root {
  --primary: #61a6d3;          /* 主蓝：链接、标题点缀 */
  --primary-strong: #269fef;   /* 亮蓝：按钮 */
  --link-blue: #008fed;
  --slate: #546d7e;            /* 蓝灰：章节标题、统计数字 */
  --muted-blue: #9ab5d0;
  --dark-card: #28334a;        /* 深藏青：联系我们卡片 */
  --bg: #e9ecef;
  --band-gray: #f5f6f7;
  --text: #333333;
  --text-light: #999999;
  --line: #e5e8ec;
  --radius: 6px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "Helvetica Neue", Helvetica, Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background: #fff;
  font-size: 14px;
  line-height: 1.8;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

/* ---------- 顶部导航 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 56px; }
.brand { display: flex; align-items: center; gap: 8px; }
.brand-logo { width: 30px; height: 30px; }
.brand-name { font-size: 18px; color: var(--slate); letter-spacing: 1px; }
.brand-slogan { font-size: 12px; color: var(--text-light); border-left: 1px solid var(--line); padding-left: 8px; }
.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav > a {
  padding: 6px 14px; font-size: 14px; color: var(--text);
  border-bottom: 2px solid transparent; transition: all 0.2s;
}
.main-nav > a:hover { color: var(--link-blue); }
.main-nav > a.active { color: var(--link-blue); border-bottom-color: var(--link-blue); }
.nav-qr { position: relative; }
.nav-qr-trigger {
  display: flex; align-items: center; gap: 6px; padding: 6px 12px;
  color: var(--primary); font-size: 14px; cursor: pointer; transition: all 0.2s;
}
.nav-qr-trigger:hover { color: var(--link-blue); }
.nav-qr-pop {
  display: none; position: absolute; right: 0; top: calc(100% + 8px);
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 8px 24px rgba(84, 109, 126, 0.18);
  padding: 14px; text-align: center; width: 176px;
}
.nav-qr:hover .nav-qr-pop { display: block; }
.nav-qr-pop img { width: 148px; height: 148px; margin: 0 auto 8px; }
.nav-qr-pop p { font-size: 13px; color: var(--text-light); }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--slate); margin: 5px 0; transition: 0.3s; }

/* 首页：导航透明叠加在横幅上 */
.header-overlay {
  position: absolute; left: 0; right: 0; top: 0;
  background: rgba(97, 166, 211, 0.25); border-bottom: none;
}
.header-overlay .brand-name, .header-overlay .brand-slogan { color: #fff; }
.header-overlay .brand-slogan { border-color: rgba(255, 255, 255, 0.4); }
.header-overlay .main-nav > a { color: #fff; }
.header-overlay .main-nav > a:hover,
.header-overlay .main-nav > a.active { color: #fff; border-bottom-color: #fff; }
.header-overlay .nav-qr-trigger { color: #fff; }
.header-overlay .nav-toggle span { background: #fff; }

/* ---------- 首页 Hero：蓝天横幅 ---------- */
.hero {
  background: url('/img/hero-bg.svg') center/cover no-repeat, linear-gradient(180deg, #7dbbe0, #4d9ccf);
  color: #fff; text-align: center; padding: 96px 0 0;
}
.hero-inner { display: flex; flex-direction: column; align-items: center; padding: 0 20px; }
.hero-logo {
  width: 96px; height: 96px; background: #fff; border-radius: 22px;
  padding: 14px; box-shadow: 0 8px 24px rgba(35, 88, 128, 0.25); margin-bottom: 22px;
}
.hero h1 { font-size: 34px; font-weight: 400; letter-spacing: 4px; margin-bottom: 20px; }
.hero-desc-row { display: flex; align-items: center; gap: 14px; max-width: 780px; margin-bottom: 40px; }
.hero-desc-row img { width: 30px; height: 44px; opacity: 0.85; flex-shrink: 0; }
.hero-desc { font-size: 13.5px; color: rgba(255, 255, 255, 0.95); line-height: 1.9; }
.hero-qr-block {
  display: flex; align-items: stretch; gap: 0; margin-bottom: 56px;
  text-align: left; max-width: 560px;
}
.hero-qr-img {
  width: 108px; height: 108px; background: #fff; padding: 6px; flex-shrink: 0;
}
.hero-qr-body {
  background: rgba(31, 53, 76, 0.75); padding: 12px 18px; display: flex;
  flex-direction: column; justify-content: center;
}
.hero-qr-title { font-size: 15px; margin-bottom: 4px; color: #fff; }
.hero-qr-desc { font-size: 12.5px; color: rgba(255, 255, 255, 0.75); line-height: 1.7; }
.hero-qr-tag {
  background: var(--primary-strong); color: #fff; font-size: 12px;
  text-align: center; padding: 3px 0;
}

/* ---------- 通用版块 ---------- */
.section { padding: 64px 0; }
.section-gray { background: var(--band-gray); }
.section-title {
  text-align: center; font-size: 30px; font-weight: 300; color: var(--slate);
  letter-spacing: 2px; margin-bottom: 40px;
}

/* 介绍段落（纯文本，参照目标站） */
.intro-text { max-width: 860px; margin: 0 auto; }
.intro-text p { color: #666; font-size: 14px; margin-bottom: 16px; text-indent: 0; }

/* 数据统计（图标 + 大数字） */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 48px; }
.stat-item { text-align: center; padding: 10px; }
.stat-icon { width: 40px; height: 40px; margin: 0 auto 10px; color: var(--primary); }
.stat-icon svg { width: 100%; height: 100%; }
.stat-value {
  font-size: 55px; font-weight: 400; color: var(--slate); line-height: 1.2;
  font-variant-numeric: tabular-nums;
}
.stat-label { font-size: 14px; color: var(--text-light); margin-top: 4px; }

/* ---------- 公正宣言：蓝色横带 + 圆形徽章 ---------- */
.creed {
  background: linear-gradient(180deg, #6fb1da, #5aa2d0);
  color: #fff; padding: 56px 0 64px; text-align: center;
}
.creed-badge { width: 110px; height: 110px; margin: 0 auto 30px; opacity: 0.95; }
.creed-line {
  font-size: 18px; font-weight: 300; max-width: 780px;
  margin: 0 auto 10px; color: #fff;
}

/* ---------- 媒体报道 ---------- */
.media-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.media-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px 22px; transition: all 0.25s; display: block;
}
.media-card:hover { box-shadow: 0 6px 20px rgba(84, 109, 126, 0.15); transform: translateY(-2px); }
.media-title { font-size: 15px; color: var(--text); margin-bottom: 14px; line-height: 1.6; }
.media-meta { display: flex; justify-content: space-between; font-size: 13px; color: var(--text-light); }
.media-read { color: var(--primary); }
.media-card:hover .media-read { color: var(--link-blue); }

/* ---------- 大事记：网格卡片 + 幽灵序号 ---------- */
.timeline-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.timeline-card {
  background: #fff; border-radius: var(--radius); padding: 18px 20px 22px;
  position: relative; min-height: 132px;
  box-shadow: 0 2px 8px rgba(84, 109, 126, 0.06);
}
.timeline-num {
  font-size: 44px; font-weight: 200; color: #dfe5ea; line-height: 1;
  margin-bottom: 10px; font-style: italic;
}
.timeline-date { font-size: 16px; font-weight: 300; color: var(--slate); margin-bottom: 4px; }
.timeline-line { font-size: 13.5px; color: #666; line-height: 1.7; }

/* ---------- 联系我们：深色卡片 ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.contact-card { background: var(--dark-card); border-radius: var(--radius); overflow: hidden; }
.contact-head { padding: 20px 26px 14px; }
.contact-title { font-size: 20px; color: var(--primary); display: block; }
.contact-sub { font-size: 12px; letter-spacing: 3px; color: var(--muted-blue); opacity: 0.7; }
.contact-body { background: rgba(255, 255, 255, 0.05); padding: 14px 26px 20px; }
.contact-line { font-size: 14px; color: #dfe5ea; margin-bottom: 6px; }
.contact-desc { font-size: 12.5px; color: #8b95a9; line-height: 1.8; }
.contact-qr {
  margin-top: 36px; background: var(--dark-card); border-radius: var(--radius);
  color: #fff; display: flex; align-items: center; gap: 28px; padding: 28px 36px;
}
.contact-qr img { width: 124px; height: 124px; background: #fff; padding: 6px; }
.contact-qr h3 { font-size: 19px; font-weight: 400; color: var(--primary); margin-bottom: 6px; }
.contact-qr p { color: #8b95a9; font-size: 13px; }

/* ---------- 排行榜 ---------- */
.rank-hero {
  background: url('/img/hero-bg.svg') center/cover no-repeat, linear-gradient(180deg, #7dbbe0, #4d9ccf);
  color: #fff; padding: 46px 0;
}
.rank-hero-sm { padding: 36px 0; }
.rank-hero-inner { text-align: center; }
.rank-hero h1 { font-size: 30px; font-weight: 400; letter-spacing: 3px; margin-bottom: 4px; }
.rank-hero p { color: rgba(255, 255, 255, 0.85); margin-bottom: 18px; font-size: 14px; }
.search-bar {
  display: flex; align-items: center; background: #fff; border-radius: 4px;
  max-width: 560px; margin: 16px auto 0; padding: 4px 4px 4px 16px; color: var(--text-light);
}
.search-bar input {
  flex: 1; border: none; outline: none; font-size: 14px; padding: 8px 10px; color: var(--text);
  background: transparent;
}
.search-bar button {
  background: var(--primary-strong); border: none; color: #fff;
  padding: 9px 28px; border-radius: 4px; cursor: pointer; font-size: 14px;
}
.search-bar button:hover { background: var(--link-blue); }

.rank-body { background: var(--bg); }
.rank-layout { display: flex; gap: 18px; align-items: flex-start; }
.rank-sidebar {
  width: 148px; flex-shrink: 0; background: #fff; border-radius: var(--radius);
  border: 1px solid var(--line); padding: 8px; position: sticky; top: 70px;
  max-height: calc(100vh - 90px); overflow-y: auto;
}
.rank-side-item {
  display: block; padding: 8px 14px; font-size: 14px; color: var(--text);
  border-left: 3px solid transparent; transition: all 0.15s;
}
.rank-side-item:hover { color: var(--link-blue); }
.rank-side-item.active { color: var(--link-blue); border-left-color: var(--link-blue); background: rgba(38, 159, 239, 0.06); }
.rank-content { flex: 1; min-width: 0; }
.rank-subgroup { background: #fff; border-radius: var(--radius); border: 1px solid var(--line); padding: 22px; margin-bottom: 16px; }
.rank-subgroup-title { font-size: 17px; font-weight: 400; color: var(--slate); margin-bottom: 16px; }
.rank-cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 12px; }
.rank-cat-card { text-align: center; padding: 12px 6px; transition: all 0.2s; font-size: 13px; color: var(--text); border-radius: var(--radius); }
.rank-cat-card:hover { color: var(--link-blue); box-shadow: 0 4px 14px rgba(84, 109, 126, 0.14); transform: translateY(-2px); }
.rank-cat-card img { width: 60px; height: 60px; margin: 0 auto 6px; object-fit: contain; }
.rank-cat-card em { display: block; font-style: normal; font-size: 12px; color: var(--text-light); margin-top: 2px; }
.search-count { margin-bottom: 16px; color: var(--text-light); }
.search-grid { background: #fff; border-radius: var(--radius); border: 1px solid var(--line); padding: 22px; }

/* 排行详情 */
.detail-layout { display: flex; gap: 18px; align-items: flex-start; }
.detail-sidebar { width: 240px; flex-shrink: 0; position: sticky; top: 70px; }
.list-tabs {
  display: flex; background: #fff; border-radius: var(--radius);
  border: 1px solid var(--line); overflow: hidden; margin-bottom: 12px;
}
.list-tabs a { flex: 1; text-align: center; padding: 10px 0; font-size: 14px; color: var(--text); transition: all 0.15s; }
.list-tabs a:hover { color: var(--link-blue); }
.list-tabs a.active { background: var(--primary-strong); color: #fff; }
.brand-quicklist {
  background: #fff; border-radius: var(--radius); border: 1px solid var(--line);
  padding: 8px; max-height: calc(100vh - 170px); overflow-y: auto;
}
.brand-quick-item {
  display: flex; justify-content: space-between; align-items: center;
  padding: 8px 12px; font-size: 13px; color: var(--text); transition: all 0.15s;
}
.brand-quick-item:hover { color: var(--link-blue); background: rgba(38, 159, 239, 0.05); }
.brand-quick-item b { color: var(--primary); font-weight: 400; }
.detail-content { flex: 1; min-width: 0; }
.detail-dims { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.dim-chip {
  background: #fff; border: 1px solid var(--line); border-radius: 3px;
  font-size: 13px; padding: 4px 14px; color: var(--text);
}
.dim-main { background: var(--primary-strong); border-color: var(--primary-strong); color: #fff; }
.statement {
  background: #fff; border: 1px solid var(--line); border-left: 3px solid var(--primary);
  color: var(--slate); border-radius: 3px; font-size: 13px; padding: 10px 14px; margin-bottom: 18px;
}
.brand-card {
  background: #fff; border-radius: var(--radius); border: 1px solid var(--line);
  padding: 24px; margin-bottom: 16px; scroll-margin-top: 80px;
}
.brand-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; }
.brand-rank { display: flex; align-items: center; gap: 12px; }
.brand-rank-num {
  min-width: 40px; height: 40px; border-radius: 4px; background: var(--bg);
  color: var(--text-light); font-size: 20px; font-weight: 300;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0; padding: 0 8px;
}
.brand-rank-num.top3 { background: var(--primary-strong); color: #fff; }
.brand-name { font-size: 19px; color: var(--slate); }
.brand-country { font-size: 13px; color: var(--text-light); }
.brand-img { width: 120px; height: 78px; object-fit: contain; flex-shrink: 0; }
.brand-scores {
  display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 12px 0;
}
.score-item { flex: 1; min-width: 78px; text-align: center; padding: 6px 4px; }
.score-item b { display: block; font-size: 20px; font-weight: 400; color: var(--primary); }
.score-item span { font-size: 12px; color: var(--text-light); }
.score-main { background: rgba(97, 166, 211, 0.08); border-radius: 4px; }
.score-main b { font-size: 26px; color: var(--slate); }
.brand-desc { font-size: 14px; color: #555; }
.brand-desc p { margin-bottom: 12px; }
.brand-desc img { border-radius: 4px; margin: 10px 0; }

/* ---------- 获奖榜 ---------- */
.award-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.award-card {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); transition: all 0.25s; display: flex; flex-direction: column;
}
.award-card:hover { box-shadow: 0 8px 24px rgba(84, 109, 126, 0.16); transform: translateY(-3px); }
.award-cover { aspect-ratio: 21/9; overflow: hidden; background: var(--bg); }
.award-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.award-card:hover .award-cover img { transform: scale(1.03); }
.award-body { padding: 18px 22px 22px; }
.award-date { font-size: 13px; color: var(--primary); margin-bottom: 4px; }
.award-title { font-size: 17px; font-weight: 400; color: var(--slate); margin-bottom: 8px; }
.award-summary { font-size: 13.5px; color: var(--text-light); margin-bottom: 12px; }
.award-more { font-size: 13.5px; color: var(--primary); }
.award-card:hover .award-more { color: var(--link-blue); }

.award-detail-layout { display: flex; gap: 20px; align-items: flex-start; }
.award-detail { flex: 1; min-width: 0; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); padding: 32px 36px; }
.breadcrumb { font-size: 13px; color: var(--text-light); margin-bottom: 16px; }
.breadcrumb a:hover { color: var(--link-blue); }
.award-detail-title { font-size: 26px; font-weight: 400; color: var(--slate); margin-bottom: 6px; }
.award-detail-date { color: var(--primary); margin-bottom: 18px; }
.award-detail-cover { border-radius: var(--radius); overflow: hidden; margin-bottom: 22px; }
.rich-text { font-size: 14.5px; color: #555; }
.rich-text p { margin-bottom: 14px; }
.rich-text img { border-radius: 4px; margin: 12px 0; }
.rich-text h2, .rich-text h3 { margin: 18px 0 10px; color: var(--slate); font-weight: 400; }
.award-side { width: 290px; flex-shrink: 0; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); padding: 18px; position: sticky; top: 70px; }
.award-side h3 { font-size: 15px; font-weight: 400; color: var(--slate); margin-bottom: 12px; padding-left: 8px; border-left: 3px solid var(--primary); }
.award-side-item { display: flex; gap: 10px; padding: 10px 0; border-top: 1px solid var(--line); }
.award-side-item img { width: 82px; height: 54px; object-fit: cover; border-radius: 4px; flex-shrink: 0; }
.award-side-title { font-size: 13px; color: var(--text); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.award-side-item:hover .award-side-title { color: var(--link-blue); }
.award-side-date { font-size: 12px; color: var(--text-light); margin-top: 4px; }

/* ---------- 通用 ---------- */
.empty-tip {
  text-align: center; color: var(--text-light); background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius); padding: 56px 20px;
}
.btn {
  display: inline-block; padding: 10px 30px; border-radius: 4px;
  font-size: 14px; transition: all 0.2s; cursor: pointer; border: none;
}
.btn-primary { background: var(--primary-strong); color: #fff; }
.btn-primary:hover { background: var(--link-blue); }
.btn-ghost { border: 1px solid rgba(255, 255, 255, 0.7); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.15); }

/* ---------- 页脚（浅色，参照目标站） ---------- */
.site-footer { background: var(--band-gray); border-top: 1px solid var(--line); padding: 26px 0; color: var(--text-light); }
.footer-links { display: flex; gap: 8px; justify-content: center; margin-bottom: 10px; flex-wrap: wrap; align-items: center; }
.footer-links a { font-size: 13px; color: #666; padding: 0 10px; border-right: 1px solid var(--line); }
.footer-links a:last-child { border-right: none; }
.footer-links a:hover { color: var(--link-blue); }
.footer-meta { text-align: center; font-size: 12px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.footer-meta a { color: var(--text-light); }
.footer-meta a:hover { color: var(--link-blue); }

/* ============ 响应式 ============ */
@media (max-width: 992px) {
  .media-grid, .award-grid { grid-template-columns: 1fr; }
  .timeline-grid { grid-template-columns: repeat(2, 1fr); }
  .award-detail-layout { flex-direction: column; }
  .award-side { width: 100%; position: static; }
  .detail-layout { flex-direction: column; }
  .detail-sidebar { width: 100%; position: static; }
  .brand-quicklist { display: none; }
}

@media (max-width: 768px) {
  .brand-slogan { display: none; }
  .nav-toggle { display: block; }
  .main-nav {
    display: none; position: absolute; left: 0; right: 0; top: 56px;
    background: #fff; flex-direction: column; align-items: stretch;
    padding: 10px 16px 16px; gap: 2px; border-bottom: 1px solid var(--line);
    box-shadow: 0 8px 20px rgba(84, 109, 126, 0.12);
  }
  .main-nav.open { display: flex; }
  .main-nav > a { padding: 12px 12px; color: var(--text); border-bottom: none; }
  .main-nav > a.active { color: var(--link-blue); }
  .header-overlay .main-nav > a { color: var(--text); }
  .header-overlay .main-nav > a.active { color: var(--link-blue); border-bottom: none; }
  .nav-qr { margin-top: 4px; }
  .nav-qr-trigger { justify-content: center; color: var(--primary) !important; }
  .nav-qr-pop {
    position: static; display: none; box-shadow: none; width: 100%;
    border: 1px dashed var(--line); margin-top: 6px;
  }
  .nav-qr.open .nav-qr-pop { display: block; }

  .hero { padding-top: 84px; }
  .hero h1 { font-size: 22px; letter-spacing: 2px; }
  .hero-logo { width: 76px; height: 76px; border-radius: 18px; }
  .hero-desc-row img { display: none; }
  .hero-qr-block { flex-direction: column; max-width: 300px; text-align: center; }
  .hero-qr-img { margin: 0 auto; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 18px 0; }
  .stat-value { font-size: 34px; }
  .section { padding: 44px 0; }
  .section-title { font-size: 24px; margin-bottom: 26px; }
  .creed-line { font-size: 15px; }
  .creed-badge { width: 84px; height: 84px; }
  .timeline-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-qr { flex-direction: column; text-align: center; padding: 24px 18px; }

  .rank-layout { flex-direction: column; }
  .rank-sidebar {
    width: 100%; position: static; max-height: none; display: flex;
    overflow-x: auto; gap: 2px; padding: 6px;
  }
  .rank-side-item { white-space: nowrap; border-left: none; border-bottom: 3px solid transparent; }
  .rank-side-item.active { border-bottom-color: var(--link-blue); }
  .rank-cat-grid { grid-template-columns: repeat(auto-fill, minmax(90px, 1fr)); }
  .rank-hero h1 { font-size: 22px; }

  .brand-img { width: 90px; height: 58px; }
  .brand-name { font-size: 16px; }
  .score-item { min-width: 30%; }
  .award-detail { padding: 22px 18px; }
  .award-detail-title { font-size: 20px; }
}


/* ============ 榜单详情页（参照盖得排行商品榜 1:1） ============ */
.gd-hero { background: linear-gradient(180deg, #5aa2d0, #e9ecef); }
.gd-hero-inner { width: 1128px; max-width: 100%; margin: 0 auto; height: 600px; padding: 48px 0 0; }
.gd-hero-top { display: flex; justify-content: space-between; align-items: center; }
.gd-hero-brand { display: flex; align-items: center; }
.gd-hero-logo { width: 48px; height: 48px; margin-right: 16px; border-radius: 10px; }
.gd-hero-title { font-size: 32px; font-weight: 500; color: #fff; line-height: 1.3; }
.gd-hero-sub { font-size: 16px; color: rgba(255, 255, 255, 0.8); margin-top: 4px; }
.gd-search { display: flex; height: 48px; }
.gd-search-prefix { width: 48px; background: #fff; border-radius: 12px 0 0 12px; display: flex; align-items: center; justify-content: center; }
.gd-search input { width: 330px; border: none; padding: 0 12px; font-size: 16px; color: #333; outline: none; }
.gd-search button { width: 88px; border: none; border-radius: 0 12px 12px 0; background: var(--primary-strong); color: #fff; font-size: 18px; font-weight: 700; cursor: pointer; }
.gd-quotes { display: block; margin: 32px 0 8px; }
.gd-hero-h1 { font-size: 60px; font-weight: 500; color: #fff; line-height: 84px; margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.gd-wrap { width: 1128px; max-width: 100%; margin: -320px auto 0; position: relative; z-index: 2; display: flex; gap: 24px; padding-bottom: 64px; }
.gd-center { width: 816px; flex: none; min-width: 0; }
.gd-right { width: 288px; flex: none; }

/* 左侧图标栏 */
.gd-side { position: absolute; left: -120px; top: 0; width: 96px; }
.gd-side-item { display: flex; flex-direction: column; align-items: center; padding: 28px 0; background: #314354; color: #fff; font-size: 16px; border-top: 1px solid rgba(255, 255, 255, 0.08); }
.gd-side-item:first-child { border-radius: 12px 12px 0 0; border-top: none; }
.gd-side-item:last-child { border-radius: 0 0 12px 12px; }
.gd-side-item span { margin-top: 6px; opacity: 0.5; }
.gd-side-item:hover, .gd-side-item.on { background: var(--primary); }
.gd-side-item:hover span, .gd-side-item.on span { opacity: 1; }

/* 榜单类型切换卡 */
.gd-tabs { display: flex; position: relative; margin-bottom: 24px; }
.gd-tabs::after { content: ""; position: absolute; bottom: 0; left: 0; right: 0; height: 4px; background: var(--primary); }
.gd-tab { flex: 1; height: 52px; background: var(--primary); border-radius: 12px 12px 0 0; margin-left: 8px; font-size: 20px; font-weight: 500; color: #fff; display: flex; align-items: center; justify-content: center; position: relative; }
.gd-tab:first-child { margin-left: 0; }
.gd-tab.on { background: #fff; color: var(--primary-strong); z-index: 1; }
.gd-tab.on::after { content: ""; position: absolute; bottom: -20px; left: calc(50% - 12px); width: 0; height: 0; border: 12px solid transparent; border-top: 12px solid #fff; }

/* 白色面板：维度 + 声明 + 条形榜 */
.gd-panel { background: #fff; border-radius: 12px; padding: 0 24px 28px; }
.gd-dims { display: flex; border-bottom: 2px solid #e9ecef; padding: 22px 0 14px; overflow-x: auto; white-space: nowrap; }
.gd-dims::-webkit-scrollbar { display: none; }
.gd-dim { font-size: 18px; font-weight: 500; color: #666; padding: 0 24px; cursor: pointer; position: relative; }
.gd-dim:first-child { padding-left: 0; }
.gd-dim.on { color: var(--primary-strong); }
.gd-dim.on::after { content: ""; position: absolute; bottom: -14px; left: calc(50% - 10px); width: 20px; height: 4px; background: var(--primary-strong); border-radius: 2px; box-shadow: 0 2px 4px rgba(38, 159, 239, 0.4); }
.gd-statement { font-size: 12px; color: #999; line-height: 18px; padding: 18px 0; }
.gd-bars { display: flex; flex-direction: column; }
.gd-bar-track { background: #edf0f3; border-radius: 20px; margin-top: 12px; }
.gd-bar-track:first-child { margin-top: 0; }
.gd-bar { display: flex; justify-content: space-between; align-items: center; height: 40px; border-radius: 20px; padding: 0 13px 0 15px; font-size: 16px; font-weight: 500; color: #fff; background: linear-gradient(90deg, #9cc4de, #b8d6e9); box-shadow: 0 2px 6px rgba(84, 109, 126, 0.12); transition: width 1s, transform 0.2s, box-shadow 0.2s; min-width: 120px; }
.gd-bar.gd-r1 { background: linear-gradient(90deg, #f1564a, #f77f66); box-shadow: 0 4px 14px rgba(241, 86, 74, 0.32); }
.gd-bar.gd-r2 { background: linear-gradient(90deg, #e7933e, #f2b268); box-shadow: 0 3px 10px rgba(231, 147, 62, 0.3); }
.gd-bar.gd-r3 { background: linear-gradient(90deg, #43b581, #6fd39d); box-shadow: 0 3px 10px rgba(67, 181, 129, 0.3); }
.gd-bar:hover { color: #fff; transform: translateY(-1px); box-shadow: 0 6px 16px rgba(84, 109, 126, 0.2); }
.gd-bar-name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gd-bar-val { font-weight: 600; font-variant-numeric: tabular-nums; }

/* 品牌详情卡 */
.gd-brand { background: #fff; border-radius: 12px; padding: 24px; margin-top: 24px; }
.gd-brand-head { display: flex; justify-content: space-between; align-items: center; color: var(--slate); }
.gd-brand-id { display: flex; align-items: center; }
.gd-rank-badge { position: relative; width: 48px; height: 48px; margin-right: 8px; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.gd-rank-badge img { width: 48px; height: 48px; position: absolute; inset: 0; }
.gd-rank-badge b { position: relative; font-size: 24px; line-height: 1; color: var(--primary-strong); }
.gd-brand-name { font-size: 20px; font-weight: 500; line-height: 24px; }
.gd-brand-country { font-size: 16px; line-height: 20px; margin-top: 3px; }
.gd-brand-logo { width: 96px; height: 56px; border: 1px solid #eee; border-radius: 8px; background: #fff; display: flex; align-items: center; justify-content: center; flex: none; }
.gd-brand-logo img { max-width: 50px; max-height: 50px; border-radius: 8px; object-fit: contain; }
.gd-chips { display: flex; gap: 8px; margin-top: 20px; flex-wrap: wrap; }
.gd-chip { min-width: 96px; height: 68px; background: #f8f8f8; border: 1px solid #e8e8e8; border-radius: 8px; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.gd-chip b { font-size: 18px; color: #333; line-height: 1.2; }
.gd-chip span { font-size: 15px; font-weight: 500; color: #666; line-height: 18px; margin-top: 4px; }
.gd-chip-main { background: linear-gradient(135deg, #4d9ccf, #61a6d3); border-color: transparent; box-shadow: 0 4px 12px rgba(77, 156, 207, 0.3); }
.gd-chip-main b { font-size: 22px; color: #fff; }
.gd-chip-main span { color: rgba(255, 255, 255, 0.85); }
.gd-desc-wrap { position: relative; }
.gd-desc { margin: 16px 0 2px; font-size: 16px; color: #666; line-height: 28px; }
.gd-desc p { margin-bottom: 12px; font-size: 16px; color: #666; line-height: 28px; }
.gd-desc p:last-child { margin-bottom: 0; }
.gd-desc.clamped { display: -webkit-box; -webkit-line-clamp: 8; -webkit-box-orient: vertical; overflow: hidden; }
.gd-desc-wrap.clamped::after { content: ""; position: absolute; bottom: 34px; left: 0; right: 0; height: 100px; background: linear-gradient(180deg, rgba(255, 255, 255, 0), #fff); pointer-events: none; }
.gd-desc-toggle { display: none; align-items: center; justify-content: center; gap: 3px; font-size: 15px; font-weight: 500; color: #666; cursor: pointer; padding-top: 8px; position: relative; }
.gd-desc-wrap.clamped .gd-desc-toggle, .gd-desc-wrap.expanded .gd-desc-toggle { display: flex; }
.gd-desc-wrap.expanded::after { display: none; }
.gd-desc-wrap.expanded .gd-desc-toggle svg { transform: rotate(180deg); }

/* 旗舰店 / 单品推荐 / 优惠券 */
.gd-ext { margin-top: 24px; background: rgba(235, 245, 253, 0.2); border: 1px solid rgba(83, 123, 150, 0.15); border-radius: 8px; }
.gd-ext-head { display: flex; align-items: center; gap: 4px; padding: 14px 12px 12px 16px; background: #ebf5fd; border-bottom: 1px solid #dee7ef; border-radius: 8px 8px 0 0; font-size: 18px; font-weight: 500; color: #333; }
.gd-ext-head-between { justify-content: space-between; }
.gd-ext-head-l { display: flex; align-items: center; gap: 4px; }
.gd-ext-more { font-size: 15px; font-weight: 500; color: #333; }
.gd-shops { display: flex; flex-wrap: wrap; padding-bottom: 20px; padding-right: 16px; }
.gd-shop { display: flex; justify-content: space-between; align-items: center; width: 236px; height: 48px; padding: 10px 16px; margin: 16px 0 0 14px; background: #f9e1e1; border-radius: 8px; box-sizing: border-box; }
.gd-shop-l { display: flex; align-items: center; gap: 8px; }
.gd-shop-name { font-size: 16px; font-weight: 500; color: #ef4135; }
.gd-shop-btn { width: 48px; height: 28px; background: #ef4135; border-radius: 14px; font-size: 14px; font-weight: 500; color: #fff; display: flex; align-items: center; justify-content: center; }
.gd-plat { display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; border-radius: 4px; font-size: 11px; font-weight: 700; font-style: normal; color: #fff; flex: none; }
.gd-plat-big { width: 32px; height: 32px; font-size: 14px; margin: 8px; }
.gd-plat-jd { background: #ef4135; }
.gd-plat-tb { background: #ff8500; }
.gd-plat-shop { background: var(--primary); }
.gd-prods { display: flex; padding: 20px 12px; gap: 13px; }
.gd-prod { width: 240px; flex: none; }
.gd-prod-img { width: 240px; height: 240px; border: 1px solid #eee; border-radius: 12px 12px 0 0; object-fit: cover; background: #fff; display: block; box-sizing: border-box; }
.gd-prod-body { height: 136px; padding: 13.5px 16px 16px; border: 1px solid #eee; border-top: none; border-radius: 0 0 12px 12px; box-sizing: border-box; }
.gd-prod-title { height: 42px; font-size: 16px; color: #333; line-height: 21px; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.gd-prod-price { margin-top: 8px; font-size: 20px; font-weight: 500; color: #ef4135; line-height: 24px; }
.gd-prod-price span { font-size: 14px; }
.gd-prod-tag { margin-top: 8px; display: inline-block; background: linear-gradient(90deg, #2f323f 5%, #1f2029 95%); padding: 4.5px 5px 3.5px; border-radius: 4px; font-size: 12px; font-weight: 500; color: #e6bd71; line-height: 16px; }
.gd-coupons { margin-top: 24px; }
.gd-coupons-title { font-size: 16px; font-weight: 500; color: #333; }
.gd-coupons-row { display: flex; flex-wrap: wrap; gap: 14px 24px; }
.gd-coupon { display: flex; width: 372px; height: 46px; margin-top: 0; }
.gd-coupons-row .gd-coupon { margin-top: 14px; }
.gd-coupon-info { flex: 1; display: flex; align-items: center; background: rgba(203, 167, 115, 0.1); border: 1px solid rgba(203, 167, 115, 0.5); border-right: none; border-radius: 8px 0 0 8px; font-size: 16px; font-weight: 500; color: #9a7474; padding-right: 12px; min-width: 0; }
.gd-coupon-info span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gd-coupon-grab { width: 118px; flex: none; display: flex; align-items: center; justify-content: center; background: #ffde00; border-radius: 0 8px 8px 0; font-size: 16px; font-weight: 500; color: #ef4135; }

/* 型号榜视图 */
.gd-mtabs { display: flex; background: #fff; border-radius: 12px; padding: 22px 28px 20px; overflow-x: auto; white-space: nowrap; margin-bottom: 24px; }
.gd-mtabs::-webkit-scrollbar { display: none; }
.gd-mtab { font-size: 18px; font-weight: 500; color: #666; padding: 0 23px; position: relative; }
.gd-mtab:first-child { padding-left: 0; }
.gd-mtab.on { color: var(--primary-strong); }
.gd-mtab.on::after { content: ""; position: absolute; bottom: -16px; left: calc(50% - 10px); width: 20px; height: 4px; background: var(--primary-strong); border-radius: 2px; box-shadow: 0 2px 4px rgba(38, 159, 239, 0.4); }
.gd-mcard { background: #fff; border-radius: 12px; padding: 24px; margin-top: 24px; scroll-margin-top: 80px; }
.gd-mcard:first-of-type { margin-top: 0; }
.gd-mcard-title { font-size: 20px; font-weight: 500; color: #333; margin-bottom: 8px; }
.gd-model { display: flex; align-items: flex-start; margin-top: 24px; }
.gd-model-no { width: 104px; height: 48px; flex: none; background: linear-gradient(135deg, #4d9ccf, #61a6d3); border-radius: 20px; border-bottom-right-radius: 50%; border-bottom-left-radius: 0; transform: translateY(12px); z-index: 1; font-size: 20px; font-weight: 500; color: #fff; display: flex; align-items: center; justify-content: center; margin-right: -24px; }
.gd-model-img { width: 120px; height: 120px; flex: none; border: 1px solid #eee; border-radius: 12px; object-fit: cover; background: #fff; z-index: 2; }
.gd-model-info { margin-left: 16px; min-width: 0; padding-top: 4px; }
.gd-model-name { display: block; font-size: 20px; font-weight: 500; color: #333; line-height: 24px; }
.gd-model-sub { display: block; font-size: 15px; color: #999; line-height: 19px; margin-top: 4px; }
.gd-model-price { display: block; font-size: 18px; font-weight: 500; color: #ef4135; line-height: 22px; margin-top: 8px; }
.gd-model-price i { font-size: 13px; font-style: normal; }
.gd-prod-tag-inline { margin-left: 8px; font-style: normal; }

/* 右栏：型号榜速览 */
.gd-mods { background: #fff; border-radius: 12px; padding: 22px 16px 20px; }
.gd-side-h { font-size: 20px; font-weight: 500; color: #333; line-height: 24px; }
.gd-mg { margin-top: 16px; background: #f5f9fd; border: 1px solid rgba(83, 123, 150, 0.05); border-radius: 8px; padding: 10px 12px; }
.gd-mg-head { display: flex; justify-content: space-between; align-items: center; font-size: 16px; color: #333; cursor: pointer; }
.gd-mg.open .gd-mg-head span { font-weight: 600; }
.gd-mg-arrow { transition: transform 0.25s; }
.gd-mg.open .gd-mg-arrow { transform: rotate(180deg); }
.gd-mg-body { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.gd-mg.open .gd-mg-body { max-height: 600px; }
.gd-mg-item { display: flex; margin-top: 15px; }
.gd-mg-item:first-child { margin-top: 15px; }
.gd-mg-img { position: relative; width: 40px; height: 40px; flex: none; margin-right: 10px; }
.gd-mg-img img { width: 40px; height: 40px; border-radius: 8px; object-fit: cover; display: block; }
.gd-ribbon { position: absolute; top: 0; left: 0; width: 15px; height: 22px; font-size: 11px; font-weight: 700; font-style: normal; color: #fff; display: flex; align-items: flex-start; justify-content: center; padding-top: 2px; box-sizing: border-box; clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 78%, 0 100%); border-radius: 3px 3px 0 0; }
.gd-ribbon-1 { background: #269fef; }
.gd-ribbon-2 { background: #4d9ccf; }
.gd-ribbon-3 { background: #6fb1da; }
.gd-ribbon { background: #9cc4de; }
.gd-ribbon-1, .gd-ribbon-2, .gd-ribbon-3 { z-index: 1; }
.gd-mg-desc { min-width: 0; }
.gd-mg-name { display: block; font-size: 15px; color: #333; line-height: 19px; }
.gd-mg-sub { display: block; font-size: 14px; color: #999; line-height: 18px; margin-top: 2px; }
.gd-mg-more { display: block; text-align: center; font-size: 14px; font-weight: 500; color: var(--primary-strong); margin-top: 12px; }

/* 右栏：知识百科 */
.gd-wiki { background: #fff; border-radius: 12px; padding: 22px 16px; margin-top: 24px; }
.gd-wiki-item { display: block; font-size: 15px; color: #333; line-height: 19px; margin-top: 14px; padding-bottom: 13px; border-bottom: 1px solid #e9ecef; }
.gd-wiki-item:last-child { border-bottom: none; padding-bottom: 0; }
.gd-wiki-item:hover { color: var(--primary-strong); }

/* ---------- 榜单详情页响应式 ---------- */
@media (max-width: 1300px) {
  .gd-side { position: static; width: 100%; display: flex; margin-bottom: 20px; order: -1; }
  .gd-side-item { flex: 1; flex-direction: row; justify-content: center; gap: 6px; padding: 12px 0; border-top: none; border-left: 1px solid rgba(255, 255, 255, 0.08); font-size: 14px; }
  .gd-side-item span { margin-top: 0; opacity: 0.8; }
  .gd-side-item:first-child { border-radius: 12px 0 0 12px; border-left: none; }
  .gd-side-item:last-child { border-radius: 0 12px 12px 0; }
  .gd-wrap { flex-wrap: wrap; }
}
@media (max-width: 1160px) {
  .gd-hero-inner, .gd-wrap { width: 100%; padding-left: 20px; padding-right: 20px; box-sizing: border-box; }
  .gd-center { width: 100%; flex: 1 1 auto; }
  .gd-hero-h1 { font-size: 44px; line-height: 60px; }
}
@media (max-width: 992px) {
  .gd-right { width: 100%; }
  .gd-prods { flex-wrap: wrap; }
  .gd-prod { width: calc(33.33% - 9px); }
  .gd-prod-img { width: 100%; height: auto; aspect-ratio: 1; }
  .gd-coupon { width: 100%; }
}
@media (max-width: 768px) {
  .gd-hero-inner { height: auto; min-height: 0; padding-top: 28px; padding-bottom: 150px; }
  .gd-hero-top { flex-direction: column; align-items: stretch; gap: 18px; }
  .gd-search input { flex: 1; width: auto; min-width: 0; }
  .gd-quotes { margin-top: 36px; }
  .gd-hero-h1 { font-size: 32px; line-height: 42px; white-space: normal; }
  .gd-wrap { margin-top: -110px; }
  .gd-side { overflow-x: auto; }
  .gd-side-item { font-size: 13px; white-space: nowrap; padding: 12px 8px; }
  .gd-side-item svg { width: 20px; height: 19px; }
  .gd-tab { font-size: 16px; height: 46px; }
  .gd-dim { font-size: 16px; padding: 0 14px; }
  .gd-bar { font-size: 14px; height: 36px; padding: 0 12px; }
  .gd-brand { padding: 16px; }
  .gd-chip { min-width: calc(33.33% - 6px); height: 60px; }
  .gd-shop { width: 100%; margin-left: 0; }
  .gd-shops { padding-right: 12px; }
  .gd-prod { width: 100%; }
  .gd-model-no { width: 72px; height: 40px; font-size: 16px; margin-right: -16px; }
  .gd-model-img { width: 88px; height: 88px; }
  .gd-model-name { font-size: 16px; }
  .gd-coupon-info { font-size: 14px; }
  .gd-coupon-grab { width: 96px; font-size: 14px; }
}


/* ============ 排行榜页（参照盖得排行 /ranking 1:1） ============ */
.rk-page { background: #e9ecef; }
.rk-hero { background: url('/img/rank-hero-bg.svg') bottom center / cover no-repeat, linear-gradient(180deg, #4d9ccf, #a8d7f8); }
.rk-hero-in { width: 1128px; max-width: 100%; margin: 0 auto; padding: 200px 0 130px; text-align: center; }
.rk-logo { width: 168px; height: 168px; border-radius: 36px; margin: 0 auto; }
.rk-title { font-size: 56px; font-weight: 500; color: #fff; margin: 38px 0 27px; line-height: 1.2; }
.rk-desc-row { display: flex; justify-content: center; align-items: flex-start; }
.rk-feather { width: 56px; height: auto; opacity: 0.95; }
.rk-feather:first-child { transform: translateX(13px); }
.rk-feather:last-child { transform: translateX(-13px); }
.rk-desc { width: 946px; max-width: 100%; font-size: 18px; color: #fff; line-height: 32px; text-align: center; margin: 0; }
.rk-search { display: flex; height: 64px; margin-top: 73px; }
.rk-search-prefix { width: 64px; background: #fff; border-radius: 12px 0 0 12px; display: flex; align-items: center; justify-content: center; }
.rk-search input { flex: 1; min-width: 0; border: none; padding: 0 16px; font-size: 16px; color: #333; outline: none; }
.rk-search button { width: 188px; border: none; border-radius: 0 12px 12px 0; background: var(--primary-strong); color: #fff; font-size: 18px; font-weight: 700; cursor: pointer; }

.rk-body { width: 1128px; max-width: 100%; margin: -70px auto 0; position: relative; z-index: 2; padding-bottom: 64px; }
.rk-cards { display: flex; gap: 12px; margin-bottom: 32px; }
.rk-card { position: relative; width: 216px; height: 104px; border-radius: 12px; padding: 18px; box-sizing: border-box; color: #fff; display: flex; flex-direction: column; }
.rk-card:hover { color: #fff; }
.rk-card.on { height: 134px; }
.rk-card.on::after { content: ""; position: absolute; bottom: 0; left: 50%; transform: translate(-50%, 100%); width: 0; height: 0; border: 10px solid transparent; }
.rk-card-blue { background: linear-gradient(135deg, #61a6d3, #4d9ccf); }
.rk-card-blue.on::after { border-top: 12px solid #4d9ccf; }
.rk-card-purple { background: linear-gradient(135deg, #a395e0, #8b7ad4); }
.rk-card-purple.on::after { border-top: 12px solid #8b7ad4; }
.rk-card-teal { background: linear-gradient(135deg, #5ec2b0, #43a692); }
.rk-card-teal.on::after { border-top: 12px solid #43a692; }
.rk-card-orange { background: linear-gradient(135deg, #f0b26b, #e89a4a); }
.rk-card-orange.on::after { border-top: 12px solid #e89a4a; }
.rk-card-rose { background: linear-gradient(135deg, #ec9bb0, #e07f9a); }
.rk-card-rose.on::after { border-top: 12px solid #e07f9a; }
.rk-card-green { background: linear-gradient(135deg, #8cc084, #6fae66); }
.rk-card-green.on::after { border-top: 12px solid #6fae66; }
.rk-card-title { font-size: 20px; font-weight: 500; line-height: 24px; margin-bottom: 8px; }
.rk-card-sub { font-size: 14px; color: rgba(255, 255, 255, 0.85); line-height: 18px; }
.rk-card-wm { position: absolute; right: 8px; bottom: 8px; width: 64px; height: 64px; opacity: 0.22; pointer-events: none; }
.rk-card-wm svg { width: 100%; height: 100%; }

.rk-main { display: flex; gap: 24px; align-items: flex-start; }
.rk-side { width: 120px; flex: none; background: #fff; border-radius: 12px; }
.rk-side-in { padding: 30px 24px; }
.rk-side-item { display: block; font-size: 16px; color: #666; line-height: 20px; margin-bottom: 28px; position: relative; }
.rk-side-item:last-child { margin-bottom: 0; }
.rk-side-item.on { color: var(--primary-strong); font-weight: 500; }
.rk-side-item.on::before { content: ""; position: absolute; left: -12px; top: 50%; transform: translateY(-50%); width: 4px; height: calc(100% - 4px); background: var(--primary-strong); border-radius: 2px; box-shadow: 0 0 8px rgba(38, 159, 239, 0.4); }
.rk-panel { flex: 1; min-width: 0; background: #fff; border-radius: 12px; padding: 32px 24px; }
.rk-cat { margin-top: 24px; }
.rk-cat:first-child { margin-top: 0; }
.rk-cat-title { font-size: 20px; font-weight: 600; color: #333; line-height: 24px; margin: 0 0 24px; }
.rk-grid { display: flex; flex-wrap: wrap; gap: 16px; }
.rk-tile { width: 120px; height: 168px; background: #fafafa; border: 1px solid #eee; border-radius: 12px; padding: 16px; box-sizing: border-box; display: flex; flex-direction: column; align-items: center; }
.rk-tile:hover { border-color: var(--primary); }
.rk-tile-img { width: 88px; height: 88px; object-fit: contain; margin-bottom: 5px; }
.rk-tile-name { font-size: 16px; color: #666; text-align: center; line-height: 18px; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }

/* ---------- 排行榜页响应式 ---------- */
@media (max-width: 1160px) {
  .rk-hero-in, .rk-body { width: 100%; padding-left: 20px; padding-right: 20px; box-sizing: border-box; }
  .rk-title { font-size: 42px; }
}
@media (max-width: 768px) {
  .rk-hero-in { padding: 116px 16px 110px; }
  .rk-logo { width: 96px; height: 96px; border-radius: 22px; }
  .rk-title { font-size: 28px; margin: 24px 0 18px; }
  .rk-feather { display: none; }
  .rk-desc { width: 100%; font-size: 14px; line-height: 24px; }
  .rk-search { height: 52px; margin-top: 40px; }
  .rk-search-prefix { width: 48px; }
  .rk-search button { width: 110px; font-size: 16px; }
  .rk-body { margin-top: -60px; }
  .rk-cards { flex-direction: column; }
  .rk-card, .rk-card.on { width: 100%; height: auto; min-height: 96px; }
  .rk-card.on::after { display: none; }
  .rk-main { flex-direction: column; }
  .rk-side { width: 100%; }
  .rk-side-in { padding: 10px 12px; display: flex; overflow-x: auto; gap: 4px; }
  .rk-side-item { flex: none; margin: 0; padding: 8px 12px; white-space: nowrap; }
  .rk-side-item.on::before { left: 12px; right: 12px; top: auto; bottom: 2px; transform: none; width: auto; height: 3px; }
  .rk-panel { width: 100%; padding: 20px 14px; box-sizing: border-box; }
  .rk-tile { width: calc(33.33% - 11px); height: auto; min-height: 140px; padding: 12px 8px; }
  .rk-tile-img { width: 64px; height: 64px; }
  .rk-tile-name { font-size: 14px; }
}
