/* Unit circle and trigonometry (/unit-circle-trigonometry): the circle and the graphs 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 point round the circle or along the graph; the script sets the cursor. No scrolling or zooming while a finger drags. */
.uc-landing-app .uc-canvas {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    touch-action: none;
    user-select: none;
    -webkit-user-select: none;
}

.uc-landing-app .uc-canvas:focus-visible {
    outline: 2px solid var(--ak-accent, #2563eb);
    outline-offset: -2px;
}

/* The function tiles take the colours of their segments in the picture. */
.uc-landing-app .uc-stat-sin {
    --ak-stat-color: #e11d48;
}

.uc-landing-app .uc-stat-cos {
    --ak-stat-color: #2563eb;
}

.uc-landing-app .uc-stat-tan {
    --ak-stat-color: #d97706;
}

.uc-landing-app .ak-row[hidden] {
    display: none;
}

/* Phones: a square picture, the graph under the circle. */
@media (max-width: 640px) {
    .uc-landing-app .uc-canvas {
        aspect-ratio: 1 / 1;
    }
}
