/* Standing Waves & Harmonics (/standing-waves-harmonics): the 4:3 picture (the vibrating string or pipe above the spectrum
   and the sound wave). Tiles, panels and buttons come from the app kit (css/app-kit, docs/app-kit.md). Loaded only on this
   app's page (StylePaths). */

.sw-landing-app .sw-main {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Pull the string, click a pipe, click or drag the spectrum's bars; the script sets the cursor. */
.sw-landing-app .sw-canvas {
    display: block;
    width: 100%;
    max-width: 1000px;
    aspect-ratio: 4 / 3;
    border-radius: var(--ak-radius, 8px);
    touch-action: none;
}

/* Rows of another system or tone (the string's tension in a pipe, the pluck position of a bowed string). */
.sw-landing-app .ak-row[hidden] {
    display: none;
}

/* Phones: a square picture, so the instrument keeps its height above the spectrum. */
@media (max-width: 640px) {
    .sw-landing-app .sw-canvas {
        aspect-ratio: 1 / 1;
    }
}
