/* Dragon curve (/dragon-curve): the square canvas, the row of creases and the buttons below it. 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). */

.dc-landing-app .dc-main {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--ak-space-2, 0.5rem);
}

.dc-landing-app .dc-canvas {
    display: block;
    width: 100%;
    max-width: 640px;
    aspect-ratio: 1 / 1;
}

/* The creases of the unfolded strip: ∧ mountain, ∨ valley. One line, cut off with an ellipsis. The row keeps its
   place for the curves without creases, so the picture does not move when the curve changes. */
.dc-landing-app .dc-creases {
    width: 100%;
    max-width: 640px;
    min-height: 1.35em;
    margin: 0;
    color: var(--ak-muted);
    font-size: var(--ak-fs-sm, 0.85rem);
    line-height: 1.35;
    letter-spacing: 0.08em;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dc-landing-app .dc-actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--ak-space-2, 0.5rem);
    width: 100%;
    max-width: 640px;
}
