#screen-map .map-topbar {
  position: fixed;
  top: calc(12px + env(safe-area-inset-top));
  left: 50%;
  z-index: 30;
  display: grid;
  grid-template-columns: 46px 1fr 46px;
  align-items: center;
  gap: 12px;
  width: calc(100% - 32px);
  max-width: 430px;
  transform: translateX(-50%);
}

#screen-map .map-menu-btn,
#screen-map .map-settings-btn {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 50%;
  background: rgba(3, 11, 14, 0.68);
  color: #ffffff;
  font-size: 20px;
  line-height: 1;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(16px);
}

#screen-map .map-menu-btn {
  justify-self: start;
}

#screen-map .map-settings-btn {
  justify-self: end;
}

#screen-map .map-logo {
  justify-self: center;
  color: #ffffff;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 4px;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
  text-shadow: 0 8px 20px rgba(0, 0, 0, 0.48);
}

#screen-map .map-logo span {
  color: #22c55e;
}

#screen-map .map-weather-bar {
  position: fixed;
  top: calc(70px + env(safe-area-inset-top));
  left: 50%;
  z-index: 28;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: calc(100% - 42px);
  max-width: 390px;
  min-height: 38px;
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: rgba(3, 11, 14, 0.7);
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.1;
  white-space: nowrap;
  transform: translateX(-50%);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(16px);
}

#screen-map .map-weather-bar strong {
  font-weight: 800;
}

#screen-map .map-weather-bar i {
  display: block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #22c55e;
}
