/* Added economy information uses RACCO's existing gold-on-charcoal palette. */
.passive-hud {
  position: relative; z-index: 1;
  width: max-content; max-width: calc(100% - 24rem); margin: 4rem auto -20rem;
  display: flex; justify-content: center; align-items: baseline; gap: 7rem;
  color: #d3cbbb; font-size: 11rem; line-height: 16rem; white-space: nowrap;
}
.passive-hud strong { color: #ffe291; font-size: 12rem; font-variant-numeric: tabular-nums; }
.income-section-total {
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
  min-height: 36rem; margin: -10rem 0 10rem; padding: 8rem 11rem;
  border: 1px solid #e8ba4936; border-radius: 12rem;
  background: linear-gradient(165deg, #322719, #171513 78%);
  font-size: 12rem; color: #dbd3c5;
}
.income-section-total strong { color: #ffda64; white-space: nowrap; font-variant-numeric: tabular-nums; }
.passive-row .passive-level { display: flex; align-items: center; gap: 4rem; }
.passive-row .passive-requirement {
  min-width: 0; overflow: hidden; text-overflow: ellipsis;
  font-size: 10.5rem; color: #d9c18c;
}
.racco-offline {
  box-sizing: border-box; width: min(335px,calc(100% - 32px)); max-width: none; padding: 23px 20px 19px;
  text-align: center; color: #faf4e5; border: 1px solid #a87b3b76; border-radius: 24px;
  background: radial-gradient(ellipse at 50% 4%,#624619 0%,#2b2218 37%,#181716 79%);
  box-shadow: inset 0 1px #ffda8050,0 16px 70px #000b;
  animation: racco-in .2s ease-out;
}
.racco-offline::backdrop { background: #070604b9; }
.racco-offline .offline-art { display: block; width: 61px; height: 61px; margin: 0 auto 10px; object-fit: contain; filter: drop-shadow(0 2px 14px #ffa72b81); }
.racco-offline h2 { margin: 0; font-size: 22px; line-height: 1.15; }
.racco-offline .offline-amount { margin: 11px 0 5px; font-size: 26px; font-weight: 800; color: #ffe080; }
.racco-offline .offline-duration { margin: 0; color: #e2d9ca; font-size: 14px; }
.racco-offline .offline-credit { margin: 4px 0 0; color: #bdb1a1; font-size: 12px; }
.racco-offline button {
  display: block; width: 100%; margin-top: 17px; min-height: 41px; border-radius: 13px;
  background: var(--gold); color: #171103; font-weight: 700; font-size: 14px;
}
@media (prefers-reduced-motion: reduce) { .racco-offline { animation: none; } }
/* Keep the home shortcuts clear of the glass dock on short mobile displays. */
@media (max-height: 700px) {
  #app .home .coin-stage { height: calc(303rem - 46px); }
  #app .home #coin {
    width: calc(249rem - 40px);
    height: calc(251rem - 40px);
    top: calc(33rem - 5px);
    left: calc(61rem + 20px);
  }
  #app .home .coin-stage::before { height: calc(283rem - 42px); }
}

/* Reference seed values remain underneath, but never flash as a player's balance. */
.racco-booting [data-field="balance"],
.racco-booting [data-field="tapPower"],
.racco-booting [data-field="energy"],
.racco-booting [data-field="maxEnergy"] { visibility: hidden; }
