/* Wave Interference (/wave-interference): the 4:3 picture (the ripple tank beside the screen and its intensity graph).
   Tiles, panels and buttons come from the app kit (css/app-kit, docs/app-kit.md). Loaded only on this app's page
   (StylePaths). */

.wi-landing-app .wi-main {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Drag a source or the probe, click the tank to put the probe there; the script sets the cursor. */
.wi-landing-app .wi-canvas {
    display: block;
    width: 100%;
    max-width: 1000px;
    aspect-ratio: 4 / 3;
    border-radius: var(--ak-radius, 8px);
    touch-action: none;
}

/* Rows the arrangement does not use (the slits' rows for point sources, the phase for one source ...). */
.wi-landing-app .ak-row[hidden] {
    display: none;
}

/* Phones: a square picture, so the tank keeps its height. */
@media (max-width: 640px) {
    .wi-landing-app .wi-canvas {
        aspect-ratio: 1 / 1;
    }
}
