* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
img {
    -webkit-touch-callout: none;
    -webkit-user-drag: none;
    -moz-user-drag: none;
    -ms-user-drag: none;
    user-drag: none;
}
body {
  -webkit-user-select: none; /* Safari */
  -moz-user-select: none; /* Firefox */
  -ms-user-select: none; /* Internet Explorer/Edge */
  user-select: none; /* Non-prefixed version, currently supported by Chrome and Opera，禁用文本选择 */
  -webkit-touch-callout: none; /* iOS Safari，禁用长按行为 */
}

:root {
  --cursor-color: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAIAAAACCAYAAABytg0kAAAAAXNSR0IArs4c6QAAABRJREFUCB1jZDy49T8DEDCBCBAAACTkAnq23WmtAAAAAElFTkSuQmCC);
  --container-background: #fff;
  --active-stave-box: rgba(1, 193, 181, 0.2);
  --corsor-opacity: 1;
}

.eyeProtection {
  --cursor-color: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAIAAAACCAYAAABytg0kAAAAAXNSR0IArs4c6QAAABZJREFUCB1j/N8sv5UBCJhABMN/hv8AKQgEWNQffFMAAAAASUVORK5CYII=);
  --container-background: #fff4e1;
  --active-measur-backgorund: rgba(255, 98, 37, 0.18);
}

.hideCursor {
  --corsor-opacity: 0;
}

.selectionToast {
  top: 20vh;
}

.pop-center-enter-from,
.pop-center-leave-to {
  transform: scale(0);
}

.pop-center-enter-active,
.pop-center-leave-active {
  transition: all 0.25s;
}

/* vant 弹窗优化 */
:root {
  --van-duration-base: 0.25s;
}

.van-overlay {
  transition: all 0.25s;
}

.popup-custom {
  transition: all 0.25s;
  background: transparent;
  overflow: initial;
  max-width: 100%;
}

.popup-custom.van-scale {
  transform-origin: center -25%;
}

/* 缩放动画 */
.van-scale-enter-from,
.van-scale-leave-to {
  opacity: 0;
  transform: scale(0.3);
}

.van-scale-enter-active,
.van-scale-leave-active {
  transition: all 0.25s;
}

.custom-close-btn .van-popup__close-icon {
  top: 0;
  right: -30px;
  background-color: #fff;
  border-radius: 50%;
  padding: 4px;
  font-size: 16px;
  color: var(--van-primary-color);
}

.top_drag {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 20px;
  z-index: 1;
  cursor: move;
}

/* 动画右滑进入 */
.v-slide-right-enter-from,
.v-slide-right-leave-to {
  transform: translateX(100%);
}

.v-slide-right-enter-active,
.v-slide-right-leave-active {
  transition: all 0.3s;
}

/* 上滑进入 */
.v-slide-up-enter-from,
.v-slide-up-leave-to {
  transform: translateY(100%);
}

.v-slide-up-enter-active,
.v-slide-up-leave-active {
  transition: all 0.3s;
}

.noSaveModal {
  transform: scale(0.8) translateY(-50%);
}

/* 引导动画 */
@keyframes guideKeyframes {
  0% {
    transform: scale(0.9);
  }

  50% {
    transform: scale(1);
  }

  100% {
    transform: scale(0.9);
  }
}

.guideAnimate {
  animation-duration: 1.5s;
  animation-name: guideKeyframes;
  animation-iteration-count: infinite;
}

@keyframes cnimate {
  0% {
    opacity: 0;
  }
  50% {
    opacity: 0.5;
  }
  100% {
    opacity: 1;
  }
}

@keyframes noteAnimate {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.2);
  }
  100% {
    transform: scale(1);
  }
}

html {
  font-size: 64px;
}

@font-face {
  font-family: "DIN-Bold";
  src: url("./assets/DIN_Alternate_Bold.ttf");
}