/* 自定义样式覆盖 */

/* 全局样式修改 */
* {
    font-family: "Microsoft YaHei", "微软雅黑", sans-serif;
}

/* 底部导航栏样式 */
.van-hairline--top-bottom.van-tabbar.van-tabbar--fixed {
     
       background:url(/img/bg.png) no-repeat center/100% 100% !important;
    border-top-left-radius: 15px !important;  /* 左上角圆角 */
    border-top-right-radius: 15px !important; /* 右上角圆角 */
   
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1) !important; /* 添加阴影效果 */
    background-color: #fff !important; /* 设置背景色 */
    border-top: none !important; /* 移除顶部边框 */
}

/* 修改首页头部和轮播图布局 */
.homeHeder {
    position: relative !important;  /* 改为相对定位 */
    background-color: #fff;  /* 添加背景色 */
    z-index: 10;  /* 确保在轮播图上方 */
    height: 40px !important;  /* 设置固定高度 */
    margin-top: 10px !important;  /* 增加顶部边距 */
}

/* 添加 leftImg 样式 */
.homeHeder .leftImg {
    height: 45px !important;  /* 强制覆盖原有样式 */
    width: auto !important;   /* 强制覆盖原有样式 */
    object-fit: contain;
    min-width: 40px;         /* 确保最小宽度 */
    max-width: none;         /* 移除最大宽度限制 */
}

/* 轮播图样式优化 */
.van-swipe {
    margin: 10px auto;
    width: 94%;
    height: 160px !important;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    position: relative !important;
    -webkit-tap-highlight-color: transparent;
}

.van-swipe__track {
    height: 100%;
    transition: transform 0.5s ease;
}

.van-swipe-item {
    height: 100%;
    position: relative;
    transition: all 0.5s ease;
    opacity: 1;
}

.van-swipe-item.swipe-active {
    opacity: 1;
    z-index: 2;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.van-swipe-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    transition: all 0.5s ease;
}

/* 添加渐变遮罩 */
.van-swipe::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.1), transparent);
    pointer-events: none;
    z-index: 1;
}

/* 优化指示器样式 */
.van-swipe__indicators {
    bottom: 8px !important;
}

.van-swipe__indicator {
    width: 6px !important;
    height: 6px !important;
    background-color: rgba(255, 255, 255, 0.6) !important;
    opacity: 0.6 !important;
    transition: all 0.3s ease;
}

.van-swipe__indicator--active {
    background-color: #fff !important;
    opacity: 1 !important;
    transform: scale(1.2);
}

/* 红包样式修改 */
#redPacket {
    right: 20px;  /* 调整红包位置 */
    bottom: 150px;
    width: 90px;  /* 调整红包大小 */
    height: 90px;
    box-shadow: none !important;
}

#redPacket .grab {
    margin-top: 25px;
    width: 40px;  /* 调整"抢"按钮大小 */
    height: 25px;
}

/* 动画效果修改 */
@keyframes scaleDraw {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}

/* 添加新的动画效果 */
@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0px);
    }
}

/* 添加悬浮效果 */
#redPacket:hover {
    animation: float 2s ease-in-out infinite;
} 
/* lefsg下name文本放大，mey文本缩小 */
.lefsg .name {
    font-size: 1.3em !important;
    font-weight: bold;
}
.lefsg .mey {
    font-size: 1.1em !important;
    color: #888;
}

.rigts {
    overflow-y: auto;              /* 保证内容可滚动 */
    scrollbar-width: none;         /* Firefox 隐藏滚动条 */
    -ms-overflow-style: none;      /* IE/Edge 隐藏滚动条 */
    margin-top: 0 !important;      /* 去掉顶部外边距 */
    padding-top: 0 !important;     /* 去掉顶部内边距 */
    position: relative;            /* 新增：用于角标绝对定位 */
}
.rigts::-webkit-scrollbar {
    display: none;                 /* Chrome/Safari 隐藏滚动条 */
}

.rigts img:first-child {
    position: relative;
    z-index: 1;
}

/* 角标伪元素，显示在左上角 */
.rigts::before {
    content: "";
    position: absolute;
    left: 11px;         /* 向右偏移8px，可根据实际情况调整 */
    top: 10px;          /* 向下偏移8px，可根据实际情况调整 */
    width: 40px;       /* 角标宽度，可根据实际情况调整 */
    height: 40px;      /* 角标高度，可根据实际情况调整 */
    background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEYAAABGCAMAAABG8BK2AAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAC0UExURUdwTDmq/zit/z+a/zmz/0iu/z+k/1em/1Sc/02T/////0Gh/zuo/0Of/z2m/zST/zmX/y2O/zGR/1Ok/zW0/zev/0Cb/0Kc/zaU//P6/6DR/zms/0Oe/1Ge/z+i/zyZ/4jG/zWx/yiL/0+w/zaw/1qr/+j0/3C5/7jc/53L/+fy/9vu/2Wy/3y//9Do/8Ti/0+Y/0yp/4S+/0yV/2C5/0qS/5TK/6vY/6zV/5LN/87l/1K2/x4Yx6QAAAAKdFJOUwD///+AgP9/f4DlczM6AAAEgUlEQVR42q3T63LbNhAFYDlq2XYp0bKZigYsUnBZgJR4CxVHF+f936u7C9JQoow5EntMe/zrm4PFYpIkXuJRAsysz53N8/Pzp+dPlL8p/1JeKJ8/4+fy28TrmKCPg6yEVgex9WKdnxRskxCTBCyxE/TOjD5uxAwXwkos/ahMPGYIOnc4XR3r0Ed9iHGNrGIZB5GUqip10OyMIgQthPpGL6w4BtONKBVgIE+D4KdRn0+oZ6xiGd/3nVN6B3E6taqoZm5EXT6hRI6V2HpBxTHkcCSkCooGj3bIgnfITcn2eb98VmxCZiykACpPnbJKpYG05+obvX7v1ojT3ZlVHNM1OgDsPX2QByhkezpfoldxommfz8gplHjunAxAJqoQcFB1ps7W8VXIu+5sziHFtZnPLVTqJBEg20JnIvfyPG07JUAFkPk+o2UkiJco/d0hxKzmlBpM6xcgyyJrAGpxSNOg20fswl/Fi40SIp3iGFZ8CQDSz7FNI4QxUKsy7Z9aLelYQp69s3fFMRRtcgCDmPL30mRJnmeq2+1MZUFap9gHh5TOuM4dK5eMKvFUkCmokrYqClnsk5yVxKuLQxDkhh0l0jvESLlgImSa1SoDOCqQme9nWdUmUhHDaU+d04BCg5ULJiKmzsJQgKhAFq1P2Rt+HnSwFgfPjkSF0iuXjASNv9DUDRjq0widYCpilKmETNPcOOUXzDJCKNKrVQkgjjngX+yV0T5qkIS1XikaoUDxHrWsXDJLVNDCkwEoLQBjSrvXCh0PG6FjlPJY+WPya4YSUSoc8krnpt6/P5A9GD6Yd6p54kGnXDLTZQ/RkPn++X1o3Sa+fwTsURLBccoFg7HOUgJInBFDGv/HOq2RqgZxoBVi5UNmyk4MIKo8ZGal561GR4k20ZVdaadcMuv1dI0QSVEO1IcT+mFh0GnF3k8orHzEIIQhKtxCjgRemzSrxhyN1rrIfZ8hjcqHDBXiRlFYRhhaR7XSGjFZ5w0zXojKAEOhOkxFUpHCkVCrvU9B5UNmsTiHkImPApXSaJz0qj7O5wMKJ16g4yCSsEtUigIdhDQt0ZyUoTYOmq7xYBuArBRylRu6eqJYGWrDjIM2oDZCSJx00ViGlWGGnQ7K4u1uOs3FdElvLIqcMsxYiH42sJnjfGKxXy7josFKThlgnnqIlAYy7LTcvC2nWRMTw8ow89Qz4e4IO7VbU0qI7ct3yiDTQZmA3Qa2vI8hhHz3kVOGGQttUNnq7dvCMrRFThlm7tmxSkhfvljPd3N6Zk4ZZO4t45TtFh3MFQoyj4/3mKcK5LaQDGUg14srFGYIecRGu024BY2KFiqk249RuabNIzsoxVtBym5xtcIMSwSF26LslT8n1zIcdKgPqMWTVW5lqFH8FtLto3IL4yTeIZzLrQyHJsRdbmAezh2EULmeecCcFyLlBma04to46h6VW/LloQ8rX1AZxbCEyghmnMLMP+MVZsYrzGBY+frXZBzDEioj8tUpoxlWxjOsjGe+oTKWYWVsvrEynmFlPEPK+LAyPv+P8h9kZ9Tit/xQwwAAAABJRU5ErkJggg==') no-repeat center center/cover;
    border-radius: 8px 0;  /* 圆角，可根据实际需求调整 */
    pointer-events: none;
    z-index: 10;
}

/* 永久网址样式 */
.permanent-url {
    text-align: center !important;  /* 文本居中 */
    padding: 4px 8px;
    color: #666 !important;  /* 修改为灰色 */
    font-size: 13px;
    background: #f8f8f8;
    margin: 0 auto !important;  /* 水平居中 */
    position: relative;
    z-index: 999;
    width: auto;
    display: block !important;  /* 改为块级元素 */
    border: 1px solid #eee;
    border-radius: 3px;
    transform: none !important;  /* 移除之前的位移 */
    float: none !important;  /* 移除浮动 */
}

.permanent-url span {
    font-weight: 500;
    color: #666 !important;  /* 修改 span 内的文本颜色也为灰色 */
    white-space: nowrap;
}

/* rbox图片样式 */
.rbox img {
    width: 30px;
    height: 30px;
    margin-right: -1px;
    float: right;
}

/* tit文字样式 */
.tit {
    font-size: 18px !important;
    text-transform: uppercase !important;
    font-weight: bold !important;
}

/* cx文字样式 */
.cx {
    font-size: 11px !important;  /* 稍微加大字体 */
}

/* lfst样式 */
.lfst {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    margin: 0px 0 !important;      /* 增加上下间距为10px */
}

.lfst .ls {
    margin: 8px 0 !important;      /* 增加每个选项的上下间距 */
}

.lfst .ls.active {
    margin: 8px 0 !important;      /* 确保选中状态也有相同的间距 */
    color: #179cff !important;     /* 设置选中状态的文本颜色 */
}

/* gameBoxs .lfst样式 */
.gameBoxs .lfst[data-v-0d4d2b4d] {
    width: 56px !important;
    background-size: contain !important;
}

.gameBoxs .lfst .ls[data-v-0d4d2b4d] {
    background: url('/img/1.svg') no-repeat center center !important;
    background-size: contain !important;
}

.gameBoxs .lfst .ls.active[data-v-0d4d2b4d] {
       background: url('/img/2.svg') no-repeat center/100% !important;
    background-size: contain !important;
    margin: 10px 0 !important;
    color: #ffffff !important;
}

.appbox {
    height: 60px !important;         /* 缩小高度 */
    box-shadow: 0 2px 8px rgba(0,0,0,0.15); /* 添加投影 */
    border-radius: 8px;              /* 柔和圆角 */
    background: #fff;                /* 保证投影效果明显 */
    overflow: hidden;                /* 内容不溢出 */
}

/* 按钮样式修改 */
.van-button--info.van-button--mini {
    font-size: 14px !important;  /* 放大字体 */
    padding: 0 15px !important;  /* 增加内边距 */
    height: 32px !important;     /* 增加高度 */
    border-radius: 8px !important;  /* 添加圆角 */
    background-color: #8f9efb  !important;  /* 修改背景色 */
    border-color: #179cff !important;  /* 修改边框颜色 */
}

.van-button--info.van-button--mini:active {
    background-color: #1588e6 !important;  /* 点击时的颜色 */
    border-color: #1588e6 !important;
}

/* 活动列表样式 */
.consg {
  padding: 10px !important;
  margin-top: 80px !important; /* 添加顶部距离 */
}

.consg .lis {
  width: 100% !important;
  margin-bottom: 10px !important;
  border-radius: 8px !important;
  overflow: hidden !important;
  background: #fff !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
}

.consg .lis img {
  width: 100% !important;
  height: 100px !important; /* 设置固定高度 */
  object-fit: cover !important;
}

.consg .lis .tite_sf {
  padding: 8px 12px !important;
  font-size: 14px !important;
  color: #333 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

/* 活动页面分类标签样式 */
.van-tabs__nav .van-tab__text {
    font-size: 18px !important;  /* 字体大小加大一倍 */
    font-weight: 500 !important; /* 稍微加粗 */
    line-height: 1.5 !important; /* 调整行高 */
}

.van-tabs__nav .van-tab {
    padding: 0 20px !important;  /* 增加左右内边距 */
}

/* 激活状态的标签样式 */
.van-tabs__nav .van-tab--active .van-tab__text {
    color: #179cff !important;    /* 设置激活状态的颜色 */
    font-weight: 700 !important;  /* 加粗激活状态的文字 */
}

.van-tabs__line {
    height: 3px !important;      /* 增加下划线高度 */
    bottom: 0 !important;        /* 确保下划线位置正确 */
    background-color: #179cff !important; /* 设置下划线颜色与文字一致 */
}

/* 登录页面图标样式 */
.entry_entryMain__2anz2.entry_loginAnimated__1Gwda {
    position: relative;
    padding-top: 60px !important; /* 为图标留出空间 */
}

.entry_entryMain__2anz2.entry_loginAnimated__1Gwda::before {
    content: '';
    position: absolute;
    top: -250px;  /* 调整上移距离 */
    left: 25%;
    transform: translateX(-50%);
    width: 100px;  /* 保持图标大小 */
    height: 100px;  /* 保持图标大小 */
    background: url('/static/img/lg.png') no-repeat center center;
    background-size: contain;
}

/* 登录表单容器样式 */
.login_formContainer__2zhUW {
    margin-top: -150px !important; /* 上移100px */
}
/* 登录表单容器下方图片样式 */
.login_formContainer__2zhUW::after {
    content: '';
    position: absolute;
    bottom: -150px;  /* 距离表单容器底部120px */
    left: 25%;
    transform: translateX(-50%);
    width: 350px;  /* 图片宽度 */
    height: 100px;  /* 图片高度 */
    background: url('/static/image/loginx.png') no-repeat center center;
    background-size: contain;
}
/* 登录输入框样式 */
.login_inputBox__3j84z {
    width: 80% !important;  /* 设置宽度为容器的80% */
    margin: -30px auto 0 !important;  /* 水平居中，顶部负边距上移 */
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;  /* 内容居中对齐 */
}

/* 轮播图指示器样式 */
.swiper-dots {
    position: absolute !important;
    bottom: 10px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    z-index: 10 !important;
}

.swiper-dots .swiper-dot {
    width: 6px !important;
    height: 6px !important;
    margin: 0 4px !important;
    border-radius: 50% !important;
    background-color: rgba(255, 255, 255, 0.6) !important;
    transition: all 0.3s ease !important;
}

.swiper-dots .swiper-dot.active {
    background-color: #fff !important;
    transform: scale(1.2) !important;
}