/* mmcryptogauge r7: a leaf that fills with bitcoins, in the home banner's bottom fade. Soft shade for legibility, no bar
 * or line. Literal fallbacks because Shop 1's theme has no --nx-* tokens. A change is a new rN file. */
.mmcg {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 4;
  display: flex; align-items: center; justify-content: space-between; gap: 24px; box-sizing: border-box;
  padding: 6px max(16px, calc((100% - 1200px) / 2));
  background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, .42) 35%, rgba(0, 0, 0, .42) 70%, transparent);
  color: var(--nx-text-strong, #F2F2F2);
  font-family: var(--nx-font, inherit); font-size: 14px; line-height: 1.3;
  pointer-events: none; /* the banner underneath stays clickable */
}
.mmcg[hidden] { display: none; }
.mmcg__saved, .mmcg__share { display: flex; align-items: center; gap: 10px; min-width: 0; white-space: nowrap; }
.mmcg__saved { align-self: flex-end; padding-bottom: 8px; } /* clear of the buttons low in Shop 1's banner */
.mmcg__value { font-weight: 700; font-variant-numeric: tabular-nums; }
.mmcg__pct { font-size: 22px; color: var(--nx-amber, #F5B800); }
.mmcg__plant { display: block; flex: none; width: 112px; height: 112px; overflow: visible; }
.mmcg__leaf { fill: rgba(255, 255, 255, .16); stroke: rgba(255, 255, 255, .28); stroke-width: 1; }
.mmcg__coins { animation: mmcg-rise 1.4s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes mmcg-rise { from { transform: translateY(110px); } to { transform: none; } }
@media (prefers-reduced-motion: reduce) { .mmcg__coins { animation: none; } }
/* nxhero banner: sit inside its fade, above its slider controls if they are switched on. */
.nx-hero > .mmcg { bottom: 8px; }
.nx-hero > .mmcg .mmcg__saved { align-self: center; padding-bottom: 0; }
.nx-hero:has(.nx-hero__controls) > .mmcg { bottom: 60px; }
@media (max-width: 767px) {
  .mmcg { display: grid; grid-template-columns: 1fr auto; gap: 0 12px; padding: 4px 16px; font-size: 12px; }
  .mmcg__saved { grid-column: 1; align-self: center; padding-bottom: 0; justify-content: space-between; }
  .mmcg__share { display: contents; }
  .mmcg__share > .mmcg__label { display: none; }
  .mmcg__pct { grid-column: 1; grid-row: 2; font-size: 16px; }
  .mmcg__pct::before { content: "Paid in crypto "; font-size: 12px; font-weight: 400; color: var(--nx-text-strong, #F2F2F2); }
  .mmcg__plant { grid-column: 2; grid-row: 1 / span 2; width: 72px; height: 72px; }
  .nx-hero > .mmcg { bottom: 4px; }
  .nx-hero:has(.nx-hero__controls) > .mmcg { bottom: 50px; }
}
