/* Wealth-deck polish — charts & stats feel like money is moving */

.chart-row {
  margin-top: 1.25rem;
  gap: 1.25rem;
}

.neon-chart-panel.wealth-chart {
  padding: 1rem 1.1rem 0.85rem;
  background: linear-gradient(
    155deg,
    rgba(28, 22, 12, 0.92) 0%,
    rgba(10, 8, 6, 0.96) 55%,
    rgba(18, 28, 22, 0.88) 100%
  );
  border: 1px solid rgba(201, 162, 39, 0.28);
  box-shadow:
    var(--shadow-panel),
    inset 0 1px 0 rgba(232, 197, 71, 0.12),
    0 0 40px rgba(0, 245, 255, 0.04);
}

.chart-header {
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
}

.chart-header-meta {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.chart-peak {
  font-family: var(--font-tech);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--brass-light);
  padding: 0.2rem 0.5rem;
  border: 1px solid rgba(201, 162, 39, 0.25);
  background: rgba(201, 162, 39, 0.06);
  border-radius: 2px;
}

.chart-delta {
  font-family: var(--font-tech);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
}

.chart-delta.up {
  color: var(--neon-green);
  text-shadow: 0 0 10px rgba(57, 255, 20, 0.35);
}

.chart-delta.down {
  color: var(--accent-red);
}

.chart-live.sample {
  color: var(--brass-light);
  text-shadow: 0 0 8px rgba(232, 197, 71, 0.35);
}

.chart-live.blend {
  color: var(--neon-amber);
}

.chart-empty.wealth-empty {
  min-height: 280px;
  background: linear-gradient(180deg, rgba(201, 162, 39, 0.04), transparent);
}

.chart-empty.wealth-empty span {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.chart-preview-spark {
  width: 100%;
  max-width: 280px;
  height: 48px;
  opacity: 0.35;
  margin-top: 0.5rem;
}

.deck-hero.wealth-hero {
  border: 1px solid rgba(201, 162, 39, 0.22);
  background: linear-gradient(
    120deg,
    rgba(201, 162, 39, 0.06) 0%,
    rgba(8, 6, 4, 0.4) 40%,
    rgba(0, 245, 255, 0.04) 100%
  );
  box-shadow: 0 0 48px rgba(201, 162, 39, 0.06);
}

.deck-wealth-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.deck-wealth-pill {
  padding: 0.65rem 0.85rem;
  border: 1px solid rgba(201, 162, 39, 0.2);
  background: rgba(12, 10, 8, 0.65);
  border-radius: 2px;
}

.deck-wealth-pill .dwp-label {
  font-family: var(--font-tech);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  color: var(--text-muted);
  text-transform: uppercase;
}

.deck-wealth-pill .dwp-value {
  font-family: var(--font-tech);
  font-size: 1.05rem;
  color: var(--brass-light);
  margin-top: 0.2rem;
}

.deck-wealth-pill .dwp-value.mint {
  color: var(--neon-green);
  text-shadow: 0 0 12px rgba(57, 255, 20, 0.35);
}

.deck-wealth-pill .dwp-sub {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 0.15rem;
}

.steampunk-stats .stat-card-wrap.wealth-stat {
  border-color: rgba(201, 162, 39, 0.32);
}

.earnings-estimator.wealth-earnings,
.earnings-preview.wealth-earnings {
  border: 1px solid rgba(255, 176, 32, 0.35);
  background: linear-gradient(145deg, rgba(40, 28, 8, 0.5), rgba(12, 10, 8, 0.95));
}

.earnings-preview .earnings-usd-day {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--neon-green);
  text-shadow: 0 0 16px rgba(57, 255, 20, 0.4);
}

.earnings-preview-badge {
  font-family: var(--font-tech);
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  color: var(--brass-light);
  opacity: 0.75;
  margin-bottom: 0.35rem;
}

.contrib-panel.sample-contrib .contrib-fill {
  background: linear-gradient(90deg, var(--brass-dark), var(--neon-cyan));
  box-shadow: 0 0 10px rgba(0, 245, 255, 0.25);
}

.activity-pulse.sample-activity .pulse-row.ok .pulse-dot {
  box-shadow: 0 0 8px rgba(57, 255, 20, 0.5);
}

.preview-deck-hint {
  font-family: var(--font-tech);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  color: rgba(201, 162, 39, 0.55);
  text-align: center;
  margin: 0.5rem 0 1rem;
}

@media (max-width: 768px) {
  .deck-wealth-strip {
    grid-template-columns: repeat(2, 1fr);
  }
}
