/* INJ Node · Market Event Home launcher v4
   This tile deliberately has its own ID and native two-child layout so old
   full-width Market Events CSS cannot bleed into it. Keep data in the hidden
   #injMarketNextSummary child and the existing calendar click handler. */
html[data-inj-page="index"] body #entryGate#entryGate
.entry-gate-shell:not(.first-access) > .entry-actions.entry-flat-v44
> #entryMacroCalendarButton.entry-action-macro-calendar {
  order:13!important;
  grid-column:auto!important;
  grid-row:auto!important;
  position:relative!important;
  isolation:isolate!important;
  box-sizing:border-box!important;
  display:flex!important;
  flex-direction:column!important;
  flex-wrap:nowrap!important;
  align-items:center!important;
  align-self:stretch!important;
  justify-content:flex-end!important;
  gap:0!important;
  min-width:0!important;
  width:100%!important;
  max-width:100%!important;
  margin:0!important;
  text-align:center!important;
  overflow:hidden!important;
}
html[data-inj-page="index"] body #entryGate#entryGate
#entryMacroCalendarButton.entry-action-macro-calendar > .inj-macro-calendar-copy {
  box-sizing:border-box!important;
  display:flex!important;
  position:relative!important;
  z-index:2!important;
  flex:0 0 auto!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  gap:3px!important;
  align-self:center!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  height:auto!important;
  min-height:0!important;
  margin:0!important;
  padding:0!important;
  background:transparent!important;
  overflow:visible!important;
  text-align:center!important;
}
html[data-inj-page="index"] body #entryGate#entryGate
#entryMacroCalendarButton.entry-action-macro-calendar > .inj-macro-calendar-copy > .inj-home-tile-title {
  display:block!important;
  position:static!important;
  flex:0 0 auto!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  height:auto!important;
  max-height:none!important;
  margin:0!important;
  padding:0!important;
  font-family:var(--inj-minimal-font,system-ui,-apple-system,sans-serif)!important;
  font-size:clamp(12px,3.35vw,14px)!important;
  font-weight:400!important;
  line-height:1.2!important;
  letter-spacing:.015em!important;
  white-space:nowrap!important;
  text-transform:uppercase!important;
  color:var(--text,#ecedef)!important;
  text-align:center!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  transform:none!important;
}
html[data-inj-page="index"] body #entryGate#entryGate
#entryMacroCalendarButton.entry-action-macro-calendar > .inj-macro-calendar-copy > .inj-tile-description {
  display:block!important;
  visibility:visible!important;
  opacity:.86!important;
  position:static!important;
  flex:0 0 auto!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  height:auto!important;
  max-height:none!important;
  margin:0!important;
  padding:0!important;
  font-family:var(--inj-minimal-font,system-ui,-apple-system,sans-serif)!important;
  font-size:clamp(9px,2.55vw,10.5px)!important;
  font-weight:400!important;
  line-height:1.2!important;
  letter-spacing:0!important;
  white-space:nowrap!important;
  text-transform:none!important;
  color:var(--muted-strong,var(--muted,#abb2b8))!important;
  text-align:center!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
html[data-inj-page="index"] body #entryGate#entryGate
#entryMacroCalendarButton.entry-action-macro-calendar > #injMarketNextSummary {
  display:none!important;
}
@media(max-width:799px){
 html[data-inj-page="index"] body #entryGate#entryGate
 .entry-gate-shell:not(.first-access) > .entry-actions.entry-flat-v44
 > #entryMacroCalendarButton.entry-action-macro-calendar {
   min-height:92px!important;
   height:92px!important;
   max-height:92px!important;
   padding:7px 7px 9px!important;
   border-radius:16px!important;
 }
 html[data-inj-page="index"] body #entryGate#entryGate
 #entryMacroCalendarButton.entry-action-macro-calendar > .inj-home-market-art.inj-tile-scene {
   display:block!important;
   position:absolute!important;
   z-index:1!important;
   top:6px!important;
   bottom:auto!important;
   left:50%!important;
   right:auto!important;
   box-sizing:border-box!important;
   height:34px!important;
   min-height:0!important;
   max-height:34px!important;
   width:70%!important;
   max-width:96px!important;
   min-width:0!important;
   margin:0!important;
   padding:0!important;
   opacity:.88!important;
   transform:translateX(-50%)!important;
   pointer-events:none!important;
 }
 html[data-inj-page="index"] body #entryGate#entryGate
 #entryMacroCalendarButton.entry-action-macro-calendar > .inj-home-market-art svg{
   display:block!important;
   width:100%!important;
   height:100%!important;
 }
}
@media(min-width:800px){
 html[data-inj-page="index"] body #entryGate#entryGate
 .entry-gate-shell:not(.first-access) > .entry-actions.entry-flat-v44
 > #entryMacroCalendarButton.entry-action-macro-calendar{
   min-height:68px!important;
   height:68px!important;
   max-height:68px!important;
   padding:8px 82px 8px 14px!important;
   flex-direction:row!important;
   justify-content:flex-start!important;
   align-items:center!important;
   text-align:left!important;
   border-radius:18px!important;
 }
 html[data-inj-page="index"] body #entryGate#entryGate
 #entryMacroCalendarButton.entry-action-macro-calendar > .inj-macro-calendar-copy{
   align-items:flex-start!important;
   justify-content:center!important;
   text-align:left!important;
 }
 html[data-inj-page="index"] body #entryGate#entryGate
 #entryMacroCalendarButton.entry-action-macro-calendar > .inj-macro-calendar-copy > :is(.inj-home-tile-title,.inj-tile-description){
   text-align:left!important;
 }
 html[data-inj-page="index"] body #entryGate#entryGate
 #entryMacroCalendarButton.entry-action-macro-calendar > .inj-home-market-art.inj-tile-scene{
   display:block!important;
   position:absolute!important;
   top:50%!important;
   right:9px!important;
   bottom:auto!important;
   left:auto!important;
   width:64px!important;
   height:43px!important;
   max-width:64px!important;
   max-height:43px!important;
   margin:0!important;
   padding:0!important;
   transform:translateY(-50%)!important;
   pointer-events:none!important;
 }
 html[data-inj-page="index"] body #entryGate#entryGate
 #entryMacroCalendarButton.entry-action-macro-calendar > .inj-home-market-art svg{
   width:100%!important;
   height:100%!important;
 }
}
