body.public-route .market-indexes div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "meta meta"
    "value change"
    "source link";
  gap: 4px 12px;
  min-height: 78px;
  padding: 10px 16px;
}

body.public-route .market-indexes span {
  grid-area: meta;
}

body.public-route .market-indexes strong {
  grid-area: value;
}

body.public-route .market-indexes em {
  position: static;
  grid-area: change;
  align-self: center;
  text-align: right;
}

body.public-route .market-indexes small {
  grid-area: source;
  overflow: hidden;
  color: #8297a8;
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.public-route .market-indexes a {
  grid-area: link;
  color: #a9bbc7;
  font-size: 10px;
  text-decoration: underline;
  text-underline-offset: 2px;
}

body.public-route .market-main {
  grid-template-columns: minmax(220px, 0.82fr) minmax(0, 1.4fr);
}

.market-subhead,
.market-secondary-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 14px;
  color: #d8e6ec;
  background: rgba(255, 255, 255, 0.045);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 11px;
}

.market-subhead span,
.market-secondary-head span {
  color: #8297a8;
  font-size: 9px;
  white-space: nowrap;
}

.market-secondary {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.market-secondary-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  background: rgba(255, 255, 255, 0.018);
}

.market-secondary-grid div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "meta meta"
    "value change"
    "source link";
  gap: 4px 10px;
  min-width: 0;
  padding: 10px 14px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.market-secondary-grid div:last-child {
  border-right: 0;
}

.market-secondary-grid span {
  grid-area: meta;
  overflow: hidden;
  color: #b4c4cf;
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.market-secondary-grid strong {
  grid-area: value;
  font-size: 14px;
}

.market-secondary-grid em {
  grid-area: change;
  align-self: center;
  font-size: 11px;
  font-style: normal;
  text-align: right;
}

.market-secondary-grid small {
  grid-area: source;
  overflow: hidden;
  color: #8297a8;
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.market-secondary-grid a {
  grid-area: link;
  color: #a9bbc7;
  font-size: 9px;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.flat {
  color: #a9bbc7;
}

.market-status-stale .live-dot {
  background: #e7b95f;
  box-shadow: 0 0 16px rgba(231, 185, 95, 0.62);
}

.market-status-unavailable .live-dot {
  background: #8da1b2;
  box-shadow: none;
}

.market-chart-grid line {
  stroke: #1e3141;
  stroke-width: 1;
}

.market-chart-empty {
  display: grid;
  place-items: center;
  min-height: 112px;
  padding: 18px;
  color: #9fb1be;
  border: 1px dashed rgba(255, 255, 255, 0.14);
  border-radius: 6px;
  font-size: 12px;
  text-align: center;
}

.market-issues p {
  gap: 10px;
}

.market-issues p > span {
  flex: 0 0 auto;
  min-width: 44px;
  color: #30d4c8;
}

.market-issues time {
  margin-left: auto;
  color: #91a4b4;
  font-size: 11px;
  white-space: nowrap;
}

.market-meta {
  display: grid;
  grid-template-columns: repeat(3, auto) minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.04);
}

.market-meta span {
  padding: 4px 8px;
  color: #b9c8d4;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 999px;
  font-size: 10px;
  text-align: center;
}

.market-meta a {
  justify-self: end;
  color: #71ddd4;
  font-size: 11px;
  font-weight: 700;
}

.market-data-notice {
  margin: 0;
  padding: 9px 16px 11px;
  color: #91a4b4;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 11px;
  line-height: 1.55;
}

.market-status-unavailable .market-data-notice {
  color: #d8c18c;
}

@media (max-width: 760px) {
  .market-head {
    align-items: flex-start;
    gap: 6px;
  }

  .market-head small {
    text-align: right;
  }

  .market-meta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .market-subhead,
  .market-secondary-head {
    padding: 8px 12px;
  }

  .market-secondary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .market-secondary-grid div {
    padding: 9px 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .market-secondary-grid div:nth-child(2n) {
    border-right: 0;
  }

  .market-meta a {
    grid-column: 1 / -1;
    justify-self: stretch;
    padding-top: 4px;
    text-align: center;
  }

  .market-issues p {
    display: grid;
    grid-template-columns: auto 1fr;
  }

  .market-issues time {
    grid-column: 2;
    margin-left: 0;
  }
}
