/* AUREA Portal — ecosystem metrics gauges + community daily goal
   (ecosystem-metrics.js; used by /roadmap full view and
   /transparency compact view). Same gold gauge language as
   burn-gauge.css. Claim button uses the shared .btn-lux-free. */

.eco-grid {
  display: grid; gap: 14px; margin: 16px 0 6px;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}
.eco-card {
  border: 1px solid #39415F; border-radius: 16px; padding: 16px 18px 14px;
  background: linear-gradient(160deg, rgba(255, 179, 0, .06), rgba(138, 79, 255, .05) 55%, rgba(255, 255, 255, .02));
}
.eco-lab { color: var(--muted, #A7ACC2); font-size: .9rem; font-weight: 700; margin: 0 0 4px; }
.eco-val { font-size: clamp(1.7rem, 4.6vw, 2.3rem); font-weight: 800; line-height: 1.1; margin: 0; }
.eco-sub { color: var(--muted, #A7ACC2); font-size: .84rem; font-weight: 600; margin: 4px 0 0; line-height: 1.5; }
.eco-delta { margin: 6px 0 0; font-size: .9rem; font-weight: 700; }
.eco-delta.up { color: #8CE99A; }
.eco-delta.down { color: #FFA8A8; }
.eco-delta.flat { color: var(--muted, #A7ACC2); font-weight: 600; }
.eco-bar {
  position: relative; height: 12px; border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 215, 0, .25);
  margin: 12px 0 6px;
}
.eco-bar-fill {
  height: 100%; width: 0%; border-radius: 999px;
  background: linear-gradient(90deg, #FFB300, #FFE97A);
  box-shadow: 0 0 12px rgba(255, 183, 0, .5);
  transition: width .8s ease;
}
.eco-next { font-size: .88rem; font-weight: 700; margin: 6px 0 0; }
.eco-next .eco-remain { color: #FFE97A; }
.eco-ms { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.eco-ms-chip {
  font-size: .76rem; font-weight: 700; padding: 3px 9px; border-radius: 999px;
  border: 1px solid #39415F; color: var(--muted, #A7ACC2);
}
.eco-ms-chip.hit { border-color: rgba(255, 215, 0, .65); color: #FFE97A; background: rgba(255, 179, 0, .08); }
.eco-note { color: var(--muted, #A7ACC2); font-size: .86rem; margin: 10px 0 0; line-height: 1.6; }

.eco-goal {
  border: 1px solid rgba(255, 215, 0, .4); border-radius: 18px;
  padding: 20px 22px 16px; margin: 20px 0 8px;
  background: linear-gradient(160deg, rgba(255, 179, 0, .08), rgba(138, 79, 255, .06) 55%, rgba(255, 255, 255, .02));
}
.eco-goal h3 { margin: 0 0 6px; font-size: 1.25rem; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.eco-goal-lead { color: var(--muted, #A7ACC2); margin: 0 0 14px; line-height: 1.65; }
.eco-goal-grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.eco-goal-item { border: 1px solid #39415F; border-radius: 12px; padding: 10px 12px; background: rgba(255, 255, 255, .03); }
.eco-goal-item .eco-lab { margin: 0; }
.eco-goal-nums { font-weight: 800; font-size: 1.05rem; margin-top: 2px; }
.eco-goal-nums .eco-of { color: var(--muted, #A7ACC2); font-weight: 600; font-size: .9rem; }
.eco-goal-item.done { border-color: rgba(140, 233, 154, .55); }
.eco-goal-item.done .eco-goal-nums { color: #8CE99A; }
.eco-mini-bar { height: 8px; border-radius: 999px; background: rgba(255, 255, 255, .08); margin-top: 8px; overflow: hidden; }
.eco-mini-fill { height: 100%; background: linear-gradient(90deg, #FFB300, #FFE97A); border-radius: 999px; transition: width .8s ease; }
.eco-goal-item.done .eco-mini-fill { background: linear-gradient(90deg, #51CF66, #8CE99A); }
.eco-claim { margin-top: 16px; border-top: 1px dashed #39415F; padding-top: 14px; }
.eco-claim-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.eco-claimed {
  font-weight: 800; color: #8CE99A;
  border: 1px solid rgba(140, 233, 154, .5); border-radius: 999px; padding: 8px 16px;
}
.eco-msg { min-height: 1.2em; font-weight: 700; margin: 8px 0 0; }
.eco-msg.ok { color: #8CE99A; }
.eco-msg.err { color: #FFA8A8; }
.eco-soon {
  display: inline-block; font-size: .78rem; font-weight: 800; letter-spacing: .04em;
  color: #FFD700; border: 1px solid rgba(255, 215, 0, .55); border-radius: 999px;
  padding: 3px 10px; background: rgba(255, 179, 0, .08);
}

/* Compact strip (Transparency tokenomics) */
.eco-strip { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); margin: 14px 0 4px; }
.eco-strip .eco-card { padding: 12px 14px 10px; }
.eco-strip .eco-val { font-size: 1.45rem; }
.eco-strip .eco-next { font-size: .8rem; }
