body {
  background-color: #f8f8f8;
}

.search {
  --van-cell-background-color: transparent;
  --van-cell-font-size: 16px;
  --van-cell-text-color: #333;
  --van-cell-value-color: #999;
  --van-cell-icon-size: 10px;
  --van-nav-bar-height: 0px;

  --base-bg: #f6f8f9;

  .sticky {
    :global(.van-sticky--fixed) {
      box-shadow: 10px 10px 10px var(--box-shadow-color);
    }

    > div {
      background-color: var(--base-bg);
    }

    .searchCancel {
      font-size: 15px;
      color: #000000;
    }

    :global {
      .van-search__content {
        border: 1px solid #fff !important;
        box-sizing: border-box;
      }

      .van-search__action {
        padding-right: 0;
      }

      .van-dropdown-menu__bar {
        background-color: transparent;
        box-shadow: none;
        padding-right: 15px;
      }

      .van-dropdown-menu__title {
        padding-left: 0;
      }

      .van-dropdown-menu__title:after {
        border-color: transparent transparent rgba(0, 0, 0, 0.4)
          rgba(0, 0, 0, 0.4);
      }

      .van-dropdown-item__content {
        border-radius: 0px 0px 20px 20px;
      }

      .van-dropdown-menu__title--active::after {
        border-color: transparent transparent #fe2451 #fe2451;
      }
    }

    .titleActive {
      color: #fe2451;
    }
  }

  .title {
    padding-top: 16px;

    :global(.van-cell__value) {
      font-size: 12px;
    }
  }

  .keywordTitle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 9px;
    position: relative;

    .t {
      font-size: 14px;
      font-weight: 500;
      color: #000000;
      line-height: 20px;
    }

    .remove {
      font-size: 16px;
    }
  }

  .keywords {
    margin-top: 10px;
    padding: 0 14px;
    display: flex;
    align-items: center;

    // .content::-webkit-scrollbar {
    //   display: none;
    // }

    .content {
      flex: 1;
      // overflow: hidden;
      // overflow-x: auto;
      display: flex;
      flex-wrap: wrap;

      .searchKeyword {
        --van-tag-default-color: white;
        --van-tag-text-color: #313443;
        font-size: 14px;
        padding: 5px 14px;
        margin-right: 5px;
        margin-bottom: 10px;
        max-width: 100px;
        display: block;
        word-break: keep-all;
      }

      .arrowMore {
        width: 27px;
        height: 27px;
        border-radius: 50%;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background-color: #fff;
        font-size: 12px;
        color: #93959f;
      }
    }
  }

  .label {
    margin-right: 8px;
    font-size: 14px;

    :global {
      .van-list__loading,
      .van-list__finished-text,
      .van-list__error-text {
        width: 100%;
      }

      .iconfont-down {
        margin-left: 4px;
      }
    }
  }
}

.sticky {
  :global {
    .van-sticky {
      background: url('../../images/bg-image-search.png') no-repeat top center;
      background-size: 100% 261px;
      box-shadow: none !important;
    }

    .van-search__content {
      background: rgba(255, 255, 255, 0.5) !important;

      input::placeholder {
        color: rgba(0, 0, 0, 0.4) !important;
      }

      input {
        color: rgba(0, 0, 0, 0.4) !important;
      }

      .van-field__clear {
        color: #c1bdc1 !important;
      }
    }
  }
}

.bgImg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 261px;
  // object-fit: cover;
  z-index: -1;
}

.tagTabs {
  --van-cell-background-color: transparent;
  --van-cell-font-size: 16px;
  --van-cell-text-color: #333;
  --van-cell-value-color: #999;
  --van-cell-icon-size: 10px;
  --van-tab-line-height: 22px;

  :global {
    .van-tab {
      font-size: 16px !important;

      color: #999999;
    }

    .van-tab--active {
      font-size: 16px !important;
      color: #131415;
    }

    .van-tabs__line {
      width: 24px;
      height: 4px;
      background: linear-gradient(
        90deg,
        #ff3c81 0%,
        rgba(255, 118, 166, 0.5) 100%
      ) !important;
      border-radius: 36px 36px 0px 0px;
      bottom: 22px;
    }

    .van-tabs__nav--line.van-tabs__nav--shrink,
    .van-tabs__nav--line.van-tabs__nav--complete {
      padding-left: 0;
      padding-right: 0;
    }

    .van-tab--shrink {
      padding: 0 15px 0 9px;
    }
  }
}

.alubmGroupSearch {
  :global {
    .van-list > div {
      margin-top: 8px;
    }
  }
}

.hotMusic {
  padding-bottom: 20px;

  .swipeItem .swipeChild {
    // padding-left: 14px;
    margin: 0 7px;
  }

  .swipeItem:last-child .swipeChild {
    margin-right: 14px;
  }

  .swipeItem:first-child .swipeChild {
    margin-left: 14px;
  }

  .swipeItem {
    border-radius: 10px;
    overflow: hidden;
  }

  .swipeChild {
    background: url('../../images/music-bg.png') no-repeat top center #fff;
    background-size: contain;
    border-radius: 10px;
  }

  .swipeTitle {
    font-size: 16px;
    font-weight: 500;
    color: #131415;
    line-height: 22px;
    padding: 12px 12px 16px;
  }

  .swipeContent {
    padding: 0 16px 8px;
    border-radius: 10px;
  }

  .swipe {
    font-size: 14px;
    color: #6a6c77;
    line-height: 20px;
    max-width: 80%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 8px 0;

    .num {
      display: inline-block;
      font-size: 16px;
      font-family: PingFangSC-Medium, PingFang SC;
      font-weight: 600;

      color: #8a8c95;
      // margin-right: 20px;
      width: 21px;
    }

    .hot {
      display: inline-block;
      width: 16px;
      line-height: 16px;
      text-align: center;
      background: #fe2451;
      border-radius: 4px;
      font-size: 12px;
      font-weight: 500;
      color: #ffffff;
      vertical-align: middle;
      margin-left: 4px;
      transform: scale(0.9);
    }

    &.swipeTop {
      color: #131415;

      .num {
        color: #fe2451;
      }
    }
  }
}

// 搜索结果样式
.searchResult {
  position: fixed;
  top: 0;
  z-index: 98;
  left: 0;
  right: 0;
  overflow: hidden;
  bottom: 0;
  padding-top: var(--header-height);
  background: url('../../images/bg-image-search.png') no-repeat top center
    #f8f8f8;
  background-size: 100% 214px;
}

.searchGroups {
  padding-top: 10px;
  height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  font-size: 15px;
  color: #131415;
  line-height: 21px;

  .searchItem {
    display: flex;
    align-items: center;
    padding: 0 12px 32px;

    .rName {
      width: 90%;
      overflow: hidden;
      white-space: nowrap;
      text-overflow: ellipsis;
    }

    span span {
      color: #fe2451;
    }
  }

  .iconSearch {
    width: 16px;
    height: 16px;
    margin-right: 10px;
  }
  :global {
    .col-result-container {
      margin-top: 40px;
    }
  }
}

.searchAlbum {
  padding: 6px 13px 13px;

  :global {
    .col-result-container {
      margin-top: 40px;
    }
    .van-list {
      padding: 0 13px;
      background: #ffffff;
      border-radius: 16px;
    }
  }
}
