/* Moon Phases (/moon-phases): the 4:3 picture (3:4 on phones) with the top view of the Sun, the Earth and the Moon beside (or
   above) the Moon as seen from Earth, the side view and the lunar month, on a focus stage with nothing over it: the picture holds the figures (docs/app-kit.md). Panels and buttons come from
   the app kit (css/app-kit, docs/app-kit.md). Loaded only on this app's page (StylePaths). */

.mph-landing-app .mph-main {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Drag the Moon round its orbit or tap a day of the lunar month; the script sets the cursor. */
.mph-landing-app .mph-canvas {
    display: block;
    width: 100%;
    max-width: 1100px;
    aspect-ratio: 4 / 3;
    border-radius: var(--ak-radius, 8px);
    background: #050a18;
    touch-action: none;
    user-select: none;
    -webkit-user-select: none;
}

/* Phones: a tall picture, the top view above the Moon and the side view, the lunar month at the bottom. */
@media (max-width: 640px) {
    .mph-landing-app .mph-canvas {
        aspect-ratio: 3 / 4;
    }
}
