:root {
  --page-width: 7.5rem;
  --gold-1: #f5dca6;
  --gold-2: #d2a35b;
  --gold-3: #85531e;
  --brown-1: #2f160b;
  --brown-2: #1d0c05;
  --cream-1: #f6f0de;
  --cream-2: #efe8d1;
  --text-main: #fff0ce;
  --text-sub: rgba(255, 240, 206, 0.76);
}
button {
  border: none;
  outline: none;
  background: none;
  padding: 0;
}
button:active {
  transform: scale(0.95);
}
button:disabled:active {
  transform: scale(1);
}
.is-hidden {
  display: none !important;
}
.is-visually-hidden {
  position: absolute !important;
  width: 0.01rem;
  height: 0.01rem;
  padding: 0;
  margin: -0.01rem;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.activity-page {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--page-width);
  margin: 0 auto;
  padding-bottom: 2rem;
  background: url("../images/figma-export/bg.png") 0 4.54rem / 7.5rem 55.46rem no-repeat;
}
.hero {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  width: 7.5rem;
  height: 1.4rem;
  background-color: rgba(0, 0, 0, 0.5);
}
.hero .hero__logo {
  position: absolute;
  top: 0.06rem;
  left: 0;
  width: 3.08rem;
  height: auto;
}
.hero .hero__login {
  position: absolute;
  top: 0.4rem;
  right: 0.22rem;
  width: 2.82rem;
  height: 0.76rem;
  background: url("../images/figma-export/btn-login.png") 0 0 / 100% 100% no-repeat;
}
.hero #jsLoginStatus {
  display: none;
  position: absolute;
  right: 0.1rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.3rem;
  color: #fff;
}
.hero #jsLoginStatus i {
  background-position: 0 0;
  background-size: 100% 100%;
  background-repeat: no-repeat;
  display: inline-block;
  margin-left: 0.1rem;
}
.hero #jsLoginStatus i.icon-exchange {
  width: 0.27rem;
  height: 0.25rem;
  background-image: url("../images/figma-export/icon-exchange.png");
}
.page-status {
  position: fixed;
  top: 1.4rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  width: 7.5rem;
  height: 0.72rem;
  background: url(../images/figma-export/status_bg.png) 0 0 / 100% 100% no-repeat;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 0.22rem;
  font-size: 0.3rem;
  color: #fff;
}
.page-status #jsLoginStatus,
.page-status #jsRoleInfo {
  cursor: pointer;
}
.page-status i {
  background-position: 0 0;
  background-size: 100% 100%;
  background-repeat: no-repeat;
  display: inline-block;
  margin-left: 0.1rem;
}
.page-status i.icon-exchange {
  width: 0.27rem;
  height: 0.25rem;
  background-image: url("../images/figma-export/icon-exchange.png");
}
.page-status i.icon-arrow-right {
  width: 0.1rem;
  height: 0.18rem;
  background-image: url("../images/figma-export/icon-arrow-right.png");
}
.banner {
  position: relative;
  z-index: -1;
}
.banner img {
  display: block;
  width: 100%;
  height: auto;
}
.banner .qx1 {
  position: absolute;
  top: 11.54rem;
  left: 0;
  width: 7.5rem;
  height: 1rem;
}
.banner .qx2 {
  position: absolute;
  top: 11.74rem;
  left: 0;
  width: 7.5rem;
  height: 0.94rem;
}
.content {
  margin-top: -0.9rem;
}
.section {
  margin-top: 0.22rem;
}
.section-title {
  width: 100%;
  height: auto;
  margin-bottom: 0.48rem;
}
.section-chip {
  width: 3.82rem;
  height: 0.88rem;
  line-height: 0.88rem;
  text-align: center;
  background: url(../images/figma-export/ftit_bg.png) 0 0 / 100% 100% no-repeat;
  margin: 0 auto 0.24rem;
  font-size: 0.4rem;
  font-weight: 700;
  color: #dfd5c1;
}
.section-chip span {
  display: inline-block;
  color: inherit;
}
@supports (-webkit-background-clip: text) {
  .section-chip span {
    background-image: linear-gradient(to bottom, #dfd5c1, #e4c698);
    background-size: 100% 100%;
    background-repeat: no-repeat;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
  }
}
.signin-card {
  width: 7.12rem;
  height: 6.38rem;
  background: url(../images/figma-export/s1-box.png) 0 0 / 100% 100% no-repeat;
  margin: 0 auto 0.6rem;
  padding-top: 0.54rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.signin-card .signin-card__gift {
  width: 4.2rem;
  height: 4.06rem;
  background: url(../images/figma-export/s1-box-1.png) 0 0 / 100% 100% no-repeat;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 0.5rem;
  margin-bottom: 0.24rem;
}
.signin-card .signin-card__gift .signin-card__icon {
  width: 2.16rem;
  height: 2.32rem;
  margin-bottom: 0.15rem;
}
.signin-card .signin-card__gift .signin-card__name {
  font-size: 0.32rem;
  color: #FFFCF4;
}
.signin-card .btn-signin {
  width: 3.91rem;
  height: 0.97rem;
  background: url(../images/figma-export/btn-get.png) 0 0 / 100% 100% no-repeat;
  margin: 0 auto;
  position: relative;
}
.signin-card .btn-signin::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 1.51rem;
  height: 0.56rem;
  background: url(../images/figma-export/qd.png) center 0 / 1.04rem 100% no-repeat;
}
.signin-card .btn-signin:disabled {
  opacity: 0.8;
  -webkit-filter: grayscale(100%);
  -moz-filter: grayscale(100%);
  -ms-filter: grayscale(100%);
  -o-filter: grayscale(100%);
  filter: grayscale(100%);
  filter: gray;
}
.signin-card .btn-signin:disabled::after {
  background: url(../images/figma-export/yqd.png) center 0 / 100% 100% no-repeat;
}
.milestone-note {
  color: #FFFCF4;
  font-size: 0.28rem;
  text-align: center;
  margin-bottom: 0.4rem;
}
.milestone-grid {
  position: relative;
  width: 7.2rem;
  margin: 0 auto 0.78rem;
}
.milestone-grid .progress {
  position: absolute;
  top: 0.64rem;
  left: 0;
  width: 100%;
  height: 2px;
  background: #58524B;
}
.milestone-grid .progress .progress-bar {
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: #FBF6B7;
  transition: width 0.45s ease;
}
.milestone-grid .lj-ul {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
}
.milestone-grid .lj-ul .lj-li {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.milestone-grid .lj-ul .lj-li.is-unlocking .lj-box {
  animation: ljBoxPop 0.45s ease both;
}
.milestone-grid .lj-ul .lj-li.is-unlocking .icon-star {
  animation: ljStarPop 0.45s ease both;
}
.milestone-grid .lj-ul .lj-li .words {
  color: #FFFFB7;
  font-size: 0.3rem;
}
.milestone-grid .lj-ul .lj-li .icon-star {
  width: 0.31rem;
  height: 0.31rem;
  background-position: 0 0;
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-image: url("../images/figma-export/icon-reached.png");
  margin: 0.05rem 0 0.2rem;
}
.milestone-grid .lj-ul .lj-li .lj-box {
  width: 2.33rem;
  height: 3.41rem;
  background-position: 0 0;
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-image: url("../images/figma-export/s1-box2.png");
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 0.66rem;
}
.milestone-grid .lj-ul .lj-li .lj-box .gift-icon {
  width: 1.28rem;
  height: auto;
}
.milestone-grid .lj-ul .lj-li .lj-box .gift-name {
  position: absolute;
  bottom: 0.84rem;
  color: #FDF9B7;
  text-align: center;
  font-size: 0.24rem;
}
.milestone-grid .lj-ul .lj-li .lj-box .btn-get {
  position: absolute;
  bottom: 0.24rem;
  width: 2.1rem;
  height: 0.52rem;
  background-position: 0 0;
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-image: url("../images/figma-export/btn-get.png");
  padding-top: 0.05rem;
}
.milestone-grid .lj-ul .lj-li .lj-box .btn-get:disabled {
  opacity: 0.8;
  -webkit-filter: grayscale(100%);
  -moz-filter: grayscale(100%);
  -ms-filter: grayscale(100%);
  -o-filter: grayscale(100%);
  filter: grayscale(100%);
  filter: gray;
}
.milestone-grid .lj-ul .lj-li .lj-box .btn-get img {
  height: 0.44rem;
  width: auto;
}
.milestone-grid .lj-ul .lj-li.unreach .words {
  color: #827977;
}
.milestone-grid .lj-ul .lj-li.unreach .icon-star {
  background-image: url("../images/figma-export/icon-unreach.png");
}
.milestone-grid .lj-ul .lj-li.unreach .lj-box {
  opacity: 0.54;
  -webkit-filter: grayscale(100%);
  -moz-filter: grayscale(100%);
  -ms-filter: grayscale(100%);
  -o-filter: grayscale(100%);
  filter: grayscale(100%);
  filter: gray;
}
@keyframes ljBoxPop {
  0% {
    transform: translateY(0.08rem) scale(0.98);
  }
  60% {
    transform: translateY(-0.04rem) scale(1.02);
  }
  100% {
    transform: translateY(0) scale(1);
  }
}
@keyframes ljStarPop {
  0% {
    transform: scale(0.8);
  }
  60% {
    transform: scale(1.15);
  }
  100% {
    transform: scale(1);
  }
}
.milestone-reward {
  padding: 0.12rem 0.08rem 0.14rem;
  border: 0.01rem solid rgba(200, 153, 90, 0.46);
  border-radius: 0.12rem;
  background: linear-gradient(180deg, rgba(89, 51, 25, 0.9) 0%, rgba(29, 12, 5, 0.96) 100%);
  text-align: center;
}
.section--lottery .lottery-board {
  position: relative;
  width: 7.08rem;
  height: 7.08rem;
  margin: 0 auto;
}
.section--lottery .lottery-board .lottery-box {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.section--lottery .lottery-board .lottery-box li {
  position: absolute;
  width: 2.16rem;
  height: 2.17rem;
  background: url("../images/figma-export/lottery-box_bg.png") 0 0 / 100% 100% no-repeat;
  display: flex;
  z-index: 0;
  flex-direction: column;
  align-items: center;
  padding-top: 0.3rem;
}
.section--lottery .lottery-board .lottery-box li.active {
  background: none;
}
.section--lottery .lottery-board .lottery-box li.active::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: url("../images/figma-export/lottery-box_bg-active.png") 0 0 / 100% 100% no-repeat;
  filter: drop-shadow(0 0 0.08rem rgba(255, 241, 166, 0.95)) drop-shadow(0 0 0.18rem rgba(255, 200, 84, 0.78)) drop-shadow(0 0 0.3rem rgba(255, 167, 43, 0.52));
  pointer-events: none;
}
.section--lottery .lottery-board .lottery-box li .lottery-item-img {
  height: 1.22rem;
  width: auto;
}
.section--lottery .lottery-board .lottery-box li p {
  font-size: 0.24rem;
  color: #fff;
  margin-top: 0.1rem;
}
.section--lottery .lottery-board .lottery-box li:nth-child(1) {
  top: 0;
  left: 0;
}
.section--lottery .lottery-board .lottery-box li:nth-child(2) {
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}
.section--lottery .lottery-board .lottery-box li:nth-child(3) {
  top: 0;
  right: 0;
}
.section--lottery .lottery-board .lottery-box li:nth-child(4) {
  top: 50%;
  right: 0;
  transform: translateY(-50%);
}
.section--lottery .lottery-board .lottery-box li:nth-child(5) {
  right: 0;
  bottom: 0;
}
.section--lottery .lottery-board .lottery-box li:nth-child(6) {
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}
.section--lottery .lottery-board .lottery-box li:nth-child(7) {
  bottom: 0;
  left: 0;
}
.section--lottery .lottery-board .lottery-box li:nth-child(8) {
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}
.section--lottery .lottery-board .btn-lottery {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 2.16rem;
  height: 2.17rem;
  background: url("../images/figma-export/btn-lottery_bg.png") 0 0 / 100% 100% no-repeat;
}
.section--lottery .lottery-board .btn-lottery:active {
  transform: translate(-50%, -50%) scale(0.95);
}
.section--lottery .lottery-board .btn-lottery:disabled,
.section--lottery .lottery-board .btn-lottery.is-disabled {
  cursor: not-allowed;
  filter: grayscale(100%);
  filter: gray;
  opacity: 0.54;
}
.section--lottery .lottery-board .btn-lottery:disabled:active,
.section--lottery .lottery-board .btn-lottery.is-disabled:active {
  transform: translate(-50%, -50%) scale(1);
}
.section--lottery .lottery-board .btn-lottery img {
  position: absolute;
  top: 0.3rem;
  left: 50%;
  transform: translateX(-50%);
  height: 1.27rem;
  width: auto;
}
.section--lottery .lottery-board .btn-lottery p {
  position: absolute;
  bottom: 0.1rem;
  left: 0;
  width: 100%;
  text-align: center;
  font-size: 0.28rem;
}
.section--lottery .lottery-prob {
  margin-top: 0.36rem;
  margin-bottom: 0.8rem;
  display: flex;
  justify-content: center;
  gap: 0.42rem;
}
.section--lottery .lottery-prob button {
  color: #fff;
  font-size: 0.28rem;
}
.section--lottery .lottery-prob button:active {
  transform: scale(1);
}
.section--lottery .lottery-prob button:hover {
  color: #fff4de;
  text-decoration: underline;
}
.section--tasks .task-refresh {
  display: flex;
  justify-content: flex-end;
  padding: 0 0.3rem;
}
.section--tasks .task-refresh .btn-refresh-task {
  color: #fff;
  display: flex;
  align-items: center;
  font-size: 0.24rem;
}
.section--tasks .task-refresh .btn-refresh-task i {
  width: 0.32rem;
  height: 0.28rem;
  background: url("../images/figma-export/icon-refresh.png") 0 0 / 100% 100% no-repeat;
  margin-right: 0.1rem;
}
.section--tasks .task-refresh .btn-refresh-task:hover {
  color: #fff4de;
}
.section--tasks .task-list {
  display: flex;
  flex-direction: column;
  width: 7.12rem;
  min-height: 11.4rem;
  margin: 0.2rem auto 0.6rem;
  background: url("../images/figma-export/s3-box_2.png") 0 0.795rem / 100% calc(100% - 1.295rem) no-repeat;
  padding: 0.7rem 0.32rem 0;
  position: relative;
}
.section--tasks .task-list::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0.8rem;
  background: url("../images/figma-export/s3-box_1.png") 0 0 / 100% 100% no-repeat;
}
.section--tasks .task-list::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0.5rem;
  background: url("../images/figma-export/s3-box_3.png") 0 0 / 100% 100% no-repeat;
}
.section--tasks .task-list .task-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: rgba(38, 30, 26, 0.6);
  border-radius: 0.2rem;
  padding: 0.24rem 0.2rem;
  margin-bottom: 0.4rem;
}
.section--tasks .task-list .task-item .task-item-left {
  flex: 1;
  word-break: break-all;
}
.section--tasks .task-list .task-item .task-item-left p:nth-child(1) {
  font-size: 0.28rem;
  color: #E3D6A3;
  font-weight: 700;
  margin-bottom: 0.1rem;
}
.section--tasks .task-list .task-item .task-item-left p:nth-child(2) {
  font-size: 0.24rem;
  color: #8B7E4D;
}
.section--tasks .task-list .task-item .task-item-right {
  margin-left: 0.2rem;
  width: 1.24rem;
  text-align: end;
  font-size: 0.32rem;
  font-weight: 700;
  color: #E3D6A3;
}
.section--tasks .task-list .task-item .task-item-right button {
  width: 1.24rem;
  height: 0.52rem;
  border-radius: 1rem;
  background-color: #E3D6A3;
  font-size: 0.3rem;
  color: #332821;
}
.section--tasks .task-list .task-item .task-item-right button:disabled {
  cursor: not-allowed;
  background-color: #888781;
  color: #BDB9B6;
}
.section--tasks .task-list .task-item:last-child {
  border-bottom: none;
}
.section--rules {
  width: 6.8rem;
  margin: 0 auto;
  color: #E3D6A3;
}
.section--rules h2 {
  font-size: 0.32rem;
  font-weight: 700;
  margin-bottom: 0.1rem;
}
.section--rules .rule-list li {
  font-size: 0.28rem;
}
.probability-modal,
.mywin-modal {
  padding-bottom: 0.4rem;
}
.probability-modal table,
.mywin-modal table {
  width: 6.76rem;
  margin: 0 auto;
}
.probability-modal table tr,
.mywin-modal table tr {
  width: 100%;
  display: flex;
  align-items: center;
  padding: 0.1rem 0;
  margin-bottom: 0.2rem;
}
.probability-modal table tr.table-header,
.mywin-modal table tr.table-header {
  background-color: rgba(217, 217, 217, 0.32);
  border-radius: 0.1rem;
}
.probability-modal table tr:last-child,
.mywin-modal table tr:last-child {
  margin-bottom: 0;
}
.probability-modal table tr th,
.mywin-modal table tr th {
  color: #000;
}
.probability-modal table tr th,
.mywin-modal table tr th,
.probability-modal table tr td,
.mywin-modal table tr td {
  flex: 1;
  font-size: 0.28rem;
  color: #000;
  text-align: center;
  font-weight: 400;
}
.probability-modal table tr td:not(:first-child),
.mywin-modal table tr td:not(:first-child) {
  color: #666;
}
.mywin-modal table thead,
.mywin-modal table tbody {
  display: block;
  width: 6.76rem;
  margin: 0 auto;
}
.mywin-modal table thead {
  margin-bottom: 0.2rem;
}
.mywin-modal table thead tr {
  margin-bottom: 0;
}
.mywin-modal table tr td:last-child {
  font-size: 0.24rem;
}
.mywin-modal table tbody {
  min-height: 4rem;
  max-height: 6rem;
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 0.08rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(139, 92, 28, 0.5) rgba(217, 217, 217, 0.18);
}
.mywin-modal table tbody::-webkit-scrollbar {
  width: 0.08rem;
}
.mywin-modal table tbody::-webkit-scrollbar-track {
  background: rgba(217, 217, 217, 0.18);
  border-radius: 0.08rem;
}
.mywin-modal table tbody::-webkit-scrollbar-thumb {
  background: rgba(139, 92, 28, 0.5);
  border-radius: 0.08rem;
}
.mywin-modal table tbody::-webkit-scrollbar-thumb:hover {
  background: rgba(139, 92, 28, 0.7);
}
.mywin-modal table tbody tr:last-child {
  margin-bottom: 0;
}
.win-modal {
  width: 6.54rem;
  height: 7.56rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.win-modal .win-modal-gift {
  width: 3.26rem;
  height: 3.16rem;
  background: url("../images/figma-export/s1-box-1.png") 0 0 / 100% 100% no-repeat;
  display: flex;
  justify-content: center;
  padding-top: 0.25rem;
  padding-left: 0.6rem;
}
.win-modal .win-modal-gift img {
  width: 2.08rem;
  height: 2.26rem;
}
.win-modal .win-modal-giftname {
  font-size: 0.32rem;
  color: #000;
}
.win-modal .win-btn-accept {
  width: 5.56rem;
  height: 0.88rem;
  border-radius: 0.2rem;
  background: linear-gradient(to bottom, #FCCF00, #F0CD2B);
  font-size: 0.32rem;
  color: #000;
  margin: 0.6rem auto 0.2rem;
}
.win-modal .tips {
  font-size: 0.28rem;
  color: #666;
}
