/* ========================================
   小蜜蜂音乐 - 播放器样式 (清新明亮版)
   ======================================== */

/* 播放器页面基础样式 */
.player-page {
    margin: 0;
    padding: 0;
    overflow: hidden;
}

/* 进度条 - 通用样式 */
.progress-bar {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
}

.time {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.75);
    font-variant-numeric: tabular-nums;
    min-width: 50px;
    text-align: center;
    font-weight: 500;
}

.progress-track {
    flex: 1;
    height: 6px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 9999px;
    position: relative;
    cursor: pointer;
    transition: height 0.15s ease, background 0.2s ease;
}

.progress-track:hover {
    background: rgba(255, 255, 255, 0.45);
}

.progress-track.dragging {
    height: 8px;
    cursor: grabbing;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), #4ECDC4);
    border-radius: 9999px;
    width: 0%;
    position: relative;
    transition: width 0.1s ease;
}

.progress-track.dragging .progress-fill {
    transition: none;
}

.progress-handle {
    position: absolute;
    right: -8px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    background: white;
    border-radius: 9999px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.4);
    opacity: 0;
    transition: opacity 0.15s ease, transform 0.15s ease;
}

.progress-track:hover .progress-handle {
    opacity: 1;
}

.progress-track.dragging .progress-handle {
    opacity: 1;
    width: 20px;
    height: 20px;
    right: -10px;
    box-shadow: 0 4px 12px rgba(45, 212, 160, 0.4);
    transform: translateY(-50%) scale(1.1);
}

.progress-handle:hover {
    transform: translateY(-50%) scale(1.2);
}

/* ========================================
   全屏播放页
   ======================================== */
.fullscreen-player {
    position: fixed;
    inset: 0;
    background: rgba(10, 10, 12, 0.95);
    z-index: 3000;
    display: flex;
    flex-direction: column;
}

/* 背景：封面放大做氛围，清晰可见 */
.fs-bg {
    position: absolute;
    inset: -10%;
    background-size: cover;
    background-position: center;
    filter: blur(20px) brightness(0.5) saturate(1.2);
    opacity: 0.65;
    z-index: 1;
    transform: scale(1.08);
    transition: opacity 0.6s ease, filter 0.6s ease, transform 1.2s ease;
}

.fullscreen-player.active .fs-bg {
    opacity: 0.55;
}

.fs-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(165deg, rgb(0 0 0 / 15%) 0%, rgb(0 0 0 / 46%) 35%, rgb(0 0 0 / 45%) 70%, rgb(0 0 0 / 62%) 100%);
}

/* 顶部操作栏 */
.fs-header {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 32px;
    z-index: 20;
}

.fs-close,
.fs-recommend-trigger {
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.82));
    border: 1px solid rgba(45, 212, 160, 0.25);
    border-radius: 9999px;
    color: var(--text-secondary);
    font-size: 18px;
    cursor: pointer;
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
        box-shadow 0.35s ease,
        background 0.25s ease,
        border-color 0.25s ease,
        color 0.25s ease;
    backdrop-filter: blur(12px);
    box-shadow: 
        0 4px 16px rgba(61, 50, 41, 0.08),
        0 0 0 1px rgba(255, 255, 255, 0.6);
}

.fs-close {
    width: 48px;
}

.fs-recommend-trigger {
    gap: 8px;
    padding: 0 20px 0 16px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.fs-recommend-trigger-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.fs-recommend-trigger-text {
    letter-spacing: 0.02em;
}

.fs-close:hover,
.fs-recommend-trigger:hover {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.92));
    border-color: var(--primary-color);
    color: var(--primary-color);
    box-shadow: 
        0 8px 28px rgba(45, 212, 160, 0.22),
        0 0 0 1px rgba(45, 212, 160, 0.3);
    transform: translateY(-2px);
}

.fs-recommend-trigger:hover .fs-recommend-trigger-icon {
    transform: rotate(-8deg) scale(1.08);
}

.fs-close:active,
.fs-recommend-trigger:active {
    transform: scale(0.95);
}

.fullscreen-player.fs-drawer-open .fs-recommend-trigger {
    background: linear-gradient(145deg, rgba(45, 212, 160, 0.15), rgba(45, 212, 160, 0.1));
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.fs-header-title {
    text-align: center;
    flex: 1;
}

.fs-header-label {
    font-size: 20px;
    color: #ffffff;
    font-weight: 600;
    text-shadow: 0 2px 10px rgba(45, 212, 160, 0.3);
    letter-spacing: 0.05em;
}

/* 主内容区 */
.fs-main {
    position: relative;
    flex: 1;
    display: flex;
    padding: 12px 48px 8px;
    gap: 48px;
    z-index: 10;
    max-width: 1000px;
    margin: 0 auto;
    width: 100%;
    min-height: 0;
    overflow: hidden;
}

/* 左侧区域 */
.fs-left {
    flex: 0 0 320px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* 唱片包装器 */
.vinyl-wrapper {
    position: relative;
    margin-bottom: 32px;
}

.vinyl-needle {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 40px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.3), rgba(255,255,255,0.1));
    border-radius: 2px;
    z-index: 2;
}

.vinyl-container {
    position: relative;
    width: 220px;
    height: 220px;
}

.vinyl {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 
        0 0 0 3px rgba(45, 212, 160, 0.4),
        0 0 0 6px rgba(45, 212, 160, 0.2),
        0 0 0 12px rgba(45, 212, 160, 0.1),
        0 15px 40px rgba(45, 212, 160, 0.25);
    animation: vinyl-rotate 25s linear infinite;
    animation-play-state: paused;
    position: relative;
}

.vinyl::before {
    content: '';
    position: absolute;
    inset: -20px;
    border-radius: 50%;
    background: conic-gradient(
        from 0deg,
        rgba(45, 212, 160, 0) 0deg,
        rgba(45, 212, 160, 0.15) 60deg,
        rgba(45, 212, 160, 0) 120deg,
        rgba(45, 212, 160, 0) 180deg,
        rgba(45, 212, 160, 0.15) 240deg,
        rgba(45, 212, 160, 0) 300deg
    );
    pointer-events: none;
    animation: vinyl-glow-rotate 20s linear infinite;
}

.vinyl::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--primary-color), rgba(45, 212, 160, 0.6));
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.8);
    box-shadow: 
        0 0 30px rgba(45, 212, 160, 0.6),
        0 0 60px rgba(45, 212, 160, 0.3),
        inset 0 0 15px rgba(255, 255, 255, 0.5);
    pointer-events: none;
}

@keyframes vinyl-glow-rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

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

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

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

/* 歌曲信息面板 */
.song-info-panel {
    text-align: center;
    margin-bottom: 20px;
    width: 100%;
}

.fs-song-name {
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    text-shadow: 0 0 20px rgba(45, 212, 160, 0.4);
}

.fs-singer {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin: 0 0 10px;
}

.song-tags {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.song-tags .tag {
    padding: 5px 12px;
    background: rgba(45, 212, 160, 0.15);
    border: 1px solid rgba(45, 212, 160, 0.3);
    border-radius: 20px;
    font-size: 12px;
    color: rgba(45, 212, 160, 0.9);
}

/* 操作按钮 */
.action-btns {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.action-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 14px 22px;
    background: transparent;
    border: none;
    border-radius: 0;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: none;
    position: relative;
}

.action-btn:hover {
    background: transparent;
    border: none;
    transform: none;
    box-shadow: none;
}

.action-btn img {
    width: 24px;
    height: 24px;
    object-fit: contain;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    filter: brightness(0) invert(1);
}

.action-btn .icon-off {
    display: block;
}

.action-btn .icon-on {
    display: none;
}

.action-btn.active .icon-off {
    display: none;
}

.action-btn.active .icon-on {
    display: block;
}

.action-btn:hover img {
    transform: scale(1.1);
}

.action-btn .action-text {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.75);
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.action-btn:hover .action-text {
    color: var(--primary-color);
}

/* 右侧：歌词独占，纵向拉长 */
.fs-right {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

/* 歌词面板 */
.lyrics-panel {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
    background: transparent;
    border: none;
    border-radius: 0;
    overflow: hidden;
    box-shadow: none;
    backdrop-filter: none;
}

@keyframes lyrics-panel-in {
    from {
        opacity: 0;
        transform: translateY(16px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.lyrics-header {
    display: none;
}

.lyrics-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: 0.12em;
}

.lyrics-sub {
    font-size: 11px;
    font-weight: 500;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.22em;
    opacity: 0.85;
}

.lyrics-container {
    flex: 1;
    min-height: 280px;
    max-height: calc(100vh - 280px);
    overflow-y: auto;
    overflow-x: hidden;
    padding: 0;
    scroll-behavior: smooth;
    scrollbar-width: none;
}

.lyrics-container::-webkit-scrollbar {
    display: block;
    width: 5px;
}

.lyrics-container::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--primary-color), #4ecdc4);
    border-radius: 999px;
}

.lyrics-list {
    text-align: center;
    max-width: 520px;
    margin: 0 auto;
}

.lyric-item {
    padding: 10px 0;
    font-size: 18px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    line-height: 2.2;
    letter-spacing: 0.06em;
    transition:
        color 0.45s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
        font-size 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.lyric-item.active {
    font-size: 22px;
    font-weight: 700;
    line-height: 1.8;
    letter-spacing: 0.08em;
    color: transparent;
    background: linear-gradient(110deg, #0d9488 0%, var(--primary-color) 30%, #2dd4a8 60%, #14b8a6 85%, #2dd4a8 100%);
    background-size: 300% auto;
    -webkit-background-clip: text;
    background-clip: text;
    animation: lyric-active-shine 3s ease-in-out infinite, lyric-pulse 1.5s ease-in-out infinite;
    transform: scale(1.05);
    /* filter: drop-shadow(0 0 20px rgba(45, 212, 160, 0.4)); */
}

@keyframes lyric-pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.9;
    }
}

@keyframes lyric-active-shine {
    0%,
    100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.lyric-item:not(.active):hover {
    color: rgba(255, 255, 255, 0.95);
    transform: scale(1.02);
}

/* 推荐抽屉：遮罩 + 右侧滑入 */
.fs-recommend-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 3050;
    background: rgba(45, 40, 36, 0.5);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    backdrop-filter: blur(2px);
}

.fs-recommend-backdrop.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.fs-recommend-drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(400px, 92vw);
    z-index: 3060;
    display: flex;
    flex-direction: column;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.97) 0%, rgba(253, 248, 243, 0.98) 100%);
    border-left: 1px solid rgba(61, 50, 41, 0.1);
    box-shadow: -16px 0 48px rgba(61, 50, 41, 0.12);
    transform: translateX(105%);
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;
}

.fs-recommend-drawer.open {
    transform: translateX(0);
}

.fs-drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 22px 16px;
    border-bottom: 1px solid var(--border-light);
    flex-shrink: 0;
}

.fs-drawer-title {
    margin: 0;
    font-size: 17px;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: 0.06em;
}

.fs-drawer-close {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 50%;
    background: var(--bg-hover);
    color: var(--text-secondary);
    font-size: 18px;
    cursor: pointer;
    transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.fs-drawer-close:hover {
    background: var(--primary-light);
    color: var(--primary-color);
    transform: rotate(90deg);
}

.fs-drawer-body {
    flex: 1;
    overflow-y: auto;
    padding: 8px 12px 24px;
}

.fs-drawer-body .recommend-list {
    padding: 4px 0;
}

.recommend-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 12px;
    margin-bottom: 4px;
    border-radius: 14px;
    cursor: pointer;
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), background 0.25s ease, box-shadow 0.25s ease;
}

.recommend-item:hover {
    background: rgba(45, 212, 160, 0.08);
    transform: translateX(-4px);
    box-shadow: 0 6px 20px rgba(45, 212, 160, 0.12);
}

.recommend-item img {
    width: 52px;
    height: 52px;
    border-radius: 10px;
    object-fit: cover;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.recommend-item:hover img {
    transform: scale(1.05);
}

.recommend-info {
    flex: 1;
    min-width: 0;
}

.recommend-name {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.recommend-singer {
    display: block;
    font-size: 12px;
    color: var(--text-tertiary);
    margin-top: 4px;
}

.recommend-play {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), #2dd4a8);
    border-radius: 50%;
    font-size: 12px;
    color: white;
    opacity: 0;
    transform: scale(0.85);
    transition: opacity 0.3s ease, transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 4px 14px rgba(45, 212, 160, 0.35);
}

.recommend-item:hover .recommend-play {
    opacity: 1;
    transform: scale(1);
}

/* 左下角广告位（固定显示） */
.fs-advertisement {
    position: absolute;
    left: 32px;
    bottom: 140px;
    z-index: 15;
}

.ad-banner {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: linear-gradient(135deg, rgba(45, 212, 160, 0.2), rgba(45, 212, 160, 0.1));
    border: 1px solid rgba(45, 212, 160, 0.4);
    border-radius: 12px;
    backdrop-filter: blur(15px);
    box-shadow: 0 4px 20px rgba(45, 212, 160, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ad-banner:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(45, 212, 160, 0.3);
}

/* 迷你广告 */
.ad-banner.ad-mini {
    padding: 8px 12px;
    gap: 8px;
}

.ad-banner.ad-mini .ad-icon {
    font-size: 20px;
}

.ad-banner.ad-mini .ad-title {
    font-size: 12px;
}

.ad-banner.ad-mini .ad-btn {
    padding: 6px 12px;
    font-size: 11px;
}

/* 横向广告 */
.ad-banner.ad-horizontal {
    padding: 10px 14px;
}

.ad-banner.ad-horizontal .ad-icon {
    font-size: 24px;
}

.ad-icon {
    font-size: 28px;
    line-height: 1;
}

.ad-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.ad-title {
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
}

.ad-desc {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.7);
}

.ad-btn {
    padding: 8px 18px;
    background: linear-gradient(135deg, var(--primary-color), #2dd4a8);
    border: none;
    border-radius: 20px;
    color: #ffffff;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 12px rgba(45, 212, 160, 0.4);
}

.ad-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(45, 212, 160, 0.5);
}

.ad-btn:active {
    transform: scale(0.95);
}

/* 底部控制栏 */
.fs-controls {
    position: relative;
    padding: 20px 20px 40px;
    z-index: 10;
    max-width: 960px;
    margin: 0 auto;
    width: 100%;
}

.fs-btns {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    padding: 16px 0;
}

.fs-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 22px;
    background: transparent;
    border: none;
    border-radius: 9999px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
    position: relative;
    z-index: 10;
    box-shadow: none;
    /* border: 2px solid #12b881de; */
}

.fs-btn img {
    width: 24px;
    height: 24px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.fs-btn:hover {
    color: #ffffff;
    background: rgb(45, 212, 159);
    transform: scale(1.12);
}

.fs-btn:hover img {
    filter: brightness(0) invert(1);
}

.fs-btn:active {
    transform: scale(0.95);
}

.fs-btn.play-btn {
    width: 72px;
    height: 72px;
    background: transparent;
    color: var(--primary-color) !important;
    border: 3px solid var(--primary-color);
    border-radius: 9999px;
    font-size: 30px;
}

.fs-btn.play-btn img {
    width: 30px;
    height: 30px;
    object-fit: contain;
}

.fs-btn.play-btn:hover {
    background: var(--primary-color);
    color: white !important;
    transform: scale(1.08);
}

.fs-btn.play-btn:hover img {
    filter: brightness(0) invert(1);
}

/* ========================================
   播放列表弹窗
   ======================================== */
.playlist-modal {
    position: fixed;
    bottom: var(--player-height);
    right: 24px;
    width: 400px;
    max-height: 500px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    box-shadow: var(--shadow-lg);
    z-index: 1002;
    display: none;
    flex-direction: column;
}

.playlist-modal.active {
    display: flex;
}

.playlist-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-color);
}

.playlist-header h3 {
    font-size: 16px;
    font-weight: 600;
}

.clear-list {
    font-size: 13px;
    color: var(--text-secondary);
    transition: color var(--transition-fast);
}

.clear-list:hover {
    color: var(--error-color);
}

.close-modal {
    font-size: 24px;
    color: var(--text-secondary);
    line-height: 1;
    transition: color var(--transition-fast);
}

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

.playlist-body {
    flex: 1;
    overflow-y: auto;
    padding: 8px 0;
}

.playlist-item {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    gap: 12px;
    cursor: pointer;
    transition: background var(--transition-fast);
}

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

.playlist-item.active {
    background: var(--primary-light);
}

.playlist-item.active .item-name {
    color: var(--primary-color);
}

.playlist-item .item-index {
    width: 24px;
    font-size: 12px;
    color: var(--text-tertiary);
    text-align: center;
}

.playlist-item.active .item-index {
    color: var(--primary-color);
}

.playlist-item .item-info {
    flex: 1;
    min-width: 0;
}

.playlist-item .item-name {
    font-size: 14px;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.playlist-item .item-singer {
    font-size: 12px;
    color: var(--text-secondary);
}

.playlist-item .item-duration {
    font-size: 12px;
    color: var(--text-tertiary);
}

.playlist-item .item-delete {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-tertiary);
    opacity: 0;
    transition: all var(--transition-fast);
}

.playlist-item:hover .item-delete {
    opacity: 1;
}

.playlist-item .item-delete:hover {
    color: var(--error-color);
}

.playlist-empty {
    text-align: center;
    padding: 40px 20px;
    font-size: 14px;
    color: var(--text-secondary);
}

/* 响应式 */
@media (max-width: 1200px) {
    .fs-main {
        flex-direction: column;
        padding: 20px 40px;
        gap: 32px;
    }
    
    .fs-left {
        flex: none;
    }
    
    .fs-right {
        flex: none;
        max-width: none;
        width: 100%;
        min-height: 0;
    }

    .lyrics-container {
        max-height: min(52vh, 420px);
    }

    .vinyl-container {
        width: 260px;
        height: 260px;
    }
}

@media (max-width: 1024px) {
    .fs-right {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .progress-bar .time {
        display: none;
    }
    
    .fs-main {
        padding: 16px;
        gap: 24px;
    }
    
    .vinyl-container {
        width: 220px;
        height: 220px;
    }
    
    .fs-song-name {
        font-size: 20px;
    }
    
    .action-btns {
        gap: 12px;
    }
    
    .action-btn {
        padding: 10px 14px;
    }
    
    .action-btn .action-icon {
        font-size: 18px;
    }
    
    .lyrics-container {
        max-height: min(45vh, 320px);
        padding: 20px 16px 36px;
    }

    .lyric-item {
        font-size: 15px;
        padding: 10px 12px;
    }

    .lyric-item.active {
        font-size: clamp(19px, 5vw, 24px);
    }

    .fs-controls {
        padding: 16px;
    }
    
    .fs-header {
        padding: 16px;
    }
}

/* ========================================
   播放器页面专用广告样式
   ======================================== */
.player-ads {
    position: fixed;
    left: 20px;
    bottom: 100px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* 广告卡片基础样式 */
.player-ad-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.player-ad-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

/* 大广告卡片 */
.player-ad-large {
    width: 160px;
}

/* 小广告卡片 - 横向布局 */
.player-ad-small {
    width: 160px;
    display: flex;
    align-items: center;
    padding: 8px;
    gap: 10px;
}

/* 图片容器 */
.player-ad-img-wrap {
    position: relative;
    width: 100%;
    height: 100px;
    overflow: hidden;
}

.player-ad-img-small {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
    border-radius: 8px;
}

.player-ad-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.player-ad-card:hover .player-ad-img-wrap img {
    transform: scale(1.05);
}

/* 广告标签 */
.player-ad-label {
    position: absolute;
    top: 4px;
    right: 4px;
    padding: 1px 4px;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 3px;
    font-size: 9px;
    color: #fff;
    z-index: 1;
}

.player-ad-label-small {
    font-size: 8px;
    padding: 1px 3px;
}

/* 广告内容区 */
.player-ad-body {
    padding: 10px;
}

.player-ad-body-small {
    padding: 0;
    flex: 1;
    min-width: 0;
}

/* 广告标题 */
.player-ad-title {
    font-size: 13px;
    font-weight: 600;
    color: #333;
    margin: 0 0 4px 0;
}

.player-ad-title-small {
    font-size: 12px;
    margin: 0 0 6px 0;
}

/* 广告描述 */
.player-ad-desc {
    font-size: 11px;
    color: #666;
    margin: 0 0 8px 0;
}

/* 广告按钮 */
.player-ad-btn {
    width: 100%;
    padding: 6px 0;
    background: linear-gradient(135deg, #2DD4A0, #22B88A);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.player-ad-btn:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 12px rgba(45, 212, 160, 0.4);
}

.player-ad-btn-small {
    padding: 4px 0;
    font-size: 10px;
    border-radius: 4px;
}

/* 响应式：小屏幕隐藏播放器广告 */
@media (max-width: 1024px) {
    .player-ads {
        display: none;
    }
}
