.site-header {
  width: 100%;
  min-height: 78px;
  height: auto;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(20px, 2.2vw, 38px);
  padding: 10px max(24px, calc((100vw - 1440px) / 2));
}
.site-header nav {
  min-width: 0;
  justify-content: center;
  gap: clamp(13px, 1.45vw, 25px);
}
.site-header nav a { white-space: nowrap; }
.header-actions { gap: clamp(16px, 1.8vw, 28px); }

@media (max-width: 1220px) and (min-width: 761px) {
  .site-header {
    grid-template-columns: auto 1fr auto;
    grid-template-rows: 68px 45px;
    padding-top: 0;
    padding-bottom: 0;
    row-gap: 0;
  }
  .site-header .brand { grid-column: 1; grid-row: 1; }
  .site-header .header-actions { grid-column: 3; grid-row: 1; }
  .site-header > nav {
    grid-column: 1 / -1;
    grid-row: 2;
    align-self: stretch;
    justify-content: flex-start;
    gap: clamp(24px, 4vw, 48px);
    border-top: 1px solid rgba(89, 103, 97, .32);
    overflow-x: auto;
    scrollbar-width: none;
  }
  .site-header > nav::-webkit-scrollbar { display: none; }
  .site-header > nav a { display: flex; align-items: center; }
}

@media (max-width: 760px) {
  .site-header {
    min-height: 70px;
    grid-template-columns: auto 1fr;
    padding: 8px 16px;
  }
  .site-header .header-actions { grid-column: 2; justify-self: end; }
}

@media (max-width: 520px) {
  .site-header .wordmark { font-size: 16px; }
  .game-picker summary { min-width: 134px; }
}
