/* ── Layout ─────────────────────────────────────────── */
html, body { overflow: hidden !important; }
body { background: #061510; }

:root {
  --delta-deep: #0b2230;
  --delta-water: #16425f;
  --delta-lagoon: #1f6f78;
  --delta-reed: #7f9f5e;
  --delta-sand: #d8bf86;
  --delta-mist: #d6f0f2;
  --delta-foam: #b8e3e8;
  --delta-danger: #fca5a5;
}

#map-container {
  display: flex;
  height: calc(100vh - 68px);
}

#map-wrap {
  flex: 1;
  position: relative;
  min-width: 0;
}

#map {
  height: 100%;
  width: 100%;
}

#weather-panel {
  width: 400px;
  flex-shrink: 0;
  background:
    radial-gradient(140% 95% at 8% 2%, rgba(184, 227, 232, 0.25) 0%, rgba(22, 66, 95, 0.14) 48%, rgba(8, 26, 36, 0.96) 100%),
    linear-gradient(162deg, #0c2737 0%, #174660 35%, #16556b 60%, #2f5e4f 78%, #463f32 100%);
  color: var(--delta-mist);
  overflow-y: auto;
  border-left: 1px solid rgba(184, 227, 232, 0.28);
  scrollbar-width: thin;
  scrollbar-color: rgba(184, 227, 232, 0.78) rgba(20, 66, 91, 0.42);
  position: relative;
}
#weather-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 10%, rgba(184, 227, 232, 0.2) 0 26%, transparent 50%),
    radial-gradient(circle at 84% 22%, rgba(216, 191, 134, 0.16) 0 16%, transparent 44%),
    repeating-linear-gradient(122deg, rgba(127, 159, 94, 0.07) 0 2px, transparent 2px 10px),
    repeating-linear-gradient(90deg, rgba(184, 227, 232, 0.04) 0 1px, transparent 1px 14px);
  opacity: 0.72;
}
#weather-panel > * {
  position: relative;
  z-index: 1;
}
#weather-panel::-webkit-scrollbar { width: 5px; }
#weather-panel::-webkit-scrollbar-track { background: rgba(17, 60, 83, 0.4); }
#weather-panel::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #b8e3e8, #5ca8b2);
  border-radius: 999px;
}

/* State panels: loading + error — controlled only via .hidden */
.harta-panel-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 300px;
  height: 100%;
  padding: 2rem;
  text-align: center;
}

.harta-panel-state.hidden {
  display: none !important;
}

#panel-default,
#panel-loading,
#panel-error {
  color: var(--delta-mist);
}

#panel-default h2,
#panel-error h3 {
  color: #d7ecef;
}

#panel-default p,
#panel-loading p,
#panel-error p {
  color: #badde1;
}

#panel-default .bg-gray-100 {
  background: rgba(184, 227, 232, 0.12);
  border-color: rgba(184, 227, 232, 0.28);
}

#panel-loading .animate-spin-slow {
  filter: drop-shadow(0 0 14px rgba(184, 227, 232, 0.55));
}

#panel-error #retry-btn {
  background: linear-gradient(135deg, #3d7f97, #2c5f74);
  box-shadow: 0 8px 22px rgba(131, 197, 208, 0.3);
}

#panel-data {
  color: var(--delta-mist);
}

.wild-top-card {
  margin-bottom: 14px;
  padding: 14px;
  border-radius: 18px;
  border: 1px solid rgba(184, 227, 232, 0.24);
  background: linear-gradient(145deg, rgba(92, 168, 178, 0.22), rgba(17, 54, 75, 0.64));
  box-shadow: inset 0 1px 0 rgba(214, 240, 242, 0.2);
}

.wild-top-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--delta-mist);
}

.wild-pin-icon {
  display: inline-flex;
  align-items: flex-end;
  height: 20px;
  flex-shrink: 0;
}

.wild-top-coords {
  font-size: 12px;
  color: var(--delta-foam);
  padding-left: 24px;
  letter-spacing: 0.03em;
}

.wild-card {
  margin-bottom: 14px;
  padding: 14px;
  border-radius: 18px;
  border: 1px solid rgba(184, 227, 232, 0.2);
  background: linear-gradient(155deg, rgba(31, 111, 120, 0.35), rgba(16, 49, 69, 0.74));
  box-shadow: 0 12px 22px rgba(7, 23, 33, 0.45), inset 0 1px 0 rgba(214, 240, 242, 0.14);
  backdrop-filter: blur(3px);
}

.wild-score-card {
  border-width: 1px;
}

.wild-score-icon {
  font-size: 52px;
  line-height: 1;
  filter: drop-shadow(0 4px 10px rgba(13, 78, 99, 0.45));
}

.wild-kicker {
  font-size: 10px;
  color: #c8d8a2;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 700;
}

.wild-score-track {
  background: rgba(232, 247, 250, 0.2);
  border-radius: 999px;
  height: 8px;
  overflow: hidden;
}

.wild-score-band {
  height: 8px;
  border-radius: 999px;
}

.score-shell-good { background: linear-gradient(150deg, rgba(127, 159, 94, 0.28), rgba(20, 66, 91, 0.62)); }
.score-shell-mid  { background: linear-gradient(150deg, rgba(216, 191, 134, 0.25), rgba(54, 71, 57, 0.62)); }
.score-shell-low  { background: linear-gradient(150deg, rgba(245, 158, 158, 0.24), rgba(61, 37, 38, 0.65)); }

.score-border-good { border-color: rgba(200, 216, 162, 0.5); }
.score-border-mid  { border-color: rgba(216, 191, 134, 0.5); }
.score-border-low  { border-color: rgba(252, 165, 165, 0.5); }

.score-text-good { color: #e0efcb; }
.score-text-mid  { color: #f0dba9; }
.score-text-low  { color: #fecaca; }

.score-band-good { background: linear-gradient(90deg, #9cb86e, #6f9d65); }
.score-band-mid  { background: linear-gradient(90deg, #dec48e, #b99d68); }
.score-band-low  { background: linear-gradient(90deg, #f87171, #ef4444); }

.wild-driver-wrap {
  margin-top: 12px;
}

.wild-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid;
}

.wild-chip-positive {
  color: #d9e8bc;
  border-color: rgba(200, 216, 162, 0.45);
  background: rgba(127, 159, 94, 0.2);
}

.wild-chip-negative {
  color: var(--delta-danger);
  border-color: rgba(252, 165, 165, 0.5);
  background: rgba(239, 68, 68, 0.14);
}

.wild-moon-boost {
  margin-top: 8px;
  font-size: 12px;
  color: #d2e9bf;
  font-weight: 600;
}

.wild-current-card {
  position: relative;
  overflow: hidden;
}

.wild-current-card::after {
  content: '';
  position: absolute;
  width: 140px;
  height: 140px;
  right: -32px;
  top: -36px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(184, 227, 232, 0.3), transparent 70%);
  pointer-events: none;
}

.wild-temp-main {
  font-size: 52px;
  line-height: 1;
  font-weight: 900;
  color: #f1fbfd;
  text-shadow: 0 3px 10px rgba(15, 23, 42, 0.45);
}

.wild-condition {
  color: #d1e7c1;
  font-size: 14px;
  font-weight: 600;
}

.wild-text-main {
  color: #f1fbfd;
}

.wild-subtle {
  color: #b4d7dc;
}

.wild-rain {
  color: #8fd4ee;
}

.wild-metric-card {
  background: linear-gradient(145deg, rgba(28, 95, 113, 0.38), rgba(16, 59, 80, 0.58));
  border: 1px solid rgba(184, 227, 232, 0.24);
  border-radius: 14px;
  padding: 11px;
}

.wild-metric-label {
  color: #b8dfe3;
  font-size: 11px;
  margin-bottom: 4px;
}

.wild-metric-value {
  color: #f2fcfd;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.25;
}

.wild-top-divider {
  border-top: 1px solid rgba(184, 227, 232, 0.24);
}

.wild-mini-label {
  color: #b8dfe3;
  font-size: 11px;
}

.wild-mini-value {
  color: #f1fbfd;
  font-size: 13px;
  font-weight: 700;
}

.wild-spark-column {
  background: linear-gradient(180deg, rgba(157, 219, 228, 0.9), rgba(49, 128, 153, 0.72));
}

.wild-day-card {
  border: 1px solid rgba(184, 227, 232, 0.28);
  position: relative;
}

.wild-day-card-idle {
  background: rgba(19, 64, 88, 0.46);
}

.wild-day-card-idle:hover {
  background: rgba(33, 97, 120, 0.56);
}

.wild-day-card-active {
  background: linear-gradient(145deg, rgba(184, 227, 232, 0.35), rgba(46, 99, 92, 0.66));
  box-shadow: inset 0 0 0 1px rgba(214, 240, 242, 0.35);
}

.wild-day-card-best {
  box-shadow: inset 0 0 0 1px rgba(216, 191, 134, 0.5), 0 0 0 1px rgba(216, 191, 134, 0.25);
}

.wild-day-best-badge {
  position: absolute;
  top: 5px;
  right: 5px;
  font-size: 9px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #4b3a16;
  background: linear-gradient(135deg, #f7d48a, #d8bf86);
  border-radius: 999px;
  padding: 3px 5px;
}

.wild-best-day-card {
  border-color: rgba(216, 191, 134, 0.45);
  background: linear-gradient(145deg, rgba(216, 191, 134, 0.2), rgba(26, 83, 102, 0.72));
}

.wild-best-day-title {
  font-size: 16px;
  font-weight: 800;
  color: #f7f6df;
}

.wild-best-day-score {
  margin-top: 8px;
  color: #d6e8ec;
  font-size: 13px;
}

.wild-best-day-score strong {
  color: #f8e4a6;
}

.wild-best-day-btn {
  margin-top: 10px;
  border: 1px solid rgba(216, 191, 134, 0.55);
  background: linear-gradient(135deg, rgba(216, 191, 134, 0.24), rgba(157, 132, 81, 0.28));
  color: #f7f3d6;
  font-size: 12px;
  font-weight: 700;
  border-radius: 10px;
  padding: 7px 10px;
  transition: all 0.2s ease;
}

.wild-best-day-btn:hover {
  background: linear-gradient(135deg, rgba(216, 191, 134, 0.34), rgba(157, 132, 81, 0.38));
  color: #fff8de;
}

.wild-best-day-hint {
  margin-top: 10px;
  color: #d7e8c7;
  font-size: 12px;
}

.wild-day-label-idle {
  color: #bbdbe0;
}

.wild-day-label-active {
  color: #f1fbfd;
}

.wild-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #d9e8bc;
  border: 1px solid rgba(200, 216, 162, 0.42);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 10px;
  background: rgba(127, 159, 94, 0.18);
  transition: all 0.2s ease;
}

.wild-back-btn:hover {
  background: rgba(127, 159, 94, 0.3);
  color: #f1fbfd;
}

.wild-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.wild-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 10px;
  border: 1px solid rgba(184, 227, 232, 0.28);
  background: rgba(184, 227, 232, 0.12);
  color: #d7edf0;
}

.wild-theme-toggle {
  display: inline-flex;
  gap: 6px;
  margin-top: 10px;
  padding: 4px;
  border-radius: 999px;
  background: rgba(11, 34, 48, 0.34);
  border: 1px solid rgba(184, 227, 232, 0.26);
}

.wild-theme-btn {
  border: 0;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 11px;
  font-weight: 700;
  color: #b8dfe3;
  background: transparent;
  cursor: pointer;
  transition: all 0.2s ease;
}

.wild-theme-btn:hover {
  color: #f1fbfd;
  background: rgba(184, 227, 232, 0.16);
}

.wild-theme-btn.is-active {
  color: #062434;
  background: linear-gradient(135deg, #d6f0f2, #b8e3e8);
  box-shadow: 0 2px 8px rgba(176, 220, 228, 0.4);
}

#weather-panel.theme-forest {
  background:
    radial-gradient(130% 90% at 6% 4%, rgba(167, 243, 208, 0.24) 0%, rgba(34, 197, 94, 0.1) 38%, rgba(5, 22, 18, 0.96) 100%),
    linear-gradient(162deg, #0a261c 0%, #124331 38%, #15513a 62%, #2f4f34 80%, #2d2f1d 100%);
  border-left-color: rgba(167, 243, 208, 0.3);
  scrollbar-color: rgba(74, 222, 128, 0.8) rgba(6, 78, 59, 0.35);
}

#weather-panel.theme-forest::before {
  background:
    radial-gradient(circle at 18% 10%, rgba(187, 247, 208, 0.18) 0 26%, transparent 50%),
    radial-gradient(circle at 84% 22%, rgba(253, 224, 71, 0.13) 0 16%, transparent 44%),
    repeating-linear-gradient(122deg, rgba(110, 231, 183, 0.07) 0 2px, transparent 2px 10px),
    repeating-linear-gradient(90deg, rgba(187, 247, 208, 0.04) 0 1px, transparent 1px 14px);
}

#weather-panel.theme-forest .wild-kicker {
  color: #b7e9a2;
}

#weather-panel.theme-forest .wild-card {
  border-color: rgba(167, 243, 208, 0.2);
  background: linear-gradient(155deg, rgba(21, 128, 61, 0.3), rgba(7, 42, 31, 0.74));
  box-shadow: 0 12px 22px rgba(3, 20, 14, 0.4), inset 0 1px 0 rgba(187, 247, 208, 0.14);
}

#weather-panel.theme-forest .wild-top-card {
  border-color: rgba(167, 243, 208, 0.26);
  background: linear-gradient(145deg, rgba(21, 128, 61, 0.2), rgba(6, 41, 30, 0.64));
}

#weather-panel.theme-forest .wild-badge {
  border-color: rgba(167, 243, 208, 0.32);
  background: rgba(134, 239, 172, 0.14);
  color: #d7f5e3;
}

#weather-panel.theme-forest .wild-theme-toggle {
  background: rgba(6, 41, 30, 0.42);
  border-color: rgba(167, 243, 208, 0.26);
}

#weather-panel.theme-forest .wild-theme-btn {
  color: #b4e9c9;
}

#weather-panel.theme-forest .wild-theme-btn:hover {
  background: rgba(134, 239, 172, 0.18);
  color: #f0fff7;
}

#weather-panel.theme-forest .wild-theme-btn.is-active {
  color: #0f291c;
  background: linear-gradient(135deg, #bbf7d0, #86efac);
  box-shadow: 0 2px 8px rgba(74, 222, 128, 0.4);
}

#weather-panel.theme-forest .wild-best-day-card {
  border-color: rgba(187, 247, 208, 0.45);
  background: linear-gradient(145deg, rgba(134, 239, 172, 0.2), rgba(14, 63, 45, 0.72));
}

#weather-panel.theme-forest .wild-best-day-title {
  color: #e7f7dd;
}

#weather-panel.theme-forest .wild-best-day-score strong {
  color: #bbf7d0;
}

#weather-panel.theme-forest .wild-best-day-btn {
  border-color: rgba(134, 239, 172, 0.55);
  background: linear-gradient(135deg, rgba(110, 231, 183, 0.24), rgba(34, 197, 94, 0.28));
  color: #eafbef;
}

#weather-panel.theme-forest .wild-best-day-btn:hover {
  background: linear-gradient(135deg, rgba(110, 231, 183, 0.34), rgba(34, 197, 94, 0.38));
}

#weather-panel.theme-forest .wild-day-card-best {
  box-shadow: inset 0 0 0 1px rgba(134, 239, 172, 0.5), 0 0 0 1px rgba(134, 239, 172, 0.28);
}

#weather-panel.theme-forest .wild-day-best-badge {
  color: #123321;
  background: linear-gradient(135deg, #bbf7d0, #86efac);
}

#weather-panel.theme-forest .score-shell-good { background: linear-gradient(150deg, rgba(34, 197, 94, 0.24), rgba(5, 46, 22, 0.64)); }
#weather-panel.theme-forest .score-shell-mid  { background: linear-gradient(150deg, rgba(251, 191, 36, 0.2), rgba(69, 26, 3, 0.64)); }
#weather-panel.theme-forest .score-shell-low  { background: linear-gradient(150deg, rgba(248, 113, 113, 0.2), rgba(69, 10, 10, 0.64)); }

#weather-panel.theme-forest .score-border-good { border-color: rgba(134, 239, 172, 0.45); }
#weather-panel.theme-forest .score-border-mid  { border-color: rgba(253, 224, 71, 0.45); }
#weather-panel.theme-forest .score-border-low  { border-color: rgba(252, 165, 165, 0.45); }

#weather-panel.theme-forest .score-text-good { color: #bbf7d0; }
#weather-panel.theme-forest .score-text-mid  { color: #fde68a; }
#weather-panel.theme-forest .score-text-low  { color: #fecaca; }

#weather-panel.theme-forest .score-band-good { background: linear-gradient(90deg, #4ade80, #22c55e); }
#weather-panel.theme-forest .score-band-mid  { background: linear-gradient(90deg, #facc15, #f59e0b); }
#weather-panel.theme-forest .score-band-low  { background: linear-gradient(90deg, #f87171, #ef4444); }

/* ── Map pin logo marker ────────────────────────────── */
.map-pin-logo {
  width: 80px;
  height: 44px;
  display: block;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.45));
}

@media (max-width: 1024px) {
  .map-pin-logo { width: 64px; height: 35px; }
}

@media (max-width: 767px) {
  .map-pin-logo { width: 50px; height: 27px; }
}

/* ── Fishing marker (lake icons) ────────────────────── */
.fishing-marker { background: none !important; border: none !important; }

/* Lake water-drop marker */
.lake-drop {
  width: 10px;
  height: 10px;
  background: #3b82f6;
  border: 1.5px solid rgba(255,255,255,0.8);
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  box-shadow: 0 1px 3px rgba(0,0,0,0.25);
}

/* ── Animations ─────────────────────────────────────── */
@keyframes fadeSlideIn {
  from { opacity: 0; transform: translateX(12px); }
  to   { opacity: 1; transform: translateX(0); }
}
.animate-slide-in { animation: fadeSlideIn 0.3s ease-out; }

@keyframes spin { to { transform: rotate(360deg); } }
.animate-spin-slow { animation: spin 1.5s linear infinite; }

.score-bar-fill { transition: width 1s ease-out; }

.day-card { transition: transform 0.15s ease; }
.day-card:hover { transform: translateY(-3px); }

/* ── Toast ───────────────────────────────────────────── */
#oob-toast {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(15, 23, 42, 0.85);
  color: #fde68a;
  padding: 8px 20px;
  border-radius: 24px;
  font-size: 13px;
  z-index: 1000;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s;
  white-space: nowrap;
}

/* ── Lake tooltip ────────────────────────────────────── */
.lake-tooltip {
  background: white;
  border: 1px solid #d1fae5;
  border-radius: 8px;
  padding: 3px 8px;
  font-size: 12px;
  font-weight: 600;
  color: #065f46;
  box-shadow: 0 2px 8px rgba(0,0,0,.12);
  white-space: nowrap;
}
.lake-tooltip::before { display: none; }

/* ── Map controls container (GPS + Filter stacked) ──── */
#map-controls {
  position: absolute;
  top: 56px;
  right: 12px;
  z-index: 1001;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-end;
}

/* ── GPS Button ──────────────────────────────────────── */
#map-gps-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.95);
  border: 1px solid #d1fae5;
  border-radius: 20px;
  padding: 7px 14px;
  font-size: 12px;
  font-weight: 600;
  color: #065f46;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
  transition: background 0.15s, box-shadow 0.15s;
  backdrop-filter: blur(4px);
  white-space: nowrap;
}
#map-gps-btn:hover { background: #f0fdf4; box-shadow: 0 4px 12px rgba(0,0,0,0.15); }
#map-gps-btn.loading { opacity: 0.6; pointer-events: none; }
#map-gps-btn svg { color: #16a34a; }

/* ── Spot Filter ─────────────────────────────────────── */
#map-filter-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}
#map-filter-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.95);
  border: 1px solid #d1fae5;
  border-radius: 20px;
  padding: 7px 14px;
  font-size: 12px;
  font-weight: 600;
  color: #065f46;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
  transition: background 0.15s;
  backdrop-filter: blur(4px);
  white-space: nowrap;
}
#map-filter-toggle:hover { background: #f0fdf4; }
#map-filter-toggle.active { background: #dcfce7; border-color: #86efac; }
#map-filter-count {
  background: #16a34a;
  color: #fff;
  border-radius: 999px;
  padding: 1px 6px;
  font-size: 11px;
  font-weight: 700;
}
#map-filter-panel {
  margin-top: 6px;
  background: rgba(255,255,255,0.98);
  border: 1px solid #d1fae5;
  border-radius: 14px;
  padding: 14px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.13);
  min-width: 200px;
  backdrop-filter: blur(6px);
}
.map-filter__title {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #6b7280;
  margin-bottom: 10px;
}
.map-filter__label {
  display: flex;
  flex-direction: column;
  font-size: 12px;
  font-weight: 600;
  color: #374151;
  gap: 4px;
  margin-bottom: 10px;
}
.map-filter__select {
  border: 1px solid #d1d5db;
  border-radius: 8px;
  padding: 5px 8px;
  font-size: 13px;
  color: #111827;
  background: #f9fafb;
  outline: none;
  cursor: pointer;
}
.map-filter__select:focus { border-color: #16a34a; }
.map-filter__apply {
  width: 100%;
  background: #16a34a;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 7px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  margin-bottom: 6px;
  transition: background 0.15s;
}
.map-filter__apply:hover { background: #15803d; }
.map-filter__reset {
  width: 100%;
  background: transparent;
  color: #6b7280;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 6px;
  font-size: 12px;
  cursor: pointer;
  transition: background 0.15s;
}
.map-filter__reset:hover { background: #f3f4f6; }

/* ── Cluster icon ────────────────────────────────────── */
.fs-cluster {
  width: 34px;
  height: 34px;
  background: #16a34a;
  border: 2px solid #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
}
.fs-cluster span {
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}

/* ── Mobile panel toggle ─────────────────────────────── */
#panel-mobile-toggle {
  display: none;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%) translateY(-100%);
  z-index: 1100;
  background: #15803d;
  color: #fff;
  border: none;
  border-radius: 12px 12px 0 0;
  padding: 6px 20px 5px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  box-shadow: 0 -2px 8px rgba(0,0,0,0.12);
}
#panel-mobile-toggle svg { transition: transform 0.25s; }
#panel-mobile-toggle.panel-collapsed svg { transform: rotate(180deg); }

/* ── Map Legend ──────────────────────────────────────── */
#map-legend {
  position: absolute;
  bottom: 44px;
  left: 12px;
  z-index: 900;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(4px);
  border: 1px solid #d1fae5;
  border-radius: 12px;
  padding: 10px 14px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.12);
  min-width: 170px;
}
.map-legend__title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #6b7280;
  margin-bottom: 8px;
}
.map-legend__item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #374151;
  margin-bottom: 6px;
}
.map-legend__item:last-child { margin-bottom: 0; }
.map-legend__icon {
  flex-shrink: 0;
  display: inline-block;
}
/* Spot pin (green) */
.map-legend__icon--spot {
  width: 8px;
  height: 8px;
  background: #16a34a;
  border: 1.5px solid #fff;
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(0,0,0,0.3);
}
/* Lake drop (blue) */
.map-legend__icon--lake {
  width: 8px;
  height: 8px;
  background: #3b82f6;
  border: 1.5px solid rgba(255,255,255,0.8);
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}
/* Click cursor */
.map-legend__icon--click {
  width: 14px;
  height: 14px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 3l14 9-7 1-4 7z'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}
@media (max-width: 767px) {
  #map-legend { display: none; }
}

/* ── Mobile ──────────────────────────────────────────── */
@media (max-width: 767px) {
  html, body { overflow: auto !important; }
  #map-container { flex-direction: column; height: auto; }
  #map-wrap { height: 60vw; min-height: 300px; }
  #map { height: 100%; }
  #weather-panel {
    width: 100%;
    overflow-y: visible;
    border-left: none;
    border-top: 1px solid #e5e7eb;
    position: relative;
    transition: max-height 0.35s ease, opacity 0.3s ease;
    max-height: 2000px;
    overflow: hidden;
  }
  #weather-panel.panel-collapsed {
    max-height: 0;
    opacity: 0;
    border-top: none;
  }
  #map-search-wrap { max-width: calc(100% - 1.5rem); }
  #panel-mobile-toggle { display: flex; }
  #map-controls { top: 10px; gap: 6px; }
  #map-gps-btn span { display: none; }
  #map-gps-btn { padding: 8px; border-radius: 50%; }
  #map-filter-toggle { font-size: 0; gap: 0; padding: 8px; border-radius: 50%; }
  #map-filter-count { font-size: 10px; padding: 1px 5px; }
  .wild-temp-main { font-size: 44px; }
}

/* ═══════════════════════════════════════════════════════
   MAP — dark forest filter + overlays
═══════════════════════════════════════════════════════ */

/* Saturate water bodies blue, keep land neutral */
#map .leaflet-tile-pane {
  filter: saturate(3) brightness(1.02);
}

/* Leaflet UI controls — light theme */
.leaflet-control-zoom a,
.leaflet-control-attribution {
  background: rgba(255, 255, 255, 0.92) !important;
  color: #2d6a3f !important;
  border-color: rgba(74, 180, 100, 0.3) !important;
}

.leaflet-control-zoom a:hover {
  background: rgba(240, 255, 244, 0.98) !important;
  color: #166534 !important;
}

.leaflet-control-scale-line {
  background: rgba(255, 255, 255, 0.82);
  border-color: rgba(34, 130, 70, 0.45) !important;
  color: #2d6a3f !important;
}

/* ── Map brand badge (top-left overlay) ─────────────── */
#map-brand {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 1000;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(6, 21, 16, 0.82);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(74, 222, 128, 0.28);
  border-radius: 999px;
  padding: 0.3rem 0.85rem;
  pointer-events: none;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
}

.map-brand__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 6px rgba(74, 222, 128, 0.8);
  animation: map-brand-pulse 1.8s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes map-brand-pulse {
  0%, 100% { opacity: 1;   transform: scale(1);    box-shadow: 0 0 6px rgba(74, 222, 128, 0.8);  }
  50%       { opacity: 0.4; transform: scale(0.65); box-shadow: 0 0 3px rgba(74, 222, 128, 0.4);  }
}

.map-brand__label {
  font-size: 0.7rem;
  font-weight: 600;
  color: rgba(180, 240, 200, 0.8);
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.map-brand__label strong {
  color: #4ade80;
  font-weight: 800;
}

/* ── Search toggle button ────────────────────────────── */
#map-search-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: rgba(6, 28, 22, 0.88);
  border: 1px solid rgba(45, 212, 191, 0.4);
  border-radius: 50%;
  color: rgba(45, 212, 191, 0.9);
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
  transition: background 0.15s, border-color 0.15s, transform 0.15s;
  backdrop-filter: blur(8px);
  flex-shrink: 0;
}
#map-search-toggle:hover {
  background: rgba(15, 48, 36, 0.95);
  border-color: rgba(45, 212, 191, 0.7);
  transform: scale(1.08);
}
#map-search-toggle.is-open {
  background: rgba(45, 212, 191, 0.18);
  border-color: rgba(45, 212, 191, 0.7);
  color: #2dd4bf;
}

/* ── Search expandable box ───────────────────────────── */
#map-search-wrap {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.map-search-box--collapsed {
  width: 0;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transition: width 0.3s cubic-bezier(.4,0,.2,1), opacity 0.25s ease;
}

.map-search-box--open {
  width: min(320px, calc(100vw - 110px));
  opacity: 1;
  pointer-events: auto;
  transition: width 0.3s cubic-bezier(.4,0,.2,1), opacity 0.25s ease;
}

/* ── Search bar — dark forest ───────────────────────── */
#map-search-input {
  background: rgba(6, 28, 22, 0.88) !important;
  border-color: rgba(45, 212, 191, 0.35) !important;
  color: #ffffff !important;
  font-weight: 500;
}

#map-search-input::placeholder {
  color: rgba(150, 220, 210, 0.5) !important;
}

#map-search-input:focus {
  border-color: rgba(45, 212, 191, 0.7) !important;
  box-shadow: 0 0 0 3px rgba(45, 212, 191, 0.15) !important;
  color: #ffffff !important;
}

#map-search-results {
  background: rgba(6, 28, 22, 0.96) !important;
  border-color: rgba(45, 212, 191, 0.22) !important;
}

#map-search-results li {
  color: #e0faf6;
  border-bottom: 1px solid rgba(45, 212, 191, 0.1);
}

#map-search-results li:hover,
#map-search-results li.active {
  background: rgba(45, 212, 191, 0.1) !important;
  color: #ffffff;
}

#map-search-results .font-semibold {
  color: #ffffff !important;
}

#map-search-results .text-green-700 {
  color: #2dd4bf !important;
}

#map-search-clear {
  color: rgba(45, 212, 191, 0.7) !important;
}

/* ── Map hint chip + toast ──────────────────────────── */
#map-hint {
  background: rgba(6, 21, 16, 0.82) !important;
  border-color: rgba(74, 222, 128, 0.22) !important;
  color: rgba(180, 240, 200, 0.85) !important;
}

#oob-toast {
  background: rgba(6, 21, 16, 0.9) !important;
  border: 1px solid rgba(74, 222, 128, 0.2);
}

/* ── Lake status chip ───────────────────────────────── */
#lake-status {
  background: rgba(6, 21, 16, 0.9) !important;
  border-color: rgba(74, 222, 128, 0.28) !important;
  color: #4ade80 !important;
}

/* ── Lake tooltip ───────────────────────────────────── */
.lake-tooltip {
  background: rgba(6, 21, 16, 0.92) !important;
  border: 1px solid rgba(74, 222, 128, 0.3) !important;
  color: #d6f0e8 !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4) !important;
}

/* ═══════════════════════════════════════════════════════
   PANEL DEFAULT — cinematic night fishing scene
═══════════════════════════════════════════════════════ */

.harta-panel-default {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 300px;
  height: 100%;
  padding: 0;
  text-align: center;
  background:
    radial-gradient(ellipse 120% 60% at 20% 0%, rgba(63, 94, 251, 0.18) 0%, transparent 55%),
    radial-gradient(ellipse 80% 40% at 80% 5%, rgba(240, 210, 80, 0.08) 0%, transparent 45%),
    linear-gradient(175deg, #04081a 0%, #081426 18%, #0b2230 40%, #0d2e1c 62%, #081e10 80%, #061510 100%);
  transition: opacity 0.35s ease;
}

/* ── Content wrapper (sits above all bg layers) ──────── */
.harta-pd__content {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem 1.5rem 5rem;
  width: 100%;
}

/* ── Sky layer ───────────────────────────────────────── */
.harta-pd__sky {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

/* Stars */
.harta-pd__star {
  position: absolute;
  background: #fff;
  border-radius: 50%;
  animation: harta-star-twinkle ease-in-out infinite;
  pointer-events: none;
}

@keyframes harta-star-twinkle {
  0%, 100% { opacity: 0.12; transform: scale(1); }
  50%       { opacity: 0.9;  transform: scale(1.7); }
}

/* Shooting stars */
.harta-pd__shooting {
  position: absolute;
  height: 1px;
  width: 80px;
  background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,0.85), rgba(255,255,255,0));
  border-radius: 999px;
  opacity: 0;
  pointer-events: none;
}

.harta-pd__shooting--1 {
  top: 8%;
  left: 25%;
  transform: rotate(-20deg);
  animation: harta-shoot 18s ease-in-out infinite;
  animation-delay: 4s;
}

.harta-pd__shooting--2 {
  top: 14%;
  left: 55%;
  transform: rotate(-28deg);
  animation: harta-shoot 22s ease-in-out infinite;
  animation-delay: 14s;
}

@keyframes harta-shoot {
  0%    { opacity: 0; transform: rotate(-22deg) translateX(0); }
  1%    { opacity: 1; }
  6%    { opacity: 0; transform: rotate(-22deg) translateX(120px); }
  100%  { opacity: 0; transform: rotate(-22deg) translateX(120px); }
}

/* ── Moon ────────────────────────────────────────────── */
.harta-pd__moon-wrap {
  position: absolute;
  top: 6%;
  right: 11%;
  z-index: 2;
  pointer-events: none;
}

.harta-pd__moon-halo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(240,210,80,0.14) 0%, rgba(240,210,80,0.06) 40%, transparent 70%);
  animation: harta-moon-halo 6s ease-in-out infinite;
}

.harta-pd__moon {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 32%, #fff9d0 0%, #f5df6a 45%, #d4a820 100%);
  box-shadow:
    inset -3px -2px 6px rgba(180,130,20,0.4),
    0 0 20px 6px rgba(240,210,80,0.28),
    0 0 50px 18px rgba(240,210,80,0.12);
  animation: harta-moon-glow 5s ease-in-out infinite;
}

/* subtle texture via pseudo-element */
.harta-pd__moon::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background:
    radial-gradient(circle at 65% 25%, rgba(180,140,20,0.25) 0 10%, transparent 22%),
    radial-gradient(circle at 40% 65%, rgba(180,140,20,0.18) 0 8%, transparent 18%),
    radial-gradient(circle at 75% 68%, rgba(180,140,20,0.15) 0 6%, transparent 14%);
}

@keyframes harta-moon-glow {
  0%, 100% { box-shadow: 0 0 20px 6px rgba(240,210,80,0.28), 0 0 50px 18px rgba(240,210,80,0.12); }
  50%       { box-shadow: 0 0 34px 12px rgba(240,210,80,0.45), 0 0 70px 28px rgba(240,210,80,0.2); }
}

@keyframes harta-moon-halo {
  0%, 100% { opacity: 0.7; }
  50%       { opacity: 1; }
}

/* ── Clouds ──────────────────────────────────────────── */
.harta-pd__clouds {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
}

.harta-pd__cloud {
  position: absolute;
}

.harta-pd__cloud--1 {
  top: 18%;
  left: -20%;
  width: 60%;
  animation: harta-cloud-drift 60s linear infinite;
}

.harta-pd__cloud--2 {
  top: 28%;
  left: 110%;
  width: 50%;
  animation: harta-cloud-drift 80s linear infinite reverse;
  animation-delay: -30s;
}

@keyframes harta-cloud-drift {
  0%   { transform: translateX(0); }
  100% { transform: translateX(200%); }
}

/* ── Trees ───────────────────────────────────────────── */
.harta-pd__trees {
  position: absolute;
  left: 0;
  right: 0;
  pointer-events: none;
  z-index: 4;
}

.harta-pd__trees--far {
  bottom: 56px;
  opacity: 0.38;
  filter: blur(1.5px);
}

.harta-pd__trees--near {
  bottom: 38px;
  opacity: 0.78;
}

/* ── Fisherman ───────────────────────────────────────── */
.harta-pd__fisherman {
  position: absolute;
  bottom: 28px;
  right: 14%;
  z-index: 6;
  pointer-events: none;
  opacity: 0.82;
}

/* rod twitch micro-animation */
@keyframes harta-rod-twitch {
  0%, 100% { transform: rotate(0deg); transform-origin: 46px 38px; }
  20%       { transform: rotate(-3deg); transform-origin: 46px 38px; }
  40%       { transform: rotate(1.5deg); transform-origin: 46px 38px; }
  60%       { transform: rotate(-1deg); transform-origin: 46px 38px; }
  80%       { transform: rotate(0.5deg); transform-origin: 46px 38px; }
}

.harta-pd__fisherman.twitching {
  animation: harta-rod-twitch 0.7s cubic-bezier(.4,0,.2,1);
}

/* water ripple circles */
.harta-ripple {
  animation: harta-ripple-expand 1.2s ease-out forwards;
  animation-play-state: paused;
}

.harta-ripple.active {
  animation-play-state: running;
}

@keyframes harta-ripple-expand {
  0%   { r: 0;  opacity: 1; }
  100% { r: 14; opacity: 0; }
}

/* ── Mist ────────────────────────────────────────────── */
.harta-pd__mist {
  position: absolute;
  bottom: 36px;
  left: 0;
  right: 0;
  height: 28px;
  z-index: 5;
  pointer-events: none;
  background: linear-gradient(
    to top,
    rgba(180, 220, 210, 0.13) 0%,
    rgba(180, 220, 210, 0.06) 60%,
    transparent 100%
  );
  filter: blur(4px);
  animation: harta-mist-pulse 8s ease-in-out infinite;
}

@keyframes harta-mist-pulse {
  0%, 100% { opacity: 0.5; transform: scaleX(1); }
  50%       { opacity: 1;   transform: scaleX(1.04); }
}

/* ── Water ───────────────────────────────────────────── */
.harta-pd__water {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 44px;
  pointer-events: none;
  z-index: 3;
  background: linear-gradient(to top, rgba(10, 40, 70, 0.55) 0%, transparent 100%);
}

.harta-pd__moon-reflection {
  position: absolute;
  bottom: 0;
  right: 16%;
  width: 20px;
  height: 44px;
  background: linear-gradient(to bottom, rgba(240,210,80,0.18) 0%, rgba(240,210,80,0.05) 70%, transparent 100%);
  border-radius: 50%;
  filter: blur(3px);
  animation: harta-reflection-shimmer 3.5s ease-in-out infinite;
}

@keyframes harta-reflection-shimmer {
  0%, 100% { opacity: 0.6; transform: scaleX(1); }
  50%       { opacity: 1;   transform: scaleX(1.3); }
}

.harta-pd__wave {
  position: absolute;
  bottom: 0;
  left: -50%;
  width: 200%;
}

.harta-pd__wave--1 { animation: harta-wave-scroll  7s linear infinite;         bottom: 14px; }
.harta-pd__wave--2 { animation: harta-wave-scroll 10s linear infinite reverse; bottom: 0; }

@keyframes harta-wave-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(50%); }
}

/* ── Rod icon ────────────────────────────────────────── */
.harta-pd__icon-wrap {
  position: relative;
  margin-bottom: 1.25rem;
  display: flex;
  justify-content: center;
}

.harta-pd__icon {
  position: relative;
  z-index: 2;
  color: #4ade80;
  filter: drop-shadow(0 0 12px rgba(74,222,128,0.5));
  animation: harta-icon-float 3.5s ease-in-out infinite, harta-icon-sway 6s ease-in-out infinite;
}

@keyframes harta-icon-float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%       { transform: translateY(-7px) rotate(0deg); }
}

@keyframes harta-icon-sway {
  0%, 100% { transform: rotate(0deg); }
  25%       { transform: rotate(3deg); }
  75%       { transform: rotate(-3deg); }
}

.harta-pd__icon-glow {
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 18px;
  background: radial-gradient(ellipse, rgba(74,222,128,0.4) 0%, transparent 70%);
  border-radius: 50%;
  animation: harta-pd-glow 3.5s ease-in-out infinite;
  pointer-events: none;
}

@keyframes harta-pd-glow {
  0%, 100% { opacity: 0.6; width: 55px; }
  50%       { opacity: 1;   width: 72px; }
}

/* ── Title ───────────────────────────────────────────── */
.harta-pd__title {
  font-size: 1.25rem;
  font-weight: 900;
  color: #fff;
  margin: 0 0 0.6rem;
  line-height: 1.2;
}

.harta-pd__title-accent {
  background: linear-gradient(90deg, #4ade80, #2dd4bf);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Rotating subtitle ───────────────────────────────── */
.harta-pd__sub-wrap {
  min-height: 2.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.harta-pd__sub {
  font-size: 0.8rem;
  color: rgba(180, 240, 200, 0.65);
  line-height: 1.55;
  max-width: 250px;
  margin: 0 auto;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.harta-pd__sub.sub-exit {
  opacity: 0;
  transform: translateY(-8px);
}

.harta-pd__sub.sub-enter {
  opacity: 0;
  transform: translateY(8px);
}

/* ── Cards (glassmorphism) ───────────────────────────── */
.harta-pd__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
  width: 100%;
  max-width: 240px;
  margin-bottom: 1.5rem;
}

.harta-pd__card {
  position: relative;
  background: linear-gradient(145deg, rgba(74,222,128,0.08), rgba(6,21,16,0.45));
  border: 1px solid transparent;
  background-clip: padding-box;
  border-radius: 0.9rem;
  padding: 0.75rem 0.5rem;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.07),
    0 4px 16px rgba(0,0,0,0.3);
  transition: transform 0.3s cubic-bezier(.2,.8,.2,1), box-shadow 0.3s cubic-bezier(.2,.8,.2,1);
  overflow: hidden;
}

/* gradient border via pseudo */
.harta-pd__card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(145deg, rgba(74,222,128,0.3), rgba(45,212,191,0.12), rgba(74,222,128,0.08));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.harta-pd__card:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.1),
    0 8px 28px rgba(0,0,0,0.45),
    0 0 18px rgba(74,222,128,0.18);
}

/* icon live animations */
.harta-pd__card-icon {
  display: flex;
  justify-content: center;
  color: #4ade80;
  margin-bottom: 0.3rem;
}

/* thermometer: mercury bob */
.harta-pd__icon--temp svg {
  animation: harta-thermo-bob 4s ease-in-out infinite;
}
@keyframes harta-thermo-bob {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-3px); }
}

/* wind: strafe left */
.harta-pd__icon--wind svg {
  animation: harta-wind-drift 2.5s ease-in-out infinite;
}
@keyframes harta-wind-drift {
  0%, 100% { transform: translateX(0); opacity: 1; }
  40%       { transform: translateX(4px); opacity: 0.8; }
  41%       { transform: translateX(-5px); opacity: 0; }
  42%       { transform: translateX(0); opacity: 1; }
}

/* moon: rotate slowly */
.harta-pd__icon--moon svg {
  animation: harta-moon-rotate 20s linear infinite;
}
@keyframes harta-moon-rotate {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* score: pulse green */
.harta-pd__icon--score svg {
  animation: harta-score-pulse 2s ease-in-out infinite;
}
@keyframes harta-score-pulse {
  0%, 100% { filter: drop-shadow(0 0 4px rgba(74,222,128,0.3)); transform: scale(1); }
  50%       { filter: drop-shadow(0 0 10px rgba(74,222,128,0.7)); transform: scale(1.12); }
}

.harta-pd__card-label {
  font-size: 0.7rem;
  color: rgba(180, 240, 200, 0.7);
}

/* ── Hint chip ───────────────────────────────────────── */
.harta-pd__hint {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(74,222,128,0.2);
  color: rgba(180,240,200,0.65);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  position: relative;
  overflow: hidden;
}

/* shimmer sweep every 4s */
.harta-pd__hint::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.12), transparent);
  animation: harta-shimmer 4s ease-in-out infinite;
  animation-delay: 2s;
}

@keyframes harta-shimmer {
  0%   { left: -60%; }
  30%  { left: 120%; }
  100% { left: 120%; }
}

.harta-pd__hint-arrow {
  display: inline-block;
  animation: harta-arrow-bounce 1.6s ease-in-out infinite;
}

@keyframes harta-arrow-bounce {
  0%, 100% { transform: translateX(0); }
  50%       { transform: translateX(-5px); }
}

/* hint pulsing border */
@keyframes harta-hint-pulse {
  0%, 100% { border-color: rgba(74,222,128,0.2); }
  50%       { border-color: rgba(74,222,128,0.55); box-shadow: 0 0 14px rgba(74,222,128,0.15); }
}
.harta-pd__hint {
  animation: harta-hint-pulse 2.8s ease-in-out infinite;
}

/* ── Map arrow (left side, pointing toward map) ──────── */
.harta-pd__map-arrow {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 11;
  opacity: 0.8;
  animation: harta-arrow-left 2s ease-in-out infinite;
  pointer-events: none;
  transition: opacity 0.6s ease;
}

.harta-pd__map-arrow.hidden {
  opacity: 0;
}

@keyframes harta-arrow-left {
  0%, 100% { transform: translateY(-50%) translateX(0); opacity: 0.8; }
  50%       { transform: translateY(-50%) translateX(-6px); opacity: 1; }
}

/* ── Reduced motion ──────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .harta-pd__star,
  .harta-pd__shooting,
  .harta-pd__moon,
  .harta-pd__moon-halo,
  .harta-pd__cloud,
  .harta-pd__wave,
  .harta-pd__mist,
  .harta-pd__moon-reflection,
  .harta-pd__icon,
  .harta-pd__icon-glow,
  .harta-pd__hint,
  .harta-pd__hint::after,
  .harta-pd__hint-arrow,
  .harta-pd__map-arrow,
  .harta-ripple,
  .harta-pd__card-icon svg {
    animation: none !important;
    transition: none !important;
  }
}

/* ── Mobile ──────────────────────────────────────────── */
@media (max-width: 767px) {
  #map-brand { display: none; }
  .harta-pd__content { padding: 1.5rem 1rem 4rem; }
  .harta-pd__map-arrow { display: none; }
  .harta-pd__fisherman { display: none; }
}

/* ══════════════════════════════════════════════════════
   FISHING SPOT MARKERS & POPUP
══════════════════════════════════════════════════════ */
.fs-map-marker {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 10px;
}
.fs-map-marker__dot {
  width: 14px;
  height: 14px;
  background: #16a34a;
  border: 2px solid #fff;
  border-radius: 50%;
  box-shadow: 0 1px 4px rgba(0,0,0,0.4);
  flex-shrink: 0;
}
.fs-map-marker__stem {
  width: 2px;
  height: 14px;
  background: #16a34a;
}

/* Leaflet popup wrapper override */
.fs-leaflet-popup .leaflet-popup-content-wrapper {
  border-radius: 12px;
  padding: 0;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,0.22);
  border: 1px solid #d1fae5;
}
.fs-leaflet-popup .leaflet-popup-content {
  margin: 0;
  width: auto !important;
}
.fs-leaflet-popup .leaflet-popup-tip {
  background: #fff;
}

/* Popup inner */
.fs-popup {
  font-family: inherit;
  background: #fff;
  min-width: 190px;
}
.fs-popup-img-wrap {
  width: 100%;
  height: 130px;
  overflow: hidden;
}
.fs-popup-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.fs-popup-body {
  padding: 12px 14px 10px;
}
.fs-popup-name {
  font-size: 15px;
  font-weight: 700;
  color: #14532d;
  margin-bottom: 6px;
  line-height: 1.3;
}
.fs-popup-rating-row {
  margin-bottom: 4px;
}
.fs-popup-rating {
  font-size: 13px;
  font-weight: 600;
  color: #b45309;
}
.fs-popup-reviews {
  font-size: 12px;
  color: #6b7280;
}
.fs-popup-meta {
  font-size: 12px;
  color: #4b5563;
  margin-bottom: 3px;
}
.fs-popup-actions {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 10px;
}
.fs-popup-btn {
  display: block;
  text-align: center;
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  border: none;
  transition: background 0.15s;
}
.fs-popup-btn--weather {
  background: #dcfce7;
  color: #15803d;
  width: 100%;
}
.fs-popup-btn--weather:hover {
  background: #bbf7d0;
}
.fs-popup-btn--details {
  background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
  color: #fff !important;
  width: 100%;
  letter-spacing: 0.02em;
  box-shadow: 0 2px 6px rgba(21, 128, 61, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.fs-popup-btn--details::after {
  content: '→';
  font-size: 14px;
  transition: transform 0.15s;
}
.fs-popup-btn--details:hover {
  background: linear-gradient(135deg, #15803d 0%, #166534 100%);
  box-shadow: 0 4px 10px rgba(21, 128, 61, 0.45);
  color: #fff !important;
  text-decoration: none;
}
.fs-popup-btn--details:hover::after {
  transform: translateX(3px);
}

/* ══════════════════════════════════════════════════════
   RESPONSIVE ENHANCEMENTS
══════════════════════════════════════════════════════ */

/* ── Narrow desktop (1024–1399px): shrink panel ────── */
@media (min-width: 1024px) and (max-width: 1399px) {
  #weather-panel { width: clamp(300px, 28vw, 375px); }
}

/* ── Tablet stacked layout (768–1023px) ────────────── */
@media (min-width: 768px) and (max-width: 1023px) {
  html, body { overflow: auto !important; }
  #map-container { flex-direction: column; height: auto; }
  #map-wrap { height: 50vh; min-height: 320px; }
  #map { height: 100%; }

  #weather-panel {
    width: 100%;
    border-left: none;
    border-top: 1px solid rgba(184, 227, 232, 0.28);
    position: relative;
    overflow: hidden;
    transition: max-height 0.4s ease, opacity 0.3s ease;
    max-height: 2000px;
  }

  #weather-panel.panel-collapsed { max-height: 0; opacity: 0; border-top: none; }

  #panel-mobile-toggle { display: flex; }
  #map-controls { top: 10px; gap: 6px; }
  #map-gps-btn span { display: none; }
  #map-gps-btn { padding: 8px; border-radius: 50%; }
  #map-filter-toggle { font-size: 0; gap: 0; padding: 8px; border-radius: 50%; }
  #map-legend { display: none; }
  #map-brand { display: none; }
  .harta-pd__map-arrow { display: none; }

  /* Panel default on tablet: roomier, bigger title */
  .harta-pd__content { padding: 2rem 3rem 5.5rem; }
  .harta-pd__grid { max-width: 360px; }
  .harta-pd__title { font-size: 1.5rem; }
  .harta-pd__sub { font-size: 0.85rem; max-width: 380px; }
}

/* ── Mobile (≤767px): widen cards + restore fisherman ─ */
@media (max-width: 767px) {
  .harta-pd__grid { max-width: min(300px, 92%); }

  /* Show the fisherman silhouette (was hidden), scaled down */
  .harta-pd__fisherman {
    display: block !important;
    transform: scale(0.72);
    transform-origin: bottom right;
    opacity: 0.72;
  }
}

/* ── Small phones (≤420px): tighter layout ─────────── */
@media (max-width: 420px) {
  .harta-pd__content { padding: 1.2rem 0.75rem 3.5rem; }
  .harta-pd__title { font-size: 1rem; }
  .harta-pd__grid { max-width: 92%; }
  .harta-pd__fisherman { transform: scale(0.58); right: 3%; bottom: 18px; }
}
