/* LabNivo's single public navigation stylesheet.
   Loaded last by the build/Worker, so individual game styles cannot
   reflow the site header. Never style the rest of a game's UI here. */
.lab-site-header {
  box-sizing:border-box!important;
  position:sticky!important;
  top:0!important;
  z-index:120!important;
  display:block!important;
  width:100%!important;
  min-height:0!important;
  margin:0!important;
  padding:0!important;
  color:#111718!important;
  background:linear-gradient(180deg,rgba(248,247,242,.94),rgba(243,241,235,.84))!important;
  border:0!important;
  border-bottom:1px solid rgba(17,23,24,.075)!important;
  box-shadow:0 1px 0 rgba(255,255,255,.72) inset,0 10px 34px rgba(17,23,24,.045)!important;
  backdrop-filter:blur(22px) saturate(155%);
  -webkit-backdrop-filter:blur(22px) saturate(155%);
  font-family:LabSans,Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;
  font-size:14px!important;
  line-height:1!important;
  -webkit-font-smoothing:antialiased;
}
.lab-site-header::after {
  content:"";
  position:absolute;
  bottom:-1px;left:0;right:0;
  height:1px;
  pointer-events:none;
  background:linear-gradient(90deg,transparent 0%,rgba(63,99,241,.22) 38%,rgba(255,255,255,.55) 58%,transparent 100%);
}
.lab-site-header .lab-header__inner {
  box-sizing:border-box!important;
  width:min(1240px,calc(100% - 48px))!important;
  max-width:none!important;
  min-height:74px!important;
  height:auto!important;
  margin-inline:auto!important;
  padding:0!important;
  display:flex!important;
  flex-direction:row!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:24px!important;
}
.lab-site-header .lab-header__brand {
  display:inline-flex!important;
  align-items:center!important;
  flex-shrink:0!important;
  gap:10px!important;
  min-width:0!important;
  padding:0!important;
  margin:0!important;
  color:#111718!important;
  font-family:LabSans,Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;
  font-size:22px!important;
  line-height:1!important;
  font-weight:820!important;
  font-style:normal!important;
  letter-spacing:-.045em!important;
  text-transform:none!important;
  text-decoration:none!important;
}
.lab-site-header .lab-header__mark {
  display:inline-flex!important;
  align-items:flex-end!important;
  gap:3px!important;
  flex-shrink:0!important;
  height:25px!important;
  width:auto!important;
  padding:0!important;
  transform:none!important;
}
.lab-site-header .lab-header__mark i{
  display:block!important;
  box-sizing:border-box!important;
  flex:none!important;
  width:5px!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-radius:4px!important;
  transform:none!important;
  background:linear-gradient(180deg,#6d8aff 0%,#4167f4 58%,#2747c8 100%);
  box-shadow:0 0 16px rgba(65,103,244,.16);
}
.lab-site-header .lab-header__mark i:nth-child(1){height:10px!important;opacity:.62}
.lab-site-header .lab-header__mark i:nth-child(2){height:17px!important;opacity:.8}
.lab-site-header .lab-header__mark i:nth-child(3){height:25px!important;opacity:1}
.lab-site-header[data-lab-header="nb"] .lab-header__mark i{opacity:1}
.lab-site-header[data-lab-header="nb"] .lab-header__mark i:nth-child(1) {
  background:linear-gradient(180deg,#ef7887,#d7364d);
  box-shadow:0 0 10px rgba(214,61,83,.1);
}
.lab-site-header[data-lab-header="nb"] .lab-header__mark i:nth-child(2){
  background:linear-gradient(180deg,#fff,#edf0f3);
  border:1px solid #aab2be!important;
  box-shadow:0 0 0 .5px #d0d5dc;
}
.lab-site-header[data-lab-header="nb"] .lab-header__mark i:nth-child(3){
  background:linear-gradient(180deg,#7d9bfa,#2454c6);
}
.lab-site-header .lab-header__nav{
  display:flex!important;
  flex-direction:row!important;
  flex-wrap:nowrap!important;
  align-items:center!important;
  gap:28px!important;
  padding:0!important;
  margin:0!important;
  min-width:0!important;
  width:auto!important;
  background:none!important;
}
.lab-site-header .lab-header__nav a {
  position:relative!important;
  box-sizing:border-box!important;
  display:block!important;
  flex:none!important;
  white-space:nowrap!important;
  margin:0!important;
  padding:27px 0 25px!important;
  border:0!important;
  border-radius:0!important;
  background:none!important;
  box-shadow:none!important;
  color:#394041!important;
  text-decoration:none!important;
  font-family:LabSans,Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;
  font-size:14px!important;
  line-height:1!important;
  font-weight:680!important;
  letter-spacing:0!important;
  text-transform:none!important;
}
.lab-site-header .lab-header__nav a::after{
  content:"";
  position:absolute;
  left:0;right:100%;bottom:-1px;
  height:2px;
  background:linear-gradient(90deg,#3f63f1,#7b8fff);
  box-shadow:0 0 12px rgba(63,99,241,.22);
  transition:right .2s ease;
}
.lab-site-header .lab-header__nav a:hover,
.lab-site-header .lab-header__nav a[aria-current="page"]{color:#111718!important}
.lab-site-header .lab-header__nav a:hover::after,
.lab-site-header .lab-header__nav a[aria-current="page"]::after{right:0}
.lab-site-header a:focus-visible{outline:3px solid #e6a359!important;outline-offset:4px!important}
@media(max-width:620px) {
  .lab-site-header .lab-header__inner {
    width:calc(100% - 32px)!important;
    min-height:66px!important;
    gap:12px!important;
  }
  .lab-site-header .lab-header__brand{font-size:20px!important;gap:8px!important}
  .lab-site-header .lab-header__mark{height:22px!important}
  .lab-site-header .lab-header__mark i:nth-child(1){height:9px!important}
  .lab-site-header .lab-header__mark i:nth-child(2){height:15px!important}
  .lab-site-header .lab-header__mark i:nth-child(3){height:22px!important}
  .lab-site-header .lab-header__nav{gap:clamp(12px,3.2vw,18px)!important}
  .lab-site-header .lab-header__nav a{font-size:12px!important;padding:23px 0 21px!important}
}
@media(max-width:380px){
  /* The logo itself leads home; preserve room for About on compact phones. */
  .lab-site-header[data-lab-header="nb"] .lab-header__nav a:first-child{display:none!important}
}
@media(max-width:360px){
  .lab-site-header .lab-header__nav{gap:12px!important}
  .lab-site-header .lab-header__nav a{font-size:12px!important}
}
@media(prefers-reduced-motion:reduce){
  .lab-site-header .lab-header__nav a::after{transition:none}
}

/* Consistent compact header with a shared account item. */
@media(max-width:520px){.lab-site-header[data-lab-header="nb"] .lab-header__nav a:first-child{display:none!important}.lab-site-header .lab-header__nav{gap:clamp(7px,2vw,12px)!important}.lab-site-header .lab-header__nav a{font-size:11.5px!important}}
