/* View toggle — Expanse (top-left avoids the right-edge minimap hit area) */
#expanse-view-toggle {
  position: fixed;
  top: 72px;
  left: 12px;
  right: auto;
  z-index: 100000;
  display: flex;
  gap: 0;
  font-family: 'Lekton', monospace;
  font-size: 11px;
  background: rgba(0, 0, 0, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  overflow: hidden;
  pointer-events: auto;
}

#expanse-view-toggle button {
  flex-shrink: 0;
  margin: 0;
  padding: 8px 12px;
  border: none;
  border-right: 1px solid rgba(255, 255, 255, 0.15);
  background: transparent;
  color: #ccc;
  cursor: pointer;
  white-space: nowrap;
}

#expanse-view-toggle button:last-child {
  border-right: none;
}

#expanse-view-toggle button:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

#expanse-view-toggle button.active {
  background: rgba(80, 120, 200, 0.35);
  color: #fff;
}

#expanse-system-picker {
  position: fixed;
  top: 118px;
  left: 12px;
  width: 320px;
  max-height: calc(100vh - 140px);
  z-index: 100000;
  font-family: 'Lekton', monospace;
  font-size: 11px;
  background: rgba(0, 0, 0, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  overflow: hidden;
  pointer-events: auto;
}

#expanse-system-picker .title {
  padding: 8px 10px;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

#expanse-system-picker .list {
  max-height: calc(100vh - 180px);
  overflow-y: auto;
}

#expanse-system-picker .system-btn {
  display: block;
  width: 100%;
  margin: 0;
  padding: 8px 10px;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: transparent;
  color: #ccc;
  cursor: pointer;
  text-align: left;
  white-space: normal;
}

#expanse-system-picker .system-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

#expanse-system-picker .system-btn.active {
  background: rgba(80, 120, 200, 0.35);
  color: #fff;
}

/* Hide guided tour button */
#tour-button {
  display: none !important;
}
