/* Additive compact desktop HUD. Load after the sealed combat HUD adapter. */
@media (pointer:fine) and (min-width:900px) {
 body.u20 #hud {padding:5px 8px!important;gap:4px!important;left:270px!important;width:calc(100% - 540px)!important;transform:none!important;grid-template-columns:auto minmax(0,1fr) minmax(0,1fr)!important}
 body.u20 #hud .bar {height:18px!important}
 body.u20 #hud .bar span {line-height:16px!important;padding:0 5px!important}
 body.u20 #hud .bar::after {content:none!important}
 body.u20 #hud .bar.xp {height:13px!important}
 body.u20 #hud .bar.xp span {line-height:11px!important;font-size:10px!important}
 body.u20 #hud .jxs:has(> #pwS)>span,body.u20 #hud #pwS {display:none!important}
 body.u20 #hud .jxs:has(> #pwS):not(:has(#u20rank)) {display:none!important}
 body.u20 #u20ktc {position:fixed!important;left:auto!important;right:56px!important;top:190px!important;bottom:auto!important}
 body.u20 #u20rank {
  position:fixed!important;right:61px!important;bottom:auto!important;top:244px!important;left:auto!important;
  width:36px!important;height:36px!important;padding:0!important;margin:0!important;
  font-size:0!important;line-height:0!important;border:1px solid #af884a!important;border-radius:4px!important;
  background:#10251f url(rank.svg) center/34px 34px no-repeat!important;
  box-shadow:inset 0 1px #e9cb7a44,0 2px 5px #0008!important;
 }
 body.u20 #u20rank:hover {filter:brightness(1.18)}
 body.u20 #u20rank:focus-visible {outline:2px solid #ffe4a2;outline-offset:2px}
 body.u20 #u20rank:disabled {filter:saturate(.3);opacity:.65;cursor:default}
}
@media (pointer:fine) and (min-width:900px) and (max-width:1100px) {
 body.u20 #hud {grid-template-columns:auto minmax(0,1fr)!important}
}

@media (pointer:fine) and (min-width:900px) and (max-height:500px) {
 body.u20 #u20ktc {top:184px!important}
 body.u20 #u20rank {top:189px!important;right:110px!important}
 body.u20 #topCtl,body.u20 #lanCombatControls {left:8px!important;right:auto!important;top:32px!important;bottom:auto!important}
}
