:root{
  --panel-w: 360px;
  --border: #e7e7e7;
  --text: #151515;
  --muted: #666;
  --bg: #fff;
  --chip: #f6f6f6;
  --chip-active: #111;
  --chip-active-text: #fff;
  --shadow: 0 6px 20px rgba(0,0,0,.08);
}
#neod-poi-wrap{
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
}
#neod-poi-header{
  margin: 0 0 14px 0;
  line-height: 1.3;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 16px 20px;
}
#neod-poi-header h2{
  margin: 0 0 4px 0;
  font-size: 22px;
  color: var(--text);
  font-weight: 800;
}
#neod-poi-header .sub{
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

#neod-poi-layout{
  display: grid;
  grid-template-columns: var(--panel-w) 1fr;
  gap: 14px;
  align-items: stretch;
}

#neod-poi-panel{
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 640px;
}

#neod-poi-controls{
  padding: 12px;
  border-bottom: 1px solid var(--border);
}

#neod-poi-search{
  width: 100%;
  box-sizing: border-box;
  padding: 10px 10px;
  border: 1px solid var(--border);
  border-radius: 10px;
  outline: none;
  font-size: 14px;
}
#neod-poi-search:focus{ border-color: #aaa; }

#neod-poi-recenter{
  width: 100%;
  box-sizing: border-box;
  margin-top: 10px;
  padding: 10px 10px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  font-size: 14px;
  font-weight: 650;
  box-shadow: 0 6px 16px rgba(0,0,0,.05);
  transition: transform .06s ease, box-shadow .12s ease;
}
#neod-poi-recenter:hover{
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(0,0,0,.07);
}

#neod-poi-chips{
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.poi-chip{
  user-select: none;
  cursor: pointer;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--chip);
  font-size: 13px;
  line-height: 1;
  display: inline-flex;
  gap: 6px;
  align-items: center;
  white-space: nowrap;
}
.poi-chip[aria-pressed="true"]{
  background: var(--chip-active);
  border-color: var(--chip-active);
  color: var(--chip-active-text);
}

#neod-poi-list{
  padding: 8px;
  overflow: auto;
  flex: 1;
}
.poi-item{
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px;
  margin: 8px 0;
  cursor: pointer;
  transition: transform .05s ease, box-shadow .12s ease;
  background: #fff;
}
.poi-item:hover{
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(0,0,0,.06);
}
.poi-item .top{
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: flex-start;
}
.poi-item .name{
  font-weight: 700;
  font-size: 14px;
  margin: 0;
  display: flex;
  gap: 8px;
  align-items: center;
}
.poi-item .meta{
  color: var(--muted);
  font-size: 12px;
  margin-top: 6px;
  line-height: 1.3;
}
.poi-item .badge{
  font-size: 12px;
  padding: 5px 8px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #fafafa;
  white-space: nowrap;
}

#neod-map{
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow);
  min-height: 640px;
  overflow: hidden;
  position: relative;
  z-index: 1; /* Fix for leaflet overflow issues */
}

#neod-overlay-badge{
  position: absolute;
  z-index: 900;
  top: 12px;
  right: 56px;
  background: #111;
  color: #fff;
  border-radius: 999px;
  padding: 7px 10px;
  font-size: 12px;
  line-height: 1;
  box-shadow: 0 10px 22px rgba(0,0,0,.18);
  display: inline-flex;
  gap: 6px;
  align-items: center;
  cursor: pointer;
  user-select: none;
  transition: transform .12s ease;
}
#neod-overlay-badge .dot{
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #fff;
  opacity: .9;
}
#neod-overlay-badge:hover{ transform: translateY(-1px); }
#neod-overlay-badge:active{ transform: translateY(0px); }

@media (max-width: 980px){
  #neod-poi-layout{ grid-template-columns: 1fr; }
  #neod-poi-panel{ min-height: unset; }
  #neod-map{ min-height: 560px; }
  #neod-overlay-badge{ top: 10px; right: 52px; }
}

.poi-popup h3{
  margin: 0 0 6px 0;
  font-size: 16px;
}
.poi-popup .line{
  margin: 6px 0;
  color: var(--muted);
  font-size: 13px;
}
.poi-popup .img{
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #f3f3f3;
  display: block;
  margin: 8px 0;
}
.poi-popup .sec-title{
  margin: 10px 0 4px 0;
  font-weight: 700;
  font-size: 13px;
}
.poi-popup p{
  margin: 0;
  font-size: 13px;
  line-height: 1.35;
}
.poi-popup a{
  display: inline-block;
  margin-top: 6px;
  font-size: 13px;
}

.emoji-marker{
  font-size: 22px;
  line-height: 22px;
  transform: translate(-50%, -100%);
  filter: drop-shadow(0 2px 2px rgba(0,0,0,.25));
}
.logo-marker{
  width: 44px !important;
  height: 44px !important;
  max-width: 44px !important;
  max-height: 44px !important;
  border-radius: 999px;
  border: 2px solid #fff;
  box-shadow: 0 8px 20px rgba(0,0,0,.25);
  background: #fff;
  transform: translate(-50%, -50%);
  object-fit: contain;
  display: block !important;
}

.food-marker{
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: #fff;
  border: 2px solid #111;
  display:flex;
  align-items:center;
  justify-content:center;
  box-shadow: 0 8px 20px rgba(0,0,0,.22);
  transform: translate(-50%, -100%);
}
.food-marker svg{
  width: 18px;
  height: 18px;
  display:block;
}

