:root {
  --ticker-height: 42px;
}

.metal-ticker {
  position: sticky;
  top: 0;
  z-index: 60;
  background: #0f3d2e;
  color: #f6f4ef;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.metal-ticker__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 0;
  min-height: var(--ticker-height);
}

.metal-ticker__list {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: nowrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.metal-ticker__list::-webkit-scrollbar {
  display: none;
}

.metal-ticker__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  letter-spacing: 0.02em;
}

.metal-ticker__label {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(246, 244, 239, 0.72);
}

.metal-ticker__value {
  font-variant-numeric: tabular-nums;
  color: #fff8e1;
}

.metal-ticker__meta {
  font-size: 11px;
  color: rgba(246, 244, 239, 0.72);
  white-space: nowrap;
}

.topbar {
  top: var(--ticker-height);
}

@media (max-width: 720px) {
  .metal-ticker__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .metal-ticker__meta {
    white-space: normal;
  }

  .topbar {
    top: calc(var(--ticker-height) + 10px);
  }
}
