/* Geographic maps use actual stop coordinates and street-network route tracks. */
.footlore-map-shell { --fl-map-forest: #264e3b; --fl-map-ochre: #b56a29; width: 100%; min-width: 0; overflow: hidden; border: 1px solid #d7d6c9; border-radius: 5px; background: #f8f7ef; color: #264235; }
.fl-map-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px; border-bottom: 1px solid #d7d6c9; background: #f8f7ef; }
.fl-map-layers { display: inline-flex; gap: 4px; padding: 3px; background: #e9eade; border-radius: 4px; }
.fl-map-control, .fl-map-retry { min-height: 44px; padding: 8px 15px; border: 1px solid transparent; border-radius: 3px; background: transparent; color: #264235; font: 600 12px/1.3 var(--font-sans, 'DM Sans', sans-serif); cursor: pointer; }
.fl-map-control:hover { background: #dedfcf; }
.fl-map-control.is-active { background: #264e3b; color: #fffdf7; box-shadow: 0 1px 3px #142e221a; }
.fl-map-fit { border-color: #bec7b9; }
.fl-map-control:disabled { opacity: .55; cursor: default; }
.fl-map-canvas { position: relative; z-index: 0; height: 520px; width: 100%; background: #e4e7db; font-family: var(--font-sans, 'DM Sans', sans-serif); }
.fl-map-canvas.leaflet-container { background: #e4e7db; }
.fl-map-placeholder { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 32px; text-align: center; color: #425746; font: 500 15px/1.6 var(--font-sans, 'DM Sans', sans-serif); background: #e4e7db; }
.fl-map-caption { margin: 0; padding: 13px 16px 7px; color: #455443; font: 500 12px/1.65 var(--font-sans, 'DM Sans', sans-serif); }
.fl-map-status { margin: 0; padding: 0 16px 8px; color: #264e3b; font: 600 12px/1.6 var(--font-sans, 'DM Sans', sans-serif); }
.fl-map-status.has-warning { color: #7f421c; }
.fl-map-retry { display: inline-block; min-height: 44px; margin: 0 16px 9px; border-color: #a97543; color: #7f421c; }
.fl-map-retry[hidden] { display: none; }
.fl-map-help { margin: 0; padding: 0 16px 13px; color: #55604e; font: 400 11px/1.65 var(--font-sans, 'DM Sans', sans-serif); }
.fl-map-coordinates { border-top: 1px solid #d7d6c9; background: #f1f2e7; }
.fl-map-coordinates summary { min-height: 44px; box-sizing: border-box; padding: 13px 16px; color: #264235; font: 600 12px/1.5 var(--font-sans, 'DM Sans', sans-serif); cursor: pointer; }
.fl-map-coordinate-list { display: grid; gap: 4px; list-style: none; padding: 0 10px 10px; margin: 0; }
.fl-map-coordinate-list li { margin: 0; padding: 0; }
.fl-map-stop { display: flex; align-items: center; width: 100%; gap: 11px; min-height: 55px; padding: 9px 10px; text-align: left; border: 1px solid transparent; border-radius: 3px; background: transparent; color: #264235; font: inherit; cursor: pointer; }
.fl-map-stop:hover { background: #e6e9d9; }
.fl-map-stop.is-active { border-color: #c8b491; background: #e9e2cf; }
.fl-map-stop-number { display: grid; place-items: center; flex: 0 0 27px; width: 27px; height: 27px; border: 1px solid #6b7a60; border-radius: 50%; font: 600 11px/1 var(--font-sans, 'DM Sans', sans-serif); }
.fl-map-stop.is-active .fl-map-stop-number { border-color: #9b5c25; background: #9b5c25; color: white; }
.fl-map-stop-copy { display: grid; gap: 3px; }
.fl-map-stop-copy strong { font: 600 12px/1.4 var(--font-sans, 'DM Sans', sans-serif); }
.fl-map-stop-copy small { color: #55604e; font: 400 11px/1.4 var(--font-sans, 'DM Sans', sans-serif); }
.fl-map-marker { display: grid !important; place-items: center; border: 3px solid #fffdf7; box-sizing: border-box; border-radius: 50%; background: #264e3b; color: #fffdf7; box-shadow: 0 2px 9px #122d3459; font: 700 14px/1 var(--font-sans, 'DM Sans', sans-serif); cursor: pointer; transition: background-color .15s, box-shadow .15s; }
.fl-map-marker.is-active { background: #ad6125; box-shadow: 0 0 0 5px #fffdf766, 0 3px 12px #263d3b66; }
.fl-map-marker:hover { background: #98602f; }
.footlore-map-shell .leaflet-control-zoom { border: 1px solid #b6beaa; box-shadow: 0 2px 7px #142e221a; }
.footlore-map-shell .leaflet-control-zoom a { width: 44px; height: 44px; line-height: 44px; background: #fffdf7; color: #264e3b; font-size: 23px; }
.footlore-map-shell .leaflet-control-zoom a:hover { background: #eeeedd; }
.footlore-map-shell .leaflet-control-attribution { max-width: calc(100% - 16px); padding: 3px 6px; background: #fffdf7ed; color: #405044; font: 400 11px/1.5 var(--font-sans, 'DM Sans', sans-serif); }
.footlore-map-shell .leaflet-control-attribution a { color: #264e3b; text-decoration: underline; }
.footlore-map-shell :is(button, summary, .leaflet-interactive, .leaflet-control-zoom a):focus-visible { outline: 3px solid #b56a29; outline-offset: 3px; }
.fl-map-canvas:focus-visible { outline: 3px solid #b56a29; outline-offset: -3px; }
@media (max-width: 760px) {
  .fl-map-canvas { height: 300px; }
  .fl-map-toolbar { gap: 8px; padding: 8px; }
  .fl-map-control { min-height: 44px; padding: 8px 12px; }
  .fl-map-caption { padding: 12px 12px 6px; }
  .fl-map-status { padding: 0 12px 8px; }
  .fl-map-help { padding: 0 12px 12px; }
  .footlore-map-shell[data-map-mode="player"] .fl-map-canvas { height: 300px; }
  .footlore-map-shell .leaflet-control-zoom a { width: 44px; height: 44px; line-height: 44px; }
}
@media (prefers-reduced-motion: reduce) { .fl-map-marker { transition: none; } }
