/* Avista weather shortcode — stats bar only.
   Effect overlay is rendered on a <canvas> by weather.js (see WeatherFX). */

.avista-weather {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 28px;
  color: #ffbd00;
  font-family: 'Manrope', sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
}
.avista-weather__stat {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.avista-weather__glyph,
.avista-weather__icon,
.avista-weather__pin {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}
.avista-weather__glyph svg,
.avista-weather__icon svg,
.avista-weather__pin svg {
  display: block;
  overflow: visible;
}
.avista-weather__value {
  font-family: 'Barlow', 'Manrope', sans-serif;
  font-size: 18px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
}
.avista-weather__club {
  font-size: 14px;
  letter-spacing: -0.01em;
}

/* Effect canvas drawn by weather.js (see WeatherFX). Subdued so the
   scene reads as ambient background rather than competing with the
   foreground UI. Single intensity knob — applies on every screen size. */
.avista-fx-canvas {
  opacity: 0.5;
}

/* Mobile portrait only: fade the canvas to fully transparent at the
   top and bottom so the iOS Dynamic Island band and the Safari
   address-bar area show the body colour instead of a hard contrast
   strip against the painted weather. */
@media (max-width: 430px) and (orientation: portrait) {
  .avista-fx-canvas {
    -webkit-mask-image: linear-gradient(
      to bottom,
      transparent 0,
      black 60px,
      black calc(100% - 100px),
      transparent 100%
    );
            mask-image: linear-gradient(
      to bottom,
      transparent 0,
      black 60px,
      black calc(100% - 100px),
      transparent 100%
    );
  }
}
