/* Nile Active premium-motion v3 — rebuilt geographic UK campaign atlas. */
#uk-campaign-map{
  --atlas-deep:#02170d;
  --atlas-green:#0b4a30;
  --atlas-green-bright:#1e8b55;
  --atlas-cream:#f9ecc7;
  --atlas-red:#d6272c;
  --atlas-gold:#d8b233;
  --atlas-mint:#8be2bc;
  --atlas-display:var(--font-display,Anton,Impact,"Arial Black","Arial Narrow",sans-serif);
  --atlas-body:var(--font-body,Archivo,Arial,Helvetica,sans-serif);
  width:100%;
  min-width:0;
  font-family:var(--atlas-body);
}

#uk-campaign-map *{box-sizing:border-box}

.na-atlas{
  width:100%;
  min-width:0;
  display:grid;
  grid-template-columns:minmax(0,1.68fr) minmax(285px,.72fr);
  gap:14px;
  color:var(--atlas-cream);
}

.na-atlas__stage,
.na-atlas__panel{
  position:relative;
  min-width:0;
  overflow:hidden;
  border:1px solid rgba(249,236,199,.2);
  box-shadow:0 28px 86px rgba(0,0,0,.32),inset 0 1px 0 rgba(249,236,199,.07);
}

.na-atlas__stage{
  border-radius:28px;
  background:
    radial-gradient(circle at 72% 12%,rgba(30,139,85,.2),transparent 34%),
    linear-gradient(145deg,#01170d,#042f1e);
}

.na-atlas__stage-header{
  min-height:62px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:12px 16px 11px 19px;
  border-bottom:1px solid rgba(249,236,199,.14);
  background:linear-gradient(90deg,rgba(249,236,199,.05),rgba(249,236,199,.015));
}

.na-atlas__stage-header>div:first-child{display:grid;gap:3px}
.na-atlas__stage-header span{
  font-size:8px;
  font-weight:900;
  letter-spacing:.2em;
  text-transform:uppercase;
  color:rgba(249,236,199,.58);
}
.na-atlas__stage-header strong{
  font-family:var(--atlas-display);
  font-size:22px;
  font-style:italic;
  font-weight:900;
  line-height:.9;
  letter-spacing:.04em;
  text-transform:uppercase;
}

.na-atlas__legend{
  display:flex;
  align-items:center;
  gap:7px;
  flex-wrap:wrap;
  justify-content:flex-end;
}
.na-atlas__legend span{
  display:inline-flex;
  align-items:center;
  gap:5px;
  min-height:25px;
  padding:0 8px;
  border:1px solid rgba(249,236,199,.13);
  border-radius:999px;
  background:rgba(249,236,199,.035);
  color:rgba(249,236,199,.7);
  font-size:7px;
  letter-spacing:.11em;
}
.na-atlas__legend span::before{
  content:"";
  width:6px;
  height:6px;
  border-radius:50%;
  background:var(--atlas-cream);
  box-shadow:0 0 0 3px rgba(249,236,199,.09);
}
.na-atlas__legend .is-active::before{background:var(--atlas-gold)}
.na-atlas__legend .is-building::before{background:var(--atlas-red)}
.na-atlas__legend .is-tbc::before{background:var(--atlas-mint)}

.na-atlas__viewport{
  position:relative;
  min-height:640px;
  aspect-ratio:860 / 760;
  overflow:hidden;
  touch-action:none;
  cursor:grab;
  isolation:isolate;
}
.na-atlas__viewport.is-dragging{cursor:grabbing}
.na-atlas__svg{
  display:block;
  width:100%;
  height:100%;
  user-select:none;
  -webkit-user-select:none;
}

.na-atlas__world{
  transform-box:fill-box;
  transform-origin:0 0;
}
.na-atlas__world.is-animating{
  transition:transform .52s cubic-bezier(.2,.76,.18,1);
}

.na-atlas__land-shadow{fill:#000;opacity:.31}
.na-atlas__land{
  fill:#0b4a30;
  stroke:rgba(249,236,199,.52);
  stroke-width:1.55;
  vector-effect:non-scaling-stroke;
}
.na-atlas__ocean-lines path{
  fill:none;
  stroke:rgba(139,226,188,.08);
  stroke-width:1;
  stroke-dasharray:4 10;
}
.na-atlas__contours path{
  fill:none;
  stroke:rgba(249,236,199,.085);
  stroke-width:.75;
  vector-effect:non-scaling-stroke;
}
.na-atlas__micro-roads path{
  fill:none;
  stroke:rgba(139,226,188,.17);
  stroke-width:.55;
  vector-effect:non-scaling-stroke;
}
.na-atlas__micro-roads .na-atlas__street-cluster{
  stroke:rgba(249,236,199,.2);
  stroke-width:.75;
}
.na-atlas__terrain-shade ellipse{
  fill:none;
  stroke:rgba(1,23,13,.26);
  stroke-width:36;
  opacity:.28;
}

.na-atlas__road{
  fill:none;
  stroke-linecap:round;
  vector-effect:non-scaling-stroke;
}
.na-atlas__road--secondary{
  stroke:rgba(249,236,199,.32);
  stroke-width:1.1;
  stroke-dasharray:3 4;
}
.na-atlas__road--active{
  stroke:rgba(216,178,51,.65);
  stroke-width:1.8;
  filter:drop-shadow(0 0 4px rgba(216,178,51,.25));
}

.na-atlas__borders path{
  fill:none;
  stroke:rgba(249,236,199,.22);
  stroke-width:1;
  stroke-dasharray:5 5;
  vector-effect:non-scaling-stroke;
}

.na-atlas__region-labels text{
  fill:rgba(249,236,199,.12);
  font-family:var(--atlas-display);
  font-style:italic;
  font-weight:900;
  letter-spacing:.22em;
  text-anchor:middle;
}
.na-atlas__context-labels circle{fill:rgba(249,236,199,.42)}
.na-atlas__context-labels text{
  fill:rgba(249,236,199,.35);
  font-family:var(--atlas-body);
  font-size:7px;
  font-weight:900;
  letter-spacing:.08em;
  text-transform:uppercase;
}

.na-atlas__selection-route{
  fill:none;
  stroke-width:3.5;
  stroke-linecap:round;
  vector-effect:non-scaling-stroke;
  opacity:0;
  filter:drop-shadow(0 0 7px rgba(214,39,44,.45));
}
.na-atlas__selection-route.is-running{
  opacity:1;
  stroke-dasharray:8 7;
  animation:atlasRouteFlow 1.05s linear infinite,atlasRouteArrive .55s ease both;
}

.na-atlas__city{
  cursor:pointer;
  outline:none;
}
.na-atlas__city-halo{
  fill:rgba(249,236,199,.035);
  stroke:rgba(249,236,199,.14);
  stroke-width:1;
  vector-effect:non-scaling-stroke;
  transition:r .2s ease,fill .2s ease,stroke .2s ease;
}
.na-atlas__city-ring{
  fill:rgba(2,23,13,.96);
  stroke:var(--atlas-mint);
  stroke-width:1.65;
  vector-effect:non-scaling-stroke;
  transition:stroke .2s ease,fill .2s ease;
}
.na-atlas__city-core{
  fill:var(--atlas-mint);
  filter:drop-shadow(0 0 4px rgba(139,226,188,.65));
}
.na-atlas__city-tick{
  fill:none;
  stroke:rgba(249,236,199,.36);
  stroke-width:1;
  vector-effect:non-scaling-stroke;
}
.na-atlas__city-label{
  fill:rgba(249,236,199,.7);
  font-family:var(--atlas-body);
  font-size:7px;
  font-weight:900;
  letter-spacing:.08em;
  paint-order:stroke;
  stroke:rgba(2,23,13,.88);
  stroke-width:2.4px;
  vector-effect:non-scaling-stroke;
}
.na-atlas__city--active .na-atlas__city-ring{stroke:var(--atlas-gold)}
.na-atlas__city--active .na-atlas__city-core{fill:var(--atlas-gold)}
.na-atlas__city--building .na-atlas__city-ring{stroke:var(--atlas-red)}
.na-atlas__city--building .na-atlas__city-core{fill:var(--atlas-red)}
.na-atlas__city:hover .na-atlas__city-halo,
.na-atlas__city:focus .na-atlas__city-halo,
.na-atlas__city.is-active .na-atlas__city-halo{
  r:21;
  fill:rgba(249,236,199,.1);
  stroke:rgba(249,236,199,.42);
}
.na-atlas__city:hover .na-atlas__city-label,
.na-atlas__city:focus .na-atlas__city-label,
.na-atlas__city.is-active .na-atlas__city-label{fill:var(--atlas-cream)}
.na-atlas__city.is-locked .na-atlas__city-ring{
  fill:var(--atlas-cream);
  stroke:var(--atlas-red);
  stroke-width:2.4;
}
.na-atlas__city.is-locked .na-atlas__city-core{fill:var(--atlas-deep)}
.na-atlas__city.is-active .na-atlas__city-halo{animation:atlasNodePulse 1.7s ease-out infinite}

.na-atlas__frame-copy text{
  fill:rgba(249,236,199,.43);
  font-family:ui-monospace,SFMono-Regular,Menlo,monospace;
  font-size:7px;
  letter-spacing:.12em;
}
.na-atlas__frame-line{
  fill:none;
  stroke:rgba(249,236,199,.26);
  stroke-width:1;
}

.na-atlas__controls{
  position:absolute;
  right:12px;
  top:12px;
  z-index:5;
  display:flex;
  gap:5px;
}
.na-atlas__controls button{
  min-width:34px;
  height:34px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:0 9px;
  border:1px solid rgba(249,236,199,.25);
  border-radius:9px;
  background:rgba(2,23,13,.79);
  color:var(--atlas-cream);
  font-family:var(--atlas-display);
  font-size:13px;
  font-weight:900;
  letter-spacing:.06em;
  text-transform:uppercase;
  box-shadow:inset 0 1px 0 rgba(249,236,199,.08),0 8px 24px rgba(0,0,0,.2);
  backdrop-filter:blur(12px);
  cursor:pointer;
}
.na-atlas__controls button:last-child{font-size:8px}
.na-atlas__controls button:hover,
.na-atlas__controls button:focus-visible{
  border-color:var(--atlas-gold);
  background:rgba(30,97,58,.94);
  outline:none;
  transform:translateY(-1px);
}
.na-atlas__controls button:disabled{opacity:.32;cursor:not-allowed;transform:none}

.na-atlas__coordinates{
  position:absolute;
  left:13px;
  bottom:12px;
  z-index:4;
  min-height:27px;
  display:flex;
  align-items:center;
  padding:0 9px;
  border:1px solid rgba(249,236,199,.12);
  border-radius:7px;
  background:rgba(2,23,13,.68);
  color:rgba(249,236,199,.58);
  font-family:ui-monospace,SFMono-Regular,Menlo,monospace;
  font-size:7px;
  letter-spacing:.1em;
  pointer-events:none;
  backdrop-filter:blur(8px);
}

.na-atlas__tooltip{
  position:absolute;
  z-index:7;
  min-width:145px;
  max-width:210px;
  display:grid;
  gap:3px;
  padding:9px 11px 10px;
  border:1px solid rgba(249,236,199,.32);
  border-radius:10px;
  background:linear-gradient(145deg,rgba(2,23,13,.95),rgba(7,70,43,.91));
  color:var(--atlas-cream);
  box-shadow:0 15px 42px rgba(0,0,0,.35),inset 0 1px 0 rgba(249,236,199,.08);
  pointer-events:none;
  transform:translate(12px,-50%);
  backdrop-filter:blur(14px);
}
.na-atlas__tooltip span{
  color:var(--atlas-gold);
  font-size:6.5px;
  font-weight:900;
  letter-spacing:.16em;
  text-transform:uppercase;
}
.na-atlas__tooltip strong{
  font-family:var(--atlas-display);
  font-size:17px;
  font-style:italic;
  line-height:.9;
  text-transform:uppercase;
}
.na-atlas__tooltip small{
  color:rgba(249,236,199,.62);
  font-size:7px;
  font-weight:800;
  line-height:1.3;
}

.na-atlas__panel{
  display:flex;
  flex-direction:column;
  min-height:100%;
  padding:19px;
  border-radius:28px;
  background:
    radial-gradient(circle at 100% 0,rgba(214,39,44,.13),transparent 34%),
    linear-gradient(150deg,rgba(3,35,21,.99),rgba(7,76,45,.95));
}
.na-atlas__panel::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  opacity:.16;
  background-image:
    linear-gradient(rgba(249,236,199,.04) 1px,transparent 1px),
    linear-gradient(90deg,rgba(249,236,199,.04) 1px,transparent 1px);
  background-size:18px 18px;
  mask-image:linear-gradient(180deg,#000,transparent 65%);
}
.na-atlas__panel>*{position:relative;z-index:1}
.na-atlas__panel-top{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:12px;
}
.na-atlas__panel-top p,
.na-atlas__panel-top span,
.na-atlas__panel-label{
  margin:0;
  color:rgba(249,236,199,.52);
  font-size:7px;
  font-weight:900;
  letter-spacing:.17em;
  text-transform:uppercase;
}
.na-atlas__panel-top span{font-family:ui-monospace,SFMono-Regular,Menlo,monospace}
.na-atlas__panel-status{
  width:max-content;
  margin-top:30px;
  padding:5px 8px;
  border:1px solid rgba(216,178,51,.36);
  border-radius:999px;
  color:var(--atlas-gold);
  font-size:7px;
  font-weight:900;
  letter-spacing:.16em;
  text-transform:uppercase;
}
.na-atlas__panel[data-tone="building"] .na-atlas__panel-status{
  border-color:rgba(214,39,44,.48);
  color:#ff6a68;
}
.na-atlas__panel[data-tone="tbc"] .na-atlas__panel-status{
  border-color:rgba(139,226,188,.35);
  color:var(--atlas-mint);
}
.na-atlas__panel h3{
  margin:9px 0 0;
  font-family:var(--atlas-display);
  font-size:clamp(39px,4.2vw,64px);
  font-style:italic;
  font-weight:900;
  line-height:.84;
  letter-spacing:.005em;
  text-transform:uppercase;
}
.na-atlas__panel-summary{
  min-height:50px;
  margin:13px 0 0;
  color:rgba(249,236,199,.73);
  font-size:11px;
  font-weight:750;
  line-height:1.5;
}
.na-atlas__panel-metrics{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:5px;
  margin:17px 0 0;
}
.na-atlas__panel-metrics div{
  min-width:0;
  padding:9px 8px;
  border:1px solid rgba(249,236,199,.12);
  border-radius:9px;
  background:rgba(249,236,199,.035);
}
.na-atlas__panel-metrics dt{
  color:rgba(249,236,199,.42);
  font-size:6px;
  font-weight:900;
  letter-spacing:.12em;
  text-transform:uppercase;
}
.na-atlas__panel-metrics dd{
  margin:4px 0 0;
  color:var(--atlas-cream);
  font-size:8px;
  font-weight:900;
  line-height:1.25;
}
.na-atlas__panel-cta{
  min-height:39px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin-top:12px;
  padding:0 13px;
  border-radius:9px;
  background:var(--atlas-red);
  color:var(--atlas-cream);
  font-family:var(--atlas-display);
  font-size:10px;
  font-style:italic;
  font-weight:900;
  letter-spacing:.08em;
  text-transform:uppercase;
  box-shadow:0 12px 30px rgba(214,39,44,.2);
}
.na-atlas__panel-cta:hover,
.na-atlas__panel-cta:focus-visible{
  background:#eb383e;
  outline:2px solid var(--atlas-gold);
  outline-offset:2px;
}
.na-atlas__panel-rule{
  height:1px;
  margin:18px 0 14px;
  background:linear-gradient(90deg,rgba(249,236,199,.32),transparent);
}

.na-atlas__city-list{
  display:grid;
  gap:4px;
  margin-top:8px;
}
.na-atlas__city-list-button{
  width:100%;
  min-height:34px;
  display:grid;
  grid-template-columns:24px minmax(0,1fr) auto;
  align-items:center;
  gap:7px;
  padding:0 8px;
  border:1px solid transparent;
  border-radius:8px;
  background:transparent;
  color:rgba(249,236,199,.68);
  text-align:left;
  cursor:pointer;
}
.na-atlas__city-list-button>span{
  color:rgba(249,236,199,.35);
  font-family:ui-monospace,SFMono-Regular,Menlo,monospace;
  font-size:7px;
}
.na-atlas__city-list-button strong{
  overflow:hidden;
  font-family:var(--atlas-display);
  font-size:11px;
  font-style:italic;
  font-weight:900;
  text-overflow:ellipsis;
  text-transform:uppercase;
  white-space:nowrap;
}
.na-atlas__city-list-button small{
  color:rgba(249,236,199,.42);
  font-size:6px;
  font-weight:900;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.na-atlas__city-list-button:hover,
.na-atlas__city-list-button:focus-visible,
.na-atlas__city-list-button.is-active{
  border-color:rgba(249,236,199,.16);
  background:rgba(249,236,199,.07);
  color:var(--atlas-cream);
  outline:none;
}
.na-atlas__city-list-button.is-active{box-shadow:inset 3px 0 0 var(--atlas-gold)}
.na-atlas__city-list-button--building.is-active{box-shadow:inset 3px 0 0 var(--atlas-red)}
.na-atlas__city-list-button--tbc.is-active{box-shadow:inset 3px 0 0 var(--atlas-mint)}

.na-atlas__source{
  margin:auto 0 0;
  padding-top:15px;
  color:rgba(249,236,199,.36);
  font-size:6.5px;
  font-weight:700;
  line-height:1.45;
}
.na-atlas__error{
  margin:0;
  padding:30px;
  border:1px solid rgba(214,39,44,.3);
  border-radius:20px;
  background:rgba(214,39,44,.08);
  color:var(--atlas-cream);
}

@keyframes atlasNodePulse{
  0%{opacity:.75;transform:scale(.72)}
  72%,100%{opacity:0;transform:scale(1.5)}
}
@keyframes atlasRouteFlow{to{stroke-dashoffset:-30}}
@keyframes atlasRouteArrive{
  from{opacity:0}
  to{opacity:1}
}

@media(max-width:1100px){
  .na-atlas{grid-template-columns:minmax(0,1.45fr) minmax(260px,.7fr)}
  .na-atlas__viewport{min-height:570px}
  .na-atlas__panel{padding:16px}
  .na-atlas__panel h3{font-size:clamp(36px,4vw,54px)}
  .na-atlas__panel-metrics{grid-template-columns:1fr}
  .na-atlas__panel-metrics div{display:grid;grid-template-columns:72px 1fr;align-items:center}
  .na-atlas__panel-metrics dd{margin:0}
}

@media(max-width:860px){
  .na-atlas{grid-template-columns:1fr}
  .na-atlas__stage,.na-atlas__panel{border-radius:22px}
  .na-atlas__viewport{min-height:0;aspect-ratio:860 / 760}
  .na-atlas__panel{min-height:auto}
  .na-atlas__panel-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}
  .na-atlas__panel-metrics div{display:block}
  .na-atlas__panel-metrics dd{margin-top:4px}
  .na-atlas__city-list{grid-template-columns:repeat(2,minmax(0,1fr))}
  .na-atlas__source{margin-top:15px}
}

@media(max-width:560px){
  .na-atlas__stage-header{
    align-items:flex-start;
    flex-direction:column;
    min-height:auto;
    padding:13px;
  }
  .na-atlas__legend{justify-content:flex-start}
  .na-atlas__viewport{aspect-ratio:4 / 5}
  .na-atlas__svg{width:auto;min-width:100%;height:100%;transform:translateX(-7%)}
  .na-atlas__controls{right:8px;top:8px}
  .na-atlas__controls button{height:31px;min-width:31px}
  .na-atlas__tooltip{display:none}
  .na-atlas__panel{padding:15px}
  .na-atlas__panel h3{font-size:43px}
  .na-atlas__panel-metrics{grid-template-columns:1fr 1fr 1fr}
  .na-atlas__city-list{grid-template-columns:1fr 1fr}
  .na-atlas__city-list-button{grid-template-columns:20px minmax(0,1fr)}
  .na-atlas__city-list-button small{display:none}
}

@media(max-width:390px){
  .na-atlas__city-list{grid-template-columns:1fr}
  .na-atlas__panel-metrics{grid-template-columns:1fr}
  .na-atlas__panel-metrics div{display:grid;grid-template-columns:70px 1fr}
  .na-atlas__panel-metrics dd{margin:0}
}

@media(prefers-reduced-motion:reduce){
  .na-atlas__world.is-animating{transition:none}
  .na-atlas__city.is-active .na-atlas__city-halo,
  .na-atlas__selection-route.is-running{animation:none}
}
