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

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

body {
  margin: 0;
  background: #FFFFFF;
  --content-bg-color: rgba(10, 10, 10, 1);
  --color-white: #fff;
}

#page-view {
  max-width: 500px;
  margin: 0 auto;
  position: relative;
  min-height: 100vh;
  background: var(--content-bg-color);
}

.content-warp {
  display: block;
  width: 100%;
  background: var(--content-bg-color);
}

.content-warp.has-footer {
  padding-bottom: 1.8rem;
}

.swipe-warp {
  display: block;
  width: 100%;
}

.swipe-warp .van-image__img,
.swipe-warp video {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: top;
}

/* 底部双按钮 */
.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: rgba(216, 214, 212, 0.21);
  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%;
}
