.container {
  display: flex;
  flex-direction: column;
  height: 100%;

  .iconBack {
    width: 36px;
    height: 36px;
  }

  :global {
    .n-breadcrumb>ul {
      display: flex;
      align-items: center;

      .n-breadcrumb-item {
        display: flex;
        align-items: center;
      }

      .n-breadcrumb-item__separator {
        display: none;
      }

      .n-breadcrumb-item__link {
        padding: 5px 18px;
        background: #FFFFFF;
        border-radius: 16px;
        color: #21225D;
        line-height: 20px;
      }
    }

    .n-breadcrumb .n-breadcrumb-item:last-child .n-breadcrumb-item__link {
      color: #fff;
      background: var(--product-color);
    }

  }

  &> :global(.n-space) {
    height: 36px;
    flex-shrink: 0;
  }

  .separator {
    width: 9px;
    height: 15px;
    margin: 0 16px;
  }
}

.wrap {
  padding-top: 15px;
  flex: 1;
  transition: padding .3s;
  overflow: hidden;

  &.wrapBottom {
    padding-bottom: 108px;

  }
}

.content {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #DDF2FF;
  border-radius: 20px;
  // max-height: 90vh;
}

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

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

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

.contentWrap {
  position: relative;
  flex: 1;
  display: flex;
  padding: 20px 55px 20px 20px;
  overflow: hidden;
  gap: 0 32px;
}

.musicList {
  background-color: #fff;
  border-radius: 16px;

  width: 470px;
  min-width: 294px;
  height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  min-width: 330Px;

  &::-webkit-scrollbar {
    width: 0;
    display: none;
  }

  .instrumentGroup {
    padding-top: 27px;
    padding-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;

    .instrumentImg {
      width: 125px;
      height: 125px;
      overflow: hidden;
      border-radius: 50%;

      &.otherImg {
        width: 125px;
        height: 143px;
      }

      img {
        width: 100%;
      }
    }

    .instrumentName {
      padding: 13px 0 5px;
      font-size: max(18px, 14Px);
      font-weight: 600;
      color: #131415;
      line-height: 25px;
      letter-spacing: 1px;
    }

    .instrumentTag {
      font-size: max(13px, 12Px);
      color: #777777;
      line-height: 18px;
    }
  }



  .wrapList {
    width: 470px;
    padding: 0 17px;
    min-width: 294px;
    min-height: 100%;
    // background: #fff;
    border-radius: 16px;

    :global {
      .n-empty .n-empty__description {
        font-size: calc(14px, 12Px);
      }
    }

    .titlec {
      padding: 20px 0;
      font-size: max(18px, 14Px);
      font-weight: 600;
      color: #000000;
      line-height: 25px;
      border-top: 1px solid #F2F2F2;
      display: flex;
      align-items: center;
    }

    .icon2 {
      width: 23px;
      height: 23px;
      margin-right: 8px;
      background: url('../images/icon-2.png') no-repeat center;
      background-size: contain;
    }
  }

  .empty {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 50vh;
    // height: 100%;
  }
}

.itemContainer {
  width: 100%;
  border-radius: 16px;
  padding: 4px 8px;
  // background-color: #fff;

  &:first-child {
    padding-top: 8px;
  }

  &:last-child {
    // border-radius: 0 0 16px 16px;
    padding-bottom: 8px;
  }
}

.item {
  position: relative;
  display: flex;
  align-items: center;
  padding: 10px;
  border-radius: 12px;

  cursor: pointer;

  &:hover {
    background-color: rgba(0, 0, 0, .05);
  }

  &.active {
    background-color: #DDF2FF;

    .arrow {
      opacity: 1;
    }
  }

  .img {
    position: relative;
    width: 60px;
    height: 60px;
    border-radius: 18px;
    margin-right: 12px;
    overflow: hidden;
    flex-shrink: 0;

    :global {
      .n-image {
        width: 60px;
        height: 60px;
      }
    }

    img {
      transition: opacity .3s;
      opacity: 0;
      height: 100%;
      width: 100%;
    }

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

  .title {
    flex: 1;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: flex-start;

    .titleName {
      font-size: calc(17px, 12Px);
      font-weight: 600;
      color: #131415;
      line-height: 28px;
      width: 100%;
    }

    .titleDes {
      font-size: 14px;
      font-weight: 400;
      color: #777777;
      line-height: 20px;
      max-width: 100%;
      white-space: nowrap;
      text-overflow: ellipsis;
      overflow: hidden;
    }
  }

  .btn {
    margin-left: auto;
    width: 84px;
    height: 40px;
    background: linear-gradient(to right, #44CAFF, #259DFE);
    border: none;
    padding: 0;
    font-weight: bold !important;
    flex-shrink: 0;
    min-width: 62px;
    min-height: 30px;

    :global {
      .n-button__content {
        &>img {
          margin-left: 10px;
          width: 9px;
          height: 12px;
        }
      }
    }
  }

  .arrow {
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translate(124%, -50%);
    opacity: 0;
  }

  .showPlayLoading {
    opacity: 0;
  }

}

.loadingWrap {
  display: flex;
  justify-content: center;
  min-height: 80px;
}

.musicStaff {
  display: flex;
  flex-direction: column;
  position: relative;
  left: -8px;
  flex: 1;
  background-color: #fff;
  border-radius: 16px;
  // height: 100%;
  z-index: 1;
  overflow: hidden;

  &::-webkit-scrollbar {
    width: 0;
    display: none;
  }


  .musicTitle {
    padding: 27px 27px 13px;
    font-size: max(18px, 14Px);
    font-weight: 600;
    color: #000000;
    line-height: 25px;
    display: flex;
    align-items: center;

    .icon1,
    .icon3 {
      display: inline-block;
      width: 23px;
      height: 23px;
      margin-right: 8px;
      background: url('../images/icon-1.png') no-repeat center;
      background-size: contain;
    }

    .icon3 {
      background: url('../images/icon-3.png') no-repeat center;
      background-size: contain;
    }
  }

  .musicContent {
    flex: 1;
    overflow-y: auto;
    height: 100%;
    padding: 0 27px;

    &>img {
      width: 100%;
    }

    section,
    &>div {
      font-size: inherit !important;
    }
  }
}

.staffImgs {
  flex: 1;
  overflow-y: auto;
  height: 100%;
  padding: 0 30px;

  &>img {
    width: 100%;
  }
}


:global {

  .van-fade-enter-active,
  .van-fade-leave-active {
    transition: all 0.3s;
  }

  .van-fade-enter-from,
  .van-fade-leave-to {
    opacity: 0;
  }
}

.changeSizeSection {
  position: absolute;
  right: 10px;
  bottom: 50%;
  width: 35px;
  transform: translate(0, 50%);
  background: #fff;
  border-radius: 7px;
  display: flex;
  align-items: center;
  flex-direction: column;
  padding: 13px 0;

  .iconT {
    width: 15px;
    height: 15px;
  }

  .iconAddT,
  .iconPlusT {
    width: 23px;
    height: 23px;
    cursor: pointer;
  }

  .iconAddT {
    margin-top: 13px;
    margin-bottom: 8px;
  }

  .iconPlusT {
    margin-top: 8px;
  }

  :global {
    .n-slider {
      height: 125px;
      --n-handle-size: 15px !important;
      --n-rail-height: 0 !important;
    }

  }
}