.globe-section {
  padding: 4.5rem 0 5rem;
  background: var(--page-bg, #111111);
}

.globe-section .section-head {
  margin-bottom: 1.5rem;
}

.globe-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.65fr);
  gap: 1.25rem;
  align-items: stretch;
}

.globe-shell {
  position: relative;
  min-height: 420px;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: radial-gradient(circle at 30% 20%, rgba(59, 130, 246, 0.18), rgba(2, 6, 23, 0.96) 68%);
  box-shadow: 0 28px 70px rgba(15, 23, 42, 0.16);
}

.globe-shell canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.globe-sidebar {
  display: grid;
  gap: 0.85rem;
  align-content: start;
}

.globe-stat {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1rem 1.1rem;
  border-radius: 18px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(255, 255, 255, 0.88);
}

.globe-stat strong {
  font-size: 1.6rem;
  line-height: 1;
}

.globe-legend {
  display: grid;
  gap: 0.65rem;
  padding: 1rem 1.1rem;
  border-radius: 18px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(255, 255, 255, 0.88);
}

.globe-legend__item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 600;
}

.globe-legend__dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  flex-shrink: 0;
}

.globe-legend__dot--device {
  background: #2563eb;
}

.globe-legend__dot--user {
  background: #10b981;
}

.globe-legend__dot--service {
  background: #f59e0b;
}

.globe-note {
  margin: 0;
  color: #5f6368;
  font-size: 0.92rem;
  line-height: 1.55;
}

html[data-theme='dark'] .globe-section,
html[data-theme='light'] .globe-section {
  background: var(--page-bg, #111111);
}

html[data-theme='dark'] .globe-stat,
html[data-theme='dark'] .globe-legend {
  background: rgba(15, 23, 42, 0.72);
  border-color: rgba(255, 255, 255, 0.08);
}

html[data-theme='dark'] .globe-note {
  color: rgba(255, 255, 255, 0.72);
}

@media (max-width: 960px) {
  .globe-layout {
    grid-template-columns: 1fr;
  }

  .globe-shell {
    min-height: 360px;
  }
}
