.cubex-map-arc-shell {
  width: 100%;
  max-width: 1024px;
  margin: 0 auto;
  padding: 24px;
  background: #f8fafc;
  border-radius: 18px;
  box-sizing: border-box;
}

.cubex-map-arc-shell[data-theme="dark"] {
  background: #020617;
}

.cubex-map-arc {
  width: 100%;
  min-height: 320px;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
  position: relative;
}

.cubex-map-arc .maplibregl-canvas {
  outline: none;
}

.cubex-marker {
  position: relative;
  cursor: pointer;
}

.cubex-marker-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 2px solid #ffffff;
  background: #10b981;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.35);
}

.cubex-marker-dot.is-hub {
  width: 14px;
  height: 14px;
  background: #3b82f6;
}

.cubex-marker-label {
  position: absolute;
  left: 50%;
  bottom: 100%;
  transform: translateX(-50%);
  margin-bottom: 6px;
  white-space: nowrap;
  font: 600 11px/1.2 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #0f172a;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 5px;
  padding: 3px 6px;
  backdrop-filter: blur(6px);
}

.cubex-map-arc-shell[data-theme="dark"] .cubex-marker-label {
  color: #f8fafc;
  background: rgba(15, 23, 42, 0.78);
  border-color: rgba(255, 255, 255, 0.12);
}

.cubex-map-arc-error {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 240px;
  padding: 24px;
  color: #991b1b;
  background: #fef2f2;
  text-align: center;
  font: 500 14px/1.5 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
