.ai-orders-page {
  align-content: start;
  grid-template-rows: auto auto;
}

.ai-orders-page .ai-detail-head {
  align-self: start;
}

.ai-order-list {
  align-content: start;
  align-items: start;
  padding: 20px 16px 40px;
}

.ai-defi-page:not(.ai-rules-page):not(.ai-orders-page):not(.ai-rent-page) {
  padding-top: calc(10px + env(safe-area-inset-top)) !important;
}

.ai-defi-page:not(.ai-rules-page):not(.ai-orders-page):not(.ai-rent-page) .ai-summary {
  padding-top: 0 !important;
}

.ai-managed-order-card {
  align-self: start;
  width: 100%;
  max-width: 466px;
  height: auto;
  min-height: 154px;
  margin: 0 auto;
  padding: 14px 16px 10px;
}

.ai-managed-order-head {
  align-items: start;
}

.ai-managed-order-grid {
  column-gap: 30px;
  row-gap: 12px;
  margin-top: 13px;
}

.ai-managed-order-metric {
  min-width: 0;
}

.ai-managed-order-metric strong {
  min-width: 0;
}

.ai-managed-order-card.is-running {
  background:
    linear-gradient(135deg, rgba(98, 238, 248, 0.2), rgba(98, 238, 248, 0)),
    #1fb0bd;
}

.ai-managed-order-card.is-ended {
  background: #82868a;
}

.ai-order-state-tabs {
  right: 0;
  left: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ai-order-state-tabs button {
  text-align: center;
}

.ai-managed-order-watermark {
  top: 8px;
  right: 72px;
  width: 118px;
  height: 118px;
  color: rgba(255, 255, 255, 0.82);
  opacity: 0.58;
}

.ai-managed-order-watermark svg {
  display: none;
}

.ai-managed-order-watermark::before,
.ai-managed-order-watermark::after {
  content: "";
  position: absolute;
  display: block;
}

.ai-managed-order-watermark::before {
  left: 18px;
  top: 3px;
  width: 66px;
  height: 88px;
  border-radius: 10px 10px 8px 18px;
  background:
    linear-gradient(13deg, transparent 0 29%, rgba(31, 176, 189, 0.7) 30% 36%, transparent 37% 100%) 13px 35px / 43px 34px no-repeat,
    linear-gradient(13deg, transparent 0 29%, rgba(31, 176, 189, 0.7) 30% 36%, transparent 37% 100%) 17px 54px / 43px 34px no-repeat,
    currentColor;
  transform: rotate(13deg);
}

.ai-managed-order-watermark::after {
  right: 12px;
  top: 36px;
  width: 28px;
  height: 72px;
  border: 9px solid currentColor;
  border-left: 0;
  border-radius: 0 18px 18px 0;
  transform: rotate(13deg);
}

.ai-managed-order-card {
  container-type: inline-size;
}

.ai-managed-order-head {
  gap: calc(12 / 466 * 100cqw);
}

.ai-managed-order-head div {
  gap: calc(5 / 466 * 100cqw);
}

.ai-managed-order-head strong {
  font-size: clamp(12px, calc(15 / 466 * 100cqw), 15px);
}

.ai-managed-order-head span {
  font-size: clamp(11px, calc(13 / 466 * 100cqw), 13px);
}

.ai-managed-order-head em {
  min-width: calc(36 / 466 * 100cqw);
  min-height: calc(22 / 466 * 100cqw);
  padding: calc(3 / 466 * 100cqw) calc(8 / 466 * 100cqw);
  font-size: clamp(10px, calc(12 / 466 * 100cqw), 12px);
}

.ai-managed-order-grid {
  column-gap: calc(30 / 466 * 100cqw);
  row-gap: calc(10 / 466 * 100cqw);
  margin-top: calc(12 / 466 * 100cqw);
}

.ai-managed-order-metric {
  gap: calc(5 / 466 * 100cqw);
}

.ai-managed-order-metric span {
  font-size: clamp(11px, calc(13 / 466 * 100cqw), 13px);
}

.ai-managed-order-metric strong {
  gap: calc(6 / 466 * 100cqw);
  font-size: clamp(18px, calc(22 / 466 * 100cqw), 22px);
}

.ai-managed-order-metric small {
  font-size: clamp(10px, calc(12 / 466 * 100cqw), 12px);
}

.ai-managed-order-watermark {
  top: calc(8 / 466 * 100cqw);
  right: calc(78 / 466 * 100cqw);
  width: calc(104 / 466 * 100cqw);
  height: calc(104 / 466 * 100cqw);
}

.ai-managed-order-watermark::before {
  left: calc(16 / 466 * 100cqw);
  top: calc(4 / 466 * 100cqw);
  width: calc(58 / 466 * 100cqw);
  height: calc(78 / 466 * 100cqw);
  border-radius: calc(9 / 466 * 100cqw) calc(9 / 466 * 100cqw) calc(7 / 466 * 100cqw) calc(16 / 466 * 100cqw);
  background:
    linear-gradient(13deg, transparent 0 29%, rgba(31, 176, 189, 0.7) 30% 36%, transparent 37% 100%) calc(12 / 466 * 100cqw) calc(31 / 466 * 100cqw) / calc(38 / 466 * 100cqw) calc(30 / 466 * 100cqw) no-repeat,
    linear-gradient(13deg, transparent 0 29%, rgba(31, 176, 189, 0.7) 30% 36%, transparent 37% 100%) calc(15 / 466 * 100cqw) calc(48 / 466 * 100cqw) / calc(38 / 466 * 100cqw) calc(30 / 466 * 100cqw) no-repeat,
    currentColor;
}

.ai-managed-order-watermark::after {
  right: calc(10 / 466 * 100cqw);
  top: calc(33 / 466 * 100cqw);
  width: calc(25 / 466 * 100cqw);
  height: calc(64 / 466 * 100cqw);
  border-width: calc(8 / 466 * 100cqw);
  border-radius: 0 calc(16 / 466 * 100cqw) calc(16 / 466 * 100cqw) 0;
}

.app-main img,
.ai-product-visual img {
  -webkit-touch-callout: none;
  -webkit-user-drag: none;
  user-select: none;
}

.home-page .hero.is-hero-loading {
  background: #fff;
}

.home-page .hero .hero-copy {
  display: none !important;
}

.home-page .hero.is-hero-loading::before {
  display: none;
}

.home-page .hero.is-hero-loading img {
  opacity: 1 !important;
}

.home-page .hero.is-hero-loading::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: inherit;
  background:
    linear-gradient(100deg, rgba(245, 245, 245, 0.95) 0%, rgba(232, 232, 232, 0.95) 22%, rgba(248, 248, 248, 0.98) 42%, rgba(235, 235, 235, 0.95) 72%);
  background-size: 220% 100%;
  animation: homeSkeletonShimmer 1.15s linear infinite;
}

.home-page .hero.is-hero-loading img,
.home-page .hero.is-hero-loading .hero-copy {
  opacity: 0;
}

.home-skeleton-host {
  position: relative;
}

.home-page .notice-strip {
  scroll-snap-type: x proximity;
  scroll-padding-inline: 2px;
  touch-action: pan-x pan-y;
  contain: layout paint;
  cursor: auto;
}

.home-page .notice-strip.is-dragging,
.home-page .notice-strip.is-touch-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
  user-select: none;
}

.home-page .notice-strip .notice-item {
  scroll-snap-align: start;
}

.home-page .milestone-track {
  touch-action: pan-x pan-y;
  scroll-behavior: auto;
}

.home-page .milestone-track.is-dragging .milestone-item {
  transform: none;
}

@media (hover: none) and (pointer: coarse) {
  .home-page .milestone-item:active {
    transform: none;
  }

  .home-page .milestone-item:active .milestone-card {
    background: #effdff;
    box-shadow: none;
  }
}

@media (hover: none) and (pointer: coarse) {
  .home-page .pic-wall-item {
    background: linear-gradient(135deg, #eefbfc, #ffffff);
  }

  .top-search,
  .bottom-nav,
  .profile-sheet-backdrop,
  .fund-verify-backdrop,
  .kyc-picker-backdrop {
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
  }

  .home-skeleton-host.is-skeleton-loading,
  .home-skeleton-card::before,
  .home-skeleton-line,
  .loader-bars span {
    animation: none !important;
  }

  .market-card,
  .list-row,
  .ai-product-card,
  .ai-managed-order-card,
  .function-row,
  .message-card,
  .deposit-record-row {
    content-visibility: auto;
    contain-intrinsic-size: 72px;
  }

  .market-card,
  .list-panel,
  .quick-action,
  .feature-shortcut,
  .bottom-nav {
    box-shadow: none !important;
  }
}

.market-card .price,
.market-card .change,
.market-line .row-side,
.market-line .row-side .price,
.market-line .row-side .change,
.coin-chart-price-block strong,
.coin-chart-stat-grid dd,
.trade-terminal-page .pair-title .change,
.trade-terminal-page .trade-book-row span,
.trade-terminal-page .trade-last-price {
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
}

.market-card {
  min-height: 122px;
  align-content: start;
}

.market-card .price,
.market-line .row-side .price {
  min-height: 22px;
  overflow: hidden;
  overflow-wrap: normal;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.market-card .change {
  flex: 0 0 56px;
  min-width: 56px;
}

.market-line {
  grid-template-columns: 28px minmax(0, 1fr) 96px;
}

.market-line .row-side {
  min-width: 96px;
}

.market-line .row-side .change {
  min-width: 58px;
}

.home-skeleton-host.is-skeleton-loading {
  pointer-events: none;
}

.home-skeleton-host.is-skeleton-loading > :not(.home-skeleton) {
  opacity: 0;
}

.home-skeleton {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.home-skeleton-block {
  display: block;
  border-radius: 999px;
  background:
    linear-gradient(100deg, #f3f3f3 0%, #e6e6e6 22%, #f7f7f7 42%, #ececec 72%);
  background-size: 220% 100%;
  animation: homeSkeletonShimmer 1.15s linear infinite;
}

.home-skeleton-market {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.home-skeleton-card {
  display: grid;
  gap: 9px;
  min-width: 0;
  border: 1px solid rgba(231, 237, 240, 0.9);
  border-radius: var(--radius);
  background: #fff;
  padding: 11px 10px;
  box-shadow: 0 8px 24px rgba(31, 48, 58, 0.05);
}

.home-skeleton-card-head,
.home-skeleton-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.home-skeleton-stack {
  display: grid;
  gap: 6px;
  min-width: 0;
  flex: 1 1 auto;
}

.home-skeleton-stack.is-right {
  flex: 0 0 70px;
  justify-items: end;
}

.home-skeleton-block.is-avatar {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  border-radius: 50%;
}

.home-skeleton-block.is-avatar.is-large {
  width: 34px;
  height: 34px;
}

.home-skeleton-block.is-star {
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  border-radius: 50%;
}

.home-skeleton-block.is-title {
  width: 76px;
  height: 14px;
}

.home-skeleton-block.is-caption {
  width: 54px;
  height: 10px;
}

.home-skeleton-block.is-badge {
  flex: 0 0 auto;
  width: 50px;
  height: 24px;
}

.home-skeleton-block.is-price {
  width: 82px;
  height: 18px;
}

.home-skeleton-block.is-sparkline {
  width: 76%;
  height: 28px;
  margin-left: auto;
  border-radius: 8px;
}

.home-skeleton-notice {
  display: flex;
  gap: 10px;
}

.home-skeleton-notice-card {
  flex: 0 0 70%;
  display: grid;
  align-content: start;
  gap: 10px;
  min-height: 128px;
  border: 1px solid rgba(231, 237, 240, 0.9);
  border-radius: var(--radius);
  background: #fff;
  padding: 13px 12px;
}

.home-skeleton-notice-card .is-title {
  width: 72%;
  height: 15px;
}

.home-skeleton-notice-card .is-line {
  width: 92%;
  height: 12px;
}

.home-skeleton-notice-card .is-short {
  width: 62%;
}

.home-skeleton-ranking {
  display: grid;
  overflow: hidden;
  border-radius: inherit;
  background: #fff;
}

.home-skeleton-row {
  min-height: 58px;
  border-bottom: 1px solid var(--line);
  padding: 10px 12px;
}

.home-skeleton-row:last-child {
  border-bottom: 0;
}

.home-skeleton-block.is-value {
  width: 64px;
  height: 14px;
}

.home-skeleton-block.is-pair-title {
  width: 138px;
  height: 22px;
}

.home-skeleton-block.is-tab,
.home-skeleton-block.is-wide-tab {
  min-width: 0;
  height: 34px;
}

.home-skeleton-block.is-tab {
  flex: 1 1 0;
}

.home-skeleton-block.is-wide-tab {
  flex: 1 1 0;
}

.home-skeleton-block.is-label {
  width: 72px;
  height: 12px;
}

.home-skeleton-block.is-input {
  width: 96px;
  height: 18px;
}

.home-skeleton-block.is-submit {
  width: 100%;
  height: 42px;
  border-radius: var(--radius);
}

.home-skeleton-block.is-price-line {
  width: 56px;
  height: 12px;
}

.home-skeleton-block.is-qty-line {
  width: 48px;
  height: 12px;
}

.home-skeleton-block.is-last-price {
  width: 74%;
  height: 36px;
  justify-self: center;
  border-radius: var(--radius);
}

.home-skeleton-block.is-line {
  width: 92%;
  height: 12px;
}

.home-skeleton-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  padding: 18px 0 22px;
  background: var(--bg);
}

.home-skeleton-stat {
  display: grid;
  justify-items: center;
  gap: 8px;
}

.home-skeleton-block.is-stat-value {
  width: 58px;
  height: 34px;
  border-radius: 8px;
}

.home-skeleton-block.is-stat-label {
  width: 42px;
  height: 16px;
}

.home-skeleton-markets-list {
  display: grid;
  align-content: start;
  grid-auto-rows: 64px;
  overflow: hidden;
  border-radius: inherit;
  background: #fff;
}

.home-skeleton-market-row {
  display: grid;
  grid-template-columns: 26px 30px minmax(0, 1fr) 76px;
  align-items: center;
  gap: 9px;
  height: 64px;
  border-bottom: 1px solid var(--line);
  padding: 10px 12px;
}

.home-skeleton-market-row:last-child {
  border-bottom: 0;
}

.home-skeleton-trade-header {
  display: grid;
  gap: 10px;
  padding: 6px 4px 10px;
  background: rgba(246, 249, 250, 0.96);
}

.home-skeleton-trade-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  border: 1px solid rgba(231, 237, 240, 0.9);
  border-radius: var(--radius);
  background: #fff;
  padding: 10px 12px;
}

.home-skeleton-tab-row {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.home-skeleton-trade-book,
.home-skeleton-trade-panel,
.home-skeleton-trade-records {
  display: grid;
  gap: 8px;
  border-radius: inherit;
  background: #fff;
  padding: 10px;
}

.home-skeleton-book-row,
.home-skeleton-form-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 20px;
}

.home-skeleton-form-row {
  min-height: 38px;
  border-radius: var(--radius);
  background: #f7fafb;
  padding: 0 8px;
}

.home-skeleton-rate-box {
  display: grid;
  gap: 7px;
  border-radius: var(--radius);
  background: #f2f7f8;
  padding: 8px;
}

.home-skeleton-record-row {
  display: grid;
  gap: 7px;
  border-bottom: 1px solid var(--line);
  padding: 12px 2px;
}

.home-skeleton-record-row:last-child {
  border-bottom: 0;
}

@keyframes homeSkeletonShimmer {
  to {
    background-position: -220% 0;
  }
}

.ai-rent-page {
  align-content: start;
}

.ai-rent-amount {
  cursor: text;
}

.ai-rent-amount input::selection {
  background: rgba(32, 203, 216, 0.24);
}

.profile-sheet {
  max-height: calc(100dvh - var(--profile-sheet-keyboard-offset, 0px) - 12px);
  margin-bottom: var(--profile-sheet-keyboard-offset, 0px);
  padding-bottom: calc(24px + env(safe-area-inset-bottom));
  overscroll-behavior: contain;
  scroll-padding-bottom: calc(24px + env(safe-area-inset-bottom));
  transform: translateY(100%);
  animation: profileSheetRise 240ms linear forwards;
  transition: margin-bottom 160ms ease, max-height 160ms ease;
}

body.has-profile-sheet .toast {
  top: calc(16px + env(safe-area-inset-top));
  bottom: auto;
  z-index: 90;
  transform: translate(50%, -10px);
}

body.has-profile-sheet .toast.is-show {
  transform: translate(50%, 0);
}

@keyframes profileSheetRise {
  from {
    transform: translateY(100%);
  }

  to {
    transform: translateY(0);
  }
}

.sheet-hero-icon rect,
.sheet-hero-icon path:nth-of-type(2) {
  fill: var(--brand-strong);
}

.sheet-hero-icon path:nth-of-type(1) {
  fill: #b9fbff;
}

.sheet-primary-btn,
.kyc-submit-btn,
.address-input-row button,
.address-copy-field button,
.sheet-copy-field button {
  background: var(--brand-strong);
  color: #061416;
}

.install-copy-box {
  display: grid;
  gap: 8px;
  margin: 0 0 14px;
}

.install-copy-box input {
  width: 100%;
  min-height: 42px;
  border: 1px solid rgba(32, 203, 216, 0.34);
  border-radius: 6px;
  background: #f8feff;
  padding: 0 10px;
  color: #111827;
  font-size: 12px;
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
}

.install-copy-box .primary-btn {
  min-height: 40px;
}

.invite-page {
  align-content: start;
  gap: 0;
  min-height: 100%;
  background:
    linear-gradient(180deg, #e9fdff 0, #f6f9fa 210px, #f6f9fa 100%),
    var(--bg);
  padding-bottom: 24px;
}

.invite-page .invite-hero {
  grid-template-columns: minmax(0, 1fr) 132px;
  min-height: 216px;
  gap: 14px;
  padding: calc(54px + env(safe-area-inset-top)) 16px 24px;
  background:
    linear-gradient(135deg, rgba(98, 238, 248, 0.26), rgba(255, 255, 255, 0.96) 58%),
    #f8feff;
  color: #07191b;
}

.invite-page .invite-hero::after {
  content: "";
  position: absolute;
  right: 16px;
  bottom: 0;
  left: 16px;
  height: 1px;
  background: rgba(32, 203, 216, 0.22);
}

.invite-page .invite-hero .detail-back-btn {
  top: calc(6px + env(safe-area-inset-top));
  left: 4px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: #0d2a30;
}

.invite-page .invite-copy {
  display: grid;
  align-self: end;
  gap: 10px;
}

.invite-page .invite-copy h1 {
  margin: 0;
  color: #081923;
  font-size: 26px;
  font-weight: 950;
  line-height: 1.08;
}

.invite-page .invite-copy p {
  max-width: 230px;
  margin: 0;
  color: #36505a;
  font-size: 13px;
  font-weight: 720;
  line-height: 1.52;
}

.invite-page .invite-visual {
  align-self: end;
  height: 120px;
}

.invite-page .invite-visual .horn {
  right: 22px;
  bottom: 22px;
  width: 78px;
  height: 50px;
  border-radius: 8px 34px 34px 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.44), transparent 42%),
    linear-gradient(135deg, var(--brand), var(--brand-strong));
  box-shadow: 0 16px 28px rgba(32, 203, 216, 0.2);
}

.invite-page .invite-visual .horn::before {
  top: 5px;
  left: -28px;
  border-top: 20px solid transparent;
  border-right: 34px solid var(--brand-strong);
  border-bottom: 20px solid transparent;
}

.invite-page .invite-visual .horn::after {
  right: -20px;
  bottom: -17px;
  width: 92px;
  height: 24px;
  background: rgba(30, 65, 75, 0.13);
}

.invite-page .coin {
  box-shadow: inset -6px -5px 0 rgba(6, 25, 27, 0.1), 0 10px 18px rgba(32, 203, 216, 0.18);
}

.invite-page .coin-a {
  right: 62px;
  top: 8px;
  width: 30px;
  height: 38px;
  background: #44dce7;
}

.invite-page .coin-b {
  right: 16px;
  top: 31px;
  width: 25px;
  height: 38px;
  background: #168bdc;
}

.invite-page .coin-c {
  right: 98px;
  top: 20px;
  width: 20px;
  height: 20px;
  background: #93f7ff;
}

.invite-page .invite-tabs {
  position: relative;
  z-index: 1;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px;
  margin: -18px 14px 0;
  border: 1px solid rgba(32, 203, 216, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  padding: 4px;
  box-shadow: 0 12px 30px rgba(31, 48, 58, 0.08);
}

.invite-page .invite-tab {
  min-height: 38px;
  border-radius: 999px;
  color: #62727c;
  font-size: 13px;
  font-weight: 850;
}

.invite-page .invite-tab.is-active {
  background: var(--brand);
  color: #07191b;
}

.invite-page .invite-tab.is-active::after {
  display: none;
}

.invite-page .invite-card {
  gap: 14px;
  margin: 12px 14px 0;
  border: 1px solid rgba(32, 203, 216, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.96);
  padding: 16px;
  box-shadow: 0 12px 28px rgba(31, 48, 58, 0.07);
}

.invite-page .qr-card {
  justify-items: center;
  gap: 12px;
  padding: 20px 16px 18px;
}

.invite-page .qr-code {
  grid-template-columns: repeat(7, 13px);
  grid-auto-rows: 13px;
  gap: 4px;
  border: 1px solid rgba(32, 203, 216, 0.24);
  border-radius: 8px;
  background: #fff;
  padding: 14px;
  box-shadow: inset 0 0 0 6px rgba(233, 253, 255, 0.72);
}

.invite-page .qr-code span.is-dark,
.invite-page .qr-code span:first-child,
.invite-page .qr-code span:nth-child(2),
.invite-page .qr-code span:nth-child(42),
.invite-page .qr-code span:nth-child(43),
.invite-page .qr-code span:nth-child(49),
.invite-page .qr-code span:nth-child(7),
.invite-page .qr-code span:nth-child(8) {
  background: #123040;
}

.invite-page .qr-card > span {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  border-radius: 999px;
  background: var(--brand-soft);
  padding: 0 12px;
  color: #06828c;
  font-size: 12px;
  font-weight: 850;
}

.invite-page .invite-label {
  color: #667783;
  font-size: 12px;
  font-weight: 820;
}

.invite-page .invite-copy-row {
  min-height: 40px;
}

.invite-page .invite-copy-row strong {
  color: #10212c;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 0;
}

.invite-page .invite-copy-row button {
  min-height: 34px;
  border-radius: 999px;
  background: var(--brand);
  padding: 0 13px;
  color: #06191b;
  font-size: 12px;
  font-weight: 900;
  box-shadow: 0 8px 18px rgba(32, 203, 216, 0.2);
}

.invite-page .invite-link-box {
  border: 1px solid rgba(32, 203, 216, 0.36);
  border-radius: var(--radius);
  background: #f7feff;
  padding: 12px;
  color: #10212c;
  font-size: 13px;
  line-height: 1.35;
}

.invite-page .copy-icon {
  width: 13px;
  height: 13px;
}

@media (max-width: 374px) {
  .invite-page .invite-hero {
    grid-template-columns: minmax(0, 1fr) 108px;
    padding-right: 12px;
    padding-left: 12px;
  }

  .invite-page .invite-copy h1 {
    font-size: 23px;
  }

  .invite-page .invite-copy p {
    font-size: 12px;
  }
}

.article-detail-head {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 44px;
  align-items: center;
  min-height: calc(44px + env(safe-area-inset-top));
  padding: env(safe-area-inset-top) 0 0;
  background: var(--brand-strong);
  color: #061416;
}

.article-detail-head h1 {
  margin: 0;
  font-size: 16px;
  font-weight: 900;
  text-align: center;
}

.article-detail-head .detail-back-btn {
  color: #061416;
}

.help-article {
  padding: 14px 16px 40px;
  color: #30363d;
  font-size: 14px;
  font-weight: 520;
  line-height: 1.55;
}

.help-article h2 {
  margin: 0 0 24px;
  color: #20262c;
  font-size: 18px;
  font-weight: 760;
}

.help-article p {
  margin: 0 0 14px;
  white-space: pre-wrap;
}

.transfer-page {
  min-height: 100%;
  background: #f5f8f9;
  padding-bottom: 92px;
}

.transfer-card {
  position: relative;
  display: grid;
  gap: 12px;
  margin: 12px;
  border-radius: 8px;
  background: #ffffff;
  padding: 14px;
  box-shadow: 0 8px 22px rgba(31, 48, 58, 0.05);
}

.transfer-field,
.transfer-amount-field {
  display: grid;
  gap: 8px;
  color: #6f7b84;
  font-size: 13px;
  font-weight: 760;
}

.transfer-field button,
.transfer-amount-field div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  border-radius: 6px;
  background: #f3f6f7;
  padding: 0 14px;
  color: #121820;
  font-weight: 850;
}

.transfer-field i {
  color: var(--brand-strong);
  font-style: normal;
  font-size: 18px;
}

.transfer-swap-btn {
  justify-self: center;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand-strong);
  font-size: 20px;
  font-weight: 900;
}

.transfer-amount-field input {
  min-width: 0;
  border: 0;
  background: transparent;
  color: #121820;
  font-size: 16px;
  line-height: 1.3;
}

.transfer-amount-field input::placeholder {
  color: #a9b2b9;
}

.transfer-amount-field button {
  background: transparent;
  color: var(--brand-strong);
  font-size: 13px;
  font-weight: 900;
}

.transfer-note {
  margin: -2px 0 0;
  color: #7d8891;
  font-size: 13px;
  font-weight: 700;
}

.help-article-page,
.help-center-page,
.transfer-page {
  margin: calc(-12px - env(safe-area-inset-top)) -14px calc(-20px - env(safe-area-inset-bottom)) !important;
}

.article-detail-head {
  top: calc(-12px - env(safe-area-inset-top));
  min-height: calc(48px + env(safe-area-inset-top));
}

.help-article-page {
  min-height: 100vh;
  min-height: 100dvh;
  background: #ffffff;
}

.help-article {
  padding: 16px 16px 44px;
}

.about-dex-page {
  min-height: 100vh;
  min-height: 100dvh;
  background: #f4f8f9;
}

.about-dex-page .profile-detail-head {
  background: #ffffff;
}

.about-dex-content {
  display: grid;
  gap: 12px;
  padding: 12px 12px 44px;
}

.about-dex-hero {
  display: grid;
  gap: 8px;
  border: 1px solid rgba(32, 203, 216, 0.22);
  border-radius: 8px;
  background: linear-gradient(135deg, #e9fdff 0%, #ffffff 58%, #fff7e8 100%);
  padding: 18px 16px;
  box-shadow: 0 10px 24px rgba(31, 48, 58, 0.06);
}

.about-dex-kicker {
  width: fit-content;
  border-radius: 999px;
  background: rgba(32, 203, 216, 0.14);
  padding: 5px 9px;
  color: #067984;
  font-size: 12px;
  font-weight: 850;
}

.about-dex-hero h2,
.about-dex-card h3 {
  margin: 0;
  color: #111820;
  letter-spacing: 0;
}

.about-dex-hero h2 {
  font-size: 20px;
  font-weight: 950;
  line-height: 1.26;
}

.about-dex-hero p,
.about-dex-card p,
.about-dex-note {
  margin: 0;
  color: #5f6b75;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.6;
}

.about-dex-highlight-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.about-dex-highlight,
.about-dex-card {
  border: 1px solid rgba(231, 237, 240, 0.94);
  border-radius: 8px;
  background: #ffffff;
}

.about-dex-highlight {
  display: grid;
  gap: 6px;
  min-height: 98px;
  padding: 13px 12px;
}

.about-dex-highlight strong {
  color: #0c8791;
  font-size: 15px;
  font-weight: 950;
  line-height: 1.2;
}

.about-dex-highlight span {
  color: #66737d;
  font-size: 12px;
  font-weight: 680;
  line-height: 1.45;
}

.about-dex-card {
  display: grid;
  gap: 10px;
  padding: 15px 14px;
}

.about-dex-card h3 {
  font-size: 16px;
  font-weight: 900;
}

.about-dex-list {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  color: #4d5963;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.5;
  list-style: none;
}

.about-dex-list li {
  position: relative;
  min-height: 20px;
  padding-left: 17px;
}

.about-dex-list li::before {
  content: "";
  position: absolute;
  top: 0.65em;
  left: 2px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #20cbd8;
}

.about-dex-list.is-numbered {
  counter-reset: about-dex-step;
}

.about-dex-list.is-numbered li {
  padding-left: 34px;
}

.about-dex-list.is-numbered li::before {
  counter-increment: about-dex-step;
  content: counter(about-dex-step);
  top: 0;
  left: 0;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #111820;
  color: #ffffff;
  font-size: 12px;
  font-weight: 900;
}

.about-dex-risk-card {
  border-color: rgba(245, 173, 45, 0.35);
  background: #fffdf7;
}

.about-dex-risk-card .about-dex-list li::before {
  background: #f5ad2d;
}

.about-dex-note {
  padding: 0 2px 4px;
  color: #8a959e;
  font-size: 12px;
}

.transfer-page {
  display: grid;
  grid-template-rows: auto auto auto minmax(0, 1fr);
  align-content: start;
  min-height: 100vh;
  min-height: 100dvh;
  background: #f4f8f9;
  padding-bottom: calc(86px + env(safe-area-inset-bottom));
}

.transfer-page .profile-detail-head {
  background: #ffffff;
  box-shadow: 0 1px 0 rgba(17, 24, 39, 0.05);
}

.transfer-route-card,
.transfer-form-card {
  margin: 12px 12px 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(221, 232, 236, 0.9);
  box-shadow: 0 10px 26px rgba(31, 48, 58, 0.04);
}

.transfer-account-row,
.transfer-select-row {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 24px;
  align-items: center;
  width: 100%;
  min-height: 62px;
  background: #ffffff;
  padding: 0 16px;
  color: #0f1a24;
  text-align: left;
}

.transfer-account-row + .transfer-account-row,
.transfer-select-row + .transfer-amount-field {
  border-top: 1px solid #e6eef1;
}

.transfer-account-row span,
.transfer-select-row span,
.transfer-amount-field > span {
  color: #6d7b85;
  font-size: 13px;
  font-weight: 780;
}

.transfer-account-row strong,
.transfer-select-row strong {
  min-width: 0;
  font-size: 15px;
  font-weight: 850;
}

.transfer-account-row i,
.transfer-select-row i {
  color: var(--brand-strong);
  font-style: normal;
  font-size: 18px;
  text-align: right;
}

.transfer-route-card .transfer-swap-btn {
  position: absolute;
  top: 50%;
  right: 28px;
  z-index: 1;
  width: 36px;
  height: 36px;
  border: 4px solid #ffffff;
  background: var(--brand);
  color: #062023;
  transform: translateY(-50%);
}

.transfer-form-card .transfer-amount-field {
  gap: 0;
  padding: 14px 16px 12px;
}

.transfer-form-card .transfer-amount-field div {
  min-height: 50px;
  margin-top: 8px;
  border-radius: 7px;
  background: #f4f8f9;
  padding: 0 14px;
}

.transfer-note {
  margin: -4px 16px 14px;
  color: #6d7b85;
  font-weight: 760;
}

.transfer-page .detail-submit-bar,
.withdraw-page .detail-submit-bar {
  padding: 12px 20px calc(14px + env(safe-area-inset-bottom));
}

.withdraw-page {
  padding-bottom: calc(112px + env(safe-area-inset-bottom));
}

.withdraw-page .withdraw-record-card {
  margin-bottom: 14px;
}

.deposit-page,
.withdraw-page {
  background: #f4f8f9;
}

.deposit-page .profile-detail-head,
.withdraw-page .profile-detail-head {
  background: #ffffff;
  box-shadow: 0 1px 0 rgba(17, 24, 39, 0.05);
}

.fund-panel,
.withdraw-panel,
.withdraw-bind-card,
.withdraw-fee-card,
.withdraw-record-card {
  margin: 12px 12px 0;
  border: 1px solid rgba(221, 232, 236, 0.9);
  border-radius: 8px;
  box-shadow: 0 8px 22px rgba(31, 48, 58, 0.04);
}

.coin-select-field,
.withdraw-input-field,
.fund-password-input {
  border-radius: 7px;
  background: #f4f8f9;
}

.usdt-mark {
  background: var(--brand-strong);
  color: #062023;
}

.coin-inline-icon {
  display: inline-block;
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: contain;
  overflow: hidden;
  vertical-align: middle;
  -webkit-user-drag: none;
  user-select: none;
}

.coin-logo.is-custom-usdt-icon,
.coin-inline-icon.is-custom-usdt-icon,
img[src$="/usdt.png"] {
  border-radius: 50%;
  background: transparent;
  object-fit: contain;
}

.coin-select-right,
.withdraw-select-value,
.withdraw-amount-coin {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.withdraw-input-field > .coin-inline-icon,
.withdraw-select-value .coin-inline-icon,
.withdraw-amount-coin .coin-inline-icon,
.coin-select-right .coin-inline-icon {
  width: 28px;
  height: 28px;
}

.withdraw-amount-coin {
  flex: 0 0 auto;
  margin-left: auto;
  color: #111820;
  font-size: 16px;
  font-weight: 700;
}

.withdraw-input-field.is-select {
  justify-content: space-between;
}

.withdraw-input-field.is-select > .withdraw-select-label {
  min-width: 0;
  margin-left: 0;
  overflow: hidden;
  color: #111820;
  font-size: 16px;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.withdraw-input-field.is-select > .withdraw-select-value {
  flex: 0 0 auto;
  margin-left: 0;
}

.withdraw-page .withdraw-panel label.withdraw-input-field input:focus,
.withdraw-page .withdraw-panel label.withdraw-input-field input:focus-visible {
  outline: 0;
  box-shadow: none;
}

.withdraw-page .withdraw-panel label.withdraw-input-field:focus-within {
  box-shadow: none;
}

.withdraw-page .withdraw-panel label.withdraw-input-field input {
  caret-color: #111820;
  font-size: 16px;
  line-height: 1.3;
}

.withdraw-balance-card {
  margin: 12px 12px 0;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(98, 238, 248, 0.92), rgba(233, 253, 255, 0.96)),
    #ffffff;
  color: #07151a;
  box-shadow: 0 10px 26px rgba(31, 48, 58, 0.05);
}

.withdraw-bind-card button,
.withdraw-fee-card div:last-child strong,
.transfer-amount-field button,
.address-copy-field button {
  color: #062023;
}

.withdraw-bind-card button,
.withdraw-fee-card div:last-child strong,
.transfer-amount-field button {
  color: var(--brand-strong);
}

.withdraw-fee-card strong,
.withdraw-row-head strong,
.withdraw-step-title {
  color: #0f1a24;
}

.withdraw-record-card {
  display: grid;
  gap: 0;
  background: #ffffff;
  overflow: hidden;
}

.withdraw-record-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 44px;
  padding: 0 16px;
  border-bottom: 1px solid #e8eef2;
}

.withdraw-record-head strong {
  color: #0f1a24;
  font-size: 14px;
  font-weight: 900;
}

.withdraw-record-list {
  display: grid;
}

.withdraw-record-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  min-height: 72px;
  padding: 12px 16px;
  border-bottom: 1px solid #edf2f5;
}

.withdraw-record-item:last-child {
  border-bottom: 0;
}

.withdraw-record-main,
.withdraw-record-side {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.withdraw-record-main strong,
.withdraw-record-side strong {
  color: #111820;
  font-size: 14px;
  font-weight: 880;
}

.withdraw-record-main span,
.withdraw-record-main small,
.withdraw-record-side small,
.withdraw-record-side span {
  min-width: 0;
  overflow: hidden;
  color: #73808c;
  font-size: 12px;
  font-weight: 720;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.withdraw-record-main small {
  overflow: visible;
  overflow-wrap: anywhere;
  text-overflow: initial;
  white-space: normal;
}

.withdraw-record-reason {
  color: #d45151;
}

.withdraw-record-side {
  justify-items: end;
  text-align: right;
}

.withdraw-record-side small {
  color: #8d98a3;
}

.withdraw-record-status-text {
  font-weight: 820;
}

.withdraw-record-item.is-pending .withdraw-record-status-text {
  color: #b7791f;
}

.withdraw-record-item.is-success .withdraw-record-status-text {
  color: #0aa66a;
}

.withdraw-record-item.is-rejected .withdraw-record-status-text,
.withdraw-record-item.is-rejected .withdraw-record-reason {
  color: #d45151;
}

.withdraw-record-empty {
  display: grid;
  place-items: center;
  min-height: 76px;
  color: #9aa5ad;
  font-size: 13px;
  font-weight: 760;
}

.deposit-page .mock-qr.is-backend-slot {
  position: relative;
  display: block;
  width: 156px;
  height: 156px;
  border: 0;
  border-radius: 6px;
  background: #ffffff;
  padding: 6px;
}

.deposit-page .mock-qr.is-backend-slot:not(.has-qr-image) {
  border: 1px dashed #c8d6dc;
  background:
    linear-gradient(135deg, rgba(98, 238, 248, 0.12), rgba(255, 255, 255, 0.9)),
    #ffffff;
}

.deposit-page .mock-qr.is-backend-slot::before {
  display: none;
  content: none;
}

.deposit-page .mock-qr.is-backend-slot span {
  display: none;
}

.deposit-page .mock-qr.is-backend-slot img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 2px;
  object-fit: contain;
}

.deposit-page .deposit-address-warning {
  margin: 12px 0 10px;
  color: #596773;
  font-size: 12px;
  font-weight: 760;
  line-height: 1.45;
  text-align: center;
}

.deposit-page .address-copy-field {
  grid-template-columns: minmax(0, 1fr) 76px;
  gap: 10px;
  min-height: 52px;
  border-color: rgba(32, 203, 216, 0.5);
  background: #ffffff;
}

.deposit-page .address-copy-field button:disabled {
  opacity: 0.48;
}

.receive-address-input {
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 38px;
  max-height: 42px;
  border: 0;
  background: transparent;
  color: #10202a;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
  resize: none;
  overflow: hidden;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-all;
  -webkit-appearance: none;
  appearance: none;
}

.receive-address-input:focus {
  outline: 0;
}

.receive-picker-backdrop {
  position: fixed;
  inset: 0;
  z-index: 75;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  background: rgba(0, 0, 0, 0.52);
}

.receive-picker {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-height: min(82dvh, calc(100dvh - 12px));
  border-radius: 16px 16px 0 0;
  background: #ffffff;
  padding: 16px 14px calc(18px + env(safe-area-inset-bottom));
  overflow: hidden;
  animation: profileSheetRise 220ms linear forwards;
}

.receive-picker-head {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 38px;
  align-items: center;
  margin-bottom: 12px;
}

.receive-picker-head h2 {
  grid-column: 2;
  margin: 0;
  color: #121a22;
  font-size: 16px;
  font-weight: 900;
  text-align: center;
}

.receive-picker-head button {
  grid-column: 3;
  width: 38px;
  height: 38px;
  background: transparent;
  color: #7d8891;
  font-size: 28px;
  font-weight: 300;
}

.receive-option-list {
  display: grid;
  flex: 1 1 auto;
  gap: 8px;
  min-height: 0;
  max-height: none;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-right: 2px;
  scrollbar-width: none;
  touch-action: pan-y;
  -webkit-overflow-scrolling: touch;
}

.receive-option-list::-webkit-scrollbar {
  width: 0;
}

.receive-option {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 10px;
  min-height: 52px;
  border: 1px solid #e3ecef;
  border-radius: 8px;
  background: #f8fbfc;
  padding: 0 14px;
  color: #101a22;
  text-align: left;
  touch-action: pan-y;
}

.receive-option strong {
  font-size: 15px;
  font-weight: 900;
}

.receive-option .coin-inline-icon {
  width: 26px;
  height: 26px;
}

.receive-option span {
  color: #6d7b85;
  font-size: 13px;
  font-weight: 780;
}

.receive-option.is-active {
  border-color: var(--brand-strong);
  background: var(--brand-soft);
}

.profile-detail-page .profile-detail-head {
  background: inherit;
  box-shadow: none;
}

.deposit-page .profile-detail-head,
.withdraw-page .profile-detail-head,
.transfer-page .profile-detail-head {
  background: inherit;
  box-shadow: none;
}

.withdraw-balance-card,
.fund-panel:first-of-type,
.transfer-card:first-of-type {
  margin-top: 8px;
}

.withdraw-bind-card.is-bound {
  justify-items: stretch;
  gap: 8px;
  padding: 14px 16px;
  color: #111820;
  text-align: left;
}

.withdraw-bind-card.is-bound strong {
  color: #111820;
  font-size: 14px;
  font-weight: 850;
}

.withdraw-bind-card.is-bound span {
  display: block;
  min-height: 48px;
  border: 1px solid rgba(246, 180, 60, 0.7);
  border-radius: 5px;
  background: #fffdf7;
  padding: 14px 16px;
  color: #10202a;
  font-size: 13px;
  font-weight: 650;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.messages-page .profile-detail-head {
  min-height: 42px;
  padding-top: 0;
  background: #ffffff;
  box-shadow: none;
}

.message-mark-read-btn {
  justify-self: end;
  display: inline-grid;
  place-items: center;
  width: 34px;
  min-width: 34px;
  height: 34px;
  min-height: 34px;
  margin-right: 10px;
  border-radius: 50%;
  background: transparent;
  color: #111827;
  padding: 0;
}

.message-mark-read-btn:disabled {
  background: #f1f5f7;
  color: #9aa5ad;
  cursor: default;
}

.message-broom-icon {
  width: 19px;
  height: 19px;
}

body.is-profile-detail-page .app-main:has(.messages-page) {
  padding-top: 0;
}

.messages-page {
  margin-top: 0;
}

.messages-page .message-tabs {
  margin-top: 20px;
}

.messages-page .message-empty {
  padding-top: 132px;
}

.messages-page .message-empty.has-remote-empty {
  padding-top: 0;
}

.messages-page .message-empty.has-message-list {
  justify-items: stretch;
  gap: 0;
  padding: 12px 12px 24px;
  color: var(--text);
}

.remote-message-empty {
  display: grid;
  justify-items: center;
  gap: 16px;
  padding-top: 120px;
  color: #c0c4c8;
}

.message-list {
  display: grid;
  gap: 10px;
  width: 100%;
}

.message-card {
  display: grid;
  gap: 8px;
  width: 100%;
  border: 1px solid #e8eef1;
  border-radius: 8px;
  background: #ffffff;
  padding: 12px;
  box-shadow: 0 8px 18px rgba(31, 48, 58, 0.05);
}

.message-card.is-unread {
  border-color: rgba(32, 203, 216, 0.45);
}

.message-card-head,
.message-card-meta {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.message-card h2 {
  min-width: 0;
  margin: 0;
  color: #111820;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.35;
}

.message-card p {
  margin: 0;
  color: #53616d;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.message-category,
.message-unread-dot {
  flex: 0 0 auto;
}

.message-category {
  border-radius: 999px;
  background: #e9fdff;
  padding: 4px 8px;
  color: #08727b;
  font-size: 11px;
  font-weight: 850;
}

.message-card time {
  color: #9aa5ad;
  font-size: 12px;
  font-weight: 700;
}

.message-unread-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-strong);
}

.feature-shortcut.has-message-unread {
  position: relative;
}

.profile-message-unread-badge {
  position: absolute;
  top: 8px;
  right: 10px;
  display: grid;
  place-items: center;
  min-width: 18px;
  height: 18px;
  border: 2px solid #ffffff;
  border-radius: 999px;
  background: #ef4444;
  padding: 0 5px;
  color: #ffffff;
  font-size: 10px;
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 6px 12px rgba(239, 68, 68, 0.24);
}

.quick-action.has-support-unread,
.circle-btn.has-support-unread,
.feature-shortcut.has-support-unread,
.function-row.has-support-unread,
.help-row.has-support-unread {
  position: relative;
  overflow: visible;
}

.support-unread-dot {
  position: absolute;
  top: 8px;
  right: 10px;
  width: 10px;
  height: 10px;
  min-width: 10px;
  max-width: 10px;
  min-height: 10px;
  max-height: 10px;
  border: 2px solid #ffffff;
  border-radius: 999px;
  background: #ef4444;
  padding: 0;
  font-size: 0;
  line-height: 0;
  pointer-events: none;
  box-shadow: 0 6px 12px rgba(239, 68, 68, 0.24);
}

.function-row .support-unread-dot,
.help-row .support-unread-dot {
  top: 50%;
  right: 34px;
  transform: translateY(-50%);
}

.message-action-link {
  justify-self: start;
  min-height: 30px;
  border-radius: 5px;
  background: var(--brand);
  padding: 6px 10px;
  color: #06191b;
  font-size: 12px;
  font-weight: 850;
  text-decoration: none;
}

.message-tab.is-active::after {
  background: var(--brand-strong);
}

.message-empty {
  padding-top: 122px;
}

.empty-mail-illustration {
  width: 82px;
  height: 72px;
}

.empty-mail-illustration span {
  inset: 16px 7px 4px;
  border-radius: 7px 7px 5px 5px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(245, 246, 242, 0.78)),
    #f1f2ed;
  box-shadow:
    inset 0 -14px 0 rgba(255, 255, 255, 0.58),
    0 8px 18px rgba(31, 48, 58, 0.04);
  clip-path: polygon(0 26%, 23% 26%, 33% 48%, 67% 48%, 77% 26%, 100% 26%, 100% 100%, 0 100%);
}

.empty-mail-illustration span::before {
  top: -15px;
  right: 6px;
  left: 6px;
  height: 24px;
  border: 0;
  border-radius: 4px 4px 0 0;
  background: linear-gradient(180deg, #eef0eb, #f7f8f3);
  clip-path: polygon(10% 0, 90% 0, 100% 100%, 0 100%);
}

.empty-mail-illustration span::after {
  content: "";
  position: absolute;
  left: 10px;
  bottom: 18px;
  width: 31px;
  height: 5px;
  border-radius: 999px;
  background: #d9ddd7;
  box-shadow: 0 13px 0 #d9ddd7;
}

.empty-mail-illustration i {
  right: 2px;
  bottom: 2px;
  width: 24px;
  height: 24px;
  border: 3px solid #ffffff;
  background: var(--brand-strong);
  color: #ffffff;
  font-size: 16px;
  box-shadow: 0 4px 10px rgba(32, 203, 216, 0.22);
}

.deposit-record-empty[data-record-panel],
.message-empty[data-message-panel] {
  background: #ffffff;
}

.deposit-record-page .profile-detail-head {
  position: relative;
  top: auto;
  align-self: start;
  margin-top: 0;
}

.deposit-record-page .deposit-record-tabs {
  margin-top: 10px;
}

.fund-verify-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1400;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  padding-top: 0;
  background: transparent;
  overflow: hidden;
  pointer-events: auto;
}

.fund-verify-sheet {
  --aibit-keypad-bottom-gap: calc(30px + env(safe-area-inset-bottom));
  display: grid;
  align-content: end;
  grid-template-rows: auto auto auto auto auto;
  gap: clamp(8px, 1.55dvh, 20px);
  width: 100%;
  height: min(68dvh, 580px);
  min-height: 0;
  max-height: calc(100dvh - 8px);
  margin: 0;
  border-radius: 28px 28px 0 0;
  background: #ffffff;
  padding: clamp(8px, 1.2dvh, 16px) 24px var(--aibit-keypad-bottom-gap);
  overflow: hidden;
  pointer-events: auto;
  overscroll-behavior: contain;
  pointer-events: auto;
  animation: fundVerifyRise 180ms ease-out forwards;
  transition: box-shadow 160ms ease;
}

@keyframes fundVerifyRise {
  from {
    transform: translateY(100%);
  }

  to {
    transform: translateY(0);
  }
}

.fund-keypad-handle,
.aibit-number-keypad-handle {
  justify-self: center;
  width: clamp(44px, 12vw, 50px);
  height: clamp(5px, 0.95dvh, 7px);
  border-radius: 999px;
  background: #aeb7ba;
  margin-bottom: clamp(4px, 0.85dvh, 14px);
}

.fund-verify-sheet > h2,
.aibit-number-keypad-sheet > h2 {
  margin: 0;
  color: #05232b;
  font-size: clamp(21px, 3.45dvh, 32px);
  font-weight: 900;
  line-height: 1.1;
  text-align: left;
}

.fund-verify-head {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) 36px;
  align-items: center;
}

.fund-verify-head h2 {
  grid-column: 2;
  margin: 0;
  color: #111820;
  font-size: 16px;
  font-weight: 900;
  text-align: center;
}

.fund-verify-head button {
  grid-column: 3;
  width: 36px;
  height: 36px;
  background: transparent;
  color: #7d8891;
  font-size: 28px;
  font-weight: 300;
}

.fund-verify-note {
  margin: -2px 0 0;
  color: #6d7b85;
  font-size: 12px;
  font-weight: 720;
  line-height: 1.4;
}

.fund-verify-field {
  display: grid;
  gap: 10px;
  color: #111820;
  font-size: 13px;
  font-weight: 780;
}

.fund-verify-field input {
  width: 100%;
  min-height: 48px;
  border: 0;
  border-radius: 7px;
  background: #f4f8f9;
  padding: 0 14px;
  color: #111820;
}

.fund-pin-wrap {
  position: relative;
  display: block;
  padding-right: 0;
}

.fund-pin-input {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(7px, 1.1dvh, 12px);
}

.fund-pin-input span {
  display: grid;
  place-items: center;
  width: 100%;
  min-height: 0;
  aspect-ratio: 1;
  border: 1px solid transparent;
  border-radius: 14px;
  background: #f4f6f7;
}

.fund-pin-input span.is-filled::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #111820;
}

.fund-pin-input span.is-visible {
  color: #111820;
  font-size: 18px;
  font-weight: 850;
  line-height: 1;
}

.fund-pin-input span.is-visible::before {
  content: none;
}

.fund-pin-wrap:focus-within .fund-pin-input span {
  border-color: transparent;
  box-shadow: none;
}

.fund-pin-input span:first-child:not(.is-filled),
.aibit-number-pin-display span:first-child:not(.is-filled) {
  border-color: #0a4451;
  background: #fbffff;
  box-shadow: inset 0 0 0 1px #0a4451;
}

.fund-verify-sheet.has-error .fund-pin-input span {
  border-color: rgba(225, 76, 76, 0.86);
  background: #ffffff;
  box-shadow: inset 0 0 0 1px rgba(225, 76, 76, 0.86);
}

.fund-verify-sheet.has-error .fund-pin-input span.is-filled::before {
  background: #e14c4c;
}

.fund-verify-field .fund-pin-hidden {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
  opacity: 0;
  caret-color: transparent;
}

.fund-verify-error {
  align-self: start;
  min-height: 18px;
  margin: -4px 0 0;
  background: transparent;
  padding: 0 2px;
  color: #e14c4c;
  font-size: 12px;
  font-weight: 760;
  line-height: 18px;
}

.fund-verify-error[hidden] {
  display: block;
  visibility: hidden;
}

.fund-verify-actions {
  display: none;
}

.fund-verify-actions button {
  min-height: 44px;
  border-radius: 7px;
  font-size: 14px;
  font-weight: 850;
}

.fund-verify-cancel {
  background: #eef4f6;
  color: #52616b;
}

.fund-verify-confirm {
  background: #111111;
  color: #ffffff;
}

.fund-verify-keypad-grid,
.aibit-number-keypad-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: repeat(4, minmax(0, 1fr));
  gap: clamp(2px, 0.65dvh, 8px) clamp(20px, 7vw, 42px);
  height: clamp(152px, 21dvh, 208px);
  margin-top: 0;
  min-height: 0;
}

.fund-verify-keypad-grid button,
.aibit-number-keypad-grid button {
  min-height: 0;
  height: 100%;
  border: 0;
  border-radius: 12px;
  background: #ffffff;
  color: #05232b;
  font-size: clamp(22px, 3.7dvh, 34px);
  font-weight: 850;
  line-height: 1;
  box-shadow: none;
  touch-action: manipulation;
}

.fund-verify-keypad-grid button:active,
.aibit-number-keypad-grid button:active {
  background: #f3f7f8;
  transform: translateY(1px);
}

.fund-verify-keypad-cancel,
.aibit-number-keypad-cancel {
  color: transparent !important;
  font-size: 0 !important;
}

.fund-verify-keypad-cancel {
  display: grid;
  place-items: center;
  color: #52616b !important;
  font-size: 0 !important;
  font-weight: 850;
}

.fund-verify-keypad-cancel::before {
  content: "";
  width: clamp(18px, 3.2dvh, 24px);
  height: clamp(18px, 3.2dvh, 24px);
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M2.146 2.854a.5.5 0 1 1 .708-.708L8 7.293l5.146-5.147a.5.5 0 0 1 .708.708L8.707 8l5.147 5.146a.5.5 0 0 1-.708.708L8 8.707l-5.146 5.147a.5.5 0 0 1-.708-.708L7.293 8z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M2.146 2.854a.5.5 0 1 1 .708-.708L8 7.293l5.146-5.147a.5.5 0 0 1 .708.708L8.707 8l5.147 5.146a.5.5 0 0 1-.708.708L8 8.707l-5.146 5.147a.5.5 0 0 1-.708-.708L7.293 8z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.fund-verify-keypad-delete,
.aibit-number-keypad-delete {
  display: grid;
  place-items: center;
  color: #05232b !important;
  font-size: 0 !important;
}

.fund-verify-keypad-delete svg,
.aibit-number-keypad-delete svg {
  width: clamp(30px, 5.2dvh, 42px);
  height: clamp(23px, 4dvh, 32px);
}

.fund-verify-keypad-delete svg path,
.aibit-number-keypad-delete svg path {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 3.6;
}

.feature-shortcut.is-kyc-approved .app-icon path:nth-of-type(2) {
  stroke: #0aa66a;
  stroke-width: 2.2;
}

.feature-shortcut.is-kyc-pending .icon-circle {
  border-color: rgba(148, 163, 184, 0.35);
  background: #f3f6f7;
  color: #64748b;
}

.feature-shortcut.is-kyc-rejected .icon-circle {
  border-color: rgba(239, 68, 68, 0.35);
  background: #fff1f1;
  color: #ef4444;
  box-shadow: 0 8px 18px rgba(239, 68, 68, 0.18);
}

.profile-avatar-stack {
  display: grid;
  justify-items: center;
  gap: 5px;
  flex: 0 0 auto;
  min-width: 72px;
}

.profile-avatar-stack .profile-avatar {
  width: 58px;
  height: 58px;
}

.profile-page .profile-hero {
  overflow: hidden;
}

.profile-page .profile-hero > div:last-child {
  min-width: 0;
  flex: 1 1 auto;
}

.profile-page .profile-hero h1 {
  max-width: 100%;
  font-size: 17px;
  font-weight: 900;
  line-height: 1.22;
  overflow-wrap: anywhere;
  white-space: normal;
}

.market-news-card {
  display: grid;
  align-content: start;
  gap: 7px;
  color: inherit;
  text-decoration: none;
}

.market-news-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.market-news-tag {
  display: inline-flex;
  align-items: center;
  min-height: 20px;
  border-radius: 999px;
  background: rgba(98, 238, 248, 0.22);
  padding: 0 8px;
  color: #057984;
  font-size: 11px;
  font-weight: 900;
}

.market-news-card small {
  color: #98a4ad;
  font-size: 10.5px;
  font-weight: 750;
  white-space: nowrap;
}

.market-news-card strong {
  margin-bottom: 0;
  line-height: 1.35;
}

.market-news-status {
  flex: 0 0 100%;
  margin: 0;
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.04);
  padding: 8px 10px;
  color: #60707a;
  font-size: 12px;
  font-weight: 760;
}

.offline-state-card {
  display: grid;
  gap: 4px;
  margin: 10px 0 4px;
  border: 1px solid rgba(32, 203, 216, 0.22);
  border-radius: 8px;
  background: #f5feff;
  padding: 10px 12px;
  color: #0f2d35;
  box-shadow: 0 8px 20px rgba(31, 48, 58, 0.05);
}

.offline-state-card strong {
  font-size: 13px;
  font-weight: 900;
}

.offline-state-card span {
  color: #60707a;
  font-size: 12px;
  font-weight: 720;
  line-height: 1.45;
}

img.is-image-loading {
  background: linear-gradient(90deg, #edf3f4 0%, #f8fbfb 50%, #edf3f4 100%);
  background-size: 200% 100%;
  animation: aibit-image-loading 1.1s linear infinite;
}

img.is-image-error {
  opacity: 0.42;
}

@keyframes aibit-image-loading {
  to {
    background-position: -200% 0;
  }
}

.profile-unverified-label {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 18px;
  color: #565656;
  font-size: 12px;
  font-weight: 800;
  line-height: 18px;
  white-space: nowrap;
}

.profile-unverified-label-icon {
  position: absolute;
  top: 50%;
  left: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  transform: translateY(-50%);
}

.profile-unverified-label-icon svg {
  display: block;
  width: 22px;
  height: 22px;
}

.profile-unverified-label-text {
  display: inline-flex;
  align-items: center;
  height: 18px;
  margin-left: 12px;
  border-radius: 2px;
  background: #e4e6e8;
  padding: 0 6px 0 12px;
  color: #565656;
}

.profile-unverified-label.is-approved {
  color: #0aa66a;
}

.profile-unverified-label.is-approved .profile-unverified-label-icon path:first-child {
  fill: #12b981;
}

.profile-unverified-label.is-approved .profile-unverified-label-icon path:last-child {
  fill: #ffffff;
}

.profile-unverified-label.is-approved .profile-unverified-label-text {
  background: #dff8ec;
  color: #0a8f5a;
}

.kyc-proof-page {
  min-height: 100vh;
  min-height: 100dvh;
  background: #ffffff;
  padding-bottom: calc(88px + env(safe-area-inset-bottom));
}

.kyc-proof-head {
  position: sticky;
  top: 0;
  z-index: 12;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 44px;
  align-items: center;
  min-height: calc(44px + env(safe-area-inset-top));
  padding-top: env(safe-area-inset-top);
  background: #ffffff;
  box-shadow: 0 1px 0 rgba(17, 24, 39, 0.04);
}

.kyc-proof-head h1 {
  margin: 0;
  color: #15171a;
  font-size: 18px;
  font-weight: 900;
  text-align: center;
}

.kyc-proof-close {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  background: transparent;
  color: #8a8f96;
  font-size: 30px;
  font-weight: 300;
  line-height: 1;
}

.kyc-proof-content {
  display: grid;
  align-content: start;
  gap: 24px;
  padding: 18px 18px 24px;
}

.kyc-proof-intro {
  display: grid;
  gap: 10px;
}

.kyc-proof-intro h2 {
  margin: 0;
  color: #111317;
  font-size: 24px;
  font-weight: 950;
  line-height: 1.15;
}

.kyc-proof-intro p {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  color: #6f7379;
  font-size: 14px;
  font-weight: 650;
}

.kyc-proof-note-icon {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 13px;
  height: 13px;
  border-radius: 3px;
  background: #5f6368;
}

.kyc-proof-note-icon::after {
  content: "";
  width: 6px;
  height: 4px;
  border-bottom: 2px solid #ffffff;
  border-left: 2px solid #ffffff;
  transform: rotate(-45deg) translate(1px, -1px);
}

.kyc-proof-selector-card {
  display: grid;
  gap: 20px;
}

.kyc-proof-field {
  display: grid;
  gap: 8px;
  color: #1d2127;
  font-size: 15px;
  font-weight: 850;
}

.kyc-proof-select {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  min-height: 48px;
  border: 1px solid #d9dde2;
  border-radius: 11px;
  background: #ffffff;
  padding: 0 14px;
  color: #191c20;
  text-align: left;
}

.kyc-proof-value {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.kyc-proof-value strong {
  min-width: 0;
  overflow: hidden;
  font-size: 16px;
  font-weight: 650;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.kyc-flag-wrap {
  position: relative;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
}

.kyc-flag-fallback {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  overflow: hidden;
  border-radius: 50%;
  background: #f2f3f5;
  font-size: 20px;
  line-height: 1;
}

.kyc-country-flag {
  position: absolute;
  inset: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(17, 24, 39, 0.08);
}

.kyc-proof-upload {
  display: grid;
  gap: 12px;
  padding-top: 2px;
}

.kyc-proof-page .kyc-section-title {
  margin-top: 0;
  color: #1d2127;
  font-weight: 850;
}

.kyc-proof-page .kyc-section-title small {
  color: #707780;
  font-weight: 620;
}

.kyc-proof-page .detail-submit-bar {
  border-top: 0;
  background: #ffffff;
  padding: 14px 18px calc(20px + env(safe-area-inset-bottom));
}

.kyc-proof-page .kyc-submit-btn {
  min-height: 40px;
  border-radius: 7px;
  background: #151517;
  color: #ffffff;
  font-size: 15px;
}

.kyc-rejected-alert {
  display: grid;
  gap: 5px;
  border: 1px solid rgba(239, 68, 68, 0.2);
  border-radius: 10px;
  background: #fff5f5;
  padding: 12px 14px;
  color: #991b1b;
}

.kyc-rejected-alert strong {
  font-size: 14px;
  font-weight: 900;
}

.kyc-rejected-alert span {
  color: #b42318;
  font-size: 13px;
  font-weight: 720;
  line-height: 1.45;
}

.kyc-review-page {
  min-height: 100vh;
  min-height: 100dvh;
  background: #ffffff;
}

.kyc-review-content {
  display: grid;
  justify-items: center;
  gap: 14px;
  width: min(100%, 430px);
  margin: 0 auto;
  padding: 72px 24px 32px;
  text-align: center;
}

.kyc-review-icon {
  display: grid;
  place-items: center;
  width: 82px;
  height: 82px;
  border-radius: 20px;
  background: var(--brand-soft);
  color: var(--brand-strong);
}

.kyc-review-icon span {
  position: relative;
  display: block;
  width: 44px;
  height: 54px;
  border: 3px solid currentColor;
  border-radius: 8px;
}

.kyc-review-icon span::before,
.kyc-review-icon span::after {
  content: "";
  position: absolute;
  left: 9px;
  right: 9px;
  height: 3px;
  border-radius: 999px;
  background: currentColor;
}

.kyc-review-icon span::before {
  top: 14px;
}

.kyc-review-icon span::after {
  top: 25px;
}

.kyc-review-content h2 {
  margin: 4px 0 0;
  color: #111820;
  font-size: 22px;
  font-weight: 950;
  line-height: 1.18;
}

.kyc-review-content p {
  max-width: 330px;
  margin: 0;
  color: #667580;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.55;
}

.kyc-review-card {
  display: grid;
  gap: 0;
  width: 100%;
  margin-top: 8px;
  border: 1px solid #e6eef2;
  border-radius: 10px;
  background: #f8fbfc;
  overflow: hidden;
}

.kyc-review-card div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 48px;
  border-bottom: 1px solid #e6eef2;
  padding: 0 14px;
  text-align: left;
}

.kyc-review-card div:last-child {
  border-bottom: 0;
}

.kyc-review-card span {
  color: #7a8791;
  font-size: 13px;
  font-weight: 760;
}

.kyc-review-card strong {
  color: #111820;
  font-size: 14px;
  font-weight: 900;
}

.kyc-review-back-btn {
  width: 100%;
  min-height: 44px;
  margin-top: 8px;
  border-radius: 8px;
  background: var(--brand-strong);
  color: #061416;
  font-size: 15px;
  font-weight: 900;
}

.kyc-page input:focus,
.kyc-page input:focus-visible,
.kyc-page button:focus,
.kyc-page button:focus-visible,
.kyc-picker button:focus,
.kyc-picker button:focus-visible {
  outline: 0;
  box-shadow: none;
}

.kyc-page input,
.kyc-page button {
  caret-color: #111317;
}

.kyc-picker-backdrop {
  position: fixed;
  inset: 0;
  z-index: 84;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  background: rgba(0, 0, 0, 0.44);
}

.kyc-picker {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  width: 100%;
  max-height: min(74vh, 680px);
  border-radius: 16px 16px 0 0;
  background: #ffffff;
  padding: 14px 14px calc(16px + env(safe-area-inset-bottom));
  animation: profileSheetRise 220ms linear forwards;
}

.kyc-picker.is-compact {
  max-height: none;
}

.kyc-picker-head {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 38px;
  align-items: center;
  padding-bottom: 8px;
}

.kyc-picker-head h2 {
  grid-column: 2;
  margin: 0;
  color: #14171b;
  font-size: 16px;
  font-weight: 900;
  text-align: center;
}

.kyc-picker-head button {
  grid-column: 3;
  width: 38px;
  height: 38px;
  background: transparent;
  color: #80868d;
  font-size: 28px;
  font-weight: 300;
}

.kyc-country-list,
.kyc-doc-list {
  display: grid;
  gap: 8px;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-right: 2px;
}

.kyc-country-option,
.kyc-doc-option {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  border: 1px solid #e0e4e8;
  border-radius: 10px;
  background: #ffffff;
  padding: 0 12px;
  color: #181b20;
  font-size: 15px;
  font-weight: 700;
  text-align: left;
}

.kyc-country-option span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.kyc-country-option.is-active,
.kyc-doc-option.is-active {
  border-color: #17191c;
  background: #f7f7f8;
}

.ai-orders-page.is-empty-preview {
  grid-template-rows: auto minmax(0, 1fr);
  min-height: 100vh;
  min-height: 100dvh;
  background: #ffffff;
}

.ai-orders-page.is-empty-preview .ai-detail-head {
  background: #ffffff;
  box-shadow: 0 1px 0 rgba(17, 24, 39, 0.1);
}

.ai-orders-page.is-empty-preview .ai-order-state-tabs {
  align-self: end;
}

.ai-orders-page.is-empty-preview .ai-order-state-tabs button.is-active::after {
  background: #f5ad2d;
}

.ai-orders-page.is-empty-preview .ai-managed-order-card {
  display: none;
}

.ai-orders-page.is-empty-preview .ai-empty-state {
  display: grid;
  align-content: start;
  justify-items: center;
  gap: 18px;
  min-height: calc(100vh - 82px);
  min-height: calc(100dvh - 82px);
  padding-top: 58px;
  color: #8a9097;
  font-size: 17px;
  font-weight: 500;
}

.ai-orders-page.is-empty-preview .ai-empty-state strong {
  color: #8a9097;
  font-size: 17px;
  font-weight: 500;
}

.ai-orders-page.is-empty-preview .ai-empty-art {
  position: relative;
  width: 178px;
  height: 178px;
  opacity: 0.9;
}

.ai-orders-page.is-empty-preview .ai-empty-cloud,
.ai-orders-page.is-empty-preview .ai-empty-building,
.ai-orders-page.is-empty-preview .ai-empty-paper,
.ai-orders-page.is-empty-preview .ai-empty-box {
  position: absolute;
  display: block;
}

.ai-orders-page.is-empty-preview .ai-empty-cloud {
  border-radius: 999px;
  background: #f2f3f5;
}

.ai-orders-page.is-empty-preview .ai-empty-cloud::before,
.ai-orders-page.is-empty-preview .ai-empty-cloud::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: inherit;
}

.ai-orders-page.is-empty-preview .ai-empty-cloud.is-left {
  top: 24px;
  left: 16px;
  width: 22px;
  height: 9px;
}

.ai-orders-page.is-empty-preview .ai-empty-cloud.is-left::before {
  left: 6px;
  bottom: 2px;
  width: 12px;
  height: 12px;
}

.ai-orders-page.is-empty-preview .ai-empty-cloud.is-right {
  top: 0;
  left: 96px;
  width: 42px;
  height: 17px;
}

.ai-orders-page.is-empty-preview .ai-empty-cloud.is-right::before {
  left: 8px;
  bottom: 3px;
  width: 21px;
  height: 21px;
}

.ai-orders-page.is-empty-preview .ai-empty-cloud.is-right::after {
  right: 5px;
  bottom: 1px;
  width: 16px;
  height: 16px;
}

.ai-orders-page.is-empty-preview .ai-empty-building {
  bottom: 52px;
  width: 42px;
  background: linear-gradient(180deg, rgba(245, 246, 248, 0.55), #eceff2);
}

.ai-orders-page.is-empty-preview .ai-empty-building.is-left {
  left: 18px;
  height: 76px;
}

.ai-orders-page.is-empty-preview .ai-empty-building.is-right {
  right: 16px;
  height: 126px;
}

.ai-orders-page.is-empty-preview .ai-empty-paper {
  left: 58px;
  bottom: 54px;
  width: 76px;
  height: 86px;
  border: 7px solid #eceff2;
  border-bottom: 0;
  border-radius: 3px 3px 0 0;
  background: #fbfbfc;
}

.ai-orders-page.is-empty-preview .ai-empty-paper i {
  display: block;
  width: 45px;
  height: 6px;
  margin: 16px auto 0;
  border-radius: 999px;
  background: #dfe3e7;
}

.ai-orders-page.is-empty-preview .ai-empty-paper i + i {
  margin-top: 10px;
}

.ai-orders-page.is-empty-preview .ai-empty-box {
  left: 44px;
  bottom: 30px;
  width: 106px;
  height: 36px;
  border-radius: 1px;
  background: #dfe3e7;
}

.ai-orders-page.is-empty-preview .ai-empty-box::after {
  content: "";
  position: absolute;
  left: 38px;
  top: 11px;
  width: 31px;
  height: 7px;
  border-radius: 1px;
  background: rgba(255, 255, 255, 0.75);
}

.profile-detail-page > .profile-detail-head + section {
  margin-top: 20px;
}

.deposit-record-page .deposit-record-tabs,
.messages-page .message-tabs {
  margin-top: 20px;
}

.withdrawal-address-form {
  display: grid;
  gap: 18px;
  margin: 20px 16px 0;
}

.withdrawal-address-page .withdrawal-address-form {
  margin: 0 16px;
  padding: 24px 0 0;
}

.address-field {
  display: grid;
  gap: 9px;
  color: #111820;
  font-size: 14px;
  font-weight: 850;
}

.address-input-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 64px;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  border-radius: 7px;
  background: #f4f4f4;
  padding: 0 10px 0 14px;
}

.address-input-row input {
  min-width: 0;
  border: 0;
  background: transparent;
}

.address-input-row button {
  min-height: 34px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 850;
}

.kyc-proof-content {
  width: min(100%, 430px);
  margin: 0 auto;
  gap: 20px;
  padding: 22px 18px 108px;
}

.kyc-proof-intro {
  gap: 8px;
}

.kyc-proof-intro h2 {
  font-size: 23px;
  line-height: 1.12;
}

.kyc-proof-intro p {
  align-items: flex-start;
  font-size: 13px;
  line-height: 1.35;
}

.kyc-proof-selector-card {
  gap: 16px;
}

.kyc-proof-field {
  gap: 9px;
}

.kyc-proof-select {
  min-height: 52px;
  border-radius: 10px;
}

.kyc-proof-upload {
  gap: 16px;
  padding-top: 0;
}

.kyc-upload-grid,
.kyc-sample-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.kyc-upload-grid.is-passport,
.kyc-sample-grid.is-passport {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.kyc-upload-box {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 10px;
  min-height: 98px;
  border: 1px dashed rgba(255, 164, 28, 0.95);
  border-radius: 7px;
  background: #fffdf8;
  color: #f59a12;
  font-size: 12px;
  font-weight: 820;
}

.kyc-upload-box .image-icon {
  width: 24px;
  height: 24px;
}

.kyc-sample {
  display: grid;
  justify-items: center;
  gap: 8px;
  color: #7b848d;
  font-size: 13px;
  font-weight: 650;
}

.kyc-sample-art {
  width: 100%;
  min-height: 84px;
  border-radius: 7px;
  background: #eef1f4;
}

.kyc-proof-page .kyc-section-title {
  display: grid;
  gap: 3px;
}

.transfer-page {
  grid-template-rows: auto auto auto minmax(0, 1fr);
  align-content: start;
  row-gap: 20px;
}

.transfer-page > .profile-detail-head + .transfer-route-card {
  margin-top: 0;
}

.transfer-page .transfer-card:first-of-type {
  margin-top: 0;
}

.transfer-route-card,
.transfer-form-card {
  margin-top: 0;
  margin-right: 12px;
  margin-left: 12px;
  border-radius: 8px;
  transform: translateY(12px);
}

.transfer-account-row {
  grid-template-columns: 48px minmax(0, 1fr);
  min-height: 64px;
  cursor: default;
}

.transfer-account-row i {
  display: none;
}

.transfer-account-copy {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.transfer-account-balance {
  color: #7b8790;
  font-size: 12px;
  font-weight: 760;
}

.transfer-route-card .transfer-swap-btn + .transfer-account-row {
  border-top: 1px solid #e6eef1;
}

.transfer-route-card .transfer-swap-btn {
  right: 26px;
  width: 36px;
  height: 36px;
  border: 0;
  background: var(--brand);
  color: #063034;
}

.transfer-select-row {
  grid-template-columns: 48px minmax(0, 1fr) 24px;
  min-height: 64px;
  background: transparent;
  color: inherit;
  text-align: left;
}

.transfer-coin-value {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 9px;
  min-width: 0;
}

.transfer-coin-value .coin-inline-icon {
  width: 24px;
  height: 24px;
}

.transfer-coin-value em {
  color: #101820;
  font-style: normal;
  font-size: 15px;
  font-weight: 900;
}

.transfer-form-card .transfer-amount-field {
  padding-top: 15px;
}

.transfer-form-card .transfer-amount-field div {
  min-height: 52px;
}

.transfer-note {
  margin-top: -2px;
}

.transfer-coin-picker .receive-option {
  grid-template-columns: 28px minmax(0, 1fr) auto;
}

body.is-kline-page .app-main {
  padding-bottom: calc(86px + env(safe-area-inset-bottom));
  background: #ffffff;
}

.coin-chart-page {
  display: grid;
  align-content: start;
  gap: 0;
  min-height: 100%;
  margin: calc(-12px - env(safe-area-inset-top)) -14px calc(-20px - env(safe-area-inset-bottom));
  padding-bottom: calc(96px + env(safe-area-inset-bottom));
  background: #ffffff;
}

.coin-chart-head {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 44px;
  align-items: center;
  min-height: calc(50px + env(safe-area-inset-top));
  padding: env(safe-area-inset-top) 12px 0 4px;
  border-bottom: 0;
  background: rgba(255, 255, 255, 0.98);
}

.coin-chart-page .coin-chart-back-btn {
  margin-top: 11px;
}

.coin-chart-title {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-width: 0;
}

.coin-chart-title h1 {
  margin: calc(-12px - env(safe-area-inset-top)) -8px 0;
  overflow: hidden;
  color: #132033;
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.coin-chart-title span {
  display: none;
  color: #8793a3;
  font-size: 11px;
}

.coin-chart-summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(128px, auto);
  align-items: start;
  gap: 12px;
  padding: 14px 18px 10px;
}

.coin-chart-price-block {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.coin-chart-price-block strong {
  overflow: hidden;
  color: #00a97a;
  font-size: 34px;
  font-weight: 900;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.coin-chart-price-block strong.down,
.coin-chart-price-block span.down,
.coin-chart-chart-meta b.down {
  color: #e44f66;
}

.coin-chart-price-block strong.up,
.coin-chart-price-block span.up,
.coin-chart-chart-meta b.up {
  color: #00a97a;
}

.coin-chart-price-meta {
  display: flex;
  align-items: baseline;
  gap: 14px;
  min-width: 0;
}

.coin-chart-price-block span {
  flex: 0 0 auto;
  font-size: 13px;
  font-weight: 800;
}

.coin-chart-price-block small {
  overflow: hidden;
  color: #516173;
  font-size: 12px;
  font-weight: 650;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.coin-chart-stat-grid {
  display: grid;
  gap: 5px;
  margin: 0;
  padding-top: 1px;
}

.coin-chart-stat-grid div {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  align-items: baseline;
  gap: 10px;
}

.coin-chart-stat-grid dt,
.coin-chart-stat-grid dd {
  margin: 0;
  white-space: nowrap;
}

.coin-chart-stat-grid dt {
  color: #7d8897;
  font-size: 12px;
  font-weight: 700;
}

.coin-chart-stat-grid dd {
  justify-self: end;
  color: #00a97a;
  font-size: 12px;
  font-weight: 850;
}

.coin-chart-timeframes {
  display: flex;
  align-items: center;
  gap: 0;
  min-height: 44px;
  overflow-x: auto;
  border-bottom: 1px solid #edf1f5;
  padding: 0 12px;
  background: #ffffff;
  scrollbar-width: none;
}

.coin-chart-timeframes::-webkit-scrollbar {
  display: none;
}

.coin-chart-timeframes button {
  flex: 1 0 38px;
  min-width: 38px;
  min-height: 42px;
  background: transparent;
  color: #172234;
  font-size: 13px;
  font-weight: 800;
}

.coin-chart-timeframes button.is-active {
  color: #f3a700;
}

.coin-chart-panel {
  display: grid;
  gap: 0;
  border-bottom: 1px solid #edf1f5;
}

.coin-chart-chart-meta {
  display: grid;
  gap: 2px;
  padding: 10px 12px 0;
}

.coin-chart-chart-meta strong {
  color: #5a6676;
  font-size: 12px;
}

.coin-chart-chart-meta span {
  color: #536174;
  font-size: 11px;
}

.coin-chart-svg-wrap {
  position: relative;
  overflow: hidden;
  padding: 0 0 2px;
  touch-action: pan-y;
  user-select: none;
}

.coin-chart-svg-wrap.is-dragging {
  cursor: grabbing;
}

.coin-kline-svg {
  display: block;
  width: 100%;
  height: auto;
  min-height: 470px;
}

.coin-kline-bg {
  fill: #ffffff;
}

.kline-grid-line path,
.kline-volume-axis {
  stroke: #e8eef4;
}

.kline-grid-line text,
.kline-x-label,
.kline-volume-label {
  fill: #59697d;
  font-size: 10px;
  font-weight: 700;
}

.kline-loading-label {
  fill: #7d8897;
  font-size: 13px;
  font-weight: 800;
  text-anchor: middle;
}

.kline-last-line {
  stroke: rgba(0, 169, 122, 0.62);
  stroke-dasharray: 3 3;
}

.kline-last-price-box {
  fill: #00a97a;
}

.kline-candle.is-up .kline-wick,
.kline-candle.is-up .kline-body {
  fill: #10b99a;
  stroke: #10b99a;
}

.kline-candle.is-down .kline-wick,
.kline-candle.is-down .kline-body {
  fill: #e55673;
  stroke: #e55673;
}

.kline-candle.is-up .kline-volume-bar {
  fill: rgba(16, 185, 154, 0.36);
}

.kline-candle.is-down .kline-volume-bar {
  fill: rgba(229, 86, 115, 0.28);
}

.kline-ma-line {
  fill: none;
  stroke-width: 1.15;
}

.kline-ma-line.is-ma5 {
  stroke: #f0a000;
}

.kline-ma-line.is-ma10 {
  stroke: #1889d8;
}

.kline-ma.is-ma5 {
  fill: #c98000;
}

.kline-ma.is-ma10 {
  fill: #1889d8;
}

.coin-chart-trade-bar {
  position: fixed;
  z-index: 40;
  right: 0;
  bottom: 0;
  left: 50%;
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
  width: min(100%, 430px);
  transform: translateX(-50%);
  border-top: 1px solid #e8edf3;
  background: rgba(255, 255, 255, 0.98);
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  box-shadow: 0 -8px 20px rgba(20, 32, 48, 0.08);
}

.coin-chart-trade-bar button {
  width: 100%;
  min-height: 48px;
  border-radius: 8px;
  background: #151517;
  background-color: #151517;
  color: #ffffff;
  font-size: 15px;
  font-weight: 900;
}

@media (max-width: 374px) {
  .coin-chart-summary {
    grid-template-columns: 1fr;
  }

  .coin-chart-stat-grid div {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .coin-chart-price-block strong {
    font-size: 30px;
  }
}

/* KYC proof refinement */
.kyc-proof-page {
  background: #ffffff;
}

.kyc-proof-head {
  top: 0;
  grid-template-columns: 44px minmax(0, 1fr) 44px;
  min-height: 44px;
  padding-top: 0;
  border-bottom: 0;
  background: #ffffff;
  box-shadow: none;
}

.kyc-proof-back {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  background: transparent;
  color: #171c22;
}

.kyc-proof-back .back-icon {
  width: 24px;
  height: 24px;
}

.kyc-proof-head h1 {
  font-size: 17px;
  line-height: 1;
}

.kyc-proof-content {
  gap: 22px;
  padding-top: 10px;
}

.kyc-proof-intro {
  grid-template-columns: minmax(0, 1fr) 84px;
  align-items: center;
  column-gap: 14px;
  min-height: 92px;
  padding: 6px 0 4px;
}

.kyc-proof-intro-copy {
  display: grid;
  gap: 9px;
}

.kyc-proof-intro h2 {
  font-size: 24px;
}

.kyc-proof-intro p {
  align-items: center;
  color: #5f6872;
  font-size: 13px;
}

.kyc-proof-note-icon {
  display: block;
  flex: 0 0 auto;
  width: 13px;
  height: 13px;
  border-radius: 0;
  background: transparent;
  object-fit: contain;
}

.kyc-proof-note-icon::after {
  content: none;
}

.kyc-verify-art {
  display: grid;
  place-items: center;
  width: 84px;
  height: 84px;
  border-radius: 18px;
  background: linear-gradient(180deg, #f7fdff, #eef8fb);
}

.kyc-verify-art svg {
  width: 78px;
  height: 78px;
}

.kyc-proof-value strong {
  font-weight: 780;
}

.kyc-proof-select.is-placeholder .kyc-proof-value strong,
.kyc-proof-value.is-placeholder strong {
  color: #9da3aa;
  font-weight: 720;
}

.kyc-proof-select.is-disabled {
  border-color: #d9dde2;
  background: #ebebed;
  color: #9da3aa;
  cursor: default;
}

.kyc-proof-select.is-disabled .select-caret {
  color: #9da3aa;
}

.kyc-upload-item {
  position: relative;
  min-width: 0;
}

.kyc-upload-input {
  position: fixed;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.kyc-upload-box {
  width: 100%;
  background: #fffdf7;
}

.kyc-upload-box.is-disabled {
  border-color: #e1e4e8;
  background: #f5f5f5;
  color: #a2a8af;
}

.kyc-upload-box.has-file {
  overflow: hidden;
  border-style: solid;
  border-color: rgba(255, 151, 0, 0.55);
  background: #ffffff;
  color: #111820;
  padding: 6px;
}

.kyc-upload-preview {
  display: block;
  width: 100%;
  height: 56px;
  border-radius: 5px;
  object-fit: cover;
}

.kyc-upload-box.has-file span {
  max-width: 100%;
  overflow: hidden;
  color: #111820;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.kyc-sample-image {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 8px;
  object-fit: cover;
  background: #eef1f4;
}

.kyc-picker-backdrop,
.kyc-upload-choice-backdrop {
  position: fixed;
  inset: 0;
  z-index: 84;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  background: rgba(0, 0, 0, 0.68);
}

.kyc-picker,
.kyc-upload-choice {
  width: 100%;
  max-height: min(86vh, 760px);
  border-radius: 16px 16px 0 0;
  background: #ffffff;
  padding: 8px 16px calc(18px + env(safe-area-inset-bottom));
  animation: profileSheetRise 220ms linear forwards;
}

.kyc-picker {
  display: grid;
  grid-template-rows: auto auto auto minmax(0, 1fr);
}

.kyc-picker.is-compact {
  max-height: none;
  padding-bottom: calc(36px + env(safe-area-inset-bottom));
}

.kyc-sheet-handle {
  justify-self: center;
  width: 40px;
  height: 4px;
  margin: 0 0 14px;
  border-radius: 999px;
  background: #c8c8c8;
}

.kyc-picker-head,
.kyc-upload-choice-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 38px;
  align-items: center;
  margin-bottom: 14px;
  padding: 0;
}

.kyc-picker-head h2,
.kyc-upload-choice-head h2 {
  grid-column: 1;
  margin: 0;
  color: #111317;
  font-size: 18px;
  font-weight: 900;
  text-align: left;
}

.kyc-picker-head button,
.kyc-upload-choice-head button {
  grid-column: 2;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  background: transparent;
  color: #17191d;
  font-size: 28px;
  font-weight: 300;
  line-height: 1;
}

.kyc-country-search {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  border: 1px solid #d9dde2;
  border-radius: 7px;
  background: #ffffff;
  padding: 0 10px;
  color: #1d252d;
}

.kyc-country-search .search-icon {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
}

.kyc-country-search input {
  min-width: 0;
  width: 100%;
  border: 0;
  background: transparent;
  color: #111317;
  font-size: 14px;
}

.kyc-country-search input::placeholder {
  color: #9aa1a9;
  font-weight: 700;
}

.kyc-country-list,
.kyc-doc-list {
  display: grid;
  gap: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 14px 0 0;
  scrollbar-width: thin;
}

.kyc-picker-section-label {
  display: block;
  margin: 8px 0 10px;
  color: #9a9fa6;
  font-size: 12px;
  font-weight: 700;
}

.kyc-country-empty {
  display: grid;
  place-items: center;
  min-height: 92px;
  color: #9a9fa6;
  font-size: 14px;
  font-weight: 720;
}

.kyc-country-option[hidden],
.kyc-picker-section-label[hidden],
.kyc-country-empty[hidden] {
  display: none !important;
}

.kyc-country-option,
.kyc-doc-option {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) 24px;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  border: 0;
  border-radius: 0;
  background: #ffffff;
  padding: 0;
  color: #1b2026;
  font-size: 15px;
  font-weight: 620;
  text-align: left;
}

.kyc-country-option span,
.kyc-doc-option span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.kyc-country-option strong,
.kyc-doc-option strong {
  justify-self: end;
  color: #111317;
  font-size: 18px;
  font-weight: 900;
}

.kyc-country-option.is-active,
.kyc-doc-option.is-active {
  background: #ffffff;
}

.kyc-doc-list {
  gap: 14px;
  padding-top: 4px;
}

.kyc-doc-option {
  grid-template-columns: minmax(0, 1fr) 24px;
  min-height: 36px;
  font-weight: 760;
}

.kyc-doc-option small {
  display: inline-flex;
  align-items: center;
  min-height: 16px;
  margin-left: 6px;
  border: 1px solid #10b7d7;
  border-radius: 3px;
  padding: 0 3px;
  color: #10a4c4;
  font-size: 10px;
  font-weight: 800;
  vertical-align: middle;
}

.kyc-upload-choice {
  display: grid;
  gap: 0;
}

.kyc-upload-choice-option {
  min-height: 52px;
  background: #ffffff;
  color: #111317;
  font-size: 15px;
  font-weight: 780;
  text-align: left;
}

.kyc-upload-choice-option + .kyc-upload-choice-option {
  border-top: 1px solid #eef1f4;
}

body input:focus,
body input:focus-visible,
body textarea:focus,
body textarea:focus-visible {
  outline: 0;
  box-shadow: none;
  caret-color: #111820;
}

body input::selection,
body textarea::selection {
  background: rgba(17, 24, 39, 0.14);
}

.search-panel-box:focus-within,
.withdraw-input-field:focus-within,
.fund-password-input:focus,
.address-input-row:focus-within,
.sheet-field input:focus,
.kyc-country-search:focus-within,
.fund-verify-field input:focus {
  border-color: rgba(203, 213, 225, 0.95);
  box-shadow: none;
}

.home-page .top-search .search-box:focus-within {
  border-color: rgba(32, 203, 216, 0.46);
  box-shadow: 0 0 0 3px rgba(98, 238, 248, 0.14);
}

.search-page .search-panel-box:focus-within {
  border-color: rgba(32, 203, 216, 0.46);
  box-shadow: 0 0 0 3px rgba(98, 238, 248, 0.14);
}

.search-page .search-panel-box input {
  caret-color: var(--brand-strong);
}

.home-page .top-search input::selection {
  background: rgba(32, 203, 216, 0.24);
}

.search-page .search-panel-box input::selection {
  background: rgba(32, 203, 216, 0.24);
}

.bottom-nav,
.detail-submit-bar,
.top-search,
.profile-detail-head,
.profile-sheet-head,
.fund-verify-head,
.fund-verify-actions,
.receive-picker-head,
.language-sheet-head {
  overscroll-behavior: contain;
  touch-action: none;
}

.bottom-nav button,
.detail-submit-bar button,
.top-search button,
.top-search input,
.profile-detail-head button,
.profile-sheet-head button,
.fund-verify-head button,
.fund-verify-actions button,
.receive-picker-head button,
.language-sheet-head button {
  touch-action: manipulation;
}

body.is-profile-detail-page .app-main {
  padding-top: 0;
}

body.is-profile-detail-page .profile-detail-page {
  margin-top: 0;
}

body.is-profile-detail-page .help-center-page,
body.is-profile-detail-page .transfer-page {
  margin-top: 0 !important;
}

.withdraw-page,
.transfer-page,
.messages-page,
.about-dex-page,
.kyc-proof-page,
.withdrawal-address-page {
  width: auto;
  min-width: 0;
  overflow-x: clip;
}

.messages-page > .profile-detail-head,
.about-dex-page > .profile-detail-head,
.kyc-proof-page > .kyc-proof-head {
  position: sticky;
  top: 0;
  z-index: 40;
  align-self: start;
  background: #ffffff;
  box-shadow: 0 1px 0 rgba(17, 24, 39, 0.08);
}

.kyc-proof-page > .kyc-proof-head,
.kyc-review-page > .kyc-proof-head {
  position: fixed;
  right: 0;
  left: 0;
  z-index: 45;
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  background: #ffffff;
}

body.is-profile-detail-page .app-main:has(.about-dex-page),
body.is-profile-detail-page .app-main:has(.kyc-proof-page) {
  padding-top: 0;
}

.about-dex-page,
.kyc-proof-page {
  margin-top: 0;
}

.kyc-proof-page,
.kyc-review-page {
  padding-top: calc(44px + env(safe-area-inset-top)) !important;
}

body.is-profile-detail-page .app-main:has(.kyc-review-page) {
  overflow-y: hidden;
  overscroll-behavior-y: none;
}

.withdraw-balance-card,
.withdraw-panel,
.withdraw-bind-card,
.withdraw-fee-card,
.withdraw-record-card,
.transfer-card {
  min-width: 0;
  max-width: calc(100% - 24px);
}

.withdraw-row-head {
  min-width: 0;
}

.withdraw-row-head strong {
  min-width: 0;
}

.withdraw-row-head span {
  flex: 0 1 auto;
  text-align: right;
  white-space: nowrap;
}

.withdraw-input-field {
  min-width: 0;
  overflow: hidden;
}

.withdraw-input-field input {
  flex: 1 1 auto;
  width: 0;
  min-width: 0;
}

.withdraw-amount-coin {
  min-width: max-content;
}

.withdraw-input-field.is-select {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: 8px;
}

.withdraw-input-field.is-select > .withdraw-select-label {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.withdraw-select-value {
  min-width: 0;
}

.pic-wall video[src$="picWall10.webm"] {
  border-radius: 50%;
}

.pic-wall {
  --pic-wall-loop-translate: calc(-50% - 9px);
  contain: layout paint;
  overflow: hidden;
  margin-top: 18px;
  padding: 18px 0;
  transform: translateZ(0);
  backface-visibility: hidden;
  isolation: isolate;
}

.pic-wall-track {
  gap: 18px;
  animation: pic-wall-flow 34s linear infinite;
  animation-delay: 0s !important;
  transform: translate3d(0, 0, 0);
  will-change: transform;
  backface-visibility: hidden;
  transform-style: preserve-3d;
}

.pic-wall-item.is-round {
  width: 64px;
  height: 64px;
}

.pic-wall-item.is-pill {
  width: 132px;
  height: 64px;
}

.pic-wall-item {
  position: relative;
  contain: paint;
  box-shadow: none;
  outline: 1px solid rgba(231, 237, 240, 0.72);
  transform: translateZ(0);
  backface-visibility: hidden;
}

.pic-wall video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translateZ(0);
  backface-visibility: hidden;
}

.pic-wall-canvas {
  display: none;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translateZ(0);
  backface-visibility: hidden;
}

.pic-wall-item.is-canvas-video video {
  display: none;
}

.pic-wall-item.is-canvas-video .pic-wall-canvas {
  display: block;
}

@keyframes pic-wall-flow {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(var(--pic-wall-loop-translate), 0, 0);
  }
}

.kyc-upload-box.has-file small {
  color: #0796a3;
  font-size: 11px;
  font-weight: 850;
}

.kyc-upload-status.is-invalid {
  color: #d64545;
}

.kyc-upload-status.is-checking {
  color: #8b98a5;
}

.kyc-upload-remove {
  position: absolute;
  top: -7px;
  right: -7px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border: 1px solid #dfe6ea;
  border-radius: 50%;
  background: #ffffff;
  color: #111820;
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 8px 18px rgba(31, 48, 58, 0.12);
}

.kyc-upload-remove:active {
  transform: scale(0.96);
}

.withdrawal-address-page .withdrawal-address-form {
  gap: 14px;
  padding-top: 8px;
}

.withdrawal-address-page > .profile-detail-head + .withdrawal-address-form {
  margin-top: 0;
  padding-top: 8px;
}

.about-dex-page > .profile-detail-head + .about-dex-content {
  margin-top: 4px;
}

.about-dex-content {
  padding-top: 4px;
}

.help-article-page {
  background: #f4f8f9;
}

.help-article-page .help-article {
  margin: 0 12px;
  border-radius: 16px 16px 0 0;
  background: #ffffff;
  overflow: hidden;
}

.deposit-record-page .deposit-record-tabs {
  margin-top: 4px;
}

.deposit-record-page > .profile-detail-head + .deposit-record-tabs {
  margin-top: 4px;
}

.deposit-record-page .deposit-record-empty .asset-empty-state {
  min-height: 320px;
}

.messages-page > .profile-detail-head {
  position: relative;
  top: auto;
  z-index: 1;
  box-shadow: none;
}

.messages-page .message-tabs {
  margin-top: 4px;
  border-bottom: 0;
}

.messages-page > .profile-detail-head + .message-tabs {
  margin-top: 4px;
}

.messages-page .message-empty {
  padding-top: 110px;
}

.ai-rent-submit.is-ready {
  background: linear-gradient(180deg, #62eef8, #20cbd8);
  color: #062023;
  box-shadow: 0 12px 24px rgba(32, 203, 216, 0.24);
}

.ai-rent-submit:disabled {
  cursor: not-allowed;
  opacity: 0.58;
}

.deposit-record-empty.has-record-list {
  display: block;
  padding: 12px;
}

.fund-record-list {
  display: grid;
  gap: 10px;
  width: 100%;
}

.fund-record-card {
  display: grid;
  gap: 7px;
  width: 100%;
  border: 1px solid rgba(231, 237, 240, 0.95);
  border-radius: 8px;
  background: #ffffff;
  padding: 12px;
  box-shadow: 0 8px 20px rgba(31, 48, 58, 0.05);
}

.fund-record-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.fund-record-head strong {
  min-width: 0;
  color: #101827;
  font-size: 14px;
  font-weight: 850;
}

.fund-record-head span {
  flex: 0 0 auto;
  color: #0aa66a;
  font-size: 14px;
  font-weight: 850;
}

.fund-record-card.out .fund-record-head span {
  color: #e14c4c;
}

.fund-record-card.is-rejected .fund-record-head strong,
.fund-record-card.is-rejected .fund-record-head span {
  color: #d45151;
}

.fund-record-reason {
  color: #d45151 !important;
}

.fund-record-card p,
.fund-record-card small,
.fund-record-card time {
  margin: 0;
  color: #667481;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.asset-record-main > div span,
.fund-record-card time,
.message-card-meta time,
.withdraw-record-main > span {
  white-space: nowrap;
}

.app-main input[type="number"]::-webkit-outer-spin-button,
.app-main input[type="number"]::-webkit-inner-spin-button {
  margin: 0;
  -webkit-appearance: none;
}

.app-main input[type="number"] {
  -moz-appearance: textfield;
}

.language-sheet-backdrop {
  position: fixed;
  inset: 0;
  z-index: 86;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  max-width: 430px;
  margin: 0 auto;
  background: rgba(15, 23, 42, 0.38);
}

.language-sheet {
  display: grid;
  gap: 12px;
  width: 100%;
  border-radius: 16px 16px 0 0;
  background: #ffffff;
  padding: 16px 14px calc(18px + env(safe-area-inset-bottom));
  box-shadow: 0 -18px 40px rgba(15, 23, 42, 0.18);
}

.language-sheet-head {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 38px;
  align-items: center;
}

.language-sheet-head h2 {
  grid-column: 2;
  margin: 0;
  color: #111820;
  font-size: 16px;
  font-weight: 900;
  text-align: center;
}

.language-sheet-head button {
  grid-column: 3;
  width: 38px;
  height: 38px;
  background: transparent;
  color: #7b8792;
  font-size: 28px;
  line-height: 1;
}

.language-option-list {
  display: grid;
  gap: 8px;
}

.language-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  border-radius: 8px;
  background: #f4f8f9;
  padding: 0 14px;
  color: #111820;
  font-size: 14px;
  font-weight: 850;
}

.language-option strong {
  color: #0796a3;
  font-size: 12px;
  font-weight: 850;
}

.language-option.is-active {
  background: var(--brand-soft);
  box-shadow: inset 0 0 0 1px rgba(32, 203, 216, 0.28);
}

.invite-page {
  background: #f4f8f9;
}

.invite-page .invite-hero {
  grid-template-columns: minmax(0, 1fr) 124px;
  min-height: 198px;
  padding-bottom: 22px;
}

.invite-page .invite-copy p {
  max-width: 220px;
}

.invite-network-visual {
  position: relative;
}

.invite-node {
  position: absolute;
  display: block;
  border-radius: 50%;
  background: linear-gradient(145deg, #8af4fb, #20cbd8);
  box-shadow: 0 14px 24px rgba(32, 203, 216, 0.2);
}

.invite-node::after {
  content: "";
  position: absolute;
  right: 50%;
  bottom: -36px;
  width: 86px;
  height: 36px;
  border-radius: 50%;
  background: rgba(32, 64, 72, 0.12);
  transform: translateX(50%);
}

.invite-node.is-main {
  right: 42px;
  top: 28px;
  width: 46px;
  height: 46px;
}

.invite-node.is-left {
  right: 86px;
  top: 64px;
  width: 32px;
  height: 32px;
  background: linear-gradient(145deg, #c7fbff, #58dce8);
}

.invite-node.is-right {
  right: 4px;
  top: 66px;
  width: 36px;
  height: 36px;
  background: linear-gradient(145deg, #55d1ff, #0b8ee8);
}

.invite-panel {
  display: grid;
  gap: 12px;
}

.invite-panel[hidden] {
  display: none;
}

.invite-team-summary {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.invite-team-summary div {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.invite-team-summary span {
  color: #687783;
  font-size: 12px;
  font-weight: 820;
}

.invite-team-summary strong {
  color: #10212c;
  font-size: 20px;
  font-weight: 950;
}

.invite-team-levels {
  gap: 10px;
}

.invite-team-level {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 10px;
  min-width: 0;
  border-radius: 8px;
  background: #f7feff;
  padding: 12px;
}

.invite-team-level > span {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--brand);
  color: #062023;
  font-size: 12px;
  font-weight: 950;
}

.invite-team-level div {
  min-width: 0;
}

.invite-team-level strong {
  display: block;
  color: #10212c;
  font-size: 15px;
  font-weight: 900;
}

.invite-team-level small {
  color: #667783;
  font-size: 12px;
  font-weight: 750;
}

.invite-team-level dl {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
}

.invite-team-level dl div {
  display: grid;
  gap: 3px;
  border-radius: 7px;
  background: #ffffff;
  padding: 9px 10px;
}

.invite-team-level dt,
.invite-team-level dd {
  margin: 0;
}

.invite-team-level dt {
  color: #7b8993;
  font-size: 11px;
  font-weight: 750;
}

.invite-team-level dd {
  color: #10212c;
  font-size: 13px;
  font-weight: 900;
}

.invite-page .copy-icon {
  position: relative;
  display: inline-block;
  flex: 0 0 auto;
}

.invite-page .copy-icon::before,
.invite-page .copy-icon::after {
  content: "";
  position: absolute;
  border: 1.6px solid currentColor;
  border-radius: 2px;
}

.invite-page .copy-icon::before {
  inset: 4px 1px 1px 4px;
}

.invite-page .copy-icon::after {
  inset: 1px 4px 4px 1px;
  background: transparent;
}

.invite-page .invite-qr-image {
  display: block;
  width: 168px;
  height: 168px;
  border: 1px solid rgba(32, 203, 216, 0.24);
  border-radius: 8px;
  background: #ffffff;
  padding: 8px;
}

.invite-page .invite-network-visual {
  align-self: end;
  min-height: 126px;
}

.invite-page .invite-team-summary {
  display: grid;
  gap: 0;
  margin: 12px 14px 10px;
  border-bottom: 1px solid rgba(223, 229, 233, 0.96);
  background: #ffffff;
  padding: 18px 14px 14px;
}

.invite-page .invite-team-summary > div + div {
  border-left: 1px solid rgba(223, 229, 233, 0.96);
  padding-left: 18px;
}

.invite-page .invite-team-summary strong {
  color: #f0a514;
}

.invite-team-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0 14px;
  overflow: hidden;
  border: 1px solid rgba(223, 229, 233, 0.96);
  border-radius: 6px;
  background: #ffffff;
}

.invite-team-tab {
  min-height: 34px;
  border-right: 1px solid rgba(223, 229, 233, 0.96);
  color: #65727c;
  font-size: 13px;
  font-weight: 820;
}

.invite-team-tab:last-child {
  border-right: 0;
}

.invite-team-tab.is-active {
  background: #ffc247;
  color: #111820;
}

.invite-team-stage {
  display: grid;
  margin: 0 14px;
  background: #ffffff;
}

.invite-team-level-panel {
  display: grid;
  gap: 14px;
  padding: 12px 0 24px;
}

.invite-team-level-panel[hidden] {
  display: none;
}

.invite-team-level-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-radius: 4px;
  background: #f3f4f6;
  padding: 14px 8px;
  text-align: center;
}

.invite-team-level-stats div {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.invite-team-level-stats strong {
  color: #10212c;
  font-size: 18px;
  font-weight: 900;
}

.invite-team-level-stats span {
  color: #6f7d87;
  font-size: 12px;
  font-weight: 760;
}

.invite-team-level-panel h3 {
  margin: 0 -14px;
  border-bottom: 1px solid rgba(223, 229, 233, 0.96);
  padding: 0 14px 8px;
  color: #65727c;
  font-size: 14px;
  font-weight: 820;
}

.invite-team-user-list {
  display: grid;
  gap: 8px;
}

.invite-team-user {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  min-height: 54px;
  border: 1px solid rgba(223, 229, 233, 0.9);
  border-radius: 7px;
  padding: 10px 12px;
}

.invite-team-user div {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.invite-team-user strong,
.invite-team-user span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.invite-team-user strong {
  color: #10212c;
  font-size: 14px;
  font-weight: 900;
}

.invite-team-user span,
.invite-team-user small {
  color: #7b8993;
  font-size: 12px;
  font-weight: 750;
}

.invite-team-empty {
  display: grid;
  justify-items: center;
  gap: 10px;
  min-height: 220px;
  padding-top: 66px;
  color: #b5bdc4;
}

.invite-team-empty span {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #ffc107;
  color: #ffffff;
  font-weight: 900;
}

.invite-team-empty strong {
  color: #c1c8ce;
  font-size: 14px;
  font-weight: 850;
}

.transfer-address-page,
.transfer-address-edit-page {
  min-height: 100%;
  background: #ffffff;
}

.transfer-address-page {
  gap: 0;
}

.transfer-address-edit-page {
  padding-bottom: 92px;
}

.transfer-address-head {
  position: sticky;
  top: 0;
  z-index: 40;
  min-height: 48px;
  background: #ffffff !important;
  box-shadow: 0 1px 0 rgba(17, 24, 39, 0.08) !important;
}

.transfer-address-add-btn {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  background: transparent;
  color: #111820;
  font-size: 28px;
  font-weight: 500;
  line-height: 1;
}

.transfer-address-head-delete-btn {
  justify-self: end;
  min-width: 52px;
  min-height: 34px;
  margin-right: 4px;
  border-radius: 6px;
  background: transparent;
  color: var(--red);
  font-size: 14px;
  font-weight: 850;
}

.transfer-address-empty {
  display: grid;
  justify-items: center;
  gap: 64px;
  padding: 38px 25px 0;
  text-align: center;
}

.transfer-address-empty-icon {
  width: 62px;
  height: 60px;
}

.transfer-address-empty p {
  max-width: 360px;
  margin: 0;
  color: #111820;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.55;
}

.transfer-address-list {
  display: grid;
  gap: 10px;
  padding: 4px 12px 24px;
}

.transfer-address-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 10px;
  min-width: 0;
  border: 1px solid #e6eef2;
  border-radius: 8px;
  background: #ffffff;
  padding: 12px;
}

.transfer-address-card-main {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  min-width: 0;
}

.transfer-address-card-main .coin-inline-icon {
  width: 32px;
  height: 32px;
}

.transfer-address-card-main div {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.transfer-address-card-main strong {
  color: #111820;
  font-size: 15px;
  font-weight: 900;
}

.transfer-address-card-main span {
  min-width: 0;
  overflow: visible;
  color: #667580;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
  overflow-wrap: anywhere;
  text-overflow: clip;
  white-space: normal;
  word-break: break-all;
}

.transfer-address-card > button {
  min-width: 58px;
  min-height: 34px;
  align-self: start;
  border-radius: 6px;
  background: var(--brand-strong);
  color: #062023;
  font-size: 13px;
  font-weight: 850;
}

@media (max-width: 374px) {
  .transfer-address-card {
    grid-template-columns: minmax(0, 1fr);
  }

  .transfer-address-card > button {
    justify-self: end;
  }
}

.transfer-address-editor {
  display: grid;
  gap: 16px;
  padding: 18px 16px 24px;
}

.transfer-address-field {
  display: grid;
  gap: 8px;
  color: #111820;
  font-size: 14px;
  font-weight: 820;
}

.transfer-address-select,
.transfer-address-input-row {
  width: 100%;
  min-height: 50px;
  border: 1px solid #e5edf1;
  border-radius: 8px;
  background: #f7fafb;
  color: #111820;
}

.transfer-address-select {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 14px;
  text-align: left;
}

.transfer-address-select > span:first-child {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}

.transfer-address-select strong {
  min-width: 0;
  overflow: hidden;
  color: #111820;
  font-size: 15px;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.transfer-address-input-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  padding: 0 14px;
}

.transfer-address-input-row input {
  min-width: 0;
  height: 100%;
  border: 0;
  background: transparent;
  padding: 0;
}

.transfer-address-actions {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 42;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  border-top: 1px solid #e8eef2;
  background: #ffffff;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
}

.transfer-address-submit-btn {
  min-height: 48px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 850;
}

.transfer-address-submit-btn {
  background: var(--brand-strong);
  color: #062023;
}

.transfer-address-input-row:focus-within {
  border-color: rgba(32, 203, 216, 0.46);
}

.transfer-address-input-row.is-invalid {
  border-color: rgba(225, 76, 76, 0.72);
  background: #fff7f7;
}

.transfer-address-input-row.is-valid {
  border-color: rgba(10, 166, 106, 0.35);
}

.transfer-address-help {
  min-height: 17px;
  color: #7b8894;
  font-size: 12px;
  font-weight: 720;
  line-height: 1.4;
}

.transfer-address-help.is-invalid {
  color: var(--red);
}

.transfer-address-help.is-valid {
  color: #0aa66a;
}

@media (max-width: 374px) {
  .kyc-proof-intro {
    grid-template-columns: minmax(0, 1fr) 70px;
  }

  .kyc-verify-art {
    width: 70px;
    height: 70px;
  }

  .kyc-verify-art svg {
    width: 64px;
    height: 64px;
  }
}

.trade-page.trade-terminal-page {
  gap: 8px;
  align-content: start;
  min-height: 100%;
  margin: calc(-12px - env(safe-area-inset-top)) -14px -20px;
  background: #fff;
  padding: calc(104px + env(safe-area-inset-top)) 8px 12px;
}

.trade-page .home-skeleton {
  display: none !important;
}

.trade-page .home-skeleton-host.is-skeleton-loading > :not(.home-skeleton) {
  opacity: 1 !important;
}

.trade-terminal-page .trade-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 45;
  display: grid;
  grid-template-rows: auto auto;
  align-content: start;
  gap: 6px;
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  border-bottom: 1px solid #eef1f3;
  background: #ffffff;
  padding: 0 0 8px;
  transform: none;
  backdrop-filter: none;
}

.trade-terminal-page .pair-title {
  order: 2;
  min-height: 34px;
}

.trade-terminal-page .pair-title-main {
  gap: 4px;
  margin-left: 9px;
}

.trade-terminal-page .pair-title-main .coin-logo {
  display: none;
}

.trade-terminal-page .pair-title h1 {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #050b12;
  font-size: 17px;
  font-weight: 900;
  line-height: 1.1;
}

.trade-terminal-page .pair-title h1::after {
  content: "";
  width: 0;
  height: 0;
  border-top: 5px solid #4b5563;
  border-right: 4px solid transparent;
  border-left: 4px solid transparent;
}

.trade-terminal-page .pair-title .change {
  min-width: 58px;
  min-height: auto;
  justify-content: flex-start;
  background: transparent;
  padding: 0;
  font-size: 12px;
  font-weight: 800;
}

.trade-terminal-page .trade-summary {
  display: none;
}

.trade-terminal-page .trade-header .tabs {
  order: 1;
  display: flex;
  grid-auto-columns: initial;
  grid-auto-flow: initial;
  align-items: center;
  justify-content: space-between;
  gap: 0;
  width: calc(60% - 10px);
  min-height: 36px;
  margin-left: 10px;
  overflow-x: visible;
  overscroll-behavior-x: contain;
  padding: 0;
  scrollbar-width: none;
}

.trade-terminal-page .trade-header .tabs::-webkit-scrollbar {
  display: none;
}

.trade-terminal-page .trade-header .tab-btn {
  flex: 0 0 auto;
  width: auto;
  min-width: 0;
  min-height: 36px;
  height: 36px;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: #5f6b75;
  font-size: 18px;
  font-weight: 850;
  padding: 0;
}

.trade-terminal-page .trade-header .tab-btn.is-active {
  background: transparent;
  box-shadow: none;
  color: #20cbd8;
}

.trade-terminal-page.is-convert-terminal .trade-header {
  border-bottom: 0;
}

.trade-terminal-page.is-convert-terminal .pair-title {
  display: none;
}

.trade-terminal-page .trade-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(0, 0.9fr);
  gap: 10px;
  align-items: start;
  padding: 0;
}

.trade-terminal-page.is-convert-terminal .trade-workspace {
  display: block;
  align-self: start;
  padding: 6px 8px 0;
}

.trade-terminal-page .trade-panel {
  order: 1;
  min-width: 0;
  border: 0;
  border-radius: 0;
  background: #fff;
  box-shadow: none;
  gap: 8px;
  padding: 0;
}

.trade-terminal-page .trade-book-card {
  order: 2;
  min-width: 0;
  border: 0;
  border-radius: 0;
  background: #fff;
  box-shadow: none;
  gap: 3px;
  padding: 0;
}

.trade-terminal-page.is-convert-terminal .trade-book-card,
.trade-terminal-page.is-convert-terminal .trade-records {
  display: none;
}

.trade-terminal-page .trade-panel h2 {
  display: none;
}

.trade-terminal-page.is-margin-terminal .trade-panel h2,
.trade-terminal-page.is-convert-terminal .trade-panel h2 {
  display: block;
  margin: 0;
  color: #111827;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.25;
}

.trade-terminal-page.is-convert-terminal .trade-panel {
  display: grid;
  gap: 16px;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 16px;
  box-shadow: none;
}

.convert-terminal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.convert-terminal-head h2 {
  margin: 0;
  color: #050b12;
  font-size: 15px;
  font-weight: 900;
}

.convert-terminal-tools {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: #111827;
  font-size: 17px;
  font-weight: 900;
}

.convert-terminal-tools span {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
}

.convert-terminal-card {
  position: relative;
  display: grid;
  gap: 12px;
}

.convert-token-field {
  position: relative;
  display: grid;
  gap: 14px;
  min-height: 118px;
  border-radius: 16px;
  background: #f2f4f7;
  padding: 18px 20px 16px;
}

.convert-token-field + .convert-token-field {
  margin-top: 16px;
}

.convert-token-field-top,
.convert-token-field-main,
.convert-rate-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.convert-token-field-top {
  color: #64707c;
  font-size: 13px;
  font-weight: 760;
}

.convert-token-field-top b {
  display: inline-grid;
  place-items: center;
  width: 13px;
  height: 13px;
  border-radius: 3px;
  background: #111827;
  color: #fff;
  font-size: 11px;
  line-height: 1;
}

.convert-token-select {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  border: 0;
  background: transparent;
  padding: 0;
  font: inherit;
}

.convert-token-select strong {
  color: #111827;
  font-size: 16px;
  font-weight: 900;
}

.convert-token-select em {
  color: #8b949e;
  font-size: 16px;
  font-style: normal;
  font-weight: 900;
}

.convert-token-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
}

.convert-range {
  min-width: 0;
  color: #9aa2ad;
  font-size: 18px;
  font-weight: 850;
  text-align: right;
  overflow-wrap: anywhere;
}

.convert-max-btn {
  justify-self: end;
  min-height: 24px;
  border-radius: 5px;
  background: #ffffff;
  padding: 0 8px;
  color: #111827;
  font-size: 12px;
  font-weight: 760;
}

.convert-switch-btn {
  position: absolute;
  top: 124px;
  left: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #ffffff;
  color: #111827;
  font-size: 20px;
  font-weight: 900;
  transform: translate(-50%, -50%);
  box-shadow: 0 8px 18px rgba(31, 48, 58, 0.08);
}

.convert-rate-line {
  min-height: 44px;
  padding: 0 2px;
  color: #79838e;
  font-size: 13px;
  font-weight: 760;
}

.convert-rate-line strong {
  margin-left: auto;
  color: #111827;
  font-weight: 760;
}

.convert-rate-line em {
  color: #6b7280;
  font-style: normal;
  transform: rotate(90deg);
}

.trade-terminal-page.is-convert-terminal .trade-submit.convert {
  min-height: 48px;
  border-radius: 10px;
  background: #e5e7eb;
  color: #c1c6cd;
}

.trade-terminal-page.is-convert-terminal .trade-submit.convert:disabled {
  cursor: default;
}

.trade-terminal-page .side-tabs,
.trade-terminal-page .type-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}

.trade-terminal-page .side-tabs .tab-btn,
.trade-terminal-page .type-tabs .tab-btn {
  min-height: 32px;
  border-radius: 6px;
  background: #f2f4f7;
  box-shadow: none;
  color: #6c7380;
  font-size: 12px;
}

.trade-terminal-page .type-tabs .tab-btn.is-active,
.trade-terminal-page .leverage-grid .mini-pill.is-active {
  background: #4bd8ea;
  color: #041014;
}

.trade-terminal-page .form-grid {
  gap: 8px;
}

.trade-terminal-page .form-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(54px, auto) auto;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  border: 0;
  border-radius: 6px;
  background: #f3f4f6;
  padding: 0 10px;
}

.trade-terminal-page .form-row label {
  min-width: 0;
  color: #7a838d;
  font-size: 12px;
  font-weight: 760;
}

.trade-terminal-page .form-row input,
.trade-terminal-page .form-row select {
  width: auto;
  min-width: 0;
  max-width: 88px;
  color: #050b12;
  font-size: 13px;
  font-weight: 760;
  text-align: right;
}

.trade-terminal-page .form-row .tiny-label {
  color: #111827;
  font-size: 12px;
  font-weight: 800;
}

.trade-terminal-page .percent-grid {
  position: relative;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  min-height: 38px;
  padding-top: 8px;
}

.trade-terminal-page .percent-grid::before {
  content: "";
  position: absolute;
  top: 0;
  right: 3px;
  left: 3px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, #111827 0 2%, #d8dde3 2% 100%);
}

.trade-terminal-page .percent-grid .mini-pill {
  display: grid;
  align-content: start;
  justify-items: center;
  gap: 3px;
  min-height: 34px;
  background: transparent;
  color: #64707c;
  font-size: 10px;
  font-weight: 800;
  line-height: 1.1;
}

.trade-terminal-page .percent-grid .mini-pill::before {
  content: "";
  display: block;
  width: 7px;
  height: 7px;
  margin: 0 auto;
  border-radius: 50%;
  background: #d8dde3;
}

.trade-terminal-page .leverage-grid {
  gap: 5px;
}

.trade-terminal-page .mini-pill {
  min-height: 27px;
  border-radius: 6px;
  background: #f2f4f7;
  color: #5e6772;
  font-size: 11px;
}

.trade-terminal-page .rate-box {
  gap: 5px;
  border-radius: 6px;
  background: #fff;
  padding: 2px 0;
}

.trade-terminal-page .rate-row {
  min-height: 18px;
}

.trade-terminal-page .rate-row span:first-child,
.trade-terminal-page .rate-row span:last-child {
  font-size: 11px;
}

.trade-terminal-page .rate-row span:first-child {
  color: #7a838d;
}

.trade-terminal-page .rate-row span:last-child {
  color: #050b12;
  font-weight: 800;
}

.trade-terminal-page .trade-submit {
  width: 100%;
  min-height: 40px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 850;
}

.trade-contract-action-grid {
  display: grid;
  gap: 8px;
}

.trade-terminal-page .trade-book-title {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: start;
  gap: 8px;
  min-height: 30px;
  color: #111827;
  font-size: 12px;
  font-weight: 760;
  line-height: 1.25;
}

.trade-terminal-page .trade-book-title span:last-child {
  text-align: right;
}

.trade-terminal-page .trade-book-list {
  gap: 1px;
}

.trade-terminal-page .trade-book-row {
  position: relative;
  min-height: 20px;
  padding: 0 4px;
  overflow: hidden;
  font-size: 11.5px;
  font-weight: 650;
}

.trade-terminal-page .trade-book-row span {
  position: relative;
  z-index: 1;
}

.trade-terminal-page .trade-book-row span:last-child {
  color: #0f172a;
}

.trade-terminal-page .trade-book-list.ask .trade-book-row {
  background: linear-gradient(90deg, transparent 0, transparent 38%, rgba(225, 76, 76, 0.12) 38%, rgba(225, 76, 76, 0.12) 100%);
}

.trade-terminal-page .trade-book-list.bid .trade-book-row {
  background: linear-gradient(90deg, transparent 0, transparent 34%, rgba(10, 166, 106, 0.12) 34%, rgba(10, 166, 106, 0.12) 100%);
}

.trade-terminal-page .trade-last-price {
  display: block;
  min-height: 47px;
  border-radius: 0;
  background: transparent;
  padding: 3px 0 4px;
  color: #02a978;
  font-size: 20px;
  font-weight: 900;
  line-height: 1.1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.trade-terminal-page .trade-last-price::after {
  content: attr(data-fiat);
  display: block;
  margin-top: 2px;
  color: #111827;
  font-size: 10px;
  font-weight: 650;
}

.trade-depth-ratio {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 4px;
  min-height: 18px;
  margin-top: 2px;
  color: #06a67a;
  font-size: 10px;
  font-weight: 800;
}

.trade-depth-ratio span:last-child {
  color: #ef4444;
}

.trade-depth-ratio i {
  position: relative;
  display: block;
  height: 3px;
  overflow: hidden;
  border-radius: 999px;
  background: #ef4444;
}

.trade-depth-ratio b {
  position: absolute;
  inset: 0 auto 0 0;
  width: 40%;
  background: #06a67a;
}

.trade-depth-step {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 30px;
  border-radius: 6px;
  background: #f3f4f6;
  padding: 0 10px;
  color: #111827;
  font-size: 12px;
  font-weight: 760;
}

.trade-depth-step span {
  color: #7a838d;
}

.trade-terminal-page .trade-records {
  overflow: hidden;
  border: 0;
  border-top: 1px solid #eef1f3;
  border-radius: 0;
  background: #fff;
  margin: 8px -8px 0;
}

.trade-terminal-page .trade-terminal-tabs {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 44px;
  border-bottom: 0;
  padding: 0 14px;
}

.trade-terminal-page .trade-terminal-tabs span {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 44px;
  color: #8a929b;
  font-size: 14px;
  font-weight: 850;
}

.trade-terminal-page .trade-terminal-tabs span.is-active {
  color: #050b12;
}

.trade-terminal-page .trade-terminal-tabs span.is-active::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  border-radius: 999px;
  background: #111827;
}

.trade-terminal-page .trade-terminal-tabs button {
  margin-left: auto;
  min-height: 28px;
  border-radius: 6px;
  background: #f4f5f7;
  padding: 0 9px;
  color: #111827;
  font-size: 12px;
  font-weight: 760;
}

.trade-terminal-page .trade-terminal-empty {
  display: grid;
  justify-items: center;
  align-content: center;
  min-height: 286px;
  color: #a6adb5;
  font-size: 13px;
  font-weight: 760;
}

.trade-terminal-empty-icon {
  position: relative;
  display: block;
  width: 58px;
  height: 50px;
  margin-bottom: 18px;
}

.trade-terminal-empty-icon::before {
  content: "";
  position: absolute;
  right: 8px;
  bottom: 0;
  left: 8px;
  height: 30px;
  border-radius: 3px 3px 8px 8px;
  background: #d2d6db;
  clip-path: polygon(0 18%, 30% 18%, 38% 0, 62% 0, 70% 18%, 100% 18%, 88% 100%, 12% 100%);
}

.trade-terminal-empty-icon::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 18px;
  width: 24px;
  height: 29px;
  border-radius: 3px;
  background: linear-gradient(#ffffff 0 3px, transparent 3px 8px, #ffffff 8px 11px, transparent 11px), #c8cdd2;
}

@media (max-width: 374px) {
  .trade-terminal-page .trade-workspace {
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
    gap: 7px;
  }

  .trade-terminal-page .side-tabs .tab-btn,
  .trade-terminal-page .type-tabs .tab-btn {
    font-size: 11px;
  }

  .trade-terminal-page .trade-header .tab-btn {
    font-size: 15px;
  }

  .trade-terminal-page .form-row {
    padding: 0 8px;
  }

  .trade-terminal-page .form-row input,
  .trade-terminal-page .form-row select {
    max-width: 72px;
    font-size: 12px;
  }

  .trade-terminal-page .trade-book-row {
    font-size: 10.5px;
  }
}

.asset-token-amount {
  display: grid;
  justify-items: end;
  gap: 3px;
  min-width: 0;
  text-align: right;
}

.asset-token-amount span {
  color: #111;
  font-size: 16px;
  font-weight: 500;
}

.asset-token-amount small {
  color: #6f7780;
  font-size: 12px;
  font-weight: 650;
  overflow-wrap: anywhere;
  white-space: normal;
}

.asset-number {
  font-size: clamp(24px, 7vw, 29px);
  font-weight: 760;
  line-height: 1.12;
  overflow-wrap: anywhere;
}

.profile-sheet-head .sheet-close-icon,
.fund-verify-head .sheet-close-icon {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(101, 119, 134, 0.16);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.72);
  color: #667989;
  font-size: 0;
}

.profile-sheet-head .sheet-close-icon svg,
.fund-verify-head .sheet-close-icon svg {
  width: 18px;
  height: 18px;
}

.sheet-helper-link {
  justify-self: start;
  color: var(--brand-strong);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.sheet-helper-link-top {
  justify-self: end;
  margin-top: -6px;
  margin-bottom: 2px;
}

.sheet-helper-note {
  margin: -2px 0 0;
  color: #667989;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.5;
}

.sheet-error-note {
  margin: -4px 0 0;
  color: #dc2626;
  font-size: 12px;
  font-weight: 750;
  line-height: 1.5;
}

/* Mobile stability fixes */
:root {
  --nav-height: 56px;
}

.app-main {
  padding-bottom: calc(56px + 8px + env(safe-area-inset-bottom)) !important;
}

body.is-ai-detail-page .app-main,
body.is-asset-center-page .app-main,
body.is-profile-detail-page .app-main,
body.is-search-page .app-main {
  padding-bottom: calc(20px + env(safe-area-inset-bottom)) !important;
}

.bottom-nav {
  height: calc(56px + env(safe-area-inset-bottom)) !important;
  padding: 3px 8px calc(2px + env(safe-area-inset-bottom)) !important;
}

.nav-item {
  gap: 2px !important;
  font-size: 10.5px !important;
}

.nav-icon {
  width: 24px !important;
  height: 24px !important;
}

.nav-svg {
  width: 20px !important;
  height: 20px !important;
}

.profile-sheet-backdrop,
.fund-verify-backdrop,
.receive-picker-backdrop,
.language-sheet-backdrop,
.kyc-picker-backdrop,
.kyc-upload-choice-backdrop {
  height: 100vh !important;
  height: 100dvh !important;
  max-height: 100dvh !important;
  overflow: hidden !important;
  overscroll-behavior: none !important;
  touch-action: none;
}

.profile-sheet {
  max-height: calc(100dvh - 12px) !important;
  margin-bottom: 0 !important;
  overscroll-behavior: contain !important;
  touch-action: pan-y;
}

.kyc-picker-backdrop {
  touch-action: auto !important;
}

.receive-picker-backdrop {
  touch-action: pan-y !important;
}

.kyc-picker,
.kyc-country-list,
.kyc-doc-list {
  min-height: 0;
  overscroll-behavior: contain !important;
  touch-action: pan-y !important;
  -webkit-overflow-scrolling: touch;
}

.fund-verify-sheet {
  overscroll-behavior: contain !important;
  touch-action: none;
}

.profile-sheet input,
.profile-sheet textarea {
  scroll-margin-bottom: 104px;
}

.fund-verify-sheet input,
.fund-verify-sheet textarea {
  scroll-margin-top: 96px;
}

.aibit-number-keypad {
  position: fixed;
  left: 50%;
  right: auto;
  bottom: 0;
  z-index: 1400;
  width: min(100vw, 430px);
  height: min(68dvh, 580px);
  min-height: 0;
  max-height: calc(100dvh - 8px);
  border-radius: 28px 28px 0 0;
  background: #ffffff;
  box-shadow: 0 -18px 42px rgba(15, 23, 42, 0.18);
  transform: translate(-50%, 105%);
  transition: transform 180ms ease;
  overflow: hidden;
}

body.has-aibit-number-keypad .aibit-number-keypad {
  transform: translate(-50%, 0);
}

.aibit-number-keypad-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px 18px;
}

.aibit-number-keypad button {
  min-height: 48px;
  border: 0;
  border-radius: 12px;
  background: #ffffff;
  color: #05232b;
  font-size: 29px;
  font-weight: 850;
  box-shadow: none;
  touch-action: manipulation;
}

.aibit-number-keypad button:active {
  transform: translateY(1px);
  background: #eef3f6;
}

.aibit-number-keypad:not(.is-pin) .aibit-number-keypad-sheet {
  grid-template-rows: auto auto auto;
}

.aibit-number-keypad:not(.is-pin) .aibit-number-pin-display {
  display: none;
}

.aibit-number-keypad:not(.is-pin) .aibit-number-keypad-cancel {
  color: #05232b;
  font-size: 29px;
  font-weight: 900;
}

.aibit-number-keypad-sheet {
  --aibit-keypad-bottom-gap: calc(30px + env(safe-area-inset-bottom));
  display: grid;
  align-content: end;
  grid-template-rows: auto auto auto auto auto;
  gap: clamp(8px, 1.55dvh, 20px);
  height: 100%;
  min-height: 0;
  padding: clamp(8px, 1.2dvh, 16px) 24px var(--aibit-keypad-bottom-gap);
}

.aibit-number-pin-display {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(7px, 1.3dvh, 12px);
}

.aibit-number-pin-display span {
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 1;
  border: 1px solid transparent;
  border-radius: 14px;
  background: #f4f6f7;
}

.aibit-number-pin-display span.is-filled::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #05232b;
}

.transfer-page {
  min-height: 100%;
  grid-template-rows: auto auto auto minmax(0, 1fr);
  row-gap: 0;
  background: #f5f8f9;
  padding-bottom: calc(72px + env(safe-area-inset-bottom));
  overflow-x: hidden;
}

.transfer-page .profile-detail-head {
  position: sticky;
  top: 0;
}

.transfer-route-card,
.transfer-form-card {
  width: calc(100% - 24px) !important;
  max-width: calc(100% - 24px) !important;
  margin: 12px 12px 0 !important;
  padding: 0 !important;
  transform: none !important;
  overflow: hidden !important;
}

.transfer-form-card {
  display: grid;
  grid-template-rows: minmax(74px, auto) minmax(86px, auto) auto;
  gap: 0;
  padding: 0 !important;
  background: #fff !important;
}

.transfer-account-row,
.transfer-select-row,
.transfer-amount-field {
  display: grid !important;
  grid-template-columns: 54px minmax(0, 1fr) !important;
  align-items: center !important;
  gap: 10px !important;
  width: 100% !important;
  min-height: 64px !important;
  padding: 0 16px !important;
  background: #fff !important;
}

.transfer-select-row {
  border-bottom: 0 !important;
  color: #111827;
  text-align: left;
}

.transfer-form-card .transfer-select-row {
  grid-template-columns: 54px minmax(0, 1fr) 22px !important;
  min-height: 52px !important;
  align-self: center !important;
  width: calc(100% - 24px) !important;
  margin: 10px 12px 12px !important;
  border-radius: 8px !important;
  background: #f4f8f9 !important;
  padding: 0 12px !important;
}

.transfer-account-copy,
.transfer-coin-value,
.transfer-amount-field > div {
  min-width: 0;
}

.transfer-form-card .transfer-amount-field {
  min-height: 86px !important;
  margin: 0 !important;
  border-top: 1px solid #e6eef1 !important;
  padding: 14px 12px 10px !important;
  background: transparent !important;
}

.transfer-form-card .transfer-amount-field > div {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  align-items: center !important;
  gap: 10px !important;
  min-height: 48px !important;
  margin: 0 !important;
  border-radius: 8px !important;
  background: #f4f8f9 !important;
  padding: 0 10px !important;
}

.transfer-amount-field input {
  width: 100% !important;
  min-width: 0 !important;
  overflow: hidden;
  text-overflow: ellipsis;
}

.transfer-amount-field button {
  min-width: 42px;
  padding: 0 4px;
  white-space: nowrap;
}

.transfer-note {
  margin: -4px 16px 12px !important;
  padding-top: 0 !important;
}

.select-caret {
  display: inline-grid;
  place-items: center;
  transition: transform 160ms ease;
  transform-origin: center;
}

[data-coin-picker-open] .select-caret {
  transform: rotate(180deg);
}

.page-loader {
  gap: 16px;
}

.loader-status {
  margin: 0;
  color: #5f6f7a;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
  text-align: center;
}

.page-loader:not(.is-waiting-network) .loader-status {
  display: none;
}

/* Final mobile review fixes */
body.is-profile-detail-page,
body.is-ai-detail-page,
body.is-profile-detail-page .app-shell,
body.is-ai-detail-page .app-shell,
body.is-profile-detail-page .app-main,
body.is-ai-detail-page .app-main {
  background: #ffffff !important;
}

.feature-shortcut.has-message-unread,
.feature-shortcut.has-support-unread,
.quick-action.has-support-unread,
.feature-shortcut.has-message-unread:active,
.feature-shortcut.has-support-unread:active,
.quick-action.has-support-unread:active,
.feature-shortcut.has-message-unread .icon-circle,
.feature-shortcut.has-support-unread .icon-circle,
.quick-action.has-support-unread > span:first-child,
.feature-shortcut.has-message-unread .app-icon,
.feature-shortcut.has-support-unread .app-icon,
.quick-action.has-support-unread .app-icon,
.feature-shortcut.has-message-unread .profile-message-unread-badge,
.feature-shortcut.has-support-unread .support-unread-dot,
.quick-action.has-support-unread .support-unread-dot {
  animation: none !important;
  transform: none !important;
}

.profile-page .feature-shortcut.has-message-unread,
.profile-page .feature-shortcut.has-support-unread,
.home-page .quick-action.has-support-unread {
  position: relative;
  transform: none !important;
  transition: none !important;
  touch-action: manipulation;
}

.profile-page .feature-shortcut.has-message-unread *,
.profile-page .feature-shortcut.has-support-unread *,
.home-page .quick-action.has-support-unread *,
.profile-page .feature-shortcut.has-message-unread::before,
.profile-page .feature-shortcut.has-message-unread::after,
.profile-page .feature-shortcut.has-support-unread::before,
.profile-page .feature-shortcut.has-support-unread::after,
.home-page .quick-action.has-support-unread::before,
.home-page .quick-action.has-support-unread::after {
  animation: none !important;
  transform: none !important;
  transition-property: color, background-color, border-color, box-shadow, opacity !important;
}

.profile-page .feature-shortcut.has-message-unread .icon-circle,
.profile-page .feature-shortcut.has-support-unread .icon-circle {
  width: 38px !important;
  height: 38px !important;
  min-width: 38px !important;
  min-height: 38px !important;
  font-size: 13px !important;
  line-height: 1 !important;
}

.home-page .quick-action.has-support-unread > span:first-child {
  width: 34px !important;
  height: 34px !important;
  min-width: 34px !important;
  min-height: 34px !important;
  font-size: 13px !important;
  line-height: 1 !important;
}

.deposit-page .address-copy-field {
  grid-template-columns: minmax(0, 1fr) 76px;
  align-items: center;
  min-height: 76px;
  padding: 10px 12px;
}

.deposit-page .address-copy-field span:first-child {
  display: -webkit-box;
  overflow: hidden !important;
  text-overflow: clip !important;
  white-space: normal !important;
  overflow-wrap: anywhere;
  word-break: break-all;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-height: 1.35;
}

.deposit-page .address-copy-field button {
  align-self: center;
}

.function-row.requires-fund-password,
.function-row.requires-login-password {
  position: relative;
}

.profile-security-red-dot {
  position: absolute;
  top: 50%;
  right: 34px;
  width: 8px;
  height: 8px;
  border: 2px solid #ffffff;
  border-radius: 999px;
  background: #ef4444;
  transform: translateY(-50%);
}

.profile-add-email-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  border: 0;
  border-radius: 999px;
  background: rgba(32, 203, 216, 0.14);
  padding: 0 12px;
  color: #07818a;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
}

.profile-password-page,
.line-switch-page {
  align-content: start;
  min-height: 100vh;
  min-height: 100dvh;
  background: #ffffff;
  padding-top: calc(44px + env(safe-area-inset-top));
}

.profile-password-head {
  position: fixed !important;
  top: 0 !important;
  right: 0;
  left: 0;
  z-index: 45;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 44px;
  align-items: center;
  width: 100%;
  max-width: 430px;
  min-height: calc(44px + env(safe-area-inset-top));
  margin: 0 auto;
  padding: env(safe-area-inset-top) 0 0;
  background: #ffffff !important;
  box-shadow: none !important;
}

.profile-password-head button,
.profile-password-head .detail-back-btn {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  background: #ffffff !important;
  border: 0 !important;
  color: #101318 !important;
}

.profile-password-head .detail-back-btn svg,
.profile-password-head button svg {
  width: 24px;
  height: 24px;
}

.profile-password-head button svg path {
  stroke: currentColor !important;
}

.profile-password-head h1 {
  margin: 0;
  color: #101318;
  font-size: 16px;
  font-weight: 900;
  line-height: 1.2;
  text-align: center;
}

.profile-password-form {
  display: grid;
  align-content: start;
  gap: 14px;
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  padding: 8px 24px 24px;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang TC", "Microsoft JhengHei", "Noto Sans TC", "Helvetica Neue", Arial, sans-serif;
}

.profile-password-field {
  display: grid;
  gap: 8px;
  min-width: 0;
  color: #111111;
  font-size: 15.5px;
  font-weight: 850;
  line-height: 1.35;
}

.profile-password-input {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 42px;
  align-items: center;
  min-height: 54px;
  border-radius: 8px;
  background: #f2f3f5;
  padding: 0 8px 0 14px;
}

.profile-password-input input {
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #111111;
  font-size: 15px;
  font-weight: 760;
  line-height: 1.4;
}

.profile-password-input input::placeholder,
.profile-password-field small {
  color: #a7adb3;
}

.profile-password-field small {
  font-size: 12px;
  font-weight: 760;
  line-height: 1.45;
}

.profile-password-helper {
  margin: -2px 0 2px;
  color: #6f7a84;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.45;
}

.profile-email-code-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 112px;
  align-items: center;
  gap: 10px;
}

.profile-email-code-input {
  min-width: 0;
  min-height: 54px;
  border: 0;
  border-radius: 8px;
  outline: 0;
  background: #f2f3f5;
  padding: 0 14px;
  color: #111111;
  font-size: 15px;
  font-weight: 760;
  line-height: 1.4;
}

.profile-email-code-input::placeholder {
  color: #a7adb3;
}

.profile-email-code-input:focus {
  background: #ffffff;
  box-shadow: inset 0 0 0 2px #050505;
}

.profile-email-code-button {
  min-width: 0;
  min-height: 54px;
  border: 0;
  border-radius: 8px;
  background: var(--brand);
  color: #06191b;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.2;
}

.profile-email-code-button:disabled {
  opacity: 0.58;
}

.profile-email-status {
  margin: -4px 0 0;
  color: #62707c;
  font-size: 12.5px;
  font-weight: 720;
  line-height: 1.45;
}

.profile-email-status.is-success {
  color: #078a76;
}

.profile-email-status.is-error {
  color: #d63b3b;
}

.email-setup-page .profile-email-setup-form {
  align-content: start;
  gap: 20px;
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  padding: 8px 24px 24px;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang TC", "Microsoft JhengHei", "Noto Sans TC", "Helvetica Neue", Arial, sans-serif;
}

.email-setup-page .field {
  display: grid;
  gap: 10px;
  margin: 0;
  color: #050505;
  font-size: 18px;
  font-weight: 950;
}

.email-setup-page .field input {
  width: 100%;
  min-height: 52px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 8px;
  outline: 0;
  background: #ffffff;
  padding: 0 14px;
  color: #111111;
  font-size: 16px;
  font-weight: 780;
  line-height: 1.35;
}

.email-setup-page .field input::placeholder,
.email-setup-page .otp-box::placeholder {
  color: #a7adb3;
}

.email-setup-page .otp-field {
  display: grid;
  gap: 10px;
  margin: 0;
  color: #050505;
  font-size: 18px;
  font-weight: 950;
}

.email-setup-page .otp-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
}

.email-setup-page .otp-box {
  width: 100%;
  min-width: 0;
  aspect-ratio: 1;
  min-height: 50px;
  border: 2px solid transparent;
  border-radius: 10px;
  outline: 0;
  background: #f4f5f6;
  color: #050505;
  font-size: 20px;
  font-weight: 900;
  line-height: 1;
  text-align: center;
}

.email-setup-page .otp-box:focus,
.email-setup-page .field input:focus {
  border-color: #050505;
  background: #ffffff;
  box-shadow: none;
}

.email-setup-page .otp-resend-row {
  display: flex;
  justify-content: flex-end;
  min-height: 22px;
}

.email-setup-page .otp-resend-link {
  border: 0;
  background: transparent;
  color: var(--brand-strong);
  font: inherit;
  font-size: 13px;
  font-weight: 850;
}

.email-setup-page .otp-resend-link:disabled {
  opacity: 0.58;
}

.email-setup-page .primary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  border: 0;
  border-radius: 10px;
  background: #030706;
  color: #ffffff;
  font-size: 18px;
  font-weight: 950;
}

.email-setup-page .primary-action:disabled {
  opacity: 0.65;
}

.profile-password-eye {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  padding: 0;
  justify-self: center;
  color: #b7bdc3;
}

.profile-password-eye::before {
  content: "";
  width: 22px;
  height: 22px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M3.53 2.47a.75.75 0 00-1.06 1.06l18 18a.75.75 0 101.06-1.06l-18-18z'/%3E%3Cpath fill='black' d='M12 5a6.98 6.98 0 015.013 2.114l4.258 4.172a1 1 0 010 1.428l-2.035 1.994-2.144-2.144A5.002 5.002 0 0010.436 5.91l-.78-.78A7.05 7.05 0 0112 5z'/%3E%3Cpath fill='black' d='M2.73 11.286l2.776-2.72 2.03 2.03A5.002 5.002 0 0013.4 16.46l1.613 1.613A7.038 7.038 0 0112 19a6.98 6.98 0 01-5.013-2.114L2.73 12.714a1 1 0 010-1.428z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M3.53 2.47a.75.75 0 00-1.06 1.06l18 18a.75.75 0 101.06-1.06l-18-18z'/%3E%3Cpath fill='black' d='M12 5a6.98 6.98 0 015.013 2.114l4.258 4.172a1 1 0 010 1.428l-2.035 1.994-2.144-2.144A5.002 5.002 0 0010.436 5.91l-.78-.78A7.05 7.05 0 0112 5z'/%3E%3Cpath fill='black' d='M2.73 11.286l2.776-2.72 2.03 2.03A5.002 5.002 0 0013.4 16.46l1.613 1.613A7.038 7.038 0 0112 19a6.98 6.98 0 01-5.013-2.114L2.73 12.714a1 1 0 010-1.428z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.profile-password-eye.is-visible {
  color: #050505;
}

.profile-password-eye.is-visible::before {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 15a3 3 0 100-6 3 3 0 000 6z'/%3E%3Cpath fill='black' d='M17.013 16.886A6.98 6.98 0 0112 19a6.98 6.98 0 01-5.013-2.114L2.73 12.714a1 1 0 010-1.428l4.258-4.172A6.98 6.98 0 0112 5a6.98 6.98 0 015.013 2.114l4.258 4.172a1 1 0 010 1.428l-4.258 4.172zM17 12a5 5 0 10-10 0 5 5 0 0010 0z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 15a3 3 0 100-6 3 3 0 000 6z'/%3E%3Cpath fill='black' d='M17.013 16.886A6.98 6.98 0 0112 19a6.98 6.98 0 01-5.013-2.114L2.73 12.714a1 1 0 010-1.428l4.258-4.172A6.98 6.98 0 0112 5a6.98 6.98 0 015.013 2.114l4.258 4.172a1 1 0 010 1.428l-4.258 4.172zM17 12a5 5 0 10-10 0 5 5 0 0010 0z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.sheet-password-input {
  position: relative;
  display: block;
}

.sheet-password-input input {
  padding-right: 48px !important;
}

.sheet-password-input .profile-password-eye {
  position: absolute;
  top: 50%;
  right: 8px;
  transform: translateY(-50%);
}

.profile-password-forgot {
  justify-self: end;
  margin-top: -2px;
  color: var(--brand-strong);
  font-size: 12px;
  font-weight: 850;
  text-decoration: none;
}

.profile-password-submit {
  width: 100%;
  min-height: 48px;
  margin-top: 4px;
  border-radius: 10px;
  background: #050505;
  color: #ffffff;
  font-size: 17px;
  font-weight: 950;
}

.profile-password-submit:disabled {
  opacity: 0.55;
}

.line-switch-page {
  background: #f5f6f7;
}

.line-switch-list {
  display: grid;
  width: calc(100% - 32px);
  max-width: 430px;
  margin: 16px auto 0;
  border-radius: 10px;
  background: #ffffff;
  overflow: hidden;
}

.line-switch-option {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 24px;
  align-items: center;
  min-height: 56px;
  border-bottom: 1px solid #edf0f2;
  background: #ffffff;
  padding: 0 16px;
  color: #111820;
  font-size: 15px;
  font-weight: 850;
  text-align: left;
}

.line-switch-option:last-child {
  border-bottom: 0;
}

.line-switch-option i {
  position: relative;
  width: 20px;
  height: 20px;
}

.line-switch-option.is-active i::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 2px;
  width: 9px;
  height: 14px;
  border-right: 2px solid var(--brand-strong);
  border-bottom: 2px solid var(--brand-strong);
  transform: rotate(45deg);
}

.ai-rules-page {
  align-content: start;
  min-height: 100vh;
  min-height: 100dvh;
  background: #f5f7f9 !important;
  padding: calc(14px + env(safe-area-inset-top)) 12px 92px;
}

.ai-rules-page .ai-rules-back {
  position: relative;
  z-index: 2;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  color: #111820;
  box-shadow: 0 8px 22px rgba(22, 34, 46, 0.08);
}

.ai-rules-hero {
  display: grid;
  gap: 10px;
  margin-top: 12px;
  padding: 0 2px 6px;
  color: #101820;
}

.ai-rules-hero span {
  color: var(--brand-strong);
  font-size: 13px;
  font-weight: 900;
}

.ai-rules-hero h1 {
  margin: 0;
  font-size: 26px;
  font-weight: 900;
  line-height: 1.16;
}

.ai-rules-hero p,
.ai-rules-note {
  margin: 0;
  color: #5f6b75;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.55;
}

.ai-rules-card {
  display: grid;
  margin-top: 18px;
  border-radius: 8px;
  background: #ffffff;
  padding: 0 16px;
  box-shadow: 0 12px 28px rgba(18, 36, 52, 0.06);
}

.ai-rules-card div {
  display: grid;
  gap: 7px;
  padding: 16px 0;
  border-bottom: 1px solid #edf0f2;
}

.ai-rules-card div:last-child {
  border-bottom: 0;
}

.ai-rules-card strong {
  color: #111820;
  font-size: 16px;
  font-weight: 900;
}

.ai-rules-card span {
  color: #4f5c66;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
}

.ai-rules-note {
  margin-top: 14px;
  padding: 0 2px;
}

.ai-rules-intro,
.ai-rules-reward {
  display: grid;
  gap: 10px;
  margin-top: 16px;
  border-radius: 8px;
  background: #ffffff;
  padding: 16px;
  box-shadow: 0 12px 28px rgba(18, 36, 52, 0.06);
}

.ai-rules-intro h2,
.ai-rules-reward h2 {
  margin: 0;
  color: #111820;
  font-size: 17px;
  font-weight: 900;
  line-height: 1.3;
  text-align: center;
}

.ai-rules-intro p,
.ai-rules-reward p {
  margin: 0;
  color: #4f5c66;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.55;
}

.ai-rules-reward-table {
  display: grid;
  overflow: hidden;
  border: 1px solid #dce4ea;
  border-radius: 6px;
}

.ai-rules-reward-table > div {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.1fr;
}

.ai-rules-reward-table strong,
.ai-rules-reward-table span {
  display: grid;
  min-height: 42px;
  place-items: center;
  border-right: 1px solid #dce4ea;
  border-bottom: 1px solid #dce4ea;
  padding: 8px 6px;
  text-align: center;
  font-size: 13px;
  line-height: 1.25;
}

.ai-rules-reward-table strong {
  background: #3f8edc;
  color: #ffffff;
  font-weight: 900;
}

.ai-rules-reward-table span {
  color: #3f4852;
  font-weight: 700;
}

.ai-rules-reward-table > div:last-child span {
  border-bottom: 0;
}

.ai-rules-reward-table strong:last-child,
.ai-rules-reward-table span:last-child {
  border-right: 0;
}

.notary-certification-page {
  align-content: start;
  min-height: 100%;
  background: #ffffff;
  padding-top: calc(44px + env(safe-area-inset-top));
  padding-bottom: calc(88px + env(safe-area-inset-bottom));
}

.notary-form {
  display: grid;
  gap: 14px;
  padding: 14px 12px 24px;
}

.notary-section {
  display: grid;
  gap: 12px;
}

.notary-section h2 {
  margin: 0;
  color: #222a32;
  font-size: 15px;
  font-weight: 900;
}

.notary-field {
  display: grid;
  gap: 7px;
  color: #747f88;
  font-size: 13px;
  font-weight: 760;
}

.notary-field input,
.notary-phone-input {
  min-width: 0;
  min-height: 48px;
  border: 0;
  border-radius: 4px;
  background: #f4f4f4;
  color: #17202a;
  font-size: 14px;
  font-weight: 760;
}

.notary-field input {
  width: 100%;
  padding: 0 16px;
}

.notary-field input::placeholder,
.notary-phone-input input::placeholder {
  color: #c7ccd1;
}

.notary-phone-input {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding: 0 12px;
}

.notary-phone-country {
  min-height: 46px;
  display: inline-grid;
  grid-template-columns: auto auto auto;
  align-items: center;
  gap: 7px;
  border: 0;
  background: transparent;
  color: #202a33;
  padding: 0;
  font: inherit;
  white-space: nowrap;
  touch-action: manipulation;
}

.notary-phone-country .kyc-flag-wrap {
  width: 26px;
  height: 18px;
}

.notary-phone-country .kyc-country-flag {
  width: 26px;
  height: 18px;
  border-radius: 3px;
}

.notary-phone-input strong {
  color: #202a33;
  font-size: 14px;
  font-weight: 880;
}

.notary-phone-input i {
  color: #808b95;
  font-style: normal;
  font-size: 12px;
}

.notary-phone-input input {
  width: 100%;
  min-height: 46px;
  background: transparent;
  padding: 0;
}

.notary-country-option span {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}

.notary-country-option span b {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font: inherit;
}

.notary-country-option span small {
  color: #5f6b76;
  font-size: 12px;
  font-weight: 760;
}

.notary-submit-btn {
  width: 100%;
}

body.is-ai-detail-page .ai-orders-page {
  padding-top: calc(74px + env(safe-area-inset-top)) !important;
}

.ai-orders-page .ai-detail-head {
  min-height: calc(74px + env(safe-area-inset-top)) !important;
  height: calc(74px + env(safe-area-inset-top)) !important;
  grid-template-rows: calc(40px + env(safe-area-inset-top)) 34px !important;
  padding-top: env(safe-area-inset-top) !important;
  background: #ffffff !important;
}

.ai-orders-page .ai-order-state-tabs {
  align-self: end;
  min-height: 34px;
  height: 34px;
}

.ai-orders-page .ai-order-state-tabs button {
  min-height: 34px;
}

.ai-managed-order-card {
  cursor: pointer;
  touch-action: manipulation;
}

.ai-managed-order-head div {
  min-width: 0;
}

.ai-managed-order-head span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ai-managed-order-end-time {
  color: rgba(255, 255, 255, 0.84);
}

.ai-order-detail-page {
  align-content: start;
  min-height: 0;
  height: 100%;
  max-height: 100dvh;
  background: #f5f5f5 !important;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: clamp(8px, 1.8vh, 14px);
  padding: calc(60px + env(safe-area-inset-top)) 24px calc(84px + env(safe-area-inset-bottom));
  overflow: hidden;
}

body.is-ai-detail-page .app-main:has(.ai-order-detail-page) {
  height: 100dvh !important;
  min-height: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  overscroll-behavior: none !important;
  touch-action: pan-y;
}

body.is-ai-detail-page .ai-order-detail-page {
  overflow: hidden !important;
  overscroll-behavior: none !important;
  touch-action: pan-y;
}

.ai-order-detail-head {
  position: fixed;
  z-index: 80;
  top: 0;
  left: 50%;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) 54px;
  align-items: center;
  width: min(100%, var(--app-max-width, 430px));
  min-height: calc(54px + env(safe-area-inset-top));
  height: calc(54px + env(safe-area-inset-top));
  background: #ffffff;
  padding: env(safe-area-inset-top) 8px 0;
  transform: translateX(-50%);
}

.ai-order-detail-head button {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: transparent;
  color: #111111;
}

.ai-order-detail-head h1 {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  color: #2b2d30;
  font-size: 20px;
  font-weight: 750;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ai-order-detail-summary {
  display: grid;
  justify-items: center;
  gap: clamp(8px, 1.4vh, 12px);
  margin: clamp(4px, 1.2vh, 10px) 0 clamp(4px, 1.2vh, 10px);
  color: #2e302c;
  text-align: center;
}

.ai-order-detail-summary span {
  font-size: 18px;
  font-weight: 650;
}

.ai-order-detail-summary strong {
  font-size: 31px;
  font-weight: 560;
  line-height: 1;
}

.ai-order-detail-panel {
  display: grid;
  align-self: start;
  min-height: 0;
  width: 100%;
  max-width: 430px;
  max-height: 100%;
  margin: 0 auto;
  border-radius: 8px;
  background: #ffffff;
  padding: 0 22px;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  touch-action: pan-y;
  -webkit-overflow-scrolling: touch;
}

.ai-order-detail-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, auto);
  align-items: center;
  gap: 12px;
  min-height: clamp(36px, 5.2vh, 52px);
  border-bottom: 1px solid #e7e7e7;
}

.ai-order-detail-row:last-child {
  border-bottom: 0;
}

.ai-order-detail-row span,
.ai-order-detail-row strong {
  min-width: 0;
  color: #2e302c;
  font-size: 16px;
  font-weight: 650;
}

.ai-order-detail-row strong {
  text-align: right;
  word-break: break-word;
}

.ai-order-detail-actions {
  position: fixed;
  right: 0;
  bottom: calc(14px + env(safe-area-inset-bottom));
  left: 0;
  z-index: 85;
  display: flex;
  justify-content: center;
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  padding: 0 24px;
  pointer-events: none;
}

.ai-order-redeem-btn {
  width: 100%;
  max-width: 382px;
  min-height: 54px;
  border: 0;
  border-radius: 8px;
  background: #d8dde1;
  color: #8a949e;
  font-size: 16px;
  font-weight: 850;
  box-shadow: none;
  pointer-events: auto;
}

.ai-order-redeem-btn.is-ready {
  background: linear-gradient(180deg, #62eef8, #20cbd8);
  color: #062023;
  box-shadow: 0 12px 24px rgba(32, 203, 216, 0.24);
}

.ai-order-redeem-confirm-backdrop {
  position: fixed;
  inset: 0;
  z-index: 130;
  display: grid;
  place-items: center;
  width: 100%;
  max-width: 430px;
  height: 100vh;
  height: 100dvh;
  margin: 0 auto;
  background: rgba(4, 11, 18, 0.46);
  overscroll-behavior: none;
  touch-action: none;
}

.ai-order-redeem-confirm-dialog {
  display: grid;
  gap: 14px;
  width: calc(100% - 48px);
  max-width: 340px;
  border-radius: 8px;
  background: #ffffff;
  padding: 20px 18px 16px;
  color: #111820;
  text-align: center;
  box-shadow: 0 18px 48px rgba(4, 11, 18, 0.28);
  pointer-events: auto;
}

.ai-order-redeem-confirm-dialog h2 {
  margin: 0;
  color: #111820;
  font-size: 18px;
  font-weight: 850;
  line-height: 1.25;
}

.ai-order-redeem-confirm-dialog p {
  margin: 0;
  color: #49535d;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.55;
}

.ai-order-redeem-confirm-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding-top: 4px;
}

.ai-order-redeem-confirm-actions button {
  min-width: 0;
  min-height: 44px;
  border: 0;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 850;
}

.ai-order-redeem-confirm-cancel {
  background: #eef3f5;
  color: #38444c;
}

.ai-order-redeem-confirm-submit {
  background: linear-gradient(180deg, #62eef8, #20cbd8);
  color: #062023;
  box-shadow: 0 10px 20px rgba(32, 203, 216, 0.2);
}

html,
body,
.app-shell,
.app-main,
.page {
  background: #ffffff !important;
}

body {
  background-image: none !important;
}

.top-search,
.home-page .top-search,
.markets-page .top-search,
.market-search-only {
  background: #ffffff !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}

.top-search .search-box,
.home-page .top-search .search-box,
.markets-page .top-search .search-box,
.market-search-only .search-box {
  background: rgba(31, 48, 58, 0.05) !important;
}

.profile-page .feature-shortcut > span:nth-of-type(2),
.home-page .quick-action > span:nth-of-type(2) {
  display: block;
  font-size: 12px !important;
  line-height: 1.2 !important;
  transform: none !important;
  white-space: nowrap;
}

.feature-shortcut.has-message-unread > span:last-child,
.feature-shortcut.has-support-unread > span:last-child,
.profile-page .feature-shortcut.has-message-unread .feature-label,
.profile-page .feature-shortcut.has-support-unread .feature-label,
.profile-page .feature-shortcut.has-message-unread > span:not(.icon-circle):not(.profile-message-unread-badge):not(.message-unread-badge):not(.support-unread-dot),
.profile-page .feature-shortcut.has-support-unread > span:not(.icon-circle):not(.profile-message-unread-badge):not(.message-unread-badge):not(.support-unread-dot),
.profile-page .feature-shortcut.has-message-unread > span:last-child,
.profile-page .feature-shortcut.has-support-unread > span:last-child {
  display: block;
  min-height: 15px;
  font-size: 12px !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  transform: none !important;
  white-space: nowrap;
}

.quick-action.has-support-unread > span:last-child,
.home-page .quick-action.has-support-unread > span:not(:first-child):not(.support-unread-dot),
.home-page .quick-action.has-support-unread > span:last-child {
  display: block;
  min-height: 15px;
  font-size: 12px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  transform: none !important;
  white-space: nowrap;
}

.profile-page .feature-shortcut.has-message-unread > span:nth-of-type(2),
.profile-page .feature-shortcut.has-support-unread > span:nth-of-type(2),
.home-page .quick-action.has-support-unread > span:nth-of-type(2) {
  display: block;
  min-height: 15px;
  font-size: 12px !important;
  line-height: 1.2 !important;
  transform: none !important;
  white-space: nowrap;
}

.profile-page .profile-message-unread-badge,
.profile-page .message-unread-badge,
.profile-page .support-unread-dot,
.home-page .quick-action.has-support-unread .support-unread-dot {
  position: absolute !important;
  flex: none !important;
  pointer-events: none;
  transform: none !important;
}

.profile-page .feature-shortcut.has-support-unread > .support-unread-dot,
.home-page .quick-action.has-support-unread > .support-unread-dot,
.profile-page .support-unread-dot,
.home-page .quick-action.has-support-unread .support-unread-dot {
  display: block !important;
  width: 10px !important;
  height: 10px !important;
  min-width: 10px !important;
  max-width: 10px !important;
  min-height: 10px !important;
  max-height: 10px !important;
  padding: 0 !important;
  border-radius: 999px !important;
  font-size: 0 !important;
  line-height: 0 !important;
}

.profile-page .profile-message-unread-badge,
.profile-page .message-unread-badge {
  top: 8px !important;
  right: 10px !important;
}

.profile-page .feature-shortcut.has-support-unread .support-unread-dot,
.home-page .quick-action.has-support-unread .support-unread-dot {
  top: 8px !important;
  right: 10px !important;
}

.kyc-review-page {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  align-content: stretch;
  height: 100vh;
  height: 100dvh;
  min-height: 0;
  overflow: hidden;
}

.kyc-review-content {
  align-content: start;
  min-height: 0;
  box-sizing: border-box;
  padding-top: 48px;
  overflow: hidden;
}

html,
body,
.app-shell,
.app-main {
  overscroll-behavior-x: none !important;
}

.withdraw-page {
  padding-bottom: calc(104px + env(safe-area-inset-bottom)) !important;
  scroll-padding-bottom: calc(104px + env(safe-area-inset-bottom)) !important;
}

.withdraw-page .withdraw-record-card {
  margin-bottom: 4px !important;
}

.app-main .profile-page .login-card,
.app-main .login-page {
  display: none !important;
}

.fund-verify-sheet {
  animation-duration: 120ms !important;
  transform: translateY(0);
}

.fund-verify-keypad-grid button {
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}

.select-caret {
  display: inline-grid !important;
  place-items: center !important;
  width: 18px;
  height: 18px;
  line-height: 1 !important;
  font-size: 0 !important;
  transition: transform 160ms ease !important;
  transform-origin: center !important;
}

[data-coin-picker-open] .select-caret,
.is-open .select-caret,
[aria-expanded="true"] .select-caret {
  transform: rotate(180deg) !important;
}

.select-caret-icon {
  display: block;
  width: 14px;
  height: 14px;
  color: currentColor;
}

.picker-check {
  display: inline-grid !important;
  place-items: center !important;
  width: 18px;
  height: 18px;
  color: var(--brand-strong) !important;
  font-size: 0 !important;
}

.picker-check-icon {
  width: 16px;
  height: 16px;
}

.transfer-swap-icon,
.convert-rate-swap-icon svg {
  display: block;
  width: 20px;
  height: 20px;
  color: var(--brand-strong);
}

.transfer-swap-btn {
  font-size: 0 !important;
}

.transfer-route-card .transfer-swap-btn {
  border: 1px solid rgba(32, 203, 216, 0.34) !important;
  border-radius: 50% !important;
  background: #ffffff !important;
  color: var(--brand-strong) !important;
  box-shadow: 0 8px 20px rgba(8, 37, 47, 0.08), inset 0 0 0 3px rgba(32, 203, 216, 0.08) !important;
}

.transfer-form-card .transfer-amount-field {
  margin-top: 0 !important;
}

.article-detail-head {
  position: sticky !important;
  top: 0 !important;
  z-index: 35 !important;
}

.help-article-page .article-detail-head,
body.is-profile-detail-page .help-article-page .article-detail-head {
  top: 0 !important;
}

.help-article-page .article-detail-head {
  margin-top: 0 !important;
}

.transfer-address-card {
  grid-template-columns: minmax(0, 1fr) auto !important;
  align-items: start !important;
  gap: 10px !important;
}

.transfer-address-card-main {
  min-width: 0 !important;
  align-items: start !important;
}

.transfer-address-card-main > div {
  min-width: 0 !important;
  overflow: visible !important;
}

.transfer-address-card-main span[data-allow-select] {
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  overflow: visible !important;
  text-overflow: clip !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
  word-break: break-all !important;
  font-size: clamp(10px, 2.8vw, 12px) !important;
  line-height: 1.32 !important;
}

.transfer-address-card > button {
  min-width: 54px !important;
  padding: 0 10px !important;
}

.notary-phone-country .kyc-flag-wrap,
.notary-phone-country .kyc-country-flag {
  width: 24px !important;
  height: 24px !important;
  border-radius: 50% !important;
  overflow: hidden !important;
}

.notary-phone-country .kyc-country-flag {
  object-fit: cover !important;
}

.fund-verify-backdrop {
  pointer-events: auto !important;
}

.fund-verify-sheet {
  pointer-events: auto !important;
}

.kyc-upload-grid.is-passport,
.kyc-sample-grid.is-passport {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  max-width: 100%;
}

body.is-ai-detail-page .app-main:has(.ai-rules-page),
body.is-profile-detail-page .app-main:has(.invite-page) {
  overflow: hidden !important;
}

.ai-rules-page {
  display: grid !important;
  grid-template-rows: auto auto auto !important;
  align-content: start !important;
  gap: clamp(8px, 1.4dvh, 14px) !important;
  height: 100vh !important;
  height: 100dvh !important;
  min-height: 0 !important;
  overflow: hidden !important;
  padding: 0 12px 12px !important;
  background: #f5f9fa !important;
}

.ai-rules-head {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 44px;
  align-items: center;
  min-height: calc(44px + env(safe-area-inset-top));
  margin: 0 -12px;
  padding-top: env(safe-area-inset-top);
  background: #ffffff;
  box-shadow: 0 1px 0 rgba(223, 229, 233, 0.9);
}

.ai-rules-head h1 {
  margin: 0;
  color: #0f172a;
  font-size: 16px;
  font-weight: 900;
  text-align: center;
}

.ai-rules-page .ai-rules-back {
  width: 44px !important;
  height: 44px !important;
  margin: -28px 0 0 -14px !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.ai-rules-intro,
.ai-rules-reward {
  gap: clamp(6px, 1dvh, 10px) !important;
  margin-top: 0 !important;
  padding: clamp(12px, 1.8dvh, 16px) !important;
}

.ai-rules-intro h2,
.ai-rules-reward h2 {
  font-size: clamp(15px, 3.7vw, 17px) !important;
}

.ai-rules-intro p,
.ai-rules-reward p {
  font-size: clamp(12px, 3.15vw, 14px) !important;
  line-height: 1.48 !important;
}

.ai-rules-reward-table strong,
.ai-rules-reward-table span {
  min-height: clamp(34px, 5.1dvh, 42px) !important;
  font-size: clamp(11px, 2.9vw, 13px) !important;
  padding: 6px 4px !important;
}

.invite-page {
  display: grid !important;
  grid-template-rows: auto auto auto !important;
  align-content: start !important;
  height: auto !important;
  min-height: 100vh !important;
  min-height: 100dvh !important;
  overflow-y: auto !important;
  padding-bottom: 12px !important;
}

.invite-page .invite-hero {
  min-height: clamp(138px, 20dvh, 178px) !important;
  padding: calc(42px + env(safe-area-inset-top)) 16px 18px !important;
}

.invite-page .invite-tabs {
  margin-top: -14px !important;
}

.invite-page .invite-card {
  align-self: start !important;
  min-height: 0 !important;
  margin-top: 10px !important;
  padding: clamp(10px, 1.45dvh, 14px) !important;
}

.invite-page .qr-card {
  gap: 8px !important;
  padding-top: 10px !important;
  padding-bottom: 10px !important;
}

.invite-page .invite-qr-image {
  width: clamp(104px, 28vw, 124px) !important;
  height: clamp(104px, 28vw, 124px) !important;
}

.invite-page [data-invite-content="info"] {
  align-content: start !important;
  align-items: start !important;
  min-height: 0 !important;
  overflow: visible !important;
  padding-bottom: 8px !important;
}

.invite-page [data-invite-content="info"] .invite-card {
  gap: 8px !important;
}

.invite-page [data-invite-content="team"] {
  align-content: start !important;
  align-items: start !important;
  min-height: 0 !important;
  overflow: visible !important;
  padding-bottom: 8px !important;
}

.invite-page .invite-copy-row {
  min-height: 32px !important;
}

.invite-page .invite-copy-row strong {
  font-size: 18px !important;
}

.invite-page .invite-link-box {
  padding: 9px 10px !important;
  font-size: 12px !important;
  line-height: 1.35 !important;
}

body.is-profile-detail-page .app-main:has(.invite-page),
.invite-page {
  max-width: 100% !important;
  overflow-x: hidden !important;
}

.invite-page,
.invite-page * {
  min-width: 0;
}

.invite-page .invite-card {
  width: calc(100% - 28px) !important;
  max-width: calc(100% - 28px) !important;
  overflow: hidden !important;
}

.invite-page .invite-copy-row {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  align-items: center !important;
  gap: 10px !important;
  width: 100% !important;
}

.invite-page .invite-copy-row.is-end {
  display: flex !important;
  justify-content: flex-end !important;
}

.invite-page .invite-copy-row strong,
.invite-page .invite-link-box {
  max-width: 100% !important;
  overflow-wrap: anywhere !important;
  word-break: break-word !important;
  white-space: normal !important;
}

.invite-page .invite-copy-row strong {
  display: block !important;
  font-size: clamp(14px, 3.9vw, 18px) !important;
  line-height: 1.25 !important;
}

.invite-page .invite-copy-row button {
  min-width: 58px !important;
  padding: 0 10px !important;
  white-space: nowrap !important;
}

.invite-page .invite-team-summary {
  min-height: 72px !important;
  margin: 10px 14px 8px !important;
  border: 1px solid rgba(32, 203, 216, 0.18) !important;
  border-radius: 8px !important;
  background: #f7feff !important;
  padding: 10px 14px !important;
}

.invite-page .invite-team-summary strong {
  color: var(--brand-strong) !important;
  font-size: 18px !important;
}

.invite-team-tabs {
  align-self: start !important;
  width: min(300px, calc(100% - 48px)) !important;
  margin: 6px auto 8px !important;
  border-color: rgba(32, 203, 216, 0.2) !important;
}

.invite-team-tab {
  min-height: 38px !important;
}

.invite-team-tab.is-active {
  background: var(--brand) !important;
  color: #06191b !important;
}

.invite-team-stage {
  align-self: start !important;
  width: calc(100% - 28px) !important;
  min-height: 0 !important;
  overflow: visible !important;
}

.invite-team-level-panel {
  align-content: start !important;
  min-height: 0 !important;
  padding: 8px 0 10px !important;
}

.invite-team-level-stats {
  margin-top: -28px !important;
  background: #eefbfc !important;
  padding: 10px 8px !important;
}

.invite-team-level-panel h3 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.invite-team-level-panel h3 small {
  color: var(--brand-strong);
  font-size: 12px;
  font-weight: 850;
}

.invite-team-user-list {
  max-height: clamp(132px, 30dvh, 240px);
  overflow-y: auto;
  padding-right: 2px;
}

.invite-team-empty {
  gap: 8px !important;
  margin-top: 8px !important;
  min-height: clamp(86px, 16dvh, 126px) !important;
  padding-top: 10px !important;
}

.invite-team-empty span {
  position: relative !important;
  display: block !important;
  width: 60px !important;
  height: 44px !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: transparent !important;
}

.invite-team-empty span::before {
  content: "";
  position: absolute;
  inset: 8px 6px 0;
  border-radius: 8px 8px 6px 6px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(244, 246, 242, 0.78)),
    #f1f2ed;
  box-shadow: inset 0 -13px 0 rgba(255, 255, 255, 0.62), 0 8px 18px rgba(31, 48, 58, 0.04);
  clip-path: polygon(0 18%, 34% 18%, 43% 0, 100% 0, 100% 100%, 0 100%);
}

.invite-team-empty span::after {
  content: "!";
  position: absolute;
  right: 1px;
  bottom: 0;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border: 3px solid #ffffff;
  border-radius: 50%;
  background: var(--brand-strong);
  color: #ffffff;
  font-size: 16px;
  font-weight: 950;
  line-height: 1;
}

.invite-team-user {
  background: #ffffff;
  box-shadow: 0 8px 18px rgba(31, 48, 58, 0.04);
}

@media (max-width: 374px) {
  .transfer-address-card {
    grid-template-columns: minmax(0, 1fr) 52px !important;
  }

  .invite-page .invite-copy p {
    font-size: 11px !important;
    line-height: 1.38 !important;
  }
}

.toast:empty {
  visibility: hidden !important;
  opacity: 0 !important;
  padding: 0 !important;
}

.fund-verify-sheet {
  --aibit-keypad-bottom-gap: calc(30px + env(safe-area-inset-bottom)) !important;
  height: clamp(336px, 50dvh, 430px) !important;
  min-height: 0 !important;
  max-height: calc(100dvh - 8px) !important;
  gap: clamp(5px, 1dvh, 12px) !important;
  padding: clamp(8px, 1.2dvh, 14px) 24px var(--aibit-keypad-bottom-gap) !important;
}

.aibit-number-keypad {
  height: clamp(336px, 50dvh, 430px) !important;
  min-height: 0 !important;
  max-height: calc(100dvh - 8px) !important;
}

.aibit-number-keypad-sheet {
  --aibit-keypad-bottom-gap: calc(30px + env(safe-area-inset-bottom)) !important;
  gap: clamp(5px, 1dvh, 12px) !important;
  padding: clamp(8px, 1.2dvh, 14px) 24px var(--aibit-keypad-bottom-gap) !important;
}

.fund-verify-keypad-grid,
.aibit-number-keypad-grid {
  grid-template-columns: repeat(3, minmax(68px, 74px)) !important;
  justify-content: space-between !important;
  height: clamp(176px, 25dvh, 246px) !important;
  gap: clamp(6px, 1dvh, 10px) 0 !important;
}

.fund-verify-keypad-grid button,
.aibit-number-keypad-grid button {
  border-radius: 14px !important;
  font-size: clamp(28px, 4.9dvh, 42px) !important;
  font-weight: 900 !important;
  font-variant-numeric: tabular-nums;
  line-height: 1 !important;
}

.fund-verify-keypad-grid .fund-verify-keypad-cancel,
.aibit-number-keypad.is-pin .aibit-number-keypad-grid .aibit-number-keypad-cancel {
  display: grid !important;
  place-items: center !important;
  color: #05232b !important;
  font-size: clamp(19px, 2.8dvh, 24px) !important;
  font-weight: 850 !important;
  line-height: 1 !important;
  white-space: nowrap !important;
  writing-mode: horizontal-tb !important;
}

.fund-verify-keypad-grid .fund-verify-keypad-cancel::before,
.aibit-number-keypad.is-pin .aibit-number-keypad-grid .aibit-number-keypad-cancel::before {
  content: none !important;
}

body.is-asset-center-page .asset-center-page {
  padding-top: calc(48px + env(safe-area-inset-top)) !important;
}

body.is-asset-center-page .asset-center-page > .asset-center-head,
.app-main:has(.asset-center-page > .asset-center-head) .asset-center-page > .asset-center-head {
  position: fixed !important;
  top: 0 !important;
  right: 0 !important;
  left: 0 !important;
  z-index: 45 !important;
  width: 100% !important;
  max-width: 430px !important;
  margin: 0 auto !important;
  padding-top: env(safe-area-inset-top) !important;
}

body.is-asset-center-page .asset-record-card,
.app-main:has(.asset-record-page) .asset-record-card {
  margin-top: 8px !important;
}

body.is-ai-detail-page .app-main:has(.ai-rent-page) {
  overflow-y: auto !important;
  overscroll-behavior-y: contain !important;
}

body.is-ai-detail-page .ai-rent-page {
  height: auto !important;
  min-height: 100% !important;
  overflow: visible !important;
  padding-bottom: calc(96px + env(safe-area-inset-bottom)) !important;
}

body.is-ai-rent-input-active .ai-rent-page {
  padding-bottom: calc(140px + env(safe-area-inset-bottom)) !important;
}

body.is-ai-rent-input-active .ai-rent-submit-bar {
  transform: translateY(calc(100% + env(safe-area-inset-bottom))) !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.fund-verify-sheet,
.aibit-number-keypad {
  border-radius: 28px 28px 0 0 !important;
  background: #ffffff !important;
  box-shadow: 0 -18px 44px rgba(15, 23, 42, 0.2), 0 -1px 0 rgba(15, 23, 42, 0.08) !important;
  overflow: hidden !important;
}

.fund-verify-keypad-grid,
.aibit-number-keypad-grid {
  width: 100% !important;
  max-width: none !important;
  justify-self: stretch !important;
  grid-template-columns: repeat(3, minmax(64px, 74px)) !important;
  justify-content: space-between !important;
  column-gap: 0 !important;
  row-gap: clamp(6px, 1dvh, 10px) !important;
  height: clamp(176px, 25dvh, 246px) !important;
}

.fund-pin-input span,
.aibit-number-pin-display span {
  height: clamp(42px, 5.4dvh, 54px) !important;
  aspect-ratio: auto !important;
}

.invite-page .invite-copy-row strong,
.invite-page .invite-link-box {
  overflow-wrap: normal !important;
  word-break: normal !important;
}

.invite-page .invite-copy-row strong {
  white-space: nowrap !important;
  font-size: 18px !important;
}

.invite-page .invite-link-box {
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

body.is-profile-detail-page .app-main:has(.invite-page) {
  width: 100% !important;
  max-width: 430px !important;
  margin-right: auto !important;
  margin-left: auto !important;
  padding-right: 0 !important;
  padding-left: 0 !important;
  overflow-x: hidden !important;
}

body.is-profile-detail-page .app-main:has(.invite-page) .invite-page {
  justify-self: stretch !important;
  width: 100% !important;
  max-width: 430px !important;
  margin-right: auto !important;
  margin-left: auto !important;
  padding-right: 0 !important;
  padding-left: 0 !important;
  transform: none !important;
  box-sizing: border-box;
  overflow-x: hidden !important;
}

body.is-native-keyboard-active,
body.has-aibit-number-keypad,
body.has-fund-verify-keypad {
  --aibit-fixed-bottom-hide: calc(100% + env(safe-area-inset-bottom) + 18px);
}

body.is-native-keyboard-active .bottom-nav,
body.is-native-keyboard-active .detail-submit-bar,
body.is-native-keyboard-active .ai-rent-submit-bar,
body.is-native-keyboard-active .transfer-address-actions,
body.is-native-keyboard-active .coin-chart-trade-bar,
body.has-aibit-number-keypad .bottom-nav,
body.has-aibit-number-keypad .detail-submit-bar,
body.has-aibit-number-keypad .ai-rent-submit-bar,
body.has-aibit-number-keypad .transfer-address-actions,
body.has-aibit-number-keypad .coin-chart-trade-bar,
body.has-fund-verify-keypad .bottom-nav,
body.has-fund-verify-keypad .detail-submit-bar,
body.has-fund-verify-keypad .ai-rent-submit-bar,
body.has-fund-verify-keypad .transfer-address-actions,
body.has-fund-verify-keypad .coin-chart-trade-bar {
  transform: translateY(var(--aibit-fixed-bottom-hide)) !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

body.is-native-keyboard-active .app-main {
  overflow-y: auto !important;
  overscroll-behavior-y: contain !important;
}

body.is-native-keyboard-active .app-main input,
body.is-native-keyboard-active .app-main textarea,
body.is-native-keyboard-active .app-main select,
body.is-native-keyboard-active .app-main [contenteditable="true"] {
  scroll-margin-bottom: calc(var(--aibit-native-keyboard-offset, 0px) + 112px) !important;
}

body.is-native-keyboard-active .trade-terminal-page,
body.is-native-keyboard-active .markets-page,
body.is-native-keyboard-active .search-page,
body.is-native-keyboard-active .transfer-page,
body.is-native-keyboard-active .withdraw-page,
body.is-native-keyboard-active .transfer-address-edit-page {
  padding-bottom: calc(28px + env(safe-area-inset-bottom)) !important;
}

.fund-verify-sheet,
.aibit-number-keypad {
  height: clamp(360px, 56dvh, 456px) !important;
  max-height: calc(100dvh - 8px) !important;
}

.fund-verify-sheet,
.aibit-number-keypad-sheet {
  --aibit-keypad-bottom-gap: calc(8px + env(safe-area-inset-bottom)) !important;
  align-content: stretch !important;
  gap: clamp(4px, 0.65dvh, 8px) !important;
  padding: clamp(8px, 1dvh, 13px) 24px var(--aibit-keypad-bottom-gap) !important;
}

.fund-keypad-handle,
.aibit-number-keypad-handle {
  margin-bottom: clamp(2px, 0.35dvh, 6px) !important;
}

.fund-verify-sheet > h2,
.aibit-number-keypad-sheet > h2 {
  font-size: clamp(22px, 3.1dvh, 30px) !important;
  line-height: 1.05 !important;
}

.fund-pin-input,
.aibit-number-pin-display {
  width: calc(100% + 16px) !important;
  margin-inline: -8px !important;
  gap: clamp(6px, 0.8dvh, 8px) !important;
  grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
  justify-content: center !important;
}

.fund-pin-input span,
.aibit-number-pin-display span {
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 1 / 1 !important;
  border-radius: 13px !important;
}

.fund-verify-keypad-grid,
.aibit-number-keypad-grid {
  width: calc(66.666% + 81px) !important;
  height: clamp(252px, 36dvh, 318px) !important;
  margin-top: -12px !important;
  justify-self: center !important;
  grid-template-columns: repeat(3, minmax(52px, 66px)) !important;
  justify-content: space-between !important;
  row-gap: clamp(6px, 0.9dvh, 10px) !important;
}

.fund-verify-keypad-grid button,
.aibit-number-keypad-grid button {
  font-size: clamp(24px, 4.1dvh, 35px) !important;
}

.fund-verify-keypad-grid .fund-verify-keypad-cancel,
.aibit-number-keypad.is-pin .aibit-number-keypad-grid .aibit-number-keypad-cancel,
.aibit-number-keypad:not(.is-pin) .aibit-number-keypad-cancel {
  font-size: clamp(21px, 3.05dvh, 27px) !important;
  font-weight: 900 !important;
}

body.is-native-keyboard-active .pic-wall-track,
body.has-aibit-number-keypad .pic-wall-track,
body.has-fund-verify-keypad .pic-wall-track {
  animation-play-state: paused !important;
}

.trade-terminal-page .convert-terminal-tools {
  display: none !important;
}

.trade-terminal-page .trade-header .tab-btn {
  font-size: 18px !important;
}

.trade-terminal-page .trade-header {
  position: fixed !important;
  top: 0 !important;
  right: 0 !important;
  left: 0 !important;
  z-index: 45 !important;
  width: 100% !important;
  max-width: 430px !important;
  margin: 0 auto !important;
  background: #ffffff !important;
  transform: none !important;
  backdrop-filter: none !important;
}

.trade-page.trade-terminal-page {
  padding-top: calc(104px + env(safe-area-inset-top)) !important;
  align-content: start !important;
}

.trade-page.trade-terminal-page.is-convert-terminal {
  padding-top: calc(56px + env(safe-area-inset-top)) !important;
}

.trade-terminal-page.is-convert-terminal .trade-workspace {
  align-self: start !important;
  padding-top: 6px !important;
}

.convert-token-select {
  position: relative;
}

.convert-token-select select {
  position: absolute;
  inset: 0;
  width: 100%;
  min-width: 92px;
  opacity: 0;
}

.convert-amount-input {
  min-width: 0;
  width: 58%;
  border: 0;
  outline: 0;
  background: transparent;
  color: #111827;
  font-size: 18px;
  font-weight: 850;
  text-align: right;
}

.convert-balance-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border: 0;
  background: transparent;
  color: inherit;
  padding: 0;
  font: inherit;
}

.trade-terminal-page.is-convert-terminal .trade-submit.convert:not(:disabled):not(.is-disabled) {
  background: var(--brand-strong) !important;
  color: #06191b !important;
}

.trade-amount-mode-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}

.trade-amount-mode-tabs button {
  min-height: 28px;
  border-radius: 6px;
  background: #f2f4f7;
  color: #66717c;
  font-size: 12px;
  font-weight: 850;
}

.trade-amount-mode-tabs button.is-active {
  background: #d7f7fb;
  color: #041014;
}

.trade-terminal-page .trade-book-row {
  --depth-width: 42%;
}

.trade-terminal-page .trade-book-list.ask .trade-book-row,
.trade-terminal-page .trade-book-list.bid .trade-book-row {
  background-size: var(--depth-width) 100%;
  background-position: right center;
  background-repeat: no-repeat;
}

.trade-terminal-page .trade-book-list.ask .trade-book-row {
  background-image: linear-gradient(rgba(225, 76, 76, 0.12), rgba(225, 76, 76, 0.12));
}

.trade-terminal-page .trade-book-list.bid .trade-book-row {
  background-image: linear-gradient(rgba(10, 166, 106, 0.12), rgba(10, 166, 106, 0.12));
}

.trade-depth-empty {
  display: grid;
  min-height: 92px;
  place-items: center;
  color: #9aa3ad;
  font-size: 11px;
  font-weight: 780;
}

.trade-terminal-page .trade-terminal-tabs button {
  display: none !important;
}

.trade-order-list {
  display: grid;
  gap: 8px;
  min-height: 286px;
  padding: 8px 14px 24px;
}

.trade-order-card {
  display: grid;
  gap: 5px;
  border-bottom: 1px solid #eef1f3;
  padding: 8px 0 10px;
}

.trade-order-card div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.trade-order-card strong,
.trade-order-card span {
  color: #050b12;
  font-size: 13px;
  font-weight: 900;
}

.trade-order-card span {
  color: #20a778;
  font-size: 12px;
}

.trade-order-card small {
  color: #64707c;
  font-size: 11px;
  font-weight: 760;
}

.convert-asset-picker {
  position: absolute;
  top: 42px;
  right: 0;
  left: 0;
  z-index: 12;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  height: min(72vh, calc(var(--convert-picker-width, 320px) * 1.3));
  border: 1px solid #e4e9ee;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.16);
  overflow: hidden;
  overscroll-behavior: contain;
}

.convert-asset-picker-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 46px;
  border-bottom: 1px solid #eef1f3;
  padding: 0 14px;
}

.convert-asset-picker-head strong {
  color: #111827;
  font-size: 15px;
  font-weight: 900;
}

.convert-asset-picker-head button {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #f2f4f7;
  color: #5f6b75;
  font-size: 18px;
  font-weight: 850;
}

.convert-picker-list {
  display: grid;
  align-content: start;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  touch-action: pan-y;
  -webkit-overflow-scrolling: touch;
}

.convert-picker-option {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) minmax(88px, auto);
  align-items: center;
  gap: 10px;
  min-height: 48px;
  border-bottom: 1px solid #f0f3f6;
  background: #ffffff;
  padding: 0 14px;
  text-align: left;
}

.convert-picker-option.is-active {
  background: #effcff;
}

.convert-picker-option strong {
  color: #101820;
  font-size: 14px;
  font-weight: 900;
}

.convert-picker-option span {
  color: #7a8591;
  font-size: 12px;
  font-weight: 760;
  text-align: right;
}

.convert-confirm-backdrop {
  position: fixed;
  inset: 0;
  z-index: 260;
  display: grid;
  place-items: center;
  background: rgba(15, 23, 42, 0.36);
  padding: 16px;
}

.convert-confirm-sheet {
  width: min(100%, 398px);
  justify-self: center;
  border-radius: 18px;
  background: #ffffff;
  padding: 18px;
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.22);
}

.convert-confirm-sheet h2 {
  margin: 0 0 14px;
  color: #111827;
  font-size: 18px;
  font-weight: 900;
}

.convert-confirm-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 34px;
  color: #64707c;
  font-size: 13px;
  font-weight: 760;
}

.convert-confirm-row strong {
  color: #101820;
  font-size: 14px;
  font-weight: 900;
  text-align: right;
}

.convert-confirm-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 10px;
  margin-top: 16px;
}

.convert-confirm-actions button {
  min-height: 42px;
  border-radius: 8px;
  background: #eef2f5;
  color: #111827;
  font-size: 14px;
  font-weight: 900;
}

.convert-confirm-actions button[data-convert-confirm] {
  background: var(--brand-strong);
  color: #06191b;
}

.trade-terminal-page .percent-grid .mini-pill.is-active::before {
  background: #111827;
  box-shadow: 0 0 0 4px rgba(17, 24, 39, 0.08);
}

.trade-depth-step {
  display: none !important;
}
