body {
    margin: 0;
    min-height: 100dvh;
    background: var(--screen-color);
    color: #fff;
}
.reference-screen {
    display: flex;
    justify-content: center;
}
.reference-screen img {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: calc(100dvh - 80px);
    aspect-ratio: var(--screen-ratio);
    object-fit: contain;
}
@media (min-width: 1px) {
    .reference-screen img {
        width: min(100%, calc((100dvh - 80px) * var(--screen-ratio)));
    }
}
body, .reference-screen, .reference-screen img { cursor: none; }
