/* Sophia mobile hold v2: isolate native gestures strictly to movement pads. */
#pad,#pad *, .pad,.pad *, .world .dpad,.world .dpad *{
touch-action:none!important;overscroll-behavior:contain!important;
-webkit-touch-callout:none!important;-webkit-user-select:none!important;
user-select:none!important;-webkit-user-drag:none!important;
-webkit-tap-highlight-color:transparent!important
}
#pad button,.pad button,.world .dpad button{font-size:0!important}
#pad button::before,.pad button::before,.world .dpad button::before{
display:inline-block;pointer-events:none;
font:700 25px/1 system-ui,-apple-system,sans-serif;color:#f3e8cf;
-webkit-user-select:none;user-select:none
}
#pad button[data-key="w"]::before,.world .dpad button:nth-child(1)::before,.pad button[data-dir="up"]::before{content:"↑"}
#pad button[data-key="a"]::before,.world .dpad button:nth-child(2)::before,.pad button[data-dir="left"]::before{content:"←"}
#pad button[data-key="s"]::before,.world .dpad button:nth-child(3)::before,.pad button[data-dir="down"]::before{content:"↓"}
#pad button[data-key="d"]::before,.world .dpad button:nth-child(4)::before,.pad button[data-dir="right"]::before{content:"→"}
