.market-clock-bar {
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  padding: 24px 26px 0;
}

.market-clock-bar[hidden] { display: none; }
.market-clock-bar:not([hidden]) + #mainContent { padding-top: 12px; }

.market-clocks {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  min-width: 0;
  gap: 12px;
}

.market-clock {
  min-width: 0;
  padding: 10px 12px;
  border: 1px solid #dce9e4;
  border-radius: 8px;
  background: #f8fbfa;
}

.market-clock-heading {
  display: flex;
  justify-content: space-between;
  gap: 4px;
  font-size: 11px;
  color: #49665d;
  line-height: 1.2;
}

.market-clock-heading strong { color: #254d40; }
.market-clock-date { white-space: nowrap; }

.market-clock-time {
  display: block;
  margin: 2px 0;
  color: #143c30;
  font-size: 18px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  line-height: 1.15;
}

.market-clock-link {
  display: block;
  max-width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: #087556;
  font: inherit;
  font-size: 11px;
  line-height: 1.2;
  text-align: left;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.market-clock-link:hover { color: #07513d; }
.market-clock-link:focus-visible { outline: 2px solid #087556; outline-offset: 3px; }
.market-clock-link.is-copied { color: #07513d; font-weight: 700; }
.market-clock-link.is-error { color: #b42318; }

@media (max-width: 860px) {
  .market-clock-bar { padding: 16px 16px 0; }
}

@media (max-width: 720px) {
  .market-clocks {
    grid-template-columns: repeat(5, 150px);
    overflow-x: auto;
    padding: 2px 0 6px;
  }
}
