.site-music-fab {
  position: fixed;
  left: 18px;
  bottom: 18px;
  z-index: 9998;
  width: 78px;
  height: 78px;
  padding: 6px;
  border: 0;
  border-radius: 50%;
  overflow: hidden;
  cursor: url(../cur/hover.cur), pointer;
  background: conic-gradient(from 180deg, #ffd7e3 0%, #d7f2e5 30%, #fff4c8 58%, #ffb8cd 82%, #ffd7e3 100%);
  box-shadow: 0 14px 34px rgba(143, 158, 170, .22);
  transition: transform .18s ease, box-shadow .18s ease;
}

.site-music-fab::before {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .26);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .66);
  pointer-events: none;
}

.site-music-fab:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(143, 158, 170, .28);
}

.site-music-fab.is-playing {
  animation: site-music-fab-spin 5.8s linear infinite;
}

.site-music-fab img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, .92);
  box-shadow: 0 10px 24px rgba(86, 104, 115, .18);
}

.site-music-panel {
  position: fixed;
  left: 30px;
  bottom: 106px;
  z-index: 9999;
  width: 356px;
  max-width: calc(100vw - 32px);
  padding: 24px;
  border-radius: 30px;
  color: #72777d;
  background: linear-gradient(145deg, rgba(255, 255, 255, .96), rgba(253, 254, 252, .95));
  border: 1px solid rgba(214, 218, 221, .72);
  box-shadow: 0 24px 56px rgba(136, 149, 162, .18);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  opacity: 0;
  pointer-events: none;
  overflow: hidden;
  transform: translateY(16px) scale(.96);
  transition: opacity .18s ease, transform .18s ease;
}

.site-music-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 10% 18%, rgba(167, 228, 197, .28), transparent 26%),
    radial-gradient(circle at 88% 10%, rgba(255, 139, 177, .18), transparent 22%),
    radial-gradient(circle at 86% 86%, rgba(255, 242, 187, .22), transparent 24%);
  pointer-events: none;
}

.site-music-panel.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.site-music-close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 1;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  font-size: 28px;
  line-height: 38px;
  color: #92a070;
  background: rgba(239, 247, 227, .92);
  box-shadow: 0 8px 18px rgba(167, 186, 151, .18);
  cursor: url(../cur/hover.cur), pointer;
  transition: transform .14s ease, background .14s ease, color .14s ease;
}

.site-music-close:hover {
  transform: translateY(-1px);
  color: #ff6f99;
  background: rgba(255, 244, 248, .95);
}

.site-music-label,
.site-music-now,
.site-music-time,
.site-music-controls,
.site-music-volume,
.site-music-subtitle,
.site-music-empty,
.site-music-list {
  position: relative;
  z-index: 1;
}

.site-music-label {
  font-size: 1.55rem;
  font-weight: 700;
  margin-bottom: 18px;
  color: #7f8378;
  font-family: 'Noto Serif SC', serif;
}

.site-music-now {
  display: flex;
  align-items: center;
  gap: 16px;
}

.site-music-cover {
  width: 88px;
  height: 88px;
  border-radius: 20px;
  object-fit: cover;
  box-shadow: 0 12px 28px rgba(116, 132, 143, .16);
}

.site-music-title {
  font-size: 2rem;
  line-height: 2.55rem;
  font-weight: 700;
  color: #7f8378;
  font-family: 'Noto Serif SC', serif;
}

.site-music-artist {
  margin-top: 6px;
  color: #9ca2a8;
  font-size: 1.18rem;
}

.site-music-time {
  display: flex;
  justify-content: space-between;
  margin: 16px 0 10px;
  color: #9ca2a8;
  font-weight: 700;
}

.site-music-range,
.site-music-volume-range {
  position: relative;
  z-index: 1;
  width: 100%;
  appearance: none;
  height: 8px;
  border-radius: 999px;
  background: rgba(209, 220, 205, .72);
  outline: none;
}

.site-music-range::-webkit-slider-thumb,
.site-music-volume-range::-webkit-slider-thumb {
  appearance: none;
  width: 24px;
  height: 24px;
  border: 4px solid #fff;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff8bac, #ff6f99);
  box-shadow: 0 6px 18px rgba(255, 111, 153, .24);
}

.site-music-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  margin: 24px 0;
}

.site-music-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1px solid rgba(213, 219, 224, .92);
  background: rgba(255, 255, 255, .88);
  box-shadow: 0 10px 24px rgba(132, 147, 159, .12);
  color: #8f959b;
  font-size: 20px;
  cursor: url(../cur/hover.cur), pointer;
  transition: transform .14s ease, box-shadow .14s ease, color .14s ease;
}

.site-music-btn:hover,
.site-music-refresh:hover {
  transform: translateY(-2px);
}

.site-music-btn.main {
  width: 74px;
  height: 74px;
  font-size: 28px;
  border: 0;
  color: #fff;
  background: linear-gradient(135deg, #ff84a7, #ff6995);
  box-shadow: 0 16px 30px rgba(255, 111, 153, .28);
}

.site-music-btn:disabled,
.site-music-refresh:disabled {
  opacity: .56;
  cursor: default;
  transform: none;
}

.site-music-volume {
  display: grid;
  grid-template-columns: 36px 1fr;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
}

.site-music-volume-icon {
  font-size: 24px;
  line-height: 1;
  filter: saturate(.82);
}

.site-music-divider {
  border: 0;
  border-top: 1px solid rgba(219, 223, 225, .95);
  margin: 0 0 18px;
}

.site-music-subtitle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  color: #7f8378;
  font-size: 1.5rem;
  font-family: 'Noto Serif SC', serif;
  font-weight: 700;
}

.site-music-refresh {
  padding: 9px 16px;
  border-radius: 18px;
  border: 1px solid rgba(213, 219, 224, .92);
  background: rgba(255, 255, 255, .88);
  box-shadow: 0 10px 24px rgba(132, 147, 159, .1);
  color: #8f959b;
  cursor: url(../cur/hover.cur), pointer;
  transition: transform .14s ease, color .14s ease, box-shadow .14s ease;
}

.site-music-refresh:hover {
  color: #ff6f99;
  box-shadow: 0 12px 24px rgba(255, 111, 153, .14);
}

.site-music-list {
  max-height: 220px;
  overflow: auto;
  padding-right: 8px;
}

.site-music-list::-webkit-scrollbar {
  width: 6px;
}

.site-music-list::-webkit-scrollbar-thumb {
  background: rgba(184, 201, 177, .9);
  border-radius: 999px;
}

.site-music-item {
  display: grid;
  grid-template-columns: 18px 58px 1fr 28px;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: 18px;
  margin-bottom: 10px;
  background: linear-gradient(135deg, rgba(245, 250, 244, .96), rgba(255, 255, 255, .96));
  border: 1px solid rgba(226, 232, 229, .9);
  box-shadow: 0 10px 24px rgba(149, 162, 174, .1);
  cursor: url(../cur/hover.cur), pointer;
  transition: transform .14s ease, box-shadow .14s ease, border-color .14s ease;
}

.site-music-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(149, 162, 174, .14);
}

.site-music-item.is-active {
  background: linear-gradient(135deg, rgba(234, 248, 237, .98), rgba(255, 247, 251, .98));
  border-color: rgba(186, 226, 205, .92);
}

.site-music-item-order {
  font-size: 14px;
  color: #a2a6aa;
  text-align: center;
}

.site-music-item-cover {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  object-fit: cover;
  box-shadow: 0 8px 18px rgba(132, 147, 159, .12);
}

.site-music-item-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #7f8378;
  font-family: 'Noto Serif SC', serif;
}

.site-music-item-artist {
  color: #a1a7ad;
  margin-top: 4px;
}

.site-music-item-action {
  font-size: 20px;
  color: #ff78a0;
  text-align: center;
}

.site-music-empty {
  padding: 18px 0 6px;
  color: #9ca2a8;
}

.site-music-hidden {
  display: none !important;
}

@keyframes site-music-fab-spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@media screen and (max-width: 768px) {
  .site-music-fab {
    left: 14px;
    bottom: 14px;
    width: 72px;
    height: 72px;
  }

  .site-music-panel {
    left: 14px;
    right: 14px;
    bottom: 94px;
    width: auto;
    max-width: none;
    padding: 18px;
    border-radius: 24px;
  }

  .site-music-cover {
    width: 76px;
    height: 76px;
  }

  .site-music-title {
    font-size: 1.7rem;
    line-height: 2.2rem;
  }

  .site-music-btn.main {
    width: 66px;
    height: 66px;
  }
}
