/* Plate Tectonics (/plate-tectonics): the cross-section, the transform fault or the world map in one picture on a focus stage,
   with the five tiles in the floating panel beside it (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). */

.ptc-landing-app .ptc-main {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Drag sideways to push the plates through time, or along the time bar; the script sets the cursor. */
.ptc-landing-app .ptc-canvas {
    display: block;
    width: 100%;
    max-width: 1200px;
    aspect-ratio: 4 / 3;
    border-radius: var(--ak-radius, 8px);
    background: #0b1626;
    touch-action: pan-y;
    user-select: none;
    -webkit-user-select: none;
}

/* Rows that do not apply to the boundary or view (the slab's dip on a ridge, the plume in a trench) are hidden. */
.ptc-landing-app .ak-row[hidden] {
    display: none;
}

/* Phones: a taller picture. */
@media (max-width: 640px) {
    .ptc-landing-app .ptc-canvas {
        aspect-ratio: 1 / 1;
    }
}
