@charset "UTF-8";

:root {
  --heo-white: #fff;
  --heo-white-op: rgba(255, 255, 255, 0.2);
  --heo-black: #000;
  --heo-black-op: rgba(0, 0, 0, 0.2);
  --heo-none: #00000000;
  --heo-gray: #999999;
  --heo-gray-op: #9999992b;
  --heo-vip: #e5a80d;
  --heo-main: var(--heo-theme);
  --heo-main-op: var(--heo-theme-op);
  --heo-main-op-deep: var(--heo-theme-op-deep);
  --heo-main-none: var(--heo-theme-none);
  --heo-shadow-theme: 0 8px 12px -3px var(--heo-theme-op);
  --heo-shadow-blackdeep: 0 2px 16px -3px rgba(0, 0, 0, .15);
  --heo-shadow-main: 0 8px 12px -3px var(--heo-main-op);
  --heo-shadow-blue: 0 8px 12px -3px rgba(40, 109, 234, .20);
  --heo-shadow-white: 0 8px 12px -3px rgba(255, 255, 255, .20);
  --heo-shadow-black: 0 0 12px 4px rgba(0, 0, 0, .05);
  --heo-shadow-yellow: 0px 38px 77px -26px rgba(255, 201, 62, .12);
  --heo-shadow-red: 0 8px 12px -3px #ee7d7936;
  --heo-shadow-green: 0 8px 12px -3px #87ee7936;
  --heo-logo-color: linear-gradient(215deg, #4584ff 0%, #cf0db9 100%);
  --heo-snackbar-time: 5s;
}

#page {
  border: 0;
  box-shadow: none !important;
  padding: 0 !important;
  background: transparent !important;
}

body {
  background: rgb(13, 13, 13);
  position: relative;
  overflow: hidden;
  transition: background-color 0.42s ease;
}

#heoMusic-page .aplayer{
  display: flex;
  flex-direction: row-reverse;
  background: rgba(0, 0, 0, 0);
  border: none;
  box-shadow: none;
  justify-content: space-between;
}
#page {
  border: 0;
  box-shadow: none !important;
  padding: 0 !important;
  background: transparent !important;
}
#music_bg {
  display: none;
  position: fixed;
  z-index: -999;
  width: 200%;
  height: 200%;
  top: -50%;
  left: -50%;
  background-position: 0 0;
  rotate: 0;
  background-size: 40%;
  transition: 0.6s;
  background-image: url(/img/cover.webp);
}

#music_bg::before {
  content: '';
  transform: translateZ(0);
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(200px);
  -webkit-backdrop-filter: blur(200px);
  transform: translateZ(0);
  position: fixed;
  z-index: -998;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
}

body #music_bg{
  display: block;
}

body {
  background: rgb(13, 13, 13);
  transition: background-color 0.42s ease;
}

#heoMusic-page {
  max-width: calc(1200px - 160px);
  margin: auto;
  margin-top: 60px;
}

#heoMusic-page .aplayer {
  display: flex;
  flex-direction: row;
  background: rgba(0, 0, 0, 0);
  border: none;
  box-shadow: none;
  height: calc(100dvh - 170px);
  gap: 40px;
}

.aplayer-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  width: 40%;
  height: 100%;
  max-width: 332px;
}

#heoMusic-page.localMusic {
  display: flex;
  flex-direction: row;
  background: rgba(0, 0, 0, 0);
  border: none;
  box-shadow: none;
  height: calc(100dvh - 170px);
}

body #web_bg {
  filter: blur(63px);
  opacity: 0.6;
  background-repeat: no-repeat;
  background-size: cover;
}
body #footer,
body #nav-music {
  display: none;
}

#heoMusic-page .aplayer-body {
  width: 70%;
  height: 100%;
}

#heoMusic-page ol > li:hover {
  background: var(--heo-black-op);
  border-radius: 6px;
}
#heoMusic-page .aplayer-pic {
  float: none;
  width: 300px;
  height: 300px;
  border-radius: 12px;
  z-index: 999;
  position: relative;
  transform: scale(0.9);
  background-size: cover;
  margin-top: 8px;
}

#heoMusic-page.aplayer_playing .aplayer-pic {
  transform: scale(1);
  box-shadow: var(--heo-shadow-black);
}

#heoMusic-page .aplayer-info {
  border-bottom: none;
  height: 100%;
}

#heoMusic-page .aplayer-info .aplayer-music {
  text-align: center;
  height: auto;
  margin: 15px;
  display: none;
}

#heoMusic-page .aplayer-info .aplayer-music .aplayer-author,
#heoMusic-page .aplayer-info .aplayer-music .aplayer-title {
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
}

#heoMusic-page .aplayer-info .aplayer-lrc {
  height: 100%;
  overflow-y: scroll;
  scrollbar-width: none;
  -ms-overflow-style: none;
  mask-image: linear-gradient(to bottom, #0000, #000 10%, #000 90%, #0000);
  -webkit-mask-image: linear-gradient(to bottom, #0000, #000 10%, #000 90%, #0000);
}

#heoMusic-page .aplayer-info .aplayer-lrc::-webkit-scrollbar {
  display: none;
}

#heoMusic-page .heo-music-empty-state {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 240px;
  padding: 32px 24px;
  text-align: center;
  color: rgba(255, 255, 255, 0.72);
  font-size: 15px;
  line-height: 1.8;
}

#heoMusic-page .aplayer-info .aplayer-lrc p {
  font-size: 36px;
  line-height: 1.38;
  margin-bottom: 0;
  padding: 8px;
  border-radius: 8px;
  color: #fff;
  font-weight: bold;
  text-align: left;
  filter: blur(2px);
  opacity: 0.3;
  transition: all 0.9s cubic-bezier(0.56, 0.17, 0.22, 0.76),
              height 0.3s ease,
              background 0.3s ease,
              max-height 0.3s ease;
  user-select: none;
  text-shadow: 0px 2px 0px #ffffff00;
  position: relative;
  cursor: pointer;
  word-wrap: break-word; /* 兼容性更好，用于长单词换行 */
  word-break: break-all; /* 针对所有内容强制换行 */
}

#heoMusic-page .aplayer-info .aplayer-lrc p:hover::after {
  opacity: 1;
}

#heoMusic-page .aplayer-info .aplayer-lrc p.aplayer-lrc-current {
  filter: blur(0px);
  opacity: 1;
  transition: all 0.3s cubic-bezier(0.56, 0.17, 0.22, 0.76), 
              text-shadow 8s 4s ease-in,
              height 0.3s ease,
              max-height 0.3s ease,
              opacity 0.3s ease;
  height: auto;
  max-height: 200px;
  text-shadow: 0px 2px 16px #ffffff94;
  white-space: normal;
  text-overflow: clip;
  transform: translateZ(0);
}

#heoMusic-page .aplayer-info .aplayer-lrc p.aplayer-lrc-current:first-child {
  text-shadow: 0px 2px 16px #ffffff00;
}

#heoMusic-page .aplayer-info .aplayer-lrc p:hover {
  background: #ffffff47;
}

#heoMusic-page .aplayer-info .aplayer-lrc p.aplayer-lrc-current:hover {
  background: #ffffff1b;
}


@media screen and (min-width: 768px) {
  #heoMusic-page .aplayer-info .aplayer-lrc:hover p {
    filter: blur(0px);
  }
}

#heoMusic-page .aplayer .aplayer-lrc:after,
#heoMusic-page .aplayer .aplayer-lrc:before {
  display: none;
}

.aplayer .aplayer-lrc .aplayer-lrc-contents {
  padding: 200px 20px 600px 20px;
  width: 90%;
  transition: all .5s cubic-bezier(0.49, 0.21, 0.22, 0.84);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transform: translateZ(0);
  margin-left: 16px;
}

@media screen and (max-width: 768px) {
  .aplayer .aplayer-lrc .aplayer-lrc-contents {
    width: calc(100% - 40px);
  }
}

/* 控制器 */
#heoMusic-page .aplayer-info .aplayer-controller {
  position: fixed;
  max-width: calc(1200px - 160px);
  margin: auto;
  left: 0;
  right: 0;
  bottom: 50px;
  align-items: center;
}
#heoMusic-page .aplayer-info .aplayer-controller .aplayer-bar-wrap {
  margin: 0 150px 0 150px;
}
#heoMusic-page .aplayer-info .aplayer-controller .aplayer-played {
  background: var(--heo-white) !important;
}
#heoMusic-page .aplayer-info .aplayer-controller .aplayer-thumb {
  -webkit-transform: none;
  transform: none;
  background: #fff !important;
}
#heoMusic-page .aplayer-info .aplayer-time .aplayer-icon-back,
#heoMusic-page .aplayer-info .aplayer-time .aplayer-icon-forward,
#heoMusic-page .aplayer-info .aplayer-time .aplayer-icon-play {
  display: inline;
  position: fixed;
}
#heoMusic-page .aplayer-info .aplayer-time {
  position: absolute;
  width: 100%;
  bottom: 24px;
  height: 0;
  display: flex;
  justify-content: flex-end;
}
#heoMusic-page .aplayer-info .aplayer-time .aplayer-time-inner {
  margin-right: 18px;
  margin-top: -8px;
}
#heoMusic-page .aplayer-info .aplayer-time .aplayer-icon-back {
  position: absolute;
  left: 0;
}
#heoMusic-page .aplayer-info .aplayer-time .aplayer-icon-play {
  position: absolute;
  left: 40px;
}
#heoMusic-page .aplayer-info .aplayer-time .aplayer-icon-forward {
  position: absolute;
  left: 80px;
}

#heoMusic-page .aplayer-info .aplayer-time .aplayer-icon {
  width: 26px;
  height: 26px;
  margin-left: 15px;
}

#heoMusic-page .aplayer-info .aplayer-time .aplayer-volume-wrap::before {
  content: '';
  position: absolute;
  padding: 8px;
  bottom: -6px;
  left: 3px;
  width: 28px;
  height: 150px;
}

#heoMusic-page .aplayer-info .aplayer-time .aplayer-icon-menu {
  display: none;
}

#heoMusic-page .aplayer-info .aplayer-time .aplayer-icon path {
  fill: var(--heo-white);
  opacity: 0.8;
}

#heoMusic-page .aplayer-list {
  width: 100%;
  height: 100%;
  flex: 1;
  min-width: 200px;
}
 
#heoMusic-page ol::-webkit-scrollbar-thumb {
  background-color: var(--heo-white-op);
}


#heoMusic-page ol > li {
  font-size: 14px;
  opacity: 0.6;
}
#heoMusic-page ol > li.aplayer-list-light {
  background: var(--heo-black-op);
  border-radius: 6px;
  height: 60px;
  display: flex;
  flex-direction: column;
  opacity: 1;
}

#heoMusic-page ol > li.aplayer-list-light .aplayer-list-index {
  display: none;
}

#heoMusic-page ol > li.aplayer-list-light .aplayer-list-title {
  font-size: 20px;
  line-height: 20px;
  margin-top: 8px;
  font-weight: bold;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}

#heoMusic-page ol > li span {
  color: var(--heo-white);
}

#heoMusic-page ol > li.aplayer-list-light .aplayer-list-cur {
  display: none;
}
#heoMusic-page ol > li span.aplayer-list-title {
  line-height: 32px;
}

#heoMusic-page ol > li .aplayer-list-index {
  line-height: 32px;
}

#heoMusic-page ol > li span.aplayer-list-author {
  opacity: 0.6;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  max-width: 40%;
  line-height: 32px;
}

#heoMusic-page ol > li.aplayer-list-light span.aplayer-list-author {
  max-width: 100%;
}

.aplayer .aplayer-info .aplayer-controller .aplayer-bar-wrap .aplayer-bar {
  height: 8px;
  border-radius: 8px;
  background: var(--heo-white-op);
}

.aplayer .aplayer-info .aplayer-controller .aplayer-bar-wrap .aplayer-bar .aplayer-loaded {
  background: var(--heo-white-op);
  height: 8px;
  border-radius: 8px;
}

.aplayer .aplayer-info .aplayer-controller .aplayer-bar-wrap .aplayer-bar .aplayer-played {
  height: 8px;
  border-radius: 8px;
}

.aplayer .aplayer-info .aplayer-controller .aplayer-bar-wrap .aplayer-bar .aplayer-played .aplayer-thumb {
  height: 16px;
  width: 16px;
}

/* 导航栏 */
.page #nav {
  backdrop-filter: none !important;
  background: 0 0 !important;
  border-bottom: none !important;
}

.page #page-header.not-top-img #nav a,
.page #page-header #nav .back-home-button {
  color: var(--heo-white);
}

body .s-sticker div {
  color: var(--heo-white) !important;
}

body .aplayer .aplayer-info .aplayer-controller .aplayer-time .aplayer-icon.aplayer-icon-loop {
  margin-right: 7px;
}

.aplayer .aplayer-info .aplayer-controller .aplayer-time {
  color: var(--heo-white);
}

[data-theme="dark"] .page #page-header:before {
  background-color: transparent;
}

.aplayer .aplayer-info .aplayer-controller .aplayer-volume-wrap:hover .aplayer-volume-bar-wrap {
  height: 120px;
  border-radius: 40px;
  width: 30px;
}

.aplayer .aplayer-info .aplayer-controller .aplayer-volume-wrap .aplayer-volume-bar-wrap {
  width: 30px;
}

.aplayer .aplayer-info .aplayer-controller .aplayer-volume-wrap .aplayer-volume-bar-wrap .aplayer-volume-bar {
  width: 100%;
  height: 100%;
  left: 0;
}

.aplayer .aplayer-info .aplayer-controller .aplayer-volume-wrap .aplayer-volume-bar-wrap .aplayer-volume-bar .aplayer-volume {
  width: 100%;
  background: var(--heo-white)!important;
}

#heoMusic-page .aplayer .aplayer-info .aplayer-controller .aplayer-volume-wrap,
#heoMusic-page .aplayer .aplayer-info .aplayer-controller .aplayer-volume-bar-wrap,
#heoMusic-page .aplayer .aplayer-info .aplayer-controller .aplayer-time .aplayer-icon-volume-down {
  display: none !important;
  pointer-events: none !important;
}

#heoMusic-page .aplayer-info .aplayer-time .aplayer-volume-wrap::before {
  display: none !important;
  pointer-events: none !important;
}

body.navidrome-login-mode {
  overflow: hidden;
}

#heoMusic-page.navidrome-login-mode {
  visibility: hidden;
}

.navidrome-login-screen {
  position: fixed;
  inset: 0;
  z-index: 4000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 92px 28px 48px;
  box-sizing: border-box;
  background:
    radial-gradient(circle at 50% 100%, rgba(255, 255, 255, 0.08), transparent 34%),
    linear-gradient(180deg, #171717 0%, #080808 100%);
}

.navidrome-login-mark {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: #050505;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.32);
}

.navidrome-login-mark img {
  width: 78px;
  height: 78px;
  object-fit: contain;
}

.navidrome-login-title {
  margin: 34px 0 54px;
  color: #fff;
  font-size: 24px;
  font-weight: 800;
  text-align: center;
  letter-spacing: 0.02em;
}

.navidrome-login-form {
  width: min(100%, 380px);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.navidrome-login-field {
  display: block;
}

.navidrome-login-input {
  width: 100%;
  height: 58px;
  border: 0;
  border-radius: 29px;
  padding: 0 24px;
  box-sizing: border-box;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 17px;
  outline: none;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.navidrome-login-input::placeholder {
  color: rgba(255, 255, 255, 0.38);
}

.navidrome-login-error {
  min-height: 20px;
  margin: -2px 8px 6px;
  color: rgba(255, 255, 255, 0.54);
  font-size: 13px;
  line-height: 1.4;
  opacity: 0;
}

.navidrome-login-error.is-visible {
  opacity: 1;
}

.navidrome-login-submit {
  margin-top: 18px;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

@media screen and (min-width: 769px) {
  #heoMusic-page.desktop-shell-ready {
    max-width: min(1440px, calc(100vw - 88px));
    margin-top: 28px;
  }

  #heoMusic-page.desktop-shell-ready .aplayer {
    display: grid;
    grid-template-columns: minmax(360px, 0.92fr) minmax(460px, 1.08fr);
    gap: 28px;
    height: calc(100dvh - 56px);
    align-items: stretch;
  }

  #heoMusic-page.desktop-shell-ready .aplayer-body {
    width: auto;
    height: 100%;
    min-width: 0;
    display: flex;
    flex-direction: column;
    position: relative;
    border-radius: 36px;
    padding: 34px 32px 28px;
    box-sizing: border-box;
    overflow: hidden;
    background:
      radial-gradient(circle at top, rgba(255, 255, 255, 0.08), transparent 42%),
      linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
    box-shadow:
      inset 0 0 0 1px rgba(255, 255, 255, 0.04),
      0 28px 60px rgba(0, 0, 0, 0.22);
  }

  #heoMusic-page.desktop-shell-ready .aplayer-list {
    display: none;
  }

  #heoMusic-page.desktop-shell-ready .aplayer-pic {
    display: none;
  }

  #heoMusic-page.desktop-shell-ready .aplayer-info {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    min-height: 0;
    position: relative;
  }

  #heoMusic-page.desktop-shell-ready .desktop-player-stage {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: 0;
    gap: 20px;
    padding: 12px 0 10px;
  }

  #heoMusic-page.desktop-shell-ready .desktop-player-hero {
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    width: 100%;
    min-height: 360px;
  }

  #heoMusic-page.desktop-shell-ready .desktop-vinyl-wrap {
    position: relative;
    width: min(32vw, 400px);
    aspect-ratio: 1 / 1.04;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  #heoMusic-page.desktop-shell-ready .desktop-vinyl-record {
    position: relative;
    width: min(27vw, 340px);
    aspect-ratio: 1;
    animation: mobileSpin 12s linear infinite;
    animation-play-state: paused;
    cursor: pointer;
  }

  #heoMusic-page.desktop-shell-ready.desktop-playing .desktop-vinyl-record {
    animation-play-state: running;
  }

  #heoMusic-page.desktop-shell-ready .desktop-vinyl-record::after {
    content: "";
    position: absolute;
    inset: 3%;
    border-radius: 50%;
    pointer-events: none;
    box-shadow:
      18px 12px 24px rgba(0, 0, 0, 0.14),
      -10px -6px 14px rgba(255, 255, 255, 0.04);
    mix-blend-mode: multiply;
  }

  #heoMusic-page.desktop-shell-ready .desktop-vinyl-base {
    width: 100%;
    height: 100%;
    display: block;
  }

  #heoMusic-page.desktop-shell-ready .desktop-vinyl-cover-shell {
    position: absolute;
    inset: 17% 17%;
    border-radius: 50%;
    overflow: hidden;
  }

  #heoMusic-page.desktop-shell-ready .desktop-vinyl-cover {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
  }

  #heoMusic-page.desktop-shell-ready .desktop-tonearm {
    position: absolute;
    width: min(8vw, 88px);
    right: clamp(18px, 2.6vw, 30px);
    top: clamp(6px, 1vw, 12px);
    z-index: 3;
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.38));
    transform-origin: top center;
    transform: rotate(-6deg);
    transition: transform 0.45s ease;
  }

  #heoMusic-page.desktop-shell-ready.desktop-playing .desktop-tonearm {
    transform: rotate(3deg);
  }

  #heoMusic-page.desktop-shell-ready .desktop-nowplaying-copy {
    width: 100%;
    max-width: 420px;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 2px;
  }

  #heoMusic-page.desktop-shell-ready .desktop-nowplaying-eyebrow {
    margin: 0;
    color: rgba(255, 255, 255, 0.42);
    font-size: 12px;
    letter-spacing: 0.16em;
  }

  #heoMusic-page.desktop-shell-ready .desktop-nowplaying-title {
    margin: 0;
    color: #fff;
    font-size: clamp(22px, 2vw, 34px);
    line-height: 1.16;
    font-weight: 800;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  #heoMusic-page.desktop-shell-ready .desktop-nowplaying-meta {
    margin: 0;
    color: rgba(255, 255, 255, 0.56);
    font-size: clamp(14px, 1.1vw, 16px);
    font-weight: 600;
  }

  #heoMusic-page.desktop-shell-ready .aplayer-info .aplayer-music {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    position: static;
    margin: 0 0 16px;
    height: auto;
    text-align: left;
    opacity: 0.72;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  #heoMusic-page.desktop-shell-ready .aplayer-info .aplayer-music .aplayer-title,
  #heoMusic-page.desktop-shell-ready .aplayer-info .aplayer-music .aplayer-author {
    font-size: 17px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.82);
  }

  #heoMusic-page.desktop-shell-ready .aplayer-info .aplayer-controller {
    position: static;
    width: 100%;
    max-width: none;
    margin-top: auto;
    bottom: auto;
    left: auto;
    right: auto;
  }

  #heoMusic-page.desktop-shell-ready .aplayer-info .aplayer-controller .aplayer-bar-wrap {
    margin: 0;
  }

  #heoMusic-page.desktop-shell-ready .aplayer-info .aplayer-time {
    position: relative;
    width: 100%;
    bottom: auto;
    height: 62px;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  #heoMusic-page.desktop-shell-ready .aplayer-info .aplayer-time .aplayer-time-inner {
    position: absolute;
    width: 100%;
    top: -28px;
    margin: 0;
  }

  #heoMusic-page.desktop-shell-ready .aplayer-info .aplayer-time .aplayer-time-inner .aplayer-ptime {
    left: 0;
  }

  #heoMusic-page.desktop-shell-ready .aplayer-info .aplayer-time .aplayer-time-inner .aplayer-dtime {
    right: 0;
  }

  #heoMusic-page.desktop-shell-ready .aplayer-info .aplayer-time .aplayer-icon-back,
  #heoMusic-page.desktop-shell-ready .aplayer-info .aplayer-time .aplayer-icon-forward,
  #heoMusic-page.desktop-shell-ready .aplayer-info .aplayer-time .aplayer-icon-play {
    position: absolute;
    display: inline;
  }

  #heoMusic-page.desktop-shell-ready .aplayer-info .aplayer-time .aplayer-icon-back {
    left: calc(50% - 88px);
  }

  #heoMusic-page.desktop-shell-ready .aplayer-info .aplayer-time .aplayer-icon-play {
    left: calc(50% - 28px);
    width: 56px;
    height: 56px;
  }

  #heoMusic-page.desktop-shell-ready .aplayer-info .aplayer-time .aplayer-icon-forward {
    left: calc(50% + 52px);
  }

  #heoMusic-page.desktop-shell-ready .aplayer-info .aplayer-time .aplayer-icon-menu {
    display: none;
  }

  #heoMusic-page.desktop-shell-ready .aplayer-info .aplayer-time .aplayer-icon-loop,
  #heoMusic-page.desktop-shell-ready .aplayer-info .aplayer-time .aplayer-icon-order {
    left: 0;
    margin-left: 0;
  }

  #heoMusic-page.desktop-shell-ready .desktop-side-shell {
    min-width: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    border-radius: 36px;
    padding: 28px;
    box-sizing: border-box;
    overflow: hidden;
    background:
      radial-gradient(circle at bottom right, rgba(255, 255, 255, 0.06), transparent 38%),
      linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.02));
    box-shadow:
      inset 0 0 0 1px rgba(255, 255, 255, 0.04),
      0 28px 60px rgba(0, 0, 0, 0.18);
  }

  #heoMusic-page.desktop-shell-ready .desktop-side-tabs {
    display: flex;
    align-items: center;
    gap: 14px;
    justify-content: center;
    margin-bottom: 22px;
    flex: 0 0 auto;
  }

  #heoMusic-page.desktop-shell-ready .desktop-side-tab {
    border: 0;
    background: transparent;
    padding: 0;
    color: rgba(255, 255, 255, 0.42);
    font-size: 16px;
    font-weight: 700;
    transition: color 0.2s ease;
  }

  #heoMusic-page.desktop-shell-ready .desktop-side-tab.is-active {
    color: #fff;
  }

  #heoMusic-page.desktop-shell-ready .desktop-side-tab-divider {
    color: rgba(255, 255, 255, 0.2);
  }

  #heoMusic-page.desktop-shell-ready .desktop-side-panels {
    flex: 1 1 auto;
    min-height: 0;
    position: relative;
  }

  #heoMusic-page.desktop-shell-ready .desktop-side-panel {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: translateY(8px);
    pointer-events: none;
    transition: opacity 0.28s ease, transform 0.28s ease;
    display: flex;
    flex-direction: column;
    min-height: 0;
  }

  #heoMusic-page.desktop-shell-ready .desktop-side-panel.is-active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  #heoMusic-page.desktop-shell-ready .desktop-lyrics-header {
    display: none;
  }

  #heoMusic-page.desktop-shell-ready .desktop-lyrics-cover {
    width: 72px;
    height: 72px;
    border-radius: 18px;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.18);
  }

  #heoMusic-page.desktop-shell-ready .desktop-lyrics-title {
    margin: 0;
    color: #fff;
    font-size: clamp(18px, 1.6vw, 24px);
    line-height: 1.16;
    font-weight: 800;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  #heoMusic-page.desktop-shell-ready .desktop-title-marquee {
    display: block;
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    min-width: 0;
  }

  #heoMusic-page.desktop-shell-ready .desktop-title-marquee-text {
    display: inline-block;
    white-space: nowrap;
    transform: translateX(0);
  }

  #heoMusic-page.desktop-shell-ready .desktop-title-marquee.is-marquee .desktop-title-marquee-text {
    animation: desktopTitleMarquee 7s ease-in-out infinite alternate;
    animation-delay: 0.8s;
  }

  #heoMusic-page.desktop-shell-ready .desktop-lyrics-album {
    margin: 6px 0 0;
    color: rgba(255, 255, 255, 0.48);
    font-size: clamp(12px, 1vw, 14px);
    line-height: 1.25;
  }

  #heoMusic-page.desktop-shell-ready .desktop-lyrics-body {
    flex: 1 1 auto;
    min-height: 0;
    overflow: hidden;
    padding-top: 4px;
  }

  #heoMusic-page.desktop-shell-ready .desktop-lyrics-body .aplayer-lrc {
    height: 100%;
    overflow-y: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    mask-image: linear-gradient(to bottom, transparent 0%, #000 10%, #000 92%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 10%, #000 92%, transparent 100%);
  }

  #heoMusic-page.desktop-shell-ready .desktop-lyrics-body .aplayer-lrc::-webkit-scrollbar {
    display: none;
  }

  #heoMusic-page.desktop-shell-ready .desktop-lyrics-body .aplayer-lrc p {
    font-size: clamp(24px, 2vw, 32px);
    line-height: 1.34;
    padding: 8px 0;
    color: rgba(255, 255, 255, 0.2);
    font-weight: 700;
    filter: none;
    opacity: 1;
    text-shadow: none;
    background: transparent;
  }

  #heoMusic-page.desktop-shell-ready .desktop-lyrics-body .aplayer-lrc p.aplayer-lrc-current {
    color: #f4f4f4;
    font-size: clamp(30px, 2.5vw, 38px);
    text-shadow: 0 0 18px rgba(255, 255, 255, 0.12);
  }

  #heoMusic-page.desktop-shell-ready .desktop-album-header {
    flex: 0 0 auto;
    margin-bottom: 12px;
  }

  #heoMusic-page.desktop-shell-ready .desktop-album-search {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    min-height: 52px;
    padding: 0 18px;
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.05);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
    box-sizing: border-box;
  }

  #heoMusic-page.desktop-shell-ready .desktop-album-search-icon {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.26);
    border-radius: 50%;
    position: relative;
    box-sizing: border-box;
    flex: 0 0 16px;
  }

  #heoMusic-page.desktop-shell-ready .desktop-album-search-icon::after {
    content: "";
    position: absolute;
    width: 8px;
    height: 2px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.26);
    right: -5px;
    bottom: -1px;
    transform: rotate(45deg);
  }

  #heoMusic-page.desktop-shell-ready .desktop-album-search-input {
    width: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
  }

  #heoMusic-page.desktop-shell-ready .desktop-album-search-input::placeholder {
    color: rgba(255, 255, 255, 0.34);
  }

  #heoMusic-page.desktop-shell-ready .desktop-album-search-count {
    display: block;
    padding: 2px 2px 12px;
    color: rgba(255, 255, 255, 0.4);
    font-size: 13px;
  }

  #heoMusic-page.desktop-shell-ready .desktop-album-search-count.is-hidden,
  #heoMusic-page.desktop-shell-ready .desktop-album-grid.is-hidden,
  #heoMusic-page.desktop-shell-ready .desktop-album-search-results.is-hidden,
  #heoMusic-page.desktop-shell-ready .desktop-album-detail.is-hidden {
    display: none;
  }

  #heoMusic-page.desktop-shell-ready .desktop-album-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(132px, 1fr));
    gap: 22px 16px;
    padding: 8px 2px 22px;
    overflow-y: auto;
    min-height: 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  #heoMusic-page.desktop-shell-ready .desktop-album-grid::-webkit-scrollbar,
  #heoMusic-page.desktop-shell-ready .desktop-album-search-results::-webkit-scrollbar,
  #heoMusic-page.desktop-shell-ready .desktop-album-tracklist::-webkit-scrollbar {
    display: none;
  }

  #heoMusic-page.desktop-shell-ready .desktop-album-card {
    border: 0;
    padding: 0;
    background: transparent;
    color: #fff;
    text-align: left;
  }

  #heoMusic-page.desktop-shell-ready .desktop-album-cover {
    display: block;
    aspect-ratio: 1;
    border-radius: 22px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.16);
    margin-bottom: 12px;
  }

  #heoMusic-page.desktop-shell-ready .desktop-album-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  #heoMusic-page.desktop-shell-ready .desktop-album-name {
    display: block;
    font-size: 14px;
    line-height: 1.35;
    font-weight: 700;
    text-align: center;
  }

  #heoMusic-page.desktop-shell-ready .desktop-album-search-results {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 8px 2px 22px;
    overflow-y: auto;
    min-height: 0;
  }

  #heoMusic-page.desktop-shell-ready .desktop-album-search-item {
    border: 0;
    border-radius: 0;
    padding: 14px 0;
    background: transparent;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 18px;
    align-items: center;
    gap: 10px;
    color: #fff;
    text-align: left;
    position: relative;
  }

  #heoMusic-page.desktop-shell-ready .desktop-album-search-item::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  }

  #heoMusic-page.desktop-shell-ready .desktop-album-search-copy {
    display: flex;
    flex-direction: column;
    min-width: 0;
  }

  #heoMusic-page.desktop-shell-ready .desktop-album-search-title {
    font-size: 16px;
    line-height: 1.25;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  #heoMusic-page.desktop-shell-ready .desktop-album-search-meta {
    margin-top: 4px;
    color: rgba(255, 255, 255, 0.62);
    font-size: 13px;
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  #heoMusic-page.desktop-shell-ready .desktop-album-search-submeta {
    margin-top: 4px;
    color: rgba(255, 255, 255, 0.36);
    font-size: 12px;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  #heoMusic-page.desktop-shell-ready .desktop-album-search-action {
    width: 18px;
    height: 18px;
    position: relative;
    opacity: 0.38;
  }

  #heoMusic-page.desktop-shell-ready .desktop-album-search-action::before,
  #heoMusic-page.desktop-shell-ready .desktop-album-search-action::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 0;
    width: 10px;
    height: 1.5px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.8);
    transform-origin: right center;
  }

  #heoMusic-page.desktop-shell-ready .desktop-album-search-action::before {
    transform: translateY(-50%) rotate(45deg);
  }

  #heoMusic-page.desktop-shell-ready .desktop-album-search-action::after {
    transform: translateY(-50%) rotate(-45deg);
  }

  #heoMusic-page.desktop-shell-ready .desktop-album-detail {
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    padding-top: 6px;
  }

  #heoMusic-page.desktop-shell-ready .desktop-album-detail-hero {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr) 120px;
    gap: 18px;
    align-items: center;
    margin-bottom: 20px;
  }

  #heoMusic-page.desktop-shell-ready .desktop-album-back {
    border: 0;
    width: 40px;
    height: 40px;
    padding: 0;
    background: transparent;
    position: relative;
  }

  #heoMusic-page.desktop-shell-ready .desktop-album-back::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 14px;
    height: 14px;
    border-left: 2.5px solid rgba(255, 255, 255, 0.82);
    border-bottom: 2.5px solid rgba(255, 255, 255, 0.82);
    transform: translate(-35%, -50%) rotate(45deg);
  }

  #heoMusic-page.desktop-shell-ready .desktop-album-detail-copy {
    min-width: 0;
    justify-self: end;
    max-width: 260px;
    text-align: right;
  }

  #heoMusic-page.desktop-shell-ready .desktop-album-kicker {
    margin: 0 0 8px;
    color: rgba(255, 255, 255, 0.42);
    font-size: 12px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
  }

  #heoMusic-page.desktop-shell-ready .desktop-album-detail-title {
    margin: 0;
    color: #fff;
    font-size: 30px;
    line-height: 1.08;
    font-weight: 800;
  }

  #heoMusic-page.desktop-shell-ready .desktop-album-detail-meta {
    margin: 8px 0 0;
    color: rgba(255, 255, 255, 0.42);
    font-size: 14px;
  }

  #heoMusic-page.desktop-shell-ready .desktop-album-detail-cover {
    aspect-ratio: 1;
    border-radius: 24px;
    background-position: center;
    background-size: cover;
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.22);
  }

  #heoMusic-page.desktop-shell-ready .desktop-album-tracklist {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    padding: 12px 0 22px;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  #heoMusic-page.desktop-shell-ready .desktop-album-track {
    display: flex;
    align-items: center;
    gap: 18px;
    width: 100%;
    text-align: left;
    border: 0;
    border-radius: 18px;
    padding: 16px 6px;
    color: #fff;
    background: transparent;
    position: relative;
  }

  #heoMusic-page.desktop-shell-ready .desktop-album-track::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.14) 22%, rgba(255, 255, 255, 0.14) 78%, rgba(255, 255, 255, 0.04) 100%);
    transform: scaleY(0.5);
    transform-origin: center bottom;
  }

  #heoMusic-page.desktop-shell-ready .desktop-album-track:last-child::after {
    display: none;
  }

  #heoMusic-page.desktop-shell-ready .desktop-album-track-index {
    width: 28px;
    flex: 0 0 28px;
    color: rgba(255, 255, 255, 0.3);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.08em;
  }

  #heoMusic-page.desktop-shell-ready .desktop-album-track-copy {
    display: flex;
    flex-direction: column;
    min-width: 0;
  }

  #heoMusic-page.desktop-shell-ready .desktop-album-track-name {
    font-size: 19px;
    font-weight: 600;
    line-height: 1.3;
    color: rgba(255, 255, 255, 0.94);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  #heoMusic-page.desktop-shell-ready .desktop-album-track-artist {
    margin-top: 4px;
    font-size: 13px;
    line-height: 1.25;
    color: rgba(255, 255, 255, 0.38);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

/* **** 移动端样式 ***** */
@media screen and (max-width: 768px) {
  html,
  body,
  #heoMusic-page,
  .mobile-shell {
    touch-action: manipulation;
  }

  #music_bg,
  #music_bg::before {
    display: none !important;
  }

  :root {
    --mobile-player-safe-bottom: 220px;
    --mobile-top-nav-height: 52px;
  }

  #heoMusic-page {
    margin-top: 0;
    max-width: 100%;
    padding: 0 18px;
    box-sizing: border-box;
  }

  #heoMusic-page .aplayer {
    height: calc(100dvh - 170px);
  }

  body #rightside {
    display: none;
  }
  body #content-inner,
  body #page {
    z-index: auto;
  }

  .mobile-shell {
    position: fixed;
    top: env(safe-area-inset-top, 0px);
    left: 0;
    right: 0;
    height: calc(100dvh - env(safe-area-inset-top, 0px) - var(--mobile-player-safe-bottom));
    display: flex;
    flex-direction: column;
    z-index: 1002;
    pointer-events: none;
    padding: 0 18px;
    box-sizing: border-box;
  }

  .mobile-tabs,
  .mobile-panel,
  .mobile-album-card,
  .mobile-album-card * {
    pointer-events: auto;
  }

  .mobile-tabs {
    align-self: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    padding: 24px 0 2px;
    margin-bottom: -8px;
    position: relative;
    z-index: 1003;
  }

  .mobile-tab {
    border: 0;
    background: transparent;
    color: rgba(255, 255, 255, 0.42);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.04em;
    padding: 0;
    transition: color 0.25s ease;
  }

  .mobile-tab.is-active {
    color: #fff;
  }

  .mobile-tab-divider {
    color: rgba(255, 255, 255, 0.28);
    font-size: 14px;
  }

  .mobile-panels {
    flex: 1;
    min-height: 0;
    position: relative;
  }

  .mobile-panel {
    position: absolute;
    inset: var(--mobile-top-nav-height) 0 0;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.35s ease, transform 0.35s ease;
    pointer-events: none;
    overflow: hidden;
  }

  .mobile-panel.is-active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .mobile-panel[data-panel="now-playing"] {
    display: grid;
    grid-template-rows: minmax(0, 0.92fr) auto;
    align-items: start;
    padding-bottom: 8px;
    box-sizing: border-box;
  }

  .mobile-panel[data-panel="lyrics"] {
    padding: 0 0 16px;
    box-sizing: border-box;
    overflow: hidden;
    display: flex;
    flex-direction: column;
  }

  .mobile-panel[data-panel="albums"] {
    padding: 0 16px 16px;
    box-sizing: border-box;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    bottom: -52px;
    inset: 30px 0 -52px;
  }


  .mobile-disc-scene {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 0;
    height: 100%;
    padding-top: 0;
  }

  .mobile-vinyl-wrap {
    position: relative;
    width: min(92vw, clamp(200px, calc(100dvh - 450px), 360px));
    aspect-ratio: 1 / 1.08;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: clamp(-34px, -4.6dvh, -16px);
  }

  .mobile-vinyl-record {
    position: relative;
    width: min(84vw, 330px);
    aspect-ratio: 1;
    animation: mobileSpin 12s linear infinite;
    animation-play-state: paused;
  }

  #heoMusic-page.mobile-playing .mobile-vinyl-record {
    animation-play-state: running;
  }

  .mobile-vinyl-record::after {
    content: "";
    position: absolute;
    inset: 3%;
    border-radius: 50%;
    pointer-events: none;
    box-shadow:
      18px 12px 24px rgba(0, 0, 0, 0.14),
      -10px -6px 14px rgba(255, 255, 255, 0.04);
    mix-blend-mode: multiply;
  }

  .mobile-vinyl-base {
    width: 100%;
    height: 100%;
    display: block;
  }

  .mobile-vinyl-cover-shell {
    position: absolute;
    inset: 17% 17%;
    border-radius: 50%;
    overflow: hidden;
  }

  .mobile-vinyl-cover {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
  }

  .mobile-tonearm {
    position: absolute;
    width: min(17vw, 62px);
    right: clamp(12px, 4.5vw, 22px);
    top: clamp(10px, 2.5vw, 16px);
    z-index: 3;
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.38));
    transform-origin: top center;
    transform: rotate(-6deg);
    transition: transform 0.45s ease;
  }

  #heoMusic-page.mobile-playing .mobile-tonearm {
    transform: rotate(3deg);
  }

  .mobile-lyric-preview {
    padding: 0 8px 0;
    margin-top: -12px;
    transform: translateY(18px);
    text-align: center;
    position: relative;
    z-index: 2;
  }

  .mobile-lyric-eyebrow {
    margin: 0 0 8px;
    color: rgba(255, 255, 255, 0.42);
    font-size: 12px;
    letter-spacing: 0.16em;
  }

  .mobile-lyric-line {
    margin: 0;
    color: rgba(255, 255, 255, 0.92);
    line-height: 1.32;
    min-height: 1.32em;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .mobile-lyric-line-current {
    font-size: clamp(16px, 5.2vw, 22px);
    font-weight: 800;
  }

  .mobile-lyric-line-next {
    margin-top: 8px;
    color: rgba(255, 255, 255, 0.58);
    font-size: clamp(14px, 4.6vw, 19px);
    font-weight: 600;
  }

  .mobile-album-title {
    margin: 0;
    color: #fff;
    font-size: clamp(20px, 7.2vw, 30px);
    line-height: 1.08;
    font-weight: 800;
  }

  .mobile-album-kicker {
    margin: 0;
    color: rgba(255, 255, 255, 0.52);
    font-size: 12px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    line-height: 1;
  }

  .mobile-track-divider {
    display: none;
  }

  .mobile-album-header {
    position: relative;
    z-index: 3;
    flex: 0 0 auto;
    padding: 0 0 10px;
    margin-top: 0;
    display: flex;
    justify-content: center;
  }

  .mobile-album-subtitle {
    display: none;
  }

  .mobile-album-search {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 0;
    width: calc(100% - 16px);
    max-width: 360px;
    padding: 0 15px;
    min-height: 44px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.05);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
  }

  .mobile-album-search-icon {
    width: 15px;
    height: 15px;
    border: 2px solid rgba(255, 255, 255, 0.26);
    border-radius: 50%;
    position: relative;
    box-sizing: border-box;
    flex: 0 0 15px;
  }

  .mobile-album-search-icon::after {
    content: "";
    position: absolute;
    width: 7px;
    height: 2px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.26);
    right: -5px;
    bottom: -1px;
    transform: rotate(45deg);
  }

  .mobile-album-search-input {
    width: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
  }

  .mobile-album-search-input::placeholder {
    color: rgba(255, 255, 255, 0.34);
  }

  .mobile-album-search-count {
    display: block;
    padding: 10px 2px 0;
    color: rgba(255, 255, 255, 0.4);
    font-size: 12px;
    line-height: 1.2;
    letter-spacing: 0.02em;
  }

  .mobile-album-search-count.is-hidden {
    display: none;
  }

  .mobile-lyrics-header {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
    flex: 0 0 auto;
    padding: 6px 32px 14px;
    margin-bottom: 18px;
    position: relative;
    border-bottom: 0;
  }

  .mobile-lyrics-header::after {
    content: "";
    position: absolute;
    left: 32px;
    right: 32px;
    bottom: 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
  }

  .mobile-lyrics-cover {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.18);
  }

  .mobile-lyrics-title {
    margin: 0;
    color: #fff;
    font-size: 16px;
    line-height: 1.25;
    font-weight: 700;
  }

  .mobile-lyrics-album {
    margin: 4px 0 0;
    color: rgba(255, 255, 255, 0.48);
    font-size: 12px;
    line-height: 1.25;
  }

  .mobile-lyrics-body {
    min-height: 0;
    flex: 1 1 auto;
    overflow-y: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .mobile-lyrics-body::-webkit-scrollbar {
    display: none;
  }

  .mobile-album-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px 12px;
    padding: 16px 0 54px;
    overflow-y: auto;
    flex: 1 1 auto;
    min-height: 0;
    box-sizing: border-box;
    scrollbar-width: none;
    -ms-overflow-style: none;
    mask-image: linear-gradient(to bottom, transparent 0%, #000 10px, #000 calc(100% - 6px), transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 10px, #000 calc(100% - 6px), transparent 100%);
  }

  .mobile-album-grid::-webkit-scrollbar {
    display: none;
  }

  .mobile-album-grid.is-hidden,
  .mobile-album-detail.is-hidden {
    display: none;
  }

  .mobile-album-search-results {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 16px 0 54px;
    overflow-y: auto;
    flex: 1 1 auto;
    min-height: 0;
    box-sizing: border-box;
    scrollbar-width: none;
    -ms-overflow-style: none;
    mask-image: linear-gradient(to bottom, transparent 0%, #000 10px, #000 calc(100% - 6px), transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 10px, #000 calc(100% - 6px), transparent 100%);
  }

  .mobile-album-search-results::-webkit-scrollbar {
    display: none;
  }

  .mobile-album-search-results.is-hidden {
    display: none;
  }

  .mobile-album-card {
    border: 0;
    padding: 0;
    background: transparent;
    text-align: center;
    color: #fff;
    transform: translateZ(0);
  }

  .mobile-album-cover {
    display: block;
    aspect-ratio: 1;
    border-radius: 16px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.14);
    margin-bottom: 10px;
  }

  .mobile-album-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  .mobile-album-name {
    display: block;
    font-size: 13px;
    line-height: 1.25;
    font-weight: 700;
    overflow: hidden;
    white-space: nowrap;
    min-height: 1.25em;
    position: relative;
    text-align: center;
  }

  .mobile-album-name-text {
    display: inline-block;
    white-space: nowrap;
    transform: translateX(0);
  }

  .mobile-album-name.is-marquee .mobile-album-name-text {
    animation: mobileAlbumMarquee 6s ease-in-out infinite alternate;
    animation-delay: 0.8s;
  }

  .mobile-album-search-item {
    border: 0;
    border-radius: 0;
    padding: 12px 2px 12px 0;
    background: transparent;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 18px;
    align-items: center;
    gap: 10px;
    text-align: left;
    color: #fff;
    position: relative;
  }

  .mobile-album-search-item::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  }

  .mobile-album-search-copy {
    display: flex;
    flex-direction: column;
    min-width: 0;
  }

  .mobile-album-search-title {
    display: block;
    font-size: 15px;
    line-height: 1.25;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .mobile-album-search-meta {
    display: block;
    margin-top: 4px;
    color: rgba(255, 255, 255, 0.62);
    font-size: 12px;
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .mobile-album-search-submeta {
    display: block;
    margin-top: 3px;
    color: rgba(255, 255, 255, 0.36);
    font-size: 12px;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .mobile-album-search-action {
    width: 18px;
    height: 18px;
    position: relative;
    opacity: 0.38;
  }

  .mobile-album-search-action::before,
  .mobile-album-search-action::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 0;
    width: 10px;
    height: 1.5px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.8);
    transform-origin: right center;
  }

  .mobile-album-search-action::before {
    transform: translateY(-50%) rotate(45deg);
  }

  .mobile-album-search-action::after {
    transform: translateY(-50%) rotate(-45deg);
  }

  .mobile-album-detail {
    flex: 1 1 auto;
    min-height: 0;
    overflow: hidden;
    padding: 18px 0 0;
    box-sizing: border-box;
    margin-top: 6px;
    display: flex;
    flex-direction: column;
  }

  .mobile-album-detail-hero {
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr) 92px;
    gap: 10px;
    align-items: center;
    margin-bottom: 18px;
  }

  .mobile-album-back {
    border: 0;
    width: 36px;
    height: 36px;
    padding: 0;
    background: transparent;
    position: relative;
    order: 1;
  }

  .mobile-album-back::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 14px;
    height: 14px;
    border-left: 2.5px solid rgba(255, 255, 255, 0.82);
    border-bottom: 2.5px solid rgba(255, 255, 255, 0.82);
    transform: translate(-35%, -50%) rotate(45deg);
  }

  .mobile-album-detail-cover {
    aspect-ratio: 1;
    border-radius: 16px;
    background-position: center;
    background-size: cover;
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.22);
    order: 3;
  }

  .mobile-album-detail-copy {
    order: 2;
    justify-self: end;
    text-align: right;
    max-width: 180px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
  }

  .mobile-album-detail-title {
    margin: 0;
    color: #fff;
    font-size: 20px;
    line-height: 1.08;
  }

  .mobile-album-detail-meta {
    margin: 0;
    color: rgba(255, 255, 255, 0.42);
    font-size: 12px;
    line-height: 1.15;
  }

  .mobile-album-tracklist {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 10px 0 92px;
    box-sizing: border-box;
    scrollbar-width: none;
    -ms-overflow-style: none;
    mask-image: linear-gradient(to bottom, transparent 0%, #000 10px, #000 calc(100% - 6px), transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 10px, #000 calc(100% - 6px), transparent 100%);
  }

  .mobile-album-tracklist::-webkit-scrollbar {
    display: none;
  }


  .mobile-album-track {
    display: flex;
    align-items: center;
    gap: 16px;
    width: 100%;
    max-width: 100%;
    text-align: left;
    border: 0;
    border-radius: 14px;
    padding: 16px 14px;
    color: #fff;
    background: transparent;
    box-shadow: none;
    overflow: hidden;
    position: relative;
  }

  .mobile-album-track::after {
    content: "";
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 0;
    height: 1px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.14) 22%, rgba(255, 255, 255, 0.14) 78%, rgba(255, 255, 255, 0.04) 100%);
    transform: scaleY(0.5);
    transform-origin: center bottom;
  }

  .mobile-album-track:last-child::after {
    display: none;
  }

  .mobile-album-track-index {
    width: 28px;
    flex: 0 0 28px;
    color: rgba(255, 255, 255, 0.3);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.08em;
  }

  .mobile-album-track-copy {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
  }

  .mobile-album-track-name {
    font-size: 17px;
    font-weight: 600;
    line-height: 1.3;
    color: rgba(255, 255, 255, 0.94);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  /* 歌曲列表 */
  #heoMusic-page .aplayer-list {
    position: fixed;
    z-index: 1003; /* 提高z-index以确保列表在遮罩之上 */
    width: 100vw;
    top: 0px;
    left: 0;
    background: var(--heo-white);
    border-radius: 0px 0px 16px 16px;
    padding: 15px 0px;
    max-width: 100vw;
    height: calc(100dvh - 240px);
  }
  #heoMusic-page .aplayer-list.aplayer-list-hide {
    top: -100% !important;
  }
  #heoMusic-page ol {
    padding: 0 16px;
  }
  #heoMusic-page ol > li {
    display: flex;
  }
  #heoMusic-page ol > li span {
    color: var(--font-color);
  }
  #heoMusic-page ol > li span.aplayer-list-title {
    width: 30%;
  }
  #heoMusic-page ol > li.aplayer-list-light {
    background: #33a673;
    padding: 5px 20px;
    border-radius: 10px;
    height: 52px;
    justify-content: center;
  }
  #heoMusic-page ol > li.aplayer-list-light .aplayer-list-title {
    margin-top: 4px;
  }
  #heoMusic-page ol > li.aplayer-list-light span {
    color: #fff;
  }
  #heoMusic-page ol > li span.aplayer-list-title {
    max-width: 55%;
    width: auto;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    overflow: hidden;
    -webkit-box-orient: vertical;
  }
  #heoMusic-page ol > li span.aplayer-list-author {
    right: 10px;
    width: auto;
    max-width: 35%;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    overflow: hidden;
    -webkit-box-orient: vertical;
    margin-left: auto;
  }
  #heoMusic-page ol > li.aplayer-list-light span.aplayer-list-author {
    margin-left: 0;
  }

  #heoMusic-page ol > li.aplayer-list-light span.aplayer-list-author {
    right: 15px;
  }
  /* 歌词信息 */
  #heoMusic-page .aplayer-body {
    width: 100%;
    overflow: hidden;
    position: fixed;
    margin: auto;
    left: 0;
    right: 0;
    top: 0;
    height: calc(100dvh - 200px);
  }
  #heoMusic-page .aplayer-info .aplayer-lrc {
    margin-top: 0;
    height: calc(100dvh - 230px);
    min-height: 100%;
    mask-image: linear-gradient(to bottom, transparent 0%, #000 12%, #000 88%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 12%, #000 88%, transparent 100%);
  }
  /* 控制按键和进度条 */
  #heoMusic-page .aplayer-info .aplayer-controller {
    width: 100%;
    bottom: 84px;
  }
  #heoMusic-page .aplayer-info .aplayer-controller .aplayer-bar-wrap {
    margin: 0 32px;
  }
  #heoMusic-page .aplayer-info .aplayer-time {
    bottom: -40px;
    align-items: center;
  }
  #heoMusic-page .aplayer-info .aplayer-time .aplayer-time-inner {
    position: absolute;
    width: 100%;
    margin-right: 4px;
    margin-top: -60px;
  }
  #heoMusic-page .aplayer-info .aplayer-time .aplayer-time-inner .aplayer-dtime {
    position: absolute;
    right: 30px;
  }
  #heoMusic-page .aplayer-info .aplayer-time .aplayer-time-inner .aplayer-ptime {
    position: absolute;
    left: 44px;
  }
  #heoMusic-page .aplayer-info .aplayer-time .aplayer-icon-back {
    margin: auto;
    right: 110px;
  }
  #heoMusic-page .aplayer-info .aplayer-time .aplayer-icon-play {
    margin: auto;
    right: 0;
    left: 0;
    width: 56px;
    height: 56px;
  }
  #heoMusic-page .aplayer-info .aplayer-time .aplayer-icon-forward {
    margin: auto;
    left: 110px;
    right: 0;
  }
  #heoMusic-page .aplayer-info .aplayer-time .aplayer-icon-loop {
    display: none;
  }
  #heoMusic-page .aplayer-info .aplayer-time .mobile-mode-merged-button {
    position: fixed;
    left: 32px;
    bottom: 28px;
    margin: 0;
    opacity: 0.4;
  }
  #heoMusic-page .aplayer-info .aplayer-time .aplayer-icon-menu {
    display: none;
    position: absolute;
    right: 30px;
    top: -100px;
    width: 24px;
    height: 24px;
    opacity: 0.4;
  }
  #heoMusic-page .aplayer-volume-bar-wrap {
    bottom: 0px;
    right: 7px;
  }
  #heoMusic-page .aplayer .aplayer-info .aplayer-controller .aplayer-volume-wrap {
    left: -66px;
    display: none;
  }
  #heoMusic-page.localMusic .aplayer-info .aplayer-controller .aplayer-volume-wrap {
    left: -66px;
    display: none;
  }
  #heoMusic-page .aplayer-info .aplayer-lrc p {
    font-size: 24px;
    text-align: center;
    word-break: break-word;
  }

  .mobile-panel[data-panel="lyrics"] #heoMusic-page .aplayer-info .aplayer-lrc,
  .mobile-panel[data-panel="lyrics"] .aplayer-lrc {
    height: 100%;
    min-height: 0;
    mask-image: linear-gradient(to bottom, transparent 0%, #000 10px, #000 calc(100% - 36px), transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 10px, #000 calc(100% - 36px), transparent 100%);
    overflow-y: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .mobile-panel[data-panel="lyrics"] #heoMusic-page .aplayer-info .aplayer-lrc::-webkit-scrollbar,
  .mobile-panel[data-panel="lyrics"] .aplayer-lrc::-webkit-scrollbar {
    display: none;
  }

  .mobile-panel[data-panel="lyrics"] .aplayer .aplayer-lrc .aplayer-lrc-contents {
    padding: 4px 32px 72px;
    gap: 18px;
    margin-left: 0;
  }

  .mobile-panel[data-panel="lyrics"] #heoMusic-page .aplayer-info .aplayer-lrc p,
  .mobile-panel[data-panel="lyrics"] .aplayer-lrc p {
    padding: 0;
    margin: 0;
    border-radius: 0;
    background: transparent !important;
    text-align: left;
    filter: none;
    opacity: 0.42;
    color: rgba(255, 255, 255, 0.42);
    font-size: 22px;
    font-weight: 700;
    line-height: 1.5;
    text-shadow: none;
  }

  .mobile-panel[data-panel="lyrics"] #heoMusic-page .aplayer-info .aplayer-lrc p.aplayer-lrc-current,
  .mobile-panel[data-panel="lyrics"] .aplayer-lrc p.aplayer-lrc-current {
    color: #f2f2f2;
    opacity: 1;
    font-size: 26px;
    text-shadow: 0 0 18px rgba(255, 255, 255, 0.12);
  }
  #heoMusic-page .aplayer-info .aplayer-music {
    display: flex;
    position: fixed;
    top: calc(100dvh - 142px);
    left: 0;
    margin: 0;
    margin-left: 32px;
    height: 21px;
    max-width: calc(100vw - 110px);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    opacity: 0.6;
    align-items: center;
    line-height: 1;
  }

  #heoMusic-page .aplayer-info .aplayer-music .aplayer-title {
    font-size: 16px;
    font-weight: normal;
    margin: 0;
    line-height: 1;
  }

  #heoMusic-page .aplayer-info .aplayer-music .aplayer-author {
    margin-left: 4px;
    font-size: 16px;
    font-weight: normal;
    line-height: 1;
  }

  #heoMusic-page .aplayer-info .aplayer-music .aplayer-author,
  #heoMusic-page .aplayer-info .aplayer-music .aplayer-title {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: calc(100vw - 176px);
  }

  .aplayer .aplayer-lrc {
    overflow: inherit;
  }

  #heoMusic-page .aplayer-pic {
    display: none;
  }

  .aplayer .aplayer-lrc .aplayer-lrc-contents {
    margin-left: 0;
    width: 100%;
    box-sizing: border-box;
    padding: 120px 20px 180px;
    gap: 16px;
  }

}

@media screen and (max-width: 768px) and (max-height: 820px) {
  :root {
    --mobile-player-safe-bottom: 210px;
  }

  .mobile-vinyl-wrap {
    width: min(82vw, clamp(170px, calc(100dvh - 455px), 300px));
  }

  .mobile-lyric-line-current {
    font-size: clamp(16px, 5vw, 20px);
  }

  .mobile-lyric-line-next {
    font-size: 14px;
  }
}

@media screen and (max-width: 768px) and (max-height: 740px) {
  :root {
    --mobile-player-safe-bottom: 198px;
    --mobile-top-nav-height: 58px;
  }

  .mobile-tabs {
    padding: 16px 0 2px;
    gap: 10px;
  }

  .mobile-tab {
    font-size: 14px;
  }

  .mobile-album-title {
    font-size: clamp(22px, 8vw, 32px);
  }

  .mobile-album-search {
    min-height: 40px;
    margin-top: 14px;
  }

  .mobile-album-grid {
    gap: 16px 10px;
  }

  .mobile-vinyl-wrap {
    width: min(76vw, clamp(156px, calc(100dvh - 430px), 262px));
  }

  .mobile-lyric-preview {
    padding-top: 2px;
    transform: translateY(18px);
  }

  .mobile-lyric-line-current {
    font-size: clamp(15px, 4.8vw, 18px);
  }

  .mobile-lyric-line-next {
    margin-top: 6px;
    font-size: 13px;
  }

  .mobile-track-divider {
    margin-top: 10px;
    width: 110px;
  }
}

@keyframes mobileSpin {
  from {
    transform: rotate(0deg);
  }

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

@keyframes mobileAlbumMarquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(calc(var(--marquee-distance, 0px) * -1));
  }
}

@keyframes desktopTitleMarquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(calc(var(--desktop-marquee-distance, 0px) * -1));
  }
}
