/* Indra's pearls (/indras-pearls): the square picture, and the trace plane in the panel
   (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). */

.ip-landing-app .ip-main {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--ak-space-2, 0.5rem);
}

/* The picture can be dragged and zoomed, so it keeps the pointer to itself. It has its own ground (Background). */
.ip-landing-app .ip-canvas {
    display: block;
    width: 100%;
    max-width: 640px;
    aspect-ratio: 1 / 1;
    border-radius: var(--ak-radius, 10px);
    cursor: grab;
    touch-action: none;
}

.ip-landing-app .ip-canvas.is-dragging {
    cursor: grabbing;
}

/* The trace plane: the two handles a and b on the complex plane. */
.ip-landing-app .ip-plane {
    display: block;
    width: 100%;
    aspect-ratio: 20 / 11;
    border: 1px solid var(--ak-border);
    border-radius: var(--ak-radius-sm, 8px);
    cursor: crosshair;
    touch-action: none;
}
