* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  width: 100%;
  height: 100%;
  overflow-x: hidden;
  background-color: #f0f7ff; /* 或你想要的背景 */
}


#slider-verify-mask {
  margin: 0 auto;
  position: fixed;
  width: 100vw;
  height: 100vh;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  overscroll-behavior: contain;
  background: url(../image/back.png) top center no-repeat #f0f7ff;
  background-size: cover;
}

.slider-verify-box {
  background: #fff;
  border-radius: 1.5rem;
  padding: 6.2rem 6rem;
  box-shadow: 0 12px 26px -12px rgba(0, 0, 0, 0.2);
  width: 50rem;
  height: 30rem;
  text-align: center;
  border: 3px solid #ffe200;
}

.slider-verify-title {
  font-size: 3rem;
  color: #f0af00;
  margin-bottom: 36px;
  font-weight: bold;
}

.slider-verify-slider {
  position: relative;
  height: 5.5rem;
  background: #fff1ac;
  border-radius: 5rem;
  user-select: none;
  margin: 0 auto;
  width: 38rem;
  overflow: hidden;
}

.slider-verify-bar {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  background: rgba(255, 177, 3, 0.8);
  border-radius: 3rem;
  width: 0;
  transition: background 0.2s;
  z-index: 2;
}

.slider-verify-handle {
  position: absolute;
  left: 0;
  top: 0;
  width: 5.5rem;
  height: 5.5rem;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(114, 92, 0, 0.15);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: #ffba00;
  transition: background 0.2s;
  touch-action: none;
  z-index: 3;
  border: 3px solid #ffba00;
}

.slider-verify-text {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  line-height: 5.5rem;
  color: #434343;
  font-size: 1.6rem;
  z-index: 1;
  pointer-events: none;
}


/* 📱 手機自適應樣式 */
@media (max-width: 750px) {
  #slider-verify-mask {
    width: 100vw;
    height: 100vh;
    background-size: cover;
  }

  .slider-verify-box {
    min-width: unset;
    max-width: 90vw;
  }


  .slider-verify-slider {
    height: 50px;
    width: 100%;
    max-width: 100%;
  }

  .slider-verify-handle {
    width: 50px;
    height: 50px;
    font-size: 16px;
  }

  .slider-verify-text {
    font-size: 16px;
    line-height: 50px;
  }
}

