*, *::before, *::after {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    overscroll-behavior: none;
    background: #e9e5dc;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    -webkit-text-size-adjust: 100%;
}

#map {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    height: 100dvh;
    background: #e9e5dc;
    touch-action: none;
    -webkit-tap-highlight-color: transparent;
}

/* Карта на весь экран: убираем скругления и тень у контейнера */
#map .leaflet-container {
    font: inherit;
    outline: none;
}

.leaflet-bottom .leaflet-control {
    margin-bottom: calc(5px + env(safe-area-inset-bottom, 0px));
}

.leaflet-control-attribution {
    font-size: 10px;
    line-height: 1.3;
    padding: 2px 6px !important;
}
