/**
 * Miniclima · opción D · 27 oct 2026.
 * Rótulo (temp + ciudad) y escena canvas en el hueco entre tasas y rótulo.
 * Tamaño y posición los pone JS (CORRECCIÓN 2): no hay medidas fijas.
 */

.cuba-hoy.cuba-hoy--miniclima {
  position: relative;
  overflow: visible;
}

.cuba-hoy__tarjeta.cuba-hoy__tarjeta--miniclima {
  position: static;
  overflow: visible;
}

/* Escena: absolute; left/top/width/height los escribe colocarEscena(). */
.cuba-hoy__miniclima {
  position: absolute;
  left: 0;
  top: 0;
  width: 64px;
  height: 69px;
  pointer-events: none;
  z-index: 3;
  display: block;
  background: transparent;
}

.cuba-hoy__miniclima[hidden] {
  display: none !important;
}

/* Rótulo: sin pastilla. Temp grande + Habana ⌄. */
.cuba-hoy__boton.cuba-hoy__boton--miniclima {
  height: 44px;
  min-height: 44px;
  padding: 0 4px 0 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  box-shadow: none;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 3px;
  position: relative;
  z-index: 4;
  color: #fff;
  text-shadow: 0 1px 3px rgba(0, 8, 30, 0.75), 0 0 14px rgba(0, 8, 30, 0.6);
  min-width: 0;
}

.cuba-hoy__boton.cuba-hoy__boton--miniclima:hover {
  background: transparent;
  border-color: transparent;
}

.cuba-hoy__boton.cuba-hoy__boton--miniclima .cuba-hoy__punto-aviso,
.cuba-hoy__boton.cuba-hoy__boton--miniclima .cuba-hoy__boton-texto,
.cuba-hoy__boton.cuba-hoy__boton--miniclima > .cuba-hoy__chevron {
  display: none;
}

.cuba-hoy__miniclima-temp {
  font-size: 22px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.02em;
}

.cuba-hoy__miniclima-ciudad {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 5px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
}

.cuba-hoy__boton.cuba-hoy__boton--miniclima .cuba-hoy__miniclima-ciudad .cuba-hoy__chevron {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 220ms ease;
}

.cuba-hoy--abierto .cuba-hoy__boton--miniclima .cuba-hoy__miniclima-ciudad .cuba-hoy__chevron {
  transform: rotate(-135deg) translate(-1px, -1px);
}

.cuba-hoy__miniclima-rotulo[hidden] {
  display: none !important;
}

@media (prefers-reduced-motion: reduce) {
  .cuba-hoy__boton.cuba-hoy__boton--miniclima .cuba-hoy__miniclima-ciudad .cuba-hoy__chevron {
    transition: none;
  }
}
