#aimGuidance {
  position: absolute;
  z-index: 1100;
  top: 68px;
  left: 12px;
  display: grid;
  gap: 3px;
  max-width: min(320px, calc(100% - 24px));
  padding: 6px 9px;
  border: 1px solid #dfc38140;
  border-radius: 9px;
  background: #12251ed9;
  color: #f2d59a;
  font:
    11px/1.5 "Segoe UI",
    "Microsoft YaHei",
    sans-serif;
  pointer-events: none;
}

#aimGuidance .is-warning {
  color: #ffd0b2;
}

#selectedTargetText {
  color: #a6ecff;
}

#selectedTargetLabel {
  position: absolute;
  z-index: 1100;
  min-width: 20px;
  padding: 1px 5px;
  border: 1px solid #a6ecff;
  border-radius: 9px;
  background: #142d36e6;
  color: #e8fbff;
  font:
    600 11px/16px "Segoe UI",
    sans-serif;
  text-align: center;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

#aimGuidance[hidden],
#aimGuidance [hidden],
#selectedTargetLabel[hidden],
#shotClockLabel[hidden] {
  display: none;
}

#panel .aimingArea {
  position: relative;
}

#panel .shot-clock {
  position: absolute;
  z-index: 2;
  top: 50%;
  right: 10px;
  padding: 3px 5px;
  border-radius: 7px;
  background: #203a2e;
  color: #f6e3b9;
  font:
    600 12px/18px "Segoe UI",
    sans-serif;
  font-variant-numeric: tabular-nums;
  transform: translateY(-50%);
  pointer-events: none;
}

#panel .shot-clock.is-critical {
  color: #fff3e8;
  background: #923b2d;
}

#panel .aimingArea:has(.shot-clock:not([hidden])) #cueHit {
  padding-right: 52px;
}

@media (height <= 500px) and (orientation: landscape) {
  #aimGuidance {
    top: 40px;
    font-size: 10px;
  }
}
