/* INJ NODE · Home Vitality Cards v1.0
   Scoped to the home launchers. No blur, scroll locking or page-scale effects. */
.entry-gate .entry-actions.entry-flat-v44 > .entry-action {
  --tile-accent: var(--accent, #77e4cd);
  position: relative !important;
  isolation: isolate !important;
  overflow: hidden !important;
  -webkit-tap-highlight-color: transparent;
  border: 1px solid color-mix(in srgb, var(--tile-accent) 28%, var(--line, transparent)) !important;
  background: linear-gradient(145deg,
    color-mix(in srgb, var(--tile-accent) 6%, var(--surface, #0a1a1d)) 0%,
    color-mix(in srgb, var(--tile-accent) 2%, var(--surface-strong, #0a1318)) 100%) !important;
  box-shadow: inset 0 1px 0 color-mix(in srgb, var(--tile-accent) 15%, transparent) !important;
  transition: background-color .25s ease, border-color .25s ease, box-shadow .25s ease !important;
}
/* Retire the repetitive corner halo/circle from existing tile pseudo-elements. */
.entry-gate .entry-actions.entry-flat-v44 > .entry-action::before,
.entry-gate .entry-actions.entry-flat-v44 > .entry-action::after {
  content: none !important;
  display: none !important;
}
.entry-gate .entry-actions.entry-flat-v44 > .entry-action > .entry-action-icon {
  position: relative !important;
  z-index: 2 !important;
  color: var(--tile-accent) !important;
  background: color-mix(in srgb, var(--tile-accent) 9%, var(--surface-strong, #122627)) !important;
  border: 1px solid color-mix(in srgb, var(--tile-accent) 27%, transparent) !important;
  box-shadow: inset 0 1px 0 color-mix(in srgb, var(--tile-accent) 12%, transparent) !important;
  transition: border-color .25s ease, box-shadow .25s ease !important;
}
.entry-gate .entry-actions.entry-flat-v44 > .entry-action > span:not(.entry-action-icon):not(.inj-tile-scene),
.entry-gate .entry-actions.entry-flat-v44 > .entry-action > .entry-action-arrow {
  position: relative !important;
  z-index: 2 !important;
}
.entry-gate .entry-actions.entry-flat-v44 > .entry-action .entry-action-arrow {
  color: var(--tile-accent) !important;
}
.entry-gate .entry-actions.entry-flat-v44 > .entry-action > .inj-tile-scene {
  position: absolute !important;
  z-index: 1 !important;
  display: block !important;
  pointer-events: none !important;
  right: 5% !important;
  top: 7% !important;
  width: clamp(49px, 26%, 112px) !important;
  height: 68% !important;
  min-width: 0 !important;
  opacity: .51;
  color: var(--tile-accent);
  overflow: visible;
}
.entry-gate .entry-actions.entry-flat-v44 > .entry-action > .inj-tile-scene svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  overflow: visible;
}
.entry-gate .entry-actions.entry-flat-v44 > .entry-action > .inj-tile-scene svg .soft {
  opacity: .25;
}
.entry-gate .entry-actions.entry-flat-v44 > .entry-action > .inj-tile-scene svg .solid {
  fill: currentColor;
  stroke: none;
}
.entry-gate .entry-actions.entry-flat-v44 > .entry-action > .inj-tile-scene svg .wash {
  fill: currentColor;
  fill-opacity: .14;
}
.entry-gate .entry-actions.entry-flat-v44 > .entry-action > .inj-tile-scene svg .motion-stroke {
  stroke-dasharray: 36 12;
  animation: inj-tile-trace 8s linear infinite;
}
.entry-gate .entry-actions.entry-flat-v44 > .entry-action > .inj-tile-scene svg .motion-pulse {
  animation: inj-tile-pulse 3.7s ease-in-out infinite;
}
.entry-gate .entry-actions.entry-flat-v44 > .entry-action > .inj-tile-scene svg .motion-bars {
  animation: inj-tile-bars 4.2s ease-in-out infinite;
  transform-box: fill-box;
  transform-origin: center bottom;
}
.entry-gate .entry-actions.entry-flat-v44 > .entry-action > .inj-tile-scene svg .motion-bars.b2 { animation-delay: -.9s; }
.entry-gate .entry-actions.entry-flat-v44 > .entry-action > .inj-tile-scene svg .motion-bars.b3 { animation-delay: -1.7s; }
.entry-gate .entry-actions.entry-flat-v44 > .entry-action > .inj-tile-scene svg .motion-bars.b4 { animation-delay: -2.5s; }
.entry-gate .entry-actions.entry-flat-v44 > .entry-action > .inj-tile-scene svg .motion-float {
  animation: inj-tile-float 5s ease-in-out infinite;
}
.entry-gate .entry-actions.entry-flat-v44 > .entry-action > .inj-tile-scene svg .motion-ring {
  stroke-dasharray: 12 6;
  animation: inj-tile-ring 12s linear infinite;
  transform-box: fill-box;
  transform-origin: center;
}
.entry-gate .entry-actions.entry-flat-v44 > .entry-action > .inj-tile-scene svg .motion-ring.reverse {
  animation-direction: reverse;
}
@keyframes inj-tile-trace { to { stroke-dashoffset: -96; } }
@keyframes inj-tile-pulse { 0%,100% { opacity: .42; } 50% { opacity: 1; } }
@keyframes inj-tile-bars { 0%,100% { transform:scaleY(.82); } 50% { transform:scaleY(1.1); } }
@keyframes inj-tile-float { 0%,100% { transform:translateY(0); } 50% { transform:translateY(-3px); } }
@keyframes inj-tile-ring { to { transform:rotate(360deg); } }

/* One recognizable graphic character for each launcher, within the active theme. */
#entryDashboardButton { --tile-accent: color-mix(in srgb, var(--accent, #77e4cd) 88%, #ffffff); }
#entryLiveButton { --tile-accent: color-mix(in srgb, var(--accent, #77e4cd) 68%, #6fbaff); }
#entryLiveChartsButton { --tile-accent: color-mix(in srgb, var(--accent, #77e4cd) 80%, #41fff0); }
#entryOrderBookButton { --tile-accent: color-mix(in srgb, var(--accent, #77e4cd) 70%, #79b3ff); }
#entryPerformanceButton { --tile-accent: color-mix(in srgb, var(--accent, #77e4cd) 68%, #c4a1ff); }
#entryConverterButton { --tile-accent: color-mix(in srgb, var(--accent, #77e4cd) 67%, #ffcf76); }
#entryMarketButton { --tile-accent: color-mix(in srgb, var(--accent, #77e4cd) 66%, #92b9ff); }
#entryLiveRewardsButton { --tile-accent: color-mix(in srgb, var(--accent, #77e4cd) 70%, #abf389); }
#entryTreasuryButton { --tile-accent: color-mix(in srgb, var(--accent, #77e4cd) 70%, #e3d7a1); }
#entryComparisonButton { --tile-accent: color-mix(in srgb, var(--accent, #77e4cd) 66%, #c4aeff); }

#entryDashboardButton .entry-action-icon { border-radius: 12px !important; }
#entryLiveButton .entry-action-icon { border-radius: 50% !important; }
#entryLiveChartsButton .entry-action-icon { border-radius: 8px 19px 8px 19px !important; }
#entryOrderBookButton .entry-action-icon { border-radius: 8px 8px 16px 8px !important; }
#entryPerformanceButton .entry-action-icon { border-radius: 16px 5px 16px 5px !important; }
#entryConverterButton .entry-action-icon { border-radius: 10px !important; }
#entryMarketButton .entry-action-icon { border-radius: 5px 16px 5px 16px !important; }
#entryLiveRewardsButton .entry-action-icon { border-radius: 50% !important; }
#entryTreasuryButton .entry-action-icon { border-radius: 11px 11px 5px 5px !important; }
#entryComparisonButton .entry-action-icon { border-radius: 5px 17px 5px 17px !important; }

@media (hover:hover) and (pointer:fine) {
 .entry-gate .entry-actions.entry-flat-v44 > .entry-action:hover {
  border-color:color-mix(in srgb, var(--tile-accent) 55%, transparent)!important;
  box-shadow:inset 0 1px 0 color-mix(in srgb, var(--tile-accent) 23%, transparent),
             0 7px 20px color-mix(in srgb, var(--tile-accent) 7%, transparent)!important;
 }
 .entry-gate .entry-actions.entry-flat-v44 > .entry-action:hover > .entry-action-icon {
  box-shadow:0 0 12px color-mix(in srgb, var(--tile-accent) 14%, transparent)!important;
 }
}
.entry-gate .entry-actions.entry-flat-v44 > .entry-action:focus-visible {
  outline: 2px solid var(--tile-accent)!important;
  outline-offset:3px!important;
}
@media (max-width:820px) {
  .entry-gate .entry-actions.entry-flat-v44 > .entry-action > .inj-tile-scene {
    right:5% !important; top:8% !important; width:31% !important; height:58% !important; opacity:.39;
  }
}
@media (prefers-reduced-motion:reduce) {
 .entry-gate .entry-actions.entry-flat-v44 .inj-tile-scene *,
 .entry-gate .entry-actions.entry-flat-v44 > .entry-action { animation:none!important; transition:none!important; }
}


/* Override the older navigation.css mobile rule targeting every direct span.
   Without this, the decorative SVG span becomes a full-width flex item. */
@media(max-width:1100px){
 html[data-inj-page="index"] .entry-gate-shell:not(.first-access)
 > .entry-actions.entry-flat-v44
 > :is(#entryDashboardButton,#entryLiveButton,#entryLiveChartsButton,#entryOrderBookButton,
 #entryPerformanceButton,#entryConverterButton,#entryMarketButton,#entryLiveRewardsButton,
 #entryTreasuryButton,#entryComparisonButton)
 > span.inj-tile-scene {
  position:absolute!important;display:block!important;
  z-index:1!important;pointer-events:none!important;
  right:5%!important;left:auto!important;top:7%!important;
  width:31%!important;min-width:0!important;max-width:112px!important;
  height:60%!important;min-height:0!important;
  margin:0!important;padding:0!important;
  flex:none!important;order:unset!important;
  align-self:auto!important;justify-self:auto!important;
  opacity:.48!important;overflow:visible!important;
 }
}
