
/* ==========================================================================
   DXLook Frontend Styles (cleaned & de-duplicated)
   NOTE: Only organization and duplication removal. No behavior changes.
   ========================================================================== */

/* ---------- Base / Resets ---------- */
html { -webkit-text-size-adjust: 100%; }

html, body {
  overflow: hidden;             /* lock scroll for map app */
  overscroll-behavior: none;
  touch-action: none;
}

.hidden { display: none; }

html, body, #map {
  margin: 0;
  padding: 0;
  height: 100%;
  width: 100%;
  font-family: sans-serif;
}

#map {
  position: absolute; inset: 0; z-index: 0;
}

#seo-blurb { display: none; }

/* Accessible, visually-hidden H1 for SEO */
#mainHeading {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap; border: 0;
}

#mainWrapper {
  display: flex;
  height: 100vh;
  width: 100vw;
  overflow: visible;
}

/* ---------- Leaflet tweaks ---------- */
.leaflet-container { overscroll-behavior: contain; }
.leaflet-control-toggle {
  width: 26px; height: 26px; display: none;
  background: #fff; border: 1px solid #ccc;
  font-size: 18px; line-height: 26px; text-align: center;
  font-weight: bold; cursor: pointer;
  border-radius: 0 !important; box-shadow: none;
  margin-top: 0 !important;
}

/* ---------- Control Panel (Top Center) ---------- */
#ui-controls {
  position: fixed; top: 10px; left: 50%; transform: translateX(-50%);
  z-index: 1000; pointer-events: auto;
  background: #fff; padding: 10px 14px; border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px;
  font-size: 14px; max-width: 95vw;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
#ui-controls > * { flex: 0 1 auto; }

/* Control spacing: keep label→select spacing consistent */
#ui-controls #viewToggle,
#ui-controls #reportsDirection,
#ui-controls #reportsTimeFilter,
#ui-controls #potaTimeFilter {
  margin-left: 6px;
}

#ui-controls button,
#ui-controls select,
#ui-controls input[type="button"],
#ui-controls input[type="submit"] { cursor: pointer; }
#ui-controls select,
#ui-controls input[type="text"],
#ui-controls button { font-size: 14px; }
#ui-controls.minimized { transform: translateX(-100%); display: none; }

.perspective-group {
  white-space: nowrap;
  margin-right: 8px;
}

#utcClock {
  font-weight: bold;
  white-space: nowrap;
}

.control-group {
  display: flex; align-items: center; gap: 6px;
  margin-left: 8px; white-space: nowrap;
}
.control-group label { margin: 0; font-weight: normal; }

/* Zone Opacity (MUF view) */
#zoneOpacityContainer {
  display: flex; align-items: baseline; gap: 6px;
  white-space: nowrap; margin-left: 10px;
  font-size: 14px; line-height: 1.2;
}
#zoneOpacityContainer label { margin: 0; font-weight: bold; line-height: 1; }
#zoneOpacitySlider { width: 100px; accent-color: #007bff; vertical-align: middle; margin-top: 2px; }

/* ---------- Toast (anchored to controls) ---------- */
#toast {
  position: absolute;
  top: 100%; left: 50%; transform: translateX(-50%);
  background-color: #323232; color: #fff;
  padding: 10px 20px; border-radius: 6px; font-size: 14px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  opacity: 0; transition: opacity 0.5s ease;
  z-index: 11001; pointer-events: none; white-space: nowrap;
}
#toast.show { opacity: 1; z-index: 11001; }

/* ---------- Help Panel ---------- */
#helpPanel {
  position: fixed; top: 15%; left: 50%; transform: translateX(-50%);
  background: #ffffffee; border: 1px solid #ccc; border-radius: 8px;
  padding: 20px 30px 60px 30px;
  width: 90%; max-width: 450px; max-height: 80vh; overflow-y: auto;
  z-index: 10000; box-shadow: 0 0 12px rgba(0,0,0,0.25);
}
#helpPanel.hidden { display: none; }
#closeHelpBtn {
  position: absolute; bottom: 15px; left: 50%; transform: translateX(-50%);
  padding: 6px 14px; background-color: #ccc; color: #333;
  border: none; border-radius: 4px; cursor: pointer;
}

/* ---------- Corner Logo ---------- */
#cornerLogo {
  position: fixed; bottom: 10px; left: 10px;
  width: 100px; height: auto; z-index: 1000; opacity: 0.85;
  pointer-events: none; /* keep map interactive */
}

/* ---------- Space Weather / Band Conditions Widget ---------- */
#spaceWeatherWidget {
  position: fixed; bottom: 20px; right: 20px; width: 260px;
  background-color: #fff; border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
  opacity: 1; transform: translateY(0);
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 1000; font-size: 14px;
}
#spaceWeatherWidget.hidden { opacity: 0; transform: translateY(120%); pointer-events: none; }

#swHeader {
  display: flex; justify-content: space-between; align-items: center;
  background: #f0f0f0; padding: 8px 12px;
  border-top-left-radius: 8px; border-top-right-radius: 8px;
}
#swHeader span { font-weight: bold; font-size: 14px; }

#swCloseBtn {
  background: none; border: none; font-size: 18px; line-height: 1;
  cursor: pointer; color: #333;
}
#swCloseBtn:hover { color: #000; }

#swContent { padding: 12px; }
#swContent .sw-top { margin-bottom: 8px; line-height: 1.4; }
#swContent .sw-top span { display: inline-block; margin-right: 8px; }
#swContent .sw-table {
  width: 100%; border-collapse: collapse; text-align: center; margin-bottom: 6px;
}
#swContent .sw-table th, #swContent .sw-table td {
  border: 1px solid #ccc; padding: 4px 6px;
}
#swContent .sw-table th { background-color: #f0f0f0; font-weight: bold; }
#swContent .sw-noise { font-weight: bold; text-align: center; }

#swMinimizedBtn {
  position: fixed; bottom: 20px; right: 20px;
  background-color: #fff; border: 1px solid #ccc; border-radius: 4px;
  padding: 8px 12px; font-size: 14px; font-weight: bold;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
  cursor: pointer; z-index: 1000; transition: opacity 0.3s ease;
}
#swMinimizedBtn.hidden { display: none; }
#swMinimizedBtn:hover { background-color: #f0f0f0; }

/* ---------- Tooltips for Leaflet ---------- */
.custom-tooltip {
  background-color: #fff; color: #000;
  border-radius: 4px; padding: 5px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
  font-size: 13px; opacity: 0.9;
}

/* ---------- Misc ---------- */
body { margin: 0; padding: 0; } /* keep locked scroll set above */
#mainContent { display: flex; flex-direction: column; align-items: center; }

/* ---------- Loading Overlay ---------- */
#loadingOverlay {
  position: fixed;
  inset: 0;                          /* full screen */
  display: none;                     /* hidden by default */
  align-items: center;               /* center spinner vertically */
  justify-content: center;           /* center horizontally */
  flex-direction: column;            /* spinner + optional label stack */
  background: rgba(255,255,255,0.20);
  /* backdrop-filter: blur(1px); */
  z-index: 11002;                    /* above tour/help/toast */
}
#loadingOverlay > * { pointer-events: none; }

/* Show overlay as soon as <body> has .loading */
body.loading #loadingOverlay {
  display: flex !important;
}

/* Spinner */
.mac-spinner {
  width: 24px; height: 24px; border: 3px solid transparent;
  border-top: 3px solid #1976d2;
  border-right: 3px solid #43a047;
  border-bottom: 3px solid #fbc02d;
  border-left: 3px solid #e53935;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  box-shadow: 0 0 6px rgba(0,0,0,0.1);
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Shepherd.js tour (kept intact) */
.shepherd-element {
  font-family: 'Segoe UI', sans-serif;
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.25);
  padding: 1.5em;
  border: 2px solid #000;
  max-width: 400px;
  max-height: 90vh;         /* ensure not too tall */
  overflow: hidden;         /* clip overflow */
  z-index: 10000;
}
.shepherd-title {
  font-size: 17px; font-weight: 600; color: #333;
  margin-bottom: 0.5em; padding: 1em 1.5em 0.5em; margin: 0;
  background: #fff; z-index: 1;
}
.shepherd-text {
  font-size: 15px; line-height: 1.6; color: #333;
  flex: 1; overflow-y: auto; padding: 1em 1.5em; margin: 0;
}
.shepherd-button {
  padding: 6px 14px; font-weight: 600; font-size: 14px;
  border-radius: 4px; cursor: pointer; transition: background 0.3s ease;
  margin: 0 6px;
}
.shepherd-button-primary { background-color: #4A90E2; color: #fff; border: none; }
.shepherd-button-primary:hover { background-color: #357ABD; }
.shepherd-button-secondary { background-color: transparent; border: 1px solid #ccc; color: #333; }
.shepherd-button-secondary:hover { background-color: #eee; }
.shepherd-footer {
  position: sticky; bottom: 0; background: #fff;
  padding: 0.75em 1.5em; text-align: right; margin: 0;
  box-shadow: 0 -2px 4px rgba(0,0,0,0.1); z-index: 1;
}
.shepherd-cancel-icon {
  position: absolute; top: 0.75em; right: 0.75em;
  cursor: pointer; font-size: 18px; color: #666; z-index: 2;
}
.shepherd-modal-overlay-container { display: none !important; background: none !important; }
.shepherd-modal-overlay-container.shepherd-modal-is-visible {
  display: block; pointer-events: auto; transition: background-color 0.3s ease;
}
.shepherd-content {
  display: flex !important; flex-direction: column; height: 100%;
  padding: 0 !important; min-width: 320px; padding-top: 2.5em !important;
}

/* optional scroll caps for small screens */
.custom-tour-style .shepherd-text {
  max-height: 60vh; overflow-y: auto; padding-right: 0.5em;
}
.custom-tour-style .shepherd-content {
  max-height: 70vh; overflow: hidden;
}

/* ---------- Responsive ---------- */

/* ≤ 768px */
@media (max-width: 768px) {
  /* allow Safari to reset the viewport once the keyboard is dismissed */
  html, body { overflow: auto !important; }

  .leaflet-control-toggle { display: block; }

  #ui-controls {
    left: auto; right: 10px; transform: none;
    flex-direction: column; align-items: normal; padding: 12px;
  }

  /* Push Leaflet top-left controls down to avoid OS chrome */
  .leaflet-top.leaflet-left { top: 10px !important; }

  #zoneOpacitySlider { width: 100%; }
  #zoneOpacityContainer { justify-content: flex-end; }
  #zoneOpacityContainer label { margin-bottom: 4px; }

  /* Smaller corner logo on phones */
  #cornerLogo { width: 60px; }
  
  /* Stack “Reports” controls */
  .perspective-group {
    display: flex; flex-direction: column; align-items: stretch; white-space: normal;
  }
  .perspective-group input#reportsCallsign,
  .perspective-group select#reportsDirection { display: block; width: 100%; margin: 4px 0; }
  .perspective-group button { margin-top: 4px; }
  .perspective-group select#reportsType { display: block; width: 100%; margin: 4px 0; }

  #ui-controls select#potaType,
  #ui-controls input#potaValue { display: block; width: 100%; margin: 6px 0; }
}

/* ≤ 480px (Help panel typography) */
@media (max-width: 480px) {
  #helpPanel { padding: 16px 20px 60px 20px; top: 5%; max-height: 85vh; }
  #helpPanel h2 { font-size: 1.2rem; }
  #helpPanel p, #helpPanel ul { font-size: 0.95rem; }
}

/* --- Tour: enforce a single vertical scrollbar (v3, stronger + safe) --- */
/* Make the popup use a flex column layout so header/text/footer stack naturally */
.shepherd-element .shepherd-content {
  display: flex !important;
  flex-direction: column !important;
  max-height: 90vh !important;
}

/* Kill scrolling on every wrapper except the text area */
.shepherd-element,
.shepherd-element .shepherd-content,
.shepherd-element .shepherd-header,
.shepherd-element .shepherd-body,
.shepherd-element .shepherd-footer {
  overflow: hidden !important;
}

/* Some Shepherd builds wrap text in an extra div; ensure that wrapper doesn't scroll */
.shepherd-element .shepherd-text > * {
  overflow: visible !important;
}

/* Only the text area scrolls */
.shepherd-element .shepherd-text {
  flex: 1 1 auto !important;
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch;
}

/* Keep header/footer pinned while text scrolls */
.shepherd-element .shepherd-title {
  position: sticky; top: 0; background: #fff; z-index: 1;
}
.shepherd-element .shepherd-footer {
  position: sticky; bottom: 0; background: #fff; z-index: 1;
}


/* Vertically center single elements in the control bar */
#ui-controls #findGridBtn,
#ui-controls #utcClock {
  align-self: center;
}
#utcClock {
  display: flex;
  align-items: center;
}

/* Left menu language box (inside the custom vertical bar) */
#leftMenuBar .lang-box {
  width: 30px;
  height: 31px;
  background: #fff;
  border: 1px solid #ccc;
  display: flex;
  align-items: center;
  justify-content: center;
}
#leftMenuBar .lang-box select {
  width: 100%;
  height: 100%;
  border: 0;
  padding: 0;
  margin: 0;
  background: transparent;
  cursor: pointer;
  font-size: 12px;
  line-height: 1;
  text-align: center;
  text-align-last: center;         /* center the selected value (supported on most browsers) */
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}
#leftMenuBar .lang-box select:focus { outline: none; }

/* Left menu tooltips */
#leftMenuBar > a[data-tooltip],
#leftMenuBar .lang-box[data-tooltip] {
  position: relative; /* anchor for the tooltip bubble */
}

#leftMenuBar > a[data-tooltip]::after,
#leftMenuBar .lang-box[data-tooltip]::after {
  content: attr(data-tooltip);
  position: absolute;
  top: 50%;
  left: 100%;
  transform: translate(6px, -50%);  /* sit just to the right */
  padding: 4px 8px;
  background: rgba(0,0,0,0.85);
  color: #fff;
  border-radius: 4px;
  font-size: 12px;
  line-height: 1.2;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity 120ms ease, transform 120ms ease;
  z-index: 2000; /* above the control bar */
}

#leftMenuBar > a[data-tooltip]:hover::after,
#leftMenuBar > a[data-tooltip]:focus-visible::after,
#leftMenuBar .lang-box[data-tooltip]:hover::after {
  opacity: 1;
  transform: translate(8px, -50%);
}

/* Left menu tooltip */
.menu-tooltip{
  position: fixed;
  z-index: 10000;
  background: #000;
  color: #fff;
  padding: 6px 8px;
  border-radius: 4px;
  font-size: 12px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, -6px);
  transition: opacity .12s ease;
}
.menu-tooltip.show { opacity: 1; }




/* ───────── Donate button in top menu ───────── */
#ui-controls .dx-donate-btn {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: 6px 10px;
  border-radius: 8px;
  background: linear-gradient(180deg, #ffd96a, #ffb400);
  color: #111 !important;
  text-decoration: none;
  font-weight: 800;
  line-height: 1;
  border: 1px solid rgba(0,0,0,.15);
  box-shadow: 0 2px 6px rgba(0,0,0,.15);
  white-space: nowrap;
}
#ui-controls .dx-donate-btn:hover { filter: brightness(1.03); }
#ui-controls .dx-donate-btn:active { transform: translateY(1px); }

/* Keep some spacing after UTC clock */
#utcClock + .dx-donate-btn { margin-left: 8px; }

/* ───────── Donate Info Layer (fixed above Band Conditions) ───────── */
/* Close button in top-right corner of donate layer */
#dx-donate-layer{
  position: fixed;
  z-index: 2000;
  display: none;

  /* ✅ keep the panel content-sized, not full-width */
  display: inline-block;
  width: max-content;
  min-width: 260px;
  max-width: 340px;

  /* default corner position (JS will override when anchoring to legend) */
  right: 20px;
  bottom: 20px;
  left: auto;
  top: auto;

  background: #fff;
  color: #111;
  border-radius: 8px;
  border: 1px solid #ddd;
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
  padding: 16px 14px 14px 14px;
  font-size: 14px;
  box-sizing: border-box;
}

#dx-donate-layer .dx-donate-close {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 22px;
  height: 22px;
  line-height: 20px;
  font-size: 14px;
  border: none;
  border-radius: 50%;
  background: #eee;
  color: #333;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease;
}
#dx-donate-layer .dx-donate-close:hover {
  background: #ddd;
}
#dx-donate-layer .dx-donate-close:active {
  background: #ccc;
}

#dx-donate-layer .dx-donate-row {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
#dx-donate-layer .dx-donate-text { line-height: 1.35; }
#dx-donate-layer .dx-donate-text strong { font-weight: 800; color: #b45309; }
#dx-donate-layer .dx-donate-cta {
  flex: 0 0 auto;
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .5rem .9rem;
  border-radius: 999px;
  background: linear-gradient(180deg, #ffd96a, #ffb400);
  color: #111;
  text-decoration: none;
  font-weight: 800;
  white-space: nowrap;
  border: 1px solid rgba(0,0,0,.2);
  box-shadow: 0 2px 6px rgba(0,0,0,.2);
}
#dx-donate-layer .dx-donate-cta:hover { filter: brightness(1.03); }

/* tiny helper in Band Conditions title to reopen the panel */
#swHeader .dx-donate-help {
  margin-left: 8px; font-size: 12px; text-decoration: underline; color: #333;
  cursor: pointer; opacity: .8;
}
#swHeader .dx-donate-help:hover { opacity: 1; }

#dx-donate-layer { box-sizing: border-box; }

/* ───── Pretty "Why donate?" pill next to the Donate button ───── */
#ui-controls .dx-donate-help {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  margin-left: 10px;
  padding: 6px 10px;
  border-radius: 8px;
  background: #f7f8fb;                  /* soft neutral */
  border: 1px solid #e4e7ef;             /* subtle edge */
  color: #333;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  user-select: none;
  transition: background .15s ease, box-shadow .15s ease, transform .05s ease;
}
#ui-controls .dx-donate-help::before {
  content: "❓";                          /* small hint icon; remove if you dislike */
  font-size: 14px;
  line-height: 1;
  opacity: .9;
}
#ui-controls .dx-donate-help:hover {
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(0,0,0,.08);
}
#ui-controls .dx-donate-help:active {
  transform: translateY(1px);
}

/* Optional: gentle brand accent for Mercado Pago */
#dx-donate-layer .dx-donate-cta[href*="mpago.la"] {
  background: linear-gradient(180deg, #e8f4ff, #cae8ff);
}
#dx-donate-layer .dx-donate-cta[href*="mpago.la"]:hover {
  filter: brightness(1.02);
}

/* Inline donate area */
#ui-controls .dx-donate-inline {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 10px;
  white-space: nowrap;
  flex-wrap: wrap;   /* allows wrapping */
  max-width: 100%;
}

#ui-controls .dx-donate-inline-label {
  font-weight: 600;
  opacity: .9;
}

/* Yellow donation buttons */
#ui-controls .dx-donate-btn-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 12px;
  border-radius: 8px;
  background: linear-gradient(#f9d976, #f6b93b);
  color: #000;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  border: 1px solid #e0a800;
  box-shadow: 0 2px 3px rgba(0,0,0,.15);
  transition: transform .08s ease, box-shadow .15s ease;
}
#ui-controls .dx-donate-btn-pill:hover {
  background: linear-gradient(#fddb92, #f6b93b);
  box-shadow: 0 3px 6px rgba(0,0,0,.2);
}
#ui-controls .dx-donate-btn-pill:active { transform: translateY(1px); }

/* Why Donate? button */
#ui-controls .dx-why-donate-btn {
  background: none;
  border: none;
  font-size: 0.9em;
  font-weight: 600;
  color: #0070ba;
  cursor: pointer;
  text-decoration: underline;
  padding: 0 4px;
}
#ui-controls .dx-why-donate-btn:hover { color: #00457c; }

/* ───── Fix donate pills width on small screens ───── */
@media (max-width: 768px) {
  #ui-controls .dx-donate-inline {
    /* occupy full row inside the top panel */
    width: 100% !important;
    align-self: stretch !important;
    flex-direction: column;
    align-items: stretch;          /* <- stretch children to full width */
    gap: 6px;
    margin-left: 0;
    white-space: normal;
    min-width: 0;                  /* flex overflow guard */
  }

  #ui-controls .dx-donate-inline-label {
    width: 100%;
    box-sizing: border-box;
  }

  #ui-controls .dx-donate-btn-pill {
    display: block;
    width: 100% !important;        /* fill the panel’s content box */
    max-width: 100% !important;
    min-width: 0;
    box-sizing: border-box;        /* include padding + border in 100% */
    text-align: center;
  }

  #ui-controls .dx-why-donate-btn {
    display: block;
    width: 100%;
    text-align: center;
    box-sizing: border-box;
  }
}

/* Also keep these safe defaults for any size */
#ui-controls .dx-donate-inline,
#ui-controls .dx-donate-btn-pill { min-width: 0; }
#ui-controls .dx-donate-btn-pill { box-sizing: border-box; }


/* Donate layer: when dynamic colors are applied, make <strong> inherit the text color */
#dx-donate-layer[data-dynamic="1"] .dx-donate-text strong { color: inherit; }

#dx-donate-layer{
  display: none;          /* JS sets block before positioning */
  width: max-content;
  min-width: 260px;
  max-width: 340px;
  right: 20px; bottom: 20px; left: auto; top: auto;
}


/* QSO upload pill — match the light control bar */
.qso-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 8px;
  border: 1px solid #cfcfcf;        /* same family as inputs */
  border-radius: 6px;                /* match input radius */
  background: #fff;                  /* light like the menu */
  color: inherit;                    /* use menu text color */
  line-height: 1.2;
  height: 28px;                      /* same height as other controls */
}

.qso-pill .qso-drop {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  white-space: nowrap;
  padding: 0 2px;
}

.qso-pill .qso-or { opacity: .65; margin: 0 2px; }

/* the button already has .btn; only adjust spacing if needed */
.qso-pill .qso-btn { height: 24px; line-height: 22px; padding: 0 10px; }

/* subtle active/drag state, aligned with your focus/hover accents */
.qso-pill.dragging {
  border-color: #4aa3ff;
  box-shadow: 0 0 0 2px rgba(74,163,255,.15) inset;
}

/* optional filename text, subdued like placeholders */
.qso-pill .qso-name {
  max-width: 220px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #666;
  font-size: 12px;
}

/* Slightly punchier polygons without changing the palette */
.leaflet-pane.lobePane svg .vhf-lobe {
  filter: saturate(1.25) contrast(1.10);
}

/* Optional: very soft shadow to lift off the map a bit */
.leaflet-pane.lobePane svg .vhf-lobe {
  /* SVG drop-shadow is supported in modern browsers */
  filter: drop-shadow(0 0 2px rgba(0,0,0,0.15)) saturate(1.25) contrast(1.10);
}