* {
    border: 0;
    margin: 0;
    padding: 0;
    outline: none;
    box-sizing: border-box;
}

body {
    background: #000;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

#main {
    height: calc(100vh - 100px);
    display: flex;
    justify-content: center;
    align-items: center;
}

#player {
    width: 100%;
    height: auto;
    max-height: 90%;
}

#buttons {
    height: 60px;
    width: 100%;
    padding: 10px;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    z-index: 2;
}

/* 按钮样式 */
#switch,
#next,
#changeSource,
#down {
    background: linear-gradient(to bottom, #FF2, #FB0);
    color: #AF2E08;
    font-size: 12px;
    font-weight: bold;
    height: 40px;
    padding: 0 15px;
    border-radius: 20px;
    cursor: pointer;
    white-space: nowrap;
    min-width: 60px;
}

#down a {
    color: #AF2E08;
    text-decoration: none;
    display: block;
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

#down a:visited {
    color: #AF2E08;
}

#next {
    background: linear-gradient(to bottom, #0ebeff, #46a1ed);
}

/* 小屏幕适配 
@media (max-width: 480px) {
    #player {
        width: 95%; 
        max-height: 85%;
    }
    
    #buttons {
        height: auto;
        padding: 8px;
        gap: 5px;
    }
    
    #switch,
    #next,
    #changeSource,
    #down {
        padding: 0 10px;
        font-size: 11px;
        height: 36px;
        min-width: 50px;
    }
}*/
