.site-header {
  color:#f1f2e9;
  background:#111319;
  border-bottom:1px solid #35383d;
  font-family:system-ui,"Yu Gothic",sans-serif;
}
.site-header__inner {
  width:min(1250px,calc(100% - clamp(28px,7vw,104px)));
  min-height:64px;
  margin-inline:auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
}
.site-header__brand {
  display:inline-flex;
  align-items:center;
  flex-shrink:0;
  color:inherit;
  text-decoration:none;
  font:750 1.4rem ui-monospace,SFMono-Regular,Consolas,"Liberation Mono",monospace;
  letter-spacing:-.07em;
}
.site-header__brand img {width:25px;height:25px;margin-right:9px;}
.site-header__brand span {color:#a9efbd;}
.site-header__nav,.site-header__controls {display:flex;align-items:center;gap:18px;}
.site-header__home {
  color:#c9cbd0;
  text-decoration:none;
  font-size:.86rem;
  font-weight:650;
  padding:12px 0;
  white-space:nowrap;
}
.site-header__controls {border-left:1px solid #35383d;padding-left:18px;}
.site-header__controls button {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  min-height:44px;
  padding:8px 0;
  border:0;
  background:none;
  color:#c9cbd0;
  font:600 .84rem system-ui,"Yu Gothic",sans-serif;
  white-space:nowrap;
  cursor:pointer;
}
.site-header__controls b {font:600 .76rem ui-monospace,Consolas,monospace;}
.site-header__controls svg {width:19px;height:19px;flex:none;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;}
.site-header__home:hover,.site-header__controls button:hover {color:#a9efbd;}
.site-header a:focus-visible,.site-header button:focus-visible {outline:2px solid #a9efbd;outline-offset:3px;}
/* Keep the game controls inside Code Climb's fullscreen container. */
#arcade .site-header__inner {width:100%;max-width:none;}
@media(max-width:700px) {
  .site-header__inner {min-height:52px;gap:10px;}
  .site-header__brand {font-size:1.2rem;}
  .site-header__brand img {width:21px;height:21px;margin-right:6px;}
  .site-header__nav,.site-header__controls {gap:10px;}
  .site-header__controls {padding-left:10px;}
  .site-header__home {font-size:.82rem;}
  .site-header__controls button {gap:4px;font-size:.75rem;}
}
@media(max-width:520px) {
  .site-header__inner:has(.site-header__controls) {flex-wrap:wrap;gap:0;padding-block:5px;}
  .site-header__controls #sound span {position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;}
}
@media(max-height:530px) and (orientation:landscape) {
  #arcade .site-header__inner {min-height:40px;}
  #arcade .site-header__controls button {min-height:40px;}
}
