
html {
  touch-action: none;
  -ms-touch-action: none;
  height: 100%;
  box-sizing: border-box;
  font-size: 90px;
  font-size: calc(100vw / 414 * 100);
}

@media (min-width: 750px) {
  html {
    font-size: calc(750px / 414 * 100);
  }
}

body,
canvas,
div {
  display: block;
  outline: none;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);

  user-select: none;
  -moz-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  -khtml-user-select: none;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

/* Remove spin of input type number */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  /* display: none; <- Crashes Chrome on hover */
  -webkit-appearance: none;
  margin: 0;
  /* <-- Apparently some margin are still there even though it's hidden */
}

body {
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  margin: 0;
  overflow: hidden;
  font-size: 0.14rem;
  font-family: Pingfang SC, -apple-system, BlinkMacSystemFont, Hssselvetica Neue, Helvetica, Segoe UI, Arial, Roboto, Hiragino Sans GB, Microsoft Yahei, sans-serif !important;
  background-color: #f4f4f4;
  touch-action: none;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
  overscroll-behavior: none;

  --sat: env(safe-area-inset-top);
  --sar: env(safe-area-inset-right);
  --sab: env(safe-area-inset-bottom);
  --sal: env(safe-area-inset-left);

  --sat2: constant(safe-area-inset-top);
  --sar2: constant(safe-area-inset-right);
  --sab2: constant(safe-area-inset-bottom);
  --sal2: constant(safe-area-inset-left);
}

html,
body {
  width: 100%;
  height: 100%;
  overflow-x: hidden;
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch;
}

@supports (-webkit-touch-callout: none) {
  body {
    position: relative;
    left: 0 !important;
  }
}

#app {
  width: 100%;
  height: 100%;
  overflow-x: hidden;
}

* {
  box-sizing: border-box;
  &::-webkit-scrollbar {
    display: none;
  }
  -ms-overflow-style: none; /* IE and Edge */
  scrollbar-width: none; /* Firefox */
}

a,
a:focus,
a:hover {
  cursor: pointer;
  color: inherit;
  text-decoration: none;
}

i,
em {
  font-style: normal;
}

body.fullScreen {
  position: absolute;
  top: 0;
  left: 0;
}

body.fullScreen #app {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

html.pc{
  font-size: 100px;
}

html.pc body{
  width: 414px;
  margin: auto;
}

html.pc body{
  * {
    &::-webkit-scrollbar {
      display: block;
      width: 8px;
      height: 8px;
    }
    &::-webkit-scrollbar-track {
      background: #f1f1f1;
      border-radius: 4px;
    }
    &::-webkit-scrollbar-thumb {
      background: #c1c1c1;
      border-radius: 4px;
    }
    &::-webkit-scrollbar-thumb:hover {
      background: #a8a8a8;
    }
    -ms-overflow-style: scrollbar; /* IE and Edge */
    scrollbar-width: thin; /* Firefox */
    scrollbar-color: #c1c1c1 #f1f1f1; /* Firefox */
  }
}