/*
 * MIT License
 *
 * Copyright (c) 2026 THALES
 *
 * Permission is hereby granted, free of charge, to any person obtaining a copy
 * of this software and associated documentation files (the "Software"), to deal
 * in the Software without restriction, including without limitation the rights
 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
 * copies of the Software, and to permit persons to whom the Software is
 * furnished to do so, subject to the following conditions:
 *
 * The above copyright notice and this permission notice shall be included in all
 * copies or substantial portions of the Software.
 *
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
 * SOFTWARE.
 */
/* Generated by the PASSAGE brand kit (motion/build.py) from motion/neon-atlas.css. */
/* PASSAGE Neon atlas — layers of the map background (motion/neon-atlas.js): the
 * still map, and one small group of layers per living route. The host keeps
 * its own position and CSS background, shown before the map is drawn.
 * --na-veil is the colour the edges fade to: the night by default, the page
 * colour with the day theme (.na-day). */
.na-host { --na-veil: 4, 6, 26; overflow: hidden; }
.na-host.na-day { --na-veil: 244, 247, 252; }
.na-host::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 80% 75% at 50% 45%, rgba(var(--na-veil), 0) 55%, rgba(var(--na-veil), 0.5) 100%);
}
.na-host.na-centre::after {
  background:
    radial-gradient(ellipse 42% 30% at 50% 55%, rgba(var(--na-veil), 0.34), rgba(var(--na-veil), 0) 100%),
    radial-gradient(ellipse 80% 75% at 50% 45%, rgba(var(--na-veil), 0) 55%, rgba(var(--na-veil), 0.5) 100%);
}
.na-map, .na-routes { position: absolute; inset: 0; width: 100%; height: 100%; display: block; pointer-events: none; opacity: 0; transition: opacity 0.9s ease; }
.na-ready > .na-map, .na-ready > .na-routes { opacity: 1; }
.na-group, .na-piece, .na-light, .na-ring { position: absolute; left: 0; top: 0; display: block; }
.na-light {
  --c: 73, 224, 255;
  width: 22px; height: 22px; margin: -11px 0 0 -11px; border-radius: 50%; opacity: 0;
  background: radial-gradient(circle, #fff 0, #fff 12%, rgba(var(--c), 0.85) 24%, rgba(var(--c), 0.3) 46%, rgba(var(--c), 0) 70%);
}
.na-ring {
  --c: 73, 224, 255;
  width: 22px; height: 22px; margin: -11px 0 0 -11px; border-radius: 50%; box-sizing: border-box; opacity: 0;
  border: 1.5px solid rgba(var(--c), 0.9);
}
/* Obstacles: the sonar ping of a new one (its layers are canvases, like the route pieces). */
.na-ping {
  --c: 124, 140, 255;
  position: absolute; left: 0; top: 0; display: block; border-radius: 50%; box-sizing: border-box; opacity: 0; pointer-events: none;
  border: 1.5px solid rgba(var(--c), 0.9); box-shadow: 0 0 12px rgba(var(--c), 0.35);
}
/* By day a light is a solid blue point with a soft halo: white would vanish on the pale map. */
.na-day .na-light {
  background: radial-gradient(circle, rgba(var(--c), 1) 0, rgba(var(--c), 1) 14%, rgba(var(--c), 0.5) 27%, rgba(var(--c), 0.16) 48%, rgba(var(--c), 0) 70%);
}
@media (prefers-reduced-motion: reduce) { .na-map, .na-routes { transition: none; } }
