.container {
  display: flex;
  flex-direction: column;
  background: #FFFFFF;
  border-radius: 20px;
  min-height: 100%;
}

.tools {
  padding: 32px 32px 20px 32px;
  display: flex;
  align-items: flex-start;
  flex-shrink: 0;

  :global {
    .n-input {
      margin-left: auto;
      width: 360px;
    }

    .n-input__input-el {
      height: 100%;
      line-height: 100%;
    }

    .n-button.n-button--disabled {
      cursor: initial;
      padding: 0;
    }
  }

  .tagWrap {
    flex: 1;
    margin-right: 28px;
  }

  .tags {

    .firstButton {
      display: flex;
      align-items: center;
      justify-content: center;
      height: 100%;
      font-size: max(18px, 13Px);
      color: #999999;
      line-height: 25px;
    }

    padding: 12px 0;

    :global {
      .n-form-item-label {
        height: 37px;
        min-height: 37px;
      }

      .n-form-item-feedback-wrapper {
        min-height: 0;
      }

      .n-button {
        min-width: 102px;
        height: 37px;
        padding: 0 24px;
        font-size: max(18px, 13Px);
      }

      .n-button--primary-type {
        font-weight: 500 !important;
      }
    }
  }
}

.content {
  flex: 1;
  // padding: 20px 36px 36px 36px;
  padding: 0 6px 36px;

  &.loadingContent {
    min-height: 50vh;
  }

  gap: 50px 0;
  display: flex;
  flex-flow: row wrap;
  justify-content: flex-start;
  margin-left: -12px;
  margin-right: -12px;

  .itemWrap {
    width: calc(100% / 6);
    padding-bottom: calc(100% / 6 * 0.909923);
    position: relative;

    .itemWrapBox {
      position: absolute;
      left: 0;
      top: 0;
      width: 100%;
      height: 100%;
      padding: 0 12px;
    }
  }
}

// 214px
// 223px  + 38

.item {
  margin: 0 auto;
  position: relative;
  width: 214px;
  cursor: pointer;
  transition: all .3s;

  .cover {
    position: relative;
    overflow: hidden;

    &::before {
      content: '';
      position: absolute;
      top: 107px;
      left: 0;
      width: 214px;
      height: 214px;
      background: #DDF2FF;
      border-radius: 50%;
    }
  }

  &:hover {
    transform: scale(1.1);
  }

  .itemImg {
    position: relative;
    width: 158px;
    height: 223px;
    margin: auto;
    background-color: #EDEFF2;
    background-image: url('./icon_default.svg');
    background-repeat: no-repeat;
    background-position: center center;

    &::before {
      content: '';
      position: absolute;
      top: 4px;
      right: -4px;
      width: 4px;
      height: calc(100% - 8px);
      background-color: #C5C5C5;
      z-index: 1;


    }


    &::after {
      content: '';
      position: absolute;
      top: 2px;
      right: -2px;
      width: 4px;
      height: calc(100% - 4px);
      background-color: #E7E7E7;
      z-index: 2;
    }

    .itemBg {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      z-index: 4;
      background-repeat: no-repeat;
      background-image: linear-gradient(to right, rgba(0, 0, 0, 0.2) 0, rgba(255, 255, 255, 0.08) 0%, transparent 0.5%), linear-gradient(to right, rgba(0, 0, 0, 0.1) 0.3%, rgba(255, 255, 255, 0.09) 1.1%, transparent 1.3%);
      background-size: 50% 100%, 50% 100%;
      background-position: 0% top, 9% top;
    }

    :global {
      .n-image {
        position: relative;
        width: 100%;
        height: 100%;
        z-index: 3;
      }
    }

    img {
      transition: opacity .3s;
      opacity: 0;
    }

    img[data-loaded="true"] {
      opacity: 1;
    }


  }

  .itemName {
    margin-top: 16px;
    font-size: max(16px, 12Px);
    line-height: 22px;
    font-weight: 500;
    color: #333;
    text-align: center;
  }
}

.popSelect1 {
  font-size: 16px;
  width: 240px;
  // max-height: 500px;
  // overflow-y: scroll;
  box-shadow: 0px 2px 16px 0px rgba(0, 0, 0, 0.08);
  border-radius: 11px;
  --n-option-height: 34px;

  :global {
    .n-base-select-option__content {
      width: 80% !important;
    }
  }
}

.textBtn {
  .iconArrow {
    display: inline-block;
    margin-left: 8px;
    margin-top: 2px;
    width: 8px;
    height: 5px;
    background: url('../xiaoku-music/images/icon-arrow.svg') no-repeat center center / contain;
    transform: rotate(180deg);
    color: #131415;
    fill: #131415;
  }

  &:hover,
  &.textBtnActive {
    background: #198CFE !important;
    font-weight: 500 !important;
    color: #fff !important;

    .iconArrow {
      transform: rotate(0deg);
      background: url('../xiaoku-music/images/icon-arrow2.svg') no-repeat center center / contain;
      color: #fff;
      fill: #fff;
      margin-top: 0;
    }
  }
}
