/* Rounded, quiet controls over the original map. No map geometry or tile styling. */
html,body{height:100%;overflow:hidden;overscroll-behavior:none}
#atlas-map.atlas-app{
  --app-ink:#251c2c;
  --app-sunset-base:linear-gradient(128deg,#a596ee 0%,#c68bdf 24%,#ed98c2 48%,#ffb496 74%,#f7d17c 100%);
  --app-sunset:var(--app-sunset-base);
  --app-sunset-soft:radial-gradient(ellipse at 0% 0%,rgba(173,146,238,.18),transparent 68%),linear-gradient(120deg,rgba(210,133,190,.18),rgba(247,188,127,.13));
  --app-sunset-wash:linear-gradient(115deg,rgba(173,146,238,.055),rgba(242,158,183,.045) 58%,rgba(247,188,127,.045));
  --app-panel:rgba(24,27,32,.97);--app-row:rgba(255,255,255,.055);--app-hover:rgba(255,255,255,.095);
  --app-text:#f6f7fa;--app-muted:#b1b7c1;--app-line:rgba(255,255,255,.10);--app-accent:#efb6da;
  --app-edge:16px;--app-safe-top:calc(max(env(safe-area-inset-top,0px),var(--tg-safe-area-inset-top,0px)) + var(--tg-content-safe-area-inset-top,0px));--app-safe-bottom:calc(max(env(safe-area-inset-bottom,0px),var(--tg-safe-area-inset-bottom,0px)) + var(--tg-content-safe-area-inset-bottom,0px));--app-left:calc(var(--app-edge) + max(env(safe-area-inset-left,0px),var(--tg-safe-area-inset-left,0px)) + var(--tg-content-safe-area-inset-left,0px));--app-right:calc(var(--app-edge) + max(env(safe-area-inset-right,0px),var(--tg-safe-area-inset-right,0px)) + var(--tg-content-safe-area-inset-right,0px));--app-top:calc(var(--app-edge) + var(--app-safe-top));
  --app-bottom:calc(14px + var(--app-safe-bottom));
  --atlas-card:#20242a;--atlas-card-2:#30363e;--atlas-accent:var(--app-accent);--atlas-text:var(--app-text);--atlas-muted:var(--app-muted);
  --gn-bg:#20242a;--gn-raised:#2a3037;--gn-raised-2:#353c45;--gn-text:var(--app-text);--gn-muted:var(--app-muted);--gn-cyan:var(--app-accent);--gn-violet:#c6a9ec;--gn-pink:var(--app-accent);
  height:var(--tg-viewport-stable-height,100dvh)!important;min-height:0!important;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;
}
#atlas-map.atlas-app *{box-sizing:border-box}
#atlas-map.atlas-app ::selection{background:#704e83;color:#fff}
#atlas-map.atlas-app button,#atlas-map.atlas-app input{font-family:inherit;touch-action:manipulation}
#atlas-map.atlas-app button:focus-visible,#atlas-map.atlas-app a:focus-visible{outline:2px solid var(--app-accent)!important;outline-offset:3px}
#atlas-map.atlas-app .atlas-view{width:100%;height:100%;flex:1 1 100%}
#atlas-map.atlas-app .atlas-rail{display:none!important}
#atlas-map.atlas-app .atlas-sidebar{
  position:absolute!important;top:var(--app-top)!important;left:var(--app-left)!important;bottom:calc(98px + var(--app-bottom))!important;
  width:348px!important;max-width:calc(100% - 32px)!important;height:auto!important;flex:none!important;order:0!important;
  background:var(--app-panel)!important;border:1px solid var(--app-line)!important;border-radius:28px!important;overflow:hidden!important;
  box-shadow:0 12px 40px rgba(0,0,0,.24)!important;backdrop-filter:blur(28px) saturate(135%);-webkit-backdrop-filter:blur(28px) saturate(135%);
  color:var(--app-text)!important;z-index:1100!important;
}
#atlas-map.atlas-app .atlas-sidebar,#atlas-map.atlas-app .atlas-sidebar .atlas-sidebar-head{--gn-text:var(--app-text);--gn-muted:var(--app-muted);--atlas-accent:var(--app-accent)}
#atlas-map.atlas-app .atlas-sidebar *{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;letter-spacing:normal!important;text-shadow:none!important;text-transform:none!important}
#atlas-map.atlas-app .atlas-sidebar .atlas-sidebar-head h1,#atlas-map.atlas-app .atlas-sidebar button,#atlas-map.atlas-app .atlas-sidebar button *{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;text-transform:none!important}
#atlas-map.atlas-app .atlas-sidebar .atlas-sidebar-head{padding:22px 54px 12px 22px!important;min-height:0!important;background:none!important;border:0!important}
#atlas-map.atlas-app .atlas-sidebar #atlas-map-intro{display:block!important;padding:0!important;min-height:0!important}
#atlas-map.atlas-app .atlas-sidebar #atlas-map-intro::before,#atlas-map.atlas-app .atlas-sidebar h1::before{display:none!important;content:none!important}
#atlas-map.atlas-app .atlas-sidebar .atlas-sidebar-head h1,#atlas-map.atlas-app .atlas-sidebar .atlas-sidebar-head h1 *{font-size:23px!important;line-height:1.2!important;font-weight:650!important;color:var(--app-text)!important;background:none!important;filter:none!important;max-width:none!important;margin:0!important;padding:0!important}
#atlas-map.atlas-app .atlas-sidebar .atlas-app-tagline{font-size:12px!important;font-weight:400!important;line-height:1.5!important;margin:5px 0 0!important;color:var(--app-muted)!important;display:block!important}
#atlas-map.atlas-app .atlas-sidebar button.atlas-sidebar-close{top:18px!important;right:16px!important;width:34px!important;height:34px!important;border-radius:50%!important;background:var(--app-row)!important;color:var(--app-muted)!important;font-size:26px!important;font-weight:300!important}
#atlas-map.atlas-app .atlas-sidebar .atlas-search{padding:8px 16px 14px!important;background:none!important;border:0!important;z-index:5}
#atlas-map.atlas-app .atlas-sidebar .atlas-search-field{border-radius:16px!important;background:var(--app-row)!important;border:0!important}
#atlas-map.atlas-app .atlas-sidebar .atlas-search-field>svg{left:13px!important;color:var(--app-muted)!important}
#atlas-map.atlas-app .atlas-sidebar input.atlas-search-input{height:44px!important;padding:0 36px!important;border:0!important;border-radius:16px!important;background:transparent!important;color:var(--app-text)!important;font-size:15px!important;caret-color:var(--app-accent)}
#atlas-map.atlas-app .atlas-sidebar input.atlas-search-input::placeholder{color:var(--app-muted)!important;opacity:1}
#atlas-map.atlas-app .atlas-sidebar .atlas-search-results{border-radius:16px!important;background:#252b33!important;border:1px solid var(--app-line)!important;box-shadow:0 8px 28px rgba(0,0,0,.25)!important;max-height:240px!important}
#atlas-map.atlas-app .atlas-sidebar .atlas-search-hit{padding:11px 12px!important;border-radius:10px!important}
#atlas-map.atlas-app .atlas-sidebar .atlas-search-hit-name{font-size:14px!important;color:var(--app-text)!important}
#atlas-map.atlas-app .atlas-section-context{padding:0 22px 12px;flex:none}
#atlas-map.atlas-app .atlas-section-context h2{margin:0;font-size:17px;font-weight:600;line-height:1.4;color:var(--app-text)}
#atlas-map.atlas-app .atlas-section-context p{margin:3px 0 0;font-size:12px;line-height:1.45;color:var(--app-muted)}
#atlas-map.atlas-app .atlas-sidebar .atlas-filter{padding:0 14px 18px!important;margin:0!important;overflow-y:auto!important;overflow-x:hidden!important;scrollbar-width:thin;scrollbar-color:#555c68 transparent;min-height:0!important}
#atlas-map.atlas-app .atlas-sidebar .atlas-filter-buttons{display:flex!important;gap:6px!important;padding:0!important;margin:0 0 10px!important;background:none!important;flex-wrap:wrap}
#atlas-map.atlas-app .atlas-sidebar .atlas-filter-buttons .atlas-filter-all{flex:1!important;min-height:36px!important;height:auto!important;border:0!important;border-radius:12px!important;background:var(--app-row)!important;color:var(--app-text)!important;font-size:12px!important;font-weight:500!important;padding:8px!important;letter-spacing:0!important;box-shadow:none!important}
#atlas-map.atlas-app .atlas-sidebar .atlas-filter-buttons .atlas-filter-100{background:linear-gradient(128deg,rgba(165,150,238,.38),rgba(198,139,223,.38) 24%,rgba(237,152,194,.38) 48%,rgba(255,180,150,.38) 74%,rgba(247,209,124,.38))!important;color:#f1d9e8!important;font-weight:650!important;border-radius:14px!important}
#atlas-map.atlas-app .atlas-sidebar .atlas-filter-buttons .atlas-filter-toggle{background:linear-gradient(125deg,rgba(200,158,237,.24),rgba(243,175,177,.24))!important;color:#f0d9ef!important;border-radius:14px!important;box-shadow:none!important}
#atlas-map.atlas-app .atlas-sidebar .atlas-filter-buttons .atlas-filter-toggle[data-state=show]{background:linear-gradient(125deg,rgba(200,158,237,.32),rgba(255,199,147,.32))!important;color:#fff0dd!important}
#atlas-map.atlas-app .atlas-sidebar .atlas-filter-buttons .atlas-filter-all:hover{filter:brightness(1.09)}
#atlas-map.atlas-app .atlas-sidebar .atlas-filter-buttons .atlas-filter-all:active{filter:brightness(.93)}
@media(max-width:699px),(max-height:500px){
 #atlas-map.atlas-app.atlas-narrow .atlas-sidebar button.atlas-sidebar-close{background:rgba(255,255,255,.10)!important;color:rgba(238,242,248,.86)!important;font-weight:300!important;border:0!important;box-shadow:none!important}
}
#atlas-map.atlas-app .atlas-sidebar .atlas-filter-buttons button.atlas-filter-all .atlas-button-word{color:inherit!important;font-family:inherit!important;font-weight:500!important}
#atlas-map.atlas-app .atlas-sidebar .atlas-found-row{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:8px!important;flex-wrap:wrap;margin:0 0 18px!important;padding:0 2px!important}
#atlas-map.atlas-app .atlas-sidebar .atlas-pre-btn{border:0!important;border-radius:10px!important;background:transparent!important;color:var(--app-accent)!important;font-size:12px!important;padding:7px 2px!important;font-weight:500!important}
#atlas-map.atlas-app .atlas-sidebar .atlas-found-switch{font-size:12px!important;color:var(--app-muted)!important;gap:7px!important}
#atlas-map.atlas-app .atlas-sidebar .atlas-switch-track{border:0!important;border-radius:20px!important;background:#545c68!important;width:34px!important;height:21px!important}
#atlas-map.atlas-app .atlas-sidebar .atlas-switch-track::after{width:17px!important;height:17px!important;top:2px!important;left:2px!important;background:#fff!important;box-shadow:0 1px 3px rgba(0,0,0,.2)!important}
#atlas-map.atlas-app .atlas-sidebar .atlas-found-switch input:checked + .atlas-switch-track{background:var(--app-sunset)!important}
#atlas-map.atlas-app .atlas-sidebar .atlas-found-switch input:checked + .atlas-switch-track::after{transform:translateX(13px)!important}
#atlas-map.atlas-app .atlas-sidebar .atlas-filter-group{margin:0 0 9px!important;padding:5px!important;border:0!important;border-radius:18px!important;background:var(--app-row)!important}
#atlas-map.atlas-app .atlas-sidebar .atlas-filter-group-head{margin:0!important;padding:6px 6px 6px 9px!important;min-height:42px!important;gap:8px!important;border:0!important;background:none!important}
#atlas-map.atlas-app .atlas-sidebar .atlas-filter-group-name{font-size:13px!important;line-height:1.35!important;font-weight:600!important;color:var(--app-text)!important}
#atlas-map.atlas-app .atlas-sidebar .atlas-filter-group-label{gap:9px!important;align-items:center!important}
#atlas-map.atlas-app .atlas-sidebar .atlas-filter-group-head .atlas-filter-group-label input[type=checkbox]{opacity:.85!important;filter:none!important;width:22px!important;min-width:22px!important;height:22px!important;flex:0 0 22px!important}
#atlas-map.atlas-app .atlas-sidebar .atlas-filter-group-fold{width:32px!important;height:32px!important;padding:6px!important;flex:0 0 32px!important;background:none!important;color:var(--app-muted)!important;border:0!important;border-radius:50%!important;display:flex;align-items:center;justify-content:center}
#atlas-map.atlas-app .atlas-sidebar .atlas-filter-group-fold:hover{background:var(--app-hover)!important}
#atlas-map.atlas-app .atlas-sidebar .atlas-filter-group-body{padding:0 2px 3px!important;margin:0!important}
#atlas-map.atlas-app .atlas-sidebar .atlas-filter-row{min-height:46px!important;align-items:center!important;padding:9px 8px!important;margin:1px 0!important;border:0!important;border-radius:12px!important;background:none!important;gap:9px!important;line-height:1.35!important}
#atlas-map.atlas-app .atlas-sidebar .atlas-filter-row:hover{background:var(--app-hover)!important}
#atlas-map.atlas-app .atlas-sidebar .atlas-filter-row .atlas-filter-swatch{flex:0 0 21px!important;width:21px!important;color:var(--app-text)!important;opacity:.9!important;filter:none!important}
#atlas-map.atlas-app .atlas-sidebar .atlas-filter-row-text{align-items:flex-start!important;flex-direction:column!important;gap:3px!important;opacity:1!important;min-width:0!important}
#atlas-map.atlas-app .atlas-sidebar .atlas-filter-row-title{max-width:100%;min-width:0;display:block!important}
#atlas-map.atlas-app .atlas-sidebar .atlas-filter-row .atlas-filter-row-name,#atlas-map.atlas-app .atlas-sidebar .atlas-filter-row:hover .atlas-filter-row-name,#atlas-map.atlas-app .atlas-sidebar .atlas-filter-row:has(>input:not(:checked)):not(:hover) .atlas-filter-row-name{font-size:13px!important;font-weight:500!important;color:var(--app-text)!important;white-space:normal!important;line-height:1.3!important}
#atlas-map.atlas-app .atlas-sidebar .atlas-filter-counter,#atlas-map.atlas-app .atlas-sidebar .atlas-filter-row:hover .atlas-filter-counter{font-size:11px!important;color:var(--app-muted)!important;margin:0!important;visibility:visible!important;font-variant-numeric:tabular-nums}
#atlas-map.atlas-app .atlas-filter-count-word{display:inline!important}
#atlas-map.atlas-app .atlas-sidebar .atlas-filter-row:has(>input:not(:checked)) .atlas-filter-swatch{opacity:.42!important}
#atlas-map.atlas-app .atlas-sidebar .atlas-filter-row:has(>input:not(:checked)) .atlas-filter-row-name{color:var(--app-muted)!important}
#atlas-map.atlas-app .atlas-sidebar .atlas-filter-row:has(>input:checked){background:var(--app-sunset-wash)!important}
#atlas-map.atlas-app .atlas-sidebar .atlas-filter-row>input[type=checkbox]{position:static!important;appearance:none!important;-webkit-appearance:none!important;opacity:1!important;order:4;flex:0 0 30px!important;width:30px!important;height:18px!important;margin:0!important;min-width:30px!important;max-width:30px!important;border:0!important;border-radius:18px!important;background:#555e6a!important;cursor:pointer;box-shadow:none!important;clip:auto!important;clip-path:none!important;overflow:hidden!important;outline:none!important;-webkit-tap-highlight-color:transparent}
#atlas-map.atlas-app .atlas-sidebar .atlas-filter-row>input[type=checkbox]::before{content:''!important;display:block!important;position:relative!important;left:2px!important;top:2px!important;width:14px!important;height:14px!important;border:0!important;border-radius:50%!important;background:#fff!important;transform:none!important;transition:transform .18s ease-out}
#atlas-map.atlas-app .atlas-sidebar .atlas-filter-row>input[type=checkbox]:checked{background:var(--app-sunset)!important}
#atlas-map.atlas-app .atlas-sidebar .atlas-filter-row>input[type=checkbox]:checked::before{transform:translateX(12px)!important}
#atlas-map.atlas-app .atlas-sidebar .atlas-filter-row>input[type=checkbox]::after{display:none!important;content:none!important}
#atlas-map.atlas-app .atlas-sidebar .atlas-filter-row-fold{display:flex!important;order:3;align-items:center;justify-content:center;width:30px!important;height:32px!important;flex:0 0 30px!important;margin:0!important;padding:5px!important;background:none!important;border:0!important;border-radius:50%!important;color:var(--app-muted)!important}
#atlas-map.atlas-app .atlas-sidebar .atlas-filter-only{display:none!important}
#atlas-map.atlas-app.atlas-narrow button.atlas-filter-only.atlas-filter-only-end{display:none!important}
#atlas-map.atlas-app .atlas-sidebar .atlas-search input.atlas-search-input:focus{outline:2px solid var(--app-accent)!important;outline-offset:1px!important;background:transparent!important}
#atlas-map.atlas-app .atlas-sidebar .atlas-filter-marks{padding:4px 4px 6px!important;margin:0!important;max-height:260px!important;scrollbar-width:thin}
#atlas-map.atlas-app .atlas-sidebar .atlas-filter-mark{margin:0!important;padding:1px 4px!important;border-radius:10px;gap:5px!important;align-items:center!important}
#atlas-map.atlas-app .atlas-sidebar .atlas-filter-mark>button{padding:9px 4px!important;min-height:38px!important;font-size:12px!important;line-height:1.35!important;color:var(--app-text)!important;background:none!important}
#atlas-map.atlas-app .atlas-sidebar .atlas-filter-mark.atlas-on{background:var(--app-sunset-soft)!important}
#atlas-map.atlas-app .atlas-sidebar .atlas-filter-mark.atlas-on .atlas-filter-mark-name{color:var(--app-accent)!important;font-weight:500!important}
#atlas-map.atlas-app .atlas-sidebar .atlas-filter-mark-box{appearance:auto!important;-webkit-appearance:auto!important;accent-color:#ce85bd;width:18px!important;height:18px!important;min-width:18px!important;flex:0 0 18px!important;border-radius:5px!important;cursor:pointer}
#atlas-map.atlas-app .atlas-sidebar .atlas-filter-reset{background:none!important;color:var(--app-muted)!important;border:0!important;font-size:12px!important;padding:14px!important;margin:8px 0 0!important;border-radius:12px!important}
#atlas-map.atlas-app .atlas-sidebar .atlas-pre-menu{background:#282e36!important;border:1px solid var(--app-line)!important;border-radius:18px!important;padding:14px!important;box-shadow:0 10px 24px rgba(0,0,0,.25)!important}
#atlas-map.atlas-app .atlas-sidebar .atlas-pre-save{border-radius:11px!important;background:var(--app-sunset-soft)!important;color:var(--app-accent)!important;font-size:13px!important;padding:10px!important;border:0!important}
#atlas-map.atlas-app .atlas-section-excluded{display:none!important}
#atlas-map.atlas-app[data-section=animals] .atlas-filter:not(.atlas-100)>.atlas-filter-buttons{display:none!important}
#atlas-map.atlas-app[data-section=animals] .atlas-filter:not(.atlas-100)>.atlas-found-row{display:none!important}
#atlas-map.atlas-app .atlas-dock{position:absolute;z-index:1200;left:50%;bottom:var(--app-bottom);transform:translateX(-50%);display:flex;align-items:center;gap:4px;padding:7px;width:max-content;max-width:calc(100% - 32px);border:1px solid rgba(255,255,255,.2);border-radius:38px;background:rgba(27,30,35,.88);backdrop-filter:blur(30px) saturate(150%);-webkit-backdrop-filter:blur(30px) saturate(150%);box-shadow:0 8px 32px rgba(0,0,0,.30),inset 0 1px 0 rgba(255,255,255,.1)}
#atlas-map.atlas-app .atlas-dock-scroll{display:flex;gap:3px;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:none;min-width:0;scroll-behavior:smooth;scroll-padding:8px;touch-action:pan-x}
#atlas-map.atlas-app .atlas-dock-scroll::-webkit-scrollbar{display:none}
#atlas-map.atlas-app .atlas-dock>.atlas-dock-item{border-right:1px solid var(--app-line)}
#atlas-map.atlas-app .atlas-dock-item{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;flex:0 0 60px;min-width:60px;height:56px;padding:7px 5px;border:0;border-radius:29px;background:transparent;color:#d9dfe7;cursor:pointer;transition:background .18s ease-out,color .18s ease-out}
#atlas-map.atlas-app .atlas-dock-item svg{width:22px;height:22px;display:block;flex:none}
#atlas-map.atlas-app .atlas-dock-item span{font-size:10px;line-height:1.1;font-weight:500;white-space:nowrap;letter-spacing:0}
#atlas-map.atlas-app .atlas-dock-item:hover{background:rgba(255,255,255,.08)}
#atlas-map.atlas-app .atlas-dock-item[aria-pressed=true]{background:var(--app-sunset-soft);color:var(--app-accent);box-shadow:inset 0 1px 0 rgba(255,255,255,.12)}
#atlas-map.atlas-app .atlas-app-status{position:absolute;z-index:900;left:50%;bottom:calc(91px + var(--app-bottom));transform:translateX(-50%);max-width:calc(100% - 32px);border-radius:18px;padding:6px 12px;background:rgba(27,30,35,.82);color:#f3f5f8;font-size:11px;line-height:1.4;pointer-events:none;white-space:nowrap;backdrop-filter:blur(12px)}
#atlas-map.atlas-app .leaflet-top{top:var(--app-top)}
#atlas-map.atlas-app .leaflet-right{right:var(--app-right)}
#atlas-map.atlas-app .leaflet-left{left:var(--app-left)}
#atlas-map.atlas-app .leaflet-control{margin:0 0 10px!important}
#atlas-map.atlas-app .leaflet-bottom{bottom:calc(96px + var(--app-bottom))}
#atlas-map.atlas-app .leaflet-bar{border:1px solid var(--app-line)!important;border-radius:22px!important;background:var(--app-panel)!important;backdrop-filter:blur(18px);box-shadow:0 5px 18px rgba(0,0,0,.18)!important;overflow:hidden}
#atlas-map.atlas-app .leaflet-bar a,#atlas-map.atlas-app .leaflet-bar a:hover,#atlas-map.atlas-app .leaflet-bar a:focus{background:transparent!important;color:var(--app-text)!important;width:42px;height:42px;line-height:42px;border-color:var(--app-line)!important}
#atlas-map.atlas-app .leaflet-bar a.atlas-sidebar-toggle-button{width:auto!important;height:44px!important;padding:0 16px!important;font-size:13px!important;font-weight:600!important}
#atlas-map.atlas-app .atlas-popup,#atlas-map.atlas-app .leaflet-popup-content-wrapper{border-radius:22px!important;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important}
#atlas-map.atlas-app .atlas-popup-title{font-family:inherit!important;text-transform:none!important;letter-spacing:0!important;font-size:18px!important;line-height:1.25!important}
#atlas-map.atlas-app .atlas-popup-desc{font-family:inherit!important;font-size:13px!important;line-height:1.5!important}
#atlas-map.atlas-app .atlas-popup-found{border-radius:12px!important}
#atlas-map.atlas-app .atlas-heat-panel{border-radius:22px!important;bottom:calc(108px + var(--app-bottom))!important;max-width:calc(100% - 24px)!important;box-shadow:0 8px 30px rgba(0,0,0,.25)!important}
#atlas-map.atlas-app .atlas-info-panel{border-radius:24px!important}
@media(min-width:700px) and (min-height:501px){#atlas-map.atlas-app.atlas-sidebar-open .atlas-heat-panel{left:380px!important}}
@media(max-width:699px),(max-height:500px){
  #atlas-map.atlas-app{--app-edge:12px}
  #atlas-map.atlas-app.atlas-narrow .atlas-sidebar{top:auto!important;left:var(--app-left)!important;right:var(--app-right)!important;bottom:calc(98px + var(--app-bottom))!important;width:auto!important;max-width:none!important;height:min(60dvh,530px)!important;border-radius:28px!important;box-shadow:0 8px 32px rgba(0,0,0,.26)!important}
  #atlas-map.atlas-app.atlas-narrow .atlas-sidebar::before{content:'';position:absolute;top:7px;left:50%;transform:translateX(-50%);width:32px;height:4px;border-radius:3px;background:#626b78}
  #atlas-map.atlas-app.atlas-narrow .atlas-sidebar .atlas-sidebar-head{padding:22px 54px 6px 20px!important}
  #atlas-map.atlas-app.atlas-narrow .atlas-sidebar .atlas-sidebar-head h1{font-size:20px!important}
  #atlas-map.atlas-app.atlas-narrow .atlas-sidebar .atlas-app-tagline{display:none!important}
  #atlas-map.atlas-app.atlas-narrow .atlas-sidebar .atlas-search{padding:9px 14px 10px!important}
  #atlas-map.atlas-app.atlas-narrow .atlas-sidebar input.atlas-search-input{font-size:16px!important}
  #atlas-map.atlas-app .atlas-section-context{padding:0 20px 10px}
  #atlas-map.atlas-app .atlas-section-context p{display:none}
  #atlas-map.atlas-app .atlas-dock{max-width:calc(100% - 20px);padding:6px;gap:3px}
  #atlas-map.atlas-app .atlas-dock-item{flex-basis:58px;min-width:58px;height:54px}
  #atlas-map.atlas-app .atlas-dock-scroll{mask-image:linear-gradient(to right,#000 calc(100% - 12px),transparent);-webkit-mask-image:linear-gradient(to right,#000 calc(100% - 12px),transparent);padding-right:10px}
  #atlas-map.atlas-app .atlas-app-status{bottom:calc(87px + var(--app-bottom));max-width:calc(100% - 24px);font-size:11px}
  #atlas-map.atlas-app.atlas-sidebar-open .atlas-app-status{display:none}
  #atlas-map.atlas-app .leaflet-right{right:var(--app-right)}
  #atlas-map.atlas-app .leaflet-left{left:var(--app-left)}
  #atlas-map.atlas-app .leaflet-bar a{width:40px!important;height:40px!important;line-height:40px!important}
  #atlas-map.atlas-app .atlas-heat-panel{left:12px!important;bottom:calc(106px + var(--app-bottom))!important;width:280px!important}
}
@media(max-height:520px){#atlas-map.atlas-app .atlas-sidebar{bottom:calc(84px + var(--app-bottom))!important}#atlas-map.atlas-app.atlas-narrow .atlas-sidebar{height:calc(100% - 104px - var(--app-top) - var(--app-bottom))!important}#atlas-map.atlas-app .atlas-app-tagline,#atlas-map.atlas-app .atlas-section-context p{display:none!important}#atlas-map.atlas-app .atlas-dock-item{height:46px}#atlas-map.atlas-app .atlas-app-status{display:none}}
@media(prefers-reduced-motion:reduce){#atlas-map.atlas-app *,#atlas-map.atlas-app *::before{scroll-behavior:auto!important;transition:none!important}}
@supports not (backdrop-filter:blur(1px)){#atlas-map.atlas-app .atlas-sidebar,#atlas-map.atlas-app .atlas-dock{background:#20242a!important}}

/* Filter browsing is independent of the selected map section. */
#atlas-map.atlas-app .atlas-section-context{position:relative}
#atlas-map.atlas-app .atlas-section-context h2{padding-right:0}
#atlas-map.atlas-app .atlas-all-filters{display:inline-flex;align-items:center;min-height:34px;margin:9px 0 0;padding:6px 12px;border:1px solid rgba(224,163,209,.30);border-radius:18px;background:var(--app-sunset-soft);color:var(--app-accent);font-size:12px;font-weight:500;cursor:pointer}
#atlas-map.atlas-app .atlas-all-filters[hidden]{display:none}
#atlas-map.atlas-app .atlas-all-filters:hover{background:var(--app-sunset-soft)}
#atlas-map.atlas-app .atlas-group-icon{display:inline-flex;align-items:center;justify-content:center;flex:0 0 21px;width:21px;color:var(--app-muted)}
#atlas-map.atlas-app .atlas-group-icon svg{display:block;width:19px;height:19px}
#atlas-map.atlas-app .atlas-filter-group-label .atlas-group-icon{order:-1}
#atlas-map.atlas-app .atlas-sidebar .atlas-filter-group-name{flex:1;min-width:0}

@media(max-width:699px),(pointer:coarse){
  #atlas-map.atlas-app,#atlas-map.atlas-app *{-webkit-tap-highlight-color:transparent;-webkit-touch-callout:none;-webkit-user-select:none;user-select:none}
  #atlas-map.atlas-app input:not([type=checkbox]),#atlas-map.atlas-app textarea{-webkit-user-select:text;user-select:text;-webkit-touch-callout:default}
  #atlas-map.atlas-app img{-webkit-user-drag:none}
  #atlas-map.atlas-app .atlas-sidebar .atlas-filter-row:hover,#atlas-map.atlas-app .atlas-sidebar .atlas-filter-row:has(>input:not(:checked)):hover{background:none!important;color:var(--app-text)!important}
  #atlas-map.atlas-app .atlas-sidebar .atlas-filter-row:has(>input:checked):hover{background:var(--app-sunset-wash)!important}
}
@media(max-width:699px),(max-height:500px){
  #atlas-map.atlas-app.atlas-narrow .leaflet-control-zoom,#atlas-map.atlas-app.atlas-narrow .atlas-fullscreen{display:none!important}
  #atlas-map.atlas-app.atlas-narrow .leaflet-top.leaflet-right{display:flex;flex-direction:row;align-items:center;gap:8px}
  #atlas-map.atlas-app.atlas-narrow .leaflet-top.leaflet-right>.leaflet-control{float:none;clear:none;margin:0!important}
  #atlas-map.atlas-app.atlas-narrow .leaflet-top.leaflet-left{max-width:calc(100% - 118px)}
  #atlas-map.atlas-app.atlas-narrow .atlas-sidebar-toggle{max-width:100%;border:1px solid rgba(255,255,255,.28)!important;background:var(--app-sunset)!important;box-shadow:0 4px 16px rgba(0,0,0,.2)!important}
  #atlas-map.atlas-app.atlas-narrow .leaflet-bar a.atlas-sidebar-toggle-button{display:flex;max-width:100%;padding:0 13px!important}
  #atlas-map.atlas-app.atlas-narrow .atlas-sidebar-toggle-button .atlas-button-word{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#fff!important;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;font-size:13px!important;text-transform:none!important;letter-spacing:normal!important}
  #atlas-map.atlas-app.atlas-narrow .atlas-sidebar-toggle-button svg{flex:none;color:#fff!important}
}

/* A single sunset material, scaled to controls rather than a full-screen effect. */
@supports (background:linear-gradient(120deg in oklab,red,blue)){
  #atlas-map.atlas-app{--app-sunset-base:linear-gradient(128deg in oklab,#a596ee 0%,#c68bdf 24%,#ed98c2 48%,#ffb496 74%,#f7d17c 100%)}
}
#atlas-map.atlas-app .atlas-dock-item[aria-pressed=true]{background:var(--app-sunset);color:var(--app-ink);box-shadow:0 3px 8px rgba(0,0,0,.16)}
#atlas-map.atlas-app .atlas-dock-item[aria-pressed=true] span{font-weight:650}
#atlas-map.atlas-app .atlas-dock-item[aria-pressed=true] svg{color:var(--app-ink)}
#atlas-map.atlas-app .atlas-sidebar,#atlas-map.atlas-app .atlas-sidebar .atlas-sidebar-head{--gn-cyan:var(--app-accent);--gn-violet:#c6a9ec;--gn-pink:var(--app-accent)}
#atlas-map.atlas-app .atlas-sidebar-toggle{background:var(--app-sunset)!important;border-color:rgba(255,229,244,.45)!important}
#atlas-map.atlas-app .leaflet-bar a.atlas-sidebar-toggle-button,#atlas-map.atlas-app .atlas-sidebar-toggle-button .atlas-button-word,#atlas-map.atlas-app .atlas-sidebar-toggle-button svg{color:var(--app-ink)!important}
#atlas-map.atlas-app .atlas-sidebar .atlas-filter-row>input[type=checkbox]:checked::before,
#atlas-map.atlas-app .atlas-sidebar .atlas-found-switch input:checked + .atlas-switch-track::after{background:var(--app-ink)!important;box-shadow:0 1px 2px rgba(0,0,0,.12)!important}
#atlas-map.atlas-app .atlas-sidebar .atlas-pre-save{background:var(--app-sunset-soft)!important;border:1px solid rgba(224,163,209,.20)!important}
#atlas-map.atlas-app .atlas-sidebar .atlas-filter-mark-box{appearance:none!important;-webkit-appearance:none!important;position:relative;background:#434b55!important;border:1px solid rgba(255,255,255,.32)!important;border-radius:5px!important;box-shadow:none!important}
#atlas-map.atlas-app .atlas-sidebar .atlas-filter-mark-box:checked{background:var(--app-sunset)!important;border-color:transparent!important}
#atlas-map.atlas-app .atlas-sidebar .atlas-filter-mark-box:checked::after{content:'';position:absolute;left:5px;top:2px;width:5px;height:9px;border:solid var(--app-ink);border-width:0 2px 2px 0;transform:rotate(45deg)}
#atlas-map.atlas-app .atlas-sidebar .atlas-filter-mark-box:focus-visible{outline:2px solid var(--app-accent)!important;outline-offset:3px}
@media(max-width:699px),(max-height:500px){
  #atlas-map.atlas-app.atlas-narrow .atlas-sidebar-toggle{background:var(--app-sunset)!important;border-color:rgba(255,229,244,.45)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.3),0 5px 16px rgba(0,0,0,.22)!important}
  #atlas-map.atlas-app.atlas-narrow .leaflet-bar a.atlas-sidebar-toggle-button,
  #atlas-map.atlas-app.atlas-narrow .atlas-sidebar-toggle-button .atlas-button-word,
  #atlas-map.atlas-app.atlas-narrow .atlas-sidebar-toggle-button svg{color:var(--app-ink)!important}
}

/* Current navigation: only the symbol has a highlight; labels have their own space. */
#atlas-map.atlas-app .atlas-dock-item{flex:0 0 64px;min-width:64px;height:60px;padding:4px;gap:4px;border-radius:18px}
#atlas-map.atlas-app .atlas-dock-item[aria-pressed=true]{background:transparent;color:var(--app-accent);box-shadow:none}
#atlas-map.atlas-app .atlas-dock-item .atlas-dock-symbol{display:flex;align-items:center;justify-content:center;flex:none;width:38px;height:32px;border-radius:12px;transition:background .18s ease-out}
#atlas-map.atlas-app .atlas-dock-item .atlas-dock-label{display:block;width:100%;font-size:10px;line-height:14px;white-space:nowrap;text-align:center}
#atlas-map.atlas-app .atlas-dock-item[aria-pressed=true] .atlas-dock-symbol{background:var(--app-sunset);box-shadow:0 2px 6px rgba(0,0,0,.16)}
#atlas-map.atlas-app .atlas-dock-item[aria-pressed=true] .atlas-dock-label{font-weight:600;color:var(--app-accent)}
#atlas-map.atlas-app .atlas-dock-item[aria-pressed=true] svg{color:var(--app-ink)}
#atlas-map.atlas-app .atlas-sidebar-toggle,#atlas-map.atlas-app.atlas-narrow .atlas-sidebar-toggle{background:var(--app-panel)!important;border-color:var(--app-line)!important;box-shadow:0 5px 18px rgba(0,0,0,.20)!important}
#atlas-map.atlas-app .leaflet-bar a.atlas-sidebar-toggle-button,#atlas-map.atlas-app.atlas-narrow .leaflet-bar a.atlas-sidebar-toggle-button,
#atlas-map.atlas-app .atlas-sidebar-toggle-button .atlas-button-word,#atlas-map.atlas-app.atlas-narrow .atlas-sidebar-toggle-button .atlas-button-word{color:var(--app-text)!important}
#atlas-map.atlas-app .atlas-sidebar-toggle-button svg,#atlas-map.atlas-app.atlas-narrow .atlas-sidebar-toggle-button svg{width:26px;height:26px;padding:5px;border-radius:9px;color:var(--app-ink)!important;background:var(--app-sunset)}
#atlas-map.atlas-initializing .atlas-sidebar,#atlas-map.atlas-initializing .leaflet-control,#atlas-map.atlas-initializing .atlas-dock,#atlas-map.atlas-initializing .atlas-favorites-launch,#atlas-map.atlas-initializing .atlas-page-switch,#atlas-map.atlas-initializing .atlas-desktop-navigation{visibility:hidden!important}
#atlas-map.atlas-initializing .atlas-sidebar{display:none!important}
#atlas-map .atlas-startup{position:absolute;z-index:2000;left:50%;top:var(--app-top,24px);transform:translateX(-50%);padding:12px 20px;border-radius:24px;background:#20242a;color:#f6f7fa;font:14px/1.4 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;white-space:nowrap}
#atlas-map.atlas-app .atlas-sidebar .atlas-switch-track::after{border-radius:50%!important}
#atlas-map.atlas-app .atlas-sidebar button.atlas-sidebar-close{border:0!important}

#atlas-map.atlas-app .atlas-sidebar .atlas-filter-row>input[type=checkbox]:focus-visible{outline:2px solid var(--app-accent)!important;outline-offset:3px}
