/* Shared map palette: the homepage reuses the existing Finn oss map language. */
:is(#map,.branch-map){background:#102235}
:is(#map,.branch-map) .leaflet-tile-pane{filter:invert(1) hue-rotate(175deg) saturate(.55) brightness(.75)}
:is(#map,.branch-map) .leaflet-control-attribution{background:#0b2032e8;color:#a3bbcb;font-size:10px}
:is(#map,.branch-map) .leaflet-control-attribution a{color:#b1d7f4}
:is(#map,.branch-map) .leaflet-bar{border:1px solid #34536c!important;border-radius:6px!important;overflow:hidden;box-shadow:none!important}
:is(#map,.branch-map) .leaflet-bar a{background:#102b42;color:#c6eaff;border-color:#34536c;width:42px;height:42px;line-height:42px}
:is(#map,.branch-map) .leaflet-bar a:hover{background:#1b3d56}
:is(#map,.branch-map) .leaflet-bar a:focus-visible{outline:2px solid #8bdcff;outline-offset:-3px}
:is(#map,.branch-map) .leaflet-tooltip{background:#102b42;color:white;border:1px solid #70bdff;border-radius:6px}
.map-head{background:#081a2ddd;color:#fff;border:1px solid #6bc9ff40;backdrop-filter:blur(12px);box-shadow:none;border-radius:6px;max-width:calc(100% - 80px);padding:10px 14px}
.map-head small{font-size:12px;letter-spacing:.1em;color:#6fd6ff;display:block}
.map-head h2{font-size:19px;line-height:1.3;letter-spacing:-.02em;margin:4px 0}
.map-head p{font-size:12px;line-height:1.5;color:#b8d5e6}
#replay{background:#102b42;color:#d4efff;border:0;border-top:1px solid #34536c;box-shadow:none}
#replay:hover{background:#1b3d56}
.map-overview{grid-template-rows:1fr}
.map-overview #replay{display:none}
.map-overview .map-head{max-width:calc(100% - 20px)}
@media(max-width:380px){.map-head{padding:8px 10px}.map-head h2{font-size:17px}.map-head small{letter-spacing:.04em}}
