/* IMPERIUM STRATEGY CONSOLE LIVE FIX v1.3.0 */

/* Real Ethereum mark */
.sc-real-eth-icon{
  width:48px !important;
  min-width:48px !important;
  max-width:48px !important;
  height:48px !important;
  min-height:48px !important;
  max-height:48px !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  box-sizing:border-box !important;
  border-radius:12px !important;
  padding:8px !important;
  overflow:hidden !important;
  background:linear-gradient(180deg,#152334,#101b29) !important;
  border:1px solid #2a4162 !important;
  color:transparent !important;
  font-size:0 !important;
}

.sc-real-eth-icon .sc-eth-svg{
  display:block !important;
  width:24px !important;
  height:32px !important;
  object-fit:contain !important;
}

.ceo-engine-icon.sc-real-eth-icon{
  width:44px !important;
  min-width:44px !important;
  max-width:44px !important;
  height:44px !important;
  min-height:44px !important;
  max-height:44px !important;
  padding:7px !important;
}

/* Strategy / guardrail data rows */
#page-bot-detail .sc-live-setting-row{
  display:flex !important;
  align-items:center !important;
  justify-content:space-between !important;
  gap:20px !important;
  min-height:38px !important;
  padding:8px 0 !important;
  border-top:1px solid rgba(120,150,140,.11) !important;
}

#page-bot-detail .sc-live-setting-row:first-child{
  border-top:0 !important;
}

#page-bot-detail .sc-live-setting-row span{
  color:#71847e !important;
  font-size:10px !important;
  line-height:1.35 !important;
}

#page-bot-detail .sc-live-setting-row b{
  color:#e7f2ee !important;
  font-size:11px !important;
  line-height:1.35 !important;
  font-weight:700 !important;
  text-align:right !important;
  overflow-wrap:anywhere !important;
}

/* Position tab */
#page-bot-detail .sc-position-live{
  width:100% !important;
  box-sizing:border-box !important;
  padding:24px !important;
}

#page-bot-detail .sc-pos-head{
  display:flex !important;
  justify-content:space-between !important;
  align-items:flex-start !important;
  gap:20px !important;
  margin-bottom:20px !important;
}

#page-bot-detail .sc-pos-head span{
  color:#71847e !important;
  font-size:9px !important;
  letter-spacing:.14em !important;
}

#page-bot-detail .sc-pos-head h3{
  margin:7px 0 0 !important;
  font-size:24px !important;
  color:#eff7f4 !important;
}

#page-bot-detail .sc-pos-head > b{
  color:#55ddb1 !important;
  font-size:10px !important;
  border:1px solid rgba(85,221,177,.25) !important;
  border-radius:999px !important;
  padding:7px 10px !important;
  background:rgba(85,221,177,.06) !important;
}

#page-bot-detail .sc-pos-grid{
  display:grid !important;
  grid-template-columns:repeat(4,1fr) !important;
  border:1px solid rgba(120,150,140,.12) !important;
  border-radius:12px !important;
  overflow:hidden !important;
}

#page-bot-detail .sc-pos-grid > div{
  padding:14px !important;
  border-left:1px solid rgba(120,150,140,.12) !important;
}

#page-bot-detail .sc-pos-grid > div:first-child{
  border-left:0 !important;
}

#page-bot-detail .sc-pos-grid span{
  display:block !important;
  color:#71847e !important;
  font-size:9px !important;
  margin-bottom:5px !important;
}

#page-bot-detail .sc-pos-grid b{
  color:#e8f3ef !important;
  font-size:13px !important;
}

#page-bot-detail .sc-position-flat{
  display:flex !important;
  min-height:280px !important;
  flex-direction:column !important;
  align-items:center !important;
  justify-content:center !important;
  text-align:center !important;
}

#page-bot-detail .sc-flat-dot{
  width:12px !important;
  height:12px !important;
  border-radius:50% !important;
  background:#55ddb1 !important;
  box-shadow:0 0 0 7px rgba(85,221,177,.07) !important;
  margin-bottom:16px !important;
}

#page-bot-detail.sc-live-error #dRisk{
  color:#ff777d !important;
}

@media(max-width:800px){
  #page-bot-detail .sc-pos-grid{
    grid-template-columns:1fr 1fr !important;
  }
  #page-bot-detail .sc-pos-grid > div:nth-child(3){
    border-left:0 !important;
    border-top:1px solid rgba(120,150,140,.12) !important;
  }
  #page-bot-detail .sc-pos-grid > div:nth-child(4){
    border-top:1px solid rgba(120,150,140,.12) !important;
  }
}
