:root {
  --netease-red: #ec4141;
  --netease-red-hover: #d73535;
  --bg-main: #f5f5f7;
  --bg-sidebar: #ededf0;
  --bg-topbar: #f5f5f7;
  --bg-footer: #ffffff;
  --bg-input: #e9e9ec;
  --bg-hover: #e5e5e8;
  --border-light: #e1e1e5;
  --text-main: #333333;
  --text-sub: #7e8077;
  --text-dim: #54564e;
  --text-link: #5292fe;
  --progress-dynamic-color: #ec4141;
  --glass-bg: rgba(255, 255, 255, 0.85);
  --glass-border: rgba(255, 255, 255, 0.6);
  --glass-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
  --glass-text: #1d1d1f;
  --glass-text-sub: #8e9095;
  --glass-item-bg: rgba(0, 0, 0, 0.04);
  --glass-item-hover: rgba(0, 0, 0, 0.08);
}

.dark-mode {
  --bg-main: #1b1b1e;
  --bg-sidebar: #18181a;
  --bg-topbar: #1b1b1e;
  --bg-footer: #222225;
  --bg-input: #28282c;
  --bg-hover: #2f2f34;
  --border-light: #2b2b2f;
  --text-main: #d5d5d8;
  --text-sub: #8e9095;
  --text-dim: #6e7075;
}

.dark-mode,
.app-window:has(.immersive-player-view.show) {
  --glass-bg: rgba(24, 26, 32, 0.85);
  --glass-border: rgba(255, 255, 255, 0.12);
  --glass-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
  --glass-text: #ffffff;
  --glass-text-sub: #8e9095;
  --glass-item-bg: rgba(255, 255, 255, 0.06);
  --glass-item-hover: rgba(255, 255, 255, 0.14);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background: #111215;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Microsoft YaHei", sans-serif;
  height: 100vh;
  width: 100vw;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  user-select: none;
}

.app-window {
  width: 100vw;
  height: 100vh;
  background: var(--bg-main);
  display: grid;
  grid-template-rows: 1fr 74px;
  grid-template-columns: 210px 1fr;
  grid-template-areas: "sidebar main-area" "sidebar footer";
  position: relative;
  overflow: hidden;
  transition: grid-template-columns 0.25s cubic-bezier(0.4, 0, 0.2, 1), grid-template-rows 0.25s ease;
  color: var(--text-main);
}

.app-window.in-mv-mode,
.app-window.no-footer {
  grid-template-rows: 1fr 0px !important;
}

.app-window.in-mv-mode .app-footer-white,
.app-window.no-footer .app-footer-white {
  transform: translateY(100%) !important;
  pointer-events: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  overflow: hidden !important;
}

.app-window.in-mv-mode .immersive-player-view,
.app-window.no-footer .immersive-player-view {
  display: none !important;
}

.app-sidebar {
  grid-area: sidebar;
  background: var(--bg-sidebar);
  border-right: 1px solid var(--border-light);
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
  box-sizing: border-box !important;
  overflow-y: auto;
  transition: width 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: width;
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
  z-index: 101;
}

.app-sidebar::-webkit-scrollbar,
.sidebar-nav::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

.sidebar-logo-box {
  height: 60px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  flex-shrink: 0;
}

.logo-icon-svg {
  width: 28px;
  height: 28px;
  color: var(--netease-red);
  flex-shrink: 0;
}

.logo-text {
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--text-main);
  letter-spacing: -0.5px;
}

.sidebar-nav {
  padding: 10px 14px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  flex: 1 !important;
  min-height: 0 !important;
  overflow-y: auto !important;
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
}

.menu-group {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.menu-title {
  font-size: 0.72rem;
  color: var(--text-dim);
  padding: 0 12px;
  margin-bottom: 6px;
}

.menu-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 0.9rem;
  color: var(--text-main);
  cursor: pointer;
  transition: background 0.15s;
}

.menu-item:hover {
  background: var(--bg-hover);
}

.menu-item.active {
  background: var(--netease-red);
  color: #ffffff;
  font-weight: 500;
}

.menu-item.active svg {
  color: #ffffff;
}

.sidebar-bottom-bar {
  margin-top: auto;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  border-top: none !important;
}

.sidebar-user-footer {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 9px;
  cursor: pointer;
  padding: 6px 8px;
  border-radius: 8px;
  transition: background-color 0.2s ease;
}

.sidebar-user-footer:hover {
  background: rgba(0, 0, 0, 0.05);
}

.dark-mode .sidebar-user-footer:hover {
  background: rgba(255, 255, 255, 0.08);
}

.sidebar-user-footer .user-avatar {
  width: 32px;
  height: 32px;
  min-width: 32px;
  border-radius: 50%;
  background: var(--netease-red, #ec4141);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sidebar-user-meta {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
}

.sidebar-user-meta .user-name-text {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-main, #333333);
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

.dark-mode .sidebar-user-meta .user-name-text {
  color: rgba(255, 255, 255, 0.88);
}

.sidebar-user-meta .user-status-tip {
  font-size: 0.72rem;
  color: var(--text-sub, #888888);
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  margin-top: 1px;
}

.sidebar-action-icons {
  display: flex;
  align-items: center;
  gap: 4px;
}

.sidebar-settings-btn,
.sidebar-collapse-toggle-btn {
  width: 34px;
  height: 34px;
  min-width: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  cursor: pointer;
  color: var(--text-sub, #777777);
  transition: transform 0.3s ease, background-color 0.2s, color 0.2s;
}

.sidebar-settings-btn:hover,
.sidebar-collapse-toggle-btn:hover {
  background: rgba(0, 0, 0, 0.05);
  color: var(--text-main, #111111);
}

.dark-mode .sidebar-settings-btn:hover,
.dark-mode .sidebar-collapse-toggle-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.app-window.sidebar-collapsed {
  grid-template-columns: 68px 1fr !important;
}

.app-window.sidebar-collapsed .app-sidebar {
  width: 68px !important;
  min-width: 68px !important;
  max-width: 68px !important;
  padding: 0 !important;
}

.app-window.sidebar-collapsed .sidebar-logo-box {
  justify-content: center !important;
  padding: 16px 0 !important;
}

.app-window.sidebar-collapsed .sidebar-logo-box .logo-text,
.app-window.sidebar-collapsed .menu-title,
.app-window.sidebar-collapsed .menu-item span,
.app-window.sidebar-collapsed .sidebar-user-meta {
  display: none !important;
}

.app-window.sidebar-collapsed .menu-item {
  justify-content: center !important;
  padding: 10px 0 !important;
  margin: 6px auto !important;
  width: 44px !important;
  height: 44px !important;
  border-radius: 12px !important;
}

.app-window.sidebar-collapsed .menu-item svg {
  margin: 0 !important;
}

.app-window.sidebar-collapsed #sidebarUserPlaylists .menu-item {
  width: 42px !important;
  height: 42px !important;
  padding: 0 !important;
  border-radius: 8px !important;
  overflow: hidden !important;
}

.app-window.sidebar-collapsed #sidebarUserPlaylists .menu-item img {
  width: 100% !important;
  height: 100% !important;
  border-radius: 8px !important;
  object-fit: cover !important;
}

.app-window.sidebar-collapsed .sidebar-bottom-bar {
  flex-direction: column !important;
  gap: 12px !important;
  padding: 14px 0 !important;
  align-items: center !important;
  justify-content: center !important;
}

.app-window.sidebar-collapsed .sidebar-user-footer {
  padding: 0 !important;
  margin: 0 !important;
  justify-content: center !important;
}

.app-window.sidebar-collapsed .sidebar-action-icons {
  flex-direction: column !important;
  gap: 10px !important;
}

.app-window.sidebar-collapsed .collapse-arrow-icon {
  transform: rotate(180deg);
}

.app-window:has(.immersive-player-view.show) .app-sidebar {
  display: none !important;
}

.app-main-area {
  grid-area: main-area;
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  background: var(--bg-main);
  min-width: 0;
}

.main-top-bar {
  height: 60px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-light);
  background: var(--bg-topbar);
  flex-shrink: 0;
}

.top-bar-left,
.top-bar-right {
  display: flex;
  align-items: center;
  gap: 14px;
}

.back-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg-input);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-main);
}

.back-btn:hover {
  background: var(--bg-hover);
}

.search-box {
  position: relative !important;
  display: flex;
  align-items: center;
  background: var(--bg-input);
  border-radius: 20px;
  padding: 6px 14px;
  width: 260px;
  gap: 8px;
}

.search-box input {
  border: none;
  background: transparent;
  outline: none;
  font-size: 0.82rem;
  width: 100%;
  color: var(--text-main);
}

.main-scroll-view {
  flex: 1;
  overflow-y: auto;
  padding: 24px 32px;
  position: relative;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.main-scroll-view::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

.page-view {
  display: none;
  flex-direction: column;
  gap: 24px;
}

.page-view.active {
  display: flex;
}

.section-heading {
  color: var(--text-main);
}

.detail-sub-meta {
  color: var(--text-sub);
}

.engine-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 1px 7px;
  border-radius: 4px;
  font-size: 0.68rem;
  font-weight: 500;
  cursor: pointer;
  user-select: none;
  transition: all 0.15s ease;
  border: 1px solid var(--border-light);
  color: var(--text-main);
  background: transparent;
  margin-left: 2px;
}

.engine-toggle-btn.netease:hover {
  border-color: var(--netease-red);
  color: var(--netease-red);
}

.engine-toggle-btn.qq {
  border-color: #10b981;
  color: #10b981;
  background: rgba(16, 185, 129, 0.06);
}

.engine-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background-color: currentColor;
}

.home-songs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px 20px;
}

.home-song-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.15s;
}

.home-song-item:hover {
  background: var(--bg-hover);
}

.home-song-cover {
  width: 48px;
  height: 48px;
  border-radius: 6px;
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
}

.home-song-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-song-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  overflow: hidden;
}

.home-song-title {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.home-song-artist {
  font-size: 0.75rem;
  color: var(--text-sub);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tag-box-scroll {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 6px;
  scrollbar-width: none;
}

.tag-box-scroll::-webkit-scrollbar {
  display: none;
}

.blind-tag-pill {
  background: var(--bg-input);
  padding: 5px 14px;
  border-radius: 14px;
  font-size: 0.8rem;
  color: var(--text-main);
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.2s;
}

.blind-tag-pill:hover {
  background: var(--bg-hover);
  color: var(--netease-red);
}

.song-table {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: auto !important;
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

.song-row {
  display: grid;
  grid-template-columns: 48px 2.2fr 1.2fr 60px 80px;
  align-items: center;
  padding: 8px 12px;
  font-size: 0.85rem;
  color: var(--text-main);
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.15s;
}

.song-row:hover {
  background: var(--bg-hover);
}

.song-row.active {
  background: rgba(236, 65, 65, 0.12);
  color: var(--netease-red);
  font-weight: 500;
}

.song-row.header {
  color: var(--text-sub);
  font-size: 0.78rem;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 8px;
  margin-bottom: 4px;
  cursor: default;
}

.song-row.header:hover {
  background: transparent;
}

.song-idx-cell {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-sub);
}

.song-play-icon {
  display: none;
  color: var(--netease-red);
}

.song-row:hover .song-idx-num {
  display: none;
}

.song-row:hover .song-play-icon {
  display: block;
}

.song-main-cell {
  display: flex;
  align-items: center;
  gap: 12px;
  overflow: hidden;
}

.song-cover-mini {
  width: 40px;
  height: 40px;
  border-radius: 4px;
  overflow: hidden;
  flex-shrink: 0;
}

.song-cover-mini img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.song-info-col {
  display: flex;
  flex-direction: column;
  gap: 3px;
  overflow: hidden;
}

.song-title-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
}

.song-name-text {
  font-weight: 500;
  color: var(--text-main);
  font-size: 0.88rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mv-badge-pill-mini {
  border: 1px solid #ec4141;
  color: #ec4141;
  font-size: 0.62rem;
  line-height: 1;
  padding: 1px 4px;
  border-radius: 3px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  font-weight: 600;
  transition: all 0.15s;
}

.mv-badge-pill-mini:hover {
  background: #ec4141;
  color: #ffffff;
}

.song-badges-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.tag-badge {
  font-size: 0.62rem;
  padding: 0 3px;
  border-radius: 2px;
  line-height: 1.2;
  border: 1px solid transparent;
}

.tag-badge.gold {
  border-color: #e6a23c;
  color: #e6a23c;
}

.song-hover-actions {
  display: none;
  align-items: center;
  gap: 16px;
  margin-left: 12px;
  color: var(--text-sub);
}

.song-row:hover .song-hover-actions {
  display: flex;
}

.hover-act-btn {
  cursor: pointer;
  transition: color 0.15s, transform 0.15s;
}

.hover-act-btn:hover {
  color: var(--netease-red);
  transform: scale(1.1);
}

.song-like-cell {
  display: flex;
  align-items: center;
  justify-content: center;
}

.song-like-btn {
  cursor: pointer;
  color: var(--text-sub);
  transition: transform 0.15s;
}

.song-like-btn:hover {
  transform: scale(1.15);
  color: var(--netease-red);
}

.song-like-btn.liked {
  color: var(--netease-red);
  fill: var(--netease-red);
}

.song-duration-cell {
  text-align: right;
  padding-right: 12px;
  color: var(--text-sub);
  font-size: 0.8rem;
  font-variant-numeric: tabular-nums;
}

.mv-card {
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
  cursor: pointer !important;
  width: 100% !important;
  min-width: 0 !important;
}

.mv-cover-box {
  position: relative !important;
  width: 100% !important;
  aspect-ratio: 16 / 9 !important;
  border-radius: 8px !important;
  overflow: hidden !important;
  background: #111111 !important;
  flex-shrink: 0 !important;
}

.mv-cover-box img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
  transition: transform 0.25s ease !important;
}

.mv-card:hover .mv-cover-box img {
  transform: scale(1.05) !important;
}

.mv-play-tag {
  position: absolute !important;
  top: 6px !important;
  right: 8px !important;
  font-size: 0.72rem !important;
  font-weight: 500 !important;
  color: #ffffff !important;
  background: rgba(0, 0, 0, 0.5) !important;
  padding: 1px 6px !important;
  border-radius: 10px !important;
  backdrop-filter: blur(4px) !important;
  -webkit-backdrop-filter: blur(4px) !important;
  display: flex !important;
  align-items: center !important;
  gap: 3px !important;
  z-index: 2 !important;
}

.mv-card-title {
  font-size: 0.85rem !important;
  font-weight: 600 !important;
  color: var(--text-main) !important;
  line-height: 1.35 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
  width: 100% !important;
}

.mv-card-artist {
  font-size: 0.75rem !important;
  color: var(--text-sub) !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
  width: 100% !important;
}

.infinite-loading-indicator {
  display: none;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin: 0 auto;
  padding: 4px 0 !important;
  text-align: center;
  color: var(--text-sub);
  font-size: 0.8rem;
}

#searchInfiniteLoading:not([style*="display: none"]),
.infinite-loading-indicator:not([style*="display: none"]) {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  margin: 0 auto !important;
  text-align: center !important;
}

#searchInfiniteLoading .spx-loading-wave,
.infinite-loading-indicator .spx-loading-wave {
  margin-right: 8px !important;
}

.rec-cards-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.rec-card {
  position: relative;
  height: 160px;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 12px;
  color: #fff;
}

.rec-card.c1 { background: linear-gradient(135deg, #ff7e5f, #feb47b); }
.rec-card.c2 { background: linear-gradient(135deg, #11998e, #38ef7d); }
.rec-card.c3 { background: linear-gradient(135deg, #ff0844, #ffb199); }
.rec-card.c4 { background: linear-gradient(135deg, #654ea3, #eaafc8); }
.rec-card.c5 { background: linear-gradient(135deg, #2c3e50, #4ca1af); }

.card-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  font-size: 0.7rem;
  font-weight: bold;
}

.card-title {
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.3;
}

.playlist-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px 16px;
  min-height: 200px;
}

.playlist-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  cursor: pointer;
}

.playlist-cover-box {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 8px;
  overflow: hidden;
}

.playlist-cover-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.play-count {
  position: absolute;
  top: 6px;
  right: 8px;
  font-size: 0.7rem;
  color: #fff;
  background: rgba(0, 0, 0, 0.45);
  padding: 1px 6px;
  border-radius: 10px;
  backdrop-filter: blur(4px);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
}

.playlist-title {
  font-size: 0.82rem;
  color: var(--text-main);
  line-height: 1.4;
}

.search-tab-item {
  position: relative;
  cursor: pointer;
  padding: 4px 0;
  user-select: none;
  transition: color 0.2s ease;
}

.search-tab-item.active {
  color: var(--netease-red) !important;
  font-weight: bold;
  border-bottom: none !important;
  margin-bottom: 0 !important;
}

.search-tab-item.active::after {
  content: "";
  position: absolute;
  bottom: -9px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 3px;
  background: var(--netease-red);
  border-radius: 2px;
}

.detail-top-box {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  margin-bottom: 24px;
}

.detail-cover {
  width: 160px;
  height: 160px;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.detail-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.detail-title {
  font-size: 1.4rem;
  font-weight: bold;
  color: var(--text-main);
}

.detail-actions {
  display: flex;
  gap: 10px;
  margin-top: 6px;
}

.btn-red {
  background: var(--netease-red);
  color: #fff;
  border: none;
  padding: 6px 18px;
  border-radius: 16px;
  font-size: 0.85rem;
  cursor: pointer;
}

.btn-normal {
  background: var(--bg-input);
  color: var(--text-main);
  border: 1px solid var(--border-light);
  padding: 6px 16px;
  border-radius: 16px;
  font-size: 0.85rem;
  cursor: pointer;
}

.detail-desc-box {
  font-size: 0.82rem;
  color: var(--text-sub);
  line-height: 1.5;
  max-width: 680px;
  word-break: break-all;
}

.desc-label {
  color: var(--text-main);
  font-weight: 500;
}

.desc-toggle-btn {
  color: var(--text-link);
  cursor: pointer;
  margin-left: 4px;
}

.desc-toggle-btn:hover {
  text-decoration: underline;
}

#page-mv-detail {
  background: var(--bg-main);
  padding: 0 40px 60px 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.mv-video-anchor {
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 560px;
  background: #000000;
  border-radius: 12px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.mv-video-box {
  width: 100%;
  height: 100%;
  background: #000;
}

.mv-video-box video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  outline: none;
}

.mv-video-box.floating-pip {
  position: fixed !important;
  bottom: 24px !important;
  right: 28px !important;
  width: 420px !important;
  height: 236px !important;
  z-index: 9999 !important;
  border-radius: 10px !important;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.45) !important;
  border: 2px solid #ffffff !important;
  animation: none !important;
  transition: none !important;
}

.mv-detail-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid var(--border-light);
}

.mv-uploader-box {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mv-uploader-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}

.mv-uploader-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mv-uploader-name {
  font-size: 1.05rem;
  font-weight: bold;
  color: var(--text-main);
}

.btn-sub-mv {
  background: #fff;
  color: var(--netease-red);
  border: 1px solid var(--netease-red);
  padding: 4px 14px;
  border-radius: 14px;
  font-size: 0.8rem;
  cursor: pointer;
}

.mv-detail-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--text-sub);
  font-size: 0.85rem;
}

.mv-act-btn-group {
  display: flex;
  gap: 10px;
  margin-left: 10px;
}

.mv-act-btn {
  background: var(--bg-sidebar);
  border: 1px solid var(--border-light);
  padding: 5px 14px;
  border-radius: 16px;
  font-size: 0.8rem;
  color: var(--text-main);
  cursor: pointer;
}

.mv-act-btn:hover {
  background: var(--bg-hover);
}

#mvDescBox {
  font-size: 0.82rem;
  color: var(--text-sub);
  line-height: 1.6;
  max-width: 100%;
  word-break: break-all;
}

.mv-comment-main-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 14px;
}

.mv-comment-title-bar {
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--text-main);
}

.mv-comment-title-bar sup {
  font-size: 0.8rem;
  color: var(--text-sub);
  font-weight: normal;
  margin-left: 4px;
}

.mv-comment-input-box {
  background: var(--bg-sidebar);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mv-comment-input-box textarea {
  width: 100%;
  height: 68px;
  background: transparent;
  border: none;
  outline: none;
  font-size: 0.88rem;
  color: var(--text-main);
  resize: none;
}

.mv-input-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mv-input-tags {
  display: flex;
  gap: 12px;
  color: var(--text-sub);
  font-size: 1.05rem;
  cursor: pointer;
}

.btn-send-comment {
  background: var(--netease-red);
  color: #fff;
  border: none;
  padding: 5px 18px;
  border-radius: 14px;
  font-size: 0.84rem;
  cursor: pointer;
}

.immersive-player-view {
  position: fixed !important;
  inset: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  background-color: #0c0d12 !important;
  color: #ffffff;
  z-index: 50 !important;
  display: flex;
  flex-direction: column;
  transform: translateY(100%);
  visibility: hidden;
  pointer-events: none;
  transition: transform 0.4s cubic-bezier(0.2, 0.9, 0.3, 1), visibility 0.4s;
  overflow: hidden;
}

.immersive-player-view.show {
  transform: translateY(0) !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

.collapse-btn {
  position: absolute;
  top: 20px;
  left: 24px;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.65);
  cursor: pointer;
  z-index: 70;
  font-size: 0.85rem;
}

.collapse-btn:hover {
  color: #ffffff;
}

.background-stage {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  pointer-events: none !important;
  z-index: 2 !important;
  background-color: var(--color-4, #121316) !important;
  overflow: hidden !important;
  display: block !important;
  opacity: 1 !important;
}

.background-stage__layer {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  filter: none !important;
  transform: none !important;
}

.background-stage__layer--base {
  background: linear-gradient(145deg, var(--color-3, #1e222b) 0%, var(--color-4, #121316) 100%) !important;
}

.background-stage__layer--transition {
  background: linear-gradient(145deg, var(--color-3-next, #1e222b) 0%, var(--color-4-next, #121316) 100%) !important;
  opacity: 0;
  transition: opacity 0.8s ease !important;
}

.immersive-player-view.background-transitioning .background-stage__layer--transition {
  opacity: 1 !important;
}

.background-stage::after {
  content: '' !important;
  position: absolute !important;
  inset: 0 !important;
  background: rgba(0, 0, 0, 0.25) !important;
  z-index: 2 !important;
}

#wallpaperIframe {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  border: none !important;
  pointer-events: none !important;
  z-index: 1 !important;
  opacity: 0 !important;
  visibility: hidden !important;
  transition: opacity 0.4s ease, visibility 0.4s ease !important;
}

.player-body {
  flex: 1;
  height: calc(100vh - 74px) !important;
  max-height: calc(100vh - 74px) !important;
  min-height: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  max-width: 1150px;
  margin: 0 auto;
  width: 100%;
  padding: 0 40px;
  position: relative;
  z-index: 10 !important;
  overflow: hidden;
}

.player-left {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  min-height: 0;
}

.tonearm-container {
  position: absolute;
  top: calc(50% - 242px);
  left: calc(50% - 25px);
  width: 160px;
  height: 170px;
  z-index: 60;
  transform-origin: 25px 25px;
  transform: rotate(-32deg);
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  pointer-events: none;
  filter: drop-shadow(0 10px 16px rgba(0, 0, 0, 0.65));
}

.tonearm-container.playing {
  transform: rotate(0deg);
}

.turntable-tray {
  position: relative;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.035);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06);
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 50px;
  flex-shrink: 0;
}

.vinyl-body {
  width: 320px;
  height: 320px;
  border-radius: 50%;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: conic-gradient(
    from 0deg,
    rgba(255, 255, 255, 0.12) 0deg,
    rgba(255, 255, 255, 0.02) 45deg,
    rgba(0, 0, 0, 0.96) 90deg,
    rgba(255, 255, 255, 0.02) 135deg,
    rgba(255, 255, 255, 0.12) 180deg,
    rgba(255, 255, 255, 0.02) 225deg,
    rgba(0, 0, 0, 0.96) 270deg,
    rgba(255, 255, 255, 0.02) 315deg,
    rgba(255, 255, 255, 0.12) 360deg
  ),
  repeating-radial-gradient(circle at center, #131410, #131410 2px, #1a1c16 3px, #0e0f0c 4px);
  box-shadow: none;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: rotateVinyl 22s linear infinite;
  animation-play-state: paused;
}

.vinyl-body.playing {
  animation-play-state: running;
}

@keyframes rotateVinyl {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.vinyl-artwork {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid #000000;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
  box-shadow: none !important;
}

.vinyl-artwork img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.immersive-player-view.square-mode .tonearm-container {
  display: none !important;
}

.immersive-player-view.square-mode .turntable-tray,
.immersive-player-view.square-mode .vinyl-body {
  margin-top: 0 !important;
  width: auto !important;
  height: auto !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
  animation: none !important;
}

.immersive-player-view.square-mode .vinyl-artwork {
  width: 330px !important;
  height: 330px !important;
  border-radius: 14px !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  box-shadow: none !important;
}

.player-right {
  height: 100%;
  min-height: 0;
  display: flex;
  flex-direction: column;
  padding-left: 40px;
  padding-top: 58px;
  padding-bottom: 24px;
  overflow: hidden;
  position: relative;
  box-sizing: border-box;
}

.song-title {
  font-size: 1.65rem;
  font-weight: 600;
  margin-bottom: 8px;
  flex-shrink: 0;
  color: #ffffff;
  letter-spacing: 0.5px;
}

.song-meta {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
  flex-shrink: 0;
}

.song-meta span.link-hover {
  color: var(--text-link);
  cursor: pointer;
  text-decoration: none;
}

.song-meta span.link-hover:hover {
  text-decoration: underline;
}

.lyrics-view {
  position: relative;
  flex: 1;
  width: 100%;
  height: 100%;
  min-height: 0;
  overflow-y: scroll;
  overflow-x: hidden;
  display: block !important;
  mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 1) 8%, rgba(0, 0, 0, 1) 62%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 1) 8%, rgba(0, 0, 0, 1) 62%, transparent 100%);
  scrollbar-width: none;
  padding-top: calc(50vh - 180px) !important;
  padding-bottom: calc(50vh + 40px) !important;
  box-sizing: border-box !important;
}

.lyrics-view::-webkit-scrollbar {
  display: none;
}

.lyric-item {
  position: relative;
  width: 100%;
  min-height: 38px;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 0;
  cursor: default;
  user-select: none;
  opacity: 0.28;
  transition: opacity 0.3s ease;
  box-sizing: border-box;
}

.lyric-item.active {
  opacity: 1 !important;
}

.lyric-text-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-width: calc(100% - 90px);
}

.lyric-orig-text {
  font-size: 1.06rem;
  line-height: 1.5;
  font-weight: 500;
  color: #ffffff;
  white-space: normal;
  word-break: break-word;
}

.lyric-trans-text {
  font-size: 0.88rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.65);
  white-space: normal;
  word-break: break-word;
}

.lyric-item.active .lyric-trans-text {
  color: rgba(255, 255, 255, 0.88);
}

.kok-word {
  display: inline-block;
  background: linear-gradient(to right, #ffffff var(--progress, 0%), rgba(255, 255, 255, 0.4) var(--progress, 0%));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  will-change: background-size;
}

.lyric-seek-pill {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  display: none;
  opacity: 0;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: rgba(255, 255, 255, 0.9);
  padding: 2px 10px;
  border-radius: 14px;
  font-size: 0.74rem;
  font-variant-numeric: tabular-nums;
  cursor: pointer;
  align-items: center;
  gap: 4px;
  transition: background 0.15s ease, opacity 0.15s ease;
  z-index: 10;
}

.lyric-seek-pill:hover {
  background: var(--netease-red);
  border-color: var(--netease-red);
  color: #ffffff;
}

.lyrics-view.manual-scrolling .lyric-item:hover .lyric-seek-pill {
  display: inline-flex;
  opacity: 1;
}

.lyrics-view.manual-scrolling .lyric-item:hover {
  opacity: 0.85;
}

.stage-3d-wrapper {
  position: absolute;
  inset: 0;
  width: 100vw;
  height: calc(100vh - 74px);
  overflow: hidden !important;
  perspective: 1100px !important;
  perspective-origin: 50% 50%;
  transform-style: preserve-3d !important;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 25 !important;
  background: transparent !important;
}

.stage-3d-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.4) 1px, transparent 1.5px),
                    radial-gradient(circle at 75% 20%, rgba(255, 255, 255, 0.3) 1.5px, transparent 2px),
                    radial-gradient(circle at 40% 80%, rgba(255, 255, 255, 0.35) 1px, transparent 1.5px),
                    radial-gradient(circle at 85% 70%, rgba(255, 255, 255, 0.25) 2px, transparent 2.5px);
  background-size: 550px 550px;
  animation: floatDust 40s linear infinite;
  opacity: 0.6;
  z-index: 2;
}

@keyframes floatDust {
  0% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-30px) rotate(1deg); }
  100% { transform: translateY(0) rotate(0deg); }
}

.stage-3d-album-card {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 320px;
  height: 320px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.15);
  transition: transform 0.95s cubic-bezier(0.2, 0.85, 0.32, 1.05), opacity 0.75s ease, filter 0.8s ease;
  transform-style: preserve-3d !important;
  will-change: transform, opacity;
  pointer-events: auto;
  z-index: 6;
}

.stage-3d-album-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.album-grid-overlay {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(to right, rgba(255, 255, 255, 0.2) 1.2px, transparent 1.2px),
                    linear-gradient(to bottom, rgba(255, 255, 255, 0.2) 1.2px, transparent 1.2px);
  background-size: 33.333% 33.333%;
  box-shadow: inset 0 0 25px rgba(0, 0, 0, 0.5);
  z-index: 2;
  pointer-events: none;
}

.stage-3d-album-card.cam-pos-right {
  transform: translate3d(calc(-50% + 22vw), calc(-50% - 10px), -60px) rotateY(-24deg) rotateX(4deg);
  opacity: 0.95;
  filter: blur(0px);
}

.stage-3d-album-card.cam-pos-left {
  transform: translate3d(calc(-50% - 22vw), calc(-50% - 15px), -60px) rotateY(24deg) rotateX(-3deg);
  opacity: 0.95;
  filter: blur(0px);
}

.stage-3d-album-card.cam-pos-center {
  transform: translate3d(-50%, calc(-50% - 10px), -240px) rotateY(0deg) scale(0.95);
  opacity: 0.55;
  filter: brightness(0.7) blur(1px);
}

.stage-3d-lyrics-track {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38vw;
  max-width: 520px;
  height: 520px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transform-style: preserve-3d;
  pointer-events: none;
  transition: all 0.85s cubic-bezier(0.25, 1, 0.5, 1);
  z-index: 20;
}

.stage-3d-lyrics-track.align-left {
  left: 14vw;
  right: auto;
  align-items: flex-start;
  text-align: left;
}

.stage-3d-lyrics-track.align-right {
  right: 14vw;
  left: auto;
  align-items: flex-end;
  text-align: right;
}

.stage-3d-lyrics-track.align-center {
  left: 50%;
  transform: translate(-50%, -50%);
  width: 74vw;
  max-width: 820px;
  align-items: center;
  text-align: center;
}

.lyric-3d-item {
  position: absolute;
  width: 100%;
  max-width: 100%;
  display: flex;
  flex-direction: column !important;
  align-items: inherit !important;
  line-height: 1.32;
  gap: 2px;
  font-family: "Songti SC", "SimSun", "Noto Serif SC", "Source Han Serif CN", "STSong", serif;
  font-weight: 700;
  color: #ffffff;
  pointer-events: none;
  transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.7s ease, filter 0.7s ease;
  will-change: transform, opacity, filter;
  text-shadow: 0 4px 26px rgba(0, 0, 0, 0.9);
  box-sizing: border-box;
}

.stage-3d-orig-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  line-height: 1.32;
  gap: 2px;
  width: 100%;
}

.stage-3d-lyrics-track.align-left .stage-3d-orig-wrap { justify-content: flex-start; }
.stage-3d-lyrics-track.align-right .stage-3d-orig-wrap { justify-content: flex-end; }
.stage-3d-lyrics-track.align-center .stage-3d-orig-wrap { justify-content: center; }

.stage-3d-trans-text {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", sans-serif !important;
  font-size: clamp(0.95rem, 1.35vw, 1.4rem) !important;
  font-weight: 500 !important;
  color: rgba(255, 255, 255, 0.6) !important;
  margin-top: 6px !important;
  line-height: 1.4 !important;
  letter-spacing: 0.03em !important;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.8) !important;
  width: 100%;
}

.stage-3d-lyrics-track.align-left .stage-3d-trans-text { text-align: left; }
.stage-3d-lyrics-track.align-right .stage-3d-trans-text { text-align: right; }
.stage-3d-lyrics-track.align-center .stage-3d-trans-text { text-align: center; }

.lyric-3d-item.active .stage-3d-trans-text {
  color: rgba(255, 255, 255, 0.88) !important;
}

.lyric-3d-char {
  display: inline-block;
  line-height: 1.15;
  white-space: pre-wrap;
}

.lyric-3d-item.active {
  opacity: 1 !important;
  filter: blur(0px) !important;
  z-index: 50 !important;
}

.stage-3d-lyrics-track.align-left .lyric-3d-item.active {
  transform: translate3d(0, 0, 60px) rotateY(12deg);
}

.stage-3d-lyrics-track.align-right .lyric-3d-item.active {
  transform: translate3d(-10px, 0, 60px) rotateY(-12deg);
}

.stage-3d-lyrics-track.align-center .lyric-3d-item.active {
  transform: translate3d(0, 10px, 90px) rotateY(0deg) scale(1.04);
}

.lyric-3d-item.active .char-xl {
  font-size: clamp(2.4rem, 3.5vw, 3.8rem);
  transform: translateY(-4px);
}
.lyric-3d-item.active .char-lg { font-size: clamp(2.0rem, 2.9vw, 3.1rem); }
.lyric-3d-item.active .char-md { font-size: clamp(1.6rem, 2.3vw, 2.5rem); }
.lyric-3d-item.active .char-sm {
  font-size: clamp(1.3rem, 1.8vw, 1.9rem);
  opacity: 0.9;
}

.stage-3d-lyrics-track.align-left .lyric-3d-item.prev {
  transform: translate3d(-70px, -135px, -260px) rotateX(16deg) rotateY(18deg) !important;
}
.stage-3d-lyrics-track.align-right .lyric-3d-item.prev {
  transform: translate3d(60px, -135px, -260px) rotateX(16deg) rotateY(-18deg) !important;
}
.stage-3d-lyrics-track.align-center .lyric-3d-item.prev {
  transform: translate3d(0, -140px, -300px) rotateX(20deg) !important;
}

.lyric-3d-item.prev {
  opacity: 0.32 !important;
  filter: blur(4px) !important;
  z-index: 10 !important;
}

.lyric-3d-item.prev .char-xl { font-size: clamp(1.7rem, 2.3vw, 2.4rem); }
.lyric-3d-item.prev .char-lg { font-size: clamp(1.4rem, 1.9vw, 2.0rem); }
.lyric-3d-item.prev .char-md { font-size: clamp(1.1rem, 1.5vw, 1.6rem); }
.lyric-3d-item.prev .char-sm { font-size: clamp(0.9rem, 1.2vw, 1.3rem); }

.stage-3d-lyrics-track.align-left .lyric-3d-item.prev-far {
  transform: translate3d(-120px, -230px, -520px) rotateX(25deg) rotateY(24deg) !important;
}
.stage-3d-lyrics-track.align-right .lyric-3d-item.prev-far {
  transform: translate3d(100px, -230px, -520px) rotateX(25deg) rotateY(-24deg) !important;
}
.stage-3d-lyrics-track.align-center .lyric-3d-item.prev-far {
  transform: translate3d(0, -230px, -560px) rotateX(28deg) !important;
}

.lyric-3d-item.prev-far {
  opacity: 0.08 !important;
  filter: blur(8px) !important;
  z-index: 5 !important;
}
.lyric-3d-item.prev-far .lyric-3d-char { font-size: 1.4rem; }

.stage-3d-lyrics-track.align-left .lyric-3d-item.next {
  transform: translate3d(40px, 120px, -220px) rotateX(-14deg) rotateY(-10deg) !important;
}
.stage-3d-lyrics-track.align-right .lyric-3d-item.next {
  transform: translate3d(-40px, 120px, -220px) rotateX(-14deg) rotateY(10deg) !important;
}
.stage-3d-lyrics-track.align-center .lyric-3d-item.next {
  transform: translate3d(0, 120px, -240px) rotateX(-16deg) !important;
}

.lyric-3d-item.next {
  opacity: 0.22 !important;
  filter: blur(5px) !important;
  z-index: 10 !important;
}

.lyric-3d-item.next .char-xl { font-size: clamp(1.7rem, 2.3vw, 2.4rem); }
.lyric-3d-item.next .char-lg { font-size: clamp(1.4rem, 1.9vw, 2.0rem); }
.lyric-3d-item.next .char-md { font-size: clamp(1.1rem, 1.5vw, 1.6rem); }
.lyric-3d-item.next .char-sm { font-size: clamp(0.9rem, 1.2vw, 1.3rem); }

.lyric-3d-item.hidden-line {
  opacity: 0;
  transform: translate3d(0, 260px, -800px);
  pointer-events: none;
}

.lyric-3d-char.kok-char {
  background: linear-gradient(
    to right,
    #ffffff var(--char-progress, 0%),
    rgba(255, 255, 255, 0.35) var(--char-progress, 0%)
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  will-change: background-size;
}

#playerView.new-vinyl-mode {
  background: #090a0f !important;
  overflow: hidden !important;
}

#playerView.new-vinyl-mode #playerBody,
#playerView.new-vinyl-mode .player-body,
#playerView.new-vinyl-mode .player-left,
#playerView.new-vinyl-mode .player-right,
#playerView.new-vinyl-mode #stage3dWrapper {
  display: none !important;
}

#playerView.new-vinyl-mode #wallpaperIframe {
  z-index: 3 !important;
  opacity: 0.9 !important;
  visibility: visible !important;
}

#playerView.new-vinyl-mode .background-stage {
  opacity: 0.2 !important;
}

.cinematic-lyrics-stage {
  display: none;
}

#playerView.new-vinyl-mode .cinematic-lyrics-stage {
  display: flex !important;
  position: absolute;
  top: 52%;
  left: 7vw;
  transform: translateY(-50%);
  width: 38vw;
  max-width: 580px;
  height: 420px;
  perspective: 1200px;
  perspective-origin: 20% 50%;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  pointer-events: none;
  z-index: 60 !important;
}

.cinematic-lyric-line {
  position: absolute;
  width: 100%;
  text-align: left;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Segoe UI", Roboto, "Noto Serif SC", sans-serif;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.35;
  transition: transform 0.65s cubic-bezier(0.25, 1, 0.5, 1),
              opacity 0.65s cubic-bezier(0.25, 1, 0.5, 1),
              font-size 0.65s cubic-bezier(0.25, 1, 0.5, 1);
  opacity: 0;
  transform: translateY(100px) translateZ(-350px) rotateY(15deg);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.95), 0 6px 25px rgba(0, 0, 0, 0.85);
  white-space: normal;
  word-break: break-word;
  display: flex !important;
  flex-direction: column !important;
  gap: 6px !important;
}

.cine-orig-wrap {
  width: 100%;
}

.cine-trans-text {
  font-size: 0.46em !important;
  line-height: 1.4 !important;
  font-weight: 500 !important;
  color: rgba(255, 255, 255, 0.65) !important;
  white-space: normal !important;
  word-break: break-word !important;
  letter-spacing: 0.02em !important;
  transition: color 0.3s ease !important;
}

.cinematic-lyric-line.active {
  opacity: 1;
  transform: translateY(0) translateZ(50px) rotateY(0deg);
  font-size: clamp(2.0rem, 2.8vw, 2.8rem);
  line-height: 1.25 !important;
  color: #ffffff;
  text-shadow: 0 0 25px rgba(255, 255, 255, 0.4), 0 4px 18px rgba(0, 0, 0, 0.95);
  z-index: 3;
}

.cinematic-lyric-line.active .cine-trans-text {
  color: rgba(255, 255, 255, 0.88) !important;
}

.cinematic-lyric-line.prev {
  opacity: 0.38;
  transform: translateY(-115px) translateZ(-140px) rotateX(12deg) rotateY(8deg);
  font-size: clamp(1.2rem, 1.8vw, 1.8rem);
  color: rgba(255, 255, 255, 0.6);
  z-index: 2;
}

.cinematic-lyric-line.prev-far {
  opacity: 0.12;
  transform: translateY(-250px) translateZ(-300px) rotateX(20deg) rotateY(14deg);
  font-size: clamp(1.0rem, 1.4vw, 1.4rem);
  color: rgba(255, 255, 255, 0.3);
  z-index: 1;
}

.cinematic-lyric-line.next {
  opacity: 0.38;
  transform: translateY(120px) translateZ(-140px) rotateX(-12deg) rotateY(-8deg);
  font-size: clamp(1.2rem, 1.8vw, 1.8rem);
  color: rgba(255, 255, 255, 0.6);
  z-index: 2;
}

.cinematic-lyric-line .cine-kok-char {
  display: inline-block;
  background: linear-gradient(to right, #ffffff var(--char-progress, 0%), rgba(255, 255, 255, 0.3) var(--char-progress, 0%));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  will-change: background-size;
}

.cinematic-lyric-line.active .cine-kok-char {
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.5), 0 4px 18px rgba(0, 0, 0, 0.95);
}

.cinematic-lyric-line .cine-kok-char.space-char {
  display: inline-block;
  width: 0.35em;
}

#playerView:not(.stage-3d-mode) #stage3dWrapper { display: none !important; }
#playerView:not(.new-vinyl-mode) .cinematic-lyrics-stage { display: none !important; }
#playerView:not(.new-vinyl-mode) #wallpaperIframe { opacity: 0 !important; visibility: hidden !important; pointer-events: none !important; }
#playerView.stage-3d-mode #playerBody { display: none !important; }
#playerView.stage-3d-mode #stage3dWrapper { display: flex !important; }

.app-footer-white {
  grid-area: footer;
  border-left: none;
  position: relative;
  height: 74px;
  background: var(--bg-footer);
  border-top: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  z-index: 100;
  color: var(--text-main);
  transition: transform 0.25s ease, opacity 0.2s ease, visibility 0.2s ease, background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.app-window:has(#playerView.show) .app-footer-white,
.app-window:has(.immersive-player-view.show) .app-footer-white,
#playerView.show ~ .app-footer-white,
.immersive-player-view.show ~ .app-footer-white {
  background: transparent !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
  color: #ffffff !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  box-shadow: none !important;
  position: fixed !important;
  bottom: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100vw !important;
  height: 74px !important;
  z-index: 100 !important;
}

.app-window:has(.immersive-player-view.show) .app-footer-white .white-song-name,
.immersive-player-view.show ~ .app-footer-white .white-song-name {
  color: #ffffff !important;
  font-weight: 500;
}

.app-window:has(.immersive-player-view.show) .app-footer-white .white-artist-name,
.immersive-player-view.show ~ .app-footer-white .white-artist-name {
  color: rgba(255, 255, 255, 0.65) !important;
}

.app-window:has(.immersive-player-view.show) .app-footer-white .white-ctrl-btn,
.immersive-player-view.show ~ .app-footer-white .white-ctrl-btn {
  color: rgba(255, 255, 255, 0.78) !important;
}

.app-window:has(.immersive-player-view.show) .app-footer-white .white-ctrl-btn:hover,
.immersive-player-view.show ~ .app-footer-white .white-ctrl-btn:hover {
  color: #ffffff !important;
}

.app-window:has(.immersive-player-view.show) .app-footer-white .white-icon-badge,
.immersive-player-view.show ~ .app-footer-white .white-icon-badge {
  color: rgba(255, 255, 255, 0.7) !important;
}

.app-window:has(.immersive-player-view.show) .app-footer-white .white-quality-pill,
.immersive-player-view.show ~ .app-footer-white .white-quality-pill {
  border-color: rgba(255, 255, 255, 0.25) !important;
  color: rgba(255, 255, 255, 0.85) !important;
}

.app-window:has(.immersive-player-view.show) .app-footer-white .white-play-red-btn,
.immersive-player-view.show ~ .app-footer-white .white-play-red-btn {
  background: rgba(255, 255, 255, 0.12) !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25) !important;
}

.app-window:has(.immersive-player-view.show) .app-footer-white .source-switch-pill,
.immersive-player-view.show ~ .app-footer-white .source-switch-pill {
  border-color: rgba(255, 255, 255, 0.25) !important;
  color: rgba(255, 255, 255, 0.85) !important;
  background: transparent !important;
}

.white-play-red-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #ff3a3a;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(255, 58, 58, 0.35);
  transition: transform 0.15s, background 0.25s, box-shadow 0.25s, border 0.25s;
}

.white-play-red-btn:hover {
  background: #f02b2b;
  transform: scale(1.06);
}

.white-bar-left {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 280px;
}

.white-left-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-width: 200px;
  overflow: visible !important;
}

.white-title-row {
  display: flex;
  align-items: center;
  gap: 6px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.white-song-name {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-main);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.white-name-splitter {
  color: var(--text-sub);
  font-size: 0.8rem;
}

.white-artist-name {
  font-size: 0.78rem;
  color: var(--text-sub);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.white-interactive-group {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 2px;
}

.white-icon-badge {
  display: flex;
  align-items: center;
  gap: 2px;
  color: var(--text-sub);
  cursor: pointer;
}

.white-icon-badge:hover {
  color: var(--netease-red);
}

.white-icon-badge.liked {
  color: var(--netease-red);
}

.white-icon-badge.liked svg {
  fill: var(--netease-red);
  stroke: var(--netease-red);
}

.white-badge-text {
  font-size: 0.68rem;
}

.white-vinyl-box {
  position: relative;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #111;
  padding: 6px;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.white-vinyl-box img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.white-vinyl-box .collapse-icon-svg {
  display: none;
}

.app-window:has(.immersive-player-view.show) .white-vinyl-box,
.immersive-player-view.show ~ .app-footer-white .white-vinyl-box {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  width: 32px !important;
  height: 32px !important;
  transition: transform 0.18s ease !important;
}

.app-window:has(.immersive-player-view.show) .white-vinyl-box img,
.immersive-player-view.show ~ .app-footer-white .white-vinyl-box img {
  display: none !important;
}

.app-window:has(.immersive-player-view.show) .white-vinyl-box .collapse-icon-svg,
.immersive-player-view.show ~ .app-footer-white .white-vinyl-box .collapse-icon-svg {
  display: block !important;
  color: rgba(255, 255, 255, 0.75);
}

.app-window:has(.immersive-player-view.show) .white-vinyl-box:hover .collapse-icon-svg,
.immersive-player-view.show ~ .app-footer-white .white-vinyl-box:hover .collapse-icon-svg {
  color: #ffffff;
  transform: scale(1.1);
}

.white-bar-center {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 4px !important;
  flex: 1 !important;
  max-width: 520px !important;
  margin: 0 auto !important;
}

.player-controls-buttons {
  display: flex;
  align-items: center;
  gap: 20px;
}

.player-progress-cluster {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  position: relative;
}

.progress-time-text {
  font-size: 0.72rem;
  font-variant-numeric: tabular-nums;
  color: var(--text-sub);
  min-width: 32px;
  text-align: center;
  user-select: none;
}

.dark-mode .progress-time-text {
  color: rgba(255, 255, 255, 0.45);
}

.app-window:has(.immersive-player-view.show) .progress-time-text {
  color: rgba(255, 255, 255, 0.65) !important;
}

.white-progress-bar {
  position: relative !important;
  top: 0 !important;
  left: 0 !important;
  flex: 1 !important;
  width: 100% !important;
  height: 4px !important;
  background: rgba(0, 0, 0, 0.08) !important;
  border-radius: 2px !important;
  cursor: pointer !important;
  transition: height 0.15s ease !important;
  z-index: 10 !important;
  overflow: hidden !important;
}

.dark-mode .white-progress-bar {
  background: rgba(255, 255, 255, 0.12) !important;
}

.white-progress-bar:hover {
  height: 6px !important;
}

.white-progress-current {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 0%;
  background: var(--netease-red);
  border-radius: 2px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  pointer-events: none;
}

.progress-thumb {
  width: 8px !important;
  height: 8px !important;
  border-radius: 50% !important;
  background: var(--netease-red) !important;
  border: 1.5px solid #ffffff !important;
  transform: translateX(50%) scale(1) !important;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25) !important;
  transition: transform 0.15s ease, width 0.15s, height 0.15s !important;
  flex-shrink: 0;
}

.white-progress-bar:hover .progress-thumb {
  transform: translateX(50%) scale(1.3) !important;
}

.progress-tooltip {
  position: absolute;
  bottom: 14px;
  left: 0;
  transform: translateX(-50%);
  background: rgba(26, 27, 24, 0.94);
  color: #ffffff;
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 0.72rem;
  font-variant-numeric: tabular-nums;
  pointer-events: none;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.15s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 130;
}

.progress-tooltip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 4px;
  border-style: solid;
  border-color: rgba(26, 27, 24, 0.94) transparent transparent transparent;
}

.progress-tooltip.show {
  opacity: 1;
}

.app-window:has(.immersive-player-view.show) .white-progress-bar {
  background: rgba(255, 255, 255, 0.15) !important;
}

.app-window:has(.immersive-player-view.show) .white-progress-current {
  background: color-mix(in srgb, var(--progress-dynamic-color, #ec4141) 60%, #ffffff 40%) !important;
}

.app-window:has(.immersive-player-view.show) .progress-thumb {
  background: #ffffff !important;
  border: 2px solid color-mix(in srgb, var(--progress-dynamic-color, #ec4141) 70%, #ffffff 30%) !important;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.35) !important;
}

.white-ctrl-btn {
  background: none;
  border: none;
  color: var(--text-sub);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  transition: color 0.15s, transform 0.15s;
}

.white-ctrl-btn:hover {
  color: #ff3a3a;
  transform: scale(1.08);
}

.white-bar-right {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 280px;
  justify-content: flex-end;
}

#coverModeToggleBtn {
  display: none !important;
}

.app-window:has(.immersive-player-view.show) #coverModeToggleBtn,
.immersive-player-view.show ~ .app-footer-white #coverModeToggleBtn {
  display: inline-flex !important;
  color: rgba(255, 255, 255, 0.85) !important;
}

.app-window:has(.immersive-player-view.show) #coverModeToggleBtn:hover,
.immersive-player-view.show ~ .app-footer-white #coverModeToggleBtn:hover {
  color: #ffffff !important;
}

.source-switch-pill {
  border: 1px solid var(--border-light);
  color: var(--text-main);
  font-size: 0.68rem;
  padding: 1px 6px;
  border-radius: 4px;
  font-weight: 500;
  cursor: pointer;
  user-select: none;
  transition: all 0.15s ease;
  line-height: 1.4;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: transparent;
}

.source-switch-pill .source-dot-mini {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background-color: currentColor;
}

.source-switch-pill.netease:hover {
  border-color: var(--netease-red);
  color: var(--netease-red);
}

.source-switch-pill.qq {
  border-color: #10b981;
  color: #10b981;
  background: rgba(16, 185, 129, 0.06);
}

.source-switch-pill.qq:hover {
  border-color: #059669;
  color: #059669;
}

.white-quality-wrapper {
  position: relative;
}

.white-quality-pill {
  border: 1px solid var(--border-light);
  color: var(--text-main);
  font-size: 0.68rem;
  padding: 1px 6px;
  border-radius: 4px;
  font-weight: 500;
  cursor: pointer;
  user-select: none;
  transition: all 0.15s ease;
  line-height: 1.4;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.white-quality-pill:hover {
  border-color: var(--netease-red);
  color: var(--netease-red);
}

.volume-wrapper {
  position: relative;
}

.volume-popover {
  position: absolute;
  bottom: 48px;
  left: 50%;
  transform: translateX(-50%);
  width: 42px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 8px;
  padding: 14px 0 10px 0;
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 220;
}

.volume-popover.show {
  display: flex;
}

.vol-track-box {
  width: 100%;
  height: 90px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

.vol-bar-bg {
  width: 4px;
  height: 100%;
  background: var(--bg-hover);
  border-radius: 2px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.vol-bar-current {
  width: 100%;
  background: var(--netease-red);
  border-radius: 2px;
  position: relative;
}

.vol-slider-dot {
  position: absolute;
  top: -4px;
  left: -4px;
  width: 12px;
  height: 12px;
  background: #fff;
  border: 1px solid #d4d6dc;
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

.vol-percent-text {
  font-size: 0.72rem;
  color: var(--glass-text-sub);
}

.more-action-wrapper {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
}

.more-action-popover {
  position: absolute !important;
  bottom: 36px !important;
  left: 0 !important;
  right: auto !important;
  width: 160px !important;
  background: var(--glass-bg) !important;
  border: 1px solid var(--glass-border) !important;
  box-shadow: var(--glass-shadow) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border-radius: 10px !important;
  padding: 6px 0 !important;
  display: none;
  flex-direction: column;
  z-index: 9999 !important;
  color: var(--glass-text) !important;
}

.more-action-popover.show {
  display: flex !important;
}

.more-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  font-size: 0.8rem;
  color: var(--glass-text);
  cursor: pointer;
}

.more-item:hover {
  background: var(--glass-item-hover);
  color: var(--netease-red);
}

.more-divider {
  height: 1px;
  background: var(--glass-border);
  margin: 4px 0;
}

.white-popover-menu {
  position: absolute;
  bottom: 48px;
  right: 0;
  width: 100px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18), 0 1px 3px rgba(0, 0, 0, 0.12) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 8px;
  padding: 4px 0;
  display: none;
  flex-direction: column;
  z-index: 220;
}

.white-popover-menu.show {
  display: flex;
}

.popover-opt {
  padding: 8px 12px;
  font-size: 0.78rem;
  color: var(--glass-text);
  cursor: pointer;
}

.popover-opt:hover,
.popover-opt.active {
  background: var(--glass-item-hover);
  color: var(--netease-red);
  font-weight: bold;
}

.app-footer-white.auto-hide {
  transform: translateY(100%) !important;
  opacity: 0 !important;
  pointer-events: none !important;
  visibility: hidden !important;
}

.immersive-player-view.show.idle-mode {
  cursor: none !important;
}

.comment-drawer,
.playlist-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 420px;
  height: calc(100vh - 74px);
  background: var(--glass-bg) !important;
  backdrop-filter: blur(24px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(24px) saturate(180%) !important;
  z-index: 300;
  display: flex;
  flex-direction: column;
  color: var(--glass-text) !important;
  transform: translateX(100%);
  visibility: hidden !important;
  pointer-events: none !important;
  opacity: 0 !important;
  border: none !important;
  border-left: none !important;
  box-shadow: none !important;
  transition: transform 0.32s cubic-bezier(0.2, 0.9, 0.3, 1), opacity 0.2s ease, visibility 0.32s !important;
}

.comment-drawer.show,
.playlist-drawer.show {
  transform: translateX(0);
  visibility: visible !important;
  pointer-events: auto !important;
  opacity: 1 !important;
  border-left: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: -8px 0 24px rgba(0, 0, 0, 0.35) !important;
}

.drawer-header {
  height: 56px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 1.05rem;
  font-weight: bold;
  color: var(--glass-text);
  flex-shrink: 0;
}

.drawer-close-btn {
  font-size: 1.4rem;
  color: var(--glass-text-sub);
  cursor: pointer;
}

.drawer-close-btn:hover {
  color: var(--glass-text);
}

.drawer-clear-btn {
  font-size: 0.82rem;
  color: var(--glass-text-sub);
  font-weight: normal;
  cursor: pointer;
}

.drawer-clear-btn:hover {
  color: var(--netease-red);
}

.drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.playlist-drawer .drawer-body,
.playlist-drawer #drawerSongList {
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  scrollbar-width: thin !important;
  scrollbar-color: rgba(255, 255, 255, 0.2) transparent !important;
}

.playlist-drawer .drawer-body::-webkit-scrollbar,
.playlist-drawer #drawerSongList::-webkit-scrollbar {
  width: 6px !important;
  background: transparent !important;
}

.playlist-drawer .drawer-body::-webkit-scrollbar-track,
.playlist-drawer #drawerSongList::-webkit-scrollbar-track {
  background: transparent !important;
  border: none !important;
}

.playlist-drawer .drawer-body::-webkit-scrollbar-thumb,
.playlist-drawer #drawerSongList::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2) !important;
  border-radius: 4px !important;
  border: none !important;
}

.playlist-drawer * {
  border-right: none !important;
  box-shadow: none !important;
}

.playlist-item-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 10px;
  font-size: 0.84rem;
  border-radius: 8px;
  cursor: pointer;
  color: var(--glass-text);
  gap: 12px;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
}

.playlist-item-row:hover {
  background: var(--glass-item-hover);
}

.playlist-item-row.active {
  background: rgba(236, 65, 65, 0.14) !important;
  color: var(--netease-red) !important;
  font-weight: bold;
}

.playlist-item-row.active::before,
.playlist-item-row.active::after {
  display: none !important;
}

.drawer-song-cover {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  overflow: hidden;
  flex-shrink: 0;
}

.drawer-song-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.drawer-song-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  overflow: hidden;
  flex: 1;
}

.drawer-song-title {
  font-size: 0.84rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.drawer-song-artist {
  font-size: 0.72rem;
  color: var(--glass-text-sub);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.drawer-song-del {
  color: var(--glass-text-sub);
  font-size: 1.1rem;
  padding: 0 4px;
  cursor: pointer;
}

.drawer-song-del:hover {
  color: #ff3b30;
}

.comment-item {
  display: flex !important;
  flex-direction: row !important;
  align-items: flex-start !important;
  gap: 14px !important;
  padding: 12px 0 !important;
  border-bottom: 1px solid var(--border-light) !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.comment-avatar {
  width: 38px !important;
  height: 38px !important;
  min-width: 38px !important;
  max-width: 38px !important;
  border-radius: 50% !important;
  overflow: hidden !important;
  flex-shrink: 0 !important;
  margin-top: 2px !important;
}

.comment-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover !important;
  display: block !important;
}

.comment-content-box {
  flex: 1 !important;
  min-width: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 6px !important;
}

.comment-user {
  font-size: 0.85rem !important;
  font-weight: 500 !important;
  color: #507daf !important;
  line-height: 1.3 !important;
}

.comment-text {
  font-size: 0.85rem !important;
  line-height: 1.6 !important;
  color: var(--text-main) !important;
  word-break: break-word !important;
  white-space: pre-wrap !important;
  font-family: "PingFang SC", "Microsoft YaHei", "Consolas", "Courier New", monospace, sans-serif;
}

.sub-comment-text {
  color: var(--glass-text-sub);
  margin-top: 1px;
  line-height: 1.5;
  word-break: break-word;
  white-space: pre-wrap !important;
  font-family: "PingFang SC", "Microsoft YaHei", "Consolas", "Courier New", monospace, sans-serif;
}

.comment-quote-text {
  color: var(--glass-text);
  line-height: 1.5;
  word-break: break-word;
  white-space: pre-wrap !important;
  font-family: "PingFang SC", "Microsoft YaHei", "Consolas", "Courier New", monospace, sans-serif;
}

.comment-bottom-row,
.comment-footer-row {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  margin-top: 4px !important;
  font-size: 0.75rem !important;
  color: var(--text-sub) !important;
}

.comment-time {
  font-size: 0.75rem !important;
  color: var(--text-sub) !important;
}

.comment-like-wrap,
.comment-like {
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
  cursor: pointer !important;
  color: var(--text-sub) !important;
  font-variant-numeric: tabular-nums !important;
  user-select: none !important;
}

.comment-like-wrap:hover,
.comment-like:hover {
  color: var(--netease-red) !important;
}

.comment-quote-box {
  background: var(--bg-hover) !important;
  border-radius: 8px !important;
  padding: 8px 12px !important;
  margin-top: 6px !important;
  font-size: 0.8rem !important;
  line-height: 1.5 !important;
  color: var(--text-sub) !important;
  border: 1px solid var(--border-light) !important;
}

.comment-quote-user {
  color: #507daf !important;
  font-weight: 500 !important;
  margin-right: 4px !important;
}

.sub-comment-chain {
  background: var(--glass-item-bg);
  border-radius: 6px;
  padding: 8px 10px;
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sub-comment-row {
  display: flex;
  gap: 8px;
  font-size: 0.78rem;
  line-height: 1.4;
}

.sub-comment-row.sub-item-hidden {
  display: none;
}

.sub-comment-avatar {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.sub-comment-body {
  flex: 1;
  min-width: 0;
}

.sub-comment-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.sub-comment-user {
  color: #507daf;
  font-weight: 500;
}

.sub-comment-like {
  color: var(--text-dim);
  font-size: 0.7rem;
}

.sub-comment-target-user {
  color: #5292fe;
  margin-right: 4px;
}

.sub-comment-time {
  color: var(--text-dim);
  font-size: 0.68rem;
  margin-top: 2px;
  display: block;
}

.sub-toggle-btn {
  color: #5292fe;
  font-size: 0.75rem;
  cursor: pointer;
  margin-top: 4px;
  display: inline-flex;
  align-items: center;
  user-select: none;
}

.sub-toggle-btn:hover {
  text-decoration: underline;
}

.comment-load-more {
  text-align: center;
  padding: 10px;
  color: var(--netease-red);
  font-size: 0.8rem;
  cursor: pointer;
}

.comment-drawer .drawer-body,
#commentListContainer {
  border: none !important;
  outline: none !important;
  scrollbar-width: thin !important;
  scrollbar-color: rgba(255, 255, 255, 0.15) transparent !important;
}

.comment-drawer .drawer-body::-webkit-scrollbar,
#commentListContainer::-webkit-scrollbar {
  width: 5px !important;
  background: transparent !important;
}

.comment-drawer .drawer-body::-webkit-scrollbar-track,
#commentListContainer::-webkit-scrollbar-track {
  background: transparent !important;
  border: none !important;
}

.comment-drawer .drawer-body::-webkit-scrollbar-thumb,
#commentListContainer::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.18) !important;
  border-radius: 4px !important;
  border: none !important;
}

.comment-drawer .section-heading,
.mv-comment-main-section .section-heading,
.comment-drawer .drawer-header span,
#commentDrawerTitleText {
  color: var(--text-main, #333333) !important;
}

.dark-mode .comment-text,
.app-window:has(.immersive-player-view.show) .comment-text {
  color: rgba(255, 255, 255, 0.9) !important;
}

.dark-mode .comment-item,
.app-window:has(.immersive-player-view.show) .comment-item {
  border-bottom-color: rgba(255, 255, 255, 0.08) !important;
}

.dark-mode .comment-quote-box,
.app-window:has(.immersive-player-view.show) .comment-quote-box {
  background: rgba(255, 255, 255, 0.05) !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
  color: rgba(255, 255, 255, 0.7) !important;
}

.dark-mode .comment-drawer .section-heading,
.dark-mode .mv-comment-main-section .section-heading,
.dark-mode .comment-drawer .drawer-header span,
.dark-mode #commentDrawerTitleText,
.app-window:has(.immersive-player-view.show) .comment-drawer .section-heading,
.app-window:has(.immersive-player-view.show) .comment-drawer .drawer-header span,
.app-window:has(.immersive-player-view.show) #commentDrawerTitleText {
  color: rgba(255, 255, 255, 0.88) !important;
}

.dark-mode .comment-time,
.app-window:has(.immersive-player-view.show) .comment-time {
  color: rgba(255, 255, 255, 0.45) !important;
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.4);
  z-index: 500;
  display: none;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
}

.modal-overlay.show {
  display: flex;
}

.modal-panel {
  background: var(--bg-footer);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  width: 90%;
  max-width: 420px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.modal-header {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.05rem;
  font-weight: bold;
  color: var(--text-main);
}

.modal-close {
  font-size: 1.4rem;
  color: var(--text-sub);
  cursor: pointer;
}

.modal-close:hover {
  color: var(--text-main);
}

.modal-body {
  padding: 14px 20px 20px 20px;
  max-height: 380px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.create-playlist-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  background: var(--bg-sidebar);
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-main);
}

.create-playlist-row:hover {
  background: var(--bg-hover);
  color: var(--netease-red);
}

.create-icon-box {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  background: var(--bg-input);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--text-sub);
}

.create-input-box {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 12px;
  background: var(--bg-main);
  border-radius: 8px;
  border: 1px solid var(--border-light);
}

.create-input-box input {
  padding: 8px 12px;
  border-radius: 6px;
  border: 1px solid var(--border-light);
  background: var(--bg-input);
  color: var(--text-main);
  font-size: 0.85rem;
  outline: none;
}

.create-input-box input:focus {
  border-color: var(--netease-red);
}

.create-action-btns {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.btn-cancel {
  padding: 5px 14px;
  border-radius: 12px;
  border: 1px solid var(--border-light);
  background: var(--bg-footer);
  color: var(--text-main);
  cursor: pointer;
  font-size: 0.78rem;
}

.btn-confirm {
  padding: 5px 14px;
  border-radius: 12px;
  border: none;
  background: var(--netease-red);
  color: #fff;
  cursor: pointer;
  font-size: 0.78rem;
}

.user-playlist-selection-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 6px;
}

.user-pl-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 10px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.15s;
}

.user-pl-item:hover {
  background: var(--bg-hover);
}

.user-pl-cover {
  width: 40px;
  height: 40px;
  border-radius: 6px;
  overflow: hidden;
  flex-shrink: 0;
  background: #eee;
}

.user-pl-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.user-pl-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  overflow: hidden;
}

.user-pl-name {
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--text-main);
}

.user-pl-count {
  font-size: 0.72rem;
  color: var(--text-sub);
}

#spx-toast-container {
  position: fixed;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000000;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.spx-toast-item {
  background: rgba(33, 34, 29, 0.9);
  color: #fff;
  padding: 8px 18px;
  border-radius: 20px;
  font-size: 0.85rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  opacity: 0;
  transform: translateY(-10px);
}

.spx-toast-item.show {
  opacity: 1;
  transform: translateY(0);
}

.auth-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
}

.auth-box {
  background: var(--bg-footer);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  padding: 32px;
  width: 90%;
  max-width: 340px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  animation: authPopIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes authPopIn {
  from { opacity: 0; transform: scale(0.92) translateY(10px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.auth-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.auth-title {
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--text-main);
}

.auth-close {
  cursor: pointer;
  color: var(--text-sub);
  font-size: 1.2rem;
  line-height: 1;
}

.auth-input {
  width: 100%;
  box-sizing: border-box;
  padding: 12px 14px;
  border: 1px solid var(--border-light);
  background: var(--bg-input);
  color: var(--text-main);
  border-radius: 10px;
  font-size: 0.92rem;
  outline: none;
  transition: border-color 0.2s;
}

.auth-input:focus {
  border-color: #ec4141;
}

.auth-submit-btn {
  width: 100%;
  padding: 12px 0;
  background: #ec4141;
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
}

.auth-submit-btn:active {
  transform: scale(0.98);
  background: #d83b3b;
}

#pcToggleEyeBtn:active {
  transform: translateY(-50%) scale(0.88);
}

.auth-submit-btn.btn-logout {
  background: rgba(239, 68, 68, 0.12) !important;
  color: #ef4444 !important;
  border: 1px solid rgba(239, 68, 68, 0.35) !important;
  box-shadow: none !important;
  cursor: pointer;
}

.auth-submit-btn.btn-logout:hover {
  background: rgba(239, 68, 68, 0.2) !important;
}

.auth-submit-btn.btn-logout:active {
  transform: scale(0.98);
}

.settings-opt-card {
  padding: 14px 16px !important;
  background: var(--glass-item-bg) !important;
  border: 1px solid var(--glass-border) !important;
  border-radius: 14px !important;
  cursor: pointer !important;
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  transition: background 0.15s ease, border-color 0.15s ease !important;
}

.settings-opt-card:hover {
  background: var(--glass-item-hover) !important;
}

.settings-card-title {
  font-size: 0.95rem !important;
  font-weight: 600 !important;
  color: var(--glass-text) !important;
}

.settings-card-sub {
  font-size: 0.78rem !important;
  color: var(--glass-text-sub) !important;
}

.settings-card-arrow {
  color: var(--glass-text-sub) !important;
  font-size: 0.9rem !important;
}

.vault-overview-card {
  background: var(--glass-item-bg) !important;
  border: 1px solid var(--glass-border) !important;
  border-radius: 12px !important;
  padding: 14px 16px !important;
  margin-bottom: 16px !important;
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
}

.spx-dl-overlay,
.spx-sleep-overlay {
  position: fixed !important;
  inset: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  background: rgba(0, 0, 0, 0.4) !important;
  backdrop-filter: blur(14px) !important;
  -webkit-backdrop-filter: blur(14px) !important;
  z-index: 999999 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease !important;
}

.spx-sleep-overlay {
  align-items: flex-start !important;
  background: rgba(0, 0, 0, 0.35) !important;
  z-index: 99999 !important;
  display: none;
}

.spx-dl-overlay.show,
.spx-sleep-overlay.show {
  opacity: 1 !important;
  pointer-events: auto !important;
}

.spx-sleep-overlay.show {
  display: flex !important;
}

.spx-sleep-panel {
  position: relative;
  background: var(--glass-bg) !important;
  border: 1px solid var(--glass-border) !important;
  border-radius: 24px;
  padding: 24px;
  width: 92%;
  max-width: 320px;
  margin-top: 50px;
  box-shadow: var(--glass-shadow) !important;
  transform: translateY(-20px) scale(0.96);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: center;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--glass-text) !important;
}

.spx-sleep-overlay.show .spx-sleep-panel {
  transform: translateY(0) scale(1);
}

.spx-sleep-close {
  position: absolute;
  top: 16px;
  right: 18px;
  color: var(--glass-text-sub) !important;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.15s ease;
}

.spx-sleep-close:hover {
  background: var(--glass-item-hover) !important;
  color: var(--glass-text) !important;
}

.spx-sleep-title {
  color: var(--glass-text) !important;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}

.spx-sleep-subtitle {
  color: var(--glass-text-sub) !important;
  font-size: 12px;
  margin-bottom: 20px;
  line-height: 1.4;
}

.spx-sleep-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 16px;
}

.spx-sleep-btn {
  background: var(--glass-item-bg) !important;
  border: 1px solid var(--glass-border) !important;
  border-radius: 12px;
  color: var(--glass-text) !important;
  padding: 14px 0;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
  outline: none;
}

.spx-sleep-btn:hover {
  background: var(--glass-item-hover) !important;
}

.spx-sleep-btn:active {
  background: #0071e3 !important;
  color: #ffffff !important;
  border-color: #0071e3 !important;
  transform: scale(0.96);
}

.spx-cancel-btn {
  width: 100%;
  background: transparent;
  border: 1px solid rgba(255, 59, 48, 0.35);
  border-radius: 12px;
  color: #ff3b30;
  padding: 12px 0;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
  outline: none;
}

.spx-cancel-btn:hover {
  background: rgba(255, 59, 48, 0.08);
}

.spx-cancel-btn:active {
  transform: scale(0.98);
}

.dark-mode #spx-sleep-modal .spx-sleep-panel,
.app-window:has(.immersive-player-view.show) #spx-sleep-modal .spx-sleep-panel,
body:has(.dark-mode) #spx-sleep-modal .spx-sleep-panel,
body:has(.immersive-player-view.show) #spx-sleep-modal .spx-sleep-panel {
  background: rgba(24, 26, 32, 0.88) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6) !important;
  color: #ffffff !important;
}

.dark-mode #spx-sleep-modal .spx-sleep-title,
.app-window:has(.immersive-player-view.show) #spx-sleep-modal .spx-sleep-title,
body:has(.dark-mode) #spx-sleep-modal .spx-sleep-title,
body:has(.immersive-player-view.show) #spx-sleep-modal .spx-sleep-title {
  color: #ffffff !important;
}

.dark-mode #spx-sleep-modal .spx-sleep-subtitle,
.app-window:has(.immersive-player-view.show) #spx-sleep-modal .spx-sleep-subtitle,
body:has(.dark-mode) #spx-sleep-modal .spx-sleep-subtitle,
body:has(.immersive-player-view.show) #spx-sleep-modal .spx-sleep-subtitle {
  color: #8e9095 !important;
}

.dark-mode #spx-sleep-modal .spx-sleep-btn,
.app-window:has(.immersive-player-view.show) #spx-sleep-modal .spx-sleep-btn,
body:has(.dark-mode) #spx-sleep-modal .spx-sleep-btn,
body:has(.immersive-player-view.show) #spx-sleep-modal .spx-sleep-btn {
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  color: #e5e5e8 !important;
}

.dark-mode #spx-sleep-modal .spx-sleep-btn:hover,
.app-window:has(.immersive-player-view.show) #spx-sleep-modal .spx-sleep-btn:hover,
body:has(.dark-mode) #spx-sleep-modal .spx-sleep-btn:hover,
body:has(.immersive-player-view.show) #spx-sleep-modal .spx-sleep-btn:hover {
  background: rgba(255, 255, 255, 0.15) !important;
  color: #ffffff !important;
}

.dark-mode #spx-sleep-modal .spx-cancel-btn,
.app-window:has(.immersive-player-view.show) #spx-sleep-modal .spx-cancel-btn,
body:has(.dark-mode) #spx-sleep-modal .spx-cancel-btn,
body:has(.immersive-player-view.show) #spx-sleep-modal .spx-cancel-btn {
  border-color: rgba(255, 69, 58, 0.4) !important;
  color: #ff453a !important;
}

.dark-mode #spx-sleep-modal .spx-cancel-btn:hover,
.app-window:has(.immersive-player-view.show) #spx-sleep-modal .spx-cancel-btn:hover,
body:has(.dark-mode) #spx-sleep-modal .spx-cancel-btn:hover,
body:has(.immersive-player-view.show) #spx-sleep-modal .spx-cancel-btn:hover {
  background: rgba(255, 69, 58, 0.12) !important;
}

.switch-toggle {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
  flex-shrink: 0;
}

.switch-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

.switch-slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background-color: rgba(120, 120, 128, 0.28);
  transition: background-color 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 24px;
}

.switch-slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: #ffffff;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.switch-toggle input:checked + .switch-slider {
  background-color: var(--netease-red, #ec4141);
}

.switch-toggle input:checked + .switch-slider:before {
  transform: translateX(20px);
}

.white-eq-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

#eqPresetPopover {
  bottom: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 140px;
  display: none;
  flex-direction: column;
  z-index: 100;
}

#eqPresetPopover.show {
  display: flex;
}

#wallpaperCtrlToggleBtn {
  display: none !important;
}

#playerView.show.new-vinyl-mode ~ .app-footer-white #wallpaperCtrlToggleBtn {
  display: inline-flex !important;
}

#wallpaperCtrlPanel {
  position: fixed;
  right: 28px;
  bottom: 84px;
  width: 310px;
  background: rgba(18, 20, 26, 0.92);
  backdrop-filter: blur(24px) saturate(1.4);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.7);
  z-index: 999;
  color: #ffffff;
  user-select: none;
}

#playerView:not(.show) .vinyl-body,
#playerView.square-mode .vinyl-body,
#playerView.stage-3d-mode .vinyl-body,
#playerView.new-vinyl-mode .vinyl-body {
  animation-play-state: paused !important;
}

#playerView:not(.show) .tonearm-container,
#playerView.square-mode .tonearm-container,
#playerView.stage-3d-mode .tonearm-container,
#playerView.new-vinyl-mode .tonearm-container {
  transform: rotate(-32deg) !important;
}

#playerView.show:not(.square-mode):not(.stage-3d-mode):not(.new-vinyl-mode) .vinyl-body.playing {
  animation-play-state: running !important;
}

#playerView.show:not(.square-mode):not(.stage-3d-mode):not(.new-vinyl-mode) .tonearm-container.playing {
  transform: rotate(0deg) !important;
}

.stage-3d-wrapper.paused-stage,
.stage-3d-wrapper.paused-stage * {
  animation-play-state: paused !important;
}

.immersive-player-view:not(.show) .stage-3d-wrapper,
.immersive-player-view:not(.stage-3d-mode) .stage-3d-wrapper {
  display: none !important;
  will-change: auto !important;
}

#playerView.show:not(.square-mode):not(.stage-3d-mode):not(.new-vinyl-mode) .tonearm-container.switching {
  transform: rotate(-32deg) !important;
  transition: transform 0.22s cubic-bezier(0.25, 1, 0.5, 1) !important;
}

.sidebar-collapsed #sidebarCollectedPlaylists .pl-empty-tip,
.sidebar-collapsed #sidebarCollectedPlaylists span {
  display: none !important;
}

.sidebar-collapsed-lib-trigger,
.collapsed-lib-popover {
  display: none !important;
}

.sidebar-collapsed .sidebar-expanded-playlists-zone {
  display: none !important;
}

.sidebar-collapsed .sidebar-playlists-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.sidebar-collapsed .sidebar-collapsed-lib-trigger {
  display: flex !important;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  padding: 10px 0;
  border-radius: 8px;
  width: 100%;
}

.sidebar-collapsed .sidebar-collapsed-lib-trigger .collapsed-lib-text {
  display: none !important;
}

.collapsed-lib-popover {
  position: fixed;
  left: 64px;
  top: 180px;
  width: 250px;
  max-height: 380px;
  background: var(--bg-card, #ffffff);
  border: 1px solid var(--border-color, rgba(0, 0, 0, 0.08));
  border-radius: 14px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
  z-index: 9999;
  flex-direction: column;
  overflow: hidden;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.dark-mode .collapsed-lib-popover {
  background: rgba(30, 32, 38, 0.96);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
}

.collapsed-lib-popover.show {
  display: flex !important;
  animation: popoverFadeIn 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}

@keyframes popoverFadeIn {
  from { opacity: 0; transform: translateX(-8px); }
  to { opacity: 1; transform: translateX(0); }
}

.popover-lib-header {
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 10px 8px 6px 8px;
  border-bottom: 1px solid var(--border-color, rgba(0, 0, 0, 0.06));
}

.lib-tab-btn {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-dim, #888);
  cursor: pointer;
  padding: 4px 10px;
  border-radius: 6px;
  transition: all 0.2s;
}

.lib-tab-btn.active {
  color: var(--text-main, #14171a);
  background: var(--item-hover, rgba(0, 0, 0, 0.05));
  font-weight: 700;
}

.dark-mode .lib-tab-btn.active {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}

.popover-lib-scroll {
  flex: 1;
  overflow-y: auto;
  padding: 6px 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.popover-pl-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 8px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.15s ease;
}

.popover-pl-item:hover {
  background: var(--item-hover, rgba(0, 0, 0, 0.05));
}

.dark-mode .popover-pl-item:hover {
  background: rgba(255, 255, 255, 0.08);
}

.popover-pl-cover {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  object-fit: cover;
  flex-shrink: 0;
}

.popover-pl-name {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-main, #14171a);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dark-mode .popover-pl-name {
  color: #ffffff;
}

.popover-pl-sub {
  font-size: 0.72rem;
  color: var(--text-dim, #888);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pc-search-history-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  width: 320px;
  background: var(--bg-card, #ffffff);
  border: 1px solid var(--border-color, rgba(0, 0, 0, 0.08));
  border-radius: 14px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
  padding: 12px 14px;
  z-index: 9999;
  flex-direction: column;
  gap: 10px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  animation: pcHistFadeIn 0.18s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.dark-mode .pc-search-history-dropdown {
  background: rgba(30, 32, 38, 0.96);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
}

@keyframes pcHistFadeIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

.pc-hist-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.pc-hist-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-dim, #888);
}

.pc-hist-clear {
  font-size: 0.78rem;
  color: var(--text-dim, #888);
  cursor: pointer;
  transition: color 0.15s ease;
}

.pc-hist-clear:hover {
  color: var(--netease-red, #ec4141);
}

.pc-hist-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 8px;
  max-height: 180px;
  overflow-y: auto;
}

.pc-hist-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  background: var(--item-hover, rgba(0, 0, 0, 0.04));
  border: 1px solid var(--border-color, rgba(0, 0, 0, 0.06));
  border-radius: 14px;
  font-size: 0.8rem;
  color: var(--text-main, #333);
  cursor: pointer;
  transition: all 0.15s ease;
  user-select: none;
}

.dark-mode .pc-hist-pill {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.08);
  color: #f3f5f8;
}

.pc-hist-pill:hover {
  background: rgba(236, 65, 65, 0.1);
  color: var(--netease-red, #ec4141);
  border-color: rgba(236, 65, 65, 0.25);
}

.pc-hist-del-x {
  font-size: 0.75rem;
  color: var(--text-dim, #999);
  line-height: 1;
  padding: 1px 2px;
  border-radius: 50%;
  transition: all 0.15s ease;
}

.pc-hist-del-x:hover {
  color: #ffffff;
  background: var(--netease-red, #ec4141);
}

.pc-hist-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.76rem;
  color: var(--text-dim, #888);
}

.pc-hist-toggle {
  cursor: pointer;
  transition: color 0.15s ease;
  user-select: none;
}

.pc-hist-toggle:hover {
  color: var(--text-main, #333);
}

.dark-mode .pc-hist-toggle:hover {
  color: #ffffff;
}

.pc-hist-divider {
  color: var(--border-color, rgba(0, 0, 0, 0.1));
  user-select: none;
}

.pc-hist-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 8px;
  overflow: hidden;
  transition: max-height 0.22s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.pc-hist-tags.collapsed {
  max-height: 64px;
}

.pc-hist-tags.expanded {
  max-height: 220px;
  overflow-y: auto;
}

.more-item-submenu {
  position: relative;
}

.speed-sub-popover {
  position: absolute;
  left: calc(100% - 2px);
  bottom: -10px;
  background: var(--bg-card, #ffffff);
  border: 1px solid var(--border-color, rgba(0,0,0,0.08));
  border-radius: 14px;
  padding: 8px;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.2);
  display: none;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px 6px;
  width: 175px;
  max-height: 240px;
  overflow-y: auto;
  z-index: 10000;
}

.speed-sub-popover::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -14px;
  width: 16px;
  background: transparent;
}

.dark-mode .speed-sub-popover {
  background: rgba(30, 32, 38, 0.96);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 16px 40px rgba(0,0,0,0.6);
}

.more-item-submenu:hover .speed-sub-popover,
.speed-sub-popover:hover {
  display: grid !important;
}

.speed-opt {
  padding: 5px 0;
  font-size: 0.78rem;
  border-radius: 6px;
  color: var(--text-main, #333);
  cursor: pointer;
  text-align: center;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.dark-mode .speed-opt {
  color: #f3f5f8;
}

.speed-opt:hover {
  background: var(--item-hover, rgba(0,0,0,0.06));
  color: var(--netease-red, #ec4141);
}

.speed-opt.active {
  background: rgba(236, 65, 65, 0.14);
  color: var(--netease-red, #ec4141);
  font-weight: 700;
}

.pc-suggest-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--border-color, rgba(0, 0, 0, 0.06));
}

.pc-suggest-title {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-dim, #888);
}

.pc-suggest-count {
  font-size: 0.75rem;
  color: var(--text-dim, #888);
}

.pc-suggest-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
  max-height: 245px !important;
  overflow-y: auto;
  margin-top: 6px;
  padding-right: 4px;
  overscroll-behavior: contain;
  scrollbar-width: thin !important;
  scrollbar-color: rgba(0, 0, 0, 0.18) transparent !important;
}

.pc-suggest-list::-webkit-scrollbar {
  display: block !important;
  width: 4px !important;
  background: transparent !important;
}

.pc-suggest-list::-webkit-scrollbar-track {
  background: transparent !important;
  border-radius: 4px;
}

.pc-suggest-list::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.16) !important;
  border-radius: 4px;
  transition: background 0.2s ease;
}

.pc-suggest-list::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 0, 0, 0.35) !important;
}

.dark-mode .pc-suggest-list {
  scrollbar-color: rgba(255, 255, 255, 0.2) transparent !important;
}

.dark-mode .pc-suggest-list::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2) !important;
}

.dark-mode .pc-suggest-list::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.4) !important;
}

.pc-suggest-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 8px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.15s ease;
}

.pc-suggest-item:hover {
  background: var(--item-hover, rgba(0, 0, 0, 0.05));
}

.dark-mode .pc-suggest-item:hover {
  background: rgba(255, 255, 255, 0.08);
}

.pc-suggest-left {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow: hidden;
  max-width: 82%;
}

.pc-suggest-cover {
  width: 28px;
  height: 28px;
  border-radius: 4px;
  object-fit: cover;
  flex-shrink: 0;
}

.pc-suggest-meta {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  line-height: 1.25;
}

.pc-suggest-song-name {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-main, #333);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dark-mode .pc-suggest-song-name {
  color: #fff;
}

.pc-suggest-artist {
  font-size: 0.72rem;
  color: var(--text-sub, #888);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pc-suggest-tag {
  font-size: 0.7rem;
  padding: 1px 5px;
  border-radius: 4px;
  background: rgba(236, 65, 65, 0.1);
  color: var(--netease-red, #ec4141);
  flex-shrink: 0;
}

#vaultManagerModal .modal-body {
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 0, 0, 0.18) transparent;
}

#vaultManagerModal .modal-body::-webkit-scrollbar {
  width: 6px;
}

#vaultManagerModal .modal-body::-webkit-scrollbar-track {
  background: transparent;
}

#vaultManagerModal .modal-body::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.16);
  border-radius: 10px;
  transition: background 0.2s ease;
}

#vaultManagerModal .modal-body::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 0, 0, 0.32);
}

#vaultManagerModal .modal-body::-webkit-scrollbar-button {
  display: none;
  width: 0;
  height: 0;
}

.dark-mode #vaultManagerModal .modal-body,
body.theme-dark #vaultManagerModal .modal-body {
  scrollbar-color: rgba(255, 255, 255, 0.22) transparent;
}

.dark-mode #vaultManagerModal .modal-body::-webkit-scrollbar-thumb,
body.theme-dark #vaultManagerModal .modal-body::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.18);
}

.dark-mode #vaultManagerModal .modal-body::-webkit-scrollbar-thumb:hover,
body.theme-dark #vaultManagerModal .modal-body::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.35);
}

#pwaSplashScreen {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  background: #090a0f;
  z-index: 999999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: calc(env(safe-area-inset-top, 24px) + 50px) 24px calc(env(safe-area-inset-bottom, 24px) + 36px) 24px;
  overflow: hidden;
  user-select: none;
  -webkit-user-select: none;
  transition: opacity 0.6s cubic-bezier(0.25, 1, 0.5, 1), transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.splash-ambient-aura {
  position: absolute;
  top: 36%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(236, 65, 65, 0.38) 0%, rgba(255, 78, 80, 0.12) 45%, transparent 70%);
  filter: blur(55px);
  pointer-events: none;
  animation: splashAuraPulse 3s infinite ease-in-out;
}

.splash-stage {
  position: relative;
  width: 316px;
  height: 316px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: splashStageIn 0.75s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.splash-tonearm-box {
  position: absolute !important;
  top: -74px !important;
  left: 128px !important;
  width: 160px;
  height: 170px;
  z-index: 60;
  transform-origin: 25px 25px;
  transform: scale(0.88) rotate(-30deg);
  animation: splashTonearmPlay 1s 0.28s cubic-bezier(0.34, 1.4, 0.64, 1) forwards;
  pointer-events: none !important;
  filter: drop-shadow(0 14px 20px rgba(0, 0, 0, 0.9));
}

.splash-tray {
  position: relative;
  width: 310px;
  height: 310px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 20px 50px rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  z-index: 20;
}

.splash-disc {
  width: 298px;
  height: 298px;
  border-radius: 50%;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.08) 0%, transparent 70%),
              conic-gradient(
                from 0deg,
                rgba(255, 255, 255, 0.15) 0deg,
                rgba(255, 255, 255, 0.04) 45deg,
                rgba(20, 22, 28, 0.85) 90deg,
                rgba(255, 255, 255, 0.04) 135deg,
                rgba(255, 255, 255, 0.15) 180deg,
                rgba(255, 255, 255, 0.04) 225deg,
                rgba(20, 22, 28, 0.85) 270deg,
                rgba(255, 255, 255, 0.04) 315deg,
                rgba(255, 255, 255, 0.15) 360deg
              ),
              repeating-radial-gradient(circle at center, #111215, #111215 2px, #18191e 3px, #0c0d10 4px);
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: inset 0 0 16px rgba(0,0,0,0.8);
  animation: splashVinylSpin 22s linear infinite;
  will-change: transform;
}

.splash-art-center {
  width: 198px;
  height: 198px;
  border-radius: 50%;
  overflow: hidden;
  border: 5px solid #0a0a0c;
  background: #14161d;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
  box-shadow: 0 0 14px rgba(0, 0, 0, 0.6);
}

.splash-art-center svg {
  width: 68px;
  height: 68px;
  stroke: rgba(255, 255, 255, 0.35);
}

.splash-brand-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  z-index: 5;
  margin-top: 10px;
}

.splash-main-title {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 2px;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 8px;
}

.splash-audio-waves {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 18px;
}

.splash-wave-bar {
  width: 3px;
  border-radius: 2px;
  background: #ec4141;
  transform-origin: bottom;
  animation: waveDance 1.2s ease-in-out infinite alternate;
}

.splash-wave-bar:nth-child(1) { height: 6px; animation-delay: 0.1s; }
.splash-wave-bar:nth-child(2) { height: 16px; animation-delay: 0.35s; }
.splash-wave-bar:nth-child(3) { height: 10px; animation-delay: 0.2s; }
.splash-wave-bar:nth-child(4) { height: 14px; animation-delay: 0.45s; }

.splash-sub-text {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 4px;
  text-indent: 4px;
  font-weight: 500;
}

.splash-footer {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.25);
  letter-spacing: 1px;
  font-weight: 600;
}

#pwaSplashScreen.splash-fade-out {
  opacity: 0 !important;
  transform: scale(1.04) !important;
  pointer-events: none !important;
}

@keyframes splashStageIn {
  0% { transform: translateY(24px) scale(0.92); opacity: 0; }
  100% { transform: translateY(0) scale(1); opacity: 1; }
}

@keyframes splashTonearmPlay {
  0% { transform: scale(0.88) rotate(-30deg); }
  75% { transform: scale(0.88) rotate(1deg); }
  88% { transform: scale(0.88) rotate(-2deg); }
  100% { transform: scale(0.88) rotate(0deg); }
}

@keyframes splashVinylSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes splashAuraPulse {
  0%, 100% { transform: translate(-50%, -50%) scale(0.92); opacity: 0.65; }
  50% { transform: translate(-50%, -50%) scale(1.15); opacity: 0.95; }
}

@keyframes waveDance {
  0% { transform: scaleY(0.3); opacity: 0.5; }
  100% { transform: scaleY(1.2); opacity: 1; }
}

.spx-loading-wave {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  height: 16px;
  vertical-align: middle;
  margin-right: 8px;
}

.spx-loading-wave .wave-bar {
  width: 2.5px;
  border-radius: 2px;
  background: var(--netease-red, #ec4141);
  transform-origin: bottom;
  animation: waveDance 1.1s ease-in-out infinite alternate;
}

.spx-loading-wave .wave-bar:nth-child(1) { height: 5px; animation-delay: 0.1s; }
.spx-loading-wave .wave-bar:nth-child(2) { height: 14px; animation-delay: 0.35s; }
.spx-loading-wave .wave-bar:nth-child(3) { height: 8px; animation-delay: 0.2s; }
.spx-loading-wave .wave-bar:nth-child(4) { height: 12px; animation-delay: 0.45s; }

.spx-stage-loading-box {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 36px 0;
  gap: 10px;
  color: var(--text-sub, #888);
  font-size: 0.86rem;
  width: 100%;
}

#page-search {
  height: 100% !important;
  max-height: 100% !important;
  display: none;
  flex-direction: column !important;
  overflow: hidden !important;
  padding: 0 !important;
  margin: 0 !important;
}

#page-search.active {
  display: flex !important;
}

.search-fixed-header {
  flex-shrink: 0 !important;
  background: var(--bg-main) !important;
  padding: 0 0 10px 0 !important;
  z-index: 50 !important;
}

.search-tabs {
  display: flex !important;
  gap: 24px !important;
  border-bottom: 1px solid var(--border-light) !important;
  padding-bottom: 8px !important;
}

.search-tab-scroll-pane {
  flex: 1 !important;
  min-height: 0 !important;
  overflow-y: auto !important;
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
  display: none;
  padding-bottom: 16px !important;
}

.search-tab-scroll-pane::-webkit-scrollbar {
  display: none !important;
}

.search-tab-scroll-pane.active {
  display: block !important;
}

#searchArtistGrid {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)) !important;
  gap: 24px 16px !important;
  width: 100% !important;
  padding: 16px 4px !important;
}

#searchMvGrid,
.mv-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 20px 16px !important;
  width: 100% !important;
  box-sizing: border-box !important;
  padding: 10px 2px 20px 2px !important;
}

@media (max-width: 900px) {
  #searchMvGrid,
  .mv-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 16px 12px !important;
  }
}

#searchInfiniteSentinel {
  width: 100% !important;
  min-height: 32px !important;
  height: 32px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 6px 0 10px 0 !important;
}

.spx-dl-panel {
  background: var(--bg-card, #ffffff) !important;
  border-radius: 26px !important;
  padding: 26px 22px 20px 22px !important;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.22) !important;
  border: 1px solid var(--border-light, rgba(0, 0, 0, 0.06)) !important;
  width: 90% !important;
  max-width: 400px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
  box-sizing: border-box !important;
  color: var(--text-main) !important;
  transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease !important;
}

.dark-mode .spx-dl-panel,
body.dark-mode .spx-dl-panel,
body.theme-dark .spx-dl-panel,
body:has(.dark-mode) .spx-dl-panel {
  background: #1c1e24 !important;
  background: var(--bg-card, rgba(28, 30, 36, 0.96)) !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.7) !important;
  color: #f3f5f8 !important;
}

.spx-dl-title {
  font-size: 1.25rem !important;
  font-weight: 800 !important;
  color: var(--text-main, #14171a) !important;
  letter-spacing: -0.2px !important;
  line-height: 1.3 !important;
  text-align: center !important;
  width: 100% !important;
}

.dark-mode .spx-dl-title,
body.dark-mode .spx-dl-title,
body.theme-dark .spx-dl-title,
body:has(.dark-mode) .spx-dl-title {
  color: #ffffff !important;
}

.spx-dl-subtitle {
  font-size: 0.9rem !important;
  color: var(--text-sub, #757d8a) !important;
  font-weight: 500 !important;
  margin-top: -6px !important;
  margin-bottom: 4px !important;
  text-align: center !important;
  width: 100% !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.dark-mode .spx-dl-subtitle,
body.dark-mode .spx-dl-subtitle,
body.theme-dark .spx-dl-subtitle,
body:has(.dark-mode) .spx-dl-subtitle {
  color: rgba(255, 255, 255, 0.6) !important;
}

.spx-dl-row, 
.spx-dl-sub-row {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  background: var(--bg-main, #f5f5f7) !important;
  border-radius: 15px !important;
  padding: 12px 16px !important;
  box-sizing: border-box !important;
  gap: 14px !important;
  transition: all 0.2s ease !important;
}

.spx-dl-sub-row {
  margin-top: -4px !important;
  background: rgba(82, 146, 254, 0.06) !important;
}

.dark-mode .spx-dl-row,
body.dark-mode .spx-dl-row,
body.theme-dark .spx-dl-row,
body:has(.dark-mode) .spx-dl-row {
  background: rgba(255, 255, 255, 0.05) !important;
}

.dark-mode .spx-dl-sub-row,
body.dark-mode .spx-dl-sub-row,
body.theme-dark .spx-dl-sub-row,
body:has(.dark-mode) .spx-dl-sub-row {
  background: rgba(82, 146, 254, 0.12) !important;
}

.spx-dl-sub-row.is-hidden, 
.spx-dl-row.is-hidden {
  display: none !important;
}

.spx-dl-text-group,
.spx-dl-info {
  display: flex !important;
  flex-direction: column !important;
  gap: 3px !important;
  flex: 1 !important;
  min-width: 0 !important;
}

.spx-dl-label {
  font-size: 0.92rem !important;
  font-weight: 700 !important;
  color: var(--text-main, #14171a) !important;
  line-height: 1.35 !important;
  word-break: break-word !important;
  display: inline !important;
}

.dark-mode .spx-dl-label,
body.dark-mode .spx-dl-label,
body.theme-dark .spx-dl-label,
body:has(.dark-mode) .spx-dl-label {
  color: #f3f5f8 !important;
}

.spx-dl-desc {
  font-size: 0.76rem !important;
  color: var(--text-sub, #757d8a) !important;
  font-weight: normal !important;
  line-height: 1.35 !important;
  word-break: break-word !important;
  display: inline-block !important;
  margin-top: 2px !important;
}

.dark-mode .spx-dl-desc,
body.dark-mode .spx-dl-desc,
body.theme-dark .spx-dl-desc,
body:has(.dark-mode) .spx-dl-desc {
  color: #8e95a5 !important;
}

.spx-dl-switch {
  appearance: none !important;
  -webkit-appearance: none !important;
  width: 46px !important;
  min-width: 46px !important;
  max-width: 46px !important;
  height: 26px !important;
  min-height: 26px !important;
  border-radius: 13px !important;
  background: #e3e5e8 !important;
  outline: none !important;
  position: relative !important;
  cursor: pointer !important;
  transition: background-color 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
  flex-shrink: 0 !important;
  border: none !important;
  margin: 0 !important;
  box-sizing: border-box !important;
}

.dark-mode .spx-dl-switch,
body.dark-mode .spx-dl-switch,
body.theme-dark .spx-dl-switch,
body:has(.dark-mode) .spx-dl-switch {
  background: #2b2e38 !important;
}

.spx-dl-switch:checked,
.dark-mode .spx-dl-switch:checked,
body.dark-mode .spx-dl-switch:checked,
body.theme-dark .spx-dl-switch:checked,
body:has(.dark-mode) .spx-dl-switch:checked {
  background: var(--netease-red, #ec4141) !important;
}

.spx-dl-switch::after {
  content: "" !important;
  position: absolute !important;
  top: 3px !important;
  left: 3px !important;
  width: 20px !important;
  height: 20px !important;
  border-radius: 50% !important;
  background: #ffffff !important;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.25) !important;
  transition: transform 0.25s cubic-bezier(0.2, 0.9, 0.3, 1.2) !important;
}

.spx-dl-switch:checked::after {
  transform: translateX(20px) !important;
}

.spx-dl-actions {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
  margin-top: 6px !important;
}

.spx-dl-btn {
  flex: 1 !important;
  height: 42px !important;
  border-radius: 21px !important;
  font-size: 0.88rem !important;
  font-weight: 700 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  transition: transform 0.15s ease, opacity 0.15s ease !important;
  border: none !important;
  outline: none !important;
}

.spx-dl-btn:active {
  transform: scale(0.97) !important;
}

.spx-dl-btn-cancel {
  background: var(--bg-hover, #ebedf2) !important;
  color: var(--text-main, #333333) !important;
}

.dark-mode .spx-dl-btn-cancel,
body.dark-mode .spx-dl-btn-cancel,
body.theme-dark .spx-dl-btn-cancel,
body:has(.dark-mode) .spx-dl-btn-cancel {
  background: rgba(255, 255, 255, 0.08) !important;
  color: #f3f5f8 !important;
}

.spx-dl-btn-confirm {
  background: var(--netease-red, #ff3a3a) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(255, 58, 58, 0.32) !important;
}