:root {
  font-family: system-ui, Avenir, Helvetica, Arial, sans-serif;
  line-height: 1.5;
  font-weight: 400;

  color-scheme: light dark;
  color: rgba(255, 255, 255, 0.87);
  background-color: #242424;

  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;

  /* iOS 安全区域变量 */
  --safe-area-inset-top: env(safe-area-inset-top, 0);
  --safe-area-inset-bottom: env(safe-area-inset-bottom, 0);
  --safe-area-inset-left: env(safe-area-inset-left, 0);
  --safe-area-inset-right: env(safe-area-inset-right, 0);
}

a {
  font-weight: 500;
  color: #646cff;
  text-decoration: inherit;
}

a:hover {
  color: #535bf2;
}

body {
  margin: 0;
  min-width: 20rem;
  font-size: 0.875rem;
  /* iOS 防止双击缩放 */
  touch-action: manipulation;
}

/* 全局隐藏滚动条 - 兼容所有页面 */
*::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

html, body, #app {
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
}

img {
  display: block;
  margin: 0 auto;
  padding: 0%;
}

h1,
h2,
h3,
h4,
h5 {
  font-weight: normal;
  margin: 0;
  padding: 0;
}

button {
  border-radius: 0.5rem;
  border: 0.0625rem solid transparent;
  padding: 0.6em 1.2em;
  font-size: 1em;
  font-weight: 500;
  font-family: inherit;
  background-color: #1a1a1a;
  cursor: pointer;
  transition: border-color 0.25s;
}

button:hover {
  border-color: #646cff;
}

button:focus,
button:focus-visible {
  outline: 0.25rem auto -webkit-focus-ring-color;
}

.card {
  padding: 2em;
}

#app {
  overflow-y: auto !important;
  overscroll-behavior-y: contain !important;
  height: 100vh;
  scroll-behavior: smooth;
  /* 可选平滑效果 */
  /* iOS 安全区域适配 - 顶部添加 padding */
  padding-top: var(--safe-area-inset-top);
  box-sizing: border-box;
}

@media (prefers-color-scheme: light) {
  :root {
    color: #213547;
    background-color: #ffffff;
  }

  a:hover {
    color: #747bff;
  }

  button {
    background-color: #f9f9f9;
  }
}
/* 调整整个TabBar的高度 */
.custom-tabbar[data-v-f16b0a99] {
  height: 4.375rem;
  /* 默认约50px，这里增加到60px */
  padding-bottom: calc(0.625rem + var(--safe-area-inset-bottom, 0px));
  /* 适配移动端底部安全区域 */
  box-sizing: content-box;
}

/* 调整TabBarItem的样式使其居中 */
.custom-tabbar-item[data-v-f16b0a99] {
  flex-direction: column;
  justify-content: center;
  padding-top: 0.375rem;
  /* 调整顶部内边距使内容居中 */
}

/* 可以根据需要调整图标和文字大小 */
[data-v-f16b0a99] .van-tabbar-item__icon {
  font-size: 1.375rem;
  /* 增大图标 */
}
[data-v-f16b0a99] .van-tabbar-item__text {
  font-size: 0.875rem;
  /* 调整文字大小 */
  margin-top: 0.125rem;
  /* 调整文字与图标间距 */
}

.logo[data-v-7074c3e3] {
  height: 6em;
  padding: 1.5em;
  will-change: filter;
  transition: filter 300ms;
}
.logo[data-v-7074c3e3]:hover {
  filter: drop-shadow(0 0 2em #646cffaa);
}
.logo.vue[data-v-7074c3e3]:hover {
  filter: drop-shadow(0 0 2em #42b883aa);
}
.van-tabbar {
  box-shadow: 0 -0.125rem 0.625rem rgba(0, 0, 0, 0.05);
}