/* QA41: title artwork fills the entire landscape browser viewport, including the former side bars. */
#stage:has(> #titleScreen:not(.hidden)){
  width:100vw!important;
  height:100dvh!important;
  max-width:none!important;
  max-height:none!important;
  box-shadow:none!important;
}
#titleScreen {background:#050b17!important}
#titleScreen .titleback {
  inset:0!important;
  background-image:url('assets/title.png')!important;
  background-size:cover!important;
  background-repeat:no-repeat!important;
  background-position:center 50%!important;
  opacity:1!important;
  filter:none!important;
}
#titleScreen .titlegradient{
  background:linear-gradient(0deg,rgba(2,7,18,.83) 0%,rgba(2,7,18,.20) 12%,transparent 34%)!important;
}
/* The original title is already part of the art. */
#titleScreen .trueTitle, #titleScreen .edition, #titleScreen .titlebuttons p{display:none!important}
#titleScreen .titleui{padding:max(8px,env(safe-area-inset-top)) max(12px,env(safe-area-inset-right)) max(12px,env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left))!important}
#titleScreen .titlebuttons{max-width:calc(100% - 130px)!important}
#qa-build-label{
 position:absolute;z-index:25;right:max(12px,env(safe-area-inset-right));
 bottom:max(14px,env(safe-area-inset-bottom));padding:5px 9px;
 color:#ffe7ae;background:rgba(7,15,30,.74);border:1px solid rgba(218,182,115,.65);
 border-radius:7px;font-weight:700;font-size:clamp(10px,1vw,13px);letter-spacing:.04em;
 box-shadow:0 2px 8px rgba(0,0,0,.4);pointer-events:none;
}
@media (max-width:800px),(max-height:450px){
 #titleScreen .titlebuttons {max-width:calc(100% - 100px)!important}
 #titleScreen .titlebuttons button {min-width:0!important;font-size:clamp(9px,1.6vw,13px)!important}
 #qa-build-label{font-size:10px;padding:3px 5px}
}
