html,
body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background: #050505;
    color: #f8f8f8;
    font-family: Arial, Helvetica, sans-serif;
}

button {
    font: inherit;
}

.stage {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: #000;
}

.media {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    object-fit: contain;
}

.mediaVideo {
    display: none;
}

.showVideo .mediaImage {
    display: none;
}

.showVideo .mediaVideo {
    display: block;
}

.cornerPanel {
    position: absolute;
    right: 18px;
    bottom: 18px;
    z-index: 10;
    width: 174px;
    padding: 10px;
    border: 1px solid #343434;
    border-radius: 6px;
    background: #151515;
    color: #f4f4f4;
    text-align: center;
}

.fullscreenButton {
    display: block;
    width: 100%;
    min-height: 40px;
    margin: 10px 0 0 0;
    padding: 0 10px;
    border: 1px solid #d8d8d8;
    border-radius: 4px;
    background: #f4f4f4;
    color: #101010;
    cursor: pointer;
}

.fullscreenButton:active {
    background: #d7d7d7;
}

.status {
    min-height: 18px;
    margin-top: 8px;
    overflow: hidden;
    color: #bdbdbd;
    font-size: 12px;
    line-height: 18px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rcRoomQrCodeLink {
    display: block;
    width: 150px;
    margin: 0 auto;
    border: solid 8px #fff;
    border-radius: 8px;
    box-sizing: content-box;
    color: #fff;
    background-color: #fff;
    text-align: center;
    text-decoration: none;
}

.rcTechLabel {
    background-color: #000;
    color: #fff;
    font-family: monospace;
    font-size: 13px;
    font-weight: bold;
    margin: 0 0 8px 0;
    padding: 4px;
    letter-spacing: 0.2em;
    border-radius: 8px 8px 0 0;
}

.rcRoomQrCode {
    width: 150px;
    height: 150px;
    overflow: hidden;
}

.rcRoomQrCode img,
.rcRoomQrCode canvas {
    display: block;
    width: 150px !important;
    height: 150px !important;
}

.rcRoomId {
    background-color: #000;
    color: #fff;
    font-family: monospace;
    font-size: 16px;
    padding: 4px;
    margin: 8px 0 0 0;
    letter-spacing: 0.12em;
    border-radius: 0 0 8px 8px;
    overflow: hidden;
    text-overflow: clip;
    white-space: nowrap;
}

@media (max-width: 700px), (max-height: 620px) {
    .cornerPanel {
        right: 10px;
        bottom: 10px;
        width: 132px;
        padding: 8px;
    }

    .rcRoomQrCodeLink {
        width: 112px;
        border-width: 6px;
    }

    .rcRoomQrCode {
        width: 112px;
        height: 112px;
    }

    .rcRoomQrCode img,
    .rcRoomQrCode canvas {
        width: 112px !important;
        height: 112px !important;
    }

    .rcTechLabel {
        font-size: 11px;
        margin-bottom: 6px;
        padding: 3px;
        letter-spacing: 0.12em;
    }

    .rcRoomId {
        font-size: 11px;
        margin-top: 6px;
        padding: 3px;
        letter-spacing: 0.04em;
    }

    .fullscreenButton {
        min-height: 38px;
        margin-top: 8px;
        font-size: 14px;
    }
}
