/* Compact homepage navigation clears the protected opening headline. */
body.home-page > header.wrap {
  width: auto;
  max-width: none;
  left: 6vw;
  right: 18px;
  padding: 0;
  justify-content: space-between;
  align-items: flex-start;
}
body.home-page > header.wrap > nav {
  gap: 4px;
  padding: 4px;
  border-radius: 999px;
  margin-left: auto;
  box-shadow: inset 0 1px 0 #f4f0e814, 0 6px 20px #0004;
}
body.home-page > header.wrap > nav a.bt-button {
  min-height: 32px !important;
  height: auto !important;
  padding: 7px 10px !important;
  font-size: 11px !important;
  line-height: 1.25 !important;
  gap: 6px !important;
  white-space: nowrap;
}
@media (min-width: 901px) {
  body.home-page > header.wrap { top: 16px; inset-block-start: 16px; }
}
@media (max-width: 900px) {
  body.home-page > header.wrap { right: 12px; left: 4vw; }
  body.home-page > header.wrap > nav a.bt-button { min-height: 36px !important; }
}
@media (max-width: 1100px) {
  body.home-page > header.wrap > nav a.nav-optional { display: none !important; }
}
@media (max-width: 600px) {
  body.home-page > header.wrap > nav { border-radius: 999px; flex-direction: row; align-items: center; }
  body.home-page > header.wrap > nav a.nav-tools { display: none !important; }
}

.home-menu { display: none; }
@media (max-width: 1100px) {
  .home-menu { display: block; position: relative; }
  body.home-page > header.wrap:has(.home-menu[open]) { mix-blend-mode: normal; }
  .home-menu summary {
    display: flex; align-items: center; justify-content: center;
    min-height: 44px; padding-inline: 12px; list-style: none; cursor: pointer;
    color: var(--paper); font-size: 14px;
  }
  .home-menu summary::-webkit-details-marker { display: none; }
  .home-menu summary::after { content: "▾"; margin-left: 6px; color: var(--gold); }
  .home-menu[open] summary::after { content: "▴"; }
  .home-menu-links {
    position: absolute; z-index: 2; top: calc(100% + 6px); left: 0;
    display: grid; width: max-content; padding: 4px; border: 1px solid var(--review-edge);
    border-radius: 12px; background: var(--ink);
  }
  body.home-page .home-menu-links a {
    display: flex; align-items: center; justify-content: flex-start; min-height: 44px;
    padding-inline: 14px; color: var(--paper); white-space: nowrap; font-size: 14px;
  }
  .home-menu :focus-visible { outline: 2px solid var(--gold); outline-offset: -2px; }
  body.home-page > header.wrap > nav a.nav-tools { display: none !important; }
  body.home-page > header.wrap > nav a.bt-button { min-height: 44px !important; }
}
@media (max-width: 575px) {
  body.home-page > header.wrap { gap: 4px; }
  body.home-page > header.wrap .name img { width: 54px; height: 54px; }
}
