/* Star Map & Constellations (/star-map-constellations): the sky fills the focus stage (a planisphere, a horizon view or the
   celestial sphere), with the five tiles in the floating panel 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). */

.smc-landing-app .smc-main {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Drag to turn or pan the sky, tap a star, a planet or a constellation; the script sets the cursor. */
.smc-landing-app .smc-canvas {
    display: block;
    width: 100%;
    max-width: 1100px;
    aspect-ratio: 4 / 3;
    border-radius: var(--ak-radius, 8px);
    background: #03060f;
    touch-action: none;
    user-select: none;
    -webkit-user-select: none;
    cursor: grab;
}

.smc-landing-app .smc-canvas:focus-visible {
    outline: 2px solid var(--ak-accent);
    outline-offset: 2px;
}

/* Rows the chosen view does not use (Looking up, Field of view) are hidden by the script. */
.smc-landing-app .ak-row[hidden] {
    display: none;
}

/* Phones: a square sky. */
@media (max-width: 640px) {
    .smc-landing-app .smc-canvas {
        aspect-ratio: 1 / 1;
    }
}
