* {
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    height: 100%;
    margin: 0;
    overflow: hidden;
    background: #000000;
    color: #ffffff;
    font-family: "Trebuchet MS", "Segoe UI", Arial, sans-serif;
}

.clock-shell {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #000000;
}

#clockCanvas {
    display: block;
    width: 100%;
    height: 100%;
    background: #000000;
}

.qr-panel {
    position: absolute;
    left: 1.5vh;
    bottom: 1.5vh;
    z-index: 3;
    width: 86px;
    height: 116px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #000000;
    overflow: visible;
    text-align: center;
    pointer-events: auto;
}

.rcRoomQrCodeLink,
.rcRoomQrCodeLink * {
    box-sizing: content-box;
}

.qr-panel .rcRoomQrCodeLink {
    position: absolute;
    left: 0;
    bottom: 0;
    display: block;
    width: 150px;
    margin: 0;
    border: solid 8px #ffffff;
    border-radius: 8px;
    background-color: #ffffff;
    color: #000000;
    text-decoration: none;
    transform-origin: bottom left;
    transform: scale(0.8);
}

.qr-panel .rcTechLabel {
    margin: 0 0 8px 0;
    padding: 4px;
    overflow: hidden;
    background-color: #000000;
    color: #ffffff;
    font-family: monospace;
    font-size: 13px;
    font-weight: bold;
    letter-spacing: 0.2em;
    line-height: 1.1;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.qr-panel .rcRoomId {
    margin: 8px 0 0 0;
    padding: 4px;
    overflow: hidden;
    background-color: #000000;
    color: #ffffff;
    font-family: monospace;
    font-size: 16px;
    font-weight: bold;
    letter-spacing: 0.25em;
    line-height: 1.1;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.qr-panel .rcRoomQrCode {
    width: 150px;
    height: 150px;
}

.qr-panel img,
.qr-panel canvas {
    display: block;
    width: 150px;
    height: 150px;
    margin: 0 auto;
}

@media (orientation: portrait) {
    .qr-panel {
        left: 1.1vh;
        bottom: 1.1vh;
        width: 74px;
        height: 102px;
    }

    .qr-panel .rcRoomQrCodeLink {
        transform: scale(0.8);
    }
}
