/* Weather widget — small block top-right showing temp + condition for
   the configured location. Pulled from open-meteo by weather.js. */

.weather {
  position: fixed;
  top: 24px;
  right: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  background: rgba(8, 12, 18, 0.62);
  border: 1px solid rgba(95, 180, 196, 0.22);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 4px;
  font-family: 'Cinzel', serif;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  z-index: 10;
  opacity: 0;
  pointer-events: auto;
  cursor: default;
  transition: opacity 800ms ease, color 320ms ease,
              background 320ms ease, border-color 320ms ease;
}
.weather.loaded { opacity: 0.78; }
.weather:hover {
  opacity: 1;
  color: var(--text);
  background: rgba(8, 12, 18, 0.85);
  border-color: rgba(95, 180, 196, 0.55);
}

.weather-icon { font-size: 18px; line-height: 1; }
.weather-temp {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}
.weather-place {
  font-size: 9px;
  letter-spacing: 0.32em;
  text-indent: 0.32em;
  text-transform: uppercase;
  opacity: 0.6;
}

@media (max-width: 540px) {
  .weather { top: 16px; right: 16px; padding: 6px 10px; gap: 8px; }
  .weather-place { display: none; }
}
