/* Hide all UI elements */
#chat,
.chat-container,
.chat-panel,
.chat-box,
.controls,
.control-panel,
.buttons,
.btn-group,
.player-controls,
#playlist,
.playlist,
.queue,
.video-list,
.userlist,
.users,
#users,
header,
.header,
.nav,
.navigation {
    display: none !important;
}

/* Remove body margins and scrollbars */
html, body {
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    height: 100% !important;
    overflow: hidden !important;
}

/* Make video player container full screen */
#player,
.player,
.video-container {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    z-index: 9999 !important;
    background: black !important;
}

/* Stretch video/iframe to full screen */
#player iframe,
.player iframe,
.video-container iframe,
iframe[src*="youtube"],
iframe[src*="player"],
video {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    border: none !important;
    object-fit: fill !important; /* This stretches the video to fill completely */
}

/* Alternative: Use 'cover' to maintain aspect ratio but fill screen */
/*
video {
    object-fit: cover !important;
}
*/

/* Remove any container constraints */
* {
    max-width: none !important;
    max-height: none !important;
}