/* SEO 蜘蛛统计模块 */
.order-seo.boxall {
  flex: none;
  min-height: auto;
}
.order-seo .alltitle {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* PC 端：自适应网格，完整展示 */
.seo-scroll {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(4.5rem, 1fr));
  gap: 0.35rem;
  padding: 0.3rem 0.8rem 0.5rem;
  overflow: visible;
}
.seo-item {
  min-width: 0;
  min-height: auto;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 0.2rem;
  padding: 0.25rem 0.2rem;
  border-radius: 0.25rem;
  background: linear-gradient(180deg, rgba(100, 160, 220, 0.12) 0%, rgba(100, 160, 220, 0.04) 100%);
  border: 0.0625rem solid rgba(100, 160, 220, 0.2);
  border-top: 0.125rem solid rgba(100, 180, 255, 0.5);
  transition: all 0.2s ease;
  cursor: default;
  position: relative;
  overflow: hidden;
}
.seo-item::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(100, 180, 255, 0.15), transparent);
  transition: left 0.4s ease;
}
.seo-item:hover {
  background: linear-gradient(180deg, rgba(100, 160, 220, 0.25) 0%, rgba(100, 160, 220, 0.1) 100%);
  border-color: rgba(100, 180, 255, 0.45);
  border-top-color: rgba(100, 180, 255, 0.8);
  transform: translateY(-0.0625rem);
  box-shadow: 0 0.25rem 0.625rem rgba(100, 180, 255, 0.15);
}
.seo-item:hover::before {
  left: 100%;
}
.seo-val {
  font-size: 0.85rem;
  font-weight: bold;
  color: #fccb00;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
  text-shadow: 0 0 0.375rem rgba(252, 203, 0, 0.3);
}
.seo-label {
  font-size: 0.6rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}
.seo-item.is-zero {
  background: rgba(100, 160, 220, 0.04);
  border-color: rgba(100, 160, 220, 0.1);
  border-top-color: rgba(100, 160, 220, 0.2);
}
.seo-item.is-zero .seo-val {
  color: rgba(255, 255, 255, 0.35);
  text-shadow: none;
}
.seo-item.is-zero .seo-label {
  color: rgba(255, 255, 255, 0.4);
}

.mobile-layout .seo-scroll {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  padding: 0.25rem 0.625rem 0.5rem;
}
.mobile-layout .seo-item {
  flex-direction: column;
  justify-content: center;
  gap: 0.2rem;
  padding: 0.35rem 0.25rem;
  min-width: 0;
  min-height: auto;
}
.mobile-layout .seo-val {
  font-size: 0.9rem;
  line-height: 1.2;
}
.mobile-layout .seo-label {
  font-size: 0.65rem;
  line-height: 1.2;
}
