/* Shared map palette: the homepage reuses the existing Finn oss map language. */
:is(#map,.branch-map){background:#351019}
: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:#320b14e8;color:#cba3ad;font-size:10px}
:is(#map,.branch-map) .leaflet-control-attribution a{color:#f1b4c3}
:is(#map,.branch-map) .leaflet-bar{border:1px solid #6c3441!important;border-radius:6px!important;overflow:hidden;box-shadow:none!important}
:is(#map,.branch-map) .leaflet-bar a{background:#42101c;color:#f6cfd8;border-color:#6c3441;width:42px;height:42px;line-height:42px}
:is(#map,.branch-map) .leaflet-bar a:hover{background:#561b29}
:is(#map,.branch-map) .leaflet-bar a:focus-visible{outline:2px solid #ed9db0;outline-offset:-3px}
:is(#map,.branch-map) .leaflet-tooltip{background:#42101c;color:white;border:1px solid #e9869e;border-radius:6px}
.map-head{background:#2d0811dd;color:#fff;border:1px solid #e8829a40;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:#e9859d;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:#e6b8c3}
#replay{background:#42101c;color:#f8dbe2;border:0;border-top:1px solid #6c3441;box-shadow:none}
#replay:hover{background:#561b29}
.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}}
