.atlas-shell {
  --atlas-bg: #111612;
  --atlas-lime: #d1f77b;
  --atlas-text: #f0f3e9;
  --atlas-muted: #9da99a;
  --atlas-line: #354032;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 290px;
  width: 100%;
  min-width: 0;
  overflow: hidden;
  color: var(--atlas-text);
  background: var(--atlas-bg);
  border: 1px solid var(--atlas-line);
  border-radius: 22px;
  isolation: isolate;
  font-family: inherit;
}
.atlas-shell * { box-sizing: border-box; }
.atlas-shell button, .atlas-shell a { -webkit-tap-highlight-color: transparent; }
.atlas-shell button { font: inherit; cursor: pointer; }
.atlas-shell button:focus-visible, .atlas-shell a:focus-visible, .atlas-map:focus-visible { outline: 2px solid var(--atlas-lime); outline-offset: -4px; }
.atlas-map-wrap { position: relative; min-width: 0; height: 560px; min-height: 460px; overflow: hidden; background: radial-gradient(ellipse at 52% 52%, #1c271c 0, #111612 69%); }
.atlas-map { display: block; width: 100%; height: 100%; cursor: grab; touch-action: none; user-select: none; -webkit-user-select: none; }
.atlas-map-wrap.is-dragging .atlas-map { cursor: grabbing; }
.atlas-country { fill: #344632; stroke: #6d8063; stroke-width: 1; vector-effect: non-scaling-stroke; stroke-linejoin: round; }
.atlas-country-label { fill: #8ca083; font: 11px inherit; font-size: 11px; letter-spacing: 3px; pointer-events: none; }
.atlas-place { cursor: pointer; outline: none; }
.atlas-marker { fill: var(--atlas-lime); stroke: #111612; stroke-width: 1.5; }
.atlas-marker-halo { fill: #d1f77b1c; stroke: #d1f77b30; stroke-width: 1; }
.atlas-marker-label-bg { fill: #19231c; stroke: #526147; stroke-width: 1; }
.atlas-marker-label { fill: #e7efd9; font-family: inherit; font-size: 12px; font-weight: 500; letter-spacing: .1px; user-select: none; }
.atlas-place:hover .atlas-marker-label-bg, .atlas-place:focus-visible .atlas-marker-label-bg, .atlas-place.is-active .atlas-marker-label-bg { fill: var(--atlas-lime); stroke: var(--atlas-lime); }
.atlas-place:hover .atlas-marker-label, .atlas-place:focus-visible .atlas-marker-label, .atlas-place.is-active .atlas-marker-label { fill: #172013; }
.atlas-place:focus-visible .atlas-marker-halo { stroke: var(--atlas-lime); stroke-width: 2; }
.atlas-map-meta { position: absolute; display: flex; align-items: center; gap: 8px; top: 25px; left: 26px; font-size: 10px; font-weight: 600; letter-spacing: 1.8px; color: #a9b7a0; pointer-events: none; }
.atlas-status-dot { width: 5px; height: 5px; flex: none; border-radius: 100%; background: var(--atlas-lime); }
.atlas-view-switch { position: absolute; top: 51px; left: 24px; z-index: 2; display: flex; padding: 3px; background: #111612e8; border: 1px solid var(--atlas-line); border-radius: 24px; }
.atlas-view-switch button { min-height: 34px; padding: 6px 13px; border: 0; border-radius: 20px; background: transparent; color: #aeb9a7; font-size: 11px; white-space: nowrap; }
.atlas-view-switch button[aria-pressed="true"] { background: #34432c; color: #e7f5d4; }
.atlas-controls { display: flex; flex-direction: column; position: absolute; z-index: 2; right: 20px; bottom: 51px; overflow: hidden; border: 1px solid #46543d; border-radius: 12px; background: #19211aeb; }
.atlas-controls button { display: grid; place-items: center; width: 41px; min-height: 41px; color: #e4ebda; border: 0; background: none; font-size: 23px; line-height: 1; }
.atlas-controls button + button { border-top: 1px solid #46543d; }
.atlas-controls button:hover { background: #34432c; }
.atlas-controls button:disabled { opacity: .35; cursor: default; }
.atlas-controls svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.2; }
.atlas-map-hint { position: absolute; bottom: 20px; left: 25px; margin: 0; color: #9da99a; font-size: 10px; letter-spacing: .25px; pointer-events: none; }
.atlas-map-scale { position: absolute; right: 22px; bottom: 20px; color: #9da99a; font-size: 10px; pointer-events: none; }
.atlas-sidebar { border-left: 1px solid var(--atlas-line); min-width: 0; padding: 26px 23px 22px; display: flex; flex-direction: column; }
.atlas-list-heading { display: flex; justify-content: space-between; gap: 8px; color: #9ba791; font-size: 9px; letter-spacing: 1.6px; margin-bottom: 18px; }
.atlas-list-heading > :last-child { color: #718167; letter-spacing: .8px; }
.atlas-trip-list { display: flex; flex-direction: column; }
.atlas-trip { display: flex; align-items: center; width: 100%; gap: 12px; color: #d6decf; background: transparent; text-align: left; padding: 13px 8px 13px 0; border: none; border-bottom: 1px solid #2c3629; }
.atlas-trip-number { align-self: flex-start; padding-top: 2px; color: #718167; font-size: 10px; font-variant-numeric: tabular-nums; }
.atlas-trip-copy { display: flex; flex-direction: column; gap: 5px; }
.atlas-trip-copy strong { font-size: 12px; font-weight: 500; }
.atlas-trip-copy > span { font-size: 10px; color: #95a18d; }
.atlas-trip-arrow { margin-left: auto; font-size: 17px; color: #829974; }
.atlas-trip:hover .atlas-trip-copy strong, .atlas-trip[aria-pressed="true"] .atlas-trip-copy strong, .atlas-trip[aria-pressed="true"] .atlas-trip-arrow { color: var(--atlas-lime); }
.atlas-trip[aria-pressed="true"] .atlas-trip-number { color: var(--atlas-lime); }
.atlas-detail { padding-top: 29px; margin-top: auto; }
.atlas-detail-eyebrow { display: block; color: #96aa87; font-size: 9px; line-height: 1.4; text-transform: uppercase; letter-spacing: 1.5px; }
.atlas-detail h3 { margin: 9px 0 10px; font-family: inherit; font-size: 24px; font-weight: 400; line-height: 1.17; letter-spacing: -.6px; color: #edf2e6; }
.atlas-detail p { margin: 0; font-size: 11px; line-height: 1.7; color: #a9b39f; }
.atlas-detail a { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 17px; color: var(--atlas-lime); text-decoration: none; font-size: 11px; line-height: 1.5; }
.atlas-detail a:hover { text-decoration: underline; text-underline-offset: 4px; }
.atlas-detail a span { font-size: 17px; }
.atlas-footnote { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 13px 25px; border-top: 1px solid var(--atlas-line); font-size: 9px; letter-spacing: .15px; color: #8d9b83; }
.atlas-footnote > span { display: flex; align-items: center; gap: 7px; }
.atlas-footnote i { display: inline-block; width: 4px; height: 4px; background: var(--atlas-lime); border-radius: 50%; flex: none; }
.atlas-footnote a { color: #8d9b83; text-decoration: none; white-space: nowrap; }
.atlas-footnote a:hover { color: var(--atlas-lime); }
@media (max-width: 820px) {
  .atlas-shell { grid-template-columns: minmax(0, 1fr) 240px; }
  .atlas-sidebar { padding-left: 17px; padding-right: 17px; }
  .atlas-map-wrap { height: 545px; }
}
@media (max-width: 640px) {
  .atlas-shell { grid-template-columns: minmax(0, 1fr); border-radius: 17px; }
  .atlas-map-wrap { height: 430px; min-height: 380px; }
  .atlas-sidebar { border-left: 0; border-top: 1px solid var(--atlas-line); padding: 20px; display: block; }
  .atlas-map-meta { top: 19px; left: 20px; font-size: 9px; }
  .atlas-view-switch { top: 44px; left: 17px; }
  .atlas-controls { left: 17px; right: auto; bottom: 44px; }
  .atlas-controls button { width: 42px; min-height: 42px; }
  .atlas-map-hint { bottom: 17px; left: 20px; font-size: 9px; }
  .atlas-map-scale { bottom: 17px; right: 17px; font-size: 9px; }
  .atlas-list-heading { margin-bottom: 10px; }
  .atlas-trip-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
  .atlas-trip { gap: 8px; padding: 12px 0; }
  .atlas-trip-number { font-size: 9px; }
  .atlas-trip-copy strong { font-size: 11px; }
  .atlas-trip-copy > span { font-size: 9px; }
  .atlas-trip-arrow { display: none; }
  .atlas-detail { padding-top: 22px; min-height: 142px; }
  .atlas-detail h3 { font-size: 25px; }
  .atlas-detail h3 br { display: none; }
  .atlas-detail h3 br::after { content: ' '; }
  .atlas-detail p { max-width: 430px; }
  .atlas-detail a { max-width: 240px; }
  .atlas-footnote { padding: 12px 20px; align-items: flex-start; flex-direction: column; gap: 8px; font-size: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .atlas-shell *, .atlas-shell *::before, .atlas-shell *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* Recorded routes share the map's existing projection; strokes stay legible on zoom. */
.atlas-route { fill: none; stroke: #b3d887; stroke-width: 2; vector-effect: non-scaling-stroke; stroke-linecap: round; stroke-linejoin: round; opacity: .58; cursor: pointer; pointer-events: stroke; outline: none; }
.atlas-route:hover, .atlas-route:focus-visible { stroke: #f5ffe6; stroke-width: 4; opacity: 1; }
.atlas-route.is-active { stroke: #e1ff8d; stroke-width: 4; opacity: 1; filter: drop-shadow(0 0 3px #d1f77b44); }
.has-routes .atlas-country { fill: #2b3b2b; stroke: #5c7152; }
.has-routes .atlas-sidebar { height: 560px; }
.has-routes .atlas-list-heading { margin-bottom: 13px; letter-spacing: 1px; }
.atlas-route-count { text-align: right; }
.atlas-search { display: block; margin-bottom: 10px; }
.atlas-search input { display: block; width: 100%; min-height: 39px; border: 1px solid #3c4935; border-radius: 9px; background: #1a221a; color: var(--atlas-text); padding: 9px 11px; font: inherit; font-size: 11px; }
.atlas-search input::placeholder { color: #8f9e84; }
.atlas-search input:focus-visible { outline: 2px solid var(--atlas-lime); outline-offset: 2px; }
.atlas-ride-list { flex: 1; min-height: 90px; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #526747 #192119; padding-right: 6px; }
.atlas-ride-list .atlas-trip { padding: 12px 3px; min-height: 59px; }
.atlas-ride-list .atlas-trip-copy { min-width: 0; }
.atlas-ride-list .atlas-trip-copy strong { overflow-wrap: anywhere; line-height: 1.45; }
.atlas-ride-list .atlas-trip[aria-pressed="true"] { background: #d1f77b0a; }
.has-routes .atlas-detail { flex: none; margin-top: 14px; padding-top: 17px; border-top: 1px solid var(--atlas-line); }
.has-routes .atlas-detail h3 { font-size: 21px; line-height: 1.25; overflow-wrap: anywhere; max-height: 78px; overflow-y: auto; }
.has-routes .atlas-detail p { line-height: 1.6; }
.has-routes .atlas-detail a { margin-top: 11px; }
.atlas-no-rides { margin: 15px 0; font-size: 12px; line-height: 1.6; color: var(--atlas-muted); }
.atlas-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
@media (max-width: 820px) { .has-routes .atlas-sidebar { height: 545px; } }
@media (max-width: 640px) {
  .has-routes .atlas-sidebar { height: auto; display: flex; }
  .atlas-ride-list { max-height: 210px; flex: auto; }
  .has-routes .atlas-detail { min-height: 0; padding-top: 18px; }
  .has-routes .atlas-detail h3 { max-height: none; }
}

/* Place names provide geographic context; only the recorded lines are interactive. */
.atlas-geography { pointer-events: none; }
.atlas-city circle { fill: #a7b79b; stroke: #18231a; stroke-width: 1; }
.atlas-city text { fill: #b8c5ac; font-family: inherit; font-size: 11px; font-weight: 400; letter-spacing: .15px; stroke: #1c2b20; stroke-width: 3; paint-order: stroke; stroke-linejoin: round; }
.atlas-island-name text { fill: #a1b095; font-size: 10px; letter-spacing: 1px; }
