/* ================= 基础 ================= */
:root {
  --bg: #eef4fd;
  --card: #ffffff;
  --primary: #2f7dfa;
  --primary-deep: #1f63e0;
  --primary-soft: #e8f2ff;
  --text: #16243b;
  --text-2: #52637c;
  --sub: #8b9ab0;
  --line: #eef2f8;
  --danger: #f0503e;
  --radius: 16px;
  --shadow-card: 0 6px 20px rgba(37, 80, 150, 0.055);
  --grad-blue: linear-gradient(135deg, #4b93ff 0%, #2b6cf2 100%);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro SC", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

html, body { margin: 0; padding: 0; }

body {
  font-family: var(--font);
  color: var(--text);
  background: #dfe8f4;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  overscroll-behavior-y: none;
}

body.no-scroll { overflow: hidden; }

button {
  font-family: inherit;
  border: 0;
  background: none;
  padding: 0;
  margin: 0;
  color: inherit;
  cursor: pointer;
  text-align: inherit;
  font-size: inherit;
}
button:active { transform: scale(0.985); }

input, select, textarea {
  font-family: inherit;
  font-size: 16px;
  color: var(--text);
  outline: none;
}

ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, p { margin: 0; font-weight: inherit; }
[hidden] { display: none !important; }

.ic {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: 0 0 auto;
}
.ic-fill { fill: currentColor; stroke: none; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.app {
  position: relative;
  width: 100%;
  max-width: 430px;
  min-height: 100dvh;
  margin: 0 auto;
  background: var(--bg);
  box-shadow: 0 0 40px rgba(30, 60, 110, 0.08);
  overflow-x: hidden;
}

.screen { display: none; }
.screen.active { display: block; padding-bottom: calc(82px + env(safe-area-inset-bottom)); animation: fadeIn 0.24s ease; }

@keyframes fadeIn { from { opacity: 0.35; } to { opacity: 1; } }

.page { padding: 0 16px; }

/* ================= 顶部标题 ================= */
.appbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px 12px;
}
.brand { display: flex; align-items: center; gap: 9px; }
.brand h1 { font-size: 17.5px; font-weight: 700; letter-spacing: 0.2px; }

.logo {
  position: relative;
  width: 28px;
  height: 28px;
  border-radius: 9px;
  background: var(--grad-blue);
  display: grid;
  place-items: center;
  box-shadow: 0 4px 10px rgba(47, 125, 250, 0.32);
  overflow: hidden;
}
.logo::after {
  content: "";
  position: absolute;
  left: -6px;
  top: -10px;
  width: 34px;
  height: 22px;
  background: rgba(255, 255, 255, 0.3);
  transform: rotate(-24deg);
}
.logo i {
  font-style: normal;
  color: #fff;
  font-weight: 800;
  font-size: 16px;
  line-height: 1;
  transform: translateY(-0.5px);
}
.logo b {
  position: absolute;
  width: 4px;
  height: 4px;
  background: #fff;
  border-radius: 50%;
  right: 6px;
  bottom: 6px;
  opacity: 0.9;
}

.pill-btn {
  width: 58px;
  height: 28px;
  border-radius: 14px;
  background: #e9eef6;
  color: #77869b;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.pill-btn .ic { width: 15px; height: 15px; stroke-width: 2; }
.pill-btn:active { background: #dde5f0; }
.pill-btn-gray { width: 46px; background: #f0f3f8; }
.spin .ic { animation: spin 0.7s linear; }
@keyframes spin { from { transform: rotate(0); } to { transform: rotate(360deg); } }

/* ================= 首页 ================= */
.home-body { padding-top: 2px; }

.banner {
  position: relative;
  display: block;
  width: 100%;
  height: 148px;
  border-radius: 18px;
  padding: 18px;
  overflow: hidden;
  background:
    radial-gradient(120px 90px at 88% 12%, rgba(255, 255, 255, 0.75), transparent 70%),
    linear-gradient(118deg, #dcefff 0%, #c0e1ff 46%, #9ccdfa 100%);
  box-shadow: 0 10px 24px rgba(83, 146, 224, 0.18);
  text-align: left;
}
.banner::after {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  left: -46px;
  bottom: -66px;
  background: rgba(255, 255, 255, 0.28);
}
.banner-copy { position: relative; z-index: 2; display: block; }
.banner-title {
  display: block;
  font-size: 20px;
  font-weight: 800;
  color: #17416f;
  letter-spacing: 0.5px;
}
.banner-sub {
  display: block;
  margin-top: 7px;
  font-size: 12.5px;
  line-height: 1.55;
  color: #39628f;
  font-weight: 500;
}
.banner-art {
  position: absolute;
  right: -12px;
  bottom: -6px;
  width: 175px;
  height: 137px;
  pointer-events: none;
}
.banner-art svg { width: 100%; height: 100%; }

.home-carousel { position: relative; }
.banner-track { display: flex; transition: transform 0.5s cubic-bezier(0.22, 0.7, 0.25, 1); will-change: transform; }
.banner-track > .banner { flex: 0 0 100%; min-width: 0; }
.banner.has-image {
  background-color: #0b1730;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
.banner.has-image::after { display: none; }
.banner.has-image.has-copy::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(4, 10, 24, 0.84), rgba(4, 10, 24, 0.42) 56%, rgba(4, 10, 24, 0.06));
}
.banner-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 10px;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  pointer-events: none;
}
.banner-dot {
  width: 6px;
  height: 6px;
  padding: 0;
  border: 0;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.36);
  pointer-events: auto;
  transition: width 0.25s ease, background 0.25s ease;
}
.banner-dot.active { width: 16px; background: rgba(247, 227, 176, 0.95); }

.quick-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  background: var(--card);
  border-radius: var(--radius);
  margin-top: 14px;
  padding: 14px 2px 12px;
  box-shadow: var(--shadow-card);
}
.quick-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
}
.quick-item + .quick-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 1px;
  height: 38px;
  background: var(--line);
}
.q-ic {
  position: relative;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: #2c7bf5;
}
.q-ic .ic { width: 25px; height: 25px; stroke-width: 1.7; }
.quick-label { font-size: 12px; color: #4a5a72; font-weight: 500; }

.red-dot {
  position: absolute;
  top: 1px;
  right: 1px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #f0503e;
  border: 1.5px solid #fff;
}

.action-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 11px;
  margin-top: 13px;
}
.action-card {
  position: relative;
  height: 108px;
  border-radius: 16px;
  padding: 16px 12px 12px;
  overflow: hidden;
  background:
    radial-gradient(70px 52px at 82% 20%, rgba(255, 255, 255, 0.9), transparent 70%),
    linear-gradient(140deg, #eaf5ff 0%, #d5ebff 100%);
  text-align: left;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.65);
}
.action-copy { position: relative; z-index: 2; display: block; }
.action-copy b, .action-copy em {
  display: block;
  font-style: normal;
  font-size: 14.5px;
  line-height: 1.42;
  color: #1d3f68;
  font-weight: 700;
}
.action-copy em { color: #2b5687; }
.action-art {
  position: absolute;
  right: 2px;
  bottom: 0;
  width: 82px;
  height: 76px;
  pointer-events: none;
}
.action-art svg { width: 100%; height: 100%; }

.section-head { margin: 20px 3px 10px; }
.section-head h2 { font-size: 16px; font-weight: 700; letter-spacing: 0.2px; }

.learn-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 10px;
  align-items: stretch;
}
.learn-col { display: flex; flex-direction: column; gap: 10px; }
.learn-card {
  position: relative;
  flex: 1;
  min-height: 100px;
  border-radius: 15px;
  background: var(--card);
  box-shadow: var(--shadow-card);
  padding: 12px;
  overflow: hidden;
  text-align: left;
}
.learn-copy { position: relative; z-index: 2; display: block; padding-top: 2px; }
.learn-copy b { display: block; font-size: 13.5px; font-weight: 600; color: #253a57; }
.learn-copy em {
  display: block;
  font-style: normal;
  font-size: 10px;
  color: #9aa9bd;
  margin-top: 4px;
}
.learn-art {
  position: absolute;
  right: -2px;
  bottom: -1px;
  width: 62px;
  height: 58px;
}
.learn-art svg { width: 100%; height: 100%; }

.faq-card {
  background: var(--card);
  border-radius: 15px;
  box-shadow: var(--shadow-card);
  padding: 13px 13px 6px;
  display: flex;
  flex-direction: column;
}
.faq-head { display: flex; align-items: center; justify-content: space-between; }
.faq-head h3 { font-size: 13.5px; font-weight: 600; color: #253a57; }
.link-btn { font-size: 11.5px; color: var(--primary); font-weight: 500; }
.faq-list { margin-top: 4px; }
.faq-list li + li { border-top: 1px solid #f3f6fa; }
.faq-list button {
  display: block;
  width: 100%;
  padding: 9.5px 0;
  font-size: 11.8px;
  color: #53647d;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: left;
}
.faq-list button:active { color: var(--primary); }
.faq-card[hidden] { display: none; }
.learn-grid.no-faq { grid-template-columns: 1fr; }

/* ================= 交易 ================= */
.trade-head {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  padding-top: env(safe-area-inset-top);
  border-radius: 0 0 16px 16px;
  box-shadow: 0 6px 18px rgba(34, 74, 140, 0.05);
}
.trade-head-top {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 14px 9px;
}
.trade-tabs { display: flex; align-items: baseline; gap: 16px; }
.trade-tab {
  font-size: 17px;
  font-weight: 500;
  color: #8d9bb0;
  padding: 2px 0;
  transition: color 0.18s;
}
.trade-tab.active { color: #12213a; font-weight: 700; }
.trade-head-top .pill-btn { margin-left: auto; width: 42px; height: 26px; }

.sortbar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 9px 15px 11px;
  font-size: 12.5px;
  color: #8190a6;
  border-top: 1px solid #f4f7fb;
}
.sort-chip {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  color: #8190a6;
  font-size: 12.5px;
  transition: color 0.15s;
}
.sort-chip.active { color: var(--primary); font-weight: 600; }
.sort-ind {
  font-size: 10px;
  color: #a6b2c4;
  display: inline-block;
  width: 11px;
  text-align: center;
}
.sort-chip.active .sort-ind { color: var(--primary); }
.sort-label { color: #8190a6; }
.sort-spacer { flex: 1; }
.filter-chip { gap: 4px; color: #58687f; }
.filter-chip .ic { width: 15px; height: 15px; }
.filter-chip.has-filter { color: var(--primary); font-weight: 600; }

.trade-list { padding: 2px 0 100px; }

.list-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 12px 18px 3px;
  font-size: 11px;
  color: #94a2b7;
}
.list-meta b { color: #2f7dfa; font-weight: 600; }

.m-card {
  background: var(--card);
  border-radius: 16px;
  margin: 10px 14px;
  padding: 13px 14px 12px;
  box-shadow: var(--shadow-card);
}
.m-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.m-user { display: flex; align-items: center; gap: 8px; min-width: 0; }
.m-name {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 13.5px;
  font-weight: 600;
  color: #213650;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.m-name .badge { flex: 0 0 auto; }
.m-stat {
  flex: 0 0 auto;
  font-size: 10.5px;
  color: #96a4b8;
  padding-top: 5px;
  display: flex;
  align-items: center;
  gap: 5px;
}
.m-stat i { width: 1px; height: 9px; background: #dde5f0; }
.m-stat b { color: #6f8098; font-weight: 500; }

.avatar {
  position: relative;
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  background:
    radial-gradient(circle at 32% 26%, rgba(255, 255, 255, 0.55), transparent 48%),
    linear-gradient(140deg, hsl(var(--h, 212) 88% 68%), hsl(calc(var(--h, 212) + 22) 82% 52%));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.4);
  overflow: visible;
}
.avatar-dot {
  position: absolute;
  right: -1px;
  bottom: -1px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #2f7dfa;
  border: 1.5px solid #fff;
}
.avatar-dot.is-online { background: #22c163; }
.avatar-lg { width: 54px; height: 54px; font-size: 20px; }
.avatar-lg .avatar-dot { width: 15px; height: 15px; border-width: 2px; }

.badge {
  display: inline-flex;
  align-items: center;
  font-size: 9.5px;
  font-weight: 600;
  padding: 2px 5px;
  border-radius: 5px;
  line-height: 1.3;
  white-space: nowrap;
}
.badge.gold { background: #fff4d8; color: #b47a08; }
.badge.green { background: #e4f8ed; color: #119a5a; }
.badge.orange { background: #fff0e0; color: #d47b16; }
.badge.purple { background: #f0ebff; color: #7450d8; }
.badge.gray { background: #f0f4fa; color: #7c8da5; }
.mini-tag {
  font-size: 9px;
  font-weight: 500;
  color: #2f7dfa;
  background: #eaf3ff;
  border-radius: 4px;
  padding: 1.5px 4px;
}

.m-mid {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-top: 11px;
}
.m-qty { display: flex; align-items: baseline; gap: 4px; color: #8594a9; font-size: 11.5px; }
.m-qty b {
  font-size: 18px;
  font-weight: 700;
  color: #1c2c46;
  letter-spacing: -0.2px;
}
.m-qty em { font-style: normal; font-size: 10.5px; color: #8493a9; }
.m-price { text-align: right; line-height: 1.1; }
.m-price b { font-size: 17px; font-weight: 700; color: #2f7dfa; }
.m-price em { font-style: normal; font-size: 9.5px; color: #6d88a9; margin-left: 2px; }
.m-price span { display: block; font-size: 9.5px; color: #a3afc0; margin-top: 3px; }

.m-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 11px;
  padding-top: 10px;
  border-top: 1px solid #f4f7fb;
}
.m-pays { display: flex; align-items: center; gap: 5px; }
.pay-ic {
  width: 18px;
  height: 18px;
  border-radius: 5px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(28, 60, 100, 0.08);
  flex: 0 0 auto;
  line-height: 1;
}
.pay-ic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pay-kpay { background: #0053ab; }
.pay-aya { background: #fff; }
.pay-wave { background: #ffd900; }
.pay-kbz { background: #fff; }
.pay-more { background: #dfe6f0; color: #7a899e; font-size: 9px; }
.fast-tag {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  margin-left: 3px;
  font-size: 9.5px;
  color: #2bbe72;
  background: #e9faf1;
  border-radius: 4px;
  padding: 2px 5px;
  font-weight: 500;
}
.fast-tag .ic { width: 9px; height: 9px; fill: currentColor; stroke: none; }
.fast-tag.user-tag {
  color: #a67c2e;
  background: #fbf3e2;
}

.btn-outline {
  height: 30px;
  padding: 0 17px;
  border-radius: 9px;
  border: 1px solid #bbd7fb;
  color: #2f7dfa;
  font-size: 12.5px;
  font-weight: 500;
  background: #f8fcff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}
.btn-outline:active { background: #eaf3ff; }
.btn-outline.ghosted { border-color: #ffd4cd; color: #e2553e; background: #fff8f6; }
.btn-outline.full { width: 100%; height: 42px; border-radius: 11px; }

/* 快捷区 */
.fast-panel {
  margin: 12px 14px 4px;
  background:
    radial-gradient(130px 90px at 92% 0%, rgba(255, 255, 255, 0.85), transparent 70%),
    linear-gradient(150deg, #f2f9ff 0%, #e2f1ff 100%);
  border-radius: 18px;
  padding: 15px 15px 16px;
  box-shadow: 0 10px 24px rgba(53, 122, 210, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.8);
}
.fast-top { display: flex; align-items: center; justify-content: space-between; }
.fast-top h3 { font-size: 15.5px; font-weight: 700; color: #183c66; display: flex; align-items: center; gap: 5px; }
.fast-top h3 .ic { width: 17px; height: 17px; color: #2f7dfa; }
.fast-top span { font-size: 10.5px; color: #3d7dcc; background: rgba(255, 255, 255, 0.75); padding: 3px 8px; border-radius: 8px; }
.fast-best {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 12px;
  background: rgba(255, 255, 255, 0.75);
  border-radius: 12px;
  padding: 10px 12px;
}
.fast-best-user { display: flex; align-items: center; gap: 8px; min-width: 0; }
.fast-best-name { font-size: 12.5px; font-weight: 600; color: #233b59; display: flex; align-items: center; gap: 4px; }
.fast-best-sub { font-size: 10px; color: #8fa0b7; margin-top: 2px; }
.fast-best-price { text-align: right; font-size: 15px; font-weight: 700; color: #2f7dfa; white-space: nowrap; }
.fast-best-price em { font-style: normal; font-size: 9px; color: #7b8ba2; font-weight: 400; margin-left: 2px; display: block; }
.fast-field { margin-top: 12px; }
.fast-label { font-size: 11.5px; color: #6d84a1; margin-bottom: 6px; display: flex; justify-content: space-between; }
.fast-label b { color: #2f7dfa; font-weight: 600; }
.fast-row { display: flex; align-items: center; gap: 8px; }
.fast-row .input { background: #fff; flex: 1; height: 42px; }
.fast-total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-top: 10px;
  font-size: 12px;
  color: #607694;
}
.fast-total b { font-size: 17px; color: #1d3a5e; font-weight: 700; }
.fast-total b small { font-size: 10px; font-weight: 400; color: #7b8ba2; margin-left: 2px; }
.fast-panel .btn-primary { margin-top: 12px; }

/* ================= 订单 ================= */
.orders-head {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 15;
  padding-top: calc(env(safe-area-inset-top) + 6px);
  border-radius: 0 0 16px 16px;
  box-shadow: 0 6px 18px rgba(34, 74, 140, 0.05);
}
.orders-head-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 16px 0;
}
.orders-tabs { display: flex; align-items: baseline; gap: 18px; }
.orders-tab {
  font-size: 17px;
  color: #8d9bb0;
  font-weight: 500;
  padding-bottom: 6px;
  position: relative;
}
.orders-tab.active { color: #12213a; font-weight: 700; }
.orders-tab.active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 26px;
  height: 3px;
  border-radius: 2px;
  background: var(--primary);
  transform: translateX(-50%);
}
.orders-head-top .pill-btn { width: 42px; height: 26px; }
.status-chips {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding: 4px 16px 11px;
  scrollbar-width: none;
}
.status-chips::-webkit-scrollbar { display: none; }
.status-chip {
  flex: 0 0 auto;
  font-size: 12px;
  color: #7e8ea4;
  padding: 5px 10px;
  border-radius: 8px;
  transition: all 0.15s;
}
.status-chip.active { background: #e8f2ff; color: var(--primary); font-weight: 600; }

.orders-list { padding: 12px 14px 100px; }

.order-card {
  background: var(--card);
  border-radius: 16px;
  padding: 14px;
  margin-bottom: 11px;
  box-shadow: var(--shadow-card);
}
.order-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.order-no { font-size: 10.5px; color: #9ba9bc; display: flex; align-items: center; gap: 6px; }
.type-tag {
  font-size: 9.5px;
  color: #2f7dfa;
  background: #eaf3ff;
  border-radius: 4px;
  padding: 1.5px 5px;
  font-weight: 600;
}
.type-tag.sell { color: #0e9f5c; background: #e6f8ee; }
.status-pill {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 7px;
  white-space: nowrap;
}
.st-orange { color: #d97917; background: #fff3e5; }
.st-blue { color: #2f7dfa; background: #eaf3ff; }
.st-purple { color: #7857e8; background: #f0ecff; }
.st-green { color: #0f9b5b; background: #e6f8ee; }
.st-gray { color: #8897ab; background: #f1f4f8; }
.st-red { color: #e2553e; background: #fff0ed; }

.order-merchant {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid #f4f7fb;
}
.order-name { font-size: 13px; font-weight: 600; color: #2a3d59; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.order-merchant .badge { flex: 0 0 auto; }
.order-cd {
  margin-left: auto;
  flex: 0 0 auto;
  font-size: 10.5px;
  color: #d97917;
  display: flex;
  align-items: center;
  gap: 3px;
}
.order-cd .ic { width: 12px; height: 12px; }
.order-cd.muted { color: #98a6ba; }
.order-cd.done { color: #0f9b5b; }

.order-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr 1.15fr;
  gap: 8px;
  padding: 12px 0 4px;
}
.order-metrics div { min-width: 0; }
.order-metrics span { display: block; font-size: 10px; color: #9aa8bb; margin-bottom: 3px; }
.order-metrics b { font-size: 12.5px; font-weight: 600; color: #243650; white-space: nowrap; }
.order-metrics > div:last-child b { color: #2f7dfa; }
.order-cancel-reason {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  margin-top: 10px;
  padding: 8px 10px;
  border-radius: 10px;
  background: #fdf3f2;
  color: #b4553f;
  font-size: 11px;
  line-height: 1.5;
  word-break: break-all;
}
.order-cancel-reason .ic { width: 13px; height: 13px; flex: 0 0 auto; margin-top: 1px; }

.order-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 10px;
}
.btn-sm {
  height: 30px;
  padding: 0 14px;
  border-radius: 9px;
  font-size: 12px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.btn-sm.primary {
  background: var(--grad-blue);
  color: #fff;
  box-shadow: 0 5px 12px rgba(47, 125, 250, 0.24);
}
.btn-sm.outline { border: 1px solid #d9e5f4; color: #5b6e88; background: #fbfdff; }
.btn-sm.text { color: #8796aa; }
.appeal-tag {
  font-size: 9.5px;
  color: #e2553e;
  background: #fff0ed;
  border-radius: 4px;
  padding: 1.5px 5px;
  margin-left: 4px;
}

.empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 54px 24px 30px;
  text-align: center;
}
.empty-art { width: 168px; height: 140px; margin-bottom: 6px; }
.empty-art svg { width: 100%; height: 100%; }
.empty-title { font-size: 13px; color: #9aa8ba; margin-top: 6px; }
.empty-sub { font-size: 11px; color: #b1bcca; margin-top: 6px; line-height: 1.6; }
.empty .btn-outline { margin-top: 18px; height: 34px; padding: 0 22px; }
/* 「我要卖」空状态：在页签与出售按钮之间的区域垂直居中 */
.empty-sell {
  min-height: calc(100vh - 268px);
  justify-content: center;
  padding-top: 0;
}

/* ================= 我的 ================= */
.me-page { position: relative; padding-top: 16px; isolation: isolate; }
.me-page::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 336px;
  z-index: -1;
  background:
    radial-gradient(170px 130px at 88% -2%, rgba(248, 212, 132, 0.34), transparent 72%),
    radial-gradient(190px 170px at 4% 26%, rgba(86, 126, 255, 0.30), transparent 70%),
    radial-gradient(240px 180px at 70% 108%, rgba(118, 84, 240, 0.22), transparent 70%),
    linear-gradient(165deg, #070f24 0%, #0f1e40 48%, #1b1845 100%);
  border-radius: 0 0 30px 30px;
  -webkit-mask-image: linear-gradient(#000 74%, transparent 100%);
  mask-image: linear-gradient(#000 74%, transparent 100%);
  pointer-events: none;
}
.me-top { display: flex; align-items: center; justify-content: space-between; padding: 2px 2px 0; }
.me-id { display: flex; align-items: center; gap: 12px; }
.me-id-text { min-width: 0; }
.me-name {
  display: flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
  font-size: 16px;
  font-weight: 700;
  color: #fff8ea;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.35);
}
.avatar-lg { margin-right: 1px; }
.me-page .avatar-lg {
  box-shadow:
    0 0 0 2px rgba(247, 217, 152, 0.9),
    0 0 0 6px rgba(247, 217, 152, 0.14),
    0 12px 26px rgba(3, 10, 28, 0.45);
}
.copy-mini { color: #d9bf83; display: inline-flex; padding: 2px; }
.copy-mini .ic { width: 13px; height: 13px; }
.me-uid {
  font-size: 10.5px;
  color: #cbbc9b;
  margin-top: 4px;
  display: flex;
  align-items: center;
  gap: 4px;
  letter-spacing: 0.3px;
}
.me-page .pill-btn-gray {
  background: rgba(255, 255, 255, 0.1);
  color: #f0d79c;
  border: 1px solid rgba(247, 217, 152, 0.26);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
}
.me-page .pill-btn-gray:active { background: rgba(255, 255, 255, 0.18); }

.avatar-face {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.avatar-face img { width: 100%; height: 100%; object-fit: cover; display: block; }
.avatar-edit {
  border: 0;
  padding: 0;
  font: inherit;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.avatar-edit:active { transform: scale(0.96); }
.avatar-cam {
  position: absolute;
  right: -4px;
  bottom: -4px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background: #2f7dfa;
  border: 2px solid #fff;
  box-shadow: 0 2px 6px rgba(35, 95, 210, 0.28);
}
.avatar-cam .ic { width: 10px; height: 10px; }
.me-name-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
  padding: 2px 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.me-name-btn #profileName {
  min-width: 0;
  max-width: 176px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.me-name-btn .ic { width: 13px; height: 13px; color: #a3b1c4; flex: 0 0 auto; }
.me-name-btn:active .ic { color: #2f7dfa; }

.avatar-preview-wrap { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 8px 0 2px; }
.avatar-preview { width: 84px; height: 84px; font-size: 32px; }
.avatar-preview-tip { font-size: 11px; color: #93a4ba; }
.avatar-presets { display: flex; justify-content: center; flex-wrap: wrap; gap: 11px; margin-top: 16px; }
.avatar-preset {
  width: 42px;
  height: 42px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 50%;
  color: #fff;
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  background:
    radial-gradient(circle at 32% 26%, rgba(255, 255, 255, 0.55), transparent 48%),
    linear-gradient(140deg, hsl(var(--h, 212) 88% 68%), hsl(calc(var(--h, 212) + 22) 82% 52%));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.4);
}
.avatar-preset.is-active { border-color: #2f7dfa; box-shadow: 0 0 0 3px rgba(47, 125, 250, 0.16); }
.avatar-upload { margin-top: 17px; gap: 7px; }
.avatar-upload .ic { width: 16px; height: 16px; }
.avatar-restore {
  display: block;
  margin: 12px auto 0;
  padding: 4px 8px;
  border: 0;
  background: none;
  color: #8a99ad;
  font-size: 12px;
  cursor: pointer;
}
.avatar-restore:active { color: #e0694f; }
.nick-count { margin-top: 6px; text-align: right; font-size: 10.5px; color: #a3b1c4; }
.nick-tip { margin-top: 7px; font-size: 11px; line-height: 1.6; color: #93a4ba; }

.asset-card {
  position: relative;
  margin-top: 18px;
  border-radius: 22px;
  padding: 18px 19px 15px;
  color: #fff;
  overflow: hidden;
  background:
    radial-gradient(190px 130px at 92% -12%, rgba(255, 228, 164, 0.3), transparent 68%),
    radial-gradient(150px 120px at 4% 108%, rgba(96, 142, 255, 0.22), transparent 70%),
    linear-gradient(135deg, #1d3f80 0%, #162c58 52%, #101c3a 100%);
  border: 1px solid rgba(247, 217, 152, 0.34);
  box-shadow:
    0 22px 44px rgba(4, 12, 32, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
}
.asset-card::before {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 235, 186, 0.7), transparent);
  pointer-events: none;
}
.asset-top {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 6px 12px;
}
.asset-title {
  flex: 0 0 auto;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.6px;
  color: #f4dfae;
  opacity: 0.95;
  white-space: nowrap;
}
.asset-chips {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
  justify-content: flex-start;
  margin-top: 12px;
}
.asset-chip {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 9.5px;
  background: rgba(8, 19, 40, 0.36);
  border: 1px solid rgba(255, 235, 186, 0.22);
  border-radius: 7px;
  padding: 2.5px 6px;
  color: rgba(255, 244, 218, 0.94);
  white-space: nowrap;
}
.asset-chip .ic { width: 10px; height: 10px; stroke-width: 2; }
.asset-chip.good {
  background: rgba(8, 19, 40, 0.4);
  border-color: rgba(247, 217, 152, 0.42);
  color: #ffe9b8;
}
.asset-chip.warn {
  background: rgba(86, 51, 2, 0.46);
  border-color: rgba(255, 196, 90, 0.4);
  color: #ffe7ae;
}
.asset-chip.dim {
  background: rgba(8, 22, 48, 0.34);
  border-color: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.7);
}

.asset-balance { margin-top: 14px; display: flex; align-items: baseline; gap: 6px; }
.asset-balance span {
  font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 33px;
  font-weight: 700;
  letter-spacing: 0.2px;
  line-height: 1;
  color: #fff1d2;
  filter: drop-shadow(0 4px 14px rgba(255, 214, 130, 0.2));
}
.asset-balance em { font-style: normal; font-size: 11.5px; opacity: 0.85; font-weight: 500; color: #f5e3bb; }
.asset-value { margin-top: 8px; font-size: 11.5px; color: rgba(244, 231, 204, 0.72); }
.asset-frozen {
  display: inline-block;
  margin-top: 6px;
  font-size: 10px;
  background: rgba(8, 22, 48, 0.4);
  border: 1px solid rgba(255, 235, 186, 0.16);
  border-radius: 6px;
  padding: 2.5px 7px;
  color: rgba(255, 255, 255, 0.82);
}
.asset-foot {
  margin-top: 15px;
  padding-top: 12px;
  border-top: 1px solid rgba(247, 217, 152, 0.18);
  display: flex;
  align-items: center;
  gap: 5px;
}
.asset-qr {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1px;
  color: #eedaac;
  -webkit-tap-highlight-color: transparent;
}
.asset-qr .ic { width: 15px; height: 15px; }
.asset-qr:active { color: #fff3d3; }
.asset-addr {
  flex: 1;
  min-width: 0;
  display: block;
  margin-left: 4px;
  padding: 0;
  text-align: left;
  color: #eadcb9;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0;
  -webkit-tap-highlight-color: transparent;
}
.asset-addr span { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.asset-addr:active { color: #f9eabf; }
.asset-copy { flex: 0 0 auto; color: #f0d79c; opacity: 0.85; display: inline-flex; padding: 3px 1px; }
.asset-copy .ic { width: 14px; height: 14px; }
.asset-deco {
  position: absolute;
  border: 1px solid rgba(255, 235, 186, 0.16);
  border-radius: 50%;
  pointer-events: none;
}
.deco-a { width: 128px; height: 128px; right: -48px; top: -34px; }
.deco-b { width: 80px; height: 80px; right: -10px; top: 10px; border-color: rgba(255, 235, 186, 0.1); }

.me-quick {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  background: linear-gradient(180deg, #fffdf8 0%, #ffffff 52%);
  border: 1px solid rgba(226, 199, 142, 0.4);
  border-radius: 18px;
  margin-top: 16px;
  padding: 15px 4px 14px;
  box-shadow: 0 12px 26px rgba(31, 64, 120, 0.09);
}
.me-quick button {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  color: #46536b;
  font-weight: 500;
}
.mi {
  position: relative;
  width: 30px;
  height: 30px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: #fff;
  overflow: hidden;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.48),
    inset 0 -1px 0 rgba(0, 0, 0, 0.12),
    0 5px 12px rgba(31, 64, 120, 0.18);
}
.mi::after {
  content: "";
  position: absolute;
  left: -32%;
  top: -64%;
  width: 94%;
  height: 94%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.55), transparent 66%);
  pointer-events: none;
}
.mi .ic { width: 16px; height: 16px; stroke-width: 1.9; position: relative; }
.mi-blue { background: linear-gradient(145deg, #7cc4ff, #2f7dfa 56%, #1b57cf); }
.mi-indigo { background: linear-gradient(145deg, #a2b4ff, #5266e8 56%, #3a45b8); }
.mi-cyan { background: linear-gradient(145deg, #8fe7f7, #22b3d6 56%, #0e88a8); }
.mi-sky { background: linear-gradient(145deg, #a5d8ff, #3a8cf5 56%, #1f66cc); }
.mi-orange { background: linear-gradient(145deg, #ffd089, #f39a1e 56%, #cf7208); }
.mi-red { background: linear-gradient(145deg, #ffb0a2, #ef5544 56%, #c33022); }
.mi-green { background: linear-gradient(145deg, #9aedbd, #1eb268 56%, #0b7c46); }
.mi-rose { background: linear-gradient(145deg, #ffb3bf, #e94b60 56%, #bd2b42); }
.mi-yellow { background: linear-gradient(145deg, #ffe8a6, #f0b022 56%, #bd8208); }

.menu-card {
  background: linear-gradient(180deg, #fffdf9 0%, #ffffff 46%);
  border: 1px solid rgba(226, 199, 142, 0.4);
  border-radius: 18px;
  margin-top: 15px;
  overflow: hidden;
  box-shadow: 0 12px 26px rgba(31, 64, 120, 0.08);
}
.menu-card.single { margin-top: 13px; }
.menu-row {
  display: flex;
  align-items: center;
  width: 100%;
  gap: 11px;
  padding: 13px 14px;
  min-height: 54px;
}
.menu-row + .menu-row { border-top: 1px solid #f7f1e4; }
.menu-label { font-size: 13px; color: #2b3d56; font-weight: 500; }
.menu-state { margin-left: auto; font-size: 11px; color: #a0adbf; }
.menu-row .chev { margin-left: auto; width: 15px; height: 15px; color: #d6c294; }
.menu-state + .chev { margin-left: 5px; }
.unread-pill {
  margin-left: auto;
  font-size: 9px;
  color: #fff;
  background: linear-gradient(135deg, #ff7a5c, #ec4a37);
  border-radius: 8px;
  padding: 1.5px 6px;
  box-shadow: 0 3px 8px rgba(236, 74, 55, 0.28);
}

.version { text-align: center; font-size: 10px; letter-spacing: 0.6px; color: #b5a98f; margin-top: 20px; }

/* ================= 弹层 ================= */
.sheet-layer {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  pointer-events: none;
}
.sheet-layer.open { pointer-events: auto; }
.sheet-layer .sheet-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(13, 24, 40, 0.46);
  opacity: 0;
  transition: opacity 0.22s ease;
}
.sheet {
  position: relative;
  width: 100%;
  max-width: 430px;
  max-height: 88dvh;
  overflow-y: auto;
  background: #fff;
  border-radius: 22px 22px 0 0;
  transform: translateY(102%);
  transition: transform 0.28s cubic-bezier(0.22, 0.9, 0.3, 1);
  padding-bottom: calc(16px + env(safe-area-inset-bottom));
  box-shadow: 0 -12px 40px rgba(16, 38, 76, 0.18);
  scrollbar-width: none;
}
.sheet::-webkit-scrollbar { display: none; }
.sheet-layer.open .sheet-backdrop { opacity: 1; }
.sheet-layer.open .sheet { transform: translateY(0); }

.sheet-head {
  position: sticky;
  top: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px 10px;
  background: linear-gradient(#fff 78%, rgba(255, 255, 255, 0));
}
.sheet-head h2 { font-size: 17px; font-weight: 700; color: #172840; }
.sheet-close {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #f2f5fa;
  color: #7f8ea3;
  display: grid;
  place-items: center;
}
.sheet-close .ic { width: 15px; height: 15px; stroke-width: 2; }
.sheet-sub { padding: 0 20px 4px; font-size: 11.5px; color: #93a1b5; line-height: 1.6; }
.sheet-body { padding: 6px 20px 8px; }

.field-label { display: block; font-size: 12px; color: #62748e; font-weight: 500; margin: 14px 0 7px; }
.input {
  width: 100%;
  height: 46px;
  border-radius: 12px;
  border: 1px solid transparent;
  background: #f5f8fc;
  padding: 0 14px;
  transition: all 0.18s;
  color: #1b2b45;
}
input.input::placeholder, textarea.input::placeholder { color: #b0bccb; }
.input:focus { background: #fff; border-color: #a8c8f7; box-shadow: 0 0 0 3px rgba(47, 125, 250, 0.08); }
textarea.input { height: auto; min-height: 84px; padding: 12px 14px; resize: vertical; line-height: 1.6; }

.sheet-merchant {
  display: flex;
  align-items: center;
  gap: 9px;
  background: #f7faff;
  border-radius: 13px;
  padding: 11px 12px;
  margin-bottom: 4px;
}
.sheet-merchant .m-name { font-size: 13px; }
.sheet-merchant .sheet-merchant-sub { font-size: 10px; color: #97a5b9; margin-top: 3px; }
.sheet-price {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 2px 0;
  font-size: 11.5px;
  color: #7d8da4;
}
.sheet-price b { color: #2f7dfa; font-size: 15px; }
.sheet-price b em { font-style: normal; font-size: 10px; color: #7f97b5; font-weight: 400; margin-left: 2px; }
.sheet-price span { font-size: 10px; color: #a0adbf; }

.stepper {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #f5f8fc;
  border-radius: 12px;
  padding: 5px;
}
.stepper .input {
  flex: 1;
  background: transparent;
  text-align: center;
  font-weight: 700;
  font-size: 18px;
  height: 40px;
  padding: 0;
  box-shadow: none;
}
.stepper .input:focus { background: transparent; box-shadow: none; }
.step-btn {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: #fff;
  color: #5d7ea6;
  display: grid;
  place-items: center;
  box-shadow: 0 2px 6px rgba(35, 70, 120, 0.06);
}
.step-btn .ic { width: 15px; height: 15px; stroke-width: 2.2; }

.chips { display: flex; flex-wrap: wrap; gap: 7px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  color: #6d7f97;
  background: #f4f7fb;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 6px 11px;
  transition: all 0.15s;
}
.chip .pay-ic { width: 15px; height: 15px; border-radius: 4px; }
.chip.active { background: #eaf3ff; border-color: #b9d7fd; color: #2f7dfa; font-weight: 600; }

.pay-options { display: flex; gap: 7px; }
.pay-options.is-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 7px; }
.pay-option .pay-ic { width: 20px; height: 20px; border-radius: 5px; }
.pay-option {
  flex: 1;
  min-height: 42px;
  border: 1px solid #e7edf6;
  border-radius: 10px;
  background: #fbfdff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font-size: 11px;
  color: #59708c;
  padding: 0 4px;
  transition: all 0.15s;
}
.pay-option.active { border-color: #9ec7fb; background: #f2f8ff; color: #2169e8; font-weight: 600; box-shadow: 0 0 0 2px rgba(47, 125, 250, 0.07); }

.summary-box {
  background: #f7faff;
  border-radius: 12px;
  padding: 12px 13px;
  margin-top: 14px;
}
.summary-row { display: flex; align-items: center; justify-content: space-between; font-size: 11.5px; color: #7b8ba2; padding: 3px 0; }
.summary-row b { color: #2a3c56; font-weight: 600; }
.summary-row.total { padding-top: 8px; margin-top: 5px; border-top: 1px dashed #e3ebf6; font-size: 12px; }
.summary-row.total b { color: #2f7dfa; font-size: 16px; }

.notice {
  display: flex;
  gap: 6px;
  font-size: 10.5px;
  line-height: 1.65;
  color: #94a2b6;
  margin: 12px 1px 16px;
}
.notice .ic { width: 13px; height: 13px; margin-top: 1px; color: #b0bdcf; }
.notice.warn { color: #b17822; background: #fff9ee; border-radius: 9px; padding: 9px 10px; margin-top: 12px; }
.notice.warn .ic { color: #e2a336; }

.btn-primary {
  width: 100%;
  height: 46px;
  border-radius: 13px;
  background: var(--grad-blue);
  color: #fff;
  font-size: 14.5px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 18px rgba(45, 116, 245, 0.25);
}
.btn-primary:disabled { opacity: 0.45; box-shadow: none; }
.btn-primary.outline-btn {
  background: #fff;
  color: var(--primary);
  border: 1px solid #bcd8fb;
  box-shadow: none;
}
.btn-ghost {
  height: 46px;
  border-radius: 13px;
  background: #f2f6fb;
  color: #61748e;
  font-size: 14px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
}
.btn-row { display: flex; gap: 10px; margin-top: 14px; }
.btn-row .btn-primary { flex: 1.4; }
.btn-block { margin-top: 16px; width: 100%; }

.price-slider {
  background: #f7faff;
  border-radius: 13px;
  padding: 13px 14px 10px;
}
.price-val { display: flex; align-items: baseline; gap: 5px; margin-bottom: 6px; }
.price-val b { font-size: 23px; font-weight: 700; color: #2f7dfa; letter-spacing: -0.3px; }
.price-val span { font-size: 10px; color: #93a4ba; }
.range {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 5px;
  border-radius: 3px;
  background: linear-gradient(90deg, #bfdcff, #e3eefb);
  outline: none;
  margin: 10px 0 4px;
}
.range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  border: 5px solid #2f7dfa;
  box-shadow: 0 2px 6px rgba(47, 125, 250, 0.32);
  cursor: pointer;
}
.range::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  border: 5px solid #2f7dfa;
  box-shadow: 0 2px 6px rgba(47, 125, 250, 0.32);
  cursor: pointer;
}
.range-labels { display: flex; justify-content: space-between; font-size: 9.5px; color: #a3b1c3; }

.form-error { font-size: 10.5px; color: #e2553e; margin: 6px 1px 0; display: none; }
.form-error.show { display: block; }

/* 筛选 */
.filter-group { margin-top: 16px; }
.filter-group h4 { font-size: 12.5px; color: #34465f; font-weight: 600; margin-bottom: 9px; }
.filter-chip-row { display: flex; flex-wrap: wrap; gap: 7px; }
.switch-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 18px;
  padding: 11px 0;
  border-top: 1px solid #f2f6fa;
  font-size: 12.5px;
  color: #34465f;
  cursor: pointer;
}
.switch-row input { display: none; }
.switch {
  position: relative;
  width: 42px;
  height: 24px;
  border-radius: 12px;
  background: #e2e8f1;
  transition: background 0.2s;
  flex: 0 0 auto;
}
.switch::after {
  content: "";
  position: absolute;
  left: 2px;
  top: 2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 4px rgba(20, 50, 90, 0.18);
  transition: transform 0.2s;
}
.switch-row input:checked + .switch { background: #2f7dfa; }
.switch-row input:checked + .switch::after { transform: translateX(18px); }

/* 订单详情 */
.detail-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2px 0 12px;
}
.detail-head .order-no { font-size: 10.5px; }
.detail-amount {
  text-align: center;
  padding: 8px 0 18px;
}
.detail-amount b { display: block; font-size: 30px; font-weight: 700; color: #1b2b45; letter-spacing: -0.3px; }
.detail-amount span { font-size: 11px; color: #98a6ba; display: block; margin-top: 5px; }
.detail-grid {
  background: #f7faff;
  border-radius: 13px;
  padding: 10px 13px;
}
.detail-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 5px 0; font-size: 11.5px; color: #7d8da4; }
.detail-row b { color: #2c3e58; font-weight: 500; text-align: right; word-break: break-all; }
.detail-row b.blue { color: #2f7dfa; font-weight: 600; }
.detail-row b.red { color: #c0523d; font-weight: 600; }
.detail-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.detail-actions .btn-outline { flex: 1; min-width: 92px; height: 38px; }
.detail-actions .btn-sm.primary { height: 38px; padding: 0 18px; }

.timeline { margin: 18px 2px 4px; }
.tl-item { position: relative; padding: 0 0 17px 22px; }
.tl-item:last-child { padding-bottom: 2px; }
.tl-item::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 10px;
  bottom: -2px;
  width: 1px;
  background: #e8eef7;
}
.tl-item:last-child::before { display: none; }
.tl-dot {
  position: absolute;
  left: 0;
  top: 3px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #dfe7f2;
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px #dfe7f2;
}
.tl-item.done .tl-dot { background: #2f7dfa; box-shadow: 0 0 0 1px #2f7dfa; }
.tl-item.current .tl-dot { background: #2f7dfa; box-shadow: 0 0 0 3px rgba(47, 125, 250, 0.16); }
.tl-label { font-size: 12px; color: #a3b0c2; font-weight: 500; }
.tl-item.done .tl-label, .tl-item.current .tl-label { color: #2d405a; }
.tl-time { font-size: 10px; color: #acb8c8; margin-top: 3px; }

/* 支付 */
.payee-box {
  background: #f7faff;
  border-radius: 13px;
  padding: 13px 14px;
  margin-top: 12px;
}
.payee-top { display: flex; align-items: center; justify-content: space-between; font-size: 11.5px; color: #5f7b9e; }
.payee-top span { display: flex; align-items: center; gap: 6px; font-weight: 600; }
.payee-line { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 9px; }
.payee-line b { font-size: 14px; color: #1e3049; letter-spacing: 0.4px; word-break: break-all; font-weight: 600; }
.payee-copy { color: #2f7dfa; font-size: 10.5px; flex: 0 0 auto; }
.pay-amount { text-align: center; padding: 16px 0 4px; }
.pay-amount span { font-size: 11px; color: #98a6ba; display: block; }
.pay-amount b { font-size: 29px; font-weight: 700; color: #1b2b45; }
.pay-amount b em { font-style: normal; font-size: 12px; color: #7f90a7; font-weight: 500; }
.pay-countdown {
  text-align: center;
  font-size: 11px;
  color: #d97917;
  background: #fff8ee;
  border-radius: 8px;
  padding: 6px 10px;
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
.pay-countdown .ic { width: 13px; height: 13px; }

/* 我的-账单/通知等 */
.bill-item, .notif-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px solid #f3f6fa;
}
.bill-item:last-child, .notif-item:last-child { border-bottom: 0; }
.bill-ic, .notif-ic {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: #eef5ff;
  color: #2f7dfa;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}
.bill-ic .ic, .notif-ic .ic { width: 16px; height: 16px; }
.bill-body, .notif-body { flex: 1; min-width: 0; }
.bill-title, .notif-title { font-size: 12.5px; color: #2c3e58; font-weight: 500; }
.bill-time, .notif-time { font-size: 10px; color: #a6b2c3; margin-top: 4px; }
.bill-amount { font-size: 13px; font-weight: 600; text-align: right; color: #0f9b5b; white-space: nowrap; }
.bill-amount.out { color: #e2553e; }
.bill-amount small { display: block; font-size: 9.5px; color: #a5b1c1; font-weight: 400; margin-top: 3px; }
.notif-text { font-size: 11px; color: #7c8ca3; line-height: 1.55; margin-top: 4px; }
.notif-item.unread .notif-title::after {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #f0503e;
  margin-left: 5px;
  vertical-align: 2px;
}
.faq-answer { font-size: 12.5px; color: #60738c; line-height: 1.85; }
.faq-answer p + p { margin-top: 8px; }
.faq-answer b { color: #2c3e58; }
.info-list { margin-top: 2px; }
.info-list li {
  position: relative;
  padding-left: 15px;
  font-size: 12px;
  color: #60738c;
  line-height: 1.8;
}
.info-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 9px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #a8c8f3;
}
.kv-list { margin-top: 12px; }
.kv { display: flex; align-items: center; justify-content: space-between; padding: 11px 0; border-bottom: 1px solid #f3f6fa; font-size: 12px; color: #6c7e96; }
.kv:last-child { border-bottom: 0; }
.kv b { color: #2b3d57; font-weight: 500; }
.verified-box {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #edf9f2;
  border-radius: 12px;
  padding: 12px;
  margin-bottom: 12px;
}
.verified-box .mi { background: #1db06a; }
.verified-title { font-size: 12.5px; font-weight: 600; color: #187a4b; }
.verified-sub { font-size: 10.5px; color: #5ba583; margin-top: 2px; }
.empty-mini { text-align: center; padding: 36px 10px; font-size: 12px; color: #a7b3c3; line-height: 1.7; }
.empty-mini .mi { margin: 0 auto 10px; width: 40px; height: 40px; background: #f0f5fc; color: #a9bdd6; }
.empty-mini .mi .ic { width: 20px; height: 20px; }

/* Toast */
.toast {
  position: fixed;
  left: 50%;
  bottom: calc(88px + env(safe-area-inset-bottom));
  transform: translate(-50%, 10px);
  z-index: 500;
  max-width: 84vw;
  background: rgba(21, 33, 52, 0.94);
  color: #fff;
  font-size: 12.5px;
  line-height: 1.5;
  padding: 10px 16px;
  border-radius: 12px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s, transform 0.22s;
  text-align: center;
  box-shadow: 0 8px 24px rgba(10, 20, 40, 0.24);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ================= 底部导航 ================= */
.tabbar {
  position: fixed;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  z-index: 60;
  width: 100%;
  max-width: 430px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(14px);
  border-radius: 20px 20px 0 0;
  padding: 8px 4px calc(7px + env(safe-area-inset-bottom));
  box-shadow: 0 -6px 24px rgba(31, 72, 140, 0.07);
}
.tab-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  color: #9aa8bb;
  font-size: 10.5px;
  padding: 3px 0;
  transition: color 0.15s;
}
.tab-item .ic { width: 21px; height: 21px; stroke-width: 1.7; }
.tab-item.active { color: #2f7dfa; font-weight: 600; }
.tab-item.active .ic { stroke-width: 2; }

/* ================= 全屏子页面 ================= */
body.sp-open { overflow: hidden; }
.subpage-layer {
  position: fixed;
  inset: 0;
  z-index: 150;
  display: flex;
  justify-content: center;
  background: var(--bg);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
}
.subpage-layer.open { opacity: 1; pointer-events: auto; }
.subpage {
  position: relative;
  width: 100%;
  max-width: 430px;
  height: 100vh;
  height: 100dvh;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  transform: translateX(26px);
  transition: transform 0.26s cubic-bezier(0.22, 0.9, 0.3, 1);
}
.subpage-layer.open .subpage { transform: translateX(0); }
.subpage-head {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: calc(env(safe-area-inset-top) + 12px) 16px 10px;
  background: rgba(238, 244, 253, 0.93);
  backdrop-filter: blur(12px);
}
.subpage-head h2 { flex: 1; text-align: center; font-size: 17px; font-weight: 700; color: #172840; }
.sp-btn {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.9);
  color: #4c6687;
  display: grid;
  place-items: center;
  box-shadow: 0 4px 10px rgba(39, 80, 140, 0.07);
}
.sp-btn .ic { width: 18px; height: 18px; stroke-width: 2; }
.sp-btn:active { background: #fff; }
.subpage-body {
  flex: 1;
  overflow-y: auto;
  padding: 4px 16px calc(24px + env(safe-area-inset-bottom));
  scrollbar-width: none;
}
.subpage-body::-webkit-scrollbar { display: none; }

.sp-steps { display: flex; align-items: flex-start; margin: 4px 2px 16px; }
.sp-step { flex: 1; position: relative; text-align: center; font-size: 10.5px; color: #9aa9bd; }
.sp-step i {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  margin: 0 auto 6px;
  border-radius: 50%;
  background: #e9eff8;
  color: #93a4ba;
  font-style: normal;
  font-size: 11.5px;
  font-weight: 600;
}
.sp-step i .ic { width: 13px; height: 13px; stroke-width: 2.6; }
.sp-step.done i { background: #e3f7ec; color: #18a05f; }
.sp-step.active i { background: var(--grad-blue); color: #fff; box-shadow: 0 4px 10px rgba(47, 125, 250, 0.3); }
.sp-step.active { color: #2f7dfa; font-weight: 600; }
.sp-step::after {
  content: "";
  position: absolute;
  top: 13px;
  left: calc(50% + 18px);
  right: calc(-50% + 18px);
  height: 2px;
  background: #e4ecf7;
}
.sp-step:last-child::after { display: none; }
.sp-step.done::after { background: #bfe9d4; }

.sp-banner {
  position: relative;
  overflow: hidden;
  display: flex;
  gap: 12px;
  align-items: center;
  border-radius: 18px;
  padding: 18px 16px;
  margin-bottom: 14px;
  background: linear-gradient(120deg, #4a90ff, #2b6cf2);
  color: #fff;
  box-shadow: 0 10px 24px rgba(47, 125, 250, 0.22);
}
.sp-banner::after {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  right: -40px;
  top: -52px;
  background: rgba(255, 255, 255, 0.14);
}
.sp-banner-art {
  position: relative;
  z-index: 1;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.18);
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}
.sp-banner-art .ic { width: 27px; height: 27px; }
.sp-banner-copy { position: relative; z-index: 1; min-width: 0; }
.sp-banner h3 { font-size: 16px; font-weight: 700; letter-spacing: 0.2px; }
.sp-banner p { font-size: 11px; line-height: 1.6; color: rgba(255, 255, 255, 0.84); margin-top: 5px; }

.sp-card {
  background: #fff;
  border-radius: 16px;
  padding: 16px;
  margin-bottom: 12px;
  box-shadow: var(--shadow-card);
}
.sp-card-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.sp-card-head h3 { font-size: 13.5px; font-weight: 600; color: #233b59; }
.sp-tag { font-size: 9.5px; color: #2f7dfa; background: #eaf3ff; border-radius: 6px; padding: 2px 7px; }
.sp-tag.warn { color: #c07c14; background: #fff6e6; }
.sp-tag.good { color: #14935b; background: #e9f9f1; }
.sp-note { font-size: 10.5px; color: #94a3b7; line-height: 1.6; margin-top: 8px; }
.sp-cta { margin-top: 4px; }
.sp-link { display: block; margin: 12px auto 0; font-size: 11.5px; color: #7c8da4; padding: 6px 12px; }

/* 实名认证 */
.kyc-upload {
  width: 100%;
  min-height: 142px;
  border-radius: 14px;
  border: 1.5px dashed #b9d4f6;
  background: #f7fbff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 16px;
  color: #6d89a9;
  transition: all 0.18s;
}
.kyc-upload:active { background: #eef6ff; }
.kyc-upload .ku-ic {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #e8f3ff;
  display: grid;
  place-items: center;
  color: #3a86ea;
  margin-bottom: 2px;
}
.kyc-upload .ku-ic .ic { width: 22px; height: 22px; }
.kyc-upload b { font-size: 12.5px; color: #35506f; font-weight: 600; }
.kyc-upload span { font-size: 10px; color: #9aabc0; }
.kyc-upload.done { border-style: solid; border-color: #b7e7cd; background: #f3fcf7; }
.kyc-upload.done .ku-ic { background: #e2f8ec; color: #17a05d; }
.kyc-upload.done b { color: #187a4b; }
.kyc-upload-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.kyc-upload.compact { min-height: 126px; padding: 10px; gap: 4px; }
.kyc-upload.compact .ku-ic { width: 36px; height: 36px; }
.kyc-upload.compact .ku-ic .ic { width: 18px; height: 18px; }
.kyc-upload.compact b { font-size: 11.5px; }
.kyc-upload.compact span { font-size: 9px; }
.kyc-upload.compact .ku-preview {
  width: 100%;
  aspect-ratio: 1.58;
  border-radius: 8px;
  overflow: hidden;
  background: #e8f3ff;
  display: block;
  margin-bottom: 2px;
}
.kyc-upload.compact .ku-preview img { width: 100%; height: 100%; object-fit: cover; display: block; }
.kyc-upload.compact.done { border-color: #b7e7cd; }

.kyc-example {
  display: flex;
  gap: 10px;
  align-items: center;
  background: #f8fbff;
  border-radius: 12px;
  padding: 10px;
  margin-top: 10px;
}
.kyc-example-art { width: 82px; height: 52px; flex: 0 0 auto; border-radius: 8px; overflow: hidden; background: #e8f3ff; }
.kyc-example-art svg { width: 100%; height: 100%; display: block; }
.kyc-example b { font-size: 10.5px; color: #3f5875; display: block; }
.kyc-example p { font-size: 10px; color: #93a4ba; line-height: 1.55; margin-top: 3px; }
.kyc-tips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.kyc-tips span {
  font-size: 9.5px;
  color: #7f95ae;
  background: #f3f7fc;
  border-radius: 7px;
  padding: 4px 8px;
  display: inline-flex;
  align-items: center;
  gap: 3px;
}
.kyc-tips .ic { width: 10px; height: 10px; color: #4a9aee; }

.kyc-face-card { text-align: center; padding: 26px 18px 22px; }
.kyc-face {
  width: 150px;
  height: 150px;
  margin: 0 auto;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 42%, #eaf4ff, #dbeeff);
  border: 1px solid #cfe5ff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}
.kyc-face::before {
  content: "";
  position: absolute;
  inset: -9px;
  border-radius: 50%;
  border: 2px dashed #b8d9ff;
}
.kyc-face.scanning::before { animation: spin 1.2s linear infinite; border-color: #2f7dfa; }
.kyc-face .ic { width: 44px; height: 44px; color: #5b9ce8; stroke-width: 1.4; }
.kyc-face-title { font-size: 12.5px; font-weight: 600; color: #2c4a6d; margin-top: 6px; }
.kyc-face-sub { font-size: 10px; color: #8fa4bd; line-height: 1.5; margin-top: 4px; max-width: 160px; }
.kyc-face.done { background: radial-gradient(circle at 50% 42%, #e9fbf2, #d9f6e7); border-color: #b9e8ce; }
.kyc-face.done .ic { color: #18a05f; }
.kyc-face.has-photo { padding: 0; overflow: hidden; border-color: #bfe6d3; background: #eef8f3; }
.kyc-face-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.kyc-retake { margin: 6px auto 0; color: #2f7dfa; font-size: 10.5px; padding: 4px 10px; }
.kyc-face-steps { display: flex; justify-content: center; gap: 6px; flex-wrap: wrap; margin-top: 18px; }
.kyc-face-steps span { font-size: 9.5px; color: #7e93ab; background: #f4f8fd; border-radius: 7px; padding: 4px 8px; }

.kyc-success { text-align: center; padding: 24px 12px 16px; }
.kyc-success-badge {
  width: 72px;
  height: 72px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: linear-gradient(140deg, #83e2ad, #19a960);
  display: grid;
  place-items: center;
  color: #fff;
  box-shadow: 0 12px 26px rgba(25, 169, 96, 0.28);
}
.kyc-success-badge .ic { width: 34px; height: 34px; stroke-width: 2.4; }
.kyc-success h3 { font-size: 18px; font-weight: 700; color: #173b2a; }
.kyc-success p { font-size: 11.5px; color: #8193a8; line-height: 1.65; margin-top: 7px; }

/* 商家认证 */
.merchant-banner { background: linear-gradient(120deg, #33b27b, #17945c); box-shadow: 0 10px 24px rgba(23, 148, 92, 0.22); }
.merchant-banner::after { right: -36px; top: -56px; }
.sp-track { position: relative; padding-left: 0; }
.sp-track-item { position: relative; padding: 0 0 16px 24px; }
.sp-track-item:last-child { padding-bottom: 0; }
.sp-track-item::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 16px;
  bottom: 0;
  width: 1px;
  background: #e6edf7;
}
.sp-track-item:last-child::before { display: none; }
.sp-track-dot {
  position: absolute;
  left: 0;
  top: 2px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #dfe8f3;
  border: 3px solid #fff;
  box-shadow: 0 0 0 1px #dfe8f3;
}
.sp-track-item.done .sp-track-dot { background: #1db06a; box-shadow: 0 0 0 1px #1db06a; }
.sp-track-item b { display: block; font-size: 12.5px; color: #2b405c; font-weight: 600; }
.sp-track-item span { display: block; font-size: 10px; color: #98a8bc; margin-top: 3px; line-height: 1.5; }

.benefit-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 9px; }
.benefit-item { background: #f8fbff; border-radius: 12px; padding: 11px 10px; display: flex; gap: 8px; align-items: flex-start; }
.benefit-item .mi { width: 28px; height: 28px; border-radius: 9px; flex: 0 0 auto; }
.benefit-item .mi .ic { width: 14px; height: 14px; }
.benefit-item b { font-size: 11px; color: #2c4059; display: block; font-weight: 600; }
.benefit-item span { font-size: 9px; color: #9aabbf; display: block; margin-top: 2px; line-height: 1.4; }

.sp-contact {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #f5faff;
  border: 1px dashed #cfe4fb;
  border-radius: 12px;
  padding: 11px 12px;
  margin-top: 10px;
}
.sp-contact .mi { flex: 0 0 auto; }
.sp-contact b { display: block; font-size: 11.5px; color: #2c4a6e; }
.sp-contact span { display: block; font-size: 9.5px; color: #93a7be; margin-top: 2px; }
.sp-contact button {
  margin-left: auto;
  font-size: 10px;
  color: #2f7dfa;
  background: #e7f2ff;
  border-radius: 7px;
  padding: 5px 9px;
  font-weight: 500;
  flex: 0 0 auto;
}

/* 商家申请资料 */
.sheet-doc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.sheet-doc {
  border: 1.5px dashed #c9ddf5;
  background: #f7fbff;
  border-radius: 11px;
  padding: 8px 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  min-width: 0;
}
.sheet-doc img {
  width: 100%;
  aspect-ratio: 1.45;
  object-fit: cover;
  border-radius: 7px;
  display: block;
  background: #e8f3ff;
}
.sheet-doc-ic {
  width: 100%;
  aspect-ratio: 1.45;
  border-radius: 7px;
  background: #eaf4ff;
  display: grid;
  place-items: center;
  color: #4a90e8;
}
.sheet-doc-ic .ic { width: 20px; height: 20px; }
.sheet-doc-label { font-size: 9.5px; color: #47607d; font-weight: 600; text-align: center; line-height: 1.3; }
.sheet-doc-state { font-size: 8.5px; color: #9aabc0; }
.sheet-doc.done { border-style: solid; border-color: #b7e7cd; background: #f4fdf8; }
.sheet-doc.done .sheet-doc-state { color: #17a05d; }

/* 底部选择器 */
.picker-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 18px 12px; }
.picker-head h2 { flex: 1; text-align: center; font-size: 15.5px; }
.picker-act { font-size: 13px; color: #8b9ab0; padding: 4px 2px; }
.picker-act.primary { color: #2f7dfa; font-weight: 600; text-align: right; }
.price-list { max-height: 42vh; overflow-y: auto; scrollbar-width: none; padding: 2px 2px 12px; }
.price-list::-webkit-scrollbar { display: none; }
.price-opt {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 42px;
  border-radius: 10px;
  font-size: 14px;
  color: #4d6481;
  margin-bottom: 6px;
  border: 1px solid transparent;
}
.price-opt.active { background: #eef6ff; color: #2f7dfa; font-weight: 700; border-color: #bcd9fb; }

.pay-pick-list { display: flex; flex-direction: column; gap: 8px; padding-top: 2px; }
.pay-pick {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid #edf2f9;
  background: #fbfdff;
  font-size: 13px;
  color: #344b68;
}
.pay-pick .pay-ic { width: 26px; height: 26px; border-radius: 7px; }
.pay-pick span { flex: 1; font-weight: 500; }
.pay-pick .chev { width: 15px; height: 15px; color: #b3c1d2; }
.pay-pick.active { border-color: #a8ccfb; background: #f2f8ff; color: #2169e8; box-shadow: 0 0 0 2px rgba(47, 125, 250, 0.07); }

/* USDT 购买 9coin */
.usdt-hero {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  padding: 18px;
  margin-bottom: 12px;
  color: #fff;
  background: linear-gradient(125deg, #3f86f8, #245fe3);
  box-shadow: 0 12px 26px rgba(47, 125, 250, 0.24);
}
.usdt-hero::after {
  content: "";
  position: absolute;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  right: -44px;
  top: -58px;
  background: rgba(255, 255, 255, 0.13);
}
.usdt-hero-top { position: relative; z-index: 1; }
.usdt-hero-top span { font-size: 10.5px; color: rgba(255, 255, 255, 0.76); }
.usdt-hero-top b { display: block; font-size: 26px; font-weight: 700; letter-spacing: -0.4px; margin-top: 3px; }
.usdt-hero-top b em { font-style: normal; font-size: 11px; font-weight: 500; color: rgba(255, 255, 255, 0.8); margin-left: 3px; }
.usdt-rate {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 14px;
  padding-top: 11px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 10.5px;
  color: rgba(255, 255, 255, 0.8);
}
.usdt-rate b { color: #fff; font-size: 11.5px; font-weight: 600; }
.usdt-form { padding: 14px 14px 10px; }
.usdt-input-row { display: flex; align-items: center; gap: 10px; background: #f7faff; border-radius: 13px; padding: 12px 13px; }
.usdt-input-row.readonly { background: #fafcff; }
.usdt-input-main { flex: 1; min-width: 0; }
.usdt-input-main label { display: block; font-size: 9.5px; color: #93a4ba; margin-bottom: 4px; }
.usdt-input-main input {
  width: 100%;
  border: 0;
  background: transparent;
  font-size: 19px;
  font-weight: 700;
  color: #1c3350;
  padding: 0;
}
.usdt-input-main input::placeholder { font-size: 12px; font-weight: 400; color: #bcc8d6; }
.usdt-coin { display: flex; align-items: center; gap: 5px; font-size: 11.5px; font-weight: 600; color: #344b68; flex: 0 0 auto; }
.usdt-coin-ic {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #26a17b;
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 700;
}
.usdt-coin-ic.qcoin { background: linear-gradient(135deg, #4b93ff, #2b6cf2); font-size: 11px; }
.usdt-coin button { font-size: 9.5px; color: #2f7dfa; background: #eaf3ff; border-radius: 5px; padding: 2px 5px; font-weight: 500; }
.usdt-swap {
  width: 28px;
  height: 28px;
  margin: -7px auto;
  position: relative;
  z-index: 2;
  border-radius: 50%;
  background: #fff;
  border: 1px solid #e6eef9;
  display: grid;
  place-items: center;
  color: #2f7dfa;
  box-shadow: 0 3px 8px rgba(40, 80, 140, 0.08);
}
.usdt-swap .ic { width: 14px; height: 14px; }
.usdt-meta { display: flex; justify-content: space-between; font-size: 9.5px; color: #a1afc1; margin: 11px 2px 0; }
.usdt-note { font-size: 10px; color: #a0afc2; line-height: 1.6; margin: 10px 4px 14px; }
.usdt-open-order {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  text-align: left;
  background: #fff;
  border-radius: 14px;
  padding: 12px;
  margin-bottom: 12px;
  box-shadow: var(--shadow-card);
}
.usdt-open-order .mi { flex: 0 0 auto; }
.usdt-open-order div { flex: 1; min-width: 0; }
.usdt-open-order b { display: block; font-size: 11.5px; color: #2b405c; font-weight: 600; }
.usdt-open-order span { display: block; font-size: 9.5px; color: #98a8bc; margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.usdt-open-order em { font-style: normal; font-size: 10px; font-weight: 600; color: #2f7dfa; flex: 0 0 auto; }
.usdt-history { background: #fff; border-radius: 14px; padding: 12px 13px; margin-top: 14px; box-shadow: var(--shadow-card); }
.usdt-history-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 4px; }
.usdt-history-head b { font-size: 12px; color: #2b405c; }
.usdt-history-head span { font-size: 9.5px; color: #a0afc2; }
.usdt-history-row {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  text-align: left;
  padding: 10px 0;
  border-bottom: 1px dashed #eef3fa;
}
.usdt-history-row:last-child { border-bottom: 0; padding-bottom: 2px; }
.uo-main { flex: 1; min-width: 0; }
.uo-main b { display: block; font-size: 12.5px; color: #1e3049; font-weight: 600; }
.uo-main span { display: block; font-size: 9px; color: #a0afc2; margin-top: 2px; }
.uo-side { display: flex; flex-direction: column; align-items: flex-end; gap: 3px; flex: 0 0 auto; }
.uo-side em { font-style: normal; font-size: 9.5px; color: #119a5a; font-weight: 600; }
.usdt-pay-amount { text-align: center; padding: 10px 0 6px; }
.usdt-pay-amount > span { font-size: 11px; color: #98a6ba; display: block; }
.usdt-pay-amount b { font-size: 28px; font-weight: 700; color: #1b2b45; }
.usdt-pay-amount b em { font-style: normal; font-size: 12px; color: #7f90a7; font-weight: 500; margin-left: 3px; }
.usdt-pay-amount .usdt-pay-get { margin-top: 3px; font-size: 10.5px; color: #119a5a; font-weight: 600; }
.usdt-qr {
  width: 168px;
  height: 168px;
  margin: 2px auto 14px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid #e6eef9;
  padding: 7px;
  box-shadow: 0 6px 16px rgba(40, 80, 140, 0.07);
}
.usdt-qr img { width: 100%; height: 100%; object-fit: contain; display: block; border-radius: 8px; }
.usdt-qr.empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  background: #f7faff;
  border-style: dashed;
  border-color: #d3e2f5;
  color: #9aacc2;
  font-size: 9.5px;
  line-height: 1.5;
  text-align: center;
}
.usdt-qr.empty .ic { width: 22px; height: 22px; color: #b2c5dc; }
.usdt-pay-meta { background: #f7faff; border-radius: 12px; padding: 11px 13px; margin-top: 12px; }
.record-line { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 10.5px; padding: 3px 0; }
.record-line span { color: #98a8bc; }
.record-line b { color: #3a4f6b; font-weight: 600; word-break: break-all; text-align: right; }
.guide-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 18px; }
.guide-card { background: #fff; border-radius: 14px; padding: 14px 12px; text-align: left; box-shadow: var(--shadow-card); }
.guide-card .mi { margin-bottom: 8px; }
.guide-card b { display: block; font-size: 12px; color: #2b405c; font-weight: 600; }
.guide-card span { display: block; font-size: 9.5px; color: #98a8bc; margin-top: 3px; }

/* 空状态主按钮 */
.empty .btn-primary.empty-cta { width: auto; min-width: 132px; height: 42px; padding: 0 26px; margin-top: 18px; }

@media (max-width: 360px) {
  .benefit-grid { gap: 7px; }
}

@media (min-width: 431px) {
  .app { border-radius: 0; min-height: 100vh; }
  .tabbar { border-radius: 20px 20px 0 0; }
}

@media (max-width: 360px) {
  .action-copy b, .action-copy em { font-size: 13.5px; }
  .banner-art { width: 155px; height: 122px; right: -16px; }
  .faq-list button { font-size: 11px; }
  .learn-card { min-height: 98px; }
  .m-stat { font-size: 9.5px; }
  .m-name { font-size: 12.5px; }
}

/* ================= 登录 / 注册 ================= */
.auth-layer {
  position: fixed;
  inset: 0;
  z-index: 400;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 26px 20px calc(26px + env(safe-area-inset-bottom));
  overflow-y: auto;
  background:
    radial-gradient(120% 80% at 12% -14%, rgba(246, 206, 126, 0.34), transparent 56%),
    radial-gradient(90% 70% at 104% 4%, rgba(122, 96, 255, 0.32), transparent 62%),
    radial-gradient(130% 90% at 50% 112%, rgba(36, 92, 210, 0.44), transparent 66%),
    linear-gradient(160deg, #060c1c 0%, #0d1836 46%, #191338 100%);
}
.auth-layer::before,
.auth-layer::after {
  content: "";
  position: fixed;
  z-index: 0;
  border-radius: 50%;
  pointer-events: none;
}
.auth-layer::before {
  width: 360px;
  height: 360px;
  left: -150px;
  top: -140px;
  background: radial-gradient(circle, rgba(247, 213, 138, 0.18), transparent 68%);
}
.auth-layer::after {
  width: 440px;
  height: 440px;
  right: -190px;
  bottom: -210px;
  background: radial-gradient(circle, rgba(123, 100, 255, 0.2), transparent 68%);
}
.auth-layer[hidden] { display: none; }
.auth-card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 368px;
  padding: 28px 22px 22px;
  border-radius: 26px;
  background:
    linear-gradient(158deg, rgba(30, 44, 82, 0.88) 0%, rgba(13, 22, 47, 0.94) 54%, rgba(22, 18, 50, 0.96) 100%);
  border: 1px solid rgba(238, 204, 133, 0.34);
  box-shadow:
    0 34px 80px rgba(0, 0, 0, 0.56),
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    inset 0 -1px 0 rgba(0, 0, 0, 0.3),
    0 0 48px rgba(226, 181, 90, 0.1);
  backdrop-filter: blur(18px);
  overflow: hidden;
  animation: authIn 0.42s cubic-bezier(0.22, 0.9, 0.3, 1) both;
}
.auth-card::before {
  content: "";
  position: absolute;
  left: 14%;
  right: 14%;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 233, 181, 0.85), transparent);
  pointer-events: none;
}
.auth-card::after {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  right: -90px;
  top: -100px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(247, 213, 138, 0.16), transparent 68%);
  pointer-events: none;
}
.auth-card > * { position: relative; z-index: 1; }
@keyframes authIn {
  from { opacity: 0; transform: translateY(22px) scale(0.97); }
  to { opacity: 1; transform: none; }
}
.auth-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.auth-logo {
  width: 48px;
  height: 48px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  color: #2a1c05;
  flex: 0 0 auto;
  background: linear-gradient(145deg, #fff1c6 0%, #eccd85 46%, #bd8d33 100%);
  border: 1px solid rgba(255, 245, 214, 0.72);
  box-shadow:
    0 10px 24px rgba(189, 141, 51, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.82);
}
.auth-logo .ic { width: 24px; height: 24px; stroke-width: 1.7; }
.auth-brand b {
  display: block;
  font-size: 17px;
  letter-spacing: 0.5px;
  color: #fff7e8;
  text-shadow: 0 1px 12px rgba(247, 213, 138, 0.24);
}
.auth-brand > div span {
  display: block;
  margin-top: 4px;
  font-size: 9px;
  letter-spacing: 1.8px;
  color: #b5a889;
}
.auth-seal {
  margin-left: auto;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #efd598;
  background: rgba(247, 214, 144, 0.08);
  border: 1px solid rgba(238, 204, 133, 0.3);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}
.auth-seal .ic { width: 15px; height: 15px; }
.auth-divider { display: flex; align-items: center; gap: 9px; margin-bottom: 18px; color: #e0c27e; }
.auth-divider span {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(238, 204, 133, 0.42), transparent);
}
.auth-divider .ic { width: 12px; height: 12px; opacity: 0.85; }
.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  width: 232px;
  max-width: 100%;
  margin: 0 auto 20px;
  padding: 5px;
  border-radius: 14px;
  background: rgba(5, 11, 26, 0.44);
  border: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.28);
}
.auth-tabs button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 10px 0;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-align: center;
  color: #97a3c2;
  transition: color 0.18s, background 0.18s, box-shadow 0.18s;
}
.auth-tabs button.active {
  color: #2a1d05;
  background: linear-gradient(145deg, #ffe9b7 0%, #e6c377 55%, #c39a45 100%);
  box-shadow:
    0 8px 18px rgba(201, 154, 69, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.66);
}
.auth-form[hidden] { display: none; }
.auth-field { display: block; margin-bottom: 13px; }
.auth-field-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.4px;
  color: #aaa4bf;
  margin-bottom: 7px;
}
.auth-input {
  display: flex;
  align-items: center;
  gap: 9px;
  height: 46px;
  padding: 0 13px;
  border-radius: 13px;
  background: rgba(6, 12, 28, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.24);
  transition: border-color 0.18s, box-shadow 0.18s, background 0.18s;
}
.auth-input .ic { width: 17px; height: 17px; color: #cba95f; opacity: 0.95; }
.auth-input input {
  flex: 1;
  min-width: 0;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: #f6f0e2;
  font-size: 14px;
  letter-spacing: 0.3px;
}
.auth-input input::placeholder { color: #6d7692; letter-spacing: 0; }
.auth-input:focus-within {
  border-color: rgba(238, 205, 132, 0.62);
  background: rgba(9, 17, 38, 0.74);
  box-shadow:
    0 0 0 3px rgba(226, 181, 90, 0.14),
    inset 0 2px 6px rgba(0, 0, 0, 0.18);
}
.auth-input input:-webkit-autofill,
.auth-input input:-webkit-autofill:hover,
.auth-input input:-webkit-autofill:focus {
  -webkit-text-fill-color: #f6f0e2;
  -webkit-box-shadow: 0 0 0 1000px #0d172f inset;
  transition: background-color 9999s ease-out;
}
.auth-err {
  display: none;
  margin: 0 0 11px;
  padding: 9px 11px;
  border-radius: 10px;
  background: rgba(255, 97, 82, 0.12);
  border: 1px solid rgba(255, 124, 104, 0.26);
  color: #ffb4a6;
  font-size: 11.5px;
  line-height: 1.5;
}
.auth-err.show { display: block; }
.auth-submit {
  width: 100%;
  height: 48px;
  margin-top: 5px;
  border-radius: 14px;
  background: linear-gradient(135deg, #ffedbb 0%, #eccb85 40%, #d0a24a 70%, #b8862e 100%);
  color: #2a1c05;
  font-size: 14.5px;
  font-weight: 800;
  letter-spacing: 3px;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.35);
  box-shadow:
    0 14px 30px rgba(184, 134, 46, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
}
.auth-submit:hover { filter: brightness(1.04); }
.auth-submit:active { transform: translateY(1px); }
.auth-badges {
  display: flex;
  justify-content: center;
  gap: 7px;
  flex-wrap: wrap;
  margin-top: 18px;
}
.auth-badges span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 9px;
  border-radius: 999px;
  font-size: 10px;
  color: #c8bda2;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(238, 204, 133, 0.18);
}
.auth-badges .ic { width: 11px; height: 11px; color: #e2c37f; }
.auth-hint {
  margin-top: 13px;
  font-size: 10.5px;
  line-height: 1.75;
  color: #8b8ea8;
  text-align: center;
}
.auth-hint b { color: #e6c37c; }
@media (max-height: 720px) {
  .auth-layer { align-items: flex-start; padding-top: 16px; }
  .auth-card { padding: 22px 20px 18px; }
  .auth-brand { margin-bottom: 12px; }
  .auth-divider { margin-bottom: 14px; }
  .auth-tabs { margin-bottom: 16px; }
  .auth-field { margin-bottom: 11px; }
  .auth-badges { margin-top: 14px; }
}

/* ================= 商家认证 · 鎏金质感 ================= */
.merchant-page .merchant-banner {
  position: relative;
  border: 1px solid rgba(247, 217, 152, 0.34);
  background:
    radial-gradient(170px 130px at 94% -12%, rgba(247, 217, 152, 0.3), transparent 70%),
    radial-gradient(140px 120px at 2% 112%, rgba(88, 240, 180, 0.16), transparent 70%),
    linear-gradient(135deg, #0e7a52 0%, #0b5c43 55%, #073f31 100%);
  box-shadow:
    0 18px 34px rgba(6, 48, 34, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
}
.merchant-page .merchant-banner::before {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 236, 190, 0.8), transparent);
  pointer-events: none;
}
.merchant-page .merchant-banner::after {
  width: 168px;
  height: 168px;
  right: -52px;
  top: -78px;
  background: transparent;
  border: 1px solid rgba(247, 217, 152, 0.22);
}
.merchant-page .sp-banner-art {
  color: #ffe9b8;
  background: rgba(247, 217, 152, 0.14);
  border: 1px solid rgba(247, 217, 152, 0.34);
  border-radius: 17px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
}
.merchant-page .sp-banner h3 { color: #fff8e9; font-size: 17px; letter-spacing: 0.4px; }
.merchant-page .sp-banner p { color: rgba(255, 246, 226, 0.8); }
.merchant-page .sp-card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #fffdf8 0%, #ffffff 58%);
  border: 1px solid #efe4cf;
  border-radius: 18px;
  box-shadow: 0 12px 26px rgba(31, 64, 120, 0.08);
}
.merchant-page .sp-card::before {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(217, 178, 95, 0.6), transparent);
  pointer-events: none;
}
.merchant-page .sp-card-head h3 {
  display: flex;
  align-items: center;
  font-size: 14px;
  color: #22344f;
  letter-spacing: 0.2px;
}
.merchant-page .sp-card-head h3::before {
  content: "";
  width: 3px;
  height: 13px;
  margin-right: 7px;
  border-radius: 2px;
  flex: 0 0 auto;
  background: linear-gradient(180deg, #f4dfae, #c39a45);
}
.merchant-page .sp-tag.good {
  color: #8a6414;
  background: #fbf2dc;
  border: 1px solid rgba(217, 178, 95, 0.35);
}
.merchant-page .kv-list { margin-top: 2px; }
.merchant-page .kv { border-bottom: 1px dashed #f4ecdc; color: #9a8f79; }
.merchant-page .kv b { color: #22344f; font-weight: 600; }
.merchant-page .kv:first-child b { color: #a9802f; font-weight: 700; }
.merchant-page .benefit-item {
  background: linear-gradient(180deg, #fffdf8, #ffffff);
  border: 1px solid #f1e7d3;
  border-radius: 14px;
  box-shadow: 0 5px 14px rgba(31, 64, 120, 0.05);
}
.merchant-page .benefit-item b { color: #2a3d57; }
.merchant-page .benefit-item span { color: #a39a86; }
.merchant-page > .btn-primary {
  color: #2a1d05;
  font-weight: 800;
  letter-spacing: 1.5px;
  background: linear-gradient(135deg, #ffedbb 0%, #eccb85 40%, #d0a24a 72%, #b8862e 100%);
  box-shadow:
    0 14px 28px rgba(184, 134, 46, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
}
.merchant-page .sp-contact {
  background: linear-gradient(180deg, #fffdf8, #fffaf0);
  border: 1px dashed rgba(217, 178, 95, 0.45);
  border-radius: 14px;
  padding: 12px 13px;
  margin-top: 14px;
  box-shadow: 0 8px 18px rgba(31, 64, 120, 0.05);
}
.merchant-page .sp-contact b { color: #22344f; }
.merchant-page .sp-contact span { color: #a39a86; }
.merchant-page .sp-contact button {
  color: #8a6414;
  background: #fbf2dc;
  border: 1px solid rgba(217, 178, 95, 0.3);
}
.merchant-page .sp-track-item::before { background: #f0e6d3; }
.merchant-page .sp-track-dot { background: #efe7d8; box-shadow: 0 0 0 1px #e6dcc6; }
.merchant-page .sp-track-item.done .sp-track-dot {
  background: linear-gradient(140deg, #f4dfae, #c39a45);
  box-shadow: 0 0 0 1px rgba(195, 154, 69, 0.75), 0 2px 6px rgba(195, 154, 69, 0.25);
}
.merchant-page .sp-track-item b { color: #22344f; }
.merchant-page .notice.warn {
  color: #8a6414;
  background: #fdf6e7;
  border: 1px solid #f3e2bf;
}
.merchant-page .notice.warn .ic { color: #c39a45; }

/* ===== 弹层奢华化：联系客服 / 安全中心 / 支付密码 ===== */
.sheet[data-kind="support"],
.sheet[data-kind="security"],
.sheet[data-kind="pin"],
.sheet[data-kind="transfer"],
.sheet[data-kind="receipt"] {
  background:
    radial-gradient(160% 120% at 100% 0%, rgba(240, 214, 158, 0.16), transparent 60%),
    linear-gradient(180deg, #fffdf9 0%, #fffdf8 45%, #ffffff 100%);
  border-top: 1px solid rgba(214, 175, 100, 0.48);
  box-shadow:
    0 -18px 48px rgba(12, 30, 68, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
}
.sheet[data-kind="support"] .sheet-head,
.sheet[data-kind="security"] .sheet-head,
.sheet[data-kind="pin"] .sheet-head,
.sheet[data-kind="transfer"] .sheet-head,
.sheet[data-kind="receipt"] .sheet-head {
  padding-bottom: 12px;
  background: linear-gradient(#fffdf9 82%, rgba(255, 253, 249, 0));
  border-bottom: 1px solid rgba(226, 199, 142, 0.32);
}
.sheet[data-kind="support"] .sheet-head h2,
.sheet[data-kind="security"] .sheet-head h2,
.sheet[data-kind="pin"] .sheet-head h2,
.sheet[data-kind="transfer"] .sheet-head h2,
.sheet[data-kind="receipt"] .sheet-head h2 {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #172840;
  letter-spacing: 0.3px;
}
.sheet[data-kind="support"] .sheet-head h2::before,
.sheet[data-kind="security"] .sheet-head h2::before,
.sheet[data-kind="pin"] .sheet-head h2::before,
.sheet[data-kind="transfer"] .sheet-head h2::before,
.sheet[data-kind="receipt"] .sheet-head h2::before {
  content: "";
  width: 3px;
  height: 15px;
  border-radius: 2px;
  background: linear-gradient(180deg, #f0d99b, #c39a45);
  box-shadow: 0 0 8px rgba(195, 154, 69, 0.45);
}
.sheet[data-kind="support"] .sheet-close,
.sheet[data-kind="security"] .sheet-close,
.sheet[data-kind="pin"] .sheet-close,
.sheet[data-kind="transfer"] .sheet-close,
.sheet[data-kind="receipt"] .sheet-close {
  background: #fbf7ee;
  color: #b08a3e;
  border: 1px solid rgba(226, 199, 142, 0.4);
  box-shadow: 0 4px 10px rgba(31, 64, 120, 0.06);
}
.sheet[data-kind="support"] .sheet-sub,
.sheet[data-kind="security"] .sheet-sub,
.sheet[data-kind="pin"] .sheet-sub,
.sheet[data-kind="transfer"] .sheet-sub,
.sheet[data-kind="receipt"] .sheet-sub { color: #9a8d76; }

/* 绿色状态卡（安全中心 / 支付密码） */
.sheet[data-kind="security"] .verified-box,
.sheet[data-kind="pin"] .verified-box {
  position: relative;
  overflow: hidden;
  padding: 13px;
  border-radius: 14px;
  background: linear-gradient(135deg, #f3fbf6 0%, #fdfbf4 100%);
  border: 1px solid rgba(190, 221, 197, 0.72);
  box-shadow: 0 8px 20px rgba(24, 122, 75, 0.08), inset 0 1px 0 #fff;
}
.sheet[data-kind="security"] .verified-box::after,
.sheet[data-kind="pin"] .verified-box::after {
  content: "";
  position: absolute;
  right: -30px;
  top: -46px;
  width: 112px;
  height: 112px;
  border-radius: 50%;
  border: 14px solid rgba(195, 154, 69, 0.08);
  pointer-events: none;
}
.sheet[data-kind="security"] .verified-box .mi,
.sheet[data-kind="pin"] .verified-box .mi {
  box-shadow:
    0 0 0 1px rgba(226, 199, 142, 0.55),
    0 6px 14px rgba(29, 176, 106, 0.24);
}
.sheet[data-kind="security"] .verified-title,
.sheet[data-kind="pin"] .verified-title {
  color: #16683f;
  font-size: 13px;
  letter-spacing: 0.2px;
}
.sheet[data-kind="security"] .verified-sub,
.sheet[data-kind="pin"] .verified-sub { color: #6d9a7f; }

/* ===== 收款码弹层 ===== */
.sheet[data-kind="receive"] {
  background:
    radial-gradient(160% 120% at 100% 0%, rgba(240, 214, 158, 0.16), transparent 60%),
    linear-gradient(180deg, #fffdf9 0%, #fffdf8 45%, #ffffff 100%);
  border-top: 1px solid rgba(214, 175, 100, 0.48);
  box-shadow:
    0 -18px 48px rgba(12, 30, 68, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
}
.sheet[data-kind="receive"] .sheet-head {
  padding-bottom: 12px;
  background: linear-gradient(#fffdf9 82%, rgba(255, 253, 249, 0));
  border-bottom: 1px solid rgba(226, 199, 142, 0.32);
}
.sheet[data-kind="receive"] .sheet-head h2 {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #172840;
  letter-spacing: 0.3px;
}
.sheet[data-kind="receive"] .sheet-head h2::before {
  content: "";
  width: 3px;
  height: 15px;
  border-radius: 2px;
  background: linear-gradient(180deg, #f0d99b, #c39a45);
  box-shadow: 0 0 8px rgba(195, 154, 69, 0.45);
}
.sheet[data-kind="receive"] .sheet-close {
  background: #fbf7ee;
  color: #b08a3e;
  border: 1px solid rgba(226, 199, 142, 0.4);
  box-shadow: 0 4px 10px rgba(31, 64, 120, 0.06);
}
.sheet[data-kind="receive"] .sheet-sub { color: #9a8d76; }

.receive-card {
  margin-top: 6px;
  padding: 18px 16px 15px;
  border-radius: 20px;
  text-align: center;
  background:
    radial-gradient(130% 90% at 50% 0%, rgba(244, 226, 182, 0.28), transparent 62%),
    linear-gradient(165deg, #ffffff 0%, #fffdf8 62%, #fdf9ef 100%);
  border: 1px solid rgba(226, 199, 142, 0.5);
  box-shadow:
    0 16px 32px rgba(24, 44, 82, 0.1),
    inset 0 1px 0 #fff;
}
.receive-name {
  font-size: 13px;
  font-weight: 700;
  color: #1b2f4d;
  letter-spacing: 0.2px;
}
.receive-qr {
  width: 176px;
  height: 176px;
  margin: 14px auto 0;
  padding: 9px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid #ece2cc;
  box-shadow: 0 10px 22px rgba(24, 44, 82, 0.09);
}
.receive-qr .qr-svg { display: block; width: 100%; height: 100%; }
.receive-addr-cap {
  margin-top: 15px;
  font-size: 10px;
  letter-spacing: 1.4px;
  color: #a39a86;
}
.receive-addr {
  display: block;
  width: 100%;
  margin-top: 7px;
  padding: 9px 10px;
  border: 1px dashed rgba(197, 165, 100, 0.55);
  border-radius: 10px;
  background: #fdfaf3;
  color: #2a3c57;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.3px;
  line-height: 1.5;
  word-break: break-all;
  -webkit-tap-highlight-color: transparent;
}
.receive-addr:active { background: #faf3e2; border-color: #c39a45; }
.receive-tip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin-top: 12px;
  font-size: 10.5px;
  color: #93a4ba;
}
.receive-tip .ic { width: 12px; height: 12px; color: #c39a45; }
.receive-copy-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin-top: 14px;
}
.receive-copy-btn .ic { width: 15px; height: 15px; }

/* ===== 转账弹层 ===== */
.transfer-balance {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 13px 15px;
  border-radius: 14px;
  background:
    radial-gradient(120% 140% at 100% 0%, rgba(255, 226, 164, 0.22), transparent 60%),
    linear-gradient(135deg, #132544 0%, #1b3860 52%, #24518a 100%);
  border: 1px solid rgba(232, 199, 134, 0.5);
  box-shadow: 0 12px 24px rgba(18, 42, 84, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.16);
}
.transfer-balance span {
  font-size: 10.5px;
  letter-spacing: 0.6px;
  color: #c9d8ee;
}
.transfer-balance b {
  font-size: 17px;
  font-weight: 700;
  color: #f6e3b0;
}
.transfer-balance b em {
  font-style: normal;
  margin-left: 2px;
  font-size: 10.5px;
  font-weight: 500;
  color: rgba(244, 231, 204, 0.72);
}
.transfer-balance + .field-label { margin-top: 16px; }
.transfer-target {
  font-size: 11px;
  line-height: 1.5;
  margin-top: 6px;
  min-height: 0;
}
.transfer-target.ok { color: #18895a; }
.transfer-target.bad { color: #e2553e; }
.transfer-tip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin-top: 11px;
  font-size: 10.5px;
  color: #93a4ba;
}
.transfer-tip .ic { width: 12px; height: 12px; color: #c9a04c; }

/* ===== 转账凭证 ===== */
.receipt-hero {
  position: relative;
  overflow: hidden;
  margin-top: 6px;
  padding: 22px 16px 17px;
  border-radius: 18px;
  text-align: center;
  background:
    radial-gradient(120% 150% at 100% 0%, rgba(255, 226, 164, 0.24), transparent 58%),
    linear-gradient(140deg, #132544 0%, #1b3860 54%, #24518a 100%);
  border: 1px solid rgba(232, 199, 134, 0.52);
  box-shadow: 0 16px 32px rgba(18, 42, 84, 0.26), inset 0 1px 0 rgba(255, 255, 255, 0.16);
}
.receipt-hero::before {
  content: "";
  position: absolute;
  right: -52px;
  top: -66px;
  width: 168px;
  height: 168px;
  border-radius: 50%;
  border: 15px solid rgba(240, 217, 155, 0.1);
  pointer-events: none;
}
.receipt-hero::after {
  content: "";
  position: absolute;
  left: -44px;
  bottom: -78px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  border: 12px solid rgba(255, 255, 255, 0.05);
  pointer-events: none;
}
.receipt-check {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(150deg, #47cf94 0%, #1c9d67 58%, #118652 100%);
  box-shadow:
    0 0 0 4px rgba(240, 217, 155, 0.22),
    0 0 0 5px rgba(240, 217, 155, 0.42),
    0 10px 20px rgba(6, 32, 60, 0.35);
}
.receipt-check .ic {
  width: 22px;
  height: 22px;
  color: #fff;
  stroke-width: 2.6;
}
.receipt-status {
  margin-top: 12px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  color: #f3e2b4;
}
.receipt-amount {
  margin-top: 7px;
  font-size: clamp(22px, 7vw, 28px);
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #ffefca;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
}
.receipt-amount em {
  font-style: normal;
  margin-left: 4px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.4px;
  color: rgba(244, 231, 204, 0.68);
}
.receipt-no {
  margin-top: 11px;
  font-size: 10px;
  letter-spacing: 0.5px;
  color: rgba(203, 216, 236, 0.72);
}
.receipt-rows {
  margin-top: 14px;
  padding: 2px 15px;
  border-radius: 16px;
  background: linear-gradient(180deg, #ffffff 0%, #fffdf8 100%);
  border: 1px solid rgba(226, 199, 142, 0.42);
  box-shadow: 0 10px 24px rgba(24, 44, 82, 0.07), inset 0 1px 0 #fff;
}
.receipt-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 0;
  border-bottom: 1px dashed rgba(226, 214, 190, 0.72);
}
.receipt-row:last-child { border-bottom: 0; }
.receipt-k {
  flex: 0 0 auto;
  padding-top: 1px;
  font-size: 11.5px;
  color: #9a8d76;
}
.receipt-v {
  flex: 1;
  min-width: 0;
  text-align: right;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.45;
  color: #22374f;
  word-break: break-all;
}
.receipt-v-sub {
  margin-top: 3px;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.2px;
  color: #93a4ba;
}
.receipt-v.receipt-ok {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 5px;
  color: #18895a;
}
.receipt-v.receipt-ok::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #1c9d67;
  box-shadow: 0 0 0 3px rgba(28, 157, 103, 0.14);
}
.receipt-tip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin: 13px 0 4px;
  font-size: 10.5px;
  color: #93a4ba;
}
.receipt-tip .ic { width: 12px; height: 12px; color: #c9a04c; }
.sheet[data-kind="receipt"] .btn-primary { margin-top: 6px; }

/* 账单中可查看凭证的转账记录 */
.bill-item.bill-link, .notif-item.notif-link { cursor: pointer; -webkit-tap-highlight-color: transparent; }
.bill-item.bill-link:active, .notif-item.notif-link:active { background: #fdf9f0; }
.notif-ic.transfer { background: #fff6e6; color: #b8802a; }
.bill-chev {
  align-self: center;
  flex: 0 0 auto;
  width: 13px;
  height: 13px;
  margin-left: 1px;
  color: #c2a765;
  stroke-width: 1.8;
}

/* 客服主卡：皇家蓝 × 鎏金 */
.sheet[data-kind="support"] .support-hero {
  padding: 14px;
  border-radius: 15px;
  background:
    radial-gradient(120% 140% at 100% 0%, rgba(255, 226, 164, 0.22), transparent 58%),
    linear-gradient(135deg, #132544 0%, #1b3860 52%, #24518a 100%);
  border: 1px solid rgba(232, 199, 134, 0.5);
  box-shadow: 0 14px 28px rgba(18, 42, 84, 0.26), inset 0 1px 0 rgba(255, 255, 255, 0.16);
}
.sheet[data-kind="support"] .support-hero .mi {
  background: linear-gradient(145deg, #f6e3b0, #d8ae5c 55%, #b8862e);
  color: #1a2b45;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.34), 0 8px 18px rgba(0, 0, 0, 0.22);
}
.sheet[data-kind="support"] .support-hero .mi .ic { stroke-width: 2.1; }
.sheet[data-kind="support"] .support-hero .verified-title {
  color: #fff4dc;
  font-size: 13px;
  letter-spacing: 0.3px;
}
.sheet[data-kind="support"] .support-hero .verified-sub { color: rgba(255, 240, 211, 0.72); }

/* 金色主按钮 */
.sheet[data-kind="support"] .btn-primary,
.sheet[data-kind="pin"] .btn-primary {
  height: 48px;
  border-radius: 14px;
  color: #2a1d05;
  font-weight: 800;
  letter-spacing: 1px;
  background: linear-gradient(135deg, #ffedbb 0%, #eccb85 40%, #d0a24a 72%, #b8862e 100%);
  box-shadow:
    0 12px 24px rgba(184, 134, 46, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

/* 客服快捷入口 */
.sheet[data-kind="support"] .support-links {
  margin-top: 14px;
  background: linear-gradient(180deg, #fffdf8, #ffffff);
  border: 1px solid rgba(226, 199, 142, 0.42);
  box-shadow: 0 10px 22px rgba(31, 64, 120, 0.07);
}
.sheet[data-kind="support"] .support-links .menu-row { min-height: 56px; }
.sheet[data-kind="support"] .support-links .menu-row .mi {
  box-shadow:
    0 0 0 1px rgba(226, 199, 142, 0.5),
    0 5px 12px rgba(31, 64, 120, 0.16);
}
.sheet[data-kind="support"] .support-links .menu-label { color: #2b3d56; font-weight: 600; }
.sheet[data-kind="support"] .support-links .menu-row + .menu-row { border-top: 1px solid #f7f1e4; }

/* 客服内跳 iframe */
.support-frame-wrap {
  margin: 2px -20px -8px;
  height: min(66vh, 560px);
  background: #f6f3ec;
  border-radius: 14px 14px 0 0;
  overflow: hidden;
}
.support-frame { width: 100%; height: 100%; border: 0; display: block; background: #fff; }

/* 安全开关 */
.sheet[data-kind="security"] .switch-row {
  margin-top: 10px;
  padding: 14px;
  border: 1px solid #f1e7d3;
  border-radius: 13px;
  background: linear-gradient(180deg, #fffdf8, #ffffff);
  font-size: 13px;
  font-weight: 600;
  color: #2b3d56;
  box-shadow: 0 5px 14px rgba(31, 64, 120, 0.04);
}
.sheet[data-kind="security"] .switch { background: #e8e1d3; box-shadow: inset 0 1px 2px rgba(90, 70, 30, 0.12); }
.sheet[data-kind="security"] .switch-row input:checked + .switch {
  background: linear-gradient(135deg, #e8c583, #c39a45);
  box-shadow: 0 4px 12px rgba(195, 154, 69, 0.36);
}

/* 支付密码输入 */
.sheet[data-kind="pin"] .field-label {
  color: #7d6c4e;
  font-weight: 600;
  letter-spacing: 0.2px;
}
.sheet[data-kind="pin"] .input {
  background: #fbf8f1;
  border: 1px solid rgba(226, 199, 142, 0.4);
  color: #22344f;
  box-shadow: inset 0 1px 3px rgba(120, 90, 20, 0.05);
}
.sheet[data-kind="pin"] .input::placeholder { color: #b6aa92; }
.sheet[data-kind="pin"] .input:focus {
  background: #fffdf7;
  border-color: rgba(206, 163, 80, 0.75);
  box-shadow: 0 0 0 3px rgba(226, 181, 90, 0.16);
}
.sheet[data-kind="pin"] .btn-block { margin-top: 18px; }

/* 提示条 */
.sheet[data-kind="support"] .notice,
.sheet[data-kind="security"] .notice,
.sheet[data-kind="pin"] .notice {
  margin: 14px 0 4px;
  padding: 10px 11px;
  border-radius: 11px;
  background: #fbf7ee;
  border: 1px dashed rgba(217, 178, 95, 0.42);
  color: #9a8a6d;
}
.sheet[data-kind="support"] .notice .ic,
.sheet[data-kind="security"] .notice .ic,
.sheet[data-kind="pin"] .notice .ic { color: #c39a45; }

/* ===== 挂单发布入口 ===== */
/* 「我要卖」订单子页签 + 底部出售按钮 */
.sortbar[hidden], .sell-bar[hidden] { display: none; }
.sell-bar {
  display: flex;
  justify-content: center;
  padding: 10px 15px 12px;
  border-top: 1px solid #f4f7fb;
}
.sell-tabs { gap: 28px; }
.trade-sell-cta {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 92px;
  z-index: 55;
  width: 200px;
  height: 46px;
  border-radius: 23px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 2px;
  color: #2a1d05;
  background: linear-gradient(135deg, #ffedbb 0%, #eccb85 40%, #d0a24a 72%, #b8862e 100%);
  box-shadow:
    0 14px 28px rgba(184, 134, 46, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
}
.trade-sell-cta[hidden] { display: none; }
.trade-sell-cta:active { transform: translateX(-50%) translateY(1px); }

/* ===== 转账凭证 ===== */
.proof-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin: 14px 0 7px;
}
.proof-head span { font-size: 12px; font-weight: 600; color: #2b3d56; }
.proof-head em { font-size: 10px; font-style: normal; color: #a0adbf; }
.proof-upload {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px;
  border-radius: 13px;
  border: 1px dashed rgba(195, 154, 69, 0.52);
  background: linear-gradient(180deg, #fffdf8, #fdf9f1);
  text-align: left;
  color: #2b3d56;
  transition: transform 0.15s, border-color 0.15s;
}
.proof-upload:active { transform: scale(0.995); }
.proof-upload.has-proof { border-style: solid; border-color: rgba(195, 154, 69, 0.45); }
.proof-ic {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: #c39a45;
  background: #ffffff;
  box-shadow: 0 4px 10px rgba(31, 64, 120, 0.08), inset 0 0 0 1px rgba(226, 199, 142, 0.4);
}
.proof-ic .ic { width: 20px; height: 20px; }
.proof-thumb {
  flex: none;
  width: 46px;
  height: 46px;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid rgba(226, 199, 142, 0.6);
  background: #ffffff;
}
.proof-copy { display: flex; flex-direction: column; gap: 3px; flex: 1; min-width: 0; }
.proof-copy b { font-size: 12.5px; font-weight: 600; }
.proof-copy em { font-size: 10px; font-style: normal; color: #9aa7b8; }
.proof-action {
  flex: none;
  padding: 5px 10px;
  border-radius: 9px;
  font-size: 11px;
  font-weight: 600;
  color: #a67c2e;
  background: rgba(226, 199, 142, 0.18);
}

/* 订单详情中的凭证 */
.proof-block {
  margin-top: 14px;
  padding: 12px;
  border-radius: 14px;
  border: 1px solid #f1e7d3;
  background: linear-gradient(180deg, #fffdf8, #fdf9f1);
}
.proof-block-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 9px;
  font-size: 12px;
  font-weight: 600;
  color: #2b3d56;
}
.proof-block-head em { font-size: 10px; font-style: normal; font-weight: 400; color: #a0adbf; }
.proof-block-img {
  position: relative;
  display: block;
  width: 100%;
  border-radius: 11px;
  overflow: hidden;
  border: 1px solid rgba(226, 199, 142, 0.45);
  background: #ffffff;
}
.proof-block-img img {
  display: block;
  width: 100%;
  max-height: 320px;
  object-fit: contain;
  background: #ffffff;
}
.proof-zoom {
  position: absolute;
  right: 8px;
  bottom: 8px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  border-radius: 8px;
  background: rgba(18, 33, 58, 0.78);
  color: #f4dfae;
  font-size: 10px;
}
.proof-zoom .ic { width: 12px; height: 12px; }
/* ===== 凭证放大查看 ===== */
.zoom-viewer {
  position: fixed;
  inset: 0;
  z-index: 640;
  display: flex;
  flex-direction: column;
  background: rgba(8, 15, 28, 0.95);
  opacity: 0;
  transition: opacity 0.18s ease;
}
.zoom-viewer.open { opacity: 1; }
.zoom-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: calc(14px + env(safe-area-inset-top, 0px)) 16px 8px;
  color: #ffffff;
}
.zoom-head-copy { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.zoom-head-copy b { font-size: 14px; font-weight: 600; }
.zoom-head-copy span {
  font-size: 10.5px;
  color: rgba(255, 255, 255, 0.62);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.zoom-close {
  flex: none;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}
.zoom-close .ic { width: 16px; height: 16px; }
.zoom-stage {
  flex: 1;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 6px 12px;
  touch-action: none;
  cursor: zoom-in;
}
.zoom-stage.zoomed { cursor: grab; }
.zoom-stage img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  transform-origin: center center;
  will-change: transform;
  user-select: none;
  -webkit-user-drag: none;
  -webkit-touch-callout: none;
}
.zoom-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 16px 16px;
}
.zoom-bar button {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.12);
  color: #f4dfae;
  font-size: 20px;
  font-weight: 600;
}
.zoom-bar button.zoom-reset { width: auto; padding: 0 16px; font-size: 12px; }
.zoom-bar button:active { transform: translateY(1px); }
.zoom-scale {
  min-width: 52px;
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  color: #ffffff;
}
.zoom-hint {
  padding: 0 16px calc(14px + env(safe-area-inset-bottom, 0px));
  text-align: center;
  font-size: 10px;
  color: rgba(255, 255, 255, 0.45);
}

/* 订单卡片凭证标记 */
.proof-tag {
  font-size: 9.5px;
  font-weight: 600;
  color: #a67c2e;
  background: #fbf3e2;
  border-radius: 4px;
  padding: 1.5px 5px;
}

/* ===== 转账支付密码弹窗 ===== */
.pay-layer {
  position: fixed;
  inset: 0;
  z-index: 460;
  display: flex;
  flex-direction: column;
  opacity: 0;
  transition: opacity 0.2s ease;
}
.pay-layer[hidden] { display: none; }
.pay-layer.open { opacity: 1; }
.pay-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(9, 18, 32, 0.6);
  -webkit-backdrop-filter: blur(1.5px);
  backdrop-filter: blur(1.5px);
}
.pay-panel {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding-top: clamp(26px, 7vh, 68px);
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.pay-card {
  width: min(84vw, 340px);
  margin: 0 auto;
  padding: 14px 18px 22px;
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 24px 60px rgba(4, 12, 26, 0.32);
  transform: translateY(10px) scale(0.98);
  transition: transform 0.22s ease;
}
.pay-layer.open .pay-card { transform: none; }
.pay-card-head {
  position: relative;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pay-card-head h3 {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.3px;
  color: #14171c;
}
.pay-x {
  position: absolute;
  left: -6px;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  color: #1b1f26;
  -webkit-tap-highlight-color: transparent;
}
.pay-x .ic { width: 18px; height: 18px; stroke-width: 2.1; }
.pay-to {
  margin-top: 24px;
  text-align: center;
  font-size: 13px;
  color: #3a4048;
}
.pay-to b { font-weight: 600; color: #14171c; }
#payLayer .pay-amount {
  margin-top: 11px;
  padding: 0;
  text-align: center;
  font-size: clamp(25px, 8vw, 32px);
  font-weight: 600;
  letter-spacing: 0.3px;
  color: #0d1014;
}
#payLayer .pay-amount #payAmount {
  display: inline;
  font-size: inherit;
  font-weight: inherit;
  color: inherit;
}
#payLayer .pay-amount em {
  font-style: normal;
  margin-left: 4px;
  font-size: 14px;
  font-weight: 500;
  color: #4d545d;
}
.pay-dots {
  display: flex;
  justify-content: center;
  gap: clamp(6px, 1.8vw, 10px);
  margin-top: 25px;
}
.pay-dot {
  width: clamp(30px, 9.6vw, 38px);
  height: 44px;
  border-radius: 7px;
  background: #f1f2f4;
  display: grid;
  place-items: center;
  transition: background 0.15s ease;
}
.pay-dot.filled::after {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #12161c;
}
.pay-error {
  width: fit-content;
  max-width: min(86vw, 340px);
  margin: 12px auto 0;
  padding: 6px 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.93);
  box-shadow: 0 6px 16px rgba(5, 12, 24, 0.16);
  text-align: center;
  font-size: 11.5px;
  color: #c0392b;
  display: none;
}
.pay-error.show { display: block; }
.pay-submit {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(86vw, 340px);
  height: 48px;
  margin: 18px auto 0;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  text-align: center;
  color: #ffffff;
  background: linear-gradient(135deg, #1f5fc4, #2f7dfa);
  box-shadow: 0 10px 22px rgba(19, 62, 132, 0.28);
  transition: background 0.15s ease, box-shadow 0.15s ease, color 0.15s ease;
  -webkit-tap-highlight-color: transparent;
}
.pay-submit:disabled {
  background: #0b2545;
  color: rgba(255, 255, 255, 0.72);
  box-shadow: none;
}
.pay-keypad {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  max-width: 100%;
  background: #ffffff;
  border-top: 1px solid #dfe3e8;
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
.pay-keypad button {
  flex: 0 0 33.3333%;
  width: 33.3333%;
  min-width: 0;
  height: clamp(44px, 7.2vh, 58px);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 400;
  color: #14171c;
  background: #ffffff;
  border-right: 1px solid #e9ecef;
  border-bottom: 1px solid #e9ecef;
  -webkit-tap-highlight-color: transparent;
}
.pay-keypad button:nth-child(3n) { border-right: 0; }
.pay-keypad button:active { background: #eef0f3; }
.pay-keypad .pay-key-ghost {
  background: #e9ebee;
  border-right: 1px solid #e9ecef;
}
.pay-keypad .pay-key-del { background: #e9ebee; }
.pay-keypad .pay-key-del .ic {
  width: 22px;
  height: 22px;
  color: #3d444d;
  stroke-width: 1.7;
}
@keyframes payShake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-7px); }
  40% { transform: translateX(6px); }
  60% { transform: translateX(-4px); }
  80% { transform: translateX(3px); }
}
.pay-card.shake { animation: payShake 0.38s ease; }

@media (max-height: 720px) {
  .pay-panel { padding-top: 18px; }
  .pay-to { margin-top: 16px; }
  .pay-dots { margin-top: 16px; }
  .pay-dot { height: 40px; }
  .pay-card { padding-bottom: 16px; }
  .pay-submit { height: 44px; margin-top: 12px; }
  .pay-keypad button { height: clamp(44px, 7vh, 50px); }
}

@media (max-height: 620px) {
  .pay-panel { padding-top: 10px; }
  .pay-card { padding: 10px 16px 14px; }
  .pay-to { margin-top: 10px; }
  .pay-amount { margin-top: 6px; }
  .pay-dots { margin-top: 12px; }
  .pay-dot { height: 36px; }
  .pay-submit { margin-top: 8px; height: 42px; }
  .pay-keypad button { font-size: 20px; }
}

/* ================= 扫一扫 ================= */
.scan-wrap {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: 4px;
}
.scan-stage {
  position: relative;
  width: 100%;
  height: min(54vh, 420px);
  min-height: 300px;
  border-radius: 22px;
  overflow: hidden;
  background: radial-gradient(circle at 50% 38%, #1d3356 0%, #0a1729 74%);
  box-shadow: 0 18px 40px rgba(12, 34, 66, 0.28);
}
.scan-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.scan-stage.cam-on .scan-video { opacity: 1; }
.scan-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 34px;
  text-align: center;
  transition: opacity 0.25s ease;
}
.scan-stage.cam-on .scan-placeholder { opacity: 0; pointer-events: none; }
.scan-ph-ic {
  width: 58px;
  height: 58px;
  border-radius: 19px;
  display: grid;
  place-items: center;
  background: rgba(90, 167, 255, 0.16);
  color: #79b6ff;
  margin-bottom: 2px;
}
.scan-ph-ic .ic { width: 29px; height: 29px; stroke-width: 1.6; }
.scan-placeholder b { font-size: 13.5px; font-weight: 600; color: #e6efff; }
.scan-placeholder em {
  font-style: normal;
  font-size: 11.5px;
  line-height: 1.65;
  color: #9fb4d2;
}
.scan-frame {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 62%;
  max-width: 250px;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
}
.scan-frame span {
  position: absolute;
  width: 22px;
  height: 22px;
  border: 0 solid #6db4ff;
}
.scan-frame span:nth-child(1) { left: 0; top: 0; border-left-width: 3px; border-top-width: 3px; border-top-left-radius: 10px; }
.scan-frame span:nth-child(2) { right: 0; top: 0; border-right-width: 3px; border-top-width: 3px; border-top-right-radius: 10px; }
.scan-frame span:nth-child(3) { left: 0; bottom: 0; border-left-width: 3px; border-bottom-width: 3px; border-bottom-left-radius: 10px; }
.scan-frame span:nth-child(4) { right: 0; bottom: 0; border-right-width: 3px; border-bottom-width: 3px; border-bottom-right-radius: 10px; }
.scan-line {
  position: absolute;
  left: 7%;
  right: 7%;
  top: 8%;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, rgba(90, 167, 255, 0), #6db4ff, rgba(90, 167, 255, 0));
  box-shadow: 0 0 12px rgba(109, 180, 255, 0.85);
  animation: scanMove 2.2s ease-in-out infinite;
}
@keyframes scanMove {
  0%, 100% { top: 8%; opacity: 0.5; }
  50% { top: 88%; opacity: 1; }
}
.scan-status {
  position: absolute;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  max-width: 88%;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(9, 22, 41, 0.62);
  color: #e8f1ff;
  font-size: 11.5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  backdrop-filter: blur(6px);
}
.scan-status.bad { background: rgba(163, 38, 38, 0.82); }
.scan-hint {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  font-size: 11px;
  line-height: 1.6;
  color: #8496ad;
}
.scan-hint .ic {
  width: 13px;
  height: 13px;
  margin-top: 1px;
  flex: 0 0 auto;
  color: #c2a765;
}
.scan-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.scan-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 46px;
  border-radius: 14px;
  background: #ffffff;
  color: #2c4b7c;
  font-size: 12.5px;
  font-weight: 600;
  box-shadow: 0 8px 18px rgba(39, 80, 140, 0.1);
}
.scan-btn .ic { width: 16px; height: 16px; color: #2f7dfa; }
.scan-btn:active { background: #f4f8ff; }

/* ================= 前端主题：皇家午夜蓝 × 鎏金 ================= */
:root {
  --gold-1: #f6e4b8;
  --gold-2: #e3c384;
  --gold-3: #c2a765;
  --night-line: rgba(226, 198, 137, 0.16);
}

body {
  background:
    radial-gradient(900px 520px at 50% -12%, rgba(198, 160, 83, 0.12), transparent 62%),
    #050a16;
}

.app {
  background:
    radial-gradient(120% 46% at 50% -8%, rgba(231, 195, 122, 0.14), transparent 60%),
    radial-gradient(90% 44% at 108% 4%, rgba(74, 112, 214, 0.18), transparent 64%),
    linear-gradient(180deg, #0a152b 0%, #0b1730 44%, #0c1a36 100%);
  box-shadow: 0 0 70px rgba(0, 0, 0, 0.55);
}

.appbar .brand h1 { color: #f6ecd9; letter-spacing: 0.4px; }
.appbar .logo {
  background: linear-gradient(145deg, #fbeec8 0%, #e3bd6f 48%, #b98634 100%);
  box-shadow: 0 6px 16px rgba(190, 148, 66, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}
.appbar .logo i { color: #2a1c05; }
.appbar .logo b { background: #2a1c05; opacity: 0.55; }
.appbar .pill-btn {
  background: rgba(255, 255, 255, 0.07);
  color: #ecd7a6;
  border: 1px solid rgba(240, 215, 160, 0.22);
  backdrop-filter: blur(8px);
}
.appbar .pill-btn:active { background: rgba(255, 255, 255, 0.15); }

.home-body .section-head h2 {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #f2e5c9;
  letter-spacing: 0.5px;
}
.home-body .section-head h2::before {
  content: "";
  width: 3px;
  height: 14px;
  border-radius: 2px;
  background: linear-gradient(180deg, #f7e3b0, #c2a765);
  box-shadow: 0 0 8px rgba(231, 199, 130, 0.4);
}

.banner {
  background:
    radial-gradient(120px 90px at 88% 10%, rgba(244, 214, 150, 0.18), transparent 70%),
    radial-gradient(160px 120px at 8% 112%, rgba(63, 110, 214, 0.32), transparent 70%),
    linear-gradient(122deg, #10224a 0%, #0e1a38 52%, #151a3e 100%);
  border: 1px solid rgba(231, 199, 130, 0.32);
  box-shadow: 0 14px 32px rgba(2, 8, 22, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.banner-title { color: #f7ead0; }
.banner-sub { color: #c9b790; }

.quick-grid {
  background: linear-gradient(158deg, rgba(28, 46, 82, 0.9), rgba(12, 22, 44, 0.94));
  border: 1px solid rgba(226, 198, 137, 0.18);
  box-shadow: 0 16px 34px rgba(2, 8, 22, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.quick-item + .quick-item::before {
  background: linear-gradient(180deg, transparent, rgba(231, 199, 130, 0.3), transparent);
}
.q-ic { color: #e8cb8f; }
.quick-label { color: #d7e2f2; }
.red-dot { border-color: #10203c; }

.action-card {
  background:
    radial-gradient(80px 60px at 82% 18%, rgba(244, 214, 150, 0.14), transparent 70%),
    linear-gradient(140deg, #15294c 0%, #0d1a36 100%);
  box-shadow: inset 0 0 0 1px rgba(226, 198, 137, 0.18), 0 12px 26px rgba(2, 8, 22, 0.32);
}
.action-copy b { color: #f4e7cd; }
.action-copy em { color: #d3ad6a; }

.learn-card, .faq-card {
  background: linear-gradient(158deg, rgba(28, 46, 82, 0.84), rgba(12, 22, 44, 0.92));
  box-shadow: inset 0 0 0 1px rgba(226, 198, 137, 0.16), 0 12px 26px rgba(2, 8, 22, 0.3);
}
.learn-copy b, .faq-head h3 { color: #f2e7cf; }
.learn-copy em { color: #9fb0c9; }
.faq-list li + li { border-top-color: rgba(226, 198, 137, 0.12); }
.faq-list button { color: #b9c6da; }
.faq-list button:active { color: #f0d79c; }
.link-btn { color: #e6c887; }

.trade-head {
  background: rgba(10, 21, 43, 0.94);
  border-bottom: 1px solid rgba(226, 198, 137, 0.1);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.32);
}
.trade-tab { color: #8ea0ba; }
.trade-tab.active { color: #f4e8d0; }
.trade-head .pill-btn {
  background: rgba(255, 255, 255, 0.07);
  color: #ecd7a6;
  border: 1px solid rgba(240, 215, 160, 0.2);
}
.trade-head .pill-btn:active { background: rgba(255, 255, 255, 0.15); }
.sortbar { border-top-color: rgba(255, 255, 255, 0.06); color: #93a4bd; }
.sell-bar { border-top-color: rgba(255, 255, 255, 0.06); }
.sort-chip { color: #93a4bd; }
.sort-chip.active, .filter-chip.has-filter { color: #e8cb8f; }
.sort-ind { color: #6f8098; }
.sort-chip.active .sort-ind { color: #e8cb8f; }
.sort-label { color: #93a4bd; }
.filter-chip { color: #c6d3e6; }
.list-meta { color: #a7b6cb; }
.list-meta b { color: #e8cb8f; }

.orders-head {
  background: rgba(10, 21, 43, 0.94);
  border-bottom: 1px solid rgba(226, 198, 137, 0.1);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.32);
}
.orders-tab { color: #8ea0ba; }
.orders-tab.active { color: #f4e8d0; }
.orders-tab.active::after { background: linear-gradient(90deg, #f3dba4, #c2a765); }
.orders-head .pill-btn {
  background: rgba(255, 255, 255, 0.07);
  color: #ecd7a6;
  border: 1px solid rgba(240, 215, 160, 0.2);
}
.orders-head .pill-btn:active { background: rgba(255, 255, 255, 0.15); }
.status-chip { color: #a9b7cb; }
.status-chip.active { background: rgba(231, 199, 130, 0.14); color: #f0d79c; }

.empty-title { color: #c5d0e0; }
.empty-sub { color: #93a4bd; }

.tabbar {
  background: rgba(10, 20, 40, 0.94);
  border-top: 1px solid rgba(226, 198, 137, 0.14);
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(16px);
}
.tab-item { color: #8fa0b9; }
.tab-item.active { color: #e9cd92; }

/* ================= 语言切换 ================= */
.appbar-actions { display: flex; align-items: center; gap: 8px; }
.pill-btn.lang-pill {
  width: auto;
  min-width: 62px;
  padding: 0 10px;
  gap: 5px;
}
.pill-btn.lang-pill .ic { width: 14px; height: 14px; }
.pill-btn.lang-pill b {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.4px;
  line-height: 1;
}
.appbar .lang-pill { color: #f0d79c; }

.auth-brand .auth-lang {
  margin-left: auto;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 34px;
  padding: 0 11px;
  border-radius: 17px;
  border: 1px solid rgba(240, 215, 160, 0.3);
  background: rgba(247, 214, 144, 0.08);
  color: #efd598;
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease;
}
.auth-brand .auth-lang:active { background: rgba(247, 214, 144, 0.18); }
.auth-brand .auth-lang .ic { width: 14px; height: 14px; }
.auth-brand .auth-lang b {
  display: inline;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #f4dfa9;
  text-shadow: none;
}

.lang-layer {
  position: fixed;
  inset: 0;
  z-index: 700;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.18s ease;
}
.lang-layer[hidden] { display: none; }
.lang-layer.open { opacity: 1; }
.lang-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 8, 18, 0.66);
  backdrop-filter: blur(5px);
}
.lang-panel {
  position: relative;
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
  padding: 18px 16px calc(20px + env(safe-area-inset-bottom));
  border-radius: 24px 24px 0 0;
  border: 1px solid rgba(240, 215, 160, 0.2);
  border-bottom: none;
  background:
    radial-gradient(120% 60% at 50% -10%, rgba(231, 195, 122, 0.16), transparent 62%),
    linear-gradient(180deg, #10224a 0%, #0b1830 100%);
  box-shadow: 0 -22px 60px rgba(0, 0, 0, 0.55);
  transform: translateY(18px);
  transition: transform 0.22s ease;
}
.lang-layer.open .lang-panel { transform: translateY(0); }
.lang-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.lang-head-ic {
  width: 34px;
  height: 34px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  color: #2a1c05;
  background: linear-gradient(145deg, #fbeec8 0%, #e3bd6f 52%, #bd8d33 100%);
  box-shadow: 0 5px 14px rgba(190, 148, 66, 0.32);
}
.lang-head-ic .ic { width: 17px; height: 17px; }
.lang-head h3 {
  flex: 1;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.3px;
  color: #f6ecd9;
}
.lang-close {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid rgba(240, 215, 160, 0.18);
  background: rgba(255, 255, 255, 0.05);
  color: #c9b58c;
}
.lang-close .ic { width: 14px; height: 14px; }
.lang-options { display: flex; flex-direction: column; gap: 8px; }
.lang-option {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 12px 13px;
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.04);
  color: #dbe6f5;
  text-align: left;
  transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}
.lang-option:active { background: rgba(255, 255, 255, 0.08); }
.lang-option.active {
  border-color: rgba(240, 215, 160, 0.55);
  background: linear-gradient(120deg, rgba(240, 215, 160, 0.16), rgba(240, 215, 160, 0.05));
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.lang-code {
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  border-radius: 11px;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.3px;
  color: #efd598;
  background: rgba(240, 215, 160, 0.1);
  border: 1px solid rgba(240, 215, 160, 0.18);
}
.lang-option.active .lang-code {
  color: #2a1c05;
  background: linear-gradient(145deg, #fbeec8 0%, #e3bd6f 55%, #c19a4e 100%);
  border-color: transparent;
}
.lang-name {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 14px;
  font-weight: 600;
}
.lang-name small {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.4px;
  color: #8fa0b9;
}
.lang-check {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #0a152b;
  border: 1px solid rgba(255, 255, 255, 0.14);
  opacity: 0.35;
}
.lang-check .ic { width: 12px; height: 12px; stroke-width: 2.8; }
.lang-option.active .lang-check {
  opacity: 1;
  border-color: transparent;
  background: linear-gradient(145deg, #fbeec8, #d9b26a);
}

/* 缅甸语字体与紧凑排版 */
html[lang="my"] body,
html[lang="my"] button,
html[lang="my"] input,
html[lang="my"] textarea {
  font-family: "Myanmar Text", "Padauk", "Noto Sans Myanmar", "Myanmar Sangam MN", "Segoe UI", sans-serif;
  letter-spacing: 0;
}
html[lang="my"] .trade-tab,
html[lang="my"] .orders-tab { font-size: 12px; letter-spacing: 0; }
html[lang="my"] .tab-item span { font-size: 10px; letter-spacing: 0; }
html[lang="my"] .quick-label { font-size: 10px; letter-spacing: 0; }
html[lang="my"] .pill-btn.lang-pill b { font-size: 9.5px; letter-spacing: 0; }
html[lang="my"] .auth-tabs button { letter-spacing: 0; }
html[lang="my"] .status-chip { letter-spacing: 0; }
html[lang="my"] .lang-name { letter-spacing: 0; }
/* 缅甸语资产卡：标题字形较高，单独留出空间，避免压到余额 */
html[lang="my"] .asset-title { font-size: 12px; letter-spacing: 0; line-height: 1.7; }
html[lang="my"] .asset-balance { margin-top: 22px; }
html[lang="my"] .asset-chips { gap: 5px; }
html[lang="my"] .asset-chip {
  font-size: 10px;
  letter-spacing: 0;
  padding: 2.5px 6px;
  border-radius: 6px;
}

/* ================= 启动页 ================= */
.splash-screen {
  position: fixed;
  inset: 0;
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #021250;
  overflow: hidden;
  opacity: 1;
  transition: opacity .45s ease;
}
.splash-screen.is-hiding { opacity: 0; pointer-events: none; }
.splash-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  user-select: none;
  -webkit-user-select: none;
  -webkit-user-drag: none;
}
.splash-skip {
  position: absolute;
  top: calc(14px + env(safe-area-inset-top));
  right: calc(16px + env(safe-area-inset-right));
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border: 1px solid rgba(255, 255, 255, .42);
  border-radius: 999px;
  background: rgba(6, 14, 44, .46);
  color: #fff;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  transition: transform .15s ease;
}
.splash-skip b { font-variant-numeric: tabular-nums; font-weight: 700; }
.splash-skip:active { transform: scale(.94); }
