* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: transparent; font-family: 'Inter', system-ui, sans-serif; }

body {
  --c-1: #0B1026;
  --c-2: #1A2A4F;
  --c-3: #2F3C7E;
  --c-4: #A9B6FF;
  --c-5: #F2E8C9;
  
  --c-br: #10b981;
  --c-gl: #ec4899;
}

.geo-wrap {
  max-width: 940px; margin: 0 auto; background: var(--c-1); color: var(--c-5);
  border: 1px solid var(--c-3); border-radius: 16px;
  padding: 24px; box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
}

.geo-header { text-align: center; margin-bottom: 20px; }
.geo-eyebrow { font-size: 24px; font-weight: 800; color: var(--c-5); margin: 0 0 8px; letter-spacing: -0.02em; }
.geo-subtitle { color: var(--c-4); font-size: 15px; margin: 0; }
.geo-subtitle strong { color: var(--c-5); }

.geo-bar { display: flex; justify-content: center; align-items: center; gap: 16px; margin-bottom: 20px; }
.geo-key { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--c-5); background: var(--c-2); border: 1px solid var(--c-3); border-radius: 20px; padding: 6px 16px; }
.geo-dot { width: 12px; height: 12px; border-radius: 50%; }
.geo-dot.br { background: var(--c-br); }
.geo-dot.gl { background: var(--c-gl); }

.geo-chart-container { 
  position: relative; width: 100%; display: flex; justify-content: center; 
  background: var(--c-1); border-radius: 16px; overflow: hidden; 
  border: 1px solid var(--c-3); cursor: grab;
}
.geo-chart-container:active { cursor: grabbing; }

.geo-svg { width: 100%; height: 650px; display: block; outline: none; }
.geo-svg text { pointer-events: none; user-select: none; }

@keyframes floatBubble {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-5px); }
  100% { transform: translateY(0px); }
}

.node-float circle { cursor: pointer; transition: stroke-width 0.15s ease, fill 0.2s ease; }

.geo-tooltip {
  position: absolute; opacity: 0; background: var(--c-1);
  color: var(--c-5); padding: 12px 16px; border-radius: 8px; font-size: 13px;
  pointer-events: none; transition: opacity 0.2s; z-index: 10;
  box-shadow: 0 10px 20px rgba(0,0,0,0.6); border: 1px solid var(--c-3);
  max-width: 250px; text-align: center;
}

.geo-panel { margin-top: 24px; padding: 24px; background: var(--c-2); border-radius: 12px; border: 1px solid var(--c-3); }
.geo-panel-header { text-align: center; margin-bottom: 24px; }
.geo-panel-title { font-size: 20px; font-weight: 800; margin: 0 0 6px; color: var(--c-5); }
.geo-panel-title a { color: inherit; text-decoration: none; transition: color 0.2s; }
.geo-panel-title a:hover { color: var(--c-4); text-decoration: underline; }
.geo-panel-meta { font-size: 14px; color: var(--c-4); }

.geo-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.geo-list li { background: var(--c-1); border: 1px solid var(--c-3); border-radius: 12px; padding: 18px; transition: transform 0.2s ease, border-color 0.2s; display: flex; flex-direction: column; gap: 8px; }
.geo-list li:hover { transform: translateY(-4px); border-color: var(--c-4); }
.geo-list .pill { align-self: flex-start; font-size: 11.5px; font-weight: 800; padding: 4px 10px; border-radius: 6px; letter-spacing: 0.05em; color: #ffffff; }
.geo-list li.br .pill { background: var(--c-br); }
.geo-list li.gl .pill { background: var(--c-gl); }
.geo-list a { color: var(--c-5); text-decoration: none; font-weight: 700; font-size: 15px; line-height: 1.3; }
.geo-list a:hover { color: var(--c-4); }
.geo-list span.desc { color: var(--c-4); font-size: 13.5px; line-height: 1.5; opacity: 0.9; }