/* 原生 HTML 最小补充样式 — 不覆盖 app.css 主布局 */
a{
  text-decoration: none;
  color: #333;
}
/* ── 顶部导航 ── */
.home-nav .van-nav-bar__title {
  width: auto !important;
  max-width: none !important;
  display: block !important;
  overflow: visible !important;
  -webkit-line-clamp: unset !important;
  flex: 1;
}
.home-nav .van-nav-bar__content { display: flex; align-items: center; }
.home-nav .van-nav-bar__right {
  display: flex;
  align-items: center;
  gap: .08rem;
  position: static;
  padding-right: .16rem;
}
.home-nav .new-box { width: 100%; }
.home-nav .new-box .platform-list { justify-content: center; gap: .48rem; }
.home-nav .new-box .platform-list li { flex: 0 0 auto; }
a.nav-icon-text {
  display: inline-block;
  text-align: center;
  color: #fff;
  line-height: .3rem;
  text-decoration: none;
  margin-left: .12rem;
}
a.nav-icon-text .icon { display: flex; justify-content: center; align-items: center; height: .32rem; }
a.nav-icon-text .text { font-size: .24rem; white-space: nowrap; }

/* ── 首页嵌套开奖页（home-lottery.html）── 高度不限制，由父页按内容设置 */
.home.home-49tk .block-lottery .home-lottery-frame {
  display: block;
  width: 100%;
  height: auto;
  min-height: 0;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  overflow: visible;
  vertical-align: top;
  background: transparent;
}

/* ── 开奖 border-ws ── */
.home .block-lottery .border-ws { background: #fff; padding: 0 .16rem .16rem; }
.home .block-lottery .border-ws .border-box-body-hd .text-right a { color: #3e73fe; font-size: .28rem; text-decoration: none; }
.home .block-lottery .border-ws .lottys { font-size: .28rem; color: #333; align-items: center; white-space: nowrap; }
.home .block-lottery .border-ws .lottys span { color: #3e73fe; }
.home .block-lottery .border-ws .border-box-body-bd .van-row { display: flex !important; flex-wrap: nowrap !important; justify-content: space-between; }
.home .block-lottery .border-ws .border-box-body-bd .van-col.tp { width: 13.5%; flex-shrink: 0; }
.home .block-lottery .border-ws .border-box-body-bd .van-col.tc { width: 5%; flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.home .block-lottery .border-ws .border-box-body-bd .icon-text.bg-amage-0,
.home .block-lottery .border-ws .border-box-body-bd .icon-text.bg-amage-1,
.home .block-lottery .border-ws .border-box-body-bd .icon-text.bg-amage-2,
.home .block-lottery .border-ws .border-box-body-bd .icon-text.bg-amage-3 {
  height: .88rem; width: .88rem; background-size: 100% 100%;
}
.home .block-lottery .border-ws .border-box-body-bd .icon-text.bg-amage-0 { background-image: url(../img/number-icon-1.24efe664.png); }
.home .block-lottery .border-ws .border-box-body-bd .icon-text.bg-amage-1 { background-image: url(../img/number-icon-2.270d29a4.png); }
.home .block-lottery .border-ws .border-box-body-bd .icon-text.bg-amage-2 { background-image: url(../img/number-icon-3.15f6fc94.png); }
.home .block-lottery .border-ws .border-box-body-bd .icon-text.bg-amage-3 { background-image: url(../img/number-icon-1.24efe664.png); }

/* ── 底部 Tab 链接化 ── */
.layout-nav {
  overflow: visible;
  z-index: 100;
}
.layout-nav.layout-nav-49 {
  /* 水平居中交给 rem.js 手机壳 */
  z-index: 1000;
}
.layout-nav .nav-solt {
  overflow: visible;
  position: relative;
  max-width: 480px;
  margin: 0 auto;
}
.layout-nav .van-tabbar {
  display: flex;
  align-items: center;
  background: #fff;
  overflow: visible;
  box-sizing: content-box;
  height: 50px;
  max-width: 480px;
  margin: 0 auto;
  box-shadow: 0 0.02rem 0.08rem 0 hsla(0, 0%, 62.7%, 0.5);
  padding-bottom: constant(safe-area-inset-bottom);
  padding-bottom: env(safe-area-inset-bottom);
}
a.van-tabbar-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
  position: relative;
  color: #646566;
  font-size: .2rem;
  line-height: 1;
  text-decoration: none;
  height: 50px;
  box-sizing: border-box;
  overflow: visible;
}
a.van-tabbar-item .van-tabbar-item__icon {
  margin-bottom: 0 !important;
  width: .56rem;
  height: .56rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
a.van-tabbar-item .van-tabbar-item__icon img {
  width: 20px;
  height: 20px;
  display: block;
  object-fit: contain;
}
a.van-tabbar-item .van-tabbar-item__text { font-size: 12px; line-height: 1; }
a.van-tabbar-item.van-tabbar-item--active { color: #07c160; }

a.van-tabbar-item.tab-special {
  position: relative;
  background: #fff;
  margin-top: -21px;
  border-radius: 50%;
  z-index: 9;
  overflow: visible;
}
a.van-tabbar-item.tab-special .van-tabbar-item__icon {
  width: auto;
  height: auto;
}
a.van-tabbar-item.tab-special .van-tabbar-item__icon img {
  width: .88rem !important;
  height: auto !important;
  max-height: .88rem;
  object-fit: contain;
}

/* 淘料市场中间凸起按钮：图标上浮，文字与其他 Tab 对齐 */
a.van-tabbar-item.tab-market {
  overflow: visible;
}
a.van-tabbar-item.tab-market .van-tabbar-item__icon {
  overflow: visible;
  position: relative;
  height: .48rem;
  margin-bottom: .04rem;
}
a.van-tabbar-item.tab-market .van-tabbar-item__icon img {
  width: .8rem;
  height: .8rem;
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  display: block;
}

/* 功能图标 / 年份系列 Tab 链接 */
.icon-text-link { display: block; color: inherit; text-decoration: none; }
.body-image-hd .van-tab { cursor: pointer; }

/* 登录 Tab */
.login-tabs { display: flex; border-bottom: 1px solid #eee; margin-bottom: .24rem; }
.login-tab { flex: 1; text-align: center; padding: .24rem; font-size: .3rem; color: #444; cursor: pointer; position: relative; }
.login-tab.active { color: #3e73fe; }
.login-tab.active::after { content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: .72rem; height: 2px; background: #3e73fe; }
.register-body .van-field { display: flex; align-items: center; border-bottom: 1px solid #eee; padding: .2rem 0; margin-bottom: .08rem; position: relative; }
.register-body .van-field input { flex: 1; border: none; outline: none; font-size: .28rem; background: transparent; }
.register-body .get-code { color: #3e73fe; font-size: .26rem; white-space: nowrap; cursor: pointer; }
.register-body .forgetpwd { position: absolute; right: 0; bottom: -.4rem; font-size: .24rem; color: #3e73fe; }
.login-wrap .primary-btn { width: 100%; background: #3e73fe; color: #fff; border: none; border-radius: .08rem; padding: .24rem; font-size: .32rem; margin-top: .4rem; cursor: pointer; }
.login-wrap .step { display: block; text-align: center; color: #3e73fe; font-size: .28rem; margin-top: .24rem; }
.login-wrap .van-nav-bar { background: #fff !important; }
.login-wrap .van-nav-bar__content { background: #fff; }
.login-wrap .van-nav-bar__title { color: #333 !important; }

.page-with-tab, .sub-page { min-height: 100vh; background: #f2f4f7; }
.page-body { padding-top: .92rem; }
.page-with-tab { padding-bottom: calc(50px + env(safe-area-inset-bottom, 0px) + .2rem); }
.home { padding-bottom: calc(1.2rem + env(safe-area-inset-bottom, 0px)); }
.home-my .mine-cell { cursor: pointer; -webkit-tap-highlight-color: transparent; }
.home-my .tool a { display: inline-flex; color: inherit; text-decoration: none; }

/* 淘料市场 */
.page-market-index .top1.van-nav-bar {
  background: linear-gradient(180deg, #3e73fe, #2964ff);
  box-shadow: none;
}
.page-market-index .top1 .titles { color: #fff; }
.page-market-index .market-action { cursor: pointer; -webkit-tap-highlight-color: transparent; }
.page-market-index .market-cell { cursor: pointer; }
.page-market-index .picture_lts { position: fixed; width: 1.6rem; bottom: 1rem; right: .2rem; z-index: 10; }
.page-market-index .picture_lts svg { width: 100%; height: auto; display: block; }
.page-market-index .van-cell__left-icon { margin-right: .16rem; }
.sub-page-body { padding: .32rem; min-height: 50vh; }
.no-data { text-align: center; padding: 1rem 0; }
.no-data img { width: 2rem; opacity: .6; }
.no-data p { font-size: .28rem; color: #999; margin-top: .16rem; }
.no-data .sub-tip a { color: #3e73fe; }
.notice-content { background: #fff; border-radius: .16rem; padding: .32rem; font-size: .28rem; line-height: 1.6; }
.find-list { display: grid; grid-template-columns: 1fr 1fr; gap: .16rem; padding: .16rem; }
.find-item { background: #fff; border-radius: .12rem; overflow: hidden; }
.find-item img { width: 100%; display: block; }
.find-item p { font-size: .24rem; padding: .12rem; margin: 0; text-align: center; }
.website-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .16rem; padding: .16rem; }
.website-card { background: #fff; border-radius: .12rem; overflow: hidden; text-align: center; text-decoration: none; color: inherit; }
.website-card img { width: 100%; height: 1.2rem; object-fit: cover; }
.website-card span { display: block; font-size: .24rem; padding: .12rem; }

/* 瀑布流双列（对齐原站 waterfall 组件） */
.body-image-bd .waterfall { display: flex; gap: .2rem; align-items: flex-start; }
.body-image-bd .waterfall-col { flex: 1; min-width: 0; }
.body-image-bd .waterfall .image-item img { width: 100%; display: block; }

/* 平台 Tab 可点击 */
.platform-list .item-body { cursor: pointer; user-select: none; }

/* Banner 轮播（原生） */
.van-swipe {margin-top: 48px; position: relative; overflow: hidden; }
.van-swipe__track { display: flex; transition: transform .3s ease; will-change: transform; }
.van-swipe-item { flex: 0 0 100%; width: 100%; }
.van-swipe-item img { width: 100%; display: block; }
.van-swipe__indicators { position: absolute; bottom: .16rem; left: 50%; transform: translateX(-50%); display: flex; gap: .08rem; z-index: 2; }
.van-swipe__indicator { width: .12rem; height: .12rem; border-radius: 50%; background: rgba(255,255,255,.5); }
.van-swipe__indicator--active { background: #fff; width: .24rem; border-radius: .06rem; }

/* 直播区 */
.live-overlay { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; background: rgba(0,0,0,.55); color: #fff; text-align: center; padding: .24rem; z-index: 1; }
.live-overlay .message-content { font-size: .28rem; line-height: 1.5; max-width: 80%; }
.live-overlay .message-content b { color: #ffd700; }
.live-overlay .countdown-label { color: #ff6b6b; font-weight: bold; margin-top: .16rem; font-size: .26rem; }
.live-overlay .live-btn { margin-top: .3rem; font-size: .28rem; color: #000; background: #fff; border: none; border-radius: .4rem; padding: .12rem .4rem; cursor: pointer; }
.volume-btn { height: .52rem; background: none; border: none; font-size: .32rem; cursor: pointer; padding: 0 .16rem; }

/* ── 开奖现场 recommend ── */
.m-scene-recommend { min-height: 100vh; padding-bottom: .24rem; }
.m-scene-recommend .m-scene-recommend-body { padding-top: .92rem; }
.m-scene-recommend .th .border-ws { background: #fff; padding: 0 .16rem .16rem; }
.m-scene-recommend .th .border-ws .border-box-body-hd .text-right a { color: #3e73fe; font-size: .28rem; text-decoration: none; }
.m-scene-recommend .th .border-ws .lottys { font-size: .28rem; color: #333; align-items: center; white-space: nowrap; }
.m-scene-recommend .th .border-ws .lottys span { color: #3e73fe; }
.m-scene-recommend .th .border-ws .border-box-body-bd .van-row { display: flex !important; flex-wrap: nowrap !important; justify-content: space-between; }
.m-scene-recommend .th .border-ws .border-box-body-bd .van-col.tp { width: 13.5%; flex-shrink: 0; }
.m-scene-recommend .th .border-ws .border-box-body-bd .van-col.tc { width: 5%; flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.m-scene-recommend .th .border-ws .border-box-body-bd .icon-text.bg-amage-0,
.m-scene-recommend .th .border-ws .border-box-body-bd .icon-text.bg-amage-1,
.m-scene-recommend .th .border-ws .border-box-body-bd .icon-text.bg-amage-2,
.m-scene-recommend .th .border-ws .border-box-body-bd .icon-text.bg-amage-3 {
  width: .88rem; height: .88rem; background-size: 100% 100%;
}
.m-scene-recommend .th .border-ws .border-box-body-bd .icon-text.bg-amage-0 { background-image: url(../img/number-icon-1.24efe664.png); }
.m-scene-recommend .th .border-ws .border-box-body-bd .icon-text.bg-amage-1 { background-image: url(../img/number-icon-2.270d29a4.png); }
.m-scene-recommend .th .border-ws .border-box-body-bd .icon-text.bg-amage-2 { background-image: url(../img/number-icon-3.15f6fc94.png); }
.m-scene-recommend .th .border-ws .border-box-body-bd .icon-text.bg-amage-3 { background-image: url(../img/number-icon-1.24efe664.png); }
.m-scene-recommend .prize-grid { display: flex; flex-wrap: wrap; margin: 0 -.1rem; }
.m-scene-recommend .prize-grid .prize-col { width: 50%; padding: 0 .1rem; box-sizing: border-box; }
.m-scene-recommend .prize-list .hd-box .right { cursor: pointer; }
.m-scene-recommend #recommendTabs .van-tab { cursor: pointer; }
.m-scene-recommend .v-open-hide span.open label { color: #333; }

.recommend-popup { position: fixed; inset: 0; z-index: 2000; background: #000; }
.recommend-popup-body { padding-top: .92rem; display: flex; align-items: center; justify-content: center; min-height: 100vh; box-sizing: border-box; }

/* ── 资料大全 corpus ── */
.corpus-wrap .van-sticky { padding-top: .92rem; }
.corpus-nav-right { display: flex; align-items: center; gap: .12rem; }
.corpus-nav-right .curyear { color: #fff; font-size: .28rem; }
.corpus-year-btn { display: flex; align-items: center; cursor: pointer; }
.corpus-search { display: flex; align-items: center; }
.corpus-search .van-search__content { flex: 1; background: #fff; border-radius: .4rem; }
.corpus-search .van-field__left-icon { display: flex; align-items: center; margin-right: .08rem; }
.corpus-search .van-field__control { border: none; outline: none; width: 100%; font-size: .3rem; background: transparent; }
.corpus-search .van-search__action { color: #3e73fe; font-size: .3rem; padding-left: .16rem; cursor: pointer; white-space: nowrap; }
.corpus-wrap .search-item { cursor: pointer; }
.corpus-no-data { width: 100%; text-align: center; padding: 1rem 0; color: #999; }
.corpus-no-data img { width: 2rem; margin-bottom: .2rem; }
.corpus-year-popup { position: fixed; inset: 0; z-index: 2000; }
.corpus-year-mask { position: absolute; inset: 0; background: rgba(0,0,0,.5); }
.corpus-year-sheet { position: absolute; left: 0; right: 0; bottom: 0; background: #fff; border-radius: .24rem .24rem 0 0; max-height: 60vh; display: flex; flex-direction: column; }
.corpus-year-toolbar { display: flex; justify-content: space-between; align-items: center; padding: .24rem .32rem; border-bottom: 1px solid #eee; font-size: .28rem; }
.corpus-year-toolbar .title { font-weight: 700; color: #333; }
.corpus-year-toolbar #yearCancel { color: #999; cursor: pointer; }
.corpus-year-toolbar #yearConfirm { color: #3e73fe; cursor: pointer; }
.corpus-year-options { overflow-y: auto; padding: .16rem 0; }
.corpus-year-item { padding: .24rem .32rem; text-align: center; font-size: .32rem; color: #333; cursor: pointer; }
.corpus-year-item.active { color: #3e73fe; font-weight: 700; }

/* ── 六合统计 zxcount ── */
.zxcount-page { background: #f2f4f7; }
.zxcount-page .mint-tab-container { padding-top: .92rem !important; padding-bottom: 1.2rem !important; }
.zxcount-period-wrap { display: flex; align-items: center; color: #fff; font-size: .28rem; white-space: nowrap; }
.zxcount-page .mint-tabbar { background: #fff; z-index: 10; display: flex; position: fixed; right: 0; bottom: 0; left: 0; text-align: center; box-shadow: 0 -.02rem .04rem 0 hsla(0,0%,81.6%,.5); }
.zxcount-page .mint-tabbar .mint-tab-item { flex: 1; text-align: center; }
.zxcount-page .mint-tabbar .mint-tab-item a { display: block; text-decoration: none; padding: .12rem 0; color: inherit; }
.zxcount-page .mint-tabbar > .mint-tab-item .mint-tab-item-icon { display: block; width: .62rem; height: .62rem; border-radius: 50%; background: #3e73fe; color: #fff; font-size: .3rem; text-align: center; line-height: .62rem; margin: 0 auto .06rem; }
.zxcount-page .mint-tabbar .mint-tab-item-label { color: #333; font-size: .24rem; line-height: 1.2; }
.zxcount-page .mint-tabbar > .mint-tab-item a.router-link-active .mint-tab-item-icon span { color: #fff; }
.zxcount-page .mint-tabbar > .mint-tab-item a.router-link-active .mint-tab-item-label { color: #3e73fe !important; }
/* 更多弹层 - 对照原站 footer-confirm */
.zxcount-page .mint-tabbar .confirm { position: fixed; inset: 0; z-index: 2000; background: rgba(0,0,0,.3); }
.zxcount-page .mint-tabbar .confirm .footer-confirm { position: absolute; bottom: 1.44rem; left: .24rem; width: calc(100% - .48rem); height: 7.04rem; background: #fff; box-sizing: border-box; border-radius: .08rem; padding-top: .2rem; box-shadow: 0 .04rem .16rem rgba(0,0,0,.08); }
.zxcount-page .mint-tabbar .confirm .footer-confirm .mint-tabbar { display: flex; position: static; background: none; box-shadow: none; }
.zxcount-page .mint-tabbar .confirm .footer-confirm .mint-tab-item { flex: 1; max-width: 25%; text-align: center; }
.zxcount-page .mint-tabbar .confirm .footer-confirm .mint-tab-item a { display: block; text-decoration: none; padding: .12rem 0; color: inherit; }
.zxcount-page .mint-tabbar .confirm .footer-confirm .mint-tab-item-icon { display: block; width: .68rem !important; height: .68rem !important; background: none !important; margin: 0 auto .06rem; line-height: normal !important; border-radius: 0; }
.zxcount-page .mint-tabbar .confirm .footer-confirm .mint-tab-item-icon b { display: block; width: .68rem; height: .68rem; line-height: .68rem; border: .02rem solid #999; color: #999; border-radius: 50%; font-weight: 700; font-size: .3rem; text-align: center; background: transparent; }
.zxcount-page .mint-tabbar .confirm .footer-confirm .mint-tab-item-label { color: #333; font-size: .24rem; line-height: .34rem; }
.zxcount-page .mint-tabbar .confirm .footer-confirm a.router-link-active .mint-tab-item-icon b { color: #3e73fe !important; border-color: #3e73fe !important; }
.zxcount-page .mint-tabbar .confirm .footer-confirm a.router-link-active .mint-tab-item-label { color: #3e73fe !important; }
.zxcount-page .mint-tabbar .confirm .footer-confirm .out { position: absolute; width: 0; height: 0; border: .28rem solid transparent; border-top-color: #fff; bottom: -.56rem; right: .4rem; }
.zxcount-page .mint-tabbar .confirm .footer-confirm .in { position: absolute; width: 0; height: 0; border: .26rem solid transparent; border-top-color: #fff; bottom: -.54rem; right: .42rem; }
.zxcount-page > .confirm { position: fixed; inset: 0; z-index: 2001; background: rgba(0,0,0,.3); }
.zxcount-page .confirm-lhbody { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 6.44rem; background: #fff; text-align: center; border-radius: .1rem; }
.zxcount-page .confirm-lhbody h4 { color: #ec5a5a; padding-top: .22rem; line-height: .44rem; font-size: .32rem; font-weight: 400; margin: 0; }
.zxcount-page .confirm-lhbody p { color: #333; font-size: .36rem; line-height: .5rem; padding: .52rem 0 .66rem; margin: 0; }
.zxcount-page .confirm-lhbody .comfirm-btn { height: 1rem; line-height: 1rem; color: #3e73fe; font-size: .32rem; border-top: .02rem solid #979797; cursor: pointer; }
.zxcount-page .color-wrap > div { cursor: pointer; }
.zxcount-page .bottom-wrap > div:nth-child(2) > div { cursor: pointer; }
.zxcount-page .red-text > div { cursor: pointer; }
.zxcount-page .container-wrap .top-wrap h4 { margin: 0; font-weight: 400; }
.zxcount-page .container-wrap.block .bottom-wrap:last-child { padding-bottom: .1rem; }
