*, *::before, *::after { box-sizing: border-box; }

* { margin: 0; padding: 0; }

html, body { height: 100%; }

body {
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Только тач. Выделение текста, лупа, контекстное меню и подсветка тапа —
   всё это на киоске лишнее и выглядит как баг. */
* {
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
  user-select: none;
}

/* Убирает 300 мс задержки распознавания двойного тапа. */
html { touch-action: manipulation; }

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: default;
}

svg { display: block; }

img { display: block; max-width: 100%; }
