.poi-layer-panel {
  position: fixed;
  right: 76px;
  bottom: calc(136px + env(safe-area-inset-bottom));
  z-index: 1060;
  width: min(320px, calc(100vw - 104px));
  max-height: min(62vh, 520px);
  overflow: auto;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.94);
  color: #1f2937;
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.22);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  overscroll-behavior: contain;
}
.poi-layer-panel[hidden] { display: none !important; }
.poi-layer-panel-header,
.poi-layer-interest-header {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.poi-layer-panel-header strong,
.poi-layer-interest-header strong { font: 750 15px/1.2 var(--font-family); }
.poi-layer-close {
  width: 34px; height: 34px; border: 0; border-radius: 50%;
  background: rgba(15, 23, 42, 0.06); color: #334155; font-size: 22px; line-height: 1;
}
.poi-layer-primary,
.poi-layer-interests { display: grid; gap: 8px; margin-top: 10px; }

.poi-layer-tools {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}

.poi-layer-search {
  width: 100%;
  min-height: 42px;
  box-sizing: border-box;
  padding: 9px 12px;
  border: 1px solid rgba(148, 163, 184, 0.45);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.96);
  color: #1f2937;
  font: 600 13px/1.25 var(--font-family);
  outline: none;
}

.poi-layer-search:focus {
  border-color: rgba(245, 158, 11, 0.8);
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.12);
}

.poi-layer-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.poi-layer-action {
  min-height: 38px;
  border: 0;
  border-radius: 10px;
  background: rgba(15, 23, 42, 0.06);
  color: #334155;
  font: 700 12px/1.2 var(--font-family);
}

.poi-layer-empty {
  margin: 8px 4px;
  color: #64748b;
  font: 600 12px/1.35 var(--font-family);
}
.poi-layer-divider { height: 1px; margin: 14px 0; background: rgba(148, 163, 184, 0.28); }
.poi-layer-interest-header { align-items: flex-start; flex-direction: column; gap: 3px; }
.poi-layer-interest-header small { color: #64748b; font: 500 11px/1.3 var(--font-family); }
.poi-layer-option {
  min-height: 44px; display: flex; align-items: center; gap: 10px; padding: 8px 10px;
  border-radius: 12px; background: rgba(248, 250, 252, 0.86); cursor: pointer;
}
.poi-layer-option:has(input:checked) { background: rgba(245, 158, 11, 0.12); }
.poi-layer-option.is-disabled { opacity: 0.46; cursor: default; }
.poi-layer-option input {
  width: 18px; height: 18px; margin: 0; accent-color: #f59e0b; flex: 0 0 auto;
}
.poi-layer-option-label {
  min-width: 0; display: flex; align-items: center; gap: 8px; font: 650 13px/1.25 var(--font-family);
}
.poi-layer-option-icon {
  width: 20px; height: 20px; display: inline-flex; align-items: center; justify-content: center;
  color: #b45309; flex: 0 0 auto;
}
.poi-layer-option-icon svg { width: 18px; height: 18px; }
.map-poi-marker-premium {
  width: 28px; height: 28px; display: inline-grid; place-items: center; color: #ffffff; border-width: 2px;
}
.map-poi-marker-icon,
.map-poi-marker-count,
.map-poi-marker-fallback {
  display: inline-flex; align-items: center; justify-content: center; width: 100%; height: 100%; pointer-events: none;
}
.map-poi-marker-icon svg { width: 16px; height: 16px; }
.map-poi-marker-count { font: 800 12px/1 var(--font-family); }
.map-poi-marker-fallback { font-size: 14px; }
@media (max-width: 430px) {
  .poi-layer-panel { right: 72px; width: min(300px, calc(100vw - 92px)); max-height: 58vh; }
}
@media (prefers-reduced-motion: reduce) {
  .map-poi-marker-premium { animation: none; }
}
