.atlas-map {
  --atlas-line: #b3ac9633;
  --atlas-light: #f3eee1;
  --atlas-muted: #b9c8be;
  --atlas-green: #071813;
}
.atlas-map .mapx__hud {
  margin-top: 0;
  border: 1px solid var(--atlas-line);
  border-radius: 14px;
  overflow: hidden;
  background: #071813;
  box-shadow: 0 36px 90px #02120e77;
}
.atlas-map .mapx__hud::before,.atlas-map .mapx__hud::after { display:none; }
.atlas-map .mapx__hud-bar {
  border-bottom-color: var(--atlas-line);
  color: var(--atlas-muted);
  background: #10231c;
  gap: 8px 16px;
  flex-wrap: wrap;
}
:is(#map,#map-interactive).atlas-map .mapx__canvas {
  position: relative;
  display: block;
  min-height: 0;
  background: #071813;
}
:is(#map,#map-interactive).atlas-map .mapx__svg-wrap {
  position: relative;
  box-sizing: border-box;
  height: clamp(540px, 68vh, 820px);
  min-height: 0;
  padding: 0;
  display: block;
}
:is(#map,#map-interactive).atlas-map .mapx__svg {
  display: block;
  width: 100%;
  height: 100% !important;
  max-width: none;
  overflow: hidden;
}
.atlas-map__sea-bg { fill: url(#atlas-map-sea); }
.atlas-map__graticule line,.atlas-map .mapx__grid-line { stroke: #d6ded617; vector-effect: non-scaling-stroke; }
.atlas-map__neighbor { fill: #263a33; stroke: #b5cabc50; stroke-width: .8px; vector-effect: non-scaling-stroke; }
.atlas-map .atlas-map__country { fill: url(#atlas-map-land); stroke: #9cd5de; stroke-width: 1.1px; vector-effect: non-scaling-stroke; filter: none; }
.atlas-map__district { fill: none; stroke:#dbe6d632; stroke-width: .7px; vector-effect: non-scaling-stroke; }
.atlas-map__glow { fill: none; stroke:#7fcce084; stroke-width: calc(5px * var(--map-unit, 1)); filter:url(#atlas-map-coast-glow); }
.atlas-map__sea {
  fill:#a0bfbd91;
  font:400 calc(15px * var(--map-unit, 1))/1 Georgia,serif;
  font-style: italic;
  paint-order: stroke;
  stroke: #091b16;
  stroke-width: calc(2px * var(--map-unit, 1));
}
.atlas-map .is-regional .atlas-map__sea { opacity:.5; }
.atlas-map .mapx__overlay { pointer-events:none; }
.atlas-map .mapx__overlay text {
  font-size:calc(10px * var(--map-unit, 1));
  letter-spacing:0;
  paint-order:stroke;
  stroke:#071813;
  stroke-width:calc(2.6px * var(--map-unit, 1));
  stroke-linejoin:round;
}
.atlas-map .mapx__overlay path,.atlas-map .mapx__overlay line,.atlas-map .mapx__overlay rect,.atlas-map .mapx__overlay circle,.atlas-map .mapx__overlay ellipse { vector-effect:non-scaling-stroke; }

.atlas-map__pin--op { --pin-color:#63b48c; }
.atlas-map__pin--uc { --pin-color:#7cc4df; }
.atlas-map__pin--pl { --pin-color:#e3bf78; }
.atlas-map__pin--un { --pin-color:#df8b73; }
.atlas-map__pin--mx { --pin-color:#aab4bf; }
.atlas-map__pin,.atlas-map__cluster { cursor:pointer; outline:none; }
.atlas-map__hit { fill:transparent; }
.atlas-map__halo { fill:var(--pin-color); opacity:.2; }
.atlas-map__ring { fill:none; stroke:var(--pin-color); stroke-width:1.3; }
.atlas-map__core { fill:var(--pin-color); }
.atlas-map__pin--un .atlas-map__core { fill:#0c2118; stroke:var(--pin-color); stroke-width:1.6; }
.atlas-map__pin:hover .atlas-map__halo,.atlas-map__pin:focus-visible .atlas-map__halo,.atlas-map__pin.is-selected .atlas-map__halo { opacity:.55; }
.atlas-map__pin:focus-visible .atlas-map__ring,.atlas-map__pin.is-selected .atlas-map__ring { stroke:#fff1ce; stroke-width:2.4; }
.atlas-map__pin-label {
  fill:#f2e9d6;
  font:500 11.5px/1 Inter,system-ui,sans-serif;
  paint-order:stroke;
  stroke:#081711;
  stroke-width:3px;
  stroke-linejoin:round;
  pointer-events:none;
  opacity:0;
}
.atlas-map__pin:hover .atlas-map__pin-label,.atlas-map__pin:focus-visible .atlas-map__pin-label,
.atlas-map__pin.is-selected .atlas-map__pin-label,.atlas-map .is-regional .atlas-map__pin-label { opacity:1; }
.atlas-map .is-moving .atlas-map__pin-label,.atlas-map .is-moving .atlas-map__clusters { opacity:0; }
.atlas-map__pin.is-outside,.atlas-map__pin.is-clustered { visibility:hidden; }
.atlas-map__cluster-disc { fill:#0d2119; stroke:#a7b8ab69; }
.atlas-map__cluster-ring { fill:none; stroke-width:3px; }
.atlas-map__cluster text { fill:#fff7e1; font:650 12px Inter,system-ui,sans-serif; pointer-events:none; }
.atlas-map__cluster:focus-visible .atlas-map__cluster-disc,.atlas-map__cluster:hover .atlas-map__cluster-disc { stroke:#f2d398; stroke-width:2; }

:is(#map,#map-interactive).atlas-map .mapx__controls {
  position:absolute;
  z-index:3;
  left:16px;
  top:16px;
  width: min(228px,28%);
  margin:0;
  padding:14px;
  box-sizing:border-box;
  background:#071a15eb;
  border:1px solid var(--atlas-line);
  border-radius:12px;
}
.atlas-map .mapx__control-group { margin:0 0 13px; }
.atlas-map .mapx__control-group:last-child { margin-bottom:0; }
.atlas-map .mapx__control-label { margin:0 0 8px; color:#c8b27e; }
.atlas-map .mapx__chip {
  display:block;
  width:100%;
  min-height:34px;
  padding:6px 10px;
  text-align:left;
  border:1px solid transparent;
  border-radius:6px;
  background:transparent;
  color:var(--atlas-light);
}
.atlas-map .mapx__chip.active { border-color:#c8a96e66; background:#c8a96e20; color:#ffe6b2; }
.atlas-map .mapx__chip:hover,.atlas-map .mapx__toggle:hover { background:#b5cbbc16; }
.atlas-map .mapx__toggle {
  display:flex;
  width:100%;
  min-height:34px;
  padding:5px;
  align-items:center;
  text-align:left;
  border:0;
  border-radius:5px;
  background:transparent;
  color:var(--atlas-muted);
  cursor:pointer;
  font:inherit;
}
.atlas-map button:focus-visible { outline:2px solid #edce91; outline-offset:2px; }
.atlas-map__reset {
  position:static;
  display:flex;
  align-items:center;
  gap:8px;
  min-height:34px;
  margin-top:6px;
  padding:6px 10px;
  border:1px solid #a8b9ab65;
  border-radius:8px;
  background:#071a15ed;
  color:var(--atlas-light);
  cursor:pointer;
  font:500 12px/1.2 Inter,system-ui,sans-serif;
}
.atlas-map__reset:hover { border-color:#e1c18b; }
.atlas-map__reset svg { width:16px; height:16px; }

:is(#map,#map-interactive).atlas-map .mapx__panel {
  position:absolute;
  z-index:4;
  top:16px;
  right:16px;
  left:auto;
  width:min(340px, 34%);
  max-height:calc(100% - 170px);
  box-sizing:border-box;
  overflow:auto;
  transform:none;
  color:var(--atlas-light);
  background:#0a2019f5;
  border:1px solid #a8b9ab61;
  border-top:2px solid #c8a96e;
  border-radius:11px;
  box-shadow:0 16px 36px #00130c77;
}
:is(#map,#map-interactive).atlas-map .mapx__panel[hidden] { display:none; }
:is(#map,#map-interactive).atlas-map .mapx__panel.show { opacity:1; visibility:visible; pointer-events:auto; }
.atlas-map .mapx__panel-status { color:var(--pin-color); border-color:var(--pin-color); max-width:calc(100% - 28px); }
.atlas-map .mapx__panel-row { display:flex; justify-content:space-between; gap:12px; }
.atlas-map__row-label { color:var(--atlas-muted); }
.atlas-map__row-value { overflow-wrap:anywhere; text-align:right; }
.atlas-map__source { font-size:12px; margin:14px 0 0; }
.atlas-map__source a,.atlas-map__note a { color:#e4c58a; text-underline-offset:3px; }
.atlas-map__legend {
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:8px 18px;
  padding:13px 18px;
  border-top:1px solid var(--atlas-line);
  background:#0c2119;
  color:var(--atlas-muted);
  font:500 12px/1.35 Inter,system-ui,sans-serif;
}
.atlas-map__legend-item { display:inline-flex; align-items:center; gap:7px; }
.atlas-map__legend-item b { color:var(--atlas-light); font-variant-numeric:tabular-nums; }
.atlas-map__dot { display:inline-block; width:9px; height:9px; border-radius:50%; background:var(--pin-color); }
.atlas-map .mapx__readout { border-top-color:var(--atlas-line); background:#0a1b15; }
.atlas-map .mapx__readout-cell { min-width:0; }
.atlas-map :is(#mapxFin,#interactive-mapxFin) { position:static; margin:0; padding:0; border:0; background:none; box-shadow:none; min-height:0; color:#7bc2dc; }
.atlas-map__note { max-width:78ch; margin:16px 3px 0; color:var(--atlas-muted); font:400 12.5px/1.55 Inter,system-ui,sans-serif; }
@media (max-width:939px) {
  :is(#map,#map-interactive).atlas-map .mapx__controls { position:relative; top:0; left:0; width:auto; margin:12px 12px 0; }
  :is(#map,#map-interactive).atlas-map .mapx__control-group { display:flex; flex-wrap:wrap; justify-content:flex-start; align-items:center; gap:6px; }
  .atlas-map .mapx__control-label { width:100%; }
  :is(#map,#map-interactive).atlas-map .mapx__chip,:is(#map,#map-interactive).atlas-map .mapx__toggle { width:auto; margin:0; font-size:12px; }
  .atlas-map .mapx__chip { border-color:var(--atlas-line); border-radius:20px; }
  :is(#map,#map-interactive).atlas-map .mapx__panel { position:relative; inset:auto; width:auto; max-height:none; margin:0 12px 12px; }
  :is(#map,#map-interactive).atlas-map .mapx__svg-wrap { height:clamp(360px,61vw,565px); }
}
@media (max-width:540px) {
  :is(#map,#map-interactive).atlas-map .mapx__wrap { padding-inline:14px; }
  :is(#map,#map-interactive).atlas-map .mapx__hud-id { display:none; }
  :is(#map,#map-interactive).atlas-map .mapx__readout { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); }
  :is(#map,#map-interactive).atlas-map .mapx__readout-cell { padding:10px 13px; }
  :is(#map,#map-interactive).atlas-map .mapx__readout-cell:last-child { grid-column:1/-1; border-top:1px solid var(--atlas-line); }
  .atlas-map .is-regional .atlas-map__pin-label { opacity:0; }
  .atlas-map .atlas-map__pin:focus-visible .atlas-map__pin-label,.atlas-map .atlas-map__pin.is-selected .atlas-map__pin-label { opacity:1; }
}
