/**
 * SYHUO音乐页面样式
 * 从 music.php 迁移而来
 */

/* 音乐页面背景 - 只影响内容区域，不影响导航栏 */
/* 导航栏样式由 style.css 统一控制 */

/* 页脚样式 - 使用全局统一样式，不再单独覆盖 */

/* 音乐页面顶部搜索栏 */
.music-top {
    height: 70px; 
    background: #fff; 
    /* 移除顶部边框，避免与导航栏底部橙色边框重叠 */
    border-top: none;
    border-bottom: 1px solid #e5e5e5; 
    display: flex; 
    align-items: center; 
    padding: 0 40px; 
}
.music-top .logo h1 {
    color: #ff6700; 
    font-size: 24px; 
    font-weight: normal; 
}
.music-top .search {
    flex: 1; 
    display: flex; 
    max-width: 500px; 
    margin: 0 40px; 
}
.music-top .search input {
    flex: 1; 
    height: 36px; 
    padding: 0 15px; 
    border: 1px solid #e5e5e5; 
    border-right: none; 
    outline: none; 
    font-size: 14px; 
}
.music-top .search input:focus {
    border-color: #ff6700; 
}
.music-top .search button {
    width: 80px; 
    height: 36px; 
    background: #ff6700; 
    color: #fff; 
    border: none; 
    cursor: pointer; 
    font-size: 14px; 
}
.music-top .search button:hover {
    background: #e55d00; 
}
.music-top .user-nav {
    margin-left: auto; 
}
.music-top .user-nav a {
    color: #666; 
    margin-left: 20px; 
    font-size: 14px; 
}
.music-top .user-nav a:hover {
    color: #ff6700; 
}

/* 分类导航 */
.cat-nav { 
    height: 40px; 
    background: #fff; 
    border-bottom: 2px solid #e5e5e5; 
    display: flex; 
    align-items: center; 
    padding: 0 40px; 
}
.cat-nav a { 
    padding: 0 25px; 
    height: 40px; 
    line-height: 40px; 
    color: #666; 
    font-size: 14px; 
    text-decoration: none;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
}
.cat-nav a:hover { 
    color: #ff6700; 
}
.cat-nav a.active { 
    color: #ff6700; 
    font-weight: bold;
    border-bottom-color: #ff6700;
}

/* 主区域 */
.music-main {
    padding: 15px 0 10px;
    min-height: calc(100vh - 280px); /* 减去顶部导航+搜索栏+分类栏+播放器+footer的高度 */
    background: #f5f5f5; /* 与商城保持一致的浅灰色背景 */
}

/* 排序栏 */
.sort-bar {
    height: 38px; 
    background: #fff; 
    border: 1px solid #e5e5e5; 
    display: flex; 
    align-items: center; 
    padding: 0 40px; 
    margin-bottom: 10px; 
}
.sort-bar a { 
    padding: 0 12px; 
    height: 28px; 
    line-height: 28px; 
    color: #666; 
    font-size: 13px; 
    text-decoration: none;
}
.sort-bar a:hover, 
.sort-bar a.active { 
    color: #ff6700; 
}
.sort-bar .count { 
    margin-left: auto; 
    color: #999; 
    font-size: 12px; 
}

/* 批量操作栏 */
.batch-bar {
    height: 45px;
    background: #fff;
    border: 1px solid #e5e5e5;
    display: flex;
    align-items: center;
    padding: 0 40px;
    margin-bottom: 10px;
    gap: 15px;
}
.batch-bar .select-all {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    color: #666;
    cursor: pointer;
}
.batch-bar .select-all input[type="checkbox"] {
    width: 16px;
    height: 16px;
    cursor: pointer;
}
.batch-bar .selected-count {
    font-size: 13px;
    color: #999;
}
.batch-bar .selected-count span {
    color: #ff6700;
    font-weight: bold;
}
.batch-bar .batch-download-btn {
    margin-left: auto;
    padding: 6px 20px;
    background: #ff6700;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s;
}
.batch-bar .batch-download-btn:hover:not(:disabled) {
    background: #e55d00;
}
.batch-bar .batch-download-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    opacity: 0.6;
}

/* 音乐列表表格 */
.music-table { 
    width: 100%; 
    border-collapse: collapse; 
    background: #fff; 
}
.music-table th { 
    background: #fafafa; 
    padding: 8px 12px; 
    text-align: left; 
    font-size: 12px; 
    color: #999; 
    border-bottom: 1px solid #e5e5e5; 
    font-weight: normal; 
}
.music-table td { 
    padding: 10px 12px; 
    border-bottom: 1px solid #f0f0f0; 
    font-size: 13px; 
}
.music-table tr:hover { 
    background: #fafafa; 
}
.music-table tr.playing { 
    background: #fff7f0; 
}
.music-table .checkbox-col { 
    width: 40px; 
    text-align: center; 
}
.music-table .checkbox-col input[type="checkbox"] {
    width: 16px;
    height: 16px;
    cursor: pointer;
}
.music-table .idx { 
    width: 40px; 
    text-align: center; 
    color: #999; 
}
.music-table .title-col { 
    cursor: pointer; 
}
.music-table .title-col .title { 
    color: #333; 
}
.music-table .title-col .title:hover { 
    color: #ff6700; 
}
.music-table .artist { 
    color: #666; 
}
.music-table .album { 
    color: #999; 
}
.music-table .duration { 
    color: #999; 
    width: 60px; 
}
.music-table .plays { 
    color: #999; 
    width: 80px; 
}
.music-table .actions { 
    width: 80px; 
}
.music-table .actions a { 
    color: #999; 
    margin-right: 10px; 
    cursor: pointer; 
    font-size: 15px; 
}
.music-table .actions a:hover { 
    color: #ff6700; 
}
.music-table .actions a.faved { 
    color: #ff6700; 
}

/* 分页 */
.pagination { 
    display: flex; 
    justify-content: center; 
    margin-top: 15px; 
}
.pagination a, 
.pagination span { 
    display: inline-block; 
    padding: 4px 12px; 
    margin: 0 2px; 
    border: 1px solid #e5e5e5; 
    background: #fff; 
    color: #666; 
    font-size: 12px; 
}
.pagination a:hover { 
    border-color: #ff6700; 
    color: #ff6700; 
}
.pagination .active { 
    border-color: #ff6700; 
    background: #ff6700; 
    color: #fff; 
}
.pagination .disabled { 
    color: #ccc; 
    cursor: default; 
}

/* 底部播放器 - 在文档流中，位于内容和footer之间 */
.player-bar { 
    position: relative; 
    width: 100%; 
    height: auto; 
    min-height: 70px;
    background: #fff; 
    border-top: 1px solid #e5e5e5; 
    border-bottom: 1px solid #e5e5e5; /* 底部边框与footer分隔 */
    display: flex; 
    align-items: center; 
    padding: 12px 30px; 
    box-sizing: border-box;
    margin-bottom: 0;
}
.player-bar .info { 
    display: flex; 
    align-items: center; 
    width: 240px; 
}
.player-bar .cover { 
    width: 44px; 
    height: 44px; 
    background: #f0f0f0; 
    margin-right: 12px; 
    flex-shrink: 0; 
    border-radius: 4px;
    overflow: hidden;
}
.player-bar .cover img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
}
.player-bar .song-info { 
    overflow: hidden; 
}
.player-bar .song-title { 
    font-size: 13px; 
    color: #333; 
    white-space: nowrap; 
    overflow: hidden; 
    text-overflow: ellipsis; 
}
.player-bar .song-artist { 
    font-size: 11px; 
    color: #999; 
    margin-top: 2px;
}
.player-bar .controls { 
    flex: 1; 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    gap: 8px; 
}
.player-bar .btns { 
    display: flex; 
    align-items: center; 
    gap: 12px; 
}
/* 控制按钮 - 光泽图标风格（与白色模板一致） */
.player-bar .btns span { 
    cursor: pointer; 
    font-size: 18px; 
    color: #666; 
    user-select: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    border-radius: 0;
    transition: transform 0.2s;
}
.player-bar .btns span:hover { 
    transform: scale(1.1);
}
/* 播放/暂停主按钮 - 稍大尺寸 */
.player-bar .btns .play-btn { 
    width: 44px;
    height: 44px;
    min-width: 44px;
    background: transparent;
}
.player-bar .btns .play-btn:hover {
    transform: scale(1.06);
}
/* 播放器光泽按钮图标（skin_03 紫色光泽风格） */
.player-bar .btns span img {
    width: 28px;
    height: 28px;
    display: block;
}
.player-bar .btns .play-btn img {
    width: 44px;
    height: 44px;
}
.player-bar .vol span img {
    width: 24px;
    height: 24px;
    display: block;
}
/* 进度条区域 - 现代圆角条形设计 */
.player-bar .progress { 
    display: flex; 
    align-items: center; 
    gap: 10px; 
    width: 100%; 
    max-width: 450px; 
    padding: 0 10px;
}
.player-bar .progress .time { 
    font-size: 11px; 
    color: #666; 
    width: 38px; 
    text-align: center;
    font-family: 'Courier New', monospace;
}
/* 进度条轨道 - 圆角灰色背景 */
.player-bar .progress-track { 
    flex: 1; 
    height: 6px; 
    background: #e8e8e8; 
    border-radius: 3px;
    cursor: pointer; 
    position: relative; 
    overflow: hidden;
}
/* 进度条填充 - 橙色渐变 */
.player-bar .progress-fill { 
    height: 100%; 
    background: linear-gradient(90deg, #ff8c00, #ff6700);
    border-radius: 3px;
    width: 0; 
    pointer-events: none;
    transition: width 0.1s linear;
}
/* 进度条悬停效果 */
.player-bar .progress-track:hover {
    height: 8px;
    margin: -1px 0;
}
.player-bar .progress-track:hover .progress-fill {
    border-radius: 4px;
}
.player-bar .vol { 
    display: flex; 
    align-items: center; 
    gap: 8px; 
    width: 140px; 
    justify-content: flex-end; 
}
.player-bar .vol span { 
    font-size: 16px; 
    color: #666; 
    cursor: pointer; 
}
.player-bar .vol-track { 
    width: 80px; 
    height: 4px; 
    background: #e8e8e8; 
    border-radius: 2px;
    cursor: pointer; 
    position: relative; 
    overflow: hidden;
}
.player-bar .vol-fill { 
    height: 100%; 
    background: linear-gradient(90deg, #ff8c00, #ff6700);
    border-radius: 2px;
    width: 80%; 
    pointer-events: none; 
}

/* 空状态 */
.music-empty { 
    text-align: center; 
    padding: 40px;
    min-height: calc(100vh - 380px); /* 让空状态区域也有足够高度 */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #999; 
    background: #fff; 
}
.music-empty .bi { font-size: 56px; color: #dcdcdc; margin-bottom: 18px; }
.music-empty .empty-title { font-size: 16px; color: #666; font-weight: 600; margin: 0 0 8px; }
.music-empty .empty-hint { font-size: 13px; color: #aaa; margin: 0; }

/* ========== 播放列表相关样式 ========== */

/* 操作列 - 添加到播放器按钮 */
.music-table .actions { 
    width: 110px; 
}
.music-table .actions .add-playlist-btn {
    color: #999;
    cursor: pointer;
    font-size: 15px;
    font-weight: bold;
    transition: color 0.2s;
}
.music-table .actions .add-playlist-btn:hover {
    color: #ff6700;
}
.music-table .actions .add-playlist-btn.added {
    color: #52c41a;
}

/* 播放器扩展控件 */
.player-bar .extra-controls {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-left: 20px;
}
.player-bar .extra-controls .playlist-btn {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    font-size: 13px;
    color: #666;
    user-select: none;
    position: relative;
    padding: 5px 12px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    background: #fafafa;
    white-space: nowrap;
    transition: all 0.2s;
}
.player-bar .extra-controls .playlist-btn:hover {
    color: #ff6700;
    border-color: #ff6700;
    background: #fff5f0;
}
.player-bar .extra-controls .playlist-btn.active {
    color: #ff6700;
    border-color: #ff6700;
    background: #fff5f0;
}
.player-bar .extra-controls .playlist-btn .playlist-label {
    line-height: 1;
}
.player-bar .extra-controls .playlist-btn .playlist-arrow {
    font-size: 12px;
    margin-left: 5px;
    line-height: 1;
}
/* 播放模式按钮（在btns里） */
.player-bar .btns .mode-btn {
    font-size: 16px;
    opacity: 0.7;
}
.player-bar .btns .mode-btn:hover {
    opacity: 1;
}
.player-bar .btns .mode-btn.active {
    color: #ff6700;
    opacity: 1;
}
/* 播放列表按钮显示数量角标 */
.player-bar .extra-controls .playlist-btn .badge {
    position: absolute;
    top: -7px;
    right: -7px;
    background: #ff6700;
    color: #fff;
    font-size: 10px;
    min-width: 16px;
    height: 16px;
    line-height: 16px;
    border-radius: 8px;
    text-align: center;
    padding: 0 4px;
}

/* 播放列表面板 */
.playlist-panel {
    position: absolute;
    bottom: 100%;
    right: 30px;
    width: 320px;
    max-height: 0;
    background: #fff;
    border-radius: 8px 8px 0 0;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
    overflow: hidden;
    transition: max-height 0.3s ease;
    z-index: 100;
}
.playlist-panel.show {
    max-height: 360px;
}
.playlist-panel .panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    border-bottom: 1px solid #f0f0f0;
    background: #fafafa;
}
.playlist-panel .panel-header .title {
    font-size: 14px;
    color: #333;
    font-weight: 500;
}
.playlist-panel .panel-header .title span {
    color: #999;
    font-weight: normal;
    margin-left: 4px;
}
.playlist-panel .panel-header .clear-btn {
    font-size: 12px;
    color: #999;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 4px;
    transition: all 0.2s;
}
.playlist-panel .panel-header .clear-btn:hover {
    color: #ff6700;
    background: #fff5f0;
}
.playlist-panel .panel-body {
    max-height: 300px;
    overflow-y: auto;
}
.playlist-panel .panel-body::-webkit-scrollbar {
    width: 6px;
}
.playlist-panel .panel-body::-webkit-scrollbar-track {
    background: #f5f5f5;
}
.playlist-panel .panel-body::-webkit-scrollbar-thumb {
    background: #ddd;
    border-radius: 3px;
}
.playlist-panel .panel-body::-webkit-scrollbar-thumb:hover {
    background: #ccc;
}
.playlist-panel .playlist-item {
    display: flex;
    align-items: center;
    padding: 10px 16px;
    cursor: pointer;
    transition: background 0.2s;
}
.playlist-panel .playlist-item:hover {
    background: #fafafa;
}
.playlist-panel .playlist-item.playing {
    background: #fff7f0;
}
.playlist-panel .playlist-item .item-info {
    flex: 1;
    overflow: hidden;
}
.playlist-panel .playlist-item .item-title {
    font-size: 13px;
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.playlist-panel .playlist-item.playing .item-title {
    color: #ff6700;
}
.playlist-panel .playlist-item .item-artist {
    font-size: 11px;
    color: #999;
    margin-top: 2px;
}
.playlist-panel .playlist-item .remove-btn {
    color: #ccc;
    font-size: 16px;
    cursor: pointer;
    padding: 4px;
    margin-left: 8px;
    transition: color 0.2s;
    opacity: 0;
}
.playlist-panel .playlist-item:hover .remove-btn {
    opacity: 1;
}
.playlist-panel .playlist-item .remove-btn:hover {
    color: #ff4d4f;
}
.playlist-panel .empty-msg {
    text-align: center;
    padding: 30px;
    color: #999;
    font-size: 13px;
}
/* 当前模式指示 */
.playlist-panel .panel-header .mode-indicator {
    font-size: 11px;
    color: #ff6700;
    background: #fff5f0;
    padding: 2px 8px;
    border-radius: 10px;
    margin-left: 8px;
}

/* Toast 提示 */
.syhuo-toast {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #ff6700;
    color: #fff;
    padding: 12px 24px;
    border-radius: 6px;
    font-size: 14px;
    z-index: 10000;
    box-shadow: 0 4px 12px rgba(255, 103, 0, 0.4);
    animation: toastIn 0.3s ease;
}
.syhuo-toast.fade-out {
    animation: toastOut 0.3s ease forwards;
}
@keyframes toastIn {
    from { opacity: 0; transform: translate(-50%, -50%) scale(0.8); }
    to { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}
@keyframes toastOut {
    from { opacity: 1; transform: translate(-50%, -50%) scale(1); }
    to { opacity: 0; transform: translate(-50%, -50%) scale(0.8); }
}

/* ========== 响应式设计 ========== */

/* 平板端 (768px - 1199px) */
@media (max-width: 1199px) and (min-width: 768px) {
    /* 音乐顶部搜索栏 */
    .music-top {
        padding: 0 20px;
    }
    .music-top .search {
        margin: 0 20px;
        max-width: 400px;
    }
    
    /* 分类导航 */
    .cat-nav {
        padding: 0 20px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    .cat-nav a {
        flex-shrink: 0;
        padding: 0 18px;
    }
    
    /* 排序栏/批量操作栏与分类导航对齐 */
    .sort-bar {
        padding: 0 20px;
    }
    .batch-bar {
        padding: 0 20px;
    }
    
    /* 播放器 */
    .player-bar .info {
        width: 200px;
    }
    .player-bar .progress {
        max-width: 350px;
    }
}

/* 手机端 (< 768px) */
@media (max-width: 767px) {
    /* 音乐顶部搜索栏 */
    .music-top {
        height: auto;
        flex-wrap: wrap;
        padding: 12px 15px;
        gap: 10px;
    }
    .music-top .logo h1 {
        font-size: 18px;
    }
    .music-top .search {
        order: 3;
        flex: 1 1 100%;
        max-width: 100%;
        margin: 10px 0 0 0;
    }
    .music-top .search input {
        height: 40px;
        font-size: 14px;
        padding: 0 12px;
    }
    .music-top .search button {
        width: 70px;
        height: 40px;
        font-size: 13px;
    }
    .music-top .user-nav {
        margin-left: auto;
    }
    .music-top .user-nav a {
        margin-left: 12px;
        font-size: 13px;
    }
    
    /* 分类导航横向滚动 */
    .cat-nav {
        padding: 0 15px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .cat-nav::-webkit-scrollbar {
        display: none;
    }
    .cat-nav a {
        flex-shrink: 0;
        padding: 0 15px;
        font-size: 13px;
        white-space: nowrap;
    }
    
    /* 主内容区 */
    .music-main {
        padding: 12px 0;
        min-height: calc(100vh - 320px);
    }
    
    /* 排序栏 */
    .sort-bar {
        padding: 0 15px;
        margin-bottom: 8px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    .sort-bar a {
        padding: 0 10px;
        flex-shrink: 0;
        font-size: 13px;
    }
    .batch-bar {
        padding: 0 15px;
    }
    
    /* 音乐表格 - 手机端隐藏部分列 */
    .music-table {
        font-size: 13px;
    }
    .music-table th,
    .music-table td {
        padding: 8px 10px;
    }
    /* 隐藏专辑和播放次数列 */
    .music-table th:nth-child(4),
    .music-table td.album,
    .music-table th:nth-child(6),
    .music-table td.plays {
        display: none;
    }
    /* 时长列隐藏 */
    .music-table th:nth-child(5),
    .music-table td.duration {
        display: none;
    }
    .music-table .idx {
        width: 30px;
        font-size: 12px;
    }
    .music-table .title-col .title {
        max-width: 120px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        display: inline-block;
    }
    .music-table .artist {
        max-width: 80px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    .music-table .actions {
        width: 70px;
    }
    .music-table .actions a {
        margin-right: 8px;
        font-size: 16px;
    }
    
    /* 表格横向滚动包裹 */
    .music-table-wrapper {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    /* 分页 */
    .pagination {
        flex-wrap: wrap;
        gap: 5px;
        margin-top: 12px;
    }
    .pagination a, .pagination span {
        padding: 8px 12px;
        font-size: 12px;
        min-width: 36px;
        text-align: center;
    }
    
    /* 底部播放器 */
    .player-bar {
        flex-wrap: wrap;
        padding: 10px 15px;
        min-height: auto;
        gap: 10px;
    }
    .player-bar .info {
        width: 100%;
        order: 1;
    }
    .player-bar .cover {
        width: 40px;
        height: 40px;
    }
    .player-bar .song-title {
        font-size: 13px;
    }
    .player-bar .song-artist {
        font-size: 11px;
    }
    .player-bar .controls {
        order: 2;
        width: 100%;
        flex-direction: column;
        gap: 8px;
    }
    .player-bar .btns {
        gap: 8px;
    }
    .player-bar .btns span {
        width: 40px;
        height: 40px;
        min-width: 40px;
        font-size: 16px;
    }
    .player-bar .btns .play-btn {
        width: 48px;
        height: 48px;
        min-width: 48px;
        font-size: 20px;
    }
    .player-bar .progress {
        width: 100%;
        max-width: 100%;
        padding: 0;
    }
    .player-bar .progress .time {
        font-size: 11px;
        width: 35px;
    }
    .player-bar .progress-track {
        height: 8px;
    }
    .player-bar .vol {
        order: 3;
        width: auto;
        justify-content: center;
    }
    .player-bar .vol-track {
        width: 60px;
    }
    .player-bar .extra-controls {
        order: 4;
        margin-left: 0;
    }
    
    /* 播放列表面板 */
    .playlist-panel {
        right: 0;
        left: 0;
        width: 100%;
        max-width: 100%;
        border-radius: 12px 12px 0 0;
    }
    .playlist-panel.show {
        max-height: 50vh;
    }
    .playlist-panel .panel-header {
        padding: 10px 15px;
    }
    .playlist-panel .playlist-item {
        padding: 10px 15px;
    }
    .playlist-panel .playlist-item .item-title {
        font-size: 13px;
    }
    
    /* 空状态 */
    .music-empty {
        padding: 30px;
        min-height: calc(100vh - 400px);
    }
}

/* 超小屏幕 (< 480px) */
@media (max-width: 479px) {
    .music-top .logo h1 {
        font-size: 16px;
    }
    .music-top .user-nav a {
        margin-left: 10px;
        font-size: 12px;
    }
    
    /* 表格进一步简化 */
    .music-table .title-col .title {
        max-width: 100px;
    }
    .music-table .artist {
        max-width: 60px;
    }
    .music-table .actions {
        width: 60px;
    }
    .music-table .actions a {
        margin-right: 6px;
        font-size: 14px;
    }
    
    /* 播放器按钮 */
    .player-bar .btns span {
        width: 36px;
        height: 36px;
        min-width: 36px;
        font-size: 14px;
    }
    .player-bar .btns .play-btn {
        width: 44px;
        height: 44px;
        min-width: 44px;
        font-size: 18px;
    }
    
    /* 最小点击区域 */
    .cat-nav a,
    .sort-bar a,
    .pagination a,
    .pagination span,
    .music-table .actions a {
        min-height: 44px;
        min-width: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
}

/* 横屏手机优化 */
@media (max-height: 500px) and (orientation: landscape) {
    .player-bar {
        padding: 8px 15px;
    }
    .player-bar .info {
        width: 180px;
    }
    .player-bar .controls {
        flex-direction: row;
        gap: 15px;
        flex: 1;
    }
    .player-bar .btns {
        gap: 6px;
    }
    .player-bar .progress {
        max-width: 250px;
    }
    .playlist-panel.show {
        max-height: 70vh;
    }
}

