html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: #333;
}

.app {
    width: 100%;
    height: 100%;
}

.scene-container {
    width: 100%;
    height: 100%;
    display: flex;
}

.scene-content {
    width: 100%;
    height: 100%;
    position: relative;
}

.scene {
    width: 100%;
    height: 100%;
}

canvas#viewer {
    width: 100%;
    height: 100%;
    display: block;
}

.viewer-loader {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(20, 20, 20, 0.45);
    z-index: 10;
    transition: opacity .25s ease;
}

.viewer-loader.is-hidden {
    opacity: 0;
    pointer-events: none;
}

.viewer-loader__spinner {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: #ffffff;
    animation: viewer-spinner-rotate 0.8s linear infinite;
}

@keyframes viewer-spinner-rotate {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

.viewer-blur {
    position: absolute;
    inset: 0;
    backdrop-filter: blur(10px);
    opacity: 0.6;
    z-index: 5;
    transition: opacity 1.4s ease, backdrop-filter 1.4s ease;
}

.viewer-blur.is-hidden {
    opacity: 0;
    backdrop-filter: blur(0px);
    pointer-events: none;
}