* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html,
body {
  font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
  background: #f5e6c8;
}
a {
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}
img {
  display: block;
  width: 100%;
  border: none;
}
.container {
  position: relative;
  width: 100%;
  overflow: hidden;
  display: none;
}
.container.active {
  display: block;
}

/* ===== 头部 ===== */
.head {
  position: relative;
  width: 100%;
}
.head .bg {
  width: 100%;
  display: block;
}
.head .btn-list {
  position: absolute;
  top: 0.15rem;
  right: 0.2rem;
  display: flex;
  z-index: 10;
}
.head .btn-list .login-btn {
  width: 1.6rem;
  height: 0.61rem;
  background: url("../img/btn1.png") no-repeat;
  background-size: 100% 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #661d00;
  font-size: 0.24rem;
  margin-left: 0.1rem;
}

/* ===== 内容区块通用 ===== */
.section {
  position: relative;
  width: 100%;
}
.section .bg {
  width: 100%;
  display: block;
}
.section .content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* ===== part1 回归天龙集结令 ===== */

.part1 .team-info {
  position: absolute;
  top: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.part1 .team-info .icon {
  width: 0.51rem;
  height: 0.42rem;
  background: url("../img/p1headicon.png") no-repeat center;
  background-size: 100% 100%;
  margin-right: 0.1rem;
}
.part1 .team-info span {
  font-size: 0.24rem;
  color: #661d00;
}
.part1 .team-info .span {
  font-size: 0.24rem;
  color: #cb3a00;
}

.part1 .create-box {
  position: absolute;
  top: 3.08rem;
  left: 0;
  width: 100%;
  padding: 0 0.32rem;
}
.part1 .create-box .row {
  display: flex;
  align-items: center;
  margin-bottom: 0.2rem;
}
.part1 .create-box .label {
  font-size: 0.26rem;
  color: #8b3a1a;
  width: 1.3rem;
  font-weight: bold;
}
.part1 .create-box .input-wrap {
  flex: 1;
  height: 0.6rem;
  background: #fff;
  border-radius: 0.1rem;
  border: 1px solid #d4a76a;
  display: flex;
  align-items: center;
  padding: 0 0.2rem;
  margin-right: 0.15rem;
}
.part1 .create-box .input-wrap input {
  width: 100%;
  border: none;
  outline: none;
  font-size: 0.24rem;
  color: #333;
  background: transparent;
  text-align: center;
}
.part1 .create-box .input-wrap input::placeholder {
  color: #999;
}
.part1 .create-box .btn {
  width: 1.4rem;
  height: 0.6rem;
  background: url("../img/btn1.png") no-repeat center;
  background-size: 100% 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.24rem;
  color: #661d00;
}
.part1 .create-box .btn2 {
  background: url("../img/btn2.png") no-repeat center;
  background-size: 100% 100%;
}
.part1 .create-box .tip {
  font-size: 0.2rem;
  color: #cb3a00;
  text-align: center;
  margin-top: 0.05rem;
}

.part1 .ticket-box {
  position: absolute;
  top: 7.31rem;
  left: 0;
  width: 100%;
  padding: 0 0.84rem;
}
.part1 .ticket-list {
  display: flex;
  justify-content: space-around;
}
.part1 .ticket-item {
  text-align: center;
}
.part1 .ticket-item .icon {
  width: 1.54rem;
  height: 0.88rem;
  margin: 0 auto;
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-position: center;
}
.part1 .ticket-item .icon.yin {
  background-image: url("../img/p1img1.png");
}
.part1 .ticket-item .icon.jin {
  background-image: url("../img/p1img2.png");
}
.part1 .ticket-item .icon.fan {
  background-image: url("../img/p1img3.png");
}
.part1 .ticket-item .name {
  font-size: 0.24rem;
  color: #8b3a1a;
  margin-top: 0.1rem;
}
.part1 .ticket-item .val {
  font-size: 0.3rem;
  color: #661d00;
  font-weight: bold;
  margin-top: 0.16rem;
}
.part1 .ticket-tip {
  font-size: 0.2rem;
  color: #cb3a00;
  text-align: center;
  margin-top: 0.45rem;
  line-height: 0.32rem;
}

/* ===== part2 阶段一 小组赛 ===== */
.part2 .stage-tit {
  position: absolute;
  top: 0.5rem;
  left: 0;
  width: 100%;
  text-align: center;
}
.part2 .stage-tit .tit {
  font-size: 0.44rem;
  color: #8b3a1a;
  font-weight: bold;
}
.part2 .stage-tit .sub {
  font-size: 0.24rem;
  color: #a0522d;
  margin-top: 0.1rem;
}

.part2 .task-box {
  position: absolute;
  top: 1.6rem;
  left: 0;
  width: 100%;
  padding: 0 0.3rem;
}
.part2 .task-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 6.9rem;
  height: 1.2rem;
  margin: 0 auto 0.08rem;
  background: url("../img/p2itembg.png") no-repeat center;
  background-size: 100% 100%;
  padding: 0 0.3rem 0 0.56rem;
}
.part2 .task-item .info {
  flex: 1;
}
.part2 .task-item .info .t1 {
  font-size: 0.24rem;
  color: #8b3a1a;
  font-weight: bold;
}
.part2 .task-item .info .t2 {
  font-size: 0.22rem;
  color: #a0522d;
  margin-top: 0.05rem;
}
.part2 .task-item .btn {
  width: 1.4rem;
  height: 0.6rem;
  background: url("../img/btn1.png") no-repeat center;
  background-size: 100% 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.24rem;
  color: #661d00;
  margin-left: 0.2rem;
}
.part2 .task-item .btn.share {
  background-image: url("../img/btn2.png");
}

.part2 .reward-box {
  position: absolute;
  top: 5.6rem;
  left: 0;
  width: 100%;
  padding: 0 0.5rem;
}
.part2 .reward-box .sub {
  text-align: center;
  font-size: 0.2rem;
  color: #cb3a00;
}
.part2 .reward-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 0.3rem;
}
.part2 .reward-list .item {
  position: relative;
  width: 2.12rem;
  text-align: center;
  margin: 0 0 0.2rem;
  padding-bottom: 0.6rem;
}
.part2 .reward-list .item .img {
  width: 2.12rem;
  height: 1.98rem;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}
.part2 .reward-list .item .img img {
  width: 100%;
  display: block;
}
.part2 .reward-list .item .name {
  position: absolute;
  top: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: 2.3rem;
  height: 0.39rem;
  background: url("../img/p2d.png") no-repeat center;
  background-size: 100% 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.2rem;
  color: #ffdf88;
}
.part2 .reward-list .item .progress {
  font-size: 0.22rem;
  color: #54362a;
  margin-top: 0.05rem;
}
.part2 .reward-list .item .progress span {
  color: #cb3a00;
}
.part2 .reward-list .item .btn {
  width: 1.2rem;
  height: 0.5rem;
  margin: 0.1rem auto 0;
  background: url("../img/btn1.png") no-repeat center;
  background-size: 100% 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.2rem;
  color: #661d00;
}
.part2 .reward-list .item .btn.disabled {
  background-image: url("../img/btn4.png");
  color: #8c8c8c;
}
.part2 .reward-list .item .btn.wait {
  background-image: url("../img/btn3.png");
  color: #661d00;
}

/* ===== part3 阶段二 淘汰赛 ===== */
.part3 .stage-tit {
  position: absolute;
  top: 0.5rem;
  left: 0;
  width: 100%;
  text-align: center;
}
.part3 .stage-tit .tit {
  font-size: 0.44rem;
  color: #8b3a1a;
  font-weight: bold;
}

.part3 .task-box {
  position: absolute;
  top: 1.5rem;
  left: 0;
  width: 100%;
}
.part3 .task-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 6.9rem;
  height: 1.2rem;
  margin: 0 auto 0.08rem;
  background: url("../img/p2itembg.png") no-repeat center;
  background-size: 100% 100%;
  padding: 0 0.3rem;
}
.part3 .task-item .info {
  flex: 1;
}
.part3 .task-item .info .t1 {
  font-size: 0.24rem;
  color: #8b3a1a;
  font-weight: bold;
}
.part3 .task-item .info .t2 {
  font-size: 0.22rem;
  color: #a0522d;
  margin-top: 0.05rem;
}
.part3 .task-item .btn {
  width: 1.4rem;
  height: 0.6rem;
  background: url("../img/btn1.png") no-repeat center;
  background-size: 100% 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.24rem;
  color: #661d00;
  margin-left: 0.2rem;
}
.part3 .task-item .btn.lingqu {
  background-image: url("../img/btn1.png");
}
.part3 .task-item .btn.yaoqing {
  background-image: url("../img/btn2.png");
}
.part3 .mask {
  position: absolute;
  top: 0.8rem;
  left: 0;
  width: 100%;
  bottom: 0;
  z-index: 5;
  display: none;
}
.part3 .mask.show {
  display: block;
}
.part3 .mask img {
  width: 100%;
  object-fit: cover;
  -webkit-mask-image: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 1) 15%
  );
  mask-image: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 1) 15%
  );
}

/* ===== 底部固定 ===== */
.bottom-fixed {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4.22rem;
  background: url("../img/bottombg.png") no-repeat center bottom;
  background-size: 100% 100%;
  z-index: 50;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 0.98rem;
}
.bottom-fixed .qrcode-box {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.15rem;
  position: absolute;
  top: 2.24rem;
  left: 0;
  width: 100%;
}
.bottom-fixed .qrcode-box .qr-item {
  display: flex;
  align-items: center;
  margin-left: 1.04rem;
}
.bottom-fixed .qrcode-box .qr-item:nth-of-type(2) {
  margin-right: 1.5rem;
}
.bottom-fixed .qrcode-box .qr-item .qr-img {
  width: 1.52rem;
  height: 1.52rem;
  display: block;
}
.bottom-fixed .qrcode-box .qr-item .qr-txt {
  font-size: 0.2rem;
  color: #f5e6c8;
  writing-mode: vertical-rl;
  margin-left: 0.08rem;
  letter-spacing: 0.04rem;
}
.bottom-fixed .btns {
  display: flex;
  justify-content: center;
}
.bottom-fixed .btns a {
  width: 3.21rem;
  height: 0.93rem;
  margin: 0 0.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.28rem;
  font-weight: bold;
  background: url("../img/botitem.png") no-repeat center;
  background-size: 100% 100%;
  color: #f5e6c8;
}
.bottom-fixed .btns a.active {
  background: url("../img/botitemon.png") no-repeat center;
  background-size: 100% 100%;
  color: #661d00;
}

/* ===== 右侧固定 ===== */
.side {
  position: fixed;
  right: 0;
  top: 30%;
  z-index: 50;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.side a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 0.45rem;
  height: 1.2rem;
  background: url("../img/fixedbg.png") no-repeat center center;
  background-size: 100% 100%;
  margin-bottom: 0.08rem;
  font-size: 0.22rem;
  color: #661d00;
  writing-mode: vertical-rl;
  letter-spacing: 0.02rem;
}

/* ===== 弹窗规则 ===== */
.rule-pop .twpop-cont {
  padding: 0.3rem;
  font-size: 0.24rem;
  color: #ffedbe;
  line-height: 1.8;
}
.rule-pop .item {
  margin-bottom: 0.15rem;
  text-align: left;
}
.rule-pop .gift .cell {
  display: flex;
  align-items: center;
  padding: 0.2rem 0.3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 0.24rem;
}
.rule-pop .gift .cell:last-child {
  border-bottom: none;
}
.rule-pop .gift .cell.head {
  font-weight: bold;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}
.rule-pop .gift .cell .bd {
  width: 50%;
  color: #ffedbe;
}
.rule-pop .gift .cell .time {
  color: #ffedbe;
  width: 50%;
  text-align: center;
}

/* 我的投注 */
.rule-pop .tz-box {
  padding: 0.1rem 0.2rem;
}
.rule-pop .tz-box .tz-tip {
  text-align: center;
  font-size: 0.2rem;
  color: #ffedbe;
  margin-bottom: 0.15rem;
}
.rule-pop .tz-box .tz-item {
  background: url("../img/tcitem1.png") no-repeat center;
  background-size: 100% 100%;
  padding: 0.25rem 0.3rem;
  margin-bottom: 0.15rem;
}
.rule-pop .tz-box .tz-item .tz-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.12rem;
}
.rule-pop .tz-box .tz-item .tz-match {
  font-size: 0.4rem;
  font-weight: bold;
}
.rule-pop .tz-box .tz-item .tz-match .blue {
  color: #2b6cb0;
}
.rule-pop .tz-box .tz-item .tz-match .red {
  color: #cb3a00;
}
.rule-pop .tz-box .tz-item .tz-match .vs {
  color: #8b3a1a;
  margin: 0 0.1rem;
}
.rule-pop .tz-box .tz-item .tz-result-icon {
  width: 0.86rem;
  height: 0.86rem;
  background-size: 100% 100%;
  background-repeat: no-repeat;
}
.rule-pop .tz-box .tz-item .tz-result-icon.win {
  background-image: url("../img/wicon.png");
}
.rule-pop .tz-box .tz-item .tz-result-icon.lose {
  background-image: url("../img/licon.png");
}
.rule-pop .tz-box .tz-item .tz-bottom {
  display: flex;
  align-items: center;
}
.rule-pop .tz-box .tz-item .tz-tag {
  display: flex;
  align-items: center;
  margin-right: 0.25rem;
  font-size: 0.22rem;
}
.rule-pop .tz-box .tz-item .tz-tag .label {
  color: #661d00;
  margin-right: 0.08rem;
  font-size: 0.3rem;
}
.rule-pop .tz-box .tz-item .tz-tag .val {
  padding: 0 0.1rem;
  border-radius: 0.06rem;
  color: #ffedbe;
  font-size: 0.3rem;
}
.rule-pop .tz-box .tz-item .tz-tag .val.red {
  background: #cc0030;
}
.rule-pop .tz-box .tz-item .tz-tag .val.blue {
  background: #0048cb;
}

/* select2 全局样式 */
.select2-container {
  font-size: 0.24rem;
  color: #ffedbe;
}
.twpop-input,
.select2-selection__rendered {
  color: #ffedbe !important;
}
.twpop-main input,
.twpop-main select,
.twpop-main .select2-selection {
  color: #ffedbe !important;
}
.pop_bind input,
.pop_bind select,
.pop_bind .select2-selection {
  color: #ffedbe !important;
}
.twpop input,
.twpop select,
.twpop textarea {
  color: #ffedbe !important;
}
.twpop
  .select2-container--default
  .select2-selection--single
  .select2-selection__rendered {
  color: #ffedbe !important;
}
.select2-results__option {
  color: #333 !important;
}
select option {
  color: #333 !important;
}

/* twpop 弹窗层级 */
.twpop {
  z-index: 100;
  position: relative;
}

/* 弹窗标题 */
.twpop .twpop-title {
  color: #ffedbe;
  font-size: 0.4rem;
  border: none;
  padding-top: 0.4rem;
}

/* 关闭按钮改成白色 */
.twpop .twpop-close {
  width: 0.44rem;
  height: 0.44rem;
  background: transparent !important;
  position: relative;
}
.twpop .twpop-close::before,
.twpop .twpop-close::after {
  content: "";
  position: absolute;
  top: -0.8rem;
  left: 3rem;
  width: 0.3rem;
  height: 2px;
  background: #fff;
  border-radius: 1px;
}
.twpop .twpop-close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}
.twpop .twpop-close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

/* 通用弹窗背景（所有小弹窗默认） */
.twpop .twpop-main {
  background: url("../img/tcbg1.png") no-repeat center / 100% 100%;
  background-color: transparent;
}
/* 规则/奖励/投注弹窗用 tcbg2.png */
.twpop-main.rule-pop {
  background-image: url("../img/tcbg2.png");
}

/* 弹窗按钮默认用 btn1.png */
body .twpop .twpop-btn {
  background: url("../img/btn1.png") no-repeat center / 100% 100%;
  color: #661d00;
}
/* 次选按钮用 btn4.png */
body .twpop .twpop-btn.btn-cancel {
  background-image: url("../img/btn4.png");
  color: #8c8c8c;
}

/* ===== cont2 决胜美加墨 ===== */
.cont2 {
  background: #f9f6ef;
  padding-bottom: 4.2rem;
}
.cont2 .head2 {
  position: relative;
  width: 100%;
}
.cont2 .head2 .bg {
  width: 100%;
  display: block;
}
.cont2 .head2 .content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  padding-top: 10.5rem;
}
.cont2 .head2 .date-tit {
  font-size: 0.6rem;
  color: #8b3a1a;
  font-weight: bold;
  letter-spacing: 0.04rem;
}
.cont2 .head2 .sub-tit {
  font-size: 0.32rem;
  color: #a0522d;
  margin-top: 0.1rem;
}
.cont2 .head2 .countdown {
  font-size: 0.38rem;
  color: #fbf7ee;
}

.cont2 .match-list {
  width: 6.9rem;
  margin: 0 auto;
}
.cont2 .match-item {
  width: 100%;
  margin-bottom: 0.2rem;
  background: url("../img/t2itembg.png") no-repeat center;
  background-size: 100% 100%;
  padding: 0.3rem 0.4rem;
}
.cont2 .match-item .match-title {
  text-align: center;
  font-size: 0.36rem;
  font-weight: bold;
  margin-bottom: 0.2rem;
}
.cont2 .match-item .match-title .blue {
  color: #2b6cb0;
}
.cont2 .match-item .match-title .red {
  color: #cb3a00;
}
.cont2 .match-item .match-title .vs {
  color: #8b3a1a;
  margin: 0 0.2rem;
}
.cont2 .match-item .match-btns {
  display: flex;
  justify-content: center;
  margin-bottom: 0.15rem;
}
.cont2 .match-item .match-btns .btn {
  width: 1.6rem;
  height: 0.61rem;
  margin: 0 0.1rem;
  background: url("../img/btn1.png") no-repeat center;
  background-size: 100% 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.24rem;
  color: #661d00;
  border: none;
}
.cont2 .match-item .match-btns .btn.active {
  background: url("../img/btn5.png") no-repeat center;
  background-size: 100% 100%;
  color: #fff;
}
.cont2 .match-item .match-btns .btn.active.blue {
  background: url("../img/btn6.png") no-repeat center;
  background-size: 100% 100%;
  color: #fff;
}
.cont2 .match-item .match-btns .btn.active.draw {
  background: url("../img/btn7.png") no-repeat center;
  background-size: 100% 100%;
  color: #fff;
}
.cont2 .match-item .match-btns .btn.btned {
  background: url("../img/btn4.png") no-repeat center;
  background-size: 100% 100%;
}
.cont2 .match-item .match-tip {
  text-align: center;
  font-size: 0.18rem;
  color: #cb3a00;
}

/* 押注确认弹窗 */
.bet-tag {
  display: inline-block;
  padding: 0 0.26rem;
  border-radius: 0.1rem;
  font-size: 0.5rem;
  font-weight: bold;
  color: #ffedbe;
}
.bet-tag.red {
  background: #cc0030;
}
.bet-tag.blue {
  background: #2b6cb0;
}
.bet-tag.draw {
  background: #d4a76a;
}

.cont2 .t2-bottom-tip {
  text-align: center;
  font-size: 0.22rem;
  color: #cb3a00;
  padding: 0.3rem 0.5rem;
  line-height: 1.6;
}
