.cb42-market-price-hint {
  margin-top: 12px;
  padding: 0;
  border: 0;
  background: transparent;
  display: grid;
  gap: 10px;
}

.cb42-market-price-hint.is-unavailable {
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
}

.cb42-market-price-hint.is-loading {
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid #dbeafe;
  background: #f8fbff;
}

.cb42-market-price-hint__title {
  font-weight: 700;
  color: #0f172a;
}

.cb42-market-price-hint__meta {
  color: #64748b;
  font-size: 13px;
}

.cb42-market-price-hint__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cb-market-price-meter {
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
  display: grid;
  gap: 10px;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.cb-market-price-meter.is-below {
  border-color: #86efac;
  background: linear-gradient(180deg, #f0fdf4 0%, #ecfdf5 100%);
}

.cb-market-price-meter.is-above {
  border-color: #fca5a5;
  background: linear-gradient(180deg, #fef2f2 0%, #fff1f2 100%);
}

.cb-market-price-meter.is-fair {
  border-color: #93c5fd;
  background: linear-gradient(180deg, #eff6ff 0%, #f0f9ff 100%);
}

.cb-market-price-meter--compact {
  padding: 10px 12px;
  border-radius: 14px;
  gap: 8px;
  box-shadow: none;
}

.cb-market-price-meter__head {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.cb-market-price-meter__badge {
  font-weight: 800;
  color: #0f172a;
  font-size: 14px;
  min-width: 0;
}

.cb-market-price-meter__percent {
  font-size: 12px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.08);
  color: #334155;
}

.cb-market-price-meter.is-below .cb-market-price-meter__percent {
  background: rgba(22, 163, 74, 0.14);
  color: #15803d;
}

.cb-market-price-meter.is-above .cb-market-price-meter__percent {
  background: rgba(220, 38, 38, 0.12);
  color: #b91c1c;
}

.cb-market-price-meter.is-fair .cb-market-price-meter__percent {
  background: rgba(37, 99, 235, 0.12);
  color: #1d4ed8;
}

.cb-market-price-meter__source {
  margin-left: auto;
  font-size: 12px;
  color: #64748b;
}

.cb-market-price-meter--compact .cb-market-price-meter__source {
  margin-left: 0;
}

.cb-market-price-meter__track {
  position: relative;
  height: 12px;
  border-radius: 999px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  background: #e2e8f0;
}

.cb-market-price-meter__zone--low {
  background: linear-gradient(90deg, #bbf7d0, #86efac);
}

.cb-market-price-meter__zone--fair {
  background: linear-gradient(90deg, #bfdbfe, #93c5fd);
}

.cb-market-price-meter__zone--high {
  background: linear-gradient(90deg, #fecaca, #fca5a5);
}

.cb-market-price-meter__center {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  transform: translateX(-50%);
  background: rgba(15, 23, 42, 0.35);
  z-index: 1;
}

.cb-market-price-meter__marker {
  position: absolute;
  top: 50%;
  width: 16px;
  height: 16px;
  margin-left: -8px;
  transform: translateY(-50%);
  border-radius: 50%;
  border: 3px solid #fff;
  background: #0f172a;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.25);
  z-index: 2;
  transition: left 0.35s ease;
}

.cb-market-price-meter.is-below .cb-market-price-meter__marker {
  background: #16a34a;
}

.cb-market-price-meter.is-above .cb-market-price-meter__marker {
  background: #dc2626;
}

.cb-market-price-meter.is-fair .cb-market-price-meter__marker {
  background: #2563eb;
}

.cb-market-price-meter__scale {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  font-size: 11px;
  color: #94a3b8;
  text-align: center;
}

.cb-market-price-meter__scale span:first-child {
  text-align: left;
}

.cb-market-price-meter__scale span:last-child {
  text-align: right;
}

.cb-market-price-meter__market,
.cb-market-price-meter__hint {
  margin: 0;
  color: #334155;
  font-size: 14px;
  line-height: 1.45;
}

.cb-market-price-meter__market--compact {
  font-size: 13px;
}

.cb-market-price-meter__range {
  color: #64748b;
}

.cb-market-price-indicator {
  margin-top: 10px;
}

.cb-owner-listing-card .cb-market-price-meter {
  margin-top: 8px;
}

/* Legacy aliases kept for older markup */
.cb-market-price-indicator.is-below,
.cb-market-price-indicator.is-above,
.cb-market-price-indicator.is-fair {
  border: 0;
  background: transparent;
  padding: 0;
}

@media (max-width: 767px) {
  .cb-market-price-meter {
    width: auto;
    max-width: 100%;
    overflow: hidden;
  }

  .cb-market-price-meter__head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }

  .cb-market-price-meter__source {
    margin-left: 0;
    grid-column: 1 / -1;
  }

  .cb-market-price-meter__track,
  .cb-market-price-meter__scale {
    width: 100%;
    min-width: 0;
  }

  .cb-market-price-meter__market,
  .cb-market-price-meter__hint {
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .cb-market-price-meter__range {
    display: block;
    margin-top: 4px;
  }

  .cb42-market-price-hint {
    max-width: 100%;
    min-width: 0;
  }
}
