/* 背景 */

.friendship {
  width: 100%;
  height: 19rem;
  background: url("../images/link.jpg") no-repeat;
  background-size: cover;
  position: relative;
  padding: 0 1.54rem;
}

.friendship .friendship-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  -o-transform: translate(-50%, -50%);
  width: 50%;
  height: 12.65rem;
}

#app-cover {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  -o-transform: translate(-50%, -50%);
}

#bg-artwork {
  display: none;
  position: fixed;
  top: -30px;
  right: -30px;
  bottom: -30px;
  left: -30px;
  background-image: url(http://k003.kiwi6.com/hotlink/8msy543338/1.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: 50%;
  filter: blur(40px);
  -webkit-filter: blur(40px);
  z-index: 1;
}

#bg-layer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: #fff;
  opacity: 0.51;
  z-index: 2;
}

#player {
  position: relative;
  left: 37.5px;
  z-index: 6;
  width: 710px;
  /* height: 7.5rem; */
  height: 210px;
}

#player-track {
  position: absolute;
  top: 0;
  left: 240px;
  z-index: 6;
  width: 328px;
}

#player-track.active {
  /* top: -92px; */
}

#album-name {
  position: relative;
  top: 70px;
  /* left: -30px; */
  left: -2px;
  color: #54576f;
  font-size: 15px;
  font-weight: bold;
  float: left;
}

#track-name {
  color: #acaebd;
  font-size: 13px;
  float: left;
  position: relative;
  top: 62px;
  left: -20px;
}

#track-time {
  height: 12px;
  margin-bottom: 3px;
  position: relative;
  /* top: 48px; */
  top: 58px;
}

#current-time {
  float: left;
  position: absolute;
  top: -4px;
  left: -32px;
}

#track-length {
  float: right;
  position: absolute;
  top: -4px;
  right: -48px;
}

#current-time,
#track-length {
  color: #b9986c;
  font-size: 11px;
  border-radius: 10px;
  transition: 0.3s ease all;
}

#track-time.active #current-time,
#track-time.active #track-length {
  background-color: transparent;
}

#s-area,
#seek-bar {
  position: relative;
  height: 4px;
  border-radius: 4px;
}

#s-area {
  background-color: #fff;
  cursor: pointer;
  /* top: 33px; */
  top: 43px;
  left: 6px;
  /* width: 124px; */
}

#ins-time {
  position: absolute;
  top: -20px;
  color: #fff;
  font-size: 12px;
  white-space: pre;
  padding: 5px 6px;
  border-radius: 4px;
  display: none;
}

#s-hover {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  opacity: 0.2;
  z-index: 2;
}

#ins-time,
#s-hover {
  background-color: #3b3d50;
}

#seek-bar {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 0;
  background-color: #b9986c;
  transition: 0.2s ease width;
  z-index: 1;
}

#player-content {
  position: relative;
  height: 100%;
}

#player-content .player-content-back {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 1;
}
#player-content .player-content-back img:first-of-type {
  display: block;
  height: 100%;
  float: left;
}
#player-content .player-content-back img:last-of-type {
  display: block;
  height: 100%;
  float: left;
}

#album-art {
  position: absolute;
  z-index: 5;
  /* width: 7.5rem; */
  width: 213px;
  height: 100%;
  -webkit-transform: rotateZ(0);
  transform: rotateZ(0);
  transition: 0.3s ease all;
  overflow: hidden;
}

#album-art.active {
  /* top: -60px;
  box-shadow: 0 0 0 4px #fff7f7, 0 30px 50px -15px #afb7c1; */
}

/* #album-art:before {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  left: 0;
  width: 20px;
  height: 20px;
  margin: -10px auto 0 auto;
  background-color: #d6dee7;
  border-radius: 50%;
  box-shadow: inset 0 0 0 2px #fff;
  z-index: 2;
} */

#album-art img {
  display: block;
  /* opacity: 0;
  z-index: -1; */
  position: absolute;
  top: 9%;
  /* left: 9%; */
  left: 8%;
  /* top: 49%;
  left: 48%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -o-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%); */
  width: 80%;
  height: 80%;
}

#album-art img.active {
  /* opacity: 1;
  z-index: 1; */
}

#album-art.active img.active {
  /*z-index: 1;
   -webkit-animation: rotateAlbumArt 3s linear 0s infinite forwards;
  animation: rotateAlbumArt 3s linear 0s infinite forwards; */
}

@-webkit-keyframes rotateAlbumArt {
  0% {
    top: 9%;
    left: 9%;
    -webkit-transform: rotateZ(0);
    transform: rotateZ(0);
  }
  100% {
    top: 9%;
    left: 9%;
    -webkit-transform: rotateZ(360deg);
    transform: rotateZ(360deg);
  }
}

@keyframes rotateAlbumArt {
  0% {
    top: 9%;
    left: 9%;
    -webkit-transform: rotateZ(0);
    transform: rotateZ(0);
  }
  100% {
    top: 9%;
    left: 9%;
    -webkit-transform: rotateZ(360deg);
    transform: rotateZ(360deg);
  }
}

#buffer-box {
  position: absolute;
  top: 50%;
  right: 0;
  left: 0;
  height: 13px;
  color: #1f1f1f;
  font-size: 13px;
  /* font-family: Helvetica; */
  text-align: center;
  font-weight: bold;
  line-height: 1;
  padding: 6px;
  margin: -12px auto 0 auto;
  background-color: rgba(255, 255, 255, 0.19);
  /* opacity: 0; */
  z-index: 2;
}

#album-art img,
#buffer-box {
  transition: 0.1s linear all;
}

#album-art.buffering img {
  /* opacity: 0.25; */
}

#album-art.buffering img.active {
  /* opacity: 0.8;
  filter: blur(2px);
  -webkit-filter: blur(2px); */
}

#album-art.buffering #buffer-box {
  opacity: 1;
}

#player-controls {
  position: absolute;
  top: 60%;
  /* left: 48%; */
  left: 43%;
  z-index: 6;
  width: auto;
}

.control {
  float: left;
  position: relative;
  top: 50%; /*偏移*/
  transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  margin-right: 0.9rem;
}
#player-controls .button {
  position: relative;
  background-color: #fff;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 0 8px #ccc;
}
.control:nth-of-type(1) .button,
.control:nth-of-type(3) .button {
  width: 34px;
  height: 34px;
}

.control:nth-of-type(2) .button {
  width: 45px;
  height: 45px;
}

.control:nth-of-type(3) {
  margin-right: 0;
}

#player-controls .control .button i {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  -o-transform: translate(-50%, -50%);
  display: block;
  color: #b9986c;
  font-size: 16px;
  text-align: center;
  line-height: 1;
}

#player-controls .control:nth-of-type(1) .button i {
  left: 47%;
}
#player-controls .control:nth-of-type(3) .button i {
  left: 53%;
}
#player-controls .control:nth-of-type(2) .button .fa-play {
  left: 53%;
}
#player-controls .control:nth-of-type(2) .button .fa-pause {
  left: 50%;
}

#player-controls .button,
#player-controls .button i {
  transition: 0.2s ease all;
}

#player-controls .button:hover {
  background-color: #b9986c;
}

#player-controls .button:hover i {
  color: #fff;
}

#follow-me-link {
  top: 10px;
  font-size: 13px;
  padding: 5px 7px;
  background-color: #f86d92;
  border-radius: 2px;
}

#share-link {
  top: 1.1rem;
  width: 16px;
  height: 16px;
  padding: 10px;
  font-size: 16px;
  background-color: #7dca24;
  border-radius: 50%;
}

#follow-me-link,
#share-link {
  position: fixed;
  right: 10px;
  color: #fff;
  text-align: center;
  text-decoration: none;
  z-index: 125;
}

/* 作曲列表 */
#player-list {
  transition: all .3s ease;
  -webkit-transition: all .3s ease;
  -moz-transition: all .3s ease;
  -ms-transition: all .3s ease;
  -o-transition: all .3s ease;
  opacity:0;
　filter:alpha(opacity=0);
  width: 482px;
  overflow: hidden;
  padding: 15px 22px;
  box-shadow: 0 0 10px #666;
  background-color: rgba(255, 255, 255, 0.5);
  border-radius: 8px;
  z-index: 5;
  position: absolute;
  /* top: 165px; */
  top: 0;
  right: 24px;
}

#player-list.playerListClass {
  opacity:1;
　filter:alpha(opacity=100);
  z-index:6;
}
#player-list.playerListClass .player-list-content{
  z-index: 2;
}

/* 遮罩层 */
#player-list .player-list-filter{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background-color: transparent;
}

#player-list .player-list-content{
  position: relative;
  z-index: 0;
  width: 100%;
  overflow: hidden;
}
#player-list ul{
  position: relative;
  left: 0;
  top: 0;
  width: 100%;
  height: 1000%;
}
#player-list ul li {
  float: left;
  width: 100%;
  cursor: pointer;
  /* padding-left: 6%; */
  border-bottom: 1px solid rgba(255, 255, 255, 0.6);
}

#player-list ul li:nth-of-type(1),
#player-list ul li:nth-of-type(2),
#player-list ul li:nth-of-type(3) {
  margin-top: 0;
}
#player-list ul li p{
  float: left;
  width: 50%;
}

#player-list ul li p,
#player-list ul li i,
#player-list ul li span {
  transition: color 0.3s ease;
  -webkit-transition: color 0.3s ease;
  -moz-transition: color 0.3s ease;
  -ms-transition: color 0.3s ease;
  -o-transition: color 0.3s ease;
  color: #fff;
  float: left;
  line-height: 45px;
}
#player-list ul li i {
  font-size: 20px;
}
#player-list ul li P {
  font-size: 14px;
  color: #fff;
}
#player-list ul li span {
  font-size: 15px;
}

.icon-bofang {
  font-weight: bold;
}
.icon-bofangzanting {
  display: none;
}

#player-list ul li.active .icon-bofang {
  display: none;
}
#player-list ul li.active .icon-bofangzanting {
  display: block;
}
#player-list ul li:hover i,
#player-list ul li:hover span,
#player-list ul li:hover p {
  color: #b9986c;
}

/* 音乐列表导航 */
#player-list .player-list-nav{
  position: relative;
  width: 100%;
  overflow: hidden;
  margin-top: 14px;
  z-index: 2;
}

#player-list .player-list-nav ol{
  float: left;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
  -moz-transform: translateX(-50%);
  -o-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
}
#player-list .player-list-nav ol li{
  cursor: pointer;
  transition: color .3s ease;
  -webkit-transition: color .3s ease;
  -moz-transition: color .3s ease;
  -ms-transition: color .3s ease;
  -o-transition: color .3s ease;
  float: left;
  font-size: 14px;
  color: #fff;
  margin-right: 11px;
}
#player-list .player-list-nav ol li:hover{
  color: #b9986c;
}
#player-list .player-list-nav ol li:last-of-type{
  margin-right: 0;
}


/* 音乐列表开关 */
#player .player-show-hidden{
  position: absolute;
  bottom: 70px;
  right: 94px;
  z-index: 2;
  width: 20px;
  height: 20px;
}
#player .player-show-hidden i{
  position: absolute;
  top: 0;
  left: 0;
  cursor: pointer;
  transition: color .3s ease;
  -webkit-transition: color .3s ease;
  -moz-transition: color .3s ease;
  -ms-transition: color .3s ease;
  -o-transition: color .3s ease;
  color: #b9986c;
  font-size: 21px;
}
#player .player-show-hidden:hover i{
  color: #fff;
}

#player .player-show-hidden:hover i{
  color: #fff;
}
#player .player-show-hidden .icon-menu_close{
  display: none;
}

@media screen and (max-width: 960px) {
  /* .friendship {
    height: 9rem !important;
  } */
  #app-cover {
    width: 92%;
  }
  #player {
    width: 100%;
    left: 0;
    height: 6rem;
  }
  #player-content .player-content-back {
    width: 100%;
  }
  #player-content .player-content-back img:first-of-type,
  #player-content .player-content-back img:last-of-type {
    height: auto;
  }
  #player-content .player-content-back img:first-of-type {
    width: 31%;
    height: 106px;
  }
  #player-content .player-content-back img:last-of-type {
    width: 69%;
    height: 106px;
  }

  #player-list {
    width: 72%;
  }
  #player-list ul li {
    /* width: 50%; */
    /* min-height: 56px; */
    padding-left: 0;
  }

  /* #player-list ul li P {
   
    line-height: 20px;
    font-size: 12px;
  }

  #player-list ul li span {
    font-size: 14px;
  } */
  #player-list ul li p,
  #player-list ul li i,
  #player-list ul li span {
    line-height: 40px;
  }

  #player-list ul li p, #player-list ul li i, #player-list ul li span{
    font-size: 0.55rem;
  }
  #player-list ul li p:last-of-type{
    font-size: 0.5rem;
  }

  #album-art img {
    width: 70%;
    height: 70%;
    top: 14%;
    left: 14%;
  }
  #album-art {
    width: 31%;
    height: 106px;
  }

  /* #player-track {
    width: 56%;
    left: 132px;
  } */

  #player-track {
    /* top: -22px; */
    top: -1rem;
    left: 7rem;
    width: 9.5rem;
  }
  #track-time{
    top: 2.4rem;
    margin-bottom: 0;
    height: 0.5rem;
  }
  #album-name {
    /* font-size: 14px;
    top: 62px;
    left: -1.5rem; */
    font-size: 0.5rem;
    top: 2.9rem;
    left: -1.8rem;
  }
  #track-name {
    color: #acaebd;
    font-size: 12px;
    top: 63px;
    left: -1.3rem;
  }
  #s-area {
    width: 6.5rem;
    top: 1.85rem;
  }

  #track-length {
    right: 16px;
  }

  .control:nth-of-type(1) .button,
  .control:nth-of-type(3) .button {
    width: 18px;
    height: 18px;
  }
  .control:nth-of-type(2) .button {
    width: 20px;
    height: 20px;
  }
  #player-controls .button i {
    font-size: 12px;
  }
  #player-controls {
    /* top: 70px; */
    top: 3.2rem;
    left: 43%;
  }
  #player-list {
    margin-top: 0;
  }

  #player .player-show-hidden {
    bottom: 2.2rem;
    right: 1.3rem;
  }
  #player-list {
    top: 84px;
    right: 13px;
  }
  #player-list ul li{
    margin-top: 0;
  }
  #player .player-show-hidden i{
    font-size: 0.7rem;
  }
  #player-controls .control .button i {
    font-size: 0.5rem;
  }
  #player-list .player-list-nav ol li{
    font-size: 0.6rem;
  }

}
