html, body, #stage {
    width: 100%;
    height: 100%;
    margin: 0;
    overflow: hidden;
    background: #000;
    color: #eee8e3;
    font-family: Arial, sans-serif;
}
#stage { position: relative; }
#scene { display: block; width: 100%; height: 100%; }
#fullscreenToggle {
    position: fixed;
    top: 8px;
    right: 8px;
    z-index: 3;
    width: 44px;
    height: 44px;
    padding: 12px;
    border: 0;
    border-radius: 4px;
    background: rgba(0, 0, 0, 0.3);
    color: rgba(255, 255, 255, 0.85);
    cursor: pointer;
    pointer-events: none;
}
#fullscreenToggle svg { display: block; fill: none; stroke: currentColor; stroke-width: 2; }
#fullscreenToggle:focus { outline: 2px solid #fff; outline-offset: -3px; }
.fullscreen-exit, #fullscreenToggle[aria-pressed="true"] .fullscreen-enter { display: none; }
#fullscreenToggle[aria-pressed="true"] .fullscreen-exit { display: block; }
#fullscreenToggle, #renderStats {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s linear, visibility 0s linear 0.2s;
}
.controls-visible #fullscreenToggle, .controls-visible #renderStats {
    opacity: 1;
    visibility: visible;
    transition-delay: 0s;
}
.controls-visible #fullscreenToggle { pointer-events: auto; }
#renderStats {
    position: fixed;
    left: 8px;
    bottom: 8px;
    z-index: 2;
    padding: 3px 5px;
    border-radius: 3px;
    background: rgba(0, 0, 0, 0.35);
    color: rgba(255, 255, 255, 0.75);
    font: 10px/1.2 monospace;
    white-space: nowrap;
    pointer-events: none;
    -webkit-transform: scale(0.75);
    transform: scale(0.75);
    -webkit-transform-origin: bottom left;
    transform-origin: bottom left;
}
#loading, #error {
    position: absolute;
    top: 40%;
    left: 8%;
    right: 8%;
    padding: 24px;
    background: #291812;
    text-align: center;
    line-height: 1.6;
}
[hidden] { display: none !important; }
#qrPanel {
    position: fixed;
    right: 16px;
    bottom: 16px;
    z-index: 2;
    -webkit-transform: scale(0.375);
    transform: scale(0.375);
    -webkit-transform-origin: bottom right;
    transform-origin: bottom right;
}
/* Standard RCWeb panel, without animated transforms or shadows. */
.rcRoomQrCodeLink {
    display: block;
    width: 150px;
    margin-left: auto;
    margin-right: auto;
    border: solid 8px #fff;
    border-radius: 8px;
    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;
}
.rcRoomId {
    background-color: #000;
    color: #fff;
    font-family: monospace;
    font-size: 16px;
    padding: 4px;
    margin: 8px 0 0 0;
    letter-spacing: 0.25em;
    border-radius: 0 0 8px 8px;
}

