.base>div {
  background: url(./header-bg.png) no-repeat top center;
  // background-attachment: fixed;
}

.detail {
  overflow: hidden;

  --van-nav-bar-background-color: transparent;
  --van-nav-bar-icon-color: #fff;
  --van-nav-bar-text-color: #fff;
  --van-nav-bar-title-text-color: #fff;
}

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

.img {
  width: 94px;
  height: 94px;
  margin-right: 18px;
  position: relative;

  >img,
  >div {
    position: absolute;
    border-radius: 10px;
    overflow: hidden;
  }

  &::before {
    content: '';
    width: 94px;
    height: 94px;
    border-radius: 50%;
    position: absolute;
    right: -9px;
    top: 0px;
    background: url('./icon-album-bg.png') no-repeat center;
    background-size: contain;
  }

  .albumType {
    position: absolute;
    left: 0;
    top: 0;
    background: linear-gradient(180deg, #ff8900 0%, #ff5100 100%);
    box-shadow: 0px 1px 2px 0px rgba(150, 13, 0, 0.11);
    border-radius: 10px 0px 10px 0px;
    font-size: 12px;
    padding: 0 6px;
    line-height: 20px;
    color: #ffffff;
    z-index: 9;
  }
}

.shareBtn {
  display: flex;
  align-items: flex-start;
  color: #fff;
  font-size: 14px;
  line-height: 20px !important;

  :global(.van-image) {
    width: 18px;
    height: 18px;
    margin-right: 6px;
  }
}

.detailContent {
  background-color: white;
  padding: 0 14px;
  border-radius: 17px 17px 0px 0px;

  .main {
    padding-top: 24px;
    padding-bottom: 20px;
    display: flex;
  }

  .favoriteContaineer {
    border: none;
    color: var(--music-list-item-mate-color);
    height: auto;

    :global(.van-button__text) {
      display: flex;
      align-items: center;

      span {
        line-height: 1;
        padding-top: 2px;
      }
    }

    >span {
      display: inline-block;
      line-height: 16px;
      margin-top: 1px;
    }
  }

  .favorite {
    font-size: 16px;
    margin-right: 5px;
  }

  .content {
    flex: 1;
    display: inline-grid;

    >h4 {
      color: var(--music-list-item-title-color);
      font-size: 14px;
      height: 20px;
      line-height: 20px;
      margin-top: 7px;
      // word-break: break-all;
      // text-overflow: ellipsis;
    }

    >p {
      margin-top: 6px;
      /* prettier-ignore */
      font-size: 12PX;
      color: var(--music-list-item-desc-color);
      /* prettier-ignore */
      line-height: 17PX;
      /* prettier-ignore */
      height: 51PX;
    }
  }
}

.footerBar {
  padding: 12px 0;
  display: flex;
  justify-content: space-between;

  >footer {
    margin-top: 0;
  }
}

.bgImg {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 265px;
  object-fit: cover;
  filter: blur(10px);
  backdrop-filter: blur(22px);
}

.musicContent {
  position: absolute;
  top: 0;
  height: 305px;
  width: 100%;
  padding-top: 55px;
  z-index: 10;
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.bg {
  position: relative;
  height: 100%;
  padding: 5px 16px 18px;
  z-index: 11;
}

.alumWrap {
  display: flex;
  align-items: center;

  .img {
    width: 98px;
    height: 98px;
    flex-shrink: 0;
    border-radius: 6px;
    // overflow: hidden;
    margin-right: 26px;
  }

  .alumTitle {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    padding-bottom: 8px;
  }

  .alumDes {
    width: calc(100% - 129px);

    .des {
      color: rgba(255, 255, 255, 0.5);
      line-height: 16px;
    }
  }
}

.tags {
  margin: 12px -2px 6px -2px;

  .tag {
    margin: 0 2px;
    padding: 1px 9px;
    color: #000;
    background: rgba(255, 254, 254, 0.2);
    border-radius: 20px;
    color: #FFFFFF;
    border: 1px solid #FFFFFF;
    font-size: 12px;
  }
}

.alumCollect {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;
  color: #999;
  font-size: 14px;

  .alumCollectItem {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32%;
    height: 36px;
    font-size: 14px;
    color: #fff;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 99px;
    font-weight: 600;

    img {
      width: 20px;
      height: 20px;
      margin-right: 6px;
    }
  }
}

.albumTips {
  background: url('./charge_bg.png') no-repeat center;
  background-size: contain;
  // border-radius: 16px;
  // opacity: 0.32;
  padding: 0 10px;
  height: 36px;
  margin-top: 12px;
  font-size: 13px;
  font-weight: 500;
  color: #5E3314;
  line-height: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;

  .albumPrice {
    font-size: 13px;
    font-weight: 500;
    color: #FFE1AE;
    line-height: 18px;
    background: #262626;
    border-radius: 13px;
    padding: 4px 7px;

  }
}

.alumnContainer {
  position: relative;

  padding: 0;
  z-index: 12;

  .alumnList {
    padding: 16px 20px 0 12px;
    border-radius: 18px !important;
    background-color: #fff;
    margin-bottom: 16px;
    min-height: 40vh;
  }

  .alumnTitleSection {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .subjectSearch {
    position: relative;
    background: #FFEBEF;
    border-radius: 14px;
    border: 1px solid rgba(254, 36, 81, 0.5);
    font-size: 14px;
    color: #F41E4B;
    line-height: 20px;
    padding: 2px 25px 2px 12px;

    &::after {
      position: absolute;
      top: 7px;
      right: 12px;
      border: 3px solid;
      border-color: transparent transparent #FE2451 #FE2451;
      transform: rotate(-45deg);
      opacity: .8;
      content: "";
    }

    &.active {
      &::after {
        transform: rotate(135deg);
        top: 10px;
      }
    }
  }

  .alumnTitle {
    display: flex;
    align-items: center;
    font-size: 16px;
    font-weight: 600;
    color: #2F384E;
    line-height: 22px;

    .iconMenu {
      width: 22px;
      height: 24px;
      margin-right: 8px;
    }

    span {
      font-size: 12px;
      color: #808593;
      padding-left: 3px;
      font-weight: 400;
    }
  }
}

.shareVip {
  position: relative;
  margin-top: 10px;
  display: flex;
  flex: 1;
  align-items: center;
  padding: 7px;
  background: #ffffff;
  border-radius: 10px;

  .icon {
    width: 72px;
    height: 72px;
    border-radius: 10px;
  }

  .info {
    display: flex;
    flex-direction: column;
    margin-left: 6px;
    flex: 1;
    word-break: break-all;

    >h4 {
      color: var(--music-list-item-title-color);
      font-size: 16px;
      font-weight: 600;
    }

    >p {
      color: var(--music-list-item-mate-color);
      line-height: 17px;
    }
  }

  .shareAlumCollect {
    display: flex;
    align-items: center;
    color: #999;
    font-size: 14px;

    img {
      display: inline-block;
      width: 14px;
      height: 14px;
      margin-right: 6px;
    }

    span {
      padding-top: 1px;
    }

    .right {
      display: flex;
      align-items: center;
      margin-left: 26px;
    }
  }
}

.tagDiscount {
  position: absolute;
  top: -23px;
  left: 15px;
  padding: 0 10px;
  height: 23px;
  background: linear-gradient(180deg, #ffb635 0%, #ff4e18 100%);
  border-radius: 8px 8px 0px 0px;
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
  line-height: 24px;
}

.buttonDiscount {
  position: absolute;
  top: -23px;
  right: 15px;
  padding: 0 10px;
  height: 23px;
  background: linear-gradient(180deg, #ffb635 0%, #ff4e18 100%);
  border-radius: 8px 8px 0px 0px;
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
  line-height: 24px;
}

.shareMusicList {
  margin-top: 12px;
  box-shadow: 0px 2px 10px 0px rgba(0, 0, 0, 0.05);
  padding: 0 10px;
}

.albumShare {
  :global {
    .btnGroup {
      .van-button {
        border: none;
      }
    }

    .shareTeacherCustom {
      background: linear-gradient(270deg, #BAFFE7 0%, #C0DCFF 100%);

      &>div:first-child {
        display: flex;
        align-items: center;
        justify-content: center;
      }
    }

    .downloadCustom {
      &>div:last-child {
        border-left-style: dashed;
      }
    }
  }
}

.btnStickyBottom {
  :global {
    .van-sticky {
      background-color: #fff;
      border-top: 1px solid #F2F2F2;
    }

    .van-button__text {
      padding-top: 1px;
      font-size: 16px;
      color: #FFFFFF;
    }
  }
}

.popupTitle {
  padding: 20px 0 12px;
  text-align: center;
  font-size: 16px;
  font-weight: bold;
  color: #333;
}