@charset "utf-8";
/**************************************************
 * MKOnlinePlayer v2.31
 * 小屏幕样式修复
 * 编写：mengkun(http://mkblog.cn)
 * 时间：2017-9-13
 *************************************************/

/* 小于 900px 采用这个样式 */
@media screen and (max-width: 900px) {
    /*隐藏头部logo*/
    .header {
        display: none;
    }
    /*中部顶格*/
    .center {
        top: 0;
    }
    
    /* 调出播放器按钮 */
    .btn[data-action='player'] {
        display: inline-block;
    }
    
    /* 按钮工具条区域 */
    .btn-bar {
        height: 35px;
        right: 0;
        z-index: 999;
    }
    .btn-box {
        background-color: #000;
        background-color: rgba(0, 0, 0, 0.12);
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
    }
    .btn {
        margin: 0;
        padding: 0;
        width: 20%;
        height: 100%;
        display: block;
        float: left;
        border: none;
        text-align: center;
        line-height: 35px;
        color: #C5C5C5;
    }
    
    /* 返回首页按钮样式 */
    .home-btn {
        color: #31c27c !important;
        background-color: transparent !important;
        border: none !important;
        opacity: 0.8 !important;
        font-weight: bold !important;
        font-size: inherit !important;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        padding: 0 !important;
    }
    
    .home-btn:hover {
        color: #45d995 !important;
        background-color: transparent !important;
        border: none !important;
        opacity: 1 !important;
        transform: none !important;
        box-shadow: none !important;
    }
    .btn:hover {
        border: none;
    }
    .btn-box .active:after {
        content: '';
        display: block;
        border-bottom: 3px solid #A2A0A0;
        margin-top: -3px;
    }
    
    /* 中部容器区域 */
    .data-area {
        top: 40px;
    }
    
    /*数据区域占满整个屏幕*/
    .data-area {
        right: 0;
    }
    
    
    /*列表菜单不显示*/
    .list-menu {
        display: none!important;
    }
    .music-name-cult {
        padding-right: 0!important;
    }
    
    /* 专辑区域腾出位置 */
    .music-album {
        margin-right: 30px;
    }
    /* 小屏幕的列表菜单 */
    .list-mobile-menu {
        position: absolute;
        display: block;
        width: 30px;
        height: 30px;
        background-image: url(../images/player.png);
        background-position: -30px -365px;
        right: 0;
        top: 50%;
        -webkit-transform: translateY(-50%);
           -moz-transform: translateY(-50%);
            -ms-transform: translateY(-50%);
             -o-transform: translateY(-50%);
                transform: translateY(-50%);
        z-index: 2;
        cursor: pointer;
    }
    
    /*控制按钮区域缩小*/
    .con-btn {
        width: 120px;
    }
    /*进度条调整*/
    .progress {
        width: calc(100% - 130px);
        margin-left: 130px;
        margin-right: 0;
        height: 100%;
        position: relative;
    }
    /*当前播放时长在移动端的样式*/
    .current-time {
        font-size: 18px;
        left: 10px;
        width: 60px;
    }
    /*时长显示在移动端的样式*/
    .duration {
        font-size: 18px;
        right: 10px;
    }
    /*进度条盒子调整*/
    .progress-box {
        left: 70px;
        right: 70px;
    }
    /*音量控制区域隐藏*/
    .vol {
        display: none;
    }
    
    /*隐藏右侧歌词及封面*/
    .player {
        display: none;
        width: 100%;
    }
    .cover {
        margin-top: 60px;
    }
    #lyric {
        overflow-x: hidden;
        overflow-y: auto;
    }
    .music-title {
        top: 256px;
        height: 30px;
        line-height: 30px;
        font-size: 16px;
    }
    .lyric {
        top: 295px;
    }
    
    /* 歌单名称显示 - 移动端 */
    .playlist-header {
        padding: 6px 8px;
        background-color: rgba(0, 0, 0, 0.12);
        color: #31c27c;
        font-size: 12px;
        font-weight: bold;
        margin-bottom: 6px;
        border-radius: 4px;
        text-align: center;
    }
    
    /* 歌单操作按钮 - 移动端 */
    .playlist-actions {
        text-align: center;
        margin-bottom: 8px;
    }
    
    .playlist-btn {
        display: inline-block;
        padding: 3px 10px;
        margin: 0 3px;
        background-color: rgba(49, 194, 124, 0.1);
        border: 1px solid rgba(49, 194, 124, 0.3);
        color: #31c27c;
        font-size: 11px;
        font-weight: bold;
        border-radius: 10px;
        cursor: pointer;
        transition: all 0.3s ease;
    }
    
    .playlist-btn:hover {
        background-color: rgba(49, 194, 124, 0.2);
        border: 1px solid rgba(49, 194, 124, 0.5);
        color: #45d995;
    }
}

/* 小于 620px 采用这个样式 */
@media screen and (max-width: 620px) {
    /*专辑信息不显示*/
    .music-album {
        display: none;
    }
    /*歌手名字*/
    .auth-name {
        width: 35%;
        padding-right: 30px;
        box-sizing: border-box;
    }
    /*音乐名字拉长*/
    .music-name {
        margin-right: 35%;
    }
    /* 歌曲状态在小屏幕上的样式调整 */
    .music-status {
        font-size: 10px;
        padding: 0 2px;
        margin-left: 3px;
        background-color: transparent;
        display: inline-block;
    }
    /* 确保各状态在小屏幕上也能正确显示 */
    .music-status.ok {
        color: #31c27c;
    }
    .music-status.vip {
        color: #ff6a00;
    }
    .music-status.error {
        color: #ff4d4f;
    }
    .music-status.checking {
        color: #1890ff;
    }
    .music-status.unknown {
        color: #999;
    }
}

/* 小于 500px 采用这个样式 */
@media screen and (max-width: 500px) {
    .center {
        bottom: 60px;
    }
    /* 歌单封面 */
    .sheet-item {   
        width: 33.33%;
    }
    /* 歌单名字 */
    .sheet-name {
        max-width: 100px;
    }
    .cover {
        margin-top: 50px;
    }
    .music-title {
        top: 236px;
    }
    .lyric {
        top: 275px;
    }
    .footer {
        height: 60px;
    }
    /* 小屏幕当前播放时长调整 */
    .current-time {
        font-size: 16px;
        left: 10px;
        width: 50px;
    }
    /* 小屏幕时长显示调整 */
    .duration {
        font-size: 16px;
        right: 10px;
    }
    /* 小屏幕进度条调整 */
    .progress {
        width: calc(100% - 130px);
        margin-left: 130px;
        margin-right: 0;
    }
    /* 小屏幕进度条盒子调整 */
    .progress-box {
        left: 60px;
        right: 60px;
    }
}

/* 小于 350px 采用这个样式 */
@media screen and (max-width: 350px) {
    /* 歌单封面 */
    .sheet-item {   
        width: 50%;
    }
}