:root {
  --blue: #2d8cf0;
  --green: #09c76f;
  --red: #ef3f45;
  --text: #050505;
  --muted: #9a9a9a;
  --line: #eeeeee;
  --soft: #f4f4f4;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  color: var(--text);
}

* { box-sizing: border-box; }
html, body, #app { min-height: 100%; }
body { margin: 0; background: #f4f4f4; overflow-x: hidden; }
button, input, select { font: inherit; }
button { border: 0; background: transparent; cursor: pointer; color: inherit; -webkit-tap-highlight-color: transparent; }
input, select { border: 0; outline: 0; background: transparent; }

.mobile-app {
  width: 100%;
  max-width: 430px;
  min-height: 100svh;
  margin: 0 auto;
  background: #fff;
  overflow: hidden;
  position: relative;
}

.page {
  min-height: 100svh;
  padding: 0 10px 78px;
  background: #fff;
}

.brand-header {
  height: 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 16px 0 11px;
}
.brand-logo {
  width: 137px;
  height: 35px;
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}
.brand-logo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}
.wallet-connect {
  width: 88px;
  height: 30px;
  padding: 0 8px;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: #fff;
  background: linear-gradient(145deg, #4e80f6 22%, #346df4 75%);
}
.wallet-connect.connected {
  width: 92px;
  border: 1px solid #4277f5;
  color: #4277f5;
  background: #fff;
}
.wallet-connect img {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  object-fit: contain;
}
.wallet-connect span {
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: clamp(10px, 3.2vw, 12px);
  line-height: 1;
}
.mail-button {
  grid-column: 3;
  justify-self: end;
  width: 34px;
  height: 34px;
  position: relative;
}
.mail-button::before {
  content: "";
  position: absolute;
  inset: 8px 5px 7px;
  border: 2px solid #666;
  border-radius: 3px;
}
.mail-button::after {
  content: "";
  position: absolute;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #f33434;
  top: 4px;
  right: 2px;
}
.mail-button span {
  position: absolute;
  left: 8px;
  right: 8px;
  top: 14px;
  border-top: 2px solid #666;
  transform: rotate(24deg);
}

.hero-banner {
  width: calc(100% - 25px);
  height: 140px;
  margin: 10px auto 0;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  background: #101113;
}
.hero-banner img {
  width: 100%;
  height: 100%;
  object-fit: fill;
  display: block;
}
.dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 9px;
  display: flex;
  justify-content: center;
  gap: 5px;
}
.dots b,
.dots i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,.58);
}
.dots b { width: 16px; border-radius: 6px; background: #fff; }

.notice-row {
  width: 100%;
  height: 42px;
  display: grid;
  grid-template-columns: 24px 1fr 16px;
  align-items: center;
  gap: 6px;
  padding: 0 2px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}
.notice-row p {
  margin: 0;
  color: #777;
  font-size: 13px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.speaker { color: var(--blue); font-size: 16px; }
.notice-row i { color: #999; font-size: 20px; font-style: normal; }

.home-actions {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  column-gap: 10px;
  padding: 24px 20px 26px;
}
.home-actions button {
  min-width: 0;
  display: grid;
  justify-items: center;
  gap: 10px;
  color: #000;
}
.home-action-icon {
  width: 46px;
  height: 46px;
  border-radius: 5px;
  display: grid;
  place-items: center;
  background: #fff;
  box-shadow: 0 0 4px rgba(0,0,0,.25);
}
.home-action-icon img {
  width: 30px;
  height: 30px;
  object-fit: contain;
  image-rendering: auto;
}
.home-action-deposit img {
  width: 31.36px;
  height: 23.18px;
}
.home-action-language img {
  width: 31px;
  height: 31px;
}
.home-actions button b {
  max-width: 64px;
  min-height: 15px;
  overflow-wrap: anywhere;
  text-align: center;
  font-size: clamp(10px, 3.2vw, 12px);
  font-weight: 400;
  line-height: 1.18;
}

.market-tabs {
  height: 58px;
  display: flex;
  gap: 34px;
  align-items: center;
  background: #eee;
  margin: 0 -10px;
  padding: 0 22px;
}
.market-tabs button {
  height: 58px;
  color: #858894;
  font-size: 17px;
  font-weight: 700;
}
.market-tabs .active { color: #000; }

.market-section {
  margin: 0 -10px;
  padding: 0 20px;
  background: #fff;
}
.home-market {
  border-top: 8px solid #f5f5f5;
  padding-top: 7px;
}
.market-list {
  min-height: calc(100svh - 126px);
  padding-top: 12px;
}
.section-title,
.market-row {
  display: grid;
  grid-template-columns: 1fr 108px 86px;
  align-items: center;
  gap: 8px;
}
.section-title {
  height: 34px;
  color: #999;
  font-size: 13px;
}
.section-title h2 {
  margin: 0;
  color: #777;
  font-size: 13px;
  font-weight: 500;
}
.section-title span { text-align: right; }
.search-pill {
  height: 40px;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 2px 0 8px;
  padding: 0 14px;
  border-radius: 8px;
  background: #f5f5f5;
  color: #999;
}
.search-pill input {
  width: 100%;
  color: #999;
  font-size: 14px;
}
.search-pill input::placeholder {
  color: #aaa;
  opacity: 1;
}
.market-row {
  width: 100%;
  min-height: 64px;
  padding: 8px 0;
  border-bottom: 1px solid #f2f2f2;
  text-align: left;
}
.coin-name,
.holding-list .holding-row > div,
.quote-detail-head {
  display: flex;
  align-items: center;
  min-width: 0;
}
.coin-name p,
.holding-list p {
  margin: 0;
  min-width: 0;
}
.coin-name b {
  display: block;
  font-size: 17px;
  font-weight: 800;
}
.coin-name small {
  display: block;
  margin-top: 3px;
  color: #aaa;
  font-size: 12px;
}
.market-row strong {
  font-size: 16px;
  text-align: right;
  font-weight: 700;
}
.market-row em {
  justify-self: end;
  width: 82px;
  height: 30px;
  border-radius: 3px;
  color: #fff;
  display: grid;
  place-items: center;
  font-style: normal;
  font-size: 13px;
}
.coin-icon,
.coin-fallback {
  width: 30px;
  height: 30px;
  margin-right: 9px;
  border-radius: 50%;
  flex: 0 0 auto;
}
.coin-icon { object-fit: cover; }
.coin-fallback {
  display: inline-grid;
  place-items: center;
  color: white;
  background: linear-gradient(135deg, #2d8cf0, #65b5ff);
  font-size: 15px;
  font-weight: 800;
}
.up { color: var(--green) !important; }
.down { color: var(--red) !important; }
.up-bg { background: var(--green); }
.down-bg { background: var(--red); }

.trade {
  max-width: 430px;
  overflow: visible;
  background: #fff;
}
.trade .page {
  padding-left: 0;
  padding-right: 0;
  overflow: visible;
  background: #fff;
}
.trade-info {
  padding: 12px 10px 10px;
  border-bottom: 1px solid #f0f0f0;
  display: grid;
  grid-template-columns: 172px 1fr;
  column-gap: 8px;
  background: #fff;
  color: #111;
}
.trade-symbol {
  display: flex;
  align-items: center;
  min-width: 0;
  font-size: 21px;
  font-weight: 800;
  min-height: 38px;
  padding-right: 4px;
  border-radius: 5px;
}
.trade-symbol .coin-icon,
.trade-symbol .coin-fallback {
  width: 30px;
  height: 30px;
}
.trade-symbol span {
  flex: 0 0 auto;
  overflow: visible;
  white-space: nowrap;
}
.trade-symbol i {
  width: 0;
  height: 0;
  margin-left: 7px;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 8px solid #7a7d88;
  font-size: 0;
  line-height: 0;
}
.trade .up { color: var(--green) !important; }
.trade .down { color: var(--red) !important; }
.trade-price strong {
  display: block;
  font-size: 25px;
  line-height: 1;
  text-align: right;
}
.trade-price span {
  display: block;
  margin-top: 4px;
  font-size: 14px;
  text-align: right;
}
.trade-stats {
  grid-column: 1 / -1;
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px 18px;
}
.trade-stats p {
  margin: 0;
  display: flex;
  justify-content: space-between;
  color: #777;
  font-size: 12px;
}
.trade-stats b {
  color: #333;
  font-weight: 500;
}
.range-chart-wrap {
  position: relative;
  height: calc(100svh - 430px);
  min-height: 240px;
  background: #fff;
  border-bottom: 0;
}
.range-chart-wrap canvas {
  width: 100%;
  height: 100%;
  display: block;
}
.chart-meta {
  position: absolute;
  left: 8px;
  top: 6px;
  z-index: 1;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  color: #666;
  font-size: 12px;
}
.chart-meta b { font-weight: 500; }
.trade-ticket {
  position: relative;
  z-index: 1;
  width: 100%;
  margin-top: 30px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 0 10px;
}
.ticket-row {
  height: 62px;
  border-radius: 8px;
  border: 1px solid #d9d9d9;
  display: grid;
  grid-template-columns: 40px 1fr 40px;
  align-items: center;
  background: #fff;
  color: #333;
}
.ticket-row button {
  color: #777;
  font-size: 26px;
}
.ticket-row > i {
  color: #777;
  font-size: 26px;
  font-style: normal;
  text-align: center;
}
.ticket-row p {
  margin: 0;
  text-align: center;
  line-height: 1.05;
}
.ticket-row b {
  display: block;
  font-size: 20px;
  font-weight: 500;
}
.ticket-row span {
  color: #999;
  font-size: 13px;
}
.amount-row {
  position: relative;
}
.amount-row label {
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 0;
  font-size: 20px;
  font-weight: 500;
}
.amount-row label span {
  color: #333;
  font-size: 20px;
}
.amount-row input {
  width: 66px;
  color: #333;
  text-align: center;
  font-size: 20px;
  font-weight: 500;
}
.amount-row small {
  position: absolute;
  left: 40px;
  right: 40px;
  bottom: 3px;
  color: #999;
  text-align: center;
  font-size: 11px;
}
.duration-row {
  grid-template-columns: 40px 1fr 40px;
}
.trade-actions {
  position: relative;
  z-index: 1;
  width: 100%;
  margin-top: 12px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 0 10px;
}
.trade-actions button {
  height: 58px;
  color: white;
  display: grid;
  place-items: center;
  line-height: 1.05;
  font-size: 14px;
}
.trade-actions b { font-size: 16px; }
.trade-actions span { opacity: .9; }
.trade-actions .sell { border-radius: 8px 0 0 8px; background: var(--red); }
.trade-actions .buy { border-radius: 0 8px 8px 0; background: #17bf7d; border-left: 1px solid rgba(255,255,255,.3); }

.trade-panel {
  width: 100%;
  margin-top: 24px;
  padding: 0 20px 20px;
  background: #fff;
}
.trade-panel-tabs {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 24px;
}
.trade-panel-tabs button {
  color: #868686;
  font-size: 16px;
  font-weight: 500;
}
.trade-panel-tabs .active {
  color: #000;
}
.trade-card-list {
  margin-top: 14px;
  display: grid;
  gap: 10px;
}
.trade-position-card {
  width: 100%;
  min-height: 160px;
  margin: 0;
  padding: 12px clamp(12px, 3vw, 22px) 14px;
  border: 1px solid #d8d8d8;
  border-radius: 5px;
  background: #fff;
}
.position-title {
  display: flex;
  align-items: center;
  gap: 9px;
  height: 20px;
}
.position-title img {
  width: 16px;
  height: 16px;
}
.position-title b {
  min-width: 0;
  font-size: 14px;
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.position-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(96px, .8fr);
  gap: 16px clamp(20px, 10vw, 78px);
  padding: 14px clamp(16px, 6vw, 48px) 0;
}
.position-grid p {
  min-width: 0;
  margin: 0;
}
.position-grid strong {
  display: block;
  min-height: 18px;
  color: #000;
  font-size: 14px;
  font-weight: 400;
  overflow-wrap: anywhere;
}
.position-grid .profit-up {
  color: #17b772;
}
.position-grid span {
  display: block;
  margin-top: 6px;
  color: #8a8a8a;
  font-size: 12px;
  overflow-wrap: anywhere;
}
.trade-empty {
  display: grid;
  justify-items: center;
  padding-top: 30px;
  color: #868686;
}
.trade-empty img {
  width: 86px;
  height: 86px;
}
.trade-empty p {
  margin: 0;
  font-size: 14px;
}

.asset-title,
.me-title {
  height: 48px;
  display: grid;
  place-items: center;
  font-size: 18px;
  font-weight: 500;
}
.asset-card {
  width: 350px;
  max-width: calc(100vw - 25px);
  height: 120px;
  margin: 10px auto 0;
  border-radius: 6px;
  overflow: hidden;
  color: #fff;
  padding: 16px 25px;
  background: linear-gradient(156deg, #4f93f3 4.47%, #2c80f2 97.56%);
}
.asset-card span {
  display: block;
  font-size: 14px;
  font-weight: 500;
}
.asset-card strong {
  display: block;
  margin-top: 10px;
  font-size: 20px;
  font-weight: 600;
}
.asset-card p {
  margin: 14px 0 0;
  text-align: left;
  font-size: 14px;
  line-height: 1;
}
.asset-card p br { display: none; }
.asset-card p b {
  margin-left: 16px;
  color: #21ff08;
  font-weight: 400;
}
.asset-actions {
  width: min(335px, calc(100% - 40px));
  margin: 32px auto 0;
  padding-bottom: 30px;
  display: grid;
  grid-template-columns: repeat(3, 82px);
  justify-content: space-between;
  gap: 34px;
}
.asset-actions button {
  width: 82px;
  min-height: 90px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: transparent;
  box-shadow: none;
  font-size: 12px;
  font-weight: 400;
}
.asset-actions img {
  display: block;
  width: 46px;
  height: 46px;
  padding: 10px;
  border-radius: 5px;
  background: #fff;
  box-shadow: 0 0 6px rgba(0,0,0,.22);
  object-fit: contain;
}
.asset-action-deposit {
  width: 46px;
  height: 46px;
}
.asset-action-withdraw {
  width: 46px;
  height: 46px;
}
.asset-action-exchange {
  width: 46px;
  height: 46px;
}
.holding-list {
  padding: 0 10px;
}
.holding-list h2 {
  margin: 0;
  height: 42px;
  display: flex;
  align-items: center;
  font-size: 17px;
}
.holding-list .holding-row {
  width: 100%;
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #f2f2f2;
  text-align: left;
}
.holding-list b { font-size: 16px; }
.holding-list small {
  display: block;
  margin-top: 3px;
  color: #aaa;
}
.holding-list .holding-row > p {
  text-align: right;
  font-weight: 600;
}

.me-screen {
  width: calc(100% + 20px);
  max-width: none;
  margin: 0 -10px;
}
.me-screen .me-title {
  height: 48px;
}
.profile-card {
  height: 103px;
  display: grid;
  grid-template-columns: 66px 1fr;
  align-items: center;
  column-gap: 21px;
  padding: 7px 20px 0;
}
.profile-card.guest {
  grid-template-columns: 66px minmax(92px, 1fr) 120px;
  column-gap: 21px;
}
.avatar {
  width: 66px;
  height: 66px;
  display: block;
}
.profile-card h2 {
  margin: 0 0 11px;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.2;
}
.profile-name-line {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 12px;
}
.profile-name-line h2 {
  max-width: 96px;
  margin-bottom: 11px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.identity-badge {
  height: 23px;
  min-width: 47px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  margin-top: 2px;
  padding: 0 8px;
  border-radius: 5px;
  font-size: 10px;
  font-weight: 500;
  white-space: nowrap;
}
.identity-badge.unverified {
  border: 1px solid #eea641;
  color: #eea641;
}
.identity-badge.verified {
  border: 1px solid #1cbe24;
  color: #1cbe24;
}
.profile-card p {
  margin: 0;
  color: #676767;
  font-size: 12px;
  font-weight: 500;
}
.profile-info {
  min-width: 0;
}
.profile-card.guest h2 {
  margin: 0;
  white-space: nowrap;
}
.me-connect-wallet {
  width: 120px;
  height: 44px;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: #fff;
  background: linear-gradient(145deg, #4e80f6 22%, #346df4 75%);
}
.me-connect-wallet img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}
.me-connect-wallet span {
  min-width: 0;
  color: #fff;
  font-size: 14px;
  line-height: 1.2;
  white-space: nowrap;
}
.me-list {
  margin: 0;
  border-top: 10px solid #f5f5f5;
}
.me-list button {
  width: 100%;
  height: 61px;
  display: grid;
  grid-template-columns: 44px 1fr 16px;
  align-items: center;
  padding: 0 20px 0 17px;
  text-align: left;
  background: #fff;
  border-bottom: 1px solid #f5f5f5;
}
.child-list button {
  width: 100%;
  min-height: 66px;
  display: grid;
  grid-template-columns: 52px 1fr 48px;
  align-items: center;
  padding: 0 18px;
  text-align: left;
  background: #fff;
}
.me-icon {
  object-fit: contain;
}
.me-icon-fund {
  width: 32px;
  height: 27px;
}
.me-icon-deposit {
  width: 28px;
  height: 27px;
}
.me-icon-withdraw,
.me-icon-service,
.me-icon-language,
.me-icon-identity,
.me-icon-paymentPassword {
  width: 28px;
  height: 28px;
}
.me-icon-disconnect {
  width: 28px;
  height: 28px;
  margin-left: 2px;
}
.me-arrow {
  width: 16px;
  height: 16px;
  transform: rotate(180deg) scaleY(-1);
}
.me-list span,
.child-list span {
  font-size: 16px;
  color: #000;
}
.child-list button + button {
  border-top: 1px solid #f4f4f4;
}

.sub-header {
  height: 52px;
  display: grid;
  grid-template-columns: 42px 1fr 42px;
  align-items: center;
  border-bottom: 1px solid #f3f3f3;
}
.sub-header button {
  font-size: 32px;
  color: #333;
}
.sub-header h1 {
  margin: 0;
  text-align: center;
  font-size: 18px;
}
.connect-card,
.article-card,
.form-card,
.cash-page,
.mining-hero,
.share-card {
  margin-top: 16px;
  padding: 18px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 2px 14px rgba(0,0,0,.06);
}
.connect-card h1 {
  margin: 4px 0 6px;
  font-size: 26px;
}
.connect-card p,
.article-card p {
  margin: 0 0 18px;
  color: #777;
  line-height: 1.7;
}
.primary-submit {
  width: 100%;
  height: 44px;
  border-radius: 5px;
  background: var(--blue);
  color: #fff;
  font-weight: 700;
}
.link-button {
  width: 100%;
  height: 42px;
  margin-top: 8px;
  color: #777;
}
.form-card label {
  display: block;
  margin-bottom: 14px;
  color: #777;
}
.form-card input,
.form-card select {
  width: 100%;
  height: 42px;
  display: block;
  margin-top: 8px;
  padding: 0 10px;
  border-radius: 4px;
  background: #f6f6f6;
  color: #333;
}
.cash-page {
  box-shadow: none;
  margin: 0 -10px;
  border-radius: 0;
  min-height: calc(100svh - 52px);
  background: #f7f7f7;
}
.cash-balance {
  min-height: 92px;
  border-radius: 7px;
  padding: 16px;
  color: white;
  background: linear-gradient(180deg, #318bf4, #3d91f5);
}
.cash-balance span {
  display: block;
  margin-bottom: 12px;
  font-size: 15px;
}
.cash-balance b {
  font-size: 25px;
}
.cash-select,
.cash-input,
.address-box {
  display: block;
  margin-top: 12px;
  padding: 14px;
  border-radius: 6px;
  background: #fff;
  color: #333;
  font-size: 15px;
}
.cash-select select,
.cash-input input {
  width: 100%;
  height: 38px;
  margin-top: 8px;
  color: #111;
  font-size: 16px;
}
.address-box span {
  color: #777;
  font-size: 14px;
}
.address-box p {
  margin: 10px 0;
  color: #333;
  line-break: anywhere;
  font-size: 14px;
}
.address-box button {
  height: 30px;
  padding: 0 12px;
  border-radius: 4px;
  color: white;
  background: var(--blue);
}

.cash-header {
  width: calc(100% + 20px);
  height: 48px;
  margin: 0 -10px;
  display: grid;
  grid-template-columns: 48px 1fr 48px;
  align-items: center;
  background: #fff;
}
.cash-header button {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
}
.cash-header img {
  width: 16px;
  height: 16px;
}
.cash-header h1 {
  margin: 0;
  text-align: center;
  font-size: 18px;
  font-weight: 600;
  color: #000;
}

.identity-page {
  width: calc(100% + 20px);
  min-height: calc(100svh - 48px);
  margin: 0 -10px;
  padding: 21px 22px 72px;
  background: #fff;
}
.identity-page label {
  display: block;
  margin: 0 0 16px;
  color: #000;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.2;
}
.identity-methods {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 100px));
  gap: 10px;
  margin-bottom: 30px;
}
.identity-methods button {
  width: 100%;
  height: 50px;
  padding: 0 8px;
  border-radius: 10px;
  color: #7e7e7e;
  background: #f4f4f4;
  font-size: 14px;
  line-height: 1.2;
  white-space: normal;
  overflow-wrap: anywhere;
}
.identity-methods button.active,
.identity-method-readonly {
  color: #fff;
  background: #4e80f6;
}
.identity-input,
.identity-amount {
  width: 100%;
  height: 60px;
  margin-bottom: 30px;
  border: 0;
  border-radius: 10px;
  background: #f4f4f4;
}
.identity-input {
  display: block;
  padding: 0 18px;
  color: #000;
  font-size: 14px;
}
.identity-input::placeholder,
.identity-amount input::placeholder {
  color: #a8a8a8;
}
.identity-amount {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 70px;
  align-items: center;
  padding: 0 16px;
}
.identity-amount input {
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #000;
  font-size: 14px;
}
.identity-amount span {
  justify-self: end;
  color: #000;
  font-size: 16px;
  font-weight: 600;
}
.identity-upload-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 34px;
}
.identity-upload {
  width: 120px;
  height: 120px;
  display: grid !important;
  place-items: center;
  margin: 0 !important;
  border-radius: 10px;
  background: #f4f4f4;
}
.identity-upload img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}
.identity-upload input {
  display: none;
}
.identity-preview-item {
  position: relative;
  margin: 0;
}
.identity-preview {
  width: auto;
  height: auto;
  max-width: 330px;
  object-fit: contain;
  border-radius: 10px;
  background: #f4f4f4;
}
.identity-preview-item button {
  position: absolute;
  right: -8px;
  top: -8px;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #fff;
  background: rgba(0, 0, 0, .62);
  font-size: 20px;
  line-height: 1;
}
.identity-submit {
  width: 100%;
  height: 60px;
  border-radius: 10px;
  color: #fff;
  background: #2e81f3;
  font-size: 18px;
  font-weight: 500;
}
.identity-page.readonly {
  padding-top: 21px;
}
.identity-method-readonly {
  width: 100px;
  height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin-bottom: 30px;
  border-radius: 10px;
  font-size: 14px;
}
.identity-method-readonly span {
  position: absolute;
  left: calc(100% + 10px);
  top: 50%;
  transform: translateY(-50%);
  min-width: 48px;
  color: #1cbe24;
  font-size: 12px;
  white-space: nowrap;
}
.identity-static {
  margin: 0 0 32px;
  color: #000;
  font-size: 14px;
  line-height: 28px;
  overflow-wrap: anywhere;
}
.identity-static.amount {
  font-size: 16px;
  font-weight: 600;
}
.identity-preview-list {
  width: 100%;
  display: grid;
  gap: 12px;
}
.identity-preview-list img {
  width: auto;
  height: auto;
  max-width: 100%;
  border-radius: 10px;
  background: #f4f4f4;
}
.identity-empty-image {
  width: min(300px, 100%);
  height: 180px;
  border-radius: 10px;
  background: #f4f4f4;
}
.cash-flow-page,
.cash-select-page,
.address-page {
  width: calc(100% + 20px);
  min-height: calc(100svh - 48px);
  margin: 0 -10px;
  padding: 13px 0 32px;
  background: #fff;
}
.cash-flow-page > label {
  width: 330px;
  display: block;
  margin: 0 auto 16px;
  color: #000;
  font-size: 16px;
  font-weight: 600;
}
.cash-flow-page > label:not(:first-child) {
  margin-top: 20px;
}
.cash-coin-card,
.cash-field,
.cash-address-card,
.cash-address-select,
.cash-select-row {
  width: 330px;
  margin: 0 auto;
  border-radius: 10px;
  background: #f4f4f4;
}
.cash-coin-card,
.cash-select-row {
  height: 60px;
  padding: 0 18px 0 20px;
  display: flex;
  align-items: center;
  gap: 20px;
  text-align: left;
}
.cash-coin-card span:not(.cash-coin-mark),
.cash-select-row span:not(.cash-coin-mark) {
  min-width: 0;
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  color: #000;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.cash-coin-card b,
.cash-address-select b {
  color: #565656;
  font-size: 31px;
  line-height: 1;
  font-weight: 300;
}
.cash-coin-mark {
  width: 32px;
  height: 32px;
  position: relative;
  flex: 0 0 32px;
  display: block;
}
.cash-coin-main {
  width: 32px;
  height: 32px;
  display: block;
  object-fit: contain;
}
.cash-coin-network {
  width: 12px;
  height: 12px;
  position: absolute;
  right: -1px;
  bottom: 0;
  object-fit: contain;
}
.deposit-qr {
  width: 193px;
  height: 188px;
  display: block;
  margin: 16px auto 16px;
  object-fit: contain;
}
.cash-address-card {
  min-height: 80px;
  padding: 10px 44px 10px 13px;
  position: relative;
}
.cash-address-card p {
  margin: 0;
  color: #000;
  font-family: Poppins, Arial, sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 24px;
  white-space: normal;
  overflow: visible;
  word-break: break-all;
}
.cash-address-card button {
  width: 34px;
  height: 34px;
  position: absolute;
  right: 8px;
  top: 23px;
  display: grid;
  place-items: center;
}
.cash-address-card img {
  width: 26px;
  height: 26px;
}
.cash-field {
  height: 60px;
  padding: 0 16px 0 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.cash-field input,
.cash-field b {
  min-width: 0;
  flex: 1;
  color: #000;
  font-family: Poppins, Arial, sans-serif;
  font-size: 16px;
  font-weight: 600;
}
.deposit-flow .cash-field,
.withdraw-flow .cash-field {
  position: relative;
  justify-content: flex-start;
  gap: 0;
}
.deposit-flow .cash-field input,
.deposit-flow .cash-field b,
.withdraw-flow .cash-field input,
.withdraw-flow .cash-field b {
  flex: 0 0 180px;
  height: 60px;
  line-height: 60px;
  text-align: left;
}
.deposit-flow .cash-field span,
.withdraw-flow .cash-field span {
  position: absolute;
  left: 278px;
  top: 0;
  height: 60px;
  line-height: 60px;
  text-align: right;
}
.cash-field span {
  color: #000;
  font-size: 16px;
  font-weight: 600;
}
.cash-password-input {
  width: 330px;
  height: 60px;
  display: block;
  margin: 0 auto;
  padding: 0 20px;
  border: 0;
  border-radius: 10px;
  outline: 0;
  background: #f4f4f4;
  color: #000;
  font-size: 16px;
  font-weight: 600;
}
.cash-field.readonly {
  margin-top: 10px;
}
.cash-swap-icon {
  width: 28px;
  height: 28px;
  display: block;
  margin: -4px auto -4px;
  position: relative;
  z-index: 1;
}
.cash-upload {
  width: 120px;
  height: 120px;
  margin: 0 auto;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: #f4f4f4;
  overflow: hidden;
  cursor: pointer;
}
.cash-flow-page > .cash-upload,
.deposit-flow .cash-upload {
  width: 120px;
  height: 120px;
  margin-left: calc((100% - 330px) / 2);
  margin-right: 0;
  display: grid;
  place-items: center;
}
.cash-upload img {
  width: 44px;
  height: 44px;
}
.cash-upload .proof-preview {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cash-upload input {
  display: none;
}
.cash-submit {
  width: 330px;
  height: 60px;
  display: block;
  margin: 35px auto 0;
  border-radius: 10px;
  color: #fff;
  background: #2e81f3;
  font-size: 18px;
  font-weight: 700;
}
.exchange-page {
  width: calc(100% + 20px);
  min-height: calc(100svh - 48px);
  margin: 0 -10px;
  padding: 31px 0 32px;
  background: #fff;
}
.exchange-box {
  width: 330px;
  margin: 0 auto;
}
.exchange-field {
  width: 330px;
  height: 60px;
  padding: 0 13px 0 20px;
  border-radius: 10px;
  background: #f4f4f4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.exchange-field input,
.exchange-field strong {
  min-width: 0;
  flex: 1;
  color: #000;
  font-family: Poppins, Arial, sans-serif;
  font-size: 16px;
  font-weight: 600;
}
.exchange-field.readonly {
  margin-top: 13px;
}
.exchange-coin {
  max-width: 138px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  color: #000;
  font-family: Poppins, Arial, sans-serif;
  font-size: 16px;
  font-weight: 600;
  white-space: nowrap;
}
.exchange-coin .cash-coin-mark {
  width: 26px;
  height: 26px;
  flex-basis: 26px;
}
.exchange-coin .cash-coin-main {
  width: 26px;
  height: 26px;
}
.exchange-coin .cash-coin-network {
  width: 10px;
  height: 10px;
}
.exchange-coin b {
  width: 9px;
  height: 9px;
  flex: 0 0 9px;
  border-right: 2px solid #555;
  border-bottom: 2px solid #555;
  transform: rotate(45deg);
  margin-top: -4px;
}
.exchange-swap {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  margin: 7px auto;
  position: relative;
  z-index: 1;
}
.exchange-swap img {
  width: 28px;
  height: 28px;
}
.exchange-meta {
  width: 330px;
  margin: 16px auto 0;
  display: grid;
  gap: 14px;
  color: #000;
  font-size: 14px;
  line-height: 1.2;
}
.exchange-meta div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.exchange-meta dt,
.exchange-meta dd {
  margin: 0;
}
.exchange-meta dd {
  min-width: 0;
  text-align: right;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.exchange-submit {
  margin-top: 40px;
}
.withdraw-flow .cash-address-select {
  height: 80px;
  padding: 0 18px 0 13px;
  display: flex;
  align-items: center;
  gap: 16px;
  text-align: left;
}
.cash-address-select span {
  flex: 1;
  color: #000;
  font-family: Poppins, Arial, sans-serif;
  font-size: 13px;
  font-weight: 500;
  line-height: 22px;
  overflow: hidden;
  text-overflow: clip;
  white-space: nowrap;
}
.withdraw-flow .cash-address-select span {
  font-size: 14px;
  line-height: 24px;
  white-space: normal;
  word-break: break-all;
  overflow: visible;
}
.withdraw-flow .cash-address-select b {
  flex: 0 0 auto;
}
.withdraw-submit {
  margin-top: 40px;
}
.cash-select-page {
  padding-top: 13px;
}
.cash-select-row + .cash-select-row {
  margin-top: 10px;
}
.address-page {
  padding-top: 14px;
}
.address-add-card,
.withdraw-address-row {
  width: 330px;
  margin: 0 auto 20px;
  border-radius: 10px;
  background: #f4f4f4;
}
.address-add-card {
  height: 100px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 8px;
  color: #000;
  font-size: 14px;
}
.address-add-card img {
  width: 30px;
  height: 30px;
}
.withdraw-address-row {
  min-height: 100px;
  padding: 18px 13px 16px 20px;
  display: grid;
  grid-template-columns: 32px 1fr;
  column-gap: 20px;
  row-gap: 12px;
  text-align: left;
}
.withdraw-address-row span:not(.cash-coin-mark) {
  align-self: center;
  color: #000;
  font-size: 16px;
  font-weight: 600;
}
.withdraw-address-row p {
  grid-column: 1 / -1;
  margin: 0;
  color: #000;
  font-family: Poppins, Arial, sans-serif;
  font-size: 12px;
  font-weight: 600;
  line-height: 28px;
  word-break: break-all;
}
.cash-address-input {
  width: 330px;
  height: 80px;
  display: block;
  margin: 0 auto;
  padding: 12px 13px;
  border: 0;
  border-radius: 10px;
  outline: 0;
  resize: none;
  background: #f4f4f4;
  color: #000;
  font: 14px/28px Poppins, Arial, sans-serif;
}
.cash-address-input::placeholder {
  color: #6c6c6c;
}
.address-save {
  margin-top: 40px;
}
.cash-empty {
  width: 330px;
  margin: 0 auto;
  padding: 28px 0;
  border-radius: 10px;
  color: #999;
  text-align: center;
  background: #f4f4f4;
}

.record-page,
.payment-page,
.service-page {
  width: calc(100% + 20px);
  min-height: calc(100svh - 48px);
  margin: 0 -10px;
  padding: 20px 0 32px;
  background: #fff;
}
.record-card {
  width: 340px;
  min-height: 170px;
  margin: 0 auto 20px;
  padding: 14px 17px 18px;
  border-radius: 10px;
  background: #f4f4f4;
}
.record-card.withdraw-record-card {
  min-height: 224px;
}
.record-card header {
  height: 34px;
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 22px;
}
.record-card header b {
  color: #000;
  font-size: 16px;
  font-weight: 600;
}
.record-card > div {
  min-height: 33px;
  display: grid;
  grid-template-columns: 115px 1fr;
  align-items: start;
  color: #616161;
  font-size: 14px;
}
.record-card > div span {
  color: #616161;
  font-weight: 400;
}
.record-card > div strong {
  min-width: 0;
  color: #000;
  font-weight: 400;
  text-align: right;
  word-break: break-all;
}
.record-card > div.address-line {
  min-height: 50px;
}
.record-card > div.address-line strong {
  max-width: 186px;
  justify-self: end;
  line-height: 17px;
}
.payment-page {
  padding-top: 19px;
}
.payment-page label {
  width: 330px;
  display: block;
  margin: 0 auto 16px;
  color: #000;
  font-size: 16px;
  font-weight: 600;
}
.payment-page input {
  width: 330px;
  height: 60px;
  display: block;
  margin: 0 auto 40px;
  padding: 0 16px;
  border-radius: 10px;
  background: #f4f4f4;
  color: #000;
  font-size: 14px;
}
.payment-page input::placeholder {
  color: #9a9a9a;
}
.payment-page .cash-submit {
  margin-top: 0;
}
.service-page {
  padding-top: 20px;
}
.service-hero-icon {
  width: 155px;
  height: 155px;
  display: block;
  margin: 0 auto 21px;
  object-fit: contain;
}
.service-contact-row {
  width: 330px;
  height: 60px;
  margin: 0 auto 30px;
  padding: 0 13px 0 18px;
  border-radius: 10px;
  display: grid;
  grid-template-columns: 32px 1fr 26px;
  align-items: center;
  column-gap: 16px;
  background: #f4f4f4;
}
.service-contact-row > img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}
.service-contact-row span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #000;
  font-size: 16px;
  font-weight: 600;
  white-space: nowrap;
}
.service-contact-row button,
.service-contact-row button img {
  width: 26px;
  height: 26px;
}
.share-card p {
  margin: 0;
  color: #777;
  line-height: 1.6;
}
.finance-page,
.finance-form-page {
  width: calc(100% + 20px);
  min-height: calc(100svh - 48px);
  margin: 0 -10px;
  padding: 16px 18px 70px;
  background: #fff;
}
.finance-summary {
  display: grid;
  grid-template-columns: 1fr 130px;
  gap: 24px 44px;
  padding: 0 7px;
}
.finance-summary span {
  display: block;
  margin-bottom: 12px;
  color: #a9a9a9;
  font-size: 14px;
}
.finance-summary b {
  display: block;
  color: #000;
  font-size: 20px;
  font-weight: 600;
}
.finance-summary strong {
  color: #33be1e;
  font-size: 14px;
  font-weight: 400;
}
.finance-summary button {
  justify-self: end;
  width: 80px;
  height: 40px;
  margin-top: 0;
  border-radius: 5px;
  color: #fff;
  background: linear-gradient(145deg, #4e80f6 22%, #346df4 75%);
  font-size: 14px;
}
.finance-slogan {
  height: 58px;
  margin: 31px 0 36px;
  padding: 0 20px 0 35px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 12px;
  background: linear-gradient(138deg, #38e3c9 4%, #1bd1f1 98%);
  color: #fff;
  font-size: 14px;
  font-weight: 500;
}
.finance-slogan span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.finance-slogan img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}
.finance-product {
  height: 140px;
  padding: 14px 24px 23px;
  border-radius: 12px;
  background: #f5f5f5;
}
.finance-product header,
.finance-product-meta {
  display: grid;
  grid-template-columns: 1fr 110px;
  align-items: center;
}
.finance-product header {
  margin-bottom: 31px;
}
.finance-product header div {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
}
.finance-product img {
  width: 26px;
  height: 26px;
  object-fit: contain;
}
.finance-product b,
.finance-product strong {
  color: #000;
  font-size: 16px;
  font-weight: 500;
}
.finance-product strong {
  justify-self: end;
  white-space: nowrap;
}
.finance-product-meta p {
  margin: 0;
}
.finance-product-meta p:last-child {
  justify-self: end;
  text-align: center;
}
.finance-product-meta b {
  display: block;
  margin-bottom: 10px;
  font-size: 14px;
}
.finance-product-meta span {
  color: #a9a9a9;
  font-size: 14px;
}
.finance-primary {
  width: 100%;
  height: 60px;
  margin-top: 40px;
  border-radius: 10px;
  color: #fff;
  background: #2e81f3;
  font-size: 18px;
  font-weight: 500;
}
.finance-desc {
  margin-top: 42px;
  padding: 0 4px;
}
.finance-desc h2 {
  margin: 0 0 14px;
  color: #000;
  font-size: 16px;
  font-weight: 500;
}
.finance-desc p {
  margin: 0;
  color: #494949;
  font-size: 14px;
  line-height: 26px;
}
.finance-form-page {
  padding-top: 15px;
}
.finance-form-page .finance-product {
  margin-bottom: 30px;
}
.finance-form-page > label {
  display: block;
  margin: 0 4px 16px;
  color: #000;
  font-size: 16px;
  font-weight: 500;
}
.finance-amount-input {
  height: 60px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 70px;
  align-items: center;
  padding: 0 21px;
  border-radius: 10px;
  background: #f4f4f4;
}
.finance-amount-input input {
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #000;
  font-size: 14px;
}
.finance-amount-input input::placeholder {
  color: #949494;
}
.finance-amount-input span {
  justify-self: end;
  color: #000;
  font-size: 16px;
  font-weight: 600;
}
.finance-form-page .finance-primary {
  margin-top: 40px;
}
.invite-code b {
  font-size: 20px;
}
.share-card {
  text-align: center;
  box-shadow: none;
  border: 1px solid #f0f0f0;
}
.share-card h2 {
  margin: 8px 0 8px;
  font-size: 26px;
}
.invite-code {
  margin: 18px 0;
  padding: 14px;
  border-radius: 6px;
  background: #f6f8fb;
}
.invite-code span {
  display: block;
  margin-bottom: 6px;
  color: #777;
}
.child-list {
  margin: 8px -10px 0;
  background: #fff;
}
.quote-detail-head {
  height: 74px;
  gap: 10px;
  border-bottom: 1px solid #f2f2f2;
}
.quote-detail-head strong {
  font-size: 24px;
}
.quote-detail-head span {
  color: #888;
}
.range-chart-wrap.detail {
  height: calc(100svh - 166px);
}
.fixed-submit {
  position: fixed;
  left: 10px;
  right: 10px;
  bottom: 16px;
  width: auto;
}

.tabbar {
  position: fixed;
  left: 50%;
  bottom: 0;
  z-index: 20;
  width: min(100%, 430px);
  transform: translateX(-50%);
  height: 64px;
  background: #fff;
  border-top: 1px solid #ddd;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}
.tabbar button,
.tabbar a {
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 3px;
  color: #666;
  font-size: 12px;
  text-decoration: none;
}
.tabbar img {
  width: 27px;
  height: 27px;
  object-fit: contain;
  opacity: .72;
}
.tabbar .active {
  color: #1b72ff;
}
.tabbar .active img { opacity: 1; }

.modal-mask {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 50%;
  width: min(100%, 430px);
  transform: translateX(-50%);
  z-index: 50;
  background: rgba(0,0,0,.28);
  display: flex;
  align-items: flex-end;
}
.coin-picker-mask {
  background: rgba(0,0,0,.3);
}
.coin-picker-sheet {
  width: 100%;
  max-height: 70svh;
  overflow: hidden;
  border-radius: 10px 10px 0 0;
  background: #fff;
  color: #000;
}
.coin-picker-sheet header {
  height: 62px;
  padding: 0 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.coin-picker-sheet h2 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
}
.coin-picker-sheet header button {
  color: #555;
  font-size: 34px;
  line-height: 1;
  font-weight: 300;
}
.coin-picker-list {
  max-height: calc(70svh - 62px);
  overflow-y: auto;
  padding: 8px 0 24px;
}
.coin-picker-list .cash-select-row + .cash-select-row {
  margin-top: 10px;
}
.app-toast {
  position: fixed;
  left: 50%;
  top: 50%;
  z-index: 80;
  max-width: min(320px, calc(100% - 64px));
  min-height: 40px;
  padding: 10px 18px;
  border-radius: 8px;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: rgba(0,0,0,.72);
  font-size: 14px;
  line-height: 20px;
  text-align: center;
  word-break: break-word;
  pointer-events: none;
}
.time-mask {
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,.24);
}
.duration-sheet {
  width: calc(100% - 44px);
  max-height: 90svh;
  overflow: hidden;
  border: 1px solid #e8e8e8;
  border-radius: 16px;
  background: #fff;
  color: #111;
  box-shadow: 0 12px 36px rgba(0,0,0,.16);
}
.duration-sheet header {
  height: 58px;
  display: grid;
  grid-template-columns: 40px 1fr 40px;
  align-items: center;
  padding: 0 14px;
  border-bottom: 1px solid #f1f1f1;
}
.duration-sheet h2 {
  grid-column: 2;
  margin: 0;
  text-align: center;
  font-size: 20px;
  font-weight: 800;
}
.duration-sheet header button {
  grid-column: 3;
  color: #777;
  font-size: 28px;
}
.duration-options {
  display: grid;
  gap: 10px;
  padding: 16px 18px 18px;
}
.duration-options button {
  height: 48px;
  border: 1px solid #e4e4e4;
  border-radius: 8px;
  background: #f8f8f8;
  color: #333;
  font-size: 20px;
}
.duration-options .active {
  border-color: var(--blue);
  background: #eef6ff;
  color: var(--blue);
  box-shadow: inset 0 0 0 1px var(--blue);
}
.duration-confirm {
  width: 100%;
  height: 54px;
  color: white;
  background: var(--blue);
  font-size: 18px;
  font-weight: 700;
}
.sheet {
  width: 100%;
  max-height: 72svh;
  overflow: auto;
  border-radius: 16px 16px 0 0;
  background: #fff;
  padding: 14px 12px 20px;
}
.sheet header {
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.sheet h2 {
  margin: 0;
  font-size: 18px;
}
.sheet header button {
  font-size: 24px;
  color: #777;
}
.symbol-grid,
.language-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}
.symbol-grid button,
.language-grid button {
  min-height: 42px;
  border-radius: 5px;
  background: #f6f6f6;
  display: flex;
  align-items: center;
  justify-content: center;
}
.symbol-grid .active,
.language-grid .active {
  background: #eaf3ff;
  color: var(--blue);
  font-weight: 800;
}
