@import url('https://fonts.unwall.in/css2?family=Quicksand:wght@600&display=swap');
@import url('https://fonts.unwall.in/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@24,200,0,0');

:root {
  --abit-darker-0: rgba(0,0,0,0.07);
  --abit-darker-1: rgba(0,0,0,0.15);
  --abit-darker-2: rgba(0,0,0,0.25);
  --abit-lighter-0: rgba(255,255,255,0.07);
  --abit-lighter-1: rgba(255,255,255,0.15);
  --abit-lighter-2: rgba(255,255,255,0.25);
  --transparent:rgba(0,0,0,0);
}

* {
  box-sizing: border-box;
}

.unselectable {
  user-select: none;
}

body, div#SUPER-APP-CONTAINER {
  width: 100%;
  max-width: 100vw;
  margin: 0!important;
  padding: 0!important;
  border: 0!important;
}

header, header ul, header ul li {
  height: 48px;
  margin: 0; padding: 0;
  list-style: none;
}

header {
  overflow-y: hidden;
  background: var(--abit-darker-2);
}

header nav ul {
  display: flex;
  overflow-x: auto; /* 允许水平滚动 */
  overflow-y: hidden; /* 隐藏垂直滚动条 */
  white-space: nowrap; /* 不换行 */
  -ms-overflow-style: none;  /* 适用于 IE 和 Edge 浏览器 */
  scrollbar-width: none;  /* 适用于 Firefox */
  padding-left: 1rem;
}

header nav ul::-webkit-scrollbar {
  display: none; /* 隐藏滚动条（webkit浏览器） */
}

header nav ul::-moz-scrollbar {
  display: none; /* 隐藏滚动条（mozilla浏览器） */
}

header nav ul::-ms-scrollbar {
  display: none; /* 隐藏滚动条（microsoft浏览器） */
}

header nav ul li {
  display: flex;
  align-items: center;
}

header nav ul li a, header nav ul li a:hover {
  display: inline-block;
  padding: 0.5rem 1.2rem;
  font-size: 0.8rem;
  font-family: "Quicksand", sans-serif;
  font-optical-sizing: auto;
  font-weight: 600;
  font-style: normal;
  color: white;
  text-decoration: none;
  cursor: pointer;
}

button[disabled], input[type="button"][disabled] {
  cursor: default !important; /* 或者 cursor: pointer;  */
}

textarea {
  resize: both;
}

.loading {
  position: relative;
  width: 100vw;
  height: 3px;
  overflow: hidden;
}

.loading-bar {
  position: absolute;
  left: 0;
  height: 3px;
  background-color: rgba(255, 255, 255, 0.5);
  animation: loading 3.5s infinite;
}

@keyframes loading {
  0% {
    left: 0;
    width: 15%;
  }
  25% {
    width: 12%;
  }
  50% {
    left: calc(100vw - 15%);
    width: 15%;
  }
  75% {
    width: 12%;
  }
  100% {
    left: 0;
    width: 15%;
  }
}
