/* :root {
  --name: red;
}
body {
  color: var(--name);
} */

*,
*:before,
*:after {
  margin: 0;
  padding: 0;
  outline: none;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

* {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

html,
body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  font-family: 'MicrosoftYaHei', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 16px;
  word-spacing: 1px;
  line-height: normal;
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
}

#__nuxt {
  width: 100%;
  height: 100%;
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  overflow: hidden;
}

#__layout {
  /* height: 100%;
  overflow-y: auto;
  overflow-x: hidden; */
  position: absolute;
  left: 0;
  top: 0;
  right: -17px;
  bottom: 0;
  overflow-x: hidden;
  overflow-y: scroll;
}

#__layout::-webkit-scrollbar {
  width: 0 !important;
}

#__layout {
  -ms-overflow-style: none;
}

#__layout {
  overflow: -moz-scrollbars-none;
}

ul,
li {
  list-style: none;
  margin: 0;
  padding: 0;
}
p,
h2 {
  margin: 0;
  padding: 0;
}
table,
th,
td {
  border-collapse: collapse !important;
}

img {
  vertical-align: middle;
}

.page-enter-active,
.page-leave-active {
  transition: all 0.2s;
}

.page-enter,
.page-leave-active {
  opacity: 0;
}

/* flex 工具 */

.f-h {
  display: flex;
  flex-direction: row;
}

.f-v {
  display: flex;
  flex-direction: column;
}

.f-hc {
  display: flex;
  flex-direction: row;
  justify-content: center;
}

.f-vc {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.f-cc {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}

.f-vcc {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.f-bc {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

#heartMain {
  display: block;
  position: absolute;
  width: 150px;
  height: 200px;
  top: 0;
  left: 0;
  z-index: 20;
  cursor: pointer;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

.heartMain {
  display: block;
  position: absolute;
  width: 100%;
  height: 90%;
  top: 0;
  left: 0;
  z-index: 20;
  cursor: pointer;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

.common-not-scroll-bar::-webkit-scrollbar {
  display: none; /* Chrome Safari */
}

.common-not-scroll-bar {
  scrollbar-width: none; /* firefox */
  -ms-overflow-style: none; /* IE 10+ */
  overflow-x: hidden;
  overflow-y: auto;
}
.ar-direction-common {
  direction: rtl;
}