/* --- Global Reset --- */
html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: #000000;
}

/* --- Layer 1: Compose App (UI) --- */
#compose-app {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* --- Layer 2: Video Overlay Container --- */
#video-overlay {
    position: fixed; /* Use fixed to cover the entire viewport */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999; /* High z-index to be on top of other content */
    pointer-events: none; /* Allows clicks to pass through the container itself */
    display: none; /* Initially hidden, controlled by JS */
}

/* This is the crucial part: enables pointer events for direct children of the overlay */
#video-overlay > * {
    pointer-events: auto;
}

#video-overlay video {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
