/*
   PECPool PWA app-like interaction layer.
   This file is intentionally scoped to installed/standalone PWA mode only.
   Browser usage remains unchanged.
*/
html.pecpool-pwa-standalone body {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
    -webkit-tap-highlight-color: transparent;
}

html.pecpool-pwa-standalone input,
html.pecpool-pwa-standalone textarea,
html.pecpool-pwa-standalone select,
html.pecpool-pwa-standalone option,
html.pecpool-pwa-standalone [contenteditable="true"],
html.pecpool-pwa-standalone [contenteditable=""],
html.pecpool-pwa-standalone .allow-text-select,
html.pecpool-pwa-standalone .pecpool-allow-text-select,
html.pecpool-pwa-standalone .allow-context-menu,
html.pecpool-pwa-standalone .pecpool-allow-context-menu,
html.pecpool-pwa-standalone .copyable,
html.pecpool-pwa-standalone .selectable,
html.pecpool-pwa-standalone [data-allow-text-select="true"],
html.pecpool-pwa-standalone [data-allow-context-menu="true"] {
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
    -webkit-touch-callout: default;
    -webkit-tap-highlight-color: initial;
}

html.pecpool-pwa-standalone input,
html.pecpool-pwa-standalone textarea,
html.pecpool-pwa-standalone select,
html.pecpool-pwa-standalone button,
html.pecpool-pwa-standalone a,
html.pecpool-pwa-standalone [role="button"],
html.pecpool-pwa-standalone .btn {
    touch-action: manipulation;
}

html.pecpool-pwa-standalone img,
html.pecpool-pwa-standalone svg,
html.pecpool-pwa-standalone canvas {
    -webkit-user-drag: none;
    user-drag: none;
}

html.pecpool-pwa-standalone a,
html.pecpool-pwa-standalone img {
    -webkit-touch-callout: none;
}

html.pecpool-pwa-standalone input,
html.pecpool-pwa-standalone textarea {
    cursor: text;
}
