/* Music Page Styles */

/* 覆盖全局样式，允许页面滚动 */
html:has(.music-main),
body:has(.music-main) {
    height: auto !important;
    overflow-y: auto !important;
    overflow-x: hidden;
}

.music-main {
    min-height: 100vh;
    padding: 100px var(--space-xl) var(--space-xl);
    padding-top: 100px; /* 确保内容不与导航栏重叠 */
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

/* 两栏布局 - 使用Flexbox让两列等高 */
.music-layout {
    display: flex;
    gap: var(--space-xl);
    width: 100%;
    margin-top: var(--space-lg);
    align-items: flex-start;
}

/* 左侧信息面板容器 */
.music-sidebar-wrapper {
    width: 300px;
    flex-shrink: 0;
    position: relative;
}

/* 左侧信息面板 - 高度与专辑网格同步 */
.music-sidebar {
    width: 100%;
    padding: var(--space-lg);
    background: rgba(var(--color-bg-card-rgb, 255, 255, 255), 0.8);
    backdrop-filter: blur(20px);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    /* 默认高度，会被JS动态调整 */
    min-height: 500px;
    overflow-y: auto;
}

[data-theme="dark"] .music-sidebar {
    background: rgba(30, 30, 30, 0.8);
}

.sidebar-now-playing {
    text-align: center;
    padding-bottom: var(--space-lg);
    border-bottom: 1px solid var(--color-border);
    flex-shrink: 0;
}

.sidebar-cover {
    width: 180px;
    height: 180px;
    margin: 0 auto var(--space-md);
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--color-bg-elevated);
    box-shadow: var(--shadow-md);
}

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

.sidebar-cover-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-muted);
}

.sidebar-title {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 400;
    margin-bottom: var(--space-xs);
    color: var(--color-text);
}

.sidebar-artist {
    font-size: 0.875rem;
    color: var(--color-text-light);
    margin-bottom: var(--space-xs);
}

.sidebar-meta {
    display: flex;
    justify-content: center;
    gap: var(--space-md);
    font-size: 0.75rem;
    color: var(--color-text-muted);
}

/* Thoughts 区域 */
.sidebar-thoughts {
    padding: var(--space-lg) 0;
    border-bottom: 1px solid var(--color-border);
    flex: 1;
    min-height: 120px;
}

.thoughts-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-sm);
}

.thoughts-label {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.thoughts-meta {
    display: flex;
    gap: var(--space-sm);
    font-size: 0.7rem;
    color: var(--color-text-muted);
    margin-bottom: var(--space-sm);
}

.thoughts-author {
    font-weight: 500;
    color: var(--color-primary);
}

.thoughts-content {
    font-size: 0.875rem;
    line-height: 1.7;
    color: var(--color-text);
    white-space: pre-wrap;
}

.thoughts-content:empty::after {
    content: '这首歌还没有留言...';
    color: var(--color-text-muted);
    font-style: italic;
}

.thoughts-edit-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    padding: 0;
    background: transparent;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    color: var(--color-text-muted);
    cursor: pointer;
    transition: all 0.2s;
}

.thoughts-edit-btn:hover {
    background: var(--color-bg-elevated);
    color: var(--color-text);
    border-color: var(--color-text-muted);
}

/* Comments 区域 */
.sidebar-comments {
    padding-top: var(--space-lg);
    flex-shrink: 0;
}

.comments-header {
    margin-bottom: var(--space-sm);
}

.comments-label {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.comments-meta {
    display: flex;
    gap: var(--space-sm);
    font-size: 0.7rem;
    color: var(--color-text-muted);
    margin-bottom: var(--space-sm);
}

.comments-author {
    font-weight: 500;
    color: var(--color-secondary, #6B8E9B);
}

.comments-content {
    font-size: 0.875rem;
    line-height: 1.6;
    color: var(--color-text-light);
    margin-bottom: var(--space-md);
    white-space: pre-wrap;
}

.comments-content:empty::after {
    content: '还没有评论...';
    color: var(--color-text-muted);
    font-style: italic;
}

.comments-input-area {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.comments-input {
    width: 100%;
    min-height: 60px;
    padding: var(--space-sm);
    background: var(--color-bg-elevated);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 0.8rem;
    color: var(--color-text);
    resize: vertical;
    outline: none;
    transition: border-color 0.2s;
}

.comments-input:focus {
    border-color: var(--color-primary);
}

.comments-input::placeholder {
    color: var(--color-text-muted);
}

.comments-submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    align-self: flex-end;
    padding: var(--space-xs) var(--space-md);
    background: var(--color-primary);
    border: none;
    border-radius: var(--radius-sm);
    color: white;
    font-size: 0.75rem;
    cursor: pointer;
    transition: all 0.2s;
}

.comments-submit-btn:hover {
    background: var(--color-primary-hover);
}

.comments-submit-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* 搜索栏 */
.search-bar {
    width: 100%;
    max-width: 500px;
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-md);
    background: var(--color-bg-card);
    border-radius: var(--radius-full);
    margin-bottom: var(--space-xl);
    transition: all 0.3s;
    opacity: 0.7;
}

.search-bar:focus-within {
    opacity: 1;
    box-shadow: 0 0 0 2px var(--color-primary-light);
}

.search-bar svg {
    color: var(--color-text-muted);
    flex-shrink: 0;
}

.search-bar input {
    flex: 1;
    border: none;
    background: transparent;
    font-family: inherit;
    font-size: 0.9375rem;
    color: var(--color-text);
    outline: none;
}

.search-bar input::placeholder {
    color: var(--color-text-muted);
}

.search-clear {
    width: 24px;
    height: 24px;
    border: none;
    background: transparent;
    color: var(--color-text-muted);
    cursor: pointer;
    font-size: 1.25rem;
    line-height: 1;
    opacity: 0;
    transition: opacity 0.2s;
}

.search-bar:focus-within .search-clear,
.search-bar input:not(:placeholder-shown) + .search-clear {
    opacity: 1;
}

.search-clear:hover {
    color: var(--color-text);
}

/* 播放器控制栏 */
.player-bar {
    width: 100%;
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    padding: var(--space-md) 0;
    margin-bottom: var(--space-lg);
}

.player-controls {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    flex-shrink: 0;
}

.control-btn {
    width: 36px;
    height: 36px;
    border: none;
    background: transparent;
    color: var(--color-text-light);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-full);
    transition: all 0.2s;
}

.control-btn:hover {
    color: var(--color-text);
    background: var(--color-bg-card);
}

.control-btn.play-btn {
    width: 48px;
    height: 48px;
    background: var(--color-primary);
    color: white;
}

.control-btn.play-btn:hover {
    background: var(--color-primary-dark);
    transform: scale(1.05);
}

.control-btn.play-btn .icon-pause {
    display: none;
}

.control-btn.play-btn.playing .icon-play {
    display: none;
}

.control-btn.play-btn.playing .icon-pause {
    display: block;
}

.progress-section {
    flex: 1;
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.time-current, .time-remaining {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    font-variant-numeric: tabular-nums;
    min-width: 40px;
}

.time-remaining {
    text-align: right;
}

.progress-track {
    flex: 1;
    height: 4px;
    background: var(--color-border);
    border-radius: 2px;
    cursor: pointer;
    position: relative;
}

.progress-track::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--color-text-muted);
    transform: translateY(-50%);
}

.progress-fill {
    height: 100%;
    background: var(--color-primary);
    border-radius: 2px;
    width: 0%;
    transition: width 0.1s linear;
    position: relative;
    z-index: 1;
}

.progress-track:hover .progress-fill {
    background: var(--color-primary-dark);
}

.player-right {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    min-width: 150px;
    justify-content: flex-end;
}

.volume-control {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.volume-btn .icon-mute {
    display: none;
}

.volume-btn.muted .icon-volume {
    display: none;
}

.volume-btn.muted .icon-mute {
    display: block;
}

.volume-slider {
    width: 80px;
    height: 4px;
    -webkit-appearance: none;
    appearance: none;
    background: linear-gradient(to right, var(--color-primary) 0%, var(--color-primary) var(--volume-percent, 70%), var(--color-border) var(--volume-percent, 70%), var(--color-border) 100%);
    border-radius: 2px;
    cursor: pointer;
    position: relative;
}

.volume-slider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--color-text-muted);
    transform: translateY(-50%);
    pointer-events: none;
}

.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 14px;
    height: 14px;
    background: var(--color-primary);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 1px 4px rgba(0,0,0,0.2);
    position: relative;
    z-index: 1;
}

.volume-slider::-moz-range-thumb {
    width: 14px;
    height: 14px;
    background: var(--color-primary);
    border-radius: 50%;
    cursor: pointer;
    border: none;
    box-shadow: 0 1px 4px rgba(0,0,0,0.2);
}

/* 操作按钮栏 */
.action-bar {
    display: flex;
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
}

.action-btn {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-sm) var(--space-md);
    border: 1px solid var(--color-border);
    background: transparent;
    color: var(--color-text-light);
    font-family: inherit;
    font-size: 0.875rem;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all 0.2s;
}

.action-btn:hover {
    background: var(--color-bg-card);
    color: var(--color-text);
    border-color: var(--color-text-muted);
}

/* 歌曲数量显示 */
.song-count {
    display: flex;
    align-items: center;
    padding: var(--space-sm) var(--space-md);
    font-size: 0.875rem;
    color: var(--color-text-muted);
    background: rgba(var(--color-bg-card-rgb, 255, 255, 255), 0.5);
    border-radius: var(--radius-full);
    border: 1px solid var(--color-border);
    font-family: var(--font-display);
}

[data-theme="dark"] .song-count {
    background: rgba(40, 40, 40, 0.5);
}

/* 4x4 专辑网格 */
.album-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-md);
    flex: 1;
    min-width: 0;
}

.album-item {
    aspect-ratio: 1;
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
    position: relative;
    transition: transform 0.3s, box-shadow 0.3s;
}

.album-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

.album-item.playing {
    box-shadow: 0 0 0 3px var(--color-primary);
}

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

.album-placeholder {
    width: 100%;
    height: 100%;
}

/* Hover 信息 */
.album-info {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 30%, rgba(0,0,0,0.8) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: var(--space-md);
    opacity: 0;
    transition: opacity 0.3s;
}

.album-item:hover .album-info {
    opacity: 1;
}

.album-info-title {
    color: white;
    font-family: var(--font-display);
    font-size: 0.9375rem;
    font-weight: 400;
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.album-info-artist {
    color: rgba(255,255,255,0.7);
    font-size: 0.75rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.album-info-meta {
    color: rgba(255,255,255,0.5);
    font-size: 0.6875rem;
    margin-top: 4px;
}

/* Thoughts 感想样式 */
.album-info-thoughts {
    color: rgba(255,255,255,0.7);
    font-size: 0.6875rem;
    font-style: italic;
    margin-top: 6px;
    padding-top: 6px;
    border-top: 1px solid rgba(255,255,255,0.15);
    line-height: 1.4;
    max-height: 3.5em;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

/* 正在播放指示器 */
.album-playing-indicator {
    position: absolute;
    top: var(--space-sm);
    right: var(--space-sm);
    width: 24px;
    height: 24px;
    background: var(--color-primary);
    border-radius: var(--radius-full);
    display: none;
    align-items: center;
    justify-content: center;
}

.album-item.playing .album-playing-indicator {
    display: flex;
}

.equalizer-bars {
    display: flex;
    align-items: flex-end;
    gap: 2px;
    height: 12px;
}

.equalizer-bar {
    width: 3px;
    background: white;
    border-radius: 1px;
    animation: equalize 0.5s ease-in-out infinite alternate;
}

.equalizer-bar:nth-child(1) { height: 4px; animation-delay: 0s; }
.equalizer-bar:nth-child(2) { height: 8px; animation-delay: 0.1s; }
.equalizer-bar:nth-child(3) { height: 6px; animation-delay: 0.2s; }

@keyframes equalize {
    0% { transform: scaleY(0.3); }
    100% { transform: scaleY(1); }
}

/* 上传模态框 */
.upload-modal {
    max-width: 560px;
}

.upload-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.upload-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
}

.upload-file-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: var(--space-lg);
    border: 2px dashed var(--color-text-muted);
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
    position: relative;
    min-height: 120px;
    background: var(--color-bg-card);
}

.upload-file-area:hover {
    border-color: var(--color-primary);
    background: rgba(232, 180, 184, 0.08);
}

.upload-file-area.has-file {
    border-color: var(--color-primary);
    border-style: solid;
    background: rgba(232, 180, 184, 0.1);
}

.upload-file-area svg {
    color: var(--color-text-muted);
}

.upload-file-area span {
    font-size: 0.875rem;
    color: var(--color-text-light);
}

.upload-file-area small {
    font-size: 0.75rem;
    color: var(--color-primary);
    word-break: break-all;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* 封面预览按钮 */
.cover-preview-btn {
    display: none;
    padding: 4px 12px;
    background: var(--color-primary);
    color: white;
    border: none;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    cursor: pointer;
    margin-top: 4px;
}

.upload-file-area.has-file .cover-preview-btn {
    display: inline-block;
}

/* 预览模态框 */
.preview-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.preview-overlay.show {
    opacity: 1;
    visibility: visible;
}

.preview-overlay img {
    max-width: 90%;
    max-height: 90%;
    border-radius: var(--radius-lg);
}

.preview-overlay .close-preview {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    font-size: 24px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
}

.form-row .form-group {
    min-width: 0;
}

.form-group textarea {
    width: 100%;
    padding: var(--space-sm) var(--space-md);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    font-size: 0.9375rem;
    background: var(--color-bg-card);
    color: var(--color-text);
    resize: vertical;
    min-height: 80px;
    font-family: inherit;
}

.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
}

.form-group textarea::placeholder {
    color: var(--color-text-muted);
}

.upload-form .form-group {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.upload-form label {
    font-size: 0.8125rem;
    color: var(--color-text-light);
}

.upload-form input,
.upload-form select {
    padding: var(--space-sm) var(--space-md);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    background: var(--color-bg);
    font-family: inherit;
    font-size: 0.9375rem;
    color: var(--color-text);
    transition: border-color 0.2s;
}

.upload-form input:focus,
.upload-form select:focus {
    outline: none;
    border-color: var(--color-primary);
}

.upload-form .btn-primary {
    margin-top: var(--space-sm);
}

/* 搜索结果高亮 */
.album-item.hidden {
    display: none;
}

.album-item.search-match {
    box-shadow: 0 0 0 2px var(--color-primary-light);
}

/* 响应式 */
@media (max-width: 1024px) {
    .music-sidebar-wrapper {
        width: 240px;
    }
    
    .sidebar-cover {
        width: 160px;
        height: 160px;
    }
}

@media (max-width: 768px) {
    .music-main {
        padding: 80px var(--space-md) var(--space-md);
    }
    
    .music-layout {
        flex-direction: column;
    }
    
    .music-sidebar-wrapper,
    .music-sidebar {
        display: none;
    }
    
    .player-bar {
        flex-direction: column;
        gap: var(--space-md);
    }
    
    .player-left {
        width: 100%;
        min-width: auto;
    }
    
    .player-center {
        width: 100%;
    }
    
    .progress-bar {
        max-width: none;
    }
    
    .player-right {
        width: 100%;
        justify-content: center;
        min-width: auto;
    }
    
    .album-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--space-sm);
    }
    
    .upload-row,
    .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .album-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Toast 通知 */
.toast {
    position: fixed;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    padding: var(--space-sm) var(--space-lg);
    background: var(--color-bg-elevated);
    color: var(--color-text);
    border-radius: var(--radius-full);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 1000;
    font-size: 0.9375rem;
}

.toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.toast-success {
    border-left: 3px solid #4caf50;
}

.toast-error {
    border-left: 3px solid #f44336;
}

/* Loading spinner */
.loading-spinner {
    width: 32px;
    height: 32px;
    border: 2px solid var(--color-border);
    border-top-color: var(--color-primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: 0 auto;
}

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

/* 拖拽上传样式 */
.upload-file-area.dragover {
    border-color: var(--color-primary);
    background: rgba(232, 180, 184, 0.1);
}

/* 上传者信息 */
.album-info-user {
    color: rgba(255,255,255,0.4);
    font-size: 0.625rem;
    margin-top: 2px;
    font-style: italic;
}

/* ========================================== */
/* 背景模式切换 */
/* ========================================== */

.bg-mode-toggle {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 20px;
}

.bg-mode-btn {
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 50%;
    background: transparent;
    color: var(--color-text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.bg-mode-btn:hover {
    color: var(--color-text);
}

.bg-mode-btn.active {
    background: var(--color-text);
    color: var(--color-bg);
}

/* ========================================== */
/* 泛光背景 */
/* ========================================== */

.glow-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.8s ease;
    overflow: hidden;
}

.glow-background.active {
    opacity: 1;
}

.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.6;
    animation: glowFloat 8s ease-in-out infinite;
}

.glow-orb-1 {
    width: 400px;
    height: 400px;
    top: -100px;
    left: -100px;
    background: radial-gradient(circle, var(--glow-color-1, #E8B4B8) 0%, transparent 70%);
    animation-delay: 0s;
}

.glow-orb-2 {
    width: 500px;
    height: 500px;
    bottom: -150px;
    right: -150px;
    background: radial-gradient(circle, var(--glow-color-2, #A8D5E5) 0%, transparent 70%);
    animation-delay: -3s;
}

.glow-orb-3 {
    width: 350px;
    height: 350px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, var(--glow-color-3, #B8D4A8) 0%, transparent 70%);
    animation-delay: -5s;
}

@keyframes glowFloat {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(30px, -30px) scale(1.1);
    }
    50% {
        transform: translate(-20px, 20px) scale(0.95);
    }
    75% {
        transform: translate(20px, 10px) scale(1.05);
    }
}

/* 泛光模式下的页面样式调整 */
body.glow-mode {
    background: #0a0a0a !important;
}

body.glow-mode .music-main {
    background: transparent;
}

body.glow-mode .header {
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(20px);
}

body.glow-mode .player-bar {
    background: rgba(20, 20, 20, 0.9);
    backdrop-filter: blur(20px);
}

body.glow-mode .album-item {
    background: rgba(30, 30, 30, 0.6);
    backdrop-filter: blur(10px);
}

body.glow-mode .album-item:hover {
    background: rgba(40, 40, 40, 0.8);
}

body.glow-mode .action-btn,
body.glow-mode .bg-mode-toggle {
    background: rgba(30, 30, 30, 0.8);
    backdrop-filter: blur(10px);
}

body.glow-mode .noise-overlay {
    opacity: 0.02;
}

body.glow-mode .music-sidebar {
    background: rgba(20, 20, 20, 0.8);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

body.glow-mode .sidebar-cover {
    box-shadow: 0 0 40px rgba(var(--glow-color-rgb, 180, 140, 200), 0.3);
}

body.glow-mode .sidebar-thoughts {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: var(--space-lg);
}