:root {
  --bg: #eef4ff;
  --panel: #ffffff;
  --panel-soft: rgba(255, 255, 255, 0.76);
  --line: rgba(20, 31, 61, 0.08);
  --text: #0f172a;
  --muted: #667085;
  --primary: #1569ff;
  --primary-2: #40a0ff;
  --primary-3: #0d4fd6;
  --navy: #13203b;
  --shadow: 0 22px 50px rgba(22, 41, 86, 0.16);
  --safe-bottom: max(16px, env(safe-area-inset-bottom));
  --safe-top: max(12px, env(safe-area-inset-top));
  font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background:
    radial-gradient(circle at 15% 15%, rgba(120, 166, 255, 0.45), transparent 20%),
    linear-gradient(180deg, #ecf4ff 0%, #f6f9ff 54%, #eef5ff 100%);
  color: var(--text);
}

body {
  overflow-x: hidden;
}

button,
input {
  font: inherit;
}

img {
  display: block;
  max-width: 100%;
}

#app {
  width: 100%;
  display: flex;
  justify-content: center;
}

.mobile-shell {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  width: 100vw;
  overflow: hidden;
  margin: 0 auto;
}

.auth-shell {
  background: linear-gradient(180deg, #3f6df4 0%, #2f5ae5 100%);
  color: #fff;
}

.auth-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 22% 18%, rgba(255, 255, 255, 0.12), transparent 18%),
    radial-gradient(circle at 85% 28%, rgba(255, 255, 255, 0.08), transparent 16%),
    radial-gradient(circle at 16% 70%, rgba(255, 255, 255, 0.08), transparent 12%);
}

.auth-orb {
  position: absolute;
  background: rgba(255, 255, 255, 0.08);
  z-index: 0;
}

.auth-orb-a {
  left: 52px;
  top: -6px;
  width: 56px;
  height: 116px;
  border-radius: 0 0 28px 28px;
}

.auth-orb-b {
  left: 66px;
  top: 108px;
  width: 122px;
  height: 122px;
  border-radius: 50%;
}

.auth-orb-c {
  right: -12px;
  bottom: 46px;
  width: 54px;
  height: 54px;
  border-radius: 50%;
}

.auth-stage,
.page-scroll,
.tabbar,
.modal-layer,
.menu-backdrop {
  position: relative;
  z-index: 2;
}

.auth-header {
  position: relative;
  z-index: 120;
  padding: calc(16px + var(--safe-top)) 18px 0 16px;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 14px;
}

.auth-title {
  margin: 0;
  font-size: clamp(34px, 8.8vw, 48px);
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.auth-header .dropdown {
  position: absolute;
  right: 18px;
  top: calc(16px + var(--safe-top));
}

.auth-stage {
  z-index: 1;
  padding: 58px 16px 28px;
}

.auth-stage-register {
  padding-top: 24px;
}

.auth-form-register {
  padding-top: 4px;
}

.logo-mark {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  margin: 18px 0 58px;
  font-size: clamp(96px, 25vw, 148px);
  line-height: 0.82;
  font-weight: 800;
  letter-spacing: -0.1em;
  user-select: none;
  pointer-events: none;
}

.logo-e {
  color: #ff1d1d;
}

.logo-b {
  color: #1725bf;
}

.logo-a {
  color: #ffd232;
}

.logo-y {
  color: #9cdc00;
}

.auth-form {
  display: flex;
  flex-direction: column;
}

.field-label {
  display: block;
  margin: 0 0 10px 2px;
  font-size: 16px;
  font-weight: 500;
}

.field-group {
  margin-bottom: 18px;
}

.field-row {
  display: grid;
  grid-template-columns: 100px 1fr;
  align-items: stretch;
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 10px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(10px);
}

.field-row-single {
  grid-template-columns: 1fr;
}

.field-input {
  width: 100%;
  min-height: 48px;
  border: 0;
  outline: none;
  background: transparent;
  color: #fff;
  padding: 0 16px;
  font-size: 17px;
}

.field-input::placeholder {
  color: rgba(255, 255, 255, 0.84);
}

.area-select {
  position: relative;
}

.code-trigger,
.password-toggle {
  border: 0;
  background: transparent;
  color: #fff;
}

.code-trigger {
  border-right: 1px solid rgba(255, 255, 255, 0.4);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 10px;
  min-height: 48px;
  justify-content: flex-start;
}

.password-row {
  position: relative;
}

.password-row .field-input {
  padding-right: 86px;
}

.password-toggle {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 12px;
  font-weight: 700;
  opacity: 0.92;
}

.primary-action,
.secondary-action {
  min-height: 46px;
  border: 0;
  border-radius: 10px;
  font-size: 18px;
  font-weight: 800;
}

.primary-action {
  margin-top: 22px;
  color: #1552f0;
  background: #fff;
  box-shadow: 0 16px 30px rgba(8, 26, 82, 0.16);
}

.secondary-action {
  margin-top: 18px;
  color: #1552f0;
  background: rgba(255, 255, 255, 0.96);
}

.login-hint {
  min-height: 20px;
  margin-top: 16px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.88);
}

.login-toast-layer {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 420;
  pointer-events: none;
}

.login-toast {
  min-width: 160px;
  max-width: min(86vw, 320px);
  padding: 12px 18px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(70, 76, 88, 0.82);
  box-shadow: 0 14px 32px rgba(8, 19, 48, 0.2);
  color: #ffffff;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.app-toast-layer {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 2200;
  pointer-events: none;
}

.app-toast {
  min-width: 180px;
  max-width: min(82vw, 320px);
  padding: 14px 20px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(70, 76, 88, 0.84);
  box-shadow: 0 18px 36px rgba(8, 19, 48, 0.22);
  color: #ffffff;
  text-align: center;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: 0.01em;
}

.menu-backdrop {
  position: fixed;
  inset: 0;
  border: 0;
  background: transparent;
  z-index: 20;
}

.dropdown {
  position: relative;
  z-index: 140;
}

.dropdown-trigger {
  min-height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  background: rgba(255, 255, 255, 0.12);
  color: inherit;
  border-radius: 999px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  backdrop-filter: blur(12px);
}

.top-trigger {
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  min-width: 72px;
  padding: 0 10px;
}

.trigger-short,
.trigger-code {
  white-space: nowrap;
}

.trigger-code {
  font-size: 18px;
}

.trigger-caret {
  font-size: 10px;
  opacity: 0.8;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 180px;
  padding: 8px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 20px 44px rgba(16, 24, 40, 0.18);
  z-index: 141;
}

.dropdown-menu-right {
  right: 0;
  left: auto;
}

.area-dropdown {
  width: 100%;
  min-width: 0;
}

.area-sheet {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0;
  z-index: 145;
}

.area-sheet-panel {
  width: 100%;
  max-height: min(72vh, 620px);
  background: rgba(255, 255, 255, 0.98);
  border-radius: 24px 24px 0 0;
  box-shadow: 0 -18px 40px rgba(16, 24, 40, 0.18);
  overflow: hidden;
}

.area-sheet-head {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  padding: 18px 18px 14px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.area-sheet-head strong {
  font-size: 16px;
  color: var(--text);
}

.area-sheet-close {
  border: 0;
  background: rgba(21, 105, 255, 0.08);
  color: var(--primary-3);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-size: 20px;
  line-height: 1;
}

.area-sheet-list {
  max-height: calc(min(72vh, 620px) - 66px);
  overflow-y: auto;
  padding: 8px 10px calc(14px + var(--safe-bottom));
}

.dropdown-item {
  width: 100%;
  min-height: 44px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 12px;
  color: var(--text);
  font-size: 14px;
  text-align: left;
}

.area-item {
  min-height: 50px;
}

.area-item-name {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.area-item-code {
  color: var(--muted);
  font-weight: 700;
}

.dropdown-item.active {
  background: rgba(21, 105, 255, 0.08);
  color: var(--primary);
  font-weight: 700;
}

.flag-badge {
  width: 22px;
  height: 16px;
  border-radius: 3px;
  flex: none;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.1);
}

.app-shell {
  background:
    radial-gradient(circle at top right, rgba(117, 169, 255, 0.28), transparent 18%),
    linear-gradient(180deg, #f2f7ff 0%, #f8fbff 56%, #eff5ff 100%);
}

.app-surface {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 0% 20%, rgba(40, 121, 255, 0.08), transparent 22%),
    radial-gradient(circle at 100% 0%, rgba(64, 160, 255, 0.12), transparent 20%);
}

.app-header {
  position: relative;
  z-index: 120;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 12px;
  padding: calc(14px + var(--safe-top)) 24px 0 24px;
  width: 100%;
  max-width: 410px;
  margin: 0 auto;
}

.app-header .dropdown {
  position: absolute;
  right: 0;
  top: calc(4px + var(--safe-top));
}

.brand-label {
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: var(--navy);
}

.brand-sub {
  margin-top: 3px;
  font-size: 12px;
  color: var(--muted);
}

.app-header .dropdown-trigger {
  color: #174a9f;
  background: rgba(255, 255, 255, 0.88);
  border-color: rgba(21, 105, 255, 0.1);
}

.page-scroll {
  padding: 12px 22px calc(84px + var(--safe-bottom));
  width: 100%;
  max-width: 410px;
  margin: 0 auto;
}

.hero-card {
  display: grid;
  gap: 14px;
}

.hero-card-compact {
  gap: 0;
}

.hero-media {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #2d49dd;
}

.hero-media-banner {
  width: 100%;
  aspect-ratio: 2.84 / 1;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.hero-media img {
  width: 100%;
  aspect-ratio: 2.84 / 1;
  height: auto;
  object-fit: contain;
  object-position: center;
}

.earnings-card,
.balance-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border-radius: 18px;
  padding: 14px 16px;
  color: #fff;
  background: linear-gradient(135deg, #0f67f4 0%, #3da4ff 100%);
  box-shadow: 0 20px 36px rgba(21, 105, 255, 0.22);
}

.eyebrow {
  font-size: 15px;
  font-weight: 700;
}

.eyebrow-sub {
  margin-top: 4px;
  font-size: 12px;
  opacity: 0.9;
  max-width: 170px;
}

.earnings-value {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.coin-dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #ffd86f, #e8a514);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.16);
}

.money {
  font-size: 22px;
  font-weight: 900;
}

.unit {
  font-size: 12px;
  opacity: 0.92;
}

.notice-strip {
  margin-top: 12px;
  border-radius: 16px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 12px 28px rgba(20, 31, 61, 0.08);
  backdrop-filter: blur(12px);
}

.notice-chip {
  min-width: 52px;
  min-height: 28px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff5f5f, #ff9f44);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
}

.notice-copy {
  font-size: 14px;
  color: #24324a;
}

.content-section {
  margin-top: 18px;
}

.section-head h2 {
  margin: 0 0 10px;
  font-size: 18px;
  letter-spacing: -0.03em;
}

.service-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 8px;
  align-items: stretch;
}

.service-stack {
  display: grid;
  gap: 8px;
}

.service-panel {
  min-height: 144px;
  border: 1px solid rgba(216, 227, 249, 0.95);
  border-radius: 20px;
  padding: 12px 14px 14px;
  text-align: left;
  color: #132547;
  position: relative;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(80, 102, 145, 0.12);
  background:
    radial-gradient(circle at 50% 22%, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0) 42%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(250, 252, 255, 0.94));
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.service-panel-compact {
  min-height: 56px;
  border-radius: 16px;
  padding: 9px 12px;
  justify-content: center;
}

.service-panel-feature {
  min-height: 132px;
}

.service-panel:active {
  transform: translateY(1px) scale(0.996);
}

.service-panel:focus-visible {
  outline: 0;
  box-shadow: 0 0 0 3px rgba(43, 104, 237, 0.16), 0 18px 40px rgba(80, 102, 145, 0.16);
}

.service-panel-about {
  border-color: rgba(207, 223, 252, 0.98);
}

.service-panel-help {
  border-color: rgba(212, 243, 217, 0.98);
}

.service-panel-support {
  border-color: rgba(252, 229, 203, 0.98);
}

.service-halo {
  position: absolute;
  inset: -12% 16% auto;
  height: 120px;
  border-radius: 50%;
  filter: blur(26px);
  opacity: 0.28;
}

.service-panel-about .service-halo {
  background: rgba(73, 130, 255, 0.26);
}

.service-panel-help .service-halo {
  background: rgba(89, 214, 110, 0.24);
}

.service-panel-support .service-halo {
  background: rgba(255, 152, 55, 0.24);
}

.service-orbit {
  position: absolute;
  top: 10px;
  right: -28px;
  width: 136px;
  height: 136px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.78);
  opacity: 0.76;
}

.service-spark {
  position: absolute;
  top: 22px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.service-spark-left {
  left: 16px;
}

.service-spark-right {
  right: 18px;
}

.service-panel-about .service-spark {
  background: rgba(111, 162, 255, 0.82);
}

.service-panel-help .service-spark {
  background: rgba(98, 217, 119, 0.82);
}

.service-panel-support .service-spark {
  background: rgba(255, 191, 130, 0.9);
}

.service-art {
  position: relative;
  z-index: 1;
  width: 112px;
  margin-top: 2px;
  margin-left: auto;
  align-self: flex-end;
}

.service-art svg {
  display: block;
  width: 100%;
  height: auto;
}

.service-copy {
  position: relative;
  z-index: 1;
  margin-top: auto;
  max-width: 68%;
}

.service-panel-about .service-kicker {
  color: #173867;
}

.service-panel-help .service-kicker {
  color: #1f6b32;
}

.service-panel-support .service-kicker {
  color: #7a3d15;
}

.service-kicker {
  position: relative;
  z-index: 1;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.05em;
  white-space: nowrap;
}

.service-text {
  position: relative;
  z-index: 1;
  margin-top: 4px;
  max-width: 230px;
  font-size: 11px;
  line-height: 1.45;
  color: #7a8498;
}

.service-arrow {
  position: relative;
  z-index: 1;
  margin-top: 10px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  box-shadow: 0 12px 24px rgba(75, 105, 166, 0.18);
}

.service-arrow svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: #fff;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-panel-compact .service-art {
  position: absolute;
  right: 8px;
  top: 50%;
  width: 58px;
  margin: 0;
  transform: translateY(-50%);
  opacity: 0.98;
}

.service-panel-compact .service-orbit {
  top: 8px;
  right: 4px;
  width: 88px;
  height: 88px;
  opacity: 0.54;
}

.service-panel-compact .service-copy {
  margin-top: 0;
  max-width: calc(100% - 60px);
  margin-left: 12px;
}

.service-panel-compact .service-kicker {
  font-size: 14px;
  line-height: 1.05;
}

.service-panel-compact .service-text,
.service-panel-feature .service-text {
  display: none;
}

.service-panel-compact .service-arrow {
  display: none;
}

.service-panel-compact .service-spark-left {
  left: 10px;
}

.service-panel-compact .service-spark-right {
  right: 62px;
  top: 12px;
}

.service-panel-feature .service-art {
  width: 118px;
  margin-top: 2px;
}

.service-panel-feature .service-copy {
  margin-top: auto;
  max-width: 64%;
  align-self: center;
  text-align: center;
  margin-bottom: 22px;
}

.service-panel-feature .service-kicker {
  font-size: 16px;
}

.service-panel-feature .service-arrow {
  display: none;
}

.service-panel-about .service-arrow {
  background: linear-gradient(135deg, #5f9cff, #2f6fe8);
}

.service-panel-help .service-arrow {
  background: linear-gradient(135deg, #7ee485, #46c45b);
}

.service-panel-support .service-arrow {
  background: linear-gradient(135deg, #ffb061, #ff7a1d);
}

.partner-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.partner-card {
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.9);
  padding: 12px 6px 10px;
  text-align: center;
  box-shadow: 0 12px 26px rgba(20, 31, 61, 0.08);
  text-decoration: none;
  display: block;
}

.partner-icon {
  width: 46px;
  height: 46px;
  margin: 0 auto 8px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: #fff;
  padding: 6px;
  overflow: hidden;
}

.partner-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.partner-name {
  font-size: 11px;
  color: #344054;
}

.detail-panel,
.list-panel,
.simple-panel {
  margin-top: 14px;
  padding: 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.76);
  box-shadow: 0 14px 30px rgba(20, 31, 61, 0.08);
  backdrop-filter: blur(10px);
}

.about-page {
  margin-top: 14px;
  display: grid;
  gap: 18px;
}

.about-block {
  padding: 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.78);
  box-shadow: 0 14px 30px rgba(20, 31, 61, 0.08);
}

.about-cert {
  width: 100%;
  display: block;
  border-radius: 12px;
  margin-bottom: 12px;
}

.about-copy p {
  margin: 0 0 8px;
  color: #344054;
  line-height: 1.6;
  word-break: break-word;
  font-size: 14px;
}

.about-copy a {
  color: var(--primary-3);
  text-decoration: none;
}

.detail-title {
  font-size: 22px;
  font-weight: 900;
  margin-bottom: 10px;
}

.detail-panel p,
.simple-panel p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
  font-size: 14px;
}

.inner-page {
  padding-top: 10px;
}

.page-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.page-title-row h2 {
  margin: 0;
  font-size: 30px;
  line-height: 1;
  letter-spacing: -0.04em;
}

.page-title-row-center {
  justify-content: center;
}

.page-title-row-center h2 {
  font-size: 22px;
}

.mini-actions {
  display: flex;
  gap: 8px;
}

.mini-pill,
.ghost-action {
  min-height: 34px;
  border-radius: 999px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: rgba(21, 105, 255, 0.08);
  color: var(--primary-3);
  font-size: 12px;
  font-weight: 800;
}

.ghost-action-prominent {
  min-height: 40px;
  padding: 0 16px;
  background: linear-gradient(180deg, #1777e6 0%, #0e69d8 100%);
  color: #fff;
  box-shadow: 0 10px 22px rgba(23, 119, 230, 0.18);
}

.stats-grid {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.metric-card {
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.9);
  padding: 18px;
  box-shadow: 0 14px 30px rgba(20, 31, 61, 0.08);
}

.metric-card strong {
  display: block;
  margin-top: 10px;
  font-size: 28px;
  line-height: 1;
}

.metric-label {
  font-size: 13px;
  color: var(--muted);
}

.trade-balance-card {
  position: relative;
  margin-top: 14px;
  min-height: 118px;
  border-radius: 16px;
  padding: 18px 14px;
  color: #fff;
  background:
    radial-gradient(circle at 95% 18%, rgba(83, 199, 255, 0.16), transparent 12%),
    radial-gradient(circle at 36% 126%, rgba(80, 190, 255, 0.16), transparent 26%),
    radial-gradient(circle at 78% 78%, rgba(66, 160, 255, 0.14), transparent 28%),
    linear-gradient(135deg, #0e5bc9 0%, #0f6ede 48%, #1678e3 100%);
  overflow: hidden;
  box-shadow: 0 18px 34px rgba(16, 99, 218, 0.2);
}

.trade-balance-card::before,
.trade-balance-card::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
}

.trade-balance-card::before {
  width: 180px;
  height: 76px;
  right: -10px;
  top: 30px;
}

.trade-balance-card::after {
  width: 160px;
  height: 100px;
  left: 42px;
  bottom: -34px;
}

.trade-balance-label {
  position: relative;
  z-index: 1;
  font-size: 17px;
  font-weight: 700;
}

.trade-balance-value {
  position: relative;
  z-index: 1;
  margin-top: 28px;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.trade-panel {
  margin-top: 12px;
  padding: 12px 12px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 14px 30px rgba(20, 31, 61, 0.08);
}

.trade-panel-title {
  font-size: 18px;
  font-weight: 500;
  color: #253045;
}

.trade-panel-copy {
  margin: 10px 0 0;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(18, 31, 61, 0.36);
  font-size: 13px;
  line-height: 1.52;
  color: #414d63;
}

.trade-stats {
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  align-items: center;
  gap: 10px;
  padding: 16px 8px 0;
}

.trade-stat {
  text-align: center;
}

.trade-stat span {
  display: block;
  font-size: 13px;
  color: #39465a;
}

.trade-stat strong {
  display: block;
  margin-top: 4px;
  font-size: 18px;
  line-height: 1;
  color: #1d2738;
}

.trade-stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(18, 31, 61, 0.45);
  justify-self: center;
}

.trade-action {
  display: block;
  width: min(100%, 256px);
  min-height: 44px;
  margin: 18px auto 0;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(180deg, #1d81ea 0%, #0f6add 100%);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  box-shadow: 0 14px 26px rgba(18, 105, 222, 0.18);
}

.trade-action.is-disabled,
.trade-action:disabled {
  background: linear-gradient(180deg, #a8b8d6 0%, #90a3c7 100%);
  box-shadow: none;
  cursor: not-allowed;
  opacity: 0.92;
}

.trade-metrics {
  margin-top: 18px;
  display: grid;
  gap: 10px;
}

.trade-metric-row {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #3a4458;
  font-size: 15px;
}

.trade-metric-icon {
  width: 28px;
  height: 28px;
  display: inline-grid;
  place-items: center;
  color: #2f394c;
}

.trade-metric-icon svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.trade-metric-row-accent strong {
  color: #ff4d4f;
  font-weight: 500;
}

.order-tabs-bar {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.order-tab-btn {
  min-height: 40px;
  border: 0;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.9);
  color: #54708f;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(20, 31, 61, 0.06);
}

.order-tab-btn.active {
  background: linear-gradient(180deg, #1b7fe9 0%, #0f68dc 100%);
  color: #fff;
}

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

.order-card,
.order-dialog-card {
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.82);
  box-shadow: 0 16px 32px rgba(20, 31, 61, 0.08);
}

.order-card {
  padding: 14px;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.order-card-top,
.order-dialog-item {
  display: flex;
  gap: 12px;
  min-width: 0;
}

.order-thumb {
  width: 92px;
  height: 92px;
  flex: 0 0 92px;
  border-radius: 14px;
  overflow: hidden;
  background: linear-gradient(180deg, #ffffff, #f5f9ff);
  border: 1px solid rgba(28, 69, 145, 0.08);
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.order-thumb-media {
  width: 100%;
  height: 100%;
  background-color: #ffffff;
  border-radius: 10px;
  pointer-events: none;
  user-select: none;
  display: block;
  object-fit: contain;
  object-position: center;
}

.order-thumb-large {
  width: 100px;
  height: 100px;
  flex-basis: 100px;
  padding: 9px;
}

.order-card-main,
.order-dialog-copy {
  min-width: 0;
  flex: 1;
}

.order-shop {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  color: #213047;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: break-word;
}

.order-unit-row {
  margin-top: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: #5d6b80;
  min-width: 0;
}

.order-unit-price {
  font-size: 18px;
  font-weight: 800;
  color: #1d2738;
}

.order-unit-price span {
  font-size: 13px;
  font-weight: 600;
}

.order-unit-count {
  font-size: 13px;
  font-weight: 700;
  color: #4c5a71;
}

.order-code {
  margin-top: 12px;
  font-size: 14px;
  font-weight: 700;
  color: #1f2d44;
}

.order-meta-row {
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  color: #5c687d;
  min-width: 0;
}

.order-meta-row span,
.order-meta-row strong {
  min-width: 0;
}

.order-meta-row span {
  flex: 1 1 auto;
}

.order-meta-row strong {
  flex: 0 1 auto;
  color: #1d2738;
  font-size: 14px;
  text-align: right;
  word-break: break-word;
}

.order-meta-row .order-income {
  color: #ff5353;
}

.order-meta-row .order-shortfall {
  color: #ff5353;
}

.order-footer {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(18, 31, 61, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-width: 0;
}

.order-paid {
  font-size: 13px;
  font-weight: 700;
  color: #334155;
  flex: 1 1 auto;
  min-width: 0;
  word-break: break-word;
}

.order-action-btn,
.order-cancel-btn {
  min-height: 36px;
  border-radius: 10px;
  padding: 0 14px;
  font-size: 13px;
  font-weight: 700;
  border: 0;
  flex: none;
}

.order-action-btn {
  background: linear-gradient(180deg, #1b7fe9 0%, #0f68dc 100%);
  color: #fff;
}

.order-cancel-btn {
  background: #fff;
  color: #0f68dc;
  border: 1px solid rgba(15, 104, 220, 0.16);
}

.order-empty {
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: 28px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 14px 30px rgba(20, 31, 61, 0.08);
}

.order-empty img {
  width: 104px;
  height: 104px;
}

.order-empty p {
  margin: 0;
  color: #728198;
  font-size: 14px;
}

.order-dialog-card {
  width: min(100%, 360px);
  padding: 16px;
}

.order-rating-row {
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #2d394d;
  font-size: 14px;
}

.order-stars {
  display: flex;
  align-items: center;
  gap: 6px;
}

.order-star {
  border: 0;
  background: transparent;
  color: #d0d8e7;
  font-size: 24px;
  line-height: 1;
  padding: 0;
}

.order-star.active {
  color: #ffb02e;
}

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

.user-info-panel {
  width: 89%;
  margin: 13px auto 0;
  padding: 15px 14px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
}

.user-info-row {
  margin-bottom: 15px;
}

.user-info-row-last {
  margin-bottom: 0;
}

.user-info-head {
  min-height: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 9px;
  margin-bottom: 9px;
}

.user-info-label {
  font-size: 13px;
  font-weight: 600;
  color: #333;
}

.user-info-edit {
  border: 0;
  background: transparent;
  color: #0071dc;
  font-size: 12px;
  font-weight: 600;
  padding: 3px 7px;
  border-radius: 5px;
}

.user-info-edit.spacer {
  visibility: hidden;
}

.user-info-input {
  border: 1px solid #e0e0e0;
  width: 100%;
  min-height: 41px;
  border-radius: 11px;
  background: #fafafa;
  padding: 0 13px;
  display: flex;
  align-items: center;
}

.user-info-input input {
  width: 100%;
  border: none;
  outline: none;
  background: transparent;
  font-size: 13px;
  color: #333;
  padding: 0;
}

.user-info-input input:disabled {
  color: #999;
}

.record-list {
  width: 92%;
  margin: 16px auto 0;
  display: grid;
  gap: 12px;
}

.record-card {
  padding: 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.84);
  box-shadow: 0 14px 30px rgba(20, 31, 61, 0.08);
}

.record-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.record-type-pill,
.record-status {
  min-height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
}

.record-type-pill {
  background: rgba(23, 119, 230, 0.1);
  color: #0f68dc;
}

.record-status {
  background: rgba(15, 23, 42, 0.06);
  color: #475569;
}

.record-amount {
  margin-top: 14px;
  font-size: 24px;
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.record-amount-in {
  color: #0f68dc;
}

.record-amount-out {
  color: #ff4d4f;
}

.record-remark {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.55;
  color: #3d4b61;
  word-break: break-word;
}

.record-detail-list {
  margin-top: 12px;
  display: grid;
  gap: 8px;
}

.record-detail-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  color: #667085;
}

.record-detail-row strong {
  color: #1f2d44;
  font-size: 14px;
  line-height: 1.45;
  text-align: right;
  word-break: break-word;
}

.record-meta-row {
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  color: #667085;
}

.record-meta-row strong {
  color: #1f2d44;
  font-size: 13px;
}

.record-empty {
  padding: 28px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 14px 30px rgba(20, 31, 61, 0.08);
  display: grid;
  justify-items: center;
  gap: 10px;
}

.record-empty img {
  width: 104px;
  height: 104px;
}

.record-empty p {
  margin: 0;
  color: #728198;
  font-size: 14px;
}

.withdraw-panel {
  width: 92%;
  margin: 14px auto 0;
  padding: 16px 14px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.84);
  box-shadow: 0 14px 30px rgba(20, 31, 61, 0.08);
}

.withdraw-field {
  margin-top: 14px;
}

.withdraw-field label {
  display: block;
  margin-bottom: 10px;
  font-size: 14px;
  font-weight: 600;
  color: #2b3648;
}

.withdraw-amount-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
}

.withdraw-input-wrap {
  min-height: 48px;
  border: 1px solid #dbe5f4;
  border-radius: 12px;
  background: #f8fbff;
  padding: 0 14px;
  display: flex;
  align-items: center;
}

.withdraw-input {
  width: 100%;
  border: 0;
  outline: none;
  background: transparent;
  font-size: 16px;
  color: #1f2d44;
}

.withdraw-input::placeholder {
  color: #9aa4b2;
}

.withdraw-all-btn {
  min-width: 68px;
  min-height: 48px;
  padding: 0 16px;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(180deg, #1777e6 0%, #0e69d8 100%);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 10px 20px rgba(23, 119, 230, 0.18);
}

.withdraw-static-list {
  margin-top: 16px;
  border-top: 1px solid rgba(18, 31, 61, 0.08);
  padding-top: 10px;
  display: grid;
  gap: 10px;
}

.withdraw-static-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  color: #667085;
}

.withdraw-static-row strong {
  color: #1f2d44;
  font-size: 14px;
  text-align: right;
  word-break: break-all;
}

.deposit-network-card,
.deposit-panel,
.deposit-form-panel {
  width: 92%;
  margin: 14px auto 0;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 14px 30px rgba(20, 31, 61, 0.08);
}

.deposit-network-card {
  padding: 18px 16px;
  display: grid;
  grid-template-columns: 48px 1fr auto;
  align-items: center;
  gap: 14px;
  color: #fff;
  background: linear-gradient(180deg, #1777e6 0%, #0f68dc 100%);
}

.deposit-network-badge {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-size: 24px;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.14);
}

.deposit-network-title {
  font-size: 16px;
  font-weight: 800;
}

.deposit-switch-btn {
  min-height: 40px;
  padding: 0 18px;
  border: 0;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.96);
  color: #0f68dc;
  font-size: 14px;
  font-weight: 800;
}

.deposit-panel {
  padding: 16px 14px 18px;
}

.deposit-notice {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 10px;
  padding: 14px;
  border-radius: 16px;
  background: #f4f8ff;
  border-left: 3px solid #1777e6;
}

.deposit-notice-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1.5px solid #1777e6;
  color: #1777e6;
  font-size: 13px;
  font-weight: 800;
}

.deposit-notice p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: #455468;
}

.deposit-qr-wrap {
  width: 240px;
  height: 240px;
  margin: 24px auto 0;
  padding: 10px;
  border-radius: 18px;
  border: 2px solid #1777e6;
  background: #fff;
}

.deposit-qr-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.deposit-address-box {
  margin-top: 20px;
  padding: 16px 14px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid #e1e8f5;
  color: #0f68dc;
  font-size: 14px;
  line-height: 1.6;
  text-align: center;
  word-break: break-all;
}

.deposit-copy-btn {
  margin-top: 18px;
}

.deposit-form-panel {
  padding: 16px 14px 18px;
}

.deposit-form-label {
  margin-top: 14px;
  margin-bottom: 10px;
  font-size: 15px;
  font-weight: 600;
  color: #243149;
}

.deposit-form-label:first-child {
  margin-top: 0;
}

.voucher-upload {
  display: block;
}

.voucher-input {
  display: none;
}

.voucher-upload-box {
  min-height: 148px;
  border-radius: 16px;
  border: 2px dashed #cfd9ea;
  background: #fafcff;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 10px;
  color: #7f8da3;
  text-align: center;
  padding: 16px;
}

.voucher-upload-icon {
  font-size: 34px;
  line-height: 1;
}

.voucher-upload-text {
  font-size: 14px;
  line-height: 1.5;
  word-break: break-word;
}

.deposit-submit-btn {
  width: 100%;
  min-height: 52px;
  margin-top: 20px;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(180deg, #10a53a 0%, #0a972f 100%);
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  box-shadow: 0 12px 24px rgba(16, 165, 58, 0.2);
}

.user-edit-dialog {
  width: min(100%, 360px);
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
}

.user-edit-title {
  padding: 18px 18px 12px;
  text-align: center;
  font-size: 18px;
  font-weight: 600;
  color: #333;
}

.user-edit-body {
  padding: 0 18px 18px;
}

.dialog-user-input {
  margin-bottom: 12px;
}

.dialog-user-input:last-child {
  margin-bottom: 0;
}

.wallet-network-switch {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 12px;
}

.wallet-network-btn {
  min-height: 44px;
  border-radius: 12px;
  border: 1px solid #d9e4f5;
  background: #f8fbff;
  color: #4a5b75;
  font-size: 14px;
  font-weight: 700;
}

.wallet-network-btn.active {
  border-color: #1777e6;
  background: linear-gradient(180deg, #1777e6 0%, #0e69d8 100%);
  color: #fff;
  box-shadow: 0 10px 18px rgba(23, 119, 230, 0.16);
}

.dialog-user-input input::placeholder {
  color: #999;
}

.user-edit-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 12px 18px 18px;
}

.user-edit-primary,
.user-edit-secondary {
  min-height: 48px;
  border-radius: 12px;
  border: 0;
  font-size: 15px;
  font-weight: 600;
}

.user-edit-primary {
  background: linear-gradient(135deg, #0071dc 0%, #0056b3 100%);
  color: #fff;
  box-shadow: 0 10px 20px rgba(0, 113, 220, 0.3);
}

.user-edit-secondary {
  background: #fff;
  color: #232f3e;
  border: 1px solid #e0e0e0;
}

.user-center-hero {
  margin: -10px -22px 0;
  padding: 18px 22px 108px;
  background: linear-gradient(180deg, #1777e6 0%, #2e83e9 100%);
}

.user-center-head {
  display: flex;
  align-items: center;
  gap: 16px;
}

.user-center-avatar {
  width: 82px;
  height: 82px;
  flex: 0 0 82px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  display: grid;
  place-items: stretch;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(12, 47, 114, 0.14);
}

.user-center-avatar-core {
  width: 82px;
  height: 82px;
  border-radius: 50%;
  background: transparent;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
}

.user-center-crown {
  position: absolute;
  top: -12px;
  font-size: 18px;
}

.user-center-robot {
  font-size: 28px;
}

.user-center-avatar-image {
  width: 82px;
  height: 82px;
  display: block;
  border-radius: 50%;
  object-fit: cover;
}

.user-center-avatar-initials {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #2a5ecf;
}

.user-center-avatar-fallback {
  position: absolute;
  inset: 0;
  display: none;
  place-items: center;
  background: linear-gradient(180deg, #f2f7ff 0%, #fff5e9 100%);
}

.user-center-meta {
  color: #fff;
}

.user-center-name {
  font-size: 22px;
  font-weight: 700;
}

.user-center-id-row {
  margin-top: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}

.user-center-copy {
  width: 20px;
  height: 20px;
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.9);
}

.user-center-copy svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
}

.user-balance-panel {
  margin: -78px auto 0;
  width: 92%;
  padding: 16px;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.1);
}

.user-balance-top {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 12px;
}

.user-balance-amount {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #1f2d44;
}

.user-balance-coin {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  color: #48b58d;
}

.user-balance-coin svg {
  width: 24px;
  height: 24px;
}

.user-balance-amount strong {
  font-size: 22px;
  line-height: 1;
}

.user-balance-amount em {
  font-style: normal;
  font-size: 14px;
  color: #475569;
}

.user-balance-refresh {
  width: 28px;
  height: 28px;
  border: 0;
  background: transparent;
  color: #8b96aa;
  padding: 0;
}

.user-balance-refresh svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
}

.user-vip-badge {
  min-width: 54px;
  min-height: 54px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-size: 14px;
  font-weight: 800;
  color: #6f3dff;
  background: radial-gradient(circle at 30% 30%, #fff8d9, #ffd6f2 48%, #ffe7a8 100%);
  border: 2px solid rgba(255, 180, 0, 0.45);
}

.user-balance-actions {
  margin-top: 18px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.user-balance-btn {
  min-height: 56px;
  border-radius: 16px;
  border: 1.5px solid #1777e6;
  background: #fff;
  color: #1777e6;
  font-size: 16px;
  font-weight: 600;
}

.user-balance-btn.primary {
  background: linear-gradient(180deg, #1777e6 0%, #0e69d8 100%);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 12px 24px rgba(23, 119, 230, 0.2);
}

.user-menu-panel {
  margin: 18px auto 0;
  width: 92%;
  padding: 8px 0;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.06);
}

.user-menu-item {
  width: 100%;
  min-height: 74px;
  padding: 0 22px;
  border: 0;
  background: transparent;
  display: grid;
  grid-template-columns: 28px 1fr 18px;
  align-items: center;
  gap: 14px;
  text-align: left;
}

.user-menu-icon {
  color: #6b7280;
  display: grid;
  place-items: center;
}

.user-menu-icon svg,
.user-menu-arrow svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.user-menu-label {
  font-size: 16px;
  color: #1f2d44;
}

.user-menu-arrow {
  color: #9aa4b2;
  display: grid;
  place-items: center;
}

.user-logout-btn {
  width: 92%;
  min-height: 58px;
  margin: 24px auto 0;
  display: block;
  border: 0;
  border-radius: 18px;
  background: linear-gradient(180deg, #1777e6 0%, #0e69d8 100%);
  color: #fff;
  font-size: 17px;
  font-weight: 600;
  box-shadow: 0 14px 28px rgba(23, 119, 230, 0.2);
}

.list-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

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

.list-row strong {
  display: block;
  font-size: 15px;
}

.list-row span {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: var(--muted);
}

.list-row em {
  font-style: normal;
  font-size: 13px;
  font-weight: 800;
  color: var(--primary-3);
  text-align: right;
}

.profile-panel {
  margin-top: 16px;
  border-radius: 26px;
  padding: 20px;
  color: #fff;
  background: linear-gradient(135deg, #0d4bc4 0%, #1f7dfd 58%, #4dafff 100%);
  box-shadow: 0 20px 40px rgba(21, 105, 255, 0.24);
}

.profile-head {
  display: flex;
  align-items: center;
  gap: 14px;
}

.avatar {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.16);
  font-size: 20px;
  font-weight: 900;
}

.profile-name {
  font-size: 24px;
  font-weight: 900;
}

.profile-meta {
  margin-top: 4px;
  font-size: 13px;
  opacity: 0.9;
}

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

.profile-stats div {
  border-radius: 18px;
  padding: 12px 10px;
  background: rgba(255, 255, 255, 0.14);
}

.profile-stats strong {
  display: block;
  font-size: 20px;
}

.profile-stats span {
  display: block;
  margin-top: 5px;
  font-size: 12px;
  opacity: 0.9;
}

.tabbar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  padding: 3px 0 calc(3px + var(--safe-bottom));
  background: rgba(255, 255, 255, 0.98);
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(18px);
  box-shadow: 0 -4px 14px rgba(20, 31, 61, 0.05);
}

.tab-item {
  border: 0;
  background: transparent;
  color: #8b96aa;
  display: grid;
  justify-items: center;
  gap: 2px;
  padding: 3px 0 1px;
}

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

.tab-icon {
  width: 23px;
  height: 23px;
  display: grid;
  place-items: center;
}

.tab-icon svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.tab-icon .icon-capital {
  stroke-width: 2.2;
}

.tab-icon .icon-home {
  fill: currentColor;
  stroke: none;
}

.tab-label {
  font-size: 13px;
  font-weight: 500;
  line-height: 1.1;
}

.modal-layer {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(12, 20, 38, 0.32);
}

.modal-card {
  width: min(100%, 420px);
  overflow: hidden;
  border-radius: 28px;
  box-shadow: 0 24px 64px rgba(13, 52, 132, 0.3);
}

.modal-card-compact {
  width: min(84vw, 344px);
  border-radius: 24px;
  box-shadow: 0 20px 48px rgba(13, 52, 132, 0.24);
}

.modal-card-success {
  width: min(78vw, 300px);
  border-radius: 26px;
  background:
    radial-gradient(circle at 50% 0%, rgba(71, 150, 255, 0.14), transparent 42%),
    linear-gradient(180deg, #ffffff 0%, #f9fbff 100%);
  box-shadow: 0 20px 52px rgba(15, 54, 129, 0.22);
}

.modal-head {
  padding: 26px 22px 18px;
  color: #fff;
  background: linear-gradient(135deg, #1572ff 0%, #48a7ff 100%);
}

.modal-head-compact {
  padding: 18px 20px 14px;
}

.modal-head h3 {
  margin: 0;
  text-align: center;
  font-size: 18px;
  font-weight: 900;
}

.modal-head-compact h3 {
  font-size: 17px;
}

.modal-head p {
  margin: 8px 0 0;
  text-align: center;
  font-size: 13px;
  opacity: 0.92;
}

.modal-body {
  background: #fff;
  padding: 24px 22px 18px;
}

.modal-body-compact {
  padding: 22px 22px 14px;
  text-align: center;
}

.modal-body p {
  margin: 0;
  color: #2f3a51;
  line-height: 1.8;
}

.modal-body-compact p {
  font-size: 14px;
  line-height: 1.65;
}

.modal-foot {
  background: #fff;
  padding: 0 22px 24px;
}

.modal-foot-compact {
  padding: 0 22px 20px;
  display: flex;
  justify-content: center;
}

.modal-foot button {
  width: 100%;
  min-height: 46px;
  border: 0;
  border-radius: 16px;
  color: #fff;
  background: linear-gradient(135deg, #1572ff 0%, #48a7ff 100%);
  font-size: 16px;
  font-weight: 800;
}

.modal-foot-compact button {
  width: min(100%, 220px);
  min-height: 44px;
  border-radius: 14px;
}

.success-dialog {
  position: relative;
  padding: 22px 20px 20px;
  text-align: center;
}

.success-dialog::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 22px;
  width: 96px;
  height: 96px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: radial-gradient(circle, rgba(88, 166, 255, 0.26) 0%, rgba(88, 166, 255, 0) 72%);
  pointer-events: none;
}

.success-dialog-icon {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  margin-bottom: 10px;
}

.success-dialog-icon svg {
  width: 48px;
  height: 48px;
  filter: drop-shadow(0 12px 18px rgba(43, 117, 232, 0.28));
}

.success-dialog-kicker {
  position: relative;
  z-index: 1;
  margin-bottom: 6px;
  color: #2d81ff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.success-dialog-title {
  position: relative;
  z-index: 1;
  color: #14213d;
  font-size: 20px;
  font-weight: 900;
  line-height: 1.2;
}

.success-dialog-text {
  position: relative;
  z-index: 1;
  margin: 10px auto 18px;
  max-width: 220px;
  color: #5d6c86;
  font-size: 13px;
  line-height: 1.55;
}

.success-dialog-actions {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
}

.success-dialog-actions button {
  width: min(100%, 190px);
  min-height: 42px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, #1d78ff 0%, #55adff 100%);
  box-shadow: 0 12px 24px rgba(44, 121, 240, 0.24);
  font-size: 15px;
  font-weight: 800;
}

@media (min-width: 720px) {
  body {
    display: grid;
    place-items: center;
    padding: 20px 0;
  }

  .mobile-shell {
    width: 430px;
    min-height: calc(100vh - 40px);
    min-height: calc(100dvh - 40px);
    border-radius: 34px;
    box-shadow: 0 30px 70px rgba(20, 31, 61, 0.18);
  }

  .tabbar {
    left: 50%;
    right: auto;
    width: 430px;
    transform: translateX(-50%);
    border-radius: 0 0 34px 34px;
  }
}

@media (max-width: 380px) {
  .auth-header,
  .app-header,
  .page-scroll {
    padding-left: 14px;
    padding-right: 14px;
  }

  .logo-mark {
    font-size: 86px;
    margin-top: 8px;
  }

  .service-layout {
    grid-template-columns: 1fr;
  }

  .service-stack {
    gap: 8px;
  }

  .service-panel {
    min-height: 126px;
    padding-left: 12px;
    padding-right: 12px;
  }

  .service-panel-compact {
    min-height: 52px;
    padding: 8px 10px;
  }

  .service-orbit {
    width: 120px;
    height: 120px;
    right: -18px;
  }

  .service-kicker {
    font-size: 16px;
  }

  .service-text {
    font-size: 11px;
  }

  .service-panel-compact .service-art {
    width: 52px;
  }

  .service-panel-feature .service-art {
    width: 102px;
  }

  .service-panel-feature .service-kicker {
    font-size: 15px;
  }

  .partner-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .page-title-row {
    align-items: flex-start;
    flex-direction: column;
  }
}
