/* Strange attractors (/strange-attractors): the square canvas and the formula row under it (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). */

.sa-landing-app .sa-main {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--ak-space-2, 0.5rem);
}

/* Dragging on the picture changes the first two numbers, so the canvas keeps the pointer to itself. The picture has
   its own ground (the palette's), with round corners like a panel. */
.sa-landing-app .sa-canvas {
    display: block;
    width: 100%;
    max-width: 640px;
    aspect-ratio: 1 / 1;
    border-radius: var(--ak-radius, 10px);
    cursor: grab;
    touch-action: none;
}

.sa-landing-app .sa-canvas.is-dragging {
    cursor: grabbing;
}

/* The map with the current numbers: two short lines, cut off with an ellipsis on a phone. The row keeps its place, so
   the picture does not move when the map changes. */
.sa-landing-app .sa-formula {
    width: 100%;
    max-width: 640px;
    min-height: 2.7em;
    margin: 0;
    color: var(--ak-muted);
    font-size: var(--ak-fs-sm, 0.85rem);
    line-height: 1.35;
    text-align: center;
    white-space: pre;
    overflow: hidden;
    text-overflow: ellipsis;
}
