/* INJ NODE · Home compact lower panels · 28 Oct 2026 (revision 2)
   Final, isolated sizing rules loaded last after the older Home P/L styles.
   No changes to live price, P/L computations, chart height or swipe gestures. */

/* P/L TODAY — single-line 40px strip, label left and value right. */
html[data-inj-page="index"] body #entryGate#entryGate #entryInsights .entry-price-pnl {
  display:grid!important;
  grid-template-columns:minmax(0,1fr) minmax(0,max-content)!important;
  grid-template-rows:1fr!important;
  align-items:center!important;
  justify-content:stretch!important;
  box-sizing:border-box!important;
  width:100%!important;
  min-width:0!important;
  height:40px!important;
  min-height:40px!important;
  max-height:40px!important;
  margin:0!important;
  padding:4px 11px!important;
  column-gap:8px!important;
  row-gap:0!important;
  overflow:hidden!important;
  border-radius:12px!important;
}
html[data-inj-page="index"] body #entryGate#entryGate #entryInsights .entry-price-pnl > div {
  display:flex!important;
  grid-column:1!important;
  grid-row:1!important;
  align-self:center!important;
  justify-self:start!important;
  min-width:0!important;
  margin:0!important;
  padding:0!important;
}
html[data-inj-page="index"] body #entryGate#entryGate #entryInsights .entry-price-pnl > div > span {
  font-size:clamp(11.5px,3.2vw,13px)!important;
  font-weight:750!important;
  line-height:1.2!important;
  margin:0!important;
  white-space:nowrap!important;
}
html[data-inj-page="index"] body #entryGate#entryGate #entryInsights #entryInsightPnl {
  display:block!important;
  grid-column:2!important;
  grid-row:1!important;
  align-self:center!important;
  justify-self:end!important;
  width:max-content!important;
  max-width:100%!important;
  min-width:0!important;
  height:auto!important;
  margin:0!important;
  padding:0!important;
  font-size:clamp(15px,3.85vw,18px)!important;
  font-weight:800!important;
  line-height:1.12!important;
  letter-spacing:-.025em!important;
  font-variant-numeric:tabular-nums!important;
  text-align:right!important;
  white-space:nowrap!important;
  overflow:visible!important;
  text-overflow:clip!important;
}
html[data-inj-page="index"] body #entryGate#entryGate #entryInsights #entryInsightPnl
:is(.number-roll-text,.number-roll-static-digit,.number-roll-digit,.number-roll-digit-layer) {
  font-size:inherit!important;
  line-height:inherit!important;
}

/* Staking / Reward / Updated — same three columns, 40px compact metric strip.
   Applied to both main card and gesture slides (clones don't retain IDs). */
html[data-inj-page="index"] body #entryGate#entryGate
:is(#entryOverview,.entry-wallet-card-slide) .entry-overview-stats {
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  grid-template-rows:1fr!important;
  align-items:stretch!important;
  box-sizing:border-box!important;
  width:100%!important;
  min-width:0!important;
  height:40px!important;
  min-height:40px!important;
  max-height:40px!important;
  margin-top:8px!important;
  padding:0!important;
  border-radius:12px!important;
  overflow:hidden!important;
}
html[data-inj-page="index"] body #entryGate#entryGate
:is(#entryOverview,.entry-wallet-card-slide) .entry-overview-stats > div {
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  box-sizing:border-box!important;
  min-width:0!important;
  height:100%!important;
  min-height:0!important;
  max-height:100%!important;
  padding:3px 2px!important;
  gap:1px!important;
  text-align:center!important;
}
html[data-inj-page="index"] body #entryGate#entryGate
:is(#entryOverview,.entry-wallet-card-slide) .entry-overview-stats > div > span {
  display:block!important;
  flex:0 0 auto!important;
  width:100%!important;
  min-width:0!important;
  margin:0!important;
  padding:0!important;
  font-size:clamp(9px,2.45vw,10.2px)!important;
  line-height:1.15!important;
  letter-spacing:.065em!important;
  font-weight:700!important;
  white-space:nowrap!important;
  text-align:center!important;
}
html[data-inj-page="index"] body #entryGate#entryGate
:is(#entryOverview,.entry-wallet-card-slide) .entry-overview-stats > div > strong {
  display:block!important;
  flex:0 0 auto!important;
  width:100%!important;
  min-width:0!important;
  max-width:100%!important;
  margin:0!important;
  padding:0!important;
  font-size:clamp(10px,2.75vw,11.5px)!important;
  line-height:1.2!important;
  letter-spacing:0!important;
  font-weight:750!important;
  font-variant-numeric:tabular-nums!important;
  text-align:center!important;
  white-space:nowrap!important;
  text-overflow:clip!important;
}
@media(max-width:370px){
 html[data-inj-page="index"] body #entryGate#entryGate #entryInsights #entryInsightPnl{
   font-size:clamp(14.5px,3.95vw,16px)!important;
 }
 html[data-inj-page="index"] body #entryGate#entryGate
 :is(#entryOverview,.entry-wallet-card-slide) .entry-overview-stats > div > strong{
   font-size:clamp(9.5px,2.7vw,10.2px)!important;
 }
}

/* Equal typography for Staking, Reward and Updated, including freshness.
   Digit-roll wrappers inherit their host's font to avoid the oversized
   "2s fa" variant. All wallet swipe copies use the same rule. */
html[data-inj-page="index"] body #entryGate#entryGate
:is(#entryOverview,.entry-wallet-card-slide) .entry-overview-stats > div > :is(span,strong) {
  font-family:var(--inj-node-terminal-font,ui-monospace,monospace)!important;
  -webkit-text-size-adjust:100%!important;
  text-size-adjust:100%!important;
}
html[data-inj-page="index"] body #entryGate#entryGate
:is(#entryOverview,.entry-wallet-card-slide) .entry-overview-stats > div > strong :is(span,b,small,em,.number-roll-host,.number-roll-text,.number-roll-static-digit,.number-roll-digit,.number-roll-digit-layer) {
  font-family:inherit!important;
  font-size:inherit!important;
  line-height:inherit!important;
}
