.google-map-attribution {
  --credit-left:12px;--credit-right:460px;
  position:absolute;left:var(--credit-left);right:auto;bottom:12px;top:auto;z-index:8;
  max-width:calc(100% - var(--credit-left) - var(--credit-right));
  display:flex;align-items:center;flex-wrap:wrap;gap:1px 6px;padding:0;
  background:none;color:#202124;border-radius:0;
  font:10px/1.4 Arial,sans-serif;pointer-events:auto;
  text-shadow:0 1px 2px white,0 -1px 2px white,1px 0 2px white,-1px 0 2px white;
}
.google-map-attribution[hidden] { display:none; }
.google-map-attribution a { color:#202124;font:500 14px/1.4 Roboto,Arial,sans-serif;text-decoration:none;white-space:nowrap; }
.google-map-attribution button { color:inherit;background:none;border:0;padding:0;font:inherit;text-shadow:inherit;text-decoration:underline;cursor:pointer; }
.google-map-attribution button:focus-visible { outline:2px solid #0079bf;outline-offset:3px; }
.layer-info-source { width:100%;min-width:0;margin:0 0 8px;padding:7px 8px;border:1px solid #b8c9dd;border-radius:6px;color:var(--color-navy);background:var(--ui-raised,white);font:12px/1.4 var(--font-body,Arial,sans-serif); }
body.dual-mode-active #viewDiv .google-map-attribution { --credit-right:12px; }
body:has(#optionPanel.feature-panel-expanded) #viewDiv .google-map-attribution { --credit-left:calc(var(--panel-width-left,280px) + 20px); }
@media(max-width:768px) {
  .google-map-attribution { left:12px!important;max-width:calc(100% - 24px);bottom:calc(104px + env(safe-area-inset-bottom,0px)); }
}
/* Keep flight credits at the viewport corner, clear of the centred dashboard. */
body.flight-sim-running .google-map-attribution {
  left:12px;bottom:calc(12px + env(safe-area-inset-bottom,0px));
  max-width:max(120px,calc((100% - var(--flight-dashboard-width,680px)) / 2 - 24px));
}
.google-basemap-option[hidden],
#optionPanel #list-basemaps .google-basemap-option[hidden],
#rightLayerPanel .google-basemap-option[hidden] { display:none!important; }
/* Keep the local demo notice clear of the actual map credits. */
body:has(.google-map-attribution:not([hidden])) > [role="status"]:has(#streetPreviewJump) {
  top:64px;right:12px;bottom:auto!important;left:auto!important;
}
