* {
  margin: 0;
  word-break: normal;
}

*::-webkit-scrollbar {
  position: absolute;
  left: 0;
  width: 3px;
  height: 0;
}

*::-webkit-scrollbar-thumb {
  border-radius: 3px;
  background: #ddd;
}

html,
body {
  width: 100%;
  font-family: UTM_KHUCCAMTA;
  font-weight: bold;
  overflow-x: hidden;
  color: #4b2829;
  font-style: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: none;
}

img,
video {
  display: block;
  width: 100%;
  vertical-align: bottom;
}

div {
  box-sizing: border-box;
}

/* input */
input {
  padding: 0;
  outline: none;
  border: none;
}

input[type=number] {
  -moz-appearance: textfield;
}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input:-webkit-autofill {
  box-shadow: 0 0 0px 1000px transparent inset !important;
  -webkit-text-fill-color: #000 !important;
  -webkit-box-shadow: 0 0 0px 1000px transparent inset !important;
  background-color: transparent;
  background-image: none;
  transition: background-color 50000s ease-in-out 0s;
}

/* 预加载盒子 */
.loadingImg {
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
  opacity: 0;
}

/* viewer.js */
#Viewer_box {
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
  overflow: hidden;
}

.mod {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100vw;
  height: auto;
  z-index: 1;
}

.mod_box {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
}

.bg_pc,
.bg_m {
  pointer-events: none;
}

.bg_m {
  display: none;
}

/* pop */
.pop {
  position: fixed;
  z-index: 999;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: rgba(0, 0, 0, 0.6);
}

.pop_box {
  position: relative;
  opacity: 0;
  transform: scale(.7);
  animation: pop_box .3s forwards;
}

.pop_close {
  position: absolute;
  left: calc(50% - 1.5vw);
  bottom: -4.5vw;
  z-index: 999;
  width: 3vw;
  height: 3vw;
  cursor: pointer;
}

@keyframes pop_box {
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.pop_msg {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1vw;
  min-width: 8vw;
  max-width: 30vw;
  min-height: 1.2vw;
  text-align: center;
  background-color: rgb(32 25 26 / 80%);
  color: #fff;
  font-size: 1.5vw;
  opacity: 0;
  transform: scale(.7);
  transition: .3s;
}

.pop_msg_on {
  opacity: 1;
  transform: scale(1);
}

.pop_video {
  width: 52vw;
  height: 30vw;
  background-color: #fff;
}

.pop_video video {
  height: 100%;
  object-fit: cover;
}

/* pop_loading */
#pop_loading {
  z-index: 9999;
}

.pop_loading {
  width: 4vw;
  height: 4vw;
  animation: 1s pop_loading infinite linear;
}

@keyframes pop_loading {
  100% {
    transform: rotateZ(360deg);
  }
}

/* swiper */
.swiper-wrapper {
  width: 100%;
  height: 100%;
}

.swiper-button-prev:after,
.swiper-button-next:after {
  content: '';
}

@media screen and (max-width: 800px) {
  body{
    font-weight: normal;
  }
  *::-webkit-scrollbar {
    display: none;
  }

  .bg_m {
    display: block;
  }

  .bg_pc {
    display: none;
  }

  .pop_msg {
    padding: 2vw;
    min-width: 30vw;
    max-width: 70vw;
    min-height: 5vw;
    border-radius: 1vw;
    font-size: 3.4vw;
  }

  .pop_close {
    left: calc(50% - 4vw);
    bottom: -12.5vw;
    width: 8vw;
    height: 8vw;
  }

  /* pop_video */
  .pop_video {
    width: 85vw;
    height: 50vw;
  }

  /* pop_loading */
  .pop_loading {
    width: 10vw;
    height: 10vw;
  }
}