.topbar[ihb-map-header] {
  position: fixed;
  top: 14px;
  left: 14px;
  right: 14px;
  z-index: 800;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 10px 18px;
  border: 1px solid var(--surface-border);
  border-radius: 100px;
  background: var(--topbar-glass);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow)
}

.brand span:not(.brand-symbol)[ihb-map-header] {
  display: block;
  font-size: 11px;
  color: var(--muted)
}

.topbar-actions[ihb-map-header] {
  display: flex;
  gap: 8px;
  align-items: center
}

.topbar-actions[ihb-map-header]  form {
  margin: 0
}

@media(max-width:850px) {
  .topbar[ihb-map-header] {
    border-radius: 22px
  }


  .brand span:not(.brand-symbol)[ihb-map-header] {
    display: none
  }


  .topbar-actions[ihb-map-header] {
    gap: 2px
  }


  .topbar-actions[ihb-map-header]  button {
    font-size: 11px;
    padding: 9px
  }
}

@media(max-width:600px) {
  .topbar[ihb-map-header] {
    top: 8px;
    left: 8px;
    right: 8px;
    padding: 10px
  }


  .topbar-actions[ihb-map-header]  button {
    padding: 7px;
    font-size: 10px
  }


  .topbar[ihb-map-header] {
    flex-wrap: wrap;
    gap: 4px
  }


  .topbar .brand[ihb-map-header] {
    width: 100%
  }


  .topbar-actions[ihb-map-header] {
    width: 100%;
    justify-content: space-between
  }
}

.topbar[ihb-map-header]  >.theme-switcher {
  margin-left: auto;
}

@media(max-width:600px) {
  .topbar .brand[ihb-map-header] {
    width: auto;
    flex: 1;
  }


  .topbar[ihb-map-header]  >.theme-switcher {
    margin-left: 0;
  }


  .topbar .topbar-actions[ihb-map-header] {
    flex-basis: 100%;
  }
}
