.lbp {
  --lbp-line: #e0e0e0;
  --lbp-ink: #222;
  --lbp-muted: #999;
  --lbp-accent: #6da1bb;
  --lbp-deck: 168px;
  position: relative;
  margin-bottom: 22px;
  color: var(--lbp-ink);
  font-size: 13px;
  line-height: 1.6;
  text-align: center;
  -webkit-user-select: none;
  user-select: none;
}

.lbp[hidden],
.lbp-marker { display: none; }

.lbp-deck {
  position: relative;
  width: var(--lbp-deck);
  height: var(--lbp-deck);
  margin: 0 auto;
}

.lbp-disc {
  position: absolute;
  inset: 14px;
  border-radius: 50%;
  background:
    repeating-radial-gradient(circle at 50% 50%,
      #16181c 0 2px,
      #1e2126 2px 3px,
      #101216 3px 5px);
  box-shadow:
    0 8px 20px -10px rgba(0, 0, 0, .5),
    inset 0 0 0 1px rgba(255, 255, 255, .05);
  transform-origin: 50% 50%;
}

.lbp-disc::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(from 210deg,
      rgba(255, 255, 255, 0) 0deg,
      rgba(255, 255, 255, .075) 30deg,
      rgba(255, 255, 255, 0) 78deg,
      rgba(255, 255, 255, 0) 180deg,
      rgba(255, 255, 255, .055) 214deg,
      rgba(255, 255, 255, 0) 262deg);
  pointer-events: none;
}

.lbp-cover {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 88px;
  height: 88px;
  margin: -44px 0 0 -44px;
  border-radius: 50%;
  overflow: hidden;
  background: #e7ebee;
  transform-origin: 50% 50%;
  cursor: pointer;
}

.lbp-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 50%;
  pointer-events: none;
}

.lbp-cover[data-has] { background: #cdd4d9; }

.lbp-hole {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 9px;
  height: 9px;
  margin: -4.5px 0 0 -4.5px;
  border-radius: 50%;
  background: #f7f8fa;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .35);
  pointer-events: none;
  z-index: 3;
}

.lbp.spinning .lbp-disc,
.lbp.spinning .lbp-cover { animation: lbp-rotate 18s linear infinite; }

@keyframes lbp-rotate {
  to { transform: rotate(360deg); }
}

.lbp-arm {
  position: absolute;
  right: -36px;
  top: 10px;
  width: 120px;
  height: 120px;
  transform-origin: 105px 9.6px;
  transform: rotate(var(--lbp-arm, 22deg));
  transition: transform .55s cubic-bezier(.5, -0.35, .3, 1.35);
  pointer-events: none;
  z-index: 7;
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .3));
}

.lbp .lbp-arm { transform: rotate(var(--lbp-arm, 22deg)); }

.lbp-play,
.lbp-pause {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 6;
  width: 34px;
  height: 34px;
  margin: -17px 0 0 -17px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .93);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .28);
  transition: transform .28s cubic-bezier(.3, .8, .3, 1), opacity .28s ease, background .2s ease;
}

.lbp-play:hover { background: #fff; transform: scale(1.06); }
.lbp-play:active { transform: scale(.92); }

.lbp.playing .lbp-play {
  opacity: 0;
  transform: scale(.7);
  pointer-events: none;
}

.lbp-pause { display: none; }

.lbp-hole { display: none; }

.lbp-play i {
  display: block;
  width: 0;
  height: 0;
  margin-left: 3px;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 9px solid #3f444b;
}

.lbp-pause i {
  display: block;
  width: 9px;
  height: 11px;
  background:
    linear-gradient(to right, #3f444b 0 3px, transparent 3px 6px, #3f444b 6px 9px);
}

.lbp-listbtn {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 5;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #b3b8bf;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color .2s ease, background .2s ease;
}

.lbp-listbtn:hover { color: #6da1bb; background: rgba(109, 161, 187, .1); }
.lbp-listbtn svg { width: 14px; height: 14px; display: block; }

.lbp.open .lbp-listbtn { color: #6da1bb; }

.lbp-info {
  margin-top: 16px;
  padding: 0 4px;
}

.lbp-name {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #333;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lbp-artist {
  display: block;
  margin-top: 3px;
  font-size: 11px;
  color: var(--lbp-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lbp-list {
  display: none;
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  max-height: 0;
  overflow: hidden;
  text-align: left;
}

.lbp.open .lbp-list {
  display: block;
  max-height: 280px;
  overflow-y: auto;
}

.lbp-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 2px;
  border-bottom: 1px solid #f2f2f2;
  cursor: pointer;
  color: #555;
}

.lbp-item:last-child { border-bottom: 0; }
.lbp-item:hover { background: #f8fafb; }
.lbp-item.on { color: var(--lbp-accent); font-weight: 600; }

.lbp-item em {
  font-style: normal;
  width: 14px;
  flex: 0 0 14px;
  font-size: 11px;
  color: #bbb;
  text-align: right;
}

.lbp-item.on em { color: var(--lbp-accent); }

.lbp-item b {
  font-weight: inherit;
  flex: 1 1 auto;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lbp-item small {
  flex: 0 0 auto;
  font-size: 11px;
  color: #bbb;
  max-width: 42%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lbp[data-float] {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 196px;
  z-index: 999;
  margin: 0;
  padding: 14px 10px 12px;
  background: #fff;
  border: 1px solid var(--lbp-line);
  border-radius: 6px;
  box-shadow: 0 10px 30px -12px rgba(0, 0, 0, .28);
}

@media (max-width: 768px) {
  body.lbp-has-bar {
    padding-bottom: calc(70px + env(safe-area-inset-bottom));
  }

  .lbp[data-mobile="1"] {
    --lbp-deck: 46px;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    margin: 0;
    z-index: 9997;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
    text-align: left;
    background: rgba(255, 255, 255, .97);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border-top: 1px solid var(--lbp-line);
  }

  .lbp[data-mobile="1"] .lbp-deck {
    flex: 0 0 46px;
    margin: 0;
  }

  .lbp[data-mobile="1"] .lbp-disc { inset: 0; }

  .lbp[data-mobile="1"] .lbp-cover {
    width: 34px;
    height: 34px;
    margin: -17px 0 0 -17px;
  }

  .lbp[data-mobile="1"] .lbp-hole { width: 5px; height: 5px; margin: -2.5px 0 0 -2.5px; }

  .lbp[data-mobile="1"] .lbp-arm,
  .lbp[data-mobile="1"] .lbp-listbtn,
  .lbp[data-mobile="1"] .lbp-pause { display: none; }

  .lbp[data-mobile="1"] .lbp-play {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 8;
    width: 34px;
    height: 34px;
    margin: -17px 0 0 -17px;
  }

  .lbp[data-mobile="1"].playing .lbp-play {
    opacity: 1;
    transform: none;
    pointer-events: auto;
    display: flex;
  }

  .lbp[data-mobile="1"].playing .lbp-play i {
    width: 9px;
    height: 11px;
    margin-left: 0;
    border: 0;
    background: linear-gradient(to right, #4a4f56 0 3px, transparent 3px 6px, #4a4f56 6px 9px);
  }

  .lbp[data-mobile="1"] .lbp-info {
    flex: 1 1 auto;
    min-width: 0;
    order: 2;
    margin: 0;
  }

  .lbp[data-mobile="1"] .lbp-list,
  .lbp[data-mobile="1"].open .lbp-list {
    display: none !important;
  }

  .lbp[data-mobile="1"] .lbp-item { padding: 10px 0; }
}
.lbp-lyric {
  position: relative;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  margin: 0 auto 18px;
  padding: 0;
  text-align: center;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity .5s ease, transform .5s ease;
}

.lbp-wave {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  height: 78px;
  margin-bottom: -8px;
}

.lbp-line {
  position: relative;
  display: block;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: .5px;
  line-height: 1.4;
  min-height: 24px;
  margin-top: -4px;
  opacity: 0;
  transform: translateY(4px);
  transition: color .25s ease, opacity .4s ease, transform .4s ease;
}

.lbp-line-base {
  display: block;
  color: #b9bcc2;
}

.lbp-line-fill {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  display: block;
  color: #2b7fd4;
  text-align: inherit;
  white-space: nowrap;
  clip-path: inset(0 100% 0 0);
  will-change: clip-path;
}

.lbp-lyric.playing .lbp-line {
  opacity: 1;
  transform: none;
}

@media (max-width: 1024px) {
  .lbp-lyric { margin: 0 auto 20px; }
}

.lbp-lyric.shown { opacity: 1; transform: none; }

.lbp-bars {
  flex: 0 0 auto;
  width: 280px;
  min-width: 0;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
}

.lbp-bars i {
  flex: 0 1 auto;
  width: 2px;
  min-height: 2px;
  border-radius: 1px;
  background: #d84636;
  opacity: .55;
  transform-origin: 50% 50%;
  transition: transform .16s ease-out, opacity .3s ease;
}

.lbp-lyric.playing .lbp-bars i { background: #d8392b; }

.lbp-ecg {
  flex: 0 0 auto;
  width: 120px;
  min-width: 16px;
  height: 30px;
  color: #d8392b;
  opacity: .78;
  overflow: visible;
  pointer-events: none;
}

.lbp-ecg .lbp-ecg-line,
.lbp-ecg path {
  stroke-width: 2.6;
}

.lbp-ecg--r { transform: scaleX(-1); }

.lbp-line.in { animation: lbp-line-in .45s ease both; }

.lbp-lyric:not(.playing) .lbp-line {
  opacity: 0 !important;
  transform: translateY(4px) !important;
  animation: none !important;
}

@keyframes lbp-line-in {
  from { opacity: .25; transform: translateY(4px); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 768px) {
  .lbp-lyric { margin: 0 auto 16px; }
  .lbp-wave { height: 78px !important; gap: 12px; margin-bottom: -6px !important; }
  .lbp-bars { width: 66%; gap: 2.5px; }
  .lbp-bars i { width: 2.4px; }
  .lbp-ecg { width: 15%; height: 22px; min-width: 44px; }
  .lbp-ecg .lbp-ecg-line { display: none !important; }
  .lbp-ecg path { stroke: none !important; }
  .lbp-ecg { background: linear-gradient(currentColor, currentColor) center / 100% 1px no-repeat; opacity: .5; }
  .lbp-line { font-size: 15px; min-height: 24px; margin-top: -2px; }
}