/* 首页框架对齐 49图库 — 绿色主题 #07c160 */
.home.home-49tk {
  padding-top: 0px;
  padding-bottom: calc(0.2rem + env(safe-area-inset-bottom, 0px));
}

/* 顶栏：白底 + 黑色操作项（覆盖 home-extra 蓝顶栏） */
.home.home-49tk .van-nav-bar {
  background-color: #fff !important;
  z-index: 2;
}
.home.home-49tk .van-nav-bar__title {
  color: #333 !important;
  font-size: 20px !important;
  font-weight: 400 !important;
  width: auto !important;
  max-width: none !important;
  overflow: visible !important;
  -webkit-line-clamp: unset !important;
}
.home.home-49tk .van-nav-bar__content {
  height: 46px !important;
}
.home.home-49tk .van-nav-bar__right {
  position: static;
  top: auto;
  display: flex;
  align-items: flex-end;
  height: 100%;
  padding-right: 8px;
}
.home.home-49tk .nav-action-49 {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-right: 8px;
  text-decoration: none;
  color: #000;
  line-height: 1.1;
}
.home.home-49tk .nav-action-49:last-child { margin-right: 0; }
.home.home-49tk .nav-action-49 .nav-action-icon {
  width: 18px;
  height: 18px;
  display: block;
  object-fit: contain;
}
.home.home-49tk .nav-action-49 span {
  font-size: 13px;
  color: #000;
  margin-top: 2px;
}

.home.home-49tk .banner,
.home.home-49tk .banner .item {
}
.home.home-49tk .banner .item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.home.home-49tk .van-notice-bar {
  padding: 0 0.2rem;
  color: #444;
  font-size: 0.24rem;
  height: 0.6rem;
  background: #fff !important;
}
.home.home-49tk .van-notice-bar__content a { color: #333; }

/* ── 开奖区：澳彩/港彩 Tab ── */
.home.home-49tk .block-lottery {
  position: relative;
}
.home.home-49tk .block-lottery .border-bg {
  position: absolute;
  height: 0.66rem;
  background-color: #eee;
  left: 0;
  right: 0;
  pointer-events: none;
  z-index: 0;
}
.home.home-49tk .block-lottery .platform-list {
  position: relative;
  z-index: 1;
  overflow: hidden;
  padding: 0.1rem 0.16rem 0;
  background: #f5f5f5;
  display: flex;
  justify-content: space-between;
  list-style: none;
  margin: 0;
}
.home.home-49tk .block-lottery .platform-list li {
  width: 49%;
  height: 0.86rem;
  cursor: pointer;
}
.home.home-49tk .block-lottery .platform-list li .item-body {
  background: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-radius: 0.16rem 0.16rem 0 0;
  padding: 0.1rem 0;
  margin-right: 0.04rem;
  height: 0.86rem;
  box-sizing: border-box;
}
.home.home-49tk .block-lottery .platform-list li:last-of-type .item-body {
  margin-right: 0;
}
.home.home-49tk .block-lottery .platform-list li .item-body .title {
  font-size: 0.26rem;
  padding-bottom: 0.04rem;
  font-weight: 700;
  color: #333;
}
.home.home-49tk .block-lottery .platform-list li .item-body .time {
  font-size: 0.26rem;
  color: #666;
  line-height: 1.15;
  white-space: nowrap;
}
.home.home-49tk .block-lottery .platform-list li .item-body.act {
  background: #07c160;
  color: #fff;
}
.home.home-49tk .block-lottery .platform-list li .item-body.act .title,
.home.home-49tk .block-lottery .platform-list li .item-body.act .time,
.home.home-49tk .block-lottery .platform-list li .item-body.act span {
  color: #fff;
}

/* ── 直播：默认收起 ── */
.home.home-49tk .block-lottery .v-player .home-shad {
  background: #fff;
}
.home.home-49tk .block-lottery .openLives {
  opacity: 0;
  height: 0.02rem !important;
  overflow: hidden;
  pointer-events: none;
}
.home.home-49tk .block-lottery .openLives .video {
  height: 0 !important;
  min-height: 0 !important;
}
.home.home-49tk .live-overlay .message-content {
  font-size: 14px;
  color: red;
  max-width: 420px;
  line-height: 1.5;
}
.home.home-49tk .live-overlay .message-content b {
  color: red;
}
.home.home-49tk .live-overlay .live-btn {
  font-size: 14px;
  margin-top: 20px;
  padding: 5px 8px;
  color: #e00;
  border: 1px solid #e00;
  border-radius: 4px;
  background: transparent;
  height: 35px;
  line-height: 1.2;
  cursor: pointer;
}
.home.home-49tk .block-lottery .v-open-hide {
  height: 0.46rem;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
}
.home.home-49tk .block-lottery .v-open-hide span {
  cursor: pointer;
  width: 2.06rem !important;
  height: 0.46rem !important;
  min-height: 0 !important;
  background-color: transparent !important;
  background-image: url(../img/49-live-toggle-bg.png);
  background-size: 100% 100%;
  display: flex !important;
  align-items: center;
  justify-content: center;
  font-size: 0.24rem;
  color: #fff;
  position: relative;
}
.home.home-49tk .block-lottery .v-open-hide label {
  font-size: 0.24rem;
  color: #fff !important;
  cursor: pointer;
  font-weight: 400;
  float: none;
  display: inline;
}

/* ── 开奖号码区（49 绿框 + 球图） ── */
.home.home-49tk .block-lottery .border-ws {
  background: #fff;
  border-radius: 0 0 0.08rem 0.08rem;
  border: 0.02rem solid #07c160;
  padding: 0;
}
.home.home-49tk .block-lottery .border-ws .border-box-body {
  padding: 0.2rem 0.2rem 0.1rem;
  border-radius: 0.2rem;
}
.home.home-49tk .block-lottery .border-ws .border-box-body-hd {
  padding-bottom: 0.2rem;
}
.home.home-49tk .block-lottery .border-ws .border-box-body-hd .text-left {
  font-size: 0.28rem;
  font-weight: 400;
  color: #333;
}
.home.home-49tk .block-lottery .border-ws .border-box-body-hd .text-left span {
  color: #07c160 !important;
  font-size: 0.28rem;
  font-weight: 400;
}
.home.home-49tk .block-lottery .border-ws .border-box-body-hd .text-right a,
.home.home-49tk .block-lottery .border-ws .border-box-body-hd .text-right span {
  color: #07c160 !important;
  font-size: 0.26rem;
  font-weight: 400;
}
.home.home-49tk .block-lottery .border-ws .lottys {
  color: red;
  align-items: center;
  font-size: 0.24rem;
}
.home.home-49tk .block-lottery .border-ws .lottys span {
  color: red;
  font-size: 0.24rem;
}
.home.home-49tk .block-lottery .border-ws .border-box-body-bd .van-row {
  display: flex !important;
  flex-wrap: nowrap !important;
  justify-content: space-between;
}
.home.home-49tk .block-lottery .border-ws .border-box-body-bd .van-col.tp {
  width: 13.5%;
  flex-shrink: 0;
}
.home.home-49tk .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.home-49tk .block-lottery .border-ws .slot-icon {
  display: inline-block;
  width: 0.88rem;
  line-height: 0.88rem;
  font-size: 0.4rem;
  font-weight: 700;
  color: #666;
  text-indent: 0.08rem;
}
.home.home-49tk .block-lottery .border-ws .slot-icon span {
  padding-right: 0.1rem;
}
.home.home-49tk .block-lottery .border-ws .icon-text {
  height: 0.88rem;
  width: auto;
  background-size: 100% 100%;
}
.home.home-49tk .block-lottery .border-ws .icon-text.bg-amage-0 { background-image: url(../img/49-ball-0.png); }
.home.home-49tk .block-lottery .border-ws .icon-text.bg-amage-1 { background-image: url(../img/49-ball-1.png); }
.home.home-49tk .block-lottery .border-ws .icon-text.bg-amage-2 { background-image: url(../img/49-ball-2.png); }
.home.home-49tk .block-lottery .border-ws .icon-text.bg-amage-3 { background-image: url(../img/49-ball-3.png); }
.home.home-49tk .block-lottery .border-ws .slot-text {
  font-size: 0.24rem;
  color: #333;
  margin: 0.08rem;
  padding: 0.04rem;
  border-radius: 0.04rem;
}
.home.home-49tk .block-lottery .border-ws .border-box-body-ft {
  text-align: center;
  padding-top: 0.1rem;
  color: #e71607;
  font-size: 0.24rem;
  font-weight: 400;
  line-height: normal;
}

.home.home-49tk .border-line {
  height: 0.1rem;
  width: 100%;
  background: #eee;
}
.home.home-49tk .category-tr {
  padding: 0 0 0.1rem;
  background: #eee;
}
.home.home-49tk .category-icon {
  text-align: center;
  padding: 0.2rem 0;
  background: #fff;
}
.home.home-49tk .category-icon .van-col--5 {
  width: 20%;
  margin-top: 0.2rem;
}

.home.home-49tk .body-image-sticky {
  position: sticky;
  top: 46px;
  z-index: 3;
  background: #fff;
}
.home.home-49tk .body-image-hd .van-tabs__line { display: none; }
.home.home-49tk .body-image-hd .icon-text.cb-color .icon-bg {
  width: 0.86rem;
  height: 0.86rem;
  background: #20d497;
  border-radius: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}
.home.home-49tk .body-image-hd .icon-text.cb-color .icon-bg.gray {
  background: #d8d8d8;
}
.home.home-49tk .body-xl {
  padding: 0.1rem 0.2rem 0.2rem;
  display: flex;
  align-items: center;
  background: #fff;
}
.home.home-49tk .body-xl a.item {
  display: flex;
  height: 0.6rem;
  padding: 0.16rem;
  justify-content: center;
  align-items: center;
  flex: 1 0 0;
  border-radius: 0.08rem;
  background: #07c160;
  color: #f8f8f8;
  font-size: 0.28rem;
  margin-right: 0.1rem;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.home.home-49tk .body-xl a.more {
  display: flex;
  height: 0.6rem;
  padding: 0 0.2rem;
  align-items: center;
  justify-content: center;
  border-radius: 0.08rem;
  background: #07c160;
  color: #f8f8f8;
  font-size: 0.28rem;
  text-decoration: none;
  flex-shrink: 0;
}

/* ── 底部 Tab（49 layout-nav） ── */
.layout-nav.layout-nav-49,
.home.home-49tk .layout-nav {
  position: fixed;
  bottom: 0;
  /* 水平居中交给 rem.js 手机壳（left:50% + translateX），勿强制 left:0 / transform:none */
  width: 100%;
  z-index: 1000;
  pointer-events: auto;
}
.layout-nav.layout-nav-49 .nav-solt,
.home.home-49tk .layout-nav .nav-solt {
  max-width: 480px;
  margin: 0 auto;
  position: relative;
}
.layout-nav.layout-nav-49 .van-tabbar,
.home.home-49tk .layout-nav .van-tabbar {
  max-width: 480px;
  margin: 0 auto;
  box-shadow: 0 0.02rem 0.08rem 0 hsla(0, 0%, 62.7%, 0.5);
  display: flex;
  align-items: center;
  background: #fff;
  height: 50px;
}
.layout-nav.layout-nav-49 a.van-tabbar-item,
.home.home-49tk .layout-nav a.van-tabbar-item {
  pointer-events: auto;
  cursor: pointer;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
  color: #646566;
  text-decoration: none;
  height: 50px;
}
.layout-nav.layout-nav-49 .van-tabbar-item__icon,
.home.home-49tk .layout-nav .van-tabbar-item__icon {
  width: 0.56rem;
  height: 0.56rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0 !important;
  pointer-events: none;
}
.layout-nav.layout-nav-49 .van-tabbar-item__icon img,
.home.home-49tk .layout-nav .van-tabbar-item__icon img {
  width: 20px;
  height: 20px;
  object-fit: contain;
  pointer-events: none;
}
.layout-nav.layout-nav-49 .van-tabbar-item__text,
.home.home-49tk .layout-nav .van-tabbar-item__text {
  font-size: 12px;
  line-height: 1;
  pointer-events: none;
}
.layout-nav.layout-nav-49 a.van-tabbar-item.van-tabbar-item--active,
.home.home-49tk .layout-nav a.van-tabbar-item.van-tabbar-item--active {
  color: #07c160;
}
.layout-nav.layout-nav-49 a.van-tabbar-item.tab-special,
.home.home-49tk .layout-nav a.van-tabbar-item.tab-special {
  position: relative;
  background: #fff;
  margin-top: -21px;
  border-radius: 50%;
  z-index: 9;
  overflow: visible;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.layout-nav.layout-nav-49 a.van-tabbar-item.tab-special .van-tabbar-item__icon,
.home.home-49tk .layout-nav a.van-tabbar-item.tab-special .van-tabbar-item__icon {
  width: auto;
  height: auto;
}
.layout-nav.layout-nav-49 a.van-tabbar-item.tab-special .van-tabbar-item__icon img,
.home.home-49tk .layout-nav a.van-tabbar-item.tab-special .van-tabbar-item__icon img {
  width: 0.88rem !important;
  height: auto !important;
  max-height: 0.88rem;
  object-fit: contain;
}

/* 首页禁用入口：高手之家 / 高手论坛（可点关闭，外观不变） */
.home.home-49tk a.icon-text-link.is-disabled,
.layout-nav.layout-nav-49 a.van-tabbar-item.is-disabled {
  pointer-events: none;
  cursor: default;
}

/* 首页嵌套开奖 iframe：高度由内容撑开，避免不同屏宽露出灰白空白 */
.home.home-49tk .home-lottery-frame,
.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: hidden;
  vertical-align: top;
  background: #fff;
}

.home.home-49tk .body-image-bd .image-item {
  cursor: pointer;
}

.tuku-preview {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.45);
  padding: 0.4rem;
  box-sizing: border-box;
}

.tuku-preview.is-open {
  display: flex;
}

.tuku-preview__dialog {
  position: relative;
  width: 100%;
  max-width: 7.2rem;
  max-height: 82vh;
  background: #fff;
  border-radius: 0.16rem;
  box-shadow: 0 0.16rem 0.48rem rgba(0, 0, 0, 0.18);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.tuku-preview__hd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.16rem;
  padding: 0.22rem 0.28rem;
  border-bottom: 1px solid #f0f0f0;
  flex-shrink: 0;
}

.tuku-preview__title {
  flex: 1;
  min-width: 0;
  font-size: 0.3rem;
  font-weight: 600;
  color: #333;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tuku-preview__close {
  flex-shrink: 0;
  width: 0.56rem;
  height: 0.56rem;
  border: 0;
  border-radius: 50%;
  background: #f5f5f5;
  color: #666;
  font-size: 0.36rem;
  line-height: 0.56rem;
  text-align: center;
  cursor: pointer;
  padding: 0;
}

.tuku-preview__body {
  padding: 0.24rem;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  text-align: center;
  background: #fafafa;
}

.tuku-preview__body img {
  display: block;
  max-width: 100%;
  max-height: calc(82vh - 1.6rem);
  margin: 0 auto;
  object-fit: contain;
  border-radius: 0.08rem;
  background: #fff;
}

.home.home-49tk .home-image-status {
  text-align: center;
  font-size: 0.26rem;
  color: #999;
  padding: 0.24rem 0 0.4rem;
}
