@font-face {
  font-family: "Desktop HUD Lilita";
  src: url("/account/lilita.ttf?v=26ad0d774041") format("truetype");
  font-display: swap;
}
@font-face {
  font-family: "Desktop HUD Nunito";
  src: url("/account/nunito.ttf?v=c5776505c7b3") format("truetype");
  font-weight: 200 1000;
  font-display: swap;
}

#desktop-match-hud {
  --desktop-hud-ready: 1;
  --hud-scale: 1;
  position: fixed;
  inset: 0;
  z-index: 70;
  pointer-events: none;
  user-select: none;
  color: #102b53;
  font: 900 15px/1 "Desktop HUD Nunito", sans-serif;
}
#desktop-match-hud *, #desktop-match-hud *::before, #desktop-match-hud *::after { box-sizing: border-box; }
body:not([data-match-phase="aim"]) #desktop-match-hud,
#desktop-match-hud[hidden], #desktop-match-hud .lock-cue[hidden] { display: none; }

#desktop-match-hud .desktop-power {
  position: absolute;
  left: max(24px, env(safe-area-inset-left));
  bottom: max(24px, env(safe-area-inset-bottom));
  width: 283px;
  height: 166px;
  transform: scale(var(--hud-scale));
  transform-origin: left bottom;
}
#desktop-match-hud .power-dial {
  position: absolute;
  inset: 0 auto auto 0;
  width: 157px;
  height: 166px;
  filter: drop-shadow(0 3px 2px #17365539);
}
#desktop-match-hud .power-dial svg { display: block; width: 100%; height: 100%; }
#desktop-match-hud .power-readout {
  position: absolute;
  inset: 33.2% 18% auto;
  font: 400 14px/1 "Desktop HUD Lilita", sans-serif;
  text-align: center;
}
#desktop-match-hud .power-readout > span { text-transform: uppercase; letter-spacing: .5px; }
#desktop-match-hud .power-readout > div { display: flex; align-items: baseline; justify-content: center; gap: 2px; margin-top: 1px; }
#desktop-match-hud .power-readout b { font: inherit; font-size: 41px; }
#desktop-match-hud .power-readout small { font-size: 18px; color: #43658a; }
#desktop-match-hud .power-hints {
  position: absolute;
  left: 109px;
  bottom: 25px;
  width: 174px;
  height: 95px;
  padding: 16px 13px 15px 37px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(155deg, #fbfdff 3%, #d9f0fc 98%);
  border: 2px solid #5789aa;
  border-radius: 12px 20px 20px 12px;
  box-shadow: inset 0 2px #fff, 0 4px #244f79, 0 6px #a8d6eb;
}
#desktop-match-hud .power-hints > div { display: flex; align-items: center; gap: 5px; white-space: nowrap; color: #183c61; }
#desktop-match-hud .power-hints > div:first-child span { margin-left: 4px; }
#desktop-match-hud .power-hints > div:nth-child(2) { gap: 6px; }
#desktop-match-hud .power-hints span[aria-hidden] { color: #34617e; font: bold 18px/1 Arial, sans-serif; }
#desktop-match-hud .power-hints kbd {
  display: grid; place-items: center;
  min-width: 22px; height: 22px; padding: 0 5px;
  color: #173759; background: #fff;
  border: 1px solid #5e8399; border-radius: 5px; box-shadow: 0 2px #7897aa;
  font: inherit; font-size: 13px;
}
#desktop-match-hud .mouse {
  position: relative;
  display: inline-block;
  width: 15px; height: 20px; flex: none;
  border: 2px solid currentColor; border-radius: 8px 8px 9px 9px;
}
#desktop-match-hud .mouse::before, #desktop-match-hud .mouse::after {
  content: ""; position: absolute; top: 0; height: 9px;
}
#desktop-match-hud .mouse::before { left: 0; right: 0; border-bottom: 1.8px solid currentColor; border-radius: 5px 5px 0 0; }
#desktop-match-hud .mouse::after { left: 50%; border-left: 1.8px solid currentColor; }

#desktop-match-hud .desktop-lock {
  position: absolute;
  right: max(34px, env(safe-area-inset-right)); bottom: max(38px, env(safe-area-inset-bottom));
  width: 182px; height: 78px;
  display: grid; place-content: center; gap: 5px;
  border: 2px solid #2e6a99; border-radius: 21px;
  color: #fff; text-align: center;
  background: linear-gradient(173deg, #8de6fa 0, #40b5ea 38%, #2079bf 88%);
  box-shadow: inset 0 2px #e8fcff, inset 0 -3px #156ba9, 0 4px #173d72, 0 6px #a8d7ed;
  transform: scale(var(--hud-scale));
  transform-origin: right bottom;
}
#desktop-match-hud .desktop-lock strong { font: 400 29px/.97 "Desktop HUD Lilita",sans-serif; text-shadow: 0 2px #1b76a4; }
#desktop-match-hud .lock-cue { display: flex; justify-content: center; align-items: center; gap: 5px; font-size: 12px; text-shadow: 0 1px 1px #175380; }
#desktop-match-hud .lock-cue span { opacity: .9; font-weight: 700; }
#desktop-match-hud .lock-cue kbd { font: inherit; font-size: 11px; padding: 2px 5px; border: 1px solid currentColor; border-bottom-width: 2px; border-radius: 3px; }
#desktop-match-hud .click { width: 10px; height: 15px; border-width: 1.5px; }
#desktop-match-hud .click::before, #desktop-match-hud .click::after { height: 5px; }
#desktop-match-hud .click::before { background: linear-gradient(90deg, currentColor 0 50%, transparent 50%); }
#desktop-match-hud.locked .desktop-lock { background: linear-gradient(#347ba8, #225882); }

@media (max-width: 1000px), (max-height: 700px) {
  #desktop-match-hud { --hud-scale: .83; }
  #desktop-match-hud .desktop-power { left: max(15px, env(safe-area-inset-left)); bottom: max(15px, env(safe-area-inset-bottom)); }
  #desktop-match-hud .desktop-lock { right: max(19px, env(safe-area-inset-right)); bottom: max(25px, env(safe-area-inset-bottom)); }
}
@media (max-width: 550px), (max-height: 440px) {
  #desktop-match-hud { --hud-scale: .67; }
  #desktop-match-hud .desktop-power { left: max(6px, env(safe-area-inset-left)); }
  #desktop-match-hud .desktop-lock { right: max(6px, env(safe-area-inset-right)); }
}
@media (max-width: 335px) {
  #desktop-match-hud .power-hints { display: none; }
}
