/* Coastline paradox (/coastline-paradox): the canvas with the map and the log–log chart (the playback bar is in the
   controls). Tiles, panels and the buttons come from the app kit (css/app-kit, docs/app-kit.md). Loaded only on this
   app's page (StylePaths). */

.cp-landing-app .cp-main {
    display: flex;
    flex-direction: column;
}

/* The map and the chart side by side, the chart under the map on a phone. */
.cp-landing-app .cp-canvas {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
}

@media (max-width: 700px) {
    .cp-landing-app .cp-canvas {
        aspect-ratio: 4 / 5;
    }
}

/* A ruler walk: tap or drag on the map to move its start (the page still scrolls on a phone). */
.cp-landing-app.is-start .cp-canvas {
    cursor: crosshair;
}

/* Draw your own: the map takes a pen. */
.cp-landing-app.is-draw .cp-canvas {
    cursor: crosshair;
    touch-action: none;
}
