:root {
  --bg: #f4f4f4;
  --paper: #ffffff;
  --ink: #030303;
  --muted: #707078;
  --line: #e8e8e8;
  --soft: #eeeeee;
  --yellow: #ffc323;
  --blue: #1e95ff;
  --green: #29a77a;
  --orange: #ff8a24;
  --shadow: 0 7px 22px rgba(20, 25, 35, .08);
  --font: Georgia, "Times New Roman", serif;
  --num-font: Arial, Helvetica, "Microsoft YaHei", "PingFang SC", sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  letter-spacing: 0;
  font-variant-numeric: lining-nums tabular-nums;
  font-feature-settings: "lnum" 1, "tnum" 1;
}

body {
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

button,
input,
select,
textarea {
  font: inherit;
}

.balance-line,
.stat-value,
.total-people strong,
.finance-metric .value,
.table-row,
.kv strong,
.amount-btn,
.field input,
.country-trigger span,
.country-search,
.country-row span,
.order-goods-sub span,
.order-meta strong,
.card-order-review-meta,
.card-order-review-lines strong,
.obj-balance-bar strong,
.obj-stat strong,
.obj-income-row strong,
.balance-line span:last-child,
.balance-negative,
.self-meta,
.list-card,
.record-link,
.order-status-pill,
.order-status-action,
.card-order-review-meta span,
.card-order-lines strong,
.copy-line,
.about-link {
  font-family: var(--num-font);
  font-variant-numeric: lining-nums tabular-nums;
  font-feature-settings: "lnum" 1, "tnum" 1;
  font-kerning: normal;
}

button,
.title,
.section-title,
.service-card,
.tab-item span,
.menu-row,
.stat-label,
.table-head,
.table-row,
.finance-metric .label,
.finance-metric .value,
.record-link,
.share-box,
.form-label,
.pill {
  min-width: 0;
  overflow-wrap: anywhere;
}

button {
  border: 0;
  cursor: pointer;
}

.app {
  width: 100%;
  min-height: 100vh;
  background: var(--bg);
}

.screen {
  width: min(100%, 430px);
  min-height: 100vh;
  margin: 0 auto;
  background: var(--bg);
  position: relative;
  overflow: hidden;
}

.screen.with-tab {
  padding-bottom: calc(112px + env(safe-area-inset-bottom));
}

.obj-screen.screen {
  background: #f3f3f3;
}

.topbar {
  height: 55px;
  padding: 0 18px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  background: var(--paper);
  box-shadow: 0 2px 7px rgba(0, 0, 0, .08);
  position: relative;
  z-index: 5;
}

.topbar.center {
  justify-content: center;
  box-shadow: none;
}

.topbar.gray {
  background: var(--bg);
}

.title {
  font-size: 18px;
  line-height: 1.2;
  font-weight: 700;
  color: #5f5f67;
  text-align: center;
  max-width: calc(100% - 110px);
}

.topbar-right {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.icon-btn {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  background: transparent;
}

.icon-btn svg {
  width: 28px;
  height: 28px;
}

.lang-img-btn {
  width: 34px;
  height: 34px;
  padding: 0;
}

.lang-icon {
  width: 25px;
  height: 25px;
  display: block;
  object-fit: contain;
}

.back {
  position: absolute;
  left: 8px;
  top: 8px;
}

.content {
  padding: 15px 14px 24px;
}

.login-page {
  background: var(--paper);
  min-height: 100vh;
}

.login-hero {
  width: 90%;
  margin: 50px auto 20px;
  background: #fff;
}

.login-hero img {
  width: 100%;
  height: auto;
  display: block;
}

.login-form {
  width: calc(100% - 64px);
  margin: 0 auto;
}

.register-page {
  background: #fff;
}

.register-page .topbar {
  height: 55px;
  padding: 0 18px;
  align-items: center;
}

.register-form {
  width: 79%;
  margin-top: 24px;
}

.register-form .field {
  min-height: 45px;
  margin-bottom: 15px;
  border-color: #c7c7c7;
  border-radius: 5px;
}

.register-form .field input {
  min-height: 43px;
  padding: 0 28px;
}

.register-form .phone-field input {
  text-align: center;
  padding-left: 8px;
}

.register-form .country-trigger {
  flex-basis: 112px;
  width: 112px;
  min-height: 43px;
  justify-content: center;
  border-right: 0;
  padding: 0 10px;
}

.register-form .country-trigger .country-flag,
.register-form .country-trigger .country-caret {
  display: none;
}

.register-form .login-actions {
  margin-top: 23px;
}

.register-form .btn {
  min-height: 41px;
  border-radius: 5px;
  font-size: 15px;
}

.register-form .link-line {
  margin-top: 20px;
  font-size: 14px;
}

.register-page .lang-img-btn {
  width: 34px;
  height: 34px;
}

.register-page .lang-icon {
  width: 25px;
  height: 25px;
}

.field {
  width: 100%;
  min-height: 50px;
  margin-bottom: 16px;
  border: 1px solid #bcbcbc;
  border-radius: 7px;
  background: #fff;
  display: flex;
  align-items: center;
  color: #676a73;
  overflow: hidden;
}

.field select {
  width: 95px;
  min-height: 48px;
  border: 0;
  background: transparent;
  padding-left: 18px;
  color: #676a73;
  outline: none;
}

.field.phone-field select {
  flex: 0 0 106px;
  width: 106px;
  padding-left: 14px;
}

.country-trigger {
  flex: 0 0 112px;
  width: 112px;
  min-height: 48px;
  padding: 0 10px 0 14px;
  background: transparent;
  color: #676a73;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-right: 1px solid #e8e8e8;
  white-space: nowrap;
}

.country-flag {
  width: 26px;
  height: 18px;
  display: block;
  object-fit: cover;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .08);
  background: #f5f5f5;
}

.country-trigger span {
  font-size: 14px;
  line-height: 1;
}

.country-caret {
  margin-left: auto;
  color: #8a8a92;
  font-size: 11px !important;
}

.field input,
.field textarea {
  width: 100%;
  min-width: 0;
  min-height: 48px;
  border: 0;
  outline: none;
  background: transparent;
  padding: 0 18px;
  color: var(--ink);
}

.phone-input {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 18px;
  line-height: 1;
  letter-spacing: 0;
  white-space: nowrap;
}

.field textarea {
  min-height: 88px;
  padding-top: 14px;
  resize: none;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #676a73;
}

.login-actions {
  margin-top: 23px;
}

.btn {
  width: 100%;
  min-height: 44px;
  border-radius: 8px;
  background: var(--ink);
  color: var(--paper);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
  padding: 8px 12px;
  text-align: center;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08);
}

.btn.yellow {
  background: var(--yellow);
  color: var(--ink);
}

.btn.gray {
  background: #dedede;
  color: #777;
}

.btn.outline {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--ink);
}

.link-line {
  margin-top: 23px;
  text-align: center;
  font-size: 17px;
  color: #676a73;
}

.link-line button {
  color: #000;
  background: transparent;
  padding: 0;
  font-weight: 400;
}

.brand-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 5px;
  margin: 15px 6px 0;
}

.brand-btn {
  min-height: 37px;
  border-radius: 4px;
  border: 2px solid #3a3a3a;
  background: #090909;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  text-shadow: 1px 1px #2d65d9, -1px -1px #d64646;
}

.home-video-banner {
  position: relative;
  height: 200px;
  margin: 0 3px 0;
  overflow: hidden;
  background: #fff;
}

.home-promo-video {
  width: 95%;
  height: 100%;
  margin: 0 auto;
  display: block;
  object-fit: contain;
}

.notice {
  min-height: 43px;
  margin: 0 3px 21px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  background: #e3e3e3;
  border-radius: 6px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.notice svg {
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
}

.notice-viewport {
  flex: 1 1 auto;
  min-width: 0;
  height: 43px;
  overflow: hidden;
}

.notice-stack {
  display: flex;
  flex-direction: column;
  animation: noticeVertical 30s linear infinite;
}

.notice-line {
  height: 43px;
  line-height: 43px;
  white-space: nowrap;
  font-size: 16px;
}

@keyframes noticeVertical {
  from { transform: translateY(0); }
  to { transform: translateY(-50%); }
}

.section-title {
  margin: 0 0 18px;
  font-size: 22px;
  line-height: 1.1;
  font-weight: 700;
}

.service-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 11px;
}

.service-card {
  min-height: 66px;
  border-radius: 8px;
  color: #fff;
  padding: 21px 20px;
  font-size: 19px;
  line-height: 1.15;
  font-weight: 700;
  position: relative;
  overflow: hidden;
}

.service-card.big {
  grid-row: span 2;
}

.service-card.orange {
  background: linear-gradient(155deg, #ffbe2c, #ff7c1d);
}

.service-card.red {
  background: linear-gradient(155deg, #ff7241, #ff3038);
}

.service-card.blue {
  background: linear-gradient(155deg, #108dff, #0879dc);
}

.service-card:before,
.service-card:after {
  content: "";
  position: absolute;
  left: -18%;
  right: -18%;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .12);
}

.service-card:before {
  bottom: 22px;
}

.service-card:after {
  bottom: -8px;
  background: rgba(0, 0, 0, .08);
}

.partner-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 9px 16px;
  margin-bottom: 28px;
}

.partner {
  aspect-ratio: 1 / 1;
  border-radius: 7px;
  background: #fff;
  min-width: 0;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.partner img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tabbar {
  position: fixed;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: min(100%, 430px);
  height: calc(64px + env(safe-area-inset-bottom));
  padding-bottom: env(safe-area-inset-bottom);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: center;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 -2px 8px rgba(0, 0, 0, .15);
  z-index: 20;
}

.tab-item {
  height: 64px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: #8b8b92;
  background: transparent;
  font-size: 14px;
}

.tab-item span {
  max-width: 100%;
  line-height: 1.05;
  text-align: center;
}

.tab-item.active {
  color: var(--blue);
}

.tab-item svg {
  width: 28px;
  height: 28px;
  stroke-width: 2;
}

.card {
  background: var(--paper);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.self-head {
  margin: 10px 0 21px;
  padding: 36px 28px;
  display: grid;
  grid-template-columns: 110px 1fr;
  align-items: center;
  gap: 22px;
}

.avatar {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, #111 0 22%, transparent 23%),
    radial-gradient(circle at 50% 50%, rgba(20, 215, 255, .45), transparent 34%),
    #0c0f1c;
  position: relative;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font: 700 34px Arial, sans-serif;
}

.avatar:before {
  content: "";
  position: absolute;
  inset: 20px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .5);
}

.self-name {
  font-size: 27px;
  line-height: 1.25;
}

.self-info {
  min-width: 0;
}

.self-meta {
  margin-top: 3px;
  font-size: 18px;
  line-height: 1.45;
}

.invite-id-row {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.invite-label {
  flex: 0 0 auto;
  line-height: 36px;
}

.invite-code-value {
  min-width: 0;
  max-width: 148px;
  line-height: 36px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.invite-copy-btn {
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  padding: 0;
  border-radius: 50%;
  color: var(--ink);
  background: rgba(0, 0, 0, .04);
}

.invite-copy-btn svg {
  width: 20px;
  height: 20px;
}

.wallet-card {
  padding: 22px 26px 24px;
  margin-bottom: 11px;
}

.balance-line {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 19px;
  font-weight: 700;
}

.balance-line span:last-child {
  min-width: 0;
  line-height: 1.15;
  white-space: nowrap;
}

.balance-negative {
  color: #c0392b;
}
  
.coin {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font: 700 18px Arial, sans-serif;
}

.wallet-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 23px;
  margin-top: 36px;
  min-width: 0;
}

.invite-card {
  margin-bottom: 11px;
  padding: 16px 12px;
  min-height: 96px;
  border-radius: 8px;
  background: linear-gradient(135deg, #ffc520, #ffd936);
  display: grid;
  grid-template-columns: 1fr 119px;
  gap: 12px;
  align-items: center;
  overflow: hidden;
}

.invite-card > div {
  min-width: 0;
}

.invite-card h2 {
  margin: 0 0 8px;
  font-size: 20px;
  line-height: 1.1;
  font-weight: 400;
}

.invite-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.25;
  color: #61616a;
}

.pill {
  min-height: 38px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 176, 24, .8);
  color: #000;
  font-size: 18px;
  line-height: 1.1;
  padding: 8px 10px;
  text-align: center;
}

.menu {
  overflow: hidden;
}

.menu-row {
  min-height: 54px;
  padding: 0 18px;
  display: grid;
  grid-template-columns: 42px 1fr 24px;
  align-items: center;
  border-bottom: 1px solid #eeeeee;
  background: #fff;
  color: #000;
  text-align: left;
  font-size: 20px;
}

.menu-row > span {
  min-width: 0;
}

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

.menu-icon {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: linear-gradient(135deg, #ff4f4f, #ffd02a);
}

.lang-menu-icon {
  background: transparent;
}

.menu-row svg {
  width: 22px;
  height: 22px;
}

.team-summary {
  margin: 24px 2px 22px;
  padding: 26px 15px 20px;
}

.stats-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
  text-align: center;
}

.stat-label {
  min-height: 47px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  font-size: 17px;
  line-height: 1.45;
}

.stat-value {
  margin-top: 4px;
  font-size: 17px;
  line-height: 1.15;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.team-summary .btn {
  margin-top: 32px;
}

.team-table {
  margin: 0 2px;
  padding: 24px 16px 22px;
}

.total-people {
  font-size: 17px;
  color: #5f5f67;
}

.total-people strong {
  margin-left: 12px;
  color: #5f5f67;
  font-variant-numeric: lining-nums tabular-nums;
  white-space: nowrap;
}

.table-head {
  min-height: 33px;
  margin-top: 28px;
  border-radius: 10px;
  background: #000;
  color: #fff;
  display: grid;
  grid-template-columns: 1fr 1.65fr 1fr;
  align-items: center;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
}

.table-row {
  min-height: 42px;
  display: grid;
  grid-template-columns: 1fr 1.65fr 1fr;
  align-items: center;
  text-align: center;
  border-bottom: 1px solid #eee;
  font-size: 13px;
}

.tabs {
  display: flex;
  gap: 13px;
  margin-bottom: 18px;
}

.tab-chip {
  flex: 1;
  min-height: 32px;
  border-radius: 20px;
  background: #fff;
  color: #000;
  border: 1px solid #dedede;
  padding: 6px 10px;
  line-height: 1.15;
}

.tab-chip.active {
  background: #000;
  color: #fff;
}

.order-screen {
  background: #f5f5f5;
}

.order-screen .topbar {
  height: 55px;
  background: #fff;
  box-shadow: none;
}

.order-content {
  min-height: calc(100vh - 55px - 112px);
  padding: 30px 20px 24px;
  background: #f5f5f5;
}

.order-tabs {
  min-height: 80px;
  gap: 30px;
  margin-bottom: 10px;
  align-items: flex-start;
}

.order-tabs .tab-chip {
  min-height: 40px;
  border: 0;
  border-radius: 10px;
  background: #e6e6e6;
  color: #242f3d;
  font-size: 14px;
  font-weight: 700;
}

.order-tabs .tab-chip.active {
  background: #000;
  color: #fff;
}

.order-empty {
  min-height: calc(100vh - 55px - 112px - 110px);
}

.order-list {
  display: grid;
  gap: 12px;
}

.order-card {
  padding: 14px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 0 10px rgba(0, 0, 0, .08);
  color: #333;
  text-align: left;
}

.card-order-clickable {
  cursor: pointer;
}

.card-order-clickable:active {
  transform: translateY(1px);
}

.order-goods {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 6px;
  background: #fafafa;
}

.order-thumb {
  width: 78px;
  height: 78px;
  display: block;
  object-fit: cover;
  background: #ececec;
  border-radius: 4px;
}

.order-thumb-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
}

.order-thumb-empty svg {
  width: 28px;
  height: 28px;
}

.order-goods-info {
  min-width: 0;
  padding-right: 8px;
}

.order-goods-title {
  color: #333;
  font-size: 13px;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.order-goods-sub {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
  color: #333;
  font-size: 13px;
  line-height: 1.25;
}

.order-goods-sub span:last-child {
  justify-self: end;
  text-align: right;
  font-variant-numeric: lining-nums tabular-nums;
  white-space: nowrap;
}

.order-goods-sub span,
.order-meta span,
.order-meta strong {
  min-width: 0;
  overflow-wrap: normal;
}

.order-meta {
  margin-top: 12px;
}

.order-meta > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(112px, 128px);
  align-items: center;
  column-gap: 12px;
  min-height: 22px;
  margin-top: 4px;
  color: #333;
  font-size: 13px;
  line-height: 1.25;
  white-space: nowrap;
}

.order-meta strong {
  color: #999;
  font-weight: 500;
  text-align: right;
  justify-self: end;
  font-variant-numeric: lining-nums tabular-nums;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.order-status-pill {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 76px;
  padding: 3px 9px;
  border-radius: 999px;
  background: #000;
  color: #fff !important;
  font-size: 12px;
  line-height: 1;
}

.order-status-action {
  flex: 0 0 auto;
  min-height: 32px;
  max-width: 150px;
  padding: 6px 12px;
  border: 0;
  border-radius: 999px;
  background: var(--yellow);
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.15;
  text-align: center;
  white-space: normal;
}

.card-gap-negative {
  color: #c0392b;
}

.card-order-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 12px;
}

.card-order-actions-single {
  grid-template-columns: 1fr;
}

.list-page {
  background: #fff;
}

.list-card {
  padding: 15px 18px;
  border-bottom: 1px solid #eee;
}

.list-card .kind {
  font-size: 17px;
  margin-bottom: 8px;
}

.kv {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(132px, 156px);
  align-items: center;
  column-gap: 12px;
  margin: 4px 0;
  color: #555;
  font-size: 14px;
  line-height: 1.25;
  white-space: nowrap;
}

.kv span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.kv strong {
  min-width: 0;
  justify-self: end;
  overflow: hidden;
  text-align: right;
  text-overflow: ellipsis;
  font-weight: 600;
  font-variant-numeric: lining-nums tabular-nums;
}

.empty {
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6e6e74;
  font-size: 15px;
}

.form-panel {
  padding: 22px 16px;
}

.form-label {
  margin: 14px 0 8px;
  color: #222;
  font-size: 15px;
}

.amount-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 10px 0 18px;
}

.amount-btn {
  min-height: 38px;
  border-radius: 6px;
  background: #fff;
  border: 1px solid #dedede;
  color: #111;
}

.amount-btn.active {
  background: #000;
  border-color: #000;
  color: #fff;
}

.record-link {
  min-width: 58px;
  height: 32px;
  padding: 0 10px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, .05);
  color: #222;
  font-size: 14px;
  line-height: 1;
  white-space: nowrap;
  overflow-wrap: normal;
  word-break: keep-all;
}

.recharge-pay-screen {
  background: #f3f3f3;
}

.recharge-pay-screen .topbar {
  background: #050505;
  color: #fff;
}

.recharge-pay-screen .title,
.recharge-pay-screen .icon-btn,
.recharge-pay-screen .record-link {
  color: #fff;
}

.recharge-pay-screen .lang-img-btn {
  display: none;
}

.recharge-pay-wrap {
  padding: 86px 18px 24px;
}

.recharge-pay-card {
  width: 100%;
  max-width: 366px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 14px 35px rgba(0, 0, 0, .06);
}

.recharge-pay-head {
  min-height: 84px;
  padding: 22px 28px;
  display: flex;
  align-items: center;
  gap: 14px;
  background: #050505;
  color: #fff;
}

.recharge-pay-head strong {
  min-width: 0;
  font-family: var(--num-font);
  font-size: 24px;
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.recharge-pay-badge {
  flex: 0 0 50px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #25b789;
  color: #fff;
  font-family: var(--num-font);
  font-size: 26px;
  font-weight: 800;
  line-height: 1;
}

.recharge-pay-body {
  padding: 24px 18px 26px;
  text-align: center;
}

.recharge-pay-hint {
  max-width: 310px;
  margin: 0 auto 20px;
  color: #c4c4c8;
  font-family: var(--num-font);
  font-size: 16px;
  line-height: 1.35;
  font-weight: 700;
}

.recharge-pay-qr {
  display: block;
  width: min(72vw, 252px);
  height: min(72vw, 252px);
  margin: 0 auto 24px;
  object-fit: contain;
}

.recharge-pay-qr-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f5f5f5;
  color: #777;
  font-size: 14px;
}

.recharge-pay-amount {
  margin: 0 auto 14px;
  color: #333;
  font-family: var(--num-font);
  font-size: 14px;
  line-height: 1.3;
}

.recharge-pay-amount strong {
  font-weight: 800;
}

.recharge-pay-address {
  max-width: 292px;
  margin: 0 auto;
  padding: 15px 16px;
  border-radius: 14px;
  background: #f4f4f4;
  color: #d3a63f;
  font-family: var(--num-font);
  font-size: 15px;
  line-height: 1.35;
  font-weight: 800;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.recharge-pay-copy {
  display: block;
  width: min(320px, calc(100% - 30px));
  min-height: 58px;
  margin: 30px auto 0;
  border-radius: 999px;
  background: #050505;
  color: #fff;
  font-family: var(--num-font);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0;
}

.recharge-pay-copy:disabled {
  opacity: .45;
  cursor: not-allowed;
}

.info-block {
  background: #fff;
  padding: 20px 18px;
  line-height: 1.55;
  font-size: 16px;
}

.info-block h2 {
  margin: 0 0 16px;
  font-size: 22px;
}

.info-block p {
  margin: 0 0 12px;
}

.about-page {
  background: #fff;
  color: #111;
  font-size: 14px;
  line-height: 1.5;
  padding-top: 0;
}

.about-section {
  background: #fff;
  padding: 0 0 12px;
}

.about-image {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  margin: 0 0 10px;
}

.about-lines {
  padding: 0 2px;
}

.about-lines p,
.about-section p {
  margin: 0 0 10px;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.about-lines span {
  font-weight: 400;
}

.about-check {
  margin-top: 4px;
}

.about-link {
  color: #1989fa;
  text-decoration: none;
  overflow-wrap: anywhere;
  word-break: break-all;
}

.about-footer {
  padding-bottom: 20px;
}

.help-page {
  min-height: calc(100vh - 55px - 62px);
  background: #fff;
  padding-bottom: 62px;
}

.help-section {
  background: #fff;
}

.help-accordion-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 50px;
  padding: 0 15px;
  background: #fff;
  color: #303133;
  border: 0;
  font-size: 14px;
  line-height: 50px;
  text-align: left;
}

.help-accordion-row span:first-child {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.help-caret {
  flex: 0 0 42px;
  color: #4b5563;
  font-size: 14px;
  text-align: right;
}

.help-panel {
  padding: 0 15px 12px;
  color: #323233;
  font-size: 14px;
  line-height: 1.55;
}

.help-panel p {
  margin: 0 0 10px;
  overflow-wrap: anywhere;
}

.help-separator {
  height: 1px;
  background: #ebeef5;
}

.share-box {
  padding: 24px 18px;
  text-align: center;
}

.share-code {
  margin: 20px auto;
  width: 138px;
  height: 138px;
  padding: 8px;
  border: 1px solid #eee;
  background: #fff;
  box-sizing: content-box;
  overflow: hidden;
  word-break: break-all;
  font-size: 11px;
}

.share-code canvas,
.share-code table {
  display: block;
  margin: 0 auto;
}

.copy-line {
  margin: 12px 0;
  padding: 12px;
  border-radius: 6px;
  background: #f2f2f2;
  word-break: break-all;
  font-size: 14px;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 88px;
  transform: translateX(-50%);
  max-width: min(88vw, 360px);
  padding: 10px 14px;
  border-radius: 18px;
  background: rgba(0, 0, 0, .82);
  color: #fff;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s ease;
}

.toast.show {
  opacity: 1;
}

.modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, .35);
  z-index: 90;
}

.modal.show {
  display: flex;
}

.modal-card {
  width: min(86vw, 330px);
  padding: 22px 18px;
  border-radius: 8px;
  background: #fff;
  text-align: center;
  box-shadow: 0 18px 60px rgba(0, 0, 0, .25);
}

.modal-card h3 {
  margin: 0 0 14px;
  font-size: 19px;
}

.modal-card p {
  margin: 0 0 20px;
  color: #555;
  line-height: 1.45;
}

.card-order-modal {
  display: grid;
  gap: 14px;
  text-align: left;
}

.card-order-modal h3 {
  margin: 0;
  font-size: 19px;
  line-height: 1.15;
}

.card-order-modal p {
  margin: 0;
  color: #4b5563;
  font-size: 14px;
  line-height: 1.45;
}

.card-order-goods {
  display: grid;
  gap: 10px;
  justify-items: start;
}

.card-order-goods img {
  width: 100%;
  max-width: 160px;
  border-radius: 8px;
  object-fit: cover;
}

.card-order-lines {
  display: grid;
  gap: 10px;
}

.card-order-lines div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 34px;
}

.card-order-lines span {
  color: #6b7280;
}

.card-order-lines strong {
  color: #111827;
}

.card-order-modal .modal-actions {
  margin-top: 6px;
}

.modal.card-order-review-layer {
  background: rgba(0, 0, 0, .68);
}

.modal.card-order-review-layer .modal-card {
  width: min(86vw, 340px);
  max-height: 88vh;
  padding: 20px 18px 0;
  border-radius: 22px;
  overflow: hidden;
  text-align: left;
}

.card-order-review-modal {
  position: relative;
  gap: 16px;
  padding-top: 6px;
}

.card-order-close {
  position: absolute;
  top: -10px;
  right: -4px;
  width: 38px;
  height: 38px;
  border: 0;
  background: transparent;
  color: #9ca3af;
  font-size: 34px;
  font-weight: 300;
  line-height: 1;
}

.card-order-review-product {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 16px 0 14px;
  border-bottom: 1px dashed #e2e2e2;
}

.card-order-review-img {
  width: 112px;
  height: 112px;
  display: block;
  border-radius: 2px;
  background: #ececec;
  object-fit: cover;
}

.card-order-review-info {
  min-width: 0;
  padding-right: 26px;
}

.card-order-review-title {
  display: -webkit-box;
  overflow: hidden;
  color: #111;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.22;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}

.card-order-review-meta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
  color: #555;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.25;
}

.card-order-review-meta span {
  min-width: 0;
  font-variant-numeric: lining-nums tabular-nums;
  white-space: nowrap;
}

.card-order-review-meta span:first-child {
  overflow: hidden;
  text-overflow: ellipsis;
}

.card-order-review-meta span:last-child {
  justify-self: end;
  text-align: right;
}

.card-order-review-lines {
  gap: 0;
  padding: 0 0 2px;
}

.card-order-review-lines div {
  min-height: 28px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(112px, 132px);
  align-items: center;
  column-gap: 12px;
}

.card-order-review-lines span,
.card-order-rating > span {
  color: #111;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.25;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.card-order-review-lines strong {
  color: #d1d5db;
  font-size: 14px;
  font-weight: 600;
  text-align: right;
  justify-self: end;
  font-variant-numeric: lining-nums tabular-nums;
  line-height: 1.25;
  white-space: nowrap;
}

.card-order-review-lines .card-order-income {
  color: #cc7f90;
}

.card-order-review-lines .card-gap-negative {
  color: #d1d5db;
}

.card-order-rating {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 36px;
}

.card-order-stars {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #bfbfbf;
  font-size: 28px;
  line-height: 1;
  white-space: nowrap;
}

.card-order-stars button {
  width: 28px;
  height: 32px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #bfbfbf;
  font: inherit;
  line-height: 1;
  cursor: pointer;
}

.card-order-stars button.active {
  color: #168ac8;
}

.card-order-review-modal .modal-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin: 24px -18px 0;
  border-top: 1px solid #f0f0f0;
}

.card-order-review-modal .modal-actions .btn {
  min-height: 58px;
  border: 0;
  border-radius: 0;
  background: #fff;
  box-shadow: none;
  color: #111;
  font-size: 20px;
  font-weight: 400;
}

.card-order-review-modal .modal-actions .btn + .btn {
  border-left: 1px solid #f0f0f0;
}

.card-order-review-modal .modal-actions .btn.yellow {
  background: #fff;
  color: #111;
}

.modal.language-modal {
  align-items: flex-end;
  justify-content: center;
  padding: 0;
  background: rgba(0, 0, 0, .68);
}

.modal.language-modal .modal-card {
  width: 100%;
  max-height: 36vh;
  overflow: hidden;
  padding: 0;
  border-radius: 0;
  background: #fff;
  text-align: center;
  box-shadow: none;
}

.modal.country-modal {
  align-items: flex-start;
  justify-content: center;
  padding: 0;
  background: rgba(196, 224, 248, .86);
}

.modal.country-modal .modal-card {
  width: 100%;
  height: 100vh;
  max-height: 100vh;
  padding: 86px 0 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  text-align: left;
  overflow: hidden;
}

.country-panel {
  width: 100%;
  height: calc(100vh - 86px);
  max-height: calc(100vh - 86px);
  overflow: hidden;
  background: rgba(196, 224, 248, .86);
  border-radius: 0;
  box-shadow: none;
}

.country-toolbar {
  height: 50px;
  padding: 0 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(124, 160, 190, .28);
  color: #173d60;
  font-size: 14px;
}

.country-search-wrap {
  min-width: 0;
  flex: 1 1 auto;
  height: 36px;
  display: flex;
  align-items: center;
  gap: 4px;
  color: #173d60;
}

.country-search-wrap span {
  flex: 0 0 auto;
  font-size: 22px;
  line-height: 1;
}

.country-search {
  width: 100%;
  min-width: 0;
  height: 36px;
  border: 0;
  outline: none;
  background: transparent;
  color: #173d60;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 18px;
  line-height: 1;
}

.country-toolbar button {
  width: 78px;
  height: 36px;
  border-radius: 8px;
  padding: 0 8px;
  background: #041f37;
  color: #fff;
  font-size: 14px;
}

.country-list {
  height: calc(100vh - 136px);
  max-height: calc(100vh - 136px);
  overflow: auto;
  background: rgba(196, 224, 248, .86);
  -webkit-overflow-scrolling: touch;
}

.country-row {
  width: 100%;
  min-height: 40px;
  padding: 0 34px;
  display: flex;
  align-items: center;
  gap: 30px;
  background: transparent;
  color: #2f638e;
  border-bottom: 1px solid rgba(124, 160, 190, .28);
  text-align: left;
}

.country-row span {
  font-size: 14px;
  line-height: 1;
}

.country-row.active {
  background: #f6f6f6;
  font-weight: 700;
}

.picker-toolbar {
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #f0f0f0;
  background: #fff;
}

.picker-toolbar button {
  height: 44px;
  padding: 0 16px;
  background: transparent;
  color: #4f73a9;
  font-size: 14px;
  font-weight: 400;
}

.picker-window {
  position: relative;
  height: 216px;
  overflow: hidden;
  background: #fff;
}

.picker-center {
  position: absolute;
  left: 0;
  right: 0;
  top: 86px;
  height: 44px;
  border-top: 1px solid #f2f2f2;
  border-bottom: 1px solid #f2f2f2;
  pointer-events: none;
  z-index: 2;
}

.picker-mask {
  position: absolute;
  left: 0;
  right: 0;
  height: 86px;
  pointer-events: none;
  z-index: 3;
}

.picker-mask.top {
  top: 0;
  background: linear-gradient(to bottom, #fff 0%, rgba(255, 255, 255, .78) 70%, rgba(255, 255, 255, .15) 100%);
}

.picker-mask.bottom {
  bottom: 0;
  background: linear-gradient(to top, #fff 0%, rgba(255, 255, 255, .78) 70%, rgba(255, 255, 255, .15) 100%);
}

.modal-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

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

.language-list button,
.lang-option {
  min-height: 42px;
  border-radius: 6px;
  background: #fff;
  border: 1px solid #ddd;
  color: #000;
  text-align: left;
  padding: 0 14px;
}

.modal-language-list {
  position: relative;
  z-index: 1;
  height: 216px;
  overflow: auto;
  display: block;
  padding: 86px 0;
  scroll-snap-type: y mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.modal-language-list::-webkit-scrollbar {
  display: none;
}

.lang-option {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 44px;
  min-height: 44px;
  border: 0;
  border-radius: 0;
  padding: 0 16px;
  background: transparent;
  color: #a9a9a9;
  font-size: 16px;
  line-height: 44px;
  text-align: center;
  scroll-snap-align: center;
}

.lang-option span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.lang-option small {
  color: #888;
  font-size: 12px;
  white-space: nowrap;
}

.language-list button.active,
.lang-option.active {
  background: transparent;
  color: #333;
  font-weight: 400;
}

.lang-option.active small {
  color: rgba(255, 255, 255, .75);
}

.finance-card {
  padding: 16px;
  margin-bottom: 12px;
}

.finance-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 18px 0;
}

.finance-metric {
  padding: 14px;
  border-radius: 7px;
  background: #f3f3f3;
}

.finance-metric .label {
  color: #666;
  font-size: 13px;
  line-height: 1.25;
}

.finance-metric .value {
  margin-top: 6px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.15;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  word-break: normal;
}

.order-action {
  min-height: 190px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 18px;
  background: #fff;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.shield {
  width: 74px;
  height: 86px;
  border-radius: 20px 20px 35px 35px;
  border: 4px solid #1f1f1f;
  display: flex;
  align-items: center;
  justify-content: center;
}

.obj-screen .topbar {
  height: 50px;
  padding: 0 16px;
  background: #fff;
  box-shadow: none;
}

.obj-screen .icon-btn {
  color: #20202a;
}

.obj-screen .icon-btn svg {
  width: 30px;
  height: 30px;
  stroke-width: 1.8;
}

.obj-content {
  padding-bottom: 8px;
}

.obj-hero {
  width: 100%;
  aspect-ratio: 1280 / 660;
  display: block;
  overflow: hidden;
  background: #030303;
}

.obj-hero-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.obj-intro-card {
  margin: 23px 0 0;
  padding: 30px 18px 20px;
  border-radius: 8px;
  background: #fff;
  box-shadow: none;
}

.obj-intro-card h2 {
  margin: 0 0 24px;
  font-size: 20px;
  line-height: 1.15;
  font-weight: 400;
}

.obj-intro-card p {
  margin: 0;
  font-size: 16px;
  line-height: 1.25;
}

.obj-balance-bar {
  min-height: 51px;
  margin: 0;
  padding: 0 13px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 12px;
  border-radius: 5px;
  background: #000;
  color: #fff;
}

.obj-balance-bar span {
  min-width: 0;
  font-size: 16px;
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.obj-balance-bar strong {
  justify-self: end;
  font-size: 18px;
  line-height: 1.15;
  font-variant-numeric: lining-nums tabular-nums;
  text-align: right;
  white-space: nowrap;
}

.obj-stats-card {
  margin-top: 24px;
  padding: 32px 18px 28px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 4px 9px rgba(60, 70, 90, .16);
}

.obj-rule {
  height: 1px;
  margin-bottom: 25px;
  background: #1d2330;
}

.obj-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-bottom: 33px;
}

.obj-stat {
  min-height: 43px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.obj-stat + .obj-stat {
  border-left: 1px solid #1e1e1e;
}

.obj-stat span {
  font-size: 14px;
  line-height: 1.12;
}

.obj-stat strong {
  margin-top: 3px;
  font-size: 16px;
  line-height: 1.1;
  font-variant-numeric: lining-nums tabular-nums;
  white-space: nowrap;
}

.obj-match-btn {
  width: 68%;
  min-height: 44px;
  margin: 0 auto 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  background: #000;
  color: #fff;
  font-size: 22px;
  line-height: 1.1;
  font-weight: 400;
}

.obj-income {
  padding-left: 6px;
}

.obj-income-row {
  min-height: 34px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  line-height: 1.2;
}

.obj-income-row svg {
  width: 25px;
  height: 25px;
  color: #000;
  flex: 0 0 auto;
  stroke-width: 2.6;
}

.obj-income-row strong {
  font-size: 15px;
  line-height: 1.15;
  font-variant-numeric: lining-nums tabular-nums;
  white-space: nowrap;
}

.obj-income-row em {
  font-style: normal;
}

.obj-income-total {
  display: none;
}

.obj-red {
  color: #f00;
}

.shield svg {
  width: 42px;
  height: 42px;
}

.hidden {
  display: none !important;
}

@media (max-width: 360px) {
  .content {
    padding-left: 12px;
    padding-right: 12px;
  }

  .login-form {
    width: calc(100% - 44px);
  }

  .self-head {
    grid-template-columns: 86px 1fr;
    gap: 14px;
    padding-left: 18px;
    padding-right: 18px;
  }

  .avatar {
    width: 78px;
    height: 78px;
  }

  .self-name {
    font-size: 23px;
  }

  .menu-row {
    font-size: 18px;
  }

  .partner-grid {
    gap: 6px;
  }
}
