/* Mile Zero scene host. Everything is drawn on a 1920 × 1080 stage,
   scaled to fit the browser source. The page itself is transparent. */

html,
body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background: transparent !important;
    color-scheme: normal;
}

.stage {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 1920px;
    height: 1080px;
    margin: -540px 0 0 -960px;
    overflow: hidden;
    transform: scale(var(--scale, 1));
    transform-origin: 50% 50%;
}

.frames,
.frames iframe,
.stinger {
    position: absolute;
    left: 0;
    top: 0;
    width: 1920px;
    height: 1080px;
}

.frames iframe {
    border: 0;
    background: transparent;
    color-scheme: normal;
    pointer-events: none;
}

/* A scene that is loading stays invisible until the host swaps it in */
.frames iframe.is-loading {
    visibility: hidden;
}

.stinger {
    z-index: 10;
    pointer-events: none;
    visibility: hidden;
}

.stinger.is-playing {
    visibility: visible;
}
