@charset "UTF-8";
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Inter", sans-serif;
}

body {
  background-color: #f0e6d8;
  overflow: hidden;
  height: 100vh;
  width: 100vw;
  color: #5d4037;
  position: relative;
}

#graph-container {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background-color: #f0e6d8;
  /* 故宫主题米色背景 */
  background-image: linear-gradient(rgba(240, 230, 216, 0.9), rgba(240, 230, 216, 0.95)), repeating-linear-gradient(45deg, transparent, transparent 10px, rgba(255, 250, 240, 0.1) 10px, rgba(255, 250, 240, 0.1) 20px);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.glass-panel {
  background: rgba(255, 250, 245, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(183, 149, 89, 0.2);
  border-radius: 14px;
  box-shadow: 0 8px 32px rgba(183, 149, 89, 0.15);
}

.custom-scroll::-webkit-scrollbar {
  width: 6px;
}

.custom-scroll::-webkit-scrollbar-track {
  background: rgba(183, 149, 89, 0.1);
}

.custom-scroll::-webkit-scrollbar-thumb {
  background: rgba(183, 149, 89, 0.4);
  border-radius: 3px;
}

.node-hover:hover {
  filter: drop-shadow(0 0 8px rgba(183, 149, 89, 0.6));
  transform: scale(1.05);
  transition: all 0.3s ease;
}