* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: #000;
  color: #fff;
  font-family: system-ui;
  overflow: hidden;
  /* flex居中方案（确定性最强，替代fixed+inset+margin:auto的内核差异问题） */
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100vh;
}

.player-container {
  width: 370px;
  height: 675px;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  overflow: hidden;
}

/* 响应式适配：小屏手机上容器不超过视口（铺满显示，无溢出裁切）；
   大屏保持370×675设计比例居中。三个子面板(absolute 100%)自动跟随容器 */
@media (max-width: 369px) {
  .player-container {
    width: 100vw;
  }
}

@media (max-height: 674px) {
  .player-container {
    height: 100vh;
  }
}

/* 背景图以容器中心为锚铺满视口：
   absolute+translate(-50%,-50%)锚定容器中心（唱片与背景机械圆环永远对齐），
   尺寸取视口(100vw×100vh)与容器(100%)的较大者——圆环对齐+全屏覆盖无白边两全 */
.bg-img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100vw;
  height: 100vh;
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
  z-index: 0;
}

/* 内容容器：文档流内由body的flex居中（不用fixed，规避内核差异）；
   内部absolute元素（搜歌按钮/三个面板）以container为定位祖先 */
.player-container {
  width: 370px;
  height: 675px;
  position: relative;
  overflow: hidden;
  z-index: 1;
  flex-shrink: 0;
}

/* 手机：宽度铺满视口，高度按370:675设计比例等比缩放（内容不变形），
   高度不足视口时上下留白由全屏背景图填充 */
@media (max-width: 480px) {
  .player-container {
    width: 100vw;
    height: calc(100vw * 2);
    max-height: 100vh;
  }
}

/* ===== 左上角在线搜歌入口 ===== */
.online-search-entry {
  position: absolute;
  top: 12px;
  left: 16px;
  z-index: 100;
  width: 32px;
  height: 32px;
  border-radius: 34%;
  border: 1px solid #ffd62e;
  background: #000000;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  backdrop-filter: blur(6px);
  padding: 0;
}

.online-search-entry img {
  width: 24px;
  height: 29px;
}

.online-search-entry:active {
  transform: scale(0.9);
  background: rgba(20, 198, 221, 0.2);
}

/* ===== 歌曲列表面板（内嵌到播放器页面） ===== */
.song-panel {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #14c6dd14;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 9999;
  padding: 15px;
  flex-direction: column;
  overflow: hidden;
  scrollbar-color: #00ffec6e transparent;
}

.song-panel.show {
  display: flex;
}

/* 面板头部：搜索栏 + 关闭按钮 */
.panel-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  flex-shrink: 0;
}

/* 搜索框 */
.panel-search {
  margin-left: 6px;
  flex: 1;
  padding: 8px 15px;
  border-radius: 12px;
  border: 2px solid #8581bc;
  outline: none;
  background: #6e6e6e1a;
  color: #fff;
  font-size: 14px;
}

.panel-search::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.panel-search:focus {
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 0 10px rgba(233, 69, 96, 0.3);
}

.panel-search.hidden {
  display: none;
}
.panel-actions {
  display: none;
  flex: 1;
  align-items: center;
  gap: 40px;
  margin-left: 40px;
}
.panel-actions.show {
  display: flex;
  flex-direction: row;
  justify-content: center;
}
.panel-actions .clear-btn {
  padding: 4px 20px;
  border-radius: 8px;
  border: 2px solid #009eb3;
  background: #8581bc;
  color: #fff;
  font-size: 14px;
  font-weight: bold;
  cursor: pointer;
}
.fav-select-all {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  background: #8581bc;
  border: 1px solid #009eb3;
  color: #ffffff;
  border-radius: 8px;
  padding: 4px 10px;
  font-size: 13px;
  cursor: pointer;
  flex-direction: row;
}
.panel-actions .fav-delete-btn {
  padding: 4px 10px;
  border-radius: 8px;
  border: 1px solid #009eb3;
  background: #8581bc;
  color: #ffffff;
  font-size: 14px;
  cursor: pointer;
}

/* 关闭按钮 */
.panel-close {
  background-color: #ff3b3000;
  border: none;
}

.panel-close:active {
  transform: scale(0.95);
  background: #c73e54;
}

/* ===== 中间显示区 ===== */
.panel-content {
  flex: 1;
  overflow: hidden;
  position: relative;
}

/* 分类视图 */
.category-view {
  display: none;
  height: 100%;
  overflow-y: auto;
  padding-bottom: 10px;
}

.category-view.show {
  display: block;
}

.category-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 5px;
}

.category-card {
  background: #8b72cb87;
  box-shadow: 0 -3px 0px 1px #6b67a9d9;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  padding: 2px 4px;
  position: relative;
  min-height: 54px;
}

.category-card:active {
  transform: scale(0.97);
}

.category-cover-wrap {
  position: relative;
  width: 106px;
  height: 50px;
  flex-shrink: 0;
  margin-right: 20px;
}

.category-cover {
  width: 60px;
  height: 50px;
  border-radius: 10px 3px 3px 10px;
  object-fit: cover;
  position: relative;
  z-index: 2;
}

.category-disc {
  position: absolute;
  right: 25px;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 45px;
  z-index: 1;
}

.category-info {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.category-name {
  color: #e1dfffb8;
  font-size: 14px;
  font-weight: bold;
}

.category-count {
  color: #949494;
  font-size: 10px;
  font-weight: 400;
}

.category-count-num {
  color: #5fa683;
  font-weight: bold;
  font-size: 10px;
}

/* 歌曲列表视图 */
.songs-view {
  display: none;
  height: 100%;
}

.songs-view.show {
  display: block;
}

/* 歌曲列表 - 独立滚动区 */
.panel-songs {
  width: 100%;
  height: 100%;
  overflow-y: auto;
  padding: 5px 5px 30px 5px;
  scrollbar-width: thin;
  scrollbar-color: #00ffec6e transparent;
}

/* Webkit 滚动条样式 */
.panel-songs::-webkit-scrollbar {
  width: 6px;
}

.panel-songs::-webkit-scrollbar-track {
  background: transparent;
}

.panel-songs::-webkit-scrollbar-thumb {
  background: #00ffec6e;
  border-radius: 3px;
}

/* 歌曲项 */
.panel-song-item {
  padding: 8px 15px;
  background: #5794b33d;
  /* box-shadow: 0 3px 2px #6978b3b0; */
  border-radius: 8px;
  margin-bottom: 8px;
  font-size: 14px;
  cursor: pointer;
  color: #14c6dd;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: all 0.2s;
}

.panel-song-item:active {
  background: rgba(233, 69, 96, 0.3);
  transform: scale(0.98);
}

.panel-song-item.current,
.fav-playing {
  color: #ddd700d9;
  border-left: 6px solid #ddd700;
  background: #08d0d863;
  font-weight: bold;
}

.panel-empty {
  text-align: center;
  padding: 40px 0;
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
}

/* ===== 底部导航栏 ===== */
.panel-nav {
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 12px 10px;
  border-radius: 25px 25px 0 0;
  flex-shrink: 0;
  margin: 0 -15px -15px -15px;
}

.nav-item {
  display: flex;
  flex-direction: column;
  background: linear-gradient(167deg, #44c8ff 0%, #015b4a 100%);
  box-shadow: 0 0 4px rgb(0 185 255 / 66%);
  align-items: center;
  padding: 6px 8px;
  border-radius: 15px;
  cursor: pointer;
  transition: all 0.3s;
  min-width: 60px;
}

.nav-item:active {
  transform: scale(0.9);
}

.nav-item.active {
  background: linear-gradient(135deg, #ff537f 0%, #32007f 100%);
  box-shadow: -3px -3px 28px rgb(255 23 23 / 77%);
}

.nav-icon {
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-icon img {
  width: 20px;
  height: 18px;
}

.nav-text {
  color: #fff;
  font-size: 11px;
  white-space: nowrap;
  font-weight: bold;
}

/* 隐藏文件上传 */
#panelFileInput {
  display: none;
}

.vinyl-box {
  bottom: 8px;
  width: 100%;
  height: 55%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.disc-icon {
  height: 190px;
  max-width: 220px;
  max-height: 220px;
  border-radius: 50%;
  object-fit: cover;
  animation: discRotate 10s linear infinite paused;
  box-shadow: 0 0px 0px 5px #25c0a8;
}

.disc-icon.playing {
  animation-play-state: running;
}

@keyframes discRotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.playing-indicator {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 6px;
  height: 20px;
  margin-bottom: 10vh;
  position: relative;
  z-index: 1;
}

.playing-indicator span {
  width: 20px;
  background: #00dcae;
  border-radius: 3px;
  animation: barDance 0.8s ease-in-out infinite paused;
}

.playing-indicator span:nth-child(1) {
  height: 60%;
  animation-delay: 0s;
}
.playing-indicator span:nth-child(2) {
  height: 100%;
  animation-delay: 0.15s;
}
.playing-indicator span:nth-child(3) {
  height: 40%;
  animation-delay: 0.3s;
}
.playing-indicator span:nth-child(4) {
  height: 80%;
  animation-delay: 0.45s;
}
.playing-indicator span:nth-child(5) {
  height: 50%;
  animation-delay: 0.6s;
}

.playing-indicator.playing span {
  animation-play-state: running;
}

@keyframes barDance {
  0%,
  100% {
    transform: scaleY(0.4);
  }
  50% {
    transform: scaleY(1);
  }
}

.music-info {
  text-align: center;
  padding-bottom: 8vh;
  font-size: 14px;
  font-weight: bold;
  color: #02e4b4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 180px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 1;
}

/* 我的收藏（左） */
#myLikeBtn {
  position: absolute;
  left: 0px;
  top: -45px;
  background-color: transparent;
  border: none;
  width: 28px;
  height: 28px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  cursor: pointer;
}

/* 收藏（右） */
#likeBtn {
  position: absolute;
  right: 0px;
  top: -42px;
  background-color: transparent;
  border: none;
  width: 23px;
  height: 23px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  cursor: pointer;
}

.control-bar {
  display: flex;
  align-items: center;
  gap: 30px;
  padding: 15px 0;
  position: relative;
  z-index: 1;
  flex-direction: row;
  justify-content: center;
}

.control-bar button {
  background-color: transparent;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 18px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  cursor: pointer;
  filter: invert(15%) sepia(100%) saturate(600%) hue-rotate(328deg);
}
/* 播放按钮 放大 */
#playBtn {
  width: 42px !important;
  height: 42px !important;
}

/* 歌曲列表按钮 */
#playlistBtn {
  width: 32px;
  height: 32px;
  background-image: url('icons/playlist.webp');
}

.progress-wrap {
  width: 85%;
  margin: 0 auto 2px;
  position: relative;
  z-index: 1;
}

.progress {
  width: 100%;
  height: 5px;
  background: #333;
  border-radius: 3px;
  position: relative;
  cursor: pointer;
}

.buffer-line {
  height: 100%;
  background: #666;
  border-radius: 3px;
  position: absolute;
  top: 0;
  left: 0;
  width: 0%;
  z-index: 1;
}

.progress-line {
  height: 100%;
  background: #ffd62e;
  border-radius: 3px;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
}

.time-text {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #ffd62e;
  margin-top: 5px;
}

.volume-box {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 20px 10px;
  position: relative;
  z-index: 1;
}

.volume-slider {
  width: 120px;
  height: 4px;
  appearance: none;
  background: #ffd62e;
  border-radius: 2px;
}

.volume-slider::-webkit-slider-thumb {
  appearance: none;
  width: 12px;
  height: 12px;
  background: #0ff;
  border-radius: 50%;
}

/* 游客提示 */
.guest-tip {
  position: absolute;
  top: 55%;
  left: 50%;
  transform: translateX(-50%);
  background: rgb(109 7 255);
  color: #e5e5e5;
  padding: 1px 12px 6px;
  border-radius: 10px;
  font-size: 13px;
  z-index: 1000;
  animation: fadeInDown 0.3s ease;
  white-space: nowrap;
  text-align: center;
}

.guest-login-link,
.guest-vip-link {
  color: #05d9c9;
  font-size: 16px;
  cursor: pointer;
  text-decoration: underline;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

.volume-icon {
  width: 24px;
}

.btn-my-like {
  background-image: url('icons/favorites.webp');
}

.btn-like {
  background-image: url('icons/unliked.webp');
}

.btn-loop {
  background-image: url('icons/loop-off.webp');
}

.btn-prev {
  background-image: url('icons/prev.webp');
}

.btn-play {
  background-image: url('icons/play.webp');
}

.btn-next {
  background-image: url('icons/next.webp');
}

.btn-voice {
  position: absolute;
  top: 12px;
  right: 15px;
  z-index: 100;
  width: 30px;
  height: 30px;
  border: none;
  background-color: #000000;
  background-image: url(icons/radio.svg);
  background-size: 23px 23px;
  background-position: center;
  background-repeat: no-repeat;
  border: 1px solid #ffdd52;
  border-radius: 10px;
}

#playBtn:disabled,
#prevBtn:disabled,
#nextBtn:disabled,
#loopBtn:disabled,
#likeBtn:disabled,
#myLikeBtn:disabled,
#playlistBtn:disabled,
#onlineSearchEntry:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  pointer-events: none;
}

/* ===== 在线搜歌独立面板 ===== */
.online-panel {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgb(17 47 95 / 49%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 9998;
  flex-direction: column;
  overflow: hidden;
}

.online-panel.show {
  display: flex;
}

/* ===== 收音机面板 ===== */
.radio-panel {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #ffd62e;
  z-index: 9997;
  flex-direction: column;
  overflow: hidden;
}
.radio-panel.show {
  display: flex;
}
.radio-header {
  display: flex;
  align-items: center;
  padding: 0 15px;
  height: 50px;
  background: #16213e;
  z-index: 10;
}
.radio-title {
  flex: 1;
  text-align: center;
  font-size: 20px;
  font-weight: bold;
  color: #ffd62e;
  margin-right: -25px;
}
.radio-close {
  width: 30px;
  height: 30px;
  background: none;
  border: none;
  cursor: pointer;
}
.radio-close img {
  width: 24px;
  height: 24px;
}
.radio-grid {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 15px;
  padding: 10px;
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
  align-items: flex-start;
  justify-content: center;
  flex: 1;
}
.radio-card {
  flex: 1 1 0;
  min-width: 0;
  height: 160px;
  background: #0f3460;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 15px;
  cursor: pointer;
  transition: transform 0.2s;
  border: 2px solid #c90a0a;
}
.radio-card:active {
  transform: scale(0.95);
}
.radio-card img {
  width: 142px;
  height: 100px;
  border-radius: 10px;
}
.radio-card span {
  font-size: 16px;
  font-weight: bold;
  color: #fff;
}

.online-panel-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px 0px 4px;
  background: #0b2939;
  flex-shrink: 0;
}

.online-panel-search-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
}

.online-search-box {
  margin-left: 5px;
  flex: 1;
  display: flex;
  align-items: center;
  border-radius: 7px;
  border: 1px solid rgb(194 173 255 / 55%);
  background: rgba(255, 255, 255, 0.15);
  overflow: visible;
  position: relative;
  flex-direction: row;
}

.online-source-select {
  position: relative;
  display: flex;
  align-items: center;
  padding: 4px;
}

.online-source-label {
  font-size: 12px;
  font-weight: bold;
  color: #2a2a2a;
  white-space: nowrap;
}

.online-source-label img {
  width: 25px;
  height: 25px;
  vertical-align: middle;
}

.online-source-option img {
  width: 22px;
  height: 22px;
  vertical-align: middle;
  border-radius: 12px;
}

.online-source-arrow {
  font-size: 14px;
  color: #ffb700;
  margin-left: 2px;
  transition: transform 0.2s;
}

.online-source-select.open .online-source-arrow {
  transform: rotate(180deg);
}

.online-source-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 3px;
  border-radius: 0 0 6px 6px;
  z-index: 100;
  min-width: 43px;
  overflow: hidden;
}

.online-source-select.open .online-source-dropdown {
  display: block;
}

.online-source-option {
  width: 38px;
  text-align: center;
  line-height: 50px;
  transition: background 0.15s;
}

.online-source-option:active {
  background: rgba(20, 198, 221, 0.2);
}

.online-panel-input {
  width: 7px;
  flex: 1;
  padding: 7px 10px;
  border: none;
  outline: none;
  background: transparent;
  color: #fff;
  font-size: 14px;
  min-width: 5px;
}

.online-panel-input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

/* .online-panel-input:focus {
  background: rgba(255, 255, 255, 0.22);
  box-shadow: 0 0 8px rgba(20, 198, 221, 0.3);
} */

.online-panel-search-btn {
  padding: 6px 4px;
  border-radius: 8px;
  /* border: none; */
  background: #314e5d;
  border: 1px solid rgb(194 173 255 / 55%);
  color: #c1c1c1;
  font-size: 14px;
  font-weight: bold;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s;
}

.online-panel-search-btn:active {
  transform: scale(0.95);
  background: #0ea8bd;
}

.online-panel-mic-btn {
  width: 32px;
  height: 33px;
  border-radius: 28%;
  border: 1px solid rgb(194 173 255 / 55%);
  background: rgba(255, 255, 255, 0.15);
  color: #14c6dd;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  flex-shrink: 0;
}

.online-panel-mic-btn img {
  width: 28px;
  height: 28px;
}

.online-panel-mic-btn.recording {
  border-color: #ff4d4f;
  background: rgba(255, 77, 79, 0.2);
  animation: micPulse 1s infinite;
}

@keyframes micPulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(255, 77, 79, 0.4);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(255, 77, 79, 0);
  }
}

.online-panel-close {
  width: 32px;
  height: 32px;
  border-radius: 5px;
  border: none;
  background: #ff3b30;
  color: #ffd62e;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  padding-bottom: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s;
}

.online-panel-close:active {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.online-panel-status {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  padding: 6px 15px;
  flex-shrink: 0;
  min-height: 20px;
}

.online-panel-body {
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 0 12px 20px;
}

.online-song-item {
  display: flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 10px;
  margin-bottom: 12px;
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
  transition: background 0.15s;
}

.online-song-item:active {
  background: rgba(255, 255, 255, 0.14);
}

.online-song-item.playing {
  background: rgba(20, 198, 221, 0.12);
  border: 1px solid #138690;
}

.online-song-index {
  width: 28px;
  text-align: center;
  font-size: 13px;
  color: #14c6dd;
  flex-shrink: 0;
  font-weight: bold;
}

.online-song-cover {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  object-fit: cover;
  margin-right: 10px;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.08);
}

.online-song-info {
  flex: 1;
  min-width: 0;
}

.online-song-name {
  font-size: 14px;
  color: #c9c3d7;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.online-song-artist {
  font-size: 12px;
  color: #14c6dd;
  margin-top: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.online-song-duration {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.3);
  margin-left: 8px;
  flex-shrink: 0;
}

.quality-tag {
  font-size: 11px;
  padding: 1px 4px;
  border-radius: 3px;
  margin-left: 6px;
  flex-shrink: 0;
  display: none;
}

.quality-tag.quality-low {
  display: inline;
  color: #aaa;
}

.quality-tag.quality-high {
  display: inline;
  color: #0c8;
}

.quality-tag.quality-lossless {
  display: inline;
  background: rgba(255, 180, 0, 0.3);
  color: #fb0;
}

.player-quality-wrap {
  position: relative;
  margin-top: -10px;
}

.player-quality {
  display: none;
  font-size: 11px;
  padding: 1px 6px;
  border-radius: 3px;
  margin: 0 auto;
  text-align: center;
  width: fit-content;
}

.player-quality.quality-low {
  display: block;
  color: #aaa;
}

.player-quality.quality-high {
  display: block;
  color: #0c8;
}

.player-quality.quality-lossless {
  display: block;
  color: #fb0;
}

.online-panel-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 0;
  color: rgba(255, 255, 255, 0.5);
  gap: 12px;
}

.loading-spinner {
  width: 28px;
  height: 28px;
  border: 3px solid rgba(255, 255, 255, 0.1);
  border-top-color: #14c6dd;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.online-search-empty {
  text-align: center;
  padding: 50px 20px;
  color: #ff9800;
  font-size: 14px;
}

.online-search-tip {
  text-align: center;
  padding: 80px 30px;
  color: #ff9800;
  font-size: 14px;
  line-height: 2;
}

.online-recognize-result {
  background: rgba(20, 198, 221, 0.08);
  border: 1px solid rgba(20, 198, 221, 0.2);
  border-radius: 10px;
  padding: 12px;
  margin-bottom: 10px;
  text-align: center;
}

.online-recognize-result .recognize-song {
  font-size: 13px;
  color: #ffb700;
  font-weight: bold;
}

.online-recognize-result .recognize-artist {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 4px;
}

.online-load-more {
  text-align: center;
  padding: 14px;
  color: rgba(255, 255, 255, 0.4);
  font-size: 13px;
  cursor: pointer;
}

.online-load-more:active {
  color: #14c6dd;
}

.fav-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.fav-checkbox {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  cursor: pointer;
  margin-left: auto;
}

.fav-source-icon {
  width: 14px;
  height: 14px;
  vertical-align: middle;
  margin-right: 4px;
  flex-shrink: 0;
}
