/* 页面基础布局 */
html {
  font-size: 10vw;
}

@media screen and (min-width: 500px) {
  html {
    font-size: 50px;
  }
}

html,
body {
  margin: 0;
  height: 100%;
  overflow: hidden;
  background: #0a0a0a;
}

#page-view {
  width: 100%;
  max-width: 500px;
  height: 100dvh;
  margin: 0 auto;
  overflow: hidden;
  background: #0a0a0a;
  box-sizing: border-box;
  padding-top: env(safe-area-inset-top);
  padding-bottom: calc(1.6rem + env(safe-area-inset-bottom));
}

.content-warp,
.content-warp.has-footer,
.swipe-warp,
.swipe-warp .van-swipe,
.swipe-warp .van-swipe__track,
.swipe-warp .van-swipe-item,
.swipe-warp .van-image {
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  overflow: hidden !important;
  padding: 0 !important;
  background: transparent;
}

.swipe-warp .van-image__img,
.swipe-warp video {
  display: block;
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  object-position: center center !important;
}
/* 底部双按钮 */
.downbload-footer {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 500px;
  height: 1.6rem;
  z-index: 99;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  box-sizing: border-box;
  padding: 0 0.2rem;
}

.footer-btn {
  position: relative;
  flex: 1;
  margin: 0 0.25rem;
  padding: 0 0.25rem;
  height: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.21rem;
  color: #fff;
  font-size: 0.32rem;
  cursor: pointer;
  text-align: center;
}

.footer-btn .text-warp {
  white-space: nowrap;
  font-weight: 500;
}

.footer-btn .footer-bubble {
  position: absolute;
  right: 0;
  bottom: 1.05rem;
  padding: 0.12rem 0.28rem 0.12rem 0.5rem;
  background: #ea4e3d;
  border-radius: 0.21rem;
  font-size: 0.28rem;
  line-height: 1.3;
  color: #fff;
  white-space: nowrap;
  max-width: none;
  overflow: visible;
}

.footer-btn .footer-bubble::before {
  content: "";
  position: absolute;
  left: 0.12rem;
  bottom: -0.14rem;
  border: 0.16rem solid transparent;
  border-top-color: #ea4e3d;
  border-left-color: #ea4e3d;
  z-index: 0;
  pointer-events: none;
}

/* 右侧客服浮动按钮 */
.fix-tool.fix-right-top {
  position: fixed;
  top: 3.2rem;
  right: max(calc(50vw - 250px + 0.13rem), 0.13rem);
  z-index: 100;
}

.fix-item {
  display: block;
  width: 1.33rem;
  height: 1.33rem;
  cursor: pointer;
}

.fix-item a {
  display: block;
  width: 100%;
  height: 100%;
}

.fix-item .van-image__img,
.fix-item a img {
  display: block;
  width: 100%;
  height: 100%;
}