/* Refinement of the four main tabs; accepted homepage composition stays intact. */
#bo-home-footer[data-home-layout=priority] .bh-phone:not([data-view=home]) .bh-bo {
  color:#2e5099!important;
}
/* The persistent bottom navigation is the main-page navigation; details keep Back. */
#bo-home-footer[data-home-layout=priority] .bh-phone:is([data-view=food],[data-view=discover],[data-view=hotels],[data-view=my]) .bh-detail > .bh-backbar {
  display:none;
}
#bo-home-footer[data-home-layout=priority] .bh-phone:is([data-view=hotels],[data-view=my]) .bh-detail h1 {
  margin:0 0 8px; font-size:25px; line-height:1.35; letter-spacing:-.02em;
}
#bo-home-footer[data-home-layout=priority] .bh-phone.bh-large:is([data-view=hotels],[data-view=my]) .bh-detail h1 {
  font-size:29px;
}
#bo-home-footer[data-home-layout=priority] .bh-phone[data-view=my] .my-keep {
  padding:16px; margin-top:16px; border-radius:14px;
}
#bo-home-footer[data-home-layout=priority] .bh-phone[data-view=my] .gp-remote-records .gp-remote-status {
  max-width:42ch;
}

/* Keep complete English tab names readable on narrow screens at large text size. */
@media(max-width:350px) {
  #bo-home-footer[data-home-layout=priority] .bh-phone.bh-large[lang=en][data-view=discover] .gx-segments button {
    flex-direction:column; gap:4px!important; padding:8px 4px!important;
  }
  #bo-home-footer[data-home-layout=priority] .bh-phone.bh-large[lang=en][data-view=discover] .gx-segments button>span:last-child { white-space:nowrap; }
}
