/* Norwegian in-game navigation.
   Match the premium studio header on /no and /no/play without importing global
   body/game styles into Quiz Club, Memory, Puzzle, Colourloom or the theatre. */
.nor-site-header {
  position:sticky;
  top:0;
  z-index:90;
  color:#111718;
  background:linear-gradient(180deg,rgba(248,247,242,.94),rgba(243,241,235,.84));
  border-bottom:1px solid rgba(17,23,24,.075);
  backdrop-filter:blur(22px) saturate(155%);
  -webkit-backdrop-filter:blur(22px) saturate(155%);
  box-shadow:0 1px 0 rgba(255,255,255,.72) inset,0 10px 34px rgba(17,23,24,.045);
  font-family:LabSans,Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  -webkit-font-smoothing:antialiased;
}
.nor-site-header::after {
  content:"";
  position:absolute;
  left:0;right:0;bottom:-1px;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%);
}
.nor-site-header__inner {
  width:min(1240px,calc(100% - 48px));
  min-height:74px;
  margin-inline:auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  box-sizing:border-box;
}
.nor-site-header__brand {
  display:inline-flex;
  align-items:center;
  gap:10px;
  flex-shrink:0;
  min-width:0;
  color:#111718!important;
  text-decoration:none!important;
  font-family:LabSans,Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;
  font-size:22px!important;
  font-weight:820!important;
  line-height:1!important;
  letter-spacing:-.045em!important;
}
.nor-site-header__brand:hover{color:#111718!important}
.nor-site-header__bars {
  display:inline-flex;
  align-items:flex-end;
  flex-shrink:0;
  gap:3px;
  height:25px;
}
.nor-site-header__bars i {
  display:block;
  box-sizing:border-box;
  width:5px;
  border-radius:4px;
  opacity:1;
  flex:none;
  transform:none;
}
.nor-site-header__bars i:nth-child(1) {
  height:10px;
  background:linear-gradient(180deg,#ef7887,#d7364d);
  box-shadow:0 0 10px rgba(214,61,83,.1);
}
.nor-site-header__bars i:nth-child(2) {
  height:17px;
  background:linear-gradient(180deg,#fff,#edf0f3);
  border:1px solid #aab2be;
  box-shadow:0 0 0 .5px #d0d5dc;
}
.nor-site-header__bars i:nth-child(3) {
  height:25px;
  background:linear-gradient(180deg,#7d9bfa,#2454c6);
}
.nor-site-header__nav {
  display:flex;
  align-items:center;
  flex-wrap:nowrap;
  gap:28px;
  margin:0;
}
.nor-site-header__nav a {
  position:relative;
  display:block;
  white-space:nowrap;
  padding:27px 0 25px;
  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;
  font-weight:680!important;
  line-height:1!important;
  letter-spacing:0!important;
}
.nor-site-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;
}
.nor-site-header__nav a:hover,.nor-site-header__nav a[aria-current="page"]{color:#111718!important}
.nor-site-header__nav a:hover::after,.nor-site-header__nav a[aria-current="page"]::after{right:0}
.nor-site-header a:focus-visible{outline:3px solid #e6a359;outline-offset:4px}
@media(max-width:620px) {
  .nor-site-header__inner{width:min(1240px,calc(100% - 32px));min-height:66px;gap:12px}
  .nor-site-header__brand{font-size:20px!important}
  .nor-site-header__bars{height:22px}
  .nor-site-header__bars i:nth-child(1){height:9px}
  .nor-site-header__bars i:nth-child(2){height:15px}
  .nor-site-header__bars i:nth-child(3){height:22px}
  .nor-site-header__nav{gap:18px}
  .nor-site-header__nav a{padding:23px 0 21px;font-size:13px!important}
}
@media(max-width:360px) {
  .nor-site-header__nav{gap:14px}
  .nor-site-header__nav a{font-size:12px!important}
}
/* Theatre's game toolbar stays below the studio navigation. */
.nor-theatre-tools{background:#f3f0e9;border-bottom:1px solid #deded7;color:#314638}
.nor-theatre-tools__inner{width:min(1160px,calc(100% - 42px));margin:auto;min-height:49px;display:flex;align-items:center;justify-content:space-between;gap:15px}
.nor-theatre-tools__label{font:700 10px/1.5 'DM Sans',system-ui,sans-serif;letter-spacing:.13em;color:#66766a}
.nor-theatre-tools__actions{display:flex;flex-wrap:wrap;gap:16px;align-items:center}
.nor-theatre-tools__actions button{background:transparent;border:0;border-radius:0;min-height:44px;padding:7px 0;color:#314638;font:700 12px/1.3 'DM Sans',system-ui,sans-serif;white-space:nowrap}
.nor-theatre-tools__actions button:hover{text-decoration:underline;text-underline-offset:4px}
/* Fit the theatre landing below the studio navigation and game controls. */
.nor-theatre-tools + main .welcome{min-height:calc(100svh - 123px)}
@media(max-width:540px) {
  .nor-theatre-tools + main .welcome{min-height:calc(100svh - 115px)}
  .nor-theatre-tools__inner{width:calc(100% - 32px);gap:10px}
  .nor-theatre-tools__label{font-size:9px;letter-spacing:.07em}
  .nor-theatre-tools__actions{gap:11px}
  .nor-theatre-tools__actions button{font-size:11px}
}
@media(max-width:360px) {
  .nor-theatre-tools__inner{flex-wrap:wrap;padding:5px 0}
  .nor-theatre-tools__actions{width:100%;justify-content:space-between}
}
@media(prefers-reduced-motion:reduce){
  .nor-site-header__nav a::after{transition:none}
}
