@font-face {
  font-family: Manrope;
  src: url("/assets/fonts/manrope.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}
[data-game-site] { display:block; }
[data-game-site="header"] { position:sticky; top:0; z-index:30; }
body:has(:is(#terrain,#game):not([hidden])) > [data-game-site="header"] { position:relative; }

/* Retain the game's real actions and event handlers as a single secondary navigation. */
body > [data-game-site] + header { height:auto; padding:0; position:static; }
body > [data-game-site] + header .nav {
  display:flex !important;
  justify-content:flex-start;
  width:min(1240px,94vw);
  margin-inline:auto;
  min-height:0 !important;
  padding-block:0 !important;
}
body > [data-game-site] + header :is(.wordmark,.language,#roundNavToggle,#chapterMenu) { display:none !important; }
body > [data-game-site] + header .nav nav {
  display:flex !important;
  align-items:center;
  justify-content:flex-start;
  flex-wrap:nowrap;
  max-width:100%;
  overflow-x:auto;
  gap:clamp(10px,2.3vw,28px);
}
html:not([data-tanger-visit]) body > [data-game-site] + header .nav nav:not(.partnerNav) > :is(a:not(#visitReturn),button) {
  display:inline-flex !important;
}
body > [data-game-site] + header .nav nav > :is(a,button) {
  align-items:center;
  min-height:44px;
  padding:0;
  white-space:nowrap;
  font:650 clamp(.75rem,1.4vw,.86rem)/1.25 Manrope,Arial,sans-serif;
}
