.gl-map{position:relative!important;height: min(82vh,1000px)!important;min-height:480px;aspect-ratio:auto!important;touch-action:none;background:#081316!important;isolation:isolate}
.gl-map:fullscreen{width:100vw!important;height:100vh!important;border-radius:0!important}
.gl-terrain{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;z-index:0}
.gl-map .live-map-world,.gl-map .vktc-map-world{inset:0 auto auto 0!important;transform-origin:0 0!important}
.gl-active .live-map-world,.gl-active .vktc-map-world{background:none!important}
.gl-map .map-watermark{display:none}
.gl-controls{position:absolute;left:12px;top:58px;display:grid;gap:6px;z-index:8}
.gl-controls button{width:36px;height:36px;padding:0;font:600 21px system-ui}
.gl-controls button[aria-pressed=true]{background:#237a9f;border-color:#8ee4ff}
.gl-layers{position:absolute;top:12px;left:12px;z-index:9;background:#0c2537;border:1px solid #356179;border-radius:10px;padding:10px;color:#e6f6ff;min-width:115px;font:600 13px system-ui}
.gl-layers summary{cursor:pointer}.gl-layers label{display:flex;align-items:center;gap:10px;margin-top:12px}.gl-layers input{width:auto}
.gl-bottom{position:absolute;bottom:12px;left:50%;transform:translateX(-50%);z-index:8;display:flex;align-items:center;gap:8px;max-width:calc(100% - 24px);font-size:12px}
.gl-bottom span,.gl-bottom button{background:#0c2537;border:1px solid #356179;color:#e6f6ff;border-radius:9px;padding:10px;white-space:nowrap}.gl-bottom button{font:inherit}
.gl-ruler{position:absolute;inset:0;width:100%;height:100%;z-index:5;pointer-events:none;overflow:visible}.gl-ruler polyline{fill:none;stroke:#fff1a5;stroke-width:3;vector-effect:non-scaling-stroke}.gl-ruler circle{fill:#fff1a5;stroke:#071a26;stroke-width:2;vector-effect:non-scaling-stroke}
.gl-measuring{cursor:crosshair!important}
.gl-toolbar{position:absolute;left:12px;top:12px;right:12px;display:flex;gap:6px;z-index:10;flex-wrap:wrap}
.gl-toolbar button{padding:8px 12px;font-family:inherit;font-size:12px;font-weight:600;background:#102a3e;color:#e8f7ff;border:1px solid #456477;border-radius:9px}
.gl-toolbar button[aria-pressed=true]{background:#226b91;border-color:#83dfff}
.gl-toolpanel,.gl-context{position:absolute;z-index:11;background:#0c2233;color:#e8f7ff;border:1px solid #426479;border-radius:12px;padding:16px;box-shadow:0 12px 35px #0006;font-size:13px}
.gl-toolpanel{left:58px;top:60px;width:min(330px,calc(100% - 80px));max-height:calc(100% - 130px);overflow:auto;box-sizing:border-box;display:grid;gap:12px}
.gl-map [hidden]{display:none!important}
.gl-toolpanel header{display:flex;align-items:center;justify-content:space-between;gap:10px}
.gl-toolpanel label{display:grid;gap:5px}.gl-toolpanel input,.gl-toolpanel select{box-sizing:border-box;width:100%;min-width:0;font:inherit}
.gl-toolpanel .gl-check{display:flex;justify-content:space-between;align-items:center;padding:8px 0;border-bottom:1px solid #56839a40}
.gl-check input{width:18px;height:18px}.gl-playback{display:flex;gap:5px}.gl-playback button{flex:1;padding:8px}
.gl-tool-note{color:#9fdaef;overflow-wrap:anywhere}.gl-zone-row{display:flex;align-items:center;justify-content:space-between;gap:8px}
.gl-context{width:260px;box-sizing:border-box;display:grid;gap:7px}.gl-context button{text-align:left}
.gl-analysis,.gl-place-labels{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;z-index:4;overflow:visible}
.gl-place-labels{z-index:2}.gl-place-labels span{position:absolute;transform:translate(-50%,-50%);white-space:nowrap;color:#fff5db;font-weight:700;text-shadow:0 1px 3px #000,1px 0 3px #000,-1px 0 3px #000}
.gl-map [data-gl-style=badge]{border-radius:50%;background:#133a51;border:1px solid var(--gl-marker-color)}
.gl-map [data-gl-style=outline]{color:var(--gl-marker-color)}
.gl-map [data-gl-style=compact]{opacity:.9;filter:none}
html[data-theme=light] .gl-toolpanel,html[data-theme=light] .gl-context{background:#f1f9ff;color:#17354a;border-color:#96bcd1}
html[data-theme=light] .gl-tool-note{color:#245b75}
@media(max-width:600px){.gl-toolbar{gap:3px}.gl-toolbar button{padding:7px 5px;font-size:11px}.gl-toolpanel{left:50px;top:88px;max-height:calc(100% - 160px)}.gl-controls{top:88px}}
html[data-theme=light] .gl-layers,html[data-theme=light] .gl-bottom span,html[data-theme=light] .gl-bottom button{background:#f2faff;color:#18354a;border-color:#9dc3d5}
@media(max-width:600px){.gl-bottom{flex-wrap:wrap;justify-content:center;width:calc(100% - 24px)}.gl-map{min-height:420px}}

/* Clip terrain and marker overlays together, including during fullscreen. */
.gl-map{overflow:hidden!important;max-width:100%;box-sizing:border-box}
.gl-map .live-map-world,.gl-map .vktc-map-world{margin:0!important}

/* Screen-sized vector markers, centred on the exact telemetry coordinate. */
.gl-map button.live-map-marker{transform:translate(-50%,-50%) scale(var(--gl-icon-scale,1))!important;transform-origin:50% 50%;transition:filter .12s ease;will-change:transform}
.gl-map button.live-object-marker{width:18px!important;height:18px!important;min-width:0!important;min-height:0!important;filter:drop-shadow(0 1px 1px #001018)!important;-webkit-mask:var(--map-marker-icon) center/contain no-repeat;mask:var(--map-marker-icon) center/contain no-repeat}
.gl-map button.live-object-marker.vehicle{--map-marker-icon:url('/assets/map-car.svg')}
.gl-map button.live-object-marker.convoy{--map-marker-icon:url('/assets/map-convoy.svg')}
.gl-map button.live-object-marker.heli-crash{--map-marker-icon:url('/assets/map-helicopter.svg')}
.gl-map button.live-object-marker.flagpole{--map-marker-icon:url('/assets/map-flagpole.svg')}
.gl-map button.live-object-marker.airdrop{--map-marker-icon:url('/assets/map-airdrop.svg')}
.gl-map button.live-object-marker.koth{--map-marker-icon:url('/assets/map-koth.svg')}
.gl-map button.live-object-marker.boat{--map-marker-icon:url('/assets/map-boat.svg');width:20px!important;height:14px!important}
.gl-map button.live-object-marker.generic{width:7px!important;height:7px!important}
.gl-map button.live-player-marker{width:9px!important;height:9px!important;min-width:0!important;min-height:0!important;box-shadow:0 0 3px #34d5f888!important}
.gl-map button.live-map-marker:hover{filter:drop-shadow(0 0 3px #71e9ff)!important;z-index:12}
