/* Figma-first map shell */
.mtb-map-shell--figma {
  background: radial-gradient(ellipse at 35% 55%, #160a00 0%, #08070d 50%, #000 100%);
  border-radius: 20px;
  border-color: rgba(255,255,255,0.1);
  box-shadow: 0 0 0 1px rgba(255,122,47,0.07), 0 48px 160px rgba(0,0,0,0.96);
}
.mtb-map-shell--figma .leaflet-control-zoom,
.mtb-map-shell--figma .mtb-sidebar-rail,
.mtb-map-shell--figma .mtb-map-rail,
.mtb-map-shell--figma .mtb-sidebar-detail,
.mtb-map-shell--figma [data-section="layers"] {
  display: none !important;
}
.mtb-map-shell--figma .mtb-panel-map-sidebar {
  position: relative;
  inset: auto;
  width: 308px;
  min-width: 220px;
  max-width: 80vw;
  height: 100%;
  max-height: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  background: linear-gradient(180deg, rgba(28,28,30,0.1), rgba(8,8,10,0.18));
  backdrop-filter: blur(46px) saturate(150%);
  -webkit-backdrop-filter: blur(46px) saturate(150%);
  border-radius: 20px 0 0 20px;
  border: 1px solid rgba(255,255,255,0.1);
  border-right: 1px solid rgba(255,255,255,0.08);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.14), inset -1px 0 0 rgba(255,255,255,0.06), 8px 0 32px rgba(0,0,0,0.36);
  resize: none;
  overflow: visible;
}
.mtb-map-shell--figma .mtb-panel-map-sidebar::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.01) 28%, rgba(255,255,255,0.02) 100%),
    radial-gradient(circle at top left, rgba(255,255,255,0.08), transparent 38%);
  opacity: 0.9;
}
.mtb-map-shell--figma.mtb-map-shell--split-left .mtb-panel-map-sidebar {
  width: 308px;
}
.mtb-map-shell--figma .mtb-sidebar-scroll {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-width: 0;
  gap: 0;
  padding: 0 12px 14px;
  overflow-y: auto;
  overflow-x: hidden;
  position: relative;
  z-index: 1;
}
.mtb-map-shell--figma .mtb-sidebar-scroll *,
.mtb-map-shell--figma .mtb-sidebar-scroll *::before,
.mtb-map-shell--figma .mtb-sidebar-scroll *::after {
  box-sizing: border-box;
}
.mtb-map-shell--figma .mtb-sidebar-header {
  position: sticky;
  top: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 16px 16px 14px;
  background: transparent;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.mtb-map-shell--figma .mtb-sidebar-header::after {
  content: "";
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(255,122,47,0.32), transparent);
}
.mtb-map-shell--figma .mtb-brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
}
.mtb-map-shell--figma .mtb-brand-kicker {
  letter-spacing: 0.12em;
}
.mtb-map-shell--figma .mtb-status-chip {
  margin-left: auto;
}
.mtb-map-shell--figma .mtb-sidebar-header,
.mtb-map-shell--figma .mtb-top-band,
.mtb-map-shell--figma .mtb-filter-summary,
.mtb-map-shell--figma .mtb-beginner-help__body,
.mtb-map-shell--figma .mtb-activity-chip-row {
  display: none;
}
.mtb-map-shell--figma .mtb-sidebar-top {
  display: grid;
  gap: 12px;
  padding: 16px 4px 12px;
}
.mtb-map-shell--figma .mtb-mode-toggle {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  width: max-content;
  margin: 0;
  padding: 3px;
  border-radius: 16px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.09);
}
.mtb-map-shell--figma .mtb-mode-toggle__btn {
  width: 50px;
  min-height: 42px;
  border-radius: 12px;
  border: 1px solid transparent;
  background: transparent;
  color: rgba(255,255,255,0.34);
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.18s ease;
}
.mtb-map-shell--figma .mtb-mode-toggle__btn.is-active {
  border-color: rgba(255,122,47,0.34);
  background: linear-gradient(135deg, rgba(255,122,47,0.28) 0%, rgba(255,122,47,0.13) 100%);
  box-shadow: 0 0 12px rgba(255,122,47,0.2), inset 0 1px 0 rgba(255,122,47,0.22);
  color: #ff7a2f;
}
.mtb-map-shell--figma .mtb-mode-toggle__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
}
.mtb-map-shell--figma .mtb-mode-toggle__icon--info {
  border: 2px solid currentColor;
}
.mtb-map-shell--figma .mtb-mode-toggle__icon--photo {
  font-size: 14px;
}
.mtb-map-shell--figma .mtb-filters-form--sidebar {
  display: grid;
  gap: 12px;
}
.mtb-map-shell--figma .mtb-search-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 42px;
  gap: 10px;
  align-items: center;
}
.mtb-map-shell--figma .mtb-search-pill {
  position: relative;
  min-width: 0;
  min-height: 72px;
  padding: 0 18px 0 44px;
  align-items: center;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.02);
}
.mtb-map-shell--figma .mtb-search-pill span:not(.mtb-search-pill__icon) {
  display: none;
}
.mtb-map-shell--figma .mtb-search-pill__icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255,255,255,0.28);
  font-size: 18px;
  line-height: 1;
}
.mtb-map-shell--figma .mtb-search-pill input {
  height: 100%;
  padding: 0 42px 0 0;
  border: 0;
  background: transparent;
  color: rgba(255,255,255,0.92);
  font-size: 14px;
}
.mtb-map-shell--figma .mtb-search-pill input::placeholder {
  color: rgba(255,255,255,0.42);
}
.mtb-map-shell--figma .mtb-suggestion-list {
  display: none !important;
}
.mtb-map-shell--figma .mtb-search-pill .pill-clear {
  right: 12px;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
}
.mtb-map-shell--figma .mtb-filter-icon-btn {
  position: relative;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.025);
  color: rgba(255,255,255,0.92);
  cursor: pointer;
}
.mtb-map-shell--figma .mtb-filter-icon-btn__bars,
.mtb-map-shell--figma .mtb-filter-icon-btn__bars::before,
.mtb-map-shell--figma .mtb-filter-icon-btn__bars::after {
  position: absolute;
  left: 50%;
  width: 16px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  content: "";
  transform: translateX(-50%);
}
.mtb-map-shell--figma .mtb-filter-icon-btn__bars {
  top: 20px;
}
.mtb-map-shell--figma .mtb-filter-icon-btn__bars::before {
  top: -6px;
  width: 12px;
}
.mtb-map-shell--figma .mtb-filter-icon-btn__bars::after {
  top: 6px;
  width: 10px;
}
.mtb-map-shell--figma .mtb-filter-icon-btn[aria-expanded="true"] {
  border-color: rgba(255,122,47,0.34);
  background: rgba(255,122,47,0.14);
  color: #ff7a2f;
}
.mtb-map-shell--figma .mtb-route-list-count {
  font-size: 13px;
  color: rgba(255,255,255,0.54);
  padding-left: 6px;
}
.mtb-map-shell--figma .mtb-route-list-count [data-route-count] {
  color: rgba(255,255,255,0.92);
  font-weight: 600;
}
.mtb-map-shell--figma .mtb-shell-hidden-controls {
  display: none;
}
.mtb-map-shell--figma .mtb-filter-panel {
  display: grid;
  gap: 10px;
  margin-top: -2px;
  padding: 12px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.07);
  background: rgba(255,255,255,0.02);
}
.mtb-map-shell--figma .mtb-filter-panel[hidden] {
  display: none;
}
.mtb-map-shell--figma .mtb-filter-panel__native-activities {
  display: none;
}
.mtb-map-shell--figma .mtb-list-stack {
  display: grid;
  gap: 10px;
  padding: 0 4px 16px;
  margin-top: 0;
  min-width: 0;
  overflow-x: hidden;
}
.mtb-map-shell--figma .mtb-map-list {
  display: grid;
  gap: 12px;
  min-width: 0;
  overflow-x: hidden;
}
.mtb-map-shell--figma .mtb-route-card--figma {
  margin: 0;
  width: 100%;
  min-width: 0;
  padding: 0;
  background: linear-gradient(180deg, rgba(34,34,36,0.26), rgba(18,18,20,0.18));
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.15s ease;
}
.mtb-map-shell--figma .mtb-route-card--figma.is-active,
.mtb-map-shell--figma .mtb-route-card--figma:hover {
  border-color: rgba(255,122,47,0.32);
  box-shadow: inset 0 0 0 1px rgba(255,122,47,0.16);
}
.mtb-map-shell--figma .mtb-route-card__trigger {
  width: 100%;
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr) 32px;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
}
.mtb-map-shell--figma .mtb-route-card__chevron {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.07);
  background: rgba(255,255,255,0.04);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.28);
  font-size: 16px;
}
.mtb-map-shell--figma .mtb-route-card__visual {
  width: 96px;
  height: 96px;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 0;
  border: 1px solid rgba(255,255,255,0.07);
  background: rgba(255,255,255,0.025);
  position: relative;
}
.mtb-map-shell--figma .mtb-route-card__visual.has-photo-count::after {
  content: attr(data-photo-count);
  position: absolute;
  right: 6px;
  bottom: 6px;
  min-width: 24px;
  height: 24px;
  padding: 0 6px;
  border-radius: 999px;
  background: rgba(0,0,0,0.82);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
}
.mtb-map-shell--figma .mtb-route-card__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.mtb-map-shell--figma .mtb-route-card__summary {
  min-width: 0;
  align-self: center;
  padding-right: 0;
}
.mtb-map-shell--figma .mtb-route-card__title {
  font-size: 16px;
  line-height: 1.16;
  font-weight: 700;
  color: rgba(255,255,255,0.92);
  margin-bottom: 6px;
}
.mtb-map-shell--figma .mtb-route-card__location {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,0.36);
  margin-bottom: 10px;
}
.mtb-map-shell--figma .mtb-route-card__chips,
.mtb-map-shell--figma .mtb-route-card__metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.mtb-map-shell--figma .mtb-route-card__chip,
.mtb-map-shell--figma .mtb-route-card__metrics span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 10px;
  font-size: 12px;
  border: 1px solid rgba(255,255,255,0.07);
  background: rgba(255,255,255,0.025);
}
.mtb-map-shell--figma .mtb-route-card__metrics {
  margin-top: 10px;
}
.mtb-map-shell--figma .mtb-route-card__metrics span {
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,0.72);
}
.mtb-map-shell--figma .mtb-route-card__chip--activity {
  color: #ffb37e;
  border-color: rgba(255,122,47,0.32);
  background: rgba(120,58,18,0.26);
}
.mtb-map-shell--figma .mtb-photo-feed {
  display: grid;
  gap: 8px;
}
.mtb-map-shell--figma .mtb-photo-card {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 10px;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.07);
  background: rgba(255,255,255,0.025);
}
.mtb-map-shell--figma .mtb-photo-card__media {
  width: 96px;
  height: 96px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
}
.mtb-map-shell--figma .mtb-photo-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.mtb-map-shell--figma .mtb-photo-card__title {
  font-size: 12.5px;
  color: rgba(255,255,255,0.92);
  margin-bottom: 5px;
}
.mtb-map-shell--figma .mtb-photo-card__meta {
  font-size: 10px;
  color: rgba(255,255,255,0.28);
  margin-bottom: 8px;
}
.mtb-map-shell--figma .mtb-photo-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.mtb-map-shell--figma .mtb-map-right-stack {
  position: absolute;
  top: 64px;
  right: 16px;
  z-index: 500;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}
.mtb-map-shell--figma .mtb-map-right-stack,
.mtb-map-shell--figma .mtb-map-right-stack * {
  box-sizing: border-box;
}
.mtb-map-shell--figma .mtb-map-zoom-stack,
.mtb-map-shell--figma .mtb-map-tool-stack {
  display: flex;
  flex-direction: column;
  gap: 1px;
  width: 44px;
  background: rgba(12,11,16,0.78);
  backdrop-filter: blur(60px) saturate(180%);
  -webkit-backdrop-filter: blur(60px) saturate(180%);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.12), 0 8px 32px rgba(0,0,0,0.5);
}
.mtb-map-shell--figma .mtb-map-tool-btn {
  width: 44px;
  min-width: 44px;
  height: 44px;
  min-height: 44px;
  padding: 0;
  margin: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  color: rgba(255,255,255,0.7);
  line-height: 1;
  cursor: pointer;
  box-shadow: none;
  appearance: none;
  -webkit-appearance: none;
}
.mtb-map-shell--figma .mtb-map-tool-btn svg {
  width: 17px;
  height: 17px;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.mtb-map-shell--figma .mtb-map-tool-btn:hover,
.mtb-map-shell--figma .mtb-map-tool-btn.is-active {
  background: rgba(255,122,47,0.15);
  color: #ff7a2f;
}
.mtb-map-shell--figma .mtb-map-tool-btn[data-map-tool="layers"] {
  color: rgba(255,255,255,0.82);
}
.mtb-map-shell--figma .mtb-map-right-panel {
  display: none;
}
.mtb-map-shell--figma .mtb-mobile-tools-toggle,
.mtb-map-shell--figma .mtb-mobile-tools-backdrop,
.mtb-map-shell--figma .mtb-mobile-tools-about,
.mtb-map-shell--figma .mtb-mobile-tools-view-pill {
  display: none;
}
.mtb-map-shell--figma .mtb-map-tools-wrap {
  position: relative;
}
.mtb-map-shell--figma .mtb-map-layers-menu {
  position: absolute;
  top: 0;
  right: calc(100% + 10px);
  width: 220px;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.09);
  background: rgba(12,11,16,0.78);
  backdrop-filter: blur(60px) saturate(180%);
  -webkit-backdrop-filter: blur(60px) saturate(180%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.12), 0 8px 32px rgba(0,0,0,0.5);
}
.mtb-map-shell--figma .mtb-map-layers-menu[hidden] {
  display: none;
}
.mtb-map-shell--figma .mtb-map-layers-menu__section + .mtb-map-layers-menu__section {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.mtb-map-shell--figma .mtb-map-layers-menu__label,
.mtb-map-shell--figma .mtb-map-right-panel__label {
  margin-bottom: 8px;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.28);
}
.mtb-map-shell--figma .mtb-map-layer-toggles {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.mtb-map-shell--figma .mtb-map-layer-toggle {
  min-height: 30px;
  width: 100%;
  padding: 6px 8px;
  border-radius: 8px;
  border: 1px solid transparent;
  background: rgba(255,255,255,0.04);
  color: rgba(255,255,255,0.54);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
}
.mtb-map-shell--figma .mtb-map-layer-toggle.is-active {
  border-color: rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.92);
}
.mtb-map-shell--figma .mtb-map-layer-toggle__label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  min-width: 0;
}
.mtb-map-shell--figma .mtb-map-layer-toggle__dot {
  width: 13px;
  height: 13px;
  border-radius: 999px;
  flex: 0 0 13px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.08);
}
.mtb-map-shell--figma .mtb-map-layer-toggle__dot.is-heat {
  background: linear-gradient(135deg, rgba(255,122,47,0.88), rgba(255,255,255,0.88));
}
.mtb-map-shell--figma .mtb-map-layer-toggle__dot.is-glow {
  background: linear-gradient(135deg, rgba(255,122,47,0.92), rgba(255,193,7,0.84));
}
.mtb-map-shell--figma .mtb-map-layer-toggle__dot.is-routes {
  background: rgba(255,255,255,0.82);
}
.mtb-map-shell--figma .mtb-map-layer-toggle__dot.is-photos {
  background: rgba(182,182,182,0.84);
}
.mtb-map-shell--figma .mtb-map-layer-toggle__dot.is-activity {
  background: rgba(128,128,128,0.84);
}
.mtb-map-shell--figma .mtb-map-layer-toggle__switch {
  position: relative;
  width: 32px;
  height: 16px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.1);
  transition: background 0.18s ease, border-color 0.18s ease;
}
.mtb-map-shell--figma .mtb-map-layer-toggle__switch span {
  position: absolute;
  top: 1px;
  left: 1px;
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,0.35);
  transition: left 0.18s ease;
}
.mtb-map-shell--figma .mtb-map-layer-toggle.is-active .mtb-map-layer-toggle__switch {
  border-color: rgba(255,122,47,0.48);
  background: rgba(255,122,47,0.78);
}
.mtb-map-shell--figma .mtb-map-layer-toggle.is-active .mtb-map-layer-toggle__switch span {
  left: 17px;
}
.mtb-map-shell--figma .mtb-map-cluster-control {
  display: flex;
  align-items: center;
  gap: 10px;
}
.mtb-map-shell--figma .mtb-map-cluster-control input[type="range"] {
  flex: 1;
  height: 4px;
  border-radius: 999px;
  outline: none;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  background: linear-gradient(to right, #ff7a2f 27%, rgba(255,255,255,0.12) 27%);
}
.mtb-map-shell--figma .mtb-map-cluster-control input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #ff7a2f;
  border: 2px solid rgba(255,255,255,0.9);
  box-shadow: 0 2px 8px rgba(255,122,47,0.5), 0 1px 3px rgba(0,0,0,0.4);
}
.mtb-map-shell--figma .mtb-map-cluster-control input[type="range"]::-moz-range-thumb {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #ff7a2f;
  border: 2px solid rgba(255,255,255,0.9);
  box-shadow: 0 2px 8px rgba(255,122,47,0.5), 0 1px 3px rgba(0,0,0,0.4);
}
.mtb-map-shell--figma .mtb-map-cluster-control__value {
  min-width: 38px;
  text-align: right;
  font-size: 11px;
  color: rgba(255,255,255,0.54);
}
.mtb-map-shell--figma .mtb-map-right-panel__section + .mtb-map-right-panel__section {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.mtb-map-shell--figma .mtb-map-coords {
  font-family: monospace;
  font-size: 10px;
  color: rgba(255,255,255,0.92);
}
.mtb-map-shell--figma .mtb-map-right-panel__label--with-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.mtb-map-shell--figma .mtb-map-copy-btn {
  width: 18px;
  height: 18px;
  border-radius: 5px;
  border: 0;
  background: transparent;
  color: rgba(255,255,255,0.28);
  cursor: pointer;
  line-height: 1;
}
.mtb-map-shell--figma .mtb-map-copy-btn:hover {
  color: rgba(255,255,255,0.82);
  background: rgba(255,255,255,0.06);
}
.mtb-map-shell--figma .mtb-map-compass-rose {
  position: relative;
  width: 52px;
  height: 52px;
  margin: 0 auto;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.mtb-map-shell--figma .mtb-map-compass-rose__ring {
  position: absolute;
  inset: 2px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.1);
}
.mtb-map-shell--figma .mtb-map-compass-rose__needle {
  position: absolute;
  left: 50%;
  width: 0;
  height: 0;
  margin-left: -3px;
  border-left: 3px solid transparent;
  border-right: 3px solid transparent;
}
.mtb-map-shell--figma .mtb-map-compass-rose__needle--north {
  top: 6px;
  border-bottom: 18px solid #ff7a2f;
}
.mtb-map-shell--figma .mtb-map-compass-rose__needle--south {
  bottom: 6px;
  border-top: 18px solid rgba(255,255,255,0.28);
}
.mtb-map-shell--figma .mtb-map-compass-rose__hub {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 8px;
  margin-top: -4px;
  margin-left: -4px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.14);
}
.mtb-map-shell--figma .mtb-map-compass-rose__dir {
  position: absolute;
  font-size: 7px;
  color: rgba(255,255,255,0.26);
}
.mtb-map-shell--figma .mtb-map-compass-rose__dir--n {
  top: -2px;
  left: 50%;
  transform: translateX(-50%);
  color: #ff7a2f;
}
.mtb-map-shell--figma .mtb-map-compass-rose__dir--s {
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
}
.mtb-map-shell--figma .mtb-map-compass-rose__dir--w {
  top: 50%;
  left: -2px;
  transform: translateY(-50%);
}
.mtb-map-shell--figma .mtb-map-compass-rose__dir--e {
  top: 50%;
  right: -2px;
  transform: translateY(-50%);
}
.mtb-map-shell--figma .mtb-map-shortcuts {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 6px 8px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.07);
  background: rgba(255,255,255,0.03);
}
.mtb-map-shell--figma .mtb-map-shortcuts__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.mtb-map-shell--figma .mtb-map-shortcuts__row span:first-child {
  font-size: 8.5px;
  color: rgba(255,255,255,0.54);
  padding: 1px 4px;
  border-radius: 4px;
  background: rgba(255,255,255,0.07);
}
.mtb-map-shell--figma .mtb-map-shortcuts__row span:last-child {
  font-size: 8px;
  color: rgba(255,255,255,0.22);
}
.mtb-map-shell--figma .mtb-map-active-route__title {
  font-size: 10.5px;
  color: rgba(255,255,255,0.92);
  line-height: 1.3;
}
.mtb-map-shell--figma .mtb-map-active-route__meta,
.mtb-map-shell--figma .mtb-map-active-route__stats span,
.mtb-map-shell--figma .mtb-map-utility__meta {
  font-size: 9px;
  color: rgba(255,255,255,0.28);
}
.mtb-map-shell--figma .mtb-map-active-route__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 7px;
}
.mtb-map-shell--figma .mtb-map-active-route__stats span {
  padding: 2px 7px;
  border-radius: 5px;
  border: 1px solid rgba(255,255,255,0.07);
  background: rgba(255,255,255,0.04);
}
.mtb-map-shell--figma .mtb-map-status {
  left: auto;
  right: 16px;
  bottom: 16px;
  max-width: 320px;
}
.mtb-map-shell--figma .mtb-map-help-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 500;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  min-width: 42px;
  min-height: 42px;
  padding: 0;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.09);
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(40px) saturate(150%);
  -webkit-backdrop-filter: blur(40px) saturate(150%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05), 0 8px 24px rgba(0,0,0,0.28);
  color: rgba(255,255,255,0.64);
  font-size: 0;
  line-height: 1;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}
.mtb-map-shell--figma .mtb-map-help-btn__icon {
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.mtb-map-shell--figma .mtb-map-help-btn__icon svg,
.mtb-map-shell--figma .mtb-mobile-tools-about__icon svg {
  width: 100%;
  height: 100%;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.mtb-map-shell--figma .mtb-map-help-btn__icon svg .mtb-mode-toggle__dot,
.mtb-map-shell--figma .mtb-mobile-tools-about__icon svg .mtb-mode-toggle__dot {
  fill: currentColor;
  stroke: none;
}
.mtb-map-shell--figma .mtb-map-help-btn:hover {
  color: #ff7a2f;
  border-color: rgba(255,122,47,0.3);
  background: rgba(255,122,47,0.1);
}
.mtb-map-shell--figma .mtb-mobile-tools-toggle {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 520;
  width: 40px;
  height: 40px;
  min-width: 40px;
  min-height: 40px;
  padding: 0;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  background: rgba(12,11,16,0.56);
  backdrop-filter: blur(40px) saturate(150%);
  -webkit-backdrop-filter: blur(40px) saturate(150%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06), 0 6px 20px rgba(0,0,0,0.34);
  color: rgba(255,255,255,0.62);
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}
.mtb-map-shell--figma .mtb-mobile-tools-toggle__bars,
.mtb-map-shell--figma .mtb-mobile-tools-toggle__bars svg {
  width: 18px;
  height: 18px;
  display: block;
}
.mtb-map-shell--figma .mtb-mobile-tools-toggle__bars svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.mtb-map-shell--figma .mtb-mobile-tools-backdrop {
  position: absolute;
  inset: 0;
  z-index: 505;
  background: rgba(5,8,12,0.34);
  backdrop-filter: blur(4px);
}
.mtb-map-shell--figma .mtb-mobile-tools-about {
  width: 100%;
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  background: rgba(255,255,255,0.04);
  color: rgba(255,255,255,0.82);
  display: none;
  align-items: center;
  gap: 10px;
  justify-content: flex-start;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}
.mtb-map-shell--figma .mtb-mobile-tools-view-pill {
  width: 100%;
  gap: 4px;
  padding: 3px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.04);
}
.mtb-map-shell--figma .mtb-mobile-tools-view-pill__btn {
  flex: 1 1 0;
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid transparent;
  border-radius: 11px;
  background: transparent;
  color: rgba(255,255,255,0.54);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}
.mtb-map-shell--figma .mtb-mobile-tools-view-pill__btn.is-active {
  border-color: rgba(255,122,47,0.34);
  background: linear-gradient(135deg, rgba(255,122,47,0.22), rgba(255,122,47,0.1));
  color: #fff1e7;
}
.mtb-map-shell--figma .mtb-mobile-tools-about__icon {
  width: 16px;
  height: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.mtb-map-shell--figma .mtb-map-stats-panel,
.mtb-map-shell--figma .mtb-map-status {
  display: none !important;
}
.mtb-map-shell--figma .mtb-map-help-dialog[hidden] {
  display: none;
}
.mtb-map-shell--figma .mtb-map-help-dialog {
  position: absolute;
  inset: 0;
  z-index: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mtb-map-shell--figma .mtb-map-help-dialog__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.mtb-map-shell--figma .mtb-map-help-dialog__panel {
  position: relative;
  z-index: 2;
  width: min(390px, calc(100% - 32px));
  padding: 24px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.13);
  background: rgba(10,8,18,0.3);
  backdrop-filter: blur(80px) saturate(200%);
  -webkit-backdrop-filter: blur(80px) saturate(200%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.12), 0 40px 120px rgba(0,0,0,0.8);
}
.mtb-map-shell--figma .mtb-map-help-dialog__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.5);
  cursor: pointer;
}
.mtb-map-shell--figma .mtb-map-help-dialog__body {
  display: grid;
  gap: 16px;
  margin-top: 20px;
}
.mtb-map-shell--figma .mtb-map-help-dialog__item strong {
  display: block;
  margin-bottom: 4px;
  font-size: 13px;
  color: rgba(255,255,255,0.82);
}
.mtb-map-shell--figma .mtb-map-help-dialog__item p {
  margin: 0;
  font-size: 11.5px;
  line-height: 1.65;
  color: rgba(255,255,255,0.38);
}
.mtb-map-shell--figma .mtb-map-heat-legend {
  position: absolute;
  bottom: 16px;
  left: calc(308px + 28px);
  z-index: 500;
  display: inline-flex;
  flex-direction: column;
  gap: 6px;
  padding: 9px 13px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.11);
  background: rgba(10,8,18,0.22);
  backdrop-filter: blur(64px) saturate(180%);
  -webkit-backdrop-filter: blur(64px) saturate(180%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
}
.mtb-map-shell--figma .mtb-map-heat-legend span:first-child {
  font-size: 8.5px;
  color: rgba(255,255,255,0.3);
  text-transform: uppercase;
  letter-spacing: 0.09em;
}
.mtb-map-shell--figma .mtb-map-heat-legend__bar {
  height: 5px;
  width: 96px;
  border-radius: 999px;
  background: linear-gradient(to right, rgba(148,163,184,0.12), rgba(210,222,232,0.5), rgba(255,255,255,0.96));
}
.mtb-map-shell--figma .mtb-map-heat-legend__labels {
  display: flex;
  justify-content: space-between;
}
.mtb-map-shell--figma .mtb-map-heat-legend__labels span {
  font-size: 8px;
  color: rgba(255,255,255,0.22);
}
.mtb-map-shell--figma .mtb-map-stats-panel {
  position: absolute;
  right: 16px;
  bottom: 16px;
  z-index: 500;
  display: flex;
  gap: 6px;
  margin-right: 360px;
}
.mtb-map-shell--figma .mtb-map-stat-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(8,7,13,0.5);
  backdrop-filter: blur(48px) saturate(200%) brightness(0.85);
  -webkit-backdrop-filter: blur(48px) saturate(200%) brightness(0.85);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.09);
}
.mtb-map-shell--figma .mtb-map-stat-pill span {
  font-size: 8.5px;
  color: rgba(255,255,255,0.28);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.mtb-map-shell--figma .mtb-map-stat-pill strong {
  font-size: 13px;
  color: rgba(255,255,255,0.85);
}
.mtb-map-shell--figma .mtb-map-view-pill {
  position: absolute;
  left: 50%;
  bottom: 18px;
  z-index: 600;
  display: flex;
  gap: 3px;
  padding: 4px;
  transform: translateX(-50%);
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.11);
  background: rgba(10,8,20,0.56);
  backdrop-filter: blur(32px) saturate(180%);
  -webkit-backdrop-filter: blur(32px) saturate(180%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.1), 0 8px 32px rgba(0,0,0,0.6);
}
.mtb-map-shell--figma .mtb-map-view-pill__btn {
  min-height: 34px;
  padding: 0 16px;
  border-radius: 12px;
  border: 1px solid transparent;
  background: transparent;
  color: rgba(255,255,255,0.38);
  font-size: 12px;
  cursor: pointer;
}
.mtb-map-shell--figma .mtb-map-view-pill__btn.is-active {
  border-color: rgba(255,122,47,0.34);
  background: linear-gradient(135deg, rgba(255,122,47,0.25) 0%, rgba(255,122,47,0.11) 100%);
  box-shadow: 0 0 18px rgba(255,122,47,0.22), inset 0 1px 0 rgba(255,122,47,0.25);
  color: rgba(255,255,255,0.95);
}
.mtb-map-shell--figma .mtb-map-gallery-surface {
  position: absolute;
  inset: 12px;
  z-index: 90;
  padding: 20px 20px 86px;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(8,8,11,0.94), rgba(10,10,13,0.96)),
    radial-gradient(circle at top right, rgba(255,122,47,0.08), transparent 30%);
  overflow: auto;
}
.mtb-map-shell--figma .mtb-map-gallery-surface[hidden] {
  display: none;
}
.mtb-map-shell--figma .mtb-map-gallery-surface__header {
  display: grid;
  gap: 4px;
  margin: 0 0 18px;
}
.mtb-map-shell--figma .mtb-map-gallery-surface__eyebrow {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.42);
}
.mtb-map-shell--figma .mtb-map-gallery-surface__title {
  font-size: 28px;
  line-height: 1.05;
  font-weight: 700;
  color: rgba(255,255,255,0.94);
}
.mtb-map-shell--figma .mtb-map-gallery-surface__meta {
  font-size: 14px;
  color: rgba(255,255,255,0.56);
}
.mtb-map-shell--figma .mtb-map-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
}
.mtb-map-shell--figma .mtb-map-gallery-card {
  display: grid;
  gap: 12px;
  padding: 0;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 18px;
  background: rgba(255,255,255,0.04);
  overflow: hidden;
  text-align: left;
  cursor: pointer;
}
.mtb-map-shell--figma .mtb-map-gallery-card__media {
  display: block;
  aspect-ratio: 4 / 3;
  background: rgba(255,255,255,0.04);
}
.mtb-map-shell--figma .mtb-map-gallery-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.mtb-map-shell--figma .mtb-map-gallery-card__body {
  display: grid;
  gap: 6px;
  padding: 0 14px 14px;
}
.mtb-map-shell--figma .mtb-map-gallery-card__title {
  font-size: 16px;
  line-height: 1.2;
  font-weight: 700;
  color: rgba(255,255,255,0.92);
}
.mtb-map-shell--figma .mtb-map-gallery-card__location {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
}
.mtb-map-shell--figma .mtb-map-gallery-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.mtb-map-shell--figma .mtb-map-gallery-card__tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,122,47,0.32);
  background: rgba(120,58,18,0.22);
  color: #ffb37e;
  font-size: 12px;
  font-weight: 600;
}
.mtb-map-shell--figma .mtb-map-gallery-card__count {
  font-size: 12px;
  color: rgba(255,255,255,0.54);
}
.mtb-map-shell--figma .mtb-map-gallery-empty {
  margin-top: 18px;
  padding: 20px;
  border-radius: 18px;
  border: 1px dashed rgba(255,255,255,0.16);
  color: rgba(255,255,255,0.64);
  background: rgba(255,255,255,0.03);
}
.mtb-map-shell--figma.is-gallery-view .mtb-map-canvas,
.mtb-map-shell--figma.is-gallery-view .mtb-map-right-stack,
.mtb-map-shell--figma.is-gallery-view .mtb-map-layers-menu,
.mtb-map-shell--figma.is-gallery-view .mtb-map-help-btn,
.mtb-map-shell--figma.is-gallery-view .mtb-map-heat-legend {
  opacity: 0;
  pointer-events: none;
}
.mtb-map-shell--figma .mtb-sidebar-rail,
.mtb-map-shell--figma .mtb-sidebar-detail,
.mtb-map-shell--figma .mtb-sidebar-toggle {
  display: none !important;
}
.mtb-map-shell--figma .mtb-map-dock {
  display: none !important;
}
.mtb-map-shell--figma .mtb-map-dock__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.mtb-map-shell--figma .mtb-map-dock__btn-label,
.mtb-map-shell--figma .mtb-map-dock__btn-title,
.mtb-map-shell--figma .mtb-map-dock__btn-state {
  display: block;
  line-height: 1;
}
.mtb-map-shell--figma .mtb-map-dock__btn-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.42);
}
.mtb-map-shell--figma .mtb-map-dock__btn-state {
  font-size: 13px;
  font-weight: 700;
  color: rgba(255,255,255,0.9);
}
.mtb-map-shell--figma .mtb-map-dock__btn-title {
  font-size: 14px;
  font-weight: 700;
  color: rgba(255,255,255,0.92);
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.mtb-map-shell--figma .mtb-map-dock__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  min-width: 0;
}
.mtb-map-shell--figma .mtb-map-dock__stat {
  min-width: 0;
  padding: 8px 10px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.04);
  display: grid;
  gap: 2px;
  justify-items: center;
  text-align: center;
}
.mtb-map-shell--figma .mtb-map-dock__stat strong {
  font-size: 14px;
  line-height: 1;
  color: rgba(255,255,255,0.92);
}
.mtb-map-shell--figma .mtb-map-dock__stat span {
  font-size: 9px;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.42);
}
.mtb-map-shell--figma .mtb-panel-map-sidebar {
  left: 12px;
  top: 12px;
  bottom: 12px;
  width: 308px;
  min-width: 220px;
  max-width: 80vw;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  padding: 0;
  background: linear-gradient(180deg, rgba(28,28,30,0.1), rgba(8,8,10,0.18));
  backdrop-filter: blur(46px) saturate(150%);
  -webkit-backdrop-filter: blur(46px) saturate(150%);
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.14), inset -1px 0 0 rgba(255,255,255,0.06), 8px 0 32px rgba(0,0,0,0.36);
  overflow: hidden;
}
.mtb-map-shell--figma .mtb-panel-map-sidebar,
.mtb-map-shell--figma .mtb-panel-map-sidebar button,
.mtb-map-shell--figma .mtb-panel-map-sidebar input,
.mtb-map-shell--figma .mtb-panel-map-sidebar select,
.mtb-map-shell--figma .mtb-panel-map-sidebar label {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.mtb-map-shell--figma .mtb-sidebar-scroll {
  display: flex;
  flex-direction: column;
  gap: 0;
  min-width: 0;
  min-height: 0;
  padding: 0;
  overflow: hidden;
}
.mtb-map-shell--figma .mtb-sidebar-top {
  flex: 0 0 auto;
  display: grid;
  gap: 14px;
  padding: 22px 18px 10px;
  border-bottom: 0;
}
.mtb-map-shell--figma .mtb-mobile-drawer-toggle {
  display: none;
}
.mtb-map-shell--figma .mtb-mode-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  width: max-content;
  margin: 0;
  padding: 4px;
  border-radius: 18px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.09);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}
.mtb-map-shell--figma .mtb-mode-toggle__btn {
  width: 50px;
  min-width: 50px;
  height: 46px;
  min-height: 46px;
  padding: 0;
  border-radius: 14px;
  border: 1px solid transparent;
  background: transparent;
  color: rgba(255,255,255,0.34);
  box-shadow: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}
.mtb-map-shell--figma .mtb-mode-toggle__icon {
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: currentColor;
  border: 0;
  border-radius: 0;
  font-size: 0;
}
.mtb-map-shell--figma .mtb-mode-toggle__icon svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.mtb-map-shell--figma .mtb-mode-toggle__icon svg .mtb-mode-toggle__dot {
  fill: currentColor;
  stroke: none;
}
.mtb-map-shell--figma .mtb-mode-toggle__icon--info,
.mtb-map-shell--figma .mtb-mode-toggle__icon--photo {
  border: 0;
}
.mtb-map-shell--figma .mtb-search-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 48px;
  align-items: center;
  gap: 12px;
}
.mtb-map-shell--figma .mtb-search-pill {
  display: flex;
  align-items: center;
  width: 100%;
  position: relative;
  min-width: 0;
  min-height: 58px;
  padding: 0 16px 0 46px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.028));
  border: 1px solid rgba(255,255,255,0.09);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05), 0 8px 24px rgba(0,0,0,0.18);
  overflow: hidden;
}
.mtb-map-shell--figma .mtb-search-pill__icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255,255,255,0.28);
  width: 16px;
  height: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.mtb-map-shell--figma .mtb-search-pill__icon svg,
.mtb-map-shell--figma .mtb-filter-icon-btn__bars svg,
.mtb-map-shell--figma .mtb-mode-toggle__icon svg {
  width: 100%;
  height: 100%;
  display: block;
}
.mtb-map-shell--figma .mtb-search-pill__icon svg,
.mtb-map-shell--figma .mtb-filter-icon-btn__bars svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.mtb-map-shell--figma .mtb-search-pill input {
  width: 100%;
  min-width: 0;
  height: 56px;
  margin: 0;
  padding: 0 36px 0 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: rgba(255,255,255,0.92);
  font-size: 15px !important;
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: 0 !important;
  text-indent: 0 !important;
  font-family: inherit !important;
  caret-color: #ff7a2f;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}
.mtb-map-shell--figma .mtb-search-pill input::-webkit-search-cancel-button {
  -webkit-appearance: none;
}
.mtb-map-shell--figma .mtb-search-pill input::placeholder {
  color: rgba(255,255,255,0.46);
}
.mtb-map-shell--figma .mtb-search-pill input:placeholder-shown + .pill-clear {
  opacity: 0;
  pointer-events: none;
}
.mtb-map-shell--figma .mtb-search-pill .pill-clear {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  min-width: 30px;
  min-height: 30px;
  padding: 0;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.72);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  box-shadow: none;
  appearance: none;
  -webkit-appearance: none;
}
.mtb-map-shell--figma .mtb-filter-icon-btn {
  position: relative;
  width: 46px;
  height: 46px;
  min-width: 46px;
  min-height: 46px;
  padding: 0;
  border-radius: 16px;
  flex: 0 0 auto;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.04);
  color: rgba(255,255,255,0.92);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}
.mtb-map-shell--figma .mtb-filter-icon-btn__bars {
  position: static;
  left: auto;
  top: auto;
  transform: none;
  width: 18px;
  height: 18px;
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.mtb-map-shell--figma .mtb-filter-icon-btn__bars::before,
.mtb-map-shell--figma .mtb-filter-icon-btn__bars::after {
  content: none;
  display: none;
}
.mtb-map-shell--figma .mtb-filters-form--sidebar {
  display: block;
  margin: 0;
}
.mtb-map-shell--figma .mtb-route-list-count {
  padding: 2px 6px 0;
  font-size: 11px;
  line-height: 1.2;
  color: rgba(255,255,255,0.28);
}
.mtb-map-shell--figma .mtb-route-list-count [data-route-count] {
  color: rgba(255,255,255,0.92);
  font-weight: 600;
}
.mtb-map-shell--figma .mtb-list-stack {
  flex: 1 1 auto;
  min-height: 0;
  padding: 0 14px 14px;
  overflow-y: auto;
  overflow-x: hidden;
}
.mtb-map-shell--figma .mtb-map-list {
  display: grid;
  gap: 10px;
  min-width: 0;
}
.mtb-map-shell--figma .mtb-route-card--figma {
  display: block;
  min-height: 0;
  padding: 0;
  background: rgba(255,255,255,0.035);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: none;
}
.mtb-map-shell--figma .mtb-route-card--figma:hover {
  border-color: rgba(255,255,255,0.11);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
}
.mtb-map-shell--figma .mtb-route-card--figma.is-active {
  background: linear-gradient(135deg, rgba(255,122,47,0.14), rgba(255,122,47,0.035));
  border-color: rgba(255,122,47,0.28);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), 0 0 0 1px rgba(255,122,47,0.1);
}
.mtb-map-shell--figma .mtb-route-card--figma.is-active:hover {
  border-color: rgba(255,122,47,0.28);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), 0 0 0 1px rgba(255,122,47,0.1);
}
.mtb-map-shell--figma .mtb-route-card__trigger {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr) 20px;
  align-items: start;
  gap: 10px;
  padding: 12px;
  width: 100%;
  border: 0;
  background: transparent;
  text-align: left;
  appearance: none;
  -webkit-appearance: none;
}
.mtb-map-shell--figma .mtb-route-card__visual {
  width: 96px;
  height: 96px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.03);
}
.mtb-map-shell--figma .mtb-route-card__visual.has-photo-count::after {
  right: 4px;
  bottom: 4px;
  min-width: 26px;
  height: 26px;
  padding: 0 6px;
  font-size: 10px;
}
.mtb-map-shell--figma .mtb-route-card__title {
  font-size: 13px;
  line-height: 1.25;
  margin-bottom: 3px;
  font-weight: 700;
  color: rgba(255,255,255,0.94);
}
.mtb-map-shell--figma .mtb-route-card__location {
  font-size: 10px;
  font-weight: 400;
  margin-bottom: 6px;
  color: rgba(255,255,255,0.42);
}
.mtb-map-shell--figma .mtb-route-card__chips {
  gap: 5px;
}
.mtb-map-shell--figma .mtb-route-card__chip {
  min-height: 0;
  padding: 3px 7px;
  border-radius: 6px;
  font-size: 9px;
}
.mtb-map-shell--figma .mtb-route-card__metrics {
  gap: 4px 12px;
  margin-top: 7px;
}
.mtb-map-shell--figma .mtb-route-card__metrics span {
  font-size: 10px;
  font-weight: 600;
}
.mtb-map-shell--figma .mtb-route-card__chevron {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  font-size: 12px;
  color: rgba(255,255,255,0.34);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.mtb-map-shell--figma .mtb-route-card__expanded {
  display: grid;
  gap: 12px;
  padding: 0 12px 12px;
  border-top: 1px solid rgba(255,255,255,0.07);
  min-width: 0;
}
.mtb-map-shell--figma .mtb-route-detail-card {
  display: flex;
  gap: 10px;
  padding: 14px;
  border-radius: 13px;
  background: rgba(255,255,255,0.035);
  border: 1px solid rgba(255,255,255,0.09);
}
.mtb-map-shell--figma .mtb-route-detail-card__bar {
  width: 4px;
  border-radius: 3px;
  background: #ff7a2f;
  flex: 0 0 auto;
}
.mtb-map-shell--figma .mtb-route-detail-card__content {
  display: grid;
  gap: 6px;
  min-width: 0;
}
.mtb-map-shell--figma .mtb-route-detail-card__title {
  font-size: 15px;
  color: rgba(255,255,255,0.92);
  line-height: 1.3;
  font-weight: 700;
}
.mtb-map-shell--figma .mtb-route-detail-card__location {
  font-size: 11px;
  color: rgba(255,255,255,0.28);
}
.mtb-map-shell--figma .mtb-route-detail-card__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.mtb-map-shell--figma .mtb-route-detail-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.mtb-map-shell--figma .mtb-route-detail-stat {
  padding: 10px;
  border-radius: 10px;
  background: rgba(255,255,255,0.035);
  border: 1px solid rgba(255,255,255,0.09);
}
.mtb-map-shell--figma .mtb-route-detail-stat span {
  display: block;
  margin-bottom: 6px;
  font-size: 9px;
  color: rgba(255,255,255,0.28);
  text-transform: uppercase;
  letter-spacing: 0.07em;
}
.mtb-map-shell--figma .mtb-route-detail-stat strong {
  font-size: 13px;
  color: rgba(255,255,255,0.92);
}
.mtb-map-shell--figma .mtb-route-detail-section {
  display: grid;
  gap: 8px;
}
.mtb-map-shell--figma .mtb-route-detail-section__label {
  font-size: 10px;
  color: rgba(255,255,255,0.28);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.mtb-map-shell--figma .mtb-route-detail-section__meta {
  font-size: 10px;
  color: rgba(255,255,255,0.4);
}
.mtb-map-shell--figma .mtb-route-detail-elev {
  padding: 12px;
  border-radius: 12px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.11);
}
.mtb-map-shell--figma .mtb-route-detail-elev svg {
  display: block;
}
.mtb-map-shell--figma .mtb-route-detail-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}
.mtb-map-shell--figma .mtb-route-detail-thumb {
  aspect-ratio: 1 / 1;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.04);
  padding: 0;
  overflow: hidden;
  cursor: pointer;
}
.mtb-map-shell--figma .mtb-route-detail-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.mtb-map-shell--figma .mtb-photo-feed {
  display: grid;
  gap: 8px;
}
.mtb-map-shell--figma .mtb-photo-card {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 10px;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.07);
  background: rgba(255,255,255,0.035);
}
.mtb-map-shell--figma .mtb-photo-card__media {
  width: 96px;
  height: 96px;
  border: 1px solid rgba(255,255,255,0.08);
  padding: 0;
  background: transparent;
  cursor: pointer;
  overflow: hidden;
}
.mtb-map-shell--figma .mtb-photo-card__body {
  min-width: 0;
}
.mtb-map-shell--figma .mtb-photo-card__title {
  font-size: 12.5px;
  line-height: 1.25;
  margin-bottom: 4px;
}
.mtb-map-shell--figma .mtb-photo-card__meta {
  font-size: 10px;
  color: rgba(255,255,255,0.28);
  margin-bottom: 8px;
}
.mtb-map-shell--figma .mtb-photo-card__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.mtb-map-shell--figma .mtb-photo-card__actions .mtb-btn {
  min-height: 28px;
  padding: 0 10px;
  border-radius: 8px;
  font-size: 10px;
}
.mtb-map-shell--figma .mtb-elev-overlay,
.mtb-map-shell--figma .mtb-elev-overlay-toggle {
  display: none !important;
}
.mtb-map-shell--figma .mtb-sidebar-resizer {
  position: absolute;
  top: 0;
  right: -7px;
  bottom: 0;
  width: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: col-resize;
  z-index: 6;
}
.mtb-map-shell--figma .mtb-sidebar-resizer__thumb {
  width: 3px;
  height: 44px;
  border-radius: 99px;
  background: rgba(255,255,255,0.16);
}
.mtb-map-shell--figma .mtb-sidebar-resizer:hover .mtb-sidebar-resizer__thumb,
.mtb-map-shell--figma .mtb-sidebar-resizer.is-dragging .mtb-sidebar-resizer__thumb {
  background: #ff7a2f;
  box-shadow: 0 0 14px rgba(255,122,47,0.55);
}
@media (max-width: 1220px) {
  .mtb-map-shell--figma .mtb-map-gallery-surface {
    inset: 0;
    padding: 16px 14px 24px;
    border-radius: 0;
  }
  .mtb-map-shell--figma .mtb-panel-map-sidebar {
    position: absolute !important;
    left: 12px !important;
    right: 12px !important;
    bottom: 12px !important;
    top: auto !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    height: min(72vh, 640px) !important;
    min-height: min(72vh, 640px) !important;
    max-height: min(72vh, 640px) !important;
    border-radius: 24px !important;
    border-right: 1px solid rgba(255,255,255,0.11) !important;
    padding-bottom: 0 !important;
    transform: translateY(calc(100% - 124px)) !important;
    transition: transform 0.28s ease, box-shadow 0.22s ease !important;
    will-change: transform;
    z-index: 220 !important;
    overflow: hidden !important;
  }
  .mtb-map-shell--figma .mtb-panel-map-sidebar.is-open {
    transform: translateY(0) !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.10), 0 18px 42px rgba(0,0,0,0.46) !important;
  }
  .mtb-map-shell--figma .mtb-sidebar-scroll {
    height: 100%;
    padding: 0 12px calc(18px + env(safe-area-inset-bottom, 0px));
    opacity: 1 !important;
    pointer-events: auto !important;
    overflow-y: auto;
    overflow-x: hidden;
  }
  .mtb-map-shell--figma .mtb-sidebar-top {
    position: sticky;
    top: 0;
    z-index: 2;
    gap: 10px;
    padding: 18px 40px 10px 8px;
    cursor: pointer;
    background: linear-gradient(180deg, rgba(13, 11, 21, 0.97) 0%, rgba(13, 11, 21, 0.92) 78%, rgba(13, 11, 21, 0) 100%);
  }
  .mtb-map-shell--figma .mtb-sidebar-top::before {
    content: "";
    position: absolute;
    top: 8px;
    left: 50%;
    width: 36px;
    height: 4px;
    transform: translateX(-50%);
    border-radius: 99px;
    background: rgba(255,255,255,0.3);
  }
  .mtb-map-shell--figma .mtb-panel-map-sidebar:not(.is-open) .mtb-list-stack,
  .mtb-map-shell--figma .mtb-panel-map-sidebar:not(.is-open) .mtb-filter-panel {
    display: none;
  }
  .mtb-map-shell--figma .mtb-panel-map-sidebar.is-open .mtb-list-stack {
    display: grid;
  }
  .mtb-map-shell--figma .mtb-route-list-count {
    padding: 0 8px;
  }
  .mtb-map-shell--figma .mtb-mobile-drawer-toggle {
    position: absolute;
    top: 6px;
    right: 4px;
    z-index: 3;
    width: 32px;
    height: 32px;
    min-width: 32px;
    min-height: 32px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.04);
    color: rgba(255,255,255,0.72);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
  }
  .mtb-map-shell--figma .mtb-mobile-drawer-toggle__icon,
  .mtb-map-shell--figma .mtb-mobile-drawer-toggle__icon svg {
    width: 16px;
    height: 16px;
    display: block;
  }
  .mtb-map-shell--figma .mtb-mobile-drawer-toggle__icon svg {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform 180ms ease;
  }
  .mtb-map-shell--figma .mtb-mobile-drawer-toggle.is-open .mtb-mobile-drawer-toggle__icon svg {
    transform: rotate(180deg);
  }
  .mtb-map-shell--figma .mtb-sidebar-resizer,
  .mtb-map-shell--figma .mtb-sidebar-toggle,
  .mtb-map-shell--figma .mtb-sidebar-detail {
    display: none !important;
  }
  .mtb-map-shell--figma .mtb-mobile-backdrop {
    position: absolute;
    inset: 0;
    display: none;
    background: rgba(0,0,0,0.3);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    border-radius: 20px;
    z-index: 180;
  }
  .mtb-map-shell--figma .mtb-map-right-stack {
    top: 64px;
    right: 12px;
  }
  .mtb-map-shell--figma .mtb-map-help-btn {
    top: 12px;
    right: 12px;
  }
  .mtb-map-shell--figma .mtb-map-stats-panel,
  .mtb-map-shell--figma .mtb-map-view-pill {
    display: none !important;
  }
  .mtb-map-shell--figma .mtb-map-dock,
  .mtb-map-shell--figma .mtb-map-view-pill--dock {
    display: none !important;
  }
  .mtb-map-shell--figma .mtb-mobile-tools-toggle,
  .mtb-map-shell--figma .mtb-mobile-tools-backdrop,
  .mtb-map-shell--figma .mtb-mobile-tools-about,
  .mtb-map-shell--figma .mtb-mobile-tools-view-pill {
    display: none;
  }
}
@media (max-width: 767px) {
  .mtb-map-shell--figma {
    height: 100dvh !important;
    max-height: 100dvh !important;
    min-height: 100dvh !important;
    overflow: hidden !important;
  }
  .mtb-map-shell--figma .mtb-map-canvas,
  .mtb-map-shell--figma .mtb-map-canvas .leaflet-container {
    touch-action: pan-y pinch-zoom !important;
  }
  .mtb-map-shell--figma .mtb-map-gallery-surface__title {
    font-size: 22px;
  }
  .mtb-map-shell--figma .mtb-map-gallery-surface {
    inset: 0;
    padding: 16px 14px calc(122px + env(safe-area-inset-bottom, 0px));
    border-radius: 0;
  }
  .mtb-map-shell--figma .mtb-map-gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 10px;
  }
  .mtb-map-shell--figma .mtb-map-stats-panel,
  .mtb-map-shell--figma .mtb-map-view-pill:not(.mtb-map-view-pill--dock) {
    display: none !important;
  }
  .mtb-map-shell--figma .mtb-map-dock {
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    display: grid !important;
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-areas:
      "drawer stats"
      "view view";
    gap: 10px;
    padding: 10px 12px;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(10,8,20,0.72);
    backdrop-filter: blur(36px) saturate(165%);
    -webkit-backdrop-filter: blur(36px) saturate(165%);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), 0 18px 42px rgba(0,0,0,0.48);
    z-index: 620;
  }
  .mtb-map-shell--figma .mtb-map-dock__btn--drawer {
    grid-area: drawer;
    min-width: 132px;
    min-height: 58px;
    padding: 10px 12px;
    border-radius: 14px;
    flex-direction: column;
    align-items: flex-start;
  }
  .mtb-map-shell--figma .mtb-map-dock__btn--drawer.is-active {
    border-color: rgba(255,122,47,0.34);
    background: rgba(255,122,47,0.12);
  }
  .mtb-map-shell--figma .mtb-map-dock__stats {
    grid-area: stats;
  }
  .mtb-map-shell--figma .mtb-map-view-pill--dock {
    grid-area: view;
    position: static;
    left: auto;
    bottom: auto;
    transform: none;
    width: 100%;
    justify-content: stretch;
    margin: 0;
  }
  .mtb-map-shell--figma .mtb-map-view-pill--dock .mtb-map-view-pill__btn {
    flex: 1 1 0;
    min-height: 40px;
    min-width: 0;
    padding: 0 12px;
  }
  .mtb-map-shell--figma .mtb-panel-map-sidebar {
    left: 12px !important;
    right: 12px !important;
    top: auto !important;
    bottom: calc(96px + env(safe-area-inset-bottom, 0px)) !important;
    height: min(68dvh, calc(100dvh - 118px)) !important;
    min-height: 76px !important;
    max-height: min(68dvh, calc(100dvh - 118px)) !important;
    border-radius: 24px !important;
    transform: translateY(calc(100% - 14px)) !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), 0 10px 26px rgba(0,0,0,0.34) !important;
  }
  .mtb-map-shell--figma .mtb-panel-map-sidebar:not(.is-open) {
    pointer-events: none;
  }
  .mtb-map-shell--figma .mtb-panel-map-sidebar:not(.is-open) .mtb-sidebar-top,
  .mtb-map-shell--figma .mtb-panel-map-sidebar:not(.is-open) .mtb-sidebar-scroll {
    pointer-events: none;
  }
  .mtb-map-shell--figma .mtb-panel-map-sidebar.is-open {
    pointer-events: auto;
  }
  .mtb-map-shell--figma .mtb-sidebar-scroll {
    height: 100%;
    padding: 0 12px calc(16px + env(safe-area-inset-bottom, 0px));
  }
  .mtb-map-shell--figma .mtb-map-help-btn {
    display: none !important;
  }
  .mtb-map-shell--figma .mtb-mobile-tools-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .mtb-map-shell--figma .mtb-mobile-tools-backdrop {
    display: none;
  }
  .mtb-map-shell--figma.is-mobile-tools-open .mtb-mobile-tools-backdrop {
    display: block;
  }
  .mtb-map-shell--figma .mtb-map-right-stack {
    top: 60px;
    right: 12px;
    left: auto;
    width: min(300px, calc(100vw - 24px));
    max-height: calc(100% - 84px);
    padding: 12px;
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(12,11,16,0.82);
    backdrop-filter: blur(40px) saturate(150%);
    -webkit-backdrop-filter: blur(40px) saturate(150%);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.06), 0 18px 42px rgba(0,0,0,0.44);
    overflow-y: auto;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-6px) scale(0.98);
    transition: opacity 180ms ease, transform 180ms ease;
    gap: 10px;
    z-index: 510;
  }
  .mtb-map-shell--figma.is-mobile-tools-open .mtb-map-right-stack {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
  }
  .mtb-map-shell--figma .mtb-map-zoom-stack,
  .mtb-map-shell--figma .mtb-map-tool-stack {
    width: 100%;
    flex-direction: row;
  }
  .mtb-map-shell--figma .mtb-map-tool-btn {
    flex: 1 1 0;
    width: auto;
    min-width: 0;
  }
  .mtb-map-shell--figma .mtb-map-tool-btn[data-map-tool="layers"] {
    display: none;
  }
  .mtb-map-shell--figma .mtb-map-tools-wrap {
    width: 100%;
  }
  .mtb-map-shell--figma .mtb-map-layers-menu {
    position: static;
    right: auto;
    top: auto;
    width: 100%;
    margin-top: 2px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: none;
  }
  .mtb-map-shell--figma .mtb-mobile-tools-about {
    display: inline-flex;
  }
  .mtb-map-shell--figma .mtb-mobile-tools-view-pill {
    display: inline-flex;
  }
}
@media (max-width: 720px) {
  .mtb-map-shell--figma .mtb-map-dock {
    gap: 8px;
    padding: 10px;
  }
  .mtb-map-shell--figma .mtb-map-dock__btn--drawer {
    min-width: 118px;
    min-height: 54px;
    padding: 9px 10px;
  }
  .mtb-map-shell--figma .mtb-map-dock__btn-label {
    font-size: 9px;
  }
  .mtb-map-shell--figma .mtb-map-dock__btn-title {
    font-size: 12px;
  }
  .mtb-map-shell--figma .mtb-map-dock__btn-state {
    font-size: 12px;
  }
  .mtb-map-shell--figma .mtb-map-dock__stats {
    gap: 6px;
  }
  .mtb-map-shell--figma .mtb-map-dock__stat {
    padding: 7px 8px;
  }
  .mtb-map-shell--figma .mtb-map-dock__stat strong {
    font-size: 12px;
  }
  .mtb-map-shell--figma .mtb-map-dock__stat span {
    font-size: 8px;
  }
  .mtb-map-shell--figma .mtb-mode-toggle {
    width: calc(100% - 32px);
    justify-content: stretch;
  }
  .mtb-map-shell--figma .mtb-mode-toggle__btn {
    flex: 1 1 0;
  }
  .mtb-map-shell--figma .mtb-route-card__trigger,
  .mtb-map-shell--figma .mtb-photo-card {
    grid-template-columns: 1fr;
    display: grid;
  }
  .mtb-map-shell--figma .mtb-route-card__visual,
  .mtb-map-shell--figma .mtb-photo-card__media {
    width: 100%;
    height: 140px;
  }
  .mtb-map-shell--figma .mtb-route-card__gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .mtb-map-shell--figma .mtb-map-stats-panel {
    bottom: 72px;
  }
}
