* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #f0f0f0;
    font-family: Arial, sans-serif;
}

.container {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.video-container {
    width: 100%;
    height: 70%;
    background-color: #000;
}

.video-js {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.list-container {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.9);
    padding: 10px;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
}

.video-list {
    max-height: 300px;
    overflow-y: auto;
}

.video-item {
    padding: 5px;
    cursor: pointer;
}

.video-item:hover {
    background-color: #e0e0e0;
}

.toggle-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 24px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* 横屏模式 */
.landscape {
    .video-container {
        width: 100%;
        height: 100%;
    }
    
    .list-container {
        display: none;
    }
}

/* 竖屏模式 */
.portrait {
    .video-container {
        width: 100%;
        height: 70%;
    }
    
    .list-container {
        display: block;
    }
}
