/* Estilos de la feature weather (src/features/weather.js). */

/* Lluvia y nieve que caen (dibujadas encima del mundo; oculto si no cae nada) */
.weather-precip {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.weather-precip[hidden] { display: none; }

/* Destello de los rayos: un velo claro con mezcla normal (equivale casi exacto al modo
   screen de antes y no obliga a componer el escenario aparte). */
.weather-flash {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: #f4f6ff;
  opacity: 0;
  transition: opacity .6s ease-out;
}
.weather-flash.on { opacity: .47; transition: none; }

/* Indicador de hora y clima */
.weather-chip {
  position: absolute;
  top: .5rem;
  right: .5rem;
  padding: .2rem .65rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(14, 18, 28, .72);
  color: var(--text);
  font-size: .8rem;
  font-variant-numeric: tabular-nums;
  line-height: 1.4;
  cursor: pointer;
  z-index: 2;
}
.weather-chip:hover { border-color: var(--accent); }
.weather-chip.off { color: var(--muted); }

.weather-timebox { display: flex; align-items: center; gap: .4rem; }
.weather-time { width: 8.5em; accent-color: var(--accent); }
.weather-clock { min-width: 3.2em; color: var(--text); font-variant-numeric: tabular-nums; }
.weather-dim { opacity: .45; }
