: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;
}

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 */
  margin: 0;
  padding: 0;
  height: 100%;
  width: 100%;
  overflow: hidden;
  overscroll-behavior: none;
}

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 {
  height: 100%;
  box-sizing: border-box;
}

/* 全局页面安全区域适配 */
.page, .home-page, .order-page, .my-page {
  box-sizing: border-box;
}

/* 全局页面容器滚动样式 - flexbox 布局 */
.page {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
}

.page-container {
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

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

  a:hover {
    color: #747bff;
  }

  button {
    background-color: #f9f9f9;
  }
}

.custom-tabbar[data-v-37203002] {
  height: 4.375rem;
  padding-bottom: calc(-0.625rem + var(--safe-area-inset-bottom, 0px));
  box-sizing: content-box;
}
.custom-tabbar-item[data-v-37203002] {
  flex-direction: column;
  justify-content: center;
  padding-top: 0.375rem;
}
[data-v-37203002] .van-tabbar-item__icon {
  font-size: 1.375rem;
}
[data-v-37203002] .van-tabbar-item__text {
  font-size: 0.875rem;
  margin-top: 0.125rem;
}

.update-dialog[data-v-fc9c0bb9] {
  --van-dialog-border-radius: 1rem;
}
.update-content[data-v-fc9c0bb9] {
  padding: 1.25rem;
}
.version-info[data-v-fc9c0bb9] {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1rem;
  padding: 0.75rem 1rem;
  background-color: #f7f8fa;
  border-radius: 0.5rem;
}
.current-version[data-v-fc9c0bb9],
.latest-version[data-v-fc9c0bb9] {
  font-size: 0.875rem;
  color: #333;
}
.latest-version[data-v-fc9c0bb9] {
  color: #1989fa;
  font-weight: 500;
}
.update-notes[data-v-fc9c0bb9] {
  margin-bottom: 1rem;
}
.notes-title[data-v-fc9c0bb9] {
  font-size: 0.875rem;
  font-weight: 500;
  color: #333;
  margin-bottom: 0.5rem;
}
.notes-content[data-v-fc9c0bb9] {
  font-size: 0.8125rem;
  color: #666;
  line-height: 1.6;
  white-space: pre-line;
  padding: 0.75rem;
  background-color: #f7f8fa;
  border-radius: 0.5rem;
}
.update-tip[data-v-fc9c0bb9] {
  display: flex;
  align-items: center;
  padding: 0.75rem;
  background-color: #fff8f8;
  border-radius: 0.5rem;
  font-size: 0.8125rem;
  color: #ff6034;
}
.update-tip .van-icon[data-v-fc9c0bb9] {
  margin-right: 0.5rem;
  font-size: 1.125rem;
}
.van-tabbar {
  box-shadow: 0 -0.125rem 0.625rem rgba(0, 0, 0, 0.05);
}