```css

/* Reset */
* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    width: 100%;
    height: 100%;
    background: purple;
    overflow: hidden;
}

#outputContainer {
    position: fixed;
    inset: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background: purple;
}

#outputCanvas {
    display: none;
    width: 100vw;
    height: 100dvh;
    object-fit: contain;
}

/* Video layout */
.videos {
    position: fixed;
    inset: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* Controls */
button {
    cursor: pointer;
    padding: 10px 20px;
}

/* Status */
#status {
    color: #aaa;
}


body.fullscreen-active {
    overflow: hidden;
}

#cameraMessage {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;

    font-family: Arial, sans-serif;
    font-size: 1.5rem;
    z-index: 100;

    white-space: nowrap;
}

@media (orientation: portrait) {
    #cameraMessage {
        transform: rotate(90deg);
    }
}

#stateOverlay {
    position: absolute;
    inset: 0;
    z-index: 10;

    display: none;
    align-items: center;
    justify-content: center;

    text-align: center;
    font-family: Arial, sans-serif;
    font-size: clamp(40px, 12vw, 140px);
    font-weight: 900;
    text-transform: uppercase;

    color: black;
    pointer-events: none;
}

#videoInput {
    display: none;
}