/* Network Globe – all rules scoped to .ngl-wrap so they don't leak into the theme */
.ngl-wrap {
  --ngl-bg: #050B32;
  --ngl-land: #1d5fb0;
  --ngl-land-side: #0d3a73;
  --ngl-land-stroke: #6fb2ff;
  --ngl-land-marked: #3d8bff;
  --ngl-ocean: #06182f;
  --ngl-accent: #2f7cf6;
  position: relative; width: 100%; height: 600px; overflow: hidden;
  background: var(--ngl-bg);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  box-sizing: border-box;
}
.ngl-wrap *, .ngl-wrap *::before, .ngl-wrap *::after { box-sizing: border-box; }
.ngl-wrap .ngl-globe { position: absolute; inset: 0; }

.ngl-wrap .gm-anchor { position: relative; width: 0; height: 0; pointer-events: none; }
.ngl-wrap .gm { position: absolute; left: 0; top: 0; display: flex; align-items: center; gap: 5px;
  transform: translate(-3px, -50%); pointer-events: auto; cursor: pointer; user-select: none; }
.ngl-wrap .gm.gm-left { flex-direction: row-reverse; transform: translate(calc(-100% + 3px), -50%); }
.ngl-wrap .gm-dot { width: 6px; height: 6px; border-radius: 50%; background: #ff8a1f;
  box-shadow: 0 0 0 2px rgba(255,138,31,.25); flex: none; position: relative; }
.ngl-wrap .gm-dot::after { content: ""; position: absolute; inset: -3px; border-radius: 50%;
  border: 2px solid rgba(255,138,31,.6); animation: ngl-ping 1.8s ease-out infinite; }
@keyframes ngl-ping { from { transform: scale(.6); opacity: 1 } to { transform: scale(2.2); opacity: 0 } }
.ngl-wrap .gm img { width: 18px; height: 13px; max-width: none; margin: 0; object-fit: cover; border-radius: 2px;
  box-shadow: 0 1px 3px rgba(0,0,0,.4); transition: transform .2s ease; }
.ngl-wrap .gm span { color: #fff; font-size: 12px; font-weight: 500; white-space: nowrap; text-shadow: 0 1px 3px rgba(0,0,0,.8); }
.ngl-wrap .gm:hover img, .ngl-wrap .gm.active img { transform: scale(1.15); }

.ngl-wrap .gp { display: block; position: absolute; z-index: 20; width: min(360px, calc(100% - 32px)); max-height: 70%;
  overflow-y: auto; background: #fff; color: #10233f; border-radius: 16px; padding: 20px 20px 18px;
  box-shadow: 0 20px 50px rgba(0,0,0,.45); opacity: 0; visibility: hidden; transform: translateY(8px) scale(.98);
  transition: opacity .25s ease, transform .25s ease, visibility .25s; pointer-events: none; }
.ngl-wrap .gp.open { opacity: 1; visibility: visible; transform: none; pointer-events: auto; display:none !important; }
.ngl-wrap .gp-head { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; padding-right: 28px; }
.ngl-wrap .gp-head img { width: 36px; height: 26px; max-width: none; margin: 0; object-fit: cover; border-radius: 4px; }
.ngl-wrap .gp-head h3 { margin: 0; padding: 0; font-size: 18px; line-height: 1.3; letter-spacing: -.5px; color: #10233f; }
.ngl-wrap .gp-close { position: absolute; top: 12px; right: 12px; width: 30px; height: 30px; min-height: 0; border: 0;
  border-radius: 50%; background: #eef2f8; color: #10233f; font-size: 18px; line-height: 1; padding: 0 !important;
  margin: 0; cursor: pointer; box-shadow: none; }
.ngl-wrap .gp-close:hover { background: #dde5f1; }
.ngl-wrap .gp-body { font-size: 14px; line-height: 1.55; color: #35475f; letter-spacing: -.1px; }
.ngl-wrap .gp-body img { max-width: 100%; height: auto; }
.ngl-wrap .gp-body ul { padding-left: 18px; margin: 6px 0; }
.ngl-wrap .gp-body p { margin: 0 0 8px; }
.ngl-wrap .gp-body a { color: var(--ngl-accent); }

.ngl-wrap .gz { position: absolute; right: 24px; bottom: 24px; z-index: 10; display: flex; flex-direction: column; gap: 10px; }
.ngl-wrap .gz button { width: 44px; height: 44px; min-height: 0; padding: 0; margin: 0; border-radius: 10px;
  border: 1px solid rgba(255,255,255,.35); background: rgba(7,26,51,.75); color: #fff; font-size: 22px; line-height: 1;
  cursor: pointer; backdrop-filter: blur(4px); box-shadow: none; }
.ngl-wrap .gz button:hover { background: rgba(47,124,246,.85); }

@media (max-width: 480px) {
  .ngl-wrap .gp { left: 16px !important; right: 16px; top: auto !important; bottom: 16px; width: auto; }
  .ngl-wrap .gm span { font-size: 11px; }
}
