﻿@font-face {
    font-family: "cube";
    /*src: url("/static/font/cube-11.woff2") format("woff2");*/
    src: url("/static/font/cube-11.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
html, body, #main {
    background-color: #000;
    padding: 0;
    margin: 0;
    height: 100%;
    width: 100%;
    color: #999;
    overflow: hidden;
    position: relative;
    font-family: 'cube', serif;
}

#player, #playad {
    height: 100%;
    width: 100%;
    object-fit: none;
}

/*@media screen and (max-width: 650px) {*/
/*    #player, #playad {*/
/*        height: fit-content;*/
/*        width: calc(100% + 30px);*/
/*        !* margin-left: 0; *!*/
/*        object-fit: none;*/
/*        position: absolute;*/
/*        left: -15px;*/
/*    }*/
/*}*/

/*  头部   */

.header {
    position: fixed;
    z-index: 4;
    top: 0px;
    left: 0px;
    height: auto;
    width: 100%;

}

/*  播放列表图标   */
.list {
    position: fixed;
    z-index: 2147483647;
    display: none;
    width: 32px;
    height: 16px;
    top: 10px;
    right: 5px;
    background: transparent url(list.png) no-repeat scroll;
    cursor: pointer;
}

/*  播放列表内容   */

.aside {
    position: absolute;
    z-index: 2147483647;
    display: none;
    bottom: 0;
    top: 40px;
    right: -25px;
    /*  设置纵向滚动条  */
    overflow-x: hidden;
    overflow-y: scroll;
    max-width: 230px;
    min-width: 130px;
    max-height: calc(100% - 100px);
    background-color: #000000;

}
/*  移动设备自适应宽高  */
@media screen and (max-width: 650px) {
    .aside {
        width: 100%;
        left: 0px;
        max-width: 100%;
        min-width: auto;
    }
}

#flaglist, #playlist {
    display: none;
}

/* 播放列表元素 */
#flaglist li, #playlist li {
    display: inline-table;
    width: 80px;
    padding: 5px;
    margin: 5px;
    font-size: 12px;
    text-align: center;
    border-radius: 5px;
    color: #fff;
    border: 1px solid #ff4747;
    /* 列表文字剪裁 */
    overflow: hidden;
    white-space: nowrap; /* 不换行 */
    text-overflow: ellipsis;
    -o-text-overflow: ellipsis;
    text-decoration: none;
    table-layout: fixed;
    cursor: pointer; /* 鼠标设置为手型 */

}

/* 列表元素热点 */
#flaglist li:hover, #playlist li:hover {
    background-color: #ff4747;
}

.close-aside {
    position: absolute;
    bottom: 40px;
    width: 100%;
    text-align: center;
    color: #ff4747;
    font-size: 14px;
}