/* Conic sections (/conic-sections): the cone in 3D and the curve in its plane fill a focus stage, with the five tiles in the floating
   panel beside them (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). */

/* Drag the cone to turn it and the point along the curve; the script sets the cursor. No scrolling or zooming while a finger drags. */
.cs-landing-app .cs-canvas {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    touch-action: none;
    user-select: none;
    -webkit-user-select: none;
}

.cs-landing-app .cs-canvas:focus-visible {
    outline: 2px solid var(--ak-accent, #2563eb);
    outline-offset: -2px;
}

/* The tiles: the type in the curve's red, the eccentricity in the violet of the foci and directrices. */
.cs-landing-app .cs-stat-type {
    --ak-stat-color: #e11d48;
}

.cs-landing-app .cs-stat-e {
    --ak-stat-color: #7c3aed;
}

/* Phones: a square picture (the cone above the curve). */
@media (max-width: 640px) {
    .cs-landing-app .cs-canvas {
        aspect-ratio: 1 / 1;
    }
}
