@charset "UTF-8";
* {
  padding: 0;
  margin: 0;
  user-select: none;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  overflow: hidden;
}

body::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.container {
  display: flex;
  min-width: 320px;
  height: 100vh;
  flex-wrap: wrap;
}

.container .music-box {
  position: relative;
  width: 410px;
  height: 100%;
  background: linear-gradient(to right, #ffc0cb, #FBEBCF, #EFCCF1, #ffffff);
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.container .music-box .album-box {
  position: relative;
  width: 100%;
  max-width: 410px;
  display: flex;
  justify-content: center;
}

.container .music-box .album-box .photo {
  width: 100%;
  height: auto;
  max-height: 100%;
  display: block;
  object-fit: contain;
}

.container .music-box .album-box .position-reference {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.container .music-box .album-box .position-reference .relative-album {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.container .music-box .album-box .position-reference .relative-album .widget {
  position: absolute;
  z-index: 100;
  width: 100%;
  top: 15px;
}

.container .music-box .album-box .position-reference .relative-album .widget .widgetImg {
  position: absolute;
  width: 130px;
  height: auto;
  will-change: transform;
  transform-origin: 50% 10px;
  animation: swing 5s ease-in-out infinite;
}

.container .music-box .album-box .position-reference .relative-album .widget .widgetImg.right {
  right: 0;
}

.container .music-box .album-box .position-reference .relative-album .widget .nail {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #E2D6F7, #E2D6F7);
  box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.container .music-box .album-box .position-reference .relative-album .widget .nail.left {
  left: 60px;
}

.container .music-box .album-box .position-reference .relative-album .widget .nail.right {
  right: 60px;
}

.container .music-box .album-box .position-reference .relative-album .lyric_bg_box {
  position: relative;
  width: calc(100% - 100px);
  max-width: 310px;
  height: 500px;
  flex-shrink: 0;
}

.container .music-box .album-box .position-reference .relative-album .lyric_bg_box .lyric_box {
  width: 100%;
  height: inherit;
  will-change: transform;
  overflow-y: auto;
  position: relative;
  scroll-behavior: smooth;
}

.container .music-box .album-box .position-reference .relative-album .lyric_bg_box .lyric_box .lyric_line {
  margin-bottom: 10px;
  line-height: 25px;
  font-size: 18px;
  font-family: 幼圆, serif;
  font-weight: bold;
  letter-spacing: 2px;
  color: #FF66CC;
  text-align: center;
}

.container .music-box .album-box .position-reference .relative-album .lyric_bg_box .lyric_box .lyric_line.active {
  color: deepskyblue;
  font-size: 22px;
}

.container .music-box .album-box .position-reference .relative-album .lyric_bg_box .lyric_box::-webkit-scrollbar {
  width: 0;
}

.container .music-box .album-box .position-reference .relative-album .progress_bar_top {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 27px;
  transform: translateX(-50%);
  margin-left: 50%;
}

.container .music-box .album-box .position-reference .relative-album .progress_bar_top .progress_bar_bg {
  position: relative;
  width: 100%;
  height: 100%;
  clip-path: polygon(0 0, 100% 0, calc(100% - 27px) 100%, 27px 100%);
}

.container .music-box .album-box .position-reference .relative-album .progress_bar_top .progress_bar_bg .progress_bar_play {
  position: absolute;
  left: 0;
  top: 0;
  will-change: width;
  width: 0;
  height: 100%;
  background: linear-gradient(to right, #ffc0cb, #FBEBCF, #EFCCF1, #ffffff);
}

.container .music-box .album-box .position-reference .relative-album .progress_bar_right {
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  width: 27px;
}

.container .music-box .album-box .position-reference .relative-album .progress_bar_right .progress_bar_bg {
  position: relative;
  width: 100%;
  height: 100%;
  clip-path: polygon(0 27px, 100% 0, 100% 100%, 0 calc(100% - 27px));
}

.container .music-box .album-box .position-reference .relative-album .progress_bar_right .progress_bar_bg .progress_bar_play {
  position: absolute;
  left: 0;
  top: 0;
  will-change: height;
  width: 100%;
  height: 0;
  background: linear-gradient(to right, #ffc0cb, #FBEBCF, #EFCCF1, #ffffff);
}

.container .music-box .album-box .position-reference .relative-album .progress_bar_bottom {
  transform-origin: right bottom;
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 27px;
}

.container .music-box .album-box .position-reference .relative-album .progress_bar_bottom .progress_bar_bg {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: right;
  clip-path: polygon(27px 0, calc(100% - 27px) 0, 100% 100%, 0 100%);
}

.container .music-box .album-box .position-reference .relative-album .progress_bar_bottom .progress_bar_bg .progress_bar_play {
  position: absolute;
  right: 0;
  top: 0;
  will-change: width;
  width: 0;
  height: 100%;
  background: linear-gradient(to right, #ffc0cb, #FBEBCF, #EFCCF1, #ffffff);
}

.container .music-box .album-box .position-reference .relative-album .progress_bar_left {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 27px;
}

.container .music-box .album-box .position-reference .relative-album .progress_bar_left .progress_bar_bg {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  clip-path: polygon(0 0, 100% 27px, 100% calc(100% - 27px), 0 100%);
}

.container .music-box .album-box .position-reference .relative-album .progress_bar_left .progress_bar_bg .progress_bar_play {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  will-change: height;
  height: 0;
  background: linear-gradient(to right, #ffc0cb, #FBEBCF, #EFCCF1, #ffffff);
}

.container .music-box .album-box .position-reference .relative-album .control_btn {
  position: absolute;
  left: 50%;
  bottom: 35px;
  will-change: transform;
  animation: jumping 1s ease-in-out infinite;
  transform: translateX(-50%);
}

.container .music-box .album-box .position-reference .relative-album .control_btn .circle {
  position: relative;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(to right bottom, #FF8080, #FFB2B2);
  box-shadow: inset 24px 24px 20px 0 rgba(224, 56, 56, 0.75), inset -12px -12px 20px 0 rgba(255, 255, 255, 0.4), inset 0 0 6px 0 rgb(255, 255, 255), 20px 20px 30px -20px rgba(255, 255, 255, 0.9), 20px 20px 40px -10px rgba(255, 85, 85, 0.6), 40px 40px 60px 0 rgba(255, 85, 85, 0.2);
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
}

.container .music-box .album-box .position-reference .relative-album .control_btn .circle .ellipse1 {
  position: absolute;
  width: 10px;
  height: 6px;
  left: 5px;
  top: 8px;
  transform: rotate(-45deg);
  border-radius: 50%;
  background: white;
  filter: blur(1.5px);
}

.container .music-box .album-box .position-reference .relative-album .control_btn .circle .ellipse2 {
  position: absolute;
  width: 19px;
  height: 14px;
  left: 0;
  top: 4px;
  transform: rotate(-45deg);
  border-radius: 50%;
  background: white;
  filter: blur(7px);
}

.container .music-box .album-box .position-reference .relative-album .control_btn .circle .ellipse3 {
  position: absolute;
  width: 23px;
  height: 15px;
  left: 0;
  top: 4px;
  transform: rotate(-45deg);
  border-radius: 50%;
  background: white;
  filter: blur(10px);
}

.container .music-box .album-box .position-reference .relative-album .control_btn .circle .ellipse4 {
  position: absolute;
  width: 18px;
  height: 10px;
  right: 6px;
  bottom: 10px;
  transform: rotate(-45deg);
  border-radius: 50%;
  background: white;
  filter: blur(8px);
}

.container .music-box .album-box .position-reference .relative-album .control_btn .circle .play_icon, .container .music-box .album-box .position-reference .relative-album .control_btn .circle .pause_icon {
  width: 22px;
  height: 22px;
  fill: #FCE8EA;
  box-shadow: inset -2px -2px 3px rgba(255, 64, 64, 0.3), 10px 10px 10px rgba(224, 56, 56, 0.7);
  display: none;
}

.container .music-box .album-box .position-reference .relative-album .control_btn .circle .play_icon {
  margin-left: 3px;
  display: block;
}

.container .main-body {
  width: calc(100% - 410px);
  height: 100%;
  position: relative;
}

.container .main-body .album-box {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  transform-style: preserve-3d;
  animation: rotate 5s linear infinite;
  display: flex;
  justify-content: center;
  align-items: center;
  will-change: transform;
  z-index: 100;
}

.container .main-body .album-box span {
  display: block;
  width: 100px;
  height: 100px;
  position: absolute;
}

.container .main-body .album-box span.front {
  transform: translateZ(50px);
  background: url(../public/1.png) no-repeat center center/cover;
}

.container .main-body .album-box span.back {
  transform: translateZ(-50px);
  background: url(../public/2.png) no-repeat center center/cover;
}

.container .main-body .album-box span.up {
  transform: rotateX(90deg) translateZ(50px);
  background: url(../public/3.png) no-repeat center center/cover;
}

.container .main-body .album-box span.down {
  transform: rotateX(-90deg) translateZ(50px);
  background: url(../public/4.png) no-repeat center center/cover;
}

.container .main-body .album-box span.left {
  transform: rotateY(90deg) translateZ(50px);
  background: url(../public/5.png) no-repeat center center/cover;
}

.container .main-body .album-box span.right {
  transform: rotateY(-90deg) translateZ(50px);
  background: url(../public/6.png) no-repeat center center/cover;
}

.container .main-body .album-box p {
  width: 200px;
  height: 200px;
  position: absolute;
  opacity: 0.2;
  border: 1px solid #ccc;
  transition: all 1s ease;
  will-change: transform, opacity;
}

.container .main-body .album-box p.front {
  transform: translateZ(100px);
  background: url(../public/1.png) no-repeat center center/cover;
}

.container .main-body .album-box p.back {
  transform: translateZ(-100px);
  background: url(../public/2.png) no-repeat center center/cover;
}

.container .main-body .album-box p.up {
  transform: rotateX(90deg) translateZ(100px);
  background: url(../public/3.png) no-repeat center center/cover;
}

.container .main-body .album-box p.down {
  transform: rotateX(-90deg) translateZ(100px);
  background: url(../public/4.png) no-repeat center center/cover;
}

.container .main-body .album-box p.left {
  transform: rotateY(90deg) translateZ(100px);
  background: url(../public/5.png) no-repeat center center/cover;
}

.container .main-body .album-box p.right {
  transform: rotateY(-90deg) translateZ(100px);
  background: url(../public/6.png) no-repeat center center/cover;
}

.container .main-body .album-box:hover p.front, 
.container .main-body .album-box:hover p.back, 
.container .main-body .album-box:hover p.up, 
.container .main-body .album-box:hover p.down, 
.container .main-body .album-box:hover p.left, 
.container .main-body .album-box:hover p.right,
.container .main-body .album-box.expanded p.front,
.container .main-body .album-box.expanded p.back,
.container .main-body .album-box.expanded p.up,
.container .main-body .album-box.expanded p.down,
.container .main-body .album-box.expanded p.left,
.container .main-body .album-box.expanded p.right {
  width: 300px;
  height: 300px;
  opacity: 0.8;
}

.container .main-body .album-box:hover p.front,
.container .main-body .album-box.expanded p.front {
  transform: translateZ(200px);
}

.container .main-body .album-box:hover p.back,
.container .main-body .album-box.expanded p.back {
  transform: translateZ(-200px);
}

.container .main-body .album-box:hover p.up,
.container .main-body .album-box.expanded p.up {
  transform: rotateX(90deg) translateZ(200px);
}

.container .main-body .album-box:hover p.down,
.container .main-body .album-box.expanded p.down {
  transform: rotateX(-90deg) translateZ(200px);
}

.container .main-body .album-box:hover p.left,
.container .main-body .album-box.expanded p.left {
  transform: rotateY(90deg) translateZ(200px);
}

.container .main-body .album-box:hover p.right,
.container .main-body .album-box.expanded p.right {
  transform: rotateY(-90deg) translateZ(200px);
}

.container .main-body #star-box {
  position: absolute;
  width: 100%;
  height: 100%;
  background: transparent;
  pointer-events: none;
}

.container .main-body #star-box .star {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgb(255, 255, 255) 0%, rgba(255, 255, 255, 0) 70%);
}

.container .main-body #star-box .star1 {
  animation: star1-blink 15s infinite alternate;
}

.container .main-body #star-box .star2 {
  animation: star2-blink 7s infinite alternate;
}

.container .main-body #star-box .star3 {
  animation: star3-blink 3s infinite alternate;
}

@keyframes swing {
  0% {
    transform: rotate(-5deg);
  }
  50% {
    transform: rotate(5deg);
  }
  100% {
    transform: rotate(-5deg);
  }
}

@keyframes jumping {
  0% {
    transform: translateX(-50%) scale(1);
  }
  50% {
    transform: translateX(-50%) scale(0.95);
  }
  100% {
    transform: translateX(-50%) scale(1);
  }
}

@keyframes rotate {
  0% {
    transform: rotateX(10deg) rotateY(0deg);
  }
  100% {
    transform: rotateX(10deg) rotateY(360deg);
  }
}

@keyframes star1-blink {
  from {
    opacity: 0.2;
    transform: scale(0.8);
  }
  to {
    opacity: 0.9;
    transform: scale(0.6);
  }
}

@keyframes star2-blink {
  from {
    opacity: 0.2;
    transform: scale(0.9);
  }
  to {
    opacity: 0.9;
    transform: scale(0.2);
  }
}

@keyframes star3-blink {
  from {
    opacity: 0.2;
    transform: scale(1);
  }
  to {
    opacity: 0.9;
    transform: scale(0.8);
  }
}

@media screen and (max-width: 1024px) {
  .container .music-box {
    width: 320px;
    align-items: center;
  }
  
  .container .music-box .album-box {
    max-width: 320px;
  }
  
  .container .music-box .album-box .photo {
    width: 100%;
    height: auto;
    max-height: 100%;
    object-fit: contain;
  }
  
  .container .music-box .album-box .position-reference .relative-album .lyric_bg_box {
    height: calc(55vh - 60px);
    min-height: 320px;
    max-height: 400px;
    width: calc(100% - 60px);
    max-width: 260px;
  }
  
  .container .music-box .album-box .position-reference .relative-album .lyric_bg_box .lyric_box .lyric_line {
    font-size: 16px;
    line-height: 23px;
  }
  
  .container .music-box .album-box .position-reference .relative-album .lyric_bg_box .lyric_box .lyric_line.active {
    font-size: 20px;
  }
  
  .container .main-body {
    width: calc(100% - 320px);
  }
  
  .container .main-body .album-box {
    transform: translate(-50%, -50%) scale(0.6);
  }
}

@media screen and (max-width: 850px) {
  .container .music-box {
    width: 280px;
    align-items: center;
  }
  
  .container .music-box .album-box {
    max-width: 280px;
  }
  
  .container .music-box .album-box .photo {
    width: 100%;
    height: auto;
    max-height: 100%;
    object-fit: contain;
  }
  
  .container .music-box .album-box .position-reference .relative-album .lyric_bg_box {
    height: calc(55vh - 50px);
    min-height: 280px;
    max-height: 350px;
    width: calc(100% - 50px);
    max-width: 230px;
  }
  
  .container .music-box .album-box .position-reference .relative-album .lyric_bg_box .lyric_box .lyric_line {
    font-size: 15px;
    line-height: 22px;
  }
  
  .container .music-box .album-box .position-reference .relative-album .lyric_bg_box .lyric_box .lyric_line.active {
    font-size: 19px;
  }
  
  .container .music-box .album-box .position-reference .relative-album .control_btn .circle {
    width: 45px;
    height: 45px;
  }
  
  .container .music-box .album-box .position-reference .relative-album .control_btn .circle .play_icon,
  .container .music-box .album-box .position-reference .relative-album .control_btn .circle .pause_icon {
    width: 20px;
    height: 20px;
  }
  
  .container .music-box .album-box .position-reference .relative-album .widget .widgetImg {
    width: 100px;
  }
  
  .container .main-body {
    width: calc(100% - 280px);
  }
  
  .container .main-body .album-box {
    transform: translate(-50%, -50%) scale(0.5);
  }
}

@media screen and (max-width: 720px) {
  .container .music-box {
    width: 250px;
    align-items: center;
  }
  
  .container .music-box .album-box {
    max-width: 250px;
  }
  
  .container .music-box .album-box .photo {
    width: 100%;
    height: auto;
    max-height: 100%;
    object-fit: contain;
  }
  
  .container .music-box .album-box .position-reference .relative-album .lyric_bg_box {
    height: calc(55vh - 40px);
    min-height: 240px;
    max-height: 300px;
    width: calc(100% - 40px);
    max-width: 210px;
  }
  
  .container .music-box .album-box .position-reference .relative-album .lyric_bg_box .lyric_box .lyric_line {
    font-size: 14px;
    line-height: 20px;
  }
  
  .container .music-box .album-box .position-reference .relative-album .lyric_bg_box .lyric_box .lyric_line.active {
    font-size: 18px;
  }
  
  .container .music-box .album-box .position-reference .relative-album .widget .widgetImg {
    width: 80px;
  }
  
  .container .music-box .album-box .position-reference .relative-album .widget .nail.left {
    left: 35px;
  }
  
  .container .music-box .album-box .position-reference .relative-album .widget .nail.right {
    right: 35px;
  }
  
  .container .main-body {
    width: calc(100% - 250px);
  }
  
  .container .main-body .album-box {
    transform: translate(-50%, -50%) scale(0.45);
  }
}

@media screen and (max-width: 480px) {
  .container {
    height: 100vh;
    overflow: hidden;
  }
  
  .container .music-box {
    height: 70vh;
    min-height: 350px;
    padding: 5px;
    background: linear-gradient(to bottom, #ffc0cb, #FBEBCF, #EFCCF1, #ffffff);
  }
  
  .container .music-box .album-box {
    width: 100%;
    max-width: 320px;
  }
  
  .container .music-box .album-box .photo {
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(255, 102, 204, 0.3);
  }
  
  .container .music-box .album-box .position-reference .relative-album .lyric_bg_box {
    height: 220px;
    width: calc(100% - 40px);
  }
  
  .container .music-box .album-box .position-reference .relative-album .lyric_bg_box .lyric_box .lyric_line {
    font-size: 13px;
    line-height: 20px;
    margin-bottom: 6px;
    letter-spacing: 1px;
  }
  
  .container .music-box .album-box .position-reference .relative-album .lyric_bg_box .lyric_box .lyric_line.active {
    font-size: 17px;
    text-shadow: 0 0 10px rgba(0, 191, 255, 0.5);
  }
  
  .container .music-box .album-box .position-reference .relative-album .control_btn {
    bottom: 25px;
  }
  
  .container .music-box .album-box .position-reference .relative-album .control_btn .circle {
    width: 55px;
    height: 55px;
    box-shadow: inset 20px 20px 15px 0 rgba(224, 56, 56, 0.75), inset -10px -10px 15px 0 rgba(255, 255, 255, 0.4), 0 10px 30px rgba(255, 85, 85, 0.4);
  }
  
  .container .music-box .album-box .position-reference .relative-album .control_btn .circle .play_icon,
  .container .music-box .album-box .position-reference .relative-album .control_btn .circle .pause_icon {
    width: 24px;
    height: 24px;
  }
  
  .container .music-box .album-box .position-reference .relative-album .widget {
    top: 10px;
  }
  
  .container .music-box .album-box .position-reference .relative-album .widget .widgetImg {
    width: 70px;
  }
  
  .container .music-box .album-box .position-reference .relative-album .widget .nail.left {
    left: 30px;
  }
  
  .container .music-box .album-box .position-reference .relative-album .widget .nail.right {
    right: 30px;
  }
  
  .container .music-box .album-box .position-reference .relative-album .progress_bar_top,
  .container .music-box .album-box .position-reference .relative-album .progress_bar_right,
  .container .music-box .album-box .position-reference .relative-album .progress_bar_bottom,
  .container .music-box .album-box .position-reference .relative-album .progress_bar_left {
    display: none;
  }
  
  .container .main-body {
    height: 30vh;
    min-height: 150px;
    background: linear-gradient(to bottom, #ffffff, #f0e6f6);
  }
  
  .container .main-body .album-box {
    transform: translate(-50%, -50%) scale(0.4);
  }
  
  .container .main-body .album-box span {
    width: 60px;
    height: 60px;
    border-radius: 8px;
  }
  
  .container .main-body .album-box span.front {
    transform: translateZ(30px);
  }
  
  .container .main-body .album-box span.back {
    transform: translateZ(-30px);
  }
  
  .container .main-body .album-box span.up {
    transform: rotateX(90deg) translateZ(30px);
  }
  
  .container .main-body .album-box span.down {
    transform: rotateX(-90deg) translateZ(30px);
  }
  
  .container .main-body .album-box span.left {
    transform: rotateY(90deg) translateZ(30px);
  }
  
  .container .main-body .album-box span.right {
    transform: rotateY(-90deg) translateZ(30px);
  }
  
  .container .main-body .album-box p {
    display: none;
  }
}

@media screen and (max-width: 360px) {
  .container .music-box .album-box .position-reference .relative-album .lyric_bg_box {
    height: 180px;
  }
  
  .container .music-box .album-box .position-reference .relative-album .lyric_bg_box .lyric_box .lyric_line {
    font-size: 12px;
    line-height: 18px;
  }
  
  .container .music-box .album-box .position-reference .relative-album .lyric_bg_box .lyric_box .lyric_line.active {
    font-size: 15px;
  }
  
  .container .main-body .album-box {
    transform: translate(-50%, -50%) scale(0.35);
  }
}

@media (hover: none) {
  .container .main-body .album-box:hover p.front,
  .container .main-body .album-box:hover p.back,
  .container .main-body .album-box:hover p.up,
  .container .main-body .album-box:hover p.down,
  .container .main-body .album-box:hover p.left,
  .container .main-body .album-box:hover p.right {
    width: 200px;
    height: 200px;
    opacity: 0.2;
  }
  
  .container .main-body .album-box:hover p.front {
    transform: translateZ(100px);
  }
  
  .container .main-body .album-box:hover p.back {
    transform: translateZ(-100px);
  }
  
  .container .main-body .album-box:hover p.up {
    transform: rotateX(90deg) translateZ(100px);
  }
  
  .container .main-body .album-box:hover p.down {
    transform: rotateX(-90deg) translateZ(100px);
  }
  
  .container .main-body .album-box:hover p.left {
    transform: rotateY(90deg) translateZ(100px);
  }
  
  .container .main-body .album-box:hover p.right {
    transform: rotateY(-90deg) translateZ(100px);
  }
}