.screen:has(.chat-toolbar) > .page-header .header-actions {
  display: none;
}

.screen:has(.chat-toolbar) > .intro {
  margin-top: 0;
  padding-top: 8px;
}

#app > .screen {
  top: 28px;
}

#device > .account-layer {
  top: 28px;
}

.global-balance-eye {
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #66809a;
  display: inline-grid;
  place-items: center;
  cursor: pointer;
}

.global-balance-eye svg {
  width: 21px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.global-balance-eye .eye-slash { display: none; }
.global-balance-eye.is-hidden .eye-slash { display: block; }
.global-balance-eye:active { background: rgba(59, 126, 178, .1); }

/* Keep every first-level page on one bottom-navigation implementation. */
#app > .bottom-nav.sunshine-nav {
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 69px;
  padding: 6px 6px 7px;
  overflow: hidden;
}

#app > .bottom-nav.sunshine-nav .nav-item {
  min-width: 0;
  min-height: 0;
  padding: 3px 2px 5px;
}

#app > .bottom-nav.sunshine-nav .nav-item.active::after {
  bottom: 0;
}

#app .page-header,
#app .chat-appbar,
#app .chat-search-appbar,
#app .co-header,
#app .ho-header,
#app .wo-header,
#app .chat-scrolled .chat-appbar {
  border-bottom: 0;
  box-shadow: none;
}

@media (max-width: 760px) {
  #app > .screen {
    top: calc(28px + env(safe-area-inset-top));
    bottom: calc(69px + env(safe-area-inset-bottom));
  }

  #device > .account-layer {
    top: calc(28px + env(safe-area-inset-top));
  }

  #app > .bottom-nav.sunshine-nav {
    height: calc(69px + env(safe-area-inset-bottom));
    padding-bottom: calc(7px + env(safe-area-inset-bottom));
  }
}
