.leaflet-pane,
.leaflet-tile,
.leaflet-marker-icon,
.leaflet-marker-shadow,
.leaflet-tile-container,
.leaflet-pane > svg,
.leaflet-pane > canvas,
.leaflet-zoom-box,
.leaflet-image-layer,
.leaflet-layer {
position: absolute;
left: 0;
top: 0;
}
.leaflet-container {
overflow: hidden;
}
.leaflet-tile,
.leaflet-marker-icon,
.leaflet-marker-shadow {
-webkit-user-select: none;
-moz-user-select: none;
user-select: none;
-webkit-user-drag: none;
} .leaflet-tile::selection {
background: transparent;
} .leaflet-safari .leaflet-tile {
image-rendering: -webkit-optimize-contrast;
} .leaflet-safari .leaflet-tile-container {
width: 1600px;
height: 1600px;
-webkit-transform-origin: 0 0;
}
.leaflet-marker-icon,
.leaflet-marker-shadow {
display: block;
}  .leaflet-container .leaflet-overlay-pane svg {
max-width: none !important;
max-height: none !important;
}
.leaflet-container .leaflet-marker-pane img,
.leaflet-container .leaflet-shadow-pane img,
.leaflet-container .leaflet-tile-pane img,
.leaflet-container img.leaflet-image-layer,
.leaflet-container .leaflet-tile {
max-width: none !important;
max-height: none !important;
width: auto;
padding: 0;
}
.leaflet-container img.leaflet-tile { mix-blend-mode: plus-lighter;
}
.leaflet-container.leaflet-touch-zoom {
-ms-touch-action: pan-x pan-y;
touch-action: pan-x pan-y;
}
.leaflet-container.leaflet-touch-drag {
-ms-touch-action: pinch-zoom; touch-action: none;
touch-action: pinch-zoom;
}
.leaflet-container.leaflet-touch-drag.leaflet-touch-zoom {
-ms-touch-action: none;
touch-action: none;
}
.leaflet-container {
-webkit-tap-highlight-color: transparent;
}
.leaflet-container a {
-webkit-tap-highlight-color: rgba(51, 181, 229, 0.4);
}
.leaflet-tile {
filter: inherit;
visibility: hidden;
}
.leaflet-tile-loaded {
visibility: inherit;
}
.leaflet-zoom-box {
width: 0;
height: 0;
-moz-box-sizing: border-box;
box-sizing: border-box;
z-index: 800;
} .leaflet-overlay-pane svg {
-moz-user-select: none;
}
.leaflet-pane         { z-index: 400; }
.leaflet-tile-pane    { z-index: 200; }
.leaflet-overlay-pane { z-index: 400; }
.leaflet-shadow-pane  { z-index: 500; }
.leaflet-marker-pane  { z-index: 600; }
.leaflet-tooltip-pane   { z-index: 650; }
.leaflet-popup-pane   { z-index: 700; }
.leaflet-map-pane canvas { z-index: 100; }
.leaflet-map-pane svg    { z-index: 200; }
.leaflet-vml-shape {
width: 1px;
height: 1px;
}
.lvml {
behavior: url(#default#VML);
display: inline-block;
position: absolute;
} .leaflet-control {
position: relative;
z-index: 800;
pointer-events: visiblePainted; pointer-events: auto;
}
.leaflet-top,
.leaflet-bottom {
position: absolute;
z-index: 1000;
pointer-events: none;
}
.leaflet-top {
top: 0;
}
.leaflet-right {
right: 0;
}
.leaflet-bottom {
bottom: 0;
}
.leaflet-left {
left: 0;
}
.leaflet-control {
float: left;
clear: both;
}
.leaflet-right .leaflet-control {
float: right;
}
.leaflet-top .leaflet-control {
margin-top: 10px;
}
.leaflet-bottom .leaflet-control {
margin-bottom: 10px;
}
.leaflet-left .leaflet-control {
margin-left: 10px;
}
.leaflet-right .leaflet-control {
margin-right: 10px;
} .leaflet-fade-anim .leaflet-popup {
opacity: 0;
-webkit-transition: opacity 0.2s linear;
-moz-transition: opacity 0.2s linear;
transition: opacity 0.2s linear;
}
.leaflet-fade-anim .leaflet-map-pane .leaflet-popup {
opacity: 1;
}
.leaflet-zoom-animated {
-webkit-transform-origin: 0 0;
-ms-transform-origin: 0 0;
transform-origin: 0 0;
}
svg.leaflet-zoom-animated {
will-change: transform;
}
.leaflet-zoom-anim .leaflet-zoom-animated {
-webkit-transition: -webkit-transform 0.25s cubic-bezier(0,0,0.25,1);
-moz-transition:    -moz-transform 0.25s cubic-bezier(0,0,0.25,1);
transition:         transform 0.25s cubic-bezier(0,0,0.25,1);
}
.leaflet-zoom-anim .leaflet-tile,
.leaflet-pan-anim .leaflet-tile {
-webkit-transition: none;
-moz-transition: none;
transition: none;
}
.leaflet-zoom-anim .leaflet-zoom-hide {
visibility: hidden;
} .leaflet-interactive {
cursor: pointer;
}
.leaflet-grab {
cursor: -webkit-grab;
cursor:    -moz-grab;
cursor:         grab;
}
.leaflet-crosshair,
.leaflet-crosshair .leaflet-interactive {
cursor: crosshair;
}
.leaflet-popup-pane,
.leaflet-control {
cursor: auto;
}
.leaflet-dragging .leaflet-grab,
.leaflet-dragging .leaflet-grab .leaflet-interactive,
.leaflet-dragging .leaflet-marker-draggable {
cursor: move;
cursor: -webkit-grabbing;
cursor:    -moz-grabbing;
cursor:         grabbing;
} .leaflet-marker-icon,
.leaflet-marker-shadow,
.leaflet-image-layer,
.leaflet-pane > svg path,
.leaflet-tile-container {
pointer-events: none;
}
.leaflet-marker-icon.leaflet-interactive,
.leaflet-image-layer.leaflet-interactive,
.leaflet-pane > svg path.leaflet-interactive,
svg.leaflet-image-layer.leaflet-interactive path {
pointer-events: visiblePainted; pointer-events: auto;
} .leaflet-container {
background: #ddd;
outline-offset: 1px;
}
.leaflet-container a {
color: #0078A8;
}
.leaflet-zoom-box {
border: 2px dotted #38f;
background: rgba(255,255,255,0.5);
} .leaflet-container {
font-family: "Helvetica Neue", Arial, Helvetica, sans-serif;
font-size: 12px;
font-size: 0.75rem;
line-height: 1.5;
} .leaflet-bar {
box-shadow: 0 1px 5px rgba(0,0,0,0.65);
border-radius: 4px;
}
.leaflet-bar a {
background-color: #fff;
border-bottom: 1px solid #ccc;
width: 26px;
height: 26px;
line-height: 26px;
display: block;
text-align: center;
text-decoration: none;
color: black;
}
.leaflet-bar a,
.leaflet-control-layers-toggle {
background-position: 50% 50%;
background-repeat: no-repeat;
display: block;
}
.leaflet-bar a:hover,
.leaflet-bar a:focus {
background-color: #f4f4f4;
}
.leaflet-bar a:first-child {
border-top-left-radius: 4px;
border-top-right-radius: 4px;
}
.leaflet-bar a:last-child {
border-bottom-left-radius: 4px;
border-bottom-right-radius: 4px;
border-bottom: none;
}
.leaflet-bar a.leaflet-disabled {
cursor: default;
background-color: #f4f4f4;
color: #bbb;
}
.leaflet-touch .leaflet-bar a {
width: 30px;
height: 30px;
line-height: 30px;
}
.leaflet-touch .leaflet-bar a:first-child {
border-top-left-radius: 2px;
border-top-right-radius: 2px;
}
.leaflet-touch .leaflet-bar a:last-child {
border-bottom-left-radius: 2px;
border-bottom-right-radius: 2px;
} .leaflet-control-zoom-in,
.leaflet-control-zoom-out {
font: bold 18px 'Lucida Console', Monaco, monospace;
text-indent: 1px;
}
.leaflet-touch .leaflet-control-zoom-in, .leaflet-touch .leaflet-control-zoom-out  {
font-size: 22px;
} .leaflet-control-layers {
box-shadow: 0 1px 5px rgba(0,0,0,0.4);
background: #fff;
border-radius: 5px;
}
.leaflet-control-layers-toggle {
background-image: url(//moontomars.space/wp-content/themes/astra-child/mtm-map/assets/vendor/leaflet/images/layers.png);
width: 36px;
height: 36px;
}
.leaflet-retina .leaflet-control-layers-toggle {
background-image: url(//moontomars.space/wp-content/themes/astra-child/mtm-map/assets/vendor/leaflet/images/layers-2x.png);
background-size: 26px 26px;
}
.leaflet-touch .leaflet-control-layers-toggle {
width: 44px;
height: 44px;
}
.leaflet-control-layers .leaflet-control-layers-list,
.leaflet-control-layers-expanded .leaflet-control-layers-toggle {
display: none;
}
.leaflet-control-layers-expanded .leaflet-control-layers-list {
display: block;
position: relative;
}
.leaflet-control-layers-expanded {
padding: 6px 10px 6px 6px;
color: #333;
background: #fff;
}
.leaflet-control-layers-scrollbar {
overflow-y: scroll;
overflow-x: hidden;
padding-right: 5px;
}
.leaflet-control-layers-selector {
margin-top: 2px;
position: relative;
top: 1px;
}
.leaflet-control-layers label {
display: block;
font-size: 13px;
font-size: 1.08333em;
}
.leaflet-control-layers-separator {
height: 0;
border-top: 1px solid #ddd;
margin: 5px -10px 5px -6px;
} .leaflet-default-icon-path { background-image: url(//moontomars.space/wp-content/themes/astra-child/mtm-map/assets/vendor/leaflet/images/marker-icon.png);
} .leaflet-container .leaflet-control-attribution {
background: #fff;
background: rgba(255, 255, 255, 0.8);
margin: 0;
}
.leaflet-control-attribution,
.leaflet-control-scale-line {
padding: 0 5px;
color: #333;
line-height: 1.4;
}
.leaflet-control-attribution a {
text-decoration: none;
}
.leaflet-control-attribution a:hover,
.leaflet-control-attribution a:focus {
text-decoration: underline;
}
.leaflet-attribution-flag {
display: inline !important;
vertical-align: baseline !important;
width: 1em;
height: 0.6669em;
}
.leaflet-left .leaflet-control-scale {
margin-left: 5px;
}
.leaflet-bottom .leaflet-control-scale {
margin-bottom: 5px;
}
.leaflet-control-scale-line {
border: 2px solid #777;
border-top: none;
line-height: 1.1;
padding: 2px 5px 1px;
white-space: nowrap;
-moz-box-sizing: border-box;
box-sizing: border-box;
background: rgba(255, 255, 255, 0.8);
text-shadow: 1px 1px #fff;
}
.leaflet-control-scale-line:not(:first-child) {
border-top: 2px solid #777;
border-bottom: none;
margin-top: -2px;
}
.leaflet-control-scale-line:not(:first-child):not(:last-child) {
border-bottom: 2px solid #777;
}
.leaflet-touch .leaflet-control-attribution,
.leaflet-touch .leaflet-control-layers,
.leaflet-touch .leaflet-bar {
box-shadow: none;
}
.leaflet-touch .leaflet-control-layers,
.leaflet-touch .leaflet-bar {
border: 2px solid rgba(0,0,0,0.2);
background-clip: padding-box;
} .leaflet-popup {
position: absolute;
text-align: center;
margin-bottom: 20px;
}
.leaflet-popup-content-wrapper {
padding: 1px;
text-align: left;
border-radius: 12px;
}
.leaflet-popup-content {
margin: 13px 24px 13px 20px;
line-height: 1.3;
font-size: 13px;
font-size: 1.08333em;
min-height: 1px;
}
.leaflet-popup-content p {
margin: 17px 0;
margin: 1.3em 0;
}
.leaflet-popup-tip-container {
width: 40px;
height: 20px;
position: absolute;
left: 50%;
margin-top: -1px;
margin-left: -20px;
overflow: hidden;
pointer-events: none;
}
.leaflet-popup-tip {
width: 17px;
height: 17px;
padding: 1px;
margin: -10px auto 0;
pointer-events: auto;
-webkit-transform: rotate(45deg);
-moz-transform: rotate(45deg);
-ms-transform: rotate(45deg);
transform: rotate(45deg);
}
.leaflet-popup-content-wrapper,
.leaflet-popup-tip {
background: white;
color: #333;
box-shadow: 0 3px 14px rgba(0,0,0,0.4);
}
.leaflet-container a.leaflet-popup-close-button {
position: absolute;
top: 0;
right: 0;
border: none;
text-align: center;
width: 24px;
height: 24px;
font: 16px/24px Tahoma, Verdana, sans-serif;
color: #757575;
text-decoration: none;
background: transparent;
}
.leaflet-container a.leaflet-popup-close-button:hover,
.leaflet-container a.leaflet-popup-close-button:focus {
color: #585858;
}
.leaflet-popup-scrolled {
overflow: auto;
}
.leaflet-oldie .leaflet-popup-content-wrapper {
-ms-zoom: 1;
}
.leaflet-oldie .leaflet-popup-tip {
width: 24px;
margin: 0 auto;
-ms-filter: "progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678)";
filter: progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678);
}
.leaflet-oldie .leaflet-control-zoom,
.leaflet-oldie .leaflet-control-layers,
.leaflet-oldie .leaflet-popup-content-wrapper,
.leaflet-oldie .leaflet-popup-tip {
border: 1px solid #999;
} .leaflet-div-icon {
background: #fff;
border: 1px solid #666;
}  .leaflet-tooltip {
position: absolute;
padding: 6px;
background-color: #fff;
border: 1px solid #fff;
border-radius: 3px;
color: #222;
white-space: nowrap;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
pointer-events: none;
box-shadow: 0 1px 3px rgba(0,0,0,0.4);
}
.leaflet-tooltip.leaflet-interactive {
cursor: pointer;
pointer-events: auto;
}
.leaflet-tooltip-top:before,
.leaflet-tooltip-bottom:before,
.leaflet-tooltip-left:before,
.leaflet-tooltip-right:before {
position: absolute;
pointer-events: none;
border: 6px solid transparent;
background: transparent;
content: "";
} .leaflet-tooltip-bottom {
margin-top: 6px;
}
.leaflet-tooltip-top {
margin-top: -6px;
}
.leaflet-tooltip-bottom:before,
.leaflet-tooltip-top:before {
left: 50%;
margin-left: -6px;
}
.leaflet-tooltip-top:before {
bottom: 0;
margin-bottom: -12px;
border-top-color: #fff;
}
.leaflet-tooltip-bottom:before {
top: 0;
margin-top: -12px;
margin-left: -6px;
border-bottom-color: #fff;
}
.leaflet-tooltip-left {
margin-left: -6px;
}
.leaflet-tooltip-right {
margin-left: 6px;
}
.leaflet-tooltip-left:before,
.leaflet-tooltip-right:before {
top: 50%;
margin-top: -6px;
}
.leaflet-tooltip-left:before {
right: 0;
margin-right: -12px;
border-left-color: #fff;
}
.leaflet-tooltip-right:before {
left: 0;
margin-left: -12px;
border-right-color: #fff;
} @media print { .leaflet-control {
-webkit-print-color-adjust: exact;
print-color-adjust: exact;
}
}.leaflet-cluster-anim .leaflet-marker-icon, .leaflet-cluster-anim .leaflet-marker-shadow {
-webkit-transition: -webkit-transform 0.3s ease-out, opacity 0.3s ease-in;
-moz-transition: -moz-transform 0.3s ease-out, opacity 0.3s ease-in;
-o-transition: -o-transform 0.3s ease-out, opacity 0.3s ease-in;
transition: transform 0.3s ease-out, opacity 0.3s ease-in;
}
.leaflet-cluster-spider-leg { -webkit-transition: -webkit-stroke-dashoffset 0.3s ease-out, -webkit-stroke-opacity 0.3s ease-in;
-moz-transition: -moz-stroke-dashoffset 0.3s ease-out, -moz-stroke-opacity 0.3s ease-in;
-o-transition: -o-stroke-dashoffset 0.3s ease-out, -o-stroke-opacity 0.3s ease-in;
transition: stroke-dashoffset 0.3s ease-out, stroke-opacity 0.3s ease-in;
}.marker-cluster-small {
background-color: rgba(181, 226, 140, 0.6);
}
.marker-cluster-small div {
background-color: rgba(110, 204, 57, 0.6);
}
.marker-cluster-medium {
background-color: rgba(241, 211, 87, 0.6);
}
.marker-cluster-medium div {
background-color: rgba(240, 194, 12, 0.6);
}
.marker-cluster-large {
background-color: rgba(253, 156, 115, 0.6);
}
.marker-cluster-large div {
background-color: rgba(241, 128, 23, 0.6);
} .leaflet-oldie .marker-cluster-small {
background-color: rgb(181, 226, 140);
}
.leaflet-oldie .marker-cluster-small div {
background-color: rgb(110, 204, 57);
}
.leaflet-oldie .marker-cluster-medium {
background-color: rgb(241, 211, 87);
}
.leaflet-oldie .marker-cluster-medium div {
background-color: rgb(240, 194, 12);
}
.leaflet-oldie .marker-cluster-large {
background-color: rgb(253, 156, 115);
}
.leaflet-oldie .marker-cluster-large div {
background-color: rgb(241, 128, 23);
}
.marker-cluster {
background-clip: padding-box;
border-radius: 20px;
}
.marker-cluster div {
width: 30px;
height: 30px;
margin-left: 5px;
margin-top: 5px;
text-align: center;
border-radius: 15px;
font: 12px "Helvetica Neue", Arial, Helvetica, sans-serif;
}
.marker-cluster span {
line-height: 30px;
}:root {
--mtm-primary: #a20021;
--mtm-accent: #e97132;
--mtm-neutral: #595959;
--mtm-water: #dbe9f0;
--mtm-surface: #ffffff;
--mtm-status-operational: #a20021;
--mtm-status-development: #e97132;
--mtm-status-planned: #595959;
--mtm-status-inactive: #8c8c8c;
--mtm-text: #1a1a1a;
--mtm-text-secondary: #6b6b6b;
--mtm-border: #d0d0d0;
--mtm-border-light: #e8e8e8;
--mtm-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
--mtm-shadow-strong: 0 -4px 16px rgba(0, 0, 0, 0.15);
--mtm-radius: 8px;
--mtm-radius-large: 16px;
--mtm-touch-target: 44px;
}
.mtm-map-container {
font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
color: var(--mtm-text);
line-height: 1.45;
position: relative;
width: 100%;
min-height: 70vh;
} .mtm-map-canvas {
position: relative;
width: 100%;
height: 70vh;
min-height: 400px;
background: #c8d8e0;
z-index: 1;
}
.mtm-map-sheet {
position: fixed;
left: 0;
right: 0;
bottom: 0;
background: var(--mtm-surface);
border-radius: var(--mtm-radius-large) var(--mtm-radius-large) 0 0;
box-shadow: var(--mtm-shadow-strong);
transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
z-index: 1000;
overflow: hidden;
display: flex;
flex-direction: column; padding-bottom: env(safe-area-inset-bottom); height: 90vh;
height: 90dvh;
} .mtm-map-sheet[data-state="peek"] {
transform: translateY(calc(100% - 140px - env(safe-area-inset-bottom)));
}
.mtm-map-sheet[data-state="half"] {
transform: translateY(45%);
}
.mtm-map-sheet[data-state="full"] {
transform: translateY(10%);
} .mtm-map-sheet-handle {
display: flex;
align-items: center;
justify-content: center;
padding: 0.75rem 1rem;
cursor: grab;
touch-action: none;
flex-shrink: 0;
}
.mtm-map-sheet-handle:active {
cursor: grabbing;
}
.mtm-map-sheet-handle-bar {
width: 40px;
height: 4px;
background: var(--mtm-border);
border-radius: 2px;
} .mtm-map-sheet-content {
flex: 1;
overflow-y: auto;
-webkit-overflow-scrolling: touch;
padding: 0 1rem 1rem;
} .mtm-map-toolbar {
display: flex;
gap: 0.5rem;
padding: 0 0 1rem;
flex-shrink: 0;
}
.mtm-map-toolbar input[type="search"] {
flex: 1;
padding: 0.75rem 1rem;
border: 1px solid var(--mtm-border);
border-radius: 999px;
font: inherit;
font-size: 0.9375rem;
min-height: var(--mtm-touch-target);
}
.mtm-map-btn {
appearance: none;
border: 1px solid var(--mtm-border);
background: var(--mtm-surface);
color: var(--mtm-text);
border-radius: 999px;
padding: 0 1.25rem;
font: inherit;
font-size: 0.875rem;
font-weight: 500;
cursor: pointer;
transition: all 0.2s;
min-height: var(--mtm-touch-target);
white-space: nowrap;
display: inline-flex;
align-items: center;
gap: 0.375rem;
}
.mtm-map-btn:hover {
border-color: var(--mtm-neutral);
background: #f5f5f5;
}
.mtm-map-btn:active {
transform: scale(0.98);
}
.mtm-map-btn-primary {
background: var(--mtm-primary);
border-color: var(--mtm-primary);
color: #fff;
}
.mtm-map-btn-primary:hover {
background: #8c001c;
border-color: #8c001c;
} .mtm-map-lang-toggle {
position: absolute;
top: 1rem;
right: 1rem;
z-index: 1001;
background: var(--mtm-surface);
border: 1px solid var(--mtm-border);
border-radius: 999px;
padding: 0.375rem 0.75rem;
font-size: 0.8125rem;
font-weight: 600;
cursor: pointer;
box-shadow: var(--mtm-shadow);
transition: all 0.2s;
}
.mtm-map-lang-toggle:hover {
border-color: var(--mtm-neutral);
} .mtm-map-filters {
padding: 0 0 1rem;
}
.mtm-map-filter-group {
margin-bottom: 1rem;
}
.mtm-map-filter-group:last-child {
margin-bottom: 0;
}
.mtm-map-filter-label {
display: block;
font-size: 0.75rem;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 0.04em;
color: var(--mtm-neutral);
margin-bottom: 0.5rem;
}
.mtm-map-filter-select {
width: 100%;
padding: 0.75rem 1rem;
border: 1px solid var(--mtm-border);
border-radius: var(--mtm-radius);
font: inherit;
font-size: 0.9375rem;
background: var(--mtm-surface);
min-height: var(--mtm-touch-target);
} .mtm-map-chip-row {
display: flex;
flex-wrap: wrap;
gap: 0.5rem;
}
.mtm-map-chip {
appearance: none;
border: 1.5px solid var(--mtm-border);
background: var(--mtm-surface);
color: var(--mtm-text);
border-radius: 999px;
padding: 0.5rem 1rem;
font: inherit;
font-size: 0.875rem;
font-weight: 500;
cursor: pointer;
transition: all 0.2s;
min-height: var(--mtm-touch-target);
}
.mtm-map-chip[aria-pressed="true"] {
background: var(--mtm-primary);
border-color: var(--mtm-primary);
color: #fff;
}
.mtm-map-chip:hover {
border-color: var(--mtm-neutral);
}
.mtm-map-chip:active {
transform: scale(0.96);
} .mtm-map-count {
font-size: 0.875rem;
color: var(--mtm-text-secondary);
padding: 0.5rem 0;
font-weight: 500;
} .mtm-map-card-list {
display: flex;
flex-direction: column;
gap: 0.75rem;
padding: 1rem 0 0;
}
.mtm-map-card {
background: var(--mtm-surface);
border: 1px solid var(--mtm-border-light);
border-radius: var(--mtm-radius);
padding: 1rem;
cursor: pointer;
transition: all 0.2s;
min-height: var(--mtm-touch-target);
}
.mtm-map-card:hover {
border-color: var(--mtm-border);
box-shadow: var(--mtm-shadow);
}
.mtm-map-card.selected {
border-color: var(--mtm-primary);
box-shadow: 0 0 0 2px rgba(162, 0, 33, 0.1);
}
.mtm-map-card-header {
display: flex;
align-items: flex-start;
gap: 0.75rem;
margin-bottom: 0.5rem;
}
.mtm-map-card-icon {
width: 24px;
height: 24px;
border-radius: 50%;
flex-shrink: 0;
border: 2px solid #fff;
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}
.mtm-map-card-icon.spaceport {
border-radius: 3px;
transform: rotate(45deg);
}
.mtm-map-card-icon.agency {
border-radius: 4px;
}
.mtm-map-card-icon.operational { background: var(--mtm-status-operational); }
.mtm-map-card-icon.development { background: var(--mtm-status-development); }
.mtm-map-card-icon.planned {
background: transparent;
border: 2.5px solid var(--mtm-status-planned);
}
.mtm-map-card-icon.inactive {
background: var(--mtm-status-inactive);
opacity: 0.6;
}
.mtm-map-card-title {
flex: 1;
}
.mtm-map-card-name {
font-size: 1rem;
font-weight: 600;
color: var(--mtm-primary);
margin: 0 0 0.25rem;
}
.mtm-map-card-meta {
font-size: 0.8125rem;
color: var(--mtm-text-secondary);
display: flex;
align-items: center;
gap: 0.375rem;
flex-wrap: wrap;
}
.mtm-map-badge {
display: inline-flex;
align-items: center;
padding: 0.125rem 0.5rem;
border-radius: 3px;
font-size: 0.6875rem;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 0.02em;
}
.mtm-map-badge.operational {
background: var(--mtm-status-operational);
color: #fff;
}
.mtm-map-badge.development {
background: var(--mtm-status-development);
color: var(--mtm-text);
}
.mtm-map-badge.planned {
background: transparent;
color: var(--mtm-status-planned);
border: 1px solid var(--mtm-status-planned);
}
.mtm-map-badge.inactive {
background: var(--mtm-status-inactive);
color: #fff;
opacity: 0.8;
}
.mtm-map-card-story {
font-size: 0.875rem;
line-height: 1.5;
color: var(--mtm-text);
margin: 0.5rem 0 0;
}
.mtm-map-card-happened {
display: inline-flex;
align-items: center;
gap: 0.25rem;
padding: 0.25rem 0.625rem;
background: #f5f5f5;
border-radius: 999px;
font-size: 0.8125rem;
color: var(--mtm-text-secondary);
margin: 0.5rem 0 0;
}
.mtm-map-card-actions {
display: flex;
gap: 0.5rem;
margin-top: 0.75rem;
flex-wrap: wrap;
}
.mtm-map-card-link {
color: var(--mtm-primary);
font-weight: 600;
font-size: 0.875rem;
text-decoration: none;
display: inline-flex;
align-items: center;
gap: 0.25rem;
}
.mtm-map-card-link:hover {
text-decoration: underline;
}
.mtm-map-card-link.coming {
color: var(--mtm-accent);
} .mtm-map-nearby {
margin-top: 1rem;
padding-top: 1rem;
border-top: 1px solid var(--mtm-border-light);
}
.mtm-map-nearby-title {
font-size: 0.75rem;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 0.04em;
color: var(--mtm-neutral);
margin: 0 0 0.75rem;
}
.mtm-map-nearby-list {
display: flex;
flex-direction: column;
gap: 0.5rem;
}
.mtm-map-nearby-item {
display: flex;
align-items: center;
gap: 0.625rem;
padding: 0.625rem;
background: #f9f9f9;
border-radius: var(--mtm-radius);
cursor: pointer;
transition: all 0.2s;
min-height: 48px;
}
.mtm-map-nearby-item:hover {
background: #f0f0f0;
}
.mtm-map-nearby-icon {
width: 20px;
height: 20px;
border-radius: 50%;
flex-shrink: 0;
border: 2px solid #fff;
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}
.mtm-map-nearby-icon.spaceport {
border-radius: 2px;
transform: rotate(45deg);
width: 16px;
height: 16px;
}
.mtm-map-nearby-info {
flex: 1;
min-width: 0;
}
.mtm-map-nearby-name {
font-size: 0.875rem;
font-weight: 500;
color: var(--mtm-text);
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.mtm-map-nearby-distance {
font-size: 0.75rem;
color: var(--mtm-text-secondary);
} .mtm-map-near-me-section {
padding: 1rem 0 0;
}
.mtm-map-near-me-msg {
padding: 0.75rem 1rem;
background: #f5f5f5;
border-radius: var(--mtm-radius);
font-size: 0.875rem;
color: var(--mtm-text-secondary);
margin-top: 0.75rem;
} @media (min-width: 900px) {
.mtm-map-container {
display: grid;
grid-template-columns: 38% 1fr;
gap: 0;
height: 70vh;
min-height: 600px;
}
.mtm-map-canvas {
height: 100%;
order: 2;
}
.mtm-map-sheet {
position: static;
transform: none !important;
border-radius: 0;
box-shadow: none;
border-right: 1px solid var(--mtm-border-light);
order: 1;
padding-bottom: 0;
height: auto;
}
.mtm-map-sheet-handle {
display: none;
}
.mtm-map-sheet-content {
padding: 1.5rem;
}
.mtm-map-toolbar {
padding: 0 0 1.5rem;
}
.mtm-map-lang-toggle {
top: 1.5rem;
right: 1.5rem;
}
} .leaflet-container {
font-family: inherit;
} .marker-cluster-small,
.marker-cluster-medium,
.marker-cluster-large {
background-color: rgba(255, 255, 255, 0.9) !important;
border: 3px solid var(--mtm-primary) !important;
border-radius: 50% !important;
box-shadow: 0 2px 8px rgba(162, 0, 33, 0.3) !important;
}
.marker-cluster-small div,
.marker-cluster-medium div,
.marker-cluster-large div {
background-color: var(--mtm-primary) !important;
color: #fff !important;
font-weight: 700 !important;
border-radius: 50% !important;
display: flex !important;
align-items: center !important;
justify-content: center !important;
} .mtm-map-marker {
background: transparent;
border: none;
}
.mtm-map-pin {
width: 18px;
height: 18px;
border-radius: 50%;
border: 2px solid #fff;
box-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
transition: transform 0.2s;
}
.mtm-map-pin.spaceport {
border-radius: 3px;
width: 16px;
height: 16px;
transform: rotate(45deg);
}
.mtm-map-pin.agency {
border-radius: 4px;
}
.mtm-map-pin.planned {
background: transparent !important;
border-width: 2.5px;
}
.mtm-map-pin.inactive {
opacity: 0.6;
} @media (prefers-reduced-motion: no-preference) {
.mtm-map-pin.selected {
animation: mtm-pin-pulse 1.5s ease-in-out infinite;
}
}
@keyframes mtm-pin-pulse {
0%, 100% {
transform: scale(1);
box-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
}
50% {
transform: scale(1.15);
box-shadow: 0 2px 12px rgba(162, 0, 33, 0.6);
}
}
.mtm-map-pin.spaceport.selected {
animation: mtm-pin-pulse-diamond 1.5s ease-in-out infinite;
}
.mtm-map-pin.agency.selected {
animation: mtm-pin-pulse-circle 1.5s ease-in-out infinite;
}
@keyframes mtm-pin-pulse-diamond {
0%, 100% {
transform: rotate(45deg) scale(1);
box-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
}
50% {
transform: rotate(45deg) scale(1.15);
box-shadow: 0 2px 12px rgba(162, 0, 33, 0.6);
}
} .leaflet-popup-content-wrapper {
border-radius: var(--mtm-radius);
padding: 0;
}
.leaflet-popup-content {
margin: 0;
min-width: 200px;
}
.mtm-map-popup-card {
padding: 1rem;
}
.mtm-map-popup-card h3 {
margin: 0 0 0.5rem;
font-size: 1rem;
color: var(--mtm-primary);
}
.mtm-map-popup-card p {
margin: 0.5rem 0;
font-size: 0.875rem;
line-height: 1.5;
}
.mtm-map-popup-source {
display: block;
margin-top: 0.5rem;
font-size: 0.6875rem;
color: var(--mtm-text-secondary);
text-decoration: none;
}
.mtm-map-popup-source:hover {
text-decoration: underline;
} .mtm-map-legend {
background: var(--mtm-surface);
padding: 0.75rem 1rem;
border-radius: var(--mtm-radius);
box-shadow: var(--mtm-shadow);
font-size: 0.8125rem;
line-height: 1.6;
}
.mtm-map-legend strong {
display: block;
margin-bottom: 0.375rem;
font-weight: 600;
font-size: 0.75rem;
text-transform: uppercase;
letter-spacing: 0.04em;
color: var(--mtm-neutral);
}
.mtm-map-legend-item {
display: flex;
align-items: center;
gap: 0.5rem;
margin-bottom: 0.25rem;
}
.mtm-map-swatch {
width: 12px;
height: 12px;
border-radius: 50%;
flex-shrink: 0;
}
.mtm-map-swatch.operational { background: var(--mtm-status-operational); }
.mtm-map-swatch.development { background: var(--mtm-status-development); }
.mtm-map-swatch.planned {
background: transparent;
border: 2px solid var(--mtm-status-planned);
box-sizing: border-box;
}
.mtm-map-swatch.inactive {
background: var(--mtm-status-inactive);
opacity: 0.7;
}
.mtm-map-swatch.spaceport-shape {
border-radius: 2px;
width: 10px;
height: 10px;
background: var(--mtm-neutral);
}
.mtm-map-swatch.agency-shape {
border-radius: 3px;
background: var(--mtm-neutral);
} .mtm-map-seo-list {
background: var(--mtm-surface);
padding: 2rem 1.5rem;
max-width: 960px;
margin: 2rem auto 0;
border-top: 1px solid var(--mtm-border-light);
}
.mtm-map-seo-list h2 {
margin: 0 0 1.5rem;
font-size: 1.5rem;
color: var(--mtm-primary);
}
.mtm-map-seo-list h3 {
margin: 1.5rem 0 0.75rem;
font-size: 1.125rem;
border-bottom: 1px solid var(--mtm-border-light);
padding-bottom: 0.375rem;
}
.mtm-map-seo-list ul {
margin: 0;
padding-left: 1.25rem;
}
.mtm-map-seo-list li {
margin: 0.5rem 0;
}
.mtm-map-seo-list a {
color: var(--mtm-primary);
font-weight: 500;
} .mtm-map-container.compact .mtm-map-canvas {
height: 50vh;
min-height: 320px;
}
.mtm-map-container.compact .mtm-map-sheet[data-state="peek"] {
transform: translateY(calc(100% - 100px - env(safe-area-inset-bottom)));
} .mtm-map-loading {
display: flex;
align-items: center;
justify-content: center;
padding: 2rem;
color: var(--mtm-text-secondary);
font-size: 0.875rem;
} .mtm-map-empty {
text-align: center;
padding: 3rem 1.5rem;
color: var(--mtm-text-secondary);
}
.mtm-map-empty-title {
font-size: 1.125rem;
font-weight: 600;
color: var(--mtm-text);
margin: 0 0 0.5rem;
}
.mtm-map-empty-text {
font-size: 0.875rem;
margin: 0;
} .mtm-map-sr-only {
position: absolute;
width: 1px;
height: 1px;
padding: 0;
margin: -1px;
overflow: hidden;
clip: rect(0, 0, 0, 0);
white-space: nowrap;
border-width: 0;
} @media print {
.mtm-map-sheet,
.mtm-map-lang-toggle {
display: none;
}
.mtm-map-canvas {
height: auto !important;
page-break-inside: avoid;
}
}