/* ========== 移动端默认样式 ========== */

/* 1. 基础重置样式 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* 2. HTML和Body基础设置 */
html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  text-size-adjust: 100%;
  height: 100%;
  touch-action: manipulation;
}

/* 定义字体族 */
/* @font-face { */
/* 自定义字体名称（后续使用时的标识） */
/* font-family: 'OPPOSans'; */

/* 字体文件路径 */
/* src: url('../fonts/OPPOSans.ttf') format('truetype'); */
/* 字体样式（正常/斜体等） */
/* font-style:normal; */
/* 字重（粗细） */
/* font-weight:400; */
/* 字体显示策略（优化加载体验） */
/* font-display:swap; */
/* } */
/* @font-face { */
/* 自定义字体名称（后续使用时的标识） */
/* font-family: 'AlimamaFangYuanTiVF'; */

/* 字体文件路径 */
/* src: url('../fonts/AlimamaFangYuanTiVF-Thin-2.ttf') format('truetype'); */
/* 字体样式（正常/斜体等） */
/* font-style:normal; */
/* 字重（粗细） */
/* font-weight:400; */
/* 字体显示策略（优化加载体验） */
/* font-display:swap; */
/* } */
body {
  font-family: "Microsoft YaHei", "微软雅黑", "PingFang SC", "Hiragino Sans GB", sans-serif;
  font-size: 0.28rem;
  line-height: 1.5;
  color: #333;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  height: 100%;
  overflow-x: hidden;
  /* background: url('../images/bg.jpg') no-repeat center center; */
  /* background-size: 100% 100%; */
}

/* 4. 链接样式 */
a {
  color: #333;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  transition: color 0.2s ease;
}

a:hover,
a:active {
  text-decoration: none;
}

/* 5. 表单元素样式 */
button,
input,
optgroup,
select,
textarea {
  /* font-family: inherit; */
  font-size: 100%;
  line-height: 1.5;
  margin: 0;
  border: none;
  outline: none;
  -webkit-tap-highlight-color: transparent;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid #ddd;
  border-radius: 4px;
  background-color: #fff;
  transition: border-color 0.2s ease;
}

input:focus,
textarea:focus,
select:focus {
  box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.1);
}

button {
  display: inline-block;
  border: none;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.2s ease;
  user-select: none;
}

button:hover {}

button:active {
  /* transform: translateY(0.001rem); */
}

button:disabled {
  background-color: #6c757d;
  cursor: not-allowed;
  transform: none;
}

/* 6. 图片和媒体 */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* 7. 列表样式 */
ul,
ol,
li {
  maring: 0;
  padding: 0;
}

/* 8. 表格样式 */
table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  text-align: left;
}

th {
  font-weight: 600;
}

/* 9. 移动端特有样式 */

/* 隐藏滚动条但保留功能 */
::-webkit-scrollbar {
  width: 0;
  height: 0;
}

/* 防止长按选择 */
* {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

input,
textarea {
  -webkit-user-select: text;
  -moz-user-select: text;
  -ms-user-select: text;
  user-select: text;
}

/* 防止ios下的input聚焦缩放 */
input[type="text"],
input[type="number"],
input[type="password"],
input[type="email"],
input[type="tel"],
textarea {
  font-size: 0.32rem;
  padding: 0 0.2rem;
}

/* 10. 响应式断点设置 */

/* 11. 辅助类 */
/* 清除浮动 */
.clearfix::after {
  content: "";
  display: table;
  clear: both;
}

/* 文字截断 */
.text-truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  width: 100%;
}

/* 多行文字截断 */
.text-truncate-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.container-wrap {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  /* background: url('../images/bg.jpg') no-repeat center center; */
  background-size: 100% auto;
  overflow: auto;
  background-color: #5cc0ff;
}

.container {
  flex: 1;
  width: 100%;
  max-width: 11.25rem;
  overflow: auto;
}

.nav-wrap {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 1.6rem;
  background-color: #fff;
}

.nav-wrap ul {
  width: 100%;
  display: flex;
  flex: 1;
  width: 100%;
  max-width: 11.25rem;
  justify-content: space-around;
  align-items: center;
  list-style: none;
}

.nav-item .icon {
  width: 0.5rem;
  height: 0.5rem;
  display: inline-block;
  background: no-repeat center center;
  background-size: 100% 100%;
  margin-right: 0.1rem;
}

.nav-item a {
  width: 100%;
  line-height: 1.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.36rem;
}

.nav-item .icon.icon-home {
  background-image: url('../images/icon_home.png');
}

.nav-item .icon.icon-xfq {
  background-image: url('../images/icon_xfq.png');
}

.nav-item .icon.icon-tp {
  background-image: url('../images/icon_tp.png');
}

.nav-item .icon.icon-user {
  background-image: url('../images/icon_user.png');
}

.nav-item.active a {
  color: #ff5a00;
}

.nav-item.active .icon.icon-home {
  background-image: url('../images/icon_home_active.png');
}

.nav-item.active .icon.icon-xfq {
  background-image: url('../images/icon_xfq_active.png');
}

.nav-item.active .icon.icon-tp {
  background-image: url('../images/icon_tp_active.png');
}

.nav-item.active .icon.icon-user {
  background-image: url('../images/icon_user_active.png');
}

.banner-wrap {
  position: relative;
  z-index: 1;
}

.banner-wrap img {
  width: 100%;
}

.toupiao-wrap {
  position: relative;
  z-index: 2;
  margin-top: -1.4rem;
  height: 2rem;
  background: url(../images/toupiao_1.png) no-repeat center center;
  background-size: auto 100%;
  margin-bottom: 0.16rem;
}

.btn-toupiao {
  width: 3.1rem;
  height: 1.26rem;
  line-height: 1.5;
  text-align: center;
  color: #494949;
  background: url(../images/btn_1.png) no-repeat center center;
  background-size: 100% 100%;
  position: absolute;
  top: 16%;
  left: 62.5%;
  font-weight: bold;
  /* font-family: AlimamaFangYuanTiVF; */
}

.toupiao-text {
  display: block;
  font-size: 0.34rem;
}

.toupiao-time {
  display: block;
  font-size: 0.21rem;
}

.swiper-list-wrap {
  padding: 0 0.75rem;
  margin-bottom: 0.3rem;
  position: relative;
}

.swiper-list-wrap .swiper {
  position: relative;
  z-index: 1;
  background-color: #cee4f3;
  height: 0.8rem;
  border-radius: 0.4rem;
  box-shadow: 0 0.05rem 0.1rem rgba(0, 0, 0, 0.2);
  overflow: hidden;
  padding-right: 1.5rem;
}

.swiper-list-wrap .swiper-slide {
  font-size: 0.36rem;
  line-height: 0.8rem;
  text-align: left;
  margin-left: 1.2rem;
}

.swiper-list-wrap .swiper-icon {
  position: absolute;
  top: 33%;
  left: 8%;
  transform: translateY(-50%);
  width: 0.86rem;
  height: 0.86rem;
  z-index: 2;
}

.ranking-list-wrap {
  margin: 0 0.75rem;
  background-color: #fff;
  border-radius: 0.4rem;
  box-shadow: 0 0.05rem 0.1rem rgba(0, 0, 0, 0.2);
}

.ranking-list-wrap .title-wrap {
  height: 1.06rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ranking-list-wrap .title-wrap .title-list {
  list-style: none;
  display: flex;
  align-items: center;
  padding-left: 0.3rem;
}

.ranking-list-wrap .title-wrap .title-list li {
  margin: 0 0.3rem;
  font-size: 0.3rem;
}

.ranking-list-wrap .title-wrap .title-list li.active {
  color: #e97a32;
  border-bottom: 2px solid #e97a32;
}

.ranking-list-wrap .title-wrap .ext {
  font-size: 0.24rem;
  color: #686868;
  padding-right: 0.6rem;
}

.ranking-list {
  display: flex;
  flex-flow: wrap;
  list-style: none;
  padding: 0 0.15rem;
}

.rank-item {
  width: 50%;
  margin-bottom: 0.36rem;
  padding: 0 0.15rem;
}

.rank-item-content {
  background-color: #fff;
  border-radius: 0.2rem;
  box-shadow: 0 0.05rem 0.1rem rgba(0, 0, 0, 0.2);
  overflow: hidden;
}

.rank-item .img-wrap {
  position: relative;
  height: 4.15rem;
  overflow: hidden;
}

.rank-item .img-wrap img {
  width: 100%;
}

.rank-item .img-wrap .rank {
  position: absolute;
  left: 0;
  top: 0.35rem;
  width: 1.28rem;
  height: 0.58rem;
  font-size: 0.33rem;
  /* font-family: AlimamaFangYuanTiVF; */
  background: url(../images/btn_2.png) no-repeat center center;
  background-size: 100% 100%;
  color: #fff;
  line-height: 0.58rem;
  padding-left: 0.1rem;
  font-weight: bold;
}

.rank-item .img-tag {
  font-size: 0.28rem;
  height: 0.6rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 0.3rem;
  background: url(../images/pic_btn.jpg?1) repeat-x;
  color: #fff;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
}

.ranking-info {
  padding: 0.2rem 0.3rem;
  position: relative;
}

.ranking-info .name {
  font-size: 0.38rem;
  margin-bottom: 0.1rem;
}

.ranking-info .desc {
  font-size: 0.24rem;
  /* font-family: AlimamaFangYuanTiVF; */
  color: #292929;
}

.ranking-info .num {
  font-size: 0.35rem;
  font-weight: bold;
}

.btn-vote {
  position: absolute;
  bottom: -0.15rem;
  right: 0.3rem;
  transform: translateY(-50%);
  width: 1.8rem;
  height: 0.64rem;
  line-height: 0.6rem;
  text-align: center;
  color: #424242;
  /* background: url(../images/pic_btn.png) repeat-x; */
  background-size: 100%;
  background-size: 100% 100%;
  border-radius: 0.32rem;
  background-image: linear-gradient(to right, #60daff, #d2ffad);
  letter-spacing: .03rem;
  font-size: .36rem;
}

.layer-class {
  background: transparent !important;
  border-radius: none !important;
  box-shadow: none !important;
}

.layer-content-wrap .bottom {
  text-align: center;
  font-size: 0.32rem;
  color: #fff;
  margin-top: 0.5rem;
  text-shadow: 0 0.05rem 0.1rem rgba(0, 0, 0, 0.2);
}

.layer-content-wrap .icon-close {
  display: inline-block;
  width: 0.75rem;
  height: 0.75rem;
  margin-top: 0.5rem;
}

.layer-content-wrap .icon-close img {
  width: 100%;
  height: 100%;
}

.share-box {
  width: 9.19rem;
  height: 16.43rem;
  background: url(../images/bg2.png) no-repeat center center;
  background-size: 100% 100%;
  padding-top: 4.5rem;
  text-align: center;
}

.share-box .info {
  text-align: left;
  width: 3.7rem;
  margin: 0 auto;
  font-size: 0.32rem;
  /* font-family: AlimamaFangYuanTiVF; */
  line-height: 2;
  margin-bottom: 0.15rem;
}

.share-box .info .name {
  font-size: 0.44rem;
  color: #ff6840;
  font-weight: bold;
}

.share-box .qrcode {
  width: 3.7rem;
  height: 3.7rem;
  padding: 0.1rem;
  background: #fff;
  box-shadow: 0 0 0 rgba(0, 0, 0, 0.2);
  margin: 0 auto;
}

.share-box .info-2 {
  font-size: 0.3rem;
  /* font-family: AlimamaFangYuanTiVF; */
  line-height: 2;
  margin-top: 0.15rem;
}

.share-box .info-3 {
  margin-top: 0.25rem;
  font-size: 0.45rem;
  /* font-family: AlimamaFangYuanTiVF; */
}

.detail-box-wrap {
  border: 1px solid #fff8f2;
  background: linear-gradient(180deg, #9af0d0 0%, #fff8f2 100%);
  border-radius: 0.4rem;
  width: 9.7rem;
  box-shadow: 0 0.05rem 0.1rem rgba(0, 0, 0, 0.2);
  padding: 0.5rem;
}

.detail-box {
  background-color: #fff;
  border-radius: 0.4rem;
  padding: 0.5rem;
  box-shadow: 0 0.05rem 0.1rem rgba(0, 0, 0, 0.2);
  position: relative;
}

.detail-box-title {
  position: absolute;
  left: -0.6rem;
  top: 0.5rem;
  width: 3.2rem;
  height: 0.91rem;
  background: url(../images/title_bg.png) no-repeat center center;
  background-size: 100% 100%;
  font-size: 0.44rem;
  /* font-family: AlimamaFangYuanTiVF; */
  color: #fff;
  line-height: 0.88rem;
  padding-left: 1rem;
}

.detail-box1 {
  margin-bottom: 1rem;
  display: flex;
  justify-content: space-between;
}

.detail-box1 .detail-pic {
  width: 4rem;
  height: 4rem;
}

.detail-box1 .detail-pic img {
  width: 100%;
  height: 100%;
  border-radius: 0.2rem;
}

.detail-box1 .detail-box-content {
  flex: 1;
  padding-top: 1.2rem;
  padding-right: 0.2rem;
}

.detail-box-content .detail-name {
  font-size: 0.38rem;
  /* font-family: AlimamaFangYuanTiVF; */
  color: #292929;
  margin-bottom: 0.1rem;
}

.shop-list-wrap .detail-box-title {
  top: -0.42rem;
}

.shop-list {
  display: flex;
  flex-wrap: wrap;
  max-height: 5rem;
  overflow: auto;
  margin-bottom: 0.6rem;
}

.shop-item {
  width: 25%;
  padding: 0.3rem 0;
  text-align: center;
}

.shop-item .shop-img {
  padding: 0 0.3rem;
}

.shop-item .shop-img img {
  width: 100%;
  border-radius: 50%;
  box-shadow: 0 0.05rem 0.1rem rgba(0, 0, 0, 0.15);
}

.shop-name {
  font-size: 0.3rem;
  /* font-family: AlimamaFangYuanTiVF; */
  color: #4a4a4a;
  margin-top: 0.1rem;
}

.shop-list-tips {
  font-size: 0.18rem;
  text-align: right;
  color: #393939;
}

.detail-box-wrap .btn-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.4rem;
}

.btn-pink {
  width: 2.25rem;
  height: 0.84rem;
  /* border-top:1px solid #ffd2e6;
  border-bottom:1px solid #e56eb4; */
  background-image: linear-gradient(to bottom, #d2ffad, #60daff);
  /* background: linear-gradient(180deg, #feb4d5 0%, #ed9ccc 100%); */
  border-radius: 0.42rem;
  font-size: 0.32rem;
  /* font-family: AlimamaFangYuanTiVF; */
  color: #494949;
  line-height: 0.84rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.5rem;
  /* font-weight: bold; */
  letter-spacing: .06rem;
  /* text-shadow: 0.02rem 0 0.05rem #f90f97; */
  box-shadow: 0 0.05rem 0.1rem rgba(0, 0, 0, 0.2);
  margin: 0 0.6rem;
}

.layer-class.layui-layer-page .layui-layer-content {
  padding: 0 0.05rem !important;
}

.rule-box .detail-box-content {
  padding: 1rem 0.5rem;
}

.rule-box .detail-box-content .detail-name {
  padding-top: 0.3rem;
}



/* 登录表单样式 */

.form-group {
  margin-bottom: 0.4rem;
  padding-top: 0.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.15rem;
  font-size: 0.35rem;
  color: #666;
}

.input-with-btn {
  display: flex;
  gap: 0.2rem;
}

.input-with-btn input {
  flex: 1;
}

.form-control {
  width: 100%;
  height: 0.8rem;
  border-radius: 0.2rem;
  transition: all 0.3s;
}

.form-control:focus {
  box-shadow: 0 0 0 0.04rem rgba(106, 17, 203, 0.1);
  outline: none;
}

.send-code-btn {
  background-color: #f0f0f0;
  border: 1px solid #ddd;
  border-radius: 0.2rem;
  font-size: 0.34rem;
  padding: 0 0.2rem;
  color: #666;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.3s;
}

.send-code-btn:hover:not(:disabled) {
  background-color: #e6e6e6;
}

.send-code-btn:disabled {
  background-color: #f5f5f5;
  color: #ccc;
  cursor: not-allowed;
}

.captcha-container {
  margin-bottom: 0.3rem;
  border-radius: 0.2rem;
  padding: 0.2rem;
}

.captcha-title {
  font-size: 0.34rem;
  color: #666;
  margin-bottom: 0.2rem;
}

.slider-captcha {
  position: relative;
  height: 1rem;
  background-color: #fe9b65;
  border-radius: 0.5rem;
  overflow: hidden;
}

.slider-track {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #ffb891 0%, #e38b5a 100%);
  border-radius: 0.5rem;
  transition: width 0.1s;
}

.slider-thumb {
  position: absolute;
  top: 0;
  left: 0;
  width: 1rem;
  height: 1rem;
  background-color: white;
  border-radius: 50%;
  box-shadow: 0 0.04rem 0.05rem rgba(0, 0, 0, 0.2);
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: grab;
  transition: left 0.1s;
}

.slider-thumb:active {
  cursor: grabbing;
}

.slider-thumb::after {
  content: "";
  width: 0.24rem;
  height: 0.24rem;
  border-top: 2px solid #fe9963;
  border-right: 2px solid #fe9963;
  transform: rotate(45deg);
}

.slider-text {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 0.34rem;
  color: #fff;
  pointer-events: none;
}

.captcha-success {
  color: #52c41a;
  display: none;
  padding: 0.21rem 0.4rem;
}

.terms {
  margin-bottom: 0.8rem;
  font-size: 0.24rem;
  color: #6a6a6a;
  line-height: 1.5;
}

.terms a {
  color: #fe9963;
  text-decoration: none;
}

.terms a:hover {
  text-decoration: underline;
}

.checkbox-group {
  margin-bottom: 0.2rem;
}

.checkbox-group input {
  width: 0.5rem;
}

.submit-btn {
  width: 100%;
  background: linear-gradient(135deg, #ffaabf 0%, #ff67b3 100%);
  color: white;
  border: none;
  padding: 0.2rem;
  border-radius: 0.2rem;
  font-size: 0.48rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s;
  vertical-align: middle;
}

.submit-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(106, 17, 203, 0.4);
}

.submit-btn:disabled {
  background: #ccc;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.countdown {
  color: #ff4d4f;
}

.error-message {
  color: #ff4d4f;
  font-size: 12px;
  margin-top: 5px;
  display: none;
}

.loading-container {
  text-align: center;
  padding: 1.6rem 0;
}

/* 旋转圆环加载动画 */
.spinner {
  width: 50px;
  height: 50px;
  border: 5px solid rgba(250, 175, 219, 0.3);
  border-radius: 50%;
  border-top-color: #ff83c4;
  animation: spin 1s linear infinite;
  margin: 0 auto 15px;
}

.loading-text {
  color: #333;
  font-size: 14px;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.canvas_photo {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

body .layui-share .layui-layer-content {
  padding: 0;
}

body .layui-share .layui-layer-title {
  position: absolute;
  bottom: -1.3rem;
  border: none;
  background: none;
  color: #fff;
  font-weight: bold;
  font-size: .5rem;
  text-align: center;
  letter-spacing: .02rem;
  width: 100%;
  overflow: inherit;
  padding: 0;
}

.chart-wrap {
  text-align: center;
  position: relative;
  z-index: 2;
  margin-top: -1.4rem;
  margin-bottom: 0.25rem;
}

.chart-wrap img {
  width: 7.2rem;
  margin: 0 auto;
}

.chart-wrap2 {
  text-align: center;
  position: relative;
  margin-bottom: 0.25rem;
}

.chart-wrap2 img {
  width: 4rem;
  margin: 0 auto;
}

.chart-wrap3 {
  text-align: center;
  position: relative;
}

.chart-wrap3 img {
  width: 10.5rem;
  margin: 0 auto;
}

.chart-list {
  width: 9.752rem;
  margin: 0 auto;
  background-color: #f4fcff;
  transform: translateX(-0.01rem);
  /* 向左移动1px */
  border-bottom-left-radius: .3rem;
  border-bottom-right-radius: .3rem;
  box-shadow: 0 0.05rem 0.1rem rgba(253, 252, 252, 0.5);
  padding: .2rem 0;
}

.chart-list-data {
  display: flex;
  height: 2.3rem;
  text-align: center;
  align-items: center;
  /* 垂直居中 */
  justify-content: space-around;
  margin-bottom: .2rem;
}

.chart-list-data:nth-child(odd) {
  background: linear-gradient(to right, #f4fcff, #a0ddf7, #f4fcff);
}

.chart-list-data:nth-child(even) {
  background: linear-gradient(to right, #f4fcff, #bcf1f5, #f4fcff);
}

.chart-data-1 {
  width: 24%;
  text-align: center;
}

.chart-data-1 img {
  width: 50%;
  margin: 0 auto;
}

.chart-data-2 {
  width: 24%;
  text-align: center;
}

.chart-data-2 img {
  width: 75%;
  margin: 0 auto;
}

.chart-data-3 {
  width: 24%;
  color: #181818;
  font-weight: bold;
  font-size: .43rem;
}

.chart-data-4 {
  width: 27%;
  color: #181818;
  font-size: .36rem;
}

.chart-data-4 span {
  color: #ff6c00;
  font-weight: bold;
  font-size: .55rem;
  margin-right: .04rem;
}