/* The Qu site bar (logo, nav, social, mobile menu) at the top of the game page, matching the other pages.
   Rules are copied from /css/page.css so this page doesn't need the whole site stylesheet. */
:root { --sb-navy: #1E4A5F; --sb-yellow: #EDC46A; --sb-bg: #F8F9F0; --sb-gutter: clamp(1.25rem, 5vw, 4rem); }

.page-masthead { position: fixed; inset: 0 0 auto 0; z-index: 60; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding: 0.7rem var(--sb-gutter); background: var(--sb-bg); box-shadow: 0 1px 0 rgba(30, 74, 95, 0.08); font-family: "Fraunces", Georgia, serif; }
.page-masthead img { width: clamp(56px, 7vw, 76px); height: auto; display: block; }
.page-masthead__actions { display: flex; align-items: center; flex-wrap: wrap; justify-content: flex-end; margin-left: auto; gap: 0.4rem clamp(0.6rem, 2.5vw, 1.5rem); }
.page-masthead__nav { display: flex; align-items: center; gap: clamp(0.75rem, 3vw, 1.5rem); }
.page-masthead__link { padding: 0.4rem 0.2rem; font-size: clamp(1rem, 0.95rem + 0.25vw, 1.125rem); font-weight: 500; color: var(--sb-navy); text-decoration: none; white-space: nowrap; transition: color .2s; }
.page-masthead__link:hover, .page-masthead__link:focus-visible { color: var(--sb-yellow); }
.page-masthead__link[aria-current="page"] { text-decoration: underline; text-underline-offset: 0.15em; }
.page-masthead__social { display: flex; align-items: center; gap: clamp(0.5rem, 2vw, 1.25rem); }
.page-masthead__social a { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; color: var(--sb-navy); transition: transform .2s, color .2s; }
.page-masthead__social a:hover, .page-masthead__social a:focus-visible { color: var(--sb-yellow); transform: translateY(-2px); }
.page-masthead__social svg { width: clamp(19px, 2vw, 22px); height: auto; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.page-masthead__social .icon-dot, .page-masthead__social .icon-fill { fill: currentColor; stroke: none; }
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.nav-cb { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.nav-burger { display: none; }
@media (min-width: 40.01rem) and (max-width: 80rem) { .page-masthead__actions { column-gap: 0.9rem; } .page-masthead__nav { gap: 0.9rem; } .page-masthead__social { gap: 0.2rem; } }
@media (max-width: 40rem) {
  .page-masthead { padding-block: 0.5rem; }
  .page-masthead img { width: 52px; }
  .page-masthead__social { gap: 0.15rem; }
  .page-masthead__social a { width: 34px; height: 34px; }
  .page-masthead__nav { display: none; position: absolute; top: calc(100% + 0.4rem); right: var(--sb-gutter); flex-direction: column; align-items: flex-end; gap: 0.15rem;
    padding: 0.6rem 1rem; background: var(--sb-bg); border: 1px solid rgba(30, 74, 95, 0.12); border-radius: 12px; box-shadow: 0 16px 36px -12px rgba(30, 74, 95, 0.45); z-index: 70; }
  .nav-cb:checked ~ .page-masthead__nav, .nav-cb:focus-visible ~ .page-masthead__nav { display: flex; }
  .nav-burger { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; color: var(--sb-navy); cursor: pointer; }
  .nav-burger svg { width: 24px; height: 24px; }
}
