/* Layout */
.gro-nm-wrap { max-width: 1280px; margin: 0 auto; padding: 0 16px; }
.gro-nm-top { display: grid; grid-template-columns: 1fr 360px; gap: 24px; align-items: start; }
.gro-nm-map { height: 520px; border-radius: 16px; overflow: hidden; background: #eef3f4; border: 1px solid #e5e7eb; }

/* Right rail */
.gro-nm-rail { }
.gro-nm-rail-card { background: #0f2b36; color: #d7e5ea; border-radius: 16px; padding: 18px; position: sticky; top: 16px; }
.gro-nm-rail-title { margin: 0 0 10px; color: #cfe0e6; font-size: 18px; font-weight: 600; letter-spacing: .2px; }
.gro-nm-cats { display: flex; flex-direction: column; gap: 8px; }
.gro-nm-cat { appearance: none; border: 1px solid rgba(255,255,255,.08); background: transparent; color: #d7e5ea; padding: 12px 14px; border-radius: 10px; text-align: left; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.gro-nm-cat:hover { background: rgba(255,255,255,.06); }
.gro-nm-cat.active { background: rgba(255,255,255,.14); }
.gro-nm-cat-info { display: inline-flex; align-items: center; gap: 8px; }
.gro-nm-cat-icon { width: 28px; height: 28px; object-fit: contain; border-radius: 6px; background: rgba(255,255,255,.08); padding: 2px; display: inline-flex; align-items: center; justify-content: center; font-size: 18px; }
.gro-nm-cat-icon--emoji { padding: 0; background: none; font-size: 20px; }
.gro-nm-cat-count { font-size: 12px; font-weight: 600; color: #fff; opacity: .85; }
.gro-nm-hint { margin: 12px 2px 0; font-size: 12px; opacity: .7; }

/* Below section (title + 3-col list) */
.gro-nm-below { padding: 44px 8px 20px; }
.gro-nm-section-title { text-align: center; font-size: 24px; margin: 0 0 28px; color: #0f2b36; font-weight: 700; }
.gro-nm-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px 48px; }
.gro-nm-cell { padding: 12px 0; border-top: 1px solid #eceff1; }
.gro-nm-cell-title { text-align: center; color: #1b2a31; }

/* Marker icon wrapper (for L.divIcon) */
.gro-nm-marker { filter: drop-shadow(0 1px 2px rgba(0,0,0,.25)); }

/* Debug overlay */
.gro-nm-debug {
  position: fixed; left: 12px; bottom: 12px; z-index: 99999;
  background: rgba(0,0,0,.8); color: #fff; padding: 8px 10px; border-radius: 8px;
  font: 12px/1.4 system-ui, -apple-system, Segoe UI, Roboto, sans-serif; max-width: 60vw;
}
.gro-nm-debug > div { margin: 2px 0; }

/* Responsive */
@media (max-width: 1100px){
  .gro-nm-top { grid-template-columns: 1fr; }
  .gro-nm-map { height: 440px; }
  .gro-nm-grid { grid-template-columns: 1fr; gap: 16px; }
}

/* (existing styles remain) */

/* Below section (title + 3-col list) */
.gro-nm-below { padding: 44px 8px 20px; }
.gro-nm-section-title { text-align: center; font-size: 24px; margin: 0 0 28px; color: #0f2b36; font-weight: 700; }
.gro-nm-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px 48px; }
.gro-nm-cell { padding: 12px 0; border-top: 1px solid #eceff1; display: flex; justify-content: center; }
.gro-nm-cell-link {
  color: #0b2a35;
  text-decoration: none;
  padding: 6px 4px;
  border-radius: 6px;
}
.gro-nm-cell-link:hover { text-decoration: underline; }

/* Responsive */
@media (max-width: 1100px){
  .gro-nm-grid { grid-template-columns: 1fr; gap: 16px; }
}

.gro-nm-emoji-icon img { image-rendering: -webkit-optimize-contrast; }

.gro-nm-marker-circle .gro-nm-pin {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0,0,0,.25);
  border: 2px solid rgba(255,255,255,.9);
}
.gro-nm-marker-circle .gro-nm-pin img,
.gro-nm-marker-circle .gro-nm-pin span {
  width: 20px;
  height: 20px;
  object-fit: contain;
  display: block;
}
.gro-nm-marker-circle .gro-nm-pin span {
  width: auto;
  height: auto;
  font-size: 18px;
  line-height: 1;
  color: #fff;
}
.gro-nm-marker-circle .gro-nm-pin span {
  font-size: 18px;
  line-height: 1;
}

.gro-nm-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(160px,1fr));
  gap: 16px;
  margin-bottom: 24px;
}
.gro-nm-preview-card {
  padding: 12px;
  border: 1px solid #ccd0d4;
  border-radius: 8px;
  background: #fff;
  text-align: center;
}
.gro-nm-preview-label {
  font-weight: 600;
  margin-bottom: 8px;
  color: #1e1e1e;
}
.gro-nm-preview-card .gro-nm-marker-circle {
  display: inline-flex;
}

.gro-nm-popup { font: 14px/1.35 system-ui, -apple-system, Segoe UI, Roboto, sans-serif; }
.gro-nm-popup .gro-nm-title { margin-bottom: 4px; }
.gro-nm-popup .gro-nm-addr { color: #44545c; margin-bottom: 6px; }
.gro-nm-popup .gro-nm-desc { color: #1b2a31; margin-bottom: 8px; }
.gro-nm-popup .gro-nm-actions a { color: #0b6aa1; text-decoration: none; }
.gro-nm-popup .gro-nm-actions a:hover { text-decoration: underline; }

/* Origin popup badge + tidy content */
.gro-nm-popup { font: 14px/1.35 system-ui, -apple-system, Segoe UI, Roboto, sans-serif; }
.gro-nm-popup .gro-nm-title { margin: 4px 0 6px; }
.gro-nm-popup .gro-nm-addr { color: #44545c; margin-bottom: 6px; }
.gro-nm-popup .gro-nm-actions a { color: #0b6aa1; text-decoration: none; }
.gro-nm-popup .gro-nm-actions a:hover { text-decoration: underline; }

.gro-nm-origin .gro-nm-badge {
  display: inline-block;
  background: #16a34a;
  color: #fff;
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 999px;
  letter-spacing: .2px;
  margin-bottom: 6px;
}
