/* Give every reference label and quote the same center and reading order. */
body.isg-live-page .isg-live-board .market-grid.row {
  gap:8px!important;
  padding:0!important;
  align-items:stretch;
}
body.isg-live-page .isg-live-board .market-grid .market-card {
  display:grid!important;
  grid-template-columns:minmax(0,1fr);
  grid-template-rows:auto auto auto;
  gap:3px 0;
  height:100%;
  padding:6px 8px!important;
  border:1px solid #bfa65c!important;
  border-radius:6px!important;
  background:#031c0b!important;
  align-content:center;
  justify-items:stretch;
}
/* Yellow reference cards match the supplied Arihant image. */
body.isg-live-page .isg-live-board .market-grid .market-card--metal:not(.is-rate-up):not(.is-rate-down) {
  background:#ffda36!important;
  border-color:#ffda36!important;
}
body.isg-live-page .isg-live-board .market-grid .market-card--metal:not(.is-rate-up):not(.is-rate-down) :is(.market-name,.market-value,.market-reference-range) {
  color:#191b12!important;
  -webkit-text-fill-color:#191b12!important;
}
body.isg-live-page .isg-live-board .market-reference-range {
  grid-area:3 / 1;
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:2px 8px;
  width:100%;
  min-width:0;
  color:#191b12;
  font-size:11px;
  font-weight:500;
  font-variant-numeric:tabular-nums;
  line-height:1.3;
  text-align:center;
}
body.isg-live-page .isg-live-board .market-reference-range>span {display:block;min-width:0;white-space:nowrap;}
body.isg-live-page .isg-live-board .market-grid .mint-market-identity {
  grid-area:1 / 1!important;
  display:block;
  width:100%;
  min-width:0;
  align-self:center;
  justify-self:stretch;
}
body.isg-live-page .isg-live-board .market-grid .market-name {
  width:100%;
  padding:0;
  text-align:center!important;
}
body.isg-live-page .isg-live-board .market-grid .market-value {
  grid-area:2 / 1!important;
  width:100%;
  min-width:0;
  max-width:none;
  margin:0!important;
  align-self:center;
  justify-self:stretch;
  text-align:center!important;
  line-height:1.3;
}
/* The complete reference card signals a change; label and quote stay legible. */
body.isg-live-page .isg-live-board .market-grid .market-card.is-rate-up {
  background:#126331!important;
  animation:emerald-up .8s ease-out;
}
body.isg-live-page .isg-live-board .market-grid .market-card.is-rate-down {
  background:#a32632!important;
  animation:emerald-down .8s ease-out;
}
body.isg-live-page .isg-live-board .market-grid .market-card:is(.is-rate-up,.is-rate-down) :is(.market-name,.market-value,.market-reference-range) {
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
  background:transparent!important;
}
@media(max-width:900px) {
  body.isg-live-page .isg-live-board .market-grid .market-card {row-gap:4px;}
}
@media(max-width:600px) {
  body.isg-live-page .isg-live-board .market-grid.row {gap:6px!important;}
  body.isg-live-page .isg-live-board .market-grid .market-card {padding:7px 5px!important;}
  body.isg-live-page .isg-live-board .market-reference-range {grid-template-columns:minmax(0,1fr);font-size:10px;}
}
@media(max-width:360px) {
  body.isg-live-page .isg-live-board .market-grid .market-value {font-size:clamp(15px,5.2vw,19px)!important;}
}
