/* palmii-noselect.css — KAN-201
   Block long-press text selection and image copy/save across the whole app.
   On mobile this stops the "select / copy / save image" callout that some
   devices show on a long press.

   Exceptions that stay selectable so the app keeps working:
   - form fields (input / textarea / select / contenteditable) — users type in them
   - anything marked .selectable — e.g. a wallet address the user must copy */

* {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Stop images (and other media) being dragged out / long-press-saved. */
img, picture, video, canvas, svg {
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    user-drag: none;
}

/* Re-enable selection where it is genuinely needed. */
input, textarea, select, [contenteditable="true"],
.selectable, .selectable * {
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
    -webkit-touch-callout: default;
}
