/* Homepage preview mode (/?preview=homepage, js/core/previewMode.js): only the map and its weather, filling the
   window, for the jonathanmount.com homepage screenshot. Nothing here applies without the html.preview-homepage class. */
html.preview-homepage main > :not(#map),
html.preview-homepage body > :not(main):not(script),
html.preview-homepage #map .maplibregl-ctrl-top-right,
html.preview-homepage #map .maplibregl-popup,
html.preview-homepage #map .site-radar-marker {
    display: none !important;
}

html.preview-homepage #map {
    inset: 0 !important;
    pointer-events: none;
}

/* The basemap credit stays (its licence requires it), a little quieter. */
html.preview-homepage #map .maplibregl-ctrl-attrib {
    opacity: 0.85;
}
