:root {
  --scrollbar-width: 0px;
}

body {
  background-color: #191b1b;
}
body.no-scroll {
  overflow: hidden;
}

body.no-scroll #app {
  padding-right: var(--scrollbar-width);
}

.toast-container .toast {
  text-align: center;
}

body .serverChooseAlertCon {
  background: url(https://img.fxegames.com/fxegames/sgmweb/dwgk/tcbg1.png) no-repeat;
  background-size: 100% 100%;
  border: none;
}
body .serverChooseAlertConent {
  padding: 0 16px;
  box-sizing: border-box;
}
body .serverChooseAlertTitle {
  position: relative;
  background: none;
  color: transparent;
  pointer-events: none;
}
.serverChooseAlertTitle::after {
  position: absolute;
  left: 0;
  content: '选择您的区服';
  color: #876c42;
}
body .serverChooseAlertClose {
  background: url(https://img.fxegames.com/fxegames/sgmweb/dwgk/btnf.png) no-repeat;
  background-size: 100% 100%;
}
body .selectUser {
  display: none;
}
body .selectServer .txt {
  display: none;
}
body .selectServer {
  margin: 0;
  margin-bottom: 17px;
  background-color: #fffbed;
  border-radius: 4px;
  width: 100%;
  box-sizing: border-box;
  padding: 27px 0 25px;
  height: auto;
  display: flex;
  justify-content: center;
}
body .selectServer .serverSelect {
  width: 258px;
  height: 64px;
  background: none;
}
body .serverSelectCon {
  background-color: #f1e6ca;
  border-radius: 4px;
  color: #876c42;
}
body .serverSelectCon::after {
  content: '*确定区服后不可更改，请仔细选择';
  font-size: 14px;
  white-space: nowrap;
  color: #92312a;
  display: inline-block;
  transform: translate(18px, 6px);
}
body .serverSelectCon span {
  color: #876c42;
  font-weight: bold;
}
body .serverSelectCon em {
  width: 0px;
  height: 0px;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 7px solid #876c42;
}
body .serverChooseAlertConent .btn {
  background-color: #92312a;
  border-radius: 4px;
}

#app {
  min-width: 1260px;
}

[v-cloak] {
  display: none;
}

.container-fluid {
  width: 100%;
  min-width: 1260px;

  pointer-events: none;
}
.container {
  width: 100%;
  min-width: 1241px;
  max-width: 1241px;
  margin: 0 auto;
  pointer-events: all;
}

/* 隐藏 Chrome, Safari 和 Opera 的滚动条 */
.no-scrollbar::-webkit-scrollbar {
  display: none;
}
/* 隐藏 IE, Edge 和 Firefox 的滚动条 */
.no-scrollbar {
  -ms-overflow-style: none; /* IE 和 Edge */
  scrollbar-width: none; /* Firefox */
}

.scrollbar::-webkit-scrollbar-track {
  border-radius: 3px;
  background-color: #e5e1ce;
}
.scrollbar::-webkit-scrollbar-thumb {
  background: #8e4a3e;
  cursor: pointer;
  border-radius: 3px;
}
.scrollbar::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}

button {
  cursor: pointer;
  font-size: inherit;
  background: none;
}

.nav-fixed {
  position: absolute;
  top: 7px;
  left: 0;
  z-index: 100;
  padding: 0 29px 0 51px;
  width: 100%;
  display: flex;
  justify-content: space-between;
  box-sizing: border-box;
}

body.no-scroll .nav-fixed {
  padding-right: calc(29px + var(--scrollbar-width));
}

.nav-fixed .right-actions {
  display: flex;
  gap: 15px;
  align-items: center;

  pointer-events: all;
}
.nav-fixed .user-info {
  display: flex;
  gap: 8px;
  justify-content: center;
  align-items: center;

  font-size: 18px;
  color: #513b1f;

  width: 244px;
  height: 72px;
  background: url(https://img.fxegames.com/fxegames/sgmweb/dwgk/btna.png) no-repeat;
  background-size: 100%;
}
.nav-fixed .logout-btn {
  background-color: transparent;
}
.nav-fixed .login-btn {
  background-color: transparent;
}
.nav-fixed .home-btn {
  display: block;
  width: 78px;
  height: 78px;
  background: url(https://img.fxegames.com/fxegames/sgmweb/dwgk/btnb.png);
}
.nav-fixed .left-icons {
  display: flex;
  gap: 30px;
  align-items: flex-end;
}
.nav-fixed .sg-logo {
  width: 263px;
  height: 73px;
  background-image: url(https://img.fxegames.com/fxegames/sgmweb/dwgk/logo1.png);
}
.nav-fixed .zg-logo {
  width: 194px;
  height: 122px;
  background-image: url(https://img.fxegames.com/fxegames/sgmweb/dwgk/logo2.png);
}

/* banner-box */
.banner-box {
  position: relative;
  height: 898px;
  background: url(https://img.fxegames.com/fxegames/sgmweb/dwgk/bg.jpg) no-repeat;
  background-position: center;

  display: flex;
  flex-direction: column;
  /* justify-content: center; */
  align-items: center;
  gap: 26px;

  text-align: center;
}
.banner-box .text-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 355px;
}
.banner-box .text-box .text-1 {
  background: url(https://img.fxegames.com/fxegames/sgmweb/dwgk/slg.png) no-repeat;
  width: 1002px;
  height: 207px;
}
.banner-box .text-box .text-2 {
  background: url(https://img.fxegames.com/fxegames/sgmweb/dwgk/slg1.png) no-repeat;
  width: 820px;
  height: 80px;
  margin-top: -35px;
}
.banner-box .times {
  display: flex;
  flex-direction: column;
  background-image: linear-gradient(
    to right,
    transparent 0,
    rgba(0, 0, 0, 0.6) 20%,
    rgba(0, 0, 0, 0.8) 50%,
    rgba(0, 0, 0, 0.6) 80%,
    transparent 100%
  );
  color: #ddd;
  font-size: 16px;
  line-height: 30px;
  padding: 5px 30px;

  margin-top: 5px;
}
.banner-box .text-server {
  width: 206px;
  height: 31px;
  background-color: #130c03;
  border-radius: 4px;
  border: solid 1px #b69a55;
  opacity: 0.8;
  color: white;
  padding: 0 14px;
  color: #e6cb74;
  font-size: 14px;
  box-sizing: border-box;
  position: relative;
  display: flex;
  align-items: center;
}
.banner-box .text-server span:last-child {
  flex: 1;
  cursor: pointer;
}

.banner-box .receive-btn {
  background: url(https://img.fxegames.com/fxegames/sgmweb/dwgk/btnc.png) no-repeat;
  position: absolute;
  bottom: -54px;
  z-index: 10;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  width: 210px;
  height: 210px;
  font-size: 36px;
  line-height: 36px;
  color: #f2e5c2;
  font-weight: bold;
  letter-spacing: 0px;
}
.banner-box .receive-btn .text {
  position: absolute;
  display: flex;
  flex-direction: column;
  gap: 1px;

  margin-bottom: 2px;
}
.banner-box .receive-btn .text-stroke {
  -webkit-text-stroke: 4px #3d3326; /* Chrome, Safari, Opera */
  -moz-text-stroke: 4px #3d3326; /* Firefox */
  text-stroke: 4px #3d3326;
}
.banner-box .receive-btn::before {
  content: '';
  position: absolute;
  width: 154px;
  height: 153px;
  background: url(https://img.fxegames.com/fxegames/sgmweb/dwgk/btnc1.png) no-repeat;
  animation: Spin 30s linear infinite;
}
@keyframes Spin {
  0% {
    transform: rotateZ(0deg);
  }
  100% {
    transform: rotateZ(360deg);
  }
}

/* 左侧奖励显示 */
.banner-box .left-reward {
  position: absolute;
  left: 38px;
  bottom: 142px;

  width: 384px;
  height: 147px;
  background: url(https://img.fxegames.com/fxegames/sgmweb/dwgk/jp.png) no-repeat;
}
.banner-box .left-reward .reward {
  position: absolute;
  top: 50%;
  left: 36px;
  transform: translateY(-62%);

  width: 73px;
  height: 33px;
  background: url(https://img.fxegames.com/fxegames/sgmweb/dwgk/jp1.png) no-repeat;
}
.banner-box .left-reward .text {
  position: absolute;
  top: 50%;
  left: 137px;
  transform: translateY(-62%);

  font-size: 18px;
  color: black;

  text-align: left;
  font-weight: bold;
}
.banner-box .left-reward .text-stroke {
  -webkit-text-stroke: 4px #b7a479; /* Chrome, Safari, Opera */
  -moz-text-stroke: 4px #b7a479; /* Firefox */
  text-stroke: 4px #b7a479;
}

/* 右侧预约诸国争霸 */
.right-booking {
  position: fixed;
  z-index: 666;
  bottom: 62px;
  transform: scale(0.8);
  right: -25px;
}
body.no-scroll .right-booking {
  right: calc(-25px + var(--scrollbar-width));
}
.right-booking .illustration {
  position: absolute;
  bottom: 33%;
  left: 50%;
  transform: translateX(-54%);
  width: 379px;
  height: 265px;
  background: url(https://img.fxegames.com/fxegames/sgmweb/dwgk/xf2.png) no-repeat;
}
.right-booking button {
  position: relative;
  display: block;
  width: 360px;
  height: 129px;
  background: url(https://img.fxegames.com/fxegames/sgmweb/dwgk/xf1.png) no-repeat;
}
.right-booking .text {
  position: absolute;
  top: 29%;
  left: 50%;
  transform: translateX(-50%);

  font-size: 24px;
  color: black;

  font-weight: bold;
  text-wrap: nowrap;
}
.right-booking .text-stroke {
  -webkit-text-stroke: 4px #b7a479; /* Chrome, Safari, Opera */
  -moz-text-stroke: 4px #b7a479; /* Firefox */
  text-stroke: 4px #b7a479;
}

/* 帝国国运 */
.reward-box {
  position: relative;
  z-index: 5;

  margin-top: -180px;
  padding-top: 240px;
  padding-bottom: 170px;

  background: url(https://img.fxegames.com/fxegames/sgmweb/dwgk/bg1.png) no-repeat;
  background-position: center top;
}
.heading-box {
  position: relative;
  display: flex;
  justify-content: center;
}
.heading-box .help-rules {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 14px;
  color: #bc9946;

  display: flex;
  gap: 6px;
  align-items: center;
}
.heading-box .help-rules .icon {
  width: 24px;
  height: 23px;
  background: url(https://img.fxegames.com/fxegames/sgmweb/dwgk/ico1.png) no-repeat;
}
.heading-box .title {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 19px;

  font-size: 36px;
  font-weight: bold;
  color: #ffe886;
}
.heading-box .left-arrow {
  width: 137px;
  height: 73px;
  background: url(https://img.fxegames.com/fxegames/sgmweb/dwgk/bt1.png) no-repeat;
}
.heading-box .right-arrow {
  width: 137px;
  height: 73px;
  background: url(https://img.fxegames.com/fxegames/sgmweb/dwgk/bt2.png) no-repeat;
}
.reward-box .reward-list {
  margin-top: 58px;
  display: flex;
  flex-direction: column;
  gap: 35px;
}
.reward-box .reward-list > li {
  background: url(https://img.fxegames.com/fxegames/sgmweb/dwgk/k1.png) no-repeat;
  width: 100%;
  height: 139px;

  display: flex;
  align-items: center;
}
.reward-box .reward-list .left-title {
  font-size: 36px;
  font-style: italic;
  color: #ffe886;
  font-weight: bold;

  padding: 0 70px;
}
.reward-box .reward-list .right-content {
  flex: 1;
  height: 100%;
  padding: 0 17px 0 45px;
}
.reward-box .reward-list .right-content > li {
  height: 50%;
  display: flex;
  align-items: center;
}
.reward-box .reward-list .right-content .title {
  font-size: 18px;
  color: #67582e;
  width: 126px;
}

.reward-box .reward-list .right-content .reward {
  flex: 1;
  display: flex;
  gap: 30px;
  font-size: 14px;
  color: #ffe886;
}
.reward-box .reward-list .right-content .reward > li {
  display: flex;
  align-items: center;
}
.reward-box .reward-list .right-content .reward .icon {
  width: 32px;
  height: 32px;
  margin-right: 17px;
}
.reward-box .reward-list .right-content .rules {
  flex: 1;
  font-size: 14px;
  color: #ffe886;
}
.reward-box .reward-list .right-content .right-btn {
  width: 127px;
  height: 45px;

  font-size: 18px;
  color: #0a0b0b;
  font-weight: bold;

  box-sizing: border-box;
  padding-bottom: 3px;

  user-select: none;
}
.reward-box .reward-list .right-content .right-btn.gz {
  background: url(https://img.fxegames.com/fxegames/sgmweb/dwgk/btnd.png) no-repeat;
}
.reward-box .reward-list .right-content .right-btn.gz.disabled {
  background: url(https://img.fxegames.com/fxegames/sgmweb/dwgk/btnd1.png) no-repeat;
  pointer-events: none;
}
.reward-box .reward-list .right-content .right-btn.zg {
  background: url(https://img.fxegames.com/fxegames/sgmweb/dwgk/btne.png) no-repeat;
}

/* 任务奖励容器 */
.lottery-task {
  position: relative;
  z-index: 6;
  margin-top: -180px;
  padding-top: 280px;
  padding-bottom: 170px;

  background: url(https://img.fxegames.com/fxegames/sgmweb/dwgk/bg.png) no-repeat;
  background-position: center top;
}

/* 抽奖区域 */
.lottery-task .lottery-content {
  margin-top: 87px;

  display: flex;
  justify-content: space-between;
}

.lottery-task .lottery-content > div {
  width: calc(50% - 18px);
}

/* 轮播区域 */
.lottery-task .lottery-box {
  height: 378px;
  border: solid 2px #ffe971;
  padding: 3px;
  box-sizing: border-box;

  position: relative;
}
.lottery-task .lottery-swiper {
  position: relative;
  width: 100%;
  height: 100%;
  padding-top: 50px;
  box-sizing: border-box;

  border: solid 1px #ffe971;

  background: url(https://img.fxegames.com/fxegames/sgmweb/dwgk/img.jpg) no-repeat;
  background-position: center;
  background-size: contain;
}

.lottery-task .swiper-slide {
  position: relative;
  width: 400px;
  height: 242px;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-weight: bold;
  background: url(https://img.fxegames.com/fxegames/sgmweb/dwgk/jpbg.png) no-repeat;
  background-size: contain;
}
.lottery-task .swiper-slide img {
  margin-top: 67px;
  width: 64px;
  height: 64px;
  object-fit: contain;
}
.lottery-task .swiper-slide .text-box {
  position: relative;
  margin-top: 33px;
}
.lottery-task .swiper-slide .text-box .text {
  position: absolute;
  top: 29%;
  left: 50%;
  transform: translateX(-50%);

  /* width: 80px; */
  white-space: nowrap;
  font-size: 16px;
  line-height: 18px;
  color: black;

  text-align: center;

  font-weight: bold;
}
.lottery-task .swiper-slide .text-box .text-stroke {
  -webkit-text-stroke: 4px #b7a479; /* Chrome, Safari, Opera */
  -moz-text-stroke: 4px #b7a479; /* Firefox */
  text-stroke: 4px #b7a479;
}

.lottery-task .swiper-button-prev {
  position: absolute;
  left: 110px;
  top: 80%;
  width: 103px;
  height: 57px;
  background: url(https://img.fxegames.com/fxegames/sgmweb/dwgk/lr1.png) no-repeat;
}
.lottery-task .swiper-button-next {
  position: absolute;
  right: 110px;
  top: 80%;
  width: 103px;
  height: 57px;
  background: url(https://img.fxegames.com/fxegames/sgmweb/dwgk/lr2.png) no-repeat;
}
.lottery-task .swiper-button-prev::after,
.lottery-task .swiper-button-next::after {
  display: none;
}
.lottery-task .lottery-box .text-tip {
  position: absolute;
  z-index: 10;
  bottom: 35px;
  left: 50%;
  transform: translateX(-50%);

  width: 143px;
  height: 29px;
  background-color: #000000;
  border-radius: 4px;
  border: solid 1px #b69a55;
  opacity: 0.8;
  font-size: 14px;
  color: #c09145;

  display: flex;
  align-items: center;
  justify-content: center;
}

.lottery-task .lottery-box .lottery-btn {
  position: absolute;
  z-index: 10;
  bottom: -25px;
  left: 50%;
  transform: translateX(-50%);

  width: 127px;
  height: 45px;
  background: url(https://img.fxegames.com/fxegames/sgmweb/dwgk/btnd.png) no-repeat;
  font-size: 18px;
  color: #0a0b0b;
  font-weight: bold;

  padding-bottom: 3px;
  box-sizing: border-box;
}

/* 任务区域 */
.lottery-task .task-box {
  height: 378px;
}

.lottery-task .task-box .top-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.lottery-task .task-box .top-title .title {
  font-size: 24px;
  color: #ffe886;
  font-weight: bold;

  display: flex;
  align-items: center;
}
.lottery-task .task-box .top-title .title::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 24px;
  background-color: #ffe886;

  margin-right: 9px;
}

.lottery-task .task-box .action-btns {
  display: flex;
  gap: 72px;
}

.lottery-task .task-box .action-btns button {
  font-size: 14px;
  color: #bc9946;

  display: flex;
  align-items: center;
  gap: 8px;
}
.lottery-task .task-box .action-btns .bag-btn .icon {
  width: 22px;
  height: 24px;
  background: url(https://img.fxegames.com/fxegames/sgmweb/dwgk/ico2.png) no-repeat;
}
.lottery-task .task-box .action-btns .address-btn .icon {
  width: 19px;
  height: 24px;
  background: url(https://img.fxegames.com/fxegames/sgmweb/dwgk/ico3.png) no-repeat;
}

.lottery-task .task-box .task-table-wrapper {
  margin-top: 16px;

  display: flex;
  flex-direction: column;
  gap: 10px;
}

.lottery-task .task-box .task-table-wrapper > li {
  display: flex;
  height: 47px;
  background-color: #000000;
  border: solid 2px #856d30;
  box-sizing: border-box;
}

.lottery-task .task-table-wrapper .task-type {
  width: 111px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #856d30;

  font-size: 17px;
  color: #000000;
  font-weight: bold;
}

.lottery-task .task-table-wrapper .task-name {
  flex: 1;

  display: flex;
  align-items: center;
}

.lottery-task .task-name .name {
  font-size: 16px;
  color: #ffe886;
  flex: 1;
  padding: 0 30px;
}

.lottery-task .task-name button {
  position: relative;
  width: 88px;
  height: 35px;
  display: flex;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
  margin-right: 6px;

  background-image: linear-gradient(0deg, #b58d2c 0%, #ffe886 100%), linear-gradient(#f4db79, #f4db79);
  background-blend-mode: normal, normal;

  font-size: 16px;
  color: #000000;
}
.lottery-task .task-name button span {
  position: relative;
}
.lottery-task .task-name button.btn-1 {
  color: #e1c364;
  font-weight: bold;
}
.lottery-task .task-name button.btn-1::before {
  position: absolute;
  content: '';
  width: 86px;
  height: 33px;
  background-color: #070808;
}
.lottery-task .task-name button.btn-2 {
  font-weight: bold;
}
.lottery-task .task-name button.btn-3 {
  background: #666666;
  pointer-events: none;
}
.lottery-task .task-name button.btn-4 {
  font-weight: bold;
}

/* 奖励历程 */
.reward-course {
  position: relative;
  z-index: 7;
  margin-top: -180px;
  padding-top: 240px;
  padding-bottom: 170px;
  background: url(https://img.fxegames.com/fxegames/sgmweb/dwgk/bg1.png) no-repeat;
  background-position: center top;
}

.reward-course .reward-count {
  font-size: 14px;
  color: #bc9946;
  text-align: center;
}

.reward-course .reward-list {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.reward-course .reward-list li.header {
  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 16px;
  color: #ffe886;
  font-weight: bold;
  height: 56px;

  border: solid 2px #bf9a3a;
  box-sizing: border-box;

  position: relative;

  background: rgba(0, 0, 0, 0.4);
}
.reward-course .reward-list li.header::before {
  content: '';
  border: solid 3px #1d110d;
  width: calc(100% - 7px);
  height: calc(100% - 7px);

  position: absolute;

  pointer-events: none;
}
.reward-course .reward-list li.header::after {
  content: '';
  border: solid 1px #856d30;
  position: absolute;
  width: calc(100% - 9px);
  height: calc(100% - 9px);
  pointer-events: none;
}
.reward-course .reward-list li.header .num {
  font-style: normal;
  font-size: 16px;
  padding: 0;
  text-align: center;
}
.reward-course .reward-list li.header .gzReward {
  justify-content: center;
}
.reward-course .reward-list li.header .zgReward {
  justify-content: center;
}

.reward-course .reward-list > li.item {
  height: 117px;
  background: url(https://img.fxegames.com/fxegames/sgmweb/dwgk/k2.png) no-repeat;
  background-size: 100% 100%;

  display: flex;
  align-items: center;
}
.reward-course .reward-list > li.disabled {
  opacity: 0.6;
}
.reward-course .reward-list .num {
  font-size: 31px;
  font-style: italic;
  color: #ffe886;
  font-weight: bold;

  width: 312px;
  padding-left: 43px;
  box-sizing: border-box;
}
.reward-course .reward-list .num span {
  font-size: 51px;
}
.reward-course .reward-list .gzReward {
  flex: 1;
  display: flex;
  align-items: center;
}
.reward-course .reward-list .reward {
  font-size: 14px;
  color: #ffe886;

  flex: 1;

  display: flex;
  gap: 35px;

  padding-left: 30px;
}
.reward-course .reward-list .reward > li {
  display: flex;
  align-items: center;
  gap: 17px;
}

.reward-course .reward-list .gzReward .icon {
  width: 32px;
  height: 32px;
}

.reward-course .reward-list .gzReward > button {
  width: 127px;
  height: 45px;

  font-size: 18px;
  color: #0a0b0b;
  font-weight: bold;

  box-sizing: border-box;
  padding-bottom: 3px;
}
.reward-course .reward-list .gzReward > button.btn-1 {
  background: url(https://img.fxegames.com/fxegames/sgmweb/dwgk/btnd1.png) no-repeat;
  background-size: 100% 100%;
  cursor: default;
}
.reward-course .reward-list .gzReward > button.btn-2 {
  background: url(https://img.fxegames.com/fxegames/sgmweb/dwgk/btnd.png) no-repeat;
  background-size: 100% 100%;
}
.reward-course .reward-list .gzReward > button.btn-3 {
  background: url(https://img.fxegames.com/fxegames/sgmweb/dwgk/btnd1.png) no-repeat;
  background-size: 100% 100%;
  cursor: default;
}

.reward-course .reward-list .zgReward {
  width: 306px;
  height: 100%;
  margin-left: 34px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}
.reward-course .reward-list .zgReward .bg-img-box {
  position: relative;
  width: 180px;
  height: 106px;
  overflow: hidden;
}
.reward-course .reward-list .zgReward .bg-img {
  position: absolute;
  top: -15px;

  background: url(https://img.fxegames.com/fxegames/sgmweb/dwgk/logo2.png) no-repeat;
  background-size: cover;
  width: 180px;
  height: 112px;
}
.reward-course .reward-list .zgReward button {
  position: absolute;
  bottom: -15px;

  width: 127px;
  height: 45px;
  background: url(https://img.fxegames.com/fxegames/sgmweb/dwgk/btne.png) no-repeat;
  font-size: 18px;
  color: #0a0b0b;
  font-weight: bold;

  box-sizing: border-box;
  padding-bottom: 3px;

  transform: scale(0.9);
}

.reward-course .reward-list .item .zgReward {
  visibility: hidden;
}
.reward-course .reward-list .item .zgReward.show {
  visibility: visible;
}

/* 弹出框 */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.7);
  justify-content: center;
  align-items: center;
  z-index: 1000;

  display: flex;
  justify-content: center;
  align-items: center;

  --bg-content: #fffbed;
}
.modal-container {
  background: url(https://img.fxegames.com/fxegames/sgmweb/dwgk/tcbg1.png) no-repeat;
  background-size: 100% 100%;
  padding: 24px 24px 40px;
  width: 468px;
  max-width: 90%;
  box-sizing: border-box;
}
.modal-container .modal-header {
  display: flex;
  justify-content: flex-end;
  padding: 0 4px 0 15px;
  margin-bottom: 16px;
  position: relative;
}
.modal-container .modal-header .title {
  flex: 1;
  font-size: 24px;
  color: #876c42;
  font-weight: bold;
}
.modal-container .modal-header .close-btn {
  width: 25px;
  height: 25px;
  background: url(https://img.fxegames.com/fxegames/sgmweb/dwgk/btnf.png) no-repeat;
  background-size: 100% 100%;
}
.modal-container .content {
  background-color: var(--bg-content);
  border-radius: 4px;
  padding: 25px;
}

.modal-container .modal-footer {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  margin-top: 17px;
}
.modal-container .modal-footer .modal-btn {
  width: 151px;
  height: 50px;
  border-radius: 4px;
  font-size: 18px;
  font-weight: bold;
}
.modal-container .modal-footer .modal-btn.ok {
  background-color: #92312a;
  color: #ffffff;
}
.modal-container .modal-footer .modal-btn.cancel {
  border: solid 1px #92312a;
  color: #92312a;
}
/* 国运弹窗 */
.gyModal .modal-container {
  width: 480px;
  background: url(https://img.fxegames.com/fxegames/sgmweb/dwgk/tcbg5.png) no-repeat;
  background-size: 100% auto;
}
.gyModal .modal-header .close-btn {
}
.gyModal .modal-header .title {
  position: absolute;
  left: 50%;
  top: 10px;
  transform: translateX(-50%);
}
.gyModal .modal-header .flag-title {
  position: absolute;
  left: 47%;
  top: 95px;
  transform: translateX(-50%);

  font-size: 59px;
  font-style: italic;
  color: #ffe886;
  font-weight: bold;
  text-wrap: nowrap;

  text-shadow: 1px 1px 5px black, 0 0 1em black, 0 0 0.2em black;
}
.gyModal .modal-body {
  margin-top: 188px;
  position: relative;
}
.gyModal .modal-body > p {
  font-size: 16px;
  color: #56462e;
  text-align: center;
  font-weight: bold;
}
.gyModal .reward > p {
  font-size: 18px;
  color: #876c42;
  text-align: center;
  font-weight: bold;
}
.gyModal .reward.content {
  margin-top: 19px;
  padding: 16px 13px 10px;
}
.gyModal .reward > ul {
  margin-top: 13px;
  height: 94px;
  background-color: #f1e6ca;
  border-radius: 4px;

  display: flex;
  flex-wrap: nowrap;

  overflow-x: scroll;
}
.gyModal .reward li {
  flex-shrink: 0;
  width: 84px;
  padding: 0 14px;

  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 3px;
}
.gyModal .reward li img {
  width: 32px;
  height: 32px;
}
.gyModal .reward li span {
  font-size: 14px;
  line-height: 16px;
  color: #412c18;
}
/* 分享弹窗 */
.shareModal .content {
  padding: 42px 25px 26px;
}
.shareModal .content p {
  font-size: 16px;
  color: #876c42;
  text-align: center;
}
.shareModal .content div {
  height: 64px;
  background-color: #f1e6ca;
  border-radius: 4px;

  font-size: 18px;
  color: #876c42;
  font-weight: bold;
  display: flex;
  justify-content: center;
  align-items: center;

  margin-top: 32px;

  word-break: break-all;
  padding: 0 16px;
}

.rewardRulesModal .content,
.lotteryRulesModal .content {
  padding-right: 15px;
}
.rewardRulesModal .rules-content,
.lotteryRulesModal .rules-content {
  font-size: 16px;
  color: #876c42;
  overflow-y: auto;

  height: 380px;

  padding: 0 15px 0 0;
}

.bag-modal .modal-container {
  width: 700px;
}
.bag-modal .modal-body {
  background-color: var(--bg-content);
  border-radius: 4px;
  overflow: hidden;
}
.bag-modal .tabs {
  display: flex;
  overflow-x: auto;

  background: #c1b38e;
}
.bag-modal .tabs li {
  cursor: pointer;
  user-select: none;

  width: 186px;
  height: 44px;

  display: flex;
  justify-content: center;
  align-items: center;
  color: #fffbed;
}
.bag-modal .tabs li.active {
  background-color: #fffbed;
  font-size: 18px;
  color: #876c42;
  font-weight: bold;
}
.bag-modal .tabs-content {
  padding: 10px 6px 10px 12px;
  height: 372px;
  box-sizing: border-box;
}
.bag-modal .tab-content {
  padding-right: 6px;
  height: 100%;
  overflow-y: auto;
}
.bag-modal .tab-content ul {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.bag-modal .tab-content li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 0 32px;

  height: 42px;
  background-color: #d7be8935;

  font-size: 16px;
  color: #6e6b65;
}
.bag-modal .tab-content li .text {
  flex: 1;
}
.bag-modal .tab-content li .btn {
  width: 260px;
  text-align: center;
  font-size: 16px;
  color: #9e3c28;
}
.bag-modal .tab-content li .btn.disabled {
  color: #938b8a;
  user-select: none;
}
.bag-modal .tab-content li .btn.underline {
  text-decoration: underline;
}
.bag-modal .no-data {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.bag-modal .no-data .no-data-img {
  background: url(https://img.fxegames.com/fxegames/sgmweb/dwgk/zwjp.png) no-repeat;
  width: 178px;
  height: 225px;
}
.bag-modal .no-data .no-data-text {
  font-size: 18px;
  line-height: 30px;
  color: #cab883;
  font-weight: bold;
}

/* 管理地址弹窗 */
.write-address-modal form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.write-address-modal .form-item {
  /* background-color: ; */
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.write-address-modal .form-item span {
  font-size: 16px;
  color: #876c42;
}
.write-address-modal .form-item input,
.write-address-modal .form-item textarea {
  background-color: #f1e6ca;
  border-radius: 4px;
  padding: 10px 20px;
  resize: none;
}

.lottery-tip-modal .modal-header .title {
  position: absolute;
  left: 50%;
  top: 10px;
  transform: translateX(-50%);
}
.lottery-tip-modal .modal-body .desc {
  text-align: center;
  color: #876c42;
  font-weight: bold;
  margin: 20px 0 14px;
}

.lottery-tip-modal .modal-body .content {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #876c42;
  gap: 16px;
}
.lottery-tip-modal .modal-body .content img {
  width: 60px;
  height: 60px;
  object-fit: contain;
}

.gy-tip-modal .modal-body h1 {
  color: #876c42;
}
.gy-tip-modal .modal-body p {
  color: #333333;
  line-height: 28px;
}
.loading-box {
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.6);

  display: flex;
  justify-content: center;
  align-items: center;

  user-select: none;

  position: fixed;
  left: 0;
  top: 0;

  z-index: 99999999;
}

.loading-box .loading {
  width: 30px;
  height: 30px;
  display: inline-block;
  border: 3px solid #ccc;
  border-radius: 50%;
  border-top: 3px solid #ecce78;
  animation: loadingAnimation 1s infinite linear;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
}
@keyframes loadingAnimation {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
