/* Cell Division (/cell-division-mitosis): the 4:3 picture (the cell with the timeline under it). Tiles, panels and buttons
   come from the app kit (css/app-kit, docs/app-kit.md). Loaded only on this app's page (StylePaths). */

.cd-landing-app .cd-main {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Click a chromosome to follow its pair; drag along the timeline to scrub. */
.cd-landing-app .cd-canvas {
    display: block;
    width: 100%;
    max-width: 920px;
    aspect-ratio: 4 / 3;
    border-radius: var(--ak-radius, 8px);
    cursor: pointer;
    touch-action: manipulation;
}

/* Chromosome pairs counts only for Own settings, crossing over only in meiosis. */
.cd-landing-app .ak-row.is-muted {
    opacity: 0.55;
}

/* Phones: a square picture, so the cells keep their size and the four cells of meiosis fit. */
@media (max-width: 640px) {
    .cd-landing-app .cd-canvas {
        aspect-ratio: 1 / 1;
    }
}
