/* Distance on a Sphere (/distance-on-a-sphere): the globe and the formula panel in one picture on a focus stage, with the four
   tiles floating over its top-left corner (docs/app-kit.md). Tiles, panels and buttons come from the app kit (css/app-kit,
   docs/app-kit.md). Loaded only on this app's page (StylePaths). */

.sd-landing-app .sd-main {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Drag a marker to move its place, drag the globe to turn it; the script sets the cursor. The picture is space in both themes. */
.sd-landing-app .sd-canvas {
    display: block;
    width: 100%;
    max-width: 1200px;
    aspect-ratio: 16 / 10;
    border-radius: var(--ak-radius, 8px);
    background: #050a18;
    touch-action: none;
    user-select: none;
    -webkit-user-select: none;
}

/* Phones: a taller picture, the formula panel under the globe. */
@media (max-width: 640px) {
    .sd-landing-app .sd-canvas {
        aspect-ratio: 3 / 4;
    }
}
