/* Time Dilation & the Twin Paradox (/time-dilation-twin-paradox): the picture with the spacetime diagram beside (or under) the
   trip, the clocks and the light clocks, on a focus stage with the five tiles in the floating panel beside it (ak-float="aside":
   the diagram's legend and axis sit in the picture's top-left corner; 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). */

.tdt-landing-app .tdt-main {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Drag on the spacetime diagram (or the drift chart) to pick a moment; the script sets the cursor. */
.tdt-landing-app .tdt-canvas {
    display: block;
    width: 100%;
    max-width: 1100px;
    aspect-ratio: 4 / 3;
    border-radius: var(--ak-radius, 8px);
    touch-action: none;
    user-select: none;
    -webkit-user-select: none;
}

/* Phones: a tall picture, the trip on top and the diagram beside the clocks under it. */
@media (max-width: 640px) {
    .tdt-landing-app .tdt-canvas {
        aspect-ratio: 3 / 4;
    }
}

/* Rows that do not apply (the acceleration without its phase, the altitude of a trip that is not an orbit ...). */
.tdt-landing-app .ak-row[hidden] {
    display: none;
}
