/* Suppress browser tap overlays on custom elements and interactive graphics too. */
*{-webkit-tap-highlight-color:transparent!important}
/* Shared control-only touch behavior; editable text and page content remain selectable. */
button, [role="button"], input[type="button"], input[type="submit"], input[type="reset"], a[href] {
 -webkit-tap-highlight-color:transparent!important;
 -webkit-user-select:none!important;
 user-select:none!important;
 -webkit-touch-callout:none!important;
}
button *, [role="button"] *, a[href] * { -webkit-user-select:none!important; user-select:none!important; }

canvas,svg,img,[draggable="true"]{-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}

/* Interface gestures operate controls instead of selecting their labels. */

input:not([type=button]):not([type=submit]):not([type=reset]),textarea,[contenteditable=true],[contenteditable=true] *{-webkit-user-select:text!important;user-select:text!important;-webkit-touch-callout:default!important}
img,svg{-webkit-user-drag:none}

input::selection,textarea::selection,[contenteditable=true]::selection,[contenteditable=true] *::selection{background:#d5d5d5;color:#222}
button:focus:not(:focus-visible),a:focus:not(:focus-visible),[role=button]:focus:not(:focus-visible){outline:none}

button *,[role="button"] *,a[data-platform],a[data-platform] *{-webkit-user-select:none!important;user-select:none!important;-webkit-touch-callout:none!important}

/* Keep hold gestures active when a finger moves slightly. */
[data-move],[data-rise],[data-sink],[data-act],[data-hold],[data-note],.hold-intensity-orb{touch-action:none!important}
