html{height:100%}
body{margin:0;padding:0;overflow:hidden;height:100%}
#map{height:100%;background-color:#000;position:relative}
#svgs{height:0;width:0;visibility:hidden;margin:0;padding:0;position:absolute}
body.solar #map{background:linear-gradient(rgba(0,0,0,0.9),rgba(0,0,0,0.9)),url(images/solar_background.jpg) center/cover no-repeat fixed !important}
body.stars #map{background:linear-gradient(rgba(0,0,0,0.9),rgba(0,0,0,0.9)),url(images/nearest-stars_backround.jpg) center/cover no-repeat fixed !important}
body.milky-way #map{background:#000 url(images/milkyway_backround.jpg) center/cover no-repeat fixed !important}
body.solar .leaflet-pane.leaflet-pane_space_data-pane{background:#ccc}
body.mars .leaflet-pane.leaflet-pane_space_base-pane{filter:sepia(1) hue-rotate(334deg) saturate(1.8) contrast(1.2) brightness(0.82)}
body.rm-ui-right .leaflet-top.leaflet-left{left:auto !important;right:0 !important;justify-content:flex-end;align-items:flex-end}
body.rm-ui-right .leaflet-bottom.leaflet-left{left:auto !important;right:0 !important}
body.rm-ui-right .leaflet-top.leaflet-left .leaflet-control-locate{order:10}
body.rm-ui-right .leaflet-top.leaflet-left .leaflet-control-zoom,body.rm-ui-right .leaflet-top.leaflet-left .leaflet-control-zoomhome{order:20}
body.rm-ui-right .leaflet-top.leaflet-left .leaflet-control.rm-ui-bar-control{order:30}
body.rm-ui-hidden .leaflet-control.rm-ui-bar-control{opacity:1!important;pointer-events:auto!important}
body.rm-ui-hidden .map-title,body.rm-ui-hidden .rm-support,body.rm-ui-hidden .rm-share-docked{display:none!important}
body.rm-ui-right .leaflet-top.leaflet-left .leaflet-control.rm-ui-bar-control.leaflet-bar{flex-direction:row-reverse}
body.rm-ui-right .leaflet-top.leaflet-left .leaflet-control-zoom.leaflet-bar,body.rm-ui-right .leaflet-top.leaflet-left .leaflet-control-zoomhome.leaflet-bar{flex-direction:row-reverse}
body.rm-ui-right .leaflet-top.leaflet-left .easy-button-button.rm-ui-sem .button-state{background-image:var(--rm-ui-svg-sem-left)}
body.flags .rm-pop-main,body.coats .rm-pop-main:not(.rm-pop-main-hasdesc){display:flex;align-items:center;justify-content:center}
body.flags .rm-pop-main>:last-child,body.coats .rm-pop-main:not(.rm-pop-main-hasdesc)>:last-child{margin:0 auto}
body.flags .rm-pop-main img,body.coats .rm-pop-main:not(.rm-pop-main-hasdesc) img{display:block;margin:0 auto}
body.flags .rm-pop-col-media,body.coats .rm-pop-main:not(.rm-pop-main-hasdesc) .rm-pop-col-media{display:block;margin:0 auto;max-width:100%;flex:none}
body.rm-lightbox-open .leaflet-control-container{position:relative;z-index:8000}
body.rm-lightbox-open .leaflet-control-container .leaflet-control{position:relative;z-index:8000}

body.rm-ui-right .leaflet-top.leaflet-left .leaflet-control.rm-share-control{order:0}
body.rm-ui-right .leaflet-top.leaflet-left .leaflet-control.easy-button-container:has(.rm-topmeasure){order:1}
body.rm-ui-right .leaflet-top.leaflet-left .leaflet-control.easy-button-container:has(.rm-ico-makepoint){order:2}
body.rm-ui-right .leaflet-top.leaflet-left .leaflet-control.easy-button-container:has(.rm-topcoords){order:3}
body.rm-ui-hidden .leaflet-control{opacity:0!important;pointer-events:none!important}
body.rm-ui-hidden .leaflet-control.rm-ui-bar-control .easy-button-button:not(.rm-ui-toggle){display:none!important}
body.rm-ui-hidden .leaflet-top.leaflet-left .easy-button-button.rm-ui-toggle .button-state{background-image:var(--rm-ui-svg-menu)}
:root{--rm-ui-icon-color:#000;--rm-ui-icon-cutout:#fff;--rm-ui-svg-menu:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 6h16'/%3E%3Cpath d='M4 12h16'/%3E%3Cpath d='M4 18h16'/%3E%3C/svg%3E");--rm-ui-svg-sem-right:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 6h6'/%3E%3Cpath d='M4 12h10'/%3E%3Cpath d='M4 18h6'/%3E%3Cpath d='M14 8l4 4-4 4'/%3E%3C/svg%3E");--rm-ui-svg-sem-left:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 6h6'/%3E%3Cpath d='M10 12h10'/%3E%3Cpath d='M14 18h6'/%3E%3Cpath d='M10 8l-4 4 4 4'/%3E%3C/svg%3E");--rm-ui-svg-zoom-in:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 5v14'/%3E%3Cpath d='M5 12h14'/%3E%3C/svg%3E");--rm-ui-svg-zoom-out:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3C/svg%3E");--rm-ui-svg-home:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 10.5L12 3.8L20.5 10.5'/%3E%3Cpath d='M6.5 10.5V20.2C6.5 20.64 6.86 21 7.3 21H16.7C17.14 21 17.5 20.64 17.5 20.2V10.5'/%3E%3Cpath d='M10 21V15.6C10 15.16 10.36 14.8 10.8 14.8H13.2C13.64 14.8 14 15.16 14 15.6V21'/%3E%3C/svg%3E");--rm-ui-svg-locate:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='6.9' fill='none' stroke='currentColor' stroke-width='2.1'/%3E%3Ccircle cx='12' cy='12' r='3.15' fill='currentColor'/%3E%3C/svg%3E");--rm-ui-svg-locate-follow:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='6.9' fill='none' stroke='%23007cff' stroke-width='2.1'/%3E%3Ccircle cx='12' cy='12' r='3.15' fill='url(%23rmLocateGrad)'/%3E%3Cdefs%3E%3CradialGradient id='rmLocateGrad' cx='50%25' cy='42%25' r='70%25'%3E%3Cstop offset='0%25' stop-color='%2344d9ff'/%3E%3Cstop offset='100%25' stop-color='%23007cff'/%3E%3C/radialGradient%3E%3C/defs%3E%3C/svg%3E");--rm-ui-svg-makepoint-off:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s-6-5.686-6-10a6 6 0 1 1 12 0c0 4.314-6 10-6 10z'/%3E%3Ccircle cx='12' cy='11' r='2' fill='currentColor' stroke='none'/%3E%3C/svg%3E");--rm-ui-svg-makepoint-on:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M12 21s-6-5.686-6-10a6 6 0 1 1 12 0c0 4.314-6 10-6 10z'/%3E%3Ccircle cx='12' cy='11' r='2' fill='%23ffffff'/%3E%3C/svg%3E");--rm-ui-svg-measure-off:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='7' width='18' height='10' rx='2' ry='2'/%3E%3Cpath d='M7 9v2M10 9v1M13 9v2M16 9v1M19 9v2'/%3E%3C/svg%3E");--rm-ui-svg-measure-on:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='3' y='7' width='18' height='10' rx='2' ry='2' fill='currentColor'/%3E%3Cpath d='M7 9v2M10 9v1M13 9v2M16 9v1M19 9v2' stroke='%23ffffff' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");--rm-ui-svg-share:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='18' cy='5' r='3'/%3E%3Ccircle cx='6' cy='12' r='3'/%3E%3Ccircle cx='18' cy='19' r='3'/%3E%3Cline x1='8.6' y1='13.5' x2='15.4' y2='17.5'/%3E%3Cline x1='15.4' y1='6.5' x2='8.6' y2='10.5'/%3E%3C/svg%3E")}
.leaflet-top.leaflet-left .leaflet-bar a,.leaflet-top.leaflet-left .leaflet-bar button,.leaflet-top.leaflet-left .easy-button-button .button-state,.rm-topicon{color:var(--rm-ui-icon-color)!important}
.leaflet-top.leaflet-left .leaflet-control-zoom-in,.leaflet-top.leaflet-left .leaflet-control-zoom-out,.leaflet-top.leaflet-left .leaflet-control-zoomhome-in,.leaflet-top.leaflet-left .leaflet-control-zoomhome-out{font-size:0!important;text-indent:0!important;color:var(--rm-ui-icon-color)!important;background-repeat:no-repeat;background-position:center;background-size:18px 18px}
.leaflet-top.leaflet-left .leaflet-control-zoom-in,.leaflet-top.leaflet-left .leaflet-control-zoomhome-in{background-image:var(--rm-ui-svg-zoom-in)}
.leaflet-top.leaflet-left .leaflet-control-zoom-out,.leaflet-top.leaflet-left .leaflet-control-zoomhome-out{background-image:var(--rm-ui-svg-zoom-out)}
.mars canvas{filter:sepia(1) hue-rotate(334deg) saturate(1.8) contrast(1.2) brightness(0.82)}
.leaflet-bar button,.leaflet-bar a,.leaflet-control-layers,.rm-subcontrol.leaflet-control-layers{background-color:#e6e6e6;color:#000 !important;box-shadow:0 1px 5px #000a !important}
.leaflet-control-layers{position:relative}
.leaflet-bar button:hover{background:#dcdcdc}
.leaflet-top.leaflet-left{display:flex;flex-direction:row;flex-wrap:wrap;align-items:flex-start;column-gap:6px;row-gap:5px;padding:10px;pointer-events:none}
.leaflet-top.leaflet-left::before{content:"";flex:0 0 100%;height:0;pointer-events:none;order:35}
.leaflet-top.leaflet-left::after{content:"";flex:0 0 100%;height:0;pointer-events:none;order:45}
.leaflet-top.leaflet-left .leaflet-control{margin:0;pointer-events:auto;order:50}
.leaflet-top.leaflet-left .leaflet-control-zoom,.leaflet-top.leaflet-left .leaflet-control-zoomhome{order:10}
.leaflet-top.leaflet-left .leaflet-control-locate{order:20}
.leaflet-top.leaflet-left .rm-subcontrol.leaflet-control-layers{order:50;flex:0 0 auto;width:161px;max-width:161px}
.leaflet-top.leaflet-left .rm-ctl-break{order:55;flex:0 0 100%;height:0;pointer-events:none}
.leaflet-top.leaflet-left .leaflet-control-layers.rm-earth-basemaps-control{order:60;flex:0 0 auto;width:238px;max-width:238px}
.leaflet-top.leaflet-left .leaflet-bar{display:flex;flex-direction:row;align-items:stretch;height:34px;border-radius:6px;overflow:hidden;border:1px solid rgba(0,0,0,.18);background:#e6e6e6;box-shadow:0 1px 3px rgba(0,0,0,.25)}
.leaflet-top.leaflet-left .leaflet-bar a,.leaflet-top.leaflet-left .leaflet-bar button{width:34px;height:34px;min-width:34px;max-width:34px;line-height:34px;padding:0;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;flex:0 0 34px;border:0;box-shadow:none}
.leaflet-top.leaflet-left .leaflet-control-zoomhome.leaflet-bar a,.leaflet-top.leaflet-left .leaflet-control-zoomhome.leaflet-bar button{flex:0 0 34px!important;width:34px!important;min-width:34px!important;max-width:34px!important}
.leaflet-top.leaflet-left .leaflet-control-zoom.leaflet-bar a+a,.leaflet-top.leaflet-left .leaflet-control-zoomhome.leaflet-bar a+a,.leaflet-top.leaflet-left .leaflet-control-zoomhome.leaflet-bar button+button,.leaflet-top.leaflet-left .leaflet-control-zoomhome.leaflet-bar a+button,.leaflet-top.leaflet-left .leaflet-control-zoomhome.leaflet-bar button+a{border-left:1px solid rgba(0,0,0,.18)}
.leaflet-top.leaflet-left .leaflet-control-info,.leaflet-top.leaflet-left .leaflet-control-about,.leaflet-top.leaflet-left a[title*="Info"],.leaflet-top.leaflet-left a[title*="About"]{display:none!important}
.leaflet-control-locate a{background-image:var(--rm-ui-svg-locate);background-repeat:no-repeat;background-position:center;background-size:22px}
.leaflet-control-locate.active a,.leaflet-control-locate.following a,.leaflet-control-locate.requesting a{background-image:var(--rm-ui-svg-locate-follow);background-repeat:no-repeat;background-position:center;background-size:22px}
.leaflet-control-locate .leaflet-control-locate-spinner{animation:none!important;background-image:none!important}
.leaflet-control-zoomhome-home{background-image:var(--rm-ui-svg-home);background-repeat:no-repeat;background-position:center;background-size:18px 18px}
.leaflet-control-layers-toggle{background-image:none !important;background-repeat:no-repeat;background-position:12px center !important;background-size:18px 18px !important;text-decoration:none;display:flex;align-items:center;justify-content:flex-start;box-sizing:border-box;padding-left:36px;padding-right:10px;text-align:left}
.leaflet-control-layers:not(.rm-subcontrol)>a.leaflet-control-layers-toggle{background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27currentColor%27%20stroke-width%3D%272%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Cpath%20d%3D%27M12%203l9%205-9%205-9-5%209-5z%27%2F%3E%3Cpath%20d%3D%27M3%2012l9%205%209-5%27%2F%3E%3Cpath%20d%3D%27M3%2017l9%205%209-5%27%2F%3E%3C%2Fsvg%3E") !important}
.leaflet-control-layers.rm-subcontrol>a.leaflet-control-layers-toggle{background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27currentColor%27%20stroke-width%3D%272%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Cellipse%20cx%3D%2712%27%20cy%3D%275%27%20rx%3D%278%27%20ry%3D%273%27%2F%3E%3Cpath%20d%3D%27M4%205v6c0%201.7%203.6%203%208%203s8-1.3%208-3V5%27%2F%3E%3Cpath%20d%3D%27M4%2011v6c0%201.7%203.6%203%208%203s8-1.3%208-3v-6%27%2F%3E%3C%2Fsvg%3E") !important}
.leaflet-top.leaflet-left .easy-button-button.rm-share-active .button-state{width:100%;height:34px;display:flex;align-items:center;justify-content:flex-start;padding-left:42px;padding-right:13px;background-repeat:no-repeat;background-position:16px center;background-size:18px 18px;background-image:var(--rm-ui-svg-share)}
.leaflet-top.leaflet-left .easy-button-button.rm-share-active .button-state::after{content:"Share";font-size:13px;line-height:34px;white-space:nowrap}
.leaflet-top.leaflet-left .easy-button-button.rm-ui-toggle .button-state{width:100%;height:34px;display:flex;align-items:center;justify-content:center;padding:0;background-repeat:no-repeat;background-position:center;background-size:18px 18px;background-image:var(--rm-ui-svg-menu)}
.leaflet-top.leaflet-left .easy-button-button.rm-ui-sem{width:34px;min-width:34px;max-width:34px;height:34px;padding:0;display:inline-flex;align-items:stretch;justify-content:flex-start;color:#000 !important;opacity:1!important}
.leaflet-top.leaflet-left .easy-button-button.rm-ui-sem .button-state{width:100%;height:34px;display:flex;align-items:center;justify-content:center;padding:0;background-repeat:no-repeat;background-position:center;background-size:18px 18px;background-image:var(--rm-ui-svg-sem-right);opacity:1}
.leaflet-control-layers:not(.rm-subcontrol)>a.leaflet-control-layers-toggle:before{content:"Maps"}
.leaflet-control-layers.rm-subcontrol>a.leaflet-control-layers-toggle:before{content:"Overlays"}
.leaflet-control-layers.rm-subcontrol label.leaflet-control-layers-overlays:has(input[data-t="__plates__"]),.leaflet-control-layers.rm-subcontrol label.leaflet-control-layers-overlays:has(input[data-t="__volcanos__"]){display:none !important}
.leaflet-control-layers:not(.leaflet-control-layers-expanded){padding:0}
.rm-subcontrol.leaflet-control-layers:not(.leaflet-control-layers-expanded){padding:0}
.leaflet-control-layers:not(.leaflet-control-layers-expanded){width:110px !important}
.rm-subcontrol.leaflet-control-layers:not(.leaflet-control-layers-expanded){width:110px !important}
.leaflet-control-layers:not(.leaflet-control-layers-expanded)>a.leaflet-control-layers-toggle{width:120px;height:36px;line-height:36px;padding:0 10px 0 36px;text-align:left;background-position:12px center !important;background-size:18px 18px !important}
.leaflet-touch .leaflet-control-layers-toggle{width:90px;height:36px;line-height:36px;padding:0 10px 0 36px;text-align:left;background-position:12px center !important;background-size:18px 18px !important}
.leaflet-container .leaflet-control-attribution{position:absolute;left:0;bottom:0;margin:0;padding:2px 6px;font-size:11px;line-height:1;white-space:nowrap;background:rgba(0,0,0,.5);color:#ccc}
.leaflet-container .leaflet-control-attribution a{color:lightgray;text-decoration:underline}
.leaflet-container .leaflet-control-attribution span{display:inline}
.leaflet-control-scale{background:#0009;padding:3px}
.leaflet-control-scale-line{text-shadow:none;color:lightgray;border:2px solid lightgray;border-top:none;background:none;line-height:1;padding:1px 2px 5px;font-size:12px;text-align:center}
.leaflet-control-scale-line:not(:first-child){border-top:2px solid lightgray}
.leaflet-bottom .leaflet-control-scale{margin-bottom:17px}
.leaflet-control-layers-overlays label{display:flex;align-items:center;gap:6px}
.rm-subcontrol.leaflet-control-layers label{user-select:none}
.rm-subcontrol.leaflet-control-layers{border-radius:4px;box-shadow:0 1px 5px #000a;padding:6px 8px;color:#000}
.rm-subcontrol.leaflet-control-layers:not(.rm-subcontrol) label:first-child::before{content:none;display:none}
.rm-subcontrol.leaflet-control-layers:not(.rm-subcontrol) label:nth-last-child(5)::before{content:none;display:none}




.leaflet-top.leaflet-left .easy-button-button.rm-share-active{width:104px;min-width:104px;max-width:104px;height:34px;padding:0;display:inline-flex;align-items:stretch;justify-content:flex-start}
.leaflet-top.leaflet-left .leaflet-control.rm-ui-bar-control{order:0}
.leaflet-top.leaflet-left .leaflet-control.rm-share-control{order:30}
.leaflet-top.leaflet-left .easy-button-button.rm-ui-toggle{width:34px;min-width:34px;max-width:34px;height:34px;padding:0;display:inline-flex;align-items:stretch;justify-content:flex-start}
.rm-topicon{display:block;width:22px;height:22px;margin:0;background-repeat:no-repeat;background-position:center;background-size:22px 22px}
.rm-ico-makepoint{background-image:var(--rm-ui-svg-makepoint-off)}
.rm-ico-makepoint.rm-on{background-image:var(--rm-ui-svg-makepoint-on)}
.rm-ico-measure{background-image:var(--rm-ui-svg-measure-off)}
.rm-ico-measure.rm-on{background-image:var(--rm-ui-svg-measure-on)}
.leaflet-top.leaflet-left .easy-button-button.rm-topcoords .button-state,.leaflet-top.leaflet-left .easy-button-button.rm-topmeasure .button-state{display:flex;align-items:center;justify-content:center}
.rm-share-docked{width:106px;min-width:106px;max-width:106px;height:36px;margin-left:-1px !important;margin-top:-1px !important;padding:0;display:inline-flex;align-items:stretch;justify-content:flex-start;border-radius:6px;overflow:hidden;border:1px solid rgba(0,0,0,.18);background:#e6e6e6;box-shadow:0 1px 3px rgba(0,0,0,.25);color:#111}
.rm-share-docked .button-state{width:100%;height:36px;display:flex;align-items:center;justify-content:flex-start;padding-left:42px;padding-right:13px;background-repeat:no-repeat;background-position:16px center;background-size:18px 18px;background-image:var(--rm-ui-svg-share)}
.rm-share-docked .button-state::after{content:"Share";font-size:13px;line-height:36px;white-space:nowrap}
.map-title h2{padding:0;margin:0;font-size:14px}
.map-title{position:absolute;background-color:#0009;color:white;padding:5px 10px;border-radius:3px;pointer-events:none;bottom:30px;right:11px;z-index:5000;display:none}
.rm-localgroup-tip.leaflet-tooltip{background:transparent;border:0;box-shadow:none;color:#d6d6d6;font-size:11px;line-height:1;text-align:left;padding:0;text-shadow:0 0 4px #000,0 0 8px #000;white-space:nowrap;pointer-events:none}
.rm-localgroup-tip.leaflet-tooltip:before{display:none}
.rm-localgroup-tip-major.leaflet-tooltip{font-size:18px;font-weight:700;color:#efefef}
.rm-localgroup-tip-milky.leaflet-tooltip{color:#ffd54a;font-size:18px}
.rm-code-tip.leaflet-tooltip{background:transparent;color:#fff;font-weight:700;font-size:14px;text-shadow:0 0 4px #000;box-shadow:none;border:0}
.rm-moon-tip.leaflet-tooltip{background:#ffffffcc;color:black;font-size:12px;line-height:1.05;text-align:center;border:0;box-shadow:none;padding:2px 3px;pointer-events:none}
.rm-milkyway-tip.leaflet-tooltip{background:#ffffffcc;color:#000;font-weight:400;font-size:12px !important;line-height:1.05;text-align:center;border:0;box-shadow:none;padding:2px 3px;pointer-events:none}
.rm-milkyway-tip.leaflet-tooltip:before{display:none}
.rm-localgroup-tip-small-magellanic-cloud{left:80px;top:15px;font-weight:bold !important;font-size:12px !important}
.rm-localgroup-tip-large-magellanic-cloud{left:90px;top:15px;font-weight:bold !important;font-size:13px !important}
.rm-milkyway-tip-sun.leaflet-tooltip{color:#000}
.leaflet-tooltip.rm-measure-tooltip{background:rgba(240,240,240,.92);color:#111;border:0;border-radius:14px;padding:6px 10px;box-shadow:0 10px 26px rgba(0,0,0,.38);z-index:100000!important}
.leaflet-tooltip.rm-measure-tooltip:before{border-right-color:rgba(240,240,240,.92)}
.a1.leaflet-tooltip,.a.leaflet-tooltip,.b.leaflet-tooltip,.c.leaflet-tooltip,.d.leaflet-tooltip{color:black;padding:2px;background:#ffffff00;box-shadow:none;text-shadow:-1px 0 0 #ffffff,1px 0 0 #ffffff,0 -1px 0 #ffffff,0 1px 0 #ffffff,-1px -1px 0 #ffffff,1px -1px 0 #ffffff,-1px 1px 0 #ffffff,1px 1px 0 #ffffff;opacity:1!important;line-height:1;white-space:unset;text-align:center;border:0px solid #fff}
.rm-country-label-clickable{pointer-events:auto!important;cursor:pointer}
.leaflet-tooltip.rm-measure-tooltip{pointer-events:auto !important;user-select:text}
body.z4 .rm-localgroup-tip-major.leaflet-tooltip,body.z5 .rm-localgroup-tip-major.leaflet-tooltip,body.z6 .rm-localgroup-tip-major.leaflet-tooltip,body.z7 .rm-localgroup-tip-major.leaflet-tooltip,body.z8 .rm-localgroup-tip-major.leaflet-tooltip,body.z9 .rm-localgroup-tip-major.leaflet-tooltip,body.z10 .rm-localgroup-tip-major.leaflet-tooltip{font-size:17px}
.rm-moon-marker{position:relative;display:block}
.rm-moon-marker img{display:block}
.rm-moon-seq{position:absolute;top:28px;left:50%;transform:translateX(-50%);min-width:10px;height:18px;padding:0 5px;border-radius:9px;font-size:13px;line-height:18px;text-align:center;color:#fff;font-weight:600;pointer-events:none}
.rm-moon-crewed .rm-moon-seq{background:#2ecc71}
.rm-moon-rover .rm-moon-seq{background:#0054ff}
.rm-moon-robotic .rm-moon-seq{background:#3498db}
.rm-moon-impactor .rm-moon-seq{background:#f39c12}
.rm-moon-failed .rm-moon-seq{background:#b64e31}
.rm-mars-marker{position:relative;display:block}
.rm-mars-marker img{display:block}
.rm-mars-seq{position:absolute;top:28px;left:50%;transform:translateX(-50%);min-width:18px;height:18px;line-height:18px;border-radius:999px;background:#555;color:#fff;text-align:center;font-weight:600;pointer-events:none}
.rm-mars-roverdrone .rm-mars-seq{background:#008000}
.rm-mars-rover .rm-mars-seq{background:#0054ff}
.rm-mars-lander .rm-mars-seq{background:#3498db}
.rm-mars-failed .rm-mars-seq{background:#b64e31}
.rm-earth-dot{width:100%;height:100%;border-radius:999px;background:#fff;border:2px solid #000;box-shadow:0 0 6px #000c}
.rm-earth-z4{opacity:.9}
.rm-moon-types{position:relative}
.rm-moon-toprow{display:flex;align-items:center;justify-content:space-between;gap:6px;margin:0 0 6px}
.rm-countries-overlay-control .rm-moon-toprow{justify-content:flex-end;margin:0 0 8px}
.rm-earth-type-control .rm-moon-toprow{justify-content:flex-end;margin:0 0 8px}
.rm-moon-mode{display:inline-flex;align-items:center;gap:0;border:1px solid #8f8f8f;border-radius:4px;overflow:hidden;background:#f3f3f3;margin-right:30px}
.rm-moon-projection-mode{margin-left:auto;margin-right:4px}
.rm-moon-mode-btn{width:28px;height:22px;border:0;background:transparent;color:#555;font-size:15px;line-height:22px;cursor:pointer;padding:0}
.rm-moon-mode-btn+.rm-moon-mode-btn{border-left:1px solid #8f8f8f}
.rm-moon-mode-btn.is-active{background:#d9d9d9;color:#111;font-weight:700}
.rm-moon-mode-btn:hover{background:#e8e8e8;color:#111}
.rm-countries-spheres-mode .rm-moon-mode-btn,.rm-moon-projection-mode .rm-moon-mode-btn{display:flex;align-items:center;justify-content:center}
.rm-countries-mode-icon{display:flex;align-items:center;justify-content:center;width:17px;height:17px}
.rm-countries-mode-icon svg{display:block;width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round;vector-effect:non-scaling-stroke}
.rm-countries-mode-icon-spheres svg{width:17px;height:17px}
.rm-countries-globe-layer{position:absolute;inset:0;background:#000;overflow:hidden;z-index:430}
.rm-countries-globe-layer canvas{display:block;width:100%;height:100%}
.rm-countries-globe-tooltip{position:absolute;z-index:2;pointer-events:none;background:rgba(35,35,35,.92);color:#fff;border-radius:3px;padding:2px 6px;font:12px/1.25 Arial,sans-serif;text-shadow:none;white-space:nowrap;transform:translate(10px,10px);display:none}
.rm-countries-globe-popup{position:absolute;z-index:3;width:min(640px,calc(100vw - 28px));max-width:calc(100vw - 28px);overflow:visible;background:#fff;color:#222;border-radius:8px;box-shadow:0 8px 24px rgba(0,0,0,.35);font:14px/1.45 Arial,sans-serif;transform:translate(-50%,calc(-100% - 18px));box-sizing:border-box}
.rm-moon-globe-markers{position:absolute;inset:0;z-index:2;pointer-events:none}
.rm-moon-globe-marker{position:absolute;left:0;top:0;border:0;background:transparent;padding:0;margin:0;cursor:pointer;pointer-events:auto;transform:translate(-9999px,-9999px);overflow:visible}
.rm-moon-globe-marker .rm-moon-globe-tip{position:absolute;left:50%;bottom:calc(100%+14px);z-index:3;transform:translateX(-50%);background:#ffffffcc;color:#000;font:12px/1.05 Arial,sans-serif;text-align:center;border:0;box-shadow:none;padding:2px 3px;white-space:nowrap;pointer-events:none}
.rm-moon-globe-marker .rm-moon-marker,.rm-moon-globe-marker .rm-moon-flag-marker{position:relative;z-index:1;margin:0 auto}
.rm-countries-globe-popup:after{content:'';position:absolute;left:var(--rm-pop-tip-x,50%);bottom:-10px;width:20px;height:20px;background:#fff;transform:translateX(-50%) rotate(45deg);box-shadow:3px 3px 8px rgba(0,0,0,.12)}
.rm-countries-globe-popup .rm-pop{padding:20px;box-sizing:border-box;width:100%;overflow:hidden}
.rm-countries-globe-popup .rm-pop-main{box-sizing:border-box;min-width:0}
.rm-countries-globe-popup .rm-pop-col-media{max-width:240px}
.rm-countries-globe-popup .rm-pop-img,.rm-countries-globe-popup .rm-pop-photo{max-width:100%;box-sizing:border-box}
.rm-countries-globe-popup .rm-pop .rm-pop-arrows{top:6px;right:72px;gap:8px}
.rm-countries-globe-popup-close{position:absolute;right:8px;top:6px;z-index:80;width:36px;height:36px;border:0;background:transparent;color:#555;font-size:24px;line-height:32px;text-align:center;cursor:pointer;pointer-events:auto}
.rm-countries-globe-popup-close:hover{background:#0001;color:#111;border-radius:8px}
.rm-countries-globe-label-layer{position:absolute;inset:0;z-index:1;pointer-events:none;overflow:hidden}
.rm-countries-globe-tool-layer{position:absolute;inset:0;z-index:4;pointer-events:none}
.rm-countries-globe-measure-svg{position:absolute;inset:0;width:100%;height:100%;overflow:visible;pointer-events:none}
.rm-countries-globe-measure-outline{fill:none;stroke:#fff;stroke-width:6;stroke-linecap:round;stroke-linejoin:round;opacity:.92}
.rm-countries-globe-measure-line{fill:none;stroke:#3388ff;stroke-width:3.5;stroke-linecap:round;stroke-linejoin:round;opacity:.95}
.rm-countries-globe-measure-point{fill:#3388ff;stroke:#fff;stroke-width:2;pointer-events:all;cursor:grab}
.rm-countries-globe-measure-point:active{cursor:grabbing}
.rm-globe-measure-seg-label{font:12px/1 Arial,sans-serif;fill:#111;stroke:#fff;stroke-width:4px;paint-order:stroke fill;stroke-linejoin:round;text-anchor:middle;dominant-baseline:middle}
.rm-globe-measure-tooltip{position:absolute;z-index:6;transform:translate(10px,-50%);white-space:nowrap;pointer-events:auto}
.rm-globe-tool-exclusive .rm-countries-globe-label-layer,
.rm-globe-tool-exclusive .rm-moon-globe-markers{pointer-events:none!important}
.rm-countries-globe-coords-point{position:absolute;display:none;width:20px;height:20px;transform:translate(-50%,-50%);border:3px solid #fff;border-radius:999px;background:#2A93EE;box-shadow:0 2px 8px #0008;box-sizing:border-box}
.rm-countries-globe-coords-popup{position:fixed!important;z-index:10020!important;display:none;width:320px!important;max-width:calc(100vw - 28px);box-sizing:border-box;transform:translate(-50%,calc(-100% - 18px));pointer-events:auto;text-align:left;margin:0}
.rm-countries-globe-coords-popup .leaflet-popup-content-wrapper{background:#e6e6e6;border-radius:16px;box-shadow:0 10px 28px rgba(0,0,0,.25);padding:0;max-width:none;width:100%;box-sizing:border-box}
.rm-countries-globe-coords-popup .leaflet-popup-content{margin:0!important;padding:18px 20px 16px 20px!important;display:block!important;font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;max-width:100%!important;min-width:0;width:auto!important;box-sizing:border-box!important;overflow:hidden!important}
.rm-countries-globe-coords-popup .leaflet-popup-tip-container{position:absolute;left:50%;bottom:-20px;width:40px;height:20px;margin-left:-20px;overflow:hidden;pointer-events:none}
.rm-countries-globe-coords-popup .leaflet-popup-tip{width:17px;height:17px;padding:1px;margin:-10px auto 0;background:#e6e6e6;transform:rotate(45deg);box-shadow:0 10px 28px rgba(0,0,0,.15)}
.rm-countries-globe-coords-popup .leaflet-popup-close-button{position:absolute!important;top:10px!important;right:12px!important;z-index:2;width:34px!important;height:34px!important;line-height:32px!important;font-size:22px!important;color:rgba(0,0,0,.45)!important;border-radius:10px;padding:0!important;text-align:center;text-decoration:none;background:transparent}
.rm-countries-globe-coords-popup .leaflet-popup-close-button:hover{background:rgba(0,0,0,.06)!important;color:rgba(0,0,0,.65)!important}
.rm-countries-globe-locate-point{position:absolute;display:none;width:18px;height:18px;transform:translate(-50%,-50%);border:3px solid #fff;border-radius:999px;background:#2A93EE;box-shadow:0 0 0 2px rgba(42,147,238,.35),0 2px 8px #0008;box-sizing:border-box}
.rm-countries-globe-label{position:absolute;color:#000;font:12px/1 Arial,sans-serif;text-align:center;text-shadow:-1px 0 0 #fff,1px 0 0 #fff,0 -1px 0 #fff,0 1px 0 #fff,-1px -1px 0 #fff,1px -1px 0 #fff,-1px 1px 0 #fff,1px 1px 0 #fff;transform:translate(-50%,-50%);white-space:unset;max-width:90px;padding:2px;background:transparent;border:0;box-shadow:none;opacity:1}
.rm-countries-globe-capital{position:absolute;z-index:2;color:#fff;font:10px/1 Arial,sans-serif;font-weight:400;text-shadow:0 1px 2px #000,0 0 2px #000;transform:translate(-9px,-50%);white-space:nowrap;max-width:150px;padding:4px 4px 4px 24px;background:transparent;border:0;box-shadow:none;opacity:1;pointer-events:auto;cursor:pointer}
.rm-countries-globe-capital:before{content:'';position:absolute;left:0;top:50%;width:18px;height:18px;margin-top:-9px;border:2px solid #eee;border-radius:50%;background:rgba(0,0,0,.12);box-sizing:border-box;box-shadow:0 1px 3px #0008}
.rm-countries-globe-capital:hover:before{border-color:#fff;background:rgba(255,255,255,.16)}
.rm-countries-globe-icon{position:absolute;display:block;transform:translate(-50%,-50%);filter:drop-shadow(0 1px 2px rgba(255,255,255,.75)) drop-shadow(0 1px 3px rgba(0,0,0,.65));opacity:.98;pointer-events:auto;cursor:pointer}
.rm-countries-globe-icon img{display:block;object-fit:contain;max-width:none}
.rm-countries-globe-flag img{width:28px;height:auto;border-radius:2px}
.rm-countries-globe-coat img{width:24px;height:24px}
.rm-countries-globe-popup .pop-wrap[data-rm-type="flag"] img.rm-pop-flag,.rm-countries-globe-popup .pop-wrap[data-rm-type="coat"] img.rm-pop-coat{height:180px!important;max-height:180px!important;width:auto!important;max-width:calc(100% - 32px)!important;object-fit:contain!important;margin:0 auto!important}
@media (max-width:700px){.rm-countries-globe-popup{width:calc(100vw - 24px);max-width:calc(100vw - 24px)}
.rm-countries-globe-popup .rm-pop{padding:12px}
.rm-countries-globe-popup .rm-pop-main{flex-direction:column;gap:12px}
.rm-countries-globe-popup .rm-pop-col-media{max-width:none;flex:none;align-items:flex-start;margin:0;width:100%}
.rm-countries-globe-popup img.rm-pop-img{height:200px!important;aspect-ratio:auto}
.rm-countries-globe-popup .rm-pop-flag,.rm-countries-globe-popup .rm-pop-coat{align-self:flex-start}
.rm-countries-globe-popup .pop-wrap[data-rm-type="flag"] img.rm-pop-flag,.rm-countries-globe-popup .pop-wrap[data-rm-type="coat"] img.rm-pop-coat{height:140px!important;max-height:140px!important}
}

/* Final narrow-screen stability pass. */
@media (max-width:700px){
  /* Every item in the top toolbar shares one baseline. */
  .leaflet-top.leaflet-left>.leaflet-control-locate,
  .leaflet-top.leaflet-left>.leaflet-control.easy-button-container:has(.rm-topcoords),
  .leaflet-top.leaflet-left>.leaflet-control.easy-button-container:has(.rm-topmeasure),
  .leaflet-top.leaflet-left>.leaflet-control.rm-share-control{top:8px!important}

  /* Open layer controls must regain their natural height and visible list. */
  .leaflet-control-layers.leaflet-control-layers-expanded{
    height:auto!important;min-height:0!important;max-height:calc(100dvh - 58px)!important;
    width:210px!important;min-width:210px!important;max-width:210px!important;
    overflow-x:hidden!important;overflow-y:auto!important
  }
  .leaflet-control-layers.leaflet-control-layers-expanded>.leaflet-control-layers-list{
    display:block!important;height:auto!important;max-height:none!important;visibility:visible!important
  }

  /* Country and lower-administration details need breathing room below the controls. */
  .leaflet-popup .pop-wrap[data-rm-type="country"] .rm-pop-head,
  .leaflet-popup .pop-wrap[data-rm-type="eez"] .rm-pop-head,
  .leaflet-popup .pop-wrap[data-rm-type="admin1"] .rm-pop-head,
  .leaflet-popup .pop-wrap[data-rm-type="admin2"] .rm-pop-head,
  .rm-countries-globe-popup .pop-wrap[data-rm-type="country"] .rm-pop-head,
  .rm-countries-globe-popup .pop-wrap[data-rm-type="eez"] .rm-pop-head{
    padding-top:12px!important
  }
}

/* A wide but short phone is a mobile layout too. */
@media (orientation:landscape) and (max-height:520px) and (max-width:1100px){
  .rm-search-control{display:none!important}
  .leaflet-popup:not(.rm-coords-popup){
    position:fixed!important;left:50vw!important;right:auto!important;top:54px!important;bottom:auto!important;
    margin:0!important;transform:translateX(-50%)!important
  }
  .leaflet-popup:not(.rm-coords-popup) .leaflet-popup-tip-container{display:none!important}
  .leaflet-popup:not(.rm-coords-popup),.rm-countries-globe-popup{
    max-width:calc(100vw - 20px)!important;max-height:calc(100dvh - 58px)!important
  }
  .leaflet-popup:not(.rm-coords-popup) .leaflet-popup-content-wrapper,
  .rm-countries-globe-popup>div:not(.rm-countries-globe-popup-close){
    max-width:100%!important;max-height:calc(100dvh - 58px)!important;overflow:auto!important;box-sizing:border-box!important
  }
  .leaflet-popup:not(.rm-coords-popup) .leaflet-popup-content,
  .rm-countries-globe-popup .rm-pop{max-width:100%!important;box-sizing:border-box!important}
  .rm-pop-photo,.rm-pop-img{max-width:100%!important;height:auto!important;object-fit:contain!important}
}

/* Locate control and its map marker use the same green status colour. */
.leaflet-control-locate-location circle,
.leaflet-control-locate-heading path{
  fill:limegreen!important;stroke:#fff!important
}
.rm-moon-silence-row{margin:0}
.rm-moon-flag-marker{position:relative;display:block}
.rm-moon-flag-marker img{display:block;width:30px;height:auto !important;border-radius:2px;box-shadow:0 0 0 1px rgba(0,0,0,.28)}
.rm-moon-silence-row{margin:0 0 6px}
.rm-moon-anim-wrap{margin-top:6px}
.rm-moon-anim-btn{width:100%;height:28px;border:0;border-radius:4px;background:#e6e6e6;color:#000;cursor:pointer;font-size:13px}
.rm-moon-anim-btn:hover{background:#dcdcdc}
.rm-moon-timeline{margin-top:6px}
.rm-moon-tl{position:relative;height:26px}
.rm-moon-tl-track{position:absolute;left:0;right:0;top:12px;height:2px;background:#666;border-radius:2px}
.rm-moon-tl-range{position:absolute;top:12px;height:2px;background:#ddd;border-radius:2px}
.rm-moon-tl-ticks{position:absolute;left:0;right:0;top:6px;height:14px}
.rm-moon-tl-ticks i{position:absolute;top:0;width:1px;height:14px;background:#777}
.rm-moon-tl-h{position:absolute;top:6px;width:10px;height:14px;border-radius:3px;background:#e6e6e6;border:1px solid #222;transform:translateX(-5px);cursor:ew-resize}
.rm-moon-tl-tip{position:absolute;top:-18px;min-width:28px;padding:2px 6px;border-radius:4px;background:#000000cc;color:#fff;font-weight:700;font-size:12px;line-height:1;text-align:center;transform:translateX(-50%);pointer-events:none;display:none;white-space:nowrap}
.rm-moon-timeline.rm-disabled{opacity:.45;pointer-events:none}
.rm-moon-anim-float{position:absolute;z-index:9999;transform:translate(-50%,-150%);background:#000000cc;color:#fff;font-weight:700;font-size:12px;line-height:1.05;text-align:center;border-radius:4px;padding:4px 6px;pointer-events:none;display:none;white-space:nowrap}
.rm-coords-panel{position:absolute;z-index:99999;display:flex;align-items:center;gap:10px;background:#e6e6e6;border-radius:12px;padding:12px 14px;box-shadow:0 6px 20px rgba(0,0,0,.25);font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;transform:translate(-50%,-100%) translateY(-12px)}
.rm-coords-panel:after{content:"";position:absolute;left:50%;bottom:-8px;transform:translateX(-50%);width:0;height:0;border-left:8px solid transparent;border-right:8px solid transparent;border-top:8px solid #ccc}
.rm-coords-close{width:30px;height:30px;border:0;border-radius:10px;background:#e6e6e6;color:#000;cursor:pointer;font-size:20px;line-height:30px;padding:0}
.rm-coords-close:hover{background:#dcdcdc}
.rm-coords-copy,.rm-coords-share{height:30px;border:0;border-radius:10px;padding:0 12px;background:#e6e6e6;color:#000;cursor:pointer;font-size:13px;line-height:30px}
.rm-coords-copy:hover,.rm-coords-share:hover{background:#dcdcdc}
.rm-coords-marker{width:20px;height:20px;border:2px solid #111;border-radius:50%;background:transparent;box-shadow:0 4px 10px rgba(0,0,0,.25);cursor:move;position:relative}
.rm-coords-marker span{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:6px;height:6px;border-radius:50%;background:#111}
.rm-coords-pop{min-width:0;width:100%;box-sizing:border-box}
.rm-coords-pop-coords{display:inline-block;font-size:21px;font-weight:600;line-height:1.2;margin:0 44px 14px 0;white-space:nowrap;color:#000;letter-spacing:.2px;padding:4px 8px;border-radius:10px;background:transparent;box-sizing:border-box}
.rm-coords-pop-text{display:block;width:100%;max-width:100%;min-width:0;height:78px;box-sizing:border-box;border:0;border-radius:14px;padding:10px 12px;margin:0 0 14px 0;font:16px/1.2 system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;background:rgba(0,0,0,.06);color:#000;outline:none;resize:none;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-word}
.rm-coords-pop-text::placeholder{color:rgba(0,0,0,.35)}
.rm-coords-pop-textwrap{position:relative;width:100%;max-width:100%;min-width:0;margin:0 0 14px 0}
.rm-coords-pop-textwrap .rm-coords-pop-text{margin:0}
.rm-coords-pop-cursor{position:absolute;left:14px;top:50%;transform:translateY(-50%);color:rgba(0,0,0,.35);pointer-events:none;animation:rm-blink 1s steps(1,end) infinite}
.rm-coords-pop-text:focus+.rm-coords-pop-cursor{display:none}
.rm-coords-pop-text:not(:placeholder-shown)+.rm-coords-pop-cursor{display:none}
.rm-coords-popup.rm-coords-copied .rm-coords-pop-coords{background:#0b3d91;color:#fff}
.rm-coords-popup .leaflet-popup-content{min-width:0;max-width:100%;overflow:hidden}
@keyframes rm-blink{0%,49%{opacity:0}
50%,100%{opacity:1}
}
.rm-coords-pop-actions{display:flex;flex-wrap:wrap;gap:14px}
.rm-coords-pop-btn{display:flex;align-items:center;gap:10px;border:0;border-radius:14px;padding:9px;background:rgba(0,0,0,.06);cursor:pointer;font-size:14px;line-height:1;color:#000}
.rm-coords-pop-copy{width:168px}
.rm-coords-pop-btn:hover{background:rgba(0,0,0,.1)}
.rm-coords-pop-btn.rm-coords-flash{background:rgba(0,0,0,.14)}
.rm-coords-pop-btn svg{width:20px;height:20px;fill:currentColor;display:block;opacity:.85}
.rm-measure-handle span{display:block;width:14px;height:14px;border-radius:50%;background:#3388ff;border:2px solid #fff;box-shadow:0 0 0 1px rgba(0,0,0,.22)}
.rm-measure-tip{display:flex;align-items:center;gap:10px;white-space:nowrap}
.rm-measure-tip .rm-measure-share:not(.rm-coords-pop-btn){font:inherit;padding:2px 10px;border-radius:10px;border:1px solid rgba(0,0,0,.25);background:#fff;cursor:pointer}
.rm-measure-tip .rm-measure-share:not(.rm-coords-pop-btn):hover{background:rgba(0,0,0,.06)}
.rm-measure-seg-label{background:transparent;border:0;box-shadow:none;pointer-events:none}
.rm-measure-seg-label-inner{position:relative;left:0;top:0;transform-origin:50% 50%;color:#000;font:600 12px/1.1 system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;white-space:nowrap;text-shadow:0 0 2px #fff,0 0 3px #fff,0 0 4px #fff,1px 1px 0 #fff,-1px 1px 0 #fff,1px -1px 0 #fff,-1px -1px 0 #fff}
.rm-measure-control{width:161px !important}
.rm-measure-control .rm-measure-clear-btn{width:100%;height:28px;border:0;border-radius:4px;background:#e6e6e6;color:#000;cursor:pointer;font-size:14px}
.rm-measure-control .rm-measure-clear-btn:hover{background:gray}
.rm-measuring #pane_space_data{pointer-events:none}
.leaflet-popup-content-wrapper{padding:0!important;box-sizing:border-box!important;transform:none !important}
.leaflet-popup-content{margin:0!important;box-sizing:border-box!important;width:630px !important}
.leaflet-popup-content img{display:block;max-width:100%!important;height:auto!important}
.leaflet-popup-close-button{width:44px!important;height:44px!important;line-height:44px!important;font-size:28px!important;text-align:center!important;color:#444!important}
.leaflet-popup-close-button:hover{color:#111!important;background:#0001!important;border-radius:10px!important}
.leaflet-popup-content img.rm-pop-photo{width:100%;aspect-ratio:1/1;object-fit:cover;object-position:center;display:block;border-radius:4px;box-shadow:0 10px 28px rgba(0,0,0,.18);cursor:zoom-in;height:250px !important;width:250px !important}
.rm-coords-popup.leaflet-popup{width:320px}
.rm-coords-popup .leaflet-popup-content-wrapper{background:#e6e6e6;border-radius:16px;box-shadow:0 10px 28px rgba(0,0,0,.25);padding:0;max-width:none;width:100%}
.rm-coords-popup .leaflet-popup-tip{background:#e6e6e6;box-shadow:0 10px 28px rgba(0,0,0,.15)}
.rm-coords-popup .leaflet-popup-content{margin:0;padding:18px 20px 16px 20px;display:block !important;font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;max-width:100% !important;min-width:0;width:auto !important;box-sizing:border-box !important;overflow:hidden !important}
.rm-coords-popup .leaflet-popup-close-button{top:10px;right:12px;width:34px;height:34px;line-height:32px;font-size:22px;color:rgba(0,0,0,.45);border-radius:10px;padding:0}
.rm-coords-popup .leaflet-popup-close-button:hover{background:rgba(0,0,0,.06);color:rgba(0,0,0,.65)}
.leaflet-popup-content-wrapper,.leaflet-popup-tip{background:#fff}
.leaflet-popup{;width:670px}
.leaflet-popup img,.leaflet-popup-content img,.rm-pop-img,.rm-pop-photo{transform:none !important;will-change:auto !important;backface-visibility:hidden}
.rm-lightbox .lb-title{font-family:system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;font-size:20px;font-weight:700;color:#fff;text-align:center;width:auto;max-width:calc(100vw - 40px);padding:4px 6px}
.rm-lightbox img{display:block;width:auto;max-width:calc(100vw - 40px);max-height:calc(100vh - 120px);height:auto;object-fit:contain;border-radius:6px;min-height:88vh;transform:scale(.92);transition:transform .4s ease}
.rm-lightbox.show img{transform:scale(1)}
.rm-lightbox img.znak{width:auto;max-width:calc(100vw - 40px);height:calc(100vh - 120px);object-fit:cover}
.nerm-lightbox .lb-desc{font-family:system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;font-size:16px;font-weight:400;color:#ddd;text-align:center;width:auto;max-width:calc(100vw - 40px);padding:6px;line-height:1.1}
.rm-lightbox.show{opacity:1;z-index:9000}
.rm-lightbox .lb-frame{position:relative;background:#000;border-radius:10px;padding:6px;box-shadow:0 10px 40px #000a;display:flex;flex-direction:column;align-items:center;gap:6px;max-width:calc(100vw - 40px);max-height:calc(100vh - 40px);margin-left:10vw}
.rm-lightbox .lb-desc{position:fixed!important;left:14px;bottom:14px;right:auto;transform:none;max-width:30rem;padding:10px 12px;background:rgba(0,0,0,.55);backdrop-filter:blur(6px);border-radius:10px;max-height:35%;overflow:auto;font-size:16px;color:#fff;line-height:1.5;font-family:system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;z-index:10050}
.rm-lightbox.show .lb-frame::after{content:"";position:absolute;top:0px;right:0px;width:44px;height:44px;border-radius:12px;background:rgba(0,0,0,.45);backdrop-filter:blur(6px);box-shadow:0 2px 10px rgba(0,0,0,.35);z-index:10000050;pointer-events:auto;cursor:pointer;transition:background .15s,transform .15s,opacity .15s;background:no-repeat center/18px 18px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 6L18 18M18 6L6 18' stroke='%23ffffff' stroke-width='2.6' stroke-linecap='round'/%3E%3C/svg%3E")}
.rm-lightbox.show .lb-frame::after:hover{background:rgba(0,0,0,.65);transform:scale(1.05)}
.rm-lightbox.show .lb-frame::after:active{transform:scale(.98)}
.rm-lightbox{position:fixed;inset:0;background:#000b;display:flex;align-items:center;justify-content:center;padding:0;z-index:9000;opacity:0;transition:opacity .4s ease}
.druhy{fill:#9b8fc4}
.treti{fill:BurlyWood}
.ctvrty{fill:#89c764}
.paty{fill:pink}
.sesty{fill:#c66953}
.sedmy{fill:gray}
.aaa{fill:url(#aaa)}
.bbb{fill:url(#bbb)}
.hoverek{fill:url(#hoverek)}
.prvni{fill:#fab393}
.rm-subcontrol{width:161px !important;margin-top:0}

.rm-pop{padding:20px;width:100%}
.rm-pop{position:relative}
.rm-pop .rm-pop-arrows{position:absolute;top:5px;right:50px;display:flex;gap:10px;width:auto;margin:0;justify-content:flex-start}
.rm-pop .rm-pop-arrows .rm-pop-arrow{pointer-events:auto;position:relative;display:flex !important;align-items:center;justify-content:center;width:32px;min-width:32px;height:32px;border:0;border-radius:0;cursor:pointer;z-index:61;background:transparent;box-shadow:none;color:#4a4a4a;font-size:40px;line-height:32px;text-align:center;padding:0;margin:0;user-select:none;outline:none;opacity:1 !important;visibility:visible !important;flex:0 0 32px}
.rm-pop .rm-pop-arrows .rm-pop-prev{left:auto;right:auto}
.rm-pop .rm-pop-arrows .rm-pop-next{right:auto;left:auto}
.rm-pop-head{margin:0 0 12px}
.rm-pop-head .pop-title{font-size:17px;margin-top:-7px}
.rm-pop-main{display:flex;gap:18px;align-items:flex-start;width:100%}
.rm-pop-col{min-width:0}
.rm-pop-col-text{flex:1}
.rm-pop-col-media{flex:0 0 50%;max-width:250px;display:flex;flex-direction:column;gap:10px;align-items:flex-end;position:relative;z-index:1}
.rm-pop-col-media img{max-width:100%;height:auto}
.flags .rm-pop-flag,.coats .rm-pop-coat{width:280px !important;height:100% !important;max-height:100% !important}
.flags .leaflet-popup,.coats .leaflet-popup{width:400px !important}
.flags .leaflet-popup-content,.coats .leaflet-popup-content{width:360px !important}
.flags .lb-desc,.coats .lb-desc{display:none}
.pop-row{font-size:14px;line-height:1.25;color:#444;margin:4px 0;padding:2px 0}
.pop-row-icon{display:flex;align-items:center;gap:10px;padding:1px 0}
.pop-row-icon span{display:flex;align-items:center;min-height:24px}
.info-ico{width:24px;height:24px;flex:0 0 24px;display:block;margin:0;filter:drop-shadow(0 2px 2px rgba(0,0,0,.16))}
.pop-links{display:flex;flex-direction:column;gap:4px;margin-top:4px}
.pop-desc{padding:0;font-size:13.5px;line-height:1.5;color:#222}
img.rm-pop-coat{height:70px;max-height:70px;margin:0 auto;cursor:zoom-in}
.rm-sub-ico-img{width:30px;height:auto}
.rm-pop-col-text .rm-pop-flag{margin:0 0 10px}
.rm-pop-ident{display:flex;gap:10px;align-items:flex-start;flex-wrap:nowrap;margin:0}
.rm-pop-ident-empty{display:none}
.rm-lbl{;align-items:center;gap:6px}
.rm-pop-img{width:100%;aspect-ratio:1/1;object-fit:cover;object-position:center;display:block;border-radius:12px;box-shadow:0 10px 28px rgba(0,0,0,.12);cursor:zoom-in}
.rm-pop-photo{width:100%;aspect-ratio:1/1;object-fit:cover;object-position:center;display:block;border-radius:12px;box-shadow:0 10px 28px rgba(0,0,0,.12);cursor:zoom-in}
.rm-pop-photo{width:100%;aspect-ratio:1/1;object-fit:cover;object-position:center;display:block;border-radius:12px;box-shadow:0 10px 28px rgba(0,0,0,.12);cursor:zoom-in}
.pop-link span{line-height:1;overflow-wrap:anywhere;word-break:break-word}
.pop-link:hover{background:#0001;text-decoration:underline}
.link-ico{width:24px;height:24px;flex:0 0 24px;display:block;filter:drop-shadow(0 2px 2px rgba(0,0,0,.14))}
.area-ico{width:16px;height:16px;flex:0 0 auto;opacity:.7}
.official{display:flex;align-items:center;justify-content:center;gap:8px;margin:12px 0 6px 0;font-size:11px;line-height:1;color:#6b6b6b;text-transform:uppercase;letter-spacing:.06em}
.official::before,.official::after{content:"";flex:1;height:1px;background:linear-gradient(to right,transparent,rgba(0,0,0,.25))}
.official::before{display:none}
.official::after{background:linear-gradient(to left,transparent,rgba(0,0,0,.25))}
.rm-subcontrol .layersnadpis{display:none}
.rm-code2{margin-top:-8px}
.rm-code3{margin-top:8px}
.rm-city-label{background:rgba(0,0,0,.65);color:#fff;font-size:10px;line-height:1;padding:3px 6px;border-radius:3px;white-space:nowrap;pointer-events:none}
.pop-title{display:block;font-size:18px;margin:0}
.rm-pop-flag{height:70px;max-height:70px;width:auto;border-radius:4px;box-shadow:0 0 0 1px #0003;cursor:zoom-in}
.pop-link{flex:1;width:100%;box-sizing:border-box;display:flex;align-items:center;justify-content:flex-start;gap:10px;text-align:left;padding:2px 0;text-decoration:none;color:#06c;border-radius:0}
.pop-link span{display:flex;align-items:center;min-height:24px}
.link-ico{margin:0}
.leaflet-popup-scrolled{overflow:hidden}
@media (max-width:1000px){.rm-lightbox.show .lb-frame::after{top:20px}
.rm-support{left:auto!important;right:10px!important;bottom:0!important;transform:none!important}
.leaflet-top.leaflet-left{position:absolute;top:0;left:0;display:flex;flex-direction:row;flex-wrap:wrap;align-items:flex-start;column-gap:6px;row-gap:5px;padding:0;pointer-events:none}
.leaflet-top.leaflet-left .leaflet-control{margin:0!important;position:relative!important;border-radius:0}
.legend-items-container{flex-wrap:wrap;width:96vw;zoom:0.9}
.leaflet-control-zoom{top:auto!important;position:relative!important}
.leaflet-control-layers-toggle{width:120px;height:36px;line-height:36px;padding:0 10px 0 36px;text-align:left;background-position:12px center !important;background-size:18px 18px !important}
.leaflet-top.leaflet-left .easy-button-button.rm-share-active .button-state{width:100%;height:34px;display:flex;align-items:center;justify-content:center;padding-left:0;padding-right:0;background-repeat:no-repeat;background-position:center;background-size:18px 18px}
.leaflet-top.leaflet-left .easy-button-button.rm-share-active .button-state::after{content:""}
.rm-share-docked{width:34px;min-width:34px;max-width:34px;height:34px;padding:0;display:inline-flex;align-items:stretch;justify-content:flex-start}
.rm-share-docked .button-state{width:100%;height:36px;display:flex;align-items:center;justify-content:center;padding-left:0;padding-right:0;background-repeat:no-repeat;background-position:center;background-size:18px 18px}
.rm-share-docked .button-state::after{content:""}
a.leaflet-control-layers-toggle:before{display:inline-block;position:static;top:auto;font-weight:700;line-height:36px;margin-right:0}
.leaflet-touch .leaflet-control-layers-toggle{width:110px;height:36px;line-height:36px;padding:0 10px 0 36px;text-align:left;background-position:12px center !important;background-size:18px 18px !important}
.leaflet-touch .leaflet-control-layers.rm-subcontrol .leaflet-control-layers-toggle{width:110px;height:36px;line-height:36px;padding:0 10px 0 36px}
.leaflet-control-layers:not(.leaflet-control-layers-expanded){padding:0}
.rm-subcontrol.leaflet-control-layers:not(.leaflet-control-layers-expanded){padding:0}
.leaflet-control-layers:not(.leaflet-control-layers-expanded){width:110px !important}
.rm-subcontrol.leaflet-control-layers:not(.leaflet-control-layers-expanded){width:110px !important}
.leaflet-control-layers:not(.rm-subcontrol)>a.leaflet-control-layers-toggle:before{content:"Maps"}
.leaflet-control-layers.rm-subcontrol>a.leaflet-control-layers-toggle:before{content:"Overlays"}
.leaflet-control-layers.rm-earth-layers-control>a.leaflet-control-layers-toggle:before{content:"Layers"}
.leaflet-popup{;width:340px}
.leaflet-popup-content{height:auto !important}
.rm-lightbox img{max-width:calc(100vw - 24px);max-height:calc(100vh - 120px)}
.rm-lightbox img[src*="markers/flags/"],.rm-lightbox img[src*="markers/coats/"]{height:min(300px,calc(100vh - 120px))!important;max-height:min(300px,calc(100vh - 120px))!important;width:auto!important;max-width:calc(100vw - 24px)!important;object-fit:contain!important}
.rm-lightbox img.znak{max-width:calc(100vw - 24px);height:calc(100vh - 120px)}
.rm-pop{padding:12px 12px 12px 12px}
.rm-pop-main{flex-direction:column;gap:12px}
.rm-pop-col-media{max-width:none;flex:none;align-items:flex-start;margin:0 auto}
img.rm-pop-img{height:200px !important;aspect-ratio:auto}
.rm-pop-flag,.rm-pop-coat{align-self:flex-start}
img.vlajka:hover,img.znak:hover{filter:brightness(1.05)}
.flag-pop img.vlajka,.flag-pop img.znak{display:block;width:100%;height:auto;max-width:none;min-width:0;border-radius:6px;cursor:zoom-in}
img.leaflet-marker-icon[src*="markers/flags/"]:hover{filter:drop-shadow(0 0 6px rgba(201,162,77,.95)) drop-shadow(0 0 14px rgba(201,162,77,.55))!important}
img.leaflet-marker-icon[src*="markers/flags/"].rm-selected{filter:drop-shadow(0 0 8px rgba(154,77,255,1)) drop-shadow(0 0 18px rgba(154,77,255,.65))!important}
.info.leaflet-control{margin:0;height:auto !important;bottom:0px;width:100vw}
.info.leaflet-control img{max-height:40px !important;max-width:60px !important;position:absolute !important;top:-20px !important;right:110px !important}
.info.leaflet-control .planeta img{max-height:120px !important;max-width:120px !important;position:static !important;float:right}
.info h2{margin:0;font-size:12px}
.leaflet-control-layers{margin:0 !important}
.leaflet-control-locate.leaflet-bar,.leaflet-control-zoomhome{top:auto!important;position:static!important}
.leaflet-top.leaflet-left .easy-button-button.rm-share-active{width:34px;min-width:34px;max-width:34px;height:34px;padding:0;display:inline-flex;align-items:stretch;justify-content:flex-start}
.leaflet-touch .leaflet-control-layers,.leaflet-touch .leaflet-bar{border:0;border-radius:0}
.icon{width:24px;height:24px;flex:0 0 24px;display:block}
img.leaflet-marker-icon[src*="markers/flags/"]{filter:none!important;box-shadow:none!important;transition:filter .12s ease}
.rm-lightbox .lb-frame{max-width:calc(100vw - 24px);max-height:calc(100vh - 24px)}
.official{display:none}
.rm-pop-head{margin:0 0 8px}
.rm-pop-head .pop-title{font-size:15px}
.rm-pop-main{gap:0px}
.pop-row{font-size:13px;margin:-1px 0}
.pop-link{padding:0px !important;font-size:12px}
.rm-pop-flag{height:46px;max-height:46px}
img.rm-pop-coat{height:46px;max-height:46px}
.pop-desc{font-size:12px;line-height:1.4}
.leaflet-popup-content p{margin-top:0!important;margin:5px 0}
img.rm-pop-photo,img.rm-pop-img{width:100%;height:150px !important;aspect-ratio:auto !important;object-fit:cover !important;object-position:center !important}
.leaflet-popup-content{margin:0!important;box-sizing:border-box!important;width:300px !important;!important}
.rm-lightbox .lb-title{margin-top:30px}
.leaflet-popup-content img.rm-pop-photo{height:auto !important}
}
.leaflet-top.leaflet-left .leaflet-control-zoomhome{order:10}
.leaflet-top.leaflet-left .leaflet-control-locate{order:20}
.leaflet-top.leaflet-left .easy-button-container{order:30}
.leaflet-top.leaflet-left .rm-share-control{order:40}
@media (max-width:420px){.leaflet-top.leaflet-left .easy-button-button.rm-ui-sem{display:none!important}
}
.pop-wrap[data-rm-id^="earth-"] .pop-row{display:none!important}
.pop-wrap[data-rm-id^="earth-"] .pop-desc{padding-top:0!important;margin-top:0!important;border-top:0!important}
.leaflet-popup-content p{margin-top:0!important}
.rm-lightbox .lb-desc{line-height:1.45}
.rm-lightbox .lb-desc p{margin:0 0 10px 0}
.rm-lightbox .lb-desc p:last-child{margin-bottom:0}
.rm-lightbox .lb-desc a{color:#7ab8ff;text-decoration:underline}
.rm-lightbox .lb-desc a:hover{text-decoration:none}
.rm-lightbox img[src*="markers/flags/"],.rm-lightbox img[src*="markers/coats/"]{height:300px!important;max-height:min(300px,calc(100vh - 120px))!important;width:auto!important;max-width:calc(100vw - 40px)!important;object-fit:contain!important}
.rm-pop-main{align-items:stretch}
.rm-pop-col-text{display:flex;flex-direction:column;justify-content:center}
.coats .rm-pop-col-text,.flags .rm-pop-col-text{display:none}
.pop-wrap[data-rm-type="flag"] .rm-pop-main,.pop-wrap[data-rm-type="coat"] .rm-pop-main{justify-content:center!important;align-items:center!important;min-height:300px!important}
.pop-wrap[data-rm-type="flag"] .rm-pop-col-text,.pop-wrap[data-rm-type="coat"] .rm-pop-col-text{display:none!important}
.pop-wrap[data-rm-type="flag"] .rm-pop-col-media,.pop-wrap[data-rm-type="coat"] .rm-pop-col-media{flex:0 0 auto!important;max-width:none!important;width:100%!important;align-items:center!important;justify-content:center!important;margin:0 auto!important}
.leaflet-popup-content .pop-wrap[data-rm-type="flag"] img.rm-pop-flag,.leaflet-popup-content .pop-wrap[data-rm-type="coat"] img.rm-pop-coat{height:300px!important;max-height:300px!important;width:auto!important;max-width:calc(100vw - 90px)!important;object-fit:contain!important;margin:0 auto!important}
@media (max-width:420px){.leaflet-popup-content .pop-wrap[data-rm-type="flag"] img.rm-pop-flag,.leaflet-popup-content .pop-wrap[data-rm-type="coat"] img.rm-pop-coat{height:min(300px,calc(100vh - 160px))!important;max-height:min(300px,calc(100vh - 160px))!important;max-width:calc(100vw - 48px)!important}
}
.rm-earth-dot.rm-earth-dot-visited{background:#f2c94c !important;border-color:#000 !important}
.rm-earth-clearvisited{margin-left:6px;font-size:12px;color:#999;text-decoration:none;cursor:pointer;user-select:none;white-space:nowrap}
.rm-earth-clearvisited:hover{color:#333;text-decoration:underline}
.rm-earth-clearvisited.rm-disabled{opacity:.35;pointer-events:none;text-decoration:none}
.earth .leaflet-container{background:#000}
body.moon .rm-coords-pop-coords,body.mars .rm-coords-pop-coords,body.solar .rm-coords-pop-coords,body.stars .rm-coords-pop-coords,body.milky-way .rm-coords-pop-coords,body.local-group .rm-coords-pop-coords,body.laniakea-supercluster .rm-coords-pop-coords,body.observable-universe .rm-coords-pop-coords{display:none!important;margin:0 0 14px 0!important;padding:0!important}
body.moon .rm-coords-pop-copy,body.mars .rm-coords-pop-copy,body.solar .rm-coords-pop-copy,body.stars .rm-coords-pop-copy,body.milky-way .rm-coords-pop-copy,body.local-group .rm-coords-pop-copy,body.laniakea-supercluster .rm-coords-pop-copy,body.observable-universe .rm-coords-pop-copy{display:none!important}
body.moon .rm-coords-pop-share,body.mars .rm-coords-pop-share,body.solar .rm-coords-pop-share,body.stars .rm-coords-pop-share,body.milky-way .rm-coords-pop-share,body.local-group .rm-coords-pop-share,body.laniakea-supercluster .rm-coords-pop-share,body.observable-universe .rm-coords-pop-share{width:168px}
.leaflet-tooltip-pane{z-index:2500 !important}
.leaflet-popup-pane{z-index:2600 !important}
.leaflet-tile.earth_hs{mix-blend-mode:multiply;opacity:.35;filter:contrast(.85) brightness(1.05) saturate(0) blur(.3px)}
.leaflet-layer.earth_hs img.leaflet-tile{mix-blend-mode:multiply;opacity:.35;filter:contrast(.85) brightness(1.05) saturate(0) blur(.3px)}
.rm-earth-baselens{pointer-events:auto;position:relative}
.rm-earth-baselens [hidden]{display:none !important}
@media (max-width:700px){.rm-earth-baselens .rm-lens-pop{width:174px;height:174px}
}
.leaflet-pane.leaflet-pane_world_hs-pane{mix-blend-mode:multiply}
.leaflet-pane.leaflet-pane_ice_hs-pane{mix-blend-mode:multiply}
.leaflet-pane.leaflet-pane_ice_hs-pane{mix-blend-mode:unset;opacity:0.6}
.leaflet-pane.leaflet-pane_ice-pane{pointer-events:none}
.leaflet-pane.leaflet-pane_ice-pane.ice-pulse{animation:icePulse 1s ease-out 1}
@keyframes icePulse{0%{filter:brightness(1) saturate(1) drop-shadow(0 0 0 rgba(180,220,255,0))}
20%{filter:brightness(1.8) saturate(1.4) drop-shadow(0 0 12px rgba(180,220,255,.9))}
60%{filter:brightness(1.4) saturate(1.2) drop-shadow(0 0 20px rgba(180,220,255,.5))}
100%{filter:brightness(1) saturate(1) drop-shadow(0 0 0 rgba(180,220,255,0))}
}
.rm-solar-size-control{width:160px;min-width:160px;box-sizing:border-box}
.rm-solar-size-control .leaflet-control-layers-list{margin:0}
.rm-solar-size-wrap{padding:14px 36px 10px 12px;box-sizing:border-box}
.rm-solar-size-range{display:block;width:100%;margin:0}
.rm-solar-size-control .rm-ctl-close{display:flex;align-items:center;justify-content:center;position:absolute;top:4px;right:4px;width:24px;height:24px;line-height:24px;border:0;padding:0;margin:0;background:#e6e6e6;color:#000;font-size:18px;font-weight:700;border-radius:2px;box-shadow:0;opacity:.6;cursor:pointer}
.leaflet-control-layers>.rm-ctl-close{display:none}
.leaflet-control-layers.leaflet-control-layers-collapsed>.rm-ctl-close{display:none}
.leaflet-control-layers.leaflet-control-layers-expanded>.rm-ctl-close{display:flex;align-items:center;justify-content:center;position:absolute;top:4px;right:4px;width:26px;height:26px;line-height:26px;border:0;padding:0;margin:0;background:#e6e6e6;color:#000;font-size:18px;font-weight:700;border-radius:2px;box-shadow:0;opacity:0.6;cursor:pointer}
.rm-earth-baselens{position:static !important}
.rm-earth-baselens [hidden]{display:block !important}
.leaflet-control-layers.rm-earth-basemaps-control>a.leaflet-control-layers-toggle{background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22currentColor%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M3%207%209%204l6%203%206-3v13l-6%203-6-3-6%203z%22%2F%3E%3Cline%20x1%3D%229%22%20y1%3D%224%22%20x2%3D%229%22%20y2%3D%2220%22%2F%3E%3Cline%20x1%3D%2215%22%20y1%3D%224%22%20x2%3D%2215%22%20y2%3D%2220%22%2F%3E%3Cline%20x1%3D%223%22%20y1%3D%2213%22%20x2%3D%229%22%20y2%3D%2210%22%2F%3E%3Cline%20x1%3D%229%22%20y1%3D%2210%22%20x2%3D%2215%22%20y2%3D%2213%22%2F%3E%3Cline%20x1%3D%2215%22%20y1%3D%2213%22%20x2%3D%2221%22%20y2%3D%2210%22%2F%3E%3C%2Fsvg%3E") !important}
.leaflet-control-layers.rm-earth-basemaps-control>a.leaflet-control-layers-toggle:before{content:"Background"}
.rm-laniakea-tip.leaflet-tooltip{background:transparent;border:0;box-shadow:none;color:#d6d6d6;font-weight:500;font-size:11px;line-height:1;text-align:left;padding:0;text-shadow:0 0 4px #000,0 0 8px #000;white-space:nowrap;pointer-events:auto;cursor:pointer}
.rm-laniakea-tip.leaflet-tooltip:before{display:none}
.rm-laniakea-tip-major.leaflet-tooltip{font-size:15px;font-weight:700;color:#efefef}
.rm-laniakea-tip-local.leaflet-tooltip{color:#ffd54a;font-weight:700}
.rm-laniakea-tip-attractor.leaflet-tooltip{color:LightCoral}
.rm-universe-tip-laniakea.leaflet-tooltip{color:#ffd54a !important;font-weight:700 !important;text-shadow:0 0 4px #000,0 0 8px #000}
.leaflet-top.leaflet-left .rm-support{order:70!important}
.leaflet-control-layers.rm-support.rm-subcontrol>a.leaflet-control-layers-toggle:before{content:"Coffee" !important}
.leaflet-control-layers.rm-support.rm-subcontrol>a.leaflet-control-layers-toggle{background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27currentColor%27%20stroke-width%3D%272%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Cpath%20d%3D%27M7%208h10v5a5%205%200%200%201-5%205h0a5%205%200%200%201-5-5V8z%27%2F%3E%3Cpath%20d%3D%27M17%209h1a3%203%200%200%201%200%206h-1%27%2F%3E%3Cpath%20d%3D%27M9%204h6%27%2F%3E%3Cpath%20d%3D%27M10%202v2%27%2F%3E%3Cpath%20d%3D%27M14%202v2%27%2F%3E%3Cpath%20d%3D%27M8%2021h8%27%2F%3E%3C%2Fsvg%3E") !important}
.rm-support .leaflet-control-layers-list{padding:6px 8px;background:#e6e6e6}
.rm-support-panel{position:relative;width:100%;height:161px;background:#dcdcdc;box-sizing:border-box}
.rm-support-link{display:block;width:100%;height:100%;color:inherit!important;text-decoration:none!important}
.rm-support-inner{position:relative;width:100%;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;padding:12px 10px 0 10px;box-sizing:border-box;text-align:center;font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif}
.rm-support-badge-wrap{display:flex;align-items:center;justify-content:center;width:100%;margin:0 0 8px 0}
.rm-support-badge{display:flex;align-items:center;justify-content:center;width:58px;height:58px;border-radius:999px;background:#f2bc4d;color:#3b2b08;font-size:30px;margin-top:2px}
.rm-support-title{font-size:17px;line-height:1.05;font-weight:700;color:#111;margin:0 0 8px 0}
.rm-support-text{font-size:12px;line-height:1.25;color:#444;margin:0}
.rm-support-accent{position:absolute;left:0;right:0;bottom:0;height:6px;background:#f2bc4d}
.rm-support{position:fixed!important;left:auto!important;right:10px!important;bottom:0!important;z-index:1000!important;transform:none!important;width:161px!important;height:auto!important;margin:0!important;background:transparent!important;background-color:transparent!important;border:0!important;box-shadow:none!important;pointer-events:auto!important;overflow:visible!important}
.rm-support-link{display:block!important;width:161px!important;height:auto!important;padding:0!important;margin:0!important;background:transparent!important;border:0!important;text-decoration:none!important}
.rm-support-img{display:block!important;width:161px!important;height:auto!important;border:0!important;border-radius:6px!important;box-shadow:none!important;filter:saturate(0.78) brightness(0.88) contrast(0.92)!important;opacity:0.92!important}
.leaflet-bottom.leaflet-left{display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:10px!important;padding:0 0 17px 10px!important;pointer-events:none}
.leaflet-bottom.leaflet-left .leaflet-control{pointer-events:auto}
.leaflet-bottom.leaflet-left .rm-subcontrol.leaflet-control-layers,.leaflet-bottom.leaflet-left .leaflet-control-layers.rm-earth-basemaps-control{width:210px!important;max-width:210px!important;margin:0!important;box-sizing:border-box!important}
.leaflet-bottom.leaflet-left .rm-subcontrol.leaflet-control-layers{order:10!important}
.leaflet-bottom.leaflet-left .leaflet-control-layers.rm-earth-basemaps-control{order:20!important}
.leaflet-bottom.leaflet-left .leaflet-control-scale{order:90!important;margin:0!important}
.leaflet-bottom.leaflet-left .leaflet-control-attribution{order:100!important;margin:0!important}
.leaflet-bottom.leaflet-left .rm-subcontrol label{display:block!important;min-height:27px!important;padding:2px 10px!important;margin:0!important;border-radius:8px!important;box-sizing:border-box!important;color:#111!important;background:transparent!important}
.leaflet-bottom.leaflet-left .rm-subcontrol label:hover{background:#e8e2d4!important;color:#111!important}
.leaflet-bottom.leaflet-left .rm-earth-basemaps-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.leaflet-top.leaflet-left .leaflet-control-layers.rm-earth-basemaps-control{width:161px;max-width:161px}
.leaflet-control-layers.rm-earth-basemaps-control>.leaflet-control-layers-list{padding:8px}
.leaflet-control-layers.rm-earth-basemaps-control>.leaflet-control-layers-toggle{width:34px;min-width:34px;height:34px;padding-left:0;padding-right:0;justify-content:center;background-position:center !important}
.leaflet-control-layers.rm-earth-basemaps-control>.leaflet-control-layers-toggle:before{content:""}
.rm-earth-basemaps-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0}
.rm-earth-basemap-thumb{position:relative;display:block;width:100%;aspect-ratio:1 / 1;border:1px solid rgba(255,255,255,.16);border-radius:0;overflow:hidden;cursor:pointer;padding:0;background-color:#111;background-position:center;background-size:cover;background-repeat:no-repeat;box-shadow:0 1px 4px rgba(0,0,0,.35);transition:transform .12s ease,box-shadow .12s ease,border-color .12s ease,opacity .12s ease}
.rm-earth-basemap-thumb:hover{transform:translateY(-1px);box-shadow:0 4px 12px rgba(0,0,0,.4);border-color:rgba(255,255,255,.28)}
.rm-earth-basemap-thumb:focus-visible{outline:2px solid #ffffff;outline-offset:2px}
.rm-earth-basemap-thumb::before{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(255,255,255,.1),rgba(0,0,0,.06) 42%,rgba(0,0,0,.22));pointer-events:none}
.rm-earth-basemap-thumb::after{content:"";position:absolute;left:8px;bottom:8px;width:10px;height:10px;border-radius:999px;background:rgba(255,255,255,.92);box-shadow:0 0 0 1px rgba(0,0,0,.22),0 2px 6px rgba(0,0,0,.35);opacity:0;transform:scale(.82);transition:opacity .12s ease,transform .12s ease}
.rm-earth-basemap-thumb.is-active{border-color:rgba(255,255,255,.85);box-shadow:0 0 0 1px rgba(255,255,255,.35),0 4px 14px rgba(0,0,0,.42)}
.rm-earth-basemap-thumb.is-active::after{opacity:1;transform:scale(1)}
.rm-earth-basemap-thumb-dark::after{background:#8cc7ff}
.rm-earth-basemap-thumb-night::after{background:#ffd86b}
.rm-earth-basemap-thumb-physical{background-image:url('images/basemaps/physical.jpg')}
.rm-earth-basemap-thumb-photo{background-image:url('images/basemaps/photo.jpg')}
.rm-earth-basemap-thumb-osm{background-image:url('images/basemaps/osm.jpg')}
.rm-earth-basemap-thumb-night{background-image:url('images/basemaps/night.jpg')}
.rm-earth-basemap-thumb-dark{background-image:url('images/basemaps/dark.jpg')}
.rm-earth-basemap-thumb-blank{background-image:none;background-color:#000000}
.rm-earth-basemap-thumb-blank::before{background:none}
.rm-countries-base-hidden .rm-countries-base-feature,.rm-countries-base-hidden .rm-countries-base-label{display:none!important}
.leaflet-top.leaflet-left .rm-support-break{order:65!important;flex:0 0 100%!important;height:0!important;pointer-events:none!important}
.rm-geolocate-toast{position:fixed;left:50%;bottom:14px;transform:translateX(-50%);max-width:min(calc(100vw - 24px),420px);padding:10px 14px;border-radius:12px;background:rgba(24,24,28,0.92);color:#ffffff;font:500 14px/1.35 system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;text-align:center;box-shadow:0 8px 24px rgba(0,0,0,0.28);z-index:100000;pointer-events:none;opacity:0;transition:opacity .18s ease,transform .18s ease}
.rm-geolocate-toast.is-visible{opacity:1;transform:translateX(-50%) translateY(0)}
button.easy-button-button.leaflet-bar-part.leaflet-interactive.rm-topcoords.rm-topcoords-on-active,button.easy-button-button.leaflet-bar-part.leaflet-interactive.rm-topmeasure.rm-topmeasure-on-active{background:radial-gradient(gold,transparent)}
.rm-coords-popup .leaflet-popup-content-wrapper{min-height:200px}
div.rm-localgroup-tip-major{bottom:-35px}
.rm-lightbox .lb-frame{margin-left:0!important}
.rm-lightbox .rm-lb-prev{left:-60px!important}
.rm-lightbox .rm-lb-next{right:-60px!important}
.rm-measure-handle{touch-action:none;cursor:grab}
body.rm-measuring .leaflet-container{cursor:crosshair}
body.rm-measuring .rm-measure-handle,body.rm-measuring .rm-measure-handle *,body.rm-measuring .rm-measure-handle span{cursor:pointer !important}
body.rm-toptool-active .leaflet-container,body.rm-toptool-active .leaflet-container .leaflet-pane,body.rm-toptool-active .leaflet-container .leaflet-pane *,body.rm-toptool-active .leaflet-interactive{cursor:crosshair !important}
body.rm-coords-active .leaflet-container,body.rm-coords-active .leaflet-container .leaflet-pane,body.rm-coords-active .leaflet-container .leaflet-pane *,body.rm-coords-active .leaflet-interactive,body.rm-coords-active path,body.rm-coords-active svg,body.rm-coords-active canvas{cursor:crosshair !important}
body.rm-coords-active .leaflet-control,body.rm-coords-active .leaflet-control *,body.rm-coords-active .leaflet-popup,body.rm-coords-active .leaflet-popup *,body.rm-coords-active .rm-coords-popup,body.rm-coords-active .rm-coords-popup *,body.rm-coords-active textarea,body.rm-coords-active button,body.rm-coords-active input,body.rm-coords-active select,body.rm-coords-active label,body.rm-coords-active a{cursor:auto !important}
.eez .leaflet-pane_world_lines-pane img.leaflet-tile.leaflet-tile-loaded{filter:blur(0.4px) brightness(0) invert(30%);opacity:0.7 !important}
.leaflet-pane_world_lines-pane .rm-country-lines-tiles img.leaflet-tile.leaflet-tile-loaded{filter:blur(0.35px) brightness(0) invert(48%) !important;opacity:1 !important}
.leaflet-pane_world_lines-pane .rm-countries-spheres-lines-tiles img.leaflet-tile.leaflet-tile-loaded{filter:blur(0.35px) brightness(0) invert(48%) !important;opacity:1 !important}
.rm-lightbox img[src="markers/coats/in.svg"]{background:#ffffff;padding:10px;border-radius:6px}
.rm-lightbox img[src$="/markers/coats/in.svg"]{background:#ffffff;padding:10px;border-radius:6px}
.rm-lightbox img[src*="markers/coats/in.svg?"]{background:#ffffff;padding:10px;border-radius:6px}
.rm-lightbox:has(img[src*="markers/flags/"]) .lb-desc,.rm-lightbox:has(img[src*="markers/coats/"]) .lb-desc{display:none!important}
.leaflet-top.leaflet-left{row-gap:0 !important}
.leaflet-top.leaflet-left .leaflet-control-layers,.leaflet-top.leaflet-left .rm-subcontrol,.leaflet-top.leaflet-left .rm-support{margin:0 !important}
.leaflet-top.leaflet-left .leaflet-control-layers+.leaflet-control-layers,.leaflet-top.leaflet-left .leaflet-control-layers+.rm-subcontrol,.leaflet-top.leaflet-left .leaflet-control-layers+.rm-support,.leaflet-top.leaflet-left .rm-subcontrol+.leaflet-control-layers,.leaflet-top.leaflet-left .rm-subcontrol+.rm-subcontrol,.leaflet-top.leaflet-left .rm-subcontrol+.rm-support,.leaflet-top.leaflet-left .rm-support+.leaflet-control-layers,.leaflet-top.leaflet-left .rm-support+.rm-subcontrol,.leaflet-top.leaflet-left .rm-support+.rm-support{margin-top:10px !important}
.leaflet-top.leaflet-left .rm-support{flex:0 0 auto !important;width:161px !important;max-width:161px !important}
.leaflet-top.leaflet-left .rm-support.leaflet-control-layers-collapsed{width:161px !important;max-width:161px !important}
.leaflet-top.leaflet-left .rm-support.leaflet-control-layers-collapsed>a.leaflet-control-layers-toggle{width:120px !important}
.leaflet-popup-content{}
.leaflet-top.leaflet-left .leaflet-control-layers:not(.rm-earth-basemaps-control),.leaflet-top.leaflet-left .rm-subcontrol,.leaflet-top.leaflet-left .rm-support{margin-top:10px !important}
.leaflet-top.leaflet-left .rm-support,.leaflet-top.leaflet-left .rm-support.leaflet-control-layers-collapsed{width:161px !important;max-width:161px !important}
.leaflet-top.leaflet-left .rm-support>.leaflet-control-layers-list{padding:6px 8px !important;background:#e6e6e6 !important}
.leaflet-top.leaflet-left .leaflet-control.rm-share-control+.leaflet-control-layers,.leaflet-top.leaflet-left .leaflet-control.easy-button-container+.leaflet-control-layers,.leaflet-top.leaflet-left .leaflet-bar+.leaflet-control-layers{margin-top:10px !important}
.leaflet-top.leaflet-left .rm-support.leaflet-control-layers-collapsed,.leaflet-top.leaflet-left .rm-support.leaflet-control-layers:not(.leaflet-control-layers-expanded){width:110px !important;max-width:110px !important;padding:0 !important}
.leaflet-top.leaflet-left .rm-support.leaflet-control-layers-collapsed>a.leaflet-control-layers-toggle,.leaflet-top.leaflet-left .rm-support.leaflet-control-layers:not(.leaflet-control-layers-expanded)>a.leaflet-control-layers-toggle{width:120px !important;height:36px !important;line-height:36px !important;padding:0 10px 0 36px !important;text-align:left !important;background-position:12px center !important;background-size:18px 18px !important}
.rm-balls-label,.rm-balls-moon-label,.rm-balls-dwarf-label,.rm-balls-sun-label{background:transparent;border:0;box-shadow:none;text-align:center;white-space:nowrap;text-shadow:0 0 6px #000000,0 0 2px #000000;pointer-events:auto}
.rm-balls-label-hit{display:inline-block;pointer-events:auto;cursor:pointer}
.rm-balls-label,.rm-balls-dwarf-label{color:#dddddd;font-size:12px;font-weight:600}
.rm-balls-sun-label{color:#ffd54a;font-size:13px;font-weight:600}
.rm-balls-moon-label{color:#bfbfbf;font-size:10px;font-weight:600}
.rm-balls-bg{display:block!important;visibility:visible!important;opacity:1!important;max-width:none!important;max-height:none!important;transform-origin:50% 50%!important;backface-visibility:hidden;pointer-events:none!important}
.rm-coords-popup .leaflet-popup-content{min-height:auto}
.rm-solar-size-control{display:none}
.rm-control button{background:none!important;color:#000!important}
.rm-control .time{margin-top:-10px}
.rm-maps-control.leaflet-control-layers>a.leaflet-control-layers-toggle:before{content:"Maps" !important}
.rm-maps-control.leaflet-control-layers>a.leaflet-control-layers-toggle{background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27currentColor%27%20stroke-width%3D%272%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Cpath%20d%3D%27M12%203l9%205-9%205-9-5%209-5z%27%2F%3E%3Cpath%20d%3D%27M3%2012l9%205%209-5%27%2F%3E%3Cpath%20d%3D%27M3%2017l9%205%209-5%27%2F%3E%3C%2Fsvg%3E") !important}
.leaflet-top.leaflet-left .leaflet-control-layers,.leaflet-top.leaflet-left .rm-subcontrol,.leaflet-top.leaflet-left .rm-support{flex:0 0 100% !important}
.leaflet-top.leaflet-left .leaflet-control-layers.rm-earth-basemaps-control{flex:0 0 100% !important}
.leaflet-top.leaflet-left .rm-subcontrol.leaflet-control-layers,.leaflet-top.leaflet-left .leaflet-control-layers.rm-earth-basemaps-control{flex:0 0 161px !important;width:161px !important;max-width:161px !important;margin-right:calc(100vw - 181px) !important;align-self:flex-start !important}
.rm-earth-globe-layer{position:absolute;inset:0;z-index:430;background:#000;overflow:hidden;pointer-events:auto}
.rm-earth-globe-layer canvas{display:block;width:100%;height:100%}
.rm-moon-globe-layer{position:absolute;inset:0;z-index:430;background:#000;overflow:hidden;pointer-events:auto}
.rm-moon-globe-layer canvas{display:block;width:100%;height:100%}
.leaflet-control-layers.rm-earth-projection-control>a.leaflet-control-layers-toggle{background-image:var(--rm-ui-svg-globe,var(--rm-ui-svg-home)) !important}
.rm-mars-globe-markers{position:absolute;inset:0;z-index:2;pointer-events:none}
.rm-mars-globe-marker{position:absolute;left:0;top:0;border:0;background:transparent;padding:0;margin:0;cursor:pointer;pointer-events:auto;transform:translate(-9999px,-9999px);overflow:visible}
.rm-mars-globe-marker .rm-mars-globe-tip{position:absolute;left:50%;bottom:calc(100%+14px);z-index:3;transform:translateX(-50%);background:#ffffffcc;color:#000;font:12px/1.05 Arial,sans-serif;text-align:center;border:0;box-shadow:none;padding:2px 3px;white-space:nowrap;pointer-events:none}
.rm-mars-globe-marker .rm-mars-marker,.rm-mars-globe-marker .rm-mars-flag-marker{position:relative;z-index:1;margin:0 auto}
.rm-mars-globe-layer{position:absolute;inset:0;z-index:430;background:#000;overflow:hidden;pointer-events:auto}
.rm-mars-globe-layer canvas{display:block;width:100%;height:100%}
:root{--rm-left-control-width:210px}
.leaflet-top.leaflet-left .leaflet-control-layers,.leaflet-top.leaflet-left .rm-subcontrol,.leaflet-top.leaflet-left .rm-support{width:var(--rm-left-control-width)!important;max-width:var(--rm-left-control-width)!important;box-sizing:border-box!important}
.leaflet-top.leaflet-left .rm-subcontrol.leaflet-control-layers:not(.rm-maps-control),.leaflet-top.leaflet-left .rm-maps-control.leaflet-control-layers.leaflet-control-layers-expanded,.leaflet-top.leaflet-left .leaflet-control-layers.rm-earth-basemaps-control{flex:0 0 var(--rm-left-control-width)!important;width:var(--rm-left-control-width)!important;max-width:var(--rm-left-control-width)!important;margin-right:calc(100vw - 230px)!important;align-self:flex-start!important}
.leaflet-top.leaflet-left .rm-support,.leaflet-top.leaflet-left .rm-support.leaflet-control-layers-collapsed{width:var(--rm-left-control-width)!important;max-width:var(--rm-left-control-width)!important}
.leaflet-top.leaflet-left .rm-support.leaflet-control-layers-collapsed,.leaflet-top.leaflet-left .rm-support.leaflet-control-layers:not(.leaflet-control-layers-expanded){width:var(--rm-left-control-width)!important;max-width:var(--rm-left-control-width)!important}
.leaflet-top.leaflet-left .rm-support.leaflet-control-layers-collapsed>a.leaflet-control-layers-toggle,.leaflet-top.leaflet-left .rm-support.leaflet-control-layers:not(.leaflet-control-layers-expanded)>a.leaflet-control-layers-toggle{width:var(--rm-left-control-width)!important}
.leaflet-bottom.leaflet-left .rm-support,.leaflet-bottom.leaflet-left .rm-support-link,.leaflet-bottom.leaflet-left .rm-support-img{width:var(--rm-left-control-width)!important;max-width:var(--rm-left-control-width)!important}
.leaflet-top.leaflet-left .leaflet-control-layers.rm-earth-basemaps-control{width:var(--rm-left-control-width)!important;max-width:var(--rm-left-control-width)!important}
.rm-maps-control .leaflet-control-layers-base{display:flex;flex-direction:column;gap:2px}
.rm-maps-control .rm-map-row{position:relative;display:grid!important;grid-template-columns:22px 1fr;align-items:center;gap:8px;min-height:28px;margin:0!important;padding:4px 7px!important;border-radius:8px;color:#151515;font:500 13px/1.15 Arial,sans-serif;cursor:pointer;white-space:nowrap;box-sizing:border-box;transition:background .12s ease,box-shadow .12s ease,color .12s ease}
.rm-maps-control .rm-map-row:hover{background:#ffffff;box-shadow:inset 0 0 0 1px #00000012}
.rm-maps-control .rm-map-row.is-active{background:#f1f1f1;box-shadow:inset 0 0 0 1px #00000018,0 1px 4px #00000012;font-weight:700}
.rm-maps-control .rm-map-row:focus-visible:not(.is-active){outline:2px solid #000;outline-offset:-2px;}
.rm-maps-control .rm-map-row input{display:none!important}
.rm-maps-control .rm-map-icon{grid-column:1;display:flex;width:22px;height:22px;align-items:center;justify-content:center;color:#686868}
.rm-maps-control .rm-map-icon svg{display:block;width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;overflow:visible}
.rm-maps-control .rm-map-name{grid-column:2;overflow:hidden;text-overflow:ellipsis}
.rm-maps-control .rm-map-row:nth-child(1) .rm-map-icon{color:#3d6fa8}
.rm-maps-control .rm-map-row:nth-child(2) .rm-map-icon{color:#2f76bf}
.rm-maps-control .rm-map-row:nth-child(3) .rm-map-icon{color:#777777}
.rm-maps-control .rm-map-row:nth-child(4) .rm-map-icon{color:#c74a3d}
.rm-maps-control .rm-map-row:nth-child(5) .rm-map-icon{color:#c69228}
.rm-maps-control .rm-map-row:nth-child(6) .rm-map-icon{color:#7c65b0}
.rm-maps-control .rm-map-row:nth-child(7) .rm-map-icon{color:#7455a4}
.rm-maps-control .rm-map-row:nth-child(8) .rm-map-icon{color:#3c7cc2}
.rm-maps-control .rm-map-row:nth-child(9) .rm-map-icon{color:#24726f}
.rm-maps-control .rm-map-row:nth-child(10) .rm-map-icon{color:#6858a8}
.rm-maps-control .rm-map-row:nth-child(2),.rm-maps-control .rm-map-row:nth-child(5){margin-bottom:0!important}
.rm-maps-control .rm-map-row:nth-child(3),.rm-maps-control .rm-map-row:nth-child(6){margin-top:0!important}
.rm-maps-control .rm-map-row:nth-child(3)::before,.rm-maps-control .rm-map-row:nth-child(6)::before{content:none!important;display:none!important;background:transparent!important}

/* rm-light-skin-merged */
/* rm-final-panel-fixes-css */
.leaflet-top.leaflet-left .rm-maps-control .rm-layer-section-title{display:none!important}
.leaflet-top.leaflet-left .rm-maps-control .leaflet-control-layers-base,.leaflet-top.leaflet-left .rm-maps-control .rm-map-row{border-top:0!important;border-bottom:0!important;box-shadow:none!important}
.leaflet-top.leaflet-left .rm-maps-control .rm-map-row input{position:absolute!important;opacity:0!important;width:0!important;height:0!important;margin:0!important;padding:0!important;border:0!important;appearance:none!important;-webkit-appearance:none!important;pointer-events:none!important}
.leaflet-top.leaflet-left .rm-maps-control .rm-map-row.is-active,.leaflet-top.leaflet-left .rm-maps-control .rm-map-row.is-active:before,.leaflet-top.leaflet-left .rm-maps-control .rm-map-row.is-active:after{border-left:0!important;box-shadow:none!important}
body.rm-ui-right .leaflet-top.leaflet-left .leaflet-control-layers,body.rm-ui-right .leaflet-top.leaflet-left .rm-subcontrol,body.rm-ui-right .leaflet-top.leaflet-left .rm-support{width:210px!important;max-width:210px!important}
.rm-maps-control .rm-map-row.is-active:before,.rm-maps-control .rm-map-row.is-active::before,.rm-maps-control .rm-map-row:nth-child(3):before,.rm-maps-control .rm-map-row:nth-child(3)::before,.rm-maps-control .rm-map-row:nth-child(6):before,.rm-maps-control .rm-map-row:nth-child(6)::before{content:none!important;display:none!important}

/* final light skin color pass */
:root{--rm-ui-icon-color:#111!important;--rm-ui-icon-cutout:#f4f1e8!important}
.leaflet-top.leaflet-left .leaflet-bar,
.leaflet-top.leaflet-left .leaflet-bar a,
.leaflet-top.leaflet-left .leaflet-bar button,
.leaflet-top.leaflet-left .easy-button-button,
.leaflet-top.leaflet-left .easy-button-button .button-state,
.leaflet-top.leaflet-left .leaflet-control-layers,
.leaflet-top.leaflet-left .leaflet-control-layers-list,
.leaflet-top.leaflet-left .leaflet-control-layers-toggle,
.leaflet-top.leaflet-left .rm-subcontrol.leaflet-control-layers,
.rm-share-docked{background:#f4f1e8!important;background-color:#f4f1e8!important;border-color:rgba(0,0,0,.18)!important;color:#111!important}
.leaflet-top.leaflet-left .leaflet-bar a:hover,
.leaflet-top.leaflet-left .leaflet-bar button:hover,
.leaflet-top.leaflet-left .easy-button-button:hover,
.leaflet-top.leaflet-left .leaflet-control-layers-toggle:hover,
.leaflet-top.leaflet-left .leaflet-control-layers label:hover,
.leaflet-top.leaflet-left .leaflet-control-layers-base label:hover,
.leaflet-top.leaflet-left .leaflet-control-layers-overlays label:hover,
.leaflet-top.leaflet-left .rm-map-row:hover{background:#e8e2d4!important;background-color:#e8e2d4!important}
.leaflet-top.leaflet-left .leaflet-control-layers label,
.leaflet-top.leaflet-left .leaflet-control-layers label *,
.leaflet-top.leaflet-left .leaflet-control-layers-toggle,
.leaflet-top.leaflet-left .leaflet-control-layers-toggle:before,
.leaflet-top.leaflet-left .easy-button-button,
.leaflet-top.leaflet-left .easy-button-button *,
.leaflet-top.leaflet-left .leaflet-bar,
.leaflet-top.leaflet-left .leaflet-bar *,
.leaflet-top.leaflet-left .rm-ctl-close,
.leaflet-top.leaflet-left .rm-ctl-close *,
.rm-share-docked,
.rm-share-docked *{color:#111!important;text-shadow:none!important;opacity:1!important}
.leaflet-top.leaflet-left svg,
.leaflet-top.leaflet-left svg *{color:#111!important;stroke:#111!important}
.leaflet-top.leaflet-left .leaflet-control-zoom-in:before,
.leaflet-top.leaflet-left .leaflet-control-zoom-out:before,
.leaflet-top.leaflet-left .leaflet-control-zoomhome-in:before,
.leaflet-top.leaflet-left .leaflet-control-zoomhome-out:before,
.leaflet-top.leaflet-left .leaflet-control-zoomhome-home:before,
.leaflet-top.leaflet-left .leaflet-control-locate a:before,
.leaflet-top.leaflet-left .easy-button-button.rm-ui-toggle .button-state:before,
.leaflet-top.leaflet-left .easy-button-button.rm-ui-sem .button-state:before,

.leaflet-top.leaflet-left .rm-topcoords .button-state:before,
.leaflet-top.leaflet-left .rm-topmeasure .button-state:before,
.leaflet-top.leaflet-left .rm-topicon:before,
.leaflet-top.leaflet-left .leaflet-control-layers-toggle:after{background:#111!important}
.leaflet-top.leaflet-left .easy-button-button.rm-share-active .button-state{background-image:none!important;color:#111!important;position:relative!important}
.leaflet-top.leaflet-left .easy-button-button.rm-share-active .button-state:before{content:""!important;position:absolute!important;left:16px!important;top:50%!important;width:18px!important;height:18px!important;transform:translateY(-50%)!important;background:#111!important;-webkit-mask:var(--rm-ui-svg-share) center/18px 18px no-repeat!important;mask:var(--rm-ui-svg-share) center/18px 18px no-repeat!important}
.leaflet-top.leaflet-left .easy-button-button.rm-share-active .button-state:after{color:#111!important;font-weight:400!important}
.rm-share-docked .button-state{background-image:none!important;color:#111!important;position:relative!important}
.rm-share-docked .button-state:before{content:""!important;position:absolute!important;left:16px!important;top:50%!important;width:18px!important;height:18px!important;transform:translateY(-50%)!important;background:#111!important;-webkit-mask:var(--rm-ui-svg-share) center/18px 18px no-repeat!important;mask:var(--rm-ui-svg-share) center/18px 18px no-repeat!important}
.leaflet-top.leaflet-left .leaflet-control-layers input[type="checkbox"],
.leaflet-top.leaflet-left .leaflet-control-layers input[type="radio"]{accent-color:#111!important}
.leaflet-top.leaflet-left .rm-map-row.is-active,
.leaflet-top.leaflet-left label:has(input:checked){background:palegreen!important;background-color:palegreen!important;color:#111!important}
body.rm-lightbox-open .leaflet-top.leaflet-left .easy-button-button.rm-share-active .button-state,
body:has(.rm-lightbox.show) .leaflet-top.leaflet-left .easy-button-button.rm-share-active .button-state{background:#f4f1e8!important;background-color:#f4f1e8!important;background-image:none!important;color:#111!important;font-weight:400!important;padding-left:42px!important;padding-right:13px!important}
body.rm-lightbox-open .leaflet-top.leaflet-left .easy-button-button.rm-share-active .button-state:before,
body:has(.rm-lightbox.show) .leaflet-top.leaflet-left .easy-button-button.rm-share-active .button-state:before{content:""!important;background:#111!important;-webkit-mask:var(--rm-ui-svg-share) center/18px 18px no-repeat!important;mask:var(--rm-ui-svg-share) center/18px 18px no-repeat!important}
body.rm-lightbox-open .leaflet-top.leaflet-left .easy-button-button.rm-share-active .button-state:after,
body:has(.rm-lightbox.show) .leaflet-top.leaflet-left .easy-button-button.rm-share-active .button-state:after{content:"Share"!important;color:#111!important;font-weight:400!important;font-size:13px!important;line-height:34px!important;white-space:nowrap!important}
.leaflet-top.leaflet-left .easy-button-button.rm-share-active .button-state:after,
.rm-share-docked .button-state:after{font-weight:400!important}

/* keep Share label readable in the lightbox-highlight state */
.leaflet-top.leaflet-left .easy-button-button.rm-share-active .button-state::after,
.leaflet-top.leaflet-left .easy-button-button.rm-share-active .button-state:after,
body.rm-lightbox-open .leaflet-top.leaflet-left .easy-button-button.rm-share-active .button-state::after,
body.rm-lightbox-open .leaflet-top.leaflet-left .easy-button-button.rm-share-active .button-state:after,
body:has(.rm-lightbox.show) .leaflet-top.leaflet-left .easy-button-button.rm-share-active .button-state::after,
body:has(.rm-lightbox.show) .leaflet-top.leaflet-left .easy-button-button.rm-share-active .button-state:after{content:"Share"!important;display:inline-block!important;color:#111!important;-webkit-text-fill-color:#111!important;font-weight:400!important;font-size:13px!important;line-height:34px!important;white-space:nowrap!important;opacity:1!important;text-shadow:none!important}
.easy-button-button.rm-share-active.rm-share-docked,
.easy-button-button.rm-share-active.rm-share-docked .button-state{width:104px!important;min-width:104px!important;max-width:104px!important;height:34px!important;background:#f4f1e8!important;background-color:#f4f1e8!important;color:#111!important;font-weight:400!important}
.easy-button-button.rm-share-active.rm-share-docked .button-state{display:flex!important;align-items:center!important;justify-content:flex-start!important;padding-left:42px!important;padding-right:13px!important;background-image:none!important;position:relative!important}
.easy-button-button.rm-share-active.rm-share-docked .button-state:before{content:""!important;position:absolute!important;left:16px!important;top:50%!important;width:18px!important;height:18px!important;transform:translateY(-50%)!important;background:#111!important;-webkit-mask:var(--rm-ui-svg-share) center/18px 18px no-repeat!important;mask:var(--rm-ui-svg-share) center/18px 18px no-repeat!important}
.easy-button-button.rm-share-active.rm-share-docked .button-state:after,
.easy-button-button.rm-share-active.rm-share-docked .button-state::after{content:"Share"!important;display:inline-block!important;color:#111!important;-webkit-text-fill-color:#111!important;font-weight:400!important;font-size:13px!important;line-height:34px!important;white-space:nowrap!important;opacity:1!important;text-shadow:none!important}

/* overlay rows should not look hovered just because they are checked */
.leaflet-top.leaflet-left .rm-subcontrol.leaflet-control-layers label,
.leaflet-top.leaflet-left .rm-subcontrol.leaflet-control-layers label:has(input:checked),
.leaflet-top.leaflet-left .rm-subcontrol.leaflet-control-layers .leaflet-control-layers-overlays label,
.leaflet-top.leaflet-left .rm-subcontrol.leaflet-control-layers .leaflet-control-layers-overlays label:has(input:checked){background:transparent!important;background-color:transparent!important;color:#111!important}
.leaflet-top.leaflet-left .rm-subcontrol.leaflet-control-layers label:hover,
.leaflet-top.leaflet-left .rm-subcontrol.leaflet-control-layers .leaflet-control-layers-overlays label:hover{background:#e8e2d4!important;background-color:#e8e2d4!important;color:#111!important}

/* Moon/Mars mode buttons and animation controls */
.leaflet-top.leaflet-left .rm-moon-toprow{align-items:center!important;gap:8px!important;margin-bottom:8px!important}
.leaflet-top.leaflet-left .rm-moon-mode{background:#f4f1e8!important;background-color:#f4f1e8!important;border:1px solid rgba(0,0,0,.14)!important;border-radius:10px!important;box-shadow:none!important;overflow:hidden!important}
.leaflet-top.leaflet-left .rm-moon-mode-btn{width:34px!important;height:28px!important;background:transparent!important;background-color:transparent!important;color:#111!important;border:0!important;box-shadow:none!important;opacity:1!important}
.leaflet-top.leaflet-left .rm-moon-mode-btn+.rm-moon-mode-btn{border-left:1px solid rgba(0,0,0,.12)!important}
.leaflet-top.leaflet-left .rm-moon-mode-btn:hover{background:#e8e2d4!important;background-color:#e8e2d4!important;color:#111!important}
.leaflet-top.leaflet-left .rm-moon-mode-btn.is-active,
.leaflet-top.leaflet-left .rm-moon-mode-btn[aria-pressed="true"]{background:palegreen!important;background-color:palegreen!important;color:#111!important}
.leaflet-top.leaflet-left .rm-moon-mode-btn *,
.leaflet-top.leaflet-left .rm-moon-mode-btn svg,
.leaflet-top.leaflet-left .rm-moon-mode-btn svg *{color:#111!important;stroke:#111!important;opacity:1!important;filter:none!important}
.leaflet-top.leaflet-left .rm-moon-mode-btn svg [fill]:not([fill="none"]){fill:currentColor!important}
.leaflet-top.leaflet-left .rm-moon-anim-btn,
.leaflet-top.leaflet-left .rm-moon-anim-btn:hover,
.leaflet-top.leaflet-left .rm-moon-tl,
.leaflet-top.leaflet-left .rm-moon-timeline,
.leaflet-top.leaflet-left .rm-moon-tl-track{height:8px!important;border-radius:999px!important;background:#ddd4c5!important;background-color:#ddd4c5!important;box-shadow:inset 0 0 0 1px rgba(0,0,0,.08)!important;overflow:hidden!important}
.leaflet-top.leaflet-left .rm-moon-tl-range,
.leaflet-top.leaflet-left .rm-moon-tl-h{width:16px!important;height:16px!important;border-radius:50%!important;background:#f4f1e8!important;background-color:#f4f1e8!important;border:2px solid #111!important;box-shadow:0 2px 7px rgba(0,0,0,.22)!important}
.leaflet-top.leaflet-left input[type="range"].rm-moon-tl,
.leaflet-top.leaflet-left input[type="range"].rm-moon-range,
.leaflet-top.leaflet-left .rm-subcontrol input[type="range"]{width:100%!important;height:20px!important;margin:8px 0 2px!important;accent-color:#111!important;background:transparent!important;cursor:pointer!important}
.leaflet-top.leaflet-left .rm-subcontrol input[type="range"]::-webkit-slider-runnable-track{height:8px!important;border-radius:999px!important;background:#ddd4c5!important;border:1px solid rgba(0,0,0,.08)!important}
.leaflet-top.leaflet-left .rm-subcontrol input[type="range"]::-webkit-slider-thumb{-webkit-appearance:none!important;appearance:none!important;width:16px!important;height:16px!important;margin-top:-5px!important;border-radius:50%!important;background:#f4f1e8!important;border:2px solid #111!important;box-shadow:0 2px 7px rgba(0,0,0,.22)!important}
.leaflet-top.leaflet-left .rm-subcontrol input[type="range"]::-moz-range-track{height:8px!important;border-radius:999px!important;background:#ddd4c5!important;border:1px solid rgba(0,0,0,.08)!important}
.leaflet-top.leaflet-left .rm-subcontrol input[type="range"]::-moz-range-progress{height:8px!important;border-radius:999px!important;background:#111!important}
.leaflet-top.leaflet-left .rm-subcontrol input[type="range"]::-moz-range-thumb{width:16px!important;height:16px!important;border-radius:50%!important;background:#f4f1e8!important;border:2px solid #111!important;box-shadow:0 2px 7px rgba(0,0,0,.22)!important}

/* calmer animation controls and explicit active map rows */
.leaflet-top.leaflet-left .rm-maps-control .rm-map-row.is-active,
.leaflet-top.leaflet-left .rm-maps-control .rm-map-row.active,
.leaflet-top.leaflet-left .leaflet-control-layers:not(.rm-subcontrol) .leaflet-control-layers-base .rm-map-row.is-active{background:transparent!important;background-color:transparent!important;color:green!important}
.leaflet-top.leaflet-left .rm-maps-control .rm-map-row.is-active *,
.leaflet-top.leaflet-left .rm-maps-control .rm-map-row.active *,
.leaflet-top.leaflet-left .leaflet-control-layers:not(.rm-subcontrol) .leaflet-control-layers-base .rm-map-row.is-active *{color:green!important;-webkit-text-fill-color:green!important;stroke:green!important}
.leaflet-top.leaflet-left .rm-moon-mode-btn:last-child svg,
.leaflet-top.leaflet-left .rm-moon-mode-btn:last-child svg *,
.leaflet-top.leaflet-left .rm-moon-mode-btn:last-child .rm-countries-mode-icon,
.leaflet-top.leaflet-left .rm-moon-mode-btn:last-child .rm-countries-mode-icon *{color:#111!important;stroke:#111!important;background:transparent!important;opacity:1!important}
.leaflet-top.leaflet-left .rm-moon-mode-btn:last-child svg [fill]:not([fill="none"]){fill:#111!important}
.leaflet-top.leaflet-left .rm-moon-mode-btn img{filter:brightness(0)!important;opacity:1!important}
.leaflet-top.leaflet-left .rm-moon-anim-btn,
.leaflet-top.leaflet-left .rm-moon-anim-btn:hover,
.leaflet-top.leaflet-left .rm-moon-tl,
.leaflet-top.leaflet-left .rm-moon-timeline,
.leaflet-top.leaflet-left .rm-moon-tl-track{height:4px!important;border-radius:0!important;background:#d8d0c2!important;background-color:#d8d0c2!important;box-shadow:none!important;overflow:visible!important}
.leaflet-top.leaflet-left .rm-moon-tl-range,
.leaflet-top.leaflet-left .rm-moon-tl-h{width:13px!important;height:13px!important;border-radius:50%!important;background:#f4f1e8!important;background-color:#f4f1e8!important;border:2px solid #111!important;box-shadow:none!important}
.leaflet-top.leaflet-left input[type="range"].rm-moon-tl,
.leaflet-top.leaflet-left input[type="range"].rm-moon-range,
.leaflet-top.leaflet-left .rm-subcontrol input[type="range"]{height:18px!important;margin:7px 0 1px!important;accent-color:#6d655b!important;background:transparent!important}
.leaflet-top.leaflet-left .rm-subcontrol input[type="range"]::-webkit-slider-runnable-track{height:4px!important;border-radius:0!important;background:#d8d0c2!important;border:0!important}
.leaflet-top.leaflet-left .rm-subcontrol input[type="range"]::-webkit-slider-thumb{width:13px!important;height:13px!important;margin-top:-4px!important;border-radius:0!important;background:#f4f1e8!important;border:2px solid #111!important;box-shadow:none!important}
.leaflet-top.leaflet-left .rm-subcontrol input[type="range"]::-moz-range-track{height:4px!important;border-radius:0!important;background:#d8d0c2!important;border:0!important}
.leaflet-top.leaflet-left .rm-subcontrol input[type="range"]::-moz-range-progress{height:4px!important;border-radius:0!important;background:#6d655b!important}
.leaflet-top.leaflet-left .rm-subcontrol input[type="range"]::-moz-range-thumb{width:13px!important;height:13px!important;border-radius:0!important;background:#f4f1e8!important;border:2px solid #111!important;box-shadow:none!important}

/* exact requested fixes */
.leaflet-top.leaflet-left .rm-subcontrol input[type="range"],
.leaflet-top.leaflet-left input[type="range"].rm-moon-tl,
.leaflet-top.leaflet-left input[type="range"].rm-moon-range{-webkit-appearance:none!important;appearance:none!important;border-radius:0!important}
.leaflet-top.leaflet-left .rm-moon-tl-track,
.leaflet-top.leaflet-left .rm-moon-tl-range,
.leaflet-top.leaflet-left .rm-subcontrol input[type="range"]::-webkit-slider-runnable-track,
.leaflet-top.leaflet-left .rm-subcontrol input[type="range"]::-moz-range-track,
.leaflet-top.leaflet-left .rm-subcontrol input[type="range"]::-moz-range-progress{border-radius:0!important}
.leaflet-top.leaflet-left .rm-moon-tl-h,
.leaflet-top.leaflet-left .rm-subcontrol input[type="range"]::-webkit-slider-thumb,
.leaflet-top.leaflet-left .rm-subcontrol input[type="range"]::-moz-range-thumb{border-radius:0!important}
.leaflet-top.leaflet-left .rm-moon-mode-btn[data-mode="flags"],
.leaflet-top.leaflet-left .rm-moon-mode-btn[data-mode="flags"] *{color:#111!important;-webkit-text-fill-color:#111!important;stroke:#111!important;fill:currentColor!important;background:transparent!important;opacity:1!important}
.leaflet-top.leaflet-left .leaflet-control-layers:not(.rm-subcontrol) .rm-map-row.is-active,
.leaflet-top.leaflet-left .leaflet-control-layers:not(.rm-subcontrol) .rm-map-row.active,
.leaflet-top.leaflet-left .leaflet-control-layers:not(.rm-subcontrol) .leaflet-control-layers-base .rm-map-row.is-active{background:transparent!important;background-color:transparent!important;color:green!important}
.leaflet-top.leaflet-left .rm-moon-types .rm-sub-ico-img,
.leaflet-top.leaflet-left .rm-mars-types .rm-sub-ico-img{width:16px!important;height:16px!important;max-width:16px!important;max-height:16px!important;object-fit:contain!important;vertical-align:middle!important}
.leaflet-top.leaflet-left .rm-moon-types .rm-lbl,
.leaflet-top.leaflet-left .rm-mars-types .rm-lbl{display:inline-flex!important;align-items:center!important;gap:5px!important}

/* collapsed controls and close buttons */
.leaflet-top.leaflet-left .leaflet-control-layers:not(.leaflet-control-layers-expanded),
.leaflet-top.leaflet-left .leaflet-control-layers.leaflet-control-layers-collapsed,
.leaflet-top.leaflet-left .rm-subcontrol.leaflet-control-layers:not(.leaflet-control-layers-expanded),
.leaflet-top.leaflet-left .rm-subcontrol.leaflet-control-layers.leaflet-control-layers-collapsed,
.leaflet-top.leaflet-left .rm-support.leaflet-control-layers:not(.leaflet-control-layers-expanded),
.leaflet-top.leaflet-left .rm-support.leaflet-control-layers.leaflet-control-layers-collapsed{width:210px!important;max-width:210px!important;min-width:210px!important;background:#f4f1e8!important;background-color:#f4f1e8!important;color:#111!important;padding:0!important}
.leaflet-top.leaflet-left .leaflet-control-layers:not(.leaflet-control-layers-expanded)>a.leaflet-control-layers-toggle,
.leaflet-top.leaflet-left .leaflet-control-layers.leaflet-control-layers-collapsed>a.leaflet-control-layers-toggle,
.leaflet-top.leaflet-left .rm-subcontrol.leaflet-control-layers:not(.leaflet-control-layers-expanded)>a.leaflet-control-layers-toggle,
.leaflet-top.leaflet-left .rm-subcontrol.leaflet-control-layers.leaflet-control-layers-collapsed>a.leaflet-control-layers-toggle,
.leaflet-top.leaflet-left .rm-support.leaflet-control-layers:not(.leaflet-control-layers-expanded)>a.leaflet-control-layers-toggle,
.leaflet-top.leaflet-left .rm-support.leaflet-control-layers.leaflet-control-layers-collapsed>a.leaflet-control-layers-toggle{display:flex!important;width:210px!important;max-width:210px!important;min-width:210px!important;height:36px!important;box-sizing:border-box!important;background:#f4f1e8!important;background-color:#f4f1e8!important;color:#111!important;border-radius:10px!important;align-items:center!important;justify-content:flex-start!important;padding:0 12px 0 36px!important}
.leaflet-top.leaflet-left .leaflet-control-layers:not(.leaflet-control-layers-expanded)>a.leaflet-control-layers-toggle:hover,
.leaflet-top.leaflet-left .leaflet-control-layers.leaflet-control-layers-collapsed>a.leaflet-control-layers-toggle:hover,
.leaflet-top.leaflet-left .rm-subcontrol.leaflet-control-layers:not(.leaflet-control-layers-expanded)>a.leaflet-control-layers-toggle:hover,
.leaflet-top.leaflet-left .rm-subcontrol.leaflet-control-layers.leaflet-control-layers-collapsed>a.leaflet-control-layers-toggle:hover{background:#e8e2d4!important;background-color:#e8e2d4!important}
.leaflet-top.leaflet-left .leaflet-control-layers-toggle:before{color:#111!important;opacity:1!important}
.leaflet-top.leaflet-left .leaflet-control-layers-toggle:after{background:#111!important;opacity:1!important}
.leaflet-top.leaflet-left .rm-ctl-close,
.leaflet-top.leaflet-left .rm-ctl-close *,
.leaflet-top.leaflet-left .leaflet-control-layers-close,
.leaflet-top.leaflet-left .leaflet-control-layers-close *,
.leaflet-top.leaflet-left button[aria-label="Close"],
.leaflet-top.leaflet-left button[aria-label="Close"] *{color:#111!important;-webkit-text-fill-color:#111!important;background:transparent!important;text-shadow:none!important;opacity:1!important}
.leaflet-top.leaflet-left .rm-ctl-close{font-size:0!important;text-indent:0!important}
.leaflet-top.leaflet-left .rm-ctl-close:before{content:"-"!important;display:flex!important;align-items:center!important;justify-content:center!important;width:100%!important;height:100%!important;font-size:16px!important;font-weight:600!important;line-height:1!important;color:#111!important;-webkit-text-fill-color:#111!important;opacity:.68!important;transform:translateY(-1px)!important}
.leaflet-top.leaflet-left .rm-ctl-close:hover:before{opacity:.9!important}
.leaflet-bottom.leaflet-left .leaflet-control-layers,
.leaflet-bottom.leaflet-left .rm-subcontrol.leaflet-control-layers,
.leaflet-bottom.leaflet-left .leaflet-control-layers.rm-earth-basemaps-control{width:210px!important;max-width:210px!important;min-width:210px!important;background:#f4f1e8!important;background-color:#f4f1e8!important;color:#111!important;border:1px solid rgba(0,0,0,.18)!important;border-radius:16px!important;box-shadow:0 10px 24px rgba(0,0,0,.24)!important;box-sizing:border-box!important;overflow:hidden!important}
.leaflet-bottom.leaflet-left .leaflet-control-layers-list,
.leaflet-bottom.leaflet-left .rm-subcontrol>.leaflet-control-layers-list,
.leaflet-bottom.leaflet-left .leaflet-control-layers.rm-earth-basemaps-control>.leaflet-control-layers-list{background:#f4f1e8!important;background-color:#f4f1e8!important;color:#111!important;padding:15px 12px!important}
.leaflet-bottom.leaflet-left .leaflet-control-layers *,
.leaflet-bottom.leaflet-left .rm-subcontrol *,
.leaflet-bottom.leaflet-left .leaflet-control-layers label,
.leaflet-bottom.leaflet-left .leaflet-control-layers label *,
.leaflet-bottom.leaflet-left .rm-map-row,
.leaflet-bottom.leaflet-left .rm-map-row span{color:#111!important;-webkit-text-fill-color:#111!important;text-shadow:none!important;opacity:1!important}
.leaflet-bottom.leaflet-left svg,
.leaflet-bottom.leaflet-left svg *,
.leaflet-bottom.leaflet-left .rm-countries-mode-icon,
.leaflet-bottom.leaflet-left .rm-countries-mode-icon svg,
.leaflet-bottom.leaflet-left .rm-countries-mode-icon svg *{color:#111!important;stroke:#111!important}
.leaflet-bottom.leaflet-left .leaflet-control-layers input[type="checkbox"],
.leaflet-bottom.leaflet-left .leaflet-control-layers input[type="radio"]{accent-color:#111!important;opacity:1!important}
.leaflet-bottom.leaflet-left .rm-subcontrol.leaflet-control-layers label,
.leaflet-bottom.leaflet-left .rm-subcontrol.leaflet-control-layers label:has(input:checked),
.leaflet-bottom.leaflet-left .rm-subcontrol.leaflet-control-layers .leaflet-control-layers-overlays label,
.leaflet-bottom.leaflet-left .rm-subcontrol.leaflet-control-layers .leaflet-control-layers-overlays label:has(input:checked){background:transparent!important;background-color:transparent!important;color:#111!important}
.leaflet-bottom.leaflet-left .rm-subcontrol.leaflet-control-layers label:hover,
.leaflet-bottom.leaflet-left .rm-subcontrol.leaflet-control-layers .leaflet-control-layers-overlays label:hover,
.leaflet-bottom.leaflet-left .rm-map-row:hover{background:#e8e2d4!important;background-color:#e8e2d4!important;color:#111!important}
.leaflet-bottom.leaflet-left .rm-map-row.is-active,
.leaflet-bottom.leaflet-left .rm-map-row.active,
.leaflet-bottom.leaflet-left label:has(input:checked){background:palegreen!important;background-color:palegreen!important;color:#111!important}
.leaflet-bottom.leaflet-left .rm-moon-mode{background:#f4f1e8!important;background-color:#f4f1e8!important;border:1px solid rgba(0,0,0,.14)!important;border-radius:10px!important;box-shadow:none!important;overflow:hidden!important}
.leaflet-bottom.leaflet-left .rm-moon-mode-btn{width:34px!important;height:28px!important;background:transparent!important;background-color:transparent!important;color:#111!important;border:0!important;box-shadow:none!important;opacity:1!important}
.leaflet-bottom.leaflet-left .rm-moon-mode-btn+.rm-moon-mode-btn{border-left:1px solid rgba(0,0,0,.12)!important}
.leaflet-bottom.leaflet-left .rm-moon-mode-btn:hover{background:#e8e2d4!important;background-color:#e8e2d4!important;color:#111!important}
.leaflet-bottom.leaflet-left .rm-moon-mode-btn.is-active,
.leaflet-bottom.leaflet-left .rm-moon-mode-btn[aria-pressed="true"]{background:palegreen!important;background-color:palegreen!important;color:#111!important}
.leaflet-bottom.leaflet-left .rm-moon-types .rm-sub-ico-img,
.leaflet-bottom.leaflet-left .rm-mars-types .rm-sub-ico-img{width:16px!important;height:16px!important;max-width:16px!important;max-height:16px!important;object-fit:contain!important;vertical-align:middle!important}
.leaflet-bottom.leaflet-left .rm-moon-types .rm-lbl,
.leaflet-bottom.leaflet-left .rm-mars-types .rm-lbl{display:inline-flex!important;align-items:center!important;gap:5px!important}
.leaflet-bottom.leaflet-left .rm-ctl-close,
.leaflet-bottom.leaflet-left .rm-ctl-close *{color:#111!important;-webkit-text-fill-color:#111!important;background:transparent!important;text-shadow:none!important;opacity:1!important}
.leaflet-bottom.leaflet-left .rm-ctl-close{font-size:0!important;text-indent:0!important}
.leaflet-bottom.leaflet-left .rm-ctl-close:before{content:"-"!important;display:flex!important;align-items:center!important;justify-content:center!important;width:100%!important;height:100%!important;font-size:16px!important;font-weight:600!important;line-height:1!important;color:#111!important;-webkit-text-fill-color:#111!important;opacity:.68!important;transform:translateY(-1px)!important}
.leaflet-bottom.leaflet-left .rm-ctl-close:hover:before{opacity:.9!important}
body.rm-ui-right .leaflet-bottom.leaflet-left{left:auto!important;right:0!important;display:flex!important;flex-direction:column!important;align-items:flex-end!important}
body.rm-ui-right .leaflet-bottom.leaflet-left .leaflet-control{margin-left:0!important;margin-right:10px!important}
body.rm-ui-right .leaflet-bottom.leaflet-left .rm-support{align-self:flex-end!important}
body.rm-ui-right .leaflet-bottom.leaflet-left .leaflet-control-scale{align-self:flex-end!important;margin-left:0!important;margin-right:10px!important;margin-bottom:17px!important}
body.rm-ui-right .leaflet-container .leaflet-control-attribution{left:auto!important;right:0!important;text-align:right!important}
@media (max-width:480px){
  .leaflet-top.leaflet-left{padding:8px 4px!important;column-gap:2px!important;row-gap:5px!important}
.leaflet-top.leaflet-left .leaflet-control{margin-left:0!important;margin-right:0!important}
.leaflet-top.leaflet-left .leaflet-control-zoomhome-out,
  body.rm-ui-right .leaflet-top.leaflet-left .leaflet-control-zoomhome-out{margin-right:2px!important}
.leaflet-top.leaflet-left .leaflet-control.rm-share-control,
  .leaflet-top.leaflet-left .easy-button-button.rm-share-active{width:34px!important;min-width:34px!important;max-width:34px!important}
.leaflet-top.leaflet-left .easy-button-button.rm-share-active .button-state{width:34px!important;height:34px!important;padding:0!important;display:flex!important;align-items:center!important;justify-content:center!important;background-image:none!important;background-position:center!important;position:relative!important}
.leaflet-top.leaflet-left .easy-button-button.rm-share-active .button-state:before,
  .leaflet-top.leaflet-left .easy-button-button.rm-share-active .button-state::before{content:""!important;position:absolute!important;left:50%!important;top:50%!important;right:auto!important;margin:0!important;width:18px!important;height:18px!important;transform:translate(-50%,-50%)!important;background:#111!important;-webkit-mask:var(--rm-ui-svg-share) center/18px 18px no-repeat!important;mask:var(--rm-ui-svg-share) center/18px 18px no-repeat!important}
.leaflet-top.leaflet-left .easy-button-button.rm-share-active .button-state:after,
  .leaflet-top.leaflet-left .easy-button-button.rm-share-active .button-state::after{content:""!important;display:none!important}
.leaflet-top.leaflet-left .leaflet-control-layers.leaflet-control-layers-collapsed:not(.rm-support),
  .leaflet-top.leaflet-left .leaflet-control-layers:not(.leaflet-control-layers-expanded):not(.rm-support){width:36px!important;min-width:36px!important;max-width:36px!important;flex:0 0 36px!important;padding:0!important;margin-right:calc(100vw - 48px)!important;align-self:flex-start!important}
.leaflet-top.leaflet-left .leaflet-control-layers.leaflet-control-layers-collapsed:not(.rm-support)>a.leaflet-control-layers-toggle,
  .leaflet-top.leaflet-left .leaflet-control-layers:not(.leaflet-control-layers-expanded):not(.rm-support)>a.leaflet-control-layers-toggle{width:36px!important;min-width:36px!important;max-width:36px!important;height:36px!important;padding:0!important;background-position:center!important;background-size:18px 18px!important}
.leaflet-top.leaflet-left .leaflet-control-layers.leaflet-control-layers-collapsed:not(.rm-support)>a.leaflet-control-layers-toggle:before,
  .leaflet-top.leaflet-left .leaflet-control-layers:not(.leaflet-control-layers-expanded):not(.rm-support)>a.leaflet-control-layers-toggle:before{content:""!important;display:none!important}
.leaflet-top.leaflet-left .leaflet-control-layers.leaflet-control-layers-expanded:not(.rm-support){width:210px!important;min-width:210px!important;max-width:210px!important;flex:0 0 210px!important;margin-right:calc(100vw - 222px)!important;align-self:flex-start!important}
}
/* Keep Moon/Mars globe labels clear of mission and flag icons after marker re-projection. */
.rm-moon-globe-marker .rm-moon-globe-tip,
.rm-mars-globe-marker .rm-mars-globe-tip{bottom:33px!important;z-index:20!important}

/* Earth, Moon and Mars map/globe switch docked beside Share. */
.leaflet-top.leaflet-left .rm-projection-docked{
  order:31!important;
  width:70px!important;
  min-width:70px!important;
  max-width:70px!important;
  height:36px!important;
  display:flex;
  align-items:stretch;
  margin:0!important;
  padding:0!important;
  overflow:hidden;
  border:1px solid rgba(0,0,0,.18);
  border-radius:10px;
  background:#f4f1e9;
  box-shadow:0 1px 3px rgba(0,0,0,.25);
  box-sizing:border-box;
}
.leaflet-top.leaflet-left .rm-projection-docked>.rm-moon-mode{
  display:flex!important;
  width:100%!important;
  height:100%!important;
  margin:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
}
.leaflet-top.leaflet-left .rm-projection-docked .rm-moon-mode-btn{
  width:34px!important;
  min-width:34px!important;
  max-width:34px!important;
  height:34px!important;
  flex:1 1 50%!important;
  border-radius:0!important;
}
body.rm-ui-right .leaflet-top.leaflet-left .rm-projection-docked{order:.5!important}
body.rm-ui-hidden .leaflet-top.leaflet-left .rm-projection-docked{display:none!important}

/* Earth globe: black is the only base; raster choices are intentionally inert. */
.rm-earth-basemaps-control.rm-globe-base-locked{
  filter:grayscale(1)!important;
  opacity:.52!important;
}
.rm-earth-basemaps-control.rm-globe-base-locked .rm-earth-basemap-thumb{
  pointer-events:none!important;
  cursor:default!important;
}
.rm-earth-basemaps-control.rm-globe-base-locked .rm-earth-basemap-thumb:not([data-k="blank"]){
  opacity:.35!important;
  box-shadow:none!important;
}
.rm-earth-basemaps-control.rm-globe-base-locked .rm-earth-basemap-thumb[data-k="blank"]{
  opacity:1!important;
  box-shadow:0 0 0 2px rgba(0,0,0,.55)!important;
}

/* Globe popups own their arrow bar; keep it pinned beside the close button. */
.rm-countries-globe-popup .rm-pop{position:relative!important}
.rm-countries-globe-popup .rm-pop .rm-pop-arrows{
  position:absolute!important;
  top:5px!important;
  right:64px!important;
  left:auto!important;
  margin:0!important;
  transform:none!important;
  z-index:20!important;
}

/* Match Flags/Coats popup artwork sizing between Mercator and globe views. */
.rm-countries-globe-popup .pop-wrap[data-rm-type="flag"] img.rm-pop-flag,
.rm-countries-globe-popup .pop-wrap[data-rm-type="coat"] img.rm-pop-coat{
  height:300px!important;
  max-height:300px!important;
  width:auto!important;
  max-width:calc(100vw - 90px)!important;
  object-fit:contain!important;
  margin:0 auto!important;
}
@media (max-width:420px){
  .rm-countries-globe-popup .pop-wrap[data-rm-type="flag"] img.rm-pop-flag,
  .rm-countries-globe-popup .pop-wrap[data-rm-type="coat"] img.rm-pop-coat{
    height:min(300px,calc(100vh - 160px))!important;
    max-height:min(300px,calc(100vh - 160px))!important;
    max-width:calc(100vw - 48px)!important;
  }
}

/* Home uses the same shell as the other toolbar buttons. */
.leaflet-top.leaflet-left .leaflet-control-zoomhome.leaflet-bar{display:flex!important;flex-direction:row!important;gap:0!important;background:#f4f1e8!important;border:1px solid rgba(0,0,0,.18)!important;box-shadow:0 1px 3px rgba(0,0,0,.25)!important;overflow:hidden!important;border-radius:6px!important;height:36px!important}
.leaflet-top.leaflet-left .leaflet-control-zoomhome.leaflet-bar a{display:inline-flex!important}
.leaflet-top.leaflet-left .leaflet-control-zoomhome-in{order:1!important;border-radius:14px 0 0 14px!important;margin-right:0!important;border-right:0!important}
.leaflet-top.leaflet-left .leaflet-control-zoomhome-out{order:2!important;border-radius:0 14px 14px 0!important;margin-left:0!important;margin-right:8px!important}
.leaflet-top.leaflet-left .leaflet-control-zoomhome-home{order:3!important;border-radius:5px!important;margin:0!important;border:0!important;box-shadow:none!important}
body.rm-ui-right .leaflet-top.leaflet-left .leaflet-control-zoomhome-in{order:1!important}
body.rm-ui-right .leaflet-top.leaflet-left .leaflet-control-zoomhome-out{order:2!important;margin-right:8px!important}
body.rm-ui-right .leaflet-top.leaflet-left .leaflet-control-zoomhome-home{order:3!important;margin-left:0!important;margin-right:0!important}

/* rm-hide-ui-buttons-fix */
body.rm-ui-hidden .leaflet-top.leaflet-left .leaflet-control{display:none!important;opacity:0!important;pointer-events:none!important}
body.rm-ui-hidden .leaflet-top.leaflet-left .leaflet-control:has(.rm-ui-toggle){display:flex!important;opacity:1!important;pointer-events:auto!important}
body.rm-ui-hidden .leaflet-top.leaflet-left .leaflet-control:has(.rm-ui-toggle) .easy-button-button:not(.rm-ui-toggle){display:none!important}

/* Light-skin icon masks. These are structural; the removed dark skin used to provide them. */
.leaflet-top.leaflet-left .leaflet-control-zoom-in,
.leaflet-top.leaflet-left .leaflet-control-zoom-out,
.leaflet-top.leaflet-left .leaflet-control-zoomhome-in,
.leaflet-top.leaflet-left .leaflet-control-zoomhome-out,
.leaflet-top.leaflet-left .leaflet-control-zoomhome-home,
.leaflet-top.leaflet-left .leaflet-control-locate a,
.leaflet-top.leaflet-left .easy-button-button.rm-ui-toggle .button-state,
.leaflet-top.leaflet-left .easy-button-button.rm-ui-sem .button-state,
.leaflet-top.leaflet-left .rm-topcoords .button-state,
.leaflet-top.leaflet-left .rm-topmeasure .button-state{background-image:none!important;position:relative!important}
.leaflet-top.leaflet-left .leaflet-control-zoom-in:before,
.leaflet-top.leaflet-left .leaflet-control-zoom-out:before,
.leaflet-top.leaflet-left .leaflet-control-zoomhome-in:before,
.leaflet-top.leaflet-left .leaflet-control-zoomhome-out:before,
.leaflet-top.leaflet-left .leaflet-control-zoomhome-home:before,
.leaflet-top.leaflet-left .leaflet-control-locate a:before,
.leaflet-top.leaflet-left .easy-button-button.rm-ui-toggle .button-state:before,
.leaflet-top.leaflet-left .easy-button-button.rm-ui-sem .button-state:before,
.leaflet-top.leaflet-left .rm-topcoords .button-state:before,
.leaflet-top.leaflet-left .rm-topmeasure .button-state:before{content:""!important;position:absolute!important;left:50%!important;top:50%!important;width:19px!important;height:19px!important;transform:translate(-50%,-50%)!important;background:#111!important;pointer-events:none!important;-webkit-mask-position:center!important;mask-position:center!important;-webkit-mask-repeat:no-repeat!important;mask-repeat:no-repeat!important;-webkit-mask-size:19px 19px!important;mask-size:19px 19px!important}
.leaflet-top.leaflet-left .leaflet-control-zoom-in:before,.leaflet-top.leaflet-left .leaflet-control-zoomhome-in:before{-webkit-mask-image:var(--rm-ui-svg-zoom-in)!important;mask-image:var(--rm-ui-svg-zoom-in)!important}
.leaflet-top.leaflet-left .leaflet-control-zoom-out:before,.leaflet-top.leaflet-left .leaflet-control-zoomhome-out:before{-webkit-mask-image:var(--rm-ui-svg-zoom-out)!important;mask-image:var(--rm-ui-svg-zoom-out)!important}
.leaflet-top.leaflet-left .leaflet-control-zoomhome-home:before{-webkit-mask-image:var(--rm-ui-svg-home)!important;mask-image:var(--rm-ui-svg-home)!important}
.leaflet-top.leaflet-left .leaflet-control-locate a:before{-webkit-mask-image:var(--rm-ui-svg-locate)!important;mask-image:var(--rm-ui-svg-locate)!important}
.leaflet-top.leaflet-left .easy-button-button.rm-ui-toggle .button-state:before{-webkit-mask-image:var(--rm-ui-svg-menu)!important;mask-image:var(--rm-ui-svg-menu)!important}
.leaflet-top.leaflet-left .easy-button-button.rm-ui-sem .button-state:before{-webkit-mask-image:var(--rm-ui-svg-sem-right)!important;mask-image:var(--rm-ui-svg-sem-right)!important}
body.rm-ui-right .leaflet-top.leaflet-left .easy-button-button.rm-ui-sem .button-state:before{-webkit-mask-image:var(--rm-ui-svg-sem-left)!important;mask-image:var(--rm-ui-svg-sem-left)!important}
.leaflet-top.leaflet-left .rm-topcoords .button-state:before{-webkit-mask-image:var(--rm-ui-svg-makepoint-off)!important;mask-image:var(--rm-ui-svg-makepoint-off)!important}
.leaflet-top.leaflet-left .rm-topcoords.rm-topcoords-on-active .button-state:before{-webkit-mask-image:var(--rm-ui-svg-makepoint-on)!important;mask-image:var(--rm-ui-svg-makepoint-on)!important}
.leaflet-top.leaflet-left .rm-topmeasure .button-state:before{-webkit-mask-image:var(--rm-ui-svg-measure-off)!important;mask-image:var(--rm-ui-svg-measure-off)!important}
.leaflet-top.leaflet-left .rm-topmeasure.rm-topmeasure-on-active .button-state:before{-webkit-mask-image:var(--rm-ui-svg-measure-on)!important;mask-image:var(--rm-ui-svg-measure-on)!important}
.leaflet-top.leaflet-left .rm-topcoords .rm-topicon,.leaflet-top.leaflet-left .rm-topmeasure .rm-topicon{opacity:0!important;background-image:none!important}

/* Maps panel occupies its own row and uses the same shell as both lower panels. */
.rm-maps-control.leaflet-control-layers{position:fixed!important;top:70px!important;left:10px!important;right:auto!important;float:none!important;flex:none!important;width:210px!important;min-width:210px!important;max-width:210px!important;margin:0!important;background:#f4f1e8!important;background-color:#f4f1e8!important;color:#111!important;border:1px solid rgba(0,0,0,.18)!important;border-radius:16px!important;box-shadow:0 10px 24px rgba(0,0,0,.24)!important;box-sizing:border-box!important;overflow:hidden!important;z-index:1000!important}
body.rm-ui-right .rm-maps-control.leaflet-control-layers{left:auto!important;right:10px!important}
.rm-maps-control>.leaflet-control-layers-list{background:#f4f1e8!important;background-color:#f4f1e8!important;color:#111!important;padding:15px 12px!important}

/* Projection switch uses the same rectangular toolbar treatment. */
.leaflet-top.leaflet-left .rm-projection-docked{border-radius:6px!important;background:#f4f1e8!important;background-color:#f4f1e8!important;border:1px solid rgba(0,0,0,.18)!important;box-shadow:0 1px 3px rgba(0,0,0,.25)!important}

@media (max-width:480px){
  .leaflet-top.leaflet-left .leaflet-control-zoomhome.leaflet-bar,
  .leaflet-top.leaflet-left .leaflet-control-zoomhome-home,
  .leaflet-top.leaflet-left .rm-projection-docked,
  .leaflet-top.leaflet-left .rm-projection-docked>.rm-moon-mode,
  .leaflet-top.leaflet-left .rm-projection-docked .rm-moon-mode-btn{border-radius:2px!important}
  .rm-maps-control.leaflet-control-layers{top:0!important;left:4px!important;right:auto!important}
  body.rm-ui-right .rm-maps-control.leaflet-control-layers{left:auto!important;right:4px!important}
  .rm-maps-control.leaflet-control-layers.leaflet-control-layers-collapsed,
  .rm-maps-control.leaflet-control-layers:not(.leaflet-control-layers-expanded){width:36px!important;min-width:36px!important;max-width:36px!important;height:36px!important;padding:0!important;border-radius:2px!important;overflow:hidden!important}
  .rm-maps-control.leaflet-control-layers.leaflet-control-layers-collapsed>a.leaflet-control-layers-toggle,
  .rm-maps-control.leaflet-control-layers:not(.leaflet-control-layers-expanded)>a.leaflet-control-layers-toggle{display:block!important;width:36px!important;min-width:36px!important;max-width:36px!important;height:36px!important;padding:0!important;background-position:center!important;background-size:18px 18px!important}
  .rm-maps-control.leaflet-control-layers.leaflet-control-layers-collapsed>a.leaflet-control-layers-toggle:before,
  .rm-maps-control.leaflet-control-layers:not(.leaflet-control-layers-expanded)>a.leaflet-control-layers-toggle:before{content:""!important;display:none!important}
}

/* Final control sizing: expanded panels are 210px, collapsed panels 120px. */
.leaflet-top.leaflet-left .leaflet-control-zoomhome.leaflet-bar{
  width:36px!important;min-width:36px!important;max-width:36px!important;
  height:36px!important;flex:0 0 36px!important;box-sizing:border-box!important
}
.leaflet-top.leaflet-left .leaflet-control-zoomhome-home{
  width:34px!important;min-width:34px!important;max-width:34px!important;
  height:34px!important;flex:0 0 34px!important;box-sizing:border-box!important
}
.leaflet-bottom.leaflet-left .rm-subcontrol.leaflet-control-layers.leaflet-control-layers-expanded,
.leaflet-bottom.leaflet-left .leaflet-control-layers.rm-earth-basemaps-control.leaflet-control-layers-expanded,
.rm-maps-control.leaflet-control-layers.leaflet-control-layers-expanded{
  width:210px!important;min-width:210px!important;max-width:210px!important
}
.leaflet-bottom.leaflet-left .rm-subcontrol.leaflet-control-layers.leaflet-control-layers-collapsed,
.leaflet-bottom.leaflet-left .rm-subcontrol.leaflet-control-layers:not(.leaflet-control-layers-expanded),
.leaflet-bottom.leaflet-left .leaflet-control-layers.rm-earth-basemaps-control.leaflet-control-layers-collapsed,
.leaflet-bottom.leaflet-left .leaflet-control-layers.rm-earth-basemaps-control:not(.leaflet-control-layers-expanded),
.rm-maps-control.leaflet-control-layers.leaflet-control-layers-collapsed,
.rm-maps-control.leaflet-control-layers:not(.leaflet-control-layers-expanded),
.rm-maps-control.leaflet-control-layers:has(>.leaflet-control-layers-list[style*="display: none"]){
  width:120px!important;min-width:120px!important;max-width:120px!important;height:40px!important;padding:0!important
}
.leaflet-bottom.leaflet-left .rm-subcontrol.leaflet-control-layers.leaflet-control-layers-collapsed>a.leaflet-control-layers-toggle,
.leaflet-bottom.leaflet-left .rm-subcontrol.leaflet-control-layers:not(.leaflet-control-layers-expanded)>a.leaflet-control-layers-toggle,
.leaflet-bottom.leaflet-left .leaflet-control-layers.rm-earth-basemaps-control.leaflet-control-layers-collapsed>a.leaflet-control-layers-toggle,
.leaflet-bottom.leaflet-left .leaflet-control-layers.rm-earth-basemaps-control:not(.leaflet-control-layers-expanded)>a.leaflet-control-layers-toggle,
.rm-maps-control.leaflet-control-layers.leaflet-control-layers-collapsed>a.leaflet-control-layers-toggle,
.rm-maps-control.leaflet-control-layers:not(.leaflet-control-layers-expanded)>a.leaflet-control-layers-toggle,
.rm-maps-control.leaflet-control-layers:has(>.leaflet-control-layers-list[style*="display: none"])>a.leaflet-control-layers-toggle{
  display:flex!important;width:120px!important;min-width:120px!important;max-width:120px!important;height:40px!important;
  padding:0 10px 0 38px!important;align-items:center!important;justify-content:flex-start!important;
  background-position:12px center!important;background-size:18px 18px!important;box-sizing:border-box!important
}

/* Grey three-layer icon shared by expanded and collapsed Maps controls. */
.rm-maps-control>a.leaflet-control-layers-toggle{
  position:relative!important;background-image:none!important
}
.leaflet-top.leaflet-left .rm-maps-control.leaflet-control-layers>a.leaflet-control-layers-toggle:after{
  content:""!important;display:block!important;position:absolute!important;left:12px!important;top:50%!important;
  width:19px!important;height:19px!important;transform:translateY(-50%)!important;background:#666!important;opacity:1!important;
  -webkit-mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27%23000%27%20stroke-width%3D%272.2%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Cpath%20d%3D%27M12%202%2022%207.5%2012%2013%202%207.5%2012%202Z%27%2F%3E%3Cpath%20d%3D%27m2%2012%2010%205.5L22%2012%27%2F%3E%3Cpath%20d%3D%27m2%2016.5%2010%205.5%2010-5.5%27%2F%3E%3C%2Fsvg%3E")!important;
  mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27%23000%27%20stroke-width%3D%272.2%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Cpath%20d%3D%27M12%202%2022%207.5%2012%2013%202%207.5%2012%202Z%27%2F%3E%3Cpath%20d%3D%27m2%2012%2010%205.5L22%2012%27%2F%3E%3Cpath%20d%3D%27m2%2016.5%2010%205.5%2010-5.5%27%2F%3E%3C%2Fsvg%3E")!important;
  -webkit-mask-position:center!important;mask-position:center!important;-webkit-mask-repeat:no-repeat!important;mask-repeat:no-repeat!important;
  -webkit-mask-size:19px 19px!important;mask-size:19px 19px!important;pointer-events:none!important
}

@media (max-width:480px){
  .leaflet-bottom.leaflet-left .rm-subcontrol.leaflet-control-layers.leaflet-control-layers-collapsed,
  .leaflet-bottom.leaflet-left .rm-subcontrol.leaflet-control-layers:not(.leaflet-control-layers-expanded),
  .leaflet-bottom.leaflet-left .leaflet-control-layers.rm-earth-basemaps-control.leaflet-control-layers-collapsed,
  .leaflet-bottom.leaflet-left .leaflet-control-layers.rm-earth-basemaps-control:not(.leaflet-control-layers-expanded),
  .rm-maps-control.leaflet-control-layers.leaflet-control-layers-collapsed,
  .rm-maps-control.leaflet-control-layers:not(.leaflet-control-layers-expanded),
  .rm-maps-control.leaflet-control-layers:has(>.leaflet-control-layers-list[style*="display: none"]){
    width:40px!important;min-width:40px!important;max-width:40px!important;height:40px!important;flex:0 0 40px!important
  }
  .leaflet-bottom.leaflet-left .rm-subcontrol.leaflet-control-layers.leaflet-control-layers-collapsed>a.leaflet-control-layers-toggle,
  .leaflet-bottom.leaflet-left .rm-subcontrol.leaflet-control-layers:not(.leaflet-control-layers-expanded)>a.leaflet-control-layers-toggle,
  .leaflet-bottom.leaflet-left .leaflet-control-layers.rm-earth-basemaps-control.leaflet-control-layers-collapsed>a.leaflet-control-layers-toggle,
  .leaflet-bottom.leaflet-left .leaflet-control-layers.rm-earth-basemaps-control:not(.leaflet-control-layers-expanded)>a.leaflet-control-layers-toggle,
  .rm-maps-control.leaflet-control-layers.leaflet-control-layers-collapsed>a.leaflet-control-layers-toggle,
  .rm-maps-control.leaflet-control-layers:not(.leaflet-control-layers-expanded)>a.leaflet-control-layers-toggle,
  .rm-maps-control.leaflet-control-layers:has(>.leaflet-control-layers-list[style*="display: none"])>a.leaflet-control-layers-toggle{
    width:40px!important;min-width:40px!important;max-width:40px!important;height:40px!important;padding:0!important;
    background-position:center!important
  }
  .leaflet-bottom.leaflet-left .leaflet-control-layers:not(.leaflet-control-layers-expanded)>a.leaflet-control-layers-toggle:before,
  .rm-maps-control.leaflet-control-layers:not(.leaflet-control-layers-expanded)>a.leaflet-control-layers-toggle:before{
    content:""!important;display:none!important
  }
}

/* Maps is compact by default; only a genuinely visible list expands it. */
.rm-maps-control.leaflet-control-layers{
  width:120px!important;min-width:120px!important;max-width:120px!important;height:40px!important
}
.rm-maps-control.leaflet-control-layers>a.leaflet-control-layers-toggle{
  width:120px!important;min-width:120px!important;max-width:120px!important;height:40px!important
}
.rm-maps-control.leaflet-control-layers.leaflet-control-layers-expanded:has(>.leaflet-control-layers-list:not([style*="display: none"])){
  width:210px!important;min-width:210px!important;max-width:210px!important;height:auto!important
}
.rm-maps-control.leaflet-control-layers.leaflet-control-layers-expanded:has(>.leaflet-control-layers-list:not([style*="display: none"]))>a.leaflet-control-layers-toggle{
  width:210px!important;min-width:210px!important;max-width:210px!important
}

/* Wide screens: the collapsed Maps button keeps its 120px box no matter what
   inline styles the layout scripts leave behind. Only the expanded class,
   set by a click or hover on the control itself, may widen it to 210px. */
@media (min-width:481px){
  .leaflet-top.leaflet-left .rm-maps-control.leaflet-control-layers.leaflet-control-layers-collapsed,
  .leaflet-top.leaflet-left .rm-maps-control.leaflet-control-layers:not(.leaflet-control-layers-expanded){
    width:120px!important;min-width:120px!important;max-width:120px!important;
    flex:0 0 120px!important;height:40px!important;
    margin-right:calc(100vw - 230px)!important;align-self:flex-start!important
  }
  .leaflet-top.leaflet-left .rm-maps-control.leaflet-control-layers.leaflet-control-layers-collapsed>a.leaflet-control-layers-toggle,
  .leaflet-top.leaflet-left .rm-maps-control.leaflet-control-layers:not(.leaflet-control-layers-expanded)>a.leaflet-control-layers-toggle{
    width:120px!important;min-width:120px!important;max-width:120px!important;height:40px!important
  }
}

/* Coffee keeps its original size and lives in the bottom-right corner. */
.rm-support,
.leaflet-top.leaflet-left .rm-support,
.leaflet-bottom.leaflet-left .rm-support{
  position:fixed!important;left:auto!important;right:10px!important;bottom:0!important;
  width:161px!important;min-width:161px!important;max-width:161px!important;height:auto!important;
  transform:none!important;overflow:visible!important
}
.rm-support .rm-support-link{width:161px!important;height:auto!important;overflow:visible!important}
.rm-support .rm-support-img{width:161px!important;min-width:161px!important;max-width:161px!important;height:auto!important;transform:none!important}

@media (max-width:480px){
  .rm-maps-control.leaflet-control-layers.leaflet-control-layers-collapsed,
  .rm-maps-control.leaflet-control-layers:not(.leaflet-control-layers-expanded),
  .rm-maps-control.leaflet-control-layers:has(>.leaflet-control-layers-list[style*="display: none"]){
    width:40px!important;min-width:40px!important;max-width:40px!important;height:40px!important;
    border-radius:16px!important;overflow:hidden!important
  }
  .rm-maps-control.leaflet-control-layers.leaflet-control-layers-collapsed>a.leaflet-control-layers-toggle,
  .rm-maps-control.leaflet-control-layers:not(.leaflet-control-layers-expanded)>a.leaflet-control-layers-toggle,
  .rm-maps-control.leaflet-control-layers:has(>.leaflet-control-layers-list[style*="display: none"])>a.leaflet-control-layers-toggle{
    width:40px!important;min-width:40px!important;max-width:40px!important;height:40px!important;padding:0!important;
    border-radius:16px!important;background-position:center!important;background-size:19px 19px!important
  }
  .leaflet-top.leaflet-left .rm-maps-control.leaflet-control-layers.leaflet-control-layers-collapsed>a.leaflet-control-layers-toggle:after,
  .leaflet-top.leaflet-left .rm-maps-control.leaflet-control-layers:not(.leaflet-control-layers-expanded)>a.leaflet-control-layers-toggle:after,
  .leaflet-top.leaflet-left .rm-maps-control.leaflet-control-layers:has(>.leaflet-control-layers-list[style*="display: none"])>a.leaflet-control-layers-toggle:after{
    left:50%!important;transform:translate(-50%,-50%)!important
  }
  .rm-maps-control.leaflet-control-layers>a.leaflet-control-layers-toggle:before{content:""!important;display:none!important}
  .rm-maps-control.leaflet-control-layers.leaflet-control-layers-expanded:has(>.leaflet-control-layers-list:not([style*="display: none"])){
    width:210px!important;min-width:210px!important;max-width:210px!important;height:auto!important
  }
  .rm-maps-control.leaflet-control-layers.leaflet-control-layers-expanded:has(>.leaflet-control-layers-list:not([style*="display: none"]))>a.leaflet-control-layers-toggle{
    width:210px!important;min-width:210px!important;max-width:210px!important
  }
  .rm-support,
  .leaflet-top.leaflet-left .rm-support,
  .leaflet-bottom.leaflet-left .rm-support{left:auto!important;right:4px!important;bottom:0!important;transform:none!important}
}

@media (max-width:700px){
  .leaflet-popup .rm-pop .rm-pop-arrows,
  .rm-countries-globe-popup .rm-pop .rm-pop-arrows{right:38px!important;gap:0!important}
  .leaflet-popup .rm-pop .rm-pop-arrows .rm-pop-arrow,
  .rm-countries-globe-popup .rm-pop .rm-pop-arrows .rm-pop-arrow{
    width:24px!important;min-width:24px!important;flex:0 0 24px!important;font-size:34px!important
  }
}

.leaflet-control.rm-control-behind-popup{visibility:hidden!important}

/* Globe labels/tooltips are display-only; prevent accidental text selection. */
.rm-countries-globe-tooltip,.rm-countries-globe-label,.rm-moon-globe-marker .rm-moon-globe-tip,.rm-mars-globe-marker .rm-mars-globe-tip{user-select:none!important;-webkit-user-select:none!important}
/* Keep every globe popup above its WebGL canvas and allow its controls to receive input. */
.rm-countries-globe-popup,.rm-moon-globe-popup,.rm-mars-globe-popup{z-index:20!important;pointer-events:auto!important}
.rm-countries-globe-popup .rm-pop-arrow,.rm-moon-globe-popup .rm-pop-arrow,.rm-mars-globe-popup .rm-pop-arrow{position:relative!important;z-index:100!important;pointer-events:auto!important;touch-action:manipulation!important}
.rm-countries-globe-popup-close{position:absolute!important;top:6px!important;right:8px!important;left:auto!important;z-index:100!important;pointer-events:auto!important;touch-action:manipulation!important}

/* Moon/Mars globe close buttons keep their original absolute placement.
   Only their stacking/input behavior is raised above the WebGL canvas. */
.rm-moon-globe-popup-close,.rm-mars-globe-popup-close{position:absolute!important;top:6px!important;right:8px!important;left:auto!important;z-index:100!important;pointer-events:auto!important;touch-action:manipulation!important}

/* Leaflet popups used by Moon/Mars globe: keep the close button in the normal Mercator position. */
.leaflet-popup .leaflet-popup-close-button{position:absolute!important;top:6px!important;right:8px!important;left:auto!important;z-index:100!important;pointer-events:auto!important}

/* Final Earth/Countries popup close alignment. Keep this at the end so it wins. */
body.earth .leaflet-popup:not(.rm-coords-popup) .leaflet-popup-close-button,
body.countries .leaflet-popup:not(.rm-coords-popup) .leaflet-popup-close-button{
  top:0!important;
  right:8px!important;
}

/* Final popup close alignment for every map. Keep this at the end so it wins. */
.leaflet-popup:not(.rm-coords-popup) .leaflet-popup-close-button{
  top:0!important;
  right:8px!important;
}
.rm-countries-globe-popup-close,
.rm-moon-globe-popup-close,
.rm-mars-globe-popup-close{
  top:0!important;
  right:8px!important;
}

/* Final projection toggle active state: no green button fill, only green selected icon. */
.leaflet-top.leaflet-left .rm-projection-docked .rm-moon-mode-btn.is-active,
.leaflet-top.leaflet-left .rm-projection-docked .rm-moon-mode-btn[aria-pressed="true"],
.leaflet-top.leaflet-left .rm-moon-projection-mode .rm-moon-mode-btn.is-active,
.leaflet-top.leaflet-left .rm-moon-projection-mode .rm-moon-mode-btn[aria-pressed="true"],
.leaflet-top.leaflet-left .rm-countries-spheres-mode .rm-moon-mode-btn.is-active,
.leaflet-top.leaflet-left .rm-countries-spheres-mode .rm-moon-mode-btn[aria-pressed="true"]{
  background:transparent!important;
  background-color:transparent!important;
  color:green!important;
}
.leaflet-top.leaflet-left .rm-projection-docked .rm-moon-mode-btn.is-active *,
.leaflet-top.leaflet-left .rm-projection-docked .rm-moon-mode-btn[aria-pressed="true"] *,
.leaflet-top.leaflet-left .rm-moon-projection-mode .rm-moon-mode-btn.is-active *,
.leaflet-top.leaflet-left .rm-moon-projection-mode .rm-moon-mode-btn[aria-pressed="true"] *,
.leaflet-top.leaflet-left .rm-countries-spheres-mode .rm-moon-mode-btn.is-active *,
.leaflet-top.leaflet-left .rm-countries-spheres-mode .rm-moon-mode-btn[aria-pressed="true"] *{
  color:green!important;
  -webkit-text-fill-color:green!important;
  stroke:green!important;
}
.leaflet-top.leaflet-left .rm-projection-docked .rm-moon-mode-btn.is-active svg [fill]:not([fill="none"]),
.leaflet-top.leaflet-left .rm-projection-docked .rm-moon-mode-btn[aria-pressed="true"] svg [fill]:not([fill="none"]),
.leaflet-top.leaflet-left .rm-moon-projection-mode .rm-moon-mode-btn.is-active svg [fill]:not([fill="none"]),
.leaflet-top.leaflet-left .rm-moon-projection-mode .rm-moon-mode-btn[aria-pressed="true"] svg [fill]:not([fill="none"]),
.leaflet-top.leaflet-left .rm-countries-spheres-mode .rm-moon-mode-btn.is-active svg [fill]:not([fill="none"]),
.leaflet-top.leaflet-left .rm-countries-spheres-mode .rm-moon-mode-btn[aria-pressed="true"] svg [fill]:not([fill="none"]){
  fill:green!important;
}

/* Final top toolbar icon scale: keep button boxes, make the symbols Mapy.cz-sized. */
.leaflet-top.leaflet-left .leaflet-control-zoom-in:before,
.leaflet-top.leaflet-left .leaflet-control-zoom-out:before,
.leaflet-top.leaflet-left .leaflet-control-zoomhome-in:before,
.leaflet-top.leaflet-left .leaflet-control-zoomhome-out:before,
.leaflet-top.leaflet-left .leaflet-control-zoomhome-home:before,
.leaflet-top.leaflet-left .leaflet-control-locate a:before,
.leaflet-top.leaflet-left .easy-button-button.rm-ui-toggle .button-state:before,
.leaflet-top.leaflet-left .easy-button-button.rm-ui-sem .button-state:before,
.leaflet-top.leaflet-left .rm-topcoords .button-state:before,
.leaflet-top.leaflet-left .rm-topmeasure .button-state:before,
.leaflet-top.leaflet-left .easy-button-button.rm-share-active .button-state:before{
  width:22px!important;
  height:22px!important;
  -webkit-mask-size:22px 22px!important;
  mask-size:22px 22px!important;
}
.leaflet-top.leaflet-left .rm-projection-docked .rm-moon-mode-btn svg,
.leaflet-top.leaflet-left .rm-moon-projection-mode .rm-moon-mode-btn svg,
.leaflet-top.leaflet-left .rm-countries-spheres-mode .rm-moon-mode-btn svg,
.leaflet-top.leaflet-left .rm-projection-docked .rm-countries-mode-icon,
.leaflet-top.leaflet-left .rm-moon-projection-mode .rm-countries-mode-icon,
.leaflet-top.leaflet-left .rm-countries-spheres-mode .rm-countries-mode-icon,
.leaflet-top.leaflet-left .rm-projection-docked .rm-countries-mode-icon svg,
.leaflet-top.leaflet-left .rm-moon-projection-mode .rm-countries-mode-icon svg,
.leaflet-top.leaflet-left .rm-countries-spheres-mode .rm-countries-mode-icon svg{
  width:22px!important;
  height:22px!important;
}

/* Final maps/layers icon scale. */
.rm-maps-control .rm-map-row{
  grid-template-columns:28px 1fr!important;
  min-height:34px!important;
}
.rm-maps-control .rm-map-icon,
.rm-maps-control .rm-map-icon svg{
  width:28px!important;
  height:28px!important;
}
.rm-maps-control .rm-map-icon svg{
  width:26px!important;
  height:26px!important;
  stroke-width:1.9!important;
}
.leaflet-top.leaflet-left .rm-maps-control.leaflet-control-layers>a.leaflet-control-layers-toggle:after{
  width:26px!important;
  height:26px!important;
  -webkit-mask-size:26px 26px!important;
  mask-size:26px 26px!important;
}
.leaflet-top.leaflet-left .leaflet-control-layers:not(.rm-maps-control)>a.leaflet-control-layers-toggle,
.leaflet-bottom.leaflet-left .leaflet-control-layers>a.leaflet-control-layers-toggle{
  background-size:26px 26px!important;
}
.leaflet-top.leaflet-left .leaflet-control-layers-base label svg,
.leaflet-top.leaflet-left .leaflet-control-layers-base label .icon,
.leaflet-top.leaflet-left .rm-subcontrol.leaflet-control-layers label svg,
.leaflet-bottom.leaflet-left .rm-subcontrol.leaflet-control-layers label svg{
  width:26px!important;
  height:26px!important;
}

/* Keep the collapsed Maps button icon aligned with the compact lower controls. */
.leaflet-top.leaflet-left .rm-maps-control.leaflet-control-layers.leaflet-control-layers-collapsed>a.leaflet-control-layers-toggle:after,
.leaflet-top.leaflet-left .rm-maps-control.leaflet-control-layers:not(.leaflet-control-layers-expanded)>a.leaflet-control-layers-toggle:after,
.leaflet-top.leaflet-left .rm-maps-control.leaflet-control-layers:has(>.leaflet-control-layers-list[style*="display: none"])>a.leaflet-control-layers-toggle:after{
  width:18px!important;
  height:18px!important;
  background:#111!important;
  -webkit-mask-size:18px 18px!important;
  mask-size:18px 18px!important;
}

/* Active top-toolbar state: keep the same symbols, only turn them green. */
.leaflet-top.leaflet-left .easy-button-button.rm-share-active .button-state:before,
.leaflet-top.leaflet-left .easy-button-button.rm-share-active .button-state::before,
.easy-button-button.rm-share-active.rm-share-docked .button-state:before,
.easy-button-button.rm-share-active.rm-share-docked .button-state::before{
  width:16.5px!important;
  height:16.5px!important;
  background:#111!important;
  -webkit-mask-size:16.5px 16.5px!important;
  mask-size:16.5px 16.5px!important;
}
body.rm-lightbox-open .leaflet-top.leaflet-left .easy-button-button.rm-share-active .button-state,
body:has(.rm-lightbox.show) .leaflet-top.leaflet-left .easy-button-button.rm-share-active .button-state,
body.rm-lightbox-open .easy-button-button.rm-share-active.rm-share-docked .button-state,
body:has(.rm-lightbox.show) .easy-button-button.rm-share-active.rm-share-docked .button-state,
.easy-button-button.rm-share-active.rm-share-docked .button-state{
  color:green!important;
  -webkit-text-fill-color:green!important;
}
body.rm-lightbox-open .leaflet-top.leaflet-left .easy-button-button.rm-share-active .button-state:before,
body.rm-lightbox-open .leaflet-top.leaflet-left .easy-button-button.rm-share-active .button-state::before,
body:has(.rm-lightbox.show) .leaflet-top.leaflet-left .easy-button-button.rm-share-active .button-state:before,
body:has(.rm-lightbox.show) .leaflet-top.leaflet-left .easy-button-button.rm-share-active .button-state::before,
body.rm-lightbox-open .easy-button-button.rm-share-active.rm-share-docked .button-state:before,
body.rm-lightbox-open .easy-button-button.rm-share-active.rm-share-docked .button-state::before,
body:has(.rm-lightbox.show) .easy-button-button.rm-share-active.rm-share-docked .button-state:before,
body:has(.rm-lightbox.show) .easy-button-button.rm-share-active.rm-share-docked .button-state::before,
.easy-button-button.rm-share-active.rm-share-docked .button-state:before,
.easy-button-button.rm-share-active.rm-share-docked .button-state::before{
  background:green!important;
}
body.rm-lightbox-open .leaflet-top.leaflet-left .easy-button-button.rm-share-active .button-state:after,
body.rm-lightbox-open .leaflet-top.leaflet-left .easy-button-button.rm-share-active .button-state::after,
body:has(.rm-lightbox.show) .leaflet-top.leaflet-left .easy-button-button.rm-share-active .button-state:after,
body:has(.rm-lightbox.show) .leaflet-top.leaflet-left .easy-button-button.rm-share-active .button-state::after,
body.rm-lightbox-open .easy-button-button.rm-share-active.rm-share-docked .button-state:after,
body.rm-lightbox-open .easy-button-button.rm-share-active.rm-share-docked .button-state::after,
body:has(.rm-lightbox.show) .easy-button-button.rm-share-active.rm-share-docked .button-state:after,
body:has(.rm-lightbox.show) .easy-button-button.rm-share-active.rm-share-docked .button-state::after,
.easy-button-button.rm-share-active.rm-share-docked .button-state:after,
.easy-button-button.rm-share-active.rm-share-docked .button-state::after{
  color:green!important;
  -webkit-text-fill-color:green!important;
}
button.easy-button-button.leaflet-bar-part.leaflet-interactive.rm-topcoords.rm-topcoords-on-active,
button.easy-button-button.leaflet-bar-part.leaflet-interactive.rm-topmeasure.rm-topmeasure-on-active{
  background:#f4f1e8!important;
  background-color:#f4f1e8!important;
}
.leaflet-top.leaflet-left .rm-topcoords.rm-topcoords-on-active .button-state:before{
  background:green!important;
  -webkit-mask-image:var(--rm-ui-svg-makepoint-off)!important;
  mask-image:var(--rm-ui-svg-makepoint-off)!important;
}
.leaflet-top.leaflet-left .rm-topmeasure.rm-topmeasure-on-active .button-state:before{
  background:green!important;
  -webkit-mask-image:var(--rm-ui-svg-measure-off)!important;
  mask-image:var(--rm-ui-svg-measure-off)!important;
}
.leaflet-top.leaflet-left .leaflet-control-locate.active a,
.leaflet-top.leaflet-left .leaflet-control-locate.following a,
.leaflet-top.leaflet-left .leaflet-control-locate.requesting a{
  background-image:none!important;
}
.leaflet-top.leaflet-left .leaflet-control-locate.active a:before,
.leaflet-top.leaflet-left .leaflet-control-locate.following a:before,
.leaflet-top.leaflet-left .leaflet-control-locate.requesting a:before{
  background:green!important;
  -webkit-mask-image:var(--rm-ui-svg-locate)!important;
  mask-image:var(--rm-ui-svg-locate)!important;
}

@keyframes rm-locate-loading-green{
  0%{background:#111}
  100%{background:green}
}
.leaflet-top.leaflet-left .leaflet-control-locate a:before{
  transition:background-color .35s ease,background .35s ease!important;
}
.leaflet-top.leaflet-left .leaflet-control-locate.requesting a:before{
  animation:rm-locate-loading-green 1.15s ease-in-out infinite alternate!important;
}
.leaflet-top.leaflet-left .leaflet-control-locate.active a:before,
.leaflet-top.leaflet-left .leaflet-control-locate.following a:before{
  animation:none!important;
  background:green!important;
}

body.rm-share-dialog-open .leaflet-top.leaflet-left .easy-button-button.rm-share-active .button-state,
body.rm-share-dialog-open .easy-button-button.rm-share-active.rm-share-docked .button-state{
  color:green!important;
  -webkit-text-fill-color:green!important;
  font-weight:700!important;
}
body.rm-share-dialog-open .leaflet-top.leaflet-left .easy-button-button.rm-share-active .button-state:before,
body.rm-share-dialog-open .leaflet-top.leaflet-left .easy-button-button.rm-share-active .button-state::before,
body.rm-share-dialog-open .easy-button-button.rm-share-active.rm-share-docked .button-state:before,
body.rm-share-dialog-open .easy-button-button.rm-share-active.rm-share-docked .button-state::before{
  background:green!important;
}
body.rm-share-dialog-open .leaflet-top.leaflet-left .easy-button-button.rm-share-active .button-state:after,
body.rm-share-dialog-open .leaflet-top.leaflet-left .easy-button-button.rm-share-active .button-state::after,
body.rm-share-dialog-open .easy-button-button.rm-share-active.rm-share-docked .button-state:after,
body.rm-share-dialog-open .easy-button-button.rm-share-active.rm-share-docked .button-state::after{
  color:green!important;
  -webkit-text-fill-color:green!important;
  font-weight:700!important;
}

body.rm-lightbox-open:not(.rm-share-dialog-open) .leaflet-top.leaflet-left .easy-button-button.rm-share-active .button-state,
body.rm-lightbox-open:not(.rm-share-dialog-open) .easy-button-button.rm-share-active.rm-share-docked .button-state,
body:has(.rm-lightbox.show):not(.rm-share-dialog-open) .leaflet-top.leaflet-left .easy-button-button.rm-share-active .button-state,
body:has(.rm-lightbox.show):not(.rm-share-dialog-open) .easy-button-button.rm-share-active.rm-share-docked .button-state{
  color:#111!important;
  -webkit-text-fill-color:#111!important;
  font-weight:400!important;
}
body.rm-lightbox-open:not(.rm-share-dialog-open) .leaflet-top.leaflet-left .easy-button-button.rm-share-active .button-state:before,
body.rm-lightbox-open:not(.rm-share-dialog-open) .leaflet-top.leaflet-left .easy-button-button.rm-share-active .button-state::before,
body.rm-lightbox-open:not(.rm-share-dialog-open) .easy-button-button.rm-share-active.rm-share-docked .button-state:before,
body.rm-lightbox-open:not(.rm-share-dialog-open) .easy-button-button.rm-share-active.rm-share-docked .button-state::before,
body:has(.rm-lightbox.show):not(.rm-share-dialog-open) .leaflet-top.leaflet-left .easy-button-button.rm-share-active .button-state:before,
body:has(.rm-lightbox.show):not(.rm-share-dialog-open) .leaflet-top.leaflet-left .easy-button-button.rm-share-active .button-state::before,
body:has(.rm-lightbox.show):not(.rm-share-dialog-open) .easy-button-button.rm-share-active.rm-share-docked .button-state:before,
body:has(.rm-lightbox.show):not(.rm-share-dialog-open) .easy-button-button.rm-share-active.rm-share-docked .button-state::before{
  background:#111!important;
}
body.rm-lightbox-open:not(.rm-share-dialog-open) .leaflet-top.leaflet-left .easy-button-button.rm-share-active .button-state:after,
body.rm-lightbox-open:not(.rm-share-dialog-open) .leaflet-top.leaflet-left .easy-button-button.rm-share-active .button-state::after,
body.rm-lightbox-open:not(.rm-share-dialog-open) .easy-button-button.rm-share-active.rm-share-docked .button-state:after,
body.rm-lightbox-open:not(.rm-share-dialog-open) .easy-button-button.rm-share-active.rm-share-docked .button-state::after,
body:has(.rm-lightbox.show):not(.rm-share-dialog-open) .leaflet-top.leaflet-left .easy-button-button.rm-share-active .button-state:after,
body:has(.rm-lightbox.show):not(.rm-share-dialog-open) .leaflet-top.leaflet-left .easy-button-button.rm-share-active .button-state::after,
body:has(.rm-lightbox.show):not(.rm-share-dialog-open) .easy-button-button.rm-share-active.rm-share-docked .button-state:after,
body:has(.rm-lightbox.show):not(.rm-share-dialog-open) .easy-button-button.rm-share-active.rm-share-docked .button-state::after{
  color:#111!important;
  -webkit-text-fill-color:#111!important;
  font-weight:400!important;
}

/* Bottom custom layer panels: keep labels readable with toggles on the right. */
.leaflet-bottom.leaflet-left .rm-subcontrol.leaflet-control-layers label{
  display:flex!important;
  align-items:center!important;
  gap:6px!important;
  width:100%!important;
}
.leaflet-bottom.leaflet-left .rm-subcontrol.leaflet-control-layers label input[type="checkbox"],
.leaflet-bottom.leaflet-left .rm-subcontrol.leaflet-control-layers label input[type="radio"]{
  order:99!important;
  flex:0 0 auto!important;
  margin-left:auto!important;
  margin-right:0!important;
}
.leaflet-bottom.leaflet-left .rm-subcontrol.leaflet-control-layers .rm-moon-toprow{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:8px!important;
}
.leaflet-bottom.leaflet-left .rm-subcontrol.leaflet-control-layers .rm-moon-toprow input[type="checkbox"]{
  order:99!important;
  flex:0 0 auto!important;
  margin-left:auto!important;
  margin-right:0!important;
}
.leaflet-bottom.leaflet-left .rm-subcontrol.leaflet-control-layers .rm-moon-toprow .rm-moon-mode{
  margin-left:0!important;
  margin-right:0!important;
}
/* Moon/Mars lower panels: keep the master checkbox above the checkbox column. */
.leaflet-bottom.leaflet-left .rm-subcontrol.leaflet-control-layers .rm-moon-toprow{
  justify-content:flex-start!important;
}
.leaflet-bottom.leaflet-left .rm-subcontrol.leaflet-control-layers .rm-moon-toprow input[type="checkbox"]{
  order:0!important;
  margin-left:14px!important;
  margin-right:10px!important;
}
.leaflet-bottom.leaflet-left .rm-subcontrol.leaflet-control-layers .rm-moon-toprow .rm-moon-mode{
  order:1!important;
  margin-left:0!important;
  margin-right:0!important;
}
/* Moon/Mars lower panels: icon-mode switch left, all checkboxes in one right column. */
.leaflet-bottom.leaflet-left .rm-subcontrol.leaflet-control-layers .rm-moon-toprow{
  justify-content:flex-start!important;
}
.leaflet-bottom.leaflet-left .rm-subcontrol.leaflet-control-layers .rm-moon-toprow .rm-moon-mode{
  order:0!important;
  margin-left:0!important;
  margin-right:0!important;
}
.leaflet-bottom.leaflet-left .rm-subcontrol.leaflet-control-layers .rm-moon-toprow input[type="checkbox"]{
  order:99!important;
  flex:0 0 auto!important;
  margin-left:auto!important;
  margin-right:0!important;
}
/* Moon/Mars lower panels: move the whole master checkbox label to the right column. */
.leaflet-bottom.leaflet-left .rm-subcontrol.leaflet-control-layers .rm-moon-toprow{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  width:100%!important;
}
.leaflet-bottom.leaflet-left .rm-subcontrol.leaflet-control-layers .rm-moon-toprow .rm-moon-mode{
  order:0!important;
  flex:0 0 auto!important;
  margin-left:0!important;
  margin-right:0!important;
}
.leaflet-bottom.leaflet-left .rm-subcontrol.leaflet-control-layers .rm-moon-toprow label{
  order:99!important;
  display:flex!important;
  width:auto!important;
  min-width:0!important;
  flex:0 0 auto!important;
  margin-left:auto!important;
  margin-right:0!important;
  padding:0!important;
}
.leaflet-bottom.leaflet-left .rm-subcontrol.leaflet-control-layers .rm-moon-toprow label input[type="checkbox"]{
  order:0!important;
  margin-left:0!important;
  margin-right:0!important;
}
/* Moon/Mars lower panels: pixel-align the master checkbox with the item checkboxes. */
.leaflet-bottom.leaflet-left .rm-subcontrol.leaflet-control-layers .rm-moon-toprow label{
  margin-right:4px!important;
}
/* Moon/Mars lower panels: restore readable left-side mission icons and country flags. */
.leaflet-top.leaflet-left .rm-moon-types .rm-sub-ico-img,
.leaflet-top.leaflet-left .rm-mars-types .rm-sub-ico-img,
.leaflet-bottom.leaflet-left .rm-moon-types .rm-sub-ico-img,
.leaflet-bottom.leaflet-left .rm-mars-types .rm-sub-ico-img{
  width:30px!important;
  height:auto!important;
  max-width:30px!important;
  max-height:30px!important;
  object-fit:contain!important;
  vertical-align:middle!important;
  flex:0 0 auto!important;
}
.leaflet-top.leaflet-left .rm-moon-types .rm-lbl,
.leaflet-top.leaflet-left .rm-mars-types .rm-lbl,
.leaflet-bottom.leaflet-left .rm-moon-types .rm-lbl,
.leaflet-bottom.leaflet-left .rm-mars-types .rm-lbl{
  gap:7px!important;
}
/* Moon/Mars lower panels: tune left-side mission icons and country flags down by about a quarter. */
.leaflet-top.leaflet-left .rm-moon-types .rm-sub-ico-img,
.leaflet-top.leaflet-left .rm-mars-types .rm-sub-ico-img,
.leaflet-bottom.leaflet-left .rm-moon-types .rm-sub-ico-img,
.leaflet-bottom.leaflet-left .rm-mars-types .rm-sub-ico-img{
  width:23px!important;
  height:auto!important;
  max-width:23px!important;
  max-height:23px!important;
}
/* Earth/Moon/Mars lower panels: green checked controls only, no layout changes. */
.leaflet-bottom.leaflet-left .rm-subcontrol.leaflet-control-layers input[type="checkbox"],
.leaflet-bottom.leaflet-left .rm-subcontrol.leaflet-control-layers input[type="radio"],
.leaflet-bottom.leaflet-left .rm-countries-overlay-control input[type="checkbox"],
.leaflet-bottom.leaflet-left .rm-earth-type-control input[type="checkbox"]{
  accent-color:palegreen!important;
}
/* Earth/Moon/Mars lower panels: keep green native controls visually as large as the old black ones. */
.leaflet-bottom.leaflet-left .rm-subcontrol.leaflet-control-layers input[type="checkbox"],
.leaflet-bottom.leaflet-left .rm-subcontrol.leaflet-control-layers input[type="radio"],
.leaflet-bottom.leaflet-left .rm-countries-overlay-control input[type="checkbox"],
.leaflet-bottom.leaflet-left .rm-earth-type-control input[type="checkbox"]{
  transform:scale(1.15)!important;
  transform-origin:center center!important;
}
/* Moon/Mars lower panels: add breathing room between controls. */
.leaflet-bottom.leaflet-left .rm-subcontrol.leaflet-control-layers:has(.rm-moon-types) .leaflet-control-layers-list,
.leaflet-bottom.leaflet-left .rm-subcontrol.leaflet-control-layers:has(.rm-mars-types) .leaflet-control-layers-list{
  padding-top:24px!important;
  padding-bottom:20px!important;
}
.leaflet-bottom.leaflet-left .rm-subcontrol.leaflet-control-layers:has(.rm-moon-types) .rm-moon-toprow,
.leaflet-bottom.leaflet-left .rm-subcontrol.leaflet-control-layers:has(.rm-mars-types) .rm-moon-toprow{
  margin-bottom:13px!important;
}
.leaflet-bottom.leaflet-left .rm-subcontrol.leaflet-control-layers .rm-moon-types label,
.leaflet-bottom.leaflet-left .rm-subcontrol.leaflet-control-layers .rm-mars-types label{
  min-height:29px!important;
  margin-top:2px!important;
  margin-bottom:2px!important;
}
.leaflet-bottom.leaflet-left .rm-subcontrol.leaflet-control-layers .rm-moon-types .rm-lbl,
.leaflet-bottom.leaflet-left .rm-subcontrol.leaflet-control-layers .rm-mars-types .rm-lbl{
  gap:9px!important;
}
.leaflet-bottom.leaflet-left .rm-subcontrol.leaflet-control-layers:has(.rm-moon-types) .rm-moon-timeline,
.leaflet-bottom.leaflet-left .rm-subcontrol.leaflet-control-layers:has(.rm-mars-types) .rm-moon-timeline{
  margin-top:12px!important;
  margin-bottom:10px!important;
}
.leaflet-bottom.leaflet-left .rm-subcontrol.leaflet-control-layers:has(.rm-moon-types) .rm-moon-anim-wrap,
.leaflet-bottom.leaflet-left .rm-subcontrol.leaflet-control-layers:has(.rm-mars-types) .rm-moon-anim-wrap{
  margin-top:10px!important;
}
.rm-anim-active .rm-moon-globe-tip,.rm-anim-active.rm-moon-globe-tip,.rm-anim-active .rm-mars-globe-tip,.rm-anim-active.rm-mars-globe-tip{background:#000 !important;color:#fff !important;border-color:#000 !important}
.rm-mw-local-dot{display:block;width:10px;height:10px;border-radius:50%;background:#fff}
.rm-mw-local{background:none!important;border:none!important}
body.z0 .rm-milkyway-tip.rm-mw-lz5,body.z1 .rm-milkyway-tip.rm-mw-lz5,body.z2 .rm-milkyway-tip.rm-mw-lz5,body.z3 .rm-milkyway-tip.rm-mw-lz5,body.z4 .rm-milkyway-tip.rm-mw-lz5{display:none!important}
body.z0 .rm-milkyway-tip.rm-mw-lz6,body.z1 .rm-milkyway-tip.rm-mw-lz6,body.z2 .rm-milkyway-tip.rm-mw-lz6,body.z3 .rm-milkyway-tip.rm-mw-lz6{display:none!important}
body.z0 .rm-milkyway-tip.rm-mw-lz7,body.z1 .rm-milkyway-tip.rm-mw-lz7,body.z2 .rm-milkyway-tip.rm-mw-lz7,body.z3 .rm-milkyway-tip.rm-mw-lz7,body.z4 .rm-milkyway-tip.rm-mw-lz7,body.z5 .rm-milkyway-tip.rm-mw-lz7,body.z6 .rm-milkyway-tip.rm-mw-lz7{display:none!important}
body.z0 .rm-mw-lz5 .rm-mw-local-dot,body.z1 .rm-mw-lz5 .rm-mw-local-dot,body.z2 .rm-mw-lz5 .rm-mw-local-dot,body.z3 .rm-mw-lz5 .rm-mw-local-dot,body.z4 .rm-mw-lz5 .rm-mw-local-dot,body.z0 .rm-mw-lz6 .rm-mw-local-dot,body.z1 .rm-mw-lz6 .rm-mw-local-dot,body.z2 .rm-mw-lz6 .rm-mw-local-dot,body.z3 .rm-mw-lz6 .rm-mw-local-dot,body.z0 .rm-mw-lz7 .rm-mw-local-dot,body.z1 .rm-mw-lz7 .rm-mw-local-dot,body.z2 .rm-mw-lz7 .rm-mw-local-dot,body.z3 .rm-mw-lz7 .rm-mw-local-dot,body.z4 .rm-mw-lz7 .rm-mw-local-dot,body.z5 .rm-mw-lz7 .rm-mw-local-dot,body.z6 .rm-mw-lz7 .rm-mw-local-dot{transform:scale(.5)}
.rm-stars3d-layer{position:absolute;inset:0;z-index:430;background:#000;overflow:hidden;pointer-events:auto}
.rm-stars3d-layer canvas{display:block;width:100%;height:100%}
.rm-stars3d-markers{position:absolute;inset:0;z-index:2;pointer-events:none}
.rm-stars3d-marker{position:absolute;left:0;top:0;width:18px;height:18px;border:0;background:transparent;padding:0;margin:0;cursor:pointer;pointer-events:auto;transform:translate(-9999px,-9999px);overflow:visible}
.rm-stars3d-marker .rm-stars3d-tip{position:absolute;left:50%;bottom:calc(100% - 4px);transform:translateX(-50%);background:transparent;color:#cfd8ea;font:10.5px/1.05 Arial,sans-serif;text-align:center;border:0;padding:0;white-space:nowrap;pointer-events:none;text-shadow:0 0 4px #000,0 0 8px #000}
.rm-laniakea3d-marker .rm-stars3d-tip{pointer-events:auto;cursor:pointer}
.rm-stars3d-marker .rm-stars3d-tip-sun{color:#ffd54a;font-weight:700;font-size:11.5px}
.rm-stars3d-ringlab{position:absolute;left:0;top:0;transform:translate(-9999px,-9999px);color:#8b98b6;font:11px/1 Arial,sans-serif;pointer-events:none;z-index:1;text-shadow:0 0 4px #000}
.rm-stars3d-pill-home{display:none}
.rm-stars3d-mlab{position:absolute;left:0;top:0;transform:translate(-9999px,-9999px);color:#ffd54a;font:bold 11px/1 Arial,sans-serif;text-shadow:0 0 4px #000,0 0 8px #000;pointer-events:none;z-index:4;white-space:nowrap}
.rm-stars3d-point{position:absolute;left:0;top:0;transform:translate(-9999px,-9999px);pointer-events:none;z-index:4}
.rm-stars3d-locate{position:absolute;left:0;top:0;width:16px;height:16px;border-radius:50%;background:#2A93EE;border:3px solid #fff;box-sizing:content-box;box-shadow:0 0 8px rgba(0,0,0,.6);transform:translate(-9999px,-9999px);pointer-events:none;z-index:4}
.rm-stars3d-point-dot{position:absolute;left:-4px;top:-4px;width:8px;height:8px;border-radius:50%;background:#ffd54a;box-shadow:0 0 6px #000}
.rm-stars3d-point-lab{position:absolute;left:8px;top:-6px;color:#ffd54a;font:bold 11px/1 Arial,sans-serif;text-shadow:0 0 4px #000,0 0 8px #000;white-space:nowrap}
body.rm-toptool-active .rm-stars3d-layer{cursor:crosshair}
.rm-stars3d-coords.rm-countries-globe-popup{width:320px;background:#e6e6e6;border-radius:16px;box-shadow:0 10px 28px rgba(0,0,0,.25)}
.rm-stars3d-coords.rm-countries-globe-popup:after{background:#e6e6e6;box-shadow:3px 3px 8px rgba(0,0,0,.15)}
.rm-stars3d-coords>div:last-child{padding:18px 20px 16px 20px;font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;box-sizing:border-box}
.rm-stars3d-coords .rm-countries-globe-popup-close{top:10px;right:12px;width:34px;height:34px;line-height:32px;font-size:22px;color:rgba(0,0,0,.45)}
.rm-stars3d-coords .rm-countries-globe-popup-close:hover{background:rgba(0,0,0,.06);color:rgba(0,0,0,.65);border-radius:10px}

@media (min-width:1001px){
  :root{--rm-popup-panel-right:10px;--rm-popup-panel-top:52px;--rm-popup-panel-width:400px}
  .leaflet-popup:not(.rm-coords-popup):not(.rm-countries-globe-coords-popup):not(.rm-moon-globe-coords-popup):not(.rm-mars-globe-coords-popup){pointer-events:none!important;overflow:visible!important}
  .leaflet-popup:not(.rm-coords-popup):not(.rm-countries-globe-coords-popup):not(.rm-moon-globe-coords-popup):not(.rm-mars-globe-coords-popup) .leaflet-popup-content-wrapper{width:var(--rm-popup-panel-width)!important;max-width:var(--rm-popup-panel-width)!important;height:auto!important;max-height:none!important;overflow:visible!important;pointer-events:auto!important;box-sizing:border-box!important;border-radius:8px!important;box-shadow:0 10px 28px rgba(0,0,0,.35)!important;transform:translate(var(--rm-popup-panel-dx,0px),var(--rm-popup-panel-dy,0px))!important}
  .leaflet-popup:not(.rm-coords-popup):not(.rm-countries-globe-coords-popup):not(.rm-moon-globe-coords-popup):not(.rm-mars-globe-coords-popup) .leaflet-popup-content{width:100%!important;max-width:100%!important;height:auto!important;max-height:none!important;box-sizing:border-box!important;overflow:visible!important}
  .leaflet-popup:not(.rm-coords-popup):not(.rm-countries-globe-coords-popup):not(.rm-moon-globe-coords-popup):not(.rm-mars-globe-coords-popup) .leaflet-popup-scrolled{height:auto!important;max-height:none!important;overflow:visible!important;border:0!important}
  .leaflet-popup:not(.rm-coords-popup):not(.rm-countries-globe-coords-popup):not(.rm-moon-globe-coords-popup):not(.rm-mars-globe-coords-popup) .leaflet-popup-close-button{transform:translate(var(--rm-popup-close-dx,var(--rm-popup-panel-dx,0px)),var(--rm-popup-close-dy,var(--rm-popup-panel-dy,0px)))!important;pointer-events:auto!important;z-index:120!important;background:transparent!important}
  .leaflet-popup:not(.rm-coords-popup):not(.rm-countries-globe-coords-popup):not(.rm-moon-globe-coords-popup):not(.rm-mars-globe-coords-popup) .leaflet-popup-tip-container{pointer-events:none!important}
  .rm-countries-globe-popup:not(.rm-countries-globe-coords-popup):not(.rm-stars3d-coords):not(.rm-moon-globe-coords-popup):not(.rm-mars-globe-coords-popup){background:transparent!important;box-shadow:none!important;border-radius:0!important;pointer-events:none!important;overflow:visible!important}
  .rm-countries-globe-popup:not(.rm-countries-globe-coords-popup):not(.rm-stars3d-coords):not(.rm-moon-globe-coords-popup):not(.rm-mars-globe-coords-popup) > div:not(.rm-countries-globe-popup-close){width:var(--rm-popup-panel-width)!important;max-width:var(--rm-popup-panel-width)!important;height:auto!important;max-height:none!important;overflow:visible!important;background:#fff!important;color:#222!important;border-radius:8px!important;box-shadow:0 10px 28px rgba(0,0,0,.35)!important;pointer-events:auto!important;box-sizing:border-box!important;transform:translate(var(--rm-popup-panel-dx,0px),var(--rm-popup-panel-dy,0px))!important}
  .rm-countries-globe-popup:not(.rm-countries-globe-coords-popup):not(.rm-stars3d-coords):not(.rm-moon-globe-coords-popup):not(.rm-mars-globe-coords-popup) .rm-countries-globe-popup-close{transform:translate(var(--rm-popup-close-dx,var(--rm-popup-panel-dx,0px)),var(--rm-popup-close-dy,var(--rm-popup-panel-dy,0px)))!important;pointer-events:auto!important;z-index:120!important;background:transparent!important}
  .leaflet-popup:not(.rm-coords-popup) .rm-pop,.rm-countries-globe-popup:not(.rm-countries-globe-coords-popup) .rm-pop{width:100%!important;height:auto!important;max-height:none!important;box-sizing:border-box!important;padding:16px!important;padding-top:42px!important;overflow:visible!important}
  .leaflet-popup:not(.rm-coords-popup) .rm-pop-head,.rm-countries-globe-popup:not(.rm-countries-globe-coords-popup) .rm-pop-head{margin:0 0 12px!important;padding-right:92px!important}
  .leaflet-popup:not(.rm-coords-popup) .rm-pop-head .pop-title,.rm-countries-globe-popup:not(.rm-countries-globe-coords-popup) .rm-pop-head .pop-title{font-size:18px!important;line-height:1.2!important;margin:0!important}
  .leaflet-popup:not(.rm-coords-popup) .rm-pop .rm-pop-arrows,.rm-countries-globe-popup:not(.rm-countries-globe-coords-popup) .rm-pop .rm-pop-arrows{top:8px!important;right:48px!important;gap:6px!important;z-index:90!important}
  .leaflet-popup:not(.rm-coords-popup) .rm-pop-main,.rm-countries-globe-popup:not(.rm-countries-globe-coords-popup) .rm-pop-main{display:flex!important;flex-direction:column!important;align-items:stretch!important;justify-content:flex-start!important;gap:12px!important;min-height:0!important;height:auto!important;max-height:none!important;width:100%!important;overflow:visible!important}
  .leaflet-popup:not(.rm-coords-popup) .rm-pop-col,.rm-countries-globe-popup:not(.rm-countries-globe-coords-popup) .rm-pop-col{width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important}
  .leaflet-popup:not(.rm-coords-popup) .rm-pop-col-text,.rm-countries-globe-popup:not(.rm-countries-globe-coords-popup) .rm-pop-col-text{order:1!important;display:flex!important;flex-direction:column!important;justify-content:flex-start!important;gap:6px!important}
  .leaflet-popup:not(.rm-coords-popup) .rm-pop-col-media,.rm-countries-globe-popup:not(.rm-countries-globe-coords-popup) .rm-pop-col-media{order:2!important;flex:none!important;width:100%!important;max-width:100%!important;margin:0!important;align-items:stretch!important;gap:10px!important}
  .leaflet-popup:not(.rm-coords-popup) .rm-pop-ident,.rm-countries-globe-popup:not(.rm-countries-globe-coords-popup) .rm-pop-ident{display:flex!important;flex-wrap:wrap!important;gap:10px!important;align-items:center!important;margin:0 0 8px!important}
  .leaflet-popup:not(.rm-coords-popup) .pop-row,.rm-countries-globe-popup:not(.rm-countries-globe-coords-popup) .pop-row{font-size:14px!important;line-height:1.35!important;margin:4px 0!important;padding:0!important}
  .leaflet-popup:not(.rm-coords-popup) .pop-link,.rm-countries-globe-popup:not(.rm-countries-globe-coords-popup) .pop-link{min-width:0!important;overflow-wrap:anywhere!important;word-break:break-word!important}
  .leaflet-popup:not(.rm-coords-popup) img.rm-pop-photo,.leaflet-popup:not(.rm-coords-popup) img.rm-pop-img,.rm-countries-globe-popup:not(.rm-countries-globe-coords-popup) img.rm-pop-photo,.rm-countries-globe-popup:not(.rm-countries-globe-coords-popup) img.rm-pop-img{width:100%!important;height:auto!important;max-height:none!important;aspect-ratio:auto!important;object-fit:contain!important;border-radius:8px!important}
  .leaflet-popup:not(.rm-coords-popup) img.rm-pop-flag,.leaflet-popup:not(.rm-coords-popup) img.rm-pop-coat,.rm-countries-globe-popup:not(.rm-countries-globe-coords-popup) img.rm-pop-flag,.rm-countries-globe-popup:not(.rm-countries-globe-coords-popup) img.rm-pop-coat{max-width:100%!important;height:auto!important;max-height:none!important;object-fit:contain!important;margin:0!important}

  .leaflet-popup:not(.rm-coords-popup):not(.rm-countries-globe-coords-popup):not(.rm-moon-globe-coords-popup):not(.rm-mars-globe-coords-popup) .leaflet-popup-tip{background:rgb(106,27,154)!important;transform:rotate(45deg) scale(1.5)!important;transform-origin:center center!important;box-shadow:none!important}
  .rm-countries-globe-popup:not(.rm-countries-globe-coords-popup):not(.rm-stars3d-coords):not(.rm-moon-globe-coords-popup):not(.rm-mars-globe-coords-popup):after{background:rgb(106,27,154)!important;transform:translateX(-50%) rotate(45deg) scale(1.5)!important;transform-origin:center center!important;box-shadow:none!important}

}

@media (max-height:480px){
  .leaflet-bottom.leaflet-left{
    gap:6px!important;
    padding:0 0 8px 8px!important;
  }
  .leaflet-bottom.leaflet-left .rm-subcontrol.leaflet-control-layers,
  .leaflet-bottom.leaflet-left .leaflet-control-layers.rm-earth-basemaps-control{
    width:40px!important;
    min-width:40px!important;
    max-width:40px!important;
    height:40px!important;
    min-height:40px!important;
    max-height:40px!important;
    padding:0!important;
    overflow:hidden!important;
    border-radius:16px!important;
  }
  .leaflet-bottom.leaflet-left .rm-subcontrol.leaflet-control-layers>.leaflet-control-layers-list,
  .leaflet-bottom.leaflet-left .leaflet-control-layers.rm-earth-basemaps-control>.leaflet-control-layers-list{
    display:none!important;
  }
  .leaflet-bottom.leaflet-left .rm-subcontrol.leaflet-control-layers>a.leaflet-control-layers-toggle,
  .leaflet-bottom.leaflet-left .leaflet-control-layers.rm-earth-basemaps-control>a.leaflet-control-layers-toggle{
    display:block!important;
    width:40px!important;
    min-width:40px!important;
    max-width:40px!important;
    height:40px!important;
    min-height:40px!important;
    max-height:40px!important;
    padding:0!important;
    background-position:center!important;
    background-size:19px 19px!important;
  }
  .leaflet-bottom.leaflet-left .rm-subcontrol.leaflet-control-layers>a.leaflet-control-layers-toggle:before,
  .leaflet-bottom.leaflet-left .leaflet-control-layers.rm-earth-basemaps-control>a.leaflet-control-layers-toggle:before{
    content:""!important;
    display:none!important;
  }
}

/* Country detail popup: keep flag and coat side by side at matching height. */
.leaflet-popup:not(.rm-coords-popup) .rm-pop-ident,
.rm-countries-globe-popup:not(.rm-countries-globe-coords-popup) .rm-pop-ident{
  display:flex!important;
  flex-direction:row!important;
  flex-wrap:nowrap!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:12px!important;
}
.leaflet-popup:not(.rm-coords-popup) .rm-pop-ident img.rm-pop-flag,
.leaflet-popup:not(.rm-coords-popup) .rm-pop-ident img.rm-pop-coat,
.rm-countries-globe-popup:not(.rm-countries-globe-coords-popup) .rm-pop-ident img.rm-pop-flag,
.rm-countries-globe-popup:not(.rm-countries-globe-coords-popup) .rm-pop-ident img.rm-pop-coat{
  height:56px!important;
  max-height:56px!important;
  width:auto!important;
  max-width:calc(50% - 6px)!important;
  object-fit:contain!important;
  margin:0!important;
  align-self:center!important;
  flex:0 1 auto!important;
}

/* Country detail popup: split flag/coat row into two equal halves. */
.leaflet-popup:not(.rm-coords-popup) .rm-pop-ident,
.rm-countries-globe-popup:not(.rm-countries-globe-coords-popup) .rm-pop-ident{
  width:100%!important;
  gap:0!important;
}
.leaflet-popup:not(.rm-coords-popup) .rm-pop-ident img.rm-pop-flag,
.leaflet-popup:not(.rm-coords-popup) .rm-pop-ident img.rm-pop-coat,
.rm-countries-globe-popup:not(.rm-countries-globe-coords-popup) .rm-pop-ident img.rm-pop-flag,
.rm-countries-globe-popup:not(.rm-countries-globe-coords-popup) .rm-pop-ident img.rm-pop-coat{
  flex:0 0 50%!important;
  width:50%!important;
  min-width:50%!important;
  max-width:50%!important;
  height:82px!important;
  max-height:82px!important;
  object-fit:contain!important;
  margin:0!important;
}
.leaflet-popup:not(.rm-coords-popup) .rm-pop-ident img.rm-pop-flag,
.rm-countries-globe-popup:not(.rm-countries-globe-coords-popup) .rm-pop-ident img.rm-pop-flag{
  object-position:left center!important;
}
.leaflet-popup:not(.rm-coords-popup) .rm-pop-ident img.rm-pop-coat,
.rm-countries-globe-popup:not(.rm-countries-globe-coords-popup) .rm-pop-ident img.rm-pop-coat{
  object-position:center center!important;
}

body.rm-solar3d-active .rm-solar-size-control{display:none!important}

body:not(.solar) .rm-solar-projection-docked,
body:not(.solar) .rm-solar3d-pill-home{display:none!important}
body.solar .rm-solar-projection-docked{display:flex!important}

/* Wide popup anchor: bright yellow ring with a restrained dark drop shadow. */
@media (min-width:701px){
  .leaflet-popup:not(.rm-coords-popup):not(.rm-countries-globe-coords-popup):not(.rm-moon-globe-coords-popup):not(.rm-mars-globe-coords-popup) .leaflet-popup-tip-container{
    width:32px!important;
    height:32px!important;
    margin-left:-16px!important;
    bottom:-31px!important;
    overflow:visible!important;
  }
  .leaflet-popup:not(.rm-coords-popup):not(.rm-countries-globe-coords-popup):not(.rm-moon-globe-coords-popup):not(.rm-mars-globe-coords-popup) .leaflet-popup-tip{
    width:32px!important;
    height:32px!important;
    margin:0 auto!important;
    box-sizing:border-box!important;
    background:transparent!important;
    border:4px solid #ffd400!important;
    border-radius:50%!important;
    outline:none!important;
    transform:none!important;
    box-shadow:0 2px 5px 1px rgba(0,0,0,.46),0 0 2px rgba(0,0,0,.35)!important;
  }
  .rm-countries-globe-popup:not(.rm-countries-globe-coords-popup):not(.rm-stars3d-coords):not(.rm-moon-globe-coords-popup):not(.rm-mars-globe-coords-popup):after{
    width:32px!important;
    height:32px!important;
    box-sizing:border-box!important;
    background:transparent!important;
    border:4px solid #ffd400!important;
    border-radius:50%!important;
    outline:none!important;
    bottom:-16px!important;
    transform:translateX(-50%)!important;
    box-shadow:0 2px 5px 1px rgba(0,0,0,.46),0 0 2px rgba(0,0,0,.35)!important;
  }
}

/* Flag and coat details: title, image, then description in both Map and 3D panels. */
.pop-wrap[data-rm-type="flag"] .rm-pop-main,
.pop-wrap[data-rm-type="coat"] .rm-pop-main{
  display:flex!important;
  flex-direction:column!important;
  align-items:stretch!important;
  gap:14px!important;
}
.pop-wrap[data-rm-type="flag"] .rm-pop-col-media,
.pop-wrap[data-rm-type="coat"] .rm-pop-col-media{
  order:1!important;
  width:100%!important;
  max-width:none!important;
  align-items:center!important;
}
.pop-wrap[data-rm-type="flag"] .rm-pop-col-text,
.pop-wrap[data-rm-type="coat"] .rm-pop-col-text{
  order:2!important;
  width:100%!important;
}


/* Moon/Mars globe selection: highlight the actual marker, not the popup tip. */
@media (min-width:701px){
  .rm-moon-globe-popup.rm-countries-globe-popup:after,
  .rm-mars-globe-popup.rm-countries-globe-popup:after{
    display:none!important;
  }
  .rm-moon-globe-marker.rm-globe-selected .rm-moon-marker:after,
  .rm-moon-globe-marker.rm-globe-selected .rm-moon-flag-marker:after,
  .rm-mars-globe-marker.rm-globe-selected .rm-mars-marker:after,
  .rm-mars-globe-marker.rm-globe-selected .rm-mars-flag-marker:after{
    content:""!important;
    position:absolute!important;
    left:50%!important;
    top:50%!important;
    width:32px!important;
    height:32px!important;
    box-sizing:border-box!important;
    transform:translate(-50%,-50%)!important;
    border:4px solid #ffd400!important;
    border-radius:50%!important;
    outline:none!important;
    background:transparent!important;
    box-shadow:0 2px 5px 1px rgba(0,0,0,.46),0 0 2px rgba(0,0,0,.35)!important;
    pointer-events:none!important;
    z-index:30!important;
  }
}

.rm-space-globe-coords-popup{position:fixed!important;z-index:10020!important;display:block!important;pointer-events:auto!important;}
.rm-space-globe-coords-popup .leaflet-popup-content-wrapper{background:#e6e6e6;border-radius:16px;box-shadow:0 10px 28px rgba(0,0,0,.25);padding:0;max-width:none;width:100%;box-sizing:border-box;}
.rm-space-globe-coords-popup .leaflet-popup-content{margin:0!important;padding:18px 20px 16px 20px!important;display:block!important;font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;max-width:100%!important;min-width:0;width:auto!important;box-sizing:border-box!important;overflow:hidden!important;}
.rm-space-globe-coords-popup .leaflet-popup-tip-container{position:absolute;left:50%;bottom:-20px;width:40px;height:20px;margin-left:-20px;overflow:hidden;pointer-events:none;}
.rm-space-globe-coords-popup .leaflet-popup-tip{width:17px;height:17px;padding:1px;margin:-10px auto 0;background:#e6e6e6;transform:rotate(45deg);box-shadow:0 10px 28px rgba(0,0,0,.15);}
.rm-space-globe-coords-popup .leaflet-popup-close-button{position:absolute!important;top:10px!important;right:12px!important;z-index:2;width:34px!important;height:34px!important;line-height:32px!important;font-size:22px!important;color:rgba(0,0,0,.45)!important;border-radius:10px;padding:0!important;text-align:center;text-decoration:none;background:transparent;}

.rm-space-globe-coords-point{z-index:30!important;pointer-events:none!important;}

/* Country detail popup: flag border follows the real flag image, not the half-column. */
.leaflet-popup:not(.rm-coords-popup) .rm-pop-ident,
.rm-countries-globe-popup:not(.rm-countries-globe-coords-popup) .rm-pop-ident{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
  align-items:center!important;
  column-gap:12px!important;
}
.leaflet-popup:not(.rm-coords-popup) .rm-pop-ident img.rm-pop-flag,
.leaflet-popup:not(.rm-coords-popup) .rm-pop-ident img.rm-pop-coat,
.rm-countries-globe-popup:not(.rm-countries-globe-coords-popup) .rm-pop-ident img.rm-pop-flag,
.rm-countries-globe-popup:not(.rm-countries-globe-coords-popup) .rm-pop-ident img.rm-pop-coat{
  flex:none!important;
  width:auto!important;
  min-width:0!important;
  max-width:100%!important;
  height:82px!important;
  max-height:82px!important;
  object-fit:contain!important;
  margin:0!important;
}
.leaflet-popup:not(.rm-coords-popup) .rm-pop-ident img.rm-pop-flag,
.rm-countries-globe-popup:not(.rm-countries-globe-coords-popup) .rm-pop-ident img.rm-pop-flag{
  justify-self:start!important;
}
.leaflet-popup:not(.rm-coords-popup) .rm-pop-ident img.rm-pop-coat,
.rm-countries-globe-popup:not(.rm-countries-globe-coords-popup) .rm-pop-ident img.rm-pop-coat{
  justify-self:center!important;
}

/* Wide flag/coat detail panels: keep the whole panel inside the viewport. */
@media (min-width:701px){
  .leaflet-popup:not(.rm-coords-popup) .rm-pop,
  .rm-countries-globe-popup:not(.rm-countries-globe-coords-popup):not(.rm-stars3d-coords) .rm-pop{
    max-height:calc(100vh - 20px)!important;
    overflow-y:auto!important;
    overflow-x:hidden!important;
    overscroll-behavior:contain;
  }
  .leaflet-popup:not(.rm-coords-popup) .pop-wrap[data-rm-type="flag"] img.rm-pop-flag,
  .leaflet-popup:not(.rm-coords-popup) .pop-wrap[data-rm-type="coat"] img.rm-pop-coat,
  .rm-countries-globe-popup:not(.rm-countries-globe-coords-popup) .pop-wrap[data-rm-type="flag"] img.rm-pop-flag,
  .rm-countries-globe-popup:not(.rm-countries-globe-coords-popup) .pop-wrap[data-rm-type="coat"] img.rm-pop-coat{
    width:100%!important;
    height:auto!important;
    max-width:100%!important;
    max-height:clamp(120px,36vh,300px)!important;
    object-fit:contain!important;
    object-position:center!important;
    margin:0 auto!important;
  }
}

/* Countries and Territories deliberately have no wide-screen click ring. */
@media (min-width:701px){
  .leaflet-popup.rm-no-click-ring .leaflet-popup-tip-container{
    display:none!important;
  }
  .rm-countries-globe-popup.rm-no-click-ring:after{
    display:none!important;
  }
}

.rm-universe-object-icon{background:transparent;border:0}
.rm-universe-object-icon span{display:block;position:absolute;left:50%;top:50%;width:6px;height:6px;transform:translate(-50%,-50%);border-radius:50%;background:#aeb8c7;border:1px solid rgba(255,255,255,.7);box-shadow:0 0 5px rgba(150,175,205,.55);transition:transform .12s ease,filter .12s ease}
.rm-universe-object-icon:hover span,.rm-universe-object-icon:focus span{transform:translate(-50%,-50%) scale(1.45);filter:brightness(1.3)}
.rm-universe-object-quasar span{background:#a995bd;box-shadow:0 0 5px rgba(169,149,189,.65)}

/* Earth Capitals, National Flags and Coats: the marker owns hover and selection. */
@keyframes rm-earth-point-glint{0%{filter:brightness(1) drop-shadow(0 1px 2px rgba(0,0,0,.5))}50%,100%{filter:brightness(1.45) saturate(1.18) drop-shadow(0 0 7px rgba(255,255,255,.95))}}
.rm-earth-point-icon{transition:filter .14s ease,box-shadow .14s ease,background-color .14s ease!important}
.rm-earth-point-icon.rm-hovered:not(.rm-selected){animation:rm-earth-point-glint .84s ease-out both!important}
img.leaflet-marker-icon.rm-earth-point-icon.rm-selected[src*="markers/flags/"],.rm-countries-globe-flag.rm-earth-point-icon.rm-selected img{background:#ffff00!important;border-radius:2px!important;box-shadow:0 0 0 5px #ffff00,0 2px 8px 7px rgba(255,215,0,.58)!important;filter:none!important}
img.leaflet-marker-icon.rm-earth-point-icon.rm-selected[src*="markers/coats/"],.rm-countries-globe-coat.rm-earth-point-icon.rm-selected img{background:#ffff00!important;box-shadow:0 0 0 5px #ffff00,0 2px 8px 7px rgba(255,215,0,.58)!important;filter:none!important}
img.leaflet-marker-icon.rm-earth-point-icon.rm-selected[src*="markers/gold.svg"]{background:radial-gradient(circle at center,#ffff00 0 55%,rgba(255,255,0,.88) 56%,transparent 66%)!important;border-radius:50%!important;box-shadow:none!important;filter:none!important}
.rm-countries-globe-capital.rm-earth-point-icon.rm-selected:before{background:#ffff00!important;border-color:#ffff00!important;box-shadow:0 0 0 1px #ffff00,0 1px 3px 1px rgba(255,215,0,.45)!important}
@media (min-width:701px){body.rm-earth-point-selected .leaflet-popup:not(.rm-coords-popup) .leaflet-popup-tip-container,body.rm-earth-point-selected .rm-countries-globe-popup:not(.rm-countries-globe-coords-popup):after{display:none!important}}

/* Point detail stays open after a map-background click. Never fall back to the generic ring. */
@media (min-width:701px){
  .leaflet-popup:has(.pop-wrap[data-rm-type="capital"]) .leaflet-popup-tip-container,
  .leaflet-popup:has(.pop-wrap[data-rm-type="flag"]) .leaflet-popup-tip-container,
  .leaflet-popup:has(.pop-wrap[data-rm-type="coat"]) .leaflet-popup-tip-container,
  .rm-countries-globe-popup:has(.pop-wrap[data-rm-type="capital"]):after,
  .rm-countries-globe-popup:has(.pop-wrap[data-rm-type="flag"]):after,
  .rm-countries-globe-popup:has(.pop-wrap[data-rm-type="coat"]):after{
    display:none!important;
  }
}
.rm-universe-object-galaxy-cluster span{background:#80a5ad;box-shadow:0 0 5px rgba(128,165,173,.6)}
.rm-universe-object-star span{background:#d1bd83;box-shadow:0 0 5px rgba(209,189,131,.65)}
.rm-universe-object-galaxy span{background:#889dc1;box-shadow:0 0 5px rgba(136,157,193,.65)}
.rm-universe-object-tip.leaflet-tooltip{background:rgba(8,12,22,.9);border:1px solid rgba(180,195,220,.25);border-radius:3px;box-shadow:0 2px 8px rgba(0,0,0,.5);color:#e0e5ec;font-size:11px;font-weight:500;padding:4px 6px;white-space:nowrap}
.rm-universe-object-tip.leaflet-tooltip:before{border-top-color:rgba(8,12,22,.9)}

/* Observable Universe objects: stable white rings, smaller than Laniakea. */
.rm-universe-object-icon span{width:12px;height:12px;box-sizing:border-box;background:transparent !important;border:2px solid rgba(255,255,255,.94);box-shadow:0 0 3px #000,0 0 6px rgba(255,255,255,.45)}
.rm-universe-object-icon:hover span,.rm-universe-object-icon:focus span{transform:translate(-50%,-50%) scale(1.18);filter:none}

/* High-contrast Universe rings on the bright cosmic-web background. */
.rm-universe-object-icon span{width:18px !important;height:18px !important;background:rgba(0,0,0,.18) !important;border:3px solid #fff !important;box-shadow:0 0 0 2px rgba(0,0,0,.9),0 0 8px 2px rgba(0,0,0,.85),0 0 5px rgba(255,255,255,.8) !important}
.rm-universe-object-icon:hover span,.rm-universe-object-icon:focus span{transform:translate(-50%,-50%) scale(1.12) !important}

/* Unified selected-object treatment for all space maps: label only, no yellow cursor. */
.rm-stars3d-marker.rm-space3d-selected{opacity:1!important;z-index:3000!important}
.rm-stars3d-marker.rm-space3d-selected .rm-stars3d-tip{font-size:15.75px!important;color:#ffd54a!important;font-weight:700!important;opacity:1!important;z-index:3001!important;text-shadow:0 0 3px #000,0 0 7px #000!important}
.rm-space-selected-label.leaflet-tooltip{background:transparent!important;border:0!important;box-shadow:none!important;color:#ffd54a!important;font-size:15.75px!important;font-weight:700!important;line-height:1!important;opacity:1!important;padding:0!important;white-space:nowrap!important;text-shadow:0 0 3px #000,0 0 7px #000!important;pointer-events:none!important}
.rm-space-selected-label.leaflet-tooltip:before{display:none!important}

/* Universe performance/reset fix: lightweight permanent white labels and one active yellow label. */
.rm-universe-object-tip.leaflet-tooltip{background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;color:#fff!important;font-size:11px!important;font-weight:500!important;line-height:1!important;opacity:1!important;padding:0!important;text-shadow:0 0 3px #000,0 0 6px #000!important}
.rm-universe-object-tip.leaflet-tooltip:before{display:none!important}
.rm-universe-object-tip.leaflet-tooltip.rm-space-label-active,.leaflet-tooltip.rm-space-label-active{color:#ffd54a!important;font-size:15.75px!important;font-weight:700!important;opacity:1!important;z-index:3001!important}
.rm-universe-object-icon span{background:#111!important;border:3px solid #fff!important;box-shadow:0 0 0 2px #000!important;filter:none!important}

/* Static Universe labels: presentation-only, never participate in popup lifecycle. */
.rm-universe-static-label-marker{background:transparent!important;border:0!important;pointer-events:none!important}
.rm-universe-static-label{position:absolute;left:0;bottom:11px;transform:translateX(-50%);color:#cfd8ea;font:10.5px/1.05 Arial,sans-serif;font-weight:400;white-space:nowrap;opacity:1;text-shadow:0 0 4px #000,0 0 8px #000;pointer-events:none;user-select:none}
.rm-universe-static-label-laniakea{color:#ffd54a;font-size:11.5px;font-weight:700}

/* Universe labels are clickable without adding popup or tooltip layers. */
.rm-universe-static-label-marker{pointer-events:auto!important;cursor:pointer!important}
.rm-universe-static-label{pointer-events:auto!important;cursor:pointer!important}


/* Earth: one Overlays panel for layer switches and background maps. */
.leaflet-bottom.leaflet-left .rm-countries-overlay-control .rm-overlays-basemaps{
  width:100%!important;
  margin-top:20px!important;
}
.leaflet-bottom.leaflet-left .rm-countries-overlay-control .rm-overlays-basemaps .rm-earth-basemaps-grid{
  width:100%!important;
}
.leaflet-bottom.leaflet-left .rm-earth-basemaps-control.rm-basemaps-merged{
  display:none!important;
}

/* Narrow Earth layout: keep legal attribution and expanded controls usable. */
@media (max-width:700px){
  .leaflet-container .leaflet-control-attribution{
    max-width:100vw!important;
    box-sizing:border-box!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
  }
}
@media (max-height:480px){
  .leaflet-top.leaflet-left .leaflet-control-layers-expanded{
    max-height:calc(100vh - 57px)!important;
    overflow-x:hidden!important;
    overflow-y:auto!important;
    overscroll-behavior:contain;
  }
}



/* Top projection switch: readable Map and 3D names beside their icons. */
.leaflet-top.leaflet-left .rm-projection-docked{
  width:136px!important;
  min-width:136px!important;
  max-width:136px!important;
}
.leaflet-top.leaflet-left .rm-projection-docked .rm-moon-mode-btn{
  display:flex!important;
  width:auto!important;
  min-width:0!important;
  max-width:none!important;
  flex:1 1 50%!important;
  align-items:center!important;
  justify-content:center!important;
  gap:7px!important;
  padding:0 8px!important;
  box-sizing:border-box!important;
  color:#111!important;
  font-size:13px!important;
  font-weight:400!important;
  line-height:34px!important;
  white-space:nowrap!important;
}
.leaflet-top.leaflet-left .rm-projection-docked .rm-moon-mode-btn:first-child{
  flex:0 0 70px!important;
}
.leaflet-top.leaflet-left .rm-projection-docked .rm-moon-mode-btn:last-child{
  flex:1 1 auto!important;
}
.leaflet-top.leaflet-left .rm-projection-docked .rm-moon-mode-btn:first-child::after{
  content:"Map";
}
.leaflet-top.leaflet-left .rm-projection-docked .rm-moon-mode-btn:last-child::after{
  content:"3D View";
}
.leaflet-top.leaflet-left .rm-projection-docked .rm-moon-mode-btn::after{
  display:inline-block!important;
  flex:0 0 auto!important;
  color:#111!important;
  -webkit-text-fill-color:#111!important;
  font-size:13px!important;
  font-weight:400!important;
  line-height:34px!important;
  white-space:nowrap!important;
}
/* Icon slot of the docked Map/3D switch - kept for reference, the icons are
   hidden further down; re-enable together with that block.
.leaflet-top.leaflet-left .rm-projection-docked .rm-countries-mode-icon{
  flex:0 0 22px!important;
}
*/
@media (max-width:480px){
  .leaflet-top.leaflet-left .rm-projection-docked{
    width:150px!important;
    min-width:150px!important;
    max-width:150px!important;
  }
  .leaflet-top.leaflet-left .rm-projection-docked .rm-moon-mode-btn:first-child{
    flex-basis:62px!important;
  }
  .leaflet-top.leaflet-left .rm-projection-docked .rm-moon-mode-btn{
    gap:5px!important;
    padding:0 5px!important;
    font-size:13px!important;
  }
  .leaflet-top.leaflet-left .rm-projection-docked .rm-moon-mode-btn::after{
    font-size:13px!important;
  }
}


/* Docked Map/3D switch on wide screens: icons hidden, the Map and 3D labels
   alone size the buttons. Narrow screens keep the icon-only switch, where the
   labels are the hidden half. Nothing is removed from the markup - delete this
   block to bring the icons back (and uncomment the icon slot rule above). */
@media (min-width:701px){
  .leaflet-top.leaflet-left .rm-projection-docked .rm-countries-mode-icon,
  .leaflet-top.leaflet-left .rm-projection-docked .rm-moon-mode-btn>svg{
    display:none!important;
  }
  .leaflet-top.leaflet-left .rm-projection-docked{
    width:auto!important;
    min-width:0!important;
    max-width:none!important;
  }
  .leaflet-top.leaflet-left .rm-projection-docked>.rm-moon-mode{
    width:auto!important;
  }
  .leaflet-top.leaflet-left .rm-projection-docked .rm-moon-mode-btn,
  .leaflet-top.leaflet-left .rm-projection-docked .rm-moon-mode-btn:first-child,
  .leaflet-top.leaflet-left .rm-projection-docked .rm-moon-mode-btn:last-child{
    flex:0 0 auto!important;
    width:auto!important;
    min-width:0!important;
    max-width:none!important;
    gap:0!important;
    padding:0 10px!important;
  }
}

/* Active Map/Sphere label matches the active Share treatment. */
.leaflet-top.leaflet-left .rm-projection-docked .rm-moon-mode-btn.is-active::after,
.leaflet-top.leaflet-left .rm-projection-docked .rm-moon-mode-btn[aria-pressed="true"]::after{
  color:green!important;
  -webkit-text-fill-color:green!important;
  font-weight:700!important;
}


/* Shared blue measurement UI for stellar Sphere views. */
.rm-stars3d-mlab{color:#111!important;font:600 12px/1.1 system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif!important;text-shadow:0 0 2px #fff,0 0 3px #fff,0 0 4px #fff,1px 1px 0 #fff,-1px 1px 0 #fff,1px -1px 0 #fff,-1px -1px 0 #fff!important}
.rm-space3d-measure-handle{position:absolute;left:0;top:0;width:14px;height:14px;padding:0;border:2px solid #fff;border-radius:50%;background:#3388ff;box-shadow:0 0 0 1px rgba(0,0,0,.22);pointer-events:auto;cursor:grab;z-index:8;touch-action:none}
.rm-space3d-measure-handle:active{cursor:grabbing}
.rm-space3d-measure-total{position:absolute!important;left:0;top:0;margin-left:78px;white-space:nowrap;pointer-events:auto!important;z-index:9!important}
.rm-space3d-measure-total:before{display:none!important}
.rm-space3d-measure-total .rm-measure-len{font:400 13px/1.2 system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;color:#111}
.rm-space3d-measure-total .rm-measure-tip{gap:8px}
.rm-space3d-measure-total .rm-coords-pop-btn,.rm-space3d-measure-total .rm-coords-close{flex:0 0 auto}

.rm-space3d-measure-svg{z-index:6!important}

/* Keep the four primary map tools together in the top-right corner. */
.leaflet-top.leaflet-left>.leaflet-control-locate,
.leaflet-top.leaflet-left>.leaflet-control.easy-button-container:has(.rm-topcoords),
.leaflet-top.leaflet-left>.leaflet-control.easy-button-container:has(.rm-topmeasure),
.leaflet-top.leaflet-left>.leaflet-control.rm-share-control{
  position:fixed!important;
  top:10px!important;
  z-index:1001!important;
  margin:0!important;
}
.leaflet-top.leaflet-left>.leaflet-control.rm-share-control{right:10px!important}
.leaflet-top.leaflet-left>.leaflet-control.easy-button-container:has(.rm-topmeasure){right:122px!important}
.leaflet-top.leaflet-left>.leaflet-control.easy-button-container:has(.rm-topcoords){right:164px!important}
.leaflet-top.leaflet-left>.leaflet-control-locate{right:206px!important}
@media (max-width:1000px){
  .leaflet-top.leaflet-left>.leaflet-control.rm-share-control{right:10px!important}
  .leaflet-top.leaflet-left>.leaflet-control.easy-button-container:has(.rm-topmeasure){right:52px!important}
  .leaflet-top.leaflet-left>.leaflet-control.easy-button-container:has(.rm-topcoords){right:94px!important}
  .leaflet-top.leaflet-left>.leaflet-control-locate{right:136px!important}
}


/* Compact projection and collision-safe mobile toolbar. */
@media (max-width:700px){
  .leaflet-top.leaflet-left .rm-projection-docked{width:72px!important;min-width:72px!important;max-width:72px!important}
  .leaflet-top.leaflet-left .rm-projection-docked .rm-moon-mode-btn,
  .leaflet-top.leaflet-left .rm-projection-docked .rm-moon-mode-btn:first-child,
  .leaflet-top.leaflet-left .rm-projection-docked .rm-moon-mode-btn:last-child{flex:0 0 35px!important;width:35px!important;min-width:35px!important;max-width:35px!important;gap:0!important;padding:0!important}
  .leaflet-top.leaflet-left .rm-projection-docked .rm-moon-mode-btn::after{content:""!important;display:none!important}
}
@media (max-width:380px){
  .leaflet-top.leaflet-left>.leaflet-control.rm-share-control{right:4px!important}
  .leaflet-top.leaflet-left>.leaflet-control.easy-button-container:has(.rm-topmeasure){right:42px!important}
  .leaflet-top.leaflet-left>.leaflet-control.easy-button-container:has(.rm-topcoords){right:80px!important}
  .leaflet-top.leaflet-left>.leaflet-control-locate{right:118px!important}
}
@media (max-width:340px){
  .leaflet-top.leaflet-left>.leaflet-control-locate,
  .leaflet-top.leaflet-left>.leaflet-control.easy-button-container:has(.rm-topcoords),
  .leaflet-top.leaflet-left>.leaflet-control.easy-button-container:has(.rm-topmeasure),
  .leaflet-top.leaflet-left>.leaflet-control.rm-share-control{top:52px!important}
}

/* Narrow toolbar: use the compact Search-button surface for every top control. */
@media (max-width:700px){
  .leaflet-top.leaflet-left .leaflet-bar,
  .leaflet-top.leaflet-left .rm-projection-docked,
  .leaflet-top.leaflet-left .rm-share-docked{
    height:34px!important;
    box-sizing:border-box!important;
    border:1px solid rgba(0,0,0,.3)!important;
    border-radius:4px!important;
    background:#f4f1e8!important;
    background-color:#f4f1e8!important;
    box-shadow:0 1px 5px rgba(0,0,0,.67)!important;
  }
  .leaflet-top.leaflet-left .leaflet-bar a,
  .leaflet-top.leaflet-left .leaflet-bar button{
    height:32px!important;
    line-height:32px!important;
    background:#f4f1e8!important;
    background-color:#f4f1e8!important;
  }
  .leaflet-top.leaflet-left>.leaflet-control-locate,
  .leaflet-top.leaflet-left>.leaflet-control.easy-button-container:has(.rm-topcoords),
  .leaflet-top.leaflet-left>.leaflet-control.easy-button-container:has(.rm-topmeasure),
  .leaflet-top.leaflet-left>.leaflet-control.rm-share-control{
    width:34px!important;
    min-width:34px!important;
    max-width:34px!important;
  }
  .leaflet-top.leaflet-left>.leaflet-control-locate a,
  .leaflet-top.leaflet-left>.leaflet-control.easy-button-container:has(.rm-topcoords) button,
  .leaflet-top.leaflet-left>.leaflet-control.easy-button-container:has(.rm-topmeasure) button,
  .leaflet-top.leaflet-left>.leaflet-control.rm-share-control button,
  .leaflet-top.leaflet-left>.leaflet-control.rm-share-control .button-state{
    width:32px!important;
    min-width:32px!important;
    max-width:32px!important;
    height:32px!important;
  }
  .leaflet-top.leaflet-left .rm-projection-docked{
    width:68px!important;
    min-width:68px!important;
    max-width:68px!important;
  }
  .leaflet-top.leaflet-left .rm-projection-docked .rm-moon-mode-btn,
  .leaflet-top.leaflet-left .rm-projection-docked .rm-moon-mode-btn:first-child,
  .leaflet-top.leaflet-left .rm-projection-docked .rm-moon-mode-btn:last-child{
    flex:0 0 33px!important;
    width:33px!important;
    min-width:33px!important;
    max-width:33px!important;
    height:32px!important;
    line-height:32px!important;
    background:#f4f1e8!important;
    background-color:#f4f1e8!important;
  }
}

/* Narrow toolbar: only Home matches the compact 34px Search-style button. */
@media (min-width:341px) and (max-width:700px){
  .leaflet-top.leaflet-left>.leaflet-control-zoomhome.leaflet-bar.leaflet-control{
    width:34px!important;
    min-width:34px!important;
    max-width:34px!important;
    height:34px!important;
    box-sizing:border-box!important;
    border:1px solid rgba(0,0,0,.3)!important;
    border-radius:4px!important;
    background:#f4f1e8!important;
    background-color:#f4f1e8!important;
    box-shadow:0 1px 5px rgba(0,0,0,.67)!important;
    overflow:hidden!important;
  }
  .leaflet-top.leaflet-left>.leaflet-control-zoomhome.leaflet-bar.leaflet-control>a.leaflet-control-zoomhome-home,
  .leaflet-top.leaflet-left>.leaflet-control-zoomhome.leaflet-bar.leaflet-control>button.leaflet-control-zoomhome-home{
    width:32px!important;
    min-width:32px!important;
    max-width:32px!important;
    height:32px!important;
    line-height:32px!important;
    background:#f4f1e8!important;
    background-color:#f4f1e8!important;
  }
}

/* Narrow toolbar: collapsed Maps and Layers buttons align with Hide UI. */
@media (max-width:700px){
  .leaflet-top.leaflet-left>.rm-maps-control.leaflet-control-layers.leaflet-control-layers-collapsed,
  .leaflet-bottom.leaflet-left>.rm-countries-overlay-control.leaflet-control-layers.leaflet-control-layers-collapsed{
    left:4px!important;
    right:auto!important;
    width:34px!important;
    min-width:34px!important;
    max-width:34px!important;
    height:34px!important;
    margin-left:0!important;
    padding:0!important;
    box-sizing:border-box!important;
    overflow:hidden!important;
    border:1px solid rgba(0,0,0,.3)!important;
    border-radius:4px!important;
    background:#f4f1e8!important;
    background-color:#f4f1e8!important;
    box-shadow:0 1px 5px rgba(0,0,0,.67)!important;
  }
  .leaflet-top.leaflet-left>.rm-maps-control.leaflet-control-layers.leaflet-control-layers-collapsed>a.leaflet-control-layers-toggle,
  .leaflet-bottom.leaflet-left>.rm-countries-overlay-control.leaflet-control-layers.leaflet-control-layers-collapsed>a.leaflet-control-layers-toggle{
    width:32px!important;
    min-width:32px!important;
    max-width:32px!important;
    height:32px!important;
    min-height:32px!important;
    max-height:32px!important;
    padding:0!important;
    border-radius:3px!important;
    background-color:#f4f1e8!important;
    background-position:center!important;
  }
}

/* Country/territory popup: facts on the left, compact flag and coat on the right. */
.pop-wrap[data-rm-type="country"] .rm-pop-col-text,
.pop-wrap[data-rm-type="eez"] .rm-pop-col-text{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 126px!important;
  grid-auto-flow:row!important;
  column-gap:14px!important;
  row-gap:6px!important;
  align-items:start!important;
}
.pop-wrap[data-rm-type="country"] .rm-pop-col-text>.rm-pop-ident,
.pop-wrap[data-rm-type="eez"] .rm-pop-col-text>.rm-pop-ident{
  grid-column:2!important;
  grid-row:1 / span 8!important;
  display:flex!important;
  flex-direction:column!important;
  flex-wrap:nowrap!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:18px!important;
  width:126px!important;
  margin:0!important;
}
.pop-wrap[data-rm-type="country"] .rm-pop-col-text>.rm-pop-ident img.rm-pop-flag,
.pop-wrap[data-rm-type="country"] .rm-pop-col-text>.rm-pop-ident img.rm-pop-coat,
.pop-wrap[data-rm-type="eez"] .rm-pop-col-text>.rm-pop-ident img.rm-pop-flag,
.pop-wrap[data-rm-type="eez"] .rm-pop-col-text>.rm-pop-ident img.rm-pop-coat{
  flex:none!important;
  width:auto!important;
  max-width:124px!important;
  height:62px!important;
  max-height:62px!important;
  object-fit:contain!important;
  margin:0!important;
  justify-self:auto!important;
}

/* Compact country/territory popup below 1000px: facts left, symbols and square photo right. */
@media (max-width:999px){
  .leaflet-popup-content:has(>.pop-wrap[data-rm-type="country"]),
  .leaflet-popup-content:has(>.pop-wrap[data-rm-type="eez"]){
    width:min(500px,calc(100vw - 52px))!important;
  }
  .pop-wrap[data-rm-type="country"] .rm-pop-main,
  .pop-wrap[data-rm-type="eez"] .rm-pop-main{
    display:grid!important;
    grid-template-columns:minmax(150px,1fr) minmax(120px,250px)!important;
    grid-template-rows:25px auto auto auto 1fr!important;
    column-gap:12px!important;
    row-gap:7px!important;
    align-items:start!important;
    width:100%!important;
  }
  .pop-wrap[data-rm-type="country"] .rm-pop-col-text,
  .pop-wrap[data-rm-type="eez"] .rm-pop-col-text{
    display:contents!important;
  }
  body .pop-wrap[data-rm-type="country"] .rm-pop-col-text>.rm-pop-ident,
  body .pop-wrap[data-rm-type="eez"] .rm-pop-col-text>.rm-pop-ident{
    grid-column:2!important;
    grid-row:1!important;
    display:flex!important;
    flex-direction:row!important;
    flex-wrap:nowrap!important;
    align-items:center!important;
    justify-content:flex-start!important;
    gap:10px!important;
    width:100%!important;
    height:25px!important;
    min-height:25px!important;
    margin:0!important;
  }
  body .pop-wrap[data-rm-type="country"] .rm-pop-col-text>.rm-pop-ident img.rm-pop-flag,
  body .pop-wrap[data-rm-type="country"] .rm-pop-col-text>.rm-pop-ident img.rm-pop-coat,
  body .pop-wrap[data-rm-type="eez"] .rm-pop-col-text>.rm-pop-ident img.rm-pop-flag,
  body .pop-wrap[data-rm-type="eez"] .rm-pop-col-text>.rm-pop-ident img.rm-pop-coat{
    flex:0 1 auto!important;
    width:auto!important;
    max-width:calc(50% - 5px)!important;
    height:25px!important;
    min-height:25px!important;
    max-height:25px!important;
    margin:0!important;
    object-fit:contain!important;
  }
  .pop-wrap[data-rm-type="country"] .pop-row-capital,
  .pop-wrap[data-rm-type="eez"] .pop-row-capital{grid-column:1!important;grid-row:1!important}
  .pop-wrap[data-rm-type="country"] .pop-row-population,
  .pop-wrap[data-rm-type="eez"] .pop-row-population{grid-column:1!important;grid-row:2!important}
  .pop-wrap[data-rm-type="country"] .pop-row-area,
  .pop-wrap[data-rm-type="eez"] .pop-row-area{grid-column:1!important;grid-row:3!important}
  .pop-wrap[data-rm-type="country"] .pop-links,
  .pop-wrap[data-rm-type="eez"] .pop-links{grid-column:1!important;grid-row:4 / span 2!important}
  .pop-wrap[data-rm-type="country"] .rm-pop-col-media,
  .pop-wrap[data-rm-type="eez"] .rm-pop-col-media{
    grid-column:2!important;
    grid-row:2 / span 4!important;
    display:block!important;
    width:100%!important;
    max-width:250px!important;
    aspect-ratio:1 / 1!important;
    height:auto!important;
    margin:0!important;
    overflow:hidden!important;
    border-radius:5px!important;
  }
  .pop-wrap[data-rm-type="country"] .rm-pop-photo,
  .pop-wrap[data-rm-type="eez"] .rm-pop-photo{
    display:block!important;
    width:100%!important;
    max-width:none!important;
    height:100%!important;
    max-height:none!important;
    margin:0!important;
    object-fit:cover!important;
    object-position:center!important;
  }
}
.pop-wrap[data-rm-type="country"] .rm-pop-col-text>.rm-pop-ident img.rm-pop-coat,
.pop-wrap[data-rm-type="eez"] .rm-pop-col-text>.rm-pop-ident img.rm-pop-coat{
  height:90px!important;
  max-height:90px!important;
}
.pop-wrap[data-rm-type="country"] .rm-pop-col-text>.pop-desc,
.pop-wrap[data-rm-type="eez"] .rm-pop-col-text>.pop-desc{
  grid-column:1 / -1!important;
}

/* Narrow-screen overrides intentionally live last in the cascade. */
@media (max-width:700px){
  .leaflet-top.leaflet-left>.leaflet-control-locate,
  .leaflet-top.leaflet-left>.leaflet-control.easy-button-container:has(.rm-topcoords),
  .leaflet-top.leaflet-left>.leaflet-control.easy-button-container:has(.rm-topmeasure),
  .leaflet-top.leaflet-left>.leaflet-control.rm-share-control{top:8px!important}
  .leaflet-control-layers.leaflet-control-layers-expanded{
    height:auto!important;min-height:0!important;max-height:calc(100dvh - 58px)!important;
    width:210px!important;min-width:210px!important;max-width:210px!important;
    overflow-x:hidden!important;overflow-y:auto!important
  }
  .leaflet-control-layers.leaflet-control-layers-expanded>.leaflet-control-layers-list{
    display:block!important;height:auto!important;max-height:none!important;visibility:visible!important
  }
  .leaflet-popup .pop-wrap[data-rm-type="country"] .rm-pop-head,
  .leaflet-popup .pop-wrap[data-rm-type="eez"] .rm-pop-head,
  .leaflet-popup .pop-wrap[data-rm-type="admin1"] .rm-pop-head,
  .leaflet-popup .pop-wrap[data-rm-type="admin2"] .rm-pop-head,
  .rm-countries-globe-popup .pop-wrap[data-rm-type="country"] .rm-pop-head,
  .rm-countries-globe-popup .pop-wrap[data-rm-type="eez"] .rm-pop-head{padding-top:12px!important}
}
@media (orientation:landscape) and (max-height:520px) and (max-width:1100px){
  .rm-search-control{display:none!important}
  .leaflet-popup:not(.rm-coords-popup),.rm-countries-globe-popup{
    max-width:calc(100vw - 20px)!important;max-height:calc(100dvh - 58px)!important
  }
  .leaflet-popup:not(.rm-coords-popup) .leaflet-popup-content-wrapper,
  .rm-countries-globe-popup>div:not(.rm-countries-globe-popup-close){
    max-width:100%!important;max-height:calc(100dvh - 58px)!important;overflow:auto!important;box-sizing:border-box!important
  }
  .leaflet-popup:not(.rm-coords-popup) .leaflet-popup-content,
  .rm-countries-globe-popup .rm-pop{max-width:100%!important;box-sizing:border-box!important}
  .rm-pop-photo,.rm-pop-img{max-width:100%!important;height:auto!important;object-fit:contain!important}
}
.leaflet-control-locate-location circle,.leaflet-control-locate-heading path{
  fill:limegreen!important;stroke:#fff!important
}

/* 2026-09 compact top toolbar: projection, search, tools and share. */
.rm-visually-hidden{
  position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;
  overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important
}
.leaflet-top.leaflet-left>.rm-tools-control{
  position:fixed!important;top:10px!important;right:122px!important;z-index:1250!important;
  width:36px!important;height:36px!important;margin:0!important;opacity:1!important;pointer-events:auto!important
}
.rm-tools-toggle{
  display:grid;width:36px;height:36px;padding:0;place-items:center;box-sizing:border-box;
  border:1px solid rgba(0,0,0,.3);border-radius:6px;background:#f4f1e8;color:#111;
  box-shadow:0 1px 5px rgba(0,0,0,.5);cursor:pointer
}
.rm-tools-toggle:hover,.rm-tools-toggle:focus-visible,.rm-tools-toggle[aria-expanded="true"]{
  background:#e8f5ea;color:#159b2d;outline:0
}
.rm-tools-toggle:focus-visible{box-shadow:0 0 0 2px rgba(56,168,74,.35),0 1px 5px rgba(0,0,0,.5)}
.rm-tools-toggle svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.rm-tools-panel{
  position:absolute;top:35px;left:0;display:flex;flex-direction:column;gap:0;width:36px;margin:0;padding:0
}
.rm-tools-panel[hidden]{display:none!important}
.leaflet-top.leaflet-left .rm-tools-panel>.leaflet-control{
  position:relative!important;inset:auto!important;display:flex!important;width:36px!important;min-width:36px!important;
  max-width:36px!important;height:36px!important;margin:0!important;box-sizing:border-box!important;
  opacity:1!important;pointer-events:auto!important
}
.leaflet-top.leaflet-left .rm-tools-panel>.leaflet-control.leaflet-bar,
.leaflet-top.leaflet-left .rm-tools-panel>.leaflet-control>.leaflet-bar{
  width:36px!important;min-width:36px!important;max-width:36px!important;height:36px!important;
  border:1px solid rgba(0,0,0,.3)!important;border-top:0!important;border-radius:0!important;
  box-sizing:border-box!important;background:#f4f1e8!important;box-shadow:none!important;overflow:hidden!important
}
.leaflet-top.leaflet-left .rm-tools-panel>.leaflet-control a,
.leaflet-top.leaflet-left .rm-tools-panel>.leaflet-control button,
.leaflet-top.leaflet-left .rm-tools-panel>.leaflet-control .button-state{
  width:34px!important;min-width:34px!important;max-width:34px!important;height:34px!important;
  line-height:34px!important;border-radius:0!important;background-color:#f4f1e8!important;box-shadow:none!important
}
.rm-tools-toggle[aria-expanded="true"]{border-radius:6px 6px 0 0}
.leaflet-top.leaflet-left .rm-tools-panel>.leaflet-control:last-child,
.leaflet-top.leaflet-left .rm-tools-panel>.leaflet-control:last-child.leaflet-bar,
.leaflet-top.leaflet-left .rm-tools-panel>.leaflet-control:last-child>.leaflet-bar{border-radius:0 0 6px 6px!important}
.leaflet-top.leaflet-left>.rm-projection-docked{
  position:fixed!important;top:10px!important;left:226px!important;right:auto!important;z-index:1201!important;margin:0!important
}
.leaflet-top.leaflet-left>.rm-maps-control{
  position:fixed!important;top:20px!important;left:10px!important;z-index:1000!important;margin:0!important
}
@media (min-width:701px){
  .rm-search-control{top:10px!important;right:164px!important;width:180px!important}
  .rm-search-form{display:grid!important;grid-template-columns:minmax(0,1fr) 34px!important;column-gap:6px!important;height:36px!important}
  .rm-search-input{display:block!important;width:100%!important;height:36px!important;line-height:34px!important}
  .rm-search-submit{display:grid!important;width:34px!important;height:36px!important;border-radius:6px!important}
}
@media (min-width:701px) and (max-width:1000px){
  .leaflet-top.leaflet-left>.rm-share-control{right:10px!important;width:36px!important;min-width:36px!important;max-width:36px!important}
  .leaflet-top.leaflet-left>.rm-share-control .easy-button-button{width:34px!important;min-width:34px!important;max-width:34px!important}
  .leaflet-top.leaflet-left>.rm-share-control .button-state::after{content:""!important;display:none!important}
  .leaflet-top.leaflet-left>.rm-tools-control{right:52px!important}
  .rm-search-control{right:94px!important}
  .leaflet-top.leaflet-left>.rm-projection-docked{left:226px!important;right:auto!important}
}

/* Desktop Maps and Overlays keep the same width when collapsed or expanded. */
@media (min-width:701px){
  body .leaflet-container .leaflet-control-container :is(.leaflet-left,.leaflet-right) .leaflet-control-layers:is(.rm-maps-control,.rm-subcontrol,.rm-earth-basemaps-control):not(.leaflet-control-layers-expanded),
  body .leaflet-container .leaflet-control-container :is(.leaflet-left,.leaflet-right) .leaflet-control-layers:is(.rm-maps-control,.rm-subcontrol,.rm-earth-basemaps-control):not(.leaflet-control-layers-expanded)>a.leaflet-control-layers-toggle{
    width:210px!important;min-width:210px!important;max-width:210px!important;
  }
  .leaflet-top.leaflet-left:has(>.rm-maps-control.leaflet-control-layers:not(.leaflet-control-layers-expanded))>.rm-projection-docked{
    left:226px!important;
  }
}
@media (max-width:700px){
  .leaflet-top.leaflet-left>.rm-maps-control{top:18px!important;left:16px!important;margin:0!important}
  .leaflet-top.leaflet-left>.rm-share-control{top:8px!important;right:4px!important}
  .leaflet-top.leaflet-left>.rm-tools-control{top:8px!important;right:44px!important;width:34px!important;height:34px!important}
  .rm-tools-toggle{width:34px;height:34px;border-radius:4px}
  .rm-tools-panel{top:33px;width:34px}
  .leaflet-top.leaflet-left .rm-tools-panel>.leaflet-control{width:34px!important;min-width:34px!important;max-width:34px!important;height:34px!important}
  .leaflet-top.leaflet-left .rm-tools-panel>.leaflet-control.leaflet-bar,
  .leaflet-top.leaflet-left .rm-tools-panel>.leaflet-control>.leaflet-bar{width:34px!important;min-width:34px!important;max-width:34px!important;height:34px!important}
  .rm-search-control{top:8px!important;right:84px!important}
  .rm-search-control.is-mobile-open .rm-search-form{grid-template-columns:minmax(0,1fr)!important}
  .rm-search-control.is-mobile-open .rm-search-submit{display:none!important}
  .leaflet-top.leaflet-left>.rm-projection-docked{top:8px!important;left:48px!important;right:auto!important;width:68px!important;min-width:68px!important;max-width:68px!important}
}
body.rm-ui-hidden .leaflet-top.leaflet-left>.rm-tools-control{
  display:block!important;opacity:1!important;pointer-events:auto!important
}
body.rm-ui-hidden .rm-tools-panel>.leaflet-control:not(.rm-ui-bar-control){display:none!important}

/* Collapsed Maps and Overlays use the same surface as the toolbar buttons. */
body .leaflet-container .leaflet-control-container :is(.leaflet-left,.leaflet-right) .leaflet-control-layers:is(.rm-maps-control,.rm-subcontrol,.rm-earth-basemaps-control):not(.leaflet-control-layers-expanded){
  height:36px!important;min-height:36px!important;max-height:36px!important;
  box-sizing:border-box!important;padding:0!important;border:1px solid rgba(0,0,0,.3)!important;
  border-radius:6px!important;background-color:#f4f1e8!important;box-shadow:0 1px 5px rgba(0,0,0,.67)!important;
}
body .leaflet-container .leaflet-control-container :is(.leaflet-left,.leaflet-right) .leaflet-control-layers:is(.rm-maps-control,.rm-subcontrol,.rm-earth-basemaps-control):not(.leaflet-control-layers-expanded)>a.leaflet-control-layers-toggle{
  height:34px!important;min-height:34px!important;max-height:34px!important;line-height:34px!important;
  box-sizing:border-box!important;border-radius:5px!important;font-size:13px!important;
}
@media (max-width:700px){
  body .leaflet-container .leaflet-control-container :is(.leaflet-left,.leaflet-right) .leaflet-control-layers:is(.rm-maps-control,.rm-subcontrol,.rm-earth-basemaps-control):not(.leaflet-control-layers-expanded){
    height:34px!important;min-height:34px!important;max-height:34px!important;border-radius:4px!important;
  }
  body .leaflet-container .leaflet-control-container :is(.leaflet-left,.leaflet-right) .leaflet-control-layers:is(.rm-maps-control,.rm-subcontrol,.rm-earth-basemaps-control):not(.leaflet-control-layers-expanded)>a.leaflet-control-layers-toggle{
    height:32px!important;min-height:32px!important;max-height:32px!important;line-height:32px!important;border-radius:3px!important;
  }
}

/* Preserve the Share size it had before docking into a lightbox. */
.easy-button-button.rm-share-active.rm-share-docked.rm-share-docked-compact{
  width:34px!important;min-width:34px!important;max-width:34px!important;height:34px!important
}
.easy-button-button.rm-share-active.rm-share-docked.rm-share-docked-compact .button-state{
  width:32px!important;min-width:32px!important;max-width:32px!important;height:32px!important;
  padding:0!important;justify-content:center!important
}
.easy-button-button.rm-share-active.rm-share-docked.rm-share-docked-compact .button-state:before{
  left:50%!important;transform:translate(-50%,-50%)!important
}
.easy-button-button.rm-share-active.rm-share-docked.rm-share-docked-compact .button-state:after{
  content:""!important;display:none!important
}

/* Keep the Maps trigger visible above an independently sized dropdown. */
#map#map#map#map .rm-maps-control.leaflet-control-layers{
  width:max-content!important;min-width:0!important;max-width:none!important;
  height:36px!important;min-height:36px!important;max-height:36px!important;
  padding:0!important;margin:0!important;top:10px!important;left:10px!important;
  border:0!important;border-radius:6px!important;background:transparent!important;
  box-shadow:none!important;overflow:visible!important;
}
#map#map#map#map .rm-maps-control.leaflet-control-layers>a.leaflet-control-layers-toggle{
  display:flex!important;position:relative!important;align-items:center!important;
  width:max-content!important;min-width:0!important;max-width:none!important;
  height:36px!important;min-height:36px!important;max-height:36px!important;
  padding:0 12px 0 36px!important;margin:0!important;box-sizing:border-box!important;
  border:1px solid rgba(0,0,0,.3)!important;border-radius:6px!important;
  background:#f4f1e8!important;color:#111!important;font:13px Arial,sans-serif!important;
  text-indent:0!important;white-space:nowrap!important;box-shadow:0 1px 5px rgba(0,0,0,.67)!important;
}
#map#map#map#map .rm-maps-control>a.leaflet-control-layers-toggle:before{content:none!important;display:none!important}
#map#map#map#map .rm-maps-control>a.leaflet-control-layers-toggle:after{
  display:block!important;position:static!important;order:-1!important;flex:0 0 22px!important;
  left:auto!important;top:auto!important;transform:none!important;
  width:22px!important;height:22px!important;
  background:transparent url("favicon.png") center/22px 22px no-repeat!important;
  -webkit-mask:none!important;mask:none!important;
  filter:none!important;
}
#map#map#map#map .rm-maps-control>.rm-ctl-close{display:none!important}
#map#map#map#map .rm-maps-control>.leaflet-control-layers-list{
  position:absolute!important;top:42px!important;left:0!important;
  width:210px!important;min-width:210px!important;max-width:210px!important;
  box-sizing:border-box!important;padding:10px!important;margin:0!important;
  max-height:calc(100dvh - 72px)!important;overflow-y:auto!important;
  border:1px solid rgba(0,0,0,.3)!important;border-radius:6px!important;
  background:#f4f1e8!important;box-shadow:0 1px 5px rgba(0,0,0,.4)!important;
}
#map#map#map#map .rm-maps-control.leaflet-control-layers-expanded>.leaflet-control-layers-list{display:block!important}
#map#map#map#map .rm-maps-control:not(.leaflet-control-layers-expanded)>.leaflet-control-layers-list{display:none!important}
#map#map#map#map .leaflet-top.leaflet-left>.rm-projection-docked{left:calc(var(--rm-maps-dock-left,100px) + 42px)!important}
#map#map#map#map .leaflet-top.leaflet-left>.rm-home-standalone{
  position:fixed!important;top:10px!important;left:var(--rm-maps-dock-left,100px)!important;right:auto!important;
  width:36px!important;min-width:36px!important;max-width:36px!important;height:36px!important;margin:0!important;
  box-sizing:border-box!important;border:1px solid rgba(0,0,0,.3)!important;border-radius:6px!important;
  background:#f4f1e8!important;box-shadow:0 1px 5px rgba(0,0,0,.4)!important;
}
#map#map#map#map .rm-home-standalone .leaflet-control-zoomhome-home{
  width:34px!important;height:34px!important;line-height:34px!important;border:0!important;border-radius:5px!important;
}
#map#map#map#map .rm-home-standalone .leaflet-control-zoomhome-home:before{
  width:18px!important;height:18px!important;
  -webkit-mask-size:18px 18px!important;mask-size:18px 18px!important;
}
#map#map#map#map .rm-maps-control.leaflet-control-layers-expanded>a.leaflet-control-layers-toggle{
  color:green!important;font-weight:700!important;
}
#map#map#map#map .rm-maps-control.leaflet-control-layers>a.leaflet-control-layers-toggle{
  width:160px!important;min-width:160px!important;max-width:160px!important;
  padding:0 28px 0 18px!important;gap:10px!important;justify-content:flex-start!important;
  letter-spacing:0.06em!important;
}
#map#map#map#map .rm-maps-control.leaflet-control-layers-expanded>a.leaflet-control-layers-toggle:after{
  background-color:transparent!important;
}
/* A single 3D toggle reuses each map's existing projection actions. */
@media (min-width:1001px){
  #map#map>.rm-popup-docked{
    position:absolute!important;left:auto!important;right:10px!important;top:52px!important;bottom:auto!important;
    width:400px!important;max-width:400px!important;margin:0!important;transform:none!important;
    transition:none!important;z-index:1000!important;
  }
  #map#map>.rm-popup-docked .leaflet-popup-content-wrapper,
  #map#map>.rm-popup-docked.rm-countries-globe-popup>div:not(.rm-countries-globe-popup-close){
    transform:none!important;transition:none!important;
  }
  #map#map>.rm-popup-docked>.leaflet-popup-close-button,
  #map#map>.rm-popup-docked>.rm-countries-globe-popup-close{
    transform:none!important;top:6px!important;right:8px!important;transition:none!important;
  }
  #map#map>.rm-popup-docked>.leaflet-popup-tip-container,
  #map#map>.rm-popup-docked:after{display:none!important}
}
@media (min-width:1001px){
  #map .leaflet-popup:not(.rm-coords-popup):not(.rm-countries-globe-coords-popup):not(.rm-moon-globe-coords-popup):not(.rm-mars-globe-coords-popup) .leaflet-popup-content-wrapper,
  #map .rm-countries-globe-popup:not(.rm-countries-globe-coords-popup):not(.rm-stars3d-coords):not(.rm-moon-globe-coords-popup):not(.rm-mars-globe-coords-popup)>div:not(.rm-countries-globe-popup-close){
    border:1px solid rgba(0,0,0,.3)!important;border-radius:6px!important;
    box-shadow:0 1px 5px rgba(0,0,0,.4)!important;
  }
}
/* Match the Overlays frame to the Maps dropdown. */
#map#map#map#map .leaflet-control-layers:is(.rm-subcontrol,.rm-earth-basemaps-control):not(.rm-maps-control){
  border:1px solid rgba(0,0,0,.3)!important;border-radius:6px!important;
  box-shadow:0 1px 5px rgba(0,0,0,.4)!important;
}
@media (min-width:481px){
  #map#map#map#map .leaflet-control-layers:is(.rm-subcontrol,.rm-earth-basemaps-control):not(.rm-maps-control):not(.leaflet-control-layers-expanded){
    width:104px!important;min-width:104px!important;max-width:104px!important;
  }
  #map#map#map#map .leaflet-control-layers:is(.rm-subcontrol,.rm-earth-basemaps-control):not(.rm-maps-control):not(.leaflet-control-layers-expanded)>a.leaflet-control-layers-toggle{
    width:102px!important;min-width:102px!important;max-width:102px!important;
  }
}
#map#map#map#map .rm-projection-docked,
#map#map#map#map .rm-projection-docked>.rm-moon-mode{
  width:110px!important;min-width:110px!important;max-width:110px!important;
}
#map#map#map#map .rm-projection-docked .rm-moon-mode-btn:first-child{display:none!important}
#map#map#map#map .rm-projection-docked .rm-moon-mode-btn:last-child{
  width:108px!important;min-width:108px!important;max-width:108px!important;
  flex:0 0 108px!important;border-left:0!important;border-radius:5px!important;gap:7px!important;
}
#map#map#map#map .rm-projection-docked .rm-moon-mode-btn:last-child:before{
  content:"";display:block!important;flex:0 0 18px!important;width:18px!important;height:18px!important;
  background-color:currentColor!important;
  -webkit-mask:url("sphere-view-oval.svg?v=20261014-3") center/18px 18px no-repeat;
  mask:url("sphere-view-oval.svg?v=20261014-3") center/18px 18px no-repeat;
  rotate:0deg;
  filter:none;
}

/* Button text keeps the same weight in default, hover and active states. */
#map#map#map#map :is(.leaflet-control button,.easy-button-button,[role="button"]:not(.leaflet-marker-icon),a.leaflet-control-layers-toggle,.rm-map-row),
#map#map#map#map :is(.leaflet-control button,.easy-button-button,[role="button"]:not(.leaflet-marker-icon),a.leaflet-control-layers-toggle,.rm-map-row) :is(span,b,strong),
#map#map#map#map :is(.leaflet-control button,.easy-button-button,[role="button"]:not(.leaflet-marker-icon),a.leaflet-control-layers-toggle,.rm-map-row)::before,
#map#map#map#map :is(.leaflet-control button,.easy-button-button,[role="button"]:not(.leaflet-marker-icon),a.leaflet-control-layers-toggle,.rm-map-row)::after,
#map#map#map#map :is(.leaflet-control button,.easy-button-button,[role="button"]:not(.leaflet-marker-icon),a.leaflet-control-layers-toggle,.rm-map-row) span::after{
  font-weight:400!important;
}

/* rawmaps.com keeps its normal brand label in every state. */
#map#map#map#map .rm-maps-control.leaflet-control-layers>a.leaflet-control-layers-toggle,
#map#map#map#map .rm-maps-control.leaflet-control-layers>a.leaflet-control-layers-toggle :is(span,b,strong){
  font-weight:400!important;
}

/* Soft relief shared by the map's toolbar and panel buttons. */
#map#map#map#map :is(
  .rm-maps-control>a.leaflet-control-layers-toggle,
  .rm-subcontrol>a.leaflet-control-layers-toggle,
  .rm-earth-basemaps-control>a.leaflet-control-layers-toggle,
  .rm-home-standalone,.rm-home-standalone .leaflet-control-zoomhome-home,
  .easy-button-button,.rm-tools-toggle,
  .rm-projection-docked .rm-moon-mode-btn:last-child,
  .rm-moon-anim-btn,.rm-coords-copy,.rm-coords-share,
  .rm-search-mobile-toggle,.rm-search-submit
){
  background:linear-gradient(to bottom,#fffef9 0%,#f4f1e8 55%,#e8e4d9 100%)!important;
  border-color:rgba(60,53,39,.38)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.95),inset 0 -1px 0 rgba(90,78,53,.12),0 2px 4px rgba(0,0,0,.32)!important;
}
#map#map#map#map :is(.rm-home-standalone .leaflet-control-zoomhome-home){
  box-shadow:inset 0 1px 0 rgba(255,255,255,.95)!important;
}
#map#map#map#map :is(.easy-button-button,.rm-tools-toggle,.rm-search-submit,.rm-moon-anim-btn,.leaflet-control-layers-toggle):hover{
  background:linear-gradient(to bottom,#fffefb,#efebe0)!important;
}
#map#map#map#map :is(.easy-button-button,.rm-tools-toggle,.rm-search-submit,.rm-moon-anim-btn,.leaflet-control-layers-toggle):active{
  background:linear-gradient(to bottom,#e7e2d6,#f4f0e5)!important;
  box-shadow:inset 0 1px 3px rgba(60,50,30,.2),0 1px 2px rgba(0,0,0,.22)!important;
}

/* One 18px icon size across the toolbar and its tools, matching Search. */
#map#map#map#map :is(.rm-tools-toggle,.rm-search-submit,.rm-search-mobile-toggle,.rm-projection-docked,.rm-share-control) svg{
  width:18px!important;height:18px!important;flex-shrink:0!important;
}
#map#map#map#map .rm-maps-control>a.leaflet-control-layers-toggle::after{
  width:18px!important;height:18px!important;flex:0 0 18px!important;background-size:18px 18px!important;
}
#map#map#map#map :is(.rm-home-standalone .leaflet-control-zoomhome-home,.rm-tools-panel .button-state,.rm-tools-panel .leaflet-control a){
  background-size:18px 18px!important;
}
#map#map#map#map :is(.rm-home-standalone .leaflet-control-zoomhome-home,.rm-share-control .button-state,.rm-tools-panel .button-state)::before{
  width:18px!important;height:18px!important;
  background-size:18px 18px!important;-webkit-mask-size:18px 18px!important;mask-size:18px 18px!important;
}

/* The Maps menu has a small disclosure chevron on its right edge. */
#map#map#map#map .rm-maps-control.leaflet-control-layers>a.leaflet-control-layers-toggle::before{
  content:""!important;display:block!important;position:absolute!important;
  right:12px!important;left:auto!important;top:50%!important;
  width:6px!important;height:6px!important;margin:0!important;
  border:0!important;border-right:1.5px solid currentColor!important;border-bottom:1.5px solid currentColor!important;
  background:none!important;-webkit-mask:none!important;mask:none!important;
  transform:translateY(-70%) rotate(45deg)!important;
}
#map#map#map#map .rm-maps-control.leaflet-control-layers-expanded>a.leaflet-control-layers-toggle::before{
  transform:translateY(-20%) rotate(225deg)!important;
}



/* Overlays uses the same trigger geometry and chevron as Raw Maps. */
#map#map#map#map#map .leaflet-bottom .rm-subcontrol:not(.rm-maps-control){
  position:relative!important;width:160px!important;min-width:160px!important;max-width:160px!important;
  height:36px!important;min-height:36px!important;max-height:36px!important;
  padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important;overflow:visible!important;
}
#map#map#map#map#map .leaflet-bottom .rm-subcontrol:not(.rm-maps-control)>a.leaflet-control-layers-toggle{
  display:flex!important;align-items:center!important;justify-content:flex-start!important;position:relative!important;
  width:160px!important;min-width:160px!important;max-width:160px!important;
  height:36px!important;min-height:36px!important;max-height:36px!important;
  box-sizing:border-box!important;margin:0!important;padding:0 28px 0 46px!important;
  border:1px solid rgba(0,0,0,.3)!important;border-radius:6px!important;
  background:#f4f1e8!important;color:#111!important;font:400 13px Arial,sans-serif!important;
  letter-spacing:normal!important;text-indent:0!important;white-space:nowrap!important;
  box-shadow:0 1px 5px rgba(0,0,0,.67)!important;
}
#map#map#map#map#map .leaflet-bottom .rm-subcontrol:not(.rm-maps-control).leaflet-control-layers-expanded>a.leaflet-control-layers-toggle{color:green!important}
#map#map#map#map#map .leaflet-bottom .rm-subcontrol:not(.rm-maps-control)>a.leaflet-control-layers-toggle::before{
  content:""!important;display:block!important;position:absolute!important;left:18px!important;top:50%!important;
  transform:translateY(-50%)!important;width:18px!important;height:18px!important;margin:0!important;border:0!important;
  background:url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27currentColor%27%20stroke-width%3D%272%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Cellipse%20cx%3D%2712%27%20cy%3D%275%27%20rx%3D%278%27%20ry%3D%273%27%2F%3E%3Cpath%20d%3D%27M4%205v6c0%201.7%203.6%203%208%203s8-1.3%208-3V5%27%2F%3E%3Cpath%20d%3D%27M4%2011v6c0%201.7%203.6%203%208%203s8-1.3%208-3v-6%27%2F%3E%3C%2Fsvg%3E") center/18px 18px no-repeat!important;-webkit-mask:none!important;mask:none!important;
}
#map#map#map#map#map .leaflet-bottom .rm-subcontrol:not(.rm-maps-control)>a.leaflet-control-layers-toggle::after{
  content:""!important;display:block!important;position:absolute!important;right:12px!important;left:auto!important;top:50%!important;
  width:6px!important;height:6px!important;margin:0!important;padding:0!important;
  border:0!important;border-right:1.5px solid currentColor!important;border-bottom:1.5px solid currentColor!important;
  background:none!important;-webkit-mask:none!important;mask:none!important;
  transform:translateY(-20%) rotate(225deg)!important;
}
#map#map#map#map#map .leaflet-bottom .rm-subcontrol:not(.rm-maps-control).leaflet-control-layers-expanded>a.leaflet-control-layers-toggle::after{transform:translateY(-70%) rotate(45deg)!important}
#map#map#map#map#map .leaflet-bottom .rm-subcontrol:not(.rm-maps-control)>.leaflet-control-layers-list{
  position:absolute!important;left:0!important;right:auto!important;bottom:42px!important;top:auto!important;
  width:210px!important;min-width:210px!important;max-width:210px!important;box-sizing:border-box!important;
  padding:10px!important;margin:0!important;max-height:calc(100dvh - 110px)!important;overflow-y:auto!important;
  border:1px solid rgba(0,0,0,.3)!important;border-radius:6px!important;background:#f4f1e8!important;box-shadow:0 1px 5px rgba(0,0,0,.4)!important;
}
#map#map#map#map#map .leaflet-bottom .rm-subcontrol:not(.rm-maps-control).leaflet-control-layers-expanded>.leaflet-control-layers-list{display:block!important}
#map#map#map#map#map .leaflet-bottom .rm-subcontrol:not(.rm-maps-control):not(.leaflet-control-layers-expanded)>.leaflet-control-layers-list{display:none!important}
#map#map#map#map#map .leaflet-bottom .rm-subcontrol:not(.rm-maps-control)>.rm-ctl-close{display:none!important}

/* Keep the original solid chevron glyphs, sized and centred like the close glyph. */
#map#map#map .rm-pop .rm-pop-arrows {
  top:6px!important;right:52px!important;height:44px!important;
  display:flex!important;align-items:center!important;gap:0!important;
  padding:0!important;margin:0!important;
}
#map#map#map .rm-pop .rm-pop-arrows .rm-pop-arrow {
  display:flex!important;align-items:center!important;justify-content:center!important;
  width:36px!important;min-width:36px!important;height:44px!important;flex:0 0 36px!important;
  padding:0!important;margin:0!important;font-family:Arial,sans-serif!important;
  font-size:28px!important;font-weight:700!important;line-height:44px!important;color:#444!important;
}
#map#map#map :is(.leaflet-popup-close-button,.rm-countries-globe-popup-close,.rm-moon-globe-popup-close,.rm-mars-globe-popup-close) {
  top:6px!important;right:8px!important;width:44px!important;height:44px!important;
  box-sizing:border-box!important;padding:0!important;line-height:44px!important;
  font-family:Arial,sans-serif!important;font-size:28px!important;text-align:center!important;
}

/* Optical alignment of solid chevrons with the close cross. */
#map#map#map .rm-pop .rm-pop-arrows { transform:translateY(-3px)!important; }

html[data-rm-arrow-flash="prev"] #map#map#map .rm-pop .rm-pop-prev,
html[data-rm-arrow-flash="next"] #map#map#map .rm-pop .rm-pop-next,
#map#map#map .rm-pop .rm-pop-arrow:active {
  color:green!important;-webkit-text-fill-color:green!important;
}

/* Compact left triggers on phones: icons only, including expanded state. */
@media(max-width:700px) {
  #map#map#map#map#map#map .rm-maps-control>a.leaflet-control-layers-toggle,
  #map#map#map#map#map#map .leaflet-bottom .rm-subcontrol:not(.rm-maps-control),
  #map#map#map#map#map#map .leaflet-bottom .rm-subcontrol:not(.rm-maps-control)>a.leaflet-control-layers-toggle {
    width:36px!important;min-width:36px!important;max-width:36px!important;
  }
  #map#map#map#map#map#map .rm-maps-control>a.leaflet-control-layers-toggle,
  #map#map#map#map#map#map .leaflet-bottom .rm-subcontrol:not(.rm-maps-control)>a.leaflet-control-layers-toggle {
    font-size:0!important;letter-spacing:0!important;padding:0!important;
  }
  #map#map#map#map#map#map .rm-maps-control>a.leaflet-control-layers-toggle::before,
  #map#map#map#map#map#map .leaflet-bottom .rm-subcontrol:not(.rm-maps-control)>a.leaflet-control-layers-toggle::after {
    display:none!important;
  }
  #map#map#map#map#map#map .rm-maps-control>a.leaflet-control-layers-toggle::after,
  #map#map#map#map#map#map .leaflet-bottom .rm-subcontrol:not(.rm-maps-control)>a.leaflet-control-layers-toggle::before {
    left:50%!important;top:50%!important;transform:translate(-50%,-50%)!important;
  }
}

@media(max-width:700px) {
  #map#map#map#map#map#map#map :is(.rm-maps-control>a.leaflet-control-layers-toggle,.rm-home-standalone,.rm-home-standalone .leaflet-control-zoomhome-home,.rm-projection-docked,.rm-projection-docked .rm-moon-mode,.rm-projection-docked .rm-moon-mode-btn:last-child,.leaflet-bottom .rm-subcontrol:not(.rm-maps-control),.leaflet-bottom .rm-subcontrol:not(.rm-maps-control)>a.leaflet-control-layers-toggle) {
    width:34px!important;min-width:34px!important;max-width:34px!important;
    height:34px!important;min-height:34px!important;max-height:34px!important;
    box-sizing:border-box!important;flex:0 0 34px!important;padding:0!important;
  }
  #map#map#map#map#map#map#map .rm-projection-docked .rm-moon-mode-btn:last-child {
    display:flex!important;align-items:center!important;justify-content:center!important;gap:0!important;font-size:0!important;
  }
  #map#map#map#map#map#map#map .rm-projection-docked .rm-moon-mode-btn:last-child svg,
  #map#map#map#map#map#map#map .rm-projection-docked .rm-moon-mode-btn:last-child::after {display:none!important}
  #map#map#map#map#map#map#map .rm-maps-control>a.leaflet-control-layers-toggle::after {
    position:absolute!important;left:50%!important;top:50%!important;transform:translate(-50%,-50%)!important;margin:0!important;
  }
}

/* Mobile toolbar positions are independent of menu expansion. */
@media(max-width:700px) {
  #map#map#map#map#map#map#map#map .leaflet-top.leaflet-left>.rm-maps-control {
    position:fixed!important;top:8px!important;left:4px!important;
    margin:0!important;padding:0!important;border:0!important;background:transparent!important;
    width:34px!important;min-width:34px!important;max-width:34px!important;
    height:34px!important;min-height:34px!important;max-height:34px!important;
    box-shadow:none!important;overflow:visible!important;
  }
  #map#map#map#map#map#map#map#map .leaflet-top.leaflet-left>.rm-home-standalone {
    top:8px!important;left:44px!important;margin:0!important;
  }
  #map#map#map#map#map#map#map#map .leaflet-top.leaflet-left>.rm-projection-docked {
    top:8px!important;left:84px!important;margin:0!important;
  }
  #map#map#map#map#map#map#map#map .rm-home-standalone .leaflet-control-zoomhome-home {
    position:relative!important;width:32px!important;min-width:32px!important;max-width:32px!important;
    height:32px!important;line-height:32px!important;padding:0!important;margin:0!important;
  }
  #map#map#map#map#map#map#map#map .rm-home-standalone .leaflet-control-zoomhome-home::before,
  #map#map#map#map#map#map#map#map .rm-projection-docked .rm-moon-mode-btn:last-child::before {
    position:absolute!important;left:50%!important;top:50%!important;
    transform:translate(-50%,-50%)!important;margin:0!important;
  }
  #map#map#map#map#map#map#map#map .rm-projection-docked .rm-moon-mode-btn:last-child {position:relative!important}
}

@media(max-width:700px) {
 #map#map#map#map#map#map#map#map#map .rm-maps-control>a.leaflet-control-layers-toggle { position:absolute!important;left:0!important;top:0!important;right:auto!important;bottom:auto!important;transform:none!important;margin:0!important;padding:0!important;width:34px!important;min-width:34px!important;max-width:34px!important;height:34px!important;min-height:34px!important;max-height:34px!important;box-sizing:border-box!important; }
 #map#map#map#map#map#map#map#map#map .rm-maps-control>a.leaflet-control-layers-toggle::after { width:18px!important;height:18px!important;background-size:18px 18px!important; }
}

/* Center the expanded mobile search independently of its toolbar button. */
@media (max-width:700px){
  .rm-search-control .rm-search-form,
  .rm-search-control .rm-search-panel{left:50%!important;right:auto!important;transform:translateX(-50%)!important;box-sizing:border-box}
}

/* Keep mobile layer triggers aligned with More Maps in both states. */
@media(max-width:700px){
 #map#map#map#map#map#map#map#map#map .leaflet-bottom.leaflet-left .rm-subcontrol:not(.rm-maps-control){left:-6px!important;right:auto!important;margin-left:0!important;transform:none!important}
}

.rm-earth-dark-tiles {filter:invert(1) hue-rotate(180deg) brightness(.65) saturate(.6);}
.rm-countries-overlay-control input[type=radio] {float:right;margin-left:12px;accent-color:#55c768;}
@media(max-width:700px){
 #map .leaflet-bottom.leaflet-left .leaflet-control-attribution {
  position:relative!important;left:auto!important;right:auto!important;bottom:auto!important;
  width:100vw!important;max-width:100vw!important;box-sizing:border-box!important;clear:both!important;
  white-space:normal!important;line-height:1.3!important;overflow:visible!important;
 }
}

/* Selected toolbar icons share the projection switch's green treatment. */
#map#map#map#map#map#map#map#map#map#map :is(button,a[role="button"],.leaflet-control-zoomhome-home):is(:active,:focus-visible,.is-active,.rm-action-active,[aria-pressed="true"],[aria-expanded="true"]),
.rm-search-control:focus-within :is(.rm-search-submit,.rm-search-mobile-toggle),
.rm-search-control.is-mobile-open .rm-search-mobile-toggle {
 color:green!important;-webkit-text-fill-color:green!important;
}
#map#map#map#map#map#map#map#map#map#map .leaflet-control-zoomhome-home:is(:active,:focus-visible,.rm-action-active)::before {
 background-color:green!important;
}
#map#map#map#map#map#map#map#map#map#map :is(button,a[role="button"]):is(:active,:focus-visible,.is-active,.rm-action-active,[aria-pressed="true"],[aria-expanded="true"]) svg,
.rm-search-control:focus-within svg,
.rm-search-control.is-mobile-open .rm-search-mobile-toggle svg {
 color:green!important;stroke:green!important;
}
#map#map#map#map#map#map#map#map#map#map :is(button,a[role="button"]):is(:active,:focus-visible,.is-active,.rm-action-active,[aria-pressed="true"],[aria-expanded="true"]) svg [stroke],
.rm-search-control:focus-within svg [stroke],
.rm-search-control.is-mobile-open .rm-search-mobile-toggle svg [stroke] {
 stroke:green!important;
}

/* Data-URL icons do not inherit currentColor; recolor their monochrome pixels. */
#map#map#map#map#map#map#map#map#map#map .leaflet-control-layers-toggle:is(:active,:focus-visible,[aria-expanded="true"])::before {
 filter:brightness(0) saturate(100%) invert(25%) sepia(100%) saturate(1830%) hue-rotate(95deg) brightness(95%) contrast(110%)!important;
}
#map#map#map#map#map#map#map#map#map#map .easy-button-button:is(:active,:focus-visible,.is-active,.rm-action-active,[aria-pressed="true"]) .button-state::before {
 background-color:green!important;
}

/* Responsive Moon/Mars controls and popup layouts. */
.rm-space-sheet-close{display:none;}
.rm-space-years{font:12px/1.4 Arial,sans-serif;text-align:center;padding:4px 0;}
.rm-moon-tl-h:focus-visible{outline:2px solid green;outline-offset:3px;}
.rm-space-layers .rm-moon-timeline{padding-top:6px;}
@media(max-width:700px){
 .rm-space-layers .rm-moon-timeline{clear:both;}
 .rm-space-mobile-popup::after,.rm-space-mobile-popup::before{display:none!important;}
}

.rm-space-years{position:absolute;top:100%;left:0;width:100%;}
.rm-space-layers .rm-moon-timeline{padding-bottom:0;}
.rm-moon-tl-h::before{content: '';position:absolute;inset:-8px;}

@media(max-width:700px){.rm-space-layers .leaflet-control-layers-list{overflow-x:hidden!important;}.rm-space-layers .rm-moon-tl{margin-left:8px;margin-right:8px;}}

.rm-space-layers .rm-moon-timeline{position:relative;}
.rm-space-layers .rm-space-years{top:auto;bottom:0;padding:0;line-height:20px;}
/* Bottom-left map credits, scale and Layers have separate rows. */
#map#map#map#map#map#map#map#map#map#map .leaflet-control-attribution {
 position:fixed!important;left:5px!important;bottom:5px!important;right:auto!important;top:auto!important;
 margin:0!important;padding:0!important;width:auto!important;max-width:calc(100vw - 10px)!important;
}
#map#map#map#map#map#map#map#map#map#map .leaflet-control-scale {
 position:fixed!important;left:5px!important;bottom:25px!important;right:auto!important;top:auto!important;margin:0!important;
}
 #map#map#map#map#map#map#map#map#map#map .leaflet-bottom.leaflet-left .rm-subcontrol:not(.rm-maps-control) {
  position:fixed!important;left:5px!important;bottom:65px!important;right:auto!important;top:auto!important;margin:0!important;
 }
/* Earth mobile globe cards open above the selected place. */
@media(max-width:700px){
 body.earth #map .rm-countries-globe-popup:not(.rm-countries-globe-coords-popup)::after {
  display:block!important;top:auto!important;bottom:-10px!important;left:50%!important;
  width:20px!important;height:20px!important;background:#fff!important;
  transform:translateX(-50%) rotate(45deg)!important;box-shadow:none!important;
 }
}

/* Reserve the Layers position for the mobile globe detail while open. */
@media(max-width:700px){body.earth #map:has(.rm-countries-globe-popup:not([style*="display: none"])) .rm-countries-overlay-control{visibility:hidden!important;pointer-events:none!important;}}

/* Use the globe's yellow selection ring for Moon/Mars 2D markers too. */
.leaflet-marker-icon.rm-space-2d-selected{visibility:visible!important;}
.leaflet-marker-icon.rm-space-2d-selected:after{
 content:"";position:absolute;left:50%;top:50%;width:32px;height:32px;
 box-sizing:border-box;transform:translate(-50%,-50%);border:4px solid #ffd400;
 border-radius:50%;background:transparent;box-shadow:0 2px 5px 1px rgba(0,0,0,.46),0 0 2px rgba(0,0,0,.35);
 pointer-events:none;z-index:30;
}

/* Mars terrain icons are images; highlight those as well as mission div icons. */
img.leaflet-marker-icon.rm-space-2d-selected{border-radius:50%!important;outline:4px solid #ffd400!important;outline-offset:-3px;box-shadow:0 2px 5px rgba(0,0,0,.46)!important;}
/* Keep both Moon/Mars timeline handles and their hit areas inside the same panel. */
.rm-space-layers .rm-moon-tl{width:calc(100% - 24px)!important;max-width:calc(100% - 24px)!important;min-width:0!important;margin-left:12px!important;margin-right:12px!important;box-sizing:border-box!important;}
.rm-space-layers .leaflet-control-layers-list{overflow-x:hidden!important;}

/* Selected Moon/Mars flags follow the rectangular Earth flag highlight. */
.leaflet-marker-icon.rm-space-2d-selected:has(.rm-moon-flag-marker,.rm-mars-flag-marker):after,
.rm-moon-globe-marker.rm-globe-selected .rm-moon-flag-marker:after,
.rm-mars-globe-marker.rm-globe-selected .rm-mars-flag-marker:after{display:none!important;}
.leaflet-marker-icon.rm-space-2d-selected .rm-moon-flag-marker img,
.leaflet-marker-icon.rm-space-2d-selected .rm-mars-flag-marker img,
.rm-moon-globe-marker.rm-globe-selected .rm-moon-flag-marker img,
.rm-mars-globe-marker.rm-globe-selected .rm-mars-flag-marker img{
 background:#ffff00!important;border-radius:2px!important;
 box-shadow:0 0 0 5px #ffff00,0 2px 8px 7px rgba(255,215,0,.58)!important;filter:none!important;
}

/* Moon/Mars 3D labels match their Leaflet 2D tooltip boxes and tips. */
.rm-moon-globe-marker .rm-moon-globe-tip,
.rm-mars-globe-marker .rm-mars-globe-tip{
 bottom:calc(100% + 6px)!important;border-radius:3px!important;
 font-family:"Helvetica Neue",Arial,Helvetica,sans-serif!important;
}
.rm-moon-globe-marker .rm-moon-globe-tip:before,
.rm-mars-globe-marker .rm-mars-globe-tip:before{
 content:"";position:absolute;left:50%;bottom:-12px;margin-left:-6px;
 width:0;height:0;border:6px solid transparent;border-top-color:#fff;pointer-events:none;
}
.rm-anim-active .rm-moon-globe-tip:before,.rm-anim-active.rm-moon-globe-tip:before,
.rm-anim-active .rm-mars-globe-tip:before,.rm-anim-active.rm-mars-globe-tip:before{border-top-color:#000;}

/* Narrow Earth country cards: reduce the square photo by 25 percent. */
@media(max-width:700px){
 body.earth .pop-wrap[data-rm-type="country"] .rm-pop-col-media,
 body.earth .pop-wrap[data-rm-type="eez"] .rm-pop-col-media{
  width:75%!important;min-width:0!important;justify-self:end!important;
  height:auto!important;aspect-ratio:1 / 1!important;
 }
}

/* Give the space released by the smaller photo to the links column. */
@media(max-width:700px){
 body.earth .pop-wrap[data-rm-type="country"] .rm-pop-main,
 body.earth .pop-wrap[data-rm-type="eez"] .rm-pop-main{
  grid-template-columns:minmax(0,1fr) clamp(90px,calc((100% - 12px)*.375),187.5px)!important;
 }
 body.earth .pop-wrap[data-rm-type="country"] .rm-pop-col-media,
 body.earth .pop-wrap[data-rm-type="eez"] .rm-pop-col-media{width:100%!important;}
}

/* EEZ facts: water area follows land area before the links. */
@media(max-width:1000px){
 .pop-wrap[data-rm-type="eez"] .pop-row-areaeez{grid-column:1!important;grid-row:4!important;}
 .pop-wrap[data-rm-type="eez"] .pop-links{grid-row:5 / span 2!important;}
 .pop-wrap[data-rm-type="eez"] .rm-pop-col-media{grid-row:2 / span 5!important;}
}

/* Narrow Moon/Mars details share Earth's text/photo proportions. */
@media(max-width:700px){
 body:is(.moon,.mars) .pop-wrap[data-rm-space] .rm-pop-main:has(.rm-pop-col-media){
  display:grid!important;grid-template-columns:minmax(0,1fr) clamp(90px,calc((100% - 12px)*.375),187.5px)!important;
  column-gap:12px!important;align-items:start!important;width:100%!important;
 }
 body:is(.moon,.mars) .pop-wrap[data-rm-space] .rm-pop-col-text{
  display:block!important;width:auto!important;min-width:0!important;grid-column:1!important;
 }
 body:is(.moon,.mars) .pop-wrap[data-rm-space] .rm-pop-col-media{
  display:block!important;grid-column:2!important;width:100%!important;min-width:0!important;
  height:auto!important;aspect-ratio:1 / 1!important;overflow:hidden!important;border-radius:5px!important;margin:0!important;
 }
 body:is(.moon,.mars) .pop-wrap[data-rm-space] .rm-pop-col-media img{
  display:block!important;width:100%!important;height:100%!important;max-height:none!important;
  aspect-ratio:1 / 1!important;object-fit:cover!important;
 }
}

@media(max-width:700px){
 body:is(.moon,.mars) .pop-wrap[data-rm-space] .rm-pop-main:has(.rm-pop-col-media){
  display:flow-root!important;margin-top:14px!important;
 }
 body:is(.moon,.mars) .pop-wrap[data-rm-space] .rm-pop-col-media{
  float:right!important;width:clamp(90px,calc((100% - 12px)*.375),187.5px)!important;
  margin:0 0 12px 12px!important;
 }
 body:is(.moon,.mars) .pop-wrap[data-rm-space] .rm-pop-col-text{display:contents!important;}
 body:is(.moon,.mars) .pop-wrap[data-rm-space] .pop-desc,
 body:is(.moon,.mars) .pop-wrap[data-rm-space] .pop-desc p{
  display:block!important;width:auto!important;clear:none!important;overflow:visible!important;
 }
}

@media(max-width:700px){
 body:is(.moon,.mars) .pop-wrap[data-rm-space] .rm-pop-ident-empty{display:none!important;}
 body:is(.moon,.mars) .pop-wrap[data-rm-space] .pop-row{display:block!important;width:auto!important;clear:none!important;}
}

/* Narrow lightbox: title and image without descriptive text. */
@media(max-width:700px){.rm-lightbox .lb-desc{display:none!important;}}

@media(max-width:700px){.rm-lightbox.show .lb-frame::after{top:30px!important;right:-7px!important;}}

/* Consistent breathing room around narrow detail popup headers. */
@media(max-width:1000px){
 #map#map#map .pop-wrap .rm-pop-head{
  padding-top:8px!important;padding-bottom:12px!important;margin-top:0!important;margin-bottom:0!important;
 }
 #map#map#map .rm-pop .rm-pop-arrows{top:2px!important;}
 #map#map#map :is(.leaflet-popup-close-button,.rm-countries-globe-popup-close,.rm-moon-globe-popup-close,.rm-mars-globe-popup-close){top:2px!important;}
}

/* Mobile content fits its actual popup, not the viewport width. */
@media(max-width:1000px){
 #map#map#map .leaflet-popup-content:has(>.pop-wrap){
  width:auto!important;max-width:100%!important;box-sizing:border-box!important;
 }
 #map#map#map .pop-wrap,#map#map#map .pop-wrap .rm-pop{
  width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important;
 }
}

@media(min-width:701px) and (max-width:1000px){
 #map#map#map .pop-wrap:is([data-rm-type="country"],[data-rm-type="eez"]) .rm-pop-main{
  grid-template-columns:minmax(0,1fr) clamp(90px,calc((100% - 12px)*.375),187.5px)!important;
 }
 #map#map#map .pop-wrap:is([data-rm-type="country"],[data-rm-type="eez"]) .rm-pop-col-media{width:100%!important;min-width:0!important;}
}

/* Shared vertical rhythm for detail titles, facts and descriptions. */
#map#map#map .pop-wrap .rm-pop-head{padding-bottom:0!important;margin-bottom:14px!important;}
#map#map#map .pop-wrap .rm-pop-col-text{gap:8px!important;}
#map#map#map .pop-wrap .pop-desc{margin-top:12px!important;line-height:1.5!important;}
#map#map#map .pop-wrap .pop-desc p{margin-top:0!important;margin-bottom:10px!important;}
#map#map#map .pop-wrap .pop-desc p:last-child{margin-bottom:0!important;}
@media(max-width:1000px){
 #map#map#map .pop-wrap .rm-pop-main{row-gap:8px!important;}
}
@media(max-width:700px){
 #map#map#map .pop-wrap[data-rm-space] .pop-row{margin-bottom:6px!important;}
 #map#map#map .pop-wrap[data-rm-space] .rm-pop-main:has(.rm-pop-col-media){margin-top:0!important;}
}
#map#map#map .pop-wrap .rm-pop-ident-empty{display:none!important;}
#map#map#map .pop-wrap .pop-row{margin-top:0!important;margin-bottom:0!important;}

/* Country filters: two independent checkboxes per row. */
#map .rm-moon-filter-rows:has(img[src*="markers/flags/"]),#map .rm-mars-filter-rows:has(img[src*="markers/flags/"]){display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:8px;}
#map .rm-subcontrol :is(.rm-moon-filter-rows,.rm-mars-filter-rows):has(img[src*="markers/flags/"])>label{min-width:0!important;padding-left:0!important;padding-right:0!important;gap:4px!important;}
#map .rm-subcontrol :is(.rm-moon-filter-rows,.rm-mars-filter-rows):has(img[src*="markers/flags/"])>label:not(:has(img[src*="markers/flags/"])){grid-column:1/-1;}
#map .rm-subcontrol :is(.rm-moon-filter-rows,.rm-mars-filter-rows):has(img[src*="markers/flags/"]) .rm-lbl{min-width:0!important;white-space:normal!important;gap:4px!important;}
#map .rm-subcontrol :is(.rm-moon-filter-rows,.rm-mars-filter-rows) img[src*="markers/flags/"]{width:18px!important;max-width:18px!important;height:auto!important;margin-right:4px!important;}

/* Keep the master toggle with the marker filters. */
#map .rm-country-codes-control .rm-moon-toprow{display:flex!important;flex-wrap:wrap!important;row-gap:12px!important;}
#map .rm-country-codes-control .rm-moon-toprow .rm-moon-silence-row{order:10!important;flex:0 0 100%!important;width:100%!important;position:static!important;padding:4px 0!important;margin:0!important;box-sizing:border-box!important;}
#map .rm-country-codes-control .rm-moon-silence-row .rm-lbl{display:block!important;}
#map .rm-country-codes-control .rm-moon-toprow .rm-moon-silence-row{display:flex!important;align-items:center!important;justify-content:space-between!important;} #map .rm-country-codes-control .rm-moon-silence-row .rm-lbl{order:0!important;} #map .rm-country-codes-control .rm-moon-silence-row input{order:1!important;margin:0!important;position:static!important;}

/* Keep the full Share label throughout the medium toolbar layout. */
@media(min-width:701px) and (max-width:1000px){
#map#map#map .leaflet-top.leaflet-left>.rm-share-control,#map#map#map .leaflet-top.leaflet-left>.rm-share-control .easy-button-button{width:104px!important;min-width:104px!important;max-width:104px!important;}
#map#map#map .leaflet-top.leaflet-left>.rm-share-control .button-state{width:auto!important;min-width:0!important;max-width:none!important;padding:0 13px 0 42px!important;}
#map#map#map .leaflet-top.leaflet-left>.rm-share-control .button-state::after{content:"Share"!important;display:inline!important;}
#map#map#map .leaflet-top.leaflet-left>.rm-tools-control{right:122px!important;}
#map#map#map .rm-search-control{right:164px!important;}
}
@media(min-width:701px){
#map#map#map#map#map#map#map#map#map#map#map .leaflet-bottom.leaflet-left .rm-subcontrol:not(.rm-maps-control),#map#map#map#map#map#map#map#map#map#map#map .leaflet-control-scale{left:10px!important;}
}
@media(min-width:701px) and (max-width:1000px){#map#map#map#map#map#map#map#map#map#map#map .leaflet-top.leaflet-left>.rm-tools-control{right:122px!important;}#map#map#map#map#map#map#map#map#map#map#map .rm-search-control{right:164px!important;width:180px!important;}#map#map#map#map#map#map#map#map#map#map#map .rm-share-control .easy-button-button{border-radius:6px!important;}}
@media(min-width:701px) and (max-width:1000px){body .rm-search-control{right:164px!important;width:180px!important;}body #map .rm-tools-toggle{right:122px!important;}body #map .rm-tools-control{right:122px!important;}}

/* Country cards keep their white pointer in the medium layout too. */
@media(min-width:701px) and (max-width:1000px){
#map#map#map .leaflet-popup:has(.pop-wrap:is([data-rm-type="country"],[data-rm-type="eez"])) .leaflet-popup-tip-container{display:block!important;position:absolute!important;left:50%!important;bottom:-20px!important;width:40px!important;height:20px!important;margin-left:-20px!important;overflow:hidden!important;pointer-events:none!important;}
#map#map#map .leaflet-popup:has(.pop-wrap:is([data-rm-type="country"],[data-rm-type="eez"])) .leaflet-popup-tip{width:17px!important;height:17px!important;padding:1px!important;margin:-10px auto 0!important;background:#fff!important;border:0!important;border-radius:0!important;transform:rotate(45deg)!important;box-shadow:none!important;}
#map#map#map .rm-countries-globe-popup:has(.pop-wrap:is([data-rm-type="country"],[data-rm-type="eez"]))::after{content:""!important;display:block!important;position:absolute!important;left:50%!important;top:auto!important;bottom:-10px!important;width:20px!important;height:20px!important;background:#fff!important;border:0!important;border-radius:0!important;transform:translateX(-50%) rotate(45deg)!important;box-shadow:none!important;}
}

/* Extra space below the detail navigation above the right media column. */
@media(max-width:1000px){
#map#map#map .pop-wrap .rm-pop-col-media{padding-top:10px!important;}
}

/* Put the extra navigation clearance above the identity row, not below it. */
@media(max-width:1000px){
#map#map#map .pop-wrap:has(.rm-pop-ident:not(.rm-pop-ident-empty)) .rm-pop-col-media{padding-top:0!important;}
#map#map#map .pop-wrap .rm-pop-ident:not(.rm-pop-ident-empty){padding-top:10px!important;}
}
@media(max-width:1000px){#map#map#map .pop-wrap:has(.rm-pop-ident:not(.rm-pop-ident-empty)) .rm-pop-col-media{padding-top:10px!important;}#map#map#map .pop-wrap .rm-pop-ident:not(.rm-pop-ident-empty){padding-top:0!important;transform:translateY(10px)!important;}}

/* Labeled Moon/Mars marker display modes. */
#map#map#map .rm-country-codes-control .rm-moon-mode-btn[data-mode]{width:auto!important;min-width:0!important;max-width:none!important;padding:0 8px!important;white-space:nowrap!important;}

#map#map#map .rm-country-codes-control .rm-moon-mode-btn[data-mode]{font-size:12px!important;font-family:Arial,Helvetica,sans-serif!important;font-weight:400!important;}

/* Shared active-object ring: the same yellow and glow as selected flags. */
:root{--rm-active-ring:#ffff00;--rm-active-glow:0 2px 8px 7px rgba(255,215,0,.58);}
#map .leaflet-marker-icon.rm-space-2d-selected:not(:has(.rm-moon-flag-marker,.rm-mars-flag-marker))::after,
#map .rm-moon-globe-marker.rm-globe-selected .rm-moon-marker::after,
#map .rm-mars-globe-marker.rm-globe-selected .rm-mars-marker::after{
 border:5px solid var(--rm-active-ring)!important;box-shadow:var(--rm-active-glow)!important;
}
#map img.leaflet-marker-icon.rm-space-2d-selected{outline:5px solid var(--rm-active-ring)!important;outline-offset:0!important;box-shadow:var(--rm-active-glow)!important;}
#map .leaflet-popup:not(.rm-coords-popup):not(:has(.pop-wrap[data-rm-type="country"],.pop-wrap[data-rm-type="eez"])) .leaflet-popup-tip:not(:empty){border-color:var(--rm-active-ring)!important;}
@media(min-width:701px){
#map .leaflet-popup:not(.rm-coords-popup):not(:has(.pop-wrap[data-rm-type="country"],.pop-wrap[data-rm-type="eez"])) .leaflet-popup-tip,
#map .rm-countries-globe-popup:not(.rm-countries-globe-coords-popup):not(.rm-space-globe-coords-popup):not(.rm-stars3d-coords):not(:has(.pop-wrap[data-rm-type="country"],.pop-wrap[data-rm-type="eez"]))::after{
 border:5px solid var(--rm-active-ring)!important;box-shadow:var(--rm-active-glow)!important;
}
}
#map .rm-stars3d-marker.rm-space3d-selected::after{content:"";position:absolute;left:50%;top:50%;width:32px;height:32px;box-sizing:border-box;border:5px solid var(--rm-active-ring);border-radius:50%;transform:translate(-50%,-50%);background:transparent;box-shadow:var(--rm-active-glow);pointer-events:none;z-index:30;} #map .rm-countries-globe-capital.rm-earth-point-icon.rm-selected::before{border-color:var(--rm-active-ring)!important;box-shadow:0 0 0 5px var(--rm-active-ring),var(--rm-active-glow)!important;}

/* Marker mode and master toggle share one compact row. */
#map#map#map .rm-country-codes-control .rm-moon-toprow{flex-wrap:nowrap!important;gap:6px!important;align-items:center!important;}
#map#map#map .rm-country-codes-control .rm-moon-toprow .rm-moon-silence-row{flex:0 0 auto!important;width:auto!important;gap:4px!important;padding:0!important;margin-left:auto!important;}
#map#map#map .rm-country-codes-control .rm-moon-toprow .rm-moon-silence-row{transform:translateY(10px)!important;}
#map#map#map .rm-space-layers .rm-moon-timeline{padding-bottom:0!important;margin-bottom:0!important;}
#map#map#map .rm-space-layers .rm-moon-tl{height:22px!important;}
#map#map#map .rm-space-layers .rm-moon-anim-wrap{margin-top:10px!important;}
#map#map#map .rm-country-codes-control .rm-moon-mode-btn[data-mode]{padding:0 4px!important;}

.rm-stars2d-active-ring{box-sizing:border-box;border:5px solid var(--rm-active-ring,#ffff00);border-radius:50%;background:transparent;box-shadow:var(--rm-active-glow,0 2px 8px 7px rgba(255,215,0,.58));pointer-events:none!important;}

.rm-stars2d-active-outline{stroke:#ffff00!important;stroke-width:5px!important;fill:none!important;filter:drop-shadow(0 2px 8px rgba(255,215,0,.9)) drop-shadow(0 0 4px rgba(255,215,0,.58));pointer-events:none!important;}

.rm-moon-globe-marker .rm-moon-globe-tip::before,.rm-mars-globe-marker .rm-mars-globe-tip::before{border-top-color:#ffffffcc;}

.rm-universe2d-active-ring{box-sizing:border-box;border:5px solid var(--rm-active-ring,#ffff00);border-radius:50%;background:transparent;box-shadow:var(--rm-active-glow);pointer-events:none!important;}
.rm-universe2d-active-ring{visibility:visible!important;display:block!important;opacity:1!important;}
#map#map#map#map#map .rm-universe2d-active-ring{visibility:visible!important;display:block!important;opacity:1!important;}

.rm-universe-active-name{position:absolute;left:50%;bottom:calc(100% + 6px);transform:translateX(-50%);white-space:nowrap;color:#ffd54a;font:700 15.75px/1.2 Arial,Helvetica,sans-serif;text-shadow:0 0 3px #000,0 0 7px #000;pointer-events:none;z-index:2;}
.rm-universe-name-replaced{visibility:hidden!important;}

#map .rm-laniakea-active-cluster>div>span{background:#ffff00!important;box-shadow:0 0 4px #ffff00,0 0 10px rgba(255,215,0,.8)!important;}
#map .rm-laniakea-active-cluster{filter:drop-shadow(0 0 6px rgba(255,215,0,.58));}

/* Stable tooltip height: activation changes the lettering without a later anchor correction. */
#map .rm-laniakea-tip.leaflet-tooltip{height:16px!important;line-height:16px!important;box-sizing:content-box!important;transition:none!important;}

/* Local Galaxies stays left-aligned to its anchor without width recalculation on selection. */
#map .rm-laniakea-tip-local.leaflet-tooltip{width:116px!important;text-align:right!important;}

/* Native 2D stars: same label typography and active colour as Universe. */
.rm-star2d-marker,.rm-star2d-label-marker{background:transparent!important;border:0!important;overflow:visible!important;cursor:pointer!important;}
.rm-star2d-art{position:absolute;max-width:none!important;pointer-events:auto;user-select:none;}
.rm-star2d-label{position:absolute;left:0;transform:translateX(-50%);white-space:nowrap;color:#cfd8ea;font:10.5px/1.05 Arial,sans-serif;text-shadow:0 0 4px #000,0 0 8px #000;cursor:pointer;}
.rm-star2d-label-marker.rm-star2d-active .rm-star2d-label{color:#ffd54a;font-size:15.75px;font-weight:700;}
.rm-star2d-ring{display:none;position:absolute;left:0;top:0;transform:translate(-50%,-50%);box-sizing:border-box;border:5px solid var(--rm-active-ring,#ffff00);border-radius:50%;box-shadow:var(--rm-active-glow);pointer-events:none;}
.rm-star2d-marker.rm-star2d-active .rm-star2d-ring{display:block;}

#map#map#map#map#map .rm-star2d-marker,#map#map#map#map#map .rm-star2d-label-marker{visibility:visible!important;opacity:1!important;}
[data-rm-scene3d="stars"] .leaflet-rmStarsNative-pane,[data-rm-scene3d="stars"] .leaflet-rmStarsNativeLabels-pane,[data-rm-scene3d="stars"] .rm-stars2d-grid{display:none!important;}

