:root {
  color-scheme: dark;
  --bg: #0a0b0e;
  --bg-2: #12141a;
  --bg-3: #181b22;
  --line: #2a261c;
  --gold: #d4af37;
  --gold-2: #f1d48a;
  --text: #f6f1e6;
  --muted: #9a9284;
  --up: #3dd68c;
  --down: #ff5c6c;
  --radius: 16px;
  font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  background: var(--bg);
  color: var(--text);
}

* { box-sizing: border-box; }

html, body, #app {
  margin: 0;
  min-height: 100%;
  background:
    radial-gradient(circle at top right, rgba(212, 175, 55, 0.12), transparent 28%),
    var(--bg);
}

a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; }

.app-shell { min-height: 100vh; }
.main { padding: 20px 20px 96px; max-width: 1280px; margin: 0 auto; }
.is-login .main { padding: 0; max-width: none; }

.login-showcase { display: none; }
.login-fields { display: block; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 12px 20px;
  background: rgba(10, 11, 14, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand, .login-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}

.brand em {
  display: block;
  font-style: normal;
  color: var(--muted);
  font-size: 11px;
  font-weight: 400;
}

.brand-logo,
.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  background: linear-gradient(135deg, #f3d77a, #d4af37);
  color: #1a1406;
  font-weight: 800;
}

.pc-nav { display: none; gap: 8px; }
.pc-nav a {
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--muted);
}
.pc-nav a.router-link-active {
  color: #1a1406;
  background: linear-gradient(135deg, #f3d77a, #d4af37);
}

.header-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.lang-switch { display: flex; gap: 6px; }
.lang-switch button,
.ghost-btn,
.line-btn,
.chips button,
.period-bar button,
.side-tabs button,
.book-tabs button,
.login-tabs button {
  border: 1px solid var(--line);
  background: var(--bg-3);
  color: var(--text);
  border-radius: 999px;
  padding: 7px 12px;
}
.lang-switch button.active,
.chips button.active,
.period-bar button.active {
  background: var(--gold);
  color: #1a1406;
  border-color: var(--gold);
}
.ghost-btn.gold,
.gold-btn {
  background: linear-gradient(135deg, #f3d77a, #d4af37);
  color: #1a1406;
  border: 0;
  border-radius: 999px;
  padding: 10px 18px;
  font-weight: 700;
}
.gold-btn.full { width: 100%; }
.gold-btn:disabled { opacity: 0.45; pointer-events: none; }
.line-btn { color: var(--gold-2); }

.tabbar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: #101218;
  border-top: 1px solid var(--line);
  padding: 8px 8px calc(8px + env(safe-area-inset-bottom));
}
.tab-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: var(--muted);
  font-size: 11px;
  padding: 6px 0;
}
.tab-item svg { width: 22px; height: 22px; fill: currentColor; }
.tab-item.router-link-active { color: var(--gold-2); }

.markets-page { display: grid; gap: 14px; }
.markets-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.markets-head h1 { margin: 0 0 4px; font-size: 22px; }
.markets-head .hint { margin: 0; }
.markets-search { margin: 0; }
.quote-list {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-2);
}
.quote-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 14px 16px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  text-align: left;
}
.quote-row:last-child { border-bottom: 0; }
.quote-name strong { display: block; font-size: 15px; }
.quote-name span { color: var(--muted); font-size: 12px; }
.quote-last {
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.quote-last b { display: block; font-size: 16px; }
.quote-last em { font-style: normal; font-size: 12px; }

.hero,
.account-card,
.guest-card,
.login-card,
.product-card,
.info-grid article,
.order-side,
.symbol-side {
  background: linear-gradient(180deg, rgba(212, 175, 55, 0.08), rgba(18, 20, 26, 0.95));
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.hero {
  display: grid;
  gap: 20px;
  padding: 24px;
  margin-bottom: 24px;
}
.eyebrow { color: var(--gold); letter-spacing: 0.18em; font-size: 12px; margin: 0 0 8px; }
.hero-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 8px;
}
.hero-title .brand-logo {
  width: 40px;
  height: 40px;
}
.hero-title span {
  min-width: 0;
}
.hero h1, .login-card h1, .guest-card h1, .account-top h1 { margin: 0 0 8px; }
.hero-desc, .guest-card p { color: var(--muted); }
.hero-copy {
  display: grid;
  gap: 10px;
  max-width: 46em;
}
.hero-copy .hero-desc {
  margin: 0;
  line-height: 1.8;
}
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.hero-stats { display: grid; gap: 10px; }
.hero-stats article {
  padding: 14px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.22);
  cursor: pointer;
}
.hero-stats span, .product-top span { color: var(--muted); font-size: 12px; }
.hero-stats strong, .product-price { display: block; font-size: 22px; margin: 4px 0; }
.up { color: var(--up); }
.down { color: var(--down); }

.section-head, .trade-head, .account-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-bottom: 14px;
}
.chips, .period-bar, .hero-actions, .fund-actions, .product-actions { display: flex; gap: 8px; flex-wrap: wrap; }

.product-grid, .info-grid { display: grid; gap: 12px; }
.product-card { padding: 16px; cursor: pointer; }
.product-top, .asset-row { display: flex; justify-content: space-between; gap: 8px; }
.product-actions span {
  flex: 1;
  text-align: center;
  padding: 8px;
  border-radius: 8px;
  font-size: 13px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1.2;
}
.product-actions small {
  font-size: 11px;
  opacity: 0.78;
  font-weight: 400;
}
.product-actions b {
  font-size: 13px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.buy { background: rgba(61, 214, 140, 0.12); color: var(--up); }
.sell { background: rgba(255, 92, 108, 0.12); color: var(--down); }

.info-grid { margin-top: 20px; }
.info-grid article { padding: 18px; }
.info-grid li, .info-grid p { color: var(--muted); line-height: 1.7; }

.trade-desk { display: grid; gap: 12px; }
.symbol-side { display: none; padding: 14px; }
.symbol-side button, .menu-list button {
  width: 100%;
  display: flex;
  justify-content: space-between;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  color: var(--text);
  padding: 12px 4px;
  text-align: left;
}
.symbol-side button.active { color: var(--gold-2); }
.symbol-side button small,
.product-pick-list small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 400;
}
.symbol-search {
  width: 100%;
  margin: 8px 0 12px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #0d0f14;
  color: var(--text);
}
.symbol-switch {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 0;
  background: transparent;
  border: 0;
  color: inherit;
  padding: 0;
  text-align: left;
  cursor: pointer;
}
.symbol-switch h1 { margin: 0; }
.symbol-switch em {
  color: var(--gold-2);
  font-style: normal;
  font-size: 12px;
  white-space: nowrap;
  border: 1px solid var(--gold);
  border-radius: 999px;
  padding: 3px 8px;
}
.product-sheet { max-height: min(80vh, 640px); }
.product-pick-list {
  max-height: min(52vh, 420px);
  overflow: auto;
}
.product-pick-list button {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  color: var(--text);
  padding: 12px 4px;
  text-align: left;
}
.product-pick-list button.active { color: var(--gold-2); }
.trade-head h1 span { color: var(--muted); font-size: 13px; margin-left: 8px; }
.last-price { color: var(--gold-2); margin: 0; }
.ticker-panel {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  justify-content: space-between;
  margin: 2px 0 12px;
}
.ticker-last { min-width: 0; flex: 1; }
.ticker-last strong {
  display: block;
  font-size: 32px;
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.03em;
}
.ticker-meta {
  display: flex;
  gap: 8px;
  align-items: baseline;
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
}
.ticker-meta em { font-style: normal; font-weight: 700; }
.ticker-stats {
  display: grid;
  grid-template-columns: auto auto;
  column-gap: 20px;
  row-gap: 8px;
  font-size: 11px;
  min-width: 0;
}
.ticker-stats span { color: var(--muted); }
.ticker-stats b {
  display: block;
  margin-top: 2px;
  color: var(--text);
  font-size: 13px;
  font-weight: 650;
}
.trade-tabs { grid-template-columns: 1.1fr 1fr 0.9fr; }
.depth-table { margin-bottom: 8px; }
.depth-head,
.depth-row {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  align-items: center;
  gap: 6px;
}
.depth-head {
  color: var(--muted);
  font-size: 11px;
  margin-bottom: 6px;
}
.depth-head span:last-child,
.depth-ask-qty { text-align: right; }
.depth-head span:nth-child(2) { text-align: center; }
.depth-row { position: relative; min-height: 22px; font-size: 12px; }
.depth-qty { position: relative; z-index: 1; }
.bid-bar,
.ask-bar {
  position: absolute;
  top: 0;
  bottom: 0;
  opacity: 0.2;
  pointer-events: none;
}
.bid-bar { left: 0; background: var(--up); }
.ask-bar { right: 0; background: var(--down); }
.depth-prices {
  display: flex;
  justify-content: space-between;
  gap: 6px;
  font-variant-numeric: tabular-nums;
}
.depth-prices b { font-weight: 650; }
.kline-chart {
  height: 200px;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  touch-action: pan-y;
}
.chart-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}
.chart-toolbar .period-bar {
  flex: 1;
  min-width: 0;
}
.chart-toggle {
  flex-shrink: 0;
  border: 1px solid var(--line);
  background: var(--bg-3);
  color: var(--text);
  border-radius: 999px;
  padding: 7px 12px;
  white-space: nowrap;
}
.submit-btn:disabled {
  opacity: 0.45;
  pointer-events: none;
}
.order-side { padding: 16px; }
.side-tabs, .book-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 12px; }
.book-tabs { grid-template-columns: 1fr 1fr; margin-top: 16px; }
.book-tabs.trade-tabs { grid-template-columns: 1.1fr 1fr 0.9fr; margin-top: 12px; }
.action-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.sheet-mask {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: rgba(0, 0, 0, 0.55);
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.sheet {
  width: min(480px, 100%);
  padding: 18px 18px 24px;
  border-radius: 20px 20px 0 0;
  background: #14161c;
  border: 1px solid var(--line);
}
.sheet header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.sheet header h2 { margin: 0; font-size: 18px; }
.sheet header button {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 0;
  background: var(--bg-3);
  color: var(--text);
}
.sheet-price { color: var(--gold-2); margin: 4px 0 12px; }
.sheet label {
  display: block;
  margin: 12px 0 8px;
  color: var(--muted);
  font-size: 13px;
}
.sheet .chips button { min-width: 64px; }
.plan-chips button {
  min-width: 72px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 8px 10px;
}
.plan-chips small { font-size: 11px; opacity: 0.85; }
.sheet label small { margin-left: 8px; font-weight: 400; }
.submit-btn {
  width: 100%;
  margin-top: 16px;
  border: 0;
  border-radius: 12px;
  padding: 14px;
  font-weight: 700;
}
@media (min-width: 960px) {
  .sheet-mask { align-items: center; }
  .sheet { border-radius: 20px; }
}
.submit-btn.buy { background: var(--up); color: #062314; }
.submit-btn.sell { background: var(--down); color: #fff; }
.book-tabs button.active, .login-tabs button.active {
  background: var(--gold);
  color: #1a1406;
}
.side-tabs button.buy.active { background: var(--up); color: #062314; border-color: var(--up); }
.side-tabs button.sell.active { background: var(--down); color: #fff; border-color: var(--down); }
.ticket {
  display: flex;
  justify-content: space-between;
  margin: 8px 0 12px;
  color: var(--muted);
  font-size: 12px;
}
.step-row {
  display: grid;
  grid-template-columns: 40px 1fr 40px;
  gap: 8px;
  margin-top: 6px;
}
.sheet .fill-max-btn {
  width: 100%;
  margin-top: 8px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(212, 175, 55, 0.45);
  background: rgba(212, 175, 55, 0.12);
  color: var(--gold-2);
  font-weight: 600;
}
.step-row button {
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--bg-3);
  color: var(--text);
}
.order-side label, .login-card label, .login-card .field {
  display: block;
  margin: 10px 0;
  color: var(--muted);
  font-size: 13px;
}
.login-card label small {
  margin-left: 6px;
  font-weight: 400;
  color: var(--muted);
}
.order-side input, .login-card input, .login-card select {
  width: 100%;
  margin-top: 6px;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #0d0f14;
  color: var(--text);
}
.phone-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px;
  align-items: center;
}
.captcha-row {
  display: grid;
  grid-template-columns: 1fr 128px;
  gap: 8px;
  align-items: stretch;
  margin-top: 6px;
}
.captcha-img {
  height: 44px;
  padding: 0;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #0d0f14;
  overflow: hidden;
  color: var(--muted);
  font-size: 12px;
}
.captcha-img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.captcha-row input { margin-top: 0; height: 44px; }
.login-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.picker { position: relative; z-index: 6; }
.picker-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-width: 108px;
  height: 44px;
  padding: 0 10px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #0d0f14;
  color: var(--text);
  white-space: nowrap;
}
.picker-trigger em { color: var(--muted); font-style: normal; }
.picker-mask {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(0, 0, 0, 0.45);
}
.picker-sheet {
  position: fixed;
  z-index: 81;
  display: flex;
  flex-direction: column;
  width: min(320px, calc(100vw - 24px));
  max-height: min(360px, calc(100vh - 24px));
  max-height: min(360px, calc(100dvh - 24px));
  padding: 10px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #14161c;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
}
.picker-sheet input {
  width: 100%;
  flex: 0 0 auto;
  margin: 0 0 8px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #0d0f14;
  color: var(--text);
}
.picker-list {
  flex: 1 1 auto;
  min-height: 0;
  max-height: min(56vh, 320px);
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}
.picker-list button {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 9px 6px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  text-align: left;
}
.picker-list button.active { color: var(--gold-2); }
.picker-list small { color: var(--muted); }
.empty-book, .hint { color: var(--muted); font-size: 13px; }
.ws-dot {
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--bg-3);
}
.ws-dot.connected { color: var(--up); }
.ws-dot.connecting { color: var(--gold); }
.ws-dot.closed { color: var(--down); }

.mine { display: grid; gap: 16px; }
.guest-card, .account-card {
  position: relative;
  overflow: hidden;
  padding: 22px 20px 20px;
  background:
    linear-gradient(145deg, rgba(241, 212, 138, 0.16) 0%, rgba(18, 20, 26, 0.96) 46%, rgba(12, 13, 18, 0.98) 100%);
  border: 1px solid rgba(212, 175, 55, 0.28);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.28);
}
.account-glow {
  pointer-events: none;
  position: absolute;
  top: -48px;
  right: -36px;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(241, 212, 138, 0.3), transparent 68%);
}
.account-card .account-top {
  position: relative;
  justify-content: flex-start;
  align-items: flex-start;
  margin-bottom: 8px;
}
.account-top .avatar,
.guest-card .avatar { margin-bottom: 0; flex-shrink: 0; }
.account-meta { min-width: 0; }
.account-name-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.account-card .account-top h1,
.account-meta h1 {
  margin: 0;
  font-size: 20px;
  letter-spacing: 0.02em;
}
.account-mail {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.verify-chip {
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(61, 214, 140, 0.14);
  color: var(--up);
  font-size: 11px;
  font-weight: 600;
}
.verify-chip.is-pending {
  background: rgba(212, 175, 55, 0.16);
  color: var(--gold-2);
}
.account-ids {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}
.account-ids .uid-line {
  margin-top: 8px;
}
.account-ids .uid-line + .uid-line {
  margin-top: 4px;
}
.uid-line {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 8px 0 0;
  padding: 0;
  border: 0;
  background: none;
  color: var(--gold-2);
  font-size: 13px;
  letter-spacing: 0.06em;
  cursor: pointer;
}
.uid-line svg {
  width: 14px;
  height: 14px;
  opacity: 0.8;
}
.avatar {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #f3d77a, #b8860b);
  color: #1a1406;
  font-weight: 800;
  font-size: 22px;
  margin-bottom: 10px;
  border: 2px solid rgba(241, 212, 138, 0.75);
  box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.12);
}
svg.avatar {
  background: none;
  font-size: 0;
  overflow: hidden;
}
.guest-card .avatar { margin-bottom: 14px; }
.guest-card .brand-logo {
  width: 58px;
  height: 58px;
  background: transparent;
  border: 0;
  object-fit: cover;
}
.asset-hero {
  position: relative;
  padding: 10px 0 2px;
}
.asset-hero span {
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.12em;
}
.asset-hero strong {
  display: block;
  margin-top: 4px;
  color: var(--gold-2);
  font-size: 32px;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
  line-height: 1.15;
}
.account-card .asset-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin: 14px 0 18px;
  padding: 12px 0;
  border-top: 1px solid rgba(212, 175, 55, 0.16);
  border-bottom: 1px solid rgba(212, 175, 55, 0.16);
}
.account-card .asset-row > div:first-child {
  padding-right: 14px;
  border-right: 1px solid rgba(212, 175, 55, 0.16);
}
.account-card .asset-row > div:last-child { padding-left: 16px; }
.asset-row span { color: var(--muted); font-size: 12px; }
.asset-row b {
  display: block;
  margin-top: 4px;
  font-size: 16px;
  font-variant-numeric: tabular-nums;
}
.account-card .fund-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.account-card .fund-actions a {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  border-radius: 12px;
  font-weight: 700;
}
.account-card .fund-actions .ghost-btn {
  background: rgba(13, 15, 20, 0.55);
  color: var(--gold-2);
  border: 1px solid rgba(212, 175, 55, 0.35);
}
.deposit-go { display: flex; justify-content: center; margin: 0 0 16px; }
.fund-actions button, .logout-btn {
  flex: 1;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--bg-3);
  color: var(--text);
}
.menu-list {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-2);
}
.menu-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 16px;
  border-bottom: 1px solid var(--line);
  color: var(--text);
}
.menu-list a:last-child { border-bottom: 0; }
.menu-list a::after {
  content: "›";
  color: var(--gold);
  font-size: 20px;
  line-height: 1;
}
.sub-page .menu-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--bg-2);
}
.sub-page .menu-list a:last-child { border-bottom: 1px solid var(--line); }
.sub-page .menu-list a::after {
  content: "›";
  color: var(--gold);
  font-size: 22px;
  line-height: 1;
}

.sub-head {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  margin: 0 0 18px;
}
.sub-head h1 {
  margin: 0;
  padding: 0 44px;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-align: center;
}
.sub-head .back {
  position: absolute;
  left: -6px;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--text);
  padding: 0;
}
.sub-head .back svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}
.sub-head .back:hover {
  background: var(--bg-3);
  color: var(--gold-2);
}
[dir="rtl"] .sub-head .back {
  left: auto;
  right: -6px;
}
[dir="rtl"] .sub-head .back svg { transform: scaleX(-1); }
.record-card, .form-card, .mini-record {
  padding: 14px;
  margin-bottom: 10px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--bg-2);
}
.record-top { display: flex; justify-content: space-between; margin-bottom: 6px; }
.record-card p, .mini-record p { margin: 6px 0; color: var(--muted); }
.time { color: var(--muted); font-size: 12px; }
.form-card h3 { margin: 0 0 10px; font-size: 16px; }
.form-card label, .form-card select {
  display: block;
  width: 100%;
}
.form-card input, .form-card select {
  width: 100%;
  margin: 8px 0 14px;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #0d0f14;
  color: var(--text);
}
.form-card .captcha-field {
  display: block;
  width: 100%;
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 13px;
}
.form-card .captcha-row input { margin: 0; }
.field-label {
  display: block;
  color: var(--muted);
  font-size: 13px;
}
.verify-type {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
  margin: 8px 0 14px;
}
.verify-type button {
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #0d0f14;
  color: var(--text);
}
.verify-type button.active {
  border-color: var(--gold);
  color: var(--gold-2);
  background: rgba(212, 175, 55, 0.12);
}
.photo-slot {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 132px;
  margin: 8px 0 14px;
  padding: 0;
  overflow: hidden;
  border: 1px dashed var(--line);
  border-radius: 12px;
  background: #0d0f14;
  color: var(--muted);
  text-align: center;
  cursor: pointer;
}
.photo-slot input {
  position: absolute;
  inset: 0;
  opacity: 0;
  margin: 0;
  cursor: pointer;
}
.photo-slot img {
  width: 100%;
  height: 132px;
  object-fit: cover;
  display: block;
}
.deposit-banner {
  margin: 0 0 12px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--bg-2);
  color: var(--gold-2);
  font-size: 13px;
  line-height: 1.5;
}
.service-frame {
  width: 100%;
  height: calc(100vh - 200px);
  min-height: 460px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--bg-2);
}
.service-wait {
  padding: 48px 20px;
  text-align: center;
  color: var(--muted);
  border: 1px dashed var(--line);
  border-radius: 14px;
  background: var(--bg-2);
}
.withdraw-hint { margin: 0 0 10px; line-height: 1.5; }
.withdraw-hint a { color: var(--gold-2); }
.section-title {
  margin: 22px 0 12px;
  font-size: 15px;
  font-weight: 600;
}
.status-tag {
  font-size: 12px;
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid var(--line);
}
.status-tag.pending { color: var(--gold-2); }
.status-tag.approved { color: var(--up); }
.status-tag.rejected { color: var(--down); }
.chat-box {
  min-height: 360px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--bg-2);
  margin-bottom: 12px;
}
.chat-row { margin: 8px 0; }
.chat-row p {
  display: inline-block;
  max-width: 80%;
  padding: 8px 12px;
  border-radius: 12px;
  margin: 0;
}
.chat-row.service p { background: #1d2118; color: var(--gold-2); }
.chat-row.me { text-align: right; }
.chat-row.me p { background: var(--gold); color: #1a1406; }
.chat-input { display: flex; gap: 8px; }
.chat-input input {
  flex: 1;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #0d0f14;
  color: var(--text);
}
.toast {
  position: fixed;
  left: 50%;
  bottom: 90px;
  transform: translateX(-50%);
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(20, 16, 8, 0.92);
  border: 1px solid var(--gold);
  color: var(--gold-2);
  z-index: 50;
  white-space: nowrap;
}
span.buy { color: var(--up); }
span.sell { color: var(--down); }
.logout-btn { width: 100%; }

.login-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    radial-gradient(circle at top, rgba(212, 175, 55, 0.18), transparent 36%),
    #07080b;
}
.login-card { width: min(420px, 100%); padding: 28px; }
.login-card > p { color: var(--muted); margin-top: 0; }
.login-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 18px 0; }
.code-row { display: flex; gap: 8px; }
.code-row button { white-space: nowrap; }
.back-home {
  display: inline-block;
  margin-top: 14px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--gold-2);
  cursor: pointer;
}

@media (hover: hover) {
  .pc-nav a:hover { color: var(--gold-2); }
  .product-card:hover,
  .menu-list a:hover,
  .record-card:hover,
  .hero-stats article:hover {
    border-color: rgba(212, 175, 55, 0.55);
  }
  .quote-row:hover {
    background: rgba(212, 175, 55, 0.08);
  }
  .gold-btn:hover,
  .ghost-btn.gold:hover {
    filter: brightness(1.06);
  }
}

@media (min-width: 960px) {
  .pc-nav { display: flex; }
  .tabbar { display: none; }

  .site-header {
    height: 64px;
    padding: 0 32px;
  }

  .main,
  .main.with-tabbar {
    padding: 28px 32px 48px;
    max-width: 1600px;
  }

  .hero {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
    padding: 40px 44px;
    gap: 32px;
    min-height: 300px;
  }
  .hero h1 { font-size: 40px; line-height: 1.25; }
  .hero-desc { font-size: 16px; max-width: 36em; }
  .hero-stats article {
    padding: 24px 22px;
    min-height: 168px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border: 1px solid var(--line);
  }
  .hero-stats strong { font-size: 34px; letter-spacing: 0.02em; }

  .product-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .product-card {
    display: grid;
    grid-template-columns: minmax(180px, 240px) 120px minmax(140px, 1fr) 240px;
    align-items: center;
    gap: 16px;
    padding: 16px 22px;
  }
  .product-top { display: contents; }
  .product-price {
    margin: 0;
    font-size: 26px;
    text-align: right;
  }
  .product-actions span { padding: 10px 12px; }

  .info-grid { grid-template-columns: 1.3fr 0.9fr; }

  .trade-desk {
    grid-template-columns: 240px minmax(0, 1fr) 300px;
    align-items: stretch;
    gap: 12px;
    min-height: calc(100vh - 120px);
  }
  .symbol-side,
  .order-side {
    display: block;
    position: sticky;
    top: 80px;
    max-height: calc(100vh - 108px);
    overflow: auto;
  }
  .kline-chart { height: 280px; min-height: 240px; }
  .symbol-switch em { display: none; }

  .markets-page { max-width: 760px; }

  .mine {
    grid-template-columns: minmax(320px, 400px) minmax(0, 1fr);
    gap: 20px;
    align-items: start;
  }
  .account-card,
  .guest-card {
    min-height: 100%;
  }
  .menu-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    overflow: visible;
    border: 0;
    background: transparent;
  }
  .menu-list a {
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--bg-2);
    padding: 18px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .menu-list a::after {
    content: "›";
    color: var(--gold);
    font-size: 22px;
    line-height: 1;
  }
  .logout-btn { grid-column: 1; width: auto; }

  .sub-page {
    max-width: 720px;
    margin: 0 auto;
  }

  .login-page {
    display: grid;
    grid-template-columns: minmax(400px, 0.92fr) minmax(560px, 1.08fr);
    padding: 0;
    place-items: stretch;
    min-height: 100vh;
  }
  .login-showcase {
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 72px 80px;
    background:
      radial-gradient(ellipse at 18% 18%, rgba(212, 175, 55, 0.24), transparent 42%),
      radial-gradient(ellipse at 88% 92%, rgba(212, 175, 55, 0.08), transparent 40%),
      linear-gradient(180deg, #14161c, #0a0b0e);
    border-right: 1px solid var(--line);
  }
  .login-showcase::after {
    content: "";
    position: absolute;
    width: 360px;
    height: 360px;
    right: -90px;
    bottom: -70px;
    border-radius: 50%;
    border: 1px solid rgba(212, 175, 55, 0.28);
    pointer-events: none;
  }
  .login-showcase .hero-title {
    align-items: center;
    gap: 14px;
    margin: 0 0 16px;
  }
  .login-showcase .hero-title .brand-logo {
    width: 48px;
    height: 48px;
    margin-bottom: 0;
  }
  .login-showcase h2 {
    margin: 0 0 16px;
    font-size: 40px;
    line-height: 1.25;
  }
  .login-showcase p { color: var(--muted); max-width: 22em; }
  .login-points {
    margin: 24px 0 0;
    padding: 0;
    list-style: none;
    max-width: 360px;
  }
  .login-points li {
    position: relative;
    padding: 8px 0 8px 22px;
    color: var(--muted);
    border-bottom: 1px solid var(--line);
    font-size: 14px;
  }
  .login-points li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 18px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gold);
  }
  .login-card {
    width: min(560px, calc(100% - 80px));
    margin: auto;
    padding: 36px 40px;
  }
  .login-fields.is-register {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 14px;
  }
  .login-fields .span-2 { grid-column: 1 / -1; }
}

@media (min-width: 1280px) {
  .site-header { padding: 0 40px; }
  .main, .main.with-tabbar { padding: 32px 40px 56px; }
  .trade-desk { grid-template-columns: 260px minmax(0, 1fr) 320px; }
}

@media (max-width: 959px) {
  .product-grid { grid-template-columns: 1fr 1fr; }
  .kline-chart { height: 180px; }
  .order-side { padding: 8px 0 12px; }
  .order-side .action-row {
    position: sticky;
    bottom: calc(84px + env(safe-area-inset-bottom, 0px));
    margin-top: 12px;
    margin-bottom: 8px;
    padding: 10px 0 8px;
    background: linear-gradient(180deg, transparent, var(--bg) 28%);
    z-index: 25;
  }
  .ticker-last strong { font-size: 28px; }
  .picker-sheet {
    left: 12px !important;
    right: 12px !important;
    top: auto !important;
    bottom: calc(12px + env(safe-area-inset-bottom, 0px)) !important;
    width: auto !important;
    max-height: min(62vh, calc(100vh - 96px - env(safe-area-inset-bottom, 0px))) !important;
    max-height: min(62dvh, calc(100dvh - 96px - env(safe-area-inset-bottom, 0px))) !important;
  }
  .picker-list {
    max-height: min(50vh, calc(100vh - 168px - env(safe-area-inset-bottom, 0px)));
    max-height: min(50dvh, calc(100dvh - 168px - env(safe-area-inset-bottom, 0px)));
  }
}

.home .hero {
  position: relative;
  overflow: hidden;
}
.home .hero-stats em {
  font-style: normal;
  font-size: 13px;
}
.home .info-grid ul {
  margin: 0;
  padding-left: 1.15em;
}
.home .info-grid li + li {
  margin-top: 8px;
}
.home .info-grid h3,
.home .section-head h2 {
  margin: 0;
}
.home .section-head h2 {
  font-size: 20px;
}

@media (max-width: 639px) {
  .home .hero {
    padding: 20px 16px;
    gap: 16px;
    margin-bottom: 20px;
  }
  .home .hero h1 {
    font-size: 26px;
    line-height: 1.28;
    margin-bottom: 10px;
  }
  .home .hero-title .brand-logo {
    width: 32px;
    height: 32px;
  }
  .home .hero-copy {
    gap: 8px;
  }
  .home .hero-copy .hero-desc {
    font-size: 13px;
    line-height: 1.65;
  }
  .home .hero-copy .hero-desc:first-child {
    color: var(--text);
    font-size: 14px;
  }
  .home .hero-actions {
    margin-top: 14px;
  }
  .home .hero-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }
  .home .hero-stats article {
    padding: 10px 8px;
    min-width: 0;
  }
  .home .hero-stats span {
    display: block;
    font-size: 11px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .home .hero-stats strong {
    font-size: 15px;
    margin: 6px 0 2px;
  }
  .home .hero-stats em {
    font-size: 11px;
  }
  .home .section-head {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .home .chips {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .home .chips::-webkit-scrollbar {
    display: none;
  }
  .home .chips button {
    flex: 0 0 auto;
  }
  .home .product-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .home .product-card {
    padding: 14px;
  }
  .home .product-price {
    font-size: 20px;
  }
  .home .info-grid {
    gap: 10px;
    margin-top: 16px;
  }
  .home .info-grid article {
    padding: 16px;
  }
}

@media (min-width: 640px) and (max-width: 959px) {
  .home .hero {
    padding: 24px 20px;
  }
  .home .hero h1 {
    font-size: 30px;
    line-height: 1.28;
  }
  .home .hero-copy .hero-desc {
    font-size: 14px;
  }
  .home .hero-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .home .hero-stats article {
    min-height: 0;
    padding: 14px 12px;
  }
  .home .hero-stats strong {
    font-size: 20px;
  }
  .home .product-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 960px) {
  .home .hero {
    grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.75fr);
    align-items: start;
    padding: 36px 40px;
    min-height: 0;
    gap: 36px;
  }
  .home .hero h1 {
    font-size: 36px;
    line-height: 1.22;
    max-width: 16em;
  }
  .home .hero-title .brand-logo {
    width: 48px;
    height: 48px;
  }
  .home .hero-copy {
    max-width: 42em;
  }
  .home .hero-copy .hero-desc {
    font-size: 15px;
    max-width: none;
  }
  .home .hero-stats article {
    min-height: 0;
    padding: 14px 16px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 12px;
    flex-direction: unset;
    justify-content: unset;
  }
  .home .hero-stats span {
    min-width: 0;
  }
  .home .hero-stats strong {
    font-size: 22px;
    margin: 0;
    text-align: right;
  }
  .home .hero-stats em {
    min-width: 4.5em;
    text-align: right;
  }
  .home .info-grid article {
    padding: 22px 24px;
  }
}

@media (min-width: 960px) and (max-width: 1199px) {
  .home .product-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .home .product-card {
    display: flex;
    flex-direction: column;
    grid-template-columns: none;
    padding: 16px 18px;
  }
  .home .product-top {
    display: flex;
  }
  .home .product-price {
    margin: 10px 0 12px;
    font-size: 22px;
    text-align: left;
  }
}

@media (min-width: 1200px) {
  .home .hero {
    padding: 44px 48px;
  }
  .home .hero h1 {
    font-size: 40px;
  }
}

.tabbar {
  grid-template-columns: repeat(5, 1fr);
}

.app-shell .van-nav-bar,
.app-shell .van-tabs__nav {
  background: transparent;
}

.login-card .van-cell-group,
.login-card .van-cell,
.login-card .van-field {
  background: transparent;
}

.login-card .van-field__label,
.login-card .van-field__control {
  color: var(--text);
}

.login-card .van-field {
  margin-bottom: 8px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #0d0f14;
}

.record-card .product-price {
  margin: 8px 0;
}

.home-shortcuts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px 8px;
  margin: 0 0 22px;
}

.shortcut {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--text);
  font-size: 12px;
  line-height: 1.25;
  text-align: center;
}

.shortcut i {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(212, 175, 55, 0.16), var(--bg-2));
  color: var(--gold-2);
  font-size: 22px;
  font-style: normal;
}

.shortcut span {
  display: block;
  width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

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

.login-page {
  align-items: flex-start;
  overflow: auto;
}

.login-card {
  margin-top: 24px;
  margin-bottom: 24px;
}

.login-card .van-cell-group,
.login-card .van-cell,
.login-card .van-field {
  background: #0d0f14 !important;
}

.van-nav-bar {
  background: rgba(10, 11, 14, 0.94) !important;
}

.van-nav-bar__title {
  color: var(--text) !important;
  font-weight: 600;
}

.van-nav-bar .van-icon,
.van-nav-bar__text {
  color: var(--gold-2) !important;
}

.van-cell,
.van-cell-group,
.van-collapse-item__title,
.van-collapse-item__content {
  background: transparent !important;
  color: var(--text) !important;
}

.van-field {
  margin-bottom: 10px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #0d0f14 !important;
}

.van-field__label {
  color: var(--muted) !important;
}

.van-field__control,
.van-cell__title,
.van-cell__value,
.van-cell__right-icon {
  color: var(--text) !important;
}

.van-button--primary {
  background: linear-gradient(135deg, #f3d77a, #d4af37) !important;
  border-color: transparent !important;
  color: #1a1406 !important;
}

.van-button--success {
  background: var(--up) !important;
  border-color: transparent !important;
  color: #062314 !important;
}

.van-button--danger {
  background: var(--down) !important;
  border-color: transparent !important;
  color: #fff !important;
}

.van-popup,
.van-action-sheet,
.van-dialog,
.van-picker,
.van-action-sheet__item,
.van-action-sheet__cancel,
.van-picker-column {
  background: #14161c !important;
  color: var(--text) !important;
}

.van-dialog__header,
.van-dialog__message,
.van-picker__title,
.van-action-sheet__name {
  color: var(--text) !important;
}

.van-tabs__nav,
.van-tabbar {
  background: rgba(10, 11, 14, 0.94) !important;
}

.van-tabs__line,
.van-progress__portion {
  background: var(--gold) !important;
}

.van-tab {
  color: var(--muted) !important;
}

.van-tab--active {
  color: var(--gold-2) !important;
}

.van-step__title {
  color: var(--text) !important;
}

.van-notice-bar {
  background: rgba(212, 175, 55, 0.1) !important;
  color: var(--gold-2) !important;
}

:root {
  --van-step-active-color: #d4af37;
  --van-step-finish-line-color: #d4af37;
}

.sub-page {
  padding: 12px 16px 28px;
}

[class*="rgba(255,255,255,.06)"],
[class*="rgba(255,255,255,0.06)"] {
  background: var(--bg-2) !important;
  border: 1px solid var(--line);
}

[class*="1989fa"],
[class*="03aac7"],
[class*="f9a038"] {
  color: var(--gold-2) !important;
}

[class*="bg-[#1989fa]"],
[class*="bg-\[\#1989fa\]"] {
  background: linear-gradient(135deg, #f3d77a, #d4af37) !important;
  color: #1a1406 !important;
}

.van-collapse-item {
  margin: 10px 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--bg-2) !important;
}

.van-collapse-item__title,
.van-collapse-item__content {
  background: transparent !important;
}

.van-field .van-icon {
  color: var(--gold-2) !important;
}

.van-step__line {
  background: rgba(212, 175, 55, 0.35) !important;
}

.earn-panel {
  position: relative;
  margin-top: 4px;
  padding-top: 12px;
  border-top: 1px solid rgba(212, 175, 55, 0.16);
}
.earn-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.earn-title {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
}
.earn-title i {
  width: 16px;
  height: 16px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(212, 175, 55, 0.55);
  color: var(--gold-2);
  font-size: 11px;
  font-style: normal;
  font-weight: 700;
}
.earn-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 12px;
}
.earn-stats span {
  display: block;
  color: var(--muted);
  font-size: 12px;
}
.earn-stats strong {
  display: block;
  margin-top: 4px;
  color: var(--gold-2);
  font-size: 20px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.earn-stats .is-rate {
  color: var(--up);
}
.account-card .asset-row {
  margin-top: 12px;
  margin-bottom: 0;
}

.guide {
  margin-top: 14px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--bg);
  color: var(--text);
  pointer-events: none;
}

.guide .mine { gap: 12px; }
.guide .home-shortcuts { margin-bottom: 0; }
.guide .login-card {
  width: 100%;
  margin: 0;
  padding: 16px 16px 8px;
}
.guide .login-card h1 { margin: 8px 0 0; font-size: 22px; }
.guide .login-toolbar span.is-focus {
  padding: 4px 8px;
  border-radius: 999px;
}

.guide-stack { display: grid; gap: 10px; }

.guide-panel,
.guide-vip,
.guide-field {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--bg-2);
}

.guide-panel { padding: 14px; }
.guide-panel h3 { margin: 0 0 8px; font-size: 14px; font-weight: 600; }
.guide-panel p {
  display: flex;
  justify-content: space-between;
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.guide-field {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 44px;
  padding: 10px 12px;
  color: var(--text);
  font-size: 14px;
}
.guide-field span { color: var(--muted); font-size: 13px; flex-shrink: 0; }
.guide-field b {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  text-align: right;
  word-break: break-all;
}
.guide-field img {
  width: 20px;
  height: 20px;
  border-radius: 50%;
}

.guide-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
}
.guide-tabs span {
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}
.guide-tabs span.on {
  background: var(--gold);
  border-color: var(--gold);
  color: #1a1406;
  font-weight: 700;
}

.guide-vip {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 92px;
  padding: 16px 16px 28px;
  overflow: hidden;
}
.guide-vip p { margin: 0; color: var(--muted); font-size: 13px; }
.guide-vip strong { color: var(--gold-2); font-size: 22px; }
.guide-vip em {
  position: absolute;
  right: 0;
  bottom: 0;
  padding: 4px 14px;
  border-radius: 14px 0 0 0;
  background: linear-gradient(135deg, #f3d77a, #d4af37);
  color: #1a1406;
  font-style: normal;
  font-size: 12px;
  font-weight: 700;
}

.guide-qr-wrap { display: flex; justify-content: center; }
.guide-qr {
  display: grid;
  grid-template-columns: repeat(11, 10px);
  gap: 2px;
  padding: 10px;
  border-radius: 12px;
  background: #f6f1e6;
}
.guide-qr i {
  width: 10px;
  height: 10px;
  background: transparent;
}
.guide-qr i.on { background: #12141a; }

.guide-earn-top,
.guide-earn-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.guide-earn-top .gold-btn { padding: 6px 12px; font-size: 12px; }
.guide-earn-row { margin-top: 14px; text-align: center; }
.guide-earn-row strong { display: block; font-size: 16px; }
.guide-earn-row span { color: var(--muted); font-size: 12px; }
.guide-earn-row .up { color: var(--up); }

.guide .is-focus {
  border-color: var(--gold) !important;
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.35);
}
.guide .shortcut.is-focus i {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.35);
}
