/* Mandelbulb 3D explorer (/mandelbulb): the square WebGL canvas (the playback bar is in the panel). Tiles, panels and
   the buttons come from the app kit (css/app-kit, docs/app-kit.md). Loaded only on this app's page (StylePaths). */

.mb-landing-app .mb-main {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* The picture has its own background (Night, Light or Sky), with round corners like a panel. Dragging turns the
   fractal and the wheel zooms, so the canvas keeps the pointer and the wheel to itself. */
.mb-landing-app .mb-view {
    position: relative;
    width: 100%;
    max-width: 640px;
}

.mb-landing-app .mb-canvas {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: var(--ak-radius, 10px);
    background: #04060c;
    cursor: grab;
    touch-action: none;
}

.mb-landing-app .mb-canvas.is-dragging {
    cursor: grabbing;
}

/* Without WebGL: the message over the empty picture. */
.mb-landing-app .mb-nogl {
    position: absolute;
    inset: auto 1rem 1rem 1rem;
    margin: 0;
}
