*,
*::before,
*::after {
  /* 阻止safari在用户交互设置一些元素的背景色 */
  -webkit-tap-highlight-color: transparent;
  box-sizing: border-box;
}

html {
  overflow: hidden;
  touch-action: none;
  scroll-behavior: smooth; /* MDN: When this property is specified on the root element, it applies to the viewport instead. This property specified on the body element will not propagate to the viewport.(???) */
  height: 100%;
}

body {
  text-align: justify;
  height: 100%;
  overflow: hidden;
}

a {
  color: initial;
  text-decoration: initial;
  outline: none;
}

button {
  padding: 0;
  cursor: pointer;
  background-color: initial;
  border: initial;
  outline: none;
  white-space: pre;
}

img {
  user-select: none;
}

menu {
  list-style-type: initial;
}

li {
  display: initial;
}

input {
  outline: initial;
  background: initial;
  border: initial;
  border-radius: initial;
  width: initial;
  height: initial;
}

td {
  vertical-align: inherit;
}