.front-map-shell {
    border: 1px solid #394553;
    background: #101820;
    overflow: hidden;
}
.front-map-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    background: #1b2129;
    border-bottom: 1px solid #394553;
}
.front-map-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.front-map-tab {
    padding: 7px 17px;
    color: #aab4c2;
    border: 1px solid #485362;
    background: #202831;
    border-radius: 2px;
    font: 700 15px Rajdhani, sans-serif;
    letter-spacing: 1.3px;
    cursor: pointer;
}
.front-map-tab:hover, .front-map-tab.active {
    color: #79b9ff;
    border-color: #5a9de5;
    background: #263b50;
}
.front-map-tab:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.front-map-status { color: #aab4c2; font-size: 13px; }
.front-map-resources {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-left: auto;
}
.front-resource {
    display: flex;
    align-items: center;
    gap: 9px;
    min-height: 34px;
    padding: 4px 9px;
    border: 1px solid #465260;
    background: #151e28;
    white-space: nowrap;
}
.front-resource.red { border-left: 3px solid #e65b5b; }
.front-resource.blue { border-left: 3px solid #5aa8ff; }
.front-resource-name { font: 700 13px Rajdhani, sans-serif; text-transform: uppercase; letter-spacing: 1px; }
.front-resource.red .front-resource-name { color: #e65b5b; }
.front-resource.blue .front-resource-name { color: #5aa8ff; }
.front-resource-item { color: #92a1b1; font: 600 12px Rajdhani, sans-serif; }
.front-resource-item strong { margin-left: 3px; color: #e6edf6; font-variant-numeric: tabular-nums; font-size: 13px; }
.front-map-stage { height: clamp(420px, 48vw, 650px); background: #111b23; }
.front-map-stage .leaflet-container { width: 100%; height: 100%; background: #111b23; }
.front-map-tiles img {
    filter: brightness(.43) saturate(.58) contrast(1.13);
}
.front-map-stage .leaflet-control-zoom a {
    background: #202b36;
    color: #dce9f6;
    border-color: #455768;
}
.front-map-stage .leaflet-control-zoom a:hover { background: #34495f; }
.front-map-marker { overflow: visible !important; }
.front-map-dot {
    display: block;
    width: 16px;
    height: 16px;
    border: 2px solid #fff;
    border-radius: 50%;
    box-shadow: 0 0 0 2px #111a23, 0 0 12px currentColor;
}
.front-map-dot.blue { background: #5aa8ff; color: #5aa8ff; }
.front-map-dot.red { background: #e65b5b; color: #e65b5b; }
.front-map-dot.neutral { background: #e5e9ee; color: #e5e9ee; }
.front-map-time {
    color: #e2eaf4;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}
.front-map-time strong { color: #ffd073; }
.front-map-dot.capturing { --map-alert: #61df75; }
.front-map-dot.battle { --map-alert: #080808; }
.front-map-dot.under-fire:not(.battle):not(.capturing) { --map-alert: #f04444; }
.front-map-dot.capturing,
.front-map-dot.battle,
.front-map-dot.under-fire:not(.battle):not(.capturing) {
    background: var(--map-alert);
    animation: front-dot-blink 1.15s ease-in-out infinite alternate;
}
@keyframes front-dot-blink {
    from { opacity: 1; }
    to { opacity: .24; }
}
@media (prefers-reduced-motion: reduce) {
    .front-map-dot { animation: none !important; }
}
.front-airfield-marker { overflow: visible !important; }
.front-airfield-icon {
    display: grid;
    place-items: center;
    width: 23px;
    height: 23px;
    border: 2px solid #fff;
    border-radius: 4px;
    background: #5b6269;
    color: #fff;
    font: 700 16px sans-serif;
    box-shadow: 0 1px 6px #000;
}
.front-airfield-marker.blue .front-airfield-icon { background: #3376b9; }
.front-airfield-marker.red .front-airfield-icon { background: #b53e46; }
.front-airfield-marker.under-fire .front-airfield-icon {
    background: #f04444;
    animation: front-dot-blink 1.15s ease-in-out infinite alternate;
}
@media (prefers-reduced-motion: reduce) {
    .front-airfield-marker.under-fire .front-airfield-icon { animation: none; }
}
.front-airfield-label {
    position: absolute;
    left: 27px;
    top: 1px;
    white-space: nowrap;
    padding: 2px 5px;
    color: #f5f8fc;
    background: #121a24e8;
    border: 1px solid #8296aa;
    border-radius: 2px;
    font: 700 12px Rajdhani, sans-serif;
    text-shadow: 0 1px 2px #000;
    pointer-events: none;
}
.front-airfield-marker.blue .front-airfield-label { border-color: #5aa8ff; }
.front-airfield-marker.red .front-airfield-label { border-color: #e65b5b; }
.front-convoy-icon {
    display: grid;
    place-items: center;
    box-sizing: border-box;
    border: 2px solid #fff;
    border-radius: 4px;
    color: #fff;
    font-size: 14px;
    box-shadow: 0 1px 4px #000b;
}
.front-convoy-icon.red { background: #aa4146; }
.front-convoy-icon.blue { background: #27639c; }
.front-map-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    padding: 10px 12px;
    color: #b4c0cc;
    background: #1b2129;
    font-size: 13px;
}
.front-map-legend span::before { content: '●'; margin-right: 5px; font-size: 14px; }
.front-map-legend .blue::before, .front-count-blue { color: #5aa8ff; }
.front-map-legend .red::before, .front-count-red { color: #e65b5b; }
.front-map-legend .neutral::before, .front-count-neutral { color: #e5e9ee; }
.front-map-legend .capturing::before { color: #61df75; }
.front-map-legend .battle::before { color: #080808; -webkit-text-stroke: 1px #dedede; }
.front-map-legend .under-fire::before { color: #f04444; }
.front-map-stage .leaflet-popup-content-wrapper,
.front-map-stage .leaflet-popup-tip { background: #202a35; color: #e8f1fb; }
.front-map-stage .leaflet-popup-content { line-height: 1.4; font: 14px Rajdhani, sans-serif; }
@media (max-width: 640px) {
    .front-map-stage { height: 460px; }
    .front-map-tab { padding: 6px 10px; }
    .front-map-resources { width: 100%; margin-left: 0; justify-content: space-between; }
    .front-resource { flex: 1 1 auto; }
}
