.scroll-container {
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  margin: 0 16px 18px;
  /* padding: 0 16px;
  box-sizing: border-box; */
}
.scroll-wrapper {
  display: inline-flex;
  animation: scroll 10s linear infinite; /* 调整时间控制速度 */
}
.cardBox {
  position: relative;
  width: 50px;
  /* height: 50px; */
  margin: 0 7.5px;
  flex-shrink: 0;
  overflow: hidden;
}
.cardBox img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 6px;
}
.cardTitle {
  color: #fff;
  font-size: 10px;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}
.pcCardBox {
  display: none;
}
@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%); /* 因为复制了一组，所以移动一半实现无缝 */
  }
}
@media screen and (min-width: 768px) {
  .scroll-container {
    margin: 0 0 36px;
  }
  .scroll-wrapper {
    display: inline-flex;
    animation: scroll 30s linear infinite; /* 调整时间控制速度 */
  }
  .cardBox {
    display: none;
  }
  .pcCardBox {
    position: relative;
    width: 72px;
    /* height: 50px; */
    margin: 0 8.5px;
    flex-shrink: 0;
    overflow: hidden;
    display: block;
  }
  .pcCardBox img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 8px;
  }
  .pcCardTitle {
    color: #fff;
    font-size: 12px;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
  }
  
}