.screen-controls{display:flex;align-items:center;gap:calc(8*var(--u))}
#fullscreen{min-height:calc(44*var(--u));padding:0 calc(12*var(--u));white-space:nowrap;font-size:var(--fs-14)}
#fullscreen[aria-pressed="true"]{border-color:var(--sea)}
.game-fullscreen .gym{width:100%;height:100dvh;max-width:none}
.fullscreen-help{width:min(calc(420*var(--u)),92vw)}
.fullscreen-help p{line-height:1.5;color:var(--muted)}
.fullscreen-help form{display:flex;justify-content:flex-end;margin-top:calc(16*var(--u))}
@media(min-width:901px) and (pointer:fine){#fullscreen:not([aria-pressed="true"]){display:none}}
@media(display-mode:standalone){#fullscreen{display:none}}

/* Lab activity switching lives in the header, away from the court and ultimate HUD. */
.gym > header #lab-browse:not([hidden]){
  display:inline-flex;align-items:center;justify-content:center;gap:calc(5*var(--u));
  min-width:44px;min-height:max(44px,calc(44*var(--u)));padding:0 calc(10*var(--u));
  border:1px solid #688099;border-radius:calc(8*var(--u));background:#172436;color:#fff1e3;
  font:700 var(--fs-14)/1 var(--font-body);white-space:nowrap;flex:none;
}
#lab-browse svg{width:calc(18*var(--u));height:calc(18*var(--u));flex:none;pointer-events:none;}
.gym > header #lab-browse:hover:not([hidden]){border-color:#ffad71;color:#ffd4a8;}
.gym > header #lab-browse:focus-visible{outline:2px solid #ffd4a8;outline-offset:2px;}
@media (max-width:650px){
  #lab-browse .lab-browse-long{display:none;}
  .gym > header #lab-browse:not([hidden]){padding-inline:calc(6*var(--u));}
}
