* {
  user-select: none;
}

body {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  backdrop-filter: blur(16px);
}

::-webkit-scrollbar {
  position: absolute;
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 4px;
}

::-webkit-scrollbar-button {
  height: 0px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 8px;
}

#myicons {
  display: none;
}

#app {
  width: 1270px;
  height: 720px;
  display: flex;
  background: linear-gradient(to bottom right, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.3));
  border: 1px solid #ffffffb5;
  backdrop-filter: blur(16px);
  box-sizing: border-box;
  padding: 32px;
  border-radius: 32px;
  box-shadow: 10px 10px 32px rgba(0, 0, 0, .1);
}

.player {
  position: relative;
  width: 689px;
  box-sizing: border-box;
}

.music-icon {
  width: 40px;
  height: 40px;
  fill: rgba(255, 255, 255, .5);
  transition: all .3s;
}

.music-icon:hover {
  fill: #fff;
}

.info {
  box-sizing: border-box;
  width: 100%;
  height: 424px;
  padding: 32px;
  /* background: linear-gradient(to bottom right,rgba(255,255,255,.3), rgba(255,255,255,.7)); */
  border-radius: 24px;
  margin-bottom: 32px;
}

.cover {
  position: absolute;
  top: 32px;
  right: 32px;
  width: 240px;
  height: 240px;
  border-radius: 120px;
  overflow: hidden;
  z-index: 2;
  animation: rotateTurn 10s linear infinite;
  animation-play-state: paused;
}

@keyframes rotateTurn {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.transition {
  transition: all 1s linear;
}

.pause-animation {
  animation-play-state: paused;
}

.play-animation {
  animation-play-state: running;
}

.title {
  font-size: 40px;
  font-weight: bold;
  color: #ffffff;
  line-height: 1;
}

.artist {
  font-size: 18px;
  font-weight: normal;
  color: #ffffffac;
  margin-top: 8px;
}

.lyric {
  font-size: 14px;
  line-height: 2.5;
  margin-top: 16px;
  color: #ffffff44;
  min-height: 216px;
}

.lyric-box {
  width: 100%;
  height: 316px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(180deg, hsla(0, 0%, 100%, 0) 0, hsla(0, 0%, 100%, .6) 15%, #fff 25%, #fff 75%, hsla(0, 0%, 100%, .6) 85%, hsla(0, 0%, 100%, 0));
}

.lyric-inner {
  transition: transform .6s ease-out 0s;
}

.lyric-inner p {
  width: 100%;
  transition: all .2s;
}

.lyric-inner p span {
  display: inline-block;
  width: 300%;
  transition: all .1s;
}

.lyric-inner p.on {
  font-size: 18px;
  font-weight: bold;
  color: #fffffff4;
  transform: translateX(.4em);
}

.controls {
  box-sizing: border-box;
  width: 100%;
  height: 200px;
  padding: 32px;
  /* background: linear-gradient(to bottom right,rgba(255,255,255,.3), rgba(255,255,255,.7)); */
  border-radius: 24px;
  margin-bottom: 32px;
}

.btns {
  display: flex;
  position: relative;
  justify-content: space-between;
  align-items: center;
  width: 380px;
  height: 78px;
  margin: 0 auto;
  margin-bottom: 24px;
}

.vol-btn {
  display: flex;
  justify-content: center;
}

.vol-btn>.music-icon {
  display: none;
}

.vol-btn>.music-icon.show {
  display: block;
}

.hide {
  display: none;
}

.btns>div {
  width: 40px;
  height: 40px;
  padding: 18px;
  cursor: pointer;
}

.order-btn svg,
.play-btn svg,
.vol-btn svg {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.order-btn .music-icon {
  display: none;
}

.order-btn .music-icon.show {
  display: block;
}

.btns .play-btn {
  position: relative;
  width: 64px;
  height: 64px;
  background-color: rgba(255, 255, 255, .5);
  border-radius: 32px;
  padding: 0;
  transition: all .3s;
}

.btns .play-btn:hover {
  background: #ffffffaf;
}

.play-btn svg {
  width: 24px;
  height: 24px;
  fill: #fff;
  left: 50%;
  transform: translate(-50%, -50%);
}

input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  margin: 0;
  outline: 0;
  background-color: transparent;
  width: 500px;
}

input[type="range"]::-webkit-slider-runnable-track {
  height: 4px;
  background: rgba(255, 255, 255, .3);
}

input[type="range" i]::-webkit-slider-container {
  height: 40px;
  overflow: hidden;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: #FFF;
  border: 1px solid transparent;
  margin-top: -8px;
  border-image: linear-gradient(#FFF, #FFF) 0 fill / 8 20 8 0 / 0px 0px 0 200px;
}

input[type="range"].vol-progress {
  position: relative;
  top: -92px;
  height: 100%;
  transform: rotate(-90deg);
  cursor: pointer;
}

.vol-btn:hover .vol-progress {
  display: block;
}

.progress {
  position: relative;
  box-sizing: border-box;
  width: 100%;
  height: 40px;
  padding: 4px;
  border-radius: 20px;
  background: linear-gradient(to right bottom, rgba(255, 255, 255, .3), rgba(255, 255, 255, .7));
  cursor: pointer;
  overflow: hidden;
}

.bar-wrap {
  width: 100%;
  height: 100%;
  border-radius: 32px;
  overflow: hidden;
}

.bar-wrap div {
  display: inline-block;
}

.current-bar {
  height: 100%;
  border-radius: 32px;
  background-color: rgba(255, 255, 255, .8);
  backdrop-filter: blur(16px);
  transition: width .1s linear;
}

.time {
  position: absolute;
  left: 1em;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(0, 0, 0, 0.8)
}

.list {
  box-sizing: border-box;
  padding: 32px;
  margin-left: 32px;
  /* background: linear-gradient(to bottom right,rgba(255,255,255,.3), rgba(255,255,255,.7)); */
  border-radius: 24px;
  margin-bottom: 32px;
  width: 495px;
  height: 656px;
}

.list h2 {
  font-size: 32px;
  color: #ffffff;
}

ul.songs {
  width: 100%;
  height: 530px;
  margin-top: 24px;
  overflow: hidden;
  overflow-y: auto;
}

li.song {
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-sizing: border-box;
  border-radius: 16px;
  width: 100%;
  height: 90px;
  background: linear-gradient(to bottom right, rgba(255, 255, 255, .3), rgba(255, 255, 255, .7));
  padding: 8px 16px;
  margin-bottom: 16px;
  cursor: pointer;
}

.song-info {
  display: flex;
  justify-content: start;
  align-items: center;
}

.song-cover {
  width: 74px;
  height: 74px;
  border-radius: 37px;
  background-color: #333;
  margin-right: 16px;
  overflow: hidden;
  animation-play-state: paused;
}

.song-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.song-title {
  font-size: 24px;
  font-weight: bold;
  color: #333;
  margin-bottom: 8px;
}

.song-desc {
  font-size: 18px;
  color: #888;
}

.song-btn {
  position: relative;
  box-sizing: border-box;
  color: #0000006a;
  width: 48px;
  line-height: 48px;
  height: 48px;
  border-radius: 24px;
  border: 3px solid currentColor;
  font-size: 24px;
  text-align: center;
}

.song-btn .music-icon {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 20px;
  height: 20px;
  fill: #0000006a;
  transform: translate(-50%, -50%);
}

li.song .song-cover:hover {
  animation: rotate 3s linear infinite;
}

@keyframes rotate {
  to {
    transform: rotate(1turn);
  }

  /* 0% {
    transform: rotate(0deg);
  }
  10% {
    transform: rotate(36deg);
  }
  20% {
    transform: rotate(72deg);
  }
  30% {
    transform: rotate(108deg);
  }
  40% {
    transform: rotate(144deg);
  }
  50% {
    transform: rotate(180deg);
  }
  60% {
    transform: rotate(216deg);
  }
  70% {
    transform: rotate(252deg);
  }
  80% {
    transform: rotate(288deg);
  }
  90% {
    transform: rotate(324deg);
  }
  100% {
    transform: rotate(360deg);
  } */
}

li.song.current .song-btn {
  color: #333;
}

li.song.current .song-btn .music-icon {
  fill: #333;
}

li.song.current .song-btn .music-icon {
  display: none;
}

li.song.current .song-btn .music-icon.hide {
  display: block;
}

@media (max-width: 1270px) {
  #app {
    width: 100%;
    height: auto;
    flex-direction: column;
    justify-content: center;
    border-radius: 0;
    border: 0;
  }

  .player {
    width: 100%;
  }

  .list {
    width: 100%;
    margin: 0;
  }
}

@media (max-width: 600px) {
  .cover {
    top: 80px;
    width: 30vw;
    height: 30vw;
  }

  .title {
    width: 6em;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}

@media (max-width: 508px) {
  #app {
    padding: 0;
  }

  .info,
  .controls,
  .list {
    margin: 0;
    border-radius: 0;
  }

  .btns {
    width: 100%;
  }

  .btns>div {
    flex-shrink: 0;
    padding: 8px;
  }
}