/* ATOMIC NAVIGATOR — enamel, brushed brass and analog-era wayfinding. */
body[data-theme=atomic]{
  --skin-accent:#d6664c;--skin-accent-rgb:214,102,76;
  --sigma-mint:#d6664c;--accent:#d6664c;--accent-rgb:214,102,76;--accent-ink:#fff7e8;
  --shell-bg:rgba(249,240,219,.97);--shell-bg-raised:#fff9e9;
  --shell-ink:#493a35;--shell-muted:#857267;--shell-stroke:rgba(151,118,85,.45);
  --shell-shadow:rgba(79,64,47,.2);--shell-shine:rgba(255,255,237,.82);
  --radius-control:15px;--radius-sheet:22px;--experience-font:'Nunito',sans-serif;
}
body[data-theme=atomic][data-ui=day]{--shell-bg:#f8eedb;--shell-bg-raised:#fff9e9;--shell-ink:#493a35;--shell-muted:#857267}
body[data-theme=atomic] .map-shell,body[data-theme=atomic] .leaflet-container{background:#f4eedf}
body[data-theme=atomic] .map-vignette{mix-blend-mode:normal;background:linear-gradient(180deg,rgba(255,250,229,.13),transparent 28%,transparent 72%,rgba(110,155,142,.1))}
body[data-theme=atomic] .grain{opacity:.035;mix-blend-mode:multiply}
body[data-theme=atomic] .world-illustration{display:none}
body[data-theme=atomic] .brand{background:linear-gradient(135deg,#fff9e9,#ebd6b9);border:2px solid #fefbea;border-bottom-color:#ba9980;border-radius:17px;box-shadow:inset 0 2px #fffdf2,0 6px 23px #68513d44;padding:5px 14px 5px 5px}
body[data-theme=atomic] .brand-type strong{font:900 20px/1 'Nunito',sans-serif;letter-spacing:-.055em;color:#57483a;text-shadow:none}
body[data-theme=atomic] .brand-type>span{color:#427d79;font:800 8px/1.2 'Nunito',sans-serif}
body[data-theme=atomic] .map-caption{color:#66554a;text-shadow:0 1px #fffaf0;font-family:'Nunito',sans-serif}
body[data-theme=atomic] .caption-dash{background:#d6664c}
body[data-theme=atomic] .caption-coords{color:#6a8c82}
body[data-theme=atomic] .status-ring,body[data-theme=atomic] .live-dot{background:#d36a51;box-shadow:0 0 0 3px #ffecd2}
body[data-theme=atomic] :is(.circle-button,.tool-button,.theme-close,.drawer-close,.route-close,.modal-close,.clear-search,.studio-launch,.route-style-button,.utility-button,.secondary-button,.origin-shortcuts button,.quick-places button){
  color:#5c4c43;background:linear-gradient(155deg,#fffdf2,#ecdec4);
  border:1.5px solid #bfa282;border-radius:13px;
  box-shadow:inset 0 2px #fffdf2,0 3px 0 #ac8c6d66,0 6px 15px #8b6e5230;
}
body[data-theme=atomic] :is(.circle-button,.tool-button,.theme-close,.drawer-close,.route-close,.studio-launch,.utility-button):hover:not(:disabled){background:linear-gradient(160deg,#fffef5,#d5e9d8);border-color:#5b9c91}
body[data-theme=atomic] :is(.circle-button,.tool-button).active{background:#c0dcd0;border-color:#428d81;color:#396c64}
body[data-theme=atomic] .search-box{background:#fff9eb;border:2px solid #b99c80;border-radius:18px;box-shadow:inset 0 2px #fff,0 9px 26px #6a54382e}
body[data-theme=atomic] .search-box input{font:700 16px 'Nunito',sans-serif;color:#493b37}
body[data-theme=atomic] .search-box input::placeholder{color:#988577;opacity:1}
body[data-theme=atomic] .search-shortcut{color:#b3715e;border-color:#d6bb9b}
body[data-theme=atomic] .search-results,body[data-theme=atomic] .origin-results{background:#fff8e9;border:1px solid #c4a687;color:#56463e;border-radius:15px;box-shadow:0 12px 30px #72573d42}
body[data-theme=atomic] .search-result,body[data-theme=atomic] .origin-result{color:#584940}
body[data-theme=atomic] :is(.search-result,.origin-result):hover{background:#e3e9d6}
body[data-theme=atomic] .search-result small,body[data-theme=atomic] .search-message{color:#8d7768}
body[data-theme=atomic] .styles-launcher{background:linear-gradient(145deg,#fff9ea,#e4d1b6);color:#514339;border:2px solid #b59c77;border-radius:17px;box-shadow:inset 0 2px #fff,0 7px 21px #7d61473d}
body[data-theme=atomic] .styles-launcher:after{background:linear-gradient(90deg,#e47056,#6caca2);height:3px;opacity:1}
body[data-theme=atomic] .styles-copy strong{color:#53443c}
body[data-theme=atomic] .styles-copy small{color:#558b83}
body[data-theme=atomic] .quick-label{color:#537f75;background:#fff9e9e8;border:1px solid #c6ae8f;border-radius:12px;padding:5px 9px;font-size:9px}
body[data-theme=atomic] .quick-places button{color:#675346;background:#fff8e6ed;border:1px solid #b7a18a;border-radius:12px}
body[data-theme=atomic] .quick-places .place-dot{background:#da7055;border:2px solid #fff8e6;box-shadow:0 0 0 1px #c99a7f}
body[data-theme=atomic] :is(.route-card,.theme-dock,.places-drawer){
  background:linear-gradient(151deg,rgba(255,250,232,.98),rgba(235,219,191,.985));
  color:#54443b;border:2px solid #b99b7d;border-radius:22px;
  box-shadow:inset 0 2px #fffdf0,0 14px 48px #6d4f3945;backdrop-filter:blur(24px);
}
body[data-theme=atomic] :is(.route-card,.theme-dock):before{height:3px;background:linear-gradient(90deg,#d96d54,#edd2a3,#78b4a3);opacity:1;border-radius:3px}
body[data-theme=atomic] :is(.route-kicker,.dock-eyebrow){color:#bc634b;font:900 9px 'Nunito',sans-serif;letter-spacing:.12em}
body[data-theme=atomic] .route-kicker-dot{background:#d66b50;box-shadow:0 0 0 3px #ffe4c9}
body[data-theme=atomic] :is(.route-destination,.dock-heading h2,.drawer-heading h2){color:#514138;font:900 25px/1.07 'Nunito',sans-serif;letter-spacing:-.05em}
body[data-theme=atomic] :is(.route-subline,.route-notice,.dock-heading p,.dock-foot,.drawer-foot,.places-empty){color:#8b7466}
body[data-theme=atomic] .route-place-symbol{border:1px solid #bca18b;background:#fff9ea;border-radius:14px}
body[data-theme=atomic] .route-stats{background:#dfe7d3;border:1px solid #acc8ad;border-radius:14px}
body[data-theme=atomic] .route-stats strong{color:#b85642}
body[data-theme=atomic] .route-stats span{color:#587f6d}
body[data-theme=atomic] :is(.origin-summary,.secondary-button,.utility-button){background:#f6e8cf;color:#514139;border:1px solid #c3a684;border-radius:13px}
body[data-theme=atomic] .origin-summary strong{color:#55443b}
body[data-theme=atomic] .primary-button{background:linear-gradient(150deg,#ee9572,#d6654e 68%,#b9523f);border:1px solid #f8bf9e;border-radius:14px;color:#fff8eb;box-shadow:inset 0 2px #ffc6a7,0 5px 15px #ae69526e;font:900 15px 'Nunito',sans-serif;letter-spacing:.02em}
body[data-theme=atomic] .primary-button:hover{filter:brightness(1.07)}
body[data-theme=atomic] .theme-card{background:#fff9eb;border:1px solid #c9ac8b;border-radius:15px}
body[data-theme=atomic] .theme-card[aria-pressed=true]{background:#e2ead9;border-color:#428e82;box-shadow:0 0 0 1px #428e82}
body[data-theme=atomic] .theme-details strong{color:#5c493e;font-family:'Nunito',sans-serif;font-weight:900}
body[data-theme=atomic] .theme-details small{color:#8c7666}
body[data-theme=atomic] .selected-badge{background:#d66d54;color:#fff9eb}
body[data-theme=atomic] .modal{background:#fff6e3;color:#554539;border:2px solid #bda181}
body[data-theme=atomic] .modal h2{color:#5a4a40}
body[data-theme=atomic] .modal-note,body[data-theme=atomic] .modal-credits{color:#897465}
body[data-theme=atomic] .toast{background:#fff4db;color:#66483a;border:1px solid #b89678}
body[data-theme=atomic] .place-row-select{color:#58483e}
body[data-theme=atomic] .place-row{border-color:#d2bca2;background:#fff5e4}
body[data-theme=atomic] .leaflet-tile-pane{filter:none!important}
body[data-theme=atomic][data-renderer=raster] .leaflet-tile-pane img{filter:sepia(.12) hue-rotate(335deg) saturate(.88) brightness(1.035) contrast(.98)}
body[data-theme=atomic] .map-tools:before{content:none!important}
body[data-theme=atomic] :is(.circle-button,.tool-button,.search-box,.styles-launcher,.route-card,.theme-dock,.places-drawer,.quick-places button){clip-path:none!important}

/* Generated PNG icons have their own contours; never add a second backing circle. */
.atomic-ui-glyph{display:none;object-fit:contain;flex-shrink:0;vertical-align:middle;pointer-events:none;user-select:none;-webkit-user-drag:none}
body[data-theme=atomic] .atomic-ui-glyph{display:inline-block;width:24px;height:24px}
body[data-theme=atomic] .atomic-fallback-glyph{display:none!important}
body[data-theme=atomic] :is(.circle-button,.tool-button)>.atomic-ui-glyph{width:29px;height:29px}
body[data-theme=atomic] :is(.search-icon,.route-style-button,.utility-button,.origin-summary)>.atomic-ui-glyph{width:24px;height:24px}
body[data-theme=atomic] .styles-launcher>.atomic-ui-glyph{width:31px;height:31px}
body[data-theme=atomic] .route-place-symbol>.atomic-ui-glyph{width:40px;height:40px}
body[data-theme=atomic] :is(#clearSearch,#routeClose,#themeClose,#placesClose,#aboutClose){display:grid;place-items:center;padding:0!important;line-height:0}
body[data-theme=atomic] :is(#clearSearch,#routeClose,#themeClose,#placesClose,#aboutClose)>.atomic-ui-glyph{display:block;width:23px;height:23px;margin:0!important;place-self:center}
body[data-theme=atomic] .drawer-section-heading>.atomic-ui-glyph{width:20px;height:20px}
body[data-theme=atomic] .studio-launch>.atomic-ui-glyph{width:24px;height:24px;margin-right:3px}
body[data-theme=atomic] .studio-spark{display:none}
body[data-theme=atomic] #routeButton>.atomic-ui-glyph{width:31px;height:31px;margin:0}
body[data-theme=atomic] #routeButton>.atomic-ui-glyph{filter:grayscale(1) brightness(0) invert(1) drop-shadow(0 1px 1px #944a3d)}
body[data-theme=atomic] .sigma-marker.sigma-destination{width:35px;height:44px;padding:0;margin:0;border:0!important;border-radius:0!important;background:url('./assets/atomic/icons/destination.png') center bottom/contain no-repeat!important;box-shadow:none!important;clip-path:none;filter:drop-shadow(0 2px 3px #5c4c4273)}
body[data-theme=atomic] .sigma-marker.sigma-destination .marker-centre{display:none}
body[data-theme=atomic] .nav-here-dot{display:block;width:25px;height:25px;border:0;border-radius:0;background:url('./assets/atomic/drive.png') center/contain no-repeat;box-shadow:none;filter:drop-shadow(0 2px 3px #5a45355e)}
body[data-theme=atomic] .nav-here-dot:after{display:none}
.nav-pointer-atomic{display:none}
body[data-theme=atomic] :is(.nav-pointer-aero,.nav-pointer-frontier,.nav-pointer-kawaii,.nav-pointer-neon){display:none}
body[data-theme=atomic] .nav-pointer-atomic{display:block;width:52px;height:52px;object-fit:contain;filter:drop-shadow(0 2px 3px #4e6c615b)}
body[data-theme=atomic] .theme-list{grid-template-columns:repeat(6,minmax(0,1fr))}
@media(max-width:900px){body[data-theme=atomic] .theme-list{display:flex;overflow-x:auto;gap:10px;padding-bottom:7px;scroll-snap-type:x mandatory}body[data-theme=atomic] .theme-card{flex:0 0 min(45vw,208px);scroll-snap-align:start}}
@media(prefers-reduced-motion:reduce){body[data-theme=atomic] .atomic-ui-glyph{transition:none;animation:none}}
