/* 基于100，设计稿1080px 切图100px等于1rem;*/
html {
  /* 1rem = (100px / 1080px) * 100vw ≈ 9.25926vw */
  font-size: 9.25926vw;
}
@media screen and (max-width: 320px) {
  html {
    /* 1rem = (100px / 1080px) * 320px ≈ 29.62963px */
    font-size: 29.62963px;
  }
}
@media screen and (min-width: 750px) {
  html {
    /* 375/1080*100 = 34.72 */
    font-size: 34.72px;
  }
}
/* 全局样式：基础重置 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  color: #333;
  background: #f5f5f5;
}

#__nuxt {
  margin: 0 auto;
  min-width: 320px;
  max-width: 750px;
}

html,
body,
#__nuxt {
  height: 100vh;
}

table {
  border-spacing: 0;
  border-collapse: collapse;
}

.ell-1 {
  overflow: hidden;

  white-space: nowrap;
  text-overflow: ellipsis;
}

.ell-2 {
  display: -webkit-box;
  overflow: hidden;

  -webkit-box-orient: vertical;

  -webkit-line-clamp: 2;
}

.ell-3 {
  display: -webkit-box;
  overflow: hidden;

  -webkit-box-orient: vertical;

  -webkit-line-clamp: 3;
}

.ell-4 {
  display: -webkit-box;
  overflow: hidden;

  -webkit-box-orient: vertical;

  -webkit-line-clamp: 4;
}

.ell-5 {
  display: -webkit-box;
  overflow: hidden;

  -webkit-box-orient: vertical;

  -webkit-line-clamp: 5;
}

.ell-6 {
  display: -webkit-box;
  overflow: hidden;

  -webkit-box-orient: vertical;

  -webkit-line-clamp: 6;
}

::scrollbar {
  display: none;
}

::-webkit-scrollbar {
  display: none;
}

.van-image-preview__image {
  width: 95%;
}

/* 基础重置：去除下划线、默认颜色和点击状态样式 */
a {
  text-decoration: none; /* 去除下划线 */
  color: inherit; /* 继承父元素的文字颜色（不再是默认的蓝色） */
  outline: none; /* 去除点击时的默认轮廓线（可选，根据需求保留） */
}

/* 可选：去除活跃/访问状态的样式 */
a:link,
a:visited,
a:hover,
a:active {
  text-decoration: none; /* 确保所有状态都无下划线 */
  color: inherit; /* 所有状态继承父元素颜色 */
}
.cur{
  cursor: pointer;
}

.van-tabbar--fixed,
.van-sticky--fixed {
    z-index: 999 !important;
}