/* INJ VERSIONE UFFICIALE / Home wallet overview
   The principal figure is the LIVE INJ / USDT price on the left.
   Account worth and quantity stay on the right as secondary values.
   Scoped only to the opening card; IDs/data binding and wallet privacy are unchanged. */
html[data-inj-page="index"] body #entryGate :is(#entryOverview,.entry-wallet-card-slide) .entry-overview-main {
  display:grid!important;
  grid-template-columns:minmax(0,1.19fr) minmax(0,.81fr)!important;
  grid-template-rows:auto!important;
  align-items:end!important;
  justify-content:space-between!important;
  column-gap:clamp(9px,2.4vw,26px)!important;
  row-gap:0!important;
  width:100%!important;
  min-width:0!important;
  max-width:100%!important;
  box-sizing:border-box!important;
  overflow:visible!important;
}
html[data-inj-page="index"] body #entryGate :is(#entryOverview,.entry-wallet-card-slide) .entry-overview-main > .entry-market-mini {
  display:flex!important;
  flex-direction:column!important;
  align-items:flex-start!important;
  justify-content:end!important;
  grid-column:1!important;
  grid-row:1!important;
  align-self:stretch!important;
  order:0!important;
  flex:none!important;
  width:100%!important;
  min-width:0!important;
  max-width:100%!important;
  padding:0!important;
  margin:0!important;
  text-align:left!important;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
}
html[data-inj-page="index"] body #entryGate :is(#entryOverview,.entry-wallet-card-slide) .entry-overview-main > .entry-overview-worth {
  display:flex!important;
  flex-direction:column!important;
  align-items:flex-end!important;
  justify-content:end!important;
  grid-column:2!important;
  grid-row:1!important;
  align-self:stretch!important;
  order:1!important;
  flex:none!important;
  width:100%!important;
  min-width:0!important;
  max-width:100%!important;
  padding:0!important;
  margin:0!important;
  text-align:right!important;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
}
html[data-inj-page="index"] body #entryGate :is(#entryOverview,.entry-wallet-card-slide) .entry-overview-main
> :is(.entry-market-mini,.entry-overview-worth) > span {
  display:block!important;
  width:100%!important;
  min-width:0!important;
  padding:0!important;
  margin:0 0 5px!important;
  color:var(--muted-strong,var(--muted,#d9dee3))!important;
  font-size:clamp(9px,2.55vw,12px)!important;
  line-height:1.2!important;
  font-weight:750!important;
  letter-spacing:.095em!important;
  text-transform:uppercase!important;
  white-space:nowrap!important;
}
html[data-inj-page="index"] body #entryGate :is(#entryOverview,.entry-wallet-card-slide) .entry-overview-main
> .entry-market-mini > span {text-align:left!important;}
html[data-inj-page="index"] body #entryGate :is(#entryOverview,.entry-wallet-card-slide) .entry-overview-main
> .entry-overview-worth > span {text-align:right!important;}
html[data-inj-page="index"] body #entryGate :is(#entryOverview,.entry-wallet-card-slide) .entry-overview-main
> .entry-market-mini > :is(#entryMarketPrice,strong) {
  display:block!important;
  flex:none!important;
  width:100%!important;
  min-width:0!important;
  margin:0!important;
  padding:0!important;
  color:var(--text,#f8faff)!important;
  font-size:clamp(29px,8.9vw,70px)!important;
  line-height:1.06!important;
  font-weight:820!important;
  letter-spacing:-.055em!important;
  white-space:nowrap!important;
  overflow:visible!important;
  text-overflow:clip!important;
  text-align:left!important;
  font-variant-numeric:tabular-nums!important;
}
html[data-inj-page="index"] body #entryGate :is(#entryOverview,.entry-wallet-card-slide) .entry-overview-main
> .entry-overview-worth > :is(#entryWalletWorth,strong) {
  display:block!important;
  flex:none!important;
  width:100%!important;
  min-width:0!important;
  margin:0!important;
  padding:0!important;
  color:var(--text,#f8faff)!important;
  font-size:clamp(17px,4.7vw,35px)!important;
  line-height:1.15!important;
  font-weight:770!important;
  letter-spacing:-.045em!important;
  white-space:nowrap!important;
  overflow:visible!important;
  text-overflow:clip!important;
  text-align:right!important;
  font-variant-numeric:tabular-nums!important;
}
html[data-inj-page="index"] body #entryGate :is(#entryOverview,.entry-wallet-card-slide) .entry-overview-main
> .entry-market-mini > :is(#entryMarketChange,small) {
  display:block!important;
  width:100%!important;
  margin:9px 0 0!important;
  padding:0!important;
  text-align:left!important;
  font-size:clamp(10px,2.55vw,13px)!important;
  font-variant-numeric:tabular-nums!important;
  white-space:nowrap!important;
  line-height:1.3!important;
}
html[data-inj-page="index"] body #entryGate :is(#entryOverview,.entry-wallet-card-slide) .entry-overview-main
> .entry-overview-worth > :is(#entryWalletTotal,small) {
  display:block!important;
  width:100%!important;
  min-width:0!important;
  margin:7px 0 0!important;
  padding:0!important;
  font-size:clamp(9px,2.35vw,13px)!important;
  font-weight:650!important;
  line-height:1.3!important;
  color:var(--muted-strong,var(--muted,#c5d1d5))!important;
  text-align:right!important;
  white-space:nowrap!important;
  overflow:visible!important;
  text-overflow:clip!important;
  font-variant-numeric:tabular-nums!important;
}
@media(min-width:760px) {
  html[data-inj-page="index"] body #entryGate :is(#entryOverview,.entry-wallet-card-slide) .entry-overview-main {
    grid-template-columns:minmax(0,1.3fr) minmax(0,.7fr)!important;
    column-gap:clamp(16px,3vw,40px)!important;
  }
}
@media(max-width:360px){
  html[data-inj-page="index"] body #entryGate :is(#entryOverview,.entry-wallet-card-slide) .entry-overview-main {
    grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr)!important;
    column-gap:6px!important;
  }
  html[data-inj-page="index"] body #entryGate :is(#entryOverview,.entry-wallet-card-slide) .entry-overview-main
  > .entry-market-mini > :is(#entryMarketPrice,strong) {font-size:clamp(27px,8.55vw,31px)!important;}
  html[data-inj-page="index"] body #entryGate :is(#entryOverview,.entry-wallet-card-slide) .entry-overview-main
  > .entry-overview-worth > :is(#entryWalletWorth,strong) {font-size:clamp(15px,4.35vw,18px)!important;}
}

/* Real overview AND wallet swipe slides must share the same visual typography.
   Swipe clones intentionally lose HTML IDs in app.js. The :is() rules above
   restore the exact main/secondary value geometry on every clone. */
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;
  align-items:stretch!important;
  justify-content:stretch!important;
  box-sizing:border-box!important;
  width:100%!important;
  min-width:0!important;
  min-height:54px!important;
  height:auto!important;
  margin-top:clamp(10px,2.1vw,16px)!important;
  padding:0!important;
  overflow:hidden!important;
  border-radius:14px!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;
  gap:4px!important;
  min-width:0!important;
  min-height:54px!important;
  height:auto!important;
  padding:7px 3px!important;
  box-sizing:border-box!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;
  width:100%!important;
  min-width:0!important;
  margin:0!important;
  padding:0!important;
  font-size:clamp(9px,2.55vw,11.5px)!important;
  letter-spacing:.08em!important;
  line-height:1.15!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;
  width:100%!important;
  min-width:0!important;
  max-width:100%!important;
  margin:0!important;
  padding:0!important;
  font-size:clamp(10px,2.75vw,14px)!important;
  line-height:1.24!important;
  letter-spacing:0!important;
  font-weight:750!important;
  font-variant-numeric:tabular-nums!important;
  white-space:nowrap!important;
  overflow:visible!important;
  text-overflow:clip!important;
  text-align:center!important;
}
@media(max-width:370px){
 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.72vw,10.6px)!important;
 }
 html[data-inj-page="index"] body #entryGate#entryGate
 :is(#entryOverview,.entry-wallet-card-slide) .entry-overview-stats > div {
   padding:7px 2px!important;
 }
}
/* Keep the swipe copies identical to the real card even when the main
   overview is temporarily visually suppressed during the gesture. */
html[data-inj-page="index"] body #entryGate .entry-wallet-card-slide
 .entry-overview-main > .entry-market-mini > strong.number-roll-host,
html[data-inj-page="index"] body #entryGate .entry-wallet-card-slide
 .entry-overview-main > .entry-overview-worth > strong.number-roll-host {
  font-variant-numeric:tabular-nums!important;
  white-space:nowrap!important;
  text-overflow:clip!important;
}
