/* weather: the full-viewport effect canvas and its little chip.
   Canvas sits above the page background, below the screen column, garland and pills. */

.weather-canvas {
  position: fixed; inset: 0; width: 100%; height: 100%;
  z-index: 0; pointer-events: none;
}
#screen { z-index: 1; } /* above the canvas; already position: relative */

.weather-chip {
  position: fixed; top: 12px; right: 10px; z-index: 6;
  max-width: calc(100vw - 80px);
  display: inline-flex; align-items: center; gap: 6px; cursor: pointer;
  appearance: none; border: 1px solid var(--kraft-dark); background: var(--tag); color: var(--soft);
  border-radius: 999px; padding: 5px 11px; min-height: 30px;
  font-family: var(--body); font-weight: 600; font-size: 12px; line-height: 1.2;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  box-shadow: 0 6px 16px -10px rgba(40,26,15,.55);
  touch-action: manipulation;
}
.weather-chip[hidden] { display: none; }
.weather-chip:active { transform: translateY(1px); }
body[data-screen="bow"] .weather-chip { border-color: oklch(1 0 0 / 0.6); }
@media (min-width: 560px) {
  .weather-chip { right: max(10px, calc(50% - var(--col) / 2 - 8px)); }
}
