/* ─── Mobile overrides ───────────────────────────────────────────────────────
   Kept at the bottom so they naturally win the cascade without needing
   !important. All mobile rules are in one @media block instead of a
   separate file, making load order explicit. */

.map-options.top-right {
    top: auto;
    bottom: 0;
    border-bottom-left-radius: 0;
    border-top-left-radius: 2rem;
}

.map-options div, #editor-mode {
    display: none;
}

.overlays-container {
    width: 100vw;
    padding: 4vw;
    box-sizing: border-box;
}

.view-container {
    right: 0;
}

.view {
    box-sizing: border-box;
    margin: 4vw;
    min-width: 92vw;
    max-width: 92vw;
    border-radius: 1rem;
}

/* ─── Overlay cards & list items ───────────────────────────────────────────── */

.organizer article:first-child {
    grid-column: 1;
}

/* ─── Context menu ─────────────────────────────────────────────────────────── */

.ctxt-container {
    width: 92vw;
    box-sizing: border-box;
    margin: 4vw;
    bottom: 0;
}