/* pad.css - Pad设备全屏播放器适配 */

/* 全局Pad适配 */
@media (min-width: 768px) {
    /* 全屏播放器容器调整 */
    .player-page {
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 0 20px;
        box-sizing: border-box;
        max-width: 1200px;
        margin: 0 auto;
    }
    
    /* 导航栏调整 */
    .player-nav {
        height: 60px;
        padding: 0 30px;
    }
    
    .player-nav .back-btn {
        font-size: 24px;
        padding: 12px 20px;
    }
    
    .player-nav .tab {
        font-size: 18px;
        gap: 15px;
    }
    
    /* Swiper容器调整 */
    .player-swiper {
        top: 60px;
        bottom: 0;
        height: calc(100vh - 60px);
        width: 100%;
        max-width: 900px;
        margin: 0 auto;
    }
    
    /* 音乐页面布局调整 */
    .music-page {
        padding: 40px 60px 100px;
        justify-content: space-between;
    }
    
    /* 专辑封面区域 */
    .album-wrapper {
        flex: 2;
        margin-top: 20px;
    }
    
    .album-image {
        max-width: 400px;
        border-radius: 15%;
        border: 4px solid rgba(255, 255, 255, 0.15);
    }
    
    /* 歌曲信息调整 */
    .song-info {
        margin: 25px 0;
    }
    
    .song-info .name {
        font-size: 24px;
        margin-bottom: 10px;
    }
    
    .song-info .subtitle {
        font-size: 16px;
    }
    
    .song-info .singer {
        margin-bottom: 6px;
    }
    
    /* 歌词显示区域 */
    .musiclyric-container {
        margin: 25px 0;
    }
    
    .like-btn,
    .more-btn {
        width: 36px;
        height: 36px;
    }
    
    .like-icon,
    .more-icon {
        font-size: 22px;
    }
    
    .musiclyric-info {
        height: 90px;
    }
    
    .musiclyric-text {
        font-size: 16px;
        line-height: 1.8;
    }
    
    /* 进度条区域 */
    .progress-wrapper {
        margin: 25px 0;
        padding: 15px 0;
    }
    
    .progress-bar {
        height: 6px;
        border-radius: 3px;
    }
    
    .progress-bar::-webkit-slider-thumb {
        width: 16px;
        height: 16px;
    }
    
    .progress-bar::-moz-range-thumb {
        width: 16px;
        height: 16px;
    }
    
    .time-info {
        font-size: 14px;
        margin-top: 8px;
    }
    
    /* 控制按钮区域 */
    .operation {
        margin: 25px 0;
        gap: 10px;
        padding: 10px 0;
    }
    
    .operation .btn {
        width: 40px;
        height: 40px;
    }
    
    .operation .btn-mode,
    .operation .btn-history {
        width: 30px;
        height: 30px;
    }
    
    .operation .btn-pause {
        width: 65px !important;
        height: 65px !important;
    }
    
    /* 歌词页面调整 */
    .lyric-page {
        padding: 0 40px;
    }
    
    .lyric-line {
        font-size: 16px;
        min-height: 55px;
        padding: 12px 0;
    }
    
    .lyric-line.active {
        font-size: 20px;
        margin: 12px 0;
    }
}

/* Pad横屏优化 */
@media (min-width: 768px) and (orientation: landscape) {
    .player-swiper {
        max-width: 1000px;
    }
    
    .music-page {
        padding: 30px 80px 90px;
    }
    
    .album-wrapper {
        flex: 2.5;
    }
    
    .album-image {
        max-width: 350px;
    }
    
    .musiclyric-info {
        height: 80px;
    }
    
    .operation {
        gap: 15px;
        padding: 15px 0;
    }
    
    .operation .btn {
        width: 45px;
        height: 45px;
    }
    
    .operation .btn-pause {
        width: 70px !important;
        height: 70px !important;
    }
    
    .lyric-list {
        padding-top: 30vh;
        padding-bottom: 30vh;
    }
    
    .lyric-line {
        min-height: 50px;
    }
}

/* 大尺寸Pad (iPad Pro等) */
@media (min-width: 1024px) {
    .player-page {
        max-width: 1400px;
        padding: 0 40px;
    }
    
    .player-swiper {
        max-width: 1000px;
    }
    
    .music-page {
        padding: 50px 80px 120px;
    }
    
    .album-image {
        max-width: 450px;
    }
    
    .song-info .name {
        font-size: 26px;
    }
    
    .song-info .subtitle {
        font-size: 18px;
    }
    
    .musiclyric-text {
        font-size: 17px;
    }
    
    .operation {
        gap: 20px;
    }
    
    .operation .btn {
        width: 48px;
        height: 48px;
    }
    
    .operation .btn-pause {
        width: 75px !important;
        height: 75px !important;
    }
    
    .lyric-line {
        font-size: 17px;
        min-height: 60px;
    }
    
    .lyric-line.active {
        font-size: 22px;
    }
}

/* 确保内容不被截断 */
@media (max-height: 900px) {
    .player-swiper {
        height: calc(100vh - 70px);
        top: 70px;
    }
    
    .music-page {
        padding-top: 20px;
        padding-bottom: 80px;
    }
    
    .album-wrapper {
        flex: 1.8;
    }
    
    .album-image {
        max-width: 350px;
    }
}

/* 超小高度设备（如横屏手机） */
@media (max-height: 600px) {
    .player-swiper {
        height: calc(100vh - 80px);
        top: 80px;
    }
    
    .music-page {
        padding: 20px 40px 60px;
    }
    
    .album-wrapper {
        flex: 1.5;
    }
    
    .album-image {
        max-width: 280px;
    }
    
    .song-info .name {
        font-size: 20px;
    }
    
    .musiclyric-info {
        height: 70px;
        margin: 15px 0;
    }
    
    .musiclyric-text {
        font-size: 14px;
    }
    
    .operation {
        margin: 15px 0;
    }
}