:root {
  --design-w: 426px;
  --design-h: 922px;
  --gold: #f6c86b;
  --gold-bright: #ffe39a;
  --green: #59dd67;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  background: #000;
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

button {
  border: 0;
  padding: 0;
  color: inherit;
  font: inherit;
  cursor: pointer;
  background: transparent;
  -webkit-tap-highlight-color: transparent;
}

.phone-shell {
  position: relative;
  width: min(100vw, var(--design-w));
  margin: 0 auto;
  min-height: min(calc(100vw * 1844 / 853), var(--design-h));
  overflow: hidden;
  background: #000;
}

.reference-ui {
  display: block;
  width: 100%;
  height: 922px;
  object-fit: fill;
  user-select: none;
  pointer-events: none;
}

.login-reference,
.robot-reference,
.trade-reference,
.invite-reference,
.mine-reference,
.home-reference,
.robot-hotspot,
.trade-hotspot,
.invite-hotspot,
.mine-hotspot,
.home-hotspot,
.login-hotspot,
.robot-balance-cover,
.robot-status-cover,
.robot-pause-cover {
  display: none;
}

.phone-shell[data-page="login"] .login-reference,
.phone-shell[data-page="login"] .login-hotspot {
  display: block;
}

.phone-shell[data-page="login"] .home-layer,
.phone-shell[data-page="login"] .nav-hotspots {
  display: none;
}

.phone-shell[data-page="home"] .home-reference,
.phone-shell[data-page="home"] .home-hotspot {
  display: block;
}

.phone-shell[data-page="robot"] .home-reference,
.phone-shell[data-page="robot"] .home-hotspot,
.phone-shell[data-page="robot"] .home-layer,
.phone-shell[data-page="trade"] .home-reference,
.phone-shell[data-page="trade"] .home-hotspot,
.phone-shell[data-page="trade"] .home-layer,
.phone-shell[data-page="invite"] .home-reference,
.phone-shell[data-page="invite"] .home-hotspot,
.phone-shell[data-page="invite"] .home-layer,
.phone-shell[data-page="mine"] .home-reference,
.phone-shell[data-page="mine"] .home-hotspot,
.phone-shell[data-page="mine"] .home-layer {
  display: none;
}

.phone-shell[data-page="robot"] .robot-reference {
  display: block;
}

.phone-shell[data-page="robot"] .robot-hotspot {
  display: block;
}

.phone-shell[data-page="trade"] .trade-reference,
.phone-shell[data-page="trade"] .trade-hotspot {
  display: block;
}

.phone-shell[data-page="invite"] .invite-reference,
.phone-shell[data-page="invite"] .invite-hotspot {
  display: block;
}

.phone-shell[data-page="mine"] .mine-reference,
.phone-shell[data-page="mine"] .mine-hotspot {
  display: block;
}

.hotspot,
.nav-hotspots button {
  position: absolute;
  z-index: 4;
  border-radius: 8px;
}

.hotspot:focus-visible,
.nav-hotspots button:focus-visible {
  outline: none;
}

.hotspot:active {
  background: transparent;
}

.notify { left: 342px; top: 23px; width: 32px; height: 32px; border-radius: 50%; }
.support { left: 388px; top: 23px; width: 34px; height: 32px; border-radius: 50%; }
.eye { left: 91px; top: 82px; width: 26px; height: 20px; border-radius: 50%; }
.recharge { left: 229px; top: 87px; width: 84px; height: 36px; }
.transfer { left: 322px; top: 87px; width: 82px; height: 36px; }
.status { left: 26px; top: 212px; width: 58px; height: 25px; border-radius: 14px; }
.details { left: 121px; top: 432px; width: 130px; height: 35px; }
.pause { left: 260px; top: 432px; width: 139px; height: 35px; }
.more { left: 344px; top: 499px; width: 58px; height: 24px; }
.buy { left: 337px; width: 62px; height: 36px; }
.buy-1 { top: 534px; }
.buy-2 { top: 613px; }
.buy-3 { top: 692px; }
.invite { left: 309px; top: 790px; width: 93px; height: 37px; }

.robot-notify { left: 390px; top: 13px; width: 28px; height: 45px; border-radius: 16px; }
.robot-eye { left: 124px; top: 124px; width: 25px; height: 22px; border-radius: 50%; }
.robot-recharge { left: 315px; top: 121px; width: 86px; height: 34px; }
.robot-tab-all { left: 15px; top: 178px; width: 75px; height: 31px; }
.robot-tab-owned { left: 102px; top: 178px; width: 66px; height: 31px; }
.robot-tab-steady { left: 189px; top: 178px; width: 63px; height: 31px; }
.robot-tab-trend { left: 275px; top: 178px; width: 63px; height: 31px; }
.robot-tab-aggressive { left: 358px; top: 178px; width: 54px; height: 31px; }
.robot-view-all { left: 354px; top: 222px; width: 58px; height: 28px; }
.robot-manage { left: 34px; top: 413px; width: 179px; height: 32px; }
.robot-pause { left: 224px; top: 413px; width: 177px; height: 32px; }
.robot-learn-more { left: 353px; top: 468px; width: 58px; height: 26px; }
.robot-buy { left: 325px; width: 74px; height: 37px; }
.robot-buy-1 { top: 541px; }
.robot-buy-2 { top: 640px; }
.robot-buy-3 { top: 738px; }
.robot-invite { left: 312px; top: 804px; width: 88px; height: 31px; }

.trade-notify { left: 342px; top: 10px; width: 34px; height: 46px; border-radius: 17px; }
.trade-support { left: 384px; top: 10px; width: 35px; height: 46px; border-radius: 17px; }
.trade-symbol { left: 14px; top: 52px; width: 147px; height: 26px; }
.trade-margin { left: 14px; top: 124px; width: 84px; height: 24px; }
.trade-leverage { left: 105px; top: 124px; width: 98px; height: 24px; }
.trade-chart-full { left: 388px; top: 161px; width: 28px; height: 28px; }
.trade-time { top: 162px; height: 19px; }
.trade-time-1m { left: 62px; width: 30px; }
.trade-time-15m { left: 101px; width: 38px; }
.trade-time-1h { left: 136px; width: 39px; height: 23px; top: 158px; }
.trade-time-4h { left: 188px; width: 33px; }
.trade-time-day { left: 232px; width: 36px; }
.trade-time-more { left: 274px; width: 45px; }
.trade-indicator { left: 388px; top: 309px; width: 25px; height: 22px; }
.trade-assistant { left: 115px; top: 340px; width: 286px; height: 60px; }
.trade-ai-toggle { left: 372px; top: 406px; width: 34px; height: 24px; border-radius: 14px; }
.trade-long-tab { left: 20px; top: 448px; width: 94px; height: 26px; }
.trade-short-tab { left: 114px; top: 448px; width: 114px; height: 26px; }
.trade-market-tab { left: 23px; top: 480px; width: 55px; height: 19px; }
.trade-limit-tab { left: 79px; top: 480px; width: 54px; height: 19px; }
.trade-amount { left: 22px; top: 513px; width: 199px; height: 22px; }
.trade-leverage-minus { left: 23px; top: 551px; width: 24px; height: 18px; }
.trade-leverage-plus { left: 202px; top: 551px; width: 22px; height: 18px; }
.trade-tpsl { left: 22px; top: 654px; width: 16px; height: 18px; border-radius: 4px; }
.trade-buy-long { left: 20px; top: 681px; width: 101px; height: 25px; }
.trade-sell-short { left: 126px; top: 681px; width: 102px; height: 25px; }
.trade-position-tab { left: 18px; top: 725px; width: 78px; height: 25px; }
.trade-record-tab { left: 195px; top: 725px; width: 118px; height: 25px; }
.trade-order-book { left: 386px; top: 476px; width: 24px; height: 22px; }
.trade-close-all { left: 343px; top: 727px; width: 60px; height: 22px; }
.trade-position-tpsl { left: 234px; top: 823px; width: 64px; height: 20px; }
.trade-position-close { left: 304px; top: 823px; width: 45px; height: 20px; }
.trade-position-reverse { left: 355px; top: 823px; width: 47px; height: 20px; }

.invite-back { left: 14px; top: 55px; width: 28px; height: 28px; border-radius: 50%; }
.invite-notify { left: 348px; top: 11px; width: 28px; height: 43px; border-radius: 16px; }
.invite-support { left: 389px; top: 11px; width: 30px; height: 43px; border-radius: 16px; }
.invite-primary { left: 16px; top: 198px; width: 98px; height: 34px; }
.invite-copy-code { left: 87px; top: 260px; width: 25px; height: 24px; }
.invite-copy-link { left: 156px; top: 283px; width: 22px; height: 20px; }
.invite-stats-users { left: 26px; top: 310px; width: 124px; height: 60px; }
.invite-stats-valid { left: 155px; top: 310px; width: 118px; height: 60px; }
.invite-stats-reward { left: 278px; top: 310px; width: 124px; height: 60px; }
.invite-pending-detail { left: 300px; top: 389px; width: 99px; height: 32px; }
.invite-level { left: 25px; top: 440px; width: 240px; height: 82px; }
.invite-upgrade { left: 280px; top: 453px; width: 124px; height: 62px; }
.invite-chart-range { left: 360px; top: 543px; width: 43px; height: 28px; }
.invite-records-all { left: 356px; top: 636px; width: 49px; height: 24px; }
.invite-record { left: 25px; width: 379px; height: 27px; }
.invite-record-1 { top: 660px; }
.invite-record-2 { top: 688px; }
.invite-record-3 { top: 716px; }
.invite-record-4 { top: 744px; }
.invite-record-5 { top: 772px; }
.invite-bottom-cta { left: 96px; top: 806px; width: 234px; height: 50px; border-radius: 25px; }

.mine-notify { left: 340px; top: 15px; width: 33px; height: 42px; border-radius: 16px; }
.mine-support { left: 384px; top: 15px; width: 35px; height: 42px; border-radius: 16px; }
.mine-profile { left: 18px; top: 78px; width: 232px; height: 66px; }
.mine-vip { left: 205px; top: 92px; width: 44px; height: 22px; }
.mine-income-eye { left: 109px; top: 165px; width: 25px; height: 20px; border-radius: 50%; }
.mine-recharge { left: 36px; top: 378px; width: 88px; height: 28px; }
.mine-withdraw { left: 234px; top: 378px; width: 90px; height: 28px; }
.mine-buy-robot { left: 17px; top: 433px; width: 194px; height: 82px; }
.mine-invite { left: 217px; top: 433px; width: 194px; height: 82px; }
.mine-asset-eye { left: 119px; top: 540px; width: 25px; height: 19px; border-radius: 50%; }
.mine-asset-card { left: 16px; top: 525px; width: 394px; height: 143px; }
.mine-fund-record { left: 31px; top: 682px; width: 58px; height: 57px; }
.mine-trade-record { left: 120px; top: 682px; width: 64px; height: 57px; }
.mine-position-order { left: 205px; top: 682px; width: 65px; height: 57px; }
.mine-fund-flow { left: 291px; top: 682px; width: 64px; height: 57px; }
.mine-record-more { left: 370px; top: 692px; width: 28px; height: 38px; border-radius: 14px; }
.mine-help { left: 32px; top: 758px; width: 364px; height: 29px; }
.mine-contact { left: 32px; top: 786px; width: 364px; height: 29px; }
.mine-about { left: 32px; top: 814px; width: 364px; height: 29px; }
.mine-settings { left: 32px; top: 842px; width: 364px; height: 29px; }

.login-account { left: 32px; top: 450px; width: 363px; height: 57px; }
.login-password { left: 32px; top: 519px; width: 363px; height: 57px; }
.login-eye { left: 358px; top: 538px; width: 28px; height: 20px; border-radius: 50%; }
.login-submit { left: 32px; top: 591px; width: 363px; height: 54px; }
.login-forgot { left: 119px; top: 674px; width: 71px; height: 25px; }
.login-register { left: 245px; top: 674px; width: 72px; height: 25px; }
.login-feature { top: 728px; width: 102px; height: 109px; }
.login-feature-ai { left: 44px; }
.login-feature-run { left: 162px; }
.login-feature-risk { left: 281px; }

.nav-hotspots {
  position: absolute;
  z-index: 60;
  left: 0;
  right: 0;
  bottom: 0;
  height: 58px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}

.nav-hotspots button {
  position: relative;
  width: 100%;
  height: 58px;
  border-radius: 0;
}

.nav-hotspots button:active {
  background: rgba(255, 216, 126, 0.08);
}

.app-bottom-nav {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 10px;
  z-index: 20;
  height: 58px;
  display: none;
  grid-template-columns: repeat(5, 1fr);
  border: 1px solid rgba(196, 149, 55, 0.72);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(12, 13, 12, 0.94), rgba(5, 6, 6, 0.96));
  box-shadow:
    inset 0 1px 0 rgba(255, 235, 166, 0.08),
    0 10px 24px rgba(0, 0, 0, 0.32);
  pointer-events: none;
}

.phone-shell[data-page="home"]::after,
.phone-shell[data-page="robot"]::after,
.phone-shell[data-page="mine"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 19;
  height: 86px;
  background: #000;
  pointer-events: none;
}

.phone-shell[data-page="home"] .app-bottom-nav,
.phone-shell[data-page="robot"] .app-bottom-nav,
.phone-shell[data-page="trade"] .app-bottom-nav,
.phone-shell[data-page="invite"] .app-bottom-nav,
.phone-shell[data-page="mine"] .app-bottom-nav {
  display: grid;
}

.app-bottom-nav span {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 3px;
  min-width: 0;
  color: #928c82;
  font-size: 10px;
  line-height: 12px;
}

.app-bottom-nav img {
  width: 22px;
  height: 22px;
  opacity: 0.52;
  filter: grayscale(1) brightness(0.78);
}

.app-bottom-nav b {
  font-weight: 700;
}

.phone-shell[data-page="home"] .app-bottom-nav [data-nav-item="home"],
.phone-shell[data-page="robot"] .app-bottom-nav [data-nav-item="robot"],
.phone-shell[data-page="trade"] .app-bottom-nav [data-nav-item="trade"],
.phone-shell[data-page="invite"] .app-bottom-nav [data-nav-item="invite"],
.phone-shell[data-page="mine"] .app-bottom-nav [data-nav-item="mine"] {
  color: #f2c85f;
  font-weight: 900;
}

.phone-shell[data-page="home"] .app-bottom-nav [data-nav-item="home"] img,
.phone-shell[data-page="robot"] .app-bottom-nav [data-nav-item="robot"] img,
.phone-shell[data-page="trade"] .app-bottom-nav [data-nav-item="trade"] img,
.phone-shell[data-page="invite"] .app-bottom-nav [data-nav-item="invite"] img,
.phone-shell[data-page="mine"] .app-bottom-nav [data-nav-item="mine"] img {
  opacity: 1;
  filter: none;
}

.balance-cover {
  position: absolute;
  z-index: 3;
  left: 26px;
  top: 101px;
  display: none;
  align-items: baseline;
  gap: 6px;
  width: 118px;
  height: 24px;
  padding-top: 1px;
  background: #111110;
  color: #f2f2f2;
}

.balance-cover strong {
  font-size: 21px;
  line-height: 1;
  font-weight: 850;
}

.balance-cover span {
  color: var(--gold-bright);
  font-size: 8.5px;
}

.phone-shell[data-page="home"] .balance-cover {
  display: flex;
}

.phone-shell.balance-hidden .balance-cover strong {
  letter-spacing: 1px;
}

.status-cover {
  position: absolute;
  z-index: 3;
  left: 26px;
  top: 213px;
  display: none;
  align-items: center;
  gap: 5px;
  height: 22px;
  min-width: 58px;
  padding: 0 8px;
  border-radius: 12px;
  color: #ffda7d;
  background: rgba(92, 65, 20, 0.95);
  font-size: 10px;
  font-weight: 800;
}

.status-cover i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 10px currentColor;
}

.phone-shell[data-page="home"].paused .status-cover {
  display: flex;
}

.pause-cover {
  position: absolute;
  z-index: 3;
  left: 260px;
  top: 432px;
  display: none;
  place-items: center;
  width: 139px;
  height: 35px;
  border-radius: 7px;
  color: #251806;
  background: linear-gradient(180deg, #ffe69b, #d89a34);
  font-size: 12px;
  font-weight: 900;
}

.phone-shell[data-page="home"].paused .pause-cover {
  display: grid;
}

.robot-balance-cover {
  position: absolute;
  z-index: 3;
  left: 64px;
  top: 139px;
  align-items: baseline;
  gap: 7px;
  width: 121px;
  height: 23px;
  background: #111110;
  color: #f2f2f2;
}

.robot-balance-cover strong {
  font-size: 21px;
  line-height: 1;
  font-weight: 850;
  letter-spacing: 1px;
}

.robot-balance-cover span {
  color: #e8e2d8;
  font-size: 9px;
}

.phone-shell[data-page="robot"] .robot-balance-cover {
  display: flex;
}

.robot-status-cover {
  position: absolute;
  z-index: 3;
  left: 158px;
  top: 311px;
  align-items: center;
  gap: 5px;
  height: 23px;
  min-width: 54px;
  padding: 0 8px;
  border-radius: 8px;
  color: #58df67;
  background: #102f19;
  font-size: 12px;
  font-weight: 800;
}

.robot-status-cover i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 9px currentColor;
}

.phone-shell[data-page="robot"].paused .robot-status-cover {
  display: flex;
  color: #ffda7d;
  background: rgba(92, 65, 20, 0.96);
}

.robot-pause-cover {
  position: absolute;
  z-index: 3;
  left: 224px;
  top: 413px;
  place-items: center;
  width: 177px;
  height: 32px;
  border-radius: 7px;
  color: #251806;
  background: linear-gradient(180deg, #ffe69b, #d89a34);
  font-size: 12px;
  font-weight: 900;
}

.phone-shell[data-page="robot"].paused .robot-pause-cover {
  display: grid;
}

.metric-cover {
  position: absolute;
  z-index: 3;
  display: none;
  background: #10100f;
  color: #59dd67;
  pointer-events: none;
}

.phone-shell[data-page="home"] .home-layer.metric-cover,
.phone-shell[data-page="robot"] .robot-metric-cover {
  display: block;
}

.metric-cover strong,
.metric-cover span,
.metric-cover small {
  display: block;
  margin: 0;
  letter-spacing: 0;
}

.home-profit-today {
  left: 208px;
  top: 229px;
  width: 76px;
  height: 40px;
}

.home-profit-total {
  left: 314px;
  top: 229px;
  width: 82px;
  height: 40px;
}

.home-profit-today strong,
.home-profit-total strong {
  font-size: 17px;
  line-height: 19px;
  font-weight: 900;
}

.home-profit-today span,
.home-profit-total span {
  margin-top: 3px;
  font-size: 11px;
  line-height: 12px;
  font-weight: 700;
}

.home-trades {
  left: 210px;
  top: 311px;
  width: 44px;
  height: 20px;
  display: none;
  align-items: baseline;
  gap: 3px;
  color: #f2f2f2;
}

.phone-shell[data-page="home"] .home-trades {
  display: flex;
}

.home-trades strong,
.home-trades small {
  display: inline;
  font-size: 17px;
  line-height: 20px;
  font-weight: 850;
}

.home-trades small {
  font-size: 11px;
}

.home-win-rate {
  left: 312px;
  top: 311px;
  width: 55px;
  height: 20px;
  color: #f2f2f2;
}

.home-win-rate strong {
  font-size: 17px;
  line-height: 20px;
  font-weight: 850;
}

.robot-profit-today {
  left: 171px;
  top: 364px;
  width: 63px;
  height: 39px;
}

.robot-profit-today strong {
  font-size: 17px;
  line-height: 19px;
  font-weight: 900;
}

.robot-profit-today span {
  margin-top: 3px;
  color: #f2f2f2;
  font-size: 9px;
  line-height: 10px;
  font-weight: 700;
}

.robot-win-rate {
  left: 254px;
  top: 365px;
  width: 54px;
  height: 20px;
  color: #f2f2f2;
}

.robot-win-rate strong {
  font-size: 17px;
  line-height: 20px;
  font-weight: 850;
}

.robot-runtime {
  left: 324px;
  top: 365px;
  width: 76px;
  height: 20px;
  color: #f2f2f2;
}

.robot-runtime strong {
  font-size: 17px;
  line-height: 20px;
  font-weight: 850;
}

.robot-filter-pill {
  position: absolute;
  z-index: 3;
  display: none;
  place-items: center;
  height: 31px;
  border-radius: 16px;
  color: #251806;
  background: linear-gradient(180deg, #ffe69b, #d89a34);
  font-size: 12px;
  font-weight: 900;
  pointer-events: none;
}

.filter-owned {
  left: 102px;
  top: 178px;
  width: 66px;
}

.filter-steady {
  left: 189px;
  top: 178px;
  width: 63px;
}

.filter-trend {
  left: 275px;
  top: 178px;
  width: 63px;
}

.filter-aggressive {
  left: 358px;
  top: 178px;
  width: 54px;
}

.phone-shell[data-page="robot"][data-robot-filter="已购买"] .filter-owned,
.phone-shell[data-page="robot"][data-robot-filter="稳健"] .filter-steady,
.phone-shell[data-page="robot"][data-robot-filter="趋势"] .filter-trend,
.phone-shell[data-page="robot"][data-robot-filter="激进"] .filter-aggressive {
  display: grid;
}

.robot-row-mask {
  position: absolute;
  z-index: 3;
  left: 24px;
  display: none;
  width: 378px;
  height: 88px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.58);
  pointer-events: none;
}

.row-steady-mask {
  top: 508px;
}

.row-trend-mask {
  top: 606px;
}

.row-aggressive-mask {
  top: 704px;
}

.phone-shell[data-page="robot"][data-robot-filter="已购买"] .robot-row-mask,
.phone-shell[data-page="robot"][data-robot-filter="稳健"] .row-trend-mask,
.phone-shell[data-page="robot"][data-robot-filter="稳健"] .row-aggressive-mask,
.phone-shell[data-page="robot"][data-robot-filter="趋势"] .row-steady-mask,
.phone-shell[data-page="robot"][data-robot-filter="趋势"] .row-aggressive-mask,
.phone-shell[data-page="robot"][data-robot-filter="激进"] .row-steady-mask,
.phone-shell[data-page="robot"][data-robot-filter="激进"] .row-trend-mask {
  display: block;
}

.invite-dynamic-layer {
  position: absolute;
  z-index: 3;
  inset: 0;
  display: none;
  pointer-events: none;
}

.phone-shell[data-page="invite"] .invite-dynamic-layer {
  display: none;
}

.invite-dynamic-layer .invite-value,
.invite-dynamic-layer .invite-progress-fill,
.invite-dynamic-layer .invite-record-layer,
.invite-dynamic-layer .invite-stats-panel,
.invite-dynamic-layer .invite-pending-panel,
.invite-dynamic-layer .invite-level-panel {
  display: none;
}

.phone-shell[data-page="invite"] .invite-total-reward,
.phone-shell[data-page="invite"] .invite-total-usd,
.phone-shell[data-page="invite"] .invite-code-value,
.phone-shell[data-page="invite"] .invite-link-value {
  display: block;
}

.phone-shell[data-page="invite"] .invite-stats-panel {
  position: absolute;
  left: 26px;
  top: 313px;
  z-index: 4;
  display: grid;
  width: 376px;
  height: 58px;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  pointer-events: none;
}

.invite-stat-card {
  position: relative;
  overflow: hidden;
  height: 58px;
  border: 1px solid rgba(197, 154, 70, 0.28);
  border-radius: 7px;
  background:
    radial-gradient(circle at 28% 50%, rgba(255, 198, 78, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(28, 28, 24, 0.98) 0%, rgba(14, 15, 13, 0.98) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 235, 165, 0.06), 0 8px 18px rgba(0, 0, 0, 0.18);
}

.invite-stat-card i {
  position: absolute;
  left: 16px;
  top: 14px;
  width: 31px;
  height: 31px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 45% 36%, #ffe8a0 0 18%, transparent 19%),
    radial-gradient(circle at 38% 63%, #ffd36b 0 17%, transparent 18%),
    radial-gradient(circle at 62% 63%, #f0a929 0 17%, transparent 18%),
    linear-gradient(180deg, rgba(99, 72, 19, 0.86), rgba(26, 18, 5, 0.88));
  box-shadow: 0 0 12px rgba(255, 194, 70, 0.22);
}

.invite-stat-valid i {
  background:
    radial-gradient(circle at 50% 43%, #ffeaa5 0 23%, transparent 24%),
    conic-gradient(from 0deg, transparent 0 12%, #f8c34f 12% 88%, transparent 88%),
    linear-gradient(180deg, rgba(99, 72, 19, 0.86), rgba(26, 18, 5, 0.88));
}

.invite-stat-reward i {
  background:
    radial-gradient(ellipse at 48% 30%, #ffe99d 0 16%, transparent 17%),
    radial-gradient(ellipse at 48% 48%, #ffd06a 0 18%, transparent 19%),
    radial-gradient(ellipse at 48% 66%, #e5a02d 0 20%, transparent 21%),
    linear-gradient(180deg, rgba(99, 72, 19, 0.86), rgba(26, 18, 5, 0.88));
}

.invite-stat-card strong {
  position: absolute;
  left: 60px;
  top: 9px;
  color: #ffd986;
  font-size: 25px;
  font-weight: 900;
  line-height: 29px;
  letter-spacing: 0;
}

.invite-stat-reward strong {
  left: 49px;
  top: 11px;
  font-size: 19px;
  line-height: 25px;
}

.invite-stat-card span {
  position: absolute;
  left: 60px;
  top: 37px;
  color: rgba(238, 231, 217, 0.72);
  font-size: 10px;
  font-weight: 700;
  line-height: 14px;
  white-space: nowrap;
}

.invite-stat-reward span {
  left: 49px;
  top: 38px;
  font-size: 8.5px;
}

.phone-shell[data-page="invite"] .invite-pending-panel {
  position: absolute;
  left: 26px;
  top: 384px;
  z-index: 4;
  display: block;
  width: 376px;
  height: 54px;
  overflow: hidden;
  border: 1px solid rgba(198, 151, 53, 0.58);
  border-radius: 7px;
  background:
    radial-gradient(circle at 28% 50%, rgba(255, 198, 67, 0.16), transparent 22%),
    linear-gradient(180deg, rgba(24, 21, 12, 0.98) 0%, rgba(13, 14, 11, 0.98) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 230, 147, 0.06);
  pointer-events: none;
}

.phone-shell[data-page="invite"] .invite-level-panel {
  position: absolute;
  left: 16px;
  top: 443px;
  z-index: 4;
  display: block;
  width: 394px;
  height: 83px;
  overflow: hidden;
  border: 1px solid rgba(180, 134, 47, 0.5);
  border-radius: 7px;
  background:
    radial-gradient(circle at 13% 50%, rgba(254, 198, 75, 0.12), transparent 20%),
    linear-gradient(180deg, rgba(22, 23, 20, 0.98) 0%, rgba(13, 14, 13, 0.99) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 232, 152, 0.05);
  pointer-events: none;
}

.invite-level-panel::before {
  content: "推广等级";
  position: absolute;
  left: 18px;
  top: 11px;
  color: #f5d47e;
  font-size: 13px;
  font-weight: 900;
  line-height: 17px;
}

.invite-level-badge {
  position: absolute;
  left: 30px;
  top: 34px;
  width: 43px;
  height: 36px;
  display: grid;
  place-items: center;
  color: #fff0b5;
  font-size: 23px;
  font-weight: 950;
  line-height: 1;
  text-shadow: 0 2px 7px rgba(0, 0, 0, 0.46);
  background:
    linear-gradient(135deg, transparent 13%, #e5a63d 13% 28%, transparent 28% 72%, #7e5617 72% 87%, transparent 87%),
    radial-gradient(circle at 50% 46%, #8a5d15 0 36%, #f4cf72 37% 45%, #805310 46% 57%, transparent 58%);
}

.invite-level-main {
  position: absolute;
  left: 90px;
  top: 30px;
  width: 160px;
}

.invite-level-main strong {
  display: block;
  color: #f9d984;
  font-size: 13px;
  font-weight: 900;
  line-height: 17px;
  white-space: nowrap;
}

.invite-level-main p {
  margin: 2px 0 5px;
  color: rgba(239, 231, 215, 0.78);
  font-size: 10px;
  font-weight: 650;
  line-height: 13px;
  white-space: nowrap;
}

.invite-level-main p b {
  color: #fbd176;
}

.invite-level-bar {
  position: relative;
  width: 142px;
  height: 6px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(74, 62, 35, 0.62);
}

.invite-level-bar i {
  display: block;
  width: 80%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #ffe79a 0%, #ffc13f 100%);
  box-shadow: 0 0 8px rgba(255, 200, 67, 0.6);
}

.invite-level-count {
  position: absolute;
  left: 238px;
  top: 60px;
  color: rgba(238, 231, 218, 0.78);
  font-size: 11px;
  font-weight: 750;
  line-height: 15px;
}

.invite-upgrade-card {
  position: absolute;
  right: 11px;
  top: 15px;
  width: 126px;
  height: 58px;
  border: 1px solid rgba(166, 128, 49, 0.34);
  border-radius: 6px;
  background: rgba(30, 29, 24, 0.72);
}

.invite-upgrade-card strong {
  position: absolute;
  left: 13px;
  top: 8px;
  color: #f5d47e;
  font-size: 10px;
  font-weight: 900;
  line-height: 13px;
  white-space: nowrap;
}

.invite-upgrade-card small {
  position: absolute;
  left: 16px;
  top: 31px;
  color: #d9a93d;
  font-size: 8.5px;
  font-weight: 850;
  line-height: 11px;
}

.invite-upgrade-card small:last-child {
  left: 78px;
}

.invite-upgrade-card b {
  color: #ffd76f;
}

.invite-pending-panel span {
  position: absolute;
  left: 17px;
  top: 9px;
  color: #f5d47e;
  font-size: 10px;
  font-weight: 800;
  line-height: 14px;
}

.invite-pending-panel strong {
  position: absolute;
  left: 17px;
  top: 25px;
  color: #ffd076;
  font-size: 25px;
  font-weight: 900;
  line-height: 27px;
}

.invite-pending-panel button {
  position: absolute;
  right: 15px;
  top: 13px;
  width: 93px;
  height: 29px;
  border-radius: 6px;
  color: #1d1304;
  background: linear-gradient(180deg, #ffdf94 0%, #d89934 100%);
  font-size: 13px;
  font-weight: 900;
  line-height: 29px;
  text-align: center;
}

.invite-pending-panel b {
  font-size: 15px;
}

.invite-value {
  position: absolute;
  color: #f8d788;
  letter-spacing: 0;
  white-space: nowrap;
}

.invite-total-reward {
  left: 0;
  top: 92px;
  width: 242px;
  height: 112px;
  overflow: hidden;
  padding: 12px 0 0 37px;
  border-radius: 0 8px 8px 0;
  background:
    radial-gradient(circle at 78% 45%, rgba(245, 191, 76, 0.1), transparent 31%),
    linear-gradient(90deg, #050505 0%, #050505 77%, rgba(5, 5, 5, 0.12) 100%);
  box-shadow: 16px 0 26px rgba(0, 0, 0, 0.24);
}

.invite-total-reward::before {
  content: "累计获得奖励";
  position: absolute;
  left: 38px;
  top: 11px;
  color: rgba(240, 232, 212, 0.88);
  font-size: 13px;
  font-weight: 700;
  line-height: 20px;
}

.invite-total-reward::after {
  content: "USDT";
  position: absolute;
  left: 38px;
  top: 74px;
  color: #ffd684;
  font-size: 17px;
  font-weight: 850;
  line-height: 23px;
}

.invite-total-reward strong {
  position: absolute;
  left: 37px;
  top: 33px;
  display: block;
  color: #ffe09a;
  font-size: 40px;
  font-weight: 900;
  line-height: 45px;
  text-shadow: 0 2px 8px rgba(245, 174, 58, 0.38);
}

.invite-total-usd {
  left: 38px;
  top: 183px;
  width: 102px;
  height: 18px;
  overflow: hidden;
  background: transparent;
  color: rgba(242, 238, 225, 0.84);
  font-size: 13px;
  font-weight: 650;
  line-height: 18px;
}

.invite-code-value {
  left: 16px;
  top: 242px;
  width: 394px;
  height: 56px;
  overflow: hidden;
  padding: 24px 0 0 20px;
  border: 1px solid rgba(188, 142, 53, 0.54);
  border-radius: 7px;
  background:
    radial-gradient(circle at 92% 52%, rgba(255, 195, 82, 0.12), transparent 32%),
    #11110e;
  box-shadow: inset 0 1px 0 rgba(255, 226, 145, 0.08), 0 8px 18px rgba(0, 0, 0, 0.2);
  color: #ffdc8c;
  font-size: 18px;
  font-weight: 900;
  line-height: 22px;
}

.invite-code-value::before {
  content: "我的邀请码";
  position: absolute;
  left: 20px;
  top: 8px;
  color: rgba(247, 218, 151, 0.72);
  font-size: 10px;
  font-weight: 750;
  line-height: 13px;
}

.invite-link-value {
  left: 36px;
  top: 284px;
  width: 246px;
  height: 14px;
  overflow: hidden;
  background: transparent;
  color: rgba(244, 236, 220, 0.78);
  font-size: 8.5px;
  font-weight: 650;
  line-height: 14px;
  text-overflow: ellipsis;
}

.invite-users-value,
.invite-valid-value,
.invite-reward-value {
  top: 652px;
  height: 42px;
  background: #191916;
  color: #ffdc8f;
  font-size: 29px;
  font-weight: 900;
  line-height: 42px;
  text-align: center;
}

.invite-users-value {
  left: 89px;
  width: 48px;
}

.invite-valid-value {
  left: 218px;
  width: 38px;
}

.invite-reward-value {
  left: 326px;
  width: 72px;
}

.invite-pending-value {
  left: 40px;
  top: 798px;
  width: 112px;
  height: 43px;
  background: #11100b;
  color: #ffcf74;
  font-size: 31px;
  font-weight: 900;
  line-height: 43px;
}

.invite-level-progress-text {
  left: 239px;
  top: 505px;
  width: 38px;
  height: 19px;
  background: rgba(15, 14, 12, 0.78);
  color: rgba(246, 236, 218, 0.8);
  font-size: 12px;
  font-weight: 750;
  line-height: 19px;
  text-align: right;
}

.invite-progress-fill {
  position: absolute;
  left: 93px;
  top: 508px;
  width: 104px;
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(90deg, #fff0ad 0%, #ffc746 76%, rgba(255, 199, 70, 0) 76%);
  box-shadow: 0 0 9px rgba(251, 197, 74, 0.62);
}

.invite-trend-total {
  left: 56px;
  top: 570px;
  width: 142px;
  height: 34px;
  background: #0b0b09;
  color: #ffd27a;
  font-size: 28px;
  font-weight: 900;
  line-height: 34px;
}

.invite-trend-point {
  height: 18px;
  background: rgba(14, 12, 8, 0.72);
  color: #ffd376;
  font-size: 12px;
  font-weight: 800;
  line-height: 18px;
  text-align: center;
}

.invite-trend-point-1 {
  left: 156px;
  top: 606px;
  width: 44px;
}

.invite-trend-point-2 {
  left: 244px;
  top: 589px;
  width: 52px;
}

.invite-trend-point-3 {
  left: 354px;
  top: 566px;
  width: 54px;
}

.invite-record-layer {
  position: absolute;
  left: 56px;
  width: 344px;
  height: 28px;
  display: grid;
  grid-template-columns: 80px 1fr 86px 48px;
  align-items: center;
  column-gap: 6px;
  color: rgba(238, 231, 218, 0.76);
  font-size: 11px;
  line-height: 16px;
}

.invite-record-layer-1 { top: 662px; }
.invite-record-layer-2 { top: 690px; }
.invite-record-layer-3 { top: 718px; }
.invite-record-layer-4 { top: 746px; }
.invite-record-layer-5 { top: 774px; }

.invite-record-layer span,
.invite-record-layer small,
.invite-record-layer b,
.invite-record-layer em {
  display: block;
  min-width: 0;
  overflow: hidden;
  background: rgba(9, 11, 9, 0.88);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.invite-record-layer span {
  color: rgba(240, 233, 218, 0.78);
  font-size: 11px;
  font-weight: 750;
}

.invite-record-layer small {
  color: rgba(238, 231, 218, 0.68);
  font-size: 11px;
}

.invite-record-layer b {
  color: #33df5a;
  font-size: 11px;
  font-weight: 850;
  text-align: right;
}

.invite-record-layer em {
  height: 20px;
  border-radius: 5px;
  color: #31df5b;
  background: rgba(5, 73, 23, 0.74);
  font-size: 10px;
  font-style: normal;
  font-weight: 850;
  line-height: 20px;
  text-align: center;
}

.invite-record-layer em[data-state="pending"] {
  color: #f5bb43;
  background: rgba(101, 62, 0, 0.78);
}

.invite-ui {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: none;
  overflow: hidden;
  color: #f7df9d;
  pointer-events: none;
  background:
    radial-gradient(circle at 76% 20%, rgba(255, 193, 53, 0.18), transparent 22%),
    radial-gradient(circle at 82% 13%, rgba(255, 217, 99, 0.12), transparent 20%),
    linear-gradient(180deg, #020202 0%, #050504 56%, #000 100%);
}

.phone-shell[data-page="invite"] .invite-reference {
  display: none;
}

.phone-shell[data-page="invite"] .invite-ui {
  display: block;
}

.invite-ui::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 73% 24%, rgba(255, 201, 61, 0.16), transparent 24%),
    radial-gradient(circle at 78% 22%, rgba(169, 103, 22, 0.14), transparent 30%);
  pointer-events: none;
}

.phone-shell[data-page="invite"] .invite-ui-reward-cover,
.phone-shell[data-page="invite"] .invite-ui-code-cover {
  display: none;
}

.invite-ui-top-reference {
  display: none;
}

.invite-ui-header {
  position: absolute;
  left: 18px;
  right: 18px;
  top: 16px;
  z-index: 5;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.invite-ui-header img:first-child {
  width: 151px;
  height: 34px;
  object-fit: contain;
}

.invite-ui-header img:last-child {
  width: 71px;
  height: 42px;
  object-fit: contain;
}

.invite-ui-back {
  position: absolute;
  left: 18px;
  top: 55px;
  z-index: 5;
  color: #f5cf78;
  font-size: 40px;
  line-height: 1;
}

.invite-ui-hero-title {
  position: absolute;
  left: 156px;
  top: 48px;
  z-index: 5;
  width: 196px;
  text-align: center;
}

.invite-ui-hero-title h1 {
  margin: 0;
  color: #ffd77d;
  font-size: 23px;
  font-weight: 950;
  line-height: 29px;
  text-shadow: 0 0 14px rgba(255, 201, 77, 0.28);
}

.invite-ui-hero-title h1::before,
.invite-ui-hero-title h1::after {
  content: "";
  display: inline-block;
  width: 32px;
  height: 1px;
  margin: 0 7px 7px;
  background: linear-gradient(90deg, transparent, #e6b34f);
}

.invite-ui-hero-title h1::after {
  background: linear-gradient(90deg, #e6b34f, transparent);
}

.invite-ui-hero-title p {
  margin: 2px 0 0;
  color: rgba(239, 231, 215, 0.8);
  font-size: 12px;
  line-height: 17px;
  white-space: nowrap;
}

.invite-ui-hero-scene {
  position: absolute;
  right: 0;
  top: 76px;
  z-index: 2;
  width: 318px;
  height: 174px;
  object-fit: contain;
  object-position: center top;
  pointer-events: none;
  filter: drop-shadow(0 0 18px rgba(238, 176, 55, 0.18));
}

.invite-ui-reward-cover {
  position: absolute;
  left: 20px;
  top: 88px;
  z-index: 4;
  width: 190px;
  height: 112px;
  padding: 12px 0 0 0;
  overflow: hidden;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.invite-ui-reward-cover p {
  margin: 0 0 4px;
  color: rgba(240, 232, 212, 0.88);
  font-size: 13px;
  font-weight: 700;
  line-height: 18px;
}

.invite-ui-reward-cover strong {
  display: block;
  max-width: 190px;
  overflow: hidden;
  color: #ffe09a;
  font-size: 38px;
  font-weight: 900;
  line-height: 40px;
  text-shadow: 0 2px 8px rgba(245, 174, 58, 0.38);
}

.invite-ui-reward-cover b {
  display: block;
  color: #ffd684;
  font-size: 17px;
  font-weight: 850;
  line-height: 20px;
}

.invite-ui-reward-cover span {
  display: block;
  margin-top: 1px;
  color: rgba(242, 238, 225, 0.84);
  font-size: 13px;
  font-weight: 650;
  line-height: 16px;
}

.invite-ui-primary-cta {
  position: absolute;
  left: 17px;
  top: 199px;
  z-index: 5;
  width: 96px;
  height: 34px;
  padding: 0;
  border: 1px solid rgba(255, 213, 112, 0.7);
  border-radius: 7px;
  background: linear-gradient(180deg, #ffe08b 0%, #d89a35 100%);
  color: #231404;
  font-size: 14px;
  font-weight: 950;
  line-height: 32px;
  text-align: center;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.32),
    0 6px 16px rgba(0, 0, 0, 0.26);
}

.invite-ui-primary-cta b {
  display: inline-block;
  margin-left: 2px;
  color: inherit;
  font-size: 14px;
  line-height: 1;
}

.invite-ui-code-cover {
  display: none;
}

.invite-ui-code-cover span {
  position: absolute;
  left: 20px;
  top: 8px;
  color: rgba(247, 218, 151, 0.72);
  font-size: 10px;
  font-weight: 750;
  line-height: 13px;
}

.invite-ui-code-cover strong {
  position: absolute;
  left: 20px;
  top: 24px;
  color: #ffdc8c;
  font-size: 18px;
  font-weight: 900;
  line-height: 22px;
}

.invite-ui-code-cover small {
  position: absolute;
  left: 20px;
  right: 20px;
  top: 42px;
  overflow: hidden;
  color: rgba(244, 236, 220, 0.78);
  font-size: 8.5px;
  font-weight: 650;
  line-height: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.invite-ui-stats-card,
.invite-ui-level-card,
.invite-ui-trend-card,
.invite-ui-records-card {
  position: absolute;
  left: 16px;
  right: 16px;
  z-index: 4;
  border: 1px solid rgba(189, 142, 47, 0.52);
  border-radius: 7px;
  background: linear-gradient(180deg, rgba(17, 18, 16, 0.96), rgba(10, 11, 10, 0.98));
}

.invite-ui-stats-card {
  top: 270px;
  height: 133px;
  padding: 14px 16px;
}

.invite-ui-stats-card > div {
  position: relative;
  float: left;
  width: 32%;
  height: 58px;
  margin-right: 2%;
  border: 1px solid rgba(255, 219, 127, 0.16);
  border-radius: 6px;
  background: rgba(31, 31, 27, 0.85);
}

.invite-ui-stats-card > div:nth-child(3) {
  margin-right: 0;
}

.invite-ui-stats-card > div i {
  position: absolute;
  left: 15px;
  top: 13px;
  width: 36px;
  height: 36px;
  overflow: visible;
  border-radius: 0;
}

.invite-ui-stats-card > div i img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.invite-ui-stats-card > div strong {
  position: absolute;
  left: 61px;
  top: 9px;
  color: #ffd986;
  font-size: 25px;
  font-weight: 900;
  line-height: 29px;
}

.invite-ui-stats-card > div:nth-child(3) strong {
  left: 57px;
  right: 2px;
  top: 12px;
  width: auto;
  overflow: hidden;
  font-size: 12px;
  line-height: 17px;
  text-align: left;
  white-space: nowrap;
}

.invite-ui-stats-card > div span {
  position: absolute;
  left: 61px;
  top: 37px;
  color: rgba(238, 231, 217, 0.72);
  font-size: 10px;
  font-weight: 700;
  line-height: 14px;
}

.invite-ui-stats-card > div:nth-child(3) span {
  left: 57px;
  right: 2px;
  overflow: hidden;
  font-size: 7.4px;
  text-overflow: clip;
  white-space: nowrap;
}

.invite-ui-stats-card article {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 10px;
  height: 44px;
  border: 1px solid rgba(198, 151, 53, 0.48);
  border-radius: 6px;
  background: rgba(36, 31, 16, 0.84);
}

.invite-ui-stats-card article span {
  position: absolute;
  left: 15px;
  top: 6px;
  color: #f5d47e;
  font-size: 10px;
  font-weight: 800;
  line-height: 13px;
}

.invite-ui-stats-card article strong {
  position: absolute;
  left: 15px;
  top: 18px;
  color: #ffd076;
  font-size: 24px;
  font-weight: 900;
  line-height: 26px;
}

.invite-ui-stats-card article button {
  position: absolute;
  right: 14px;
  top: 8px;
  width: 93px;
  height: 28px;
  border-radius: 6px;
  color: #1d1304;
  background: linear-gradient(180deg, #ffdf94, #d89934);
  font-size: 13px;
  font-weight: 900;
}

.invite-ui-level-card {
  top: 410px;
  height: 83px;
}

.invite-ui-level-card h2,
.invite-ui-trend-card h2,
.invite-ui-records-card h2 {
  position: absolute;
  left: 19px;
  top: 12px;
  margin: 0;
  color: #f5d47e;
  font-size: 14px;
  font-weight: 900;
  line-height: 18px;
}

.invite-ui-medal {
  position: absolute;
  left: 27px;
  top: 28px;
  width: 55px;
  height: 59px;
  object-fit: contain;
}

.invite-ui-level-copy {
  position: absolute;
  left: 90px;
  top: 31px;
}

.invite-ui-level-copy strong {
  display: block;
  color: #f9d984;
  font-size: 13px;
  font-weight: 900;
}

.invite-ui-level-copy span {
  color: rgba(239, 231, 215, 0.78);
  font-size: 10px;
}

.invite-ui-level-copy i {
  display: block;
  width: 142px;
  height: 6px;
  margin-top: 5px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(74, 62, 35, 0.62);
}

.invite-ui-level-copy em {
  display: block;
  width: 80%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #ffe79a, #ffc13f);
}

.invite-ui-level-count {
  position: absolute;
  left: 215px;
  top: 60px;
  z-index: 2;
  width: 52px;
  color: rgba(238, 231, 218, 0.78);
  font-size: 10.5px;
  font-weight: 750;
  text-align: right;
  white-space: nowrap;
}

.invite-ui-level-card aside {
  position: absolute;
  right: 11px;
  top: 15px;
  width: 126px;
  height: 58px;
  border: 1px solid rgba(166, 128, 49, 0.34);
  border-radius: 6px;
  background: rgba(30, 29, 24, 0.72);
}

.invite-ui-level-card aside strong {
  position: absolute;
  left: 13px;
  top: 8px;
  color: #f5d47e;
  font-size: 10px;
  font-weight: 900;
}

.invite-ui-level-card aside span {
  position: absolute;
  left: 16px;
  top: 31px;
  color: #d9a93d;
  font-size: 8.5px;
  font-weight: 850;
}

.invite-ui-level-card aside strong span {
  position: static;
  color: inherit;
  font: inherit;
}

.invite-ui-level-card aside span:last-child {
  left: 78px;
}

.invite-ui-trend-card {
  top: 501px;
  height: 96px;
}

.invite-ui-trend-card button {
  position: absolute;
  right: 22px;
  top: 15px;
  color: rgba(238, 231, 217, 0.78);
  font-size: 11px;
}

.invite-ui-trend-card > strong {
  position: absolute;
  left: 20px;
  top: 43px;
  display: flex;
  width: 130px;
  align-items: baseline;
  gap: 6px;
  color: #ffd17a;
  font-size: 22px;
  font-weight: 900;
  line-height: 28px;
  white-space: nowrap;
}

.invite-ui-trend-card small {
  color: #f5d47e;
  font-size: 10px;
  font-weight: 800;
}

.invite-ui-trend-card p {
  position: absolute;
  left: 21px;
  top: 67px;
  margin: 0;
  color: rgba(239, 231, 215, 0.7);
  font-size: 10px;
}

.invite-ui-chart {
  position: absolute;
  left: 184px;
  right: 22px;
  bottom: 10px;
  height: 46px;
}

.invite-ui-chart i {
  position: absolute;
  left: 0;
  right: 4px;
  bottom: 7px;
  height: 2px;
  background: linear-gradient(20deg, transparent 0 10%, #c98e28 12%, #ffe08d 96%);
  box-shadow: 0 0 13px rgba(255, 202, 78, 0.42);
  transform: rotate(-13deg);
  transform-origin: left center;
}

.invite-ui-chart span {
  position: absolute;
  color: #f7cd71;
  font-size: 10px;
  font-weight: 800;
}

.invite-ui-chart .p1 { left: 0; top: 29px; }
.invite-ui-chart .p2 { left: 70px; top: 17px; }
.invite-ui-chart .p3 { right: 0; top: 5px; }

.invite-ui-records-card {
  top: 606px;
  height: 159px;
  padding-top: 35px;
}

.invite-ui-records-card button {
  position: absolute;
  right: 22px;
  top: 15px;
  color: rgba(238, 231, 217, 0.78);
  font-size: 11px;
}

.invite-ui-records-card ul {
  margin: 0;
  height: 120px;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 0 10px;
  list-style: none;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.invite-ui-records-card ul::-webkit-scrollbar {
  display: none;
}

.invite-ui-records-card li {
  display: grid;
  grid-template-columns: 30px 58px 62px minmax(76px, 1fr) 88px 50px;
  align-items: center;
  height: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  color: rgba(238, 231, 217, 0.75);
  font-size: 10px;
}

.invite-ui-records-card img {
  width: 25px;
  height: 25px;
  border-radius: 50%;
  object-fit: cover;
}

.invite-ui-records-card time {
  color: rgba(238, 231, 217, 0.58);
  font-size: 9.5px;
}

.invite-ui-records-card small {
  color: rgba(238, 231, 217, 0.68);
  font-size: 9.5px;
}

.invite-ui-records-card b {
  color: #31dd58;
  font-size: 9.6px;
  font-weight: 850;
  padding-right: 6px;
  text-align: right;
  white-space: nowrap;
}

.invite-ui-records-card em {
  border-radius: 5px;
  color: #31df5b;
  background: rgba(5, 73, 23, 0.72);
  font-size: 9px;
  font-style: normal;
  font-weight: 850;
  line-height: 19px;
  text-align: center;
}

.invite-ui-records-card .pending {
  color: #f5bb43;
  background: rgba(101, 62, 0, 0.78);
}

.invite-ui-bottom-decor {
  position: absolute;
  left: 0;
  bottom: 88px;
  z-index: 3;
  width: 426px;
  height: 70px;
  object-fit: fill;
  opacity: 0.92;
  pointer-events: none;
}

.invite-ui-bottom-cta {
  position: absolute;
  left: 96px;
  bottom: 104px;
  z-index: 5;
  width: 236px;
  height: 48px;
  border-radius: 24px;
  color: #211200;
  background: linear-gradient(180deg, #ffe69e, #d79a35);
  box-shadow: 0 0 30px rgba(255, 195, 73, 0.55);
  font-size: 17px;
  font-weight: 950;
}

.invite-ui-bottom-cta span {
  display: block;
  margin-top: -2px;
  font-size: 11px;
  font-weight: 750;
}

.invite-ui-bottom-nav {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 6;
  height: 58px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-radius: 18px 18px 0 0;
  background: linear-gradient(180deg, rgba(17, 17, 15, 0.98), rgba(4, 5, 4, 0.99));
}

.invite-ui-bottom-nav span {
  display: grid;
  place-items: center;
  gap: 2px;
  color: #928c82;
  font-size: 10px;
}

.invite-ui-bottom-nav img {
  width: 22px;
  height: 22px;
  opacity: 0.55;
  filter: grayscale(1) brightness(0.8);
}

.invite-ui-bottom-nav .active {
  color: #f2c85f;
  font-weight: 900;
}

.invite-ui-bottom-nav .active img {
  opacity: 1;
  filter: none;
}

/* Final invite layout */
.phone-shell[data-page="invite"] .invite-ui {
  background: #000 url("./assets/invite-bg-clean-final.png") center center / 100% 100% no-repeat;
}

.phone-shell[data-page="invite"] .invite-ui::before,
.phone-shell[data-page="invite"] .invite-ui-header,
.phone-shell[data-page="invite"] .invite-ui-back,
.phone-shell[data-page="invite"] .invite-ui-hero-title,
.phone-shell[data-page="invite"] .invite-ui-hero-scene,
.phone-shell[data-page="invite"] .invite-ui-reward-cover,
.phone-shell[data-page="invite"] .invite-ui-primary-cta,
.phone-shell[data-page="invite"] .invite-ui-code-cover,
.phone-shell[data-page="invite"] .invite-ui-bottom-decor,
.phone-shell[data-page="invite"] .invite-ui-bottom-cta {
  display: none;
}

.phone-shell[data-page="invite"] .invite-ui-stats-card,
.phone-shell[data-page="invite"] .invite-ui-level-card,
.phone-shell[data-page="invite"] .invite-ui-trend-card,
.phone-shell[data-page="invite"] .invite-ui-records-card,
.phone-shell[data-page="invite"] .invite-ui-bottom-nav {
  display: block;
  z-index: 10;
}

.phone-shell[data-page="invite"] .invite-ui-stats-card,
.phone-shell[data-page="invite"] .invite-ui-level-card,
.phone-shell[data-page="invite"] .invite-ui-trend-card,
.phone-shell[data-page="invite"] .invite-ui-records-card,
.phone-shell[data-page="invite"] .invite-ui-bottom-nav,
.phone-shell[data-page="invite"] .invite-ui-stats-card > div,
.phone-shell[data-page="invite"] .invite-ui-stats-card article {
  border: 1px solid rgba(196, 149, 55, 0.72);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(12, 13, 12, 0.92), rgba(5, 6, 6, 0.95));
  box-shadow: inset 0 1px 0 rgba(255, 235, 166, 0.08), 0 10px 24px rgba(0, 0, 0, 0.28);
}

.phone-shell[data-page="invite"] .invite-ui-stats-card {
  left: 16px;
  right: 16px;
  top: 318px;
  height: 70px;
  display: grid;
  grid-template-columns: 1fr 1fr 1.12fr;
  gap: 7px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.phone-shell[data-page="invite"] .invite-ui-stats-card > div {
  position: relative;
  float: none;
  width: auto;
  height: 70px;
  margin: 0;
}

.phone-shell[data-page="invite"] .invite-ui-stats-card > div i {
  left: 13px;
  top: 17px;
  width: 36px;
  height: 36px;
}

.phone-shell[data-page="invite"] .invite-ui-stats-card > div strong,
.phone-shell[data-page="invite"] .invite-ui-stats-card > div:nth-child(3) strong {
  left: 56px;
  right: 7px;
  top: 30px;
  overflow: hidden;
  font-size: 25px;
  line-height: 28px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.phone-shell[data-page="invite"] .invite-ui-stats-card > div:nth-child(3) strong {
  font-size: 17px;
}

.phone-shell[data-page="invite"] .invite-ui-stats-card > div span,
.phone-shell[data-page="invite"] .invite-ui-stats-card > div:nth-child(3) span {
  left: 56px;
  right: 7px;
  top: 13px;
  overflow: hidden;
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.phone-shell[data-page="invite"] .invite-ui-stats-card article {
  left: 0;
  right: 0;
  bottom: -56px;
  height: 46px;
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr) 96px;
  align-items: center;
  column-gap: 8px;
  padding: 0 12px 0 18px;
}

.phone-shell[data-page="invite"] .invite-ui-stats-card article span,
.phone-shell[data-page="invite"] .invite-ui-stats-card article strong,
.phone-shell[data-page="invite"] .invite-ui-stats-card article button {
  position: static;
}

.phone-shell[data-page="invite"] .invite-ui-stats-card article span {
  color: rgba(244, 238, 226, 0.92);
  font-size: 15px;
  line-height: 1;
  white-space: nowrap;
}

.phone-shell[data-page="invite"] .invite-ui-stats-card article strong {
  min-width: 0;
  overflow: hidden;
  color: #f4f0e8;
  font-size: 26px;
  line-height: 30px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.phone-shell[data-page="invite"] .invite-ui-stats-card article button {
  width: 96px;
  height: 30px;
  border-radius: 8px;
  font-size: 13px;
}

.phone-shell[data-page="invite"] .invite-ui-level-card {
  left: 16px;
  right: 16px;
  top: 438px;
  height: 132px;
}

.phone-shell[data-page="invite"] .invite-ui-level-card h2 {
  display: none;
}

.phone-shell[data-page="invite"] .invite-ui-medal {
  left: 20px;
  top: 20px;
  width: 74px;
  height: 80px;
}

.phone-shell[data-page="invite"] .invite-ui-level-copy {
  left: 122px;
  top: 26px;
  width: 180px;
}

.phone-shell[data-page="invite"] .invite-ui-level-copy strong {
  font-size: 15px;
  line-height: 20px;
}

.phone-shell[data-page="invite"] .invite-ui-level-copy span {
  display: block;
  margin-top: 12px;
  color: rgba(239, 231, 215, 0.82);
  font-size: 12px;
  line-height: 16px;
}

.phone-shell[data-page="invite"] .invite-ui-level-copy i {
  position: absolute;
  left: -100px;
  top: 78px;
  width: 316px;
}

.phone-shell[data-page="invite"] .invite-ui-level-count {
  left: auto;
  right: 24px;
  top: 101px;
  font-size: 13px;
}

.phone-shell[data-page="invite"] .invite-ui-level-card aside {
  right: 22px;
  top: 26px;
  width: 112px;
  border: 0;
  background: transparent;
}

.phone-shell[data-page="invite"] .invite-ui-level-card aside span:last-child {
  display: none;
}

.phone-shell[data-page="invite"] .invite-ui-trend-card,
.phone-shell[data-page="invite"] .invite-ui-records-card {
  top: 586px;
  height: 150px;
}

.phone-shell[data-page="invite"] .invite-ui-trend-card {
  left: 16px;
  right: auto;
  width: 194px;
}

.phone-shell[data-page="invite"] .invite-ui-records-card {
  left: 216px;
  right: 16px;
  width: auto;
  padding-top: 35px;
}

.phone-shell[data-page="invite"] .invite-ui-trend-card > strong {
  left: 18px;
  top: 42px;
  font-size: 22px;
}

.phone-shell[data-page="invite"] .invite-ui-chart {
  left: 18px;
  right: 18px;
}

.phone-shell[data-page="invite"] .invite-ui-chart .p2 {
  left: 58px;
}

.phone-shell[data-page="invite"] .invite-ui-records-card ul {
  height: 104px;
  padding: 0 10px;
  pointer-events: auto;
}

.phone-shell[data-page="invite"] .invite-ui-records-card li {
  grid-template-columns: 27px 50px 1fr;
  grid-template-rows: 15px 16px;
  height: 36px;
  column-gap: 7px;
}

.phone-shell[data-page="invite"] .invite-ui-records-card img {
  grid-row: 1 / 3;
}

.phone-shell[data-page="invite"] .invite-ui-records-card time {
  grid-column: 2;
  grid-row: 2;
}

.phone-shell[data-page="invite"] .invite-ui-records-card small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.phone-shell[data-page="invite"] .invite-ui-records-card b {
  grid-column: 3;
  grid-row: 2;
  padding-right: 0;
  font-size: 9px;
}

.phone-shell[data-page="invite"] .invite-ui-records-card em {
  display: none;
}

.phone-shell[data-page="invite"] .invite-ui-bottom-nav {
  left: 16px;
  right: 16px;
  bottom: 10px;
  height: 58px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  z-index: 30;
}

.phone-shell[data-page="invite"] .invite-ui-stats-card {
  left: 14px;
  right: 14px;
  top: 390px;
  height: 68px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
}

.phone-shell[data-page="invite"] .invite-ui-stats-card > div {
  height: 68px;
}

.phone-shell[data-page="invite"] .invite-ui-stats-card > div i {
  left: 12px;
  top: 17px;
  width: 34px;
  height: 34px;
}

.phone-shell[data-page="invite"] .invite-ui-stats-card > div strong,
.phone-shell[data-page="invite"] .invite-ui-stats-card > div:nth-child(3) strong {
  left: 54px;
  right: 8px;
  top: 30px;
  font-size: 24px;
  line-height: 27px;
}

.phone-shell[data-page="invite"] .invite-ui-stats-card > div:nth-child(3) strong {
  font-size: 19px;
}

.phone-shell[data-page="invite"] .invite-ui-stats-card > div span,
.phone-shell[data-page="invite"] .invite-ui-stats-card > div:nth-child(3) span {
  left: 54px;
  right: 8px;
  top: 13px;
  font-size: 10px;
  line-height: 13px;
}

.phone-shell[data-page="invite"] .invite-ui-stats-card article {
  bottom: -54px;
  height: 42px;
  grid-template-columns: 96px minmax(0, 1fr) 92px;
  column-gap: 12px;
  padding: 0 12px 0 18px;
}

.phone-shell[data-page="invite"] .invite-ui-stats-card article span {
  font-size: 16px;
}

.phone-shell[data-page="invite"] .invite-ui-stats-card article strong {
  font-size: 27px;
  line-height: 31px;
  text-align: left;
}

.phone-shell[data-page="invite"] .invite-ui-stats-card article button {
  width: 92px;
  height: 30px;
}

.phone-shell[data-page="invite"] .invite-ui-level-card {
  left: 14px;
  right: 14px;
  top: 512px;
  height: 126px;
}

.phone-shell[data-page="invite"] .invite-ui-medal {
  left: 20px;
  top: 22px;
  width: 72px;
  height: 78px;
}

.phone-shell[data-page="invite"] .invite-ui-level-copy {
  left: 120px;
  top: 28px;
  width: 190px;
}

.phone-shell[data-page="invite"] .invite-ui-level-copy strong {
  font-size: 15px;
  line-height: 20px;
}

.phone-shell[data-page="invite"] .invite-ui-level-copy span {
  margin-top: 14px;
  font-size: 12px;
  line-height: 16px;
  white-space: nowrap;
}

.phone-shell[data-page="invite"] .invite-ui-level-copy i {
  left: -100px;
  top: 74px;
  width: 315px;
}

.phone-shell[data-page="invite"] .invite-ui-level-card aside {
  right: 22px;
  top: 30px;
  width: 112px;
}

.phone-shell[data-page="invite"] .invite-ui-level-count {
  top: 96px;
  right: 24px;
}

.phone-shell[data-page="invite"] .invite-ui-trend-card,
.phone-shell[data-page="invite"] .invite-ui-records-card {
  top: 656px;
  height: 150px;
}

.phone-shell[data-page="invite"] .invite-ui-trend-card {
  left: 14px;
  width: calc(50% - 20px);
}

.phone-shell[data-page="invite"] .invite-ui-records-card {
  left: calc(50% + 6px);
  right: 14px;
}

.phone-shell[data-page="invite"] .invite-ui-bottom-nav {
  left: 14px;
  right: 14px;
  bottom: 12px;
}

/* Invite poster/link layout - approved 2026-06-23 */
.phone-shell[data-page="invite"] .invite-reference,
.phone-shell[data-page="invite"] .invite-dynamic-layer,
.phone-shell[data-page="invite"] .app-bottom-nav {
  display: none !important;
}

.phone-shell[data-page="invite"] .invite-ui {
  display: block;
  overflow: hidden;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.22) 0%, rgba(0, 0, 0, 0.08) 30%, rgba(0, 0, 0, 0.72) 76%, #000 100%),
    #000 url("./assets/invite-bg-clean-final.png") center center / 100% 100% no-repeat;
}

.phone-shell[data-page="invite"] .invite-ui::before {
  display: block;
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(circle at 72% 16%, rgba(255, 213, 96, 0.20), transparent 23%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.50) 0%, rgba(0, 0, 0, 0.16) 58%, rgba(0, 0, 0, 0.04) 100%);
  pointer-events: none;
}

.phone-shell[data-page="invite"] .invite-ui-header {
  left: 18px;
  right: 18px;
  top: 15px;
  z-index: 8;
  display: flex;
  align-items: flex-start;
}

.phone-shell[data-page="invite"] .invite-ui-header img:first-child {
  width: 132px;
  height: auto;
}

.phone-shell[data-page="invite"] .invite-ui-header img:last-child {
  width: 50px;
  height: auto;
  opacity: 0.98;
}

.phone-shell[data-page="invite"] .invite-ui-back,
.phone-shell[data-page="invite"] .invite-ui-primary-cta,
.phone-shell[data-page="invite"] .invite-ui-code-cover,
.phone-shell[data-page="invite"] .invite-ui-bottom-decor,
.phone-shell[data-page="invite"] .invite-ui-bottom-cta {
  display: none !important;
}

.phone-shell[data-page="invite"] .invite-ui-hero-title {
  left: 24px;
  top: 86px;
  z-index: 7;
  display: block;
  width: 220px;
  text-align: left;
}

.phone-shell[data-page="invite"] .invite-ui-hero-title h1 {
  color: #fff7dc;
  font-size: 34px;
  font-weight: 950;
  line-height: 42px;
  letter-spacing: 0;
  text-shadow: 0 0 16px rgba(255, 211, 105, 0.22);
}

.phone-shell[data-page="invite"] .invite-ui-hero-title h1::before,
.phone-shell[data-page="invite"] .invite-ui-hero-title h1::after {
  display: none;
}

.phone-shell[data-page="invite"] .invite-ui-hero-title p {
  margin-top: 12px;
  color: rgba(244, 238, 224, 0.82);
  font-size: 15px;
  font-weight: 600;
  line-height: 20px;
}

.phone-shell[data-page="invite"] .invite-ui-hero-scene {
  display: none !important;
}

.phone-shell[data-page="invite"] .invite-ui-reward-cover {
  left: 16px;
  right: 16px;
  top: 205px;
  z-index: 9;
  display: block;
  width: auto;
  height: 142px;
  padding: 19px 20px 0;
  overflow: visible;
  border: 1px solid rgba(255, 205, 87, 0.86);
  border-radius: 18px;
  background:
    radial-gradient(circle at 50% 2%, rgba(255, 221, 130, 0.20), transparent 38%),
    linear-gradient(180deg, rgba(24, 24, 20, 0.94), rgba(8, 9, 8, 0.97));
  box-shadow:
    inset 0 1px 0 rgba(255, 240, 184, 0.14),
    0 0 26px rgba(226, 159, 42, 0.20),
    0 15px 26px rgba(0, 0, 0, 0.34);
  text-align: center;
}

.phone-shell[data-page="invite"] .invite-ui-reward-cover p {
  margin: 0;
  color: #ffe19a;
  font-size: 20px;
  font-weight: 900;
  line-height: 25px;
  letter-spacing: 0;
}

.phone-shell[data-page="invite"] .invite-ui-reward-cover strong {
  display: inline-block;
  max-width: none;
  margin-top: 12px;
  overflow: visible;
  color: #ffd36e;
  font-size: 56px;
  font-weight: 950;
  line-height: 60px;
  letter-spacing: 0;
  text-shadow: 0 4px 16px rgba(255, 179, 58, 0.38);
  vertical-align: baseline;
}

.phone-shell[data-page="invite"] .invite-ui-reward-cover b {
  display: inline-block;
  margin-left: 9px;
  color: #f9d884;
  font-size: 21px;
  font-weight: 950;
  line-height: 25px;
  vertical-align: baseline;
}

.phone-shell[data-page="invite"] .invite-ui-reward-cover span {
  display: block;
  margin-top: 8px;
  color: rgba(240, 233, 219, 0.78);
  font-size: 14px;
  font-weight: 700;
  line-height: 18px;
}

.invite-ui-share-card {
  position: absolute;
  left: 14px;
  right: 14px;
  top: 360px;
  z-index: 9;
  display: grid;
  grid-template-columns: 1fr 1.03fr;
  gap: 10px;
  height: 232px;
  padding: 10px;
  border: 1px solid rgba(196, 149, 55, 0.78);
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(12, 13, 12, 0.93), rgba(5, 6, 6, 0.96));
  box-shadow:
    inset 0 1px 0 rgba(255, 235, 166, 0.08),
    0 12px 24px rgba(0, 0, 0, 0.30);
}

.invite-ui-poster-preview {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(234, 180, 68, 0.80);
  border-radius: 8px;
  background: #050504;
}

.invite-ui-poster-preview > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 64% 30%;
  opacity: 0.86;
}

.invite-ui-poster-preview::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.28), rgba(0, 0, 0, 0.04) 42%, rgba(0, 0, 0, 0.76) 100%),
    radial-gradient(circle at 64% 44%, rgba(255, 193, 71, 0.18), transparent 42%);
}

.invite-ui-poster-preview span,
.invite-ui-poster-preview strong,
.invite-ui-poster-preview small,
.invite-ui-poster-preview b,
.invite-ui-poster-preview i {
  position: absolute;
  z-index: 2;
  letter-spacing: 0;
}

.invite-ui-poster-preview span {
  left: 0;
  top: 0;
  padding: 6px 18px 6px 12px;
  border-radius: 7px 0 8px 0;
  color: #241504;
  background: linear-gradient(180deg, #ffe39a, #c98d2e);
  font-size: 11px;
  font-weight: 900;
  line-height: 13px;
}

.invite-ui-poster-preview strong {
  left: 16px;
  top: 50px;
  color: #ffe8a6;
  font-size: 25px;
  font-weight: 950;
  line-height: 29px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.54);
}

.invite-ui-poster-preview small {
  left: 17px;
  top: 83px;
  color: rgba(255, 238, 190, 0.92);
  font-size: 12px;
  font-weight: 700;
  line-height: 16px;
}

.invite-ui-poster-preview b {
  left: 18px;
  right: 18px;
  bottom: 28px;
  display: grid;
  place-items: center;
  height: 44px;
  border: 1px solid rgba(255, 218, 118, 0.36);
  border-radius: 8px;
  color: rgba(255, 237, 194, 0.88);
  background: rgba(0, 0, 0, 0.50);
  font-size: 10px;
  font-weight: 800;
  line-height: 14px;
}

.invite-ui-poster-preview b em {
  display: block;
  color: #ffe08f;
  font-size: 22px;
  font-style: normal;
  font-weight: 950;
  line-height: 22px;
}

.invite-ui-poster-preview i {
  left: 0;
  right: 0;
  bottom: 9px;
  color: rgba(244, 237, 221, 0.72);
  font-size: 10px;
  font-style: normal;
  font-weight: 700;
  line-height: 12px;
  text-align: center;
}

.invite-ui-link-panel {
  position: relative;
  min-width: 0;
  padding: 10px 8px;
  overflow: hidden;
}

.invite-ui-link-panel h2 {
  margin: 0 0 14px;
  color: #ffe08c;
  font-size: 19px;
  font-weight: 950;
  line-height: 24px;
}

.invite-ui-link-box {
  position: relative;
  min-height: 58px;
  padding: 11px 34px 10px 12px;
  border: 1px solid rgba(255, 224, 151, 0.18);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(30, 30, 28, 0.86), rgba(13, 14, 13, 0.94));
}

.invite-ui-link-box span {
  display: block;
  overflow-wrap: anywhere;
  color: #ffe6a4;
  font-size: 12px;
  font-weight: 700;
  line-height: 18px;
}

.invite-ui-link-box button {
  position: absolute;
  right: 8px;
  top: 17px;
  width: 22px;
  height: 22px;
  overflow: hidden;
  border: 1px solid rgba(255, 226, 154, 0.86);
  border-radius: 4px;
  color: transparent;
  pointer-events: auto;
}

.invite-ui-link-box button::before,
.invite-ui-link-box button::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  border: 2px solid #ffe4a0;
  border-radius: 2px;
}

.invite-ui-link-box button::before {
  left: 5px;
  top: 4px;
}

.invite-ui-link-box button::after {
  left: 8px;
  top: 7px;
  background: rgba(12, 13, 12, 0.94);
}

.invite-ui-copy-link,
.invite-ui-save-poster {
  position: absolute;
  left: 8px;
  right: 8px;
  height: 46px;
  border-radius: 9px;
  font-size: 18px;
  font-weight: 950;
  line-height: 46px;
  pointer-events: auto;
}

.invite-ui-copy-link {
  top: 117px;
  color: #251605;
  background: linear-gradient(180deg, #ffe59d, #d69834);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.30);
}

.invite-ui-save-poster {
  top: 175px;
  border: 1px solid rgba(255, 235, 180, 0.25);
  color: #ffe5a2;
  background: linear-gradient(180deg, rgba(31, 32, 30, 0.92), rgba(13, 14, 13, 0.96));
}

.phone-shell[data-page="invite"] .invite-ui-stats-card {
  left: 14px;
  right: 14px;
  top: 604px;
  z-index: 9;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  height: 76px;
  padding: 0;
  border: 1px solid rgba(196, 149, 55, 0.76);
  border-radius: 9px;
  background: linear-gradient(180deg, rgba(12, 13, 12, 0.94), rgba(5, 6, 6, 0.96));
  box-shadow: inset 0 1px 0 rgba(255, 235, 166, 0.08), 0 10px 22px rgba(0, 0, 0, 0.26);
}

.phone-shell[data-page="invite"] .invite-ui-stats-card > div,
.phone-shell[data-page="invite"] .invite-ui-stats-card article {
  position: relative;
  left: auto;
  right: auto;
  bottom: auto;
  float: none;
  width: auto;
  height: 74px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.phone-shell[data-page="invite"] .invite-ui-stats-card > div:nth-child(3) {
  display: none;
}

.phone-shell[data-page="invite"] .invite-ui-stats-card > div:nth-child(2),
.phone-shell[data-page="invite"] .invite-ui-stats-card article {
  border-left: 1px solid rgba(255, 230, 170, 0.12);
}

.phone-shell[data-page="invite"] .invite-ui-stats-card > div i {
  left: 16px;
  top: 23px;
  width: 34px;
  height: 34px;
}

.phone-shell[data-page="invite"] .invite-ui-stats-card > div strong {
  left: 57px;
  top: 35px;
  right: 7px;
  overflow: visible;
  color: #ffd982;
  font-size: 25px;
  line-height: 27px;
  text-overflow: clip;
}

.phone-shell[data-page="invite"] .invite-ui-stats-card > div span {
  left: 57px;
  top: 17px;
  right: 6px;
  color: rgba(240, 234, 220, 0.82);
  font-size: 10px;
  line-height: 13px;
}

.phone-shell[data-page="invite"] .invite-ui-stats-card article::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 24px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 42% 38%, #ffe08b 0 20%, transparent 22%),
    radial-gradient(circle at 59% 52%, #d4942d 0 21%, transparent 23%),
    linear-gradient(180deg, rgba(255, 216, 116, 0.18), rgba(115, 77, 19, 0.22));
  box-shadow: inset 0 0 0 1px rgba(255, 222, 130, 0.14);
}

.phone-shell[data-page="invite"] .invite-ui-stats-card article span {
  position: absolute;
  left: 56px;
  top: 15px;
  right: 6px;
  color: rgba(240, 234, 220, 0.82);
  font-size: 10px;
  line-height: 13px;
}

.phone-shell[data-page="invite"] .invite-ui-stats-card article strong {
  position: absolute;
  left: 56px;
  top: 31px;
  right: 4px;
  overflow: visible;
  color: #ffd982;
  font-size: 19px;
  line-height: 23px;
  text-overflow: clip;
  white-space: nowrap;
}

.phone-shell[data-page="invite"] .invite-ui-stats-card article button {
  display: none;
}

.phone-shell[data-page="invite"] .invite-ui-level-card {
  display: none !important;
}

.phone-shell[data-page="invite"] .invite-ui-trend-card,
.phone-shell[data-page="invite"] .invite-ui-records-card {
  top: 698px;
  z-index: 9;
  height: 116px;
  border: 1px solid rgba(196, 149, 55, 0.72);
  border-radius: 9px;
  background: linear-gradient(180deg, rgba(12, 13, 12, 0.94), rgba(5, 6, 6, 0.96));
}

.phone-shell[data-page="invite"] .invite-ui-trend-card {
  left: 14px;
  right: auto;
  width: 188px;
}

.phone-shell[data-page="invite"] .invite-ui-records-card {
  left: 210px;
  right: 14px;
  width: auto;
  padding-top: 33px;
}

.phone-shell[data-page="invite"] .invite-ui-trend-card h2,
.phone-shell[data-page="invite"] .invite-ui-records-card h2 {
  left: 14px;
  top: 12px;
  color: #ffe28e;
  font-size: 15px;
  line-height: 18px;
}

.phone-shell[data-page="invite"] .invite-ui-trend-card button,
.phone-shell[data-page="invite"] .invite-ui-records-card button {
  right: 13px;
  top: 13px;
  color: rgba(240, 234, 220, 0.76);
  font-size: 10px;
}

.phone-shell[data-page="invite"] .invite-ui-trend-card > strong {
  left: 14px;
  top: 42px;
  width: 150px;
  font-size: 25px;
  line-height: 28px;
}

.phone-shell[data-page="invite"] .invite-ui-trend-card small {
  font-size: 9px;
}

.phone-shell[data-page="invite"] .invite-ui-trend-card p {
  left: 15px;
  top: 68px;
  font-size: 10px;
}

.phone-shell[data-page="invite"] .invite-ui-chart {
  left: 16px;
  right: 15px;
  bottom: 8px;
  height: 28px;
}

.phone-shell[data-page="invite"] .invite-ui-chart span {
  display: none;
}

.phone-shell[data-page="invite"] .invite-ui-records-card ul {
  height: 76px;
  padding: 0 8px;
  pointer-events: auto;
}

.phone-shell[data-page="invite"] .invite-ui-records-card li {
  grid-template-columns: 24px 49px minmax(0, 1fr);
  grid-template-rows: 15px 16px;
  column-gap: 6px;
  height: 34px;
  color: rgba(239, 234, 222, 0.78);
}

.phone-shell[data-page="invite"] .invite-ui-records-card img {
  grid-row: 1 / 3;
  width: 22px;
  height: 22px;
}

.phone-shell[data-page="invite"] .invite-ui-records-card span {
  overflow: hidden;
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.phone-shell[data-page="invite"] .invite-ui-records-card time {
  grid-column: 2;
  grid-row: 2;
  overflow: hidden;
  font-size: 9px;
}

.phone-shell[data-page="invite"] .invite-ui-records-card small {
  grid-column: 3;
  grid-row: 1;
  overflow: hidden;
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.phone-shell[data-page="invite"] .invite-ui-records-card b {
  grid-column: 3;
  grid-row: 2;
  padding: 0;
  color: #30e35b;
  font-size: 9px;
  text-align: left;
}

.phone-shell[data-page="invite"] .invite-ui-records-card em {
  display: none;
}

.phone-shell[data-page="invite"] .invite-ui-bottom-nav {
  left: 14px;
  right: 14px;
  bottom: 12px;
  z-index: 31;
  display: grid;
  height: 58px;
  border: 1px solid rgba(196, 149, 55, 0.72);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(12, 13, 12, 0.94), rgba(5, 6, 6, 0.96));
  box-shadow: inset 0 1px 0 rgba(255, 235, 166, 0.08), 0 10px 24px rgba(0, 0, 0, 0.32);
}

.trade-market-cover,
.trade-book-cover {
  position: absolute;
  z-index: 3;
  display: none;
  background: #090a08;
  pointer-events: none;
}

.phone-shell[data-page="trade"] .trade-market-cover,
.phone-shell[data-page="trade"] .trade-book-cover {
  display: none;
}

.trade-price-cover {
  left: 15px;
  top: 74px;
  width: 105px;
  height: 25px;
  color: #59dd67;
}

.trade-price-cover[data-market-state="down"] {
  color: #ff5c5c;
}

.trade-price-cover strong {
  display: block;
  font-size: 25px;
  line-height: 25px;
  font-weight: 900;
  letter-spacing: 0;
}

.trade-change-cover {
  left: 18px;
  top: 103px;
  display: none;
  align-items: center;
  gap: 13px;
  width: 142px;
  height: 24px;
  color: #59dd67;
  font-size: 12px;
  line-height: 18px;
  font-weight: 800;
}

.phone-shell[data-page="trade"] .trade-change-cover {
  display: none;
}

.trade-change-cover[data-market-state="down"] {
  color: #ff5c5c;
}

.trade-24h-cover {
  left: 342px;
  top: 61px;
  width: 74px;
  height: 61px;
  color: #f2f2f2;
  text-align: right;
  font-size: 9.5px;
  line-height: 20px;
  font-weight: 750;
}

.trade-24h-cover span {
  display: block;
}

.trade-status-cover {
  left: 340px;
  top: 137px;
  width: 76px;
  height: 16px;
  color: #59dd67;
  text-align: right;
  font-size: 9px;
  line-height: 16px;
  font-weight: 800;
}

.trade-status-cover[data-feed-state="stale"],
.trade-status-cover[data-feed-state="error"] {
  color: #ffda7d;
}

.trade-book-cover {
  left: 268px;
  width: 137px;
  height: 22px;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: #f2f2f2;
  font-size: 11px;
  line-height: 22px;
  font-weight: 800;
}

.phone-shell[data-page="trade"] .trade-book-cover {
  display: none;
}

.trade-book-cover span {
  color: #ff6b6b;
}

.trade-book-cover small {
  color: #d8d0bf;
  font-size: 10px;
}

.trade-book-ask {
  top: 499px;
}

.trade-book-bid {
  top: 573px;
}

.trade-book-bid span {
  color: #59dd67;
}

.trade-depth-mask,
.trade-depth-cover,
.trade-recent-cover {
  position: absolute;
  display: none;
  pointer-events: none;
}

.trade-depth-mask {
  z-index: 3;
  left: 236px;
  top: 471px;
  width: 178px;
  height: 205px;
  border-radius: 8px;
  border: 1px solid rgba(217, 163, 72, 0.18);
  background: #070907;
}

.trade-depth-cover,
.trade-recent-cover {
  z-index: 4;
}

.phone-shell[data-page="trade"] .trade-depth-mask,
.phone-shell[data-page="trade"] .trade-depth-cover {
  display: none;
}

.trade-depth-cover {
  left: 244px;
  top: 479px;
  width: 162px;
  height: 190px;
}

.depth-row,
.recent-row {
  position: absolute;
  left: 0;
  width: 162px;
  display: grid;
  grid-template-columns: 1fr 48px 48px;
  align-items: center;
  color: #e6dfd2;
  font-size: 9px;
  line-height: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.depth-tabs {
  position: absolute;
  left: 0;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 162px;
  height: 18px;
  color: #8e8778;
  font-size: 9px;
  font-weight: 700;
}

.depth-tabs strong {
  color: #f4c96d;
  font-size: 10px;
}

.depth-head {
  position: absolute;
  left: 0;
  top: 28px;
  display: grid;
  grid-template-columns: 1fr 48px 48px;
  width: 162px;
  color: #8c8576;
  font-size: 8px;
  line-height: 10px;
}

.depth-head span:nth-child(2),
.depth-head span:nth-child(3) {
  text-align: right;
}

.depth-row span,
.recent-row span {
  color: #ff6b6b;
}

.depth-row small,
.recent-row small {
  color: #d6cebf;
  font-size: 9px;
  text-align: right;
}

.depth-row::after {
  content: attr(data-total);
  color: #d6cebf;
  font-size: 9px;
  text-align: right;
}

.depth-ask-1 { top: 44px; }
.depth-ask-2 { top: 58px; }
.depth-ask-3 { top: 72px; }
.depth-bid-1 { top: 118px; }
.depth-bid-2 { top: 132px; }
.depth-bid-3 { top: 146px; }

.depth-mid {
  position: absolute;
  left: 0;
  top: 92px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  width: 162px;
  height: 18px;
}

.depth-mid span {
  color: #59dd67;
  font-size: 15px;
  line-height: 18px;
  font-weight: 900;
}

.depth-mid small {
  color: #59dd67;
  font-size: 9px;
}

.depth-bid-1 span,
.depth-bid-2 span,
.depth-bid-3 span {
  color: #59dd67;
}

.trade-recent-cover {
  left: 238px;
  top: 626px;
  width: 166px;
  height: 44px;
}

.recent-row {
  width: 166px;
}

.recent-row-1 { top: 0; }
.recent-row-2 { top: 15px; }
.recent-row-3 { top: 30px; }

.recent-row[data-trade-side="buy"] span {
  color: #59dd67;
}

.trade-kline-canvas {
  position: absolute;
  z-index: 2;
  left: 15px;
  top: 184px;
  display: none;
  width: 396px;
  height: 116px;
  background: rgba(7, 9, 7, 0.96);
  pointer-events: none;
}

.phone-shell[data-page="trade"] .trade-kline-canvas {
  display: block;
}

.trade-kline-status {
  position: absolute;
  z-index: 3;
  left: 317px;
  top: 302px;
  display: none;
  width: 94px;
  height: 15px;
  color: #59dd67;
  text-align: right;
  font-size: 9px;
  line-height: 15px;
  font-weight: 800;
  pointer-events: none;
}

.phone-shell[data-page="trade"] .trade-kline-status {
  display: block;
}

.trade-kline-status[data-kline-state="error"],
.trade-kline-status[data-kline-state="stale"] {
  color: #ffda7d;
}

.trade-time-row-cover {
  position: absolute;
  z-index: 3;
  left: 15px;
  top: 154px;
  display: none;
  width: 320px;
  height: 29px;
  background: #050705;
  color: #8f8a83;
  font-size: 11px;
  line-height: 24px;
  pointer-events: none;
}

.phone-shell[data-page="trade"] .trade-time-row-cover {
  display: block;
}

.trade-time-label {
  position: absolute;
  top: 4px;
  display: grid;
  place-items: center;
  height: 24px;
  border-radius: 7px;
  white-space: nowrap;
}

.trade-time-label-timeline { left: 0; width: 36px; }
.trade-time-label-1m { left: 45px; width: 30px; }
.trade-time-label-15m { left: 84px; width: 38px; }
.trade-time-label-1h { left: 121px; width: 39px; }
.trade-time-label-4h { left: 173px; width: 33px; }
.trade-time-label-1d { left: 217px; width: 36px; }
.trade-time-label-more { left: 259px; width: 48px; }

.phone-shell[data-page="trade"][data-trade-interval="1m"] .trade-time-label-1m,
.phone-shell[data-page="trade"][data-trade-interval="15m"] .trade-time-label-15m,
.phone-shell[data-page="trade"][data-trade-interval="1h"] .trade-time-label-1h,
.phone-shell[data-page="trade"][data-trade-interval="4h"] .trade-time-label-4h,
.phone-shell[data-page="trade"][data-trade-interval="1d"] .trade-time-label-1d {
  color: #f4c75c;
  border: 1px solid rgba(214, 164, 57, 0.72);
  background: rgba(12, 10, 5, 0.92);
  font-weight: 850;
}

.trade-indicator-row-cover {
  position: absolute;
  z-index: 3;
  left: 15px;
  top: 300px;
  display: none;
  width: 396px;
  height: 24px;
  background: #050705;
  border-bottom-right-radius: 8px;
  border-bottom-left-radius: 8px;
  color: #817b74;
  font-size: 10px;
  line-height: 20px;
  pointer-events: none;
}

.phone-shell[data-page="trade"] .trade-indicator-row-cover {
  display: block;
}

.trade-indicator-label {
  position: absolute;
  top: 3px;
  height: 18px;
  white-space: nowrap;
}

.trade-indicator-ma {
  left: 11px;
  color: #f4c75c;
}

.trade-indicator-ma::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 22px;
  height: 1px;
  background: #f4c75c;
}

.trade-indicator-ema { left: 46px; }
.trade-indicator-boll { left: 83px; }
.trade-indicator-vol { left: 129px; }
.trade-indicator-macd { left: 173px; }
.trade-indicator-kdj { left: 224px; }
.trade-indicator-rsi { left: 267px; }

.trade-indicator-tune {
  position: absolute;
  right: 8px;
  top: 1px;
  color: #c9a553;
  font-size: 15px;
  line-height: 20px;
}

.trade-time-pill {
  position: absolute;
  z-index: 3;
  top: 158px;
  display: none;
  place-items: center;
  height: 24px;
  border-radius: 12px;
  color: #221604;
  background: linear-gradient(180deg, #ffe69b, #d89a34);
  font-size: 11px;
  font-weight: 900;
  pointer-events: none;
}

.trade-time-pill-1m { left: 62px; width: 30px; }
.trade-time-pill-15m { left: 101px; width: 38px; }
.trade-time-pill-1h { left: 136px; width: 39px; }
.trade-time-pill-4h { left: 188px; width: 33px; }
.trade-time-pill-1d { left: 232px; width: 36px; }

.phone-shell[data-page="trade"][data-trade-interval="1m"] .trade-time-pill-1m,
.phone-shell[data-page="trade"][data-trade-interval="15m"] .trade-time-pill-15m,
.phone-shell[data-page="trade"][data-trade-interval="1h"] .trade-time-pill-1h,
.phone-shell[data-page="trade"][data-trade-interval="4h"] .trade-time-pill-4h,
.phone-shell[data-page="trade"][data-trade-interval="1d"] .trade-time-pill-1d {
  display: grid;
}

.trade-form-cover {
  position: absolute;
  z-index: 3;
  display: none;
  color: #f7e7b8;
  font-size: 11px;
  font-weight: 850;
  line-height: 1;
  pointer-events: none;
}

.phone-shell[data-page="trade"] .trade-form-cover:not(.trade-side-pill):not(.trade-type-pill):not(.trade-form-line):not(.trade-position-cover):not(.trade-margin-cover):not(.trade-top-leverage-cover) {
  display: none;
}

.trade-margin-cover {
  left: 28px;
  top: 130px;
  min-width: 42px;
  text-align: center;
}

.trade-top-leverage-cover {
  left: 127px;
  top: 130px;
  min-width: 42px;
  text-align: center;
}

.trade-side-pill,
.trade-type-pill {
  display: none;
  place-items: center;
  border-radius: 12px;
  color: #1c1608;
  background: linear-gradient(180deg, #ffe69b, #d99b34);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.28);
}

.trade-side-pill {
  top: 448px;
  height: 26px;
  font-size: 12px;
}

.trade-side-long { left: 20px; width: 94px; }
.trade-side-short { left: 114px; width: 114px; }

.trade-type-pill {
  top: 477px;
  height: 24px;
  font-size: 11px;
}

.trade-type-market { left: 23px; width: 55px; }
.trade-type-limit { left: 79px; width: 54px; }

.phone-shell[data-page="trade"][data-trade-side="long"] .trade-side-long,
.phone-shell[data-page="trade"][data-trade-side="short"] .trade-side-short,
.phone-shell[data-page="trade"][data-trade-order-type="market"] .trade-type-market,
.phone-shell[data-page="trade"][data-trade-order-type="limit"] .trade-type-limit {
  display: none;
}

.trade-amount-cover {
  left: 28px;
  top: 513px;
  width: 195px;
  height: 18px;
  background: #090a08;
  color: #f8f3e7;
  text-align: left;
  font-size: 13px;
  line-height: 18px;
}

.trade-leverage-cover {
  left: 118px;
  top: 551px;
  width: 86px;
  height: 16px;
  background: #090a08;
  color: #f8f3e7;
  text-align: center;
  font-size: 11px;
  line-height: 16px;
}

.trade-form-line {
  left: 93px;
  width: 130px;
  min-height: 14px;
  background: #090a08;
  display: none;
  color: transparent;
  text-align: right;
  font-size: 10px;
  font-weight: 700;
  line-height: 14px;
}

.phone-shell[data-page="trade"] .trade-form-line:not(.trade-tpsl-cover):not(.trade-position-cover) {
  display: none;
  justify-content: flex-end;
  align-items: center;
}

.trade-form-line span {
  color: #efe4c9;
}

.trade-step3-cover {
  position: absolute;
  z-index: 3;
  left: 20px;
  top: 497px;
  display: none;
  width: 207px;
  height: 147px;
  background: #060806;
  color: #a69b8a;
  font-size: 11px;
  font-weight: 650;
}

.phone-shell[data-page="trade"] .trade-step3-cover {
  display: block;
}

.trade-step3-label {
  position: absolute;
  left: 0;
  color: #b8ad9d;
  line-height: 14px;
}

.trade-step3-amount-label { top: 1px; }
.trade-step3-leverage-label { top: 53px; }
.trade-step3-ratio-label { top: 119px; }

.trade-step3-amount-box,
.trade-step3-leverage-box {
  position: absolute;
  left: 0;
  width: 207px;
  border: 1px solid rgba(179, 132, 42, 0.38);
  border-radius: 4px;
  background: #080907;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.35);
}

.trade-step3-amount-box {
  top: 20px;
  height: 32px;
}

.trade-step3-amount-box strong {
  position: absolute;
  left: 11px;
  top: 0;
  color: #f5f0e7;
  font-size: 15px;
  line-height: 30px;
  font-weight: 600;
}

.trade-step3-amount-box span {
  position: absolute;
  right: 42px;
  top: 0;
  color: #a69b8a;
  font-size: 11px;
  line-height: 30px;
}

.trade-step3-amount-box em {
  position: absolute;
  right: 8px;
  top: 0;
  color: #f4c75c;
  font-style: normal;
  font-size: 11px;
  line-height: 30px;
}

.trade-step3-leverage-box {
  top: 68px;
  height: 25px;
}

.trade-step3-leverage-box strong {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  color: #f3d47b;
  font-size: 13px;
  line-height: 23px;
  font-weight: 750;
}

.trade-step3-minus,
.trade-step3-plus {
  position: absolute;
  top: 0;
  width: 27px;
  height: 23px;
  display: grid;
  place-items: center;
  color: #e9c260;
  font-size: 17px;
  line-height: 23px;
}

.trade-step3-minus {
  left: 0;
  border-right: 1px solid rgba(179, 132, 42, 0.24);
}

.trade-step3-plus {
  right: 0;
  border-left: 1px solid rgba(179, 132, 42, 0.24);
}

.trade-step3-slider {
  position: absolute;
  left: 0;
  width: 207px;
  height: 16px;
}

.trade-step3-leverage-slider { top: 94px; }
.trade-step3-amount-slider { top: 131px; }

.trade-step3-slider::before {
  content: "";
  position: absolute;
  left: 3px;
  right: 3px;
  top: 7px;
  height: 1px;
  background: rgba(142, 132, 118, 0.55);
}

.trade-step3-slider span {
  position: absolute;
  left: 3px;
  top: 7px;
  width: var(--value);
  height: 1px;
  background: #d8a640;
}

.trade-step3-slider i {
  position: absolute;
  left: calc(var(--value) - 5px);
  top: 3px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #f3c760;
  box-shadow: 0 0 0 2px rgba(243, 199, 96, 0.18);
}

.trade-step3-slider input {
  position: absolute;
  inset: -6px 0;
  z-index: 2;
  width: 100%;
  opacity: 0;
  cursor: pointer;
}

.trade-step3-scale {
  position: absolute;
  left: 0;
  display: flex;
  justify-content: space-between;
  color: #8d867d;
  font-size: 9px;
  line-height: 10px;
}

.trade-step3-leverage-scale {
  top: 105px;
  width: 207px;
}

.trade-step3-amount-scale {
  top: 142px;
  width: 207px;
}

.trade-step3-balance-cover {
  position: absolute;
  z-index: 3;
  left: 149px;
  top: 654px;
  display: none;
  width: 80px;
  height: 34px;
  background: #060806;
  color: #a69b8a;
  text-align: right;
  pointer-events: none;
}

.phone-shell[data-page="trade"] .trade-step3-balance-cover {
  display: block;
}

.trade-step3-balance-cover span {
  display: block;
  font-size: 9px;
  line-height: 12px;
}

.trade-step3-balance-cover strong {
  display: block;
  color: #d8cfc0;
  font-size: 9px;
  line-height: 12px;
  font-weight: 700;
}

.trade-qty-cover { top: 543px; }
.trade-margin-used-cover { top: 574px; }
.trade-liq-cover { top: 602px; }
.trade-fee-cover { top: 630px; }
.trade-tpsl-cover {
  left: 120px;
  top: 654px;
  width: 103px;
  min-height: 16px;
  background: #090a08;
  color: transparent;
  text-align: right;
}

.phone-shell[data-page="trade"] .trade-tpsl-cover {
  display: none;
  justify-content: flex-end;
  align-items: center;
}

.trade-position-cover {
  left: 24px;
  top: 802px;
  width: 196px;
  display: none;
  justify-content: space-between;
  color: #a69c89;
  font-size: 10px;
}

.phone-shell[data-page="trade"] .trade-position-cover {
  display: none;
}

.trade-position-cover [data-trade-position-pnl] {
  color: #59dd67;
}

.trade-position-cover[data-position-state="loss"] [data-trade-position-pnl] {
  color: #ff5c5c;
}

.trade-position-detail-mask {
  position: absolute;
  z-index: 2;
  left: 16px;
  top: 754px;
  display: none;
  width: 394px;
  height: 68px;
  border-radius: 8px;
  background: rgba(7, 9, 7, 0.96);
  pointer-events: none;
}

.phone-shell[data-page="trade"] .trade-position-detail-mask {
  display: none;
}

.trade-position-left-mask {
  position: absolute;
  z-index: 2;
  left: 16px;
  top: 818px;
  display: none;
  width: 210px;
  height: 24px;
  background: rgba(7, 9, 7, 0.96);
  pointer-events: none;
}

.phone-shell[data-page="trade"] .trade-position-left-mask {
  display: none;
}

.trade-position-detail-cover {
  position: absolute;
  z-index: 3;
  left: 24px;
  top: 762px;
  display: none;
  width: 378px;
  height: 50px;
  color: #f4ead4;
  pointer-events: none;
}

.phone-shell[data-page="trade"] .trade-position-detail-cover {
  display: none;
  grid-template-columns: 1fr auto;
  grid-template-rows: 18px 18px;
  column-gap: 8px;
}

.trade-position-detail-cover strong {
  color: #f4ead4;
  font-size: 12px;
  line-height: 18px;
}

.trade-position-detail-cover span {
  grid-column: 1 / 2;
  color: #9f9686;
  font-size: 10px;
  line-height: 18px;
  white-space: nowrap;
}

.trade-position-detail-cover small {
  grid-row: 1 / 3;
  grid-column: 2 / 3;
  align-self: center;
  color: #59dd67;
  font-size: 12px;
  font-weight: 850;
}

.trade-position-detail-cover[data-position-state="loss"] small {
  color: #ff5c5c;
}

.trade-position-detail-cover[data-position-state="empty"] small {
  color: #9f9686;
}

.phone-shell[data-page="trade"] .trade-book-cover,
.phone-shell[data-page="trade"] .trade-recent-cover,
.phone-shell[data-page="trade"] .trade-market-cover,
.phone-shell[data-page="trade"] .trade-depth-mask,
.phone-shell[data-page="trade"] .trade-depth-cover,
.phone-shell[data-page="trade"] .trade-kline-status,
.phone-shell[data-page="trade"] .trade-time-pill,
.phone-shell[data-page="trade"] .trade-form-cover,
.phone-shell[data-page="trade"] .trade-position-detail-mask,
.phone-shell[data-page="trade"] .trade-position-left-mask,
.phone-shell[data-page="trade"] .trade-position-detail-cover {
  display: none !important;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 70px;
  z-index: 12;
  transform: translate(-50%, 14px);
  min-width: 190px;
  max-width: 330px;
  padding: 10px 14px;
  border: 1px solid rgba(244, 201, 107, 0.48);
  border-radius: 10px;
  background: rgba(21, 17, 10, 0.96);
  color: var(--gold-bright);
  text-align: center;
  font-size: 12px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

.phone-shell[data-page="trade"] ~ .toast {
  top: 16px;
  bottom: auto;
  min-width: 126px;
  max-width: 190px;
  padding: 7px 10px;
  border-radius: 8px;
  font-size: 11px;
  transform: translate(-50%, -8px);
}

.phone-shell[data-page="trade"] ~ .toast.show {
  transform: translate(-50%, 0);
}

.modal {
  width: min(86vw, 340px);
  border: 1px solid rgba(244, 201, 107, 0.58);
  border-radius: 12px;
  padding: 22px 18px 16px;
  color: #f4ead4;
  background: linear-gradient(180deg, #17140e, #090908);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.65);
}

.modal::backdrop {
  background: rgba(0, 0, 0, 0.72);
}

.modal h3 {
  margin: 0 0 8px;
  color: var(--gold-bright);
  font-size: 18px;
}

.modal p {
  margin: 0 0 18px;
  color: #bbb1a1;
  font-size: 13px;
  line-height: 1.6;
  white-space: pre-line;
}

.modal-purchase-fields {
  margin: -4px 0 16px;
}

.modal-purchase-fields label span,
.modal-estimate span {
  display: block;
  color: #a99d87;
  font-size: 10px;
  line-height: 1.2;
}

.modal-extra-field {
  display: block;
  margin-top: 9px;
}

.modal-capital-input,
.modal-extra-input {
  width: 100%;
  height: 42px;
  margin-top: 7px;
  border: 1px solid rgba(244, 201, 107, 0.38);
  border-radius: 7px;
  padding: 0 12px;
  color: #f7f1e5;
  background: #0d0c0a;
  font: inherit;
  font-size: 17px;
  font-weight: 850;
  outline: none;
}

.modal-capital-input:focus,
.modal-extra-input:focus {
  border-color: rgba(255, 227, 154, 0.86);
}

.modal-estimate {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 10px;
  border-radius: 7px;
  padding: 9px 10px;
  background: rgba(255, 255, 255, 0.055);
}

.modal-estimate strong {
  color: #59dd67;
  font-size: 15px;
  white-space: nowrap;
}

.close-modal {
  position: absolute;
  top: 8px;
  right: 10px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  color: #d9bf7f;
  background: rgba(255, 255, 255, 0.06);
  font-size: 18px;
  outline: none;
}

.close-modal:focus-visible,
.modal-ok:focus-visible {
  outline: 1px solid rgba(255, 225, 148, 0.82);
  outline-offset: 2px;
}

.modal-ok {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 36px;
  border-radius: 7px;
  color: #211605;
  background: linear-gradient(180deg, #ffe59c 0%, #d99c35 100%);
  font-weight: 900;
}

@media (max-width: 426px) {
  .phone-shell {
    transform-origin: top center;
  }
}

.trade-ui {
  position: absolute;
  z-index: 5;
  inset: 0;
  display: none;
  width: 100%;
  min-height: 922px;
  padding: 15px 14px 78px;
  overflow: hidden;
  color: #d8cfbf;
  background: linear-gradient(180deg, #020202 0%, #050504 55%, #010101 100%);
  letter-spacing: 0;
}

.phone-shell[data-page="trade"] .trade-ui {
  display: block;
}

.phone-shell[data-page="trade"] .trade-ui,
.phone-shell[data-page="trade"] .trade-ui * {
  pointer-events: auto;
}

.phone-shell[data-page="trade"] .trade-ui .trade-kline-canvas {
  pointer-events: none;
}

.phone-shell[data-page="trade"] > .trade-market-cover,
.phone-shell[data-page="trade"] > .trade-book-cover,
.phone-shell[data-page="trade"] > .trade-depth-mask,
.phone-shell[data-page="trade"] > .trade-depth-cover,
.phone-shell[data-page="trade"] > .trade-recent-cover,
.phone-shell[data-page="trade"] > .trade-kline-canvas,
.phone-shell[data-page="trade"] > .trade-kline-status,
.phone-shell[data-page="trade"] > .trade-time-row-cover,
.phone-shell[data-page="trade"] > .trade-indicator-row-cover,
.phone-shell[data-page="trade"] > .trade-time-pill,
.phone-shell[data-page="trade"] > .trade-form-cover,
.phone-shell[data-page="trade"] > .trade-step3-cover,
.phone-shell[data-page="trade"] > .trade-step3-balance-cover,
.phone-shell[data-page="trade"] > .trade-position-detail-mask,
.phone-shell[data-page="trade"] > .trade-position-detail-cover,
.phone-shell[data-page="trade"] > .trade-position-left-mask {
  display: none !important;
}

.trade-ui button,
.trade-ui input {
  font: inherit;
}

.trade-ui-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  height: 39px;
}

.trade-brand-lockup {
  display: block;
  width: 135px;
  height: 36px;
  margin-top: 0;
  object-fit: contain;
}

.trade-header-tools-lockup {
  display: block;
  position: relative;
  width: 85px;
  height: 33px;
  margin-top: 3px;
  margin-right: 5px;
  background: url("./assets/trade-header-tools.png") center / contain no-repeat;
}

.trade-header-tools-lockup button {
  position: absolute;
  top: 0;
  width: 38px;
  height: 33px;
  padding: 0;
  border: 0;
  background: transparent;
}

.trade-header-tools-lockup button:first-child {
  left: 0;
}

.trade-header-tools-lockup button:last-child {
  right: 0;
}

.trade-market-panel {
  position: relative;
  height: 97px;
}

.trade-symbol-row {
  display: flex;
  align-items: center;
  gap: 6px;
  width: max-content;
  cursor: pointer;
}

.trade-symbol-row h1 {
  margin: 0;
  color: #f5d483;
  font-size: 18px;
  line-height: 21px;
  font-weight: 900;
}

.trade-chevron {
  color: #f5d483;
  font-size: 14px;
}

.trade-ui .trade-price-cover {
  position: static;
  display: block;
  width: auto;
  height: auto;
  margin-top: 1px;
  color: #56d65b;
  background: transparent;
}

.trade-ui .trade-price-cover strong {
  font-size: 35px;
  line-height: 38px;
  font-weight: 900;
}

.trade-ui .trade-change-cover {
  position: static;
  display: flex;
  width: auto;
  height: auto;
  gap: 16px;
  align-items: center;
  color: #b7b0a6;
  font-size: 13px;
  line-height: 16px;
  background: transparent;
}

.trade-ui .trade-change-cover span:last-child {
  color: #4ed85d;
  font-weight: 800;
}

.trade-ui .trade-24h-cover {
  position: absolute;
  right: 5px;
  top: 18px;
  display: grid;
  gap: 10px;
  width: 154px;
  height: auto;
  margin: 0;
  background: transparent;
}

.trade-ui .trade-24h-cover div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.trade-ui .trade-24h-cover dt,
.trade-ui .trade-24h-cover dd {
  margin: 0;
  font-size: 11px;
  line-height: 12px;
}

.trade-ui .trade-24h-cover dt {
  color: #8a847d;
}

.trade-ui .trade-24h-cover dd {
  color: #ded7cc;
  font-weight: 750;
  text-align: right;
}

.trade-mode-bar {
  position: relative;
  display: grid;
  grid-template-columns: 85px 101px 1fr;
  align-items: center;
  gap: 7px;
  height: 32px;
  border: 1px solid rgba(167, 127, 48, 0.25);
  border-radius: 9px;
  background: rgba(8, 9, 7, 0.94);
}

.mode-chip {
  height: 25px;
  margin-left: 3px;
  border: 1px solid rgba(194, 146, 49, 0.6);
  border-radius: 5px;
  color: #f1d283;
  font-size: 14px;
  font-weight: 900;
}

.trade-ui .trade-status-cover {
  position: static;
  display: flex;
  width: auto;
  height: auto;
  align-items: baseline;
  justify-content: flex-end;
  gap: 4px;
  padding-right: 8px;
  color: #8d867b;
  font-size: 10px;
  background: transparent;
}

.trade-ui .trade-status-cover strong {
  color: #41cf53;
  font-size: 11px;
}

.trade-ui .trade-status-cover em {
  color: #aaa39b;
  font-style: normal;
}

.trade-chart-panel,
.trade-ai-panel,
.trade-order-panel,
.trade-ui .trade-depth-cover,
.trade-ui .trade-position-detail-cover {
  border: 1px solid rgba(153, 116, 36, 0.45);
  border-radius: 8px;
  background: rgba(5, 7, 5, 0.96);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.35);
}

.trade-chart-panel {
  margin-top: 8px;
  height: 169px;
  overflow: hidden;
}

.trade-ui .trade-time-row-cover {
  position: relative;
  display: grid;
  width: auto;
  height: 29px;
  grid-template-columns: 42px 42px 52px 56px 45px 48px 1fr 22px;
  align-items: center;
  padding: 0 9px;
  color: #918b83;
  background: transparent;
  font-size: 12px;
  line-height: normal;
}

.trade-ui .trade-time-label {
  display: inline-grid;
  place-items: center;
  height: 22px;
  line-height: 22px;
  color: #918b83;
}

.phone-shell[data-trade-interval="1m"] .trade-ui .trade-time-label-1m,
.phone-shell[data-trade-interval="15m"] .trade-ui .trade-time-label-15m,
.phone-shell[data-trade-interval="1h"] .trade-ui .trade-time-label-1h,
.phone-shell[data-trade-interval="4h"] .trade-ui .trade-time-label-4h,
.phone-shell[data-trade-interval="1d"] .trade-ui .trade-time-label-1d {
  width: 40px;
  height: 24px;
  color: #f4c75c;
  border: 1px solid rgba(214, 164, 57, 0.75);
  border-radius: 6px;
  background: rgba(12, 10, 5, 0.92);
  font-weight: 900;
}

.chart-full-icon {
  width: 18px;
  height: 18px;
  border: 2px solid #b8afa1;
  border-left: 0;
  border-bottom: 0;
}

.trade-chart-frame {
  position: relative;
  height: 116px;
  border-top: 1px solid rgba(255, 255, 255, 0.055);
  border-bottom: 1px solid rgba(255, 255, 255, 0.055);
}

.trade-ui .trade-kline-canvas {
  position: absolute;
  z-index: 1;
  inset: 0;
  display: block;
  width: 100%;
  height: 116px;
  background: #030704;
  pointer-events: none;
}

.trade-ui .trade-kline-status {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.trade-ui .trade-indicator-row-cover {
  display: grid;
  width: auto;
  height: 23px;
  grid-template-columns: 42px 52px 52px 52px 52px 52px 1fr 24px;
  align-items: center;
  padding: 0 10px;
  color: #7f7a73;
  background: transparent;
  font-size: 12px;
}

.trade-ui .trade-indicator-ma {
  color: #f0ca58;
}

.trade-indicator-tune {
  color: #e0b84f;
  text-align: right;
}

.trade-ai-panel {
  position: relative;
  height: 104px;
  margin-top: 8px;
  padding: 0;
  overflow: hidden;
  background: url("./assets/trade-ai-panel-reference.png") center / 100% 100% no-repeat;
}

.trade-ai-panel .ai-robot-avatar,
.trade-ai-panel .ai-main,
.trade-ai-panel .ai-stats {
  display: none;
}

.ai-switch-line {
  position: absolute;
  right: 7px;
  bottom: 9px;
  display: block;
  width: 126px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: transparent;
}

.ai-switch-line small {
  display: none;
}

.trade-workspace {
  display: grid;
  grid-template-columns: 229px 1fr;
  gap: 8px;
  margin-top: 8px;
}

.trade-order-panel {
  position: relative;
  height: 306px;
  padding: 0 10px 10px;
}

.trade-side-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: 38px;
  margin: 0 -10px 8px;
  overflow: hidden;
  border-radius: 7px 7px 0 0;
  border-bottom: 1px solid rgba(151, 114, 38, 0.28);
  background: #080a07;
}

.trade-side-tabs button {
  position: relative;
  color: rgba(255, 242, 210, 0.78);
  font-size: 14px;
  font-weight: 900;
  border-bottom: 0;
  letter-spacing: 0;
  background: rgba(8, 10, 7, 0.86);
  box-shadow: inset 0 0 0 1px rgba(170, 127, 42, 0.12);
}

.trade-side-tabs .side-long {
  color: #54e86a;
  background: linear-gradient(180deg, rgba(12, 112, 36, 0.98) 0%, rgba(5, 67, 23, 0.99) 100%);
  box-shadow:
    inset 0 1px 0 rgba(103, 232, 118, 0.12),
    inset 0 -1px 0 rgba(28, 168, 55, 0.2);
}

.trade-side-tabs .side-short {
  color: #dd5149;
  background: linear-gradient(180deg, rgba(48, 13, 11, 0.92) 0%, rgba(24, 7, 6, 0.98) 100%);
}

.phone-shell[data-trade-side="short"] .trade-side-tabs .side-long {
  color: rgba(84, 232, 106, 0.62);
  background: linear-gradient(180deg, rgba(6, 46, 17, 0.94) 0%, rgba(4, 24, 10, 0.99) 100%);
  box-shadow: inset 0 0 0 1px rgba(40, 150, 59, 0.08);
}

.phone-shell[data-trade-side="short"] .trade-side-tabs .side-short {
  color: #ffd8d2;
  background: linear-gradient(180deg, rgba(135, 30, 28, 0.98) 0%, rgba(82, 18, 17, 0.99) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 116, 103, 0.1),
    inset 0 -1px 0 rgba(212, 48, 42, 0.14);
}

.phone-shell[data-trade-side="long"] .trade-side-tabs .side-short {
  color: rgba(221, 81, 73, 0.62);
  background: linear-gradient(180deg, rgba(48, 13, 11, 0.92) 0%, rgba(24, 7, 6, 0.98) 100%);
  box-shadow: inset 0 0 0 1px rgba(156, 45, 39, 0.06);
}

.trade-type-tabs {
  display: flex;
  align-items: center;
  height: 22px;
  margin-bottom: 6px;
  border-bottom: 1px solid rgba(151, 115, 40, 0.18);
}

.trade-type-tabs button {
  width: 58px;
  height: 20px;
  color: #8d877f;
  border: 1px solid rgba(157, 119, 39, 0.4);
  font-size: 12px;
}

.trade-type-tabs .type-market {
  color: #f1c761;
  border-color: rgba(214, 166, 62, 0.8);
}

.phone-shell[data-trade-order-type="limit"] .type-market {
  color: #8d877f;
  border-color: rgba(157, 119, 39, 0.4);
}

.phone-shell[data-trade-order-type="limit"] .type-limit {
  color: #f1c761;
  border-color: rgba(214, 166, 62, 0.8);
}

.info-dot,
.trade-tpsl-line i {
  display: inline-grid;
  place-items: center;
  width: 12px;
  height: 12px;
  margin-left: 8px;
  color: #aaa197;
  border: 1px solid #777168;
  border-radius: 50%;
  font-size: 8px;
  font-style: normal;
}

.trade-input-label {
  display: block;
  color: #b9af9f;
  font-size: 12px;
  line-height: 14px;
  font-weight: 800;
}

.trade-amount-field,
.trade-leverage-field {
  display: grid;
  align-items: center;
  height: 31px;
  border: 1px solid rgba(184, 137, 39, 0.55);
  border-radius: 4px;
  background: #070806;
}

.trade-amount-field {
  grid-template-columns: 1fr auto auto;
  padding: 0 8px 0 11px;
}

.trade-amount-field strong {
  color: #f1eee9;
  font-size: 17px;
  line-height: 29px;
  font-weight: 750;
}

.trade-amount-field span {
  color: #aaa197;
  font-size: 12px;
  font-weight: 750;
}

.trade-amount-field button {
  margin-left: 12px;
  color: #f0c65c;
  background: transparent;
  border: 0;
  font-size: 12px;
  font-weight: 800;
}

.leverage-title {
  margin-top: 3px;
}

.trade-leverage-field {
  grid-template-columns: 33px 1fr 33px;
  height: 25px;
  text-align: center;
}

.trade-leverage-field strong {
  color: #f0cf70;
  font-size: 15px;
}

.trade-step3-minus,
.trade-step3-plus {
  color: #edc45e;
  font-size: 22px;
  line-height: 25px;
}

.trade-step3-minus {
  border-right: 1px solid rgba(168, 126, 39, 0.32);
}

.trade-step3-plus {
  border-left: 1px solid rgba(168, 126, 39, 0.32);
}

.trade-ui .trade-step3-slider {
  position: relative;
  left: auto;
  width: auto;
  height: 13px;
  margin-top: 1px;
}

.trade-ui .trade-step3-slider::before {
  content: "";
  position: absolute;
  left: 2px;
  right: 2px;
  top: 6px;
  height: 1px;
  background: rgba(142, 132, 118, 0.62);
}

.trade-ui .trade-step3-slider span {
  position: absolute;
  left: 2px;
  top: 6px;
  width: var(--value);
  height: 1px;
  background: #d9a63c;
}

.trade-ui .trade-step3-slider i {
  position: absolute;
  left: calc(var(--value) - 5px);
  top: 1px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #f1c35a;
  box-shadow: 0 0 0 2px rgba(241, 195, 90, 0.18);
}

.trade-ui .trade-step3-slider input {
  position: absolute;
  inset: -8px 0;
  z-index: 2;
  width: 100%;
  opacity: 0;
}

.trade-scale {
  display: flex;
  justify-content: space-between;
  color: #8e877e;
  font-size: 10px;
  line-height: 10px;
}

.ratio-title {
  margin-top: 2px;
}

.trade-tpsl-line,
.trade-balance-line {
  display: flex;
  align-items: center;
  color: #9d948a;
  font-size: 10px;
  line-height: 14px;
}

.trade-tpsl-line {
  margin-top: 4px;
}

.tpsl-checkbox {
  width: 14px;
  height: 14px;
  margin-right: 6px;
  border: 1px solid rgba(201, 153, 50, 0.62);
  border-radius: 3px;
}

.trade-tpsl-line strong {
  display: none;
}

.trade-balance-line {
  justify-content: flex-end;
  gap: 5px;
  margin-top: -2px;
}

.trade-balance-line strong {
  color: #ddd4c6;
  font-size: 10px;
}

.trade-estimate-lines {
  display: none;
}

.trade-submit-row {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 9px;
  display: block;
  margin-top: 0;
}

.trade-confirm-btn {
  display: inline-flex;
  width: 100%;
  height: 31px;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 1px solid rgba(201, 151, 45, 0.6);
  border-radius: 4px;
  color: #e9f4e7;
  font-size: 13px;
  font-weight: 900;
  background: linear-gradient(180deg, rgba(12, 112, 36, 0.98), rgba(5, 67, 23, 0.99));
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.28);
}

.trade-confirm-btn small {
  color: rgba(232, 224, 202, 0.78);
  font-size: 10px;
  font-weight: 700;
}

.phone-shell[data-trade-side="short"] .trade-confirm-btn {
  background: linear-gradient(180deg, rgba(135, 30, 28, 0.98), rgba(82, 18, 17, 0.99));
  color: #fff0ec;
}

.trade-ui .trade-depth-cover {
  position: relative;
  left: auto;
  top: auto;
  display: block;
  width: auto;
  height: 306px;
  padding: 8px 8px 8px;
  isolation: isolate;
  overflow: hidden;
  background: #050705 !important;
  box-shadow: none !important;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

.trade-ui .depth-tabs {
  position: static !important;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  height: 24px;
  width: auto;
  padding: 0 14px 0 7px;
  color: #8d867e;
  font-size: 11px;
  line-height: 14px;
  text-shadow: none;
}

.trade-ui .depth-tabs strong {
  color: #f0c45b;
  border-bottom: 2px solid #f0c45b;
  padding-bottom: 3px;
  font-size: 11px;
  font-weight: 850;
}

.trade-ui .depth-tabs strong,
.trade-ui .depth-tabs span {
  cursor: pointer;
}

.trade-ui .trade-depth-cover[data-depth-view="trades"] .depth-tabs strong {
  color: #8d867e;
  border-bottom-color: transparent;
}

.trade-ui .trade-depth-cover[data-depth-view="trades"] .depth-tabs span {
  color: #f0c45b;
  border-bottom: 2px solid #f0c45b;
  padding-bottom: 5px;
}

.trade-ui .depth-size {
  position: static !important;
  margin-top: 1px;
  color: #d3af57;
  font-size: 9px;
  line-height: 11px;
}

.trade-ui .depth-head {
  position: static !important;
  display: grid;
  grid-template-columns: 1fr 0.86fr 0.9fr;
  column-gap: 3px;
  width: auto;
  margin-top: 4px;
  color: #918a82;
  font-size: 7.6px;
  line-height: 10px;
  text-shadow: none;
}

.trade-ui .depth-head span {
  white-space: nowrap;
}

.trade-ui .depth-head span:nth-child(2),
.trade-ui .depth-head span:nth-child(3) {
  text-align: right;
}

.trade-ui .depth-list {
  margin-top: 6px;
}

.trade-ui .depth-row,
.trade-ui .recent-row {
  position: static;
  display: grid;
  grid-template-columns: 1fr 0.86fr 0.9fr;
  column-gap: 3px;
  align-items: center;
  width: auto;
  height: 15px;
  color: #d7d0c5;
  font-size: 9px;
  line-height: 15px;
  font-weight: 600;
  text-shadow: none;
}

.trade-ui .depth-row::after {
  content: none;
}

.trade-ui .depth-row span {
  color: #ff564f;
}

.trade-ui .depth-row small,
.trade-ui .recent-row small,
.trade-ui .depth-row b,
.trade-ui .recent-row b {
  color: #d7d0c5;
  font-size: 9px;
  font-weight: 600;
  text-align: right;
  text-shadow: none;
}

.trade-ui .depth-row[data-depth-side="ask"] {
  background: linear-gradient(90deg, rgba(255, 86, 79, 0.075) 0 min(var(--depth-fill, 0%), 38%), transparent min(var(--depth-fill, 0%), 38%) 100%);
}

.trade-ui .depth-row[data-depth-side="bid"] {
  background: linear-gradient(90deg, rgba(69, 214, 87, 0.075) 0 min(var(--depth-fill, 0%), 38%), transparent min(var(--depth-fill, 0%), 38%) 100%);
}

.trade-ui .depth-bid-1 span,
.trade-ui .depth-bid-2 span,
.trade-ui .depth-bid-3 span,
.trade-ui .depth-bid-4 span,
.trade-ui .depth-bid-5 span {
  color: #45d657;
}

.trade-ui .depth-mid {
  position: static;
  display: flex;
  width: auto;
  height: 34px;
  justify-content: space-between;
  align-items: baseline;
  padding-top: 8px;
}

.trade-ui .depth-mid span {
  color: #50d85e;
  font-size: 16px;
  font-weight: 900;
  text-shadow: none;
}

.trade-ui .depth-mid small {
  color: #50d85e;
  font-size: 9px;
  text-shadow: none;
}

.trade-ui .trade-recent-cover {
  display: none;
  position: static !important;
  left: auto;
  top: auto;
  width: auto;
  height: auto;
  margin-top: 8px;
}

.trade-ui .trade-depth-cover[data-depth-view="trades"] .depth-list {
  display: none;
}

.trade-ui .trade-depth-cover[data-depth-view="trades"] .trade-recent-cover {
  display: block !important;
}

.trade-ui .recent-row {
  height: 16px;
}

.trade-ui .recent-row span {
  color: #ff564f;
}

.trade-ui .recent-row[data-trade-side="buy"] span,
.trade-ui .recent-row[data-trade-side="buy"] b {
  color: #45d657;
}

.trade-ui .depth-ratio {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 16px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 7px;
  color: #42d355;
  font-size: 9px;
  line-height: 12px;
  font-weight: 600;
  text-shadow: none;
}

.trade-ui .depth-ratio i {
  height: 2px;
  border-radius: 3px;
  background: linear-gradient(90deg, rgba(66, 211, 85, 0.88) 0 var(--depth-buy-ratio, 50%), rgba(242, 63, 60, 0.88) var(--depth-buy-ratio, 50%) 100%);
}

.trade-ui .depth-ratio strong {
  color: #f23f3c;
  text-shadow: none;
}

.trade-ui .trade-position-detail-cover {
  display: block;
  position: relative;
  left: auto;
  top: auto;
  width: auto;
  min-height: 120px;
  margin-top: 12px;
  padding: 9px 10px 11px;
}

.position-tabs {
  display: grid;
  grid-template-columns: 72px 92px 1fr 70px;
  align-items: center;
  gap: 8px;
  color: #938c83;
  font-size: 12px;
  border-bottom: 1px solid rgba(149, 113, 37, 0.28);
  padding-bottom: 8px;
}

.position-tabs strong {
  color: #f0c75e;
  border-bottom: 2px solid #f0c75e;
  padding-bottom: 7px;
  margin-bottom: -8px;
}

.position-tabs strong,
.position-tabs span {
  cursor: pointer;
}

.trade-position-detail-cover[data-position-view="orders"] .position-tabs strong,
.trade-position-detail-cover[data-position-view="records"] .position-tabs strong {
  color: #938c83;
  border-bottom-color: transparent;
}

.trade-position-detail-cover[data-position-view="orders"] [data-position-view="orders"],
.trade-position-detail-cover[data-position-view="records"] [data-position-view="records"] {
  color: #f0c75e;
  border-bottom: 2px solid #f0c75e;
  padding-bottom: 7px;
  margin-bottom: -8px;
  font-weight: 850;
}

.position-tabs button {
  height: 23px;
  color: #f0c75e;
  border: 1px solid rgba(199, 151, 45, 0.7);
  border-radius: 12px;
  font-size: 11px;
}

.position-body {
  display: grid;
  grid-template-columns: 1fr 128px;
  gap: 10px;
  padding-top: 10px;
}

.position-body strong {
  display: block;
  color: #f1d481;
  font-size: 14px;
  line-height: 20px;
}

.position-body span,
.position-body small {
  display: block;
  color: #918a82;
  font-size: 10px;
  line-height: 16px;
}

.position-body b {
  color: #50d85e;
  font-size: 17px;
  line-height: 23px;
}

.position-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 5px;
}

.trade-position-detail-cover[data-position-view="orders"] .position-actions,
.trade-position-detail-cover[data-position-view="records"] .position-actions,
.trade-position-detail-cover[data-position-state="empty"] .position-actions {
  display: none;
}

.position-actions button {
  min-width: 58px;
  height: 24px;
  color: #f0c75e;
  border: 1px solid rgba(199, 151, 45, 0.7);
  border-radius: 4px;
  font-size: 12px;
  font-weight: 800;
}

.trade-ui .trade-position-cover {
  display: none;
}

.trade-risk-note {
  margin: 9px 0 0;
  color: #8f887e;
  text-align: center;
  font-size: 11px;
}

.trade-bottom-nav {
  position: absolute;
  z-index: 6;
  left: 0;
  right: 0;
  bottom: 0;
  height: 58px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: center;
  padding: 5px 0 4px;
  border-top: 1px solid rgba(255, 218, 125, 0.12);
  border-radius: 18px 18px 0 0;
  background:
    linear-gradient(180deg, rgba(17, 17, 15, 0.98) 0%, rgba(4, 5, 4, 0.99) 100%);
  box-shadow:
    0 -12px 28px rgba(0, 0, 0, 0.58),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  pointer-events: none;
}

.trade-nav-item {
  display: flex;
  min-width: 0;
  height: 49px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  color: #928c82;
  font-size: 10px;
  font-weight: 760;
  line-height: 12px;
  letter-spacing: 0;
}

.trade-nav-item img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  opacity: 0.52;
  filter: grayscale(1) brightness(0.78);
}

.trade-nav-item b {
  font: inherit;
}

.trade-nav-item.active {
  color: #f2c85f;
  font-weight: 900;
}

.trade-nav-item.active img {
  opacity: 1;
  filter: none;
}

.phone-shell[data-page="trade"] .trade-ui .trade-depth-cover,
.phone-shell[data-page="trade"] .trade-ui .trade-position-detail-cover {
  display: block !important;
}

.phone-shell[data-page="trade"] .trade-ui .trade-time-row-cover,
.phone-shell[data-page="trade"] .trade-ui .trade-indicator-row-cover,
.phone-shell[data-page="trade"] .trade-ui .trade-step3-slider {
  position: relative;
  top: auto;
  left: auto;
  right: auto;
  bottom: auto;
}

.phone-shell[data-page="trade"] .trade-ui .trade-time-row-cover {
  display: grid !important;
}

.phone-shell[data-page="trade"] .trade-ui .trade-indicator-row-cover {
  display: grid !important;
}

.phone-shell[data-page="trade"] .trade-ui .trade-time-label,
.phone-shell[data-page="trade"] .trade-ui .trade-indicator-label,
.phone-shell[data-page="trade"] .trade-ui .trade-step3-minus,
.phone-shell[data-page="trade"] .trade-ui .trade-step3-plus {
  position: static;
  top: auto;
  left: auto;
  right: auto;
  bottom: auto;
}

.phone-shell[data-page="trade"] .trade-ui .trade-step3-leverage-slider,
.phone-shell[data-page="trade"] .trade-ui .trade-step3-amount-slider {
  top: auto;
  width: auto;
}

.phone-shell[data-page="trade"] .trade-ui .chart-full-icon {
  display: block;
}

.phone-shell[data-page="trade"] .trade-ui .trade-position-detail-cover {
  min-height: 90px;
  height: 90px;
  margin-top: 10px;
  padding-top: 7px;
  padding-bottom: 7px;
}

.phone-shell[data-page="trade"] .trade-ui .position-body {
  grid-template-columns: 1fr 108px;
  gap: 7px;
  padding-top: 6px;
}

.phone-shell[data-page="trade"] .trade-ui .position-actions {
  right: 8px;
  bottom: 6px;
  margin-top: 0;
}

.phone-shell[data-page="trade"] .trade-ui .trade-position-detail-cover[data-position-view="position"] .position-body > div:last-child {
  position: absolute;
  right: 10px;
  top: 26px;
  width: 112px;
  text-align: right;
}

.phone-shell[data-page="trade"] .trade-ui .trade-position-detail-cover[data-position-view="position"] .position-body > div:last-child small {
  display: none;
}

.phone-shell[data-page="trade"] .trade-ui .trade-position-detail-cover[data-position-view="position"] .position-body > div:last-child b {
  font-size: 12px;
  line-height: 14px;
}

.phone-shell[data-page="trade"] .trade-ui .trade-order-panel {
  overflow: visible;
}

.phone-shell[data-page="trade"] .trade-ui .trade-submit-row {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 9px;
  margin-top: 0;
}

.phone-shell[data-page="trade"] .trade-ui .trade-tpsl-line {
  position: absolute;
  left: 10px;
  right: 126px;
  bottom: 50px;
  margin-top: 0;
}

.phone-shell[data-page="trade"] .trade-ui .trade-balance-line {
  position: absolute;
  right: 10px;
  bottom: 50px;
  width: 166px;
  margin-top: 0;
  background: #050705;
}

.phone-shell[data-page="trade"] .trade-ui .trade-balance-line span {
  display: none;
}

.phone-shell[data-page="trade"] .trade-ui .trade-balance-line strong {
  color: #f5efe2;
  font-size: 11.5px;
  font-weight: 850;
  letter-spacing: 0;
  white-space: nowrap;
}

.phone-shell[data-page="trade"][data-trade-interval="1m"] .trade-ui .trade-time-label-1m,
.phone-shell[data-page="trade"][data-trade-interval="15m"] .trade-ui .trade-time-label-15m,
.phone-shell[data-page="trade"][data-trade-interval="1h"] .trade-ui .trade-time-label-1h,
.phone-shell[data-page="trade"][data-trade-interval="4h"] .trade-ui .trade-time-label-4h,
.phone-shell[data-page="trade"][data-trade-interval="1d"] .trade-ui .trade-time-label-1d {
  color: #f4c75c;
  border: 1px solid rgba(214, 164, 57, 0.72);
  background: rgba(12, 10, 5, 0.92);
  font-weight: 850;
}

.phone-shell[data-page="trade"] .trade-ui .trade-position-detail-cover {
  min-height: 90px;
  height: 90px;
  margin-top: 10px;
  overflow: hidden;
}

.phone-shell[data-page="trade"] .trade-ui .position-tabs {
  grid-template-columns: 60px 82px minmax(92px, 1fr) 64px;
  gap: 6px;
  font-size: 11px;
  padding-bottom: 5px;
}

.phone-shell[data-page="trade"] .trade-ui .position-tabs span,
.phone-shell[data-page="trade"] .trade-ui .position-tabs strong {
  position: static !important;
  grid-row: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.phone-shell[data-page="trade"] .trade-ui .position-tabs [data-position-view="position"] {
  grid-column: 1;
}

.phone-shell[data-page="trade"] .trade-ui .position-tabs [data-position-view="orders"] {
  grid-column: 2;
}

.phone-shell[data-page="trade"] .trade-ui .position-tabs [data-position-view="records"] {
  grid-column: 3;
}

.phone-shell[data-page="trade"] .trade-ui .position-tabs button {
  grid-column: 4;
  grid-row: 1;
}

.phone-shell[data-page="trade"] .trade-ui .position-tabs strong {
  padding-bottom: 5px;
  margin-bottom: -5px;
}

.phone-shell[data-page="trade"] .trade-ui .position-tabs button {
  height: 20px;
  font-size: 10px;
}

.phone-shell[data-page="trade"] .trade-ui .position-body {
  grid-template-columns: 1fr 120px;
  padding-top: 8px;
}

.phone-shell[data-page="trade"] .trade-ui .position-body strong {
  font-size: 12px;
  line-height: 15px;
}

.phone-shell[data-page="trade"] .trade-ui .position-body span,
.phone-shell[data-page="trade"] .trade-ui .position-body small {
  font-size: 8.6px;
  line-height: 12px;
}

.phone-shell[data-page="trade"] .trade-ui .position-body b {
  font-size: 13px;
  line-height: 16px;
}

.phone-shell[data-page="trade"] .trade-ui .position-actions {
  position: absolute;
  right: 10px;
  bottom: 8px;
  display: flex;
  gap: 6px;
  margin-top: 0;
}

.phone-shell[data-page="trade"] .trade-ui .trade-position-detail-cover[data-position-view="orders"] .position-actions,
.phone-shell[data-page="trade"] .trade-ui .trade-position-detail-cover[data-position-view="records"] .position-actions,
.phone-shell[data-page="trade"] .trade-ui .trade-position-detail-cover[data-position-state="empty"] .position-actions {
  display: none !important;
}

.phone-shell[data-page="trade"] .trade-ui .position-actions button {
  min-width: 42px;
  height: 20px;
  font-size: 10px;
}

.phone-shell[data-page="trade"] .trade-ui .trade-market-panel {
  height: 72px;
}

.phone-shell[data-page="trade"] .trade-ui .trade-24h-cover {
  top: 8px;
  left: auto;
  right: 4px;
  width: 178px;
}

.phone-shell[data-page="trade"] .trade-ui .trade-depth-cover {
  padding-left: 7px;
  padding-right: 7px;
  height: 306px;
}

.phone-shell[data-page="trade"] .trade-ui .depth-tabs {
  padding-left: 4px;
  padding-right: 5px;
  font-size: 11px;
}

.phone-shell[data-page="trade"] .trade-ui .depth-head,
.phone-shell[data-page="trade"] .trade-ui .depth-row {
  position: static;
  grid-template-columns: 1fr 0.86fr 0.9fr;
  font-size: 8.2px;
}

.phone-shell[data-page="trade"] .trade-ui .depth-head {
  height: 12px;
  margin-top: 4px;
}

.phone-shell[data-page="trade"] .trade-ui .depth-mid span {
  font-size: 16px;
}

.phone-shell[data-page="invite"] .invite-ui-bottom-nav,
.phone-shell[data-page="trade"] .trade-bottom-nav {
  display: none;
}

/* Final override: invite page keeps its own approved bottom nav visible. */
.phone-shell[data-page="invite"] .invite-ui-header {
  justify-content: center;
}

.phone-shell[data-page="invite"] .invite-ui-header img:first-child {
  position: absolute;
  left: 50%;
  top: 0;
  width: 138px;
  transform: translateX(-50%);
}

.phone-shell[data-page="invite"] .invite-ui-header img:last-child {
  position: absolute;
  right: 0;
  top: 0;
}

.phone-shell[data-page="invite"] .invite-ui-bottom-nav {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 12px;
  z-index: 31;
  display: grid !important;
  height: 58px;
  grid-template-columns: repeat(5, 1fr);
  border: 1px solid rgba(196, 149, 55, 0.72);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(12, 13, 12, 0.94), rgba(5, 6, 6, 0.96));
  box-shadow: inset 0 1px 0 rgba(255, 235, 166, 0.08), 0 10px 24px rgba(0, 0, 0, 0.32);
}

/* Pixel-locked invite visual: use the approved reference image as the only visible UI layer. */
.phone-shell[data-page="invite"] {
  min-height: 923px;
  height: 923px;
}

.phone-shell[data-page="invite"] .invite-reference,
.phone-shell[data-page="invite"] .invite-dynamic-layer,
.phone-shell[data-page="invite"] .app-bottom-nav {
  display: none !important;
}

.phone-shell[data-page="invite"] .invite-ui {
  display: block !important;
  background: #000 url("./assets/invite-approved-1to1.png") center top / 100% 100% no-repeat !important;
}

.phone-shell[data-page="invite"] .invite-ui::before,
.phone-shell[data-page="invite"] .invite-ui::after {
  display: none !important;
  content: none !important;
}

.phone-shell[data-page="invite"] .invite-ui > * {
  display: none !important;
}

.phone-shell[data-page="invite"] .invite-live-reward-layer {
  position: absolute;
  left: 14px;
  top: 205px;
  z-index: 18;
  display: block !important;
  width: 398px;
  height: 132px;
  overflow: hidden;
  border: 1px solid rgba(255, 205, 87, 0.86);
  border-radius: 18px;
  background:
    radial-gradient(circle at 50% 2%, rgba(255, 221, 130, 0.13), transparent 40%),
    linear-gradient(180deg, #161714, #080908);
  box-shadow:
    inset 0 1px 0 rgba(255, 240, 184, 0.14),
    0 0 26px rgba(226, 159, 42, 0.20),
    0 15px 26px rgba(0, 0, 0, 0.34);
  text-align: center;
  pointer-events: none;
}

.phone-shell[data-page="invite"] .invite-live-reward-layer p,
.phone-shell[data-page="invite"] .invite-live-reward-layer div,
.phone-shell[data-page="invite"] .invite-live-reward-layer strong,
.phone-shell[data-page="invite"] .invite-live-reward-layer b,
.phone-shell[data-page="invite"] .invite-live-reward-layer span {
  display: block !important;
  letter-spacing: 0;
}

.phone-shell[data-page="invite"] .invite-live-reward-layer p {
  margin: 15px 0 0;
  color: #f7d77c;
  font-size: 21px;
  font-weight: 950;
  line-height: 27px;
  text-shadow: 0 0 11px rgba(255, 202, 78, 0.18);
}

.phone-shell[data-page="invite"] .invite-live-reward-layer div {
  display: flex !important;
  align-items: baseline;
  justify-content: center;
  gap: 10px;
  margin-top: 11px;
}

.phone-shell[data-page="invite"] .invite-live-reward-layer strong {
  color: #ffd36e;
  font-size: 56px;
  font-weight: 950;
  line-height: 58px;
  white-space: nowrap;
  text-shadow:
    0 0 14px rgba(255, 202, 90, 0.24),
    0 4px 16px rgba(211, 132, 24, 0.28);
}

.phone-shell[data-page="invite"] .invite-live-reward-layer b {
  color: #f8d980;
  font-size: 21px;
  font-weight: 950;
  line-height: 24px;
}

.phone-shell[data-page="invite"] .invite-live-reward-layer span {
  margin-top: 2px;
  color: rgba(238, 232, 219, 0.74);
  font-size: 13px;
  font-weight: 700;
  line-height: 16px;
}

.phone-shell[data-page="invite"] .invite-live-record-layer {
  position: absolute;
  left: 198px;
  top: 733px;
  z-index: 18;
  display: block !important;
  width: 213px;
  height: 93px;
  overflow: hidden;
  border-radius: 0 0 8px 8px;
  background: #070807;
  pointer-events: none;
}

.phone-shell[data-page="invite"] .invite-live-record-layer::before,
.phone-shell[data-page="invite"] .invite-live-record-layer::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  z-index: 2;
  height: 10px;
  pointer-events: none;
}

.phone-shell[data-page="invite"] .invite-live-record-layer::before {
  top: 0;
  background: linear-gradient(180deg, #070807, rgba(7, 8, 7, 0));
}

.phone-shell[data-page="invite"] .invite-live-record-layer::after {
  bottom: 0;
  background: linear-gradient(0deg, #070807, rgba(7, 8, 7, 0));
}

.phone-shell[data-page="invite"] .invite-live-record-track {
  display: block !important;
  animation: invite-record-roll 12s linear infinite;
}

.phone-shell[data-page="invite"] .invite-live-record-row {
  position: relative;
  display: grid !important;
  grid-template-columns: 28px 50px minmax(0, 1fr);
  grid-template-rows: 17px 17px;
  column-gap: 6px;
  align-items: center;
  height: 34px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  color: rgba(239, 234, 222, 0.82);
  font-size: 10px;
}

.phone-shell[data-page="invite"] .invite-live-record-row img {
  grid-row: 1 / 3;
  display: block !important;
  width: 23px;
  height: 23px;
  border-radius: 50%;
  object-fit: cover;
}

.phone-shell[data-page="invite"] .invite-live-record-row span,
.phone-shell[data-page="invite"] .invite-live-record-row time,
.phone-shell[data-page="invite"] .invite-live-record-row small,
.phone-shell[data-page="invite"] .invite-live-record-row b {
  display: block !important;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  letter-spacing: 0;
}

.phone-shell[data-page="invite"] .invite-live-record-row time {
  grid-column: 2;
  grid-row: 2;
  color: rgba(230, 224, 213, 0.62);
  font-size: 9px;
}

.phone-shell[data-page="invite"] .invite-live-record-row small {
  grid-column: 3;
  grid-row: 1;
  color: rgba(236, 230, 218, 0.74);
  font-size: 9px;
}

.phone-shell[data-page="invite"] .invite-live-record-row b {
  grid-column: 3;
  grid-row: 2;
  color: #2fe462;
  font-size: 9px;
  font-weight: 850;
}

@keyframes invite-record-roll {
  0% {
    transform: translateY(0);
  }
  12% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-170px);
  }
}

.phone-shell[data-page="invite"] .invite-hotspot {
  z-index: 40;
}

.phone-shell[data-page="invite"] .invite-notify {
  left: 384px;
  top: 12px;
  width: 30px;
  height: 38px;
  border-radius: 16px;
}

.phone-shell[data-page="invite"] .invite-support {
  left: 0;
  top: 0;
  width: 1px;
  height: 1px;
}

.phone-shell[data-page="invite"] .invite-primary {
  left: 48px;
  top: 349px;
  width: 158px;
  height: 258px;
}

.phone-shell[data-page="invite"] .invite-copy-code {
  left: 72px;
  top: 506px;
  width: 112px;
  height: 64px;
}

.phone-shell[data-page="invite"] .invite-copy-link {
  left: 222px;
  top: 479px;
  width: 173px;
  height: 49px;
  border-radius: 9px;
}

.phone-shell[data-page="invite"] .invite-bottom-cta {
  left: 222px;
  top: 539px;
  width: 173px;
  height: 51px;
  border-radius: 9px;
}

.phone-shell[data-page="invite"] .invite-stats-users {
  left: 16px;
  top: 622px;
  width: 130px;
  height: 64px;
}

.phone-shell[data-page="invite"] .invite-stats-valid {
  left: 146px;
  top: 622px;
  width: 130px;
  height: 64px;
}

.phone-shell[data-page="invite"] .invite-stats-reward,
.phone-shell[data-page="invite"] .invite-pending-detail {
  left: 276px;
  top: 622px;
  width: 134px;
  height: 64px;
}

.phone-shell[data-page="invite"] .invite-level,
.phone-shell[data-page="invite"] .invite-upgrade {
  left: 0;
  top: 0;
  width: 1px;
  height: 1px;
}

.phone-shell[data-page="invite"] .invite-chart-range {
  left: 142px;
  top: 703px;
  width: 58px;
  height: 31px;
}

.phone-shell[data-page="invite"] .invite-records-all {
  left: 336px;
  top: 704px;
  width: 71px;
  height: 28px;
}

.phone-shell[data-page="invite"] .invite-record {
  left: 205px;
  width: 201px;
  height: 34px;
}

.phone-shell[data-page="invite"] .invite-record-1 { top: 734px; }
.phone-shell[data-page="invite"] .invite-record-2 { top: 769px; }
.phone-shell[data-page="invite"] .invite-record-3 { top: 804px; }
.phone-shell[data-page="invite"] .invite-record-4,
.phone-shell[data-page="invite"] .invite-record-5 {
  left: 0;
  top: 0;
  width: 1px;
  height: 1px;
}
