* { box-sizing: border-box; }
html, body { width: 100%; height: 100%; margin: 0; overflow: hidden; background: #050911; color: #f3f5f9; font-family: "Segoe UI", Arial, sans-serif; }
#display { position: absolute; left: 0; top: 0; width: 100%; height: 100%; }
#display canvas { display: block; width: 100%; height: 100%; }
#display { cursor: zoom-in; }
#viewerZoomOut { position: absolute; left: 16px; top: 16px; min-height: 44px; padding: 10px 16px; border: 1px solid rgba(115,140,170,.4); border-radius: 6px; background: rgba(16,26,42,.58); color: #edf2fa; font: inherit; cursor: pointer; }
#viewerZoomOut[hidden] { display: none; }
#viewerZoomOut:disabled { opacity: .5; cursor: wait; }
#invite { position: absolute; right: 24px; bottom: 24px; transform: scale(0.5); transform-origin: bottom right; opacity: .7; }
.invite-heading { margin: 0 0 12px; font-size: 17px; font-weight: bold; letter-spacing: 0.2em; text-align: center; }
.invite-heading span { display: block; margin-top: 5px; font-size: 12px; font-weight: normal; letter-spacing: 0.02em; }
#notice, #network { position: absolute; left: 20px; bottom: 20px; max-width: 65%; padding: 8px 12px; border-radius: 6px; background: rgba(16,26,42,.58); font-size: 13px; }
#notice:empty, #network:empty { display: none; }
#network { bottom: 64px; color: #ffd19a; }
#fullscreen { position: absolute; top: 16px; right: 16px; min-height: 40px; padding: 8px 14px; border: 1px solid rgba(115,140,170,.4); border-radius: 6px; background: rgba(16,26,42,.58); color: #cdd8e8; cursor: pointer; opacity: 0; transition: opacity .2s; }
body:hover #fullscreen, #fullscreen:focus { opacity: 1; }
.rcRoomQrCodeLink, .rcRoomQrCodeLink * { box-sizing: content-box; }
.rcRoomQrCodeLink {
    display: block;
    width: 150px;
    margin-left: auto;
    margin-right: auto;
    border: solid 8px #fff;
    border-radius: 8px;
    color: #fff;
    background-color: #fff;
    box-shadow: 0 0 0 1px #fff;
    text-align: center;
    transition: opacity 1s ease;
    text-decoration: none;
    box-shadow: 0 0 32px #000;
    transform-origin: center;
    transform: scale(1);
    animation: pop-in 500ms ease-in-out forwards;
}
@keyframes pop-in { 0% { transform: scale(0.5); } 66% { transform: scale(1.1); } 100% { transform: scale(1); } }
.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;
}
.lean-paint .rcRoomQrCodeLink { box-shadow: none; animation: none; }
@media (max-width: 600px) { #invite { right: 14px; bottom: 14px; } #notice, #network { left: 12px; bottom: 12px; max-width: 52%; } #network { bottom: 68px; } }

#tourStop { position: fixed; bottom: 20px; left: 18px; max-width: calc(100% - 140px); padding: 12px 16px; color: #e8f4ff; background: rgba(16,32,54,.58); border: 1px solid rgba(95,145,175,.4); border-radius: 8px; cursor: pointer; }
#tourStop[hidden] { display: none; }

#invite:hover { opacity: 1; }

#fullscreen, #viewerZoomOut { width: 44px; height: 44px; padding: 10px; }
#fullscreen svg, #viewerZoomOut svg { display: block; width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
#fullscreen .collapse-icon, #fullscreen[aria-pressed="true"] .expand-icon { display: none; }
#fullscreen[aria-pressed="true"] .collapse-icon { display: block; }
#renderInfo { white-space: nowrap; position: fixed; left: 50%; transform: translateX(-50%); bottom: 6px; max-width: calc(100% - 140px); padding: 3px 6px; border-radius: 4px; background: rgba(16,26,42,.58); color: #cdd8e8; font-size: 10px; pointer-events: none; }
#notice { bottom: 38px; }
#network { bottom: 86px; }

#magnification { display: inline-block; margin-right: 10px; color: #eac488; font-weight: bold; }


@media (max-width: 700px) {
    #tourStop { bottom: 38px; }
    #renderInfo { left: 18px; transform: none; white-space: normal; line-height: 12px; }
}


