.screen-dashboard { padding-top: var(--safe-top); }
.dash-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px var(--s4) 10px;
  position: sticky;
  top: var(--safe-top);
  z-index: 15;
  background: linear-gradient(to bottom, #000 70%, transparent 100%);
}
.dash-user {
  display: flex;
  align-items: center;
  gap: 10px;
}
.dash-hi { font-size: 15px; font-weight: 600; }
.dash-vip { font-size: 11px; color: var(--gold); }
.dash-actions { display: flex; align-items: center; gap: 4px; }

.dash-body { padding: 4px var(--s4) 0; }

.asset-card {
  margin-top: 6px;
  padding: 22px 20px;
  border-radius: var(--r-xl);
  background:
    linear-gradient(var(--bg-card), var(--bg-card)) padding-box,
    linear-gradient(135deg, rgba(245,197,66,0.6) 0%, rgba(245,197,66,0.1) 50%, rgba(245,197,66,0.5) 100%) border-box;
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
}
.asset-card::before {
  content: "";
  position: absolute;
  top: -60%; right: -30%;
  width: 260px; height: 260px;
  background: radial-gradient(circle, rgba(245,197,66,0.15) 0%, rgba(245,197,66,0) 65%);
  pointer-events: none;
}
.asset-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}
.asset-head span {
  font-size: 13px;
  color: var(--text-2);
}
.eye-btn {
  width: 28px; height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-2);
  border-radius: 50%;
}
.eye-btn:active { background: rgba(255,255,255,0.06); color: var(--text-1); }
.asset-amount {
  font-size: 40px;
  line-height: 1;
  margin-bottom: 8px;
  position: relative;
  z-index: 1;
  letter-spacing: -0.03em;
}
.asset-change {
  display: flex;
  align-items: center;
  font-size: 13px;
  margin-bottom: 18px;
  position: relative;
  z-index: 1;
}
.asset-divider {
  height: 1px;
  background: linear-gradient(to right, transparent, var(--divider), transparent);
  margin: 0 -4px 18px;
  position: relative;
  z-index: 1;
}
.asset-stats {
  display: flex;
  align-items: stretch;
  position: relative;
  z-index: 1;
}
.stat-item {
  flex: 1;
  text-align: center;
  padding: 2px 0;
}
.stat-label {
  font-size: 11px;
  color: var(--text-3);
  margin-bottom: 6px;
}
.stat-value {
  font-family: "SF Mono", monospace;
  font-size: 17px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.stat-value small {
  font-size: 11px;
  color: var(--text-3);
  margin-left: 2px;
  font-weight: 500;
}
.stat-split {
  width: 1px;
  background: var(--divider);
  align-self: stretch;
}

/* mining center */
.mining-center {
  margin: 32px auto 20px;
  width: 280px;
  height: 280px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mining-ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.mining-inner {
  position: relative;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 2;
}
.mining-glow {
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245,197,66,0.28) 0%, rgba(245,197,66,0) 65%);
  animation: miningGlow 2.4s ease-in-out infinite;
}
@keyframes miningGlow {
  0%,100% { transform: scale(0.95); opacity: 0.55; }
  50%     { transform: scale(1.08); opacity: 0.85; }
}
.mining-iphone {
  width: 56px; height: 56px;
  color: var(--gold);
  margin-bottom: 8px;
  filter: drop-shadow(0 0 12px rgba(245,197,66,0.5));
  position: relative;
  z-index: 1;
}
.mining-status {
  font-size: 12px;
  font-weight: 600;
  color: var(--success);
  letter-spacing: 0.1em;
  margin-bottom: 4px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  position: relative;
  z-index: 1;
}
.mining-status::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 4px rgba(48,209,88,0.2);
  animation: dotPulse 1.6s ease-in-out infinite;
}
.mining-status.paused { color: var(--text-2); }
.mining-status.paused::before { background: var(--text-3); box-shadow: none; animation: none; }
@keyframes dotPulse {
  0%,100% { box-shadow: 0 0 0 3px rgba(48,209,88,0.2); }
  50%     { box-shadow: 0 0 0 7px rgba(48,209,88,0.05); }
}
.mining-hash {
  font-family: "SF Mono", ui-monospace, monospace;
  font-size: 30px;
  font-weight: 800;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: -0.02em;
  position: relative;
  z-index: 1;
}
.mining-hash small {
  font-size: 12px;
  font-weight: 600;
  color: var(--gold);
  -webkit-text-fill-color: var(--gold);
  background: none;
  background-clip: initial;
  -webkit-background-clip: initial;
  margin-left: 3px;
}
.mining-pool {
  font-size: 11px;
  color: var(--text-3);
  margin-top: 6px;
  position: relative;
  z-index: 1;
}
.mining-pool b { color: var(--gold); }

.mining-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 24px;
}

.dash-cards-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 8px;
}
.dash-mini-card {
  padding: 14px 12px;
  border-radius: var(--r-lg);
  background: var(--bg-card);
  border: 0.5px solid var(--gold-border);
  box-shadow: 0 4px 16px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.03);
  position: relative;
  overflow: hidden;
}
.dash-mini-card.status-run::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--success);
}
.mc-icon { font-size: 18px; margin-bottom: 6px; }
.mc-title { font-size: 11px; color: var(--text-3); margin-bottom: 4px; }
.mc-value {
  font-family: "SF Mono", monospace;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 3px;
}
.mc-sub { font-size: 10px; color: var(--text-3); line-height: 1.3; }

/* ---------- Wallet Boost Card ---------- */
.wallet-boost-card {
  margin-top: 18px;
  padding: 18px 16px 16px;
  border-radius: var(--r-card);
  background:
    linear-gradient(165deg, rgba(245,197,66,0.08), rgba(245,197,66,0.01) 60%) padding-box,
    linear-gradient(135deg, rgba(245,197,66,0.5), rgba(245,197,66,0.1) 50%, rgba(245,197,66,0.35)) border-box;
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
}
.wallet-boost-card::before {
  content: '';
  position: absolute; top: -50%; right: -30%;
  width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(245,197,66,0.16), transparent 60%);
  pointer-events: none;
}
.wb-head {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; position: relative; z-index: 1;
}
.wb-title {
  font-size: 15px; font-weight: 700; color: var(--text-1); display: inline-flex; align-items: center; gap: 8px;
}
.wb-live {
  display: inline-block; padding: 2px 6px; font-size: 10px; font-weight: 700; letter-spacing: 0.08em;
  background: rgba(245,197,66,0.14); color: var(--gold); border: 1px solid var(--gold-border); border-radius: 999px;
}
.wb-zk { margin-top: 4px; font-size: 11px; color: var(--text-3); line-height: 1.5; }
.wb-badge {
  flex: 0 0 auto;
  padding: 8px 14px; font-size: 18px; font-weight: 800; color: #000;
  background: linear-gradient(135deg, #F5C542, #E8B030);
  border-radius: 12px; letter-spacing: -0.02em;
  box-shadow: 0 10px 30px -8px rgba(245,197,66,0.55);
  font-family: "SF Mono", ui-monospace, monospace;
}
.wb-tier {
  margin-top: 18px; display: flex; justify-content: space-between; position: relative; z-index: 1;
}
.tier-t {
  flex: 1; height: 4px; border-radius: 999px; margin: 0 3px;
  background: rgba(255,255,255,0.06);
  position: relative;
}
.tier-t:first-child { margin-left: 0; }
.tier-t:last-child  { margin-right: 0; }
.tier-t.t-titan.on  { background: #A9B6CC; }
.tier-t.t-silver.on { background: #D5DCE8; }
.tier-t.t-gold.on   { background: linear-gradient(90deg, #F5C542, #E8B030); box-shadow: 0 0 0 1px rgba(245,197,66,0.3); }
.tier-t.t-black.on  { background: linear-gradient(135deg, #1a1a1a, #2c2010); box-shadow: 0 0 0 1px rgba(245,197,66,0.5) inset; }

.wb-progress {
  margin-top: 10px; height: 6px; border-radius: 999px;
  background: rgba(255,255,255,0.06); overflow: hidden; position: relative; z-index: 1;
}
.wb-bar {
  height: 100%;
  background: linear-gradient(90deg, #F5C542 0%, #FFD56A 50%, #F5C542 100%);
  background-size: 200% 100%;
  animation: wbShine 2.4s linear infinite;
  border-radius: inherit;
  transition: width 420ms cubic-bezier(0.22,1,0.36,1);
  box-shadow: 0 0 14px rgba(245,197,66,0.5);
}
@keyframes wbShine { 0%{background-position:0% 0} 100%{background-position:200% 0} }

.wb-labels {
  margin-top: 10px; display: flex; justify-content: space-between; align-items: center;
  font-size: 11.5px; color: var(--text-3); position: relative; z-index: 1;
}
.wb-labels span:first-child { color: var(--text-2); font-weight: 600; }
.wb-labels span:last-child { text-align: right; }

.wb-assets-row {
  margin-top: 14px; padding: 12px 12px; border-radius: var(--r-lg);
  background: rgba(255,255,255,0.03);
  border: 0.5px solid var(--gold-border);
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px; position: relative; z-index: 1;
}
.wb-a-label { font-size: 10.5px; color: var(--text-3); margin-bottom: 4px; }
.wb-a-value {
  font-family: "SF Mono", ui-monospace, monospace; font-size: 15px; font-weight: 700; color: var(--text-1);
}

.wb-action { margin-top: 16px; position: relative; z-index: 1; }
.wb-action .btn { padding-top: 13px; padding-bottom: 13px; }
.wb-supports {
  margin-top: 8px; text-align: center;
  font-size: 10.5px; color: var(--text-3); letter-spacing: 0.01em;
}

.chart-wrap {
  padding: 10px 4px 4px;
}
.trend-chart {
  width: 100%;
  height: 160px;
}
.chart-x {
  display: flex;
  justify-content: space-between;
  padding: 8px 4px 0;
  font-size: 10px;
  color: var(--text-3);
  font-family: "SF Mono", monospace;
}

.block-list {
  display: flex;
  flex-direction: column;
  border-radius: var(--r-lg);
  background: var(--bg-card);
  border: 0.5px solid var(--gold-border);
  overflow: hidden;
}
.blk-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border-bottom: 0.5px solid var(--divider);
  transition: background 140ms ease;
}
.blk-row:last-child { border-bottom: none; }
.blk-row:active { background: rgba(255,255,255,0.02); }
.blk-ico {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  background: linear-gradient(135deg, rgba(245,197,66,0.2), rgba(245,197,66,0.04));
  flex-shrink: 0;
}
.blk-main { flex: 1; min-width: 0; }
.blk-title {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 3px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.blk-tag {
  padding: 1px 6px;
  font-size: 10px;
  border-radius: 4px;
  background: rgba(245,197,66,0.12);
  color: var(--gold);
  font-weight: 600;
}
.blk-sub { font-size: 12px; color: var(--text-3); }
.blk-right {
  text-align: right;
  flex-shrink: 0;
}
.blk-amt {
  font-family: "SF Mono", monospace;
  font-size: 15px;
  font-weight: 700;
  color: var(--gold);
}
.blk-st {
  margin-top: 3px;
  font-size: 11px;
  color: var(--success);
  display: inline-flex;
  align-items: center;
  gap: 3px;
}
.blk-st::before {
  content: "✓";
  color: var(--success);
  font-weight: 700;
}
