/* 用户中心专属样式（复用 app.css 的基础变量与组件） */

.auth-wrap {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.auth-card {
  width: min(430px, 100%);
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: linear-gradient(180deg, var(--panel), var(--panel-2));
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

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

.tabs {
  display: flex;
  gap: 6px;
  padding: 4px;
  background: #0e142b;
  border: 1px solid var(--line);
  border-radius: 10px;
}
.tabs .tab {
  flex: 1;
  border: none;
  background: transparent;
  color: var(--muted);
  padding: 8px;
  border-radius: 7px;
  cursor: pointer;
}
.tabs .tab.active {
  background: linear-gradient(135deg, rgba(79, 124, 255, 0.28), rgba(124, 92, 255, 0.22));
  color: #fff;
}

.notice {
  padding: 10px 12px;
  border-radius: 9px;
  border: 1px solid #35509c;
  background: rgba(79, 124, 255, 0.1);
  font-size: 13px;
}

.balance-chip {
  padding: 9px 12px;
  border-radius: 9px;
  border: 1px solid #235c3c;
  background: linear-gradient(135deg, rgba(46, 204, 113, 0.18), rgba(46, 204, 113, 0.06));
  font-weight: 600;
  text-align: center;
}
.balance-chip.low { border-color: #6b2b3a; background: rgba(255, 93, 93, 0.14); }

.big-balance {
  font-size: 34px;
  font-weight: 700;
  letter-spacing: -1px;
  line-height: 1.1;
}

.key-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #0e142b;
  margin-bottom: 8px;
}
.key-row code { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.amount-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(96px, 1fr));
  gap: 10px;
}
.amount-option {
  padding: 14px 8px;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #0e142b;
  cursor: pointer;
  font-weight: 600;
}
.amount-option.active {
  border-color: #35509c;
  background: linear-gradient(135deg, rgba(79, 124, 255, 0.25), rgba(124, 92, 255, 0.18));
}

.steps { counter-reset: step; display: flex; flex-direction: column; gap: 10px; }
.step {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13.5px;
}
.step::before {
  counter-increment: step;
  content: counter(step);
  flex: 0 0 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(79, 124, 255, 0.2);
  border: 1px solid #35509c;
  font-size: 12px;
}

.mini-chart { display: flex; align-items: flex-end; gap: 4px; height: 110px; }
.mini-chart .bar {
  flex: 1;
  border-radius: 4px 4px 2px 2px;
  background: linear-gradient(180deg, #7c5cff, #4f7cff);
  min-height: 3px;
}
.mini-chart .bar.empty { background: #1b2440; }

.empty-state {
  padding: 26px;
  text-align: center;
  color: var(--muted);
  border: 1px dashed var(--line);
  border-radius: 10px;
}