/* Original pixels; web-command bindings are RECONSTRUCTED. Preview PNGs are
   frame 0 only. NSC sheet crops below select person24 and wrench18 explicitly.
   Alpha cropping removes transparent margins without scaling the source pixels. */
#order-bar .order-move {
  --tc-native-icon: url('/games/tactical-commanders/assets/sprites/ntf-cur-nrm.png?v=v3-ui-541e55200f43');
  --tc-native-sheet: 42px 41px;
  --tc-native-position: -9px -8px;
  --tc-native-width: 28px;
  --tc-native-height: 27px;
}
#order-bar .order-attack {
  --tc-native-icon: url('/games/tactical-commanders/assets/sprites/ntf-aticon.png?v=v3-ui-541e55200f43');
  --tc-native-sheet: 26px 26px;
  --tc-native-position: -1px -1px;
  --tc-native-width: 25px;
  --tc-native-height: 25px;
}
#order-bar .order-hold {
  --tc-native-icon: url('/games/tactical-commanders/assets/sprites/ntf-nsc-hand.png?v=v3-ui-541e55200f43');
  --tc-native-sheet: 89px 87px;
  --tc-native-position: -48px -6px;
  --tc-native-width: 22px;
  --tc-native-height: 14px;
}
#order-bar .order-ability {
  --tc-native-icon: url('/games/tactical-commanders/assets/sprites/ntf-vwicon.png?v=v3-ui-541e55200f43');
  --tc-native-sheet: 26px 26px;
  --tc-native-position: -1px -1px;
  --tc-native-width: 25px;
  --tc-native-height: 25px;
}
#commander-sheet {
  --tc-native-icon: url('/games/tactical-commanders/assets/full-sprites/ntf-nsc-but1-000.png?v=v3-ui-541e55200f43');
  --tc-native-sheet: 352px 46px;
  --tc-native-position: -176px -23px;
  --tc-native-width: 22px;
  --tc-native-height: 23px;
}
#squad-button {
  --tc-native-icon: url('/games/tactical-commanders/assets/sprites/ntf-brd-mb.png?v=v3-ui-541e55200f43');
  --tc-native-sheet: 16px 20px;
  --tc-native-position: 0px 0px;
  --tc-native-width: 16px;
  --tc-native-height: 20px;
}
#territory-button {
  --tc-native-icon: url('/games/tactical-commanders/assets/sprites/ntf-brd-bt1.png?v=v3-ui-541e55200f43');
  --tc-native-sheet: 32px 21px;
  --tc-native-position: 0px 0px;
  --tc-native-width: 32px;
  --tc-native-height: 21px;
}
#system-menu > summary {
  --tc-native-icon: url('/games/tactical-commanders/assets/full-sprites/ntf-nsc-but1-000.png?v=v3-ui-541e55200f43');
  --tc-native-sheet: 352px 46px;
  --tc-native-position: -44px -23px;
  --tc-native-width: 22px;
  --tc-native-height: 23px;
}
#capital-button {
  --tc-native-icon: url('/games/tactical-commanders/assets/sprites/ntf-nsc-but2.png?v=v3-ui-541e55200f43');
  --tc-native-sheet: 32px 25px;
  --tc-native-position: 0px 0px;
  --tc-native-width: 32px;
  --tc-native-height: 25px;
}
/* This small tracking control is a NEW comfort action. The original 32px target
   cursor is shown at integer half size; its hit rectangle remains unchanged. */
#focus {
  --tc-native-icon: url('/games/tactical-commanders/assets/sprites/ntf-cur-tg.png?v=v3-ui-541e55200f43');
  --tc-native-sheet: 16px 16px;
  --tc-native-position: 0px 0px;
  --tc-native-width: 16px;
  --tc-native-height: 16px;
}
body[data-hud-profile='reference'] .hud-menu > button,
body[data-hud-profile='reference'] .hud-menu summary {
  position: relative;
}
body[data-hud-profile='reference']
  #hud
  :is(.radial-command, .hud-menu > button, .hud-menu summary, #focus)
  > svg {
  display: none !important;
}
body[data-hud-profile='reference']
  #hud
  :is(.radial-command, .hud-menu > button, .hud-menu summary, #focus)::before,
html
  body[data-hud-profile='portal-mobile']:not(.mobile-keyboard)
  #order-bar
  .radial-command::before {
  content: '';
  position: absolute;
  inset: auto;
  left: 50%;
  top: 50%;
  width: var(--tc-native-width);
  height: var(--tc-native-height);
  transform: translate(-50%, -50%);
  background-image: var(--tc-native-icon);
  background-repeat: no-repeat;
  background-size: var(--tc-native-sheet);
  background-position: var(--tc-native-position);
  image-rendering: pixelated;
  pointer-events: none;
}
