/* Night palette for map chrome; terrain dimming happens before canvas markers. */
body:has(#map),body:has(#map) main {background:#0b131b!important;color:#c5d6e2}
body:has(#map) :is(aside,.map-area,#marker-panel,.map-heading,.map-bottom,#loading,.map-mobile-toolbar) {
    background:#101a24!important;color:#c5d6e2;border-color:#7892a426!important;
}
body:has(#map) :is(input,select,button,.result,.sidebar-tabs) {
    background:#131f2a!important;color:#b9d1df!important;border-color:#7892a433!important;
    color-scheme:dark;
}
body:has(#map) input[type=checkbox],body:has(#map) input[type=range] {accent-color:#70bbc5}
body:has(#map) :is(h1,h2,h3) {color:#b9dce6}
body:has(#map) :is(.map-controls button,.map-heading .tag,.result strong) {color:#8ac8d3}
body:has(#map) :is(.nearest-teleports,.farm-pets,.map-preferences) {border-color:#7892a426}
.map-preferences {display:grid;gap:8px;padding:12px 0;margin-bottom:12px;border-bottom:1px solid #7892a426}
.map-preferences label {font-size:12px;color:#a6bbc9;line-height:1.6}
.map-preferences input[type=range] {width:100%;margin:0;min-height:24px}
.map-quick-filters {display:grid;grid-template-columns:1fr 1fr;gap:6px;margin-bottom:6px}
.map-quick-filters button {padding:8px;font-size:12px;border-radius:6px}
.map-data-checked {font-size:11px;line-height:1.6;color:#849cad;margin:5px 0}
#marker-panel a {color:#85c1cf}
#marker-panel img {max-width:100%}
