.map-mode-switch{display:flex;align-items:center;gap:3px;padding:3px;border:1px solid #52616c;border-radius:8px;background:#101820;flex-shrink:0}
.map-mode-switch button{color:#a6b9c6;border:0;border-radius:5px;background:transparent;min-width:42px;min-height:34px;padding:7px 9px;font:600 12px/1.2 Arial,sans-serif;cursor:pointer}
.map-mode-switch button[aria-pressed="true"]{color:#111a20;background:#d5b781;box-shadow:0 1px 5px #0003}
.map-mode-switch button:hover:not([aria-pressed="true"]){background:#ffffff0d;color:#e4edf3}
html[data-map-mode="2d"] #scene,html[data-map-mode="2d"] #labels,html[data-map-mode="2d"] #motion-button,html[data-map-mode="2d"] #map-error{display:none!important}
html[data-map-mode="2d"] #layer-panel label:has(#orbits-toggle),html[data-map-mode="2d"] #layer-panel label:has(#clouds-toggle){display:none}
html[data-map-mode="2d"] .map-hint{display:block}
html[data-map-mode="2d"] #map-area{background:#09131c}
html[data-map-mode="2d"] .map-bottom{pointer-events:none}
html[data-map-mode="2d"] .map-bottom button,html[data-map-mode="2d"] .map-bottom a{pointer-events:auto}
@media(min-width:1101px) and (max-width:1430px){.topbar{gap:12px;padding-left:16px;padding-right:16px}.topbar .top-actions{gap:7px}.topbar .exo-figures{gap:5px 10px;padding-left:12px}.exo-figures-line strong{font-size:18px}.topbar .download-map-button{font-size:0;gap:0;padding:10px}.topbar .download-map-button svg{width:18px;height:18px}}
@media(max-width:760px),(max-width:1024px) and (max-height:500px){
 .topbar{grid-template-rows:44px auto auto}
 .topbar .top-actions{display:contents}
 .topbar .brand{grid-column:1;grid-row:1}
 .topbar .map-mode-switch{grid-column:2;grid-row:1;justify-self:end}
 .topbar .map-mode-switch button{min-width:44px;min-height:36px}
 .topbar .exo-figures{grid-column:1/-1;grid-row:2}
 .topbar #download-map,.topbar #sources-button,.topbar #add-button{grid-row:3;grid-column:1/-1;min-height:32px;height:32px;width:auto;min-width:0;font-size:10px;padding:5px 8px;gap:5px;background:transparent;border-color:#ffffff14;justify-self:start}
 .topbar #sources-button{justify-self:center}
 .topbar #add-button{justify-self:end;color:#d5b781}
 .topbar #download-map svg,.topbar #sources-button svg,.topbar #add-button svg{width:13px;height:13px}
 html[data-map-mode="2d"] .map-hint{display:none}
}
