/* Binary is a text-art edition. Keep byte strings from dominating controls.
   Full encoded labels remain in the DOM and in the existing accessible names. */
html[lang="zxx"] .site-header {
  grid-template-columns: minmax(0, 1fr) auto auto;
}
html[lang="zxx"] .site-header .site-brand {
  min-inline-size: 0;
}
html[lang="zxx"] .site-header .site-brand small,
html[lang="zxx"] .header-tools button > span:not(.sr-only),
html[lang="zxx"] .header-tools .experience-trigger > strong,
html[lang="zxx"] .studio-transport .experience-settings-button > span:last-child,
html[lang="zxx"] .persistent-audio-copy > small {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
html[lang="zxx"] .header-tools .experience-trigger::before {
  content: "◈";
  font-size: 1rem;
}
html[lang="zxx"] .site-header .header-tools {
  grid-column: 3;
  grid-row: 1;
  justify-self: end;
  padding: 0;
  border: 0;
}
html[lang="zxx"] .site-header .header-tools button {
  grid-template-columns: 1fr;
  min-inline-size: 44px;
  justify-items: center;
}
html[lang="zxx"] .site-header .menu-button {
  display: block;
  grid-row: 1;
  grid-column: 2;
  margin: 0;
  min-inline-size: 44px;
  min-block-size: 44px;
}
html[lang="zxx"] .site-header .main-navigation {
  display: none;
  position: absolute;
  inset: 100% 0 auto;
  inline-size: auto;
  max-block-size: calc(100dvh - 7rem);
  overflow: auto;
  scrollbar-width: none;
  padding: 1rem;
  background: var(--panel);
  border-block: 1px solid var(--edge);
}
html[lang="zxx"] .site-header .main-navigation::-webkit-scrollbar {
  display: none;
}
html[lang="zxx"] .site-header .main-navigation.is-open {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
html[lang="zxx"] .studio-section-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
html[lang="zxx"] .studio-header-utilities {
  flex-wrap: wrap;
}
html[lang="zxx"] .studio-route-menu {
  min-inline-size: 0;
  flex: 1;
}
html[lang="zxx"] .studio-route-panel {
  position: static;
  inline-size: auto;
  max-inline-size: none;
}
html[lang="zxx"] .studio-transport {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  inline-size: min(25rem, calc(100% - 2rem));
}
html[lang="zxx"] .studio-transport .experience-settings-button {
  justify-content: center;
}
html[lang="zxx"] .studio-transport .persistent-audio-player {
  inline-size: 100%;
}
html[lang="zxx"] :is(.main-navigation, .studio-dialog, .studio-transport) {
  overflow-wrap: anywhere;
}
html[lang="zxx"] .no-js .site-header .main-navigation {
  display: flex;
  position: static;
  max-block-size: none;
}
html[lang="zxx"] .no-js .site-header .menu-button {
  display: none;
}
@media (max-width: 600px) {
  html[lang="zxx"] .site-header { gap: .3rem; }
  html[lang="zxx"] .studio-section-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* The binary edition uses its compact menu at every width, not only mobile. */
html[lang="zxx"] .site-header .menu-button i::after {
  content: "☰";
  font-style: normal;
}
