[v-cloak] {
  display: none;
}

.toast-container .toast {
  text-align: center;
}

button {
  background: none;
  outline: none;
  border: none;
  cursor: pointer;
}
a {
  text-decoration: none;
}

/* 通用弹窗 */
.modal-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1000;

  display: flex;
  justify-content: center;
  align-items: center;

  transform: translateZ(0);
}
.modal-wrapper .modal-mask {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.6);
  transition: opacity 0.3s;
}
.modal-wrapper .modal-box {
  position: relative;
  transform: scale(1);
  opacity: 1;
  transition: all 0.3s;
}
.fx-modal-enter .modal-mask,
.fx-modal-leave-active .modal-mask {
  opacity: 0;
}

.fx-modal-enter .modal-box,
.fx-modal-leave-active .modal-box {
  transform: scale(0.9);
  opacity: 0;
}

.fx-modal-enter-active,
.fx-modal-leave-active {
  transition: all 0.3s;
}

.scrollbar {
  overflow-y: auto;
  height: 100%;
}

.scrollbar::-webkit-scrollbar-track {
  background-color: #806c59;
}

.scrollbar::-webkit-scrollbar-thumb {
  background: #a12e1d;
  cursor: pointer;
}

.scrollbar::-webkit-scrollbar {
  width: 4px;
  height: 4px;
}

.loading-box {
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.6);

  display: flex;
  justify-content: center;
  align-items: center;

  user-select: none;

  position: fixed;
  left: 0;
  top: 0;

  z-index: 99999999;
}

.loading-box .loading {
  width: 30px;
  height: 30px;
  display: inline-block;
  border: 3px solid #ccc;
  border-radius: 50%;
  border-top: 3px solid #ecce78;
  animation: loadingAnimation 1s infinite linear;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
}
@keyframes loadingAnimation {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
