.panel {
  position: absolute;
  top: 16px;
  right: 16px;
  backdrop-filter: blur(10px);
  padding: 16px;
  z-index: 10;
  min-width: 240px;
  max-width: 280px;
}

.panel.collapsed {
  min-width: auto;
  padding: 8px;
}

.toggleButton {
  position: absolute;
  top: 8px;
  right: 8px;
}

.panel.collapsed .toggleButton {
  position: static;
  margin: 0 auto;
  display: block;
}

.content {
  opacity: 1;
  transition: opacity 0.2s ease;
  padding-right: 24px;
}

.panel.collapsed .content {
  opacity: 0;
  pointer-events: none;
}
