/* 个人中心 · 亮色现代极简（参考 novamarkets.space 账户页结构） */

.account-mobile-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  padding: 0 16px;
  background: var(--bg-header);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
}

@media (min-width: 768px) {
  .account-mobile-header {
    display: none;
  }
}

.account-mobile-header .site-logo img {
  height: 28px;
}

.account-mobile-header__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.account-header .site-header__auth {
  gap: 16px;
}

.btn-deposit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  padding: 0 18px;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  background: var(--accent);
  border: none;
  border-radius: var(--radius-pill);
  font-family: inherit;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
}

.btn-deposit:hover {
  background: #359a75;
}

.btn-deposit:active {
  transform: translateY(1px);
}

.account-user-menu {
  position: relative;
}

.account-user-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 8px 4px 4px;
  border-radius: var(--radius-pill);
  transition: background 0.2s;
}

.account-user-trigger:hover,
.account-user-menu.is-open .account-user-trigger {
  background: var(--bg-muted);
}

.account-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #7944e4 0%, #2563eb 100%);
  border-radius: 50%;
  flex-shrink: 0;
}

.account-avatar--lg {
  width: 52px;
  height: 52px;
  font-size: 18px;
}

.account-user-trigger .chevron {
  width: 12px;
  height: 12px;
  color: var(--text-muted);
  transition: transform 0.2s;
}

.account-user-menu.is-open .account-user-trigger .chevron {
  transform: rotate(180deg);
}

.account-user-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 320px;
  padding: 20px;
  /* 面板背景为白色，但它嵌在 .site-header（深色主题作用域）内，会继承浅色文字 token
     导致白底浅字看不见。这里在面板作用域内改回浅色主题的深色文字/边框 token，
     使面板自带深色文字，不受页面头部主题影响。 */
  --text-strong: #18181b;
  --text-primary: #101112;
  --text-secondary: #71717a;
  --text-muted: #9f9fa9;
  --bg-muted: #f4f4f5;
  --border-subtle: rgba(0, 0, 0, 0.06);
  --border-default: #e4e4e7;
  background:
    radial-gradient(ellipse 120% 80% at 100% 0%, rgba(121, 68, 228, 0.1), transparent 55%),
    radial-gradient(ellipse 90% 70% at 0% 100%, rgba(121, 68, 228, 0.06), transparent 50%),
    linear-gradient(180deg, #ffffff 0%, #fbfbfb 100%);
  border: 1px solid rgba(121, 68, 228, 0.18);
  border-radius: 20px;
  box-shadow:
    0 0 0 1px rgba(121, 68, 228, 0.05),
    0 10px 32px rgba(0, 0, 0, 0.1),
    0 0 48px rgba(121, 68, 228, 0.08);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px) scale(0.98);
  transform-origin: top right;
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
  z-index: 70;
}

.account-user-menu.is-open .account-user-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.account-user-dropdown__profile {
  display: flex;
  align-items: center;
  gap: 14px;
}

.account-user-dropdown__name {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-strong);
  letter-spacing: -0.02em;
}

.account-user-dropdown__uid-row {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  font-size: 13px;
  color: var(--text-muted);
}

.account-user-dropdown__copy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  color: var(--text-muted);
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
}

.account-user-dropdown__copy:hover {
  color: var(--text-strong);
  background: var(--bg-muted);
}

.account-user-dropdown__assets {
  margin-top: 18px;
}

.account-user-dropdown__assets-label {
  font-size: 13px;
  color: var(--text-muted);
}

.account-user-dropdown__assets-value {
  margin-top: 4px;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text-strong);
  line-height: 1.2;
}

.account-user-dropdown__assets-sub {
  margin-top: 2px;
  font-size: 13px;
  color: var(--text-muted);
}

.account-user-dropdown__nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  margin-top: 18px;
  padding: 10px;
  background: rgba(244, 244, 245, 0.85);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
}

.account-user-dropdown__link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 10px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: 10px;
  transition: color 0.2s, background 0.2s;
}

.account-user-dropdown__link i {
  width: 16px;
  font-size: 15px;
  color: var(--text-muted);
  text-align: center;
  transition: color 0.2s;
}

.account-user-dropdown__link:hover {
  color: var(--text-strong);
  background: rgba(255, 255, 255, 0.92);
}

.account-user-dropdown__link:hover i {
  color: var(--accent);
}

.account-user-dropdown__footer {
  display: flex;
  justify-content: center;
  margin-top: 16px;
  padding-top: 4px;
}

.account-user-dropdown__logout {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  text-align: center;
  color: #ef4444;
  border-radius: var(--radius-pill);
  transition: color 0.2s, background 0.2s;
}

.account-user-dropdown__logout:hover {
  color: #dc2626;
  background: rgba(239, 68, 68, 0.08);
}

.account-user-dropdown__logout i {
  font-size: 14px;
}

.account-main {
  padding-bottom: 48px;
}

.account-shell {
  display: flex;
  gap: 32px;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 24px 16px 0;
}

@media (min-width: 640px) {
  .account-shell {
    padding-left: 24px;
    padding-right: 24px;
  }
}

@media (min-width: 1024px) {
  .account-shell {
    gap: 40px;
    padding-top: 32px;
  }
}

.account-sidebar {
  flex-shrink: 0;
  width: 200px;
  display: none;
}

@media (min-width: 1024px) {
  .account-sidebar {
    display: block;
  }
}

.account-sidebar__nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  position: sticky;
  top: calc(var(--header-height) + 24px);
}

.account-sidebar__link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-md);
  border-left: 3px solid transparent;
  transition: color 0.2s, background 0.2s, border-color 0.2s;
}

.account-sidebar__link i {
  width: 18px;
  text-align: center;
  font-size: 16px;
  color: var(--text-muted);
}

.account-sidebar__link:hover {
  color: var(--text-strong);
  background: var(--bg-muted);
}

.account-sidebar__link.is-active {
  color: var(--text-strong);
  background: rgba(121, 68, 228, 0.1);
  border-left-color: var(--accent);
}

.account-sidebar__link.is-active i {
  color: var(--accent);
}

.account-sidebar__group {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.account-sidebar__group-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  padding: 12px 16px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-secondary);
  background: transparent;
  border: none;
  border-left: 3px solid transparent;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: color 0.2s, background 0.2s, border-color 0.2s;
}

.account-sidebar__group-label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.account-sidebar__group-toggle i:first-child {
  width: 18px;
  text-align: center;
  font-size: 16px;
  color: var(--text-muted);
}

.account-sidebar__group-chevron {
  font-size: 12px;
  color: var(--text-muted);
  transition: transform 0.2s;
}

.account-sidebar__group:not(.is-expanded) .account-sidebar__group-chevron {
  transform: rotate(180deg);
}

.account-sidebar__group:not(.is-expanded) .account-sidebar__subnav {
  display: none;
}

.account-sidebar__group-toggle:hover {
  color: var(--text-strong);
  background: var(--bg-muted);
}

.account-sidebar__subnav {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-left: 18px;
}

.account-sidebar__sublink {
  display: block;
  padding: 10px 16px 10px 28px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-md);
  transition: color 0.2s, background 0.2s;
}

.account-sidebar__sublink:hover {
  color: var(--text-strong);
  background: var(--bg-muted);
}

.account-sidebar__sublink.is-active {
  color: var(--text-strong);
  font-weight: 600;
  background: rgba(121, 68, 228, 0.1);
  border-left: 3px solid var(--accent);
  padding-left: 25px;
}

.account-mobile-nav {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
  margin-bottom: 20px;
  scrollbar-width: none;
}

.account-mobile-nav::-webkit-scrollbar {
  display: none;
}

@media (min-width: 1024px) {
  .account-mobile-nav {
    display: none;
  }
}

.account-mobile-nav a {
  flex-shrink: 0;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  background: var(--bg-muted);
  border-radius: var(--radius-pill);
  white-space: nowrap;
}

.account-mobile-nav a.is-active {
  color: #fff;
  background: var(--accent);
}

.account-records-subnav {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
  margin: -12px 0 20px;
  scrollbar-width: none;
}

.account-records-subnav::-webkit-scrollbar {
  display: none;
}

@media (min-width: 1024px) {
  .account-records-subnav {
    display: none;
  }
}

.account-records-subnav a {
  flex-shrink: 0;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  background: var(--bg-muted);
  border-radius: var(--radius-pill);
  white-space: nowrap;
  transition: color 0.2s, background 0.2s;
}

.account-records-subnav a.is-active {
  color: var(--text-strong);
  background: rgba(0, 0, 0, 0.06);
}

.account-content {
  flex: 1;
  min-width: 0;
}

.account-page-title {
  margin-bottom: 24px;
  font-size: clamp(24px, 4vw, 28px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-strong);
}

.account-card {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 24px;
}

@media (min-width: 768px) {
  .account-card {
    padding: 28px 32px;
  }
}

.account-card + .account-card {
  margin-top: 24px;
}

.overview-profile {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

@media (min-width: 768px) {
  .overview-profile {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
  }
}

.overview-profile__left {
  display: flex;
  align-items: center;
  gap: 20px;
}

.overview-profile__avatar {
  width: 72px;
  height: 72px;
  font-size: 24px;
}

.overview-profile__name {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-strong);
}

.overview-profile__email {
  margin-top: 6px;
  font-size: 14px;
  color: var(--text-muted);
}

/* 右侧字段：UID / 加入时间 / 邀请码，上下结构 */
.overview-profile__fields {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 48px;
}

@media (min-width: 768px) {
  .overview-profile__fields { gap: 16px 56px; }
}

.overview-profile__field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

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

.overview-profile__field-value {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-strong);
  font-variant-numeric: tabular-nums;
}

.overview-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(120px, 1fr));
  gap: 20px 32px;
}

@media (min-width: 768px) {
  .overview-stats {
    text-align: right;
  }
}

.overview-stat__label {
  font-size: 13px;
  color: var(--text-muted);
}

.overview-stat__value {
  margin-top: 4px;
  font-size: 20px;
  font-weight: 700;
  color: var(--text-strong);
}

.overview-stat__value.is-profit {
  color: #15803d;
}

.overview-stat__value.is-loss {
  color: #dc2626;
}

/* ===== 总览：快捷操作 ===== */
.overview-actions {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}
@media (max-width: 900px) {
  .overview-actions { grid-template-columns: repeat(3, 1fr); }
}
.overview-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 18px 12px;
  background: var(--bg-card, #fff);
  border: 1px solid var(--border-soft, #eef0f3);
  border-radius: var(--radius-card, 14px);
  box-shadow: var(--shadow-card, 0 1px 2px rgba(15,23,42,.04));
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.overview-action:hover {
  transform: translateY(-2px);
  border-color: rgba(121, 68, 228, 0.4);
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.08);
}
.overview-action__icon {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 12px;
  font-size: 18px;
  color: var(--accent-strong, #6532c4);
  background: var(--accent-soft, rgba(121, 68, 228,.1));
}
.overview-action__label { font-size: 14px; font-weight: 600; color: var(--text-strong, #1f2937); }
.overview-action--accent .overview-action__icon { color: #fff; background: var(--accent, #7944e4); }

/* ===== 总览：预估总资产 + 账户快照 ===== */
/* 三卡同行的外层容器不再是整行白底卡片，仅负责与上下区块的间距 */
.overview-hero-row {
  margin: 24px 0;
}
.overview-asset-hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 900px) {
  /* 预估总资产 / 星座预测 / 事件预测 三等分同行，卡片之间留间隔 */
  .overview-asset-hero {
    grid-template-columns: repeat(3, 1fr);
    align-items: stretch;
  }
  .overview-asset-hero__total { justify-content: flex-start; }
  .overview-asset-hero > .overview-stat-card {
    display: flex;
    flex-direction: column;
  }
  /* 三卡等高：按钮行统一贴到卡片底部，跨卡片对齐 */
  .overview-asset-hero__total > .overview-asset-hero__actions,
  .overview-asset-hero > .overview-stat-card > .overview-stat-card__foot {
    margin-top: auto;
  }
}
.overview-asset-hero__total {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--bg-card, #fff);
  border: 1px solid var(--border-soft, #eef0f3);
  border-radius: var(--radius-card, 16px);
  box-shadow: var(--shadow-card);
  padding: 22px 24px;
}
.overview-asset-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}
.overview-asset-hero__accounts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 240px));
  gap: 16px;
}
@media (max-width: 720px) {
  .overview-asset-hero__accounts { grid-template-columns: 1fr; }
}
/* 账户快照卡片：作为内层面板，弱化边框、统一观感 */
.overview-asset-hero__accounts .overview-summary-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  background: var(--bg-muted, #f7f8fa);
  border-color: transparent;
  box-shadow: none;
}
.overview-asset-hero__accounts .overview-summary-card:hover {
  background: var(--accent-soft, rgba(121, 68, 228, 0.07));
  transform: none;
}

/* 总览：个人资料卡片去除白底 */
.overview-profile-card {
  background: transparent;
  border: none;
  box-shadow: none;
  padding-top: 8px;
  padding-bottom: 8px;
}
.overview-profile__field-value--muted {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  white-space: nowrap;
}

/* ===== 总览：资产概览卡片 ===== */
.overview-summary-grid {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 900px) {
  .overview-summary-grid { grid-template-columns: 1fr; }
}
.overview-summary-card {
  display: block;
  padding: 20px 22px;
  background: var(--bg-card, #fff);
  border: 1px solid var(--border-soft, #eef0f3);
  border-radius: var(--radius-card, 14px);
  box-shadow: var(--shadow-card, 0 1px 2px rgba(15,23,42,.04));
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.overview-summary-card:hover {
  transform: translateY(-2px);
  border-color: rgba(121, 68, 228, 0.4);
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.08);
}
.overview-summary-card__top {
  display: flex; align-items: center; justify-content: space-between;
  color: var(--text-muted, #9ca3af);
  font-size: 13px;
}
.overview-summary-card__top i { color: var(--accent, #7944e4); font-size: 16px; }
.overview-summary-card__value {
  margin: 12px 0 8px;
  font-size: 26px;
  font-weight: 700;
  color: var(--text-strong, #1f2937);
}
.overview-summary-card__unit { font-size: 14px; font-weight: 500; color: var(--text-muted, #9ca3af); }
.overview-summary-card__hint { font-size: 13px; color: var(--text-secondary, #6b7280); }
.overview-summary-card__hint.is-profit { color: #15803d; }
.overview-summary-card__hint i { font-size: 11px; margin-left: 2px; }

/* ===== 总览：底部双列列表 ===== */
.overview-bottom-grid {
  margin-top: 16px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 1100px) {
  .overview-bottom-grid { grid-template-columns: 1fr; }
}
.overview-list-card { padding: 20px 24px 8px; }
.overview-section-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 4px;
}
.overview-section-head h2 { margin: 0; font-size: 16px; font-weight: 600; color: var(--text-strong, #1f2937); }
.overview-section-head__more {
  font-size: 13px;
  color: var(--accent-strong, #6532c4);
  text-decoration: none;
}
.overview-section-head__more i { font-size: 11px; margin-left: 2px; }

/* ===== 总览：三大玩法近期记录 ===== */
/* 最近交易：Tab 切换的三张表 */
.overview-recent { margin-top: 24px; }
.overview-recent__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}
.overview-recent__head .account-card__heading { margin: 0; }
.overview-recent__tabs { margin-bottom: 16px; }
.overview-feed-icon {
  width: 26px; height: 26px; border-radius: 8px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 13px; color: #fff;
}
.ov-ic-event { background: linear-gradient(135deg, #7944e4, #6532c4); }
.ov-ic-zodiac { background: linear-gradient(135deg, #a78bfa, #7c3aed); }
.ov-ic-trend { background: linear-gradient(135deg, #38bdf8, #2563eb); }
.ov-ic-finance { background: linear-gradient(135deg, #34d399, #059669); }

/* ===== 总览：各玩法数据概览卡片 ===== */
.overview-stat-grid {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
@media (max-width: 1100px) {
  .overview-stat-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .overview-stat-grid { grid-template-columns: 1fr; }
}
.overview-stat-card {
  background: var(--bg-card, #fff);
  border: 1px solid var(--border-soft, #eef0f3);
  border-radius: var(--radius-card, 16px);
  box-shadow: var(--shadow-card);
  padding: 18px 20px;
}
.overview-stat-card__head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-strong, #1f2937);
  margin-bottom: 16px;
}
.overview-stat-card__metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.overview-stat-card__metric {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}
.overview-stat-card__label {
  font-size: 12px;
  color: var(--text-muted);
  white-space: nowrap;
}
.overview-stat-card__num {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-strong, #1f2937);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.overview-stat-card__num.is-profit { color: #15803d; }
.overview-stat-card__num.is-loss { color: #dc2626; }
/* 卡片底部 CTA：跳转到对应产品页 */
.overview-stat-card__foot { margin-top: 18px; }
.overview-stat-card__foot .btn-outline { gap: 6px; }

.ov-feed { list-style: none; margin: 0; padding: 0; }
.ov-feed__item {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 11px 0;
  border-top: 1px solid var(--border, #eef0f3);
}
.ov-feed__item:first-child { border-top: none; }
.ov-feed__body { min-width: 0; }
.ov-feed__title {
  font-size: 14px; font-weight: 600; color: var(--text-strong, #1f2937);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 200px;
}
.ov-feed__sub { margin-top: 2px; font-size: 12px; color: var(--text-muted, #94a3b8); }
.ov-feed__right { text-align: right; flex-shrink: 0; }
.ov-feed__amount { font-size: 14px; font-weight: 600; color: var(--text-strong, #1f2937); }
.ov-feed__status { margin-top: 2px; font-size: 12px; font-weight: 600; }
.ov-feed__status.is-won { color: #10b981; }
.ov-feed__status.is-lost { color: #94a3b8; }
.ov-feed__status.is-pending { color: var(--accent-strong, #6532c4); }
.ov-feed__empty {
  padding: 28px 0; text-align: center; font-size: 13px; color: var(--text-muted, #94a3b8);
}

.overview-section-title {
  margin-bottom: 20px;
  font-size: 18px;
  font-weight: 600;
  color: var(--text-strong);
}

.account-table-wrap {
  overflow-x: auto;
}

.account-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
}

.account-table th {
  padding: 12px 16px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  text-align: left;
  border-bottom: 1px solid var(--border-default);
}

.account-table td {
  padding: 16px;
  font-size: 14px;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-subtle);
  vertical-align: middle;
}

.account-table tr:last-child td {
  border-bottom: none;
}

/* 列表行悬停交互 */
.account-table tbody tr {
  transition: background-color 0.15s ease;
}
.account-table tbody tr:hover {
  background-color: var(--accent-soft, rgba(121, 68, 228, 0.06));
}

.account-table .is-positive {
  color: #15803d;
  font-weight: 500;
}

.account-table .is-negative {
  color: #dc2626;
  font-weight: 500;
}

.account-event-cell {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 320px;
}

.account-event-thumb {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: var(--bg-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.account-event-thumb.is-eth { background: rgba(98, 126, 234, 0.15); color: #627eea; }
.account-event-thumb.is-crypto { background: rgba(247, 147, 26, 0.12); color: #f7931a; }
.account-event-thumb.is-finance { background: rgba(37, 99, 235, 0.1); color: #2563eb; }
.account-event-thumb.is-sports { background: rgba(34, 197, 94, 0.12); color: #16a34a; }
.account-event-thumb.is-tech { background: rgba(139, 92, 246, 0.12); color: #7c3aed; }
.account-event-thumb.is-geo { background: rgba(239, 68, 68, 0.1); color: #dc2626; }

.account-event-title {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-strong);
  line-height: 1.4;
}

.account-event-outcome {
  margin-top: 2px;
  font-size: 12px;
  color: var(--text-muted);
}

.account-coin {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.account-coin__name {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  color: var(--text-strong);
}

.account-coin__tag {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.4;
  color: #2563eb;
  background: rgba(37, 99, 235, 0.08);
  border-radius: 4px;
}

.account-coin__icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
}

.account-coin__icon--img { background: transparent; overflow: hidden; }
.account-coin__icon--img img { width: 100%; height: 100%; object-fit: contain; border-radius: 50%; display: block; }

.account-coin__icon.is-eur { background: #2563eb; }
.account-coin__icon.is-usd { background: #16a34a; }
.account-coin__icon.is-gbp { background: #7c3aed; }
.account-coin__icon.is-usdt { background: #26a17b; }
.account-coin__icon.is-nusd { background: var(--accent); }
.account-coin__icon.is-nova { background: linear-gradient(135deg, #f59e0b, #7944e4); }
.account-coin__icon.is-usdc { background: #2775ca; }
.account-coin__icon.is-usds { background: #1a7f5a; }
.account-coin__icon.is-btc { background: #f7931a; }
.account-coin__icon.is-eth { background: #627eea; }
.account-coin__icon.is-bnb { background: #f3ba2f; color: #1a1a1a; }
.account-coin__icon.is-sol { background: #9945ff; }

.account-link-action.is-disabled {
  color: var(--text-placeholder);
  cursor: not-allowed;
  pointer-events: none;
}

.assets-account-tabs {
  margin-top: 8px;
}

.account-copy-cell {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: ui-monospace, monospace;
  font-size: 13px;
}

.account-copy-btn {
  width: 24px;
  height: 24px;
  color: var(--text-muted);
  border-radius: 4px;
}

.account-copy-btn:hover {
  color: var(--text-strong);
  background: var(--bg-muted);
}

.account-copy-btn.is-copied {
  color: var(--accent);
  background: rgba(121, 68, 228, 0.1);
}

.account-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
}

.account-status__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.account-status.is-hit { color: #15803d; }
.account-status.is-miss { color: var(--text-muted); }
.account-status.is-reject { color: #dc2626; }
.account-status.is-hit .account-status__dot { background: #15803d; }
.account-status.is-reject .account-status__dot { background: #dc2626; }

.account-link-action {
  font-size: 14px;
  font-weight: 500;
  color: var(--accent);
  margin-right: 12px;
}

.account-link-action:hover {
  color: var(--accent-strong);
}

.assets-summary {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 32px;
}

.assets-summary__label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-muted);
}

.assets-summary__value {
  margin-top: 8px;
  font-size: clamp(28px, 5vw, 36px);
  font-weight: 700;
  color: var(--text-strong);
}

.assets-summary__sub {
  margin-top: 4px;
  font-size: 14px;
  color: var(--text-muted);
}

.btn-outline {
  height: 40px;
  padding: 0 20px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-strong);
  background: var(--bg-card);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-pill);
}

.btn-outline:hover {
  color: var(--accent);
  background: var(--accent-soft);
  border-color: rgba(121, 68, 228, 0.45);
}

.assets-section-title {
  margin-bottom: 16px;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-strong);
}

/* 交易记录：交易金额下方的优惠券使用标签 */
.record-amount { line-height: 1.4; }
.record-coupon-tag {
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  color: #f59e0b;
  white-space: nowrap;
}
.record-coupon-tag i { margin-right: 2px; font-size: 11px; }

.coupon-redeem__title {
  margin-bottom: 16px;
  font-size: 16px;
  font-weight: 600;
}

.coupon-redeem__row {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

@media (min-width: 640px) {
  .coupon-redeem__row {
    flex-direction: row;
    align-items: flex-end;
  }
}

.coupon-redeem__field {
  flex: 1;
}

.coupon-redeem__field label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  color: var(--text-secondary);
}

.coupon-input {
  width: 100%;
  height: 48px;
  padding: 0 16px;
  font-size: 15px;
  background: var(--input-bg);
  border: 1px solid var(--input-border);
  border-radius: var(--radius-pill);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.coupon-input:hover {
  border-color: var(--input-border-hover);
}

.coupon-input:focus {
  border-color: var(--brand);
  box-shadow: var(--input-focus-shadow);
}

.coupon-redeem__btn {
  height: 48px;
  padding: 0 28px;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  background: var(--accent);
  border-radius: var(--radius-pill);
}

.account-tabs {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  border-bottom: 1px solid var(--border-default);
  margin-bottom: 24px;
}

.account-tabs button {
  flex-shrink: 0;
  padding: 12px 0;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-muted);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}

.account-tabs button.is-active {
  color: var(--text-strong);
  border-bottom-color: var(--accent);
}

.account-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
  text-align: center;
}

.account-empty[hidden] {
  display: none !important;
}

.account-empty i {
  font-size: 56px;
  color: var(--border-default);
  margin-bottom: 12px;
}

.account-empty p {
  margin: 0;
  font-size: 14px;
  color: var(--text-muted);
}

.account-empty-row td {
  padding: 0;
  border-bottom: none;
}

.account-table .account-empty {
  padding: 48px 24px;
}

.records-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.records-filter {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  height: 40px;
  padding: 0 16px;
  min-width: 150px;
  font-size: 14px;
  background: var(--input-bg);
  border: 1px solid var(--input-border);
  border-radius: var(--radius-pill);
}

.records-filter select {
  border: none;
  background: transparent;
  font-family: inherit;
  font-size: 14px;
  outline: none;
}

/* 自定义筛选下拉：面板固定出现在筛选框下方 */
.fsel { display: inline-flex; }
.fsel__trigger {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 0; font-family: inherit; font-size: 14px; color: var(--text-primary);
  background: transparent; border: none; cursor: pointer; white-space: nowrap;
}
.fsel__caret { font-size: 11px; color: var(--text-muted); transition: transform 0.15s; }
.fsel.is-open .fsel__caret { transform: rotate(180deg); }
.fsel__panel {
  position: absolute; z-index: 60; top: calc(100% + 6px); left: 0;
  min-width: 140px; padding: 6px;
  background: var(--bg-card); border: 1px solid var(--border-default);
  border-radius: 10px; box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}
.fsel:not(.is-open) .fsel__panel { display: none; }
.fsel__opt {
  display: block; width: 100%; text-align: left; padding: 8px 12px;
  font-size: 13px; color: var(--text-primary); white-space: nowrap;
  background: transparent; border: none; border-radius: 6px; cursor: pointer;
}
.fsel__opt:hover { background: var(--bg-muted); }
.fsel__opt.is-active { background: var(--accent-soft); color: var(--accent-strong); font-weight: 600; }

.records-reset {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 40px;
  padding: 0 14px;
  font-size: 14px;
  line-height: 1;
  text-align: center;
  color: var(--text-secondary);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-pill);
}

.account-pagination {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin-top: 24px;
}

.account-pagination button,
.account-pagination span {
  min-width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: var(--text-secondary);
  border-radius: 8px;
}

.account-pagination .is-current {
  font-weight: 600;
  background: var(--bg-muted);
}

.invite-hero {
  text-align: center;
  padding: 40px 24px;
  margin-bottom: 32px;
  background: linear-gradient(135deg, rgba(121, 68, 228, 0.08), rgba(37, 99, 235, 0.06));
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-card);
}

.invite-hero h2 {
  font-size: clamp(22px, 4vw, 28px);
  font-weight: 700;
  margin-bottom: 12px;
}

.invite-hero p {
  font-size: 15px;
  color: var(--text-secondary);
  max-width: 520px;
  margin: 0 auto 28px;
}

.invite-tools {
  display: grid;
  gap: 16px;
  max-width: 640px;
  margin: 0 auto;
}

@media (min-width: 640px) {
  .invite-tools {
    grid-template-columns: 1fr 1fr;
  }
}

.invite-tool {
  padding: 16px 20px;
  text-align: left;
  background: var(--bg-card);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
}

.invite-tool__label {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.invite-tool__value {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
}

.invite-steps {
  display: grid;
  gap: 20px;
  margin-bottom: 40px;
}

@media (min-width: 768px) {
  .invite-steps {
    grid-template-columns: repeat(3, 1fr);
  }
}

.invite-step {
  text-align: center;
  padding: 24px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-card);
}

.invite-step__icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--accent);
  background: rgba(121, 68, 228, 0.12);
  border-radius: 50%;
}

.invite-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}

@media (min-width: 768px) {
  .invite-stats-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.invite-stat-card {
  padding: 16px 20px;
  background: var(--bg-muted);
  border-radius: var(--radius-md);
}

.invite-stat-card__label {
  font-size: 13px;
  color: var(--text-muted);
}

.invite-stat-card__value {
  margin-top: 6px;
  font-size: 18px;
  font-weight: 700;
}

.invite-kol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 32px;
  padding: 28px 32px;
  background: var(--bg-muted);
  border-radius: var(--radius-card);
}

.settings-item {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border-subtle);
}

.settings-item:last-child {
  border-bottom: none;
}

.settings-item__info h3 {
  font-size: 15px;
  font-weight: 600;
}

.settings-item__info p {
  margin-top: 4px;
  font-size: 13px;
  color: var(--text-muted);
}

.settings-badge {
  display: inline-flex;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 500;
  color: #15803d;
  background: rgba(21, 128, 61, 0.1);
  border-radius: var(--radius-pill);
}

.settings-badge.is-warn {
  color: #b45309;
  background: rgba(245, 158, 11, 0.12);
}

.btn-settings {
  height: 36px;
  padding: 0 16px;
  font-size: 14px;
  font-weight: 500;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-pill);
}

.settings-switch {
  position: relative;
  width: 44px;
  height: 24px;
  background: var(--border-default);
  border-radius: var(--radius-pill);
  cursor: pointer;
}

.settings-switch.is-on {
  background: var(--accent);
}

.settings-switch::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 20px;
  height: 20px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
  transition: transform 0.2s;
}

.settings-switch.is-on::after {
  transform: translateX(20px);
}

/* ========== 子页面返回头 ========== */
.account-subhead {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
  font-size: clamp(24px, 4vw, 28px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-strong);
}

/* 返回按钮样式见 global.css .account-subhead__back */

/* 账户内操作按钮 · 文案居中 */
.btn-outline,
.btn-settings,
.btn-security,
.btn-security--primary,
.btn-security--more,
.profile-save-btn,
.transfer-submit-btn,
.coupon-redeem__btn,
.transfer-input-max {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1;
}

/* ========== 安全页 ========== */
.security-section-title {
  margin-bottom: 4px;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-strong);
}

.security-list {
  display: flex;
  flex-direction: column;
}

.security-item {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border-subtle);
}

.security-item:first-child {
  padding-top: 12px;
}

.security-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.security-item__main {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  flex: 1;
  min-width: min(100%, 280px);
}

.security-item__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  margin-top: 2px;
  font-size: 20px;
  color: var(--text-strong);
}

.security-item__ga-icon {
  display: block;
}

.security-item__info h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-strong);
}

.security-item__info p {
  margin-top: 4px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-muted);
  max-width: 520px;
}

.security-item__actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
  margin-left: auto;
}

.security-item__meta {
  font-size: 13px;
  color: var(--text-muted);
  white-space: nowrap;
}

.security-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
}

.security-status.is-off {
  color: #ea580c;
}

.security-status.is-off i {
  font-size: 14px;
}

.security-status.is-on {
  color: var(--accent);
}

.security-status.is-unbound {
  color: #ea580c;
}

.security-status.is-unbound i {
  font-size: 14px;
}

/* ========== 绑定谷歌验证器 ========== */
.ga-bind {
  padding-top: 28px;
}

.ga-bind .account-subhead {
  margin-bottom: 20px;
}

.ga-setup {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  max-width: 1080px;
}

@media (min-width: 1024px) {
  .ga-setup {
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 32px;
  }
}

.ga-steps {
  margin: 0;
  padding: 0;
  list-style: none;
}

.ga-step {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 16px;
  position: relative;
}

.ga-step + .ga-step {
  margin-top: 8px;
}

.ga-step:not(:last-child) .ga-step__rail::after {
  content: "";
  position: absolute;
  top: 36px;
  left: 15px;
  bottom: -8px;
  width: 2px;
  background: var(--brand);
}

.ga-step__rail {
  position: relative;
}

.ga-step__num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  background: var(--brand);
  border-radius: 50%;
}

.ga-step__body {
  padding-bottom: 28px;
}

.ga-step:last-child .ga-step__body {
  padding-bottom: 0;
}

.ga-step__title {
  margin: 4px 0 8px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.45;
  color: var(--text-strong);
}

.ga-step__desc {
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-secondary);
}

.ga-step__note {
  margin: 0 0 16px;
  font-size: 13px;
  line-height: 1.6;
  color: #ea580c;
}

.ga-download {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.ga-download__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 42px;
  padding: 0 18px;
  font-size: 14px;
  font-weight: 600;
  color: var(--brand);
  background: #fff;
  border: 1px solid var(--brand);
  border-radius: 8px;
  text-decoration: none;
  cursor: pointer;
}

.ga-download__btn:hover {
  background: rgba(121, 68, 228, 0.06);
}

.ga-download__btn i {
  font-size: 16px;
}

.ga-secret {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--border-default);
  border-radius: 12px;
}

.ga-secret__qr {
  width: 148px;
  height: 148px;
  flex-shrink: 0;
  padding: 6px;
  background: #fff;
  border: 1px solid var(--border-default);
  border-radius: 8px;
}

.ga-secret__qr svg {
  display: block;
  width: 100%;
  height: 100%;
}

.ga-secret__key {
  min-width: 0;
  flex: 1;
}

.ga-secret__label {
  margin-bottom: 8px;
  font-size: 13px;
  color: var(--text-muted);
}

.ga-secret__value {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--text-strong);
  word-break: break-all;
}

.ga-secret__copy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  color: var(--text-muted);
  border-radius: 6px;
  cursor: pointer;
}

.ga-secret__copy:hover {
  color: var(--brand);
  background: rgba(121, 68, 228, 0.08);
}

.ga-verify {
  width: 100%;
  max-width: 420px;
}

.ga-verify__submit {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 48px;
  margin-top: 8px;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  background: var(--brand);
  border: none;
  border-radius: 10px;
  cursor: pointer;
}

.ga-verify__submit:hover {
  background: var(--brand-hover);
}

.ga-aside {
  padding: 24px;
  background: var(--bg-muted);
  border-radius: 16px;
}

.ga-aside h3 {
  margin: 0 0 12px;
  font-size: 16px;
  font-weight: 700;
  color: var(--text-strong);
}

.ga-aside ol {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.ga-aside li {
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-secondary);
}

.ga-aside a {
  color: var(--brand);
  word-break: break-all;
}

/* ========== 解绑谷歌验证器弹窗 ========== */
.ga-u-dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 400px;
  padding: 36px 28px 28px;
  background: var(--bg-card);
  border-radius: 20px;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.25);
  text-align: center;
}

.ga-u-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.ga-u-title {
  margin: 0 0 12px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--text-strong);
}

.ga-u-desc {
  margin: 0 0 28px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-secondary);
}

.ga-u-desc span {
  color: #ea580c;
  font-weight: 700;
}

.ga-u-actions {
  display: flex;
  gap: 12px;
}

.ga-u-btn {
  flex: 1;
  height: 46px;
  border: none;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}

.ga-u-btn--cancel {
  color: var(--text-strong);
  background: var(--bg-muted);
}

.ga-u-btn--cancel:hover {
  background: #e4e4e7;
}

.ga-u-btn--ok {
  color: #fff;
  background: #18181b;
}

.ga-u-btn--ok:hover {
  background: #27272a;
}

.ga-uv-dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 420px;
  padding: 22px 24px 20px;
  background: var(--bg-card);
  border-radius: 20px;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.25);
}

.ga-uv-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.ga-uv-head h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: var(--text-strong);
}

.ga-uv-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin: -2px -4px 0 0;
  color: var(--text-muted);
  background: transparent;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}

.ga-uv-close:hover {
  color: var(--text-strong);
  background: var(--bg-muted);
}

.ga-uv-lead {
  margin: 0 0 22px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-muted);
}

.ga-uv-label {
  margin-bottom: 10px;
  font-size: 14px;
  color: var(--text-strong);
}

.ga-uv-field {
  position: relative;
}

.ga-uv-field input {
  width: 100%;
  height: 48px;
  padding: 0 72px 0 16px;
  font-size: 14px;
  color: var(--text-strong);
  background: var(--input-bg, #fff);
  border: 1px solid var(--input-border, #d4d4d8);
  border-radius: 12px;
}

.ga-uv-field input:hover {
  border-color: var(--input-border-hover, #a1a1aa);
}

.ga-uv-field input:focus {
  outline: none;
  border-color: var(--brand);
  background: var(--input-bg, #fff);
  box-shadow: var(--input-focus-shadow, 0 0 0 3px rgba(121, 68, 228, 0.16));
}

.ga-uv-field__action {
  position: absolute;
  top: 50%;
  right: 14px;
  transform: translateY(-50%);
  font-size: 14px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--brand);
  background: transparent;
  border: none;
  cursor: pointer;
}

.ga-uv-field__action:disabled {
  color: var(--text-muted);
  cursor: not-allowed;
}

.ga-uv-field__paste {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  color: var(--text-muted);
  border-radius: 6px;
}

.ga-uv-field__paste:hover {
  color: var(--brand);
  background: rgba(121, 68, 228, 0.08);
}

.ga-uv-hint {
  margin: 8px 0 0;
  font-size: 12px;
  color: var(--text-muted);
}

.ga-uv-group {
  margin-bottom: 18px;
}

.ga-uv-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 48px;
  margin-top: 8px;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  background: var(--brand);
  border: none;
  border-radius: 12px;
  cursor: pointer;
}

.ga-uv-submit:disabled {
  color: #fff;
  background: #d4d4d8;
  cursor: not-allowed;
}

.ga-uv-submit:not(:disabled):hover {
  background: var(--brand-hover);
}

.ga-uv-help {
  display: block;
  width: 100%;
  margin: 16px auto 4px;
  padding: 0;
  font-size: 13px;
  color: var(--text-secondary);
  background: transparent;
  border: none;
  text-align: center;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.oauth-provider-list {
  display: flex;
  flex-direction: column;
}

.oauth-provider-item {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border-subtle);
}

.oauth-provider-item:first-child {
  padding-top: 8px;
}

.oauth-provider-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.oauth-provider-item__main {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.oauth-provider-item__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  font-size: 20px;
}

.oauth-provider-item__label {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-strong);
}

.oauth-provider-item__actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: auto;
}

.oauth-provider__google {
  background: linear-gradient(135deg, #4285f4 0%, #ea4335 45%, #fbbc05 70%, #34a853 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.oauth-provider__apple {
  font-size: 22px;
  color: var(--text-strong);
}

.oauth-provider__telegram {
  color: #26a5e4;
}

.oauth-provider__metamask {
  display: block;
}

.btn-security {
  height: 36px;
  padding: 0 18px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-strong);
  background: var(--bg-card);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-pill);
  transition: background 0.2s, border-color 0.2s;
}

.btn-security:hover {
  background: var(--bg-muted);
  border-color: var(--text-muted);
}

.btn-security--primary {
  color: #fff;
  background: var(--accent);
  border-color: var(--accent);
}

.btn-security--primary:hover {
  background: #359a75;
  border-color: #359a75;
}

.btn-security--link {
  color: var(--text-muted);
  background: transparent;
  border: none;
  padding: 0 8px;
}

.btn-security--link:hover {
  color: var(--text-strong);
  background: transparent;
}

.btn-security--more {
  min-width: 80px;
  padding: 0 20px;
}

/* ========== 设置 · 个人资料 ========== */
.settings-section-title {
  margin-bottom: 8px;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-strong);
}

.settings-section-desc {
  margin-bottom: 24px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

.settings-profile-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 8px;
}

.settings-profile-row__left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.settings-profile-row__avatar {
  width: 48px;
  height: 48px;
  font-size: 16px;
}

.settings-profile-row__name {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-strong);
}

/* ========== 个人资料编辑 ========== */
.profile-form {
  display: flex;
  flex-direction: column;
  gap: 32px;
  max-width: 560px;
}

.profile-field label {
  display: block;
  margin-bottom: 12px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-strong);
}

.profile-avatar-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.profile-avatar-row .account-avatar {
  width: 64px;
  height: 64px;
  font-size: 22px;
}

.profile-avatar-row .btn-outline {
  height: 36px;
  padding: 0 16px;
  font-size: 14px;
}

.profile-field__hint {
  margin-top: 8px;
  font-size: 13px;
  color: var(--text-muted);
}

.profile-nickname-wrap {
  position: relative;
}

.profile-nickname-input {
  width: 100%;
  height: 52px;
  padding: 0 56px 0 16px;
  font-size: 15px;
  color: var(--text-primary);
  background: var(--input-bg);
  border: 1px solid var(--input-border);
  border-radius: var(--radius-pill);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.profile-nickname-input:hover {
  border-color: var(--input-border-hover);
}

.profile-nickname-input:focus {
  background: var(--input-bg);
  border-color: var(--brand);
  box-shadow: var(--input-focus-shadow);
}

.profile-nickname-count {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 13px;
  color: var(--text-muted);
}

.profile-save-btn {
  width: 100%;
  max-width: 560px;
  height: 52px;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  background: var(--accent);
  border-radius: var(--radius-pill);
  transition: background 0.2s, transform 0.15s;
}

.profile-save-btn:hover {
  background: #359a75;
}

.profile-save-btn:active {
  transform: translateY(1px);
}

.account-pagination.is-center {
  justify-content: center;
}

/* ========== 充值 / 提现 ========== */
.transfer-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: start;
}

@media (min-width: 1024px) {
  .transfer-layout {
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 32px;
  }
}

.transfer-steps {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.withdraw-method-tabs {
  display: flex;
  gap: 28px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--border-default);
}

.withdraw-method-tabs button {
  position: relative;
  padding: 0 0 14px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-muted);
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: color 0.2s, border-color 0.2s;
}

.withdraw-method-tabs button:hover {
  color: var(--text-strong);
}

.withdraw-method-tabs button.is-active {
  color: var(--text-strong);
  border-bottom-color: var(--text-strong);
}

.withdraw-steps {
  gap: 32px;
}

.withdraw-onchain-panel {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

/* hidden 时需覆盖上面的 display:flex，否则切到 NovaMarkets 用户 tab 链上字段仍显示 */
.withdraw-onchain-panel[hidden] {
  display: none;
}

.withdraw-contract-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  padding: 12px 14px;
  background: var(--bg-muted);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
}

.withdraw-contract-row__label {
  flex-shrink: 0;
  font-size: 13px;
  color: var(--text-muted);
}

.withdraw-contract-row__value {
  flex: 1;
  min-width: 0;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  word-break: break-all;
}

.withdraw-amount-step {
  padding-top: 32px;
  border-top: 1px solid var(--border-subtle);
}

.withdraw-recipient-tabs {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  margin-bottom: 12px;
  background: var(--bg-muted);
  border-radius: var(--radius-md);
}

.withdraw-recipient-tabs button {
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  background: transparent;
  border: none;
  border-radius: calc(var(--radius-md) - 2px);
  transition: color 0.2s, background 0.2s;
}

.withdraw-recipient-tabs button.is-active {
  color: var(--text-strong);
  background: var(--bg-card);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
}

.transfer-input-with-icon {
  position: relative;
}

.transfer-input-with-icon .transfer-input {
  padding-right: 48px;
}

.transfer-input-with-icon__btn {
  position: absolute;
  top: 50%;
  right: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  color: var(--text-muted);
  background: transparent;
  border: none;
  border-radius: 8px;
  transform: translateY(-50%);
  transition: color 0.2s, background 0.2s;
}

.transfer-input-with-icon__btn:hover {
  color: var(--text-strong);
  background: var(--bg-muted);
}

.transfer-step__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.transfer-step__title {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-strong);
}

.transfer-step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  background: var(--accent);
  border-radius: 50%;
}

.transfer-step__extra {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-muted);
}

.transfer-select {
  width: 100%;
  height: 52px;
  padding: 0 16px;
  font-size: 15px;
  color: var(--text-primary);
  background-color: var(--input-bg);
  border: 1px solid var(--input-border);
  border-radius: var(--radius-md);
  outline: none;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2371717a' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.transfer-select:hover {
  border-color: var(--input-border-hover);
}

.transfer-select:focus {
  background-color: var(--input-bg);
  border-color: var(--brand);
  box-shadow: var(--input-focus-shadow);
}

/* ===== 自定义币种 / 网络下拉 ===== */
.coin-select,
.net-select {
  position: relative;
  width: 100%;
}

.coin-select__trigger,
.net-select__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  min-height: 52px;
  padding: 0 16px;
  background: var(--input-bg);
  border: 1px solid var(--input-border);
  border-radius: var(--radius-md);
  cursor: pointer;
  text-align: left;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.coin-select__trigger:hover,
.net-select__trigger:hover {
  border-color: var(--input-border-hover);
}

.coin-select.is-open .coin-select__trigger,
.net-select.is-open .net-select__trigger {
  border-color: var(--brand);
  box-shadow: var(--input-focus-shadow);
}

.coin-select__caret {
  flex-shrink: 0;
  font-size: 12px;
  color: var(--text-muted);
  transition: transform 0.18s;
}

.coin-select.is-open .coin-select__caret,
.net-select.is-open .coin-select__caret {
  transform: rotate(180deg);
}

.coin-select__current .account-coin__name {
  font-size: 15px;
  font-weight: 600;
}

/* 面板 */
.coin-select__panel,
.net-select__panel {
  position: absolute;
  z-index: 30;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  max-height: 320px;
  overflow-y: auto;
  padding: 6px;
  background: var(--bg-card);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

.coin-select:not(.is-open) .coin-select__panel,
.net-select:not(.is-open) .net-select__panel {
  display: none;
}

.coin-select__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 10px 12px;
  background: transparent;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.coin-select__item:hover {
  background: var(--bg-muted);
}

.coin-select__item.is-active {
  background: var(--accent-soft);
}

.coin-select__check {
  color: var(--accent-strong);
  font-size: 13px;
}

/* 网络项 */
.net-select__note {
  display: flex;
  gap: 8px;
  margin: 2px 2px 8px;
  padding: 10px 12px;
  font-size: 12px;
  line-height: 1.5;
  color: var(--text-secondary);
  background: var(--bg-muted);
  border-radius: var(--radius-sm);
}

.net-select__note i {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--text-muted);
}

.net-select__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 12px;
  background: transparent;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  text-align: left;
}

.net-select__item:hover {
  background: var(--bg-muted);
}

.net-select__item.is-active {
  background: var(--accent-soft);
}

.net-select__main {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

/* 选中后显示框：网络名 + 副标题 同一行 */
.net-select__trigger .net-select__main {
  flex-direction: row;
  align-items: baseline;
  gap: 8px;
}

.net-select__main strong {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-strong);
}

.net-select__main small {
  font-size: 12px;
  color: var(--text-muted);
}

.net-select__meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex-shrink: 0;
  text-align: right;
}

.net-select__meta strong {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
}

.net-select__meta small {
  font-size: 12px;
  color: var(--text-muted);
}

.transfer-address-card {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  padding: 20px;
  background: var(--bg-muted);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
}

.transfer-qr {
  flex-shrink: 0;
  width: 168px;
  height: 168px;
  padding: 8px;
  background: #fff;
  border: 1px solid var(--border-default);
  border-radius: 12px;
}

.transfer-qr img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.transfer-address-info {
  flex: 1;
  min-width: 200px;
}

.transfer-address-info__label {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 10px;
}

.transfer-address-info__value {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-strong);
  word-break: break-all;
  line-height: 1.5;
}

.transfer-address-card__hint {
  width: 100%;
  margin-top: 4px;
  font-size: 13px;
  color: var(--text-muted);
}

.transfer-tips {
  padding: 20px;
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.2);
  border-radius: var(--radius-md);
}

.transfer-tips__title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-strong);
}

.transfer-tips__title i {
  color: #d97706;
}

.transfer-tips ol {
  margin: 0;
  padding-left: 20px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-secondary);
}

.transfer-tips li + li {
  margin-top: 10px;
}

.transfer-recent {
  margin-top: 0;
}

.transfer-recent--full {
  width: 100%;
  margin-top: 24px;
}

.transfer-recent--full .account-table {
  width: 100%;
  min-width: 960px;
}

.transfer-recent--full .account-table-wrap {
  margin: 0;
  padding: 0;
}

@media (min-width: 1024px) {
  .transfer-recent--full {
    margin-top: 32px;
  }
}

.transfer-recent__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
}

.transfer-recent__head h2 {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-strong);
}

.transfer-recent__more {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  font-weight: 500;
  color: var(--accent-strong);
  transition: color 0.2s;
}

.transfer-recent__more:hover {
  color: var(--accent);
}

.transfer-input {
  width: 100%;
  height: 52px;
  padding: 0 16px;
  font-size: 15px;
  color: var(--text-primary);
  background: var(--input-bg);
  border: 1px solid var(--input-border);
  border-radius: var(--radius-md);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.transfer-input:hover {
  border-color: var(--input-border-hover);
}

.transfer-input:focus {
  background: var(--input-bg);
  border-color: var(--brand);
  box-shadow: var(--input-focus-shadow);
}

.transfer-input-wrap {
  position: relative;
}

.transfer-input-wrap .transfer-input {
  padding-right: 72px;
}

.transfer-input-max {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  padding: 4px 8px;
}

.transfer-input-max:hover {
  color: #359a75;
}

.transfer-field-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
  font-size: 13px;
  color: var(--text-muted);
}

.transfer-field-meta strong {
  color: var(--text-strong);
  font-weight: 600;
}

.transfer-field-hint {
  margin-top: 8px;
  font-size: 13px;
  color: var(--text-muted);
}

.transfer-coupon-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  height: 52px;
  padding: 0 16px;
  background: var(--bg-muted);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
}

.transfer-coupon-row span {
  font-size: 14px;
  color: var(--text-muted);
}

.transfer-coupon-row button {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
}
.transfer-coupon-row button:disabled {
  color: var(--text-muted);
  cursor: not-allowed;
}
.transfer-coupon-row.is-selected {
  background: rgba(16, 185, 129, 0.06);
  border-color: rgba(16, 185, 129, 0.35);
}
.transfer-coupon-applied {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #10b981 !important;
  font-weight: 600;
}

/* ===== 卡券选择弹窗 ===== */
.coupon-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.coupon-modal[hidden] { display: none; }
.coupon-modal__mask {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
}
.coupon-modal__panel {
  position: relative;
  width: 100%;
  max-width: 520px;
  max-height: 80vh;
  display: flex;
  flex-direction: column;
  background: var(--bg-card, #fff);
  border-radius: var(--radius-card, 16px);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.25);
  overflow: hidden;
}
.coupon-modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-strong, #1f2937);
  background: var(--bg-muted, #f7f8fa);
}
.coupon-modal__close {
  width: 28px;
  height: 28px;
  color: var(--text-muted);
  font-size: 16px;
}
.coupon-modal__close:hover { color: var(--text-strong); }
.coupon-modal__hint {
  padding: 12px 20px 4px;
  font-size: 13px;
  color: #f59e0b;
}
.coupon-modal__hint i { margin-right: 4px; }
.coupon-modal__list {
  padding: 12px 20px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.coupon-pick {
  display: flex;
  align-items: stretch;
  gap: 14px;
  width: 100%;
  text-align: left;
  border: 1px solid var(--border-default, #e6e8eb);
  border-radius: var(--radius-md, 12px);
  background: var(--bg-card, #fff);
  overflow: hidden;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.coupon-pick:hover { border-color: rgba(121, 68, 228, 0.4); }
.coupon-pick.is-selected {
  border-color: var(--accent, #7944e4);
  box-shadow: 0 0 0 1px var(--accent, #7944e4);
}
.coupon-pick__amount {
  flex-shrink: 0;
  width: 96px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  color: #fff;
  background: linear-gradient(135deg, #fbb24b, #f5852f);
}
.coupon-pick__amount strong { font-size: 26px; font-weight: 700; line-height: 1; }
.coupon-pick__amount span { font-size: 13px; font-weight: 600; }
.coupon-pick__body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px 0;
}
.coupon-pick__title { font-size: 15px; font-weight: 600; color: var(--text-strong, #1f2937); }
.coupon-pick__desc { font-size: 13px; color: var(--text-muted, #6b7280); line-height: 1.5; }
.coupon-pick__valid { font-size: 12px; color: var(--text-muted, #9ca3af); }
.coupon-pick__radio {
  flex-shrink: 0;
  align-self: center;
  width: 22px;
  height: 22px;
  margin-right: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-default, #d1d5db);
  border-radius: 50%;
  color: transparent;
  font-size: 12px;
}
.coupon-pick.is-selected .coupon-pick__radio {
  background: #2f80ed;
  border-color: #2f80ed;
  color: #fff;
}
.coupon-modal__foot {
  display: flex;
  gap: 12px;
  padding: 16px 20px;
  border-top: 1px solid var(--border-subtle, #f0f1f3);
}
.coupon-modal__btn {
  flex: 1;
  height: 44px;
  border-radius: var(--radius-md, 12px);
  font-size: 15px;
  font-weight: 600;
}
.coupon-modal__btn--ghost {
  color: var(--text-strong, #374151);
  background: var(--bg-card, #fff);
  border: 1px solid var(--border-default, #d1d5db);
}
.coupon-modal__btn--ghost:hover { background: var(--bg-muted, #f7f8fa); }
.coupon-modal__btn--primary {
  color: #fff;
  background: var(--brand);
}
.coupon-modal__btn--primary:hover { background: var(--brand-hover); }

/* 提现确认 / 安全验证弹窗 */
.wd-modal__panel { max-width: 440px; }
.wd-modal__head {
  background: var(--bg-card, #fff);
  padding: 20px 22px 6px;
}
.wd-modal__head--back { justify-content: flex-start; gap: 10px; }
.wd-modal__back {
  width: 24px; height: 24px;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted, #6b7280); font-size: 18px;
}
.wd-modal__title { font-size: 18px; font-weight: 700; color: var(--text-strong, #1f2937); }
.wd-modal__body { padding: 8px 22px 6px; overflow-y: auto; }

.wd-confirm-row {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 13px 0;
  border-bottom: 1px solid var(--border-subtle, #f0f1f3);
  font-size: 14px;
}
.wd-confirm-row:last-child { border-bottom: none; }
.wd-confirm-row__label { color: var(--text-muted, #6b7280); flex-shrink: 0; }
.wd-confirm-row__value {
  color: var(--text-strong, #1f2937); font-weight: 600; text-align: right;
  word-break: break-all;
}
.wd-confirm-note {
  margin-top: 14px;
  font-size: 13px; color: var(--text-muted, #9ca3af); line-height: 1.7;
}

.wd-verify__sub { font-size: 13px; color: var(--text-muted, #6b7280); margin: 4px 0 20px; }
.wd-verify__sub strong { color: var(--text-strong, #374151); font-weight: 600; }
.wd-verify__group { margin-bottom: 20px; }
.wd-verify__label { font-size: 14px; color: var(--text-strong, #374151); margin-bottom: 10px; }
.wd-code-inputs { display: flex; gap: 10px; }
.wd-code-inputs input {
  flex: 1; min-width: 0; height: 52px; padding: 0;
  border: 1px solid var(--border-default, #d1d5db);
  border-radius: 10px;
  text-align: center; font-size: 20px; font-weight: 600;
  color: var(--text-strong, #1f2937); background: var(--bg-card, #fff);
}
.wd-code-inputs input:focus {
  outline: none; border-color: var(--brand);
  box-shadow: 0 0 0 2px rgba(121, 68, 228, 0.15);
}
.wd-code-actions {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 10px; font-size: 13px;
}
.wd-code-actions button { font-size: 13px; }
.wd-code-actions__send { color: var(--brand); }
.wd-code-actions__paste { color: var(--text-muted, #9ca3af); margin-left: auto; }
.coupon-modal__foot--single { border-top: none; padding-top: 8px; }

.transfer-submit-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-top: 8px;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
}

.transfer-receive {
  flex: 1;
  min-width: 200px;
}

.transfer-receive__label {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.transfer-receive__value {
  font-size: clamp(24px, 4vw, 32px);
  font-weight: 700;
  color: var(--text-strong);
  letter-spacing: -0.02em;
}

.transfer-receive__fee {
  margin-top: 6px;
  font-size: 13px;
  color: var(--text-muted);
}

.transfer-submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 160px;
  height: 52px;
  padding: 0 32px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  text-align: center;
  color: #fff;
  background: var(--accent);
  border-radius: var(--radius-pill);
  transition: background 0.2s, opacity 0.2s;
}

.transfer-submit-btn:hover:not(:disabled) {
  background: #359a75;
}

.transfer-submit-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

/* ========== 法币入金 ========== */
.fiat-deposit-layout .transfer-main,
.fiat-transfer-layout .transfer-main {
  min-width: 0;
}

.fiat-currency-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

@media (max-width: 640px) {
  .fiat-currency-grid {
    grid-template-columns: 1fr;
  }
}

.fiat-currency-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  text-align: left;
  background: var(--bg-card);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.fiat-currency-card strong {
  display: block;
  font-size: 15px;
  color: var(--text-strong);
}

.fiat-currency-card span {
  display: block;
  margin-top: 2px;
  font-size: 13px;
  color: var(--text-muted);
}

.fiat-currency-card.is-active {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent);
}

.fiat-channel-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.fiat-channel-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  width: 100%;
  padding: 16px;
  text-align: left;
  background: var(--bg-card);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  transition: border-color 0.2s;
}

.fiat-channel-card.is-active {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent);
}

.fiat-channel-card__index {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-strong);
  background: var(--bg-muted);
  border-radius: 50%;
}

.fiat-channel-card__body strong {
  display: block;
  font-size: 15px;
  color: var(--text-strong);
}

.fiat-channel-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-top: 8px;
  font-size: 13px;
  color: var(--text-muted);
}

.fiat-amount-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 56px;
  padding: 0 12px 0 16px;
  background: var(--input-bg);
  border: 1px solid var(--input-border);
  border-radius: var(--radius-md);
}

.fiat-amount-wrap:hover {
  border-color: var(--input-border-hover);
}

.fiat-amount-wrap:focus-within {
  background: var(--input-bg);
  border-color: var(--brand);
  box-shadow: var(--input-focus-shadow);
}

.fiat-amount-input {
  flex: 1;
  min-width: 0;
  height: 100%;
  font-size: 18px;
  font-weight: 600;
  color: var(--text-strong);
  background: transparent;
  border: none;
  outline: none;
}

.fiat-amount-suffix {
  flex-shrink: 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-muted);
}

.fiat-amount-max {
  flex-shrink: 0;
  height: 32px;
  padding: 0 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  background: rgba(121, 68, 228, 0.08);
  border-radius: var(--radius-sm);
}

.fiat-amount-max:hover {
  background: rgba(121, 68, 228, 0.15);
}

.fiat-bank-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

@media (max-width: 768px) {
  .fiat-bank-form {
    grid-template-columns: 1fr;
  }
}

.fiat-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.fiat-field--full {
  grid-column: 1 / -1;
}

.fiat-field__label {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-strong);
}

.fiat-field__label em {
  color: #dc2626;
  font-style: normal;
}

.fiat-field__label .is-optional {
  font-weight: 400;
  color: var(--text-muted);
}

.fiat-field__input {
  width: 100%;
  height: 48px;
  padding: 0 14px;
  font-size: 14px;
  color: var(--text-strong);
  background: var(--input-bg);
  border: 1px solid var(--input-border);
  border-radius: var(--radius-md);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.fiat-field__input::placeholder {
  color: var(--text-placeholder);
}

.fiat-field__input:hover {
  border-color: var(--input-border-hover);
}

.fiat-field__input:focus {
  background: var(--input-bg);
  border-color: var(--brand);
  box-shadow: var(--input-focus-shadow);
}

.fiat-summary-notice--list ul {
  margin: 10px 0 0;
  padding-left: 18px;
  font-size: 13px;
  line-height: 1.7;
  color: #92400e;
}

.fiat-summary-notice--list li + li {
  margin-top: 6px;
}

.fiat-summary-notice__title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #92400e;
}

.fiat-summary-notice--list {
  flex-direction: column;
  align-items: stretch;
}

.fiat-amount-hint {
  margin: 10px 0 20px;
  font-size: 13px;
  color: var(--text-muted);
}

.fiat-deposit-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 52px;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  background: var(--accent);
  border-radius: var(--radius-pill);
  transition: background 0.2s, opacity 0.2s;
}

.fiat-deposit-submit:hover:not(:disabled) {
  background: #359a75;
}

.fiat-deposit-submit:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.fiat-summary-aside {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.fiat-summary-card {
  padding: 20px;
  background: var(--bg-muted);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
}

.fiat-summary-card__title {
  margin: 0 0 16px;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-strong);
}

.fiat-summary-list {
  margin: 0;
}

.fiat-summary-list > div {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-subtle);
}

.fiat-summary-list > div:last-child {
  border-bottom: none;
}

.fiat-summary-list dt {
  font-size: 14px;
  color: var(--text-muted);
}

.fiat-summary-list dd {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-strong);
  text-align: right;
}

.fiat-summary-list .is-highlight dd {
  font-size: 16px;
  font-weight: 700;
  color: #15803d;
}

.fiat-summary-notice {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px 16px;
  font-size: 13px;
  line-height: 1.6;
  color: #92400e;
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.25);
  border-radius: var(--radius-md);
}

.fiat-summary-notice i {
  margin-top: 2px;
  color: #d97706;
}

.fiat-records {
  margin-top: 24px;
}

.fiat-records-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.fiat-record-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.fiat-record-tabs button {
  height: 36px;
  padding: 0 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  background: var(--bg-muted);
  border-radius: var(--radius-pill);
  transition: color 0.2s, background 0.2s;
}

.fiat-record-tabs button.is-active {
  color: #fff;
  background: var(--accent);
}

.fiat-records-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.fiat-records-search {
  height: 40px;
  padding: 0 20px;
  font-size: 14px;
}

.fiat-records .account-table {
  min-width: 1100px;
}

.fiat-status {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 500;
  border-radius: var(--radius-pill);
}

.fiat-status.is-success {
  color: #15803d;
  background: rgba(21, 128, 61, 0.1);
}

.fiat-status.is-processing {
  color: #2563eb;
  background: rgba(37, 99, 235, 0.1);
}

.fiat-status.is-pending {
  color: #b45309;
  background: rgba(245, 158, 11, 0.12);
}

.fiat-status.is-failed {
  color: #dc2626;
  background: rgba(220, 38, 38, 0.1);
}

.fiat-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  font-size: 14px;
  color: var(--text-muted);
}

.fiat-breadcrumb a {
  color: var(--text-muted);
}

.fiat-breadcrumb a:hover {
  color: var(--accent);
}

.fiat-transfer-head {
  margin-bottom: 20px;
}

.fiat-transfer-title {
  display: inline;
  margin: 0 12px 0 0;
  font-size: clamp(22px, 4vw, 28px);
  font-weight: 700;
  color: var(--text-strong);
}

.fiat-transfer-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  font-size: 13px;
  font-weight: 500;
  color: #15803d;
  background: rgba(21, 128, 61, 0.1);
  border-radius: var(--radius-pill);
  vertical-align: middle;
}

.fiat-transfer-badge__dot {
  width: 6px;
  height: 6px;
  background: #15803d;
  border-radius: 50%;
}

.fiat-transfer-timer-box {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 24px;
  padding: 20px;
  background: var(--bg-muted);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
}

.fiat-transfer-timer {
  --progress: 100;
  position: relative;
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  color: var(--text-strong);
  background:
    radial-gradient(closest-side, var(--bg-muted) 78%, transparent 80% 100%),
    conic-gradient(var(--accent) calc(var(--progress) * 1%), var(--border-default) 0);
  border-radius: 50%;
}

.fiat-transfer-timer-box__label {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-strong);
}

.fiat-transfer-timer-box__hint {
  margin: 6px 0 0;
  font-size: 13px;
  color: var(--text-muted);
}

.fiat-transfer-section-title {
  margin: 0 0 20px;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-strong);
}

.fiat-bank-list {
  margin: 0;
}

.fiat-bank-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border-subtle);
}

.fiat-bank-row dt {
  font-size: 14px;
  color: var(--text-muted);
}

.fiat-bank-row dd {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-strong);
  text-align: right;
}

.fiat-bank-row.is-amount .is-positive {
  font-size: 18px;
  font-weight: 700;
}

.fiat-ref-code {
  font-family: ui-monospace, monospace;
  font-weight: 700;
  color: #b45309;
}

.fiat-copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 32px;
  padding: 0 12px;
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
  background: rgba(121, 68, 228, 0.08);
  border-radius: var(--radius-sm);
}

.fiat-copy-btn:hover {
  background: rgba(121, 68, 228, 0.15);
}

.fiat-ref-warning {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 20px;
  padding: 14px 16px;
  font-size: 13px;
  line-height: 1.6;
  color: #92400e;
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.25);
  border-radius: var(--radius-md);
}

.fiat-transfer-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
}

.fiat-transfer-actions .fiat-deposit-submit {
  width: auto;
  min-width: 280px;
  flex: 1;
}

.fiat-transfer-cancel {
  height: 52px;
  padding: 0 24px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-muted);
}

.fiat-transfer-cancel:hover {
  color: var(--text-strong);
}

/* ========== 兑换弹窗 ========== */
body.exchange-modal-open {
  overflow: hidden;
}

.exchange-modal[hidden] {
  display: none !important;
}

.exchange-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
}

.exchange-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
}

.exchange-modal__dialog {
  position: relative;
  width: min(100%, 440px);
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  padding: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-default);
  border-radius: 16px;
  box-shadow: 0 24px 48px rgba(15, 23, 42, 0.16);
}

.exchange-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.exchange-modal__header h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  color: var(--text-strong);
}

.exchange-modal__close {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  border-radius: var(--radius-sm);
}

.exchange-modal__close:hover {
  color: var(--text-strong);
  background: var(--bg-muted);
}

.exchange-panel {
  padding: 16px;
  background: var(--bg-muted);
  border: 1px solid var(--border-default);
  border-radius: 12px;
}

.exchange-panel + .exchange-panel {
  margin-top: 0;
}

.exchange-panel__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 14px;
  color: var(--text-muted);
}

.exchange-panel__meta {
  font-size: 13px;
  text-align: right;
}

.exchange-panel__meta .account-link-action {
  margin-left: 6px;
  font-size: 13px;
}

.exchange-panel__body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.exchange-currency {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.exchange-currency__chevron {
  color: var(--text-muted);
}

.exchange-currency-picker {
  position: relative;
  flex-shrink: 0;
}

.exchange-currency-trigger {
  display: inline-flex;
  align-items: center;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  border-radius: 999px;
  transition: background 0.2s;
}

.exchange-currency-trigger:hover {
  background: rgba(0, 0, 0, 0.04);
}

.exchange-currency-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 10;
  min-width: 168px;
  padding: 6px;
  background: var(--bg-card);
  border: 1px solid var(--border-default);
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.12);
}

.exchange-currency-menu[hidden] {
  display: none;
}

.exchange-currency-option {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 10px 12px;
  border: none;
  background: transparent;
  border-radius: 8px;
  cursor: pointer;
  text-align: left;
  transition: background 0.2s;
}

.exchange-currency-option:hover,
.exchange-currency-option.is-active {
  background: var(--bg-muted);
}

.exchange-panel__amount {
  flex: 1;
  min-width: 0;
  border: none;
  background: transparent;
  font-size: clamp(28px, 6vw, 36px);
  font-weight: 700;
  color: var(--text-strong);
  text-align: right;
  outline: none;
  -moz-appearance: textfield;
  appearance: textfield;
}

.exchange-panel__amount::-webkit-outer-spin-button,
.exchange-panel__amount::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.exchange-panel__amount::placeholder {
  color: var(--text-placeholder);
}

.exchange-panel__amount.is-readonly {
  line-height: 1.2;
  pointer-events: none;
}

.exchange-swap-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin: -12px auto;
  position: relative;
  z-index: 1;
  color: var(--text-strong);
  background: var(--bg-card);
  border: 1px solid var(--border-default);
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
}

.exchange-swap-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.exchange-swap-btn__icon {
  display: block;
  flex-shrink: 0;
}

.exchange-fee-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 20px 0 16px;
  font-size: 14px;
  color: var(--text-muted);
}

.exchange-fee-info {
  color: var(--text-placeholder);
  vertical-align: middle;
}

.exchange-coupon {
  margin-bottom: 20px;
}

.exchange-coupon__label {
  margin-bottom: 10px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-strong);
}

.exchange-coupon__label .is-optional {
  font-weight: 400;
  color: var(--text-muted);
}

.exchange-coupon__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  background: var(--bg-muted);
  border: 1px solid var(--border-default);
  border-radius: 12px;
  font-size: 14px;
}

.exchange-submit-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 52px;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  background: var(--accent);
  border-radius: var(--radius-pill);
  transition: background 0.2s, opacity 0.2s;
}

.exchange-submit-btn:hover:not(:disabled) {
  background: #359a75;
}

.exchange-submit-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

/* ========== 禁用账户 ========== */
.disable-account {
  max-width: 560px;
  margin: 0 auto;
  padding-top: 32px;
  padding-bottom: 40px;
  text-align: center;
}

.disable-account__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
  font-size: 56px;
  line-height: 1;
  color: var(--text-strong);
}

.disable-account__panel {
  margin-bottom: 24px;
  padding: 24px;
  text-align: left;
  background: var(--bg-muted);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
}

.disable-account__confirm {
  margin-bottom: 16px;
  font-size: 14px;
  line-height: 1.6;
  color: #ea580c;
}

.disable-account__confirm span {
  font-weight: 600;
}

.disable-account__heading {
  margin-bottom: 12px;
  font-size: 15px;
  font-weight: 700;
  color: var(--text-strong);
}

.disable-account__list {
  margin: 0;
  padding-left: 20px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--text-secondary);
}

.disable-account__list li + li {
  margin-top: 6px;
}

.disable-account__ack {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  cursor: pointer;
  user-select: none;
}

.disable-account__ack input {
  width: 16px;
  height: 16px;
  accent-color: #2563eb;
  cursor: pointer;
}

.disable-account__ack span {
  font-size: 14px;
  color: var(--text-secondary);
}

.disable-account__submit {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 52px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  color: #fff;
  background: #2563eb;
  border: none;
  border-radius: var(--radius-pill);
  transition: background 0.2s, opacity 0.2s;
}

.disable-account__submit:hover:not(:disabled) {
  background: #1d4ed8;
}

.disable-account__submit:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

/* ========== 资产总览 / 资金账户 / 理财账户（新增） ========== */
.assets-summary__actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* 账户视角：账户行 */
.account-acct-cell { display: inline-flex; align-items: center; gap: 12px; }
.account-acct-ico {
  width: 38px; height: 38px; flex: none; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--accent); background: rgba(121, 68, 228, 0.12); font-size: 16px;
}
.account-acct-meta { display: flex; flex-direction: column; line-height: 1.4; }
.account-acct-meta b { font-size: 14px; color: var(--text-primary); }
.account-acct-meta small { font-size: 12px; color: var(--text-secondary); }

/* 通用按钮 */
.btn-primary {
  display: inline-flex; align-items: center; gap: 6px;
  height: 40px; padding: 0 18px; font-size: 14px; font-weight: 600;
  color: var(--brand-on); background: var(--brand);
  border: 1px solid var(--brand); border-radius: var(--radius-md);
  cursor: pointer; text-decoration: none; transition: background .18s, transform .12s;
}
.btn-primary:hover { background: var(--brand-hover); }
.btn-primary:active { transform: scale(0.98); }
.btn-outline--sm { height: 30px; padding: 0 14px; font-size: 12px; }
.is-accent { color: var(--accent); font-weight: 600; }

/* 理财账户 · 持仓汇总卡 */
.fin-acct-summary {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
}
.fin-acct-summary__hint { font-size: 13px; color: var(--text-secondary); margin-top: 6px; }
.fin-acct-metrics { display: flex; gap: 36px; flex-wrap: wrap; }
.fin-acct-metric { display: flex; flex-direction: column; gap: 6px; }
.fin-acct-metric span { font-size: 12px; color: var(--text-secondary); }
.fin-acct-metric b { font-size: 20px; font-weight: 700; color: var(--text-primary); }
.fin-acct-metric a { font-size: 15px; font-weight: 600; color: var(--accent); text-decoration: none; }

/* 理财持仓表头 */
.fin-acct-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.fin-acct-title { font-size: 16px; font-weight: 700; color: var(--text-primary); margin: 0; }

/* 产品单元格 */
.fin-acct-prod { display: inline-flex; align-items: center; gap: 12px; }
.fin-acct-avatar {
  width: 36px; height: 36px; flex: none; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700; color: #fff; background: #26a17b;
}
.fin-acct-avatar.is-usdt { background: #26a17b; }
.fin-acct-avatar.is-usdc { background: #2775ca; }
.fin-acct-avatar.is-eur  { background: #3b82f6; }
.fin-acct-avatar.is-btc  { background: #f7931a; }
.fin-acct-avatar.is-eth  { background: #627eea; }
.fin-acct-prod__meta { display: flex; flex-direction: column; line-height: 1.4; }
.fin-acct-prod__name { font-size: 14px; font-weight: 600; color: var(--text-primary); }
.fin-acct-prod__sub { font-size: 12px; color: var(--text-secondary); }
.fin-acct-tag {
  display: inline-block; margin-left: 4px; padding: 1px 7px;
  font-size: 11px; font-weight: 500; color: var(--text-secondary);
  background: var(--bg-muted); border-radius: 5px;
}

/* 状态徽章 */
.fin-acct-status { display: inline-flex; padding: 4px 10px; font-size: 12px; font-weight: 600; border-radius: 999px; }
.fin-acct-status.is-active { color: #16a34a; background: rgba(121, 68, 228, 0.12); }
.fin-acct-status.is-locked { color: #b45309; background: rgba(245, 158, 11, 0.14); }

/* ========== 通用浅色弹窗（赎回确认） ========== */
.account-modal { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 20px; }
.account-modal[hidden] { display: none; }
.account-modal__backdrop { position: absolute; inset: 0; background: rgba(15, 23, 42, 0.45); }
.account-modal__dialog {
  position: relative; z-index: 1; width: 100%; max-width: 400px;
  background: var(--bg-card); border-radius: var(--radius-card);
  box-shadow: var(--shadow-card); overflow: hidden;
}
.account-modal__header { display: flex; align-items: center; justify-content: space-between; padding: 18px 22px; border-bottom: 1px solid var(--border-default); }
.account-modal__header h2 { margin: 0; font-size: 16px; font-weight: 700; }
.account-modal__close { width: 30px; height: 30px; display: flex; align-items: center; justify-content: center; color: var(--text-secondary); background: transparent; border: none; cursor: pointer; border-radius: 8px; }
.account-modal__close:hover { background: var(--bg-muted); }
.account-modal__body { padding: 20px 22px; }
.account-modal__footer { display: flex; gap: 12px; padding: 16px 22px 20px; }
.account-modal__footer > * { flex: 1; justify-content: center; }
.fin-redeem-row { display: flex; justify-content: space-between; padding: 10px 0; font-size: 14px; border-bottom: 1px solid var(--border-subtle); }
.fin-redeem-row span { color: var(--text-secondary); }
.fin-redeem-row b { color: var(--text-primary); }
.fin-redeem-note { margin: 14px 0 0; font-size: 12px; color: var(--text-muted); line-height: 1.6; }

/* 列表卡标题（资产总览/资金账户 下方列表区） */
.account-card__heading { font-size: 16px; font-weight: 700; color: var(--text-primary); margin: 0 0 16px; }

/* ========== 理财记录（理财历史） ========== */
.fin-rec-head { margin-bottom: 18px; }
.fin-rec-sub { margin: 0; font-size: 13px; color: var(--text-secondary); }

.fin-rec-tabs { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 18px; }
.fin-rec-tabs button {
  padding: 7px 16px; font-size: 13px; font-weight: 600;
  color: var(--text-secondary);
  background: var(--bg-card);
  border: 1px solid var(--border-default);
  border-radius: 999px; cursor: pointer;
  transition: color .18s, background .18s, border-color .18s;
}
.fin-rec-tabs button:hover { color: var(--text-primary); border-color: var(--text-muted); }
.fin-rec-tabs button.is-active {
  color: var(--accent);
  background: rgba(121, 68, 228, 0.1);
  border-color: rgba(121, 68, 228, 0.45);
}

/* 类型徽章 */
.fin-rec-type {
  display: inline-block; margin-right: 6px; padding: 2px 8px;
  font-size: 11px; font-weight: 600; border-radius: 6px;
}
.fin-rec-type--subscribe { color: #16a34a; background: transparent; border: 1px solid rgba(121, 68, 228, 0.5); }
.fin-rec-type--income { color: #fff; background: #16a34a; }
.fin-rec-type--redeem { color: #b45309; background: transparent; border: 1px solid rgba(245, 158, 11, 0.6); }

/* 金额 / 单位 / 状态 */
.fin-rec-amt { font-weight: 700; color: var(--text-primary); }
.fin-rec-amt.is-profit { color: #16a34a; }
.fin-rec-unit { font-size: 12px; color: var(--text-muted); margin-left: 2px; }
.fin-rec-status { color: var(--text-secondary); }
.fin-rec-status.is-ok { color: #16a34a; }
.fin-rec-status.is-locked { color: #b45309; }

/* 合约地址链接（充值/提现 选择网络右上角）：交互色 + 可点击跳转区块浏览器 */
.contract-link {
  color: var(--accent);
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.15s;
}
.contract-link:hover { text-decoration: underline; opacity: 0.85; }

/* ========== 记录页统一筛选栏 ========== */
.records-filter__label { color: var(--text-secondary); }

/* 日期段筛选 */
.records-daterange {
  display: inline-flex; align-items: center; gap: 8px;
  height: 40px; padding: 0 14px;
  background: var(--input-bg);
  border: 1px solid var(--input-border);
  border-radius: var(--radius-pill);
  font-size: 14px; color: var(--text-secondary);
}
.records-daterange i { color: var(--text-muted); }
.records-daterange input[type="date"] {
  border: none; background: transparent; outline: none;
  font-family: inherit; font-size: 13px; color: var(--text-primary);
  cursor: pointer;
}
.records-daterange__arrow { color: var(--text-muted); }

/* 搜索按钮（主色绿） */
.records-search {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  height: 40px; padding: 0 22px;
  font-size: 14px; font-weight: 600; line-height: 1;
  color: var(--brand-on);
  background: var(--brand);
  border: 1px solid var(--brand);
  border-radius: var(--radius-pill);
  cursor: pointer; transition: background .18s, transform .12s;
}
.records-search:hover { background: var(--brand-hover); }
.records-search:active { transform: scale(0.98); }

/* ========== 卡券列表 ========== */
.coupon-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 18px;
  margin-top: 4px;
}
.coupon-empty { grid-column: 1 / -1; }

.coupon-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-default);
  border-radius: 12px;
}

/* 顶部金额区 */
.coupon-card__top {
  position: relative;
  padding: 22px 16px 20px;
  text-align: center;
  color: #fff;
  border-radius: 12px 12px 0 0;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
}
.coupon-card--used .coupon-card__top,
.coupon-card--expired .coupon-card__top {
  background: linear-gradient(135deg, #c7cbd1, #a9aeb6);
}
.coupon-card__amount { font-size: 30px; font-weight: 800; line-height: 1; }
.coupon-card__amount small { display: block; margin-top: 6px; font-size: 12px; font-weight: 600; opacity: 0.9; }

/* 角标 新到/将到期：卡片内右上角 pill，不溢出 */
.coupon-card__ribbon {
  position: absolute; top: 10px; right: 10px;
  padding: 2px 9px;
  font-size: 11px; font-weight: 700; color: #fff;
  background: rgba(0, 0, 0, 0.22);
  border-radius: 999px;
}

/* 锯齿分隔 + 两侧缺口 */
.coupon-card__body {
  position: relative;
  padding: 16px 16px 16px;
  border-top: 1px dashed var(--border-default);
}
/* 侧边缺口圆圈已移除，保持卡片简洁 */

.coupon-card__title {
  display: flex; align-items: baseline; justify-content: space-between; gap: 8px;
  font-size: 15px; font-weight: 700; color: var(--text-strong); margin-bottom: 10px;
}
.coupon-card__detail { font-size: 12px; font-weight: 500; color: var(--text-secondary); white-space: nowrap; }
.coupon-card__row { font-size: 12px; line-height: 1.7; color: var(--text-secondary); }
.coupon-card__link { display: inline-block; margin-top: 6px; font-size: 12px; color: var(--accent); }

.coupon-card__btn {
  width: 100%; margin-top: 14px; height: 36px;
  font-size: 13px; font-weight: 600;
  color: var(--accent);
  background: transparent;
  border: 1px solid var(--accent);
  border-radius: 8px; cursor: pointer;
  transition: background 0.18s;
}
.coupon-card__btn:hover { background: var(--accent-soft); }

/* 已使用 / 已过期 印章 */
.coupon-card__stamp {
  width: 64px; height: 64px; margin: 14px auto 4px;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700;
  color: var(--text-muted);
  border: 2px solid var(--text-muted);
  border-radius: 50%;
  opacity: 0.55;
  transform: rotate(-12deg);
}

/* 日期范围触发按钮（下拉） */
.records-daterange { cursor: pointer; }
.records-daterange:hover { border-color: var(--text-muted); }
.records-daterange__caret { font-size: 10px; color: var(--text-muted); margin-left: 2px; }

/* 双月日历区间选择面板 */
.drp {
  position: absolute; z-index: 1200;
  background: var(--bg-card);
  border: 1px solid var(--border-default);
  border-radius: 12px;
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.16);
  padding: 16px;
}
.drp[hidden] { display: none; }

/* 日历区：左（开始）| 右（结束）两个独立面板 */
.drp__cal { display: flex; align-items: flex-start; gap: 24px; }
.drp__side { width: 236px; }
.drp__mhead { display: flex; align-items: center; gap: 2px; height: 28px; margin-bottom: 8px; }
.drp__mtitle { flex: 1; text-align: center; font-size: 14px; font-weight: 600; color: var(--text-strong); }
.drp__navbtn {
  flex-shrink: 0; width: 26px; height: 26px;
  display: flex; align-items: center; justify-content: center; font-size: 13px;
  border-radius: 6px; color: var(--text-secondary); background: transparent; border: none; cursor: pointer;
}
.drp__navbtn:hover:not(:disabled) { background: var(--bg-muted); color: var(--text-primary); }
.drp__navbtn:disabled { opacity: 0.3; cursor: not-allowed; }
.drp__week { display: grid; grid-template-columns: repeat(7, 1fr); }
.drp__week span { text-align: center; font-size: 12px; color: var(--text-muted); padding: 4px 0; }
.drp__grid { display: grid; grid-template-columns: repeat(7, 1fr); }
.drp__cell {
  height: 32px; font-size: 13px; color: var(--text-primary);
  background: transparent; border: none; cursor: pointer; border-radius: 6px;
  transition: background 0.12s;
}
.drp__cell--empty { cursor: default; }
span.drp__cell { display: inline-flex; align-items: center; justify-content: center; }
.drp__cell.is-disabled { color: var(--text-muted); opacity: 0.4; cursor: not-allowed; }
.drp__cell--other { color: var(--text-muted); opacity: 0.5; }
.drp__cell:not(.is-disabled):hover:not(.is-sel) { background: var(--accent-soft); }
.drp__cell.in-range { background: var(--accent-soft); border-radius: 0; }
.drp__cell.is-sel { background: var(--accent); color: #fff; border-radius: 6px; font-weight: 600; opacity: 1; }

/* 快捷预设 */
.drp__presets {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px;
  margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--border-default);
}
.drp__presets button {
  height: 32px; font-size: 12px; color: var(--text-secondary); white-space: nowrap;
  background: var(--bg-muted); border: 1px solid var(--border-default);
  border-radius: 6px; cursor: pointer; transition: color 0.15s, border-color 0.15s, background 0.15s;
}
.drp__presets button:hover { color: var(--accent); border-color: rgba(121, 68, 228, 0.45); background: var(--accent-soft); }

/* 日期范围触发框：开始 → 结束 + 日历图标（整框可点） */
.records-daterange {
  background: var(--bg-card);
  color: var(--text-primary);
  gap: 10px;
  min-width: 300px;
}
.records-daterange__seg { font-size: 13px; color: var(--text-primary); text-align: center; flex: 1; }
.records-daterange__seg.is-empty { color: var(--text-placeholder); }
.records-daterange__arrow { color: var(--text-muted); font-size: 12px; flex: none; }
.records-daterange__cal { color: var(--text-secondary); margin-left: 8px; flex: none; }

/* 记录页 · 幸运星座/方向预测 下注记录 盈亏与获胜情况 */
.account-table .is-profit { color: #16a34a; font-weight: 600; }
.account-table .is-loss { color: #dc2626; font-weight: 600; }
.bet-result.is-win { color: #16a34a; font-weight: 600; }
.bet-result.is-lose { color: #9ca3af; font-weight: 600; }
.bet-result.is-cancel { color: #9ca3af; font-weight: 600; }

/* 玩法列 · 组选/直选标签（连星玩法）：独立胶囊，带背景 */
.zodiac-play-name { margin-right: 8px; }
.zodiac-play-tag {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.5;
  white-space: nowrap;
  vertical-align: middle;
}
.zodiac-play-tag--group { background: rgba(124, 58, 237, 0.12); color: #7c3aed; }
.zodiac-play-tag--straight { background: rgba(234, 88, 12, 0.12); color: #c2410c; }

/* ========== 全局列表对齐规则：前面左对齐（默认），最后一列右对齐 ========== */
.account-table th:last-child,
.account-table td:last-child { text-align: right; }

/* 区块链地址/TxID 可点击链接 */
.record-chain-link {
  color: var(--accent);
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
}
.record-chain-link:hover { text-decoration: underline; }

/* ========== 个人中心全屏布局（参考币安）========== */

/* 1. 账户页 header 内容区全宽，去掉 max-width 限制 */
.account-header .site-header__inner {
  max-width: none;
  padding-left: 24px;
  padding-right: 24px;
}

/* 2. account-shell 全宽，去掉 max-width 和居中 */
.account-shell {
  max-width: none;
  margin: 0;
  padding-left: 24px;
  padding-right: 24px;
}

@media (min-width: 640px) {
  .account-shell {
    padding-left: 32px;
    padding-right: 32px;
  }
}

/* 3. 侧边栏固定宽度略宽 */
@media (min-width: 1024px) {
  .account-sidebar {
    width: 220px;
  }
}

/* 4. 移动端顶部也全宽 */
.account-mobile-header {
  padding-left: 20px;
  padding-right: 20px;
}

/* 5. 内容区不再受 max-width 约束 */
.account-content {
  max-width: none;
}

/* 6. account-card 边框圆角去掉一丝多余内边距感 */
.account-card + .account-card {
  margin-top: 20px;
}

/* 7. 账户页面去掉 page-main 的 padding-top 留白（已由 header 高度补偿） */
.account-main.page-main {
  padding-top: var(--header-height);
}

/* 8. 账户页 header 本身去掉左右 padding，让 __inner 控制 */
.account-header {
  padding-left: 0;
  padding-right: 0;
}
