html, body { position: relative; margin: 0; background: #010b24; color: #fff; }
#app {
  font-family: PingFang SC, Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  font-size: .32rem;
  font-weight: 400;
  line-height: 1;
  margin: 0 auto;
  min-height: 100vh;
  color: #fff;
  width: 10rem;
  max-width: 100%;
  position: relative;
  box-sizing: border-box;
}
*, *::before, *::after { box-sizing: border-box; }
button, input, textarea { font-family: inherit; }
button { cursor: pointer; }
ul, ol { list-style: none; margin: 0; padding: 0; }

.app-head {
  position: absolute; top: 0; left: .10667rem; right: .10667rem; z-index: 9;
}
.app-head .head-content {
  display: flex; justify-content: space-between; align-items: center; padding: .4rem;
}
.app-head .logo {
  width: 3.01333rem; height: .82667rem;
  background: url(/assets/logo-name.png) center / contain no-repeat;
}
.head-right {
  display: flex; align-items: center;
}
.imgfont.language {
  display: flex; align-items: center; justify-content: center;
  width: .48rem; height: .48rem; margin-left: .42667rem;
  border: 0; border-radius: .10667rem; background: #000; padding: 0; flex-shrink: 0;
}
.imgfont.language svg { width: .48rem; height: .48rem; display: block; }
.wallet {
  display: inline-flex; align-items: center; justify-content: center;
  height: .85333rem; min-width: 2.93333rem; padding: 0 .28rem;
  border: 0; border-radius: .33333rem; color: #000; font-weight: 500; font-size: .32rem;
  background: linear-gradient(154.63deg, #e0be8e 5.14%, #d29a60 97.97%);
  box-shadow: 0 .05333rem .05333rem #00000005; white-space: nowrap; flex-shrink: 0;
}
.wallet span { white-space: nowrap; }

.lang-mask {
  position: fixed; inset: 0; z-index: 25; background: transparent;
}
.lang-panel {
  position: absolute; right: .26667rem; top: 1.06667rem; width: 3.72rem;
  background: #000; border-radius: .26667rem; padding: .13333rem; box-sizing: border-box;
  border: .01333rem solid rgba(171,179,202,.35);
}
.lang-panel .lang-item {
  display: flex; align-items: center; justify-content: space-between;
  height: .66667rem; line-height: .66667rem; margin: .33333rem 0; padding: 0 .2rem;
  color: #fff; font-size: .32rem; border: 0; background: transparent; width: 100%;
  box-sizing: border-box; border-radius: .26667rem; cursor: pointer; text-align: left;
}
.lang-panel .lang-item.on {
  background: #d29a60; color: #000;
}
.lang-panel .lang-item .dot {
  width: .28rem; height: .28rem; border-radius: 50%;
  border: .02667rem solid rgba(255,255,255,.55); flex-shrink: 0;
}
.lang-panel .lang-item.on .dot {
  background: #005aff; border-color: #005aff;
}

.page {
  padding: 0 .4rem .8rem;
  background: url(/assets/bg.png) no-repeat;
  background-size: contain;
  background-position: center 1.06667rem;
}
.banner { padding-top: 2.05333rem; text-align: center; }
.banner .total {
  display: inline-block; font-weight: 700; font-size: .8rem; text-transform: uppercase;
  background: linear-gradient(180deg, #e0be8e, #d29a60 115.34%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.banner .value {
  margin-top: .53333rem; font-weight: 700; font-size: .93333rem; text-transform: uppercase;
  background: linear-gradient(180deg, #e0be8e, #d29a60 89.83%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

.form {
  margin-top: 5.86667rem; padding: .16rem .4rem .69333rem;
  background: #04132a; border: .02667rem solid rgba(171,179,202,.5); border-radius: .34667rem;
}
.form .mark {
  margin: 0 auto; width: 4.93333rem; height: 3.92rem;
  background: url(/assets/logo-mark.png) center / contain no-repeat;
}
.form .cell { padding: .26667rem 0; display: flex; justify-content: space-between; align-items: center; }
.form .label { font-weight: 400; font-size: .4rem; }
.form .value { font-weight: 500; font-size: .42667rem; line-height: .6rem; color: #e0be8e; }
.field {
  width: 5.62667rem; display: flex; align-items: center;
  background: #0d0f1e; border: .01333rem solid rgba(120,88,210,.2); border-radius: .66667rem;
  padding: .16rem .28rem;
}
.field input {
  flex: 1; min-width: 0; background: transparent; border: 0; color: #fff; font-size: .36rem; outline: none;
}
.max { border: 0; background: transparent; color: #e0be8e; font-weight: 500; font-size: .4rem; padding: 0; }
.primary {
  width: 100%; height: 1.2rem; margin-top: .53333rem; border: 0; border-radius: .66667rem;
  font-size: .4rem; font-weight: 500; color: #010b24;
  background: linear-gradient(154.63deg, #e0be8e 5.14%, #d29a60 97.97%);
  box-shadow: 0 .05333rem .05333rem #00000005;
}
.primary:disabled { opacity: .55; }

.bloxk {
  margin-top: .32rem; padding: .44rem 0 .17333rem;
  background: #04132a; border: .02667rem solid rgba(171,179,202,.5); border-radius: .34667rem;
}
.carte {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: start;
  padding: 0 .08rem;
}
.carte .cell {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  min-width: 0; overflow: hidden;
}
.carte img { display: block; height: .84rem; width: auto; max-width: 90%; margin: 0 auto; }
.carte .label { margin-top: .13333rem; font-size: .26667rem; line-height: 1.2; white-space: nowrap; }
.carte .value { margin-top: .09333rem; font-weight: 700; font-size: .4rem; color: #e0be8e; }

.row2 { margin-top: .26667rem; }
.row2 .cell {
  padding: .42667rem .4rem; display: flex; justify-content: space-between; align-items: center;
  border-bottom: .01333rem solid #1a202c;
}
.row2 .cell:last-child { border: none; }
.row2 .label {
  font-weight: 400; font-size: .4rem; display: flex; justify-content: space-between;
  align-items: center; flex: 1; min-width: 0; gap: .2rem;
}
.row2 .label > span:first-child { display: block; margin-right: .32rem; color: #ffffff80; white-space: nowrap; }
.row2 .value { white-space: nowrap; font-weight: 500; font-size: .4rem; }
.ellipsis { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 3.2rem; font-size: .32rem; color: #fff; }
.copy { border: 0; background: transparent; padding: 0 0 0 .4rem; display: flex; flex-shrink: 0; }
.copy svg { width: .4rem; height: .4rem; }

.list { padding: 0 .4rem; }
.list ul { font-size: .32rem; overflow: hidden; border-radius: .46667rem; }
.list .th, .rule .list .th {
  height: .8rem; background: #e0be8e; color: #000;
  display: flex; align-items: center; justify-content: space-between;
}
.list .th span, .list li span, .rule .th span, .rule li span {
  flex: 1; text-align: center; font-weight: 400; font-size: .32rem;
}
.list .th span:first-child, .list li span:first-child { width: 40%; flex: 40% 0 0; }
.list li {
  display: flex; align-items: center; justify-content: space-between;
  padding: .32rem 0; background: #020d23; border-bottom: .01333rem solid #1a202c;
}
.list li:last-child { border: none; }
.pagination { display: flex; justify-content: center; align-items: center; gap: .27rem; padding: .4rem 0 .2rem; }
.pagination button {
  width: .8rem; height: .8rem; border-radius: 50%; border: 0; background: #e0be8e; color: #000; font-size: .4rem;
}
.pagination button:disabled { opacity: .35; }
.pagination span { font-size: .32rem; color: #fff; }

.rule {
  margin-top: .32rem; padding: .44rem .4rem;
  background: #04132a; border: .02667rem solid rgba(171,179,202,.5); border-radius: .34667rem;
}
.rule .title { font-weight: 500; font-size: .37333rem; line-height: .4rem; color: #e0be8e; }
.rule .txt { margin-top: .18667rem; font-size: .30667rem; line-height: .61333rem; }
.rule .txt div { display: flex; align-items: baseline; }
.rule .txt span.n {
  flex: .4rem 0 0; margin-right: .04rem; display: flex; align-items: center; justify-content: center;
  width: .4rem; height: .4rem; color: #000; background: #e0be8e; border-radius: .66667rem; font-size: .28rem;
}
.rule .list { margin-top: .21333rem; border-radius: .46667rem; overflow: hidden; background: #020d23; padding: 0; }
.rule li { display: flex; align-items: center; padding: .32rem 0; border-bottom: .01333rem solid #1a202c; }
.rule li:last-child { border: none; }

.mask {
  position: fixed; inset: 0; background: rgba(0,0,0,.55);
  display: flex; align-items: center; justify-content: center; z-index: 20;
}
.hidden { display: none !important; }
.referrer-box {
  position: relative; width: 8rem; padding: .46667rem;
  background: radial-gradient(140.58% 34.4% at 50% 114.07%, #7858d233, #7858d200), #000;
  border: .01333rem solid rgba(171,179,202,.5); border-radius: .21333rem;
}
.referrer-box .title { padding-top: .4rem; text-align: center; font-size: .42667rem; font-weight: 500; }
.referrer-box textarea {
  width: 100%; margin-top: .26667rem; background: #000; color: #fff;
  border: .01333rem solid rgba(171,179,202,.4); border-radius: .16rem;
  text-align: center; padding: .2rem; font-size: .32rem; resize: none;
}
.referrer-box .x {
  position: absolute; right: .53333rem; top: .4rem; border: 0; background: transparent; color: #fff; font-size: .42667rem;
}
.referrer-box .primary { margin-top: .4rem; }
.bind { color: #e0be8e; cursor: pointer; }
#inviterRow .value.bind { padding: .08rem .12rem; }
#inviterRow .value[data-bound="1"] { cursor: default; color: #fff; }
.toast {
  position: fixed; left: 50%; top: 40%; transform: translateX(-50%);
  background: rgba(0,0,0,.82); color: #fff; padding: .28rem .4rem; border-radius: .16rem;
  z-index: 30; max-width: 80%; text-align: center; font-size: .34rem; white-space: pre-line;
}
