/* =========================== */
/* 🌦️ SEASON TOGGLE + CANVAS   */
/* =========================== */

/* ── Page reset ── */
html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  background: #fff;
}

/* ── Season canvas ──────────────────────────────────────────
   Snow/particle overlay. Sits above page body content but
   below the sticky header, nav overlays, and all UI chrome.
   pointer-events: none keeps everything underneath clickable.
─────────────────────────────────────────────────────────── */
#season-canvas {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 10;
  pointer-events: none;
  display: block;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  mix-blend-mode: normal;
}

body.retro-mode #season-canvas {
  mix-blend-mode: screen;
  opacity: 0.9;
}

/* ── Season toggle button ───────────────────────────────────
   Fixed bottom-left pill. Above canvas, below nav.
─────────────────────────────────────────────────────────── */
.season-toggle-btn {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 9999;
  width: 38px;
  height: 38px;
  padding: 0;
  font-size: 1.1rem;
  line-height: 1;
  border: none;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #fff;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
  pointer-events: auto;
}

.season-toggle-btn:hover {
  background: rgba(15, 23, 42, 0.9);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
  transform: scale(1.1);
}

.season-toggle-btn:focus-visible {
  outline: 2px solid #62c1db;
  outline-offset: 3px;
}

/* ── Hide toggle when weather overlay is open ── */
body.weather-overlay-open .season-toggle-btn {
  opacity: 0;
  pointer-events: none;
}

/* ── Z-index reference ──────────────────────────────────────
   #season-canvas        10
   .season-toggle-btn   200
   .sticky-header      1000   (set in navbar.css)
   #mountain-overlay   1100   (set in navbar.css)
─────────────────────────────────────────────────────────── */