/* The top navigation of the pages of EMT Palma has a fourth button, «Flota» (docs/EMT_FLOTA_STATS.md, 22 Nov 2026). Where the three
   buttons of /tib/ just fit with their words, these four show their icons only (their words stay for screen readers, as on a phone), so
   that nothing overlaps and the map's header stays one row. Loaded by the pages of /emt/ only: Tib\Pages::render on EMT's data, the map
   (index.html) and the stop page. */
.emt-pages .tib-nav-btn .db-icon { flex: none; }
/* the pages with the platform's top bar (lines, the fleet, the statistics, a stop): the words come back from 900 px */
@media (min-width: 761px) and (max-width: 899px) {
  .emt-pages .tib-nav-btn { width: 36px; padding: 0; justify-content: center; }
  .emt-pages .tib-nav-btn span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
/* the smallest phones: the four buttons a little narrower, next to the logo and the theme, language and account buttons */
@media (max-width: 340px) {
  .emt-pages .tib-nav { gap: 2px; }
  .emt-pages .tib-nav-btn { width: 30px; }
}
/* the map: its header keeps one row (below 1200 px its buttons show their icons only already, app.css) */
@media (min-width: 1200px) and (max-width: 1559px) {
  .emt-map .topbar .tib-nav-btn { width: 36px; padding: 0; justify-content: center; }
  .emt-map .topbar .tib-nav-btn span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
