/* 0.12.0: state-driven layout. New prep sub-stages inherit menu behavior automatically. */
@media(pointer:coarse){
  body[data-input="menu"] #touchUI{display:none!important}
  body[data-input="menu"] #playerHud{display:none!important}
  body[data-phase="prep"] #helpTouch{display:none!important}
  body[data-input="field"] #touchUI:not(.hidden){display:block!important}
  body[data-input="field"] #moveStick{display:block!important;pointer-events:auto!important}
  body[data-input="field"] #interactTouch.available{display:block!important}
}
body[data-overlay="upgrades"] #brand{opacity:0!important;visibility:hidden}
body[data-boss="true"] #objective{top:160px}
@media(max-width:1050px){body[data-boss="true"] #objective{top:144px}}
@media(pointer:coarse){body[data-boss="true"] #objective{top:max(132px,calc(var(--safe-top) + 124px));max-width:min(72vw,520px)}}
@media(pointer:coarse) and (max-height:360px){body[data-boss="true"] #objective{top:max(112px,calc(var(--safe-top) + 104px))}}
/* 0.14.0-B.1: build prep keeps movement + dodge only. Combat bonuses stay server-disabled. */
@media(pointer:coarse){
  body[data-input="field"] #dashTouch{display:block!important;pointer-events:auto!important}
}
