.nav {
  position: fixed;
  left: 50%;
  bottom: 0;
  z-index: 20;
  transform: translateX(-50%);
  width: 100%;
  max-width: 480px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid #e1e7f0;
  background: #fff;
  padding: 7px 8px calc(7px + env(safe-area-inset-bottom));
}
.nav button {
  min-height: 52px;
  border: 0;
  background: transparent;
  color: #6e7d93;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  font-size: 15px;
  font-weight: 950;
}
.nav button.active { color: #0fbd7b; }
.nav-ico { font-size: 20px; line-height: 1; }

.order { padding: 9px 0; border-bottom: 1px solid #edf1f7; }
.order:last-child { border-bottom: 0; padding-bottom: 0; }
.order-head { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; }
.order-head b { font-size: 14px; }
.tag { display: inline-flex; border-radius: 999px; padding: 3px 9px; background: #eefbf5; color: #0b8b5d; font-size: 11px; font-weight: 900; white-space: nowrap; }
.small, .hint { color: var(--muted); font-size: 13px; line-height: 1.45; word-break: break-word; }
.hint { margin-top: 8px; }
.hint.center { text-align: center; }
.mono-line { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.address-line { overflow: visible; text-overflow: clip; white-space: normal; overflow-wrap: anywhere; }
.empty { padding: 18px 8px; color: var(--muted); text-align: center; font-size: 13px; font-weight: 800; }

.profile { display: grid; grid-template-columns: 62px 1fr; gap: 5px 10px; align-items: center; padding: 11px 12px; }
.profile b { display: block; font-size: 16px; line-height: 1.05; }
.profile p { margin: 3px 0 0; color: var(--muted); font-size: 11px; line-height: 1.16; font-weight: 500; }
.profile-note { grid-column: 1 / -1; margin: 1px 0 0 !important; color: var(--muted); font-size: 11px; line-height: 1.18; font-weight: 500; }
.avatar {
  width: 54px;
  height: 54px;
  flex: 0 0 54px;
  border-radius: 50%;
  background: linear-gradient(135deg, #20d994, #5aa9e8);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 30px;
  font-weight: 950;
}

.deposit-card { padding: 11px 12px; }
.balance-box {
  min-height: 64px;
  border: 1px solid #dfe6f0;
  border-radius: 14px;
  padding: 10px 13px;
  background: #fff;
}
.balance-box span { display: block; color: var(--muted); font-size: 13px; font-weight: 700; }
.balance-box b { display: block; margin-top: 9px; color: #050b16; font-size: 25px; line-height: 1; font-weight: 950; }
.amount-input { height: 40px; padding-right: 10px; font-size: 18px; font-weight: 500; }
.quick-label { margin-top: 12px; }

.deposit-box { margin-top: 11px; padding-top: 13px; border-top: 1px solid #edf1f7; }
.deposit-box.success { border: 1px solid #b7f0cd; border-radius: 14px; padding: 12px; background: #ecfdf3; display: flex; justify-content: space-between; gap: 10px; }
.deposit-box.success b { font-size: 16px; }
.deposit-box.success span { color: var(--muted); font-size: 13px; }
.deposit-box.expired { border: 1px solid #fecaca; border-radius: 14px; padding: 12px; background: #fff7f7; display: grid; gap: 5px; }
.deposit-box.expired b { color: #b91c1c; font-size: 16px; }
.deposit-box.expired span { color: #7f1d1d; font-size: 13px; line-height: 1.45; }
.deposit-title { margin-bottom: 9px; color: #485b78; font-size: 14px; font-weight: 950; display: flex; justify-content: space-between; gap: 12px; }
.countdown { color: #b91c1c; font-variant-numeric: tabular-nums; }
.qr {
  width: 158px;
  height: 158px;
  display: block;
  margin: 8px auto 10px;
  border: 8px solid #fff;
  border-radius: 18px;
  background: #f5f7fb;
  box-shadow: 0 12px 30px #24304d18;
}
.addrrow { display: grid; grid-template-columns: 1fr 60px; align-items: center; gap: 8px; margin-top: 8px; }
.addrbox {
  min-width: 0;
  border: 1px solid #dfe6f0;
  border-radius: 13px;
  background: #f8fbff;
  padding: 8px;
  color: #07111f;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  font-weight: 950;
  overflow: visible;
  text-overflow: clip;
  white-space: normal;
  overflow-wrap: anywhere;
  text-align: center;
}
.copybtn {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  border: 0;
  border-radius: 999px;
  background: #ecfdf3;
  color: #0f9f6e;
  padding: 8px 11px;
  font-size: 14px;
  font-weight: 950;
  text-decoration: none;
  white-space: nowrap;
}

.service { display: flex; align-items: center; gap: 8px; min-height: 48px; }
.service span { color: #485b78; font-size: 14px; font-weight: 900; }
.service b { flex: 1; min-width: 0; color: #050b16; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 16px; }

.referral-card { display: grid; gap: 10px; }
.referral-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.referral-head span { color: #485b78; font-size: 14px; font-weight: 900; }
.referral-head b { color: #0f9f6e; font-size: 14px; font-weight: 950; }
.referral-link {
  width: 100%;
  min-height: 48px;
  border: 1px solid #b9f0d9;
  border-radius: 14px;
  background: #effdf6;
  color: #006c4d;
  padding: 8px 9px 8px 12px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  text-align: left;
}
.referral-link span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; font-weight: 800; }
.referral-link b { border-radius: 999px; background: #18c98b; color: #fff; padding: 8px 13px; font-size: 14px; font-weight: 950; }
.referral-link:active { background: #e3faef; }
.referral-card p { margin: 0; color: #657591; font-size: 13px; line-height: 1.55; font-weight: 600; }

.toast {
  position: fixed;
  left: 50%;
  bottom: 84px;
  z-index: 60;
  transform: translateX(-50%);
  max-width: 86%;
  border-radius: 14px;
  background: #111827;
  color: #fff;
  padding: 10px 14px;
  font-size: 13px;
}
.modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: rgba(15, 23, 42, .47);
  display: grid;
  place-items: center;
  padding: 12px;
}
.sheet {
  width: min(366px, 94vw);
  max-height: 84vh;
  overflow: auto;
  border-radius: 18px;
  background: #fff;
  padding: 14px;
  box-shadow: 0 22px 70px rgba(2, 8, 23, .34);
}
.sponsor {
  border: 1px solid #b9f0d9;
  border-radius: 14px;
  background: #effdf6;
  color: #065f46;
  padding: 10px;
  text-align: center;
  font-size: 15px;
  line-height: 1.45;
  font-weight: 950;
}
.sponsor span { color: #0f172a; }
.sheet h2 { margin: 14px 0 8px; color: #065f46; font-size: 15px; }
.guide-sub { border-top: 1px solid #edf1f7; padding-top: 10px; }
.sheet ol { margin: 0; padding-left: 20px; }
.sheet li, .sheet p { margin: 0 0 6px; color: #172033; font-size: 13px; line-height: 1.45; font-weight: 500; }
.modal-main { margin: 0 0 10px; color: #0f9f6e; font-weight: 900; }
.risk-sheet { padding: 18px; text-align: center; }
.risk-sheet h2 { margin: 4px 0 16px; color: #b91c1c; font-size: 20px; }
.sheet label { display: block; margin: 8px 0 5px; color: #52627a; font-size: 12px; font-weight: 900; }
.readonly {
  position: relative;
  min-height: 36px;
  border: 1px solid #d8dfeb;
  border-radius: 14px;
  background: #fff;
  padding: 8px 35px 8px 9px;
}
.readonly span { display: block; overflow: visible; text-overflow: clip; white-space: normal; overflow-wrap: anywhere; font-size: 12px; line-height: 1.45; }
.readonly button {
  position: absolute;
  top: 1px;
  right: 1px;
  bottom: 1px;
  width: 30px;
  border: 0;
  border-left: 1px solid #d8dfeb;
  border-radius: 0 14px 14px 0;
  background: #f8fbff;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  padding: 0;
  white-space: nowrap;
}
.vanity-offer-sheet{padding:18px}.vanity-offer-sheet h2{margin:10px 0 8px;color:#07111f;font-size:22px}.vanity-badge{display:inline-flex;border:1px solid #b9f0d9;border-radius:999px;background:#effdf6;color:#06764f;padding:5px 10px;font-size:12px;font-weight:950}.vanity-intro{margin-bottom:13px!important;color:#52627a!important}.vanity-address{border-color:#8ee1bd;background:#effdf6}.vanity-address span{color:#006c4d;font-weight:950}.vanity-service{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:12px;padding:10px 12px;border:1px solid #e1e7f0;border-radius:14px;background:#f8fbff}.vanity-service span{color:#657591;font-size:13px}.vanity-service b{color:#07111f;font-size:15px;overflow-wrap:anywhere}.vanity-later{width:100%;min-height:42px;margin-top:6px;border:0;background:transparent;color:#657591;font-weight:900}
