body {
  margin: 0;
  padding: 0;
  background: transparent;
  font-family: Arial, sans-serif;
  color: #fff;
  overflow: hidden;
  user-select: none;
}

#tracker-window {
  position: absolute;
  top: 50px;
  left: 50px;
  background: rgba(35, 39, 43, 0.9);
  padding: 1em;
  border-radius: 12px;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.4);
  min-width: 250px;
  cursor: move;
  transition: background 0.3s ease;
}

#tracker-window h2 {
  font-size: 1.25em;
  margin: 0 0 0.5em 0;
}

#tracker-window div {
  margin-bottom: 0.3em;
  font-size: 0.95em;
}

#xp-gain-popup {
  position: absolute;
  top: -20px;
  right: 30px;
  background-color: rgba(0, 0, 0, 0.85);
  color: #00ff99;
  font-size: 1.3em;
  font-weight: bold;
  padding: 0.4em 1em;
  border-radius: 20px;
  opacity: 0;
  transition: opacity 0.4s ease, transform 0.4s ease;
  transform: translateY(0px);
  pointer-events: none;
  z-index: 9999;
}
#xp-gain-popup.show {
  opacity: 1;
  transform: translateY(-40px);
  box-shadow: 0 0 8px rgba(0, 255, 153, 0.4);

}


#settings-icon {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 1.2em;
  background: rgba(50, 50, 50, 0.8);
  padding: 0.4em 0.6em;
  border-radius: 8px;
  cursor: pointer;
  color: white;
}

#settings-panel {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(25, 25, 25, 0.9);
  color: #fff;
  padding: 0.75em;
  border-radius: 10px;
  font-size: 0.9em;
  z-index: 10;
}

#settings-panel input[type="checkbox"] {
  margin-right: 0.5em;
}

#settings-panel label {
  display: block;
  margin-bottom: 6px;
}

#settings-panel button {
  margin-top: 0.5em;
  background-color: #333;
  color: white;
  border: none;
  padding: 5px 10px;
  border-radius: 6px;
  cursor: pointer;
}

#settings-panel button:hover {
  background-color: #444;
}

#transparency-slider {
  width: 100%;
  margin-top: 10px;
}

#exp-to-million {
  margin-top: 0.5em;
  font-size: 0.9em;
  color: #00ffaa;
  display: none;
}

.stat-toggle {
  display: none;
}

