.mf-map{margin:0 0 2rem;padding:1rem;background:#f5eef8;border:1px solid #dcd8ec;border-radius:8px;color:#26213f}
.mf-map h3{text-align:center;font-weight:700;font-size:1.5rem;margin:.2rem 0 .3rem}
.mf-map-intro,.mf-map-help{text-align:center;max-width:none;margin:.4rem auto 1rem;font-size:.9rem}
.mf-map-tabs,.mf-map-controls,.mf-map-history-list{display:flex;flex-wrap:wrap;justify-content:center;gap:.45rem}
.mf-map-tabs{margin:1rem 0}
.mf-map-finder{display:flex;align-items:center;justify-content:center;gap:.6rem;margin:.4rem 0 .8rem;font-size:.9rem;font-weight:700}
.mf-map-finder select{max-width:min(100%,340px);padding:.4rem .6rem;border:1px solid #7A4090;border-radius:5px;background:#fff;color:#26213f}
.mf-map button{padding:.42rem .85rem;border:1px solid #7A4090;border-radius:5px;background:#fff;color:#5a2f6b;cursor:pointer}
.mf-map button:hover,.mf-map button.is-selected,.mf-map-tabs button[aria-pressed=true]{background:#7A4090;color:#fff}
.mf-map-panel[hidden]{display:none}
.mf-map-canvas{position:relative;overflow:hidden;border:1px solid #c5bfd6;border-radius:6px;background:#e4eef2}
.mf-world-svg{display:block;width:100%;height:auto;max-height:68vh;touch-action:none;cursor:grab}
.mf-world-svg:active{cursor:grabbing}
.mf-map-sea{fill:#dceaf0}
.mf-world-svg path{fill:#dfdae5;stroke:#fff;stroke-width:.7;vector-effect:non-scaling-stroke}
.mf-world-svg .mf-map-active,.mf-world-svg .mf-map-small-point.mf-map-active{fill:#82a84b;cursor:pointer}
.mf-map-panel[data-mf-panel="current"] .mf-world-svg path:not(.mf-map-active):hover,.mf-map-panel[data-mf-panel="current"] .mf-world-svg path:not(.mf-map-active).is-selected{stroke:#7A4090;stroke-width:1.8;cursor:help}
.mf-world-svg .mf-map-active:focus{outline:none}
.mf-world-svg .mf-map-active:hover,.mf-world-svg .mf-map-active:focus-visible,.mf-world-svg .mf-map-active.is-selected{fill:#f49a38;stroke:#26213f;stroke-width:2}
.mf-world-svg .mf-map-small-point{fill:#dfdae5;stroke:#fff;stroke-width:2;vector-effect:non-scaling-stroke}
.mf-map-panel[data-mf-panel="historical"] .mf-map-sea{fill:#e2f0f5}
.mf-map-panel[data-mf-panel="historical"] .mf-world-svg path[data-iso]{fill:#c1bacb;stroke:none;pointer-events:none}
.mf-map-panel[data-mf-panel="historical"] .mf-map-history-region[hidden]{display:none}
.mf-map-panel[data-mf-panel="historical"] .mf-map-history-region path{fill:#86a849;stroke:#493059;stroke-width:2;vector-effect:non-scaling-stroke;cursor:pointer}
.mf-map-panel[data-mf-panel="historical"] .mf-map-history-region path:hover{fill:#f49a38}
.mf-map-panel[data-mf-panel="historical"] .mf-map-history-prussia path{stroke-width:.7}
.mf-map-history-details{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:.45rem 1rem;margin:.6rem auto;padding:.65rem;background:#fff;border:1px solid #dcd8ec;border-radius:6px;text-align:center}
.mf-map-history-details[hidden]{display:none}
.mf-map-history-note{max-width:900px;margin:.8rem auto;padding:.7rem 1rem;border-left:4px solid #7A4090;border-radius:4px;background:#fff;color:#26213f;font-size:1rem;line-height:1.4;text-align:left}
.mf-map-history-details strong{font-size:1.08rem}
.mf-map-history-details span{font-size:.88rem}
.mf-map-history-details a{display:inline-block;padding:.42rem .75rem;border-radius:5px;background:#7A4090;color:#fff;text-decoration:none;font-weight:700}
.mf-map-history-details a:hover,.mf-map-history-details a:focus-visible{background:#5a2f6b;color:#fff}
.mf-map-credit{text-align:center;font-size:.75rem;margin:.2rem auto .9rem}
.mf-map-controls{margin:.65rem 0}
.mf-map-controls button{font-weight:700;min-width:2.4rem}
.mf-map-history-list{margin:1rem 0}
.mf-map-history-list a{display:inline-block;padding:.42rem .85rem;border:1px solid #7A4090;border-radius:5px;background:#fff;color:#5a2f6b;text-decoration:none;font-size:.88rem;font-weight:700}
.mf-map-history-list a:hover,.mf-map-history-list a:focus-visible{background:#7A4090;color:#fff}
.mf-map-tooltip{position:absolute;z-index:2;max-width:220px;padding:.3rem .55rem;border-radius:4px;background:#26213f;color:#fff;font-size:.82rem;line-height:1.25;pointer-events:none;white-space:nowrap;box-shadow:0 2px 8px #26213f33}
.mf-map-selection{position:absolute;z-index:3;display:flex;flex-direction:column;align-items:flex-start;gap:.25rem;width:min(250px,calc(100% - 12px));padding:.7rem .8rem;background:#fff;border:1px solid #7A4090;border-radius:7px;box-shadow:0 4px 18px #26213f38;line-height:1.3}
.mf-map-selection strong{padding-right:1.3rem;font-size:1rem}
.mf-map-selection span{font-size:.86rem}
.mf-map-selection a{display:inline-block;border-radius:5px;background:#7A4090;color:white;text-decoration:none;padding:.4rem .7rem;font-weight:700}
.mf-map-selection a:hover{background:#5a2f6b}
.mf-map .mf-map-close{position:absolute;right:.3rem;top:.2rem;padding:0 .35rem;border:0;background:transparent;color:#5a2f6b;font-size:1.3rem;line-height:1}
.mf-map .mf-map-close:hover{background:#f5eef8;color:#26213f}
.mf-map-selection[hidden],.mf-map-tooltip[hidden]{display:none!important}
@media(max-width:600px){.mf-map{padding:.55rem}.mf-world-svg{min-height:220px}.mf-map-intro,.mf-map-help{font-size:.78rem}.mf-map-history-note{font-size:.88rem;padding:.6rem .75rem}.mf-map-history-list a{font-size:.78rem}.mf-map-finder{display:block;text-align:center}.mf-map-finder select{display:block;margin:.3rem auto;width:100%}}
