.content-list.on {
  display: grid;
}

.wallpaper-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px 17px;
  margin-top: 40px;
}

.wallpaper-item {
  position: relative;
  overflow: hidden;
  background-color: #fff;
  cursor: pointer;
  height: 131px;
}

.wallpaper-container {
  position: relative;
  overflow: hidden;
  /* aspect-ratio: 16/9; */
  height: 100%;
  border-radius: 4px;
}

.wallpaper-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 0px 10%;
  transition: transform 0.3s ease;
}

.wallpaper-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.1);
  transition: opacity 0.3s ease;
}

.wallpaper-view {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 76px;
  height: 76px;
  border-radius: 50%;
  /* background: url(/assets/img/img-view.png) center center no-repeat;
  background-size: contain; */
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.wallpaper-title {
  /* padding: 10px; */
  color: rgba(255, 255, 255, 0.5);
  line-height: 20px;
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  text-align: center;
}

/* 鼠标悬浮效果 */
.wallpaper-item:hover {
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.wallpaper-item:hover .wallpaper-container img {
  transform: scale(1.1);
}

.wallpaper-item:hover .wallpaper-overlay {
  opacity: 0;
}

.wallpaper-item:hover .wallpaper-view {
  opacity: 1;
}

.alert-box {
  width: 100%;
  height: 100%;
  position: fixed;
  left: 0px;
  top: 0px;
  background: rgba(0, 0, 0, 0.8);
  z-index: 50;
  display: none;
}

.art-close {
  width: 34px;
  height: 34px;
  position: absolute;
  right: 20px;
  top: 20px;
  cursor: pointer;
  background: url(/assets/img/close.png) center center no-repeat;
  z-index: 2;
}

.art-close:hover {
  background: url(/assets/img/close-hl.png) center center no-repeat;
}

.art-alert {
  height: auto;
  max-width: 80%;
  position: absolute;
  left: 0px;
  top: 0px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  user-select: none;
}

@media screen and (max-width: 750px) {

    .wallpaper-item{
        height: 1.54rem;
    }

    .wallpaper-list{
        grid-template-columns: repeat(2, 1fr);
        gap: 0.2rem;
        margin-top: 0.4rem;
    }

    .wallpaper-title{
        line-height: 0.36rem;
        font-size: 0.27rem;
    }

}