/* 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 {
  width:min(340px,calc(100% - 28px)); padding:clamp(16px,5vw,25px);
  border-radius:20px; border-color:#605133;
  background:radial-gradient(ellipse 66% 38% at 50% 11%,#6a4c1736,transparent 90%),var(--card);
  box-shadow:0 20px 56px #000b,inset 0 1px #fff1;
}
.racco-offline .offline-badge {
  display:grid; place-items:center; width:86px; height:86px; margin:0 auto 13px;
  border:1px solid #d5a75048; border-radius:50%;
  background:radial-gradient(circle,#9d6c2536,#1a1713 75%);
  box-shadow:0 0 24px #d6952626,inset 0 0 0 4px #d5a75011;
}
.racco-offline .offline-art {
  display:block; width:69px; height:69px; object-fit:contain;
  filter:drop-shadow(0 3px 8px #8e49064d);
}
.racco-offline h2 {
  margin:0; font-size:clamp(19px,5.4vw,23px); line-height:1.2;
}
.racco-offline .offline-amount {
  margin:7px 0 16px; color:var(--yellow);
  font:750 clamp(28px,8.5vw,40px)/1.12 racco-roboto, Arial, sans-serif;
  letter-spacing:-.025em; font-variant-numeric:tabular-nums; overflow-wrap:anywhere;
}
.racco-offline .offline-facts {
  border:1px solid var(--border); border-radius:13px;
  background:#101010; padding:9px 11px; text-align:left;
}
.racco-offline .offline-duration {
  display:flex; flex-wrap:wrap; align-items:baseline; justify-content:space-between;
  column-gap:10px; row-gap:3px; margin:0; color:var(--muted);
  font-size:13px;
}
.racco-offline .offline-duration strong { color:var(--text); white-space:nowrap; }
.racco-offline .offline-credit {
  display:flex; align-items:center; gap:7px; margin:7px 0 0; padding:7px 0 0;
  border-top:1px solid #ffffff0f; color:var(--subtle); font-size:12px;
}
.racco-offline .offline-credit::before {
  content:""; width:9px; height:5px; margin-left:2px; margin-top:-3px;
  border-left:2px solid var(--yellow); border-bottom:2px solid var(--yellow);
  transform:rotate(-45deg);
}
.racco-offline button { display:block; width:100%; margin-top:14px; min-height:44px; }
@media (max-height:440px) {
  .racco-offline .offline-badge { width:60px;height:60px;margin-bottom:8px; }
  .racco-offline .offline-art { width:49px;height:49px; }
}

/* 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; }
