/* ================= 听音乐专区与全局播放条 (Music View, WhiteNoise, Radio & Player) ================= */
  #viewMusic {
    padding-bottom: 96px;
  }

  .music-view-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 22px;
    flex-wrap: wrap;
  }
  .music-header-title-row {
    display: flex;
    align-items: center;
    gap: 12px;
  }
  .music-back-btn {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    background: var(--bg-surface);
    border: 1px solid var(--border);
    color: var(--text-secondary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all .18s ease;
  }
  .music-back-btn:hover {
    color: var(--text-primary);
    background: var(--bg-surface-hover);
    border-color: var(--accent);
  }
  .music-tabs-bar {
    display: flex;
    align-items: center;
    gap: 10px;
  }

  /* 歌曲点播：左右分栏 */
  .music-layout-split {
    display: flex;
    gap: 24px;
    align-items: flex-start;
  }
  .music-main-col {
    flex: 1;
    min-width: 0;
  }
  .music-search-bar-wrap {
    margin-bottom: 18px;
  }
  .music-search-input-box {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 6px 8px 6px 16px;
    max-width: 580px;
    transition: all .2s ease;
  }
  .music-search-input-box:focus-within {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15);
  }
  .music-search-ico {
    color: var(--text-muted);
    flex-shrink: 0;
  }
  .music-search-input-box input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: var(--text-primary);
    font-size: 14px;
  }
  .music-search-clear {
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 13px;
    padding: 4px;
    border-radius: 50%;
  }
  .music-search-clear:hover { color: var(--text-primary); }
  .music-search-btn {
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: 999px;
    padding: 7px 18px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all .18s ease;
  }
  .music-search-btn:hover {
    background: var(--accent-hover);
    transform: translateY(-1px);
  }
  .music-hot-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 12px;
  }
  .music-tag-pill {
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 12px;
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-secondary);
    cursor: pointer;
    border: 1px solid var(--border);
    transition: all .15s ease;
  }
  .music-tag-pill:hover {
    color: var(--accent);
    border-color: rgba(16, 185, 129, 0.4);
    background: rgba(16, 185, 129, 0.1);
  }

  /* 歌曲表格 */
  .music-table-wrap {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
  }
  .music-table-head {
    display: grid;
    grid-template-columns: 56px minmax(180px, 3fr) minmax(120px, 2fr) minmax(120px, 2fr) 76px 60px;
    padding: 12px 18px;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.02);
  }
  .music-table-body {
    max-height: 640px;
    overflow-y: auto;
  }
  .music-row {
    display: grid;
    grid-template-columns: 56px minmax(180px, 3fr) minmax(120px, 2fr) minmax(120px, 2fr) 76px 60px;
    padding: 12px 18px;
    align-items: center;
    font-size: 13px;
    color: var(--text-primary);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    cursor: pointer;
    transition: all .15s ease;
  }
  .music-row:hover {
    background: var(--bg-surface-hover);
  }
  .music-row.playing {
    background: rgba(16, 185, 129, 0.09);
    border-left: 3px solid var(--accent);
  }
  .music-row.playing .col-title-text {
    color: var(--accent);
    font-weight: 600;
  }
  .music-col-index {
    color: var(--text-muted);
    font-size: 12px;
    font-variant-numeric: tabular-nums;
    display: flex;
    align-items: center;
  }
  .music-col-title {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
  }
  .music-row-cover {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    object-fit: cover;
    background: var(--bg-surface);
    flex-shrink: 0;
  }
  .col-title-wrap {
    min-width: 0;
    overflow: hidden;
  }
  .col-title-text {
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .col-artist-sub {
    font-size: 12px;
    color: var(--text-muted);
    display: none;
  }
  .music-col-artist, .music-col-album {
    color: var(--text-secondary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding-right: 12px;
  }
  .music-col-time {
    color: var(--text-muted);
    font-size: 12px;
    font-variant-numeric: tabular-nums;
  }
  .music-col-act {
    display: flex;
    justify-content: flex-end;
  }
  .music-row-play-btn {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-secondary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all .15s ease;
  }
  .music-row:hover .music-row-play-btn {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(16, 185, 129, 0.1);
  }
  .music-row.playing .music-row-play-btn {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
  }
  .music-row.unavailable {
    cursor: not-allowed;
    opacity: 0.45;
  }
  .music-row.unavailable:hover {
    background: transparent;
  }
  .music-row.unavailable .music-row-cover {
    filter: grayscale(1);
  }
  .music-row-unavailable-tag {
    font-size: 11px;
    color: var(--text-muted);
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 2px 8px;
    white-space: nowrap;
  }

  /* 空列表：引导用户主动搜索 */
  .music-search-empty {
    padding: 72px 24px;
    text-align: center;
    color: var(--text-muted);
  }
  .music-search-empty-ico {
    font-size: 36px;
    margin-bottom: 12px;
  }
  .music-search-empty-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 6px;
  }
  .music-search-empty-sub {
    font-size: 13px;
  }

  /* 均衡器跳动波形 */
  .playing-bars {
    display: inline-flex;
    align-items: flex-end;
    gap: 2px;
    height: 14px;
    width: 14px;
  }
  .playing-bars span {
    width: 2.5px;
    background: var(--accent);
    border-radius: 1px;
    animation: barBounce 1s infinite ease-in-out alternate;
  }
  .playing-bars span:nth-child(1) { height: 40%; animation-delay: 0.1s; }
  .playing-bars span:nth-child(2) { height: 90%; animation-delay: 0.3s; }
  .playing-bars span:nth-child(3) { height: 60%; animation-delay: 0.2s; }
  @keyframes barBounce {
    0% { height: 25%; }
    100% { height: 100%; }
  }

  /* 右侧歌词卡片 */
  .music-lyrics-col {
    width: 360px;
    flex-shrink: 0;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 22px;
    position: sticky;
    top: 88px;
    height: calc(100vh - 220px);
    min-height: 520px;
    display: flex;
    flex-direction: column;
  }
  .lyrics-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
  }
  .lyrics-card-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
  }
  .lyrics-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 8px rgba(16, 185, 129, 0.6);
  }
  .lyrics-track-title {
    font-size: 12px;
    color: var(--text-muted);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 190px;
  }
  .lyrics-scroll-box {
    flex: 1;
    overflow-y: auto;
    scroll-behavior: smooth;
    padding: 40px 10px;
    margin-top: 10px;
    mask-image: linear-gradient(180deg, transparent 0%, black 15%, black 85%, transparent 100%);
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, black 15%, black 85%, transparent 100%);
  }
  .lyrics-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
  .lrc-line {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.6;
    transition: all .24s ease;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: var(--radius-sm);
  }
  .lrc-line:hover {
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.03);
  }
  .lrc-line.active {
    font-size: 16px;
    font-weight: 700;
    color: #34d399;
    text-shadow: 0 0 12px rgba(52, 211, 153, 0.4);
    transform: scale(1.05);
  }
  .lyrics-empty {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 60px;
  }

  /* 白噪音卡片网格 */
  .whitenoise-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
  }
  .whitenoise-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 22px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: all .2s ease;
  }
  .whitenoise-card:hover {
    transform: translateY(-2px);
    border-color: rgba(16, 185, 129, 0.4);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  }
  .whitenoise-card.active {
    border-color: var(--accent);
    background: rgba(16, 185, 129, 0.05);
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.15);
  }
  .whitenoise-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .whitenoise-icon-title {
    display: flex;
    align-items: center;
    gap: 12px;
  }
  .whitenoise-icon {
    font-size: 28px;
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: var(--bg-surface);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
  }
  .whitenoise-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
  }
  .whitenoise-desc {
    font-size: 12px;
    color: var(--text-secondary);
    line-height: 1.5;
    min-height: 36px;
  }
  .whitenoise-toggle-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    color: var(--text-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all .18s ease;
  }
  .whitenoise-card.active .whitenoise-toggle-btn {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
  }
  .whitenoise-slider-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 4px;
  }
  .whitenoise-slider-wrap span {
    font-size: 11px;
    color: var(--text-muted);
  }
  .whitenoise-range {
    flex: 1;
    -webkit-appearance: none;
    height: 4px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.1);
    outline: none;
  }
  .whitenoise-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--accent);
    cursor: pointer;
  }

  /* FM 电台网格 */
  .radio-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
  }
  .radio-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    transition: all .2s ease;
    position: relative;
    overflow: hidden;
  }
  .radio-card:hover {
    transform: translateY(-2px);
    border-color: var(--accent);
  }
  .radio-card.playing {
    border-color: var(--accent);
    background: rgba(16, 185, 129, 0.05);
  }
  .radio-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .radio-live-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 9px;
    border-radius: 999px;
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
    font-size: 11px;
    font-weight: 700;
  }
  .radio-live-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #ef4444;
    animation: livePulse 1.2s infinite;
  }
  @keyframes livePulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.85); }
  }
  .radio-card-info {
    display: flex;
    gap: 14px;
    align-items: center;
  }
  .radio-cover {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    object-fit: cover;
    background: var(--bg-surface);
  }
  .radio-card-texts {
    flex: 1;
    min-width: 0;
  }
  .radio-card-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .radio-card-desc {
    font-size: 12px;
    color: var(--text-secondary);
    margin-top: 4px;
    line-height: 1.4;
  }
  .radio-card-tags {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
  }
  .radio-tag {
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-muted);
  }
  .radio-play-btn {
    width: 100%;
    height: 38px;
    border-radius: var(--radius-sm);
    background: var(--bg-surface-hover);
    border: 1px solid var(--border);
    color: var(--text-primary);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all .18s ease;
  }
  .radio-play-btn:hover, .radio-card.playing .radio-play-btn {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
  }

  /* ================= 听音乐专区底部播放条 (Music Bottom Bar) ================= */
  .global-music-bar {
    position: fixed;
    bottom: 0;
    left: var(--sidebar-width);
    right: 0;
    height: 72px;
    background: rgba(18, 22, 29, 0.96);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-top: 1px solid var(--border);
    z-index: 850;
    display: none; /* 默认隐藏：仅在听音乐专区展示，不侵入主页或其它菜单 */
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    transition: left .25s ease;
  }
  .sidebar.collapsed ~ .main-wrapper .global-music-bar,
  .sidebar.collapsed + .main-wrapper .global-music-bar {
    left: var(--sidebar-width-collapsed);
  }
  @media (max-width: 860px) {
    .global-music-bar {
      left: 0 !important;
      padding: 0 12px;
      height: 66px;
    }
  }
  .gmusic-left {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 240px;
    min-width: 0;
  }
  .gmusic-cover-wrap {
    position: relative;
    width: 46px;
    height: 46px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    flex-shrink: 0;
    border: 1px solid var(--border);
    background: var(--bg-surface);
  }
  .gmusic-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .gmusic-info {
    min-width: 0;
    overflow: hidden;
  }
  .gmusic-title-wrap {
    display: flex;
    align-items: center;
    gap: 6px;
  }
  .gmusic-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .gmusic-badge {
    font-size: 10px;
    padding: 1px 5px;
    border-radius: 3px;
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
    font-weight: 700;
  }
  .gmusic-artist {
    font-size: 12px;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-top: 2px;
  }

  .gmusic-center {
    flex: 1;
    max-width: 620px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
  }
  .gmusic-ctrls {
    display: flex;
    align-items: center;
    gap: 16px;
  }
  .gmusic-btn {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
    border-radius: 50%;
    transition: all .15s ease;
  }
  .gmusic-btn:hover {
    color: var(--text-primary);
    transform: scale(1.08);
  }
  .gmusic-play-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.4);
    transition: all .18s ease;
  }
  .gmusic-play-btn:hover {
    background: var(--accent-hover);
    transform: scale(1.06);
  }
  .gmusic-progress-bar {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
  }
  .gmusic-time {
    font-size: 11px;
    color: var(--text-muted);
    font-variant-numeric: tabular-nums;
    width: 36px;
  }
  .gmusic-time:last-child { text-align: right; }
  .gmusic-slider-wrap {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
    height: 16px;
  }
  .gmusic-slider-track {
    position: absolute;
    left: 0;
    right: 0;
    height: 4px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.12);
    overflow: hidden;
    pointer-events: none;
  }
  .gmusic-slider-fill {
    height: 100%;
    background: var(--accent);
    width: 0%;
    transition: width .1s linear;
  }
  .gmusic-range {
    width: 100%;
    -webkit-appearance: none;
    background: transparent;
    cursor: pointer;
    height: 16px;
    outline: none;
    position: relative;
    z-index: 2;
  }
  .gmusic-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 0 6px rgba(0,0,0,0.4);
    opacity: 0;
    transition: opacity .15s ease;
  }
  .gmusic-slider-wrap:hover .gmusic-range::-webkit-slider-thumb {
    opacity: 1;
  }

  .gmusic-right {
    display: flex;
    align-items: center;
    gap: 14px;
    width: 200px;
    justify-content: flex-end;
  }
  .gmusic-lyric-btn {
    font-size: 13px;
    font-weight: 700;
    border: 1px solid var(--border);
    width: 30px;
    height: 30px;
    border-radius: 6px;
  }
  .gmusic-lyric-btn.active {
    color: var(--accent);
    border-color: var(--accent);
    background: rgba(16, 185, 129, 0.1);
  }
  .gmusic-vol-wrap {
    display: flex;
    align-items: center;
    gap: 6px;
  }
  .gmusic-vol-range {
    width: 76px;
    -webkit-appearance: none;
    height: 4px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.15);
    outline: none;
  }
  .gmusic-vol-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--text-primary);
    cursor: pointer;
  }

  /* 城市切换弹窗 */
