.attr {
  position: fixed;
  bottom: 16px;
  left: 16px;
  font-family: system-ui, sans-serif;
  z-index: 1000;
}

/* Button (collapsed state) */
.attr-btn {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: none;
  background: rgba(0,0,0,0.65);
  color: white;
  cursor: pointer;
  backdrop-filter: blur(6px);
  transition: background 0.2s ease, transform 0.15s ease;
}

.attr-btn:hover {
  background: rgba(0,0,0,0.85);
  transform: scale(1.05);
}

/* Panel */
.attr-panel {
  position: absolute;
  bottom: 44px;
  left: 0;

  width: 220px;
  padding: 10px 12px;

  border-radius: 10px;
  background: rgba(20,20,20,0.9);
  color: #fff;
  font-size: 12px;
  line-height: 1.4;

  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
  backdrop-filter: blur(10px);

  /* animation */
  opacity: 0;
  transform: translateY(8px) scale(0.98);
  transform-origin: bottom left;
  transition: all 0.2s ease;
}

.attr-panel.show {
  opacity: 1;
  transform: translateY(0) scale(1);
}