/* Variant A (docs/offline/DOGOVOR-A-2026-10-21.md, items 1 and 5): the app must not look like a web page.
   Every rule of the first block sits under the mark platform.js puts on <html> inside the app (data-platform android or ios);
   the website never gets it and keeps its tap highlight, text selection and pull-to-refresh. The old
   `body { overscroll-behavior-y: none }` of mobile.css stays as it is. */

/* No grey flash under a finger, no system menu on a long press, no selection of the interface text. */
:is(html[data-platform="android"], html[data-platform="ios"]) * {
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
}

/* What a person may select and copy: what they type, and the answers of the assistant. */
:is(html[data-platform="android"], html[data-platform="ios"]) :is(input, textarea, [contenteditable], [contenteditable] *, .exact-assist__message--assistant .exact-assist__bubble, .exact-assist__message--assistant .exact-assist__bubble *) {
  -webkit-user-select: text;
  user-select: text;
}

/* No rubber band and no pull-to-refresh at the edge of the page. */
:is(html[data-platform="android"], html[data-platform="ios"]),
:is(html[data-platform="android"], html[data-platform="ios"]) body {
  overscroll-behavior: none;
}

/* The first frame of the app without cached data (native-boot.js): the shape of a screen under the real header and tabs. */
.boot-skeleton {
  display: grid;
  gap: 12px;
  padding: 16px;
}
.boot-skeleton > span {
  display: block;
  height: 76px;
  border-radius: 16px;
  background: #e6e8eb;
}
.boot-skeleton > .boot-skeleton__title {
  width: 46%;
  height: 32px;
  border-radius: 8px;
}
.boot-skeleton > .boot-skeleton__card--tall {
  height: 190px;
}
