/* INJ Node · Home alignment refinement v16.00.99
   Keep all launchers interactive; motion is decorative only. */
@media (max-width:900px), (pointer:coarse) and (max-width:1100px) {
 /* First eight tiles: a genuinely centered illustration with the label below. */
 html[data-inj-page="index"] body #entryGate
 .entry-gate-shell:not(.first-access) .entry-actions.entry-flat-v44
 > :is(#entryDashboardButton,#entryLiveButton,#entryLiveChartsButton,
 #entryOrderBookButton,#entryPerformanceButton,#entryConverterButton,
 #entryMarketButton,#entryLiveRewardsButton) {
   position:relative!important;
   display:flex!important;flex-direction:column!important;
   justify-content:flex-end!important;align-items:center!important;
   padding:10px 7px 14px!important;gap:0!important;
   min-width:0!important;overflow:hidden!important;
 }
 html[data-inj-page="index"] body #entryGate
 .entry-gate-shell:not(.first-access) .entry-actions.entry-flat-v44
 > :is(#entryDashboardButton,#entryLiveButton,#entryLiveChartsButton,
 #entryOrderBookButton,#entryPerformanceButton,#entryConverterButton,
 #entryMarketButton,#entryLiveRewardsButton) > span.inj-tile-scene {
   position:absolute!important;display:block!important;
   box-sizing:border-box!important;
   left:50%!important;right:auto!important;
   top:10px!important;bottom:auto!important;
   width:min(120px,72%)!important;max-width:none!important;
   height:51px!important;min-height:0!important;
   transform:translateX(-50%)!important;
   -webkit-transform:translateX(-50%)!important;
   margin:0!important;padding:0!important;
   opacity:.95!important;z-index:1!important;
   flex:none!important;order:0!important;
   align-self:auto!important;justify-self:auto!important;
   pointer-events:none!important;overflow:hidden!important;
 }
 html[data-inj-page="index"] body #entryGate
 .entry-gate-shell:not(.first-access) .entry-actions.entry-flat-v44
 > :is(#entryDashboardButton,#entryLiveButton,#entryLiveChartsButton,
 #entryOrderBookButton,#entryPerformanceButton,#entryConverterButton,
 #entryMarketButton,#entryLiveRewardsButton) > span.inj-tile-scene svg {
   display:block!important;width:100%!important;height:100%!important;
   overflow:hidden!important;
   stroke-width:2!important;
 }
 html[data-inj-page="index"] body #entryGate
 .entry-gate-shell:not(.first-access) .entry-actions.entry-flat-v44
 > :is(#entryDashboardButton,#entryLiveButton,#entryLiveChartsButton,
 #entryOrderBookButton,#entryPerformanceButton,#entryConverterButton,
 #entryMarketButton,#entryLiveRewardsButton) > span:not(.inj-tile-scene):not(.entry-action-icon) {
   position:relative!important;z-index:2!important;
   align-self:stretch!important;justify-content:center!important;
   width:100%!important;min-width:0!important;
   flex:0 0 auto!important;order:1!important;
   text-align:center!important;
 }
}
/* Treasury & Market Cap: image centered on the RIGHT, fully inside the card. */
html[data-inj-page="index"] body #entryGate
 .entry-gate-shell:not(.first-access) .entry-actions.entry-flat-v44
 > :is(#entryTreasuryButton,#entryComparisonButton) {
   position:relative!important;
   overflow:hidden!important;
   display:flex!important;
   align-items:center!important;
   justify-content:flex-start!important;
   padding-right:120px!important;
}
html[data-inj-page="index"] body #entryGate
 .entry-gate-shell:not(.first-access) .entry-actions.entry-flat-v44
 > :is(#entryTreasuryButton,#entryComparisonButton) > span.inj-tile-scene {
   position:absolute!important;display:grid!important;place-items:center!important;
   left:auto!important;right:17px!important;
   top:50%!important;bottom:auto!important;
   width:98px!important;height:51px!important;
   max-width:98px!important;min-width:0!important;min-height:0!important;
   transform:translateY(-50%)!important;
   -webkit-transform:translateY(-50%)!important;
   opacity:1!important;overflow:hidden!important;
   margin:0!important;padding:0!important;
   flex:none!important;order:0!important;
   align-self:auto!important;z-index:1!important;
   pointer-events:none!important;
}
html[data-inj-page="index"] body #entryGate
 .entry-gate-shell:not(.first-access) .entry-actions.entry-flat-v44
 > :is(#entryTreasuryButton,#entryComparisonButton) > span.inj-tile-scene svg {
   width:100%!important;height:100%!important;
   display:block!important;overflow:hidden!important;
   stroke-width:2.15!important;
}
html[data-inj-page="index"] body #entryGate
 .entry-gate-shell:not(.first-access) .entry-actions.entry-flat-v44
 > :is(#entryTreasuryButton,#entryComparisonButton) > span:not(.entry-action-icon):not(.inj-tile-scene) {
   position:relative!important;z-index:2!important;
   max-width:100%!important;min-width:0!important;
   flex:1 1 auto!important;
}
/* P/L figure: legible and more prominent without losing the RIGHT alignment. */
html[data-inj-page="index"] body #entryGate #entryInsights .entry-price-pnl {
  display:grid!important;
  grid-template-columns:minmax(0,1fr) max-content!important;
  gap:8px 10px!important;
  align-items:center!important;
  min-height:86px!important;
  padding:13px 16px!important;
}
html[data-inj-page="index"] body #entryGate #entryInsights .entry-price-pnl > div{
  min-width:0!important;max-width:100%!important;
}
html[data-inj-page="index"] body #entryGate #entryInsights #entryInsightPnl {
  display:block!important;
  justify-self:end!important;align-self:center!important;
  width:max-content!important;max-width:100%!important;
  min-width:0!important;
  font-size:clamp(30px,3vw,42px)!important;
  line-height:1.2!important;letter-spacing:-.045em!important;
  font-weight:900!important;font-variant-numeric:tabular-nums!important;
  text-align:right!important;white-space:nowrap!important;
  overflow:visible!important;text-overflow:clip!important;
}
@media (max-width:900px) {
 html[data-inj-page="index"] body #entryGate #entryInsights .entry-price-pnl{
   grid-template-columns:minmax(0,1fr) max-content!important;
   gap:7px!important;min-height:84px!important;
   padding:13px 12px!important;
 }
 html[data-inj-page="index"] body #entryGate #entryInsights #entryInsightPnl{
   font-size:clamp(27px,7.2vw,36px)!important;
   text-align:right!important;justify-self:end!important;
 }
 html[data-inj-page="index"] body #entryGate #entryInsights .entry-price-pnl > div > span {
   font-size:clamp(11px,3.2vw,14px)!important;
 }
 html[data-inj-page="index"] body #entryGate #entryInsights .entry-price-pnl > div > small{
   font-size:clamp(10px,2.9vw,12px)!important;
   white-space:normal!important;overflow-wrap:normal!important;
 }
}
@media(max-width:370px){
 html[data-inj-page="index"] body #entryGate #entryInsights .entry-price-pnl{
   grid-template-columns:minmax(0,1fr) max-content!important;
 }
 html[data-inj-page="index"] body #entryGate #entryInsights #entryInsightPnl{
   font-size:clamp(24px,7vw,29px)!important;
 }
 html[data-inj-page="index"] body #entryGate
 .entry-gate-shell:not(.first-access) .entry-actions.entry-flat-v44
 > :is(#entryTreasuryButton,#entryComparisonButton){
   padding-right:106px!important;
 }
 html[data-inj-page="index"] body #entryGate
 .entry-gate-shell:not(.first-access) .entry-actions.entry-flat-v44
 > :is(#entryTreasuryButton,#entryComparisonButton) > span.inj-tile-scene{
   width:84px!important;right:13px!important;
 }
}
@media(prefers-reduced-motion:reduce){
 html[data-inj-page="index"] body #entryGate .inj-tile-scene *,
 html[data-inj-page="index"] body #entryGate .inj-tile-scene{
   animation:none!important;
 }
}

/* v16.10.26 — Centered Home account summary metrics.
   Keep Staking, Reward and Updated as three equal columns; each column gets
   the same label baseline and its live value directly beneath it. */
html[data-inj-page="index"] body #entryGate#entryGate #entryOverview
 .entry-overview-stats > div {
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  align-content:center!important;
  text-align:center!important;
  min-width:0!important;
  box-sizing:border-box!important;
  gap:9px!important;
  padding-left:5px!important;
  padding-right:5px!important;
}
html[data-inj-page="index"] body #entryGate#entryGate #entryOverview
 .entry-overview-stats > div > span {
  display:block!important;
  align-self:center!important;
  width:100%!important;
  min-width:0!important;
  margin:0!important;
  text-align:center!important;
  white-space:nowrap!important;
}
html[data-inj-page="index"] body #entryGate#entryGate #entryOverview
 .entry-overview-stats > div > strong {
  display:block!important;
  align-self:center!important;
  width:100%!important;
  min-width:0!important;
  max-width:100%!important;
  margin:0!important;
  text-align:center!important;
  font-variant-numeric:tabular-nums!important;
  white-space:nowrap!important;
}
/* On narrow phones, fit full staking and reward amounts without clipping. */
@media(max-width:600px){
 html[data-inj-page="index"] body #entryGate#entryGate #entryOverview
  .entry-overview-stats > div {
    gap:9px!important;
    padding-left:3px!important;
    padding-right:3px!important;
  }
 html[data-inj-page="index"] body #entryGate#entryGate #entryOverview
  .entry-overview-stats > div > strong {
    font-size:clamp(10px,2.75vw,14px)!important;
    letter-spacing:0!important;
  }
 html[data-inj-page="index"] body #entryGate#entryGate #entryOverview
  .entry-overview-stats > div > span {
    font-size:clamp(9px,2.55vw,12px)!important;
    letter-spacing:.10em!important;
  }
}
