* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body, html {
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #000;
}
#clappr-player, #art-player, #native-player {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    z-index: 10;
}
#clappr-player, #native-player {
    display: none;
}

.sidebar {
    position: fixed;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 150px;
    background: linear-gradient(135deg, #ff4d4f 0%, #f5222d 100%);
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
    transition: all 0.3s ease;
    overflow: hidden;
    z-index: 100;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
}

.sidebar.expanded {
    width: 100px;
}

.sidebar-toggle {
    width: 40px;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    font-size: 14px;
    font-weight: bold;
    color: white;
    transition: all 0.3s ease;
}

.sidebar-content {
    position: absolute;
    left: 40px;
    top: 0;
    width: 60px;
    height: 100%;
    padding: 10px 5px;
    display: none;
    background: rgba(0, 0, 0, 0.8);
    flex-direction: column;
    justify-content: space-between;
    box-sizing: border-box;
}

.sidebar.expanded .sidebar-content {
    display: flex;
}

.player-option {
    flex: 1;
    min-height: 0;
    max-height: 35px;
    margin: 3px 0;
    padding: 5px 0;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: white;
    text-align: center;
    font-size: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.player-option:nth-child(1) { color: #69c0ff; }
.player-option:nth-child(2) { color: #95de64; }
.player-option:nth-child(3) { color: #ffc53d; }

#native-video {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.switch-notice {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 16px;
    z-index: 100;
    display: none;
    animation: fadeInOut 2s ease-in-out;
}

@keyframes fadeInOut {
    0% { opacity: 0; }
    20% { opacity: 1; }
    80% { opacity: 1; }
    100% { opacity: 0; }
}

.loading {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 16px;
    z-index: 100;
}