/* TradePlexa 3.5.54 — premium redesign of the right balance panel.
   Goal: match the first panel's cyan→purple neon border language, improve
   internal spacing, refine background/planet details, and keep values dynamic. */
html body #dashboard .tp3343-chapter--performance .tp68-analytics .ref-middle >
.ref-panel.tp3337-equity-milkyway .ref-panel-head > .ref-balance{
  box-sizing:border-box!important;
  position:relative!important;
  isolation:isolate!important;
  display:flex!important;
  flex-direction:column!important;
  justify-content:center!important;
  align-items:center!important;
  gap:12px!important;
  width:372px!important;
  min-width:372px!important;
  max-width:372px!important;
  height:123px!important;
  min-height:123px!important;
  padding:16px 24px 18px!important;
  border:none!important;
  border-radius:30px!important;
  background:transparent url('../assets/media/tp3554-balance-panel-premium.opt3610.webp') center/100% 100% no-repeat!important;
  box-shadow:none!important;
  overflow:hidden!important;
  text-align:center!important;
}
html body #dashboard .tp3343-chapter--performance .tp68-analytics .ref-middle >
.ref-panel.tp3337-equity-milkyway .ref-panel-head > .ref-balance::before{
  content:'';
  position:absolute;
  inset:0;
  z-index:0;
  background:
    radial-gradient(42% 54% at 38% 33%, rgba(20,150,255,.12), rgba(20,150,255,0) 58%),
    radial-gradient(34% 44% at 60% 28%, rgba(208,51,255,.10), rgba(208,51,255,0) 62%),
    radial-gradient(42% 42% at 50% 80%, rgba(12,24,48,.35), rgba(12,24,48,0) 70%);
  pointer-events:none;
}
html body #dashboard .tp3343-chapter--performance .tp68-analytics .ref-middle >
.ref-panel.tp3337-equity-milkyway .ref-panel-head > .ref-balance::after{
  content:'';
  position:absolute;
  left:20px; right:94px; top:18px; height:52px;
  border-radius:24px;
  background:linear-gradient(180deg, rgba(4,10,24,.94), rgba(2,8,20,.87));
  z-index:0;
  pointer-events:none;
}
html body #dashboard .tp3343-chapter--performance .tp68-analytics .ref-middle >
.ref-panel.tp3337-equity-milkyway .ref-panel-head > .ref-balance > .tp3554-balance-main,
html body #dashboard .tp3343-chapter--performance .tp68-analytics .ref-middle >
.ref-panel.tp3337-equity-milkyway .ref-panel-head > .ref-balance > small{
  position:relative!important;
  z-index:1!important;
}
html body #dashboard .tp3343-chapter--performance .tp68-analytics .ref-middle >
.ref-panel.tp3337-equity-milkyway .ref-panel-head > .ref-balance > .tp3554-balance-main{
  display:block!important;
  max-width:100%!important;
  margin:0!important;
  color:#f7fbff!important;
  font:800 28px/1.02 Inter, Arial, sans-serif!important;
  letter-spacing:-0.03em!important;
  text-shadow:0 2px 10px rgba(0,0,0,.38)!important;
  white-space:nowrap!important;
}
html body #dashboard .tp3343-chapter--performance .tp68-analytics .ref-middle >
.ref-panel.tp3337-equity-milkyway .ref-panel-head > .ref-balance > small{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:min(100%, 216px)!important;
  min-height:34px!important;
  margin:0!important;
  padding:6px 14px!important;
  border-radius:999px!important;
  border:2px solid rgba(41,230,255,.95)!important;
  background:linear-gradient(180deg, rgba(3,16,38,.82), rgba(2,10,24,.92))!important;
  box-shadow:0 0 16px rgba(41,230,255,.26), inset 0 0 18px rgba(2,9,20,.74)!important;
  font:800 11px/1.08 Inter, Arial, sans-serif!important;
  letter-spacing:-0.01em!important;
  color:#27f0d5!important;
  text-shadow:none!important;
}
html body #dashboard .tp3343-chapter--performance .tp68-analytics .ref-middle >
.ref-panel.tp3337-equity-milkyway .ref-panel-head > .ref-balance > small.ref-negative{
  color:#ff7f96!important;
  border-color:rgba(255,111,156,.92)!important;
  box-shadow:0 0 16px rgba(255,111,156,.20), inset 0 0 18px rgba(30,5,16,.74)!important;
}
@media (max-width:1400px){
  html body #dashboard .tp3343-chapter--performance .tp68-analytics .ref-middle >
  .ref-panel.tp3337-equity-milkyway .ref-panel-head > .ref-balance{
    width:356px!important;min-width:356px!important;max-width:356px!important;height:118px!important;min-height:118px!important;
    padding:15px 22px 16px!important;
  }
  html body #dashboard .tp3343-chapter--performance .tp68-analytics .ref-middle >
  .ref-panel.tp3337-equity-milkyway .ref-panel-head > .ref-balance > .tp3554-balance-main{font-size:26px!important;}
}
@media (max-width:1200px){
  html body #dashboard .tp3343-chapter--performance .tp68-analytics .ref-middle >
  .ref-panel.tp3337-equity-milkyway .ref-panel-head > .ref-balance{
    width:min(100%,372px)!important;min-width:0!important;max-width:372px!important;
  }
}
