/* The website is closed (Command > Access control > Website). nginx serves
   this as /site-state.css on the pages that stay open - CCDC Worldwide, the
   staff sign-in and the certificate check - so they show no way into the
   rest of the site: no menu, no footer links, no contact rail. The logo and
   name, Staff sign-in, the language and the theme stay. */
.nav__ribbon, .nav__toggle, #navPanel, .mega, .foot__links, .rail { display: none !important; }
:root { --nav-h: var(--nav-top-h); }
/* On a phone Staff sign-in normally lives in the menu, which is gone. */
@media (max-width: 980px) {
  .nav__util { display: inline-flex !important; }
}
/* Beside the full name on a narrow phone there is not room for Staff sign-in
   on one line, the theme and the language as well: the language menu was
   pushed off the right edge at 360px (28 Sep 2026). Two short lines. */
@media (max-width: 430px) {
  .nav__util {
    white-space: normal; text-align: center; line-height: 1.25;
    max-width: 10ch; font-size: 10.5px; letter-spacing: .05em; padding: 4px 0;
    flex: none;
  }
  /* The name gives way instead, a line longer: the bar grows with it. */
  .nav__top .nav__tools { flex: none; }
  .nav__top .brand { flex: 1 1 auto; min-width: 0; }
  .nav__top .brand__text { min-width: 0; }
}
