:root {
  --bg: #030409;
  --panel: #11141d;
  --panel-2: #191d28;
  --text: #ffffff;
  --muted: #b3bac7;
  --line: rgba(255, 255, 255, 0.16);
  --cyan: #25f4ee;
  --pink: #fe2c55;
  --gold: #f7c948;
  --danger: #ef4444;
  --shadow: 0 18px 46px rgba(0, 0, 0, 0.48), inset 0 1px 0 rgba(255, 255, 255, 0.035);
  --app-font: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Segoe UI", Arial, sans-serif;
}

html {
  min-height: 100%;
  background: #030409;
  background-color: #030409;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  background: #030409;
  background-color: #030409;
  color: var(--text);
  font-family: var(--app-font);
  text-rendering: geometricPrecision;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  overscroll-behavior: none;
}

#app {
  min-height: 100vh;
  min-height: 100dvh;
  background: #030409;
  position: relative;
}

#app::after {
  content: "";
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 19;
  height: calc(18px + env(safe-area-inset-bottom));
  background: #030409;
  pointer-events: none;
}

button,
input,
select,
textarea {
  font: inherit;
  font-family: var(--app-font);
}

button {
  cursor: pointer;
}

.phone {
  width: min(430px, 100vw);
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0 auto;
  background:
    radial-gradient(circle at 15% 10%, rgba(37, 244, 238, 0.16), transparent 28%),
    radial-gradient(circle at 90% 18%, rgba(254, 44, 85, 0.16), transparent 24%),
    linear-gradient(180deg, #070910 0%, #030409 58%, #000 100%);
  position: relative;
  overflow: hidden;
  font-family: var(--app-font);
  border-left: 1px solid rgba(255, 255, 255, 0.055);
  border-right: 1px solid rgba(255, 255, 255, 0.055);
}

.page {
  min-height: 100vh;
  min-height: 100dvh;
  padding: 62px 14px calc(112px + env(safe-area-inset-bottom));
  background: transparent;
}

.page.no-tabs {
  padding-bottom: 24px;
}

.nav-bar {
  position: fixed;
  top: 0;
  left: 50%;
  z-index: 20;
  width: min(430px, 100vw);
  height: 52px;
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: 42px 1fr 42px;
  align-items: center;
  background: rgba(5, 7, 12, 0.94);
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.nav-title {
  text-align: center;
  font-weight: 900;
  font-size: 18px;
  letter-spacing: 0.01em;
}

.icon-btn {
  border: 0;
  background: transparent;
  color: var(--text);
  font-size: 24px;
  min-width: 42px;
  min-height: 42px;
  cursor: pointer;
  position: relative;
  z-index: 30;
  display: grid;
  place-items: center;
  touch-action: manipulation;
}

.bottom-tabs {
  position: fixed;
  bottom: max(6px, env(safe-area-inset-bottom));
  left: 50%;
  z-index: 20;
  width: min(406px, calc(100vw - 18px));
  height: 76px;
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 24px;
  background: rgba(5, 6, 11, 0.98);
  box-shadow: 0 -14px 34px rgba(0, 0, 0, 0.58), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
}

.tab {
  border: 0;
  background: transparent;
  color: var(--muted);
  display: grid;
  place-items: center;
  gap: 5px;
  padding: 7px 2px 8px;
  font-size: 12px;
  font-weight: 700;
  transition: color 0.2s ease, transform 0.2s ease;
}

.tab-icon {
  position: relative;
  width: 30px;
  height: 26px;
  display: block;
  color: currentColor;
}

.tab-icon::before,
.tab-icon::after {
  content: "";
  position: absolute;
  box-sizing: border-box;
}

.tab-icon-home::before {
  left: 7px;
  top: 9px;
  width: 16px;
  height: 13px;
  border: 2px solid currentColor;
  border-top: 0;
  border-radius: 2px 2px 5px 5px;
}

.tab-icon-home::after {
  left: 8px;
  top: 3px;
  width: 14px;
  height: 14px;
  border-left: 2px solid currentColor;
  border-top: 2px solid currentColor;
  border-radius: 2px 0 0 0;
  transform: rotate(45deg);
}

.tab-icon-order::before {
  left: 6px;
  top: 4px;
  width: 18px;
  height: 18px;
  border: 2px solid currentColor;
  border-radius: 2px;
  background: linear-gradient(90deg, rgba(37, 244, 238, 0.22), transparent 48%, rgba(254, 44, 85, 0.22));
  box-shadow: -3px 0 0 var(--cyan), 3px 0 0 var(--pink), 0 0 16px rgba(37, 244, 238, 0.18);
}

.tab-icon-order::after {
  left: 11px;
  top: 9px;
  width: 8px;
  height: 8px;
  border: 1.5px solid currentColor;
  border-radius: 1px;
}

.tab-icon-team::before {
  left: 9px;
  top: 3px;
  width: 12px;
  height: 12px;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.tab-icon-team::after {
  left: 4px;
  top: 15px;
  width: 22px;
  height: 8px;
  border: 2px solid currentColor;
  border-top: 0;
  border-radius: 0 0 14px 14px;
}

.tab-icon-mine::before {
  left: 4px;
  top: 2px;
  width: 22px;
  height: 22px;
  border: 2px solid currentColor;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 38%, currentColor 0 4px, transparent 4.5px), radial-gradient(circle at 50% 78%, currentColor 0 7px, transparent 7.5px);
  opacity: 0.95;
}

.tab-icon-mine::after {
  left: 1px;
  top: -1px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.tab.active {
  color: #fff;
  transform: translateY(-1px);
}

.tab.active .tab-icon {
  color: #fff;
  filter: drop-shadow(-1.5px 0 0 var(--cyan)) drop-shadow(1.5px 0 0 var(--pink));
}

.tk-login {
  min-height: 100vh;
  padding: 38px 18px;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.2), #07080d 70%),
    url("https://images.unsplash.com/photo-1611162616475-46b635cb6868?auto=format&fit=crop&w=900&q=80") center/cover;
}

.login-language {
  position: absolute;
  top: max(14px, env(safe-area-inset-top));
  right: 14px;
  z-index: 5;
  width: 166px;
}

.login-language-toggle {
  width: 100%;
  min-height: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  padding: 0 9px;
  border: 1.5px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: var(--text);
  background: rgba(5, 6, 11, 0.82);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  font-size: 11px;
  font-weight: 800;
}

.login-language-toggle strong {
  max-width: 70px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 11px;
}

.login-language-panel {
  padding: 5px;
  border: 1.5px solid var(--line);
  border-radius: 8px;
  background: rgba(7, 8, 13, 0.96);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.login-language-panel.language-grid.small {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 5px;
  margin-top: 5px;
}

.login-language-panel.language-grid.small button {
  min-height: 24px;
  padding: 0 6px;
  font-size: 10px;
  white-space: nowrap;
}

.brand {
  padding-top: 28px;
}

.brand h1 {
  margin: 0;
  font-size: 36px;
  letter-spacing: 0;
  text-shadow: -3px 0 var(--cyan), 3px 0 var(--pink);
}

.brand p {
  color: #e5e7eb;
}

.glass,
.card,
.list-panel,
.task-card,
.profile-card,
.language-panel,
.stat {
  background: linear-gradient(180deg, rgba(27, 31, 43, 0.92), rgba(13, 16, 24, 0.94));
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.login-card,
.card {
  padding: 16px;
  margin-bottom: 12px;
}

.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 16px;
}

.auth-tabs button,
.language-grid button {
  border: 1px solid var(--line);
  min-height: 38px;
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.06);
}

.auth-tabs button.active,
.language-grid button.active {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(90deg, var(--cyan), var(--pink));
}

.field {
  display: grid;
  gap: 7px;
}

.form {
  display: grid;
  gap: 12px;
}

.field label {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.095);
  color: var(--text);
  padding: 0 12px;
  outline: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: rgba(37, 244, 238, 0.46);
  box-shadow: 0 0 0 3px rgba(37, 244, 238, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.field textarea {
  min-height: 104px;
  padding: 12px;
  resize: vertical;
  line-height: 1.5;
}

.primary-btn,
.danger-btn,
.ghost-btn {
  width: 100%;
  min-height: 44px;
  border-radius: 999px;
  border: 0;
  font-weight: 900;
}

.primary-btn:disabled,
.ghost-btn:disabled {
  opacity: 0.72;
  cursor: not-allowed;
}

.primary-btn {
  color: #fff;
  background: linear-gradient(90deg, var(--cyan), var(--pink));
  box-shadow: 0 12px 30px rgba(254, 44, 85, 0.18);
}

.danger-btn {
  color: #fff;
  background: var(--danger);
}

.ghost-btn {
  color: var(--muted);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line);
}

.tk-hero {
  min-height: 210px;
  padding: 18px;
  border-radius: 8px;
  display: grid;
  align-items: end;
  background:
    linear-gradient(135deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.78)),
    url("https://images.unsplash.com/photo-1611162618071-b39a2ec055fb?auto=format&fit=crop&w=900&q=80") center/cover;
  box-shadow: var(--shadow);
}

.tk-hero h1 {
  margin: 10px 0 4px;
  font-size: 34px;
  text-shadow: -3px 0 var(--cyan), 3px 0 var(--pink);
}

.tk-hero p {
  margin: 0;
  color: #e5e7eb;
}

.pill,
.vip-badge,
.status {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  padding: 0 9px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  color: #080a10;
  background: var(--gold);
}

.grid-actions {
  margin: 22px 0 26px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.usage-card {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin: -2px 0 12px;
}

.usage-card div {
  min-height: 68px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(27, 31, 43, 0.9), rgba(13, 16, 24, 0.94));
  box-shadow: var(--shadow);
}

.usage-card span {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.usage-card strong {
  display: block;
  margin-top: 6px;
  font-size: 22px;
  font-weight: 900;
}

.action-card {
  min-height: 124px;
  border: 1.5px solid rgba(255, 255, 255, 0.13);
  border-radius: 15px;
  background: rgba(13, 14, 16, 0.96);
  color: var(--text);
  padding: 16px 8px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 13px;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.44), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  font-size: 16px;
  font-weight: 900;
  line-height: 1.2;
}

.action-card > span:last-child {
  font-size: 16px;
  line-height: 1.2;
  white-space: nowrap;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.18), 0 2px 8px rgba(0, 0, 0, 0.45);
}

.action-icon {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 900;
  box-shadow: none;
}

.action-icon svg {
  width: 31px;
  height: 31px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.action-icon-wallet {
  background: #6f0f2a;
  color: #ff4f7e;
}

.action-icon-withdraw {
  background: #124a1f;
  color: #69e57b;
}

.action-icon-invite {
  background: #684f04;
  color: #ffd21c;
}

.action-icon-verify,
.action-icon-service {
  background: #0d4f78;
  color: #2ba7ff;
}

.section-title {
  margin: 18px 2px 10px;
  font-size: 16px;
}

.muted {
  color: var(--muted);
}

.row {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid var(--line);
}

.row:last-child,
.row.compact {
  border-bottom: 0;
}

.stats,
.vip-strip,
.mini-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 12px;
  margin-top: 16px;
}

.stats {
  grid-template-columns: repeat(2, 1fr);
}

.vip-strip,
.mini-stats {
  gap: 14px;
}

.vip-strip {
  grid-template-columns: repeat(3, 1fr);
}

.mini-stats {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 34px;
  align-items: center;
  column-gap: 16px;
}

.vip-strip,
.mini-stats {
  padding: 12px;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(37, 244, 238, 0.10), rgba(26, 29, 40, 0.82) 45%, rgba(254, 44, 85, 0.10));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.vip-strip div,
.mini-stats > div,
.stat {
  padding: 12px;
}

.mini-stats > div:not(.profit-photo-stat) {
  min-height: 78px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.vip-strip span,
.mini-stats span,
.stat-label {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.vip-strip strong,
.mini-stats strong,
.stat-value {
  display: block;
  margin-top: 6px;
  font-size: 18px;
  font-weight: 900;
}

.task-list {
  display: grid;
  gap: 12px;
}

.grab-panel {
  display: grid;
  gap: 10px;
  padding: 14px;
  margin-bottom: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(24, 28, 39, 0.94), rgba(10, 12, 19, 0.96));
  box-shadow: var(--shadow);
}

.grab-shine {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.grab-shine::after {
  content: "";
  position: absolute;
  inset: -30% auto -30% -45%;
  width: 42%;
  transform: skewX(-18deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.7), transparent);
  animation: shineSlide 2.3s ease-in-out infinite;
  pointer-events: none;
  z-index: 1;
}

.grab-shine.is-loading {
  opacity: 0.82;
}

.grab-panel p {
  margin: 0;
  line-height: 1.45;
  text-align: center;
}

.order-marquee {
  height: 488px;
  min-height: 488px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(10, 12, 19, 0.74);
  position: relative;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.025);
}

.marquee-track {
  display: grid;
  gap: 10px;
  padding: 10px;
  animation: orderScroll 1200s linear infinite;
}

.order-marquee:hover .marquee-track {
  animation-play-state: paused;
}

.ticker-card {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 12px;
  padding: 12px;
  min-height: 112px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(28, 31, 42, 0.94), rgba(13, 15, 23, 0.96));
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.32);
}

.ticker-card img {
  width: 84px;
  height: 84px;
  border-radius: 8px;
  object-fit: cover;
}

.ticker-desc {
  height: 42px;
  margin: 4px 0 0;
  overflow: hidden;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.ticker-money {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  margin-top: 8px;
}

.ticker-money span {
  font-size: 18px;
  font-weight: 900;
  color: #fff;
}

.ticker-money small {
  color: var(--cyan);
  font-weight: 900;
}

@keyframes orderScroll {
  from {
    transform: translateY(0);
  }

  to {
    transform: translateY(-50%);
  }
}

@keyframes shineSlide {
  0% {
    left: -45%;
  }

  62%,
  100% {
    left: 115%;
  }
}

.order-submit-card {
  gap: 14px;
}

.order-submit-card h2 {
  margin: 0;
  font-size: 20px;
}

.detail-product-img {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid var(--line);
}

.detail-meta {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.detail-meta div {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.detail-meta span {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.detail-meta strong {
  display: block;
  margin-top: 6px;
  font-size: 18px;
}

.profit-photo-stat {
  position: relative;
  display: contents;
}

.profit-center {
  position: static;
  width: auto;
  max-width: 100%;
  transform: none;
  text-align: left;
  min-height: 78px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.profit-center span,
.profit-center strong {
  display: block;
}

.camera-btn {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(37, 244, 238, 0.62);
  border-radius: 50%;
  background:
    linear-gradient(135deg, rgba(37, 244, 238, 0.24), rgba(254, 44, 85, 0.2)),
    rgba(255, 255, 255, 0.08);
  position: relative;
  flex: 0 0 auto;
  align-self: center;
  transform: translateX(-8px);
  box-shadow: 0 10px 26px rgba(37, 244, 238, 0.16);
}

.camera-btn::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 15px;
  height: 2px;
  border: 0;
  border-radius: 999px;
  background: #fff;
  transform: translate(-50%, -50%);
}

.camera-btn::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 2px;
  height: 15px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 0 14px rgba(37, 244, 238, 0.55);
  transform: translate(-50%, -50%);
}

.photo-task-panel {
  margin-top: -2px;
  display: grid;
  gap: 14px;
  border-color: rgba(37, 244, 238, 0.22);
}

.photo-task-panel .row.compact {
  align-items: flex-start;
  gap: 10px;
}

.photo-task-panel .row.compact span {
  max-width: 190px;
  text-align: right;
  line-height: 1.35;
}

.modal-mask {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 22px;
  background: rgba(0, 0, 0, 0.66);
  backdrop-filter: blur(10px);
}

.grab-modal {
  width: min(360px, 100%);
  display: grid;
  gap: 14px;
  padding: 16px;
  border: 1px solid rgba(37, 244, 238, 0.35);
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(25, 29, 42, 0.98), rgba(10, 12, 20, 0.98));
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.55), 0 0 22px rgba(37, 244, 238, 0.18);
}

.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.task-card {
  overflow: hidden;
}

.task-card.locked-task {
  opacity: 0.78;
}

.task-card img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  background: #101828;
}

.task-body {
  display: grid;
  gap: 10px;
  padding: 12px;
}

.task-money {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}

.task-money span {
  font-size: 24px;
  font-weight: 900;
}

.task-money small {
  color: var(--cyan);
  font-weight: 800;
}

.product-row {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 12px;
}

.product-row img {
  width: 76px;
  height: 76px;
  border-radius: 8px;
  object-fit: cover;
}

.profile-card,
.language-panel {
  padding: 14px;
  margin-bottom: 12px;
}

.profile-head {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  align-items: center;
  gap: 12px;
}

.avatar {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #080a10;
  background: linear-gradient(135deg, var(--cyan), var(--pink));
  font-weight: 900;
  font-size: 22px;
}

.language-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 12px;
}

.compact-language {
  padding: 8px 10px;
}

.language-toggle {
  width: 100%;
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 0;
  background: transparent;
  color: var(--text);
  padding: 0;
}

.language-menu-row {
  padding-top: 8px;
  padding-bottom: 8px;
  cursor: pointer;
}

.language-menu-row .language-toggle {
  pointer-events: none;
}

.language-menu-row .language-grid {
  pointer-events: auto;
}

.language-grid.small {
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
  margin-top: 8px;
}

.language-grid.small button {
  min-height: 28px;
  font-size: 11px;
  padding: 0 4px;
}

.pay-card {
  display: grid;
  gap: 10px;
  padding: 14px;
  margin-bottom: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(18, 21, 31, 0.86);
  box-shadow: var(--shadow);
}

.recharge-confirm {
  display: grid;
  gap: 12px;
  padding: 16px;
  margin-top: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(18, 21, 31, 0.94);
  box-shadow: var(--shadow);
}

.sheet-mask {
  position: absolute;
  inset: 0;
  z-index: 40;
  background: rgba(0, 0, 0, 0.58);
}

.bottom-sheet {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 45;
  display: grid;
  gap: 12px;
  padding: 10px 16px 18px;
  border-radius: 18px 18px 0 0;
  background: rgba(18, 21, 31, 0.98);
  border: 1px solid var(--line);
  box-shadow: 0 -18px 42px rgba(0, 0, 0, 0.42);
}

.sheet-handle {
  width: 42px;
  height: 4px;
  margin: 0 auto 2px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.24);
}

.confirm-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.confirm-head .icon-btn {
  min-width: 32px;
  min-height: 32px;
  font-size: 22px;
}

.confirm-amount {
  padding: 14px;
  border-radius: 8px;
  text-align: center;
  font-size: 30px;
  font-weight: 900;
  color: #fff;
  background: linear-gradient(90deg, rgba(37, 244, 238, 0.25), rgba(254, 44, 85, 0.25));
}

.confirm-row,
.confirm-address {
  display: grid;
  gap: 7px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.confirm-row {
  grid-template-columns: 1fr auto;
  align-items: center;
}

.confirm-row span,
.confirm-address span {
  color: var(--muted);
  font-size: 13px;
}

.upload-card {
  min-height: 118px;
  display: grid;
  place-items: center;
  gap: 5px;
  padding: 14px;
  border: 1px dashed rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  text-align: center;
}

.upload-card input {
  display: none;
}

.upload-plus {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #080a10;
  background: linear-gradient(90deg, var(--cyan), var(--pink));
  font-size: 28px;
  line-height: 1;
}

.upload-card small {
  max-width: 100%;
  color: var(--muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.qr-box {
  width: 132px;
  height: 132px;
  margin: 0 auto;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #080a10;
  background:
    linear-gradient(90deg, #111 10px, transparent 10px) 0 0 / 22px 22px,
    linear-gradient(#111 10px, transparent 10px) 0 0 / 22px 22px,
    #fff;
  font-weight: 900;
}

.payment-list {
  display: grid;
  gap: 10px;
}

.payment-item {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 10px;
  align-items: center;
}

.payment-item.no-qr {
  grid-template-columns: 1fr;
}

.qr-box.small-qr {
  width: 72px;
  height: 72px;
  font-size: 11px;
  background-size: 14px 14px;
}

.copy-address {
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--cyan);
  background: rgba(255, 255, 255, 0.06);
  overflow-wrap: anywhere;
  font-size: 12px;
}

.readonly-address {
  user-select: text;
  cursor: text;
}

.quick-grid,
.method-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.method-grid {
  grid-template-columns: repeat(2, 1fr);
}

.quick-grid label,
.method-grid label {
  min-height: 38px;
  position: relative;
}

.quick-grid input,
.method-grid input {
  position: absolute;
  opacity: 0;
}

.quick-grid span,
.method-grid span {
  height: 100%;
  min-height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.06);
  font-size: 12px;
  text-align: center;
}

.quick-grid input:checked + span,
.method-grid input:checked + span {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(90deg, var(--cyan), var(--pink));
}

.list-panel {
  overflow: hidden;
  margin-bottom: 18px;
  border: 1.5px solid rgba(255, 255, 255, 0.13);
  border-radius: 16px;
  background: rgba(13, 16, 24, 0.94);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

.list-item {
  padding: 0 12px;
  color: var(--text);
  border-bottom: 1px solid var(--line);
  font-weight: 700;
}

.menu-list-row {
  width: 100%;
  min-height: 82px;
  border-left: 0;
  border-right: 0;
  border-top: 0;
  background: transparent;
  color: var(--text);
  text-align: left;
  display: grid;
  grid-template-columns: 58px 1fr 22px;
  align-items: center;
  gap: 18px;
  padding: 10px 0;
}

.menu-icon {
  width: 58px;
  height: 58px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.075);
  color: #d6d9df;
  font-weight: 800;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

.menu-icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.menu-text {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.menu-text strong {
  font-size: 20px;
  line-height: 1.2;
  font-weight: 900;
}

.menu-text small {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.2;
}

.menu-chevron {
  color: #d8deea;
  font-size: 28px;
  font-weight: 900;
  text-align: right;
}

.empty {
  padding: 28px 14px;
  color: var(--muted);
  text-align: center;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 92px;
  z-index: 100;
  max-width: min(360px, calc(100vw - 36px));
  transform: translateX(-50%);
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: #080a10;
  font-size: 14px;
  font-weight: 700;
}

@media (min-width: 700px) {
  body {
    padding: 0;
  }

  .phone {
    width: 100vw;
    min-height: 100vh;
    min-height: 100dvh;
    margin: 0;
    border-radius: 0;
    border-left: 0;
    border-right: 0;
    overflow-x: hidden;
    overflow-y: auto;
  }

  .nav-bar {
    position: fixed;
    left: 0;
    width: 100vw;
    transform: none;
  }

  .page {
    width: min(1180px, calc(100vw - 48px));
    margin: 0 auto;
    padding-left: 0;
    padding-right: 0;
  }

  .bottom-tabs {
    position: fixed;
    left: 50%;
    width: min(720px, calc(100vw - 48px));
    transform: translateX(-50%);
  }
}
