.pv-indbar {
  position: sticky;
  top: 0;
  z-index: 9999;
  width: 100%;
  background: linear-gradient(90deg, rgba(255,255,255,.92), rgba(245,247,250,.92));
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0,0,0,.06);
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 6px;
}

.pv-indbar__viewport {
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 6px;
  overflow-x: auto;            /* agora é scrollável */
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  flex: 1 1 auto;
}

/* esconder scrollbar */
.pv-indbar__viewport::-webkit-scrollbar { height: 0; }
.pv-indbar__viewport { scrollbar-width: none; }
.pv-indbar__viewport { -ms-overflow-style: none; }

.pv-indbar__track {
  display: inline-flex;
  align-items: center;
  width: max-content;
}

.pv-indbar__set {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-right: 10px;
  flex: 0 0 auto;
}

.pv-indbar__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.85);
  border: 1px solid rgba(0,0,0,.06);
  white-space: nowrap;
  flex: 0 0 auto;
  user-select: none;
}

.pv-indbar__icon {
  font-size: 16px;
  line-height: 1;
}

.pv-indbar__text strong {
  font-weight: 700;
  font-size: 14px;
}

.pv-indbar__muted {
  font-size: 13px;
  opacity: .75;
  margin-left: 6px;
}

.pv-indbar__delta {
  margin-left: 8px;
  font-weight: 800;
  font-size: 12px;
  opacity: .9;
}

/* Direção */
.pv-indbar__item.is-up {
  border-color: rgba(0, 160, 80, .25);
  background: rgba(0, 160, 80, .08);
}

.pv-indbar__item.is-down {
  border-color: rgba(210, 40, 40, .25);
  background: rgba(210, 40, 40, .08);
}

.pv-indbar__item.is-flat {
  border-color: rgba(120,120,120,.18);
  background: rgba(120,120,120,.06);
}

/* Temperatura */
.pv-indbar__item--temp.t-cold {
  border-color: rgba(0, 120, 255, .25);
  background: rgba(0, 120, 255, .08);
}

.pv-indbar__item--temp.t-mild {
  border-color: rgba(0, 160, 80, .22);
  background: rgba(0, 160, 80, .06);
}

.pv-indbar__item--temp.t-warm {
  border-color: rgba(255, 145, 0, .25);
  background: rgba(255, 145, 0, .08);
}

.pv-indbar__item--temp.t-hot {
  border-color: rgba(230, 60, 60, .25);
  background: rgba(230, 60, 60, .08);
}

.pv-indbar__item--temp.t-unknown {
  border-color: rgba(120,120,120,.18);
  background: rgba(120,120,120,.06);
}

/* Botões setas (desktop) */
.pv-indbar__nav {
  border: 1px solid rgba(0,0,0,.08);
  background: rgba(255,255,255,.9);
  border-radius: 999px;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
  opacity: .85;
  flex: 0 0 auto;
}

.pv-indbar__nav:hover { opacity: 1; }
.pv-indbar__nav:active { transform: scale(.98); }

@media (max-width: 640px) {
  .pv-indbar__viewport {
    padding: 8px 6px;
  }

  .pv-indbar__item {
    padding: 7px 9px;
  }

  .pv-indbar__text strong {
    font-size: 13px;
  }

  /* NO MOBILE: manter cidade ao lado da temperatura */
  .pv-indbar__item--temp .pv-indbar__muted {
    display: inline;
  }

  /* setas não precisam no mobile */
  .pv-indbar__nav {
    display: none;
  }
}
