/* ======================================================================
   geotrend.css —— /GeoTrend「GEO引用来源倾向」（由 geotrend.scss 编译）
   视觉参照爱搜同名板块，配色科技蓝。改样式请改 .scss 后重新编译。
   ====================================================================== */
.zt-wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 48px 24px 64px;
}
.zt-wrap.zt-embed {
  padding: 0;
}
.zt-wrap .zt-head {
  text-align: center;
}
.zt-wrap .zt-head .zt-title {
  margin: 0;
  font-size: 32px;
  font-weight: 700;
  color: #0f172a;
}
.zt-wrap .zt-head .zt-sub {
  margin: 10px 0 0;
  font-size: 14px;
  color: #64748b;
}
.zt-wrap .zt-filters {
  margin-top: 28px;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  align-items: center;
}
.zt-wrap .zt-row-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.zt-wrap .zt-row-filter .zt-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid #dbe6ff;
  background: #eef4ff;
  color: #1e40af;
  font-size: 14px;
  line-height: 1.4;
  cursor: pointer;
  transition: border-color .15s, box-shadow .15s, background .15s, color .15s;
}
.zt-wrap .zt-row-filter .zt-pill:hover {
  border-color: #93c5fd;
}
.zt-wrap .zt-row-filter .zt-pill.active {
  background: linear-gradient(135deg, #2563eb, #0ea5e9);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 12px rgba(37, 99, 235, .25);
}
.zt-wrap .zt-row-filter .zt-pill.zt-more {
  background: #fff;
}
.zt-wrap .zt-row-filter .zt-pill.zt-extra {
  display: none;
}
.zt-wrap .zt-row-filter .zt-pill.zt-extra.zt-show {
  display: inline-block;
}
.zt-wrap .zt-time-dd {
  position: relative;
}
.zt-wrap .zt-time-dd.open .zt-time-menu {
  display: block;
}
.zt-wrap .zt-time-dd .zt-time-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid #dbe6ff;
  background: #eef4ff;
  color: #1e40af;
  font-size: 14px;
  line-height: 1.4;
  cursor: pointer;
  transition: border-color .15s, box-shadow .15s, background .15s, color .15s;
}
.zt-wrap .zt-time-dd .zt-time-btn .zt-caret {
  font-size: 11px;
  opacity: .7;
}
.zt-wrap .zt-time-dd .zt-time-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 132px;
  margin: 0;
  padding: 6px;
  list-style: none;
  background: #fff;
  border: 1px solid #e6edf7;
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(29, 78, 216, .12);
  z-index: 20;
  display: none;
}
.zt-wrap .zt-time-dd .zt-time-menu li {
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 14px;
  color: #1e40af;
  cursor: pointer;
}
.zt-wrap .zt-time-dd .zt-time-menu li:hover {
  background: #eef4ff;
}
.zt-wrap .zt-time-dd .zt-time-menu li.active {
  background: #eef4ff;
  color: #2563eb;
  font-weight: 600;
}
.zt-wrap .zt-plat-logo {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--pc, #2563eb);
  color: #fff;
  font-size: 10px;
  font-style: normal;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.zt-wrap .zt-card {
  margin-top: 24px;
  background: #fff;
  border: 1px solid #e6edf7;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(29, 78, 216, .06);
  padding: 28px;
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 24px;
  align-items: start;
}
.zt-wrap .zt-chart {
  position: relative;
}
.zt-wrap .zt-chart svg {
  display: block;
  width: 100%;
  height: auto;
}
.zt-wrap .zt-chart .zt-center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.zt-wrap .zt-chart .zt-center b {
  font-size: 18px;
  color: #0f172a;
}
.zt-wrap .zt-chart .zt-center span {
  font-size: 12px;
  color: #94a3b8;
  margin-top: 4px;
}
.zt-wrap .zt-lists {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0 22px;
  align-content: start;
}
.zt-wrap .zt-col {
  min-width: 0;
}
.zt-wrap .zt-col .zt-thead {
  display: flex;
  gap: 10px;
  font-size: 12px;
  color: #94a3b8;
  padding-bottom: 8px;
}
.zt-wrap .zt-col .zt-thead span:first-child {
  flex: 1;
}
.zt-wrap .zt-item {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 0;
  border-bottom: 1px dashed #eef2f7;
}
.zt-wrap .zt-item .zt-rank {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f1f5f9;
  color: #64748b;
  flex: none;
}
.zt-wrap .zt-item .zt-rank.r1 {
  background: linear-gradient(135deg, #2563eb, #0ea5e9);
  color: #fff;
}
.zt-wrap .zt-item .zt-rank.r2 {
  background: #60a5fa;
  color: #fff;
}
.zt-wrap .zt-item .zt-rank.r3 {
  background: #93c5fd;
  color: #fff;
}
.zt-wrap .zt-item .zt-media {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #0f172a;
  white-space: nowrap;
  overflow: hidden;
}
.zt-wrap .zt-item .zt-media .zt-avatar {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  color: #fff;
  font-size: 11px;
  font-style: normal;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  background: var(--ac, #2563eb);
}
.zt-wrap .zt-item .zt-bar {
  width: 44px;
  height: 5px;
  border-radius: 3px;
  background: #eef2f7;
  overflow: hidden;
  flex: none;
}
.zt-wrap .zt-item .zt-bar i {
  display: block;
  height: 100%;
  border-radius: 3px;
  background: linear-gradient(90deg, #2563eb, #0ea5e9);
}
.zt-wrap .zt-item .zt-pct {
  width: 34px;
  text-align: right;
  font-size: 13px;
  font-weight: 600;
  color: #2563eb;
  flex: none;
}
.zt-wrap .zt-note {
  margin-top: 28px;
  background: #fff;
  border: 1px solid #e6edf7;
  border-radius: 16px;
  padding: 28px;
  font-size: 14px;
  line-height: 1.9;
  color: #334155;
}
.zt-wrap .zt-note h2 {
  font-size: 18px;
  color: #0f172a;
  margin: 0 0 12px;
}
.zt-wrap .zt-note h2:not(:first-child) {
  margin-top: 24px;
}
.zt-wrap .zt-note a {
  color: #2563eb;
}
.zt-wrap .zt-note .zt-faq h3 {
  font-size: 15px;
  color: #0f172a;
  margin: 16px 0 6px;
}
.zt-wrap .zt-note .zt-faq p {
  margin: 0;
}
.zt-wrap .zt-note .zt-cta {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.zt-wrap .zt-note .zt-cta .zt-btn {
  display: inline-block;
  padding: 10px 22px;
  border-radius: 10px;
  background: linear-gradient(135deg, #2563eb, #0ea5e9);
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  box-shadow: 0 6px 16px rgba(37, 99, 235, .25);
}
.zt-wrap .zt-note .zt-cta .zt-btn.zt-btn-ghost {
  background: #fff;
  color: #2563eb;
  border: 1px solid #93c5fd;
  box-shadow: none;
}

@media (max-width: 1024px) {
  .zt-wrap .zt-card {
    grid-template-columns: 1fr;
  }
  .zt-wrap .zt-chart {
    max-width: 320px;
    margin: 0 auto;
    width: 100%;
  }
  .zt-wrap .zt-lists {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .zt-wrap {
    padding: 32px 16px 48px;
  }
  .zt-wrap .zt-head .zt-title {
    font-size: 24px;
  }
  .zt-wrap .zt-card {
    padding: 18px;
  }
  .zt-wrap .zt-lists {
    grid-template-columns: 1fr;
  }
}

/* --- 滚动进入动画（科技感：血条生长 + 环形图分段描边 + 中心淡入）---
   初态由 JS 加 .anim-ready 控制（无 JS / 减少动效时不加，保持 SSR 终态，爬虫与无障碍不受影响）。 */
.zt-wrap .zt-card .zt-bar i {
  transition: width .7s cubic-bezier(.22, .61, .36, 1);
}
.zt-wrap .zt-card .zt-chart svg circle {
  transition: stroke-dasharray .7s ease;
}
.zt-wrap .zt-card .zt-center {
  transition: opacity .5s .15s, transform .5s .15s;
}
.zt-wrap .zt-card.anim-ready:not(.in-view) .zt-center {
  opacity: 0;
  transform: scale(.9);
}
.zt-wrap .zt-card.in-view .zt-center {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .zt-wrap .zt-card .zt-bar i,
  .zt-wrap .zt-card .zt-chart svg circle,
  .zt-wrap .zt-card .zt-center {
    transition: none;
  }
}
